Change Sahana Czech locale identifier from "cz" to "cs"
This commit is contained in:
parent
c41e2bbdea
commit
a325873573
@ -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_USER=admin@example.com
|
||||||
export SAHANA_ADMIN_PWD=$(head -c 18 /dev/urandom | base64)
|
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
|
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
|
# Create OS user
|
||||||
adduser --system --group --home /srv/sahana --shell /bin/false sahana
|
adduser --system --group --home /srv/sahana --shell /bin/false sahana
|
||||||
|
@ -126,11 +126,11 @@ def config(settings):
|
|||||||
# Languages used in the deployment (used for Language Toolbar & GIS Locations)
|
# Languages used in the deployment (used for Language Toolbar & GIS Locations)
|
||||||
# http://www.loc.gov/standards/iso639-2/php/code_list.php
|
# http://www.loc.gov/standards/iso639-2/php/code_list.php
|
||||||
settings.L10n.languages = OrderedDict([
|
settings.L10n.languages = OrderedDict([
|
||||||
("cz", "Česky"),
|
("cs", "Česky"),
|
||||||
("en", "English"),
|
("en", "English"),
|
||||||
])
|
])
|
||||||
# Default language for Language Toolbar (& GIS Locations in future)
|
# 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
|
# Uncomment to Hide the language toolbar
|
||||||
#settings.L10n.display_toolbar = False
|
#settings.L10n.display_toolbar = False
|
||||||
# Default timezone for users
|
# Default timezone for users
|
||||||
|
Loading…
Reference in New Issue
Block a user