mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 12:30:15 +02:00
Merge branch 'correct-locale-link' into 'master'
[FIX] Correct locale link for moment js See merge request allianceauth/allianceauth!1692
This commit is contained in:
commit
e9d2d11297
@ -119,8 +119,12 @@ LANGUAGES = ( # Sorted by Language Code alphabetical order + English at top
|
|||||||
|
|
||||||
# Django's language codes are different from some of the libraries we use,
|
# Django's language codes are different from some of the libraries we use,
|
||||||
# so we need to map them.
|
# so we need to map them.
|
||||||
|
# When adding a new language, please remember to add it to the mapping
|
||||||
|
# and add the language files to their respective directories under `allianceauth/static/allianceauth/libs/`.
|
||||||
LANGUAGE_MAPPING = {
|
LANGUAGE_MAPPING = {
|
||||||
# See https://github.com/DataTables/Plugins/tree/master/i18n for available languages
|
# See https://github.com/DataTables/Plugins/tree/master/i18n for available languages
|
||||||
|
# (We use the JSON files)
|
||||||
|
# `allianceauth/static/allianceauth/libs/DataTables/Plugins/{version}/i18n/` for the files
|
||||||
"DataTables": {
|
"DataTables": {
|
||||||
"cs-cz": "cs",
|
"cs-cz": "cs",
|
||||||
"de": "de-DE",
|
"de": "de-DE",
|
||||||
@ -135,7 +139,8 @@ LANGUAGE_MAPPING = {
|
|||||||
"uk": "uk",
|
"uk": "uk",
|
||||||
"zh-hans": "zh-HANT",
|
"zh-hans": "zh-HANT",
|
||||||
},
|
},
|
||||||
# See https://github.com/moment/moment/tree/master/src/locale for available languages
|
# See https://github.com/moment/moment/tree/master/locale for available languages
|
||||||
|
# `allianceauth/static/allianceauth/libs/moment.js/{version}/locale/` for the files
|
||||||
"MomentJS": {
|
"MomentJS": {
|
||||||
"cs-cz": "cs",
|
"cs-cz": "cs",
|
||||||
"de": "de",
|
"de": "de",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user