From fdf86fe8435e70a490a40a6f657f7035ce2dae85 Mon Sep 17 00:00:00 2001 From: Harshcombo50548 <108095091+Harshcombo50548@users.noreply.github.com> Date: Thu, 30 Jul 2026 12:37:20 +0200 Subject: [PATCH] Add south_korea alias, korea tags for North Korea `Emoji.find_by_alias("south_korea")` returned nil, so the South Korea flag had no alias containing either word of its name: searching "south" matched south_africa, south_sudan and south_georgia_south_sandwich_islands, while "korea" matched the north_korea alias. South Korea carried "korea" as a tag, but alias lookup never sees tags and pickers that do search them rank tag hits below alias hits, so the flag was effectively reachable only by typing `kr`. Added `south_korea` as a second alias, following the existing eu/european_union shape of a short canonical name plus the full country name. North Korea had no tags at all, so it was not findable by tag search either; added korea/north there to close the same gap from the other side. The existing aliases stay in first position, so `Character#name` still returns "kr" and "north_korea" and the `:kr:` / `:north_korea:` references are unchanged. `db/dump.rb` copies existing aliases and tags verbatim when rebuilding from the Unicode data, so these additions survive regeneration. Co-Authored-By: X-DAEM0N <307583041+X-DAEM0N@users.noreply.github.com> --- db/emoji.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/db/emoji.json b/db/emoji.json index 65d4c8db..66c00b76 100644 --- a/db/emoji.json +++ b/db/emoji.json @@ -21857,6 +21857,8 @@ "north_korea" ] , "tags": [ + "korea" + , "north" ] , "unicode_version": "6.0" , "ios_version": "8.3" @@ -21867,9 +21869,11 @@ , "category": "Flags" , "aliases": [ "kr" + , "south_korea" ] , "tags": [ "korea" + , "south" ] , "unicode_version": "6.0" , "ios_version": "6.0"