1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-25 21:38:59 +02:00

missing str

This commit is contained in:
Laserlicht 2025-01-03 00:13:25 +01:00
parent 4aed816b05
commit c7d9cbc7e9
2 changed files with 2 additions and 2 deletions

View File

@ -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));

View File

@ -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)
{