fix(i18n): fix typos in translation sources
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -358,13 +358,15 @@ defmodule Mobilizon.GraphQL.Resolvers.User do
|
||||
|
||||
{:error, %Ecto.Changeset{errors: [password: {"registration.error.password_too_short", _}]}} ->
|
||||
{:error,
|
||||
gettext(
|
||||
"The password you have choosen is too short. Please make sure your password contains at least 6 charaters."
|
||||
dgettext(
|
||||
"errors",
|
||||
"The password you have chosen is too short. Please make sure your password contains at least 6 characters."
|
||||
)}
|
||||
|
||||
{:error, _err} ->
|
||||
{:error,
|
||||
gettext(
|
||||
dgettext(
|
||||
"errors",
|
||||
"The token you provided is invalid. Make sure that the URL is exactly the one provided inside the email you got."
|
||||
)}
|
||||
end
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
>
|
||||
<p style="margin: 0">
|
||||
<%= gettext(
|
||||
"As this group was located on this instance, all of it's data has been irretrievably deleted."
|
||||
"As this group was located on this instance, all of its data has been irretrievably deleted."
|
||||
) %>
|
||||
</p>
|
||||
</td>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
==
|
||||
<%= gettext "Your instance's moderation team has decided to suspend %{group_name} (%{group_address}). You are no longer a member of this group.", group_name: @group.name, group_address: preferred_username_and_domain(@group) %>
|
||||
<%= if is_nil(@group.domain) do %>
|
||||
<%= gettext "As this group was located on this instance, all of it's data has been irretrievably deleted." %>
|
||||
<%= gettext "As this group was located on this instance, all of its data has been irretrievably deleted." %>
|
||||
<% else %>
|
||||
<%= gettext "As this group was located on another instance, it will continue to work for other instances than this one." %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user