mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Address review comments
This commit is contained in:
@@ -160,21 +160,21 @@ MapSettings::MapSettings(MapController & ctrl, QWidget *parent) :
|
|||||||
|
|
||||||
//victory & loss conditions
|
//victory & loss conditions
|
||||||
const std::array<std::string, 8> conditionStringsWin = {
|
const std::array<std::string, 8> conditionStringsWin = {
|
||||||
"No special victory",
|
QT_TR_NOOP("No special victory"),
|
||||||
"Have artifact",
|
QT_TR_NOOP("Have artifact"),
|
||||||
"Have creatures",
|
QT_TR_NOOP("Have creatures"),
|
||||||
"Have resources",
|
QT_TR_NOOP("Have resources"),
|
||||||
"Have building",
|
QT_TR_NOOP("Have building"),
|
||||||
"Capture city",
|
QT_TR_NOOP("Capture city"),
|
||||||
"Beat hero",
|
QT_TR_NOOP("Beat hero"),
|
||||||
"Transport artifact"
|
QT_TR_NOOP("Transport artifact")
|
||||||
};
|
};
|
||||||
const std::array<std::string, 5> conditionStringsLose = {
|
const std::array<std::string, 5> conditionStringsLose = {
|
||||||
"No special loss",
|
QT_TR_NOOP("No special loss"),
|
||||||
"Lose castle",
|
QT_TR_NOOP("Lose castle"),
|
||||||
"Lose hero",
|
QT_TR_NOOP("Lose hero"),
|
||||||
"Time expired",
|
QT_TR_NOOP("Time expired"),
|
||||||
"Days without town"
|
QT_TR_NOOP("Days without town")
|
||||||
};
|
};
|
||||||
|
|
||||||
for(auto & s : conditionStringsWin)
|
for(auto & s : conditionStringsWin)
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
<item row="1" column="1">
|
<item row="1" column="1">
|
||||||
<widget class="QTabWidget" name="tabWidget">
|
<widget class="QTabWidget" name="tabWidget">
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>1</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="tab">
|
<widget class="QWidget" name="tab">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
@@ -69,35 +69,35 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QRadioButton" name="diffRadio1">
|
<widget class="QRadioButton" name="diffRadio1">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>1</string>
|
<string notr="true">1</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QRadioButton" name="diffRadio2">
|
<widget class="QRadioButton" name="diffRadio2">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>2</string>
|
<string notr="true">2</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QRadioButton" name="diffRadio3">
|
<widget class="QRadioButton" name="diffRadio3">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>3</string>
|
<string notr="true">3</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QRadioButton" name="diffRadio4">
|
<widget class="QRadioButton" name="diffRadio4">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>4</string>
|
<string notr="true">4</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QRadioButton" name="diffRadio5">
|
<widget class="QRadioButton" name="diffRadio5">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>5</string>
|
<string notr="true">5</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|||||||
Reference in New Issue
Block a user