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

List:       kde-i18n-doc
Subject:    Re: Hopefully a bugfix concerning translation
From:       Waldo Bastian <bastian () kde ! org>
Date:       2001-08-22 20:30:21
[Download RAW message or body]

On Wednesday 22 August 2001 12:41 pm, Joseph Wenninger wrote:
> Hi
>
> After some talking to translaters I think I fixed the bug that the kate
> plugins are untranslateable. I added message targets to the Makefile.ams
> and some commands to the .cpp files.
>
> Could you please, if possible copy those files from the head branch to the
> 2.2.1 one. I don't know how to do it. It shouldn't break anything and
> Thomas Diehl and other could test then, if the problem is really fixed.
>
> kdeaddons/kate/*/*

Added the changes to the KDE_2_2_BRANCH. See the diff below.

Cheers,
Waldo
-- 
KDE 2.2: We deliver.

Index: helloworld/Makefile.am
===================================================================
RCS file: /home/kde/kdeaddons/kate/helloworld/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -d -p -r1.2 -r1.3
--- helloworld/Makefile.am	2001/06/02 22:30:28	1.2
+++ helloworld/Makefile.am	2001/08/22 12:25:58	1.3
@@ -15,3 +15,6 @@ plugins_DATA = ui.rc
 
 deskdir=$(kde_datadir)/kate/plugins
 desk_DATA=katehelloworld.desktop
+
+messages:
+        $(XGETTEXT) *.cpp -o $(podir)/katehelloworld.pot
Index: helloworld/plugin_katehelloworld.cpp
===================================================================
RCS file: /home/kde/kdeaddons/kate/helloworld/plugin_katehelloworld.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -d -p -r1.1 -r1.2
--- helloworld/plugin_katehelloworld.cpp	2001/05/15 11:01:37	1.1
+++ helloworld/plugin_katehelloworld.cpp	2001/08/22 12:25:58	1.2
@@ -10,6 +10,7 @@ extern "C"
 {
   void* init_libkatehelloworldplugin()
   {
+    KGlobal::locale()->insertCatalogue("katehelloworld"); 
     return new KatePluginFactory;
   }
 }
Index: htmltools/Makefile.am
===================================================================
RCS file: /home/kde/kdeaddons/kate/htmltools/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -d -p -r1.2 -r1.3
--- htmltools/Makefile.am	2001/06/02 22:30:28	1.2
+++ htmltools/Makefile.am	2001/08/22 12:25:58	1.3
@@ -19,3 +19,6 @@ plugins_DATA = ui.rc
 
 deskdir=$(kde_datadir)/kate/plugins
 desk_DATA=katehtmltools.desktop
+
+messages:
+	$(XGETTEXT) *.cpp -o $(podir)/katehtmltools.pot
Index: htmltools/plugin_katehtmltools.cpp
===================================================================
RCS file: /home/kde/kdeaddons/kate/htmltools/plugin_katehtmltools.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -d -p -r1.3 -r1.4
--- htmltools/plugin_katehtmltools.cpp	2001/04/25 23:19:29	1.3
+++ htmltools/plugin_katehtmltools.cpp	2001/08/22 12:25:58	1.4
@@ -31,6 +31,7 @@ extern "C"
 {
   void* init_libkatehtmltoolsplugin()
   {
+    KGlobal::locale()->insertCatalogue("katehtmltools"); 
     return new KatePluginFactory;
   }
 }
Index: insertcommand/Makefile.am
===================================================================
RCS file: /home/kde/kdeaddons/kate/insertcommand/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -d -p -r1.2 -r1.3
--- insertcommand/Makefile.am	2001/06/02 22:30:28	1.2
+++ insertcommand/Makefile.am	2001/08/22 12:25:58	1.3
@@ -20,3 +20,5 @@ plugins_DATA = ui.rc
 deskdir=$(kde_datadir)/kate/plugins
 desk_DATA=kateinsertcommand.desktop
 
+messages:
+	$(XGETTEXT) *.cpp -o $(podir)/kateinsertcommand.pot
Index: insertcommand/plugin_kateinsertcommand.cpp
===================================================================
RCS file: 
/home/kde/kdeaddons/kate/insertcommand/plugin_kateinsertcommand.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -d -p -r1.10 -r1.11
--- insertcommand/plugin_kateinsertcommand.cpp	2001/04/27 17:52:37	1.10
+++ insertcommand/plugin_kateinsertcommand.cpp	2001/08/22 12:25:58	1.11
@@ -44,6 +44,7 @@ extern "C"
 {
   void* init_libkateinsertcommandplugin()
   {
+    KGlobal::locale()->insertCatalogue("kateinsertcommand"); 
     return new KatePluginFactory;
   }
 }
Index: openheader/Makefile.am
===================================================================
RCS file: /home/kde/kdeaddons/kate/openheader/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -d -p -r1.2 -r1.3
--- openheader/Makefile.am	2001/06/02 22:30:28	1.2
+++ openheader/Makefile.am	2001/08/22 12:25:58	1.3
@@ -19,3 +19,6 @@ plugins_DATA = ui.rc
 
 deskdir=$(kde_datadir)/kate/plugins
 desk_DATA=kateopenheader.desktop
+
+messages:
+	$(XGETTEXT) *.cc -o $(podir)/kateopenheader.pot
Index: openheader/plugin_kateopenheader.cpp
===================================================================
RCS file: /home/kde/kdeaddons/kate/openheader/plugin_kateopenheader.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -d -p -r1.4 -r1.5
--- openheader/plugin_kateopenheader.cpp	2001/05/18 17:20:52	1.4
+++ openheader/plugin_kateopenheader.cpp	2001/08/22 12:25:58	1.5
@@ -33,6 +33,7 @@ extern "C"
 {
   void* init_libkateopenheaderplugin()
   {
+    KGlobal::locale()->insertCatalogue("kateopenheader"); 
     return new KatePluginFactory;
   }
 }
Index: projectmanager/Makefile.am
===================================================================
RCS file: /home/kde/kdeaddons/kate/projectmanager/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -d -p -r1.2 -r1.3
--- projectmanager/Makefile.am	2001/06/02 22:30:28	1.2
+++ projectmanager/Makefile.am	2001/08/22 12:25:58	1.3
@@ -21,3 +21,6 @@ plugins_DATA = ui.rc
 
 deskdir=$(kde_datadir)/kate/plugins
 desk_DATA=kateprojectmanager.desktop
+
+messages:
+	$(XGETTEXT) *.cc -o $(podir)/kateprojectmanager.pot
Index: projectmanager/kateprojectmanager.cpp
===================================================================
RCS file: /home/kde/kdeaddons/kate/projectmanager/kateprojectmanager.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -d -p -r1.3 -r1.4
--- projectmanager/kateprojectmanager.cpp	2001/04/25 23:19:29	1.3
+++ projectmanager/kateprojectmanager.cpp	2001/08/22 12:25:58	1.4
@@ -34,6 +34,7 @@ extern "C"
 {
   void* init_libkateprojectmanagerplugin()
   {
+    KGlobal::locale()->insertCatalogue("kateprojectmanager"); 
     return new KatePluginFactory;
   }
 }
Index: textfilter/Makefile.am
===================================================================
RCS file: /home/kde/kdeaddons/kate/textfilter/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -d -p -r1.2 -r1.3
--- textfilter/Makefile.am	2001/06/02 22:30:28	1.2
+++ textfilter/Makefile.am	2001/08/22 12:25:58	1.3
@@ -19,3 +19,6 @@ plugins_DATA = ui.rc
 
 deskdir=$(kde_datadir)/kate/plugins
 desk_DATA=katetextfilter.desktop
+
+messages:
+	$(XGETTEXT) *.cc -o $(podir)/katetextfilter.pot
Index: textfilter/plugin_katetextfilter.cpp
===================================================================
RCS file: /home/kde/kdeaddons/kate/textfilter/plugin_katetextfilter.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -d -p -r1.3 -r1.4
--- textfilter/plugin_katetextfilter.cpp	2001/04/25 23:19:29	1.3
+++ textfilter/plugin_katetextfilter.cpp	2001/08/22 12:25:58	1.4
@@ -33,6 +33,7 @@ extern "C"
 {
   void* init_libkatetextfilterplugin()
   {
+    KGlobal::locale()->insertCatalogue("katetextfilter"); 
     return new KatePluginFactory;
   }
 }

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

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