1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-25 22:01:16 +00:00
syncthing-android/app
André Colomb 52bd276ca9
i18n: Indirect string-array declarations through arrays.xml (#2012)
This fixes missing strings in Weblate translation, although they are
supposedly in the strings.xml files.

Introduce string-array elements matching those from the source
strings.xml, but instead pointing to a `@string` reference. The latter
is to be translated based on the assigned sub item's key.

Weblate does not handle string-arrays, but needs this indirection, see
https://docs.weblate.org/en/latest/formats/android.html

All existing translations are pulled in by migrating the `<string-array
name="..."><item>...` elements to `<string name="...">` elements
instead. This was done using an XSLT stylesheet, so can be easily
reproduced.

**IMPORTANT, MERGING ORDER:**
1. [x] The automated Weblate PR should be merged first, after committing
any outstanding translation changes on Weblate.
2. [x] Then rebase this branch, best re-applying the XSLT in case of
conflicts.
3. [ ] Then merge this PR.
2023-11-30 21:43:57 +01:00
..
src/main i18n: Indirect string-array declarations through arrays.xml (#2012) 2023-11-30 21:43:57 +01:00
.gitignore Revert "Revert build script changes" 2017-10-24 14:55:28 +09:00
build.gradle Bumped version to 1.27.0-rc.2 2023-11-28 22:37:57 +01:00
lint.xml Adjust README and other documentation for Weblate. 2023-11-08 18:54:44 +01:00