Fix difference in translation strings regarding the new Between Two Seas map (#416)

##Description:
I renamed all instances of "TwoSeas" to "BetweenTwoSeas". That way it
lowers the confusion but more importrantly - it removes the difference
between the translation strings for the map.

Please put your Discord username so you can be contacted if a bug or
regression is found:

<Nikola123>
This commit is contained in:
Duwibi
2025-04-04 18:42:56 +02:00
committed by GitHub
parent c700b7956f
commit 51bbf2becd
12 changed files with 14 additions and 12 deletions
+5 -3
View File
@@ -95,9 +95,11 @@ export abstract class DefaultServerConfig implements ServerConfig {
}
// Maps smaller than ~2 mil pixels
if (
[GameMapType.TwoSeas, GameMapType.BlackSea, GameMapType.Pangaea].includes(
map,
)
[
GameMapType.BetweenTwoSeas,
GameMapType.BlackSea,
GameMapType.Pangaea,
].includes(map)
) {
return Math.random() < 0.2 ? 60 : 35;
}
+1 -1
View File
@@ -60,7 +60,7 @@ export enum GameMapType {
Australia = "Australia",
Iceland = "Iceland",
Japan = "Japan",
TwoSeas = "Between Two Seas",
BetweenTwoSeas = "Between Two Seas",
KnownWorld = "Known World",
}
+1 -1
View File
@@ -39,7 +39,7 @@ const MAP_FILE_NAMES: Record<GameMapType, string> = {
[GameMapType.Australia]: "Australia",
[GameMapType.Iceland]: "Iceland",
[GameMapType.Japan]: "Japan",
[GameMapType.TwoSeas]: "TwoSeas",
[GameMapType.BetweenTwoSeas]: "BetweenTwoSeas",
[GameMapType.KnownWorld]: "KnownWorld",
};