Commit 7cdcf647 authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark
Browse files

bump version, fix use of the name macros, update copyrights, fix license references

parent a4e0974a
......@@ -31,11 +31,12 @@
static KAboutData about(
APP_NAME,
0,
ki18n("Filelight"),
ki18n(APP_PRETTYNAME),
APP_VERSION,
ki18n("Graphical disk-usage information"),
KAboutData::License_GPL_V3,
ki18n("(C) 2006 Max Howell\n(C) 2008, 2009, 2012 Martin Sandsmark"),
KAboutData::License_GPL,
ki18n("(C) 2006 Max Howell\n\
(C) 2008-2013 Martin Sandsmark"),
KLocalizedString(),
"http://utils.kde.org/projects/filelight");
......@@ -55,7 +56,7 @@ int main(int argc, char *argv[])
KCmdLineArgs::init(argc, argv, &about);
KCmdLineOptions options;
KLocale *tmpLocale = new KLocale(QLatin1String("filelight"));
KLocale *tmpLocale = new KLocale(QLatin1String(APP_NAME));
options.add(ki18nc("Path in the file system to scan", "+[path]").toString(tmpLocale).toLocal8Bit(), ki18n("Scan 'path'"));
delete tmpLocale;
KCmdLineArgs::addCmdLineOptions(options);
......
/***********************************************************************
* Copyright 2003-2004 Max Howell <max.howell@methylblue.com>
* Copyright 2008-2009 Martin Sandsmark <martin.sandsmark@kde.org>
* Copyright 2008-2013 Martin Sandsmark <martin.sandsmark@kde.org>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
......@@ -30,7 +30,7 @@
#undef PRETTYNAME
#define APP_NAME "filelight"
#define APP_VERSION "1.13"
#define APP_VERSION "1.20"
#define APP_PRETTYNAME "Filelight"
#endif
/***********************************************************************
* Copyright 2003-2004 Max Howell <max.howell@methylblue.com>
* Copyright 2008-2009 Martin Sandsmark <martin.sandsmark@kde.org>
* Copyright 2008-2013 Martin Sandsmark <martin.sandsmark@kde.org>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
......@@ -54,7 +54,7 @@ K_PLUGIN_FACTORY(filelightPartFactory, registerPlugin<Part>();) // produce a fa
K_EXPORT_PLUGIN(filelightPartFactory(KAboutData(
"filelightpart",
0,
ki18n("Filelight"),
ki18n(APP_PRETTYNAME),
APP_VERSION,
ki18n("Displays file usage in an easy to understand way."),
KAboutData::License_GPL,
......@@ -63,8 +63,8 @@ K_EXPORT_PLUGIN(filelightPartFactory(KAboutData(
KLocalizedString(),
"http://utils.kde.org/projects/filelight",
"martin.sandsmark@kde.org").
setProgramIconName(QLatin1String( "filelight" )).
setCatalogName( "filelight" )))
setProgramIconName(QLatin1String(APP_NAME)).
setCatalogName(APP_NAME)))
BrowserExtension::BrowserExtension(Part *parent)
: KParts::BrowserExtension(parent)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment