From 03e98b48b9d545b33e81ca4894e229ce19822392 Mon Sep 17 00:00:00 2001 From: Lars Saalbach Date: Sun, 22 Dec 2024 19:59:15 +0100 Subject: [PATCH] Adding portuguese --- src/app/app.component.ts | 2 ++ src/app/settings/settings.page.html | 1 + 2 files changed, 3 insertions(+) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 7e402367..1804a524 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -503,6 +503,8 @@ export class AppComponent implements AfterViewInit { settingLanguage = 'nl'; } else if (systemLanguage === 'no') { settingLanguage = 'no'; + } else if (systemLanguage === 'pt') { + settingLanguage = 'pt'; } else { settingLanguage = 'en'; } diff --git a/src/app/settings/settings.page.html b/src/app/settings/settings.page.html index df862cc7..594f98a9 100644 --- a/src/app/settings/settings.page.html +++ b/src/app/settings/settings.page.html @@ -113,6 +113,7 @@

{{"FULL_EXPORT_TO_DIRECTORY" | translate}}

{{"PAGE_SETTINGS_LANGUAGE_POLISH" | translate}} {{"PAGE_SETTINGS_LANGUAGE_DUTCH" | translate}} {{"PAGE_SETTINGS_LANGUAGE_NORWEGIAN" | translate}} + {{"PAGE_SETTINGS_LANGUAGE_PORTUGUESE" | translate}}