[Git][noosfero/noosfero][master] Revert "Issue #63 Language selection bug"
Bráulio Bhavamitra
gitlab at gitlab.com
Thu Jun 18 14:04:22 BRT 2015
Bráulio Bhavamitra pushed to branch master at Noosfero / noosfero
Commits:
0475e746 by Braulio Bhavamitra at 2015-06-18T14:01:22Z
Revert "Issue #63 Language selection bug"
This reverts commit 190a130ea45fb5911016be68cfb1038f762ea313.
- - - - -
1 changed file:
- app/helpers/language_helper.rb
Changes:
=====================================
app/helpers/language_helper.rb
=====================================
--- a/app/helpers/language_helper.rb
+++ b/app/helpers/language_helper.rb
@@ -16,7 +16,7 @@ module LanguageHelper
def language_chooser(environment=nil, options = {})
locales = environment.nil? ? Noosfero.locales : environment.locales
return if locales.size < 2
- current = FastGettext.locale
+ current = language
separator = options[:separator] || ' — '
if options[:element] == 'dropdown'
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/0475e7468f9727ba719f94a3962b7ec55ea8acae
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150618/6d180c9d/attachment.html>
More information about the Noosfero-dev
mailing list