Merge pull request #3279 from nextcloud/Valdnet-patch-3

l10n: Replace apostrophe with double quotation
This commit is contained in:
rakekniven 2021-05-20 08:04:54 +02:00 committed by GitHub
commit de07319ec6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -114,7 +114,7 @@ void OAuth::start()
errorReason = tr("Error returned from the server: <em>%1</em>")
.arg(errorFromJson.toHtmlEscaped());
} else if (reply->error() != QNetworkReply::NoError) {
errorReason = tr("There was an error accessing the 'token' endpoint: <br><em>%1</em>")
errorReason = tr("There was an error accessing the \"token\" endpoint: <br><em>%1</em>")
.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

View file

@ -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) {

View file

@ -45,7 +45,7 @@ void warnSystray()
qApp->translate("main.cpp", "%1 requires on a working system tray. "
"If you are running XFCE, please follow "
"<a href=\"http://docs.xfce.org/xfce/xfce4-panel/systray\">these instructions</a>. "
"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()));
}