Changeset fe5dac7 for src/gui/mainwindow.cpp
- Timestamp:
- 01/23/17 21:48:23 (6 years ago)
- Branches:
- master, qt5
- Children:
- 57bb19b
- Parents:
- 6984e9d
- git-author:
- Philipp Spitzer <philipp@…> (01/23/17 21:47:40)
- git-committer:
- Philipp Spitzer <philipp@…> (01/23/17 21:48:23)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gui/mainwindow.cpp
r6984e9d rfe5dac7 272 272 systemTrayIcon->show(); 273 273 // The next two lines are to prevent a very strange position of the message box the first time at X11/aweseome (not Win32/XP) 274 systemTrayIcon->showMessage("ConfClerk", "Your upcoming events", QSystemTrayIcon::Information);274 systemTrayIcon->showMessage("ConfClerk", tr("Your upcoming events"), QSystemTrayIcon::Information); 275 275 qApp->processEvents(); 276 276 systemTrayIcon->showMessage(title, message, QSystemTrayIcon::Information, 60*60*24*1000); … … 433 433 void MainWindow::networkQueryFinished(QNetworkReply *aReply) { 434 434 if (aReply->error() != QNetworkReply::NoError) { 435 error_message( QString("Error occurred during download: ") + aReply->errorString());435 error_message(tr("Error occurred during download: %1").arg(aReply->errorString())); 436 436 } else { 437 437 QUrl redirectUrl = aReply->attribute(QNetworkRequest::RedirectionTargetAttribute).toUrl(); … … 441 441 return; // don't enable controls 442 442 } else { 443 error_message( QString("Error: Cyclic redirection from %1 to itself.").arg(redirectUrl.toString()));443 error_message(tr("Error: Cyclic redirection from %1 to itself.").arg(redirectUrl.toString())); 444 444 } 445 445 } else {
Note: See TracChangeset
for help on using the changeset viewer.