From 9d987ec90fc0cca037ab3f53f0fbb4c959880312 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Mon, 25 Sep 2017 13:29:12 +0200 Subject: [PATCH] Remove Sambro demo data, adjust language selection, fixes #21 --- .../applications/eden/models/000_config.py | 2 +- .../eden/modules/templates/SAMBRO/config.py | 17 +---------------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/sambro/srv/sambro/applications/eden/models/000_config.py b/sambro/srv/sambro/applications/eden/models/000_config.py index 85e508d..e92f800 100644 --- a/sambro/srv/sambro/applications/eden/models/000_config.py +++ b/sambro/srv/sambro/applications/eden/models/000_config.py @@ -238,7 +238,7 @@ settings.import_template() #settings.base.prepopulate = ("MY_TEMPLATE_ONLY") #settings.base.prepopulate += ("default", "default/users") #settings.base.theme = "default" -#settings.L10n.default_language = "en" +settings.L10n.default_language = "cs" #settings.security.policy = 7 # Organisation-ACLs # Enable Additional Module(s) #settings.modules["delphi"] = Storage( diff --git a/sambro/srv/sambro/applications/eden/modules/templates/SAMBRO/config.py b/sambro/srv/sambro/applications/eden/modules/templates/SAMBRO/config.py index ef1cd2f..a94f28b 100644 --- a/sambro/srv/sambro/applications/eden/modules/templates/SAMBRO/config.py +++ b/sambro/srv/sambro/applications/eden/modules/templates/SAMBRO/config.py @@ -23,7 +23,7 @@ def config(settings): settings.base.system_name_short = T("SAMBRO") # Pre-Populate - settings.base.prepopulate += ("SAMBRO", "SAMBRO/Demo", "default/users") + settings.base.prepopulate += ("SAMBRO", "default/users") # Theme (folder to use for views/layout.html) #settings.base.theme = "SAMBRO" @@ -98,23 +98,8 @@ def config(settings): # ------------------------------------------------------------------------- # L10n (Localization) settings languages = OrderedDict([ - #("ar", "العربية"), ("cs", "Česky"), - ("dv", "ދިވެހި"), # Divehi (Maldives) ("en-US", "English"), - #("es", "Español"), - #("fr", "Français"), - #("km", "ភាសាខ្មែរ"), # Khmer - #("mn", "Монгол хэл"), # Mongolian - ("my", "မြန်မာစာ"), # Burmese - #("ne", "नेपाली"), # Nepali - #("prs", "دری"), # Dari - #("ps", "پښتو"), # Pashto - #("tet", "Tetum"), - ("th", "ภาษาไทย"), # Thai - ("tl", "Tagalog"), # Filipino - #("vi", "Tiếng Việt"), # Vietnamese - #("zh-cn", "中文 (简体)"), ]) settings.cap.languages = languages settings.L10n.languages = languages