From d2f4e51a32b56cb73c7f850adefaef882ce14da5 Mon Sep 17 00:00:00 2001 From: Akita Noek Date: Mon, 18 Nov 2024 10:48:58 -0700 Subject: [PATCH] Add Ireland provinces and Galacia to countries --- src/global_styl/flags16.styl | 8 +++++++- src/global_styl/flags32.styl | 8 +++++++- src/lib/translate.ts | 6 ++++++ 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/global_styl/flags16.styl b/src/global_styl/flags16.styl index 56b36793bb..72a3175cf7 100644 --- a/src/global_styl/flags16.styl +++ b/src/global_styl/flags16.styl @@ -15,7 +15,7 @@ * along with this program. If not, see . */ -.f16 .flag{display:inline-block;height:16px;width:16px;vertical-align:text-top;line-height:16px;background:url("https://cdn.online-go.com/assets/flags16.2022-10-27.png") no-repeat;} +.f16 .flag{display:inline-block;height:16px;width:16px;vertical-align:text-top;line-height:16px;background:url("https://cdn.online-go.com/assets/flags16.2024-11-18.png") no-repeat;} .f16 ._African_Union{background-position:0 -16px;} .f16 ._Arab_League{background-position:0 -32px;} .f16 ._ASEAN{background-position:0 -48px;} @@ -324,3 +324,9 @@ .f16 ._Lord_Howe_Island{background-position:0 -4800px;} .f16 ._cat{background-position:0 -4816px;} .f16 ._LGBT{background-position:0 -4832px;} +.f16 ._Ulster{background-position:0 -4880px;} +.f16 ._Leinster{background-position:0 -4896px;} +.f16 ._Munster{background-position:0 -4912px;} +.f16 ._Connacht{background-position:0 -4928px;} +.f16 ._Ireland_Provinces{background-position:0 -4944px;} +.f16 ._Galicia{background-position:0 -4960px;} diff --git a/src/global_styl/flags32.styl b/src/global_styl/flags32.styl index c5b59be758..ed04018970 100644 --- a/src/global_styl/flags32.styl +++ b/src/global_styl/flags32.styl @@ -15,7 +15,7 @@ * along with this program. If not, see . */ -.f32 .flag{display:inline-block;height:32px;width:32px;vertical-align:text-top;line-height:32px;background:url("https://cdn.online-go.com/assets/flags32.2022-10-27.png") no-repeat;} +.f32 .flag{display:inline-block;height:32px;width:32px;vertical-align:text-top;line-height:32px;background:url("https://cdn.online-go.com/assets/flags32.2024-11-18.png") no-repeat;} .f32 ._African_Union{background-position:0 -32px;} .f32 ._Arab_League{background-position:0 -64px;} .f32 ._ASEAN{background-position:0 -96px;} @@ -325,3 +325,9 @@ .f32 ._Lord_Howe_Island{background-position:0 -9600px;} .f32 ._cat{background-position:0 -9632px;} .f32 ._LGBT{background-position:0 -9664px;} +.f32 ._Ulster{background-position:0 -9760px;} +.f32 ._Leinster{background-position:0 -9792px;} +.f32 ._Munster{background-position:0 -9824px;} +.f32 ._Connacht{background-position:0 -9856px;} +.f32 ._Ireland_Provinces{background-position:0 -9888px;} +.f32 ._Galicia{background-position:0 -9920px;} diff --git a/src/lib/translate.ts b/src/lib/translate.ts index c699d793a5..27933a1661 100644 --- a/src/lib/translate.ts +++ b/src/lib/translate.ts @@ -365,6 +365,12 @@ fantasy_countries.push(["_GoT_Targaryen", gettext("House Targaryen")]); fantasy_countries.push(["_GoT_Tully", gettext("House Tully")]); fantasy_countries.push(["_GoT_Tyrell", gettext("House Tyrell")]); fantasy_countries.push(["_LGBT", gettext("LGBT+ Pride")]); +fantasy_countries.push(["_Ulster", gettext("Ulster")]); +fantasy_countries.push(["_Leinster", gettext("Leinster")]); +fantasy_countries.push(["_Munster", gettext("Munster")]); +fantasy_countries.push(["_Connacht", gettext("Connacht")]); +fantasy_countries.push(["_Ireland_Provinces", gettext("Ireland Provinces")]); +fantasy_countries.push(["_Galicia", gettext("Galicia")]); try { for (const e of fantasy_countries) {