mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Added support for Luxembourgish (lb_LU) as an interface language
This commit is contained in:
parent
33cc3ce7e0
commit
dc5586b16d
@ -27,7 +27,8 @@
|
||||
"ru-RU": "src/locale/messages.ru_RU.xlf",
|
||||
"es-ES": "src/locale/messages.es_ES.xlf",
|
||||
"pl-PL": "src/locale/messages.pl_PL.xlf",
|
||||
"sv-SE": "src/locale/messages.sv_SE.xlf"
|
||||
"sv-SE": "src/locale/messages.sv_SE.xlf",
|
||||
"lb-LU": "src/locale/messages.lb_LU.xlf"
|
||||
}
|
||||
},
|
||||
"architect": {
|
||||
|
@ -76,6 +76,7 @@ import localeRu from '@angular/common/locales/ru';
|
||||
import localeEs from '@angular/common/locales/es';
|
||||
import localePl from '@angular/common/locales/pl';
|
||||
import localeSv from '@angular/common/locales/sv';
|
||||
import localeLb from '@angular/common/locales/lb';
|
||||
|
||||
|
||||
registerLocaleData(localeFr)
|
||||
@ -90,6 +91,7 @@ registerLocaleData(localeRu)
|
||||
registerLocaleData(localeEs)
|
||||
registerLocaleData(localePl)
|
||||
registerLocaleData(localeSv)
|
||||
registerLocaleData(localeLb)
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
|
@ -99,7 +99,8 @@ export class SettingsService {
|
||||
{code: "ru-ru", name: $localize`Russian`, englishName: "Russian", dateInputFormat: "dd.mm.yyyy"},
|
||||
{code: "es-es", name: $localize`Spanish`, englishName: "Spanish", dateInputFormat: "dd/mm/yyyy"},
|
||||
{code: "pl-pl", name: $localize`Polish`, englishName: "Polish", dateInputFormat: "dd.mm.yyyy"},
|
||||
{code: "sv-se", name: $localize`Swedish`, englishName: "Swedish", dateInputFormat: "yyyy-mm-dd"}
|
||||
{code: "sv-se", name: $localize`Swedish`, englishName: "Swedish", dateInputFormat: "yyyy-mm-dd"},
|
||||
{code: "lb-lu", name: $localize`Luxembourgish`, englishName: "Luxembourgish", dateInputFormat: "dd.mm.yyyy"}
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -313,6 +313,7 @@ LANGUAGES = [
|
||||
("es-es", _("Spanish")),
|
||||
("pl-pl", _("Polish")),
|
||||
("sv-se", _("Swedish")),
|
||||
("lb-lu", _("Luxembourgish")),
|
||||
]
|
||||
|
||||
LOCALE_PATHS = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user