feat: internationalization Polish (#5117)

* Add Polish translations

* Add references to Polish translations in files

* Make a consistent translation of languages in Chinese translation

* Add missing language references to fr, it and zh

* Translation corrections

* Add missing language references to zh

* Translation corrections

* add latest translation keys

* Translation corrections and addition of some new ones

* translate auth requests exhausted

* add new untranslated keys

* Translation corrections, fix indentation

---------

Co-authored-by: Elio Bischof <[email protected]>
This commit is contained in:
uiopak
2023-02-13 12:03:34 +01:00
committed by GitHub
co-authored by Elio Bischof
parent 0e812cf0f4
commit 84fa20f1ce
26 changed files with 3691 additions and 37 deletions
@@ -109,7 +109,7 @@ export class LoginTextsComponent implements OnInit, OnDestroy {
@Input() public serviceType: PolicyComponentServiceType = PolicyComponentServiceType.MGMT;
public KeyNamesArray: string[] = KeyNamesArray;
public LOCALES: string[] = ['en', 'de', 'it'];
public LOCALES: string[] = ['en', 'de', 'it', 'fr', 'pl', 'zh'];
private sub: Subscription = new Subscription();
@@ -441,7 +441,7 @@ export class MessageTextsComponent implements OnInit, OnDestroy {
};
public locale: string = 'en';
public LOCALES: string[] = ['en', 'de', 'it'];
public LOCALES: string[] = ['en', 'de', 'it', 'fr', 'pl', 'zh'];
private sub: Subscription = new Subscription();
public canWrite$: Observable<boolean> = this.authService.isAllowed([
this.serviceType === PolicyComponentServiceType.ADMIN