* Move assets into ElementX folder * Add first version of localizer script * Add generated strings & tests & fallback mechanism * Rename strings file to Localizable * Rename Assets to Resources * Calculate preferred languages only when needed, remove share extension check * Add comments in the localizer script * Add GH workflow to push issues to the [ElementX board](https://github.com/orgs/vector-im/projects/43) * Closes #16 - Add license file * New version of localizer script, handle pluralization * Move assets into ElementX folder * Add first version of localizer script * Add generated strings & tests & fallback mechanism * Rename strings file to Localizable * Rename Assets to Resources * Calculate preferred languages only when needed, remove share extension check * Add comments in the localizer script * New version of localizer script, handle pluralization * Revert login button text * Add multiple dialect pluralization, fix string formatting Co-authored-by: manuroe <manu@matrix.org> Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
18 lines
483 B
Markdown
18 lines
483 B
Markdown
# Scripts
|
|
|
|
## Iconizer
|
|
Generates all app icon variants from one single .pdf file.
|
|
|
|
Usage:
|
|
```
|
|
sh iconizer.sh ../ElementX/Supporting\ Files/AppIcon.pdf ../ElementX/Supporting\ Files
|
|
```
|
|
|
|
## Localizer
|
|
Generates all app localization files and imports them to the project, by downloading strings from [element-android](https://github.com/vector-im/element-android/tree/develop/vector/src/main/res) and converting them to `strings` and `stringsdict` files.
|
|
|
|
Usage:
|
|
```
|
|
./localizer.py
|
|
```
|