X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/25fe9136dbbf420b2b5ddd28832bd50a4d43b8be..7eeb8dba6aeba09aa3dfa7fa5f0b00840d4d8317:/src/main.cpp diff --git a/src/main.cpp b/src/main.cpp index 678604897..3418c333f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -32,7 +32,7 @@ int main(int argc, char **argv) { KAboutData about("dolphin", 0, ki18nc("@title", "Dolphin"), - "1.3.80", + "1.4", ki18nc("@title", "File Manager"), KAboutData::License_GPL, ki18nc("@info:credit", "(C) 2006-2009 Peter Penz")); @@ -68,7 +68,14 @@ int main(int argc, char **argv) KCmdLineArgs::init(argc, argv, &about); KCmdLineOptions options; - options.add("+[Url]", ki18nc("@info:shell", "Document to open")); + + // 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); KCmdLineArgs::addCmdLineOptions(options); if (!DolphinApplication::start()) {