Files
capod/crowdin.yaml
T
darken 520458b107 Consolidate strings.xml files from app-common to app module
- Merged all 76 locale strings.xml files from app-common to app module
- Removed app-common module dependency from app/build.gradle.kts
- Removed app-common from settings.gradle
- Fixed all BuildConfig and R class import statements
- Updated fully qualified R references from eu.darken.capod.common.R to R
- Deleted entire app-common directory and all associated files
- Added temporary fallback for missing GITSHA BuildConfig field

The project now has a simplified structure with all string resources
consolidated in the app module, eliminating the unnecessary app-common
module while maintaining full functionality.

Builds successfully for both FOSS and Google Play variants.
2025-09-29 13:36:46 +02:00

198 lines
5.0 KiB
YAML

"api_token_env": "CROWDIN_PERSONAL_TOKEN"
"project_id": "495673"
"preserve_hierarchy": true
"files": [
{
"source": "/app/src/main/res/values/strings.xml",
"dest": "/strings-app.xml",
"translation": "/app/src/main/res/values-%android_code%/strings.xml",
# "update_option" : "update_without_changes",
"languages_mapping": &stringmapping {
"android_code": {
"sc": "sc-rIT",
"sq": "sq-rAL",
"ar": "ar",
"am": "am",
"hy-AM": "hy-rAM",
"az": "az",
"be": "be",
"bn": "bn-rBD",
"bg": "bg",
"ca": "ca",
"cs": "cs",
"da": "da",
"de": "de",
"el": "el",
"es-ES": "es",
"es-AR": "es-rAR",
"es-MX": "es-rMX",
"es-VE": "es-rVE",
"et": "et-rEE",
"eu": "eu-rES",
"fa": "fa",
"fil": "fil",
"fi": "fi",
"fr": "fr",
"gl": "gl-rES",
"hr": "hr",
"hu": "hu",
"is": "is",
"id": "in",
"it": "it",
"he": "iw",
"ja": "ja",
"ka": "ka-rGE",
"km": "km-rKH",
"kn": "kn-rIN",
"ko": "ko",
"ky": "ky-rKG",
"lt": "lt",
"lv": "lv",
"lo": "lo-rLA",
"ms": "ms",
"ml-IN": "ml-rIN",
"mn": "mn-rMN",
"mr": "mr-rIN",
"my": "my-rMM",
"ne-NP": "ne-rNP",
"nl": "nl",
"no": "nb",
"pl": "pl",
"pt-PT": "pt",
"pt-BR": "pt-rBR",
"ro": "ro",
"ru": "ru",
"rm-CH": "rm",
"si-LK": "si-rLK",
"sk": "sk",
"sl": "sl",
"sr": "sr",
"sv-SE": "sv",
"sw": "sw",
"th": "th",
"ta": "ta-rIN",
"te": "te-rIN",
"tr": "tr",
"uk": "uk",
"ur-IN": "ur-rIN",
"uz": "uz",
"vi": "vi",
"zh-CN": "zh-rCN",
"zh-HK": "zh-rHK",
"zh-TW": "zh-rTW",
"zu": "zu"
}
}
}, {
"source": "/app/src/gplay/res/values/strings.xml",
"dest": "/strings-app-gplay.xml",
"translation": "/app/src/gplay/res/values-%android_code%/strings.xml",
# "update_option" : "update_without_changes",
"languages_mapping": *stringmapping
}, {
"source": "/app/src/foss/res/values/strings.xml",
"dest": "/strings-app-foss.xml",
"translation": "/app/src/foss/res/values-%android_code%/strings.xml",
# "update_option" : "update_without_changes",
"languages_mapping": *stringmapping
}, {
"source": "/fastlane/metadata/android/en-US/full_description.txt",
"dest": "/description.txt",
"translation": "/fastlane/metadata/android/%locale%/full_description.txt",
# "update_option" : "update_without_changes",
"languages_mapping": &playstoremapping {
"locale": {
"sc": "sc-IT",
"sq": "sq-AL",
"af": "af",
"ar": "ar",
"am": "am",
"az": "az-AZ",
"be": "be",
"bn": "bn-BD",
"bg": "bg",
"ca": "ca",
"cs": "cs-CZ",
"da": "da-DK",
"de": "de-DE",
"el": "el-GR",
"es-ES": "es-ES",
"es-AR": "es-AR",
"es-MX": "es-419",
"es-VE": "es-VE",
"et": "et",
"eu": "eu-ES",
"fa": "fa",
"fil": "fil",
"fi": "fi-FI",
"fr": "fr-FR",
"fr-CA": "fr-CA",
"gl": "gl-ES",
"hr": "hr",
"hu": "hu-HU",
"hy-AM": "hy-AM",
"is": "is-IS",
"id": "id",
"it": "it-IT",
"he": "iw-IL",
"hi": "hi-IN",
"ja": "ja-JP",
"ka": "ka-GE",
"km": "km-KH",
"kn": "kn-IN",
"ko": "ko-KR",
"ky": "ky-KG",
"lt": "lt",
"lv": "lv",
"lo": "lo-LA",
"mk": "mk-MK",
"ms": "ms",
"ml-IN": "ml-IN",
"mn": "mn-MN",
"mr": "mr-IN",
"my": "my-MM",
"ne-NP": "ne-NP",
"nl": "nl-NL",
"no": "nb",
"pl": "pl-PL",
"pt-PT": "pt-PT",
"pt-BR": "pt-BR",
"ro": "ro",
"ru": "ru-RU",
"rm-CH": "rm",
"si-LK": "si-LK",
"sk": "sk",
"sl": "sl",
"sr": "sr",
"sv-SE": "sv-SE",
"sw": "sw",
"th": "th",
"ta": "ta-IN",
"te": "te-IN",
"tr": "tr-TR",
"uk": "uk",
"ur-IN": "ur-IN",
"uz": "uz",
"vi": "vi",
"zh-CN": "zh-CN",
"zh-HK": "zh-HK",
"zh-TW": "zh-TW",
"zu": "zu"
}
}
}, {
"source": "/fastlane/metadata/android/en-US/title.txt",
"dest": "/title.txt",
"translation": "/fastlane/metadata/android/%locale%/title.txt",
# "update_option" : "update_without_changes",
"languages_mapping": *playstoremapping
}, {
"source": "/fastlane/metadata/android/en-US/short_description.txt",
"dest": "/short_description.txt",
"translation": "/fastlane/metadata/android/%locale%/short_description.txt",
# "update_option" : "update_without_changes",
"languages_mapping": *playstoremapping
}
]