[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:29 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=2d24c62
The following commit has been merged in the master branch:
commit 2d24c62dca18cae2691a704633bf29b8afd5fa20
Author: Martin Klapetek <martin.klapetek at gmail.com>
Date: Wed Mar 6 23:14:30 2013 +0100
Extract filter strings for translation; load catalog
REVIEW: 109321
---
{lib => filters}/Messages.sh | 2 +-
filters/images/images-filter.cpp | 2 ++
filters/texttospeech/tts-filter.cpp | 2 ++
3 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/lib/Messages.sh b/filters/Messages.sh
similarity index 59%
copy from lib/Messages.sh
copy to filters/Messages.sh
index 7ed3b90..ef5bd18 100755
--- a/lib/Messages.sh
+++ b/filters/Messages.sh
@@ -1,4 +1,4 @@
#! /usr/bin/env bash
$EXTRACTRC `find . -name "*.ui"` >> rc.cpp || exit 11
-$XGETTEXT `find . -name "*.cpp"` -o $podir/ktpchat.pot
+$XGETTEXT `find . -name "*.cpp"` -o $podir/ktp-filters.pot
rm -f rc.cpp
diff --git a/filters/images/images-filter.cpp b/filters/images/images-filter.cpp
index 4cd7994..1036d5b 100644
--- a/filters/images/images-filter.cpp
+++ b/filters/images/images-filter.cpp
@@ -32,6 +32,8 @@ public:
QRegExp imageRegex;
};
+static const KCatalogLoader loader(QLatin1String("ktp-filters"));
+
ImagesFilter::ImagesFilter (QObject* parent, const QVariantList&) :
KTp::AbstractMessageFilter (parent), d(new Private)
{
diff --git a/filters/texttospeech/tts-filter.cpp b/filters/texttospeech/tts-filter.cpp
index 966f4fc..94ea83c 100644
--- a/filters/texttospeech/tts-filter.cpp
+++ b/filters/texttospeech/tts-filter.cpp
@@ -32,6 +32,8 @@ public:
org::kde::KSpeech *kspeech;
};
+static const KCatalogLoader loader(QLatin1String("ktp-filters"));
+
TTSFilter::TTSFilter(QObject *parent, const QVariantList &)
: KTp::AbstractMessageFilter(parent),
d(new Private)
--
ktp-text-ui packaging
More information about the pkg-kde-commits
mailing list