diff --git a/src-ui/angular.json b/src-ui/angular.json index 836b2a290..dab9d1d75 100644 --- a/src-ui/angular.json +++ b/src-ui/angular.json @@ -24,6 +24,7 @@ "de-DE": "src/locale/messages.de_DE.xlf", "en-GB": "src/locale/messages.en_GB.xlf", "es-ES": "src/locale/messages.es_ES.xlf", + "fi-FI": "src/locale/messages.fi_FI.xlf", "fr-FR": "src/locale/messages.fr_FR.xlf", "it-IT": "src/locale/messages.it_IT.xlf", "lb-LU": "src/locale/messages.lb_LU.xlf", diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf index 91c11de15..422eb69aa 100644 --- a/src-ui/messages.xlf +++ b/src-ui/messages.xlf @@ -1583,7 +1583,7 @@ src/app/components/manage/management-list/management-list.component.ts - 213 + 214 src/app/components/manage/settings/settings.component.html @@ -2757,7 +2757,7 @@ src/app/components/manage/management-list/management-list.component.ts - 209 + 210 @@ -3916,53 +3916,53 @@ Error occurred while creating : . src/app/components/manage/management-list/management-list.component.ts - 142 + 143 src/app/components/manage/management-list/management-list.component.ts - 153,155 + 154,156 Successfully created . src/app/components/manage/management-list/management-list.component.ts - 147 + 148 Error occurred while saving . src/app/components/manage/management-list/management-list.component.ts - 174,176 + 175,177 Successfully updated . src/app/components/manage/management-list/management-list.component.ts - 181 + 182 Error occurred while saving : . src/app/components/manage/management-list/management-list.component.ts - 187,189 + 188,190 Do you really want to delete the ? src/app/components/manage/management-list/management-list.component.ts - 196 + 197 Associated documents will not be deleted. src/app/components/manage/management-list/management-list.component.ts - 211 + 212 @@ -3971,7 +3971,7 @@ )"/> src/app/components/manage/management-list/management-list.component.ts - 224,226 + 225,227 @@ -5146,123 +5146,130 @@ 207 + + Finnish + + src/app/services/settings.service.ts + 213 + + French src/app/services/settings.service.ts - 213 + 219 Italian src/app/services/settings.service.ts - 219 + 225 Luxembourgish src/app/services/settings.service.ts - 225 + 231 Dutch src/app/services/settings.service.ts - 231 + 237 Polish src/app/services/settings.service.ts - 237 + 243 Portuguese (Brazil) src/app/services/settings.service.ts - 243 + 249 Portuguese src/app/services/settings.service.ts - 249 + 255 Romanian src/app/services/settings.service.ts - 255 + 261 Russian src/app/services/settings.service.ts - 261 + 267 Slovenian src/app/services/settings.service.ts - 267 + 273 Serbian src/app/services/settings.service.ts - 273 + 279 Swedish src/app/services/settings.service.ts - 279 + 285 Turkish src/app/services/settings.service.ts - 285 + 291 Chinese Simplified src/app/services/settings.service.ts - 291 + 297 ISO 8601 src/app/services/settings.service.ts - 308 + 314 Successfully completed one-time migratration of settings to the database! src/app/services/settings.service.ts - 419 + 425 Unable to migrate settings to the database, please try saving manually. src/app/services/settings.service.ts - 420 + 426 diff --git a/src-ui/src/app/app.module.ts b/src-ui/src/app/app.module.ts index 51204ad7e..ed847d41a 100644 --- a/src-ui/src/app/app.module.ts +++ b/src-ui/src/app/app.module.ts @@ -97,6 +97,7 @@ import localeDa from '@angular/common/locales/da' import localeDe from '@angular/common/locales/de' import localeEnGb from '@angular/common/locales/en-GB' import localeEs from '@angular/common/locales/es' +import localeFi from '@angular/common/locales/fi' import localeFr from '@angular/common/locales/fr' import localeIt from '@angular/common/locales/it' import localeLb from '@angular/common/locales/lb' @@ -121,6 +122,7 @@ registerLocaleData(localeDa) registerLocaleData(localeDe) registerLocaleData(localeEnGb) registerLocaleData(localeEs) +registerLocaleData(localeFi) registerLocaleData(localeFr) registerLocaleData(localeIt) registerLocaleData(localeLb) diff --git a/src-ui/src/app/services/settings.service.ts b/src-ui/src/app/services/settings.service.ts index 1361d5cad..7b68a423a 100644 --- a/src-ui/src/app/services/settings.service.ts +++ b/src-ui/src/app/services/settings.service.ts @@ -208,6 +208,12 @@ export class SettingsService { englishName: 'Spanish', dateInputFormat: 'dd/mm/yyyy', }, + { + code: 'fi-fi', + name: $localize`Finnish`, + englishName: 'Finnish', + dateInputFormat: 'dd.mm.yyyy', + }, { code: 'fr-fr', name: $localize`French`, diff --git a/src/paperless/settings.py b/src/paperless/settings.py index e556e6293..0301fffad 100644 --- a/src/paperless/settings.py +++ b/src/paperless/settings.py @@ -548,6 +548,7 @@ LANGUAGES = [ ("de-de", _("German")), ("en-gb", _("English (GB)")), ("es-es", _("Spanish")), + ("fi-fi", _("Finnish")), ("fr-fr", _("French")), ("it-it", _("Italian")), ("lb-lu", _("Luxembourgish")),