Properly regenerate emoji using regional indicators

fixes #1245
closes #1246
This commit is contained in:
Nicolas Werner 2023-01-10 05:46:14 +01:00
parent c5edd21e6b
commit 22495cd86a
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
2 changed files with 106 additions and 2 deletions

View file

@ -8,7 +8,7 @@
using namespace emoji;
const std::array<Emoji, 3655> emoji::Provider::emoji = {
const std::array<Emoji, 3681> emoji::Provider::emoji = {
// People
Emoji{QStringLiteral(u"\U0001F600"),
QStringLiteral(u"grinning"),
@ -12887,6 +12887,110 @@ const std::array<Emoji, 3655> emoji::Provider::emoji = {
QStringLiteral(u"identification card"),
emoji::Emoji::Category::Objects},
// Symbols
Emoji{QStringLiteral(u"\U0000200C\U0001F1E6\U0000200C"),
QStringLiteral(u"regional_indicator_a"),
QStringLiteral(u"regional indicator a"),
emoji::Emoji::Category::Symbols},
Emoji{QStringLiteral(u"\U0000200C\U0001F1E7\U0000200C"),
QStringLiteral(u"regional_indicator_b"),
QStringLiteral(u"regional indicator b"),
emoji::Emoji::Category::Symbols},
Emoji{QStringLiteral(u"\U0000200C\U0001F1E8\U0000200C"),
QStringLiteral(u"regional_indicator_c"),
QStringLiteral(u"regional indicator c"),
emoji::Emoji::Category::Symbols},
Emoji{QStringLiteral(u"\U0000200C\U0001F1E9\U0000200C"),
QStringLiteral(u"regional_indicator_d"),
QStringLiteral(u"regional indicator d"),
emoji::Emoji::Category::Symbols},
Emoji{QStringLiteral(u"\U0000200C\U0001F1EA\U0000200C"),
QStringLiteral(u"regional_indicator_e"),
QStringLiteral(u"regional indicator e"),
emoji::Emoji::Category::Symbols},
Emoji{QStringLiteral(u"\U0000200C\U0001F1EB\U0000200C"),
QStringLiteral(u"regional_indicator_f"),
QStringLiteral(u"regional indicator f"),
emoji::Emoji::Category::Symbols},
Emoji{QStringLiteral(u"\U0000200C\U0001F1EC\U0000200C"),
QStringLiteral(u"regional_indicator_g"),
QStringLiteral(u"regional indicator g"),
emoji::Emoji::Category::Symbols},
Emoji{QStringLiteral(u"\U0000200C\U0001F1ED\U0000200C"),
QStringLiteral(u"regional_indicator_h"),
QStringLiteral(u"regional indicator h"),
emoji::Emoji::Category::Symbols},
Emoji{QStringLiteral(u"\U0000200C\U0001F1EE\U0000200C"),
QStringLiteral(u"regional_indicator_i"),
QStringLiteral(u"regional indicator i"),
emoji::Emoji::Category::Symbols},
Emoji{QStringLiteral(u"\U0000200C\U0001F1EF\U0000200C"),
QStringLiteral(u"regional_indicator_j"),
QStringLiteral(u"regional indicator j"),
emoji::Emoji::Category::Symbols},
Emoji{QStringLiteral(u"\U0000200C\U0001F1F0\U0000200C"),
QStringLiteral(u"regional_indicator_k"),
QStringLiteral(u"regional indicator k"),
emoji::Emoji::Category::Symbols},
Emoji{QStringLiteral(u"\U0000200C\U0001F1F1\U0000200C"),
QStringLiteral(u"regional_indicator_l"),
QStringLiteral(u"regional indicator l"),
emoji::Emoji::Category::Symbols},
Emoji{QStringLiteral(u"\U0000200C\U0001F1F2\U0000200C"),
QStringLiteral(u"regional_indicator_m"),
QStringLiteral(u"regional indicator m"),
emoji::Emoji::Category::Symbols},
Emoji{QStringLiteral(u"\U0000200C\U0001F1F3\U0000200C"),
QStringLiteral(u"regional_indicator_n"),
QStringLiteral(u"regional indicator n"),
emoji::Emoji::Category::Symbols},
Emoji{QStringLiteral(u"\U0000200C\U0001F1F4\U0000200C"),
QStringLiteral(u"regional_indicator_o"),
QStringLiteral(u"regional indicator o"),
emoji::Emoji::Category::Symbols},
Emoji{QStringLiteral(u"\U0000200C\U0001F1F5\U0000200C"),
QStringLiteral(u"regional_indicator_p"),
QStringLiteral(u"regional indicator p"),
emoji::Emoji::Category::Symbols},
Emoji{QStringLiteral(u"\U0000200C\U0001F1F6\U0000200C"),
QStringLiteral(u"regional_indicator_q"),
QStringLiteral(u"regional indicator q"),
emoji::Emoji::Category::Symbols},
Emoji{QStringLiteral(u"\U0000200C\U0001F1F7\U0000200C"),
QStringLiteral(u"regional_indicator_r"),
QStringLiteral(u"regional indicator r"),
emoji::Emoji::Category::Symbols},
Emoji{QStringLiteral(u"\U0000200C\U0001F1F8\U0000200C"),
QStringLiteral(u"regional_indicator_s"),
QStringLiteral(u"regional indicator s"),
emoji::Emoji::Category::Symbols},
Emoji{QStringLiteral(u"\U0000200C\U0001F1F9\U0000200C"),
QStringLiteral(u"regional_indicator_t"),
QStringLiteral(u"regional indicator t"),
emoji::Emoji::Category::Symbols},
Emoji{QStringLiteral(u"\U0000200C\U0001F1FA\U0000200C"),
QStringLiteral(u"regional_indicator_u"),
QStringLiteral(u"regional indicator u"),
emoji::Emoji::Category::Symbols},
Emoji{QStringLiteral(u"\U0000200C\U0001F1FB\U0000200C"),
QStringLiteral(u"regional_indicator_v"),
QStringLiteral(u"regional indicator v"),
emoji::Emoji::Category::Symbols},
Emoji{QStringLiteral(u"\U0000200C\U0001F1FC\U0000200C"),
QStringLiteral(u"regional_indicator_w"),
QStringLiteral(u"regional indicator w"),
emoji::Emoji::Category::Symbols},
Emoji{QStringLiteral(u"\U0000200C\U0001F1FD\U0000200C"),
QStringLiteral(u"regional_indicator_x"),
QStringLiteral(u"regional indicator x"),
emoji::Emoji::Category::Symbols},
Emoji{QStringLiteral(u"\U0000200C\U0001F1FE\U0000200C"),
QStringLiteral(u"regional_indicator_y"),
QStringLiteral(u"regional indicator y"),
emoji::Emoji::Category::Symbols},
Emoji{QStringLiteral(u"\U0000200C\U0001F1FF\U0000200C"),
QStringLiteral(u"regional_indicator_z"),
QStringLiteral(u"regional indicator z"),
emoji::Emoji::Category::Symbols},
Emoji{QStringLiteral(u"\U0001F3E7"),
QStringLiteral(u"atm_sign"),
QStringLiteral(u"ATM sign"),

View file

@ -47,7 +47,7 @@ class Provider
{
public:
// all emoji for QML purposes
static const std::array<Emoji, 3655> emoji;
static const std::array<Emoji, 3681> emoji;
};
} // namespace emoji