mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-16 08:33:09 +00:00
## Description: Added tests/NationNameLength.test.ts to enforce nation name length ≤27. Updated manifest.json files in resources/maps with shorter names to pass the test. This fix ensures that names will no longer be truncated Examples of country names that are too long and have their endings cut off <img width="231" height="331" alt="スクリーンショット 2025-10-01 10 51 40" src="https://github.com/user-attachments/assets/8c4611ab-f97b-4606-9834-7816dbd1ee8d" /> ### Changes - Replaced overly long country names with shorter common forms: - "The Democratic Republic of the Congo" -> "DR Congo" - "Democratic Republic of the Congo" -> "DR Congo" - "Lao People's Democratic Republic" -> "Laos" - "Federated States of Micronesia" -> "Micronesia" - "People's Democratic Republic of Algeria" -> "Algeria" - "People's Republic of Algeria'" -> "Algeria" ## 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: aotumuri
201 lines
4.0 KiB
JSON
201 lines
4.0 KiB
JSON
{
|
|
"map": {
|
|
"height": 1968,
|
|
"num_land_tiles": 2239818,
|
|
"width": 2216
|
|
},
|
|
"map16x": {
|
|
"height": 492,
|
|
"num_land_tiles": 136295,
|
|
"width": 554
|
|
},
|
|
"map4x": {
|
|
"height": 984,
|
|
"num_land_tiles": 555003,
|
|
"width": 1108
|
|
},
|
|
"name": "GatewayToTheAtlantic",
|
|
"nations": [
|
|
{
|
|
"coordinates": [2144, 344],
|
|
"flag": "ch",
|
|
"name": "Swiss Confederation",
|
|
"strength": 2
|
|
},
|
|
{
|
|
"coordinates": [1964, 371],
|
|
"flag": "burgundy",
|
|
"name": "Kingdom of Burgundy",
|
|
"strength": 2
|
|
},
|
|
{
|
|
"coordinates": [1334, 537],
|
|
"flag": "aquitaine",
|
|
"name": "Duchy of Aquitaine",
|
|
"strength": 2
|
|
},
|
|
{
|
|
"coordinates": [2115, 684],
|
|
"flag": "provence",
|
|
"name": "County of Provence",
|
|
"strength": 2
|
|
},
|
|
{
|
|
"coordinates": [1207, 763],
|
|
"flag": "es-pv",
|
|
"name": "The Basque",
|
|
"strength": 3
|
|
},
|
|
{
|
|
"coordinates": [1281, 1142],
|
|
"flag": "valencia",
|
|
"name": "Kingdom of Valencia",
|
|
"strength": 2
|
|
},
|
|
{
|
|
"coordinates": [1660, 891],
|
|
"flag": "catalonia",
|
|
"name": "Catalonia",
|
|
"strength": 2
|
|
},
|
|
{
|
|
"coordinates": [561, 764],
|
|
"flag": "es-ga",
|
|
"name": "Kingdom of Galicia",
|
|
"strength": 2
|
|
},
|
|
{
|
|
"coordinates": [1004, 1436],
|
|
"flag": "granada",
|
|
"name": "Emirate of Granada",
|
|
"strength": 2
|
|
},
|
|
{
|
|
"coordinates": [431, 1197],
|
|
"flag": "pt",
|
|
"name": "Portuguese Republic",
|
|
"strength": 2
|
|
},
|
|
{
|
|
"coordinates": [560, 1894],
|
|
"flag": "ma",
|
|
"name": "Kingdom of Morocco",
|
|
"strength": 2
|
|
},
|
|
{
|
|
"coordinates": [1609, 1837],
|
|
"flag": "dz",
|
|
"name": "Algeria",
|
|
"strength": 2
|
|
},
|
|
{
|
|
"coordinates": [1733, 622],
|
|
"flag": "armagnac",
|
|
"name": "County of Armagnac",
|
|
"strength": 2
|
|
},
|
|
{
|
|
"coordinates": [896, 1240],
|
|
"flag": "cordoba",
|
|
"name": "City of Cordoba",
|
|
"strength": 2
|
|
},
|
|
{
|
|
"coordinates": [636, 1781],
|
|
"flag": "seville",
|
|
"name": "City of Seville",
|
|
"strength": 2
|
|
},
|
|
{
|
|
"coordinates": [750, 873],
|
|
"flag": "leon",
|
|
"name": "Kingdom of Leon",
|
|
"strength": 2
|
|
},
|
|
{
|
|
"coordinates": [1001, 882],
|
|
"flag": "castille",
|
|
"name": "Kingdom of Castille",
|
|
"strength": 2
|
|
},
|
|
{
|
|
"coordinates": [775, 724],
|
|
"flag": "asturias",
|
|
"name": "Principality of Asturias",
|
|
"strength": 2
|
|
},
|
|
{
|
|
"coordinates": [1755, 1130],
|
|
"flag": "neuragic_empire",
|
|
"name": "The Old Ones",
|
|
"strength": 3
|
|
},
|
|
{
|
|
"coordinates": [2097, 1670],
|
|
"flag": "Amazigh flag",
|
|
"name": "Tamazgha",
|
|
"strength": 2
|
|
},
|
|
{
|
|
"coordinates": [979, 1013],
|
|
"flag": "es",
|
|
"name": "Kingdom of Spain",
|
|
"strength": 2
|
|
},
|
|
{
|
|
"coordinates": [468, 930],
|
|
"flag": "sardines",
|
|
"name": "Sardines",
|
|
"strength": 3
|
|
},
|
|
{
|
|
"coordinates": [1667, 96],
|
|
"flag": "paris",
|
|
"name": "City of Paris",
|
|
"strength": 2
|
|
},
|
|
{
|
|
"coordinates": [1716, 296],
|
|
"flag": "baguette",
|
|
"name": "Baguettes",
|
|
"strength": 3
|
|
},
|
|
{
|
|
"coordinates": [1017, 180],
|
|
"flag": "brittany",
|
|
"name": "Kingdom of Brittany",
|
|
"strength": 2
|
|
},
|
|
{
|
|
"coordinates": [2072, 567],
|
|
"flag": "antipope",
|
|
"name": "An Anti-Pope",
|
|
"strength": 3
|
|
},
|
|
{
|
|
"coordinates": [1355, 76],
|
|
"flag": "normandy",
|
|
"name": "Duchy of Normandy",
|
|
"strength": 2
|
|
},
|
|
{
|
|
"coordinates": [1402, 529],
|
|
"flag": "",
|
|
"name": "Wine",
|
|
"strength": 1
|
|
},
|
|
{
|
|
"coordinates": [1475, 1657],
|
|
"flag": "French foreign legion",
|
|
"name": "French Foreign Legion",
|
|
"strength": 3
|
|
},
|
|
{
|
|
"coordinates": [1685, 417],
|
|
"flag": "fr",
|
|
"name": "French Republic",
|
|
"strength": 3
|
|
}
|
|
]
|
|
}
|