CVS: fix UI text capitalization and punctuation

Change-Id: If7745a7ab1a709cecdf605fbceb1d1d4bd9752c7
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Leena Miettinen
2015-03-27 10:38:59 +01:00
committed by Orgad Shaneh
parent 217862be2f
commit 46dfb79ae1

View File

@@ -90,13 +90,13 @@ namespace Internal {
static inline QString msgCannotFindTopLevel(const QString &f) static inline QString msgCannotFindTopLevel(const QString &f)
{ {
return CvsPlugin::tr("Cannot find repository for \"%1\""). return CvsPlugin::tr("Cannot find repository for \"%1\".").
arg(QDir::toNativeSeparators(f)); arg(QDir::toNativeSeparators(f));
} }
static inline QString msgLogParsingFailed() static inline QString msgLogParsingFailed()
{ {
return CvsPlugin::tr("Parsing of the log output failed"); return CvsPlugin::tr("Parsing of the log output failed.");
} }
const char CVS_CONTEXT[] = "CVS Context"; const char CVS_CONTEXT[] = "CVS Context";
@@ -611,7 +611,7 @@ void CvsPlugin::revertAll()
{ {
const VcsBasePluginState state = currentState(); const VcsBasePluginState state = currentState();
QTC_ASSERT(state.hasTopLevel(), return); QTC_ASSERT(state.hasTopLevel(), return);
const QString title = tr("Revert repository"); const QString title = tr("Revert Repository");
if (!messageBoxQuestion(title, tr("Revert all pending changes to the repository?"))) if (!messageBoxQuestion(title, tr("Revert all pending changes to the repository?")))
return; return;
QStringList args; QStringList args;
@@ -1190,7 +1190,7 @@ CvsResponse CvsPlugin::runCvs(const QString &workingDirectory,
CvsResponse response; CvsResponse response;
if (executable.isEmpty()) { if (executable.isEmpty()) {
response.result = CvsResponse::OtherError; response.result = CvsResponse::OtherError;
response.message =tr("No cvs executable specified."); response.message =tr("No CVS executable specified.");
return response; return response;
} }
// Run, connect stderr to the output window // Run, connect stderr to the output window