module documentation

Undocumented

Class BuildFile Represent the state of a translatable file during the build process.
Class Command No class docstring; 0/2 property, 0/14 instance variable, 0/2 class variable, 6/9 methods documented
Class TranslatableFile Undocumented
Function check_programs Undocumented
Function normalize_eols Take a block of raw text that will be passed through str.splitlines() to get universal newlines treatment.
Function write_pot_file Write the `potfile` with the `msgs` contents, making sure its format is valid.
Constant NO_LOCALE_DIR Undocumented
Constant STATUS_OK Undocumented
Variable plural_forms_re Undocumented
def check_programs(*programs): (source)

Undocumented

def normalize_eols(raw_contents): (source)

Take a block of raw text that will be passed through str.splitlines() to get universal newlines treatment. Return the resulting block of text with normalized ` ` EOL sequences ready to be written to disk using current platform's native EOLs.

def write_pot_file(potfile, msgs): (source)

Write the `potfile` with the `msgs` contents, making sure its format is valid.

NO_LOCALE_DIR = (source)

Undocumented

Value
object()
STATUS_OK: int = (source)

Undocumented

Value
0
plural_forms_re = (source)

Undocumented