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

List:       kde-i18n-doc
Subject:    Re: bug?
From:       Eugene Onischenko <oneugene () ukr ! net>
Date:       2004-02-26 12:45:36
Message-ID: 20040226124536.GA19792 () sol ! alphadiz ! com
[Download RAW message or body]

On Thu, Feb 26, 2004 at 11:07:22AM +0100, Mashrab Kuvatov wrote:
> Hi all,
> 
> The following strings are missing in kdepim/kaddressbook.pot:
> "Given Name"
> "Family Name"
> 
> So, column captions in address book's main window are in English.
> I manually added them into PO-file and translated. Then, they appeared
> in Uzbek.
> 
> Another issue. When desktop is locked there is untranslated "Username:".
> The string in kdesktop.pot reads "User&name:". If accelerator is removed,
> it appears translated. Apparently, there is a problem of extracting strings
> from source code. BTW, I cannot find "Username:" in source code.
> 
> All this is about KDE_3_2_BRANCH.
> 
> Can anyone confirm these issues ? Or, am I only one seeing them ?

1. I'm not using kaddressbok so cannot check "Given Name" and "Family
Name" messages.

2. I believe "Username:" string from
kdebase/kdm/kfrontend/kgreet_classic.cpp file.

I've made a patch against KDE_3_2_BRANCH. It extracts messages from
kgreet_classic.cpp into kgreet_classic.pot. This will add another pot
file to kde-i18n/templates/kdebase/.

Could someone review the patch.

> 
> Cheers,
> Mashrab.
> 
> -- 
> Mashrab Kuvatov
> KDE Uzbek Translation Team http://i18n.kde.org/teams/info/uz
> 
> 

-- 
This message disinfected by .signature virus killer 1.0

["diff.out" (text/plain)]

? diff.out
Index: Makefile.am
===================================================================
RCS file: /home/kde/kdebase/kdm/kfrontend/Makefile.am,v
retrieving revision 1.40
diff -u -r1.40 Makefile.am
--- Makefile.am	16 Dec 2003 23:39:32 -0000	1.40
+++ Makefile.am	26 Feb 2004 12:21:19 -0000
@@ -48,6 +48,7 @@
 
 messages:
 	$(XGETTEXT) $(kdm_greet_SOURCES) -o $(podir)/kdmgreet.pot
+	$(XGETTEXT) $(kgreet_classic_la_SOURCES) -o $(podir)/kgreet_classic.pot
 
 noinst_HEADERS = \
     kdm_config.h \
Index: kgreet_classic.cpp
===================================================================
RCS file: /home/kde/kdebase/kdm/kfrontend/kgreet_classic.cpp,v
retrieving revision 1.15
diff -u -r1.15 kgreet_classic.cpp
--- kgreet_classic.cpp	22 Nov 2003 22:47:13 -0000	1.15
+++ kgreet_classic.cpp	26 Feb 2004 12:21:25 -0000
@@ -59,6 +59,7 @@
     exp( -1 ),
     running( false )
 {
+    KGlobal::locale()->insertCatalogue("kgreet_classic");
     QGridLayout *grid = new QGridLayout( 0, 0, 10 );
     layoutItem = grid;
     QWidget *pred = predecessor;
@@ -135,6 +136,7 @@
     for (QLayoutItem *itm = it.current(); itm; itm = ++it)
 	 delete itm->widget();
     delete layoutItem;
+    KGlobal::locale()->removeCatalogue("kgreet_classic");
 }
 
 void // virtual 


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

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