diff options
| author | Jules Aguillon | 2024-03-16 23:37:38 +0100 |
|---|---|---|
| committer | Jules Aguillon | 2024-03-16 23:37:38 +0100 |
| commit | e74b45c2d6df4db4fb16a2902bfcd022fde5a98c (patch) | |
| tree | 0488af54b5d0cb4e965521b9c243622e3116c608 /sync_translations.py | |
| parent | 1cbaa7106cad46d35072e15109215b76a293eebd (diff) | |
| download | unexpected-keyboard-e74b45c2d6df4db4fb16a2902bfcd022fde5a98c.tar.gz unexpected-keyboard-e74b45c2d6df4db4fb16a2902bfcd022fde5a98c.zip | |
Move fastlane metadata into fastlane/metadata/android
Diffstat (limited to 'sync_translations.py')
| -rw-r--r-- | sync_translations.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sync_translations.py b/sync_translations.py index 9aa748a..07f6886 100644 --- a/sync_translations.py +++ b/sync_translations.py @@ -6,7 +6,7 @@ import glob, os # - Remove obsolete strings # - Sort in the same order as the baseline # The baseline is 'values/strings.xml', which is english. -# Sync store title and descriptions to the 'metadata/' directory. +# Sync store title and descriptions to the metadata directory. VALUE_DIR_TO_METADATA = { "cs": "cs-CZ", @@ -65,7 +65,7 @@ def sync_metadata(value_dir, strings): locale = os.path.basename(value_dir).removeprefix("values-") if not locale in VALUE_DIR_TO_METADATA: raise Exception("Locale '%s' not known, please add it into sync_translations.py" % locale) - meta_dir = "metadata/android/" + VALUE_DIR_TO_METADATA[locale] + meta_dir = "fastlane/metadata/android/" + VALUE_DIR_TO_METADATA[locale] def sync_meta_file(fname, string_name): if string_name in strings: string = strings[string_name] |
