Typos
authorhref <href@random.sh>
Sat, 8 Dec 2018 19:02:59 +0000 (20:02 +0100)
committerhref <href@random.sh>
Fri, 14 Dec 2018 12:05:51 +0000 (13:05 +0100)
lib/pleroma/web/push/push.ex

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