Merge pull request #419 from LorenDB/master

Use correct syntax for emoji generation script
This commit is contained in:
DeepBlueV7.X 2021-01-26 04:06:54 +01:00 committed by GitHub
commit e6dc1da22f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8494 additions and 7911 deletions

File diff suppressed because it is too large Load diff

View file

@ -17,7 +17,7 @@ const QVector<Emoji> emoji::Provider::emoji = {
{%- for c in kwargs.items() %} {%- for c in kwargs.items() %}
// {{ c[0].capitalize() }} // {{ c[0].capitalize() }}
{%- for e in c[1] %} {%- for e in c[1] %}
Emoji{QString::fromUtf8("{{ e.code }}"), "{{ e.shortname }}", emoji::EmojiCategory::{{ c[0].capitalize() }}}, Emoji{QString::fromUtf8("{{ e.code }}"), "{{ e.shortname }}", emoji::Emoji::Category::{{ c[0].capitalize() }}},
{%- endfor %} {%- endfor %}
{%- endfor %} {%- endfor %}
}; };

File diff suppressed because it is too large Load diff