mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2026-06-22 06:28:42 -04:00
* Add Fastlate app store metadata files as Crowdin translation sources * Update i18ncli.js to move and rename translations so Fastlane can use them * Update `fastlane prod` so it prompts for public release notes and cues a new release in the App Store that still requires the manual attachment of a build * Add `fastlane android upload_metadata` to upload metadata to Play Store Closes #2248 --------- Co-authored-by: Ken-ichi <kenichi.ueda@gmail.com> Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
38 lines
1.8 KiB
YAML
38 lines
1.8 KiB
YAML
project_id_env: CROWDIN_PROJECT_ID
|
|
api_token_env: CROWDIN_PERSONAL_TOKEN
|
|
preserve_hierarchy: true
|
|
|
|
files:
|
|
- source: /src/i18n/strings.ftl
|
|
dest: /ReactNative/strings.ftl
|
|
# Note: this uses the Crowdin locale which always has a region. We need to
|
|
# mess with this later in i18ncli
|
|
translation: /src/i18n/l10n/%locale%.ftl
|
|
type: ftl
|
|
- source: /ios/InfoPlist.xcstrings
|
|
dest: /ReactNative/InfoPlist.xcstrings
|
|
translation: /ios/InfoPlist.xcstrings
|
|
multilingual: true
|
|
# Strings for AppStore description etc
|
|
# Note: this uses the Crowdin osx-locale with some custom mapping in metadata/i18ncli.js
|
|
- source: /fastlane/metadata/ios/default/description.txt
|
|
dest: /ReactNative/metadata/ios/description.txt
|
|
translation: /fastlane/metadata/ios/%osx_locale%/description.txt
|
|
- source: /fastlane/metadata/ios/default/keywords.txt
|
|
dest: /ReactNative/metadata/ios/keywords.txt
|
|
translation: /fastlane/metadata/ios/%osx_locale%/keywords.txt
|
|
- source: /fastlane/metadata/ios/default/promotional_text.txt
|
|
dest: /ReactNative/metadata/ios/promotional_text.txt
|
|
translation: /fastlane/metadata/ios/%osx_locale%/promotional_text.txt
|
|
- source: /fastlane/metadata/ios/default/subtitle.txt
|
|
dest: /ReactNative/metadata/ios/subtitle.txt
|
|
translation: /fastlane/metadata/ios/%osx_locale%/subtitle.txt
|
|
# Strings for PlayStore description etc
|
|
# Note: this uses the Crowdin locale with some custom mapping in metadata/i18ncli.js
|
|
- source: /fastlane/metadata/android/en-US/full_description.txt
|
|
dest: /ReactNative/metadata/android/full_description.txt
|
|
translation: /fastlane/metadata/android/%locale%/full_description.txt
|
|
- source: /fastlane/metadata/android/en-US/short_description.txt
|
|
dest: /ReactNative/metadata/android/short_description.txt
|
|
translation: /fastlane/metadata/android/%locale%/short_description.txt
|