tiger_lib::data

Module localization

Source
Expand description

Validate .yml localization files

Structs§

  • An iterator over the variants of Language
  • One parsed key: value line from the localization values.
  • Database of all loaded localization keys and their values, for all supported languages.

Enums§

Constants§

  • These are the languages in which it’s reasonable to present an ascii name unchanged.

Statics§

Functions§

  • get_file_lang πŸ”’
  • is_builtin_macro πŸ”’
    List of known built-in keys used between $...$ in any localization. This list is used to avoid reporting false positives.
  • is_replace_path πŸ”’
    It’s been tested that localization/replace/english and localization/english/replace both work
  • Check that the string only has capital letters at the start or after a space or hyphen
  • Return true iff langs only contains languages in which it’s reasonable to present an ascii name unchanged.