mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
data: Update cldr2json script to new format
We want to extend the data model with additional keys, actions, and properties. We need keys to be a map instead of a plain array of strings. Adapt the script to dump data in this new format, so it generates a decent base to manually complete the work. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2278>
This commit is contained in:
parent
32aa67c4dc
commit
86457c3bb3
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ def parse_rows(keymap):
|
|||
reverse=True):
|
||||
row = []
|
||||
for key in sorted(v, key=lambda x: x):
|
||||
row.append(key[1])
|
||||
row.append({ 'strings': key[1] })
|
||||
rows.append(row)
|
||||
|
||||
return rows
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue