scripts.verify_master_locale module

Do some basic checks of the DB to make sure translated string have references in the master JSON locale. translated strings are defined by having a “_trans” suffix.

This isn’t considered to be a comprehensive check

This is a very basic check right now. Files with missing locale strings will be listed on the bottom. Eventually will add what are missing….

Program output is suitable to use as JSON in the master locale.

scripts.verify_master_locale.iter_dialog_keys(file)[source]
scripts.verify_master_locale.load_keys(filename)[source]
scripts.verify_master_locale.test_dialog()[source]
scripts.verify_master_locale.test_translation_slugs()[source]