suffix_number++;
}
if (!file.rename(f.absoluteFilePath(), path + QString::number(suffix_number))) { // rename(file old path, file trash path)
- *errorString = QCoreApplication::translate("FileSystem", "Could not move \"%1\" to \"%1\"")
+ *errorString = QCoreApplication::translate("FileSystem", R"(Could not move "%1" to "%1")")
.arg(f.absoluteFilePath(), path + QString::number(suffix_number));
return false;
}
} else {
if (!file.rename(f.absoluteFilePath(), trashFilePath + f.fileName())) { // rename(file old path, file trash path)
- *errorString = QCoreApplication::translate("FileSystem", "Could not move \"%1\" to \"%1\"")
+ *errorString = QCoreApplication::translate("FileSystem", R"(Could not move "%1" to "%1")")
.arg(f.absoluteFilePath(), trashFilePath + f.fileName());
return false;
}
if (_remoteFolder.isEmpty() || _remoteFolder == QLatin1String("/")) {
t = "";
} else {
- t = Utility::escape(tr("%1 folder \"%2\" is synced to local folder \"%3\"")
+ t = Utility::escape(tr(R"(%1 folder "%2" is synced to local folder "%3")")
.arg(Theme::instance()->appName(), _remoteFolder,
QDir::toNativeSeparators(locFolder)));
_ui.rSyncEverything->setText(tr("Sync the folder \"%1\"").arg(_remoteFolder));