[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:22:02 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=5ea6927
The following commit has been merged in the master branch:
commit 5ea6927c3508aa8375f307babaf908e078226d26
Author: Lasath Fernando <kde at lasath.org>
Date: Mon Jun 25 11:00:42 2012 +1000
Localize the alt text for embedded images
---
filters/images/images-filter.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/filters/images/images-filter.cpp b/filters/images/images-filter.cpp
index 4da7912..4a0722c 100644
--- a/filters/images/images-filter.cpp
+++ b/filters/images/images-filter.cpp
@@ -25,6 +25,7 @@
#include <KPluginFactory>
#include <KDebug>
#include <KUrl>
+#include <KLocalizedString>
class ImagesFilter::Private {
public:
@@ -57,7 +58,9 @@ void ImagesFilter::filterMessage (Message& message)
QLatin1Literal("<a href='") % href % QLatin1Literal("'>") %
QLatin1Literal("<img src='") %
href %
- QLatin1Literal("' style='max-width:100%;' alt='Click to view in browser' />") %
+ QLatin1Literal("' style='max-width:100%;' alt='") %
+ i18n("Click to view in browser") %
+ QLatin1Literal("' />") %
QLatin1Literal("</a>")
);
}
--
ktp-text-ui packaging
More information about the pkg-kde-commits
mailing list