Sha256: 5daa103a0955b6f0459f3ab2f90c983c376d594530625e8077e559159858c3d9

Contents?: true

Size: 274 Bytes

Versions: 5

Compression:

Stored size: 274 Bytes

Contents

module SeleniumRecord
  # Contains helper methods for translations
  module Translations
    # @param key [String] the key to be used to lookup text translations
    # @return [String] the translation for the given key
    def trans(key)
      I18n.t(key)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
seleniumrecord-0.0.4 lib/selenium_record/translations.rb
seleniumrecord-0.0.3 lib/selenium_record/translations.rb
seleniumrecord-0.0.2.revision lib/selenium_record/translations.rb
seleniumrecord-0.0.2 lib/selenium_record/translations.rb
seleniumrecord-0.0.1.beta1 lib/selenium_record/translations.rb