Refactor code structure for improved readability and maintainability

This commit is contained in:
sHa
2025-06-18 17:02:46 +03:00
parent 83dd8245a8
commit 2463661748
7 changed files with 398 additions and 35 deletions

View File

@@ -27,5 +27,20 @@
"description": "The national emblem of Ethiopia, featuring a lion and a sun.", "description": "The national emblem of Ethiopia, featuring a lion and a sun.",
"wikipedia": "https://en.wikipedia.org/wiki/Emblem_of_Ethiopia" "wikipedia": "https://en.wikipedia.org/wiki/Emblem_of_Ethiopia"
} }
},
{
"name": "Coat of Arms of Andorra",
"path": "Coat_of_arms_of_Andorra.svg",
"format": "SVG",
"disable": false,
"tags": [
"Andorra",
"Coat of arms",
"National emblem"
],
"meta": {
"description": "The coat of arms of Andorra, featuring a shield with the symbols of the four founding families.",
"wikipedia": "https://en.wikipedia.org/wiki/Coat_of_arms_of_Andorra"
}
} }
] ]

View File

@@ -312,9 +312,9 @@
"disable": false, "disable": false,
"tags": [ "tags": [
"Country", "Country",
"North America", "North America"
"British Overseas Territory"
], ],
"brand": "British Overseas Territory",
"meta": { "meta": {
"country": "Anguilla", "country": "Anguilla",
"capital": "The Valley", "capital": "The Valley",
@@ -735,9 +735,9 @@
"disable": false, "disable": false,
"tags": [ "tags": [
"Country", "Country",
"North America", "North America"
"British Overseas Territory"
], ],
"brand": "British Overseas Territory",
"meta": { "meta": {
"country": "Bermuda", "country": "Bermuda",
"capital": "Hamilton", "capital": "Hamilton",
@@ -1072,9 +1072,9 @@
"disable": false, "disable": false,
"tags": [ "tags": [
"Country", "Country",
"Oceania", "Oceania"
"British Overseas Territory"
], ],
"brand": "British Overseas Territory",
"meta": { "meta": {
"country": "Cook Islands", "country": "Cook Islands",
"capital": "Avarua", "capital": "Avarua",
@@ -1327,9 +1327,9 @@
"disable": false, "disable": false,
"tags": [ "tags": [
"Country", "Country",
"Asia", "Asia"
"British Overseas Territory"
], ],
"brand": "British Overseas Territory",
"meta": { "meta": {
"country": "Diego Garcia", "country": "Diego Garcia",
"capital": "", "capital": "",
@@ -1686,6 +1686,7 @@
"Country", "Country",
"South America" "South America"
], ],
"brand": "British Overseas Territory",
"meta": { "meta": {
"country": "Falkland Islands", "country": "Falkland Islands",
"capital": "Stanley", "capital": "Stanley",
@@ -1924,9 +1925,9 @@
"disable": false, "disable": false,
"tags": [ "tags": [
"Country", "Country",
"Europe", "Europe"
"British Crown Dependency"
], ],
"brand": "British Crown Dependency",
"meta": { "meta": {
"country": "Guernsey", "country": "Guernsey",
"capital": "St. Peter Port", "capital": "St. Peter Port",
@@ -1961,9 +1962,9 @@
"disable": false, "disable": false,
"tags": [ "tags": [
"Country", "Country",
"Europe", "Europe"
"British Overseas Territory"
], ],
"brand": "British Overseas Territory",
"meta": { "meta": {
"country": "Gibraltar", "country": "Gibraltar",
"capital": "Gibraltar", "capital": "Gibraltar",
@@ -2090,9 +2091,9 @@
"disable": false, "disable": false,
"tags": [ "tags": [
"Country", "Country",
"Antarctica", "Antarctica"
"British Overseas Territory"
], ],
"brand": "British Overseas Territory",
"meta": { "meta": {
"country": "South Georgia and the South Sandwich Islands", "country": "South Georgia and the South Sandwich Islands",
"capital": "King Edward Point", "capital": "King Edward Point",
@@ -2363,9 +2364,9 @@
"disable": false, "disable": false,
"tags": [ "tags": [
"Country", "Country",
"British Crown Dependency",
"Europe" "Europe"
], ],
"brand": "British Crown Dependency",
"meta": { "meta": {
"country": "Isle of Man", "country": "Isle of Man",
"capital": "Douglas", "capital": "Douglas",
@@ -2400,9 +2401,9 @@
"disable": false, "disable": false,
"tags": [ "tags": [
"Country", "Country",
"British Overseas Territory",
"Asia" "Asia"
], ],
"brand": "British Overseas Territory",
"meta": { "meta": {
"country": "British Indian Ocean Territory", "country": "British Indian Ocean Territory",
"capital": "Diego Garcia", "capital": "Diego Garcia",
@@ -2491,9 +2492,9 @@
"disable": false, "disable": false,
"tags": [ "tags": [
"Country", "Country",
"Europe", "Europe"
"British Crown Dependency"
], ],
"brand": "British Crown Dependency",
"meta": { "meta": {
"country": "Jersey", "country": "Jersey",
"capital": "Saint Helier", "capital": "Saint Helier",
@@ -2726,9 +2727,9 @@
"disable": false, "disable": false,
"tags": [ "tags": [
"Country", "Country",
"North America", "North America"
"British Overseas Territory"
], ],
"brand": "British Overseas Territory",
"meta": { "meta": {
"country": "Cayman Islands", "country": "Cayman Islands",
"capital": "George Town", "capital": "George Town",
@@ -3234,9 +3235,9 @@
"disable": false, "disable": false,
"tags": [ "tags": [
"Country", "Country",
"North America", "North America"
"British Overseas Territory"
], ],
"brand": "British Overseas Territory",
"meta": { "meta": {
"country": "Montserrat", "country": "Montserrat",
"capital": "Plymouth", "capital": "Plymouth",
@@ -4086,9 +4087,9 @@
"disable": false, "disable": false,
"tags": [ "tags": [
"Country", "Country",
"North America", "North America"
"British Overseas Territory"
], ],
"brand": "British Overseas Territory",
"meta": { "meta": {
"country": "Saint Kitts and Nevis", "country": "Saint Kitts and Nevis",
"capital": "Basseterre", "capital": "Basseterre",
@@ -4105,9 +4106,9 @@
"disable": false, "disable": false,
"tags": [ "tags": [
"Country", "Country",
"Africa", "Africa"
"British Overseas Territory"
], ],
"brand": "British Overseas Territory",
"meta": { "meta": {
"country": "Saint Helena, Ascension and Tristan da Cunha", "country": "Saint Helena, Ascension and Tristan da Cunha",
"capital": "Jamestown", "capital": "Jamestown",
@@ -4124,9 +4125,9 @@
"disable": false, "disable": false,
"tags": [ "tags": [
"Country", "Country",
"Africa", "Africa"
"British Overseas Territory"
], ],
"brand": "British Overseas Territory",
"meta": { "meta": {
"country": "Tristan da Cunha", "country": "Tristan da Cunha",
"capital": "Edinburgh of the Seven Seas", "capital": "Edinburgh of the Seven Seas",
@@ -4397,9 +4398,9 @@
"disable": false, "disable": false,
"tags": [ "tags": [
"Country", "Country",
"North America", "North America"
"British Overseas Territory"
], ],
"brand": "British Overseas Territory",
"meta": { "meta": {
"country": "Turks and Caicos Islands", "country": "Turks and Caicos Islands",
"capital": "Cockburn Town", "capital": "Cockburn Town",
@@ -4634,9 +4635,9 @@
"disable": false, "disable": false,
"tags": [ "tags": [
"Country", "Country",
"Oceania", "Oceania"
"British Overseas Territory"
], ],
"brand": "British Overseas Territory",
"meta": { "meta": {
"country": "Tuvalu", "country": "Tuvalu",
"capital": "Funafuti", "capital": "Funafuti",
@@ -4869,9 +4870,9 @@
"disable": false, "disable": false,
"tags": [ "tags": [
"Country", "Country",
"North America", "North America"
"British Overseas Territory"
], ],
"brand": "British Overseas Territory",
"meta": { "meta": {
"country": "Virgin Islands (British)", "country": "Virgin Islands (British)",
"capital": "Road Town", "capital": "Road Town",

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

View File

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

View File

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 58 KiB