Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/session/message_box/OutOfSyncNetwork.js
Show All 21 Lines | let txt = [ | ||||
msg.hash == msg.expectedHash ? | msg.hash == msg.expectedHash ? | ||||
translateWithContext("Out-Of-Sync", "Your game state is identical to the hosts game state.") : | translateWithContext("Out-Of-Sync", "Your game state is identical to the hosts game state.") : | ||||
translateWithContext("Out-Of-Sync", "Your game state differs from the hosts game state."), | translateWithContext("Out-Of-Sync", "Your game state differs from the hosts game state."), | ||||
"" | "" | ||||
]; | ]; | ||||
if (msg.turn > 1 && g_GameAttributes.settings.PlayerData.some(pData => pData && pData.AI)) | if (msg.turn > 1 && g_InitAttributes.settings.PlayerData.some(pData => pData && pData.AI)) | ||||
txt.push(translateWithContext("Out-Of-Sync", "Rejoining Multiplayer games with AIs is not supported yet!")); | txt.push(translateWithContext("Out-Of-Sync", "Rejoining Multiplayer games with AIs is not supported yet!")); | ||||
else | else | ||||
txt.push( | txt.push( | ||||
translateWithContext("Out-Of-Sync", "Ensure all players use the same mods."), | translateWithContext("Out-Of-Sync", "Ensure all players use the same mods."), | ||||
translateWithContext("Out-Of-Sync", 'Click on "Report a Bug" in the main menu to help fix this.'), | translateWithContext("Out-Of-Sync", 'Click on "Report a Bug" in the main menu to help fix this.'), | ||||
sprintf(translateWithContext("Out-Of-Sync", "Replay saved to %(filepath)s"), { | sprintf(translateWithContext("Out-Of-Sync", "Replay saved to %(filepath)s"), { | ||||
"filepath": escapeText(msg.path_replay) | "filepath": escapeText(msg.path_replay) | ||||
}), | }), | ||||
Show All 13 Lines |
Wildfire Games · Phabricator