From 50f522b2f7b3f81caf30dfcba0b8b267dcfc7fff Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Thu, 17 Oct 2013 13:48:04 +0200 Subject: Remove most trailing newlines from translated messages. They are a hassle for translators and reviewers alike. Change-Id: I07c1b61e8b6719e54fdc1f69cf63f573119a6776 Reviewed-by: hjk Reviewed-by: Robert Loehning Reviewed-by: Eike Ziller --- src/plugins/git/gitclient.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/git/gitclient.cpp') diff --git a/src/plugins/git/gitclient.cpp b/src/plugins/git/gitclient.cpp index f74f4d94f1..edb9dcd551 100644 --- a/src/plugins/git/gitclient.cpp +++ b/src/plugins/git/gitclient.cpp @@ -3027,9 +3027,9 @@ bool GitClient::getCommitData(const QString &workingDirectory, static inline QString msgCommitted(const QString &amendSHA1, int fileCount) { if (amendSHA1.isEmpty()) - return GitClient::tr("Committed %n file(s).\n", 0, fileCount); + return GitClient::tr("Committed %n file(s).", 0, fileCount) + QLatin1Char('\n'); if (fileCount) - return GitClient::tr("Amended \"%1\" (%n file(s)).\n", 0, fileCount).arg(amendSHA1); + return GitClient::tr("Amended \"%1\" (%n file(s)).", 0, fileCount).arg(amendSHA1) + QLatin1Char('\n'); return GitClient::tr("Amended \"%1\".").arg(amendSHA1); } -- cgit v1.2.1