OSDN Git Service

generic: adjust to KLocale changes
[kde/kde-extraapps.git] / kmix / apps / kmixctrl.cpp
index 4bda349..31be5de 100644 (file)
@@ -38,7 +38,6 @@ I18N_NOOP("kmixctrl - kmix volume save/restore utility");
 
 int main(int argc, char *argv[])
 {
-   KLocale::setMainCatalog("kmix");
    KAboutData aboutData( "kmixctrl", 0, ki18n("KMixCtrl"),
                         APP_VERSION, ki18n(description), KAboutData::License_GPL,
                         ki18n("(c) 2000 by Stefan Schimanski"));
@@ -47,6 +46,8 @@ int main(int argc, char *argv[])
 
    KCmdLineArgs::init( argc, argv, &aboutData );
 
+   KGlobal::locale()->insertCatalog("kmix");
+
    KCmdLineOptions options;
    options.add("s");
    options.add("save", ki18n("Save current volumes as default"));