abouttreesummaryrefslogcommitdiff
path: root/gen_layouts.py
diff options
context:
space:
mode:
authorJules Aguillon2024-12-04 23:01:39 +0100
committerJules Aguillon2024-12-04 23:01:39 +0100
commitb6a8b4a28503be33377c75bca59b3ea36bef6fa3 (patch)
tree8d6dc62c46cdec0b274ebe95752199894f1e2f6f /gen_layouts.py
parent6ea5901775644f1c2fe8a1e90356ee0247f613df (diff)
downloadunexpected-keyboard-b6a8b4a28503be33377c75bca59b3ea36bef6fa3.tar.gz
unexpected-keyboard-b6a8b4a28503be33377c75bca59b3ea36bef6fa3.zip
Update comment in res/values/layouts.xml
Diffstat (limited to 'gen_layouts.py')
-rw-r--r--gen_layouts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen_layouts.py b/gen_layouts.py
index 4b8ac59..6cae361 100644
--- a/gen_layouts.py
+++ b/gen_layouts.py
@@ -52,7 +52,7 @@ def generate_arrays(out, layouts):
values_items, entries_items = zip(*(system_item + layouts + custom_item)) # unzip
ids_items = map(lambda s: "@xml/%s" % s if s not in ["system", "custom"] else "-1", values_items)
root = XML.Element("resources")
- root.append(XML.Comment(text="DO NOT EDIT. This file is generated, see gen_layouts.py."))
+ root.append(XML.Comment(text=" DO NOT EDIT. This file is generated, run 'gradle genLayoutsList'. "))
root.append(mk_array("string-array", "pref_layout_values", values_items))
root.append(mk_array("string-array", "pref_layout_entries", entries_items))
root.append(mk_array("integer-array", "layout_ids", ids_items))