not matching Catalog/Export macro names in playground/base

Burkhard Lück lueck at hube-lueck.de
Mon Jul 13 12:28:22 CEST 2009


Hi Plasma Devels,

I checked playground/base/plasma for i18n bugs and found some of them (unused 
catalogs, not matching catalog / EXPORT macro names and  an extraction to the 
wrong catalog), see attachment.

How can we fix these i18n bugs?

-- 
Burkhard Lück


-------------- next part --------------
Unused translation catalogs:

playground/base/plasma/applets/networkmanager/vpnplugins/openvpn/Messages.sh:2:$XGETTEXT *.cpp -o $podir/networkmanagement_openvpnui.pot
playground/base/plasma/applets/networkmanager/vpnplugins/vpnc/Messages.sh:2:$XGETTEXT *.cpp -o $podir/networkmanagement_vpncui.pot


Not matching catalog + EXPORT macro names:

playground/base/plasma/applets/darkstat/plasma-darkstat.h:96:K_EXPORT_PLASMA_APPLET(Darkstat, PlasmaDarkstat)
playground/base/plasma/applets/darkstat/Messages.sh:2:$XGETTEXT *.cpp -o $podir/plasma_applet_darkstat.pot

playground/base/plasma/applets/kuickquiz/kuickquiz.h:109:K_EXPORT_PLASMA_APPLET(kuickquiz, KuickQuiz)
playground/base/plasma/applets/kuickquiz/Messages.sh:2:$XGETTEXT *.cpp -o $podir/kuickquiz.pot

playground/base/plasma/applets/svgpaneltest/svgpaneltest.h:74:K_EXPORT_PLASMA_APPLET(SvgPanelTest, SvgPanelTest)
playground/base/plasma/applets/svgpaneltest/Messages.sh:2:$XGETTEXT *.cpp -o $podir/svgpaneltest.pot

playground/base/plasma/applets/embed-win/embed-win.h:76:K_EXPORT_PLASMA_APPLET(embed_win, EmbedWin)
playground/base/plasma/applets/embed-win/Messages.sh:2:$XGETTEXT *.cpp -o $podir/plasma_applet_embed-win.pot

playground/base/plasma/applets/windowlist/applet/Messages.sh:2:$XGETTEXT *.cpp -o $podir/plasma_applet_windowlist.pot
playground/base/plasma/applets/windowlist/applet/WindowList.cpp:39:K_EXPORT_PLASMA_APPLET(windowslist, WindowList)

playground/base/plasma/applets/cucu-clock/clock.h:99:K_EXPORT_PLASMA_APPLET(cucu-clock, Clock)
playground/base/plasma/applets/cucu-clock/Messages.sh:2:$XGETTEXT *.cpp -o $podir/plasma_applet_cucu.pot

playground/base/plasma/applets/serverhotlink/serverapplet.h:66:K_EXPORT_PLASMA_APPLET(serverhotlink, ServerApplet)
playground/base/plasma/applets/serverhotlink/Messages.sh:2:$XGETTEXT *.cpp -o $podir/plasma_applet_serverapplet.pot

playground/base/plasma/applets/menubar/menuplasmoid.cpp:379:K_EXPORT_PLASMA_APPLET( menubar, MenuPlasmoid )
playground/base/plasma/applets/menubar/Messages.sh:2:$XGETTEXT *.cpp -o $podir/plasma_applet_programmenu.pot

playground/base/plasma/applets/kbstateapplet/kbstateapplet.cpp:843:K_EXPORT_PLASMA_APPLET(kbstate, KbStateApplet)
playground/base/plasma/applets/kbstateapplet/Messages.sh:2:$XGETTEXT *.cpp *.h -o $podir/kbstateapplet.pot

playground/base/plasma/runners/wikipedia/wikipedia.h:51:K_EXPORT_PLASMA_RUNNER(katesessions, Wikipedia)
playground/base/plasma/runners/wikipedia/Messages.sh:2:$XGETTEXT *.cpp -o $podir/plasma_runner_wikipedia.pot

playground/base/plasma/kinetic-declarative/qmlengine/qmlpackage.cpp:42:K_EXPORT_PLASMA_PACKAGESTRUCTURE(kineticdui, QmlPackage)
playground/base/plasma/kinetic-declarative/qmlengine/qmlappletscript.cpp:69:K_EXPORT_PLASMA_APPLETSCRIPTENGINE(kineticdui, QmlAppletScript)
playground/base/plasma/kinetic-declarative/qmlengine/Messages.sh:2:$XGETTEXT *.cpp -o $podir/plasma_appletscript_kinetic.pot

playground/base/plasma/containments/blankdesktop/desktop.cpp:175:K_EXPORT_PLASMA_APPLET(blankdesktop, BlankDesktop)
playground/base/plasma/containments/blankdesktop/Messages.sh:2:$XGETTEXT *.cpp -o $podir/plasma_containment_blankdesktop.pot

playground/base/plasma/containments/mid-mainscreen/mainscreen.cpp:269:K_EXPORT_PLASMA_APPLET(mainscreen, MainScreen)
playground/base/plasma/containments/mid-mainscreen/Messages.sh:2:$XGETTEXT *.cpp -o $podir/plasma_applet_midmainscreen.pot


Messages extracted to wrong catalog (previewcontainment.cpp to plasmate)
playground/base/plasma/plasmate/Messages.sh:3:$XGETTEXT `find -name \*.cpp -o -name \*.h` *.cpp *.h -o $podir/plasmate.pot
playground/base/plasma/plasmate/previewer/previewcontainment.cpp:371:K_EXPORT_PLASMA_APPLET(studiopreviewer, PreviewContainment)


More information about the Plasma-devel mailing list