I18N: untranslatable strings

Add a central user message extraction for all KWin client.
(The config programs have already their own .pot files)
CCMAIL:kde-i18n-doc@kde.org

(Note: there is currently not much of a choice to add a new .pot file,
as KWin has already many of them and we are in message freeze.
But at least this new .pot file can be shared between all clients, which
share most of the user visible strings.)

svn path=/trunk/kdebase/kwin/; revision=332022
This commit is contained in:
Nicolas Goutte 2004-07-23 13:09:13 +00:00
parent f152f68712
commit 92949ab569
11 changed files with 6 additions and 22 deletions

View file

@ -1,3 +1,8 @@
SUBDIRS = b2 default keramik laptop modernsystem quartz redmond web
# need to be ported: kwmtheme (almost done)
# only for testing: test
# -maxdepth 2 is needed as the config directories have other .pot files :-(
# KDE4 (or 3.4): unify the .pot, at least for the clients
messages:
$(XGETTEXT) `find . -maxdepth 2 -name \*.cpp` -o $(podir)/kwin_clients.pot

View file

@ -18,9 +18,6 @@ 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)
###KMAKE-end

View file

@ -12,5 +12,3 @@ 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,5 +42,3 @@ tiles.h: embedtool
keramik.lo: tiles.h
#messages:
# $(XGETTEXT) *.cpp -o $(podir)/kwin_keramik.pot

View file

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

View file

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

View file

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

View file

@ -17,8 +17,6 @@ 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,5 +15,3 @@ lnk_DATA = redmond.desktop
EXTRA_DIST = $(lnk_DATA)
#messages:
# $(XGETTEXT) *.cpp -o $(podir)/kwin_redmond.pot

View file

@ -29,5 +29,3 @@ linkdir = $(kde_datadir)/kwin/
link_DATA = web.desktop
EXTRA_DIST = $(link_DATA)
#messages:
# $(XGETTEXT) *.cpp -o $(podir)/kwin_web.pot

View file

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