Redo the handling of Emoji data

Use the data files from https://github.com/milesj/emojibase.git
as source for our Emoji data. Slightly change our data format by
adding a group to each item, in both the Emoji data and in the
setting for recent-emoji.

Install translated versions of the data as separate resource
bundles in $prefix/gtk-4.0/emoji, and load them when appropriate.

Currently, we have data for de, en, es, fr, zh, with data taken
from Unicode 13 and CLDR 13.

Fixes: #950 #1511
This commit is contained in:
Matthias Clasen
2020-10-03 22:26:56 -04:00
committed by Marco Trevisan (Treviño)
parent 100ee4ce16
commit 1a4e368c7e
17 changed files with 215 additions and 50067 deletions

View File

@ -76,7 +76,7 @@ for f in get_files('inspector', '.ui'):
xml += '''
<file>inspector/logo.png</file>
<file>emoji/emoji.data</file>
<file>emoji/en.data</file>
</gresource>
</gresources>'''