[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdepim/wizards
From:       David Faure <faure () kde ! org>
Date:       2004-09-17 12:26:58
Message-ID: 20040917122658.A9D19126BB () office ! kde ! org
[Download RAW message or body]

CVS commit by faure: 

Fixed missing translation of kdepim wizards (kolab issue333):
  // Work around KLocale bug (IMHO) (reported to Heiko Evermann BTW) which disables languages
  // for which $appname.po doesn't exist. So we use kdepimwizards as appname.
I see no app-data installed into the old appnames, so this shouldn't have bad side-effects.
Also added missing insertCatalogue() call for "libkdepim".


  M +2 -2      egroupwaremain.cpp   1.5
  M +4 -2      kolabmain.cpp   1.7
  M +2 -2      main.cpp   1.7
  M +2 -2      sloxmain.cpp   1.6


--- kdepim/wizards/egroupwaremain.cpp  #1.4:1.5
@@ -35,5 +35,5 @@ static const KCmdLineOptions options[] =
 int main(int argc,char **argv)
 {
-  KAboutData aboutData( "egroupwarewizard",
+  KAboutData aboutData( "kdepimwizards",
                         "eGroupware Server Configuration Wizard",
                         "0.1" );
@@ -43,5 +43,5 @@ int main(int argc,char **argv)
   KApplication app;
 
-  KGlobal::locale()->insertCatalogue( "kdepimwizards" );
+  KGlobal::locale()->insertCatalogue( "libkdepim" );
 
   KCmdLineArgs *args = KCmdLineArgs::parsedArgs();

--- kdepim/wizards/kolabmain.cpp  #1.6:1.7
@@ -37,5 +37,7 @@ static const KCmdLineOptions options[] =
 int main(int argc,char **argv)
 {
-  KAboutData aboutData( "kolabwizard", I18N_NOOP( "Kolab Configuration Wizard" ), "0.1" );
+  // Work around KLocale bug (IMHO) (reported to Heiko Evermann BTW) which disables languages
+  // for which $appname.po doesn't exist. So we use kdepimwizards as appname.
+  KAboutData aboutData( "kdepimwizards", I18N_NOOP( "Kolab Configuration Wizard" ), "0.1" );
   KCmdLineArgs::init( argc, argv, &aboutData );
   KCmdLineArgs::addCmdLineOptions( options );
@@ -43,5 +45,5 @@ int main(int argc,char **argv)
   KApplication app;
 
-  KGlobal::locale()->insertCatalogue( "kdepimwizards" );
+  KGlobal::locale()->insertCatalogue( "libkdepim" );
 
   KCmdLineArgs *args = KCmdLineArgs::parsedArgs();

--- kdepim/wizards/main.cpp  #1.6:1.7
@@ -15,5 +15,5 @@ static const KCmdLineOptions options[] =
 int main( int argc, char **argv )
 {
-  KAboutData aboutData( "groupwarewizard",
+  KAboutData aboutData( "kdepimwizards",
                         I18N_NOOP( "KDE-PIM Groupware Configuration Wizard" ), "0.1" );
   KCmdLineArgs::init( argc, argv, &aboutData );
@@ -22,5 +22,5 @@ int main( int argc, char **argv )
   KApplication app;
 
-  KGlobal::locale()->insertCatalogue( "kdepimwizards" );
+  KGlobal::locale()->insertCatalogue( "libkdepim" );
 
   KCmdLineArgs *args = KCmdLineArgs::parsedArgs();

--- kdepim/wizards/sloxmain.cpp  #1.5:1.6
@@ -36,5 +36,5 @@ static const KCmdLineOptions options[] =
 int main(int argc,char **argv)
 {
-  KAboutData aboutData( "sloxwizard",
+  KAboutData aboutData( "kdepimwizards",
                         I18N_NOOP( "SUSE LINUX Openexchange Server Configuration Wizard" ),
                         "0.1" );
@@ -44,5 +44,5 @@ int main(int argc,char **argv)
   KApplication app;
 
-  KGlobal::locale()->insertCatalogue( "kdepimwizards" );
+  KGlobal::locale()->insertCatalogue( "libkdepim" );
 
   KCmdLineArgs *args = KCmdLineArgs::parsedArgs();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic