Updates translation files to contain issues.count value. Added missing languages to be selectable on UI.

pull/4335/head
Victor Usoltsev 3 years ago
parent ecd6c85849
commit 05ad18c76c

@ -50,7 +50,7 @@ export class AppComponent implements OnInit {
private readonly identity: IdentityService,
@Inject(DOCUMENT) private document: HTMLDocument) {
this.translate.addLangs(["en", "de", "fr", "da", "es", "it", "nl", "sk", "sv", "no", "pl", "ru", "pt"]);
this.translate.addLangs(["da", "de", "en", "es", "fr", "it", "hu", "nl", "no", "pl", "pt", "sk", "sv", "bg", "ru"]);
if (this.authService.loggedIn()) {
this.user = this.authService.claims();
@ -78,7 +78,7 @@ export class AppComponent implements OnInit {
// See if we can match the supported langs with the current browser lang
const browserLang: string = translate.getBrowserLang();
this.translate.use(browserLang.match(/en|fr|da|de|es|it|nl|ru|sk|sv|no|pl|pt/) ? browserLang : "en");
this.translate.use(browserLang.match(/da|de|en|es|fr|it|hu|nl|no|pl|pt|sk|sv|bg|ru/) ? browserLang : "en");
}

@ -1,15 +1,19 @@
export const AvailableLanguages: ILanguage[] = [
{ display: 'English', value: 'en' },
{ display: 'Français', value: 'fr' },
{ display: 'Dansk', value: 'da' },
{ display: 'Deutsch', value: 'de' },
{ display: 'Italiano', value: 'it' },
{ display: 'English', value: 'en' },
{ display: 'Español', value: 'es' },
{ display: 'Français', value: 'fr' },
{ display: 'Italiano', value: 'it' },
{ display: 'Magyar', value: 'hu' },
{ display: 'Nederlands', value: 'nl' },
{ display: 'Norsk', value: 'no' },
{ display: 'Português (Brasil)', value: 'pt' },
{ display: 'Polski', value: 'pl' },
{ display: 'Português (Brasil)', value: 'pt' },
{ display: 'Slovenčina', value: 'sk' },
{ display: 'Svenska', value: 'sv' },
{ display: 'Български', value: 'bg' },
{ display: 'Русский', value: 'ru' },
];
export interface ILanguage {

@ -196,6 +196,7 @@
"InProgressTitle": "Проблеми в процес на изпълнение",
"ResolvedTitle": "Решени проблеми",
"ColumnTitle": "Заглавие",
"Count": "Count",
"Category": "Категория",
"Status": "Състояние",
"Details": "Подробности",

@ -188,6 +188,7 @@
"InProgressTitle": "Igangværende probemer",
"ResolvedTitle": "Løste problemer",
"ColumnTitle": "Titel",
"Count": "Count",
"Category": "Kategori",
"Status": "Status",
"Details": "Detaljer",

@ -188,6 +188,7 @@
"InProgressTitle": "Probleme in bearbeitung",
"ResolvedTitle": "Behobene Probleme",
"ColumnTitle": "Titel",
"Count": "Count",
"Category": "Kategorie",
"Status": "Status",
"Details": "Details",

@ -196,6 +196,7 @@
"InProgressTitle": "In Progress Issues",
"ResolvedTitle": "Resolved Issues",
"ColumnTitle": "Title",
"Count": "Count",
"Category": "Category",
"Status": "Status",
"Details": "Details",

@ -188,6 +188,7 @@
"InProgressTitle": "Problemas en curso",
"ResolvedTitle": "Problemas resueltos",
"ColumnTitle": "Título",
"Count": "Count",
"Category": "Categoría",
"Status": "Estado",
"Details": "Detalles",

@ -188,6 +188,7 @@
"InProgressTitle": "Problèmes en cours",
"ResolvedTitle": "Problèmes résolus",
"ColumnTitle": "Titre",
"Count": "Count",
"Category": "Catégorie",
"Status": "Statut",
"Details": "Détails",

@ -188,6 +188,7 @@
"InProgressTitle": "Folyamatban lévő problémák",
"ResolvedTitle": "Megoldott problémák",
"ColumnTitle": "Cím",
"Count": "Count",
"Category": "Kategória",
"Status": "Állapot",
"Details": "Részletek",

@ -188,6 +188,7 @@
"InProgressTitle": "Problemi in risoluzione",
"ResolvedTitle": "Problemi risolti",
"ColumnTitle": "Titolo",
"Count": "Count",
"Category": "Categoria",
"Status": "Stato",
"Details": "Dettagli",

@ -188,6 +188,7 @@
"InProgressTitle": "Problemen in Behandeling",
"ResolvedTitle": "Opgeloste Problemen",
"ColumnTitle": "Titel",
"Count": "Count",
"Category": "Categorie",
"Status": "Status",
"Details": "Details",

@ -188,6 +188,7 @@
"InProgressTitle": "Mangler under behandling",
"ResolvedTitle": "Løste mangler",
"ColumnTitle": "Tittel",
"Count": "Count",
"Category": "Kategori",
"Status": "Status",
"Details": "Detaljer",

@ -188,6 +188,7 @@
"InProgressTitle": "Problemy w trakcie",
"ResolvedTitle": "Problemy rozwiązane",
"ColumnTitle": "Tytuł",
"Count": "Count",
"Category": "Kategoria",
"Status": "Stan",
"Details": "Szczegóły",

@ -188,6 +188,7 @@
"InProgressTitle": "In Progress Issues",
"ResolvedTitle": "Resolved Issues",
"ColumnTitle": "Title",
"Count": "Count",
"Category": "Category",
"Status": "Status",
"Details": "Details",

@ -188,6 +188,7 @@
"InProgressTitle": "Проблемы в процессе",
"ResolvedTitle": "Решенные проблемы",
"ColumnTitle": "Название",
"Count": "Количество",
"Category": "Категория",
"Status": "Статус",
"Details": "Подробная информация",

@ -188,6 +188,7 @@
"InProgressTitle": "Riešené problémy",
"ResolvedTitle": "Vyiešené problémy",
"ColumnTitle": "Názov",
"Count": "Count",
"Category": "Kategória",
"Status": "Stav",
"Details": "Podrobnosti",

@ -188,6 +188,7 @@
"InProgressTitle": "Pågående problem",
"ResolvedTitle": "Lösta problem",
"ColumnTitle": "Titel",
"Count": "Count",
"Category": "Kategori",
"Status": "Status",
"Details": "Detaljer",

Loading…
Cancel
Save