From 8ba82d2555342f6cf5e14d19c1d7bcadf46ab604 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Sun, 25 Jun 2023 15:52:24 +0200 Subject: 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. --- sync_translations.py | 1 - 1 file changed, 1 deletion(-) (limited to 'sync_translations.py') 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: -- cgit v1.2.3