From 4f710457821033be30c1aca38f63285da452cd23 Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Thu, 23 Jan 2014 21:00:47 +0100 Subject: [PATCH] Added i18n to kio --- kio/Messages.sh | 4 ++++ kio/kiokdeconnect.cpp | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 kio/Messages.sh diff --git a/kio/Messages.sh b/kio/Messages.sh new file mode 100644 index 000000000..913bc2d48 --- /dev/null +++ b/kio/Messages.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +$XGETTEXT `find . -name '*.cpp'` -o $podir/kdeconnect-kio.pot + diff --git a/kio/kiokdeconnect.cpp b/kio/kiokdeconnect.cpp index 39f3f06c2..ecbd6ad33 100644 --- a/kio/kiokdeconnect.cpp +++ b/kio/kiokdeconnect.cpp @@ -157,7 +157,7 @@ void KioKdeconnect::listDevice() KIO::UDSEntry entry; entry.insert(KIO::UDSEntry::UDS_NAME, "files"); - entry.insert(KIO::UDSEntry::UDS_DISPLAY_NAME, "Browse images"); + entry.insert(KIO::UDSEntry::UDS_DISPLAY_NAME, i18n("Camera pictures")); entry.insert(KIO::UDSEntry::UDS_ICON_NAME, "folder"); entry.insert(KIO::UDSEntry::UDS_FILE_TYPE, S_IFDIR); entry.insert(KIO::UDSEntry::UDS_ACCESS, S_IRUSR | S_IRGRP | S_IROTH); @@ -166,7 +166,7 @@ void KioKdeconnect::listDevice() listEntry(entry, false); entry.insert(KIO::UDSEntry::UDS_NAME, "files"); - entry.insert(KIO::UDSEntry::UDS_DISPLAY_NAME, "Browse all files"); + entry.insert(KIO::UDSEntry::UDS_DISPLAY_NAME, i18n("All files")); entry.insert(KIO::UDSEntry::UDS_ICON_NAME, "folder"); entry.insert(KIO::UDSEntry::UDS_FILE_TYPE, S_IFDIR); entry.insert(KIO::UDSEntry::UDS_ACCESS, S_IRUSR | S_IRGRP | S_IROTH);