mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
[WebUI]Make the context obligatory for translatable strings. Also delete duplicate strings from extra translations.
This commit is contained in:
parent
fc0c28d376
commit
e177799ada
29 changed files with 393 additions and 438 deletions
|
@ -1021,7 +1021,8 @@ void MainWindow::closeEvent(QCloseEvent *e)
|
|||
if (!isVisible())
|
||||
show();
|
||||
QMessageBox confirmBox(QMessageBox::Question, tr("Exiting qBittorrent"),
|
||||
tr("Some files are currently transferring.\nAre you sure you want to quit qBittorrent?"),
|
||||
// Split it because the last sentence is used in the Web UI
|
||||
tr("Some files are currently transferring.") + "\n" + tr("Are you sure you want to quit qBittorrent?"),
|
||||
QMessageBox::NoButton, this);
|
||||
QPushButton *noBtn = confirmBox.addButton(tr("&No"), QMessageBox::NoRole);
|
||||
confirmBox.addButton(tr("&Yes"), QMessageBox::YesRole);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue