mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-25 21:38:59 +02:00
missing str
This commit is contained in:
parent
4aed816b05
commit
c7d9cbc7e9
@ -429,7 +429,7 @@ void VictoryConditions::on_victoryComboBox_currentIndexChanged(int index)
|
||||
|
||||
victorySelectWidget = new QComboBox;
|
||||
ui->victoryParamsLayout->addWidget(victorySelectWidget);
|
||||
victorySelectWidget->addItem("Any town", QVariant::fromValue(-1));
|
||||
victorySelectWidget->addItem(tr("Any town"), QVariant::fromValue(-1));
|
||||
for(int i : getObjectIndexes<const CGTownInstance>(*controller->map()))
|
||||
victorySelectWidget->addItem(getTownName(*controller->map(), i).c_str(), QVariant::fromValue(i));
|
||||
|
||||
|
@ -419,7 +419,7 @@ void WindowNewMap::updateTemplateList()
|
||||
if(templates.empty())
|
||||
return;
|
||||
|
||||
ui->templateCombo->addItem("[default]", 0);
|
||||
ui->templateCombo->addItem(tr("[default]"), 0);
|
||||
|
||||
for(auto * templ : templates)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user