diff options
author | 2017-08-16 00:39:17 +0000 | |
---|---|---|
committer | 2017-08-16 00:39:17 +0000 | |
commit | c82a5fe7e0d6347b317505b2dd49d8b1d3fa8163 (patch) | |
tree | c93a65446e11ad36df938fcdaf808c7fa9942739 /templates/ui | |
parent | 4d20d1099d6cbe58a4f325c6ee52868cdcf0ed96 (diff) | |
parent | b59d7e7725866f8bc3018e5be130ce4a194509c6 (diff) |
Merge "Replace enabled languages with excluded languages in UI"
Diffstat (limited to 'templates/ui')
-rw-r--r-- | templates/ui/tripleo_ui_config.js.erb | 10 |
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'] |