[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: libkonq message in gwenview
From:       Burkhard =?ISO-8859-1?Q?L=FCck?= <lueck () hube-lueck ! de>
Date:       2013-12-03 19:16:45
Message-ID: 6556287.ae59XLMMcO () parodia
[Download RAW message or body]

Am Dienstag, 3. Dezember 2013, 19:19:27 schrieb Yuri Chornoivan:
> Hi,
> 
> The current version of Gwenview seems to use KStandardAction::Paste action
> (/app/fileopscontextmanageritem.cpp) from libkonq
> (applications/lib/konqoperations.cpp), but does not load its catalog.
> 
> This leads to untranslated message in "Edit" menu and untranslated toolbar
> action (screenshot is due to the leader of Russian localization team of
> ROSA):
> 
> http://plasmon.rghost.ru/50647624/image.png
> 
> Is there any way to fix it?
> 
Patch with KCatalogLoader to load the library attached.

Makes Edit menu item and toolbar action "Paste Clipboard Contents..." 
translated

-- 
Burkhard Lück

["konq_operations.cpp.diff" (konq_operations.cpp.diff)]

diff --git a/lib/konq/konq_operations.cpp b/lib/konq/konq_operations.cpp
index bd96f39..781ea1e 100644
--- a/lib/konq/konq_operations.cpp
+++ b/lib/konq/konq_operations.cpp
@@ -74,6 +74,8 @@
 #include <unistd.h>
 #include <kconfiggroup.h>
 
+static const KCatalogLoader loader("libkonq");
+
 KonqOperations::KonqOperations( QWidget *parent )
     : QObject( parent ),
       m_method( UNKNOWN ), m_info(0), m_pasteInfo(0)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic