diff --git a/src-ui/angular.json b/src-ui/angular.json index 9edffac58..1fef2fe7d 100644 --- a/src-ui/angular.json +++ b/src-ui/angular.json @@ -29,6 +29,7 @@ "es-ES": "src/locale/messages.es_ES.xlf", "fi-FI": "src/locale/messages.fi_FI.xlf", "fr-FR": "src/locale/messages.fr_FR.xlf", + "hu-HU": "src/locale/messages.hu_HU.xlf", "it-IT": "src/locale/messages.it_IT.xlf", "lb-LU": "src/locale/messages.lb_LU.xlf", "nl-NL": "src/locale/messages.nl_NL.xlf", diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf index a132bb7ec..2d83d9322 100644 --- a/src-ui/messages.xlf +++ b/src-ui/messages.xlf @@ -6373,144 +6373,151 @@ 233 + + Hungarian + + src/app/services/settings.service.ts + 239 + + Italian src/app/services/settings.service.ts - 239 + 245 Luxembourgish src/app/services/settings.service.ts - 245 + 251 Dutch src/app/services/settings.service.ts - 251 + 257 Norwegian src/app/services/settings.service.ts - 257 + 263 Polish src/app/services/settings.service.ts - 263 + 269 Portuguese (Brazil) src/app/services/settings.service.ts - 269 + 275 Portuguese src/app/services/settings.service.ts - 275 + 281 Romanian src/app/services/settings.service.ts - 281 + 287 Russian src/app/services/settings.service.ts - 287 + 293 Slovak src/app/services/settings.service.ts - 293 + 299 Slovenian src/app/services/settings.service.ts - 299 + 305 Serbian src/app/services/settings.service.ts - 305 + 311 Swedish src/app/services/settings.service.ts - 311 + 317 Turkish src/app/services/settings.service.ts - 317 + 323 Ukrainian src/app/services/settings.service.ts - 323 + 329 Chinese Simplified src/app/services/settings.service.ts - 329 + 335 ISO 8601 src/app/services/settings.service.ts - 346 + 352 Successfully completed one-time migratration of settings to the database! src/app/services/settings.service.ts - 465 + 471 Unable to migrate settings to the database, please try saving manually. src/app/services/settings.service.ts - 466 + 472 You can restart the tour from the settings page. src/app/services/settings.service.ts - 536 + 542 diff --git a/src-ui/setup-jest.ts b/src-ui/setup-jest.ts index d874064b4..494d90d39 100644 --- a/src-ui/setup-jest.ts +++ b/src-ui/setup-jest.ts @@ -21,6 +21,7 @@ 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 localeHu from '@angular/common/locales/hu' import localeIt from '@angular/common/locales/it' import localeLb from '@angular/common/locales/lb' import localeNl from '@angular/common/locales/nl' @@ -50,6 +51,7 @@ registerLocaleData(localeEnGb) registerLocaleData(localeEs) registerLocaleData(localeFi) registerLocaleData(localeFr) +registerLocaleData(localeHu) registerLocaleData(localeIt) registerLocaleData(localeLb) registerLocaleData(localeNl) diff --git a/src-ui/src/app/app.module.ts b/src-ui/src/app/app.module.ts index 1967a3f78..e3cef8c95 100644 --- a/src-ui/src/app/app.module.ts +++ b/src-ui/src/app/app.module.ts @@ -119,6 +119,7 @@ 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 localeHu from '@angular/common/locales/hu' import localeIt from '@angular/common/locales/it' import localeLb from '@angular/common/locales/lb' import localeNl from '@angular/common/locales/nl' @@ -148,6 +149,7 @@ registerLocaleData(localeEnGb) registerLocaleData(localeEs) registerLocaleData(localeFi) registerLocaleData(localeFr) +registerLocaleData(localeHu) registerLocaleData(localeIt) registerLocaleData(localeLb) registerLocaleData(localeNl) diff --git a/src-ui/src/app/services/settings.service.ts b/src-ui/src/app/services/settings.service.ts index 8bcf44de3..faa0ee059 100644 --- a/src-ui/src/app/services/settings.service.ts +++ b/src-ui/src/app/services/settings.service.ts @@ -234,6 +234,12 @@ export class SettingsService { englishName: 'French', dateInputFormat: 'dd/mm/yyyy', }, + { + code: 'hu-hu', + name: $localize`Hungarian`, + englishName: 'Hungarian', + dateInputFormat: 'yyyy.mm.dd', + }, { code: 'it-it', name: $localize`Italian`, diff --git a/src/locale/en_US/LC_MESSAGES/django.po b/src/locale/en_US/LC_MESSAGES/django.po index df680665c..d1f40b1d9 100644 --- a/src/locale/en_US/LC_MESSAGES/django.po +++ b/src/locale/en_US/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: paperless-ngx\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 20:12-0700\n" +"POT-Creation-Date: 2023-11-10 09:02-0800\n" "PO-Revision-Date: 2022-02-17 04:17\n" "Last-Translator: \n" "Language-Team: English\n" @@ -914,66 +914,70 @@ msgid "French" msgstr "" #: paperless/settings.py:600 -msgid "Italian" +msgid "Hungarian" msgstr "" #: paperless/settings.py:601 -msgid "Luxembourgish" +msgid "Italian" msgstr "" #: paperless/settings.py:602 -msgid "Norwegian" +msgid "Luxembourgish" msgstr "" #: paperless/settings.py:603 -msgid "Dutch" +msgid "Norwegian" msgstr "" #: paperless/settings.py:604 -msgid "Polish" +msgid "Dutch" msgstr "" #: paperless/settings.py:605 -msgid "Portuguese (Brazil)" +msgid "Polish" msgstr "" #: paperless/settings.py:606 -msgid "Portuguese" +msgid "Portuguese (Brazil)" msgstr "" #: paperless/settings.py:607 -msgid "Romanian" +msgid "Portuguese" msgstr "" #: paperless/settings.py:608 -msgid "Russian" +msgid "Romanian" msgstr "" #: paperless/settings.py:609 -msgid "Slovak" +msgid "Russian" msgstr "" #: paperless/settings.py:610 -msgid "Slovenian" +msgid "Slovak" msgstr "" #: paperless/settings.py:611 -msgid "Serbian" +msgid "Slovenian" msgstr "" #: paperless/settings.py:612 -msgid "Swedish" +msgid "Serbian" msgstr "" #: paperless/settings.py:613 -msgid "Turkish" +msgid "Swedish" msgstr "" #: paperless/settings.py:614 -msgid "Ukrainian" +msgid "Turkish" msgstr "" #: paperless/settings.py:615 +msgid "Ukrainian" +msgstr "" + +#: paperless/settings.py:616 msgid "Chinese Simplified" msgstr "" diff --git a/src/paperless/settings.py b/src/paperless/settings.py index d1cbe852b..7b7568916 100644 --- a/src/paperless/settings.py +++ b/src/paperless/settings.py @@ -597,6 +597,7 @@ LANGUAGES = [ ("es-es", _("Spanish")), ("fi-fi", _("Finnish")), ("fr-fr", _("French")), + ("hu-hu", _("Hungarian")), ("it-it", _("Italian")), ("lb-lu", _("Luxembourgish")), ("no-no", _("Norwegian")),