Module: Tennpipes::Helpers::TranslationHelpers
- Defined in:
- lib/tennpipes-helper/translation_helpers.rb
Overview
Helpers related to locale i18n translation within templates.
Instance Method Summary collapse
-
#localize(*args) ⇒ String
(also: #l)
Delegates to I18n.localize with no additional functionality.
-
#translate(*args) ⇒ String
(also: #t)
Delegates to I18n.translate with no additional functionality.
Instance Method Details
#localize(*args) ⇒ String Also known as: l
Delegates to I18n.localize with no additional functionality.
30 31 32 |
# File 'lib/tennpipes-helper/translation_helpers.rb', line 30 def localize(*args) I18n.localize(*args) end |
#translate(*args) ⇒ String Also known as: t
Delegates to I18n.translate with no additional functionality.
16 17 18 |
# File 'lib/tennpipes-helper/translation_helpers.rb', line 16 def translate(*args) I18n.translate(*args) end |