mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Merge pull request #315 from paperless-ngx/locale-slovenian
Add Slovenian language for frontend
This commit is contained in:
commit
4184988c0c
@ -30,6 +30,7 @@
|
||||
"pt-PT": "src/locale/messages.pt_PT.xlf",
|
||||
"ro-RO": "src/locale/messages.ro_RO.xlf",
|
||||
"ru-RU": "src/locale/messages.ru_RU.xlf",
|
||||
"sl-SI": "src/locale/messages.sl_SI.xlf",
|
||||
"sv-SE": "src/locale/messages.sv_SE.xlf"
|
||||
}
|
||||
},
|
||||
|
@ -80,9 +80,10 @@ import localeLb from '@angular/common/locales/lb'
|
||||
import localeNl from '@angular/common/locales/nl'
|
||||
import localePl from '@angular/common/locales/pl'
|
||||
import localePt from '@angular/common/locales/pt'
|
||||
import localeSv from '@angular/common/locales/sv'
|
||||
import localeRo from '@angular/common/locales/ro'
|
||||
import localeRu from '@angular/common/locales/ru'
|
||||
import localeSl from '@angular/common/locales/sl'
|
||||
import localeSv from '@angular/common/locales/sv'
|
||||
|
||||
registerLocaleData(localeCs)
|
||||
registerLocaleData(localeDa)
|
||||
@ -98,6 +99,7 @@ registerLocaleData(localePt, 'pt-BR')
|
||||
registerLocaleData(localePt, 'pt-PT')
|
||||
registerLocaleData(localeRo)
|
||||
registerLocaleData(localeRu)
|
||||
registerLocaleData(localeSl)
|
||||
registerLocaleData(localeSv)
|
||||
|
||||
@NgModule({
|
||||
|
@ -252,6 +252,12 @@ export class SettingsService {
|
||||
englishName: 'Russian',
|
||||
dateInputFormat: 'dd.mm.yyyy',
|
||||
},
|
||||
{
|
||||
code: 'sl-si',
|
||||
name: $localize`Slovenian`,
|
||||
englishName: 'Slovenian',
|
||||
dateInputFormat: 'dd.mm.yyyy',
|
||||
},
|
||||
{
|
||||
code: 'sv-se',
|
||||
name: $localize`Swedish`,
|
||||
|
@ -313,6 +313,7 @@ LANGUAGES = [
|
||||
("pt-pt", _("Portuguese")),
|
||||
("ro-ro", _("Romanian")),
|
||||
("ru-ru", _("Russian")),
|
||||
("sl-si", _("Slovenian")),
|
||||
("sv-se", _("Swedish")),
|
||||
]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user