mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-24 17:01:45 +00:00
Make error when last identity translatable
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
33f7c14db6
commit
a3d467c23a
3 changed files with 7 additions and 0 deletions
|
@ -298,6 +298,7 @@
|
|||
"You are already a participant of this event.": "You are already a participant of this event.",
|
||||
"You are already logged-in.": "You are already logged-in.",
|
||||
"You can add tags by hitting the Enter key or by adding a comma": "You can add tags by hitting the Enter key or by adding a comma",
|
||||
"You can't remove your last identity.": "You can't remove your last identity.",
|
||||
"You have been disconnected": "You have been disconnected",
|
||||
"You have cancelled your participation": "You have cancelled your participation",
|
||||
"You have one event in {days} days.": "You have no events in {days} days | You have one event in {days} days. | You have {count} events in {days} days",
|
||||
|
|
|
@ -298,6 +298,7 @@
|
|||
"You are already a participant of this event.": "Vous participez déjà à cet événement.",
|
||||
"You are already logged-in.": "Vous êtes déjà connecté.",
|
||||
"You can add tags by hitting the Enter key or by adding a comma": "Vous pouvez ajouter des tags en appuyant sur la touche Entrée ou bien en ajoutant une virgule",
|
||||
"You can't remove your last identity.": "Vous ne pouvez pas supprimer votre dernière identité",
|
||||
"You have been disconnected": "Vous avez été déconnecté⋅e",
|
||||
"You have cancelled your participation": "Vous avez annulé votre participation",
|
||||
"You have one event in {days} days.": "Vous n'avez pas d'événements dans {days} jours | Vous avez un événement dans {days} jours. | Vous avez {count} événements dans {days} jours",
|
||||
|
|
|
@ -48,6 +48,11 @@ export const errors: IError[] = [
|
|||
value: i18n.t("The current identity doesn't have any permission on this event. You should probably change it.") as string,
|
||||
suggestRefresh: false,
|
||||
},
|
||||
{
|
||||
match: /Cannot remove the last identity of a user/,
|
||||
value: i18n.t("You can't remove your last identity.") as string,
|
||||
suggestRefresh: false,
|
||||
},
|
||||
{
|
||||
match: /^No user with this email was found$/,
|
||||
value: null,
|
||||
|
|
Loading…
Reference in a new issue