Fix KWin->TWin branding.

pull/2/head
Darrell Anderson 12 years ago
parent dd89b1bd55
commit f5c55ca4ce

@ -276,8 +276,8 @@ extern "C"
KDE_EXPORT int kdemain( int argc, char* argv[] ) KDE_EXPORT int kdemain( int argc, char* argv[] )
{ {
KLocale::setMainCatalogue( "kcmtwinrules" ); KLocale::setMainCatalogue( "kcmtwinrules" );
KCmdLineArgs::init( argc, argv, "twin_rules_dialog", I18N_NOOP( "KWin" ), KCmdLineArgs::init( argc, argv, "twin_rules_dialog", I18N_NOOP( "TWin" ),
I18N_NOOP( "KWin helper utility" ), "1.0" ); I18N_NOOP( "TWin helper utility" ), "1.0" );
KCmdLineArgs::addCmdLineOptions( options ); KCmdLineArgs::addCmdLineOptions( options );
KApplication app; KApplication app;
KCmdLineArgs* args = KCmdLineArgs::parsedArgs(); KCmdLineArgs* args = KCmdLineArgs::parsedArgs();

@ -46,8 +46,8 @@ static const KCmdLineOptions options[] =
int main( int argc, char* argv[] ) int main( int argc, char* argv[] )
{ {
KLocale::setMainCatalogue( "twin" ); // the messages are in twin's .po file KLocale::setMainCatalogue( "twin" ); // the messages are in twin's .po file
KCmdLineArgs::init( argc, argv, "twin_killer_helper", I18N_NOOP( "KWin" ), KCmdLineArgs::init( argc, argv, "twin_killer_helper", I18N_NOOP( "TWin" ),
I18N_NOOP( "KWin helper utility" ), "1.0" ); I18N_NOOP( "TWin helper utility" ), "1.0" );
KCmdLineArgs::addCmdLineOptions( options ); KCmdLineArgs::addCmdLineOptions( options );
KApplication app; KApplication app;
KCmdLineArgs* args = KCmdLineArgs::parsedArgs(); KCmdLineArgs* args = KCmdLineArgs::parsedArgs();

@ -309,7 +309,7 @@ KDE_EXPORT int kdemain( int argc, char * argv[] )
KGlobal::locale()->setMainCatalogue("twin"); KGlobal::locale()->setMainCatalogue("twin");
KAboutData aboutData( "twin", I18N_NOOP("KWin"), KAboutData aboutData( "twin", I18N_NOOP("TWin"),
version, description, KAboutData::License_GPL, version, description, KAboutData::License_GPL,
I18N_NOOP("(c) 1999-2005, The KDE Developers")); I18N_NOOP("(c) 1999-2005, The KDE Developers"));
aboutData.addAuthor("Matthias Ettrich",0, "ettrich@kde.org"); aboutData.addAuthor("Matthias Ettrich",0, "ettrich@kde.org");

@ -45,8 +45,8 @@ static const KCmdLineOptions options[] =
int main( int argc, char* argv[] ) int main( int argc, char* argv[] )
{ {
KLocale::setMainCatalogue( "twin" ); // the messages are in twin's .po file KLocale::setMainCatalogue( "twin" ); // the messages are in twin's .po file
KCmdLineArgs::init( argc, argv, "twin_resume_helper", I18N_NOOP( "KWin" ), KCmdLineArgs::init( argc, argv, "twin_resume_helper", I18N_NOOP( "TWin" ),
I18N_NOOP( "KWin helper utility" ), "1.0" ); I18N_NOOP( "TWin helper utility" ), "1.0" );
KCmdLineArgs::addCmdLineOptions( options ); KCmdLineArgs::addCmdLineOptions( options );
KApplication app; KApplication app;
KCmdLineArgs* args = KCmdLineArgs::parsedArgs(); KCmdLineArgs* args = KCmdLineArgs::parsedArgs();

Loading…
Cancel
Save