Add a formatted version of emoji_picker_datasource.json. Not included in the APK.
This commit is contained in:
parent
bffa96ae10
commit
930675d4c9
|
@ -0,0 +1,5 @@
|
|||
# Emojis in Element Android
|
||||
|
||||
This folder contains a formatted version of emoji_picker_datasource.json, for easier comparison when doing change.
|
||||
|
||||
It is updated each time the emoji are imported, using ./tools/import_emoji.py.
|
File diff suppressed because it is too large
Load Diff
|
@ -130,4 +130,10 @@ print("Writing emoji_picker_datasource.json...")
|
|||
scripts_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
with open(os.path.join(scripts_dir, "../vector/src/main/res/raw/emoji_picker_datasource.json"), "w") as outfile:
|
||||
json.dump(emoji_picker_datasource, outfile, ensure_ascii=False, separators=(',', ':'))
|
||||
|
||||
# Also export a formatted version
|
||||
print("Writing emoji_picker_datasource_formatted.json...")
|
||||
with open(os.path.join(scripts_dir, "../tools/emojis/emoji_picker_datasource_formatted.json"), "w") as outfile:
|
||||
json.dump(emoji_picker_datasource, outfile, ensure_ascii=False, indent=4)
|
||||
|
||||
print("Done.")
|
||||
|
|
Loading…
Reference in New Issue