Fix duplicit Czech in Sahana language selector, related to #107

This commit is contained in:
Disassembler 2018-03-14 21:25:20 +01:00
parent f260971661
commit b495cf35a1
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
3 changed files with 4 additions and 3 deletions

View File

@ -1665,6 +1665,7 @@
'Customs Capacity': 'Kapacita celního úřadu',
'Customs Warehousing Storage Capacity': 'Kapacita celního skladu',
'Cyclone': 'Cyklon',
'Czech': 'Čeština',
'DATA QUALITY': 'KVALITA DAT',
'DATA/REPORT': 'DATA / REPORTY',
'DISK': 'DISK',

View File

@ -121,7 +121,7 @@ def config(settings):
# Languages used in the deployment (used for Language Toolbar & GIS Locations)
# http://www.loc.gov/standards/iso639-2/php/code_list.php
languages = OrderedDict([
("cs", "Česky"),
("cs", "Czech"),
("en-US", "English"),
])
settings.L10n.languages = languages
@ -963,7 +963,7 @@ def config(settings):
# -------------------------------------------------------------------------
# CAP
settings.get_cap_languages = OrderedDict([
("cs", "Česky"),
("cs", "Czech"),
("en-US", "English"),
])

View File

@ -99,7 +99,7 @@ def config(settings):
# -------------------------------------------------------------------------
# L10n (Localization) settings
languages = OrderedDict([
("cs", "Česky"),
("cs", "Czech"),
("en-US", "English"),
])
settings.cap.languages = languages