OpenShot Video Editor
2.0.0
|
Variables | |
all_strings = re.findall('^msgid \"(.*)\"', POT_source, re.MULTILINE) | |
app = QCoreApplication(sys.argv) | |
folder_path = os.path.join(locale_path, language_code) | |
string | formatted_locale_name = '%s/LC_MESSAGES/OpenShot' |
locale_path = os.path.dirname(os.path.abspath(__file__)) | |
POT_source = open(os.path.join(locale_path, 'OpenShot', 'OpenShot.pot')).read() | |
success = translator.load(formatted_locale_name, locale_path) | |
translated_string = app.translate("", source_string) | |
translator = QTranslator(app) | |
test_translations.all_strings = re.findall('^msgid \"(.*)\"', POT_source, re.MULTILINE) |
Definition at line 43 of file test_translations.py.
test_translations.app = QCoreApplication(sys.argv) |
Definition at line 39 of file test_translations.py.
test_translations.folder_path = os.path.join(locale_path, language_code) |
Definition at line 47 of file test_translations.py.
string test_translations.formatted_locale_name = '%s/LC_MESSAGES/OpenShot' |
Definition at line 54 of file test_translations.py.
test_translations.locale_path = os.path.dirname(os.path.abspath(__file__)) |
Definition at line 36 of file test_translations.py.
test_translations.POT_source = open(os.path.join(locale_path, 'OpenShot', 'OpenShot.pot')).read() |
Definition at line 42 of file test_translations.py.
test_translations.success = translator.load(formatted_locale_name, locale_path) |
Definition at line 55 of file test_translations.py.
test_translations.translated_string = app.translate("", source_string) |
Definition at line 61 of file test_translations.py.
test_translations.translator = QTranslator(app) |
Definition at line 50 of file test_translations.py.