Method: I18n::Inflector::InflectionOptions#aliased_patterns
- Defined in:
- lib/i18n-inflector/options.rb
#aliased_patterns ⇒ Boolean
Note:
Local option :inflector_aliased_patterns
passed to the Backend::Inflector#translate overrides this setting.
This is a switch that enables you to use aliases in patterns. When it’s enabled then aliases may be used in inflection patterns, not only true tokens. This operation may make your translation data a bit messy if you’re not alert. That’s why this switch is by default set to false
.
106 107 108 |
# File 'lib/i18n-inflector/options.rb', line 106 def aliased_patterns @aliased_patterns end |