1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

description

This commit is contained in:
Laserlicht 2023-10-01 00:35:11 +02:00 committed by GitHub
parent 65c21064b5
commit 648a37310f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 0 deletions

View File

@ -53,6 +53,8 @@
"vcmi.lobby.creationDate" : "Creation date",
"vcmi.lobby.scenarioName" : "Scenario name",
"vcmi.lobby.mapPreview" : "Map preview",
"vcmi.lobby.noPreview" : "no preview",
"vcmi.lobby.noUnderground" : "no underground",
"vcmi.server.errors.existingProcess" : "Another VCMI server process is running. Please terminate it before starting a new game.",
"vcmi.server.errors.modsToEnable" : "{Following mods are required}",

View File

@ -52,6 +52,8 @@
"vcmi.lobby.creationDate" : "Erstellungsdatum",
"vcmi.lobby.scenarioName" : "Szenario-Name",
"vcmi.lobby.mapPreview" : "Kartenvorschau",
"vcmi.lobby.noPreview" : "Keine Vorschau",
"vcmi.lobby.noUnderground" : "Kein Untergrund",
"vcmi.server.errors.existingProcess" : "Es läuft ein weiterer vcmiserver-Prozess, bitte beendet diesen zuerst",
"vcmi.server.errors.modsToEnable" : "{Erforderliche Mods um das Spiel zu laden}",

View File

@ -196,4 +196,9 @@ CMapOverview::CMapOverviewWidget::CMapOverviewWidget(CMapOverview& parent):
else
w->setText(p.date);
}
if(auto w = widget<CLabel>("noUnderground"))
{
if(minimaps.size() == 0)
w->setText("");
}
}

View File

@ -56,6 +56,14 @@
"color": [0, 0, 0, 255],
"colorLine": [128, 100, 75, 255]
},
{
"type": "label",
"font": "small",
"alignment": "center",
"color": "white",
"text": "vcmi.lobby.noPreview",
"position": {"x": 114, "y": 164}
},
{
"type": "drawMinimap",
"id": 0,
@ -67,6 +75,15 @@
"color": [0, 0, 0, 255],
"colorLine": [128, 100, 75, 255]
},
{
"type": "label",
"name": "noUnderground",
"font": "small",
"alignment": "center",
"color": "white",
"text": "vcmi.lobby.noUnderground",
"position": {"x": 313, "y": 164}
},
{
"type": "drawMinimap",
"id": 1,