diff --git a/src/gui/creds/oauth.cpp b/src/gui/creds/oauth.cpp index 31771d388..2c0e20410 100644 --- a/src/gui/creds/oauth.cpp +++ b/src/gui/creds/oauth.cpp @@ -114,7 +114,7 @@ void OAuth::start() errorReason = tr("Error returned from the server: %1") .arg(errorFromJson.toHtmlEscaped()); } else if (reply->error() != QNetworkReply::NoError) { - errorReason = tr("There was an error accessing the 'token' endpoint:
%1") + errorReason = tr("There was an error accessing the \"token\" endpoint:
%1") .arg(reply->errorString().toHtmlEscaped()); } else if (jsonData.isEmpty()) { // Can happen if a funky load balancer strips away POST data, e.g. BigIP APM my.policy diff --git a/src/gui/folderstatusmodel.cpp b/src/gui/folderstatusmodel.cpp index d66378a16..73243d074 100644 --- a/src/gui/folderstatusmodel.cpp +++ b/src/gui/folderstatusmodel.cpp @@ -1016,10 +1016,10 @@ void FolderStatusModel::slotSetProgress(const ProgressInfo &progress) auto fileName = QFileInfo(citm._item._file).fileName(); if (allFilenames.length() > 0) { //: Build a list of file names - allFilenames.append(tr(", '%1'").arg(fileName)); + allFilenames.append(QStringLiteral(", '%1'").arg(fileName)); } else { //: Argument is a file name - allFilenames.append(tr("'%1'").arg(fileName)); + allFilenames.append(QStringLiteral("'%1'").arg(fileName)); } } if (curItemProgress == -1) { diff --git a/src/gui/main.cpp b/src/gui/main.cpp index ba4aaa76b..8246528cd 100644 --- a/src/gui/main.cpp +++ b/src/gui/main.cpp @@ -45,7 +45,7 @@ void warnSystray() qApp->translate("main.cpp", "%1 requires on a working system tray. " "If you are running XFCE, please follow " "these instructions. " - "Otherwise, please install a system tray application such as 'trayer' and try again.") + "Otherwise, please install a system tray application such as \"trayer\" and try again.") .arg(Theme::instance()->appNameGUI())); }