Move fastlane metadata into fastlane/metadata/android

This commit is contained in:
Jules Aguillon
2024-03-16 23:37:38 +01:00
parent 1cbaa7106c
commit e74b45c2d6
85 changed files with 5 additions and 5 deletions

View File

@ -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]