科特迪瓦国旗表情符号无法呈现

:côte_d_ivoire:
:cote_divoire:
:côte_d_ivoire:
:cote_d_ivoire:


🇨🇮
:cote_divoire:
:côte_d_ivoire:
:cote_d_ivoire:

@j.jaffeux 看起来在 d38acc5df120e6f3a89d04cf746d2fe03534be29 之后出现了这个问题,似乎 emoji gem 中的变音符号存在不一致?

dist/emoji_to_name.json:
  "🇨🇮":": "cote_d_ivoire",

dist/groups.json:
      {
        "name": "cote_d_ivoire",
        "tonable": false
      },

dist/aliases.json:
  "cote_d_ivoire": [
    "cote_divoire"
  ],

dist/emojis.json:
  {
    "name": "côte_d_ivoire",
    "code": "1f1e8-1f1ee"
  },

lib/discourse_emojis/constants.rb:
   "cote_d_ivoire" => ["cote_divoire"],

我们应该添加一个别名 côte_d_ivoirecote_d_ivoire 吗?
(或者带有 ô 的版本应该是主要的?我不知道哪个是“正确”的主要名称)

或者我们根本没有正确处理 emoji 中的变音符号

:tonga:: :tonga:
:türkiye:: :türkiye:
:trinidad_tobago:: :trinidad_tobago:

🇹🇴: :tonga:
🇹🇷: :türkiye:
🇹🇹: :trinidad_tobago:

5 个赞