mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Add Serbian localization
This commit is contained in:
parent
5794faef6c
commit
991bc1a1ce
@ -31,6 +31,7 @@
|
||||
"ro-RO": "src/locale/messages.ro_RO.xlf",
|
||||
"ru-RU": "src/locale/messages.ru_RU.xlf",
|
||||
"sl-SI": "src/locale/messages.sl_SI.xlf",
|
||||
"sr-CS": "src/locale/messages.sr_CS.xlf",
|
||||
"sv-SE": "src/locale/messages.sv_SE.xlf",
|
||||
"zh-CN": "src/locale/messages.zh_CN.xlf"
|
||||
}
|
||||
|
@ -82,6 +82,7 @@ import localePt from '@angular/common/locales/pt'
|
||||
import localeRo from '@angular/common/locales/ro'
|
||||
import localeRu from '@angular/common/locales/ru'
|
||||
import localeSl from '@angular/common/locales/sl'
|
||||
import localeSr from '@angular/common/locales/sr'
|
||||
import localeSv from '@angular/common/locales/sv'
|
||||
import localeZh from '@angular/common/locales/zh'
|
||||
|
||||
@ -100,6 +101,7 @@ registerLocaleData(localePt, 'pt-PT')
|
||||
registerLocaleData(localeRo)
|
||||
registerLocaleData(localeRu)
|
||||
registerLocaleData(localeSl)
|
||||
registerLocaleData(localeSr)
|
||||
registerLocaleData(localeSv)
|
||||
registerLocaleData(localeZh)
|
||||
|
||||
|
@ -258,6 +258,12 @@ export class SettingsService {
|
||||
englishName: 'Slovenian',
|
||||
dateInputFormat: 'dd.mm.yyyy',
|
||||
},
|
||||
{
|
||||
code: 'sr-cs',
|
||||
name: $localize`Serbian`,
|
||||
englishName: 'Serbian',
|
||||
dateInputFormat: 'dd.mm.yyyy',
|
||||
},
|
||||
{
|
||||
code: 'sv-se',
|
||||
name: $localize`Swedish`,
|
||||
|
@ -314,6 +314,7 @@ LANGUAGES = [
|
||||
("ro-ro", _("Romanian")),
|
||||
("ru-ru", _("Russian")),
|
||||
("sl-si", _("Slovenian")),
|
||||
("sr-cs", _("Serbian")),
|
||||
("sv-se", _("Swedish")),
|
||||
("zh-cn", _("Chinese Simplified")),
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user