mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
[CloseDialog] Change text - there will always be more than 1 tab opened
This commit is contained in:
parent
af8650d2fd
commit
9ed63f6323
|
@ -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));
|
||||
|
|
|
@ -1148,7 +1148,7 @@ Please install latest version of QupZilla.</source>
|
|||
</message>
|
||||
<message numerus="yes">
|
||||
<location filename="../src/lib/app/browserwindow.cpp" line="1390"/>
|
||||
<source>There are still %n open tab(s) and your session won't be stored.
|
||||
<source>There are still %n open tabs and your session won't be stored.
|
||||
Are you sure to close this window?</source>
|
||||
<translation type="unfinished">
|
||||
<numerusform></numerusform>
|
||||
|
|
Loading…
Reference in New Issue
Block a user