Add script to import strings, and doc.

Add GitHub action to sync strings.
This commit is contained in:
Benoit Marty 2023-01-05 16:57:53 +01:00
parent 8c93aedbc1
commit 2c1a2dc444
3 changed files with 97 additions and 0 deletions

View file

@ -0,0 +1,15 @@
## Module ui-strings
This module contains strings from Element Android.
The content of this module will be keep synced by the script `rootDir/tools/strings/importStringsFromElement.sh`, which is run daily by a GitHub action.
### Adding new strings
Add new strings to the file `./src/main/res/values/new_strings.xml`, or your new strings will be erased on the next sync.
Also, new strings must be added to Element Android to give a chance to get translation.
### Long term
In the future, Weblate will be synced directly with this project.