[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:23:58 UTC 2016


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

The following commit has been merged in the master branch:
commit e9fae78fc353923d697a3aae03e4a1822fa7b06f
Author: Pino Toscano <pino at kde.org>
Date:   Mon May 20 15:00:46 2013 +0200

    i18n: fix passing of arguments to i18n()
---
 filters/texttospeech/tts-filter.cpp | 2 +-
 lib/adium-theme-view.cpp            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/filters/texttospeech/tts-filter.cpp b/filters/texttospeech/tts-filter.cpp
index 94ea83c..64935af 100644
--- a/filters/texttospeech/tts-filter.cpp
+++ b/filters/texttospeech/tts-filter.cpp
@@ -60,7 +60,7 @@ void TTSFilter::filterMessage(KTp::Message &message, const KTp::MessageContext &
     }
 
     //FIXME with real name.
-    d->kspeech->say(i18n("New message. %1").arg(message.mainMessagePart()), KSpeech::soHtml);
+    d->kspeech->say(i18n("New message. %1", message.mainMessagePart()), KSpeech::soHtml);
 }
 
 K_PLUGIN_FACTORY(MessageFilterFactory, registerPlugin<TTSFilter>();)
diff --git a/lib/adium-theme-view.cpp b/lib/adium-theme-view.cpp
index c8692ee..12f5b01 100644
--- a/lib/adium-theme-view.cpp
+++ b/lib/adium-theme-view.cpp
@@ -607,7 +607,7 @@ QString AdiumThemeView::replaceHeaderKeywords(QString htmlTemplate, const AdiumT
 
     //KTp-Renkoo specific hack to make "Conversation Began" translatable
     htmlTemplate.replace(QLatin1String("%conversationBegan%"), i18nc("Header at top of conversation view. %1 is the time format",
-                                                                     "Conversation began %1").arg(KGlobal::locale()->formatTime(info.timeOpened().time())));
+                                                                     "Conversation began %1", KGlobal::locale()->formatTime(info.timeOpened().time())));
 
     //FIXME time fields - remember to do both, steal the complicated one from Kopete code.
     // Look for %timeOpened{X}%

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list