twin: avoid adding strings from lib subfolders in two .pot files

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 9ba68726b5)
r14.1.x
Michele Calgaro 8 months ago
parent 0587e5ec31
commit dc36e4bfdb
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -150,6 +150,7 @@ extern "C"
{
// What does this do? Why not insert klipper and kxkb, too? --ellis, 2002/01/15
TDEGlobal::locale()->insertCatalogue("twin");
TDEGlobal::locale()->insertCatalogue("twin_lib");
TDEGlobal::locale()->insertCatalogue("kdesktop");
TDEGlobal::locale()->insertCatalogue("kicker");
return new KeyModule(parent, "kcmkeys");

@ -5,6 +5,7 @@ tde_l10n_create_template(
EXCLUDES
"^clients/"
"^kcmtwin/"
"^lib/"
)
tde_l10n_auto_add_subdirectories( )

@ -46,6 +46,7 @@ static const TDECmdLineOptions options[] =
int main( int argc, char* argv[] )
{
TDELocale::setMainCatalogue( "twin" ); // the messages are in twin's .po file
TDELocale::insertCatalogue( "twin_lib" );
TDECmdLineArgs::init( argc, argv, "twin_killer_helper", I18N_NOOP( "TWin" ),
I18N_NOOP( "TWin helper utility" ), "1.0" );
TDECmdLineArgs::addCmdLineOptions( options );

@ -310,6 +310,7 @@ KDE_EXPORT int kdemain( int argc, char * argv[] )
}
TDEGlobal::locale()->setMainCatalogue("twin");
TDELocale::insertCatalogue("twin_lib");
TDEAboutData aboutData( "twin", I18N_NOOP("TWin"),
version, description, TDEAboutData::License_GPL,

@ -45,6 +45,7 @@ static const TDECmdLineOptions options[] =
int main( int argc, char* argv[] )
{
TDELocale::setMainCatalogue( "twin" ); // the messages are in twin's .po file
TDELocale::insertCatalogue( "twin_lib" );
TDECmdLineArgs::init( argc, argv, "twin_resume_helper", I18N_NOOP( "TWin" ),
I18N_NOOP( "TWin helper utility" ), "1.0" );
TDECmdLineArgs::addCmdLineOptions( options );

Loading…
Cancel
Save