Oops. KWin decoration plugins had no messages although they contain

few i18n strings.

svn path=/trunk/kdebase/kwin/; revision=331733
This commit is contained in:
Luboš Luňák 2004-07-22 11:48:03 +00:00
parent 0c4afbf8be
commit 12f4763033
10 changed files with 25 additions and 0 deletions

View file

@ -18,6 +18,8 @@ lnk_DATA = b2.desktop
EXTRA_DIST = $(lnk_DATA)
messages:
$(XGETTEXT) *.cpp -o $(podir)/kwin_b2.pot
###KMAKE-start (don't edit or delete this block)

View file

@ -11,3 +11,6 @@ kwin3_default_la_LIBADD = $(LIB_KDECORE) ../../lib/libkdecorations.la
METASOURCES = AUTO
noinst_HEADERS = kdedefault.h
messages:
$(XGETTEXT) *.cpp -o $(podir)/kwin_default.pot

View file

@ -42,3 +42,5 @@ tiles.h: embedtool
keramik.lo: tiles.h
messages:
$(XGETTEXT) *.cpp -o $(podir)/kwin_keramik.pot

View file

@ -12,3 +12,6 @@ noinst_HEADERS = kwmthemeclient.h
lnkdir = $(kde_datadir)/kwin
lnk_DATA = kwmtheme.desktop
messages:
$(XGETTEXT) *.cpp -o $(podir)/kwin_kwmtheme.pot

View file

@ -15,3 +15,5 @@ lnk_DATA = laptop.desktop
EXTRA_DIST = $(lnk_DATA)
messages:
$(XGETTEXT) *.cpp -o $(podir)/kwin_laptop.pot

View file

@ -17,3 +17,5 @@ lnk_DATA = modernsystem.desktop
EXTRA_DIST = $(lnk_DATA)
messages:
$(XGETTEXT) *.cpp -o $(podir)/kwin_modernsys.pot

View file

@ -17,6 +17,8 @@ lnk_DATA = quartz.desktop
EXTRA_DIST = $(lnk_DATA)
messages:
$(XGETTEXT) *.cpp -o $(podir)/kwin_quartz.pot
###KMAKE-start (don't edit or delete this block)

View file

@ -15,3 +15,5 @@ lnk_DATA = redmond.desktop
EXTRA_DIST = $(lnk_DATA)
messages:
$(XGETTEXT) *.cpp -o $(podir)/kwin_redmond.pot

View file

@ -28,3 +28,6 @@ METASOURCES = AUTO
linkdir = $(kde_datadir)/kwin/
link_DATA = web.desktop
EXTRA_DIST = $(link_DATA)
messages:
$(XGETTEXT) *.cpp -o $(podir)/kwin_web.pot

View file

@ -165,6 +165,10 @@ bool KDecorationPlugins::loadPlugin( QString nameStr )
pluginStr = nameStr;
QString catalogue = nameStr;
catalogue.replace( "kwin3_", "kwin_" );
KGlobal::locale()->insertCatalogue( catalogue );
old_library = oldLibrary; // save for delayed destroying
old_fact = oldFactory;