i18n messages for effects.

svn path=/trunk/KDE/kdebase/workspace/; revision=736200
This commit is contained in:
Luboš Luňák 2007-11-13 17:29:46 +00:00
parent a2801f1ba1
commit 2fd0261c03
5 changed files with 7 additions and 0 deletions

3
effects/Messages.sh Normal file
View file

@ -0,0 +1,3 @@
#! /usr/bin/env bash
$EXTRACTRC `find . -name \*.ui` >> rc.cpp || exit 11
$XGETTEXT `find . -name \*.cpp` -o $podir/kwin_effects.pot

View file

@ -1,2 +1,3 @@
#! /usr/bin/env bash #! /usr/bin/env bash
$EXTRACTRC *.ui >> rc.cpp || exit 11
$XGETTEXT *.cpp -o $podir/kcmkwincompositing.pot $XGETTEXT *.cpp -o $podir/kcmkwincompositing.pot

View file

@ -57,6 +57,7 @@ KWinCompositingConfig::KWinCompositingConfig(QWidget *parent, const QVariantList
: KCModule( KWinCompositingConfigFactory::componentData(), parent), : KCModule( KWinCompositingConfigFactory::componentData(), parent),
mKWinConfig(KSharedConfig::openConfig("kwinrc")) mKWinConfig(KSharedConfig::openConfig("kwinrc"))
{ {
KGlobal::locale()->insertCatalog( "kwin_effects" );
ui.setupUi(this); ui.setupUi(this);
ui.tabWidget->setCurrentIndex(0); ui.tabWidget->setCurrentIndex(0);
ui.statusLabel->hide(); ui.statusLabel->hide();

View file

@ -1,2 +1,3 @@
#! /usr/bin/env bash #! /usr/bin/env bash
$EXTRACTRC *.ui >> rc.cpp || exit 11
$XGETTEXT *.cpp -o $podir/kcmkwinrules.pot $XGETTEXT *.cpp -o $podir/kcmkwinrules.pot

View file

@ -398,6 +398,7 @@ KDE_EXPORT int kdemain( int argc, char * argv[] )
KWin::Application a; KWin::Application a;
KWin::SessionManager weAreIndeed; KWin::SessionManager weAreIndeed;
KWin::SessionSaveDoneHelper helper; KWin::SessionSaveDoneHelper helper;
KGlobal::locale()->insertCatalog( "kwin_effects" );
fcntl(XConnectionNumber(KWin::display()), F_SETFD, 1); fcntl(XConnectionNumber(KWin::display()), F_SETFD, 1);