Improve message extraction

Messages from kdecorations library are extracted to libkdecorations.pot.
Messages from kwineffects library are extracted to libkwineffects.pot.
Currently there are no messages yet in kwineffects, so it's for future use.
This commit is contained in:
Martin Gräßlin 2011-02-20 16:02:33 +01:00
parent 90bebd853d
commit b57e343500
4 changed files with 4 additions and 4 deletions

View file

@ -1,3 +1,3 @@
#! /usr/bin/env bash
$EXTRACTRC *.kcfg >> rc.cpp
$XGETTEXT *.h *.cpp effects/*.cpp killer/*.cpp lib/*.cpp tabbox/*.cpp -o $podir/kwin.pot
$XGETTEXT *.h *.cpp killer/*.cpp tabbox/*.cpp -o $podir/kwin.pot

View file

@ -1,2 +1,2 @@
#! /usr/bin/env bash
$XGETTEXT `find . -name \*.cpp` -o $podir/kwin_lib.pot
$XGETTEXT `find . -name \*.cpp` -o $podir/libkdecorations.pot

View file

@ -181,7 +181,7 @@ trydefaultlib:
catalog.replace("kwin3_", "kwin_");
KGlobal::locale()->insertCatalog(catalog);
// For KCommonDecoration based clients
KGlobal::locale()->insertCatalog("kwin_lib");
KGlobal::locale()->insertCatalog("libkdecorations");
// For clients in kdebase
KGlobal::locale()->insertCatalog("kwin_clients");
// For clients in kdeartwork

View file

@ -1,2 +1,2 @@
#! /usr/bin/env bash
$XGETTEXT `find . -name \*.cpp` -o $podir/kwin_lib.pot
$XGETTEXT `find . -name \*.cpp` -o $podir/libkwineffects.pot