aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorHonza Pokorny <honza@redhat.com>2017-06-12 14:29:38 -0300
committerAlex Schultz <aschultz@redhat.com>2017-07-27 19:00:04 +0000
commitb59d7e7725866f8bc3018e5be130ce4a194509c6 (patch)
tree383918e965466f1aebbcd8695d9b1f0ef94415ba /templates
parent237e613a175fd975bf6679646eaf092ff6725015 (diff)
Replace enabled languages with excluded languages in UI
Change-Id: I14d2c8d11abb1df17759e2a9d4ae6b9ccebbe30f Depends-On: Idf5a3314c19be18ca6cabbae1e94bc7cb1d1fe94
Diffstat (limited to 'templates')
-rw-r--r--templates/ui/tripleo_ui_config.js.erb10
1 files changed, 6 insertions, 4 deletions
diff --git a/templates/ui/tripleo_ui_config.js.erb b/templates/ui/tripleo_ui_config.js.erb
index cd02798..613042b 100644
--- a/templates/ui/tripleo_ui_config.js.erb
+++ b/templates/ui/tripleo_ui_config.js.erb
@@ -16,10 +16,12 @@ window.tripleOUiConfig = {
'zaqar_default_queue': '<%= @zaqar_default_queue %>',
// Languages
- // If you choose more than one language, a language switcher will appear in
- // the navigation bar.
- // Only 'en' (English) is enabled by default.
- 'languages': <%= @enabled_languages.to_json %>,
+ //
+ // By default, all available languages are enabled. Use this setting to
+ // disable certain languages.
+ //
+ 'excludedLanguages': <%= @excluded_languages.to_json %>,
+
// Logging
// 'loggers': ['console']