i18n bugs in plasma branch 4.3 + in trunk

Burkhard Lück lueck at hube-lueck.de
Tue Jul 7 17:03:23 CEST 2009


Hi,

plasma seems to be like a big black hole i18n-wise, it's eating all our 
translations, but refuses to display them :(

there are a lot of i18n bugs caused by not matching names in the EXPORT makros 
and catalognames used in the corresponding Messages.sh.

attached a list from branch 4.3 with these errors.

according to my talk with aseigo on irc these naming conflicts should be solved 
by renaming the message catalogs.
this should be done in one step (change Messages.sh + rename all existing 
translation catalogs), to avoid loosing any translations.

as i suppose none of you has a full checkout of l10n-kde4/messages, this 
should be done by the kde-i18n-doc team?

what about kdeplasma-addons/dataengines/comic/?
is plasma_packagestructure_comic or plasma_engine_comic the proper catalog 
name?

beside these naming bugs there are some more issues to solve:

- applets/system-monitor
aseigo tried to fix the bug this morning in trunk and branch, but his fix does 
not work, so i wrote my own for branch, patch attached for review.

- lancelot_launcher
„Configure Shortcuts...“ in context menu untranslated

- weather + weatherstation
missing i18n calls for the strings from 
kdebase/workspace/plasma/dataengines/weather?

-- 
Burkhard Lück


-------------- next part --------------
kde42 at rebutia:~/svn/kdebase/workspace/plasma$ wcgrep "\.pot\|K_EXPORT_PLASMA_" .

./applets/system-monitor/net.h:74:K_EXPORT_PLASMA_APPLET(sm_net, SM::Net)                                 
./applets/system-monitor/hwinfo.h:63:K_EXPORT_PLASMA_APPLET(sm_hwinfo, HWInfo)                            
./applets/system-monitor/hdd.h:66:K_EXPORT_PLASMA_APPLET(sm_hdd, Hdd)                                     
./applets/system-monitor/temperature.h:69:K_EXPORT_PLASMA_APPLET(sm_temperature, Temperature)             
./applets/system-monitor/cpu.h:70:K_EXPORT_PLASMA_APPLET(sm_cpu, SM::Cpu)                                 
./applets/system-monitor/system-monitor.h:64:K_EXPORT_PLASMA_APPLET(system-monitor_applet, SystemMonitor) 
./applets/system-monitor/ram.h:68:K_EXPORT_PLASMA_APPLET(sm_ram, SM::Ram)                                 
./applets/system-monitor/Messages.sh:3:$XGETTEXT *.cpp -o $podir/plasma_applet_system-monitor.pot         

./scriptengines/google_gadgets/ggl_applet_script.cpp:53:K_EXPORT_PLASMA_APPLETSCRIPTENGINE(googlegadget, GglAppletScript)                   
./scriptengines/google_gadgets/Messages.sh:2:$XGETTEXT *.cpp -o $podir/plasma_scriptengine_ggl.pot                                          
./scriptengines/google_gadgets/ggl_package.cpp:41:K_EXPORT_PLASMA_PACKAGESTRUCTURE(googlegadget, GglPackage)                                
plasma_scriptengine_ggl != plasma_appletscriptengine_googlegadget

./scriptengines/qedjescript/qedje_package.cpp:32:K_EXPORT_PLASMA_PACKAGESTRUCTURE(qedjescripts, QEdjePackage)                               
./scriptengines/qedjescript/Messages.sh:3:$XGETTEXT *.cpp -o $podir/plasma_appletscript_qedje.pot                                           
./scriptengines/qedjescript/qedje_applet.cpp:29:K_EXPORT_PLASMA_APPLETSCRIPTENGINE(qedjescripts, QEdjeAppletScript)                         
plasma_appletscript_qedje != plasma_appletscriptengine_qedjescripts

./containments/screensaver/desktop.cpp:104:K_EXPORT_PLASMA_APPLET(saverdesktop, SaverDesktop)
./containments/screensaver/Messages.sh:2:$XGETTEXT *.cpp -o $podir/plasma_containment_saverdesktop.pot
plasma_containment_saverdesktop != plasma_applet_saverdesktop


kde42 at rebutia:~/svn/kdeplasma-addons$ wcgrep "\.pot\|K_EXPORT_PLASMA_" .

./applets/konsoleprofiles/konsoleprofilesapplet.h:55:K_EXPORT_PLASMA_APPLET(konsoleprofilesapplet, KonsoleProfilesApplet )
./applets/konsoleprofiles/Messages.sh:2:$XGETTEXT *.cpp -o $podir/plasma_applet_konsoleprofiles.pot                       
plasma_applet_konsoleprofiles != plasma_applet_konsoleprofilesapplet

./applets/charselect/charselect.h:54:K_EXPORT_PLASMA_APPLET(CharSelectApplet, CharSelectApplet)                           
./applets/charselect/Messages.sh:2:$XGETTEXT *.cpp -o $podir/plasma_applet_charselect.pot                                 
plasma_applet_charselect != plasma_applet_CharSelectApplet

./applets/microblog/microblog.h:175:K_EXPORT_PLASMA_APPLET(microblog, MicroBlog)                                          
./applets/microblog/Messages.sh:2:$XGETTEXT *.cpp -o $podir/plasma_applet_twitter.pot                                     
plasma_applet_twitter != plasma_applet_microblog

./applets/dict/dict.h:85:K_EXPORT_PLASMA_APPLET(qstardict, DictApplet)                                                    
./applets/dict/Messages.sh:2:$XGETTEXT *.cpp -o $podir/plasma_applet_dict.pot
plasma_applet_dict != plasma_applet_qstardict

./applets/konqprofiles/konqprofilesapplet.h:56:K_EXPORT_PLASMA_APPLET(konqprofilesapplet, KonqProfilesApplet )
./applets/konqprofiles/Messages.sh:2:$XGETTEXT *.cpp -o $podir/plasma_applet_konqprofiles.pot
plasma_applet_konqprofiles != plasma_applet_konqprofilesapplet

./applets/bball/Messages.sh:2:$XGETTEXT *.cpp -o $podir/plasma_applet_bball.pot
./applets/bball/bball.h:95:K_EXPORT_PLASMA_APPLET (BbalL, bballApplet)
plasma_applet_bball != plasma_applet_BbalL

./dataengines/comic/comic_package_plugin.cpp:21:K_EXPORT_PLASMA_PACKAGESTRUCTURE(comic, ComicPackage)
./dataengines/comic/Messages.sh:2:$XGETTEXT *.cpp -o $podir/plasma_packagestructure_comic.pot
./dataengines/comic/comic.h:69:K_EXPORT_PLASMA_DATAENGINE( comic, ComicEngine )
plasma_packagestructure_comic ?
or
plasma_engine_comic ?

./dataengines/ocs/lib/Messages.sh:2:$XGETTEXT *.cpp -o $podir/libocsclient.pot
./dataengines/ocs/ocsengine.h:80:K_EXPORT_PLASMA_DATAENGINE(attica, OcsEngine )
./dataengines/ocs/Messages.sh:2:$XGETTEXT *.cpp -o $podir/plasma_engine_ocs.pot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plasma-system-monitor.diff
Type: text/x-patch
Size: 3868 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090707/5e289909/attachment-0001.diff 


More information about the Plasma-devel mailing list