About to -> you are about to
You're is used in some other places but im lazy Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
cbe5af235c
commit
bf04becc9e
@ -65,8 +65,7 @@ QString GuiUtil::uploadPaste(const QString &name, const QString &text, QWidget *
|
||||
|
||||
if (baseUrl.isValid()) {
|
||||
auto response = CustomMessageBox::selectable(parentWidget, QObject::tr("Confirm Upload"),
|
||||
QObject::tr("About to upload: %1\n"
|
||||
"Uploading to: %2\n"
|
||||
QObject::tr("You are about to upload \"%1\" to %2.\n"
|
||||
"You should double-check for personal information.\n\n"
|
||||
"Are you sure?")
|
||||
.arg(name, baseUrl.host()),
|
||||
|
@ -2095,7 +2095,7 @@ void MainWindow::on_actionDeleteInstance_triggered()
|
||||
auto id = m_selectedInstance->id();
|
||||
|
||||
auto response = CustomMessageBox::selectable(this, tr("Confirm Deletion"),
|
||||
tr("About to delete: %1\n"
|
||||
tr("You are about to delete \"%1\".\n"
|
||||
"This may be permanent and will completely delete the instance.\n\n"
|
||||
"Are you sure?")
|
||||
.arg(m_selectedInstance->name()),
|
||||
|
@ -176,12 +176,12 @@ void ExternalResourcesPage::removeItem()
|
||||
bool multiple = count > 1;
|
||||
|
||||
if (multiple) {
|
||||
text = tr("About to remove: %1 items\n"
|
||||
text = tr("You are about to remove %1 items.\n"
|
||||
"This may be permanent and they will be gone from the folder.\n\n"
|
||||
"Are you sure?")
|
||||
.arg(count);
|
||||
} else if (folder) {
|
||||
text = tr("About to remove: %1 (folder)\n"
|
||||
text = tr("You are about to remove the folder \"%1\".\n"
|
||||
"This may be permanent and it will be gone from the parent folder.\n\n"
|
||||
"Are you sure?")
|
||||
.arg(m_model->at(selection.indexes().at(0).row()).fileinfo().fileName());
|
||||
|
@ -221,7 +221,7 @@ void OtherLogsPage::on_btnDelete_clicked()
|
||||
return;
|
||||
}
|
||||
if (QMessageBox::question(this, tr("Confirm Deletion"),
|
||||
tr("About to delete: %1\n"
|
||||
tr("You are about to delete \"%1\".\n"
|
||||
"This may be permanent and it will be gone from the logs folder.\n\n"
|
||||
"Are you sure?")
|
||||
.arg(m_currentFile),
|
||||
|
@ -383,12 +383,12 @@ void ScreenshotsPage::on_actionUpload_triggered()
|
||||
|
||||
QString text;
|
||||
if (selection.size() > 1)
|
||||
text = tr("About to upload: %1 screenshots\n\n"
|
||||
text = tr("You are about to upload %1 screenshots.\n\n"
|
||||
"Are you sure?")
|
||||
.arg(selection.size());
|
||||
else
|
||||
text =
|
||||
tr("About to upload the selected screenshot.\n\n"
|
||||
tr("You are about to upload the selected screenshot.\n\n"
|
||||
"Are you sure?");
|
||||
|
||||
auto response = CustomMessageBox::selectable(this, "Confirm Upload", text, QMessageBox::Warning, QMessageBox::Yes | QMessageBox::No,
|
||||
@ -515,12 +515,12 @@ void ScreenshotsPage::on_actionDelete_triggered()
|
||||
int count = ui->listView->selectionModel()->selectedRows().size();
|
||||
QString text;
|
||||
if (count > 1)
|
||||
text = tr("About to delete: %1 screenshots\n"
|
||||
text = tr("You are about to delete %1 screenshots.\n"
|
||||
"This may be permanent and they will be gone from the folder.\n\n"
|
||||
"Are you sure?")
|
||||
.arg(count);
|
||||
else
|
||||
text = tr("About to delete the selected screenshot.\n"
|
||||
text = tr("You are about to delete the selected screenshot.\n"
|
||||
"This may be permanent and it will be gone from the folder.\n\n"
|
||||
"Are you sure?")
|
||||
.arg(count);
|
||||
|
@ -802,7 +802,7 @@ void ServersPage::on_actionAdd_triggered()
|
||||
void ServersPage::on_actionRemove_triggered()
|
||||
{
|
||||
auto response = CustomMessageBox::selectable(this, tr("Confirm Removal"),
|
||||
tr("About to remove: %1\n"
|
||||
tr("You are about to remove \"%1\".\n"
|
||||
"This is permanent and the server will be gone from your list forever (A LONG TIME).\n\n"
|
||||
"Are you sure?")
|
||||
.arg(m_model->at(currentServer)->m_name),
|
||||
|
@ -327,7 +327,7 @@ void VersionPage::on_actionRemove_triggered()
|
||||
if (component->isCustom())
|
||||
{
|
||||
auto response = CustomMessageBox::selectable(this, tr("Confirm Removal"),
|
||||
tr("About to remove: %1\n"
|
||||
tr("You are about to remove \"%1\".\n"
|
||||
"This is permanent and will completely remove the custom component.\n\n"
|
||||
"Are you sure?")
|
||||
.arg(component->getName()),
|
||||
@ -726,7 +726,7 @@ void VersionPage::on_actionRevert_triggered()
|
||||
auto component = m_profile->getComponent(version);
|
||||
|
||||
auto response = CustomMessageBox::selectable(this, tr("Confirm Reversion"),
|
||||
tr("About to revert: %1\n"
|
||||
tr("You are about to revert \"%1\".\n"
|
||||
"This is permanent and will completely revert your customizations.\n\n"
|
||||
"Are you sure?")
|
||||
.arg(component->getName()),
|
||||
|
@ -195,7 +195,7 @@ void WorldListPage::on_actionRemove_triggered()
|
||||
return;
|
||||
|
||||
auto result = CustomMessageBox::selectable(this, tr("Confirm Deletion"),
|
||||
tr("About to delete: %1\n"
|
||||
tr("You are about to delete \"%1\".\n"
|
||||
"The world may be gone forever (A LONG TIME).\n\n"
|
||||
"Are you sure?")
|
||||
.arg(m_worlds->allWorlds().at(proxiedIndex.row()).name()),
|
||||
|
Loading…
Reference in New Issue
Block a user