X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/923a47290f4a8472199733a85fa1f19ef130e9aa..78d4fffee8694281190ceab84f47bd2f2dfc8235:/src/main.cpp diff --git a/src/main.cpp b/src/main.cpp index 3418c333f..29e7fba6d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -28,14 +28,15 @@ #include #include -int main(int argc, char **argv) +extern "C" +KDE_EXPORT int kdemain(int argc, char **argv) { KAboutData about("dolphin", 0, ki18nc("@title", "Dolphin"), - "1.4", + "1.4.9", ki18nc("@title", "File Manager"), KAboutData::License_GPL, - ki18nc("@info:credit", "(C) 2006-2009 Peter Penz")); + ki18nc("@info:credit", "(C) 2006-2010 Peter Penz")); about.setHomepage("http://dolphin.kde.org"); about.addAuthor(ki18nc("@info:credit", "Peter Penz"), ki18nc("@info:credit", "Maintainer and developer"), @@ -69,13 +70,9 @@ int main(int argc, char **argv) KCmdLineOptions options; - // TODO KDE SC 4.5: The string freeze is valid and no new localized strings are allowed. - // To get in the --select option that was available in Konqueror 3, an already existing - // string ("Document to open") is used as workaround (the --select option will most probably - // anyhow used by applications and not by users). - const KLocalizedString& documentToOpen = ki18nc("@info:shell", "Document to open"); - options.add("select", documentToOpen); - options.add("+[Url]", documentToOpen); + options.add("select", ki18nc("@info:shell", "The files and directories passed as arguments " + "will be selected.")); + options.add("+[Url]", ki18nc("@info:shell", "Document to open")); KCmdLineArgs::addCmdLineOptions(options); if (!DolphinApplication::start()) {