diff options
| author | Jules Aguillon | 2023-06-25 15:52:24 +0200 |
|---|---|---|
| committer | Jules Aguillon | 2023-06-25 15:52:24 +0200 |
| commit | 8ba82d2555342f6cf5e14d19c1d7bcadf46ab604 (patch) | |
| tree | 71495d1ab9cacbeffe8f8cf6abc069765ba2a54d /sync_translations.py | |
| parent | f36864533c33f8f1986db150987e354c59c7482b (diff) | |
| download | unexpected-keyboard-8ba82d2555342f6cf5e14d19c1d7bcadf46ab604.tar.gz unexpected-keyboard-8ba82d2555342f6cf5e14d19c1d7bcadf46ab604.zip | |
Generate layouts arrays used in settings
`gen_layouts.py` lists the layouts in `res/xml` and generate the
`pref_layout_values` and `pref_layout_entries` arrays into
`res/values/layouts.xml`.
These arrays are hard to maintain as the order has to match, which is
fragile.
This relies on every layouts having a `name` attribute.
Diffstat (limited to 'sync_translations.py')
| -rw-r--r-- | sync_translations.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sync_translations.py b/sync_translations.py index 97c0ecc..afc7237 100644 --- a/sync_translations.py +++ b/sync_translations.py @@ -1,5 +1,4 @@ import xml.etree.ElementTree as ET -from xml.sax import saxutils import glob # Edit every strings.xml files: |
