mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-25 22:01:16 +00:00
52bd276ca9
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. |
||
---|---|---|
.. | ||
src/main | ||
.gitignore | ||
build.gradle | ||
lint.xml |