From 4c950952e3117dfd4b9a767798874e3862e6777a Mon Sep 17 00:00:00 2001 From: RickD004 Date: Sun, 12 Apr 2026 14:41:11 -0600 Subject: [PATCH] Add flags for the Arctic map (#3610) ## Description: Adds flags of all canadian provinces and territories (except quebec which was already in), and the flags of the Soviet Republics, Tannu tuva and the Far Eastern Republic. These are flags for nations of the Arctic map, a different PR will be made so that the nations in the map use these flags if added. Also makes flags usable. ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: tri.star1011 --- CREDITS.md | 5 + resources/countries.json | 150 ++++++++++++++++++++ resources/flags/Armenian SSR.svg | 3 + resources/flags/Azerbaijan SSR.svg | 3 + resources/flags/Chaldea.svg | 10 ++ resources/flags/Estonian SSR.svg | 3 + resources/flags/Karelo-Finnish SSR.svg | 3 + resources/flags/Kirghiz SSR.svg | 3 + resources/flags/Latvian SSR.svg | 3 + resources/flags/Lithuanian SSR.svg | 3 + resources/flags/Moldavian SSR.svg | 3 + resources/flags/Nunavut.svg | 2 +- resources/flags/Ukrainian SSR.svg | 2 +- resources/flags/Uzbek SSR.svg | 3 + resources/flags/Yukon.svg | 2 +- resources/flags/alberta.svg | 3 + resources/flags/britishcolumbia.svg | 3 + resources/flags/fareasternrepublic.svg | 3 + resources/flags/manitoba.svg | 3 + resources/flags/newbrunswick.svg | 3 + resources/flags/newfoundlandandlabrador.svg | 3 + resources/flags/northwestterritories.svg | 3 + resources/flags/novascotia.svg | 3 + resources/flags/ontario.svg | 3 + resources/flags/princeedwardisland.svg | 3 + resources/flags/saskatchewan.svg | 3 + resources/flags/tajikssr.svg | 3 + resources/flags/tannutuva.svg | 3 + 28 files changed, 234 insertions(+), 3 deletions(-) create mode 100644 resources/flags/Armenian SSR.svg create mode 100644 resources/flags/Azerbaijan SSR.svg create mode 100644 resources/flags/Chaldea.svg create mode 100644 resources/flags/Estonian SSR.svg create mode 100644 resources/flags/Karelo-Finnish SSR.svg create mode 100644 resources/flags/Kirghiz SSR.svg create mode 100644 resources/flags/Latvian SSR.svg create mode 100644 resources/flags/Lithuanian SSR.svg create mode 100644 resources/flags/Moldavian SSR.svg create mode 100644 resources/flags/Uzbek SSR.svg create mode 100644 resources/flags/alberta.svg create mode 100644 resources/flags/britishcolumbia.svg create mode 100644 resources/flags/fareasternrepublic.svg create mode 100644 resources/flags/manitoba.svg create mode 100644 resources/flags/newbrunswick.svg create mode 100644 resources/flags/newfoundlandandlabrador.svg create mode 100644 resources/flags/northwestterritories.svg create mode 100644 resources/flags/novascotia.svg create mode 100644 resources/flags/ontario.svg create mode 100644 resources/flags/princeedwardisland.svg create mode 100644 resources/flags/saskatchewan.svg create mode 100644 resources/flags/tajikssr.svg create mode 100644 resources/flags/tannutuva.svg diff --git a/CREDITS.md b/CREDITS.md index ac87c6132..26ababb51 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -88,3 +88,8 @@ Noah Petro (NASA/GSFC) ORCID logo. Stats icon by [Meko](https://thenounproject.com/mekoda/) – https://thenounproject.com/icon/stats-4942475/ Pay Per Click icon by [Fauzan Adiima](https://thenounproject.com/creator/fauzan94/) – https://thenounproject.com/icon/pay-per-click-2586454/ Medal icon by [Snow](https://thenounproject.com/snowdoll/) – https://thenounproject.com/icon/medal-4567887/ + +### Flags + +[Wikimedia Commons](https://commons.wikimedia.org/wiki/Flag) +Licensed under [CC BY-SA 3.0 DE](https://creativecommons.org/licenses/by-sa/3.0/de/deed.en) diff --git a/resources/countries.json b/resources/countries.json index a118cd52f..58c35e086 100644 --- a/resources/countries.json +++ b/resources/countries.json @@ -63,6 +63,11 @@ "continent": "North America", "name": "Alaska" }, + { + "code": "alberta", + "continent": "North America", + "name": "Alberta" + }, { "code": "dz", "continent": "Africa", @@ -88,6 +93,11 @@ "continent": "Asia", "name": "Armenia" }, + { + "code": "Armenian SSR", + "continent": "Asia", + "name": "Armenian SSR" + }, { "code": "Anarchist flag", "name": "Anarchist Flag" @@ -191,6 +201,11 @@ "continent": "Asia", "name": "Azerbaijan" }, + { + "code": "Azerbaijan SSR", + "continent": "Asia", + "name": "Azerbaijan SSR" + }, { "code": "Aztec Empire", "continent": "North America", @@ -294,6 +309,11 @@ "continent": "South America", "name": "Brazil" }, + { + "code": "britishcolumbia", + "continent": "North America", + "name": "British Columbia" + }, { "code": "io", "continent": "Asia", @@ -339,6 +359,11 @@ "continent": "Africa", "name": "Burundi" }, + { + "code": "Byelorussian SSR", + "continent": "Europe", + "name": "Byelorussian SSR" + }, { "code": "Byzantine Empire", "continent": "Europe", @@ -418,6 +443,11 @@ "continent": "Africa", "name": "Chad" }, + { + "code": "Chaldea", + "continent": "Asia", + "name": "Chaldea" + }, { "code": "cl", "continent": "South America", @@ -676,6 +706,11 @@ "continent": "Europe", "name": "Estonia" }, + { + "code": "Estonian SSR", + "continent": "Europe", + "name": "Estonian SSR" + }, { "code": "sz", "continent": "Africa", @@ -696,6 +731,11 @@ "continent": "South America", "name": "Falkland Islands" }, + { + "code": "fareasternrepublic", + "continent": "Asia", + "name": "Far Eastern Republic" + }, { "code": "fo", "continent": "Europe", @@ -805,6 +845,11 @@ "continent": "North America", "name": "Georgia (US State)" }, + { + "code": "Georgian SSR", + "continent": "Asia", + "name": "Georgian SSR" + }, { "code": "German Empire", "continent": "Europe", @@ -1035,6 +1080,16 @@ "continent": "North America", "name": "Kansas" }, + { + "code": "Karelo-Finnish SSR", + "continent": "Europe", + "name": "Karelo-Finnish SSR" + }, + { + "code": "Kazakh SSR", + "continent": "Asia", + "name": "Kazakh SSR" + }, { "code": "kz", "continent": "Asia", @@ -1085,6 +1140,11 @@ "continent": "Asia", "name": "Kingdom of Judah" }, + { + "code": "Kirghiz SSR", + "continent": "Asia", + "name": "Kirghiz SSR" + }, { "code": "ki", "continent": "Oceania", @@ -1134,6 +1194,11 @@ "continent": "Europe", "name": "Latvia" }, + { + "code": "Latvian SSR", + "continent": "Europe", + "name": "Latvian SSR" + }, { "code": "League of Nations", "name": "League of Nations" @@ -1191,6 +1256,11 @@ "continent": "Europe", "name": "Lithuania" }, + { + "code": "Lithuanian SSR", + "continent": "Europe", + "name": "Lithuanian SSR" + }, { "code": "Louisiana", "continent": "North America", @@ -1216,6 +1286,11 @@ "continent": "Europe", "name": "Macedonia" }, + { + "code": "manitoba", + "continent": "North America", + "name": "Manitoba" + }, { "code": "mo", "continent": "Asia", @@ -1336,6 +1411,11 @@ "continent": "North America", "name": "Missouri" }, + { + "code": "Moldavian SSR", + "continent": "Europe", + "name": "Moldavian SSR" + }, { "code": "md", "continent": "Europe", @@ -1429,11 +1509,21 @@ "continent": "North America", "name": "Nevada" }, + { + "code": "newbrunswick", + "continent": "North America", + "name": "New Brunswick" + }, { "code": "nc", "continent": "Oceania", "name": "New Caledonia" }, + { + "code": "newfoundlandandlabrador", + "continent": "North America", + "name": "Newfoundland and Labrador" + }, { "code": "New_Hampshire", "continent": "North America", @@ -1534,11 +1624,26 @@ "continent": "Europe", "name": "Northumbria" }, + { + "code": "northwestterritories", + "continent": "North America", + "name": "Northwest Territories" + }, { "code": "no", "continent": "Europe", "name": "Norway" }, + { + "code": "novascotia", + "continent": "North America", + "name": "Nova Scotia" + }, + { + "code": "nunavut", + "continent": "North America", + "name": "Nunavut" + }, { "code": "1_Occitania", "continent": "Europe", @@ -1559,6 +1664,11 @@ "continent": "Asia", "name": "Oman" }, + { + "code": "ontario", + "continent": "North America", + "name": "Ontario" + }, { "code": "Oregon", "continent": "North America", @@ -1663,6 +1773,11 @@ "continent": "Europe", "name": "Powys" }, + { + "code": "princeedwardisland", + "continent": "North America", + "name": "Prince Edward Island" + }, { "code": "provence", "continent": "Europe", @@ -1757,6 +1872,11 @@ "continent": "Europe", "name": "Russia" }, + { + "code": "Russian SSR", + "continent": "Europe", + "name": "Russian SSR" + }, { "code": "rw", "continent": "Africa", @@ -1840,6 +1960,11 @@ "code": "sardines", "name": "Sardines" }, + { + "code": "saskatchewan", + "continent": "North America", + "name": "Saskatchewan" + }, { "code": "Sassanid Empire", "continent": "Asia", @@ -2064,6 +2189,11 @@ "continent": "Asia", "name": "Tajikistan" }, + { + "code": "tannutuva", + "continent": "Asia", + "name": "Tannu Tuva" + }, { "code": "tz", "continent": "Africa", @@ -2134,6 +2264,11 @@ "continent": "Asia", "name": "Türkiye" }, + { + "code": "Turkmen SSR", + "continent": "Asia", + "name": "Turkmen SSR" + }, { "code": "tm", "continent": "Asia", @@ -2169,6 +2304,11 @@ "continent": "Europe", "name": "Ukraine" }, + { + "code": "Ukrainian SSR", + "continent": "Europe", + "name": "Ukrainian SSR" + }, { "code": "1_Ulaid", "continent": "Europe", @@ -2218,6 +2358,11 @@ "continent": "North America", "name": "Utah" }, + { + "code": "Uzbek SSR", + "continent": "Asia", + "name": "Uzbek SSR" + }, { "code": "uz", "continent": "Asia", @@ -2337,6 +2482,11 @@ "continent": "Europe", "name": "Yugoslavia" }, + { + "code": "yukon", + "continent": "North America", + "name": "Yukon" + }, { "code": "Zaire", "continent": "Africa", diff --git a/resources/flags/Armenian SSR.svg b/resources/flags/Armenian SSR.svg new file mode 100644 index 000000000..2dd8131cc --- /dev/null +++ b/resources/flags/Armenian SSR.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/resources/flags/Azerbaijan SSR.svg b/resources/flags/Azerbaijan SSR.svg new file mode 100644 index 000000000..007502c9d --- /dev/null +++ b/resources/flags/Azerbaijan SSR.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/resources/flags/Chaldea.svg b/resources/flags/Chaldea.svg new file mode 100644 index 000000000..bff13e118 --- /dev/null +++ b/resources/flags/Chaldea.svg @@ -0,0 +1,10 @@ + + + + + + + + + \ No newline at end of file diff --git a/resources/flags/Estonian SSR.svg b/resources/flags/Estonian SSR.svg new file mode 100644 index 000000000..2ebaaa11f --- /dev/null +++ b/resources/flags/Estonian SSR.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/resources/flags/Karelo-Finnish SSR.svg b/resources/flags/Karelo-Finnish SSR.svg new file mode 100644 index 000000000..4a018a1e8 --- /dev/null +++ b/resources/flags/Karelo-Finnish SSR.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/resources/flags/Kirghiz SSR.svg b/resources/flags/Kirghiz SSR.svg new file mode 100644 index 000000000..1715c58db --- /dev/null +++ b/resources/flags/Kirghiz SSR.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/resources/flags/Latvian SSR.svg b/resources/flags/Latvian SSR.svg new file mode 100644 index 000000000..ee2abafcb --- /dev/null +++ b/resources/flags/Latvian SSR.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/resources/flags/Lithuanian SSR.svg b/resources/flags/Lithuanian SSR.svg new file mode 100644 index 000000000..47588e20d --- /dev/null +++ b/resources/flags/Lithuanian SSR.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/resources/flags/Moldavian SSR.svg b/resources/flags/Moldavian SSR.svg new file mode 100644 index 000000000..fc71fe499 --- /dev/null +++ b/resources/flags/Moldavian SSR.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/resources/flags/Nunavut.svg b/resources/flags/Nunavut.svg index 177892518..246f5626b 100644 --- a/resources/flags/Nunavut.svg +++ b/resources/flags/Nunavut.svg @@ -1,3 +1,3 @@ - + \ No newline at end of file diff --git a/resources/flags/Ukrainian SSR.svg b/resources/flags/Ukrainian SSR.svg index 977a3a610..c61d5b8dc 100644 --- a/resources/flags/Ukrainian SSR.svg +++ b/resources/flags/Ukrainian SSR.svg @@ -1,3 +1,3 @@ - + \ No newline at end of file diff --git a/resources/flags/Uzbek SSR.svg b/resources/flags/Uzbek SSR.svg new file mode 100644 index 000000000..6a5090ca2 --- /dev/null +++ b/resources/flags/Uzbek SSR.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/resources/flags/Yukon.svg b/resources/flags/Yukon.svg index 37e4a613b..a08551476 100644 --- a/resources/flags/Yukon.svg +++ b/resources/flags/Yukon.svg @@ -1,3 +1,3 @@ - + \ No newline at end of file diff --git a/resources/flags/alberta.svg b/resources/flags/alberta.svg new file mode 100644 index 000000000..bfc56cfa5 --- /dev/null +++ b/resources/flags/alberta.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/resources/flags/britishcolumbia.svg b/resources/flags/britishcolumbia.svg new file mode 100644 index 000000000..74d8c9464 --- /dev/null +++ b/resources/flags/britishcolumbia.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/resources/flags/fareasternrepublic.svg b/resources/flags/fareasternrepublic.svg new file mode 100644 index 000000000..5741f4d39 --- /dev/null +++ b/resources/flags/fareasternrepublic.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/resources/flags/manitoba.svg b/resources/flags/manitoba.svg new file mode 100644 index 000000000..d9d70701a --- /dev/null +++ b/resources/flags/manitoba.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/resources/flags/newbrunswick.svg b/resources/flags/newbrunswick.svg new file mode 100644 index 000000000..96ef7013b --- /dev/null +++ b/resources/flags/newbrunswick.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/resources/flags/newfoundlandandlabrador.svg b/resources/flags/newfoundlandandlabrador.svg new file mode 100644 index 000000000..6a1340377 --- /dev/null +++ b/resources/flags/newfoundlandandlabrador.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/resources/flags/northwestterritories.svg b/resources/flags/northwestterritories.svg new file mode 100644 index 000000000..a2c649e4a --- /dev/null +++ b/resources/flags/northwestterritories.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/resources/flags/novascotia.svg b/resources/flags/novascotia.svg new file mode 100644 index 000000000..f075f64a0 --- /dev/null +++ b/resources/flags/novascotia.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/resources/flags/ontario.svg b/resources/flags/ontario.svg new file mode 100644 index 000000000..7c2478c6b --- /dev/null +++ b/resources/flags/ontario.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/resources/flags/princeedwardisland.svg b/resources/flags/princeedwardisland.svg new file mode 100644 index 000000000..bdb345775 --- /dev/null +++ b/resources/flags/princeedwardisland.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/resources/flags/saskatchewan.svg b/resources/flags/saskatchewan.svg new file mode 100644 index 000000000..0c708cf92 --- /dev/null +++ b/resources/flags/saskatchewan.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/resources/flags/tajikssr.svg b/resources/flags/tajikssr.svg new file mode 100644 index 000000000..ac4c4286f --- /dev/null +++ b/resources/flags/tajikssr.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/resources/flags/tannutuva.svg b/resources/flags/tannutuva.svg new file mode 100644 index 000000000..01fceb660 --- /dev/null +++ b/resources/flags/tannutuva.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file