module documentation

Undocumented

Constant NO​_LOCALE​_DIR Undocumented
Constant STATUS​_OK Undocumented
Variable plural​_forms​_re Undocumented
Class ​Build​File 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 ​Translatable​File 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.
NO_LOCALE_DIR =

Undocumented

Value
object()
STATUS_OK: int =

Undocumented

Value
0
plural_forms_re =

Undocumented

def check_programs(*programs):

Undocumented

def normalize_eols(raw_contents):

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):
Write the potfile with the msgs contents, making sure its format is valid.