Use correct syntax for emoji generation script

This commit is contained in:
Loren Burkholder 2021-01-25 21:58:17 -05:00
parent a5cd283423
commit 61cc4cc37d
2 changed files with 3884 additions and 3734 deletions

View file

@ -17,7 +17,7 @@ const QVector<Emoji> emoji::Provider::emoji = {
{%- for c in kwargs.items() %}
// {{ c[0].capitalize() }}
{%- 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 %}
};

File diff suppressed because it is too large Load diff