Skip to content
Snippets Groups Projects
Commit 1bfe097e authored by francois.grand's avatar francois.grand
Browse files

InternationalisationService.localizeText() : remplacement des guillemets par des backquotes

parent 0136010b
No related branches found
No related tags found
No related merge requests found
......@@ -163,10 +163,10 @@ export class InternationalisationService extends Observable {
*/
public localizeText(code: string) {
if (this._Messages === undefined) {
return "*** messages not loaded: ${code} ***";
return `*** messages not loaded: ${code} ***`;
}
if (this._Messages[code] === undefined) {
return `*** message not exists: ${code} ***`;
return `*** message not translated: ${code} ***`;
}
return this._Messages[code];
}
......@@ -194,7 +194,7 @@ export class InternationalisationService extends Observable {
// Autres codes INFO_EXTRARES_LIB_XXX
return this.localizeText(`${key}${s.toUpperCase()}`);
}
}
}
/**
* met en forme ou traduit un résultat en fonction du libellé qui l'accompagne
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment