diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | app/views/general/_locale_switcher.html.erb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore index a4ec2380e..994f9a3a1 100644 --- a/.gitignore +++ b/.gitignore @@ -23,6 +23,7 @@ bin/ config/aliases config/httpd.conf config/general*.yml +config/deploy.yml.* .sass-cache alaveteli.sublime* webrat.log diff --git a/app/views/general/_locale_switcher.html.erb b/app/views/general/_locale_switcher.html.erb index 7d64c9069..7b6377665 100644 --- a/app/views/general/_locale_switcher.html.erb +++ b/app/views/general/_locale_switcher.html.erb @@ -1,4 +1,4 @@ - <% if FastGettext.default_available_locales.any? && !params.empty? %> + <% if FastGettext.default_available_locales.length > 1 && !params.empty? %> <div id="user_locale_switcher"> <div class="btn-group"> <% FastGettext.default_available_locales.each do |possible_locale| %> |