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