class CrI18n::Labels
- CrI18n::Labels
- Reference
- Object
Defined in:
cr-i18n/localization.crcr-i18n/macro_runners/label_checker.cr
Instance Method Summary
- #add_language(labels : Hash(String, String), language : String)
- #add_locale(labels : Hash(String, String), language : String, locale : String)
- #add_root(labels : Hash(String, String))
- #current_locale
- #freeze
- #get_label(target : String = "", locale : String = "", *, count : Float | Int | Nil = nil, **splat)
-
#language_labels : Hash(String, Hash(String, String))
Make these gettable here
-
#locale_labels : Hash(String, Hash(String, Hash(String, String)))
Make these gettable here
- #missed : Set(String)
-
#plural_labels
Make these gettable here
- #resolve_to_root : Bool
- #resolve_to_root=(resolve_to_root : Bool)
-
#root_labels : Hash(String, String)
Make these gettable here
- #root_locale : String
- #root_locale=(root_locale : String)
- #running_tests : Bool
- #running_tests=(running_tests : Bool)
- #supported_locales : Array(String)
- #with_locale(lang_locale : String, &)
Instance Method Detail
def get_label(target : String = "", locale : String = "", *, count : Float | Int | Nil = nil, **splat)
#