[SCM] ktp-text-ui packaging branch, master, updated. debian/15.12.1-1-1918-gdf4b0ec

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:24:54 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=5aa784a

The following commit has been merged in the master branch:
commit 5aa784ad2858d56b1473aa555f8c811ade3e04f8
Author: Pino Toscano <pino at kde.org>
Date:   Thu Aug 28 08:25:49 2014 +0200

    i18n: fix string puzzle
    
    String puzzles are a no-no for i18n, so just provide two full sentences
    with no untranslatable pieces in the middle.
    
    CCMAIL: zieminn at gmail.com
---
 lib/chat-widget.cpp | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/lib/chat-widget.cpp b/lib/chat-widget.cpp
index dc6f0ec..070c9e2 100644
--- a/lib/chat-widget.cpp
+++ b/lib/chat-widget.cpp
@@ -797,9 +797,10 @@ void ChatWidget::onOTRTrustLevelChanged(KTp::OTRTrustLevel trustLevel, KTp::OTRT
 
 void ChatWidget::onOTRsessionRefreshed()
 {
-    const QLatin1String status = (d->channel->otrTrustLevel() == KTp::OTRTrustLevelPrivate) ?
-        QLatin1String("private") : QLatin1String("unverified");
-    d->ui.chatArea->addStatusMessage(i18n("Successfully refreshed %1 OTR session", status));
+    const QString msg = d->channel->otrTrustLevel() == KTp::OTRTrustLevelPrivate ?
+      i18n("Successfully refreshed private OTR session") :
+      i18n("Successfully refreshed unverified OTR session");
+    d->ui.chatArea->addStatusMessage(msg);
 }
 
 void ChatWidget::onPeerAuthenticationRequestedQA(const QString &question)

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list