Change Sahana Czech locale identifier from "cz" to "cs"

This commit is contained in:
Disassembler 2017-09-16 13:50:00 +02:00
parent c41e2bbdea
commit a325873573
3 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ cp ${SOURCE_DIR}/sahana/srv/sahana/applications/eden/modules/templates/default/c
export SAHANA_ADMIN_USER=admin@example.com
export SAHANA_ADMIN_PWD=$(head -c 18 /dev/urandom | base64)
envsubst <${SOURCE_DIR}/sahana/srv/sahana/applications/eden/modules/templates/default/users/masterUsers.csv >/srv/sahana/applications/eden/modules/templates/default/users/masterUsers.csv
cp ${SOURCE_DIR}/sahana/srv/sahana/applications/eden/languages/cz.py /srv/sahana/applications/eden/languages/cz.py
cp ${SOURCE_DIR}/sahana/srv/sahana/applications/eden/languages/cs.py /srv/sahana/applications/eden/languages/cs.py
# Create OS user
adduser --system --group --home /srv/sahana --shell /bin/false sahana

View File

@ -126,11 +126,11 @@ 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
settings.L10n.languages = OrderedDict([
("cz", "Česky"),
("cs", "Česky"),
("en", "English"),
])
# Default language for Language Toolbar (& GIS Locations in future)
settings.L10n.default_language = "cz"
settings.L10n.default_language = "cs"
# Uncomment to Hide the language toolbar
#settings.L10n.display_toolbar = False
# Default timezone for users