module Jennifer::Model::Translation::ClassMethods
Defined in:
jennifer/model/translation.crInstance Method Summary
-
#human(count = nil)
Returns localized model name.
-
#human_attribute_name(attribute : String | Symbol)
Search translation for given attribute.
-
#i18n_key
Presents key which be used to search any related to current class localization information.
-
#i18n_scope
Returns the i18n scope for the class.
-
#lookup_ancestors(&)
Yields all ancestors until
Base
.
Instance Method Detail
def i18n_key
#
Presents key which be used to search any related to current class localization information.