diff --git a/crowdin.yaml b/crowdin.yaml index 5a79284..40827d9 100644 --- a/crowdin.yaml +++ b/crowdin.yaml @@ -7,6 +7,6 @@ files: [ }, { "source": "/EFBChannels/efb-wechat-slave/readme_translations/locale/README.pot", - "translation": "/EFBChannels/efb-wechat-slave/readme_translations/locale/%locale_with_underscore%.po" + "translation": "/EFBChannels/efb-wechat-slave/readme_translations/locale/%locale_with_underscore%/LC_MESSAGES/README.po" } ] \ No newline at end of file diff --git a/dodo.py b/dodo.py index d281603..25e9330 100644 --- a/dodo.py +++ b/dodo.py @@ -44,7 +44,7 @@ def task_msgfmt(): except ValueError: pass - sources = glob.glob("./{package}/**/*.po".format(package=PACKAGE), recursive=True) + sources = glob.glob("./**/*.po", recursive=True) dests = [i[:-3] + ".mo" for i in sources] actions = [["msgfmt", sources[i], "-o", dests[i]] for i in range(len(sources))]