class CrI18n::Labels

Defined in:

cr-i18n/localization.cr
cr-i18n/macro_runners/label_checker.cr

Instance Method Summary

Instance Method Detail

def add_language(labels : Hash(String, String), language : String) #

[View source]
def add_locale(labels : Hash(String, String), language : String, locale : String) #

[View source]
def add_root(labels : Hash(String, String)) #

[View source]
def current_locale #

[View source]
def freeze #

[View source]
def get_label(target : String = "", locale : String = "", *, count : Float | Int | Nil = nil, **splat) #

[View source]
def language_labels : Hash(String, Hash(String, String)) #

Make these gettable here


[View source]
def locale_labels : Hash(String, Hash(String, Hash(String, String))) #

Make these gettable here


[View source]
def missed : Set(String) #

[View source]
def plural_labels #

Make these gettable here


[View source]
def resolve_to_root : Bool #

[View source]
def resolve_to_root=(resolve_to_root : Bool) #

[View source]
def root_labels : Hash(String, String) #

Make these gettable here


[View source]
def root_locale : String #

[View source]
def root_locale=(root_locale : String) #

[View source]
def running_tests : Bool #

[View source]
def running_tests=(running_tests : Bool) #

[View source]
def supported_locales : Array(String) #

[View source]
def with_locale(lang_locale : String, &) #

[View source]