VCS: Fix translation issues

Change-Id: I3d85a3fc9d34144ca30ef1e37b22bfe7874b8e64
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Eike Ziller
2017-10-23 13:46:26 +02:00
parent 56a37d6722
commit cd93f624da
2 changed files with 3 additions and 3 deletions

View File

@@ -74,7 +74,7 @@ public:
if (m_remoteNames.contains(input)) {
if (errorMessage)
*errorMessage = tr("A remote with the name \"%1\" already exists.").arg(input);
*errorMessage = RemoteDialog::tr("A remote with the name \"%1\" already exists.").arg(input);
return false;
}
@@ -91,7 +91,7 @@ public:
const GitRemote r(edit->text());
if (!r.isValid && errorMessage)
*errorMessage = tr("The URL may not be valid.");
*errorMessage = RemoteDialog::tr("The URL may not be valid.");
return r.isValid;
});

View File

@@ -174,7 +174,7 @@ void VcsBaseDiffEditorControllerPrivate::processDiff(const QString &patch)
m_processWatcher->setFuture(Utils::runAsync(&readPatch, patch));
ProgressManager::addTask(m_processWatcher->future(),
q->tr("Processing diff"), "DiffEditor");
VcsBaseDiffEditorController::tr("Processing diff"), "DiffEditor");
}
void VcsBaseDiffEditorControllerPrivate::cancelReload()