From e74b45c2d6df4db4fb16a2902bfcd022fde5a98c Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Sat, 16 Mar 2024 23:37:38 +0100 Subject: Move fastlane metadata into fastlane/metadata/android --- sync_translations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sync_translations.py') 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] -- cgit v1.2.3