Remove Sambro demo data, adjust language selection, fixes #21

This commit is contained in:
Disassembler 2017-09-25 13:29:12 +02:00
parent 2789ff1cea
commit 9d987ec90f
2 changed files with 2 additions and 17 deletions

View File

@ -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(

View File

@ -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