mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix typo
This commit is contained in:
parent
e9855de101
commit
4e5580f3d9
@ -1248,15 +1248,15 @@ void MainWindow::on_actionTranslations_triggered()
|
||||
translationsDialog->show();
|
||||
}
|
||||
|
||||
void MainWindow::on_actionh3m_coverter_triggered()
|
||||
void MainWindow::on_actionh3m_converter_triggered()
|
||||
{
|
||||
auto mapFiles = QFileDialog::getOpenFileNames(this, tr("Select maps to covert"),
|
||||
auto mapFiles = QFileDialog::getOpenFileNames(this, tr("Select maps to convert"),
|
||||
QString::fromStdString(VCMIDirs::get().userCachePath().make_preferred().string()),
|
||||
tr("HoMM3 maps(*.h3m)"));
|
||||
if(mapFiles.empty())
|
||||
return;
|
||||
|
||||
auto saveDirectory = QFileDialog::getExistingDirectory(this, tr("Choose directory to save coverted maps"), QCoreApplication::applicationDirPath());
|
||||
auto saveDirectory = QFileDialog::getExistingDirectory(this, tr("Choose directory to save converted maps"), QCoreApplication::applicationDirPath());
|
||||
if(saveDirectory.isEmpty())
|
||||
return;
|
||||
|
||||
|
@ -121,7 +121,7 @@ private slots:
|
||||
|
||||
void on_actionTranslations_triggered();
|
||||
|
||||
void on_actionh3m_coverter_triggered();
|
||||
void on_actionh3m_converter_triggered();
|
||||
|
||||
public slots:
|
||||
|
||||
|
@ -63,7 +63,7 @@
|
||||
<addaction name="actionSave"/>
|
||||
<addaction name="actionSave_as"/>
|
||||
<addaction name="actionExport"/>
|
||||
<addaction name="actionh3m_coverter"/>
|
||||
<addaction name="actionh3m_converter"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menuMap">
|
||||
<property name="title">
|
||||
@ -1333,9 +1333,12 @@
|
||||
<string>Ctrl+T</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionh3m_coverter">
|
||||
<action name="actionh3m_converter">
|
||||
<property name="text">
|
||||
<string>h3m coverter</string>
|
||||
<string>h3m converter</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>h3m converter</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
|
Loading…
Reference in New Issue
Block a user