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