mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-18 10:59:17 +00:00
Typos
This commit is contained in:
parent
b1bcd97a0f
commit
6822916183
|
@ -104,7 +104,7 @@ defp format_type(%{activity: %{data: %{"type" => type}}}) do
|
|||
"Create" -> "mention"
|
||||
"Follow" -> "follow"
|
||||
"Announce" -> "reblog"
|
||||
"Favorite" -> "favourite"
|
||||
"Like" -> "favourite"
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -119,7 +119,7 @@ defp format_title(%{activity: %{data: %{"type" => type}}}) 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"
|
||||
|
|
Loading…
Reference in a new issue