From 9ed63f63235635b37bdc7079e5cc7cf46d29c8d3 Mon Sep 17 00:00:00 2001 From: David Rosca Date: Tue, 8 Jul 2014 19:26:41 +0200 Subject: [PATCH] [CloseDialog] Change text - there will always be more than 1 tab opened --- src/lib/app/browserwindow.cpp | 2 +- translations/empty.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/app/browserwindow.cpp b/src/lib/app/browserwindow.cpp index a47a79882..ed3ce3d2d 100644 --- a/src/lib/app/browserwindow.cpp +++ b/src/lib/app/browserwindow.cpp @@ -1387,7 +1387,7 @@ void BrowserWindow::closeEvent(QCloseEvent* event) if (askOnClose && m_tabWidget->normalTabsCount() > 1) { CheckBoxDialog dialog(QDialogButtonBox::Yes | QDialogButtonBox::No, this); - dialog.setText(tr("There are still %n open tab(s) and your session won't be stored. \nAre you sure to close this window?", "", m_tabWidget->count())); + dialog.setText(tr("There are still %n open tabs and your session won't be stored. \nAre you sure to close this window?", "", m_tabWidget->count())); dialog.setCheckBoxText(tr("Don't ask again")); dialog.setWindowTitle(tr("There are still open tabs")); dialog.setIcon(IconProvider::standardIcon(QStyle::SP_MessageBoxWarning)); diff --git a/translations/empty.ts b/translations/empty.ts index 9522541ac..c51dbc53f 100644 --- a/translations/empty.ts +++ b/translations/empty.ts @@ -1148,7 +1148,7 @@ Please install latest version of QupZilla. - There are still %n open tab(s) and your session won't be stored. + There are still %n open tabs and your session won't be stored. Are you sure to close this window?