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();
|
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()),
|
QString::fromStdString(VCMIDirs::get().userCachePath().make_preferred().string()),
|
||||||
tr("HoMM3 maps(*.h3m)"));
|
tr("HoMM3 maps(*.h3m)"));
|
||||||
if(mapFiles.empty())
|
if(mapFiles.empty())
|
||||||
return;
|
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())
|
if(saveDirectory.isEmpty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -121,7 +121,7 @@ private slots:
|
|||||||
|
|
||||||
void on_actionTranslations_triggered();
|
void on_actionTranslations_triggered();
|
||||||
|
|
||||||
void on_actionh3m_coverter_triggered();
|
void on_actionh3m_converter_triggered();
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@
|
|||||||
<addaction name="actionSave"/>
|
<addaction name="actionSave"/>
|
||||||
<addaction name="actionSave_as"/>
|
<addaction name="actionSave_as"/>
|
||||||
<addaction name="actionExport"/>
|
<addaction name="actionExport"/>
|
||||||
<addaction name="actionh3m_coverter"/>
|
<addaction name="actionh3m_converter"/>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QMenu" name="menuMap">
|
<widget class="QMenu" name="menuMap">
|
||||||
<property name="title">
|
<property name="title">
|
||||||
@ -1333,9 +1333,12 @@
|
|||||||
<string>Ctrl+T</string>
|
<string>Ctrl+T</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionh3m_coverter">
|
<action name="actionh3m_converter">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>h3m coverter</string>
|
<string>h3m converter</string>
|
||||||
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>h3m converter</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
</widget>
|
</widget>
|
||||||
|
Loading…
Reference in New Issue
Block a user