Sha256: 36c07181d9a7e882fdf43e883bdbd056a7b74efe0f27c8d0fd7f1d9f131d4f18
Contents?: true
Size: 319 Bytes
Versions: 4
Compression:
Stored size: 319 Bytes
Contents
class Symbol # Show translation for key # # == Usage # # I18n.locale = :pl # :key_for_translation.translate # => Jakis tlumaczony tekst def translate(options={}) I18n.gettext(self, options) end # Shortcuts for #translate alias_method :gettext, :translate alias_method :t, :translate end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
kriss-gettext_i18n-0.2.0 | lib/ruby/symbol.rb |
kriss-gettext_i18n-0.2.1 | lib/ruby/symbol.rb |
kriss-gettext_i18n-0.2.2 | lib/ruby/symbol.rb |
kriss-gettext_i18n-0.2.3 | lib/ruby/symbol.rb |