mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 00:12:25 -04:00
fix extract-po-string.py
This commit is contained in:
parent
dfa1ce6429
commit
5392bd8e28
1 changed files with 2 additions and 0 deletions
|
@ -139,6 +139,8 @@ def add_message(fname, key, translation):
|
||||||
print()
|
print()
|
||||||
input("proceed? ctrl+c to abort")
|
input("proceed? ctrl+c to abort")
|
||||||
|
|
||||||
|
i18ndir = os.path.join(os.path.dirname(ftl_filename), "..")
|
||||||
|
|
||||||
# for each language's translation
|
# for each language's translation
|
||||||
for lang, translation in to_insert:
|
for lang, translation in to_insert:
|
||||||
if lang == "en":
|
if lang == "en":
|
||||||
|
|
Loading…
Reference in a new issue