Sha256: aa3664a383a05cc3bc7a3ac98b8b1f1b03455c7f114e0e0221426f968bcaccbf

Contents?: true

Size: 477 Bytes

Versions: 27

Compression:

Stored size: 477 Bytes

Contents

module Padrino
  module Helpers
    module TranslationHelpers
      ##
      # Delegates to I18n.translate with no additional functionality.
      #
      def translate(*args)
        I18n.translate(*args)
      end
      alias :t :translate

      ##
      # Delegates to I18n.localize with no additional functionality.
      #
      def localize(*args)
        I18n.localize(*args)
      end
      alias :l :localize
    end # TranslationHelpers
  end # Helpers
end # Padrino

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
middleman-2.0.7 lib/middleman/vendor/padrino-helpers-0.10.0/lib/padrino-helpers/translation_helpers.rb
middleman-2.0.6 lib/middleman/vendor/padrino-helpers-0.10.0/lib/padrino-helpers/translation_helpers.rb
middleman-2.0.5 lib/middleman/vendor/padrino-helpers-0.10.0/lib/padrino-helpers/translation_helpers.rb
padrino-helpers-0.10.1 lib/padrino-helpers/translation_helpers.rb
padrino-helpers-0.10.0 lib/padrino-helpers/translation_helpers.rb
padrino-helpers-0.9.29 lib/padrino-helpers/translation_helpers.rb
padrino-helpers-0.9.28 lib/padrino-helpers/translation_helpers.rb
padrino-helpers-0.9.27 lib/padrino-helpers/translation_helpers.rb
padrino-helpers-0.9.26 lib/padrino-helpers/translation_helpers.rb
padrino-helpers-0.9.24 lib/padrino-helpers/translation_helpers.rb
padrino-helpers-0.9.25 lib/padrino-helpers/translation_helpers.rb
padrino-helpers-0.9.23 lib/padrino-helpers/translation_helpers.rb
padrino-helpers-0.9.22 lib/padrino-helpers/translation_helpers.rb
padrino-helpers-0.9.21 lib/padrino-helpers/translation_helpers.rb
padrino-helpers-0.9.20 lib/padrino-helpers/translation_helpers.rb
padrino-helpers-0.9.19 lib/padrino-helpers/translation_helpers.rb
padrino-helpers-0.9.18 lib/padrino-helpers/translation_helpers.rb
padrino-helpers-0.9.17 lib/padrino-helpers/translation_helpers.rb
padrino-helpers-0.9.16 lib/padrino-helpers/translation_helpers.rb
padrino-helpers-0.9.15 lib/padrino-helpers/translation_helpers.rb