From 81e1d055d10ff9e6e2b5bc596fb371fa7937abe8 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Wed, 11 Oct 2017 22:37:23 +0200 Subject: [PATCH] Align Sahana L10n and CAP languages, fixes #112 --- .../applications/eden/modules/templates/Spotter/config.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sahana/srv/sahana/applications/eden/modules/templates/Spotter/config.py b/sahana/srv/sahana/applications/eden/modules/templates/Spotter/config.py index f533525..072f62b 100644 --- a/sahana/srv/sahana/applications/eden/modules/templates/Spotter/config.py +++ b/sahana/srv/sahana/applications/eden/modules/templates/Spotter/config.py @@ -120,10 +120,12 @@ def config(settings): # L10n settings # Languages used in the deployment (used for Language Toolbar & GIS Locations) # http://www.loc.gov/standards/iso639-2/php/code_list.php - settings.L10n.languages = OrderedDict([ + languages = OrderedDict([ ("cs", "Česky"), - ("en", "English"), + ("en-US", "English"), ]) + settings.L10n.languages = languages + settings.cap.languages = languages # Default language for Language Toolbar (& GIS Locations in future) settings.L10n.default_language = "cs" # Uncomment to Hide the language toolbar