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

@ -180,7 +180,7 @@ the file and the English strings.
To check that `strings.xml` is formatted correctly, run To check that `strings.xml` is formatted correctly, run
`python sync_translations.py`. This will modify your files. `python sync_translations.py`. This will modify your files.
Store descriptions in `metadata/` are updated automatically. Store descriptions in `fastlane/metadata/android/` are updated automatically.
Translating changelogs is not useful. Translating changelogs is not useful.
The app name might be partially translated, the "Unexpected" word should remain The app name might be partially translated, the "Unexpected" word should remain

View File

@ -20,9 +20,9 @@ This application contains no ads, doesn't make any network requests and is Open
Usage: to apply the symbols located in the corners of each key, slide your finger in the direction of the symbols. For example, the Settings are opened by sliding in the left down corner. Usage: to apply the symbols located in the corners of each key, slide your finger in the direction of the symbols. For example, the Settings are opened by sliding in the left down corner.
| <img src="/metadata/android/en-US/images/phoneScreenshots/1.png" alt="Screenshot-1" /> | <img src="/metadata/android/en-US/images/phoneScreenshots/2.png" alt="Screenshot-2"/> | <img src="/metadata/android/en-US/images/phoneScreenshots/3.png" alt="Screenshot-3"/> | | <img src="/fastlane/metadata/android/en-US/images/phoneScreenshots/1.png" alt="Screenshot-1" /> | <img src="/fastlane/metadata/android/en-US/images/phoneScreenshots/2.png" alt="Screenshot-2"/> | <img src="/fastlane/metadata/android/en-US/images/phoneScreenshots/3.png" alt="Screenshot-3"/> |
| --- | --- | --- | | --- | --- | --- |
| <img src="/metadata/android/en-US/images/phoneScreenshots/4.png" alt="Screenshot-4" /> | <img src="/metadata/android/en-US/images/phoneScreenshots/5.png" alt="Screenshot-5" /> | <img src="/metadata/android/en-US/images/phoneScreenshots/6.png" alt="Screenshot-6" /> | | <img src="/fastlane/metadata/android/en-US/images/phoneScreenshots/4.png" alt="Screenshot-4" /> | <img src="/fastlane/metadata/android/en-US/images/phoneScreenshots/5.png" alt="Screenshot-5" /> | <img src="/fastlane/metadata/android/en-US/images/phoneScreenshots/6.png" alt="Screenshot-6" /> |
## Similar apps ## Similar apps
* [Calculator++](https://github.com/Bubu/android-calculatorpp) - Calculator with a similar UX, swipe to corners for advanced math symbols and operators. Works up to Android 13 but maybe unmaintained. * [Calculator++](https://github.com/Bubu/android-calculatorpp) - Calculator with a similar UX, swipe to corners for advanced math symbols and operators. Works up to Android 13 but maybe unmaintained.

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

View File

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -6,7 +6,7 @@ import glob, os
# - Remove obsolete strings # - Remove obsolete strings
# - Sort in the same order as the baseline # - Sort in the same order as the baseline
# The baseline is 'values/strings.xml', which is english. # 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 = { VALUE_DIR_TO_METADATA = {
"cs": "cs-CZ", "cs": "cs-CZ",
@ -65,7 +65,7 @@ def sync_metadata(value_dir, strings):
locale = os.path.basename(value_dir).removeprefix("values-") locale = os.path.basename(value_dir).removeprefix("values-")
if not locale in VALUE_DIR_TO_METADATA: if not locale in VALUE_DIR_TO_METADATA:
raise Exception("Locale '%s' not known, please add it into sync_translations.py" % locale) 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): def sync_meta_file(fname, string_name):
if string_name in strings: if string_name in strings:
string = strings[string_name] string = strings[string_name]