diff ui/administratorwindow.cpp @ 1283:38d3dce323b4

Do not include hard linebreaks in translation strings
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 29 Sep 2014 12:29:18 +0200
parents f1f4059ec320
children ff9cd05e861e
line wrap: on
line diff
--- a/ui/administratorwindow.cpp	Mon Sep 29 12:21:26 2014 +0200
+++ b/ui/administratorwindow.cpp	Mon Sep 29 12:29:18 2014 +0200
@@ -272,10 +272,10 @@
         tr(" based on list from ") +
         listDate.toString(Qt::ISODate) +
         "#####\r\n");
-    entries.append(tr("signing certificate: \r\n"));
+    entries.append(tr("signing certificate:") + "\r\n");
     entries.append(keyFingerprint);
 
-    entries.append(tr("\r\nnew certificates:\r\n"));
+    entries.append(QString::fromLatin1("\r\n") + tr("new certificates:") +"\r\n");
 
     foreach (const Certificate& cert, list.getCertificates()) {
         if (!mCertList.getCertificates().contains(cert)) {
@@ -289,7 +289,7 @@
         }
     }
 
-    entries.append(tr("certificates marked to remove:\r\n"));
+    entries.append(tr("certificates marked to remove:") + "\r\n");
     entries.append(removeListEntries);
     entries.append("\r\n");
 

http://wald.intevation.org/projects/trustbridge/