This commit is contained in:
href 2018-12-08 20:02:59 +01:00
parent b1bcd97a0f
commit 6822916183
No known key found for this signature in database
GPG key ID: EE8296C1A152C325

View file

@ -104,7 +104,7 @@ defmodule Pleroma.Web.Push do
"Create" -> "mention" "Create" -> "mention"
"Follow" -> "follow" "Follow" -> "follow"
"Announce" -> "reblog" "Announce" -> "reblog"
"Favorite" -> "favourite" "Like" -> "favourite"
end end
end end
@ -119,7 +119,7 @@ defmodule Pleroma.Web.Push do
defp format_body(%{activity: %{data: %{"type" => type}}}, actor) do defp format_body(%{activity: %{data: %{"type" => type}}}, actor) do
case type do case type do
"Create" -> "@#{actor.nickname} has mentiond you" "Create" -> "@#{actor.nickname} has mentioned you"
"Follow" -> "@#{actor.nickname} has followed you" "Follow" -> "@#{actor.nickname} has followed you"
"Announce" -> "@#{actor.nickname} has repeated your post" "Announce" -> "@#{actor.nickname} has repeated your post"
"Like" -> "@#{actor.nickname} has favorited your post" "Like" -> "@#{actor.nickname} has favorited your post"