Sha256: 04cf00ced11bb262d063b49663e57802fa14132f12b6595d496319ac47104a2b

Contents?: true

Size: 219 Bytes

Versions: 23

Compression:

Stored size: 219 Bytes

Contents

module I18n
  module_function
  # this is not chainable, since FastGettext may reject this locale!
  def locale=(new_locale)
    FastGettext.locale = new_locale
  end
  def locale
    FastGettext.locale.to_sym
  end
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
zena-1.0.0.rc2 vendor/plugins/gettext_i18n_rails/lib/gettext_i18n_rails/i18n_hacks.rb
zena-1.0.0.rc1 vendor/plugins/gettext_i18n_rails/lib/gettext_i18n_rails/i18n_hacks.rb
zena-0.16.9 vendor/plugins/gettext_i18n_rails/lib/gettext_i18n_rails/i18n_hacks.rb
zena-1.0.0.beta3 vendor/plugins/gettext_i18n_rails/lib/gettext_i18n_rails/i18n_hacks.rb
zena-0.16.8 vendor/plugins/gettext_i18n_rails/lib/gettext_i18n_rails/i18n_hacks.rb
zena-1.0.0.beta2 vendor/plugins/gettext_i18n_rails/lib/gettext_i18n_rails/i18n_hacks.rb
zena-1.0.0.beta1 vendor/plugins/gettext_i18n_rails/lib/gettext_i18n_rails/i18n_hacks.rb
zena-0.16.7 vendor/plugins/gettext_i18n_rails/lib/gettext_i18n_rails/i18n_hacks.rb
gettext_i18n_rails-0.1.4 lib/gettext_i18n_rails/i18n_hacks.rb
gettext_i18n_rails-0.1.3 lib/gettext_i18n_rails/i18n_hacks.rb
gettext_i18n_rails-0.1.2 lib/gettext_i18n_rails/i18n_hacks.rb
gettext_i18n_rails-0.1.1 lib/gettext_i18n_rails/i18n_hacks.rb
gettext_i18n_rails-0.1.0 lib/gettext_i18n_rails/i18n_hacks.rb
zena-0.16.6 vendor/plugins/gettext_i18n_rails/lib/gettext_i18n_rails/i18n_hacks.rb
zena-0.16.5 vendor/plugins/gettext_i18n_rails/lib/gettext_i18n_rails/i18n_hacks.rb
zena-0.16.4 vendor/plugins/gettext_i18n_rails/lib/gettext_i18n_rails/i18n_hacks.rb
zena-0.16.3 vendor/plugins/gettext_i18n_rails/lib/gettext_i18n_rails/i18n_hacks.rb
zena-0.16.2 vendor/plugins/gettext_i18n_rails/lib/gettext_i18n_rails/i18n_hacks.rb
zena-0.16.1 vendor/plugins/gettext_i18n_rails/lib/gettext_i18n_rails/i18n_hacks.rb
zena-0.16.0 vendor/plugins/gettext_i18n_rails/lib/gettext_i18n_rails/i18n_hacks.rb