mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
reuse strings
This commit is contained in:
parent
e9b2159c0a
commit
1274790023
@ -64,10 +64,6 @@
|
|||||||
"vcmi.mainMenu.hostTCP" : "Host TCP/IP game",
|
"vcmi.mainMenu.hostTCP" : "Host TCP/IP game",
|
||||||
"vcmi.mainMenu.joinTCP" : "Join TCP/IP game",
|
"vcmi.mainMenu.joinTCP" : "Join TCP/IP game",
|
||||||
|
|
||||||
"vcmi.multiplayerWelcomeMessage.additionalSettings" : "Additional settings",
|
|
||||||
"vcmi.multiplayerWelcomeMessage.cheatsAllowed" : "Cheats allowed",
|
|
||||||
"vcmi.multiplayerWelcomeMessage.unlimitedReplays" : "Unlimited battle replays",
|
|
||||||
|
|
||||||
"vcmi.lobby.filepath" : "File path",
|
"vcmi.lobby.filepath" : "File path",
|
||||||
"vcmi.lobby.creationDate" : "Creation date",
|
"vcmi.lobby.creationDate" : "Creation date",
|
||||||
"vcmi.lobby.scenarioName" : "Scenario name",
|
"vcmi.lobby.scenarioName" : "Scenario name",
|
||||||
|
@ -64,10 +64,6 @@
|
|||||||
"vcmi.mainMenu.hostTCP" : "Hoste TCP/IP Spiel",
|
"vcmi.mainMenu.hostTCP" : "Hoste TCP/IP Spiel",
|
||||||
"vcmi.mainMenu.joinTCP" : "Trete TCP/IP Spiel bei",
|
"vcmi.mainMenu.joinTCP" : "Trete TCP/IP Spiel bei",
|
||||||
|
|
||||||
"vcmi.multiplayerWelcomeMessage.additionalSettings" : "Zusätzliche Einstellungen",
|
|
||||||
"vcmi.multiplayerWelcomeMessage.cheatsAllowed" : "Cheats erlaubt",
|
|
||||||
"vcmi.multiplayerWelcomeMessage.unlimitedReplays" : "Unbegrenzte Kampfwiederholungen",
|
|
||||||
|
|
||||||
"vcmi.lobby.filepath" : "Dateipfad",
|
"vcmi.lobby.filepath" : "Dateipfad",
|
||||||
"vcmi.lobby.creationDate" : "Erstellungsdatum",
|
"vcmi.lobby.creationDate" : "Erstellungsdatum",
|
||||||
"vcmi.lobby.scenarioName" : "Szenario-Name",
|
"vcmi.lobby.scenarioName" : "Szenario-Name",
|
||||||
|
@ -994,15 +994,15 @@ void CVCMIServer::multiplayerWelcomeMessage()
|
|||||||
|
|
||||||
std::vector<std::string> optionIds;
|
std::vector<std::string> optionIds;
|
||||||
if(si->extraOptionsInfo.cheatsAllowed)
|
if(si->extraOptionsInfo.cheatsAllowed)
|
||||||
optionIds.push_back("vcmi.multiplayerWelcomeMessage.cheatsAllowed");
|
optionIds.push_back("vcmi.optionsTab.cheatAllowed.hover");
|
||||||
if(si->extraOptionsInfo.unlimitedReplay)
|
if(si->extraOptionsInfo.unlimitedReplay)
|
||||||
optionIds.push_back("vcmi.multiplayerWelcomeMessage.unlimitedReplays");
|
optionIds.push_back("vcmi.optionsTab.unlimitedReplay.hover");
|
||||||
|
|
||||||
if(!optionIds.size()) // No settings to publish
|
if(!optionIds.size()) // No settings to publish
|
||||||
return;
|
return;
|
||||||
|
|
||||||
MetaString str;
|
MetaString str;
|
||||||
str.appendTextID("vcmi.multiplayerWelcomeMessage.additionalSettings");
|
str.appendTextID("vcmi.optionsTab.extraOptions.hover");
|
||||||
str.appendRawString(": ");
|
str.appendRawString(": ");
|
||||||
for(int i = 0; i < optionIds.size(); i++)
|
for(int i = 0; i < optionIds.size(); i++)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user