Fix FTBFS caused by commit 9ba68726

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/398/head
Michele Calgaro 8 months ago
parent 30d54139a8
commit 22d8855473
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

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

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

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

Loading…
Cancel
Save