mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Descriptions
This commit is contained in:
@@ -38,6 +38,9 @@
|
|||||||
"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.mainMenu.playerName" : "Player",
|
"vcmi.mainMenu.playerName" : "Player",
|
||||||
|
|
||||||
|
"vcmi.lobby.filename" : "Filename",
|
||||||
|
"vcmi.lobby.creationDate" : "Creation date",
|
||||||
|
|
||||||
"vcmi.server.errors.existingProcess" : "Another VCMI server process is running. Please terminate it before starting a new game.",
|
"vcmi.server.errors.existingProcess" : "Another VCMI server process is running. Please terminate it before starting a new game.",
|
||||||
"vcmi.server.errors.modsIncompatibility" : "The following mods are required to load the game:",
|
"vcmi.server.errors.modsIncompatibility" : "The following mods are required to load the game:",
|
||||||
|
@@ -326,17 +326,17 @@ void SelectionTab::clickDouble(const Point & cursorPosition)
|
|||||||
|
|
||||||
void SelectionTab::showPopupWindow(const Point & cursorPosition)
|
void SelectionTab::showPopupWindow(const Point & cursorPosition)
|
||||||
{
|
{
|
||||||
int position = getLine();
|
int position = getLine();
|
||||||
int py = position + slider->getValue();
|
int py = position + slider->getValue();
|
||||||
|
|
||||||
if(py >= curItems.size())
|
if(py >= curItems.size())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
std::string text = "{" + curItems[py]->getName() + "}\n\n" + curItems[py]->fileURI;
|
std::string text = "{" + curItems[py]->getName() + "}\r\n\r\n";
|
||||||
|
text += CGI->generaltexth->translate("vcmi.lobby.filename") + ":\r\n" + curItems[py]->fileURI;
|
||||||
if(curItems[py]->date != "")
|
if(curItems[py]->date != "")
|
||||||
text += "\n\n" + curItems[py]->date;
|
text += "\r\n\r\n" + CGI->generaltexth->translate("vcmi.lobby.creationDate") + ":\r\n" + curItems[py]->date;
|
||||||
|
|
||||||
CRClickPopup::createAndPush(text);
|
CRClickPopup::createAndPush(text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user