class CrI18n::LabelChecker
- CrI18n::LabelChecker
- Reference
- Object
Defined in:
cr-i18n/macro_runners/label_checker.crConstructors
Instance Method Summary
- #add_to_verified_root
- #check_alias_parity(prefix, root_label, other_label)
- #check_formatters
- #check_label_existence
- #check_param_parity(prefix, root_label, other_label)
- #ensure_param_consistency
- #ensure_plural_use
- #error(msg, missing = false)
- #find_params_from_label
- #is_interpolated?
- #is_plural?
- #is_really_plural?(subject)
- #label_discrepencies
- #location
- #params
- #parse_aliases_from_label(label)
- #parse_params_from_label(label)
- #partition_label_keys(keys)
- #perform_check
- #plural_from_keys(keys)
- #regex_for_target(subject : String = target)
- #resolve_target_to_existing_label_target(subject = target)
- #target : String
Constructor Detail
def self.new(labels : Labels, visited_labels : Array(String), pluralized_locales : Array(String), formatter_types : Array(String), enforce_parity : Bool, directory : String)
#