FEAT #10771 TIME 0:20 translate wording

parent 75c6aec1
......@@ -218,6 +218,9 @@ export class UserAdministrationComponent extends AutoCompletePlugin implements O
this.checkInfoMaarchParapheurAccount();
this.notify.success(this.lang.accountAdded);
}, (err) => {
if (err.error.errors == 'Login already exists') {
err.error.errors = this.lang.loginAlreadyExistsInMaarchParapheur
}
this.notify.error(err.error.errors);
});
}
......
......@@ -1017,4 +1017,5 @@ export const LANG_EN = {
"maarchParapheurAccountMsg2" : " will be created in Maarch Parapheur.",
"searchUserInMaarchParapheur" : "Search an user in Maarch Parapheur",
"newLoginInMaarchParapheur" : "New Maarch Parapheur Login",
"loginAlreadyExistsInMaarchParapheur" : "Login already exists in Maarch Parapheur"
};
......@@ -1050,4 +1050,5 @@ export const LANG_FR = {
"maarchParapheurAccountMsg2" : "sera créé dans Maarch Parapheur.",
"searchUserInMaarchParapheur" : "Recherche un utilisateur dans Maarch Parapheur",
"newLoginInMaarchParapheur" : "Nouvel identifiant Maarch Parapheur",
"loginAlreadyExistsInMaarchParapheur" : "Ce login existe déjà dans Maarch Parapheur"
};
\ No newline at end of file
......@@ -1043,4 +1043,5 @@ export const LANG_NL = {
"maarchParapheurAccountMsg2" : " will be created in Maarch Parapheur.", //_TO_TRANSLATE
"searchUserInMaarchParapheur" : "Search unlinked an user in Maarch Parapheur", //_TO_TRANSLATE
"newLoginInMaarchParapheur" : "New Maarch Parapheur Login", //_TO_TRANSLATE
"loginAlreadyExistsInMaarchParapheur" : "Login already exists in Maarch Parapheur", //_TO_TRANSLATE
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment