forked from qt-creator/qt-creator
VCS: Fix translation issues
Change-Id: I3d85a3fc9d34144ca30ef1e37b22bfe7874b8e64 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -74,7 +74,7 @@ public:
|
|||||||
|
|
||||||
if (m_remoteNames.contains(input)) {
|
if (m_remoteNames.contains(input)) {
|
||||||
if (errorMessage)
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -91,7 +91,7 @@ public:
|
|||||||
|
|
||||||
const GitRemote r(edit->text());
|
const GitRemote r(edit->text());
|
||||||
if (!r.isValid && errorMessage)
|
if (!r.isValid && errorMessage)
|
||||||
*errorMessage = tr("The URL may not be valid.");
|
*errorMessage = RemoteDialog::tr("The URL may not be valid.");
|
||||||
|
|
||||||
return r.isValid;
|
return r.isValid;
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -174,7 +174,7 @@ void VcsBaseDiffEditorControllerPrivate::processDiff(const QString &patch)
|
|||||||
m_processWatcher->setFuture(Utils::runAsync(&readPatch, patch));
|
m_processWatcher->setFuture(Utils::runAsync(&readPatch, patch));
|
||||||
|
|
||||||
ProgressManager::addTask(m_processWatcher->future(),
|
ProgressManager::addTask(m_processWatcher->future(),
|
||||||
q->tr("Processing diff"), "DiffEditor");
|
VcsBaseDiffEditorController::tr("Processing diff"), "DiffEditor");
|
||||||
}
|
}
|
||||||
|
|
||||||
void VcsBaseDiffEditorControllerPrivate::cancelReload()
|
void VcsBaseDiffEditorControllerPrivate::cancelReload()
|
||||||
|
|||||||
Reference in New Issue
Block a user