notifications fully translated

This commit is contained in:
MathieuG-P
2022-07-14 18:37:40 +02:00
parent ded026e9bd
commit 3f9b79bf36
13 changed files with 447 additions and 71 deletions
-1
View File
@@ -47,7 +47,6 @@ export class I18nService {
public translate(translationKey: string): string{
const cachedTranlation = this.cache.get(translationKey);
if(!!cachedTranlation){ return cachedTranlation; }
console.log(translationKey);
const tranlated = getProperty(this.dictionary, translationKey);
tranlated && this.cache.set(translationKey, tranlated);
return tranlated || translationKey;