mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Add Turkish localization
This commit is contained in:
parent
cae4d3fae3
commit
534c157809
@ -33,6 +33,7 @@
|
||||
"sl-SI": "src/locale/messages.sl_SI.xlf",
|
||||
"sr-CS": "src/locale/messages.sr_CS.xlf",
|
||||
"sv-SE": "src/locale/messages.sv_SE.xlf",
|
||||
"tr-TR": "src/locale/messages.tr_TR.xlf",
|
||||
"zh-CN": "src/locale/messages.zh_CN.xlf"
|
||||
}
|
||||
},
|
||||
|
@ -85,6 +85,7 @@ 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 localeTr from '@angular/common/locales/tr'
|
||||
import localeZh from '@angular/common/locales/zh'
|
||||
|
||||
registerLocaleData(localeCs)
|
||||
@ -104,6 +105,7 @@ registerLocaleData(localeRu)
|
||||
registerLocaleData(localeSl)
|
||||
registerLocaleData(localeSr)
|
||||
registerLocaleData(localeSv)
|
||||
registerLocaleData(localeTr)
|
||||
registerLocaleData(localeZh)
|
||||
|
||||
@NgModule({
|
||||
|
@ -270,6 +270,12 @@ export class SettingsService {
|
||||
englishName: 'Swedish',
|
||||
dateInputFormat: 'yyyy-mm-dd',
|
||||
},
|
||||
{
|
||||
code: 'tr-tr',
|
||||
name: $localize`Turkish`,
|
||||
englishName: 'Turkish',
|
||||
dateInputFormat: 'yyyy-mm-dd',
|
||||
},
|
||||
{
|
||||
code: 'zh-cn',
|
||||
name: $localize`Chinese Simplified`,
|
||||
|
@ -316,6 +316,7 @@ LANGUAGES = [
|
||||
("sl-si", _("Slovenian")),
|
||||
("sr-cs", _("Serbian")),
|
||||
("sv-se", _("Swedish")),
|
||||
("tr-tr", _("Turkish")),
|
||||
("zh-cn", _("Chinese Simplified")),
|
||||
]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user