ignore metadata improvements

This commit is contained in:
2021-10-05 08:41:38 +02:00
parent 2ac686824b
commit e225e78639
18 changed files with 373 additions and 84 deletions
+4 -4
View File
@@ -9,8 +9,8 @@ import { Subject } from 'rxjs';
})
export class I18nService {
locale: string = "en";
locales: any[] = [ "en" ];
locale: string = "de-informal";
locales: any[] = [ "de-informal", "en" ];
i18n: any;
constructor(private http: HttpClient) {
@@ -22,7 +22,7 @@ export class I18nService {
}
getLocale() {
return this.locale || 'en';
return this.locale || 'de-informal';
}
setLocale(locale) {
@@ -96,7 +96,7 @@ export class I18nService {
if (args && args.length > 0) {
return key + "[" + args + "]";
}
return key;
}