1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2025-02-04 00:01:37 +00:00
syncthing-android/app/src/main/res/values
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
..
arrays.xml i18n: Indirect string-array declarations through arrays.xml (#2012) 2023-11-30 21:43:57 +01:00
attrs.xml Revert "Revert build script changes" 2017-10-24 14:55:28 +09:00
colors.xml Migration to Material Design 3 (fixes #1833, fixes #1418) (#1895) 2023-05-10 22:21:03 +02:00
dimens.xml Fix contrast of top app bar (#1916) 2023-06-13 21:32:15 +02:00
strings.xml i18n: Indirect string-array declarations through arrays.xml (#2012) 2023-11-30 21:43:57 +01:00
styles.xml Fix contrast of top app bar (#1916) 2023-06-13 21:32:15 +02:00
themes.xml Fix status bar text and icons color in light mode (fixes #1963) (#1965) 2023-08-18 21:34:07 +02:00