Make new title strings translatable
Signed-off-by: Robb <computerguy440+gh@gmail.com>
This commit is contained in:
parent
cd30f75173
commit
cebac3c10e
@ -211,7 +211,7 @@ void WorldListPage::on_actionDatapacks_triggered()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!worldSafetyNagQuestion("Open World Datapacks Folder"))
|
if(!worldSafetyNagQuestion(tr("Open World Datapacks Folder")))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
auto fullPath = m_worlds->data(index, WorldList::FolderRole).toString();
|
auto fullPath = m_worlds->data(index, WorldList::FolderRole).toString();
|
||||||
@ -269,7 +269,7 @@ void WorldListPage::on_actionMCEdit_triggered()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!worldSafetyNagQuestion("Open World in MCEdit"))
|
if(!worldSafetyNagQuestion(tr("Open World in MCEdit")))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
auto fullPath = m_worlds->data(index, WorldList::FolderRole).toString();
|
auto fullPath = m_worlds->data(index, WorldList::FolderRole).toString();
|
||||||
@ -377,7 +377,7 @@ bool WorldListPage::worldSafetyNagQuestion(const QString &actionType)
|
|||||||
{
|
{
|
||||||
if(!isWorldSafe(getSelectedWorld()))
|
if(!isWorldSafe(getSelectedWorld()))
|
||||||
{
|
{
|
||||||
auto result = QMessageBox::question(this, tr("%1").arg(actionType), tr("Changing a world while Minecraft is running is potentially unsafe.\nDo you wish to proceed?"));
|
auto result = QMessageBox::question(this, actionType, tr("Changing a world while Minecraft is running is potentially unsafe.\nDo you wish to proceed?"));
|
||||||
if(result == QMessageBox::No)
|
if(result == QMessageBox::No)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
@ -395,7 +395,7 @@ void WorldListPage::on_actionCopy_triggered()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!worldSafetyNagQuestion("Copy World"))
|
if(!worldSafetyNagQuestion(tr("Copy World")))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
auto worldVariant = m_worlds->data(index, WorldList::ObjectRole);
|
auto worldVariant = m_worlds->data(index, WorldList::ObjectRole);
|
||||||
@ -417,7 +417,7 @@ void WorldListPage::on_actionRename_triggered()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!worldSafetyNagQuestion("Rename World"))
|
if(!worldSafetyNagQuestion(tr("Rename World")))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
auto worldVariant = m_worlds->data(index, WorldList::ObjectRole);
|
auto worldVariant = m_worlds->data(index, WorldList::ObjectRole);
|
||||||
|
Loading…
Reference in New Issue
Block a user