diff --git a/assets/assets.dev.json b/assets/assets.dev.json index 9508247e0..ef4d730b2 100644 --- a/assets/assets.dev.json +++ b/assets/assets.dev.json @@ -465,7 +465,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇦🇱 ALB: Adblock List for Albania", + "title": "🇦🇱ALB: Adblock List for Albania", "tags": "ads albania shqipja", "lang": "sq", "contentURL": "https://raw.githubusercontent.com/AnXh3L0/blocklist/master/albanian-easylist-addition/Albania.txt", @@ -485,7 +485,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇧🇬 BGR: Bulgarian Adblock list", + "title": "🇧🇬BGR: Bulgarian Adblock list", "tags": "ads bulgarian България macedonian Македонија", "lang": "bg mk", "contentURL": "https://stanev.org/abp/adblock_bg.txt", @@ -495,7 +495,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇨🇳🇹🇼 CHN: AdGuard Chinese (中文)", + "title": "🇨🇳🇹🇼CHN: AdGuard Chinese (中文)", "tags": "ads chinese 中文", "lang": "ug zh", "contentURL": "https://filters.adtidy.org/extension/ublock/filters/224.txt", @@ -505,7 +505,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇨🇿 CZE, 🇸🇰 SVK: EasyList Czech and Slovak", + "title": "🇨🇿CZE, 🇸🇰SVK: EasyList Czech and Slovak", "tags": "ads czech česká slovak slovenská", "lang": "cs sk", "contentURL": "https://raw.githubusercontent.com/tomasko126/easylistczechandslovak/master/filters.txt", @@ -515,7 +515,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇩🇪 DEU: EasyList Germany", + "title": "🇩🇪DEU: EasyList Germany", "tags": "ads german deutschland luxembourgish lëtzebuerg romansh", "lang": "de dsb hsb lb rm", "contentURL": [ @@ -528,7 +528,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇪🇪 EST: Eesti saitidele kohandatud filter", + "title": "🇪🇪EST: Eesti saitidele kohandatud filter", "tags": "ads estonian", "lang": "et", "contentURL": "https://adblock.ee/list.php", @@ -538,7 +538,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇫🇮 FIN: Adblock List for Finland", + "title": "🇫🇮FIN: Adblock List for Finland", "tags": "ads finnish", "lang": "fi", "contentURL": "https://raw.githubusercontent.com/finnish-easylist-addition/finnish-easylist-addition/gh-pages/Finland_adb.txt", @@ -548,7 +548,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇫🇷 FRA: AdGuard Français", + "title": "🇫🇷FRA: AdGuard Français", "tags": "ads french", "lang": "ar br ff fr lb oc son", "contentURL": "https://filters.adtidy.org/extension/ublock/filters/16.txt", @@ -558,7 +558,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇬🇷 GRC: Greek AdBlock Filter", + "title": "🇬🇷GRC: Greek AdBlock Filter", "tags": "ads greek", "lang": "el", "contentURL": "https://www.void.gr/kargig/void-gr-filters.txt", @@ -568,7 +568,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇭🇷 HRV, 🇷🇸 SRB: Dandelion Sprout's Serbo-Croatian filters", + "title": "🇭🇷HRV, 🇷🇸SRB: Dandelion Sprout's Serbo-Croatian filters", "tags": "ads croatian serbian", "lang": "hr sr", "contentURL": "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/SerboCroatianList.txt", @@ -578,7 +578,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇭🇺 HUN: hufilter", + "title": "🇭🇺HUN: hufilter", "tags": "ads hungarian", "lang": "hu", "contentURL": "https://raw.githubusercontent.com/hufilter/hufilter/master/hufilter-ublock.txt", @@ -588,7 +588,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇮🇩 IDN, 🇲🇾 MYS: ABPindo", + "title": "🇮🇩IDN, 🇲🇾MYS: ABPindo", "tags": "ads indonesian malay", "lang": "id ms", "contentURL": "https://raw.githubusercontent.com/ABPindo/indonesianadblockrules/master/subscriptions/abpindo.txt", @@ -598,7 +598,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇮🇳 IND, 🇱🇰 LKA, 🇳🇵 NPL: IndianList", + "title": "🇮🇳IND, 🇱🇰LKA, 🇳🇵NPL: IndianList", "tags": "ads assamese bengali gujarati hindi kannada malayalam marathi nepali punjabi sinhala tamil telugu", "lang": "as bn gu hi kn ml mr ne pa si ta te", "contentURL": "https://easylist-downloads.adblockplus.org/indianlist.txt", @@ -608,7 +608,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇮🇷 IRN: PersianBlocker", + "title": "🇮🇷IRN: PersianBlocker", "tags": "ads persian pashto tajik", "lang": "fa ps tg", "contentURL": [ @@ -626,7 +626,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇮🇸 ISL: Icelandic ABP List", + "title": "🇮🇸ISL: Icelandic ABP List", "tags": "ads icelandic", "lang": "is", "contentURL": "https://adblock.gardar.net/is.abp.txt", @@ -636,7 +636,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇮🇱 ISR: EasyList Hebrew", + "title": "🇮🇱ISR: EasyList Hebrew", "tags": "ads hebrew", "lang": "he", "contentURL": "https://raw.githubusercontent.com/easylist/EasyListHebrew/master/EasyListHebrew.txt", @@ -646,7 +646,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇮🇹 ITA: EasyList Italy", + "title": "🇮🇹ITA: EasyList Italy", "tags": "ads italian", "lang": "it lij", "contentURL": "https://easylist-downloads.adblockplus.org/easylistitaly.txt", @@ -656,7 +656,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇯🇵 JPN: AdGuard Japanese", + "title": "🇯🇵JPN: AdGuard Japanese", "tags": "ads japanese 日本語", "lang": "ja", "contentURL": "https://filters.adtidy.org/extension/ublock/filters/7.txt", @@ -667,7 +667,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇰🇷 KOR: List-KR", + "title": "🇰🇷KOR: List-KR", "tags": "ads korean 한국어", "lang": "ko", "contentURL": "https://cdn.jsdelivr.net/gh/List-KR/List-KR@master/filter-uBlockOrigin.txt", @@ -677,7 +677,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇱🇹 LTU: EasyList Lithuania", + "title": "🇱🇹LTU: EasyList Lithuania", "tags": "ads lithuanian", "lang": "lt", "contentURL": "https://raw.githubusercontent.com/EasyList-Lithuania/easylist_lithuania/master/easylistlithuania.txt", @@ -691,7 +691,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇱🇻 LVA: Latvian List", + "title": "🇱🇻LVA: Latvian List", "tags": "ads latvian", "lang": "lv", "contentURL": "https://raw.githubusercontent.com/Latvian-List/adblock-latvian/master/lists/latvian-list.txt", @@ -701,7 +701,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇲🇰 MKD: Macedonian adBlock Filters", + "title": "🇲🇰MKD: Macedonian adBlock Filters", "tags": "ads macedonian", "lang": "mk", "contentURL": "https://raw.githubusercontent.com/DeepSpaceHarbor/Macedonian-adBlock-Filters/master/Filters", @@ -711,7 +711,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇳🇱 NLD: EasyDutch", + "title": "🇳🇱NLD: EasyDutch", "tags": "ads afrikaans frisian dutch flemish", "lang": "af fy nl", "contentURL": "https://easydutch-ubo.github.io/EasyDutchCDN/EasyDutch.txt", @@ -726,7 +726,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇳🇴 NOR, 🇩🇰 DNK, 🇮🇸 ISL: Dandelion Sprouts nordiske filtre", + "title": "🇳🇴NOR, 🇩🇰DNK, 🇮🇸ISL: Dandelion Sprouts nordiske filtre", "tags": "ads norwegian danish icelandic", "lang": "nb nn no da is", "contentURL": [ @@ -741,9 +741,9 @@ "POL-0": { "content": "filters", "group": "regions", - "parent": "🇵🇱 POL: Oficjalne Polskie Filtry", + "parent": "🇵🇱POL: Oficjalne Polskie Filtry", "off": true, - "title": "🇵🇱 POL: Oficjalne Polskie Filtry do uBlocka Origin", + "title": "🇵🇱POL: Oficjalne Polskie Filtry do uBlocka Origin", "tags": "ads polish polski", "lang": "szl pl", "contentURL": "https://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-adblock-filters/adblock.txt", @@ -753,9 +753,9 @@ "POL-2": { "content": "filters", "group": "regions", - "parent": "🇵🇱 POL: Oficjalne Polskie Filtry", + "parent": "🇵🇱POL: Oficjalne Polskie Filtry", "off": true, - "title": "🇵🇱 POL: Oficjalne polskie filtry przeciwko alertom o Adblocku", + "title": "🇵🇱POL: Oficjalne polskie filtry przeciwko alertom o Adblocku", "tags": "ads polish polski", "lang": "szl pl", "contentURL": "https://raw.githubusercontent.com/olegwukr/polish-privacy-filters/master/anti-adblock.txt", @@ -765,7 +765,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇷🇴 ROU: Romanian Ad (ROad) Block List Light", + "title": "🇷🇴ROU: Romanian Ad (ROad) Block List Light", "tags": "ads romanian română moldavian moldovenească молдовеняскэ", "lang": "ro", "contentURL": [ @@ -778,7 +778,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇷🇺🇺🇦🇺🇿🇰🇿 RUS: RU AdList", + "title": "🇷🇺RUS, 🇺🇦UKR, 🇺🇿UZB: RU AdList", "tags": "ads belarusian беларуская kazakh tatar russian русский ukrainian українська uzbek", "lang": "be kk tt ru uk uz", "contentURL": "https://raw.githubusercontent.com/easylist/ruadlist/master/RuAdList-uBO.txt", @@ -793,7 +793,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇪🇸 spa: EasyList Spanish", + "title": "🇪🇸spa: EasyList Spanish", "tags": "ads aragonese basque catalan spanish español galician guarani", "lang": "an ast ca cak es eu gl gn trs quz", "contentURL": "https://easylist-downloads.adblockplus.org/easylistspanish.txt", @@ -803,7 +803,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇪🇸 spa, 🇧🇷🇵🇹 por: AdGuard Spanish/Portuguese", + "title": "🇪🇸spa, 🇧🇷🇵🇹por: AdGuard Spanish/Portuguese", "tags": "ads aragonese basque catalan spanish español galician guarani portuguese português", "lang": "an ast ca cak es eu gl gn trs pt quz", "contentURL": "https://filters.adtidy.org/extension/ublock/filters/9.txt", @@ -814,7 +814,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇸🇮 SVN: Slovenian List", + "title": "🇸🇮SVN: Slovenian List", "tags": "ads slovenian slovenski", "lang": "sl", "contentURL": "https://raw.githubusercontent.com/betterwebleon/slovenian-list/master/filters.txt", @@ -824,7 +824,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇸🇪 SWE: Frellwit's Swedish Filter", + "title": "🇸🇪SWE: Frellwit's Swedish Filter", "tags": "ads swedish svenska", "lang": "sv", "contentURL": "https://raw.githubusercontent.com/lassekongo83/Frellwits-filter-lists/master/Frellwits-Swedish-Filter.txt", @@ -834,7 +834,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇹🇭 THA: EasyList Thailand", + "title": "🇹🇭THA: EasyList Thailand", "tags": "ads thai ไทย", "lang": "th", "contentURL": "https://raw.githubusercontent.com/easylist-thailand/easylist-thailand/master/subscription/easylist-thailand.txt", @@ -844,7 +844,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇹🇷 TUR: AdGuard Turkish", + "title": "🇹🇷TUR: AdGuard Turkish", "tags": "ads turkish türkçe", "lang": "tr", "contentURL": "https://filters.adtidy.org/extension/ublock/filters/13.txt", @@ -855,7 +855,7 @@ "content": "filters", "group": "regions", "off": true, - "title": "🇻🇳 VIE: ABPVN List", + "title": "🇻🇳VIE: ABPVN List", "tags": "ads vietnamese việt", "lang": "vi", "contentURL": "https://raw.githubusercontent.com/abpvn/abpvn/master/filter/abpvn_ublock.txt", diff --git a/src/about.html b/src/about.html index 721d6f534..fc9898417 100644 --- a/src/about.html +++ b/src/about.html @@ -39,6 +39,7 @@
google-ima.js by Mozilla
CSSTree by Roman Dvornov
js-beautify by Einar Lielmanis, Liam Newman, et al.
+
Flags of the World by David Krmela
diff --git a/src/css/common.css b/src/css/common.css index 91281a5d2..a171904e5 100644 --- a/src/css/common.css +++ b/src/css/common.css @@ -309,6 +309,13 @@ select { } } +.countryFlag { + height: var(--font-size); + position: relative; + top: calc(var(--font-size) / 6); + width: calc(var(--font-size) * 1.4); + } + .logo { align-items: center; display: inline-flex; diff --git a/src/img/flags-of-the-world/README b/src/img/flags-of-the-world/README new file mode 100644 index 000000000..d388796e4 --- /dev/null +++ b/src/img/flags-of-the-world/README @@ -0,0 +1,9 @@ +Source of all images in this folder: + https://flagpedia.net/ + +Licence: + https://flagpedia.net/about + +> Flag images are in the public domain (exempt from copyright). +> They are completely free for non-commercial and even commercial use. +> You can also download all flags." diff --git a/src/img/flags-of-the-world/ad.png b/src/img/flags-of-the-world/ad.png new file mode 100644 index 000000000..eccc47028 Binary files /dev/null and b/src/img/flags-of-the-world/ad.png differ diff --git a/src/img/flags-of-the-world/ae.png b/src/img/flags-of-the-world/ae.png new file mode 100644 index 000000000..487a804d3 Binary files /dev/null and b/src/img/flags-of-the-world/ae.png differ diff --git a/src/img/flags-of-the-world/af.png b/src/img/flags-of-the-world/af.png new file mode 100644 index 000000000..8b494246e Binary files /dev/null and b/src/img/flags-of-the-world/af.png differ diff --git a/src/img/flags-of-the-world/ag.png b/src/img/flags-of-the-world/ag.png new file mode 100644 index 000000000..d9ed19e60 Binary files /dev/null and b/src/img/flags-of-the-world/ag.png differ diff --git a/src/img/flags-of-the-world/ai.png b/src/img/flags-of-the-world/ai.png new file mode 100644 index 000000000..54a31cc35 Binary files /dev/null and b/src/img/flags-of-the-world/ai.png differ diff --git a/src/img/flags-of-the-world/al.png b/src/img/flags-of-the-world/al.png new file mode 100644 index 000000000..53fb8512b Binary files /dev/null and b/src/img/flags-of-the-world/al.png differ diff --git a/src/img/flags-of-the-world/am.png b/src/img/flags-of-the-world/am.png new file mode 100644 index 000000000..5a4ea5d79 Binary files /dev/null and b/src/img/flags-of-the-world/am.png differ diff --git a/src/img/flags-of-the-world/ao.png b/src/img/flags-of-the-world/ao.png new file mode 100644 index 000000000..8d0e951a3 Binary files /dev/null and b/src/img/flags-of-the-world/ao.png differ diff --git a/src/img/flags-of-the-world/aq.png b/src/img/flags-of-the-world/aq.png new file mode 100644 index 000000000..97153b37c Binary files /dev/null and b/src/img/flags-of-the-world/aq.png differ diff --git a/src/img/flags-of-the-world/ar.png b/src/img/flags-of-the-world/ar.png new file mode 100644 index 000000000..dbe8d69dc Binary files /dev/null and b/src/img/flags-of-the-world/ar.png differ diff --git a/src/img/flags-of-the-world/as.png b/src/img/flags-of-the-world/as.png new file mode 100644 index 000000000..161d52547 Binary files /dev/null and b/src/img/flags-of-the-world/as.png differ diff --git a/src/img/flags-of-the-world/at.png b/src/img/flags-of-the-world/at.png new file mode 100644 index 000000000..7f729d687 Binary files /dev/null and b/src/img/flags-of-the-world/at.png differ diff --git a/src/img/flags-of-the-world/au.png b/src/img/flags-of-the-world/au.png new file mode 100644 index 000000000..f7bf79f2a Binary files /dev/null and b/src/img/flags-of-the-world/au.png differ diff --git a/src/img/flags-of-the-world/aw.png b/src/img/flags-of-the-world/aw.png new file mode 100644 index 000000000..83c3649db Binary files /dev/null and b/src/img/flags-of-the-world/aw.png differ diff --git a/src/img/flags-of-the-world/ax.png b/src/img/flags-of-the-world/ax.png new file mode 100644 index 000000000..e0ca965b9 Binary files /dev/null and b/src/img/flags-of-the-world/ax.png differ diff --git a/src/img/flags-of-the-world/az.png b/src/img/flags-of-the-world/az.png new file mode 100644 index 000000000..6a942fc85 Binary files /dev/null and b/src/img/flags-of-the-world/az.png differ diff --git a/src/img/flags-of-the-world/ba.png b/src/img/flags-of-the-world/ba.png new file mode 100644 index 000000000..4afae8c06 Binary files /dev/null and b/src/img/flags-of-the-world/ba.png differ diff --git a/src/img/flags-of-the-world/bb.png b/src/img/flags-of-the-world/bb.png new file mode 100644 index 000000000..6457ab763 Binary files /dev/null and b/src/img/flags-of-the-world/bb.png differ diff --git a/src/img/flags-of-the-world/bd.png b/src/img/flags-of-the-world/bd.png new file mode 100644 index 000000000..0e4abd274 Binary files /dev/null and b/src/img/flags-of-the-world/bd.png differ diff --git a/src/img/flags-of-the-world/be.png b/src/img/flags-of-the-world/be.png new file mode 100644 index 000000000..cb01ae4db Binary files /dev/null and b/src/img/flags-of-the-world/be.png differ diff --git a/src/img/flags-of-the-world/bf.png b/src/img/flags-of-the-world/bf.png new file mode 100644 index 000000000..46cd68c85 Binary files /dev/null and b/src/img/flags-of-the-world/bf.png differ diff --git a/src/img/flags-of-the-world/bg.png b/src/img/flags-of-the-world/bg.png new file mode 100644 index 000000000..ca0cba6d1 Binary files /dev/null and b/src/img/flags-of-the-world/bg.png differ diff --git a/src/img/flags-of-the-world/bh.png b/src/img/flags-of-the-world/bh.png new file mode 100644 index 000000000..05719e105 Binary files /dev/null and b/src/img/flags-of-the-world/bh.png differ diff --git a/src/img/flags-of-the-world/bi.png b/src/img/flags-of-the-world/bi.png new file mode 100644 index 000000000..ade818a08 Binary files /dev/null and b/src/img/flags-of-the-world/bi.png differ diff --git a/src/img/flags-of-the-world/bj.png b/src/img/flags-of-the-world/bj.png new file mode 100644 index 000000000..1bc0cbdab Binary files /dev/null and b/src/img/flags-of-the-world/bj.png differ diff --git a/src/img/flags-of-the-world/bl.png b/src/img/flags-of-the-world/bl.png new file mode 100644 index 000000000..655935f38 Binary files /dev/null and b/src/img/flags-of-the-world/bl.png differ diff --git a/src/img/flags-of-the-world/bm.png b/src/img/flags-of-the-world/bm.png new file mode 100644 index 000000000..707e96e2c Binary files /dev/null and b/src/img/flags-of-the-world/bm.png differ diff --git a/src/img/flags-of-the-world/bn.png b/src/img/flags-of-the-world/bn.png new file mode 100644 index 000000000..26f3a4695 Binary files /dev/null and b/src/img/flags-of-the-world/bn.png differ diff --git a/src/img/flags-of-the-world/bo.png b/src/img/flags-of-the-world/bo.png new file mode 100644 index 000000000..679830a1d Binary files /dev/null and b/src/img/flags-of-the-world/bo.png differ diff --git a/src/img/flags-of-the-world/bq.png b/src/img/flags-of-the-world/bq.png new file mode 100644 index 000000000..53b237a14 Binary files /dev/null and b/src/img/flags-of-the-world/bq.png differ diff --git a/src/img/flags-of-the-world/br.png b/src/img/flags-of-the-world/br.png new file mode 100644 index 000000000..41b82bcc0 Binary files /dev/null and b/src/img/flags-of-the-world/br.png differ diff --git a/src/img/flags-of-the-world/bs.png b/src/img/flags-of-the-world/bs.png new file mode 100644 index 000000000..e5716035e Binary files /dev/null and b/src/img/flags-of-the-world/bs.png differ diff --git a/src/img/flags-of-the-world/bt.png b/src/img/flags-of-the-world/bt.png new file mode 100644 index 000000000..fbaf574e4 Binary files /dev/null and b/src/img/flags-of-the-world/bt.png differ diff --git a/src/img/flags-of-the-world/bv.png b/src/img/flags-of-the-world/bv.png new file mode 100644 index 000000000..ab5146e41 Binary files /dev/null and b/src/img/flags-of-the-world/bv.png differ diff --git a/src/img/flags-of-the-world/bw.png b/src/img/flags-of-the-world/bw.png new file mode 100644 index 000000000..54cd4dcb9 Binary files /dev/null and b/src/img/flags-of-the-world/bw.png differ diff --git a/src/img/flags-of-the-world/by.png b/src/img/flags-of-the-world/by.png new file mode 100644 index 000000000..a2a64b39e Binary files /dev/null and b/src/img/flags-of-the-world/by.png differ diff --git a/src/img/flags-of-the-world/bz.png b/src/img/flags-of-the-world/bz.png new file mode 100644 index 000000000..59e54255b Binary files /dev/null and b/src/img/flags-of-the-world/bz.png differ diff --git a/src/img/flags-of-the-world/ca.png b/src/img/flags-of-the-world/ca.png new file mode 100644 index 000000000..c5f8fa87d Binary files /dev/null and b/src/img/flags-of-the-world/ca.png differ diff --git a/src/img/flags-of-the-world/cc.png b/src/img/flags-of-the-world/cc.png new file mode 100644 index 000000000..40caa26da Binary files /dev/null and b/src/img/flags-of-the-world/cc.png differ diff --git a/src/img/flags-of-the-world/cd.png b/src/img/flags-of-the-world/cd.png new file mode 100644 index 000000000..0c1dc24d6 Binary files /dev/null and b/src/img/flags-of-the-world/cd.png differ diff --git a/src/img/flags-of-the-world/cf.png b/src/img/flags-of-the-world/cf.png new file mode 100644 index 000000000..44c6f65fe Binary files /dev/null and b/src/img/flags-of-the-world/cf.png differ diff --git a/src/img/flags-of-the-world/cg.png b/src/img/flags-of-the-world/cg.png new file mode 100644 index 000000000..14fcb1f0a Binary files /dev/null and b/src/img/flags-of-the-world/cg.png differ diff --git a/src/img/flags-of-the-world/ch.png b/src/img/flags-of-the-world/ch.png new file mode 100644 index 000000000..aa5de46b0 Binary files /dev/null and b/src/img/flags-of-the-world/ch.png differ diff --git a/src/img/flags-of-the-world/ci.png b/src/img/flags-of-the-world/ci.png new file mode 100644 index 000000000..9133a6f98 Binary files /dev/null and b/src/img/flags-of-the-world/ci.png differ diff --git a/src/img/flags-of-the-world/ck.png b/src/img/flags-of-the-world/ck.png new file mode 100644 index 000000000..74200b4a2 Binary files /dev/null and b/src/img/flags-of-the-world/ck.png differ diff --git a/src/img/flags-of-the-world/cl.png b/src/img/flags-of-the-world/cl.png new file mode 100644 index 000000000..cb2dd9fbe Binary files /dev/null and b/src/img/flags-of-the-world/cl.png differ diff --git a/src/img/flags-of-the-world/cm.png b/src/img/flags-of-the-world/cm.png new file mode 100644 index 000000000..2f45497c8 Binary files /dev/null and b/src/img/flags-of-the-world/cm.png differ diff --git a/src/img/flags-of-the-world/cn.png b/src/img/flags-of-the-world/cn.png new file mode 100644 index 000000000..e653394ba Binary files /dev/null and b/src/img/flags-of-the-world/cn.png differ diff --git a/src/img/flags-of-the-world/co.png b/src/img/flags-of-the-world/co.png new file mode 100644 index 000000000..ad63dd079 Binary files /dev/null and b/src/img/flags-of-the-world/co.png differ diff --git a/src/img/flags-of-the-world/cr.png b/src/img/flags-of-the-world/cr.png new file mode 100644 index 000000000..4150d8d8b Binary files /dev/null and b/src/img/flags-of-the-world/cr.png differ diff --git a/src/img/flags-of-the-world/cu.png b/src/img/flags-of-the-world/cu.png new file mode 100644 index 000000000..4b6f177f3 Binary files /dev/null and b/src/img/flags-of-the-world/cu.png differ diff --git a/src/img/flags-of-the-world/cv.png b/src/img/flags-of-the-world/cv.png new file mode 100644 index 000000000..b7e54c60f Binary files /dev/null and b/src/img/flags-of-the-world/cv.png differ diff --git a/src/img/flags-of-the-world/cw.png b/src/img/flags-of-the-world/cw.png new file mode 100644 index 000000000..98d11c5f9 Binary files /dev/null and b/src/img/flags-of-the-world/cw.png differ diff --git a/src/img/flags-of-the-world/cx.png b/src/img/flags-of-the-world/cx.png new file mode 100644 index 000000000..f7914f88b Binary files /dev/null and b/src/img/flags-of-the-world/cx.png differ diff --git a/src/img/flags-of-the-world/cy.png b/src/img/flags-of-the-world/cy.png new file mode 100644 index 000000000..3c3e778e0 Binary files /dev/null and b/src/img/flags-of-the-world/cy.png differ diff --git a/src/img/flags-of-the-world/cz.png b/src/img/flags-of-the-world/cz.png new file mode 100644 index 000000000..9b4e6e86b Binary files /dev/null and b/src/img/flags-of-the-world/cz.png differ diff --git a/src/img/flags-of-the-world/de.png b/src/img/flags-of-the-world/de.png new file mode 100644 index 000000000..64f97773d Binary files /dev/null and b/src/img/flags-of-the-world/de.png differ diff --git a/src/img/flags-of-the-world/dj.png b/src/img/flags-of-the-world/dj.png new file mode 100644 index 000000000..a483e5c2e Binary files /dev/null and b/src/img/flags-of-the-world/dj.png differ diff --git a/src/img/flags-of-the-world/dk.png b/src/img/flags-of-the-world/dk.png new file mode 100644 index 000000000..a06cb5b3c Binary files /dev/null and b/src/img/flags-of-the-world/dk.png differ diff --git a/src/img/flags-of-the-world/dm.png b/src/img/flags-of-the-world/dm.png new file mode 100644 index 000000000..8e19bdeaa Binary files /dev/null and b/src/img/flags-of-the-world/dm.png differ diff --git a/src/img/flags-of-the-world/do.png b/src/img/flags-of-the-world/do.png new file mode 100644 index 000000000..ec44af7d8 Binary files /dev/null and b/src/img/flags-of-the-world/do.png differ diff --git a/src/img/flags-of-the-world/dz.png b/src/img/flags-of-the-world/dz.png new file mode 100644 index 000000000..6f031c937 Binary files /dev/null and b/src/img/flags-of-the-world/dz.png differ diff --git a/src/img/flags-of-the-world/ec.png b/src/img/flags-of-the-world/ec.png new file mode 100644 index 000000000..41cd9a3b7 Binary files /dev/null and b/src/img/flags-of-the-world/ec.png differ diff --git a/src/img/flags-of-the-world/ee.png b/src/img/flags-of-the-world/ee.png new file mode 100644 index 000000000..610a95be3 Binary files /dev/null and b/src/img/flags-of-the-world/ee.png differ diff --git a/src/img/flags-of-the-world/eg.png b/src/img/flags-of-the-world/eg.png new file mode 100644 index 000000000..812a6a690 Binary files /dev/null and b/src/img/flags-of-the-world/eg.png differ diff --git a/src/img/flags-of-the-world/eh.png b/src/img/flags-of-the-world/eh.png new file mode 100644 index 000000000..0ff76152e Binary files /dev/null and b/src/img/flags-of-the-world/eh.png differ diff --git a/src/img/flags-of-the-world/er.png b/src/img/flags-of-the-world/er.png new file mode 100644 index 000000000..12da3affe Binary files /dev/null and b/src/img/flags-of-the-world/er.png differ diff --git a/src/img/flags-of-the-world/es.png b/src/img/flags-of-the-world/es.png new file mode 100644 index 000000000..4438d6a14 Binary files /dev/null and b/src/img/flags-of-the-world/es.png differ diff --git a/src/img/flags-of-the-world/et.png b/src/img/flags-of-the-world/et.png new file mode 100644 index 000000000..6cebcc316 Binary files /dev/null and b/src/img/flags-of-the-world/et.png differ diff --git a/src/img/flags-of-the-world/fi.png b/src/img/flags-of-the-world/fi.png new file mode 100644 index 000000000..c652fc0f0 Binary files /dev/null and b/src/img/flags-of-the-world/fi.png differ diff --git a/src/img/flags-of-the-world/fj.png b/src/img/flags-of-the-world/fj.png new file mode 100644 index 000000000..b5455a635 Binary files /dev/null and b/src/img/flags-of-the-world/fj.png differ diff --git a/src/img/flags-of-the-world/fk.png b/src/img/flags-of-the-world/fk.png new file mode 100644 index 000000000..e4637d7a8 Binary files /dev/null and b/src/img/flags-of-the-world/fk.png differ diff --git a/src/img/flags-of-the-world/fm.png b/src/img/flags-of-the-world/fm.png new file mode 100644 index 000000000..8e11108e9 Binary files /dev/null and b/src/img/flags-of-the-world/fm.png differ diff --git a/src/img/flags-of-the-world/fo.png b/src/img/flags-of-the-world/fo.png new file mode 100644 index 000000000..7a7d8f983 Binary files /dev/null and b/src/img/flags-of-the-world/fo.png differ diff --git a/src/img/flags-of-the-world/fr.png b/src/img/flags-of-the-world/fr.png new file mode 100644 index 000000000..fd06f8489 Binary files /dev/null and b/src/img/flags-of-the-world/fr.png differ diff --git a/src/img/flags-of-the-world/ga.png b/src/img/flags-of-the-world/ga.png new file mode 100644 index 000000000..2772cb4b5 Binary files /dev/null and b/src/img/flags-of-the-world/ga.png differ diff --git a/src/img/flags-of-the-world/gb-eng.png b/src/img/flags-of-the-world/gb-eng.png new file mode 100644 index 000000000..40df912a8 Binary files /dev/null and b/src/img/flags-of-the-world/gb-eng.png differ diff --git a/src/img/flags-of-the-world/gb-nir.png b/src/img/flags-of-the-world/gb-nir.png new file mode 100644 index 000000000..ae4ee988e Binary files /dev/null and b/src/img/flags-of-the-world/gb-nir.png differ diff --git a/src/img/flags-of-the-world/gb-sct.png b/src/img/flags-of-the-world/gb-sct.png new file mode 100644 index 000000000..4e327318e Binary files /dev/null and b/src/img/flags-of-the-world/gb-sct.png differ diff --git a/src/img/flags-of-the-world/gb-wls.png b/src/img/flags-of-the-world/gb-wls.png new file mode 100644 index 000000000..da8e6842d Binary files /dev/null and b/src/img/flags-of-the-world/gb-wls.png differ diff --git a/src/img/flags-of-the-world/gb.png b/src/img/flags-of-the-world/gb.png new file mode 100644 index 000000000..ef31d2cb7 Binary files /dev/null and b/src/img/flags-of-the-world/gb.png differ diff --git a/src/img/flags-of-the-world/gd.png b/src/img/flags-of-the-world/gd.png new file mode 100644 index 000000000..96fc934c0 Binary files /dev/null and b/src/img/flags-of-the-world/gd.png differ diff --git a/src/img/flags-of-the-world/ge.png b/src/img/flags-of-the-world/ge.png new file mode 100644 index 000000000..a42905704 Binary files /dev/null and b/src/img/flags-of-the-world/ge.png differ diff --git a/src/img/flags-of-the-world/gf.png b/src/img/flags-of-the-world/gf.png new file mode 100644 index 000000000..57dee2546 Binary files /dev/null and b/src/img/flags-of-the-world/gf.png differ diff --git a/src/img/flags-of-the-world/gg.png b/src/img/flags-of-the-world/gg.png new file mode 100644 index 000000000..fd6df212a Binary files /dev/null and b/src/img/flags-of-the-world/gg.png differ diff --git a/src/img/flags-of-the-world/gh.png b/src/img/flags-of-the-world/gh.png new file mode 100644 index 000000000..bfee0413f Binary files /dev/null and b/src/img/flags-of-the-world/gh.png differ diff --git a/src/img/flags-of-the-world/gi.png b/src/img/flags-of-the-world/gi.png new file mode 100644 index 000000000..bea8dfa38 Binary files /dev/null and b/src/img/flags-of-the-world/gi.png differ diff --git a/src/img/flags-of-the-world/gl.png b/src/img/flags-of-the-world/gl.png new file mode 100644 index 000000000..40d30063a Binary files /dev/null and b/src/img/flags-of-the-world/gl.png differ diff --git a/src/img/flags-of-the-world/gm.png b/src/img/flags-of-the-world/gm.png new file mode 100644 index 000000000..4312aac93 Binary files /dev/null and b/src/img/flags-of-the-world/gm.png differ diff --git a/src/img/flags-of-the-world/gn.png b/src/img/flags-of-the-world/gn.png new file mode 100644 index 000000000..8b42a9e3b Binary files /dev/null and b/src/img/flags-of-the-world/gn.png differ diff --git a/src/img/flags-of-the-world/gp.png b/src/img/flags-of-the-world/gp.png new file mode 100644 index 000000000..119b4caed Binary files /dev/null and b/src/img/flags-of-the-world/gp.png differ diff --git a/src/img/flags-of-the-world/gq.png b/src/img/flags-of-the-world/gq.png new file mode 100644 index 000000000..87a86bba6 Binary files /dev/null and b/src/img/flags-of-the-world/gq.png differ diff --git a/src/img/flags-of-the-world/gr.png b/src/img/flags-of-the-world/gr.png new file mode 100644 index 000000000..0fa7e5e5d Binary files /dev/null and b/src/img/flags-of-the-world/gr.png differ diff --git a/src/img/flags-of-the-world/gs.png b/src/img/flags-of-the-world/gs.png new file mode 100644 index 000000000..c1e58c232 Binary files /dev/null and b/src/img/flags-of-the-world/gs.png differ diff --git a/src/img/flags-of-the-world/gt.png b/src/img/flags-of-the-world/gt.png new file mode 100644 index 000000000..b7450fca3 Binary files /dev/null and b/src/img/flags-of-the-world/gt.png differ diff --git a/src/img/flags-of-the-world/gu.png b/src/img/flags-of-the-world/gu.png new file mode 100644 index 000000000..05693540b Binary files /dev/null and b/src/img/flags-of-the-world/gu.png differ diff --git a/src/img/flags-of-the-world/gw.png b/src/img/flags-of-the-world/gw.png new file mode 100644 index 000000000..9c7a7355b Binary files /dev/null and b/src/img/flags-of-the-world/gw.png differ diff --git a/src/img/flags-of-the-world/gy.png b/src/img/flags-of-the-world/gy.png new file mode 100644 index 000000000..e0b2f53c2 Binary files /dev/null and b/src/img/flags-of-the-world/gy.png differ diff --git a/src/img/flags-of-the-world/hk.png b/src/img/flags-of-the-world/hk.png new file mode 100644 index 000000000..e63b0c268 Binary files /dev/null and b/src/img/flags-of-the-world/hk.png differ diff --git a/src/img/flags-of-the-world/hm.png b/src/img/flags-of-the-world/hm.png new file mode 100644 index 000000000..93d3172f0 Binary files /dev/null and b/src/img/flags-of-the-world/hm.png differ diff --git a/src/img/flags-of-the-world/hn.png b/src/img/flags-of-the-world/hn.png new file mode 100644 index 000000000..2ff9f5bc7 Binary files /dev/null and b/src/img/flags-of-the-world/hn.png differ diff --git a/src/img/flags-of-the-world/hr.png b/src/img/flags-of-the-world/hr.png new file mode 100644 index 000000000..1dc15e24f Binary files /dev/null and b/src/img/flags-of-the-world/hr.png differ diff --git a/src/img/flags-of-the-world/ht.png b/src/img/flags-of-the-world/ht.png new file mode 100644 index 000000000..6641796a4 Binary files /dev/null and b/src/img/flags-of-the-world/ht.png differ diff --git a/src/img/flags-of-the-world/hu.png b/src/img/flags-of-the-world/hu.png new file mode 100644 index 000000000..d82edfcd0 Binary files /dev/null and b/src/img/flags-of-the-world/hu.png differ diff --git a/src/img/flags-of-the-world/id.png b/src/img/flags-of-the-world/id.png new file mode 100644 index 000000000..d1374bf60 Binary files /dev/null and b/src/img/flags-of-the-world/id.png differ diff --git a/src/img/flags-of-the-world/ie.png b/src/img/flags-of-the-world/ie.png new file mode 100644 index 000000000..a90f8f1d9 Binary files /dev/null and b/src/img/flags-of-the-world/ie.png differ diff --git a/src/img/flags-of-the-world/il.png b/src/img/flags-of-the-world/il.png new file mode 100644 index 000000000..871a9db97 Binary files /dev/null and b/src/img/flags-of-the-world/il.png differ diff --git a/src/img/flags-of-the-world/im.png b/src/img/flags-of-the-world/im.png new file mode 100644 index 000000000..636b2a4da Binary files /dev/null and b/src/img/flags-of-the-world/im.png differ diff --git a/src/img/flags-of-the-world/in.png b/src/img/flags-of-the-world/in.png new file mode 100644 index 000000000..4f4195db0 Binary files /dev/null and b/src/img/flags-of-the-world/in.png differ diff --git a/src/img/flags-of-the-world/io.png b/src/img/flags-of-the-world/io.png new file mode 100644 index 000000000..940936534 Binary files /dev/null and b/src/img/flags-of-the-world/io.png differ diff --git a/src/img/flags-of-the-world/iq.png b/src/img/flags-of-the-world/iq.png new file mode 100644 index 000000000..32581bce9 Binary files /dev/null and b/src/img/flags-of-the-world/iq.png differ diff --git a/src/img/flags-of-the-world/ir.png b/src/img/flags-of-the-world/ir.png new file mode 100644 index 000000000..bf8d9681b Binary files /dev/null and b/src/img/flags-of-the-world/ir.png differ diff --git a/src/img/flags-of-the-world/is.png b/src/img/flags-of-the-world/is.png new file mode 100644 index 000000000..dc6d5db0f Binary files /dev/null and b/src/img/flags-of-the-world/is.png differ diff --git a/src/img/flags-of-the-world/it.png b/src/img/flags-of-the-world/it.png new file mode 100644 index 000000000..bb394d9f7 Binary files /dev/null and b/src/img/flags-of-the-world/it.png differ diff --git a/src/img/flags-of-the-world/je.png b/src/img/flags-of-the-world/je.png new file mode 100644 index 000000000..a4fac16ab Binary files /dev/null and b/src/img/flags-of-the-world/je.png differ diff --git a/src/img/flags-of-the-world/jm.png b/src/img/flags-of-the-world/jm.png new file mode 100644 index 000000000..de59fa0bf Binary files /dev/null and b/src/img/flags-of-the-world/jm.png differ diff --git a/src/img/flags-of-the-world/jo.png b/src/img/flags-of-the-world/jo.png new file mode 100644 index 000000000..a16ad41c1 Binary files /dev/null and b/src/img/flags-of-the-world/jo.png differ diff --git a/src/img/flags-of-the-world/jp.png b/src/img/flags-of-the-world/jp.png new file mode 100644 index 000000000..d2517a39e Binary files /dev/null and b/src/img/flags-of-the-world/jp.png differ diff --git a/src/img/flags-of-the-world/ke.png b/src/img/flags-of-the-world/ke.png new file mode 100644 index 000000000..40ec77fc2 Binary files /dev/null and b/src/img/flags-of-the-world/ke.png differ diff --git a/src/img/flags-of-the-world/kg.png b/src/img/flags-of-the-world/kg.png new file mode 100644 index 000000000..44e90c274 Binary files /dev/null and b/src/img/flags-of-the-world/kg.png differ diff --git a/src/img/flags-of-the-world/kh.png b/src/img/flags-of-the-world/kh.png new file mode 100644 index 000000000..24872be8f Binary files /dev/null and b/src/img/flags-of-the-world/kh.png differ diff --git a/src/img/flags-of-the-world/ki.png b/src/img/flags-of-the-world/ki.png new file mode 100644 index 000000000..d27557a66 Binary files /dev/null and b/src/img/flags-of-the-world/ki.png differ diff --git a/src/img/flags-of-the-world/km.png b/src/img/flags-of-the-world/km.png new file mode 100644 index 000000000..16a8b9fc6 Binary files /dev/null and b/src/img/flags-of-the-world/km.png differ diff --git a/src/img/flags-of-the-world/kn.png b/src/img/flags-of-the-world/kn.png new file mode 100644 index 000000000..d11e70145 Binary files /dev/null and b/src/img/flags-of-the-world/kn.png differ diff --git a/src/img/flags-of-the-world/kp.png b/src/img/flags-of-the-world/kp.png new file mode 100644 index 000000000..3f0d1165d Binary files /dev/null and b/src/img/flags-of-the-world/kp.png differ diff --git a/src/img/flags-of-the-world/kr.png b/src/img/flags-of-the-world/kr.png new file mode 100644 index 000000000..cf95dc373 Binary files /dev/null and b/src/img/flags-of-the-world/kr.png differ diff --git a/src/img/flags-of-the-world/kw.png b/src/img/flags-of-the-world/kw.png new file mode 100644 index 000000000..c90df1bab Binary files /dev/null and b/src/img/flags-of-the-world/kw.png differ diff --git a/src/img/flags-of-the-world/ky.png b/src/img/flags-of-the-world/ky.png new file mode 100644 index 000000000..08210d3bb Binary files /dev/null and b/src/img/flags-of-the-world/ky.png differ diff --git a/src/img/flags-of-the-world/kz.png b/src/img/flags-of-the-world/kz.png new file mode 100644 index 000000000..9d5fc9d26 Binary files /dev/null and b/src/img/flags-of-the-world/kz.png differ diff --git a/src/img/flags-of-the-world/la.png b/src/img/flags-of-the-world/la.png new file mode 100644 index 000000000..063bcfcce Binary files /dev/null and b/src/img/flags-of-the-world/la.png differ diff --git a/src/img/flags-of-the-world/lb.png b/src/img/flags-of-the-world/lb.png new file mode 100644 index 000000000..cdb368465 Binary files /dev/null and b/src/img/flags-of-the-world/lb.png differ diff --git a/src/img/flags-of-the-world/lc.png b/src/img/flags-of-the-world/lc.png new file mode 100644 index 000000000..384abb636 Binary files /dev/null and b/src/img/flags-of-the-world/lc.png differ diff --git a/src/img/flags-of-the-world/li.png b/src/img/flags-of-the-world/li.png new file mode 100644 index 000000000..ed694a216 Binary files /dev/null and b/src/img/flags-of-the-world/li.png differ diff --git a/src/img/flags-of-the-world/lk.png b/src/img/flags-of-the-world/lk.png new file mode 100644 index 000000000..8248e3eda Binary files /dev/null and b/src/img/flags-of-the-world/lk.png differ diff --git a/src/img/flags-of-the-world/lr.png b/src/img/flags-of-the-world/lr.png new file mode 100644 index 000000000..2a109200a Binary files /dev/null and b/src/img/flags-of-the-world/lr.png differ diff --git a/src/img/flags-of-the-world/ls.png b/src/img/flags-of-the-world/ls.png new file mode 100644 index 000000000..d39fc7631 Binary files /dev/null and b/src/img/flags-of-the-world/ls.png differ diff --git a/src/img/flags-of-the-world/lt.png b/src/img/flags-of-the-world/lt.png new file mode 100644 index 000000000..6b60fd17e Binary files /dev/null and b/src/img/flags-of-the-world/lt.png differ diff --git a/src/img/flags-of-the-world/lu.png b/src/img/flags-of-the-world/lu.png new file mode 100644 index 000000000..2ea9a9d7c Binary files /dev/null and b/src/img/flags-of-the-world/lu.png differ diff --git a/src/img/flags-of-the-world/lv.png b/src/img/flags-of-the-world/lv.png new file mode 100644 index 000000000..6974715f8 Binary files /dev/null and b/src/img/flags-of-the-world/lv.png differ diff --git a/src/img/flags-of-the-world/ly.png b/src/img/flags-of-the-world/ly.png new file mode 100644 index 000000000..29a99731c Binary files /dev/null and b/src/img/flags-of-the-world/ly.png differ diff --git a/src/img/flags-of-the-world/ma.png b/src/img/flags-of-the-world/ma.png new file mode 100644 index 000000000..54db35bc4 Binary files /dev/null and b/src/img/flags-of-the-world/ma.png differ diff --git a/src/img/flags-of-the-world/mc.png b/src/img/flags-of-the-world/mc.png new file mode 100644 index 000000000..afe8c3569 Binary files /dev/null and b/src/img/flags-of-the-world/mc.png differ diff --git a/src/img/flags-of-the-world/md.png b/src/img/flags-of-the-world/md.png new file mode 100644 index 000000000..0f2a2b269 Binary files /dev/null and b/src/img/flags-of-the-world/md.png differ diff --git a/src/img/flags-of-the-world/me.png b/src/img/flags-of-the-world/me.png new file mode 100644 index 000000000..2a690c531 Binary files /dev/null and b/src/img/flags-of-the-world/me.png differ diff --git a/src/img/flags-of-the-world/mf.png b/src/img/flags-of-the-world/mf.png new file mode 100644 index 000000000..fd06f8489 Binary files /dev/null and b/src/img/flags-of-the-world/mf.png differ diff --git a/src/img/flags-of-the-world/mg.png b/src/img/flags-of-the-world/mg.png new file mode 100644 index 000000000..9bbfc6852 Binary files /dev/null and b/src/img/flags-of-the-world/mg.png differ diff --git a/src/img/flags-of-the-world/mh.png b/src/img/flags-of-the-world/mh.png new file mode 100644 index 000000000..dd12f8ba0 Binary files /dev/null and b/src/img/flags-of-the-world/mh.png differ diff --git a/src/img/flags-of-the-world/mk.png b/src/img/flags-of-the-world/mk.png new file mode 100644 index 000000000..f12895a29 Binary files /dev/null and b/src/img/flags-of-the-world/mk.png differ diff --git a/src/img/flags-of-the-world/ml.png b/src/img/flags-of-the-world/ml.png new file mode 100644 index 000000000..4a086ebc2 Binary files /dev/null and b/src/img/flags-of-the-world/ml.png differ diff --git a/src/img/flags-of-the-world/mm.png b/src/img/flags-of-the-world/mm.png new file mode 100644 index 000000000..a77a25d7f Binary files /dev/null and b/src/img/flags-of-the-world/mm.png differ diff --git a/src/img/flags-of-the-world/mn.png b/src/img/flags-of-the-world/mn.png new file mode 100644 index 000000000..bbe5f54a0 Binary files /dev/null and b/src/img/flags-of-the-world/mn.png differ diff --git a/src/img/flags-of-the-world/mo.png b/src/img/flags-of-the-world/mo.png new file mode 100644 index 000000000..e57b3f58d Binary files /dev/null and b/src/img/flags-of-the-world/mo.png differ diff --git a/src/img/flags-of-the-world/mp.png b/src/img/flags-of-the-world/mp.png new file mode 100644 index 000000000..43fd3da83 Binary files /dev/null and b/src/img/flags-of-the-world/mp.png differ diff --git a/src/img/flags-of-the-world/mq.png b/src/img/flags-of-the-world/mq.png new file mode 100644 index 000000000..e39b1991c Binary files /dev/null and b/src/img/flags-of-the-world/mq.png differ diff --git a/src/img/flags-of-the-world/mr.png b/src/img/flags-of-the-world/mr.png new file mode 100644 index 000000000..c44679667 Binary files /dev/null and b/src/img/flags-of-the-world/mr.png differ diff --git a/src/img/flags-of-the-world/ms.png b/src/img/flags-of-the-world/ms.png new file mode 100644 index 000000000..fa384291a Binary files /dev/null and b/src/img/flags-of-the-world/ms.png differ diff --git a/src/img/flags-of-the-world/mt.png b/src/img/flags-of-the-world/mt.png new file mode 100644 index 000000000..e6569d4f5 Binary files /dev/null and b/src/img/flags-of-the-world/mt.png differ diff --git a/src/img/flags-of-the-world/mu.png b/src/img/flags-of-the-world/mu.png new file mode 100644 index 000000000..8e4ebea20 Binary files /dev/null and b/src/img/flags-of-the-world/mu.png differ diff --git a/src/img/flags-of-the-world/mv.png b/src/img/flags-of-the-world/mv.png new file mode 100644 index 000000000..68bece5c6 Binary files /dev/null and b/src/img/flags-of-the-world/mv.png differ diff --git a/src/img/flags-of-the-world/mw.png b/src/img/flags-of-the-world/mw.png new file mode 100644 index 000000000..88cb2b241 Binary files /dev/null and b/src/img/flags-of-the-world/mw.png differ diff --git a/src/img/flags-of-the-world/mx.png b/src/img/flags-of-the-world/mx.png new file mode 100644 index 000000000..23d95af44 Binary files /dev/null and b/src/img/flags-of-the-world/mx.png differ diff --git a/src/img/flags-of-the-world/my.png b/src/img/flags-of-the-world/my.png new file mode 100644 index 000000000..3a257e490 Binary files /dev/null and b/src/img/flags-of-the-world/my.png differ diff --git a/src/img/flags-of-the-world/mz.png b/src/img/flags-of-the-world/mz.png new file mode 100644 index 000000000..92b535e01 Binary files /dev/null and b/src/img/flags-of-the-world/mz.png differ diff --git a/src/img/flags-of-the-world/na.png b/src/img/flags-of-the-world/na.png new file mode 100644 index 000000000..ef082303d Binary files /dev/null and b/src/img/flags-of-the-world/na.png differ diff --git a/src/img/flags-of-the-world/nc.png b/src/img/flags-of-the-world/nc.png new file mode 100644 index 000000000..303514cbe Binary files /dev/null and b/src/img/flags-of-the-world/nc.png differ diff --git a/src/img/flags-of-the-world/ne.png b/src/img/flags-of-the-world/ne.png new file mode 100644 index 000000000..ed09794dc Binary files /dev/null and b/src/img/flags-of-the-world/ne.png differ diff --git a/src/img/flags-of-the-world/nf.png b/src/img/flags-of-the-world/nf.png new file mode 100644 index 000000000..247114f06 Binary files /dev/null and b/src/img/flags-of-the-world/nf.png differ diff --git a/src/img/flags-of-the-world/ng.png b/src/img/flags-of-the-world/ng.png new file mode 100644 index 000000000..f49a5fee2 Binary files /dev/null and b/src/img/flags-of-the-world/ng.png differ diff --git a/src/img/flags-of-the-world/ni.png b/src/img/flags-of-the-world/ni.png new file mode 100644 index 000000000..bfbd63aba Binary files /dev/null and b/src/img/flags-of-the-world/ni.png differ diff --git a/src/img/flags-of-the-world/nl.png b/src/img/flags-of-the-world/nl.png new file mode 100644 index 000000000..794e27f5e Binary files /dev/null and b/src/img/flags-of-the-world/nl.png differ diff --git a/src/img/flags-of-the-world/no.png b/src/img/flags-of-the-world/no.png new file mode 100644 index 000000000..ab5146e41 Binary files /dev/null and b/src/img/flags-of-the-world/no.png differ diff --git a/src/img/flags-of-the-world/np.png b/src/img/flags-of-the-world/np.png new file mode 100644 index 000000000..4444b61c7 Binary files /dev/null and b/src/img/flags-of-the-world/np.png differ diff --git a/src/img/flags-of-the-world/nr.png b/src/img/flags-of-the-world/nr.png new file mode 100644 index 000000000..4d62a9ab7 Binary files /dev/null and b/src/img/flags-of-the-world/nr.png differ diff --git a/src/img/flags-of-the-world/nu.png b/src/img/flags-of-the-world/nu.png new file mode 100644 index 000000000..65cda2c2e Binary files /dev/null and b/src/img/flags-of-the-world/nu.png differ diff --git a/src/img/flags-of-the-world/nz.png b/src/img/flags-of-the-world/nz.png new file mode 100644 index 000000000..c3bff96dd Binary files /dev/null and b/src/img/flags-of-the-world/nz.png differ diff --git a/src/img/flags-of-the-world/om.png b/src/img/flags-of-the-world/om.png new file mode 100644 index 000000000..46beee0ab Binary files /dev/null and b/src/img/flags-of-the-world/om.png differ diff --git a/src/img/flags-of-the-world/pa.png b/src/img/flags-of-the-world/pa.png new file mode 100644 index 000000000..270917c66 Binary files /dev/null and b/src/img/flags-of-the-world/pa.png differ diff --git a/src/img/flags-of-the-world/pe.png b/src/img/flags-of-the-world/pe.png new file mode 100644 index 000000000..b39fe6d5f Binary files /dev/null and b/src/img/flags-of-the-world/pe.png differ diff --git a/src/img/flags-of-the-world/pf.png b/src/img/flags-of-the-world/pf.png new file mode 100644 index 000000000..4e08dbe78 Binary files /dev/null and b/src/img/flags-of-the-world/pf.png differ diff --git a/src/img/flags-of-the-world/pg.png b/src/img/flags-of-the-world/pg.png new file mode 100644 index 000000000..4570a2b91 Binary files /dev/null and b/src/img/flags-of-the-world/pg.png differ diff --git a/src/img/flags-of-the-world/ph.png b/src/img/flags-of-the-world/ph.png new file mode 100644 index 000000000..7aa141482 Binary files /dev/null and b/src/img/flags-of-the-world/ph.png differ diff --git a/src/img/flags-of-the-world/pk.png b/src/img/flags-of-the-world/pk.png new file mode 100644 index 000000000..30b4b061c Binary files /dev/null and b/src/img/flags-of-the-world/pk.png differ diff --git a/src/img/flags-of-the-world/pl.png b/src/img/flags-of-the-world/pl.png new file mode 100644 index 000000000..644b20e9d Binary files /dev/null and b/src/img/flags-of-the-world/pl.png differ diff --git a/src/img/flags-of-the-world/pm.png b/src/img/flags-of-the-world/pm.png new file mode 100644 index 000000000..7a81e8d99 Binary files /dev/null and b/src/img/flags-of-the-world/pm.png differ diff --git a/src/img/flags-of-the-world/pn.png b/src/img/flags-of-the-world/pn.png new file mode 100644 index 000000000..e35e2c6bd Binary files /dev/null and b/src/img/flags-of-the-world/pn.png differ diff --git a/src/img/flags-of-the-world/pr.png b/src/img/flags-of-the-world/pr.png new file mode 100644 index 000000000..20ac62a49 Binary files /dev/null and b/src/img/flags-of-the-world/pr.png differ diff --git a/src/img/flags-of-the-world/ps.png b/src/img/flags-of-the-world/ps.png new file mode 100644 index 000000000..4774aa34b Binary files /dev/null and b/src/img/flags-of-the-world/ps.png differ diff --git a/src/img/flags-of-the-world/pt.png b/src/img/flags-of-the-world/pt.png new file mode 100644 index 000000000..6c2af784b Binary files /dev/null and b/src/img/flags-of-the-world/pt.png differ diff --git a/src/img/flags-of-the-world/pw.png b/src/img/flags-of-the-world/pw.png new file mode 100644 index 000000000..a495b09ee Binary files /dev/null and b/src/img/flags-of-the-world/pw.png differ diff --git a/src/img/flags-of-the-world/py.png b/src/img/flags-of-the-world/py.png new file mode 100644 index 000000000..aa5e86fc3 Binary files /dev/null and b/src/img/flags-of-the-world/py.png differ diff --git a/src/img/flags-of-the-world/qa.png b/src/img/flags-of-the-world/qa.png new file mode 100644 index 000000000..76933b2d2 Binary files /dev/null and b/src/img/flags-of-the-world/qa.png differ diff --git a/src/img/flags-of-the-world/re.png b/src/img/flags-of-the-world/re.png new file mode 100644 index 000000000..56d93e8c2 Binary files /dev/null and b/src/img/flags-of-the-world/re.png differ diff --git a/src/img/flags-of-the-world/ro.png b/src/img/flags-of-the-world/ro.png new file mode 100644 index 000000000..6357b2b21 Binary files /dev/null and b/src/img/flags-of-the-world/ro.png differ diff --git a/src/img/flags-of-the-world/rs.png b/src/img/flags-of-the-world/rs.png new file mode 100644 index 000000000..59da2d772 Binary files /dev/null and b/src/img/flags-of-the-world/rs.png differ diff --git a/src/img/flags-of-the-world/ru.png b/src/img/flags-of-the-world/ru.png new file mode 100644 index 000000000..2412cedea Binary files /dev/null and b/src/img/flags-of-the-world/ru.png differ diff --git a/src/img/flags-of-the-world/rw.png b/src/img/flags-of-the-world/rw.png new file mode 100644 index 000000000..806e5e826 Binary files /dev/null and b/src/img/flags-of-the-world/rw.png differ diff --git a/src/img/flags-of-the-world/sa.png b/src/img/flags-of-the-world/sa.png new file mode 100644 index 000000000..b6b0d1bbf Binary files /dev/null and b/src/img/flags-of-the-world/sa.png differ diff --git a/src/img/flags-of-the-world/sb.png b/src/img/flags-of-the-world/sb.png new file mode 100644 index 000000000..0333583ff Binary files /dev/null and b/src/img/flags-of-the-world/sb.png differ diff --git a/src/img/flags-of-the-world/sc.png b/src/img/flags-of-the-world/sc.png new file mode 100644 index 000000000..ba67a2c62 Binary files /dev/null and b/src/img/flags-of-the-world/sc.png differ diff --git a/src/img/flags-of-the-world/sd.png b/src/img/flags-of-the-world/sd.png new file mode 100644 index 000000000..154e72e97 Binary files /dev/null and b/src/img/flags-of-the-world/sd.png differ diff --git a/src/img/flags-of-the-world/se.png b/src/img/flags-of-the-world/se.png new file mode 100644 index 000000000..7b62bc6a0 Binary files /dev/null and b/src/img/flags-of-the-world/se.png differ diff --git a/src/img/flags-of-the-world/sg.png b/src/img/flags-of-the-world/sg.png new file mode 100644 index 000000000..7315ee6d3 Binary files /dev/null and b/src/img/flags-of-the-world/sg.png differ diff --git a/src/img/flags-of-the-world/sh.png b/src/img/flags-of-the-world/sh.png new file mode 100644 index 000000000..f7fe03a8f Binary files /dev/null and b/src/img/flags-of-the-world/sh.png differ diff --git a/src/img/flags-of-the-world/si.png b/src/img/flags-of-the-world/si.png new file mode 100644 index 000000000..6e83fb5fb Binary files /dev/null and b/src/img/flags-of-the-world/si.png differ diff --git a/src/img/flags-of-the-world/sj.png b/src/img/flags-of-the-world/sj.png new file mode 100644 index 000000000..ab5146e41 Binary files /dev/null and b/src/img/flags-of-the-world/sj.png differ diff --git a/src/img/flags-of-the-world/sk.png b/src/img/flags-of-the-world/sk.png new file mode 100644 index 000000000..393bf0a3c Binary files /dev/null and b/src/img/flags-of-the-world/sk.png differ diff --git a/src/img/flags-of-the-world/sl.png b/src/img/flags-of-the-world/sl.png new file mode 100644 index 000000000..8bb199609 Binary files /dev/null and b/src/img/flags-of-the-world/sl.png differ diff --git a/src/img/flags-of-the-world/sm.png b/src/img/flags-of-the-world/sm.png new file mode 100644 index 000000000..588cc57dd Binary files /dev/null and b/src/img/flags-of-the-world/sm.png differ diff --git a/src/img/flags-of-the-world/sn.png b/src/img/flags-of-the-world/sn.png new file mode 100644 index 000000000..0fb08c084 Binary files /dev/null and b/src/img/flags-of-the-world/sn.png differ diff --git a/src/img/flags-of-the-world/so.png b/src/img/flags-of-the-world/so.png new file mode 100644 index 000000000..1fcea0ab9 Binary files /dev/null and b/src/img/flags-of-the-world/so.png differ diff --git a/src/img/flags-of-the-world/sr.png b/src/img/flags-of-the-world/sr.png new file mode 100644 index 000000000..a95ff17aa Binary files /dev/null and b/src/img/flags-of-the-world/sr.png differ diff --git a/src/img/flags-of-the-world/ss.png b/src/img/flags-of-the-world/ss.png new file mode 100644 index 000000000..48dfff090 Binary files /dev/null and b/src/img/flags-of-the-world/ss.png differ diff --git a/src/img/flags-of-the-world/st.png b/src/img/flags-of-the-world/st.png new file mode 100644 index 000000000..2a0893ef8 Binary files /dev/null and b/src/img/flags-of-the-world/st.png differ diff --git a/src/img/flags-of-the-world/sv.png b/src/img/flags-of-the-world/sv.png new file mode 100644 index 000000000..fdaef20bf Binary files /dev/null and b/src/img/flags-of-the-world/sv.png differ diff --git a/src/img/flags-of-the-world/sx.png b/src/img/flags-of-the-world/sx.png new file mode 100644 index 000000000..4904a3e06 Binary files /dev/null and b/src/img/flags-of-the-world/sx.png differ diff --git a/src/img/flags-of-the-world/sy.png b/src/img/flags-of-the-world/sy.png new file mode 100644 index 000000000..120405fa9 Binary files /dev/null and b/src/img/flags-of-the-world/sy.png differ diff --git a/src/img/flags-of-the-world/sz.png b/src/img/flags-of-the-world/sz.png new file mode 100644 index 000000000..1a44d5898 Binary files /dev/null and b/src/img/flags-of-the-world/sz.png differ diff --git a/src/img/flags-of-the-world/tc.png b/src/img/flags-of-the-world/tc.png new file mode 100644 index 000000000..a4ced626a Binary files /dev/null and b/src/img/flags-of-the-world/tc.png differ diff --git a/src/img/flags-of-the-world/td.png b/src/img/flags-of-the-world/td.png new file mode 100644 index 000000000..bdb4c2534 Binary files /dev/null and b/src/img/flags-of-the-world/td.png differ diff --git a/src/img/flags-of-the-world/tf.png b/src/img/flags-of-the-world/tf.png new file mode 100644 index 000000000..71954b009 Binary files /dev/null and b/src/img/flags-of-the-world/tf.png differ diff --git a/src/img/flags-of-the-world/tg.png b/src/img/flags-of-the-world/tg.png new file mode 100644 index 000000000..26519e4a7 Binary files /dev/null and b/src/img/flags-of-the-world/tg.png differ diff --git a/src/img/flags-of-the-world/th.png b/src/img/flags-of-the-world/th.png new file mode 100644 index 000000000..a49ac81e2 Binary files /dev/null and b/src/img/flags-of-the-world/th.png differ diff --git a/src/img/flags-of-the-world/tj.png b/src/img/flags-of-the-world/tj.png new file mode 100644 index 000000000..beda8e9e1 Binary files /dev/null and b/src/img/flags-of-the-world/tj.png differ diff --git a/src/img/flags-of-the-world/tk.png b/src/img/flags-of-the-world/tk.png new file mode 100644 index 000000000..564db8b16 Binary files /dev/null and b/src/img/flags-of-the-world/tk.png differ diff --git a/src/img/flags-of-the-world/tl.png b/src/img/flags-of-the-world/tl.png new file mode 100644 index 000000000..271088bdd Binary files /dev/null and b/src/img/flags-of-the-world/tl.png differ diff --git a/src/img/flags-of-the-world/tm.png b/src/img/flags-of-the-world/tm.png new file mode 100644 index 000000000..a931645ca Binary files /dev/null and b/src/img/flags-of-the-world/tm.png differ diff --git a/src/img/flags-of-the-world/tn.png b/src/img/flags-of-the-world/tn.png new file mode 100644 index 000000000..1466fa4a8 Binary files /dev/null and b/src/img/flags-of-the-world/tn.png differ diff --git a/src/img/flags-of-the-world/to.png b/src/img/flags-of-the-world/to.png new file mode 100644 index 000000000..c7d58cb43 Binary files /dev/null and b/src/img/flags-of-the-world/to.png differ diff --git a/src/img/flags-of-the-world/tr.png b/src/img/flags-of-the-world/tr.png new file mode 100644 index 000000000..6c6b1b3fe Binary files /dev/null and b/src/img/flags-of-the-world/tr.png differ diff --git a/src/img/flags-of-the-world/tt.png b/src/img/flags-of-the-world/tt.png new file mode 100644 index 000000000..7d206d703 Binary files /dev/null and b/src/img/flags-of-the-world/tt.png differ diff --git a/src/img/flags-of-the-world/tv.png b/src/img/flags-of-the-world/tv.png new file mode 100644 index 000000000..5aedacecf Binary files /dev/null and b/src/img/flags-of-the-world/tv.png differ diff --git a/src/img/flags-of-the-world/tw.png b/src/img/flags-of-the-world/tw.png new file mode 100644 index 000000000..e5104ee66 Binary files /dev/null and b/src/img/flags-of-the-world/tw.png differ diff --git a/src/img/flags-of-the-world/tz.png b/src/img/flags-of-the-world/tz.png new file mode 100644 index 000000000..8d6e8d2d3 Binary files /dev/null and b/src/img/flags-of-the-world/tz.png differ diff --git a/src/img/flags-of-the-world/ua.png b/src/img/flags-of-the-world/ua.png new file mode 100644 index 000000000..3e71d69a0 Binary files /dev/null and b/src/img/flags-of-the-world/ua.png differ diff --git a/src/img/flags-of-the-world/ug.png b/src/img/flags-of-the-world/ug.png new file mode 100644 index 000000000..ccafc713b Binary files /dev/null and b/src/img/flags-of-the-world/ug.png differ diff --git a/src/img/flags-of-the-world/um.png b/src/img/flags-of-the-world/um.png new file mode 100644 index 000000000..68ca505ea Binary files /dev/null and b/src/img/flags-of-the-world/um.png differ diff --git a/src/img/flags-of-the-world/us.png b/src/img/flags-of-the-world/us.png new file mode 100644 index 000000000..68ca505ea Binary files /dev/null and b/src/img/flags-of-the-world/us.png differ diff --git a/src/img/flags-of-the-world/uy.png b/src/img/flags-of-the-world/uy.png new file mode 100644 index 000000000..a198d4b85 Binary files /dev/null and b/src/img/flags-of-the-world/uy.png differ diff --git a/src/img/flags-of-the-world/uz.png b/src/img/flags-of-the-world/uz.png new file mode 100644 index 000000000..5077322c0 Binary files /dev/null and b/src/img/flags-of-the-world/uz.png differ diff --git a/src/img/flags-of-the-world/va.png b/src/img/flags-of-the-world/va.png new file mode 100644 index 000000000..fa99f24f2 Binary files /dev/null and b/src/img/flags-of-the-world/va.png differ diff --git a/src/img/flags-of-the-world/vc.png b/src/img/flags-of-the-world/vc.png new file mode 100644 index 000000000..3b8cac2f8 Binary files /dev/null and b/src/img/flags-of-the-world/vc.png differ diff --git a/src/img/flags-of-the-world/ve.png b/src/img/flags-of-the-world/ve.png new file mode 100644 index 000000000..39db5fb20 Binary files /dev/null and b/src/img/flags-of-the-world/ve.png differ diff --git a/src/img/flags-of-the-world/vg.png b/src/img/flags-of-the-world/vg.png new file mode 100644 index 000000000..a6241a50b Binary files /dev/null and b/src/img/flags-of-the-world/vg.png differ diff --git a/src/img/flags-of-the-world/vi.png b/src/img/flags-of-the-world/vi.png new file mode 100644 index 000000000..700880a73 Binary files /dev/null and b/src/img/flags-of-the-world/vi.png differ diff --git a/src/img/flags-of-the-world/vn.png b/src/img/flags-of-the-world/vn.png new file mode 100644 index 000000000..6476c626e Binary files /dev/null and b/src/img/flags-of-the-world/vn.png differ diff --git a/src/img/flags-of-the-world/vu.png b/src/img/flags-of-the-world/vu.png new file mode 100644 index 000000000..a54d97db9 Binary files /dev/null and b/src/img/flags-of-the-world/vu.png differ diff --git a/src/img/flags-of-the-world/wf.png b/src/img/flags-of-the-world/wf.png new file mode 100644 index 000000000..ab9badba7 Binary files /dev/null and b/src/img/flags-of-the-world/wf.png differ diff --git a/src/img/flags-of-the-world/ws.png b/src/img/flags-of-the-world/ws.png new file mode 100644 index 000000000..fd5281057 Binary files /dev/null and b/src/img/flags-of-the-world/ws.png differ diff --git a/src/img/flags-of-the-world/xk.png b/src/img/flags-of-the-world/xk.png new file mode 100644 index 000000000..af231de19 Binary files /dev/null and b/src/img/flags-of-the-world/xk.png differ diff --git a/src/img/flags-of-the-world/ye.png b/src/img/flags-of-the-world/ye.png new file mode 100644 index 000000000..2448e5b0b Binary files /dev/null and b/src/img/flags-of-the-world/ye.png differ diff --git a/src/img/flags-of-the-world/yt.png b/src/img/flags-of-the-world/yt.png new file mode 100644 index 000000000..c93a0d742 Binary files /dev/null and b/src/img/flags-of-the-world/yt.png differ diff --git a/src/img/flags-of-the-world/za.png b/src/img/flags-of-the-world/za.png new file mode 100644 index 000000000..eddb8bd30 Binary files /dev/null and b/src/img/flags-of-the-world/za.png differ diff --git a/src/img/flags-of-the-world/zm.png b/src/img/flags-of-the-world/zm.png new file mode 100644 index 000000000..17730f142 Binary files /dev/null and b/src/img/flags-of-the-world/zm.png differ diff --git a/src/img/flags-of-the-world/zw.png b/src/img/flags-of-the-world/zw.png new file mode 100644 index 000000000..e506cc7bd Binary files /dev/null and b/src/img/flags-of-the-world/zw.png differ diff --git a/src/js/3p-filters.js b/src/js/3p-filters.js index 682a83c8d..ea568a977 100644 --- a/src/js/3p-filters.js +++ b/src/js/3p-filters.js @@ -110,7 +110,6 @@ const renderFilterLists = ( ) => { } const on = dom.cl.has(listEntry, 'checked'); dom.prop(qs$(listEntry, ':scope > .detailbar input'), 'checked', on); - dom.text(qs$(listEntry, ':scope > .detailbar .listname'), listDetails.title); let elem = qs$(listEntry, ':scope > .detailbar a.content'); dom.attr(elem, 'href', 'asset-viewer.html?url=' + encodeURIComponent(listkey)); dom.attr(elem, 'type', 'text/html'); @@ -190,7 +189,9 @@ const renderFilterLists = ( ) => { } listEntry.dataset.key = listkey; listEntry.dataset.parent = parentkey; - dom.text(qs$(listEntry, '.listname'), listDetails.title); + qs$(listEntry, ':scope > .detailbar .listname').append( + i18n.patchUnicodeFlags(listDetails.title) + ); if ( listDetails.lists !== undefined ) { listEntry.append(createListEntries(listEntry.dataset.key, listDetails.lists, depth+1)); dom.cl.toggle(listEntry, 'expanded', listIsExpanded(listkey)); diff --git a/src/js/document-blocked.js b/src/js/document-blocked.js index 9e4f15cb7..ffae1bdfe 100644 --- a/src/js/document-blocked.js +++ b/src/js/document-blocked.js @@ -21,7 +21,7 @@ 'use strict'; -import { i18n$ } from './i18n.js'; +import { i18n, i18n$ } from './i18n.js'; import { dom, qs$ } from './dom.js'; /******************************************************************************/ @@ -64,7 +64,7 @@ let details = {}; const listElem = dom.clone('#templates .filterList'); const sourceElem = qs$(listElem, '.filterListSource'); sourceElem.href += encodeURIComponent(list.assetKey); - dom.text(sourceElem, list.title); + sourceElem.append(i18n.patchUnicodeFlags(list.title)); if ( typeof list.supportURL === 'string' && list.supportURL !== '' ) { const supportElem = qs$(listElem, '.filterListSupport'); dom.attr(supportElem, 'href', list.supportURL); diff --git a/src/js/i18n.js b/src/js/i18n.js index 85d350f58..44bf3762c 100644 --- a/src/js/i18n.js +++ b/src/js/i18n.js @@ -293,6 +293,48 @@ if ( isBackgroundProcess !== true ) { return i18n$('elapsedManyDaysAgo').replace('{{value}}', Math.floor(value).toLocaleString()); }; + const unicodeFlagToImageSrc = new Map([ + [ '🇦🇱', 'al' ], [ '🇧🇬', 'bg' ], [ '🇧🇷', 'br' ], [ '🇨🇳', 'cn' ], + [ '🇨🇿', 'cz' ], [ '🇩🇪', 'de' ], [ '🇩🇰', 'dk' ], [ '🇪🇪', 'ee' ], + [ '🇪🇸', 'es' ], [ '🇫🇮', 'fi' ], [ '🇫🇷', 'fr' ], [ '🇬🇷', 'gr' ], + [ '🇭🇷', 'hr' ], [ '🇭🇺', 'hu' ], [ '🇮🇩', 'id' ], [ '🇮🇱', 'il' ], + [ '🇮🇳', 'in' ], [ '🇮🇷', 'ir' ], [ '🇮🇸', 'is' ], [ '🇮🇹', 'it' ], + [ '🇯🇵', 'jp' ], [ '🇰🇷', 'kr' ], [ '🇰🇿', 'kz' ], [ '🇱🇰', 'lk' ], + [ '🇱🇹', 'lt' ], [ '🇱🇻', 'lv' ], [ '🇲🇰', 'mk' ], [ '🇲🇾', 'my' ], + [ '🇳🇱', 'nl' ], [ '🇳🇴', 'no' ], [ '🇳🇵', 'np' ], [ '🇵🇱', 'pl' ], + [ '🇵🇹', 'pt' ], [ '🇷🇴', 'ro' ], [ '🇷🇸', 'rs' ], [ '🇷🇺', 'ru' ], + [ '🇸🇮', 'si' ], [ '🇸🇰', 'sk' ], [ '🇸🇪', 'se' ], [ '🇹🇭', 'th' ], + [ '🇹🇼', 'tw' ], [ '🇹🇷', 'tr' ], [ '🇺🇦', 'ua' ], [ '🇺🇿', 'uz' ], + [ '🇻🇳', 'vn' ], + ]); + const reUnicodeFlags = new RegExp( + Array.from(unicodeFlagToImageSrc).map(a => a[0]).join('|'), + 'gu' + ); + i18n.patchUnicodeFlags = function(text) { + const fragment = document.createDocumentFragment(); + let i = 0; + for (;;) { + const match = reUnicodeFlags.exec(text); + if ( match === null ) { break; } + if ( match.index > i ) { + fragment.append(document.createTextNode(text.slice(i, match.index))); + } + const img = document.createElement('img'); + const countryCode = unicodeFlagToImageSrc.get(match[0]); + img.src = `/img/flags-of-the-world/${countryCode}.png`; + img.title = countryCode; + img.classList.add('countryFlag'); + fragment.append(img); + fragment.append(document.createTextNode('\u2009')); + i = reUnicodeFlags.lastIndex; + } + if ( i < text.length ) { + fragment.append(document.createTextNode(text.slice(i))); + } + return fragment; + }; + i18n.render(); } diff --git a/src/js/logger-ui.js b/src/js/logger-ui.js index f71510766..bd1bc496c 100644 --- a/src/js/logger-ui.js +++ b/src/js/logger-ui.js @@ -1654,7 +1654,7 @@ dom.on(document, 'keydown', ev => { const span = dom.clone(template); let a = qs$(span, 'a:nth-of-type(1)'); a.href += encodeURIComponent(list.assetKey); - a.textContent = list.title; + a.append(i18n.patchUnicodeFlags(list.title)); a = qs$(span, 'a:nth-of-type(2)'); if ( list.supportURL ) { dom.attr(a, 'href', list.supportURL);