diff --git a/main.cpp b/main.cpp index 06a1982..127a981 100644 --- a/main.cpp +++ b/main.cpp @@ -1,75 +1,76 @@ /* * main.cpp * * Copyright (C) 2010 David Hubner * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * */ //Local #include "main.h" //KDE #include #include #include #include //Qt #include KicApp::KicApp(int &argc, char **argv) : QApplication(argc, argv) { - QApplication::setApplicationDisplayName(i18n("KDE Info Center")); + const auto displayName = i18n("Info Center"); + QApplication::setApplicationDisplayName(displayName); QApplication::setOrganizationDomain(QStringLiteral("kde.org")); KLocalizedString::setApplicationDomain("kinfocenter"); - KAboutData aboutData( QStringLiteral("kinfocenter"), i18n("KDE Info Center"), - PROJECT_VERSION, i18n("The KDE Info Center"), KAboutLicense::GPL, - i18n("(c) 2009-2010, The KDE SC KInfocenter Development Team")); + KAboutData aboutData( QStringLiteral("kinfocenter"), displayName, + PROJECT_VERSION, displayName, KAboutLicense::GPL, + i18n("Copyright 2009-2016 KDE")); aboutData.setProgramIconName(QStringLiteral("hwinfo")); aboutData.addAuthor(i18n("David Hubner"),i18n("Current Maintainer"), QStringLiteral("hubnerd@ntlworld.com")); aboutData.addAuthor(i18n("Helge Deller"), i18n("Previous Maintainer"), QStringLiteral("deller@kde.org")); aboutData.addAuthor(i18n("Matthias Hoelzer-Kluepfel"),QString(), QStringLiteral("hoelzer@kde.org")); aboutData.addAuthor(i18n("Matthias Elter"), QString(), QStringLiteral("elter@kde.org")); aboutData.addAuthor(i18n("Matthias Ettrich"), QString(), QStringLiteral("ettrich@kde.org")); aboutData.addAuthor(i18n("Waldo Bastian"), QString(), QStringLiteral("bastian@kde.org")); aboutData.addAuthor(i18n("Nicolas Ternisien"), QString(), QStringLiteral("nicolas.ternisien@gmail.com")); KAboutData::setApplicationData(aboutData); QCommandLineParser parser; parser.addHelpOption(); parser.addVersionOption(); aboutData.setupCommandLine(&parser); parser.process(*this); aboutData.processCommandLine(&parser); display = new KInfoCenter(); display->show(); KDBusService* service = new KDBusService(KDBusService::Unique, this); } int main(int argc, char *argv[]) { KicApp Kic(argc, argv); return Kic.exec(); } diff --git a/org.kde.kinfocenter.desktop b/org.kde.kinfocenter.desktop index a16c139..8f3b529 100755 --- a/org.kde.kinfocenter.desktop +++ b/org.kde.kinfocenter.desktop @@ -1,192 +1,192 @@ [Desktop Entry] Exec=kinfocenter Icon=hwinfo Type=Application X-DocPath=kinfocenter/index.html X-KDE-StartupNotify=true OnlyShowIn=KDE; -Name=KInfoCenter +Name=Info Center Name[af]=Inligting Sentrum Name[ar]=مركز معلوماتك Name[as]=KInfoCenter Name[ast]=KInfoCenter Name[be]=KInfoCenter Name[be@latin]=KInfoCenter Name[bg]=Информационен център Name[bn]=কে-ইনফো-সেন্টার Name[bn_IN]=KInfoCenter Name[br]=KInfoCenter Name[bs]=K‑infocentar Name[ca]=KInfoCenter Name[ca@valencia]=KInfoCenter Name[cs]=KInfoCenter Name[csb]=Centróm wëdowiédzë Name[da]=KInfoCenter Name[de]=Infozentrum Name[el]=Κέντρο πληροφοριών Name[en_GB]=KInfoCenter Name[eo]=KInfoCenter Name[es]=KInfoCenter Name[et]=KDE infokeskus Name[eu]=KInfoCenter Name[fi]=KInfoCenter Name[fr]=KInfoCenter Name[fy]=KInfoCenter Name[ga]=KInfoCenter Name[gl]=KInfoCenter Name[gu]=KInfoCenter Name[he]=KInfoCenter Name[hi]=के-इन्फ़ोसेंटर Name[hne]=के-इन्फोसेंटर Name[hr]=KInfoCenter Name[hsb]=KInfoCenter Name[hu]=KInfoCenter Name[ia]=KInfoCenter Name[id]=KInfoCenter Name[is]=KInfoCenter Name[it]=Centro d'informazione Name[ja]=KInfoCenter Name[ka]=KInfoCenter Name[kk]=KInfoCenter Name[km]=KInfoCenter Name[kn]=ಕೆಇನ್ಫೋಸೆಂಟರ್ Name[ko]=KInfoCenter Name[ku]=Navenda Agahiyên KDE'yê Name[lt]=KInfoCenter Name[lv]=KInfoCenter Name[mai]=के-इन्फोसेंटर Name[mk]=КИнфоцентар Name[ml]=കെഇന്‍ഫോസെന്റര്‍ Name[mr]=केइन्फोसेंटर Name[ms]=KInfoCenter Name[nb]=KInfoCenter Name[nds]=KDE-Infozentrum Name[ne]=केडीई सूचना केन्द्र Name[nl]=KInfoCenter Name[nn]=KInfoCenter Name[oc]=KInfoCenter Name[or]=KInfoCenter Name[pa]=ਕੇ-ਜਾਣਕਾਰੀ ਸੈਂਟਰ Name[pl]=Centrum informacyjne Name[pt]=KInfoCenter Name[pt_BR]=KInfoCenter Name[ro]=Centrul de informații KDE Name[ru]=KInfoCenter Name[se]=KInfoCenter Name[si]=KInfoCenter Name[sk]=KInfoCenter Name[sl]=KInfoCenter Name[sr]=К‑инфоцентар Name[sr@ijekavian]=К‑инфоцентар Name[sr@ijekavianlatin]=K‑infocentar Name[sr@latin]=K‑infocentar Name[sv]=Informationscentralen Name[ta]=கேதகவல் மையம் Name[te]=కెఇన్ఫొసెంటర్ Name[tg]=KInfoCenter Name[th]=ศูนย์ข้อมูล-K Name[tr]=KDE Bilgi Merkezi Name[ug]=KInfoCenter Name[uk]=KInfoCenter Name[uz]=Maʼlumot markazi Name[uz@cyrillic]=Маълумот маркази Name[vi]=KInfoCenter Name[wa]=Cinte d' informåcions Name[x-test]=xxKInfoCenterxx Name[zh_CN]=KInfoCenter Name[zh_TW]=KInfoCenter GenericName=Info Center GenericName[af]=Inligting Sentrum GenericName[ar]=مركز المعلومات GenericName[as]=তথ্য কেন্দ্ৰ GenericName[ast]=Centru d'información GenericName[be]=Цэнтр інфармацыі GenericName[be@latin]=Infarmacyjny centar GenericName[bg]=Информационен център GenericName[bn]=তথ্য কেন্দ্র GenericName[bn_IN]=তথ্য কেন্দ্র GenericName[br]=Kreizenn Titouroù GenericName[bs]=Informacioni centar GenericName[ca]=Centre d'informació GenericName[ca@valencia]=Centre d'informació GenericName[cs]=Informační centrum GenericName[csb]=Centróm wëdowiédzë GenericName[cy]=Canolfan Gwybodaeth GenericName[da]=Infocenter GenericName[de]=Infozentrum GenericName[el]=Κέντρο πληροφοριών GenericName[en_GB]=Info Centre GenericName[eo]=Informocentro GenericName[es]=Centro de información GenericName[et]=Infokeskus GenericName[eu]=Informazio-gunea GenericName[fa]=مرکز اطلاعات GenericName[fi]=Infokeskus GenericName[fr]=Centre d'informations GenericName[fy]=Ynformaasjesintrum GenericName[ga]=Lárionad Eolais GenericName[gl]=Centro de información GenericName[gu]=માહિતી કેન્દ્ર GenericName[he]=מרכז המידע GenericName[hi]=जानकारी केंद्र GenericName[hne]=जानकारी केंद्र GenericName[hr]=Info središte GenericName[hsb]=Centralna informacija GenericName[hu]=Rendszerinformáció GenericName[ia]=Centro de Info GenericName[id]=Pusat Info GenericName[is]=Upplýsingaborð GenericName[it]=Centro delle informazioni GenericName[ja]=システム情報センター GenericName[ka]=საინფორმაციო ცენტრი GenericName[kk]=Мәлімет орталығы GenericName[km]=មជ្ឈមណ្ឌល​ព័ត៌មាន GenericName[kn]=ಮಾಹಿತಿ ಕೇಂದ್ರ GenericName[ko]=정보 센터 GenericName[ku]=Navenda Agahiyan GenericName[lt]=Info centras GenericName[lv]=Informācijas centrs GenericName[mai]=सूचना केंद्र GenericName[mk]=Информативен центар GenericName[ml]=വിവരകേന്ദ്രം GenericName[mr]=माहिती केंद्र GenericName[ms]=Pusat Maklumat GenericName[nb]=KDEs informasjonssenter GenericName[nds]=Infozentrum GenericName[ne]=सूचना केन्द्र GenericName[nl]=Informatiecentrum GenericName[nn]=KDEs informasjonssenter GenericName[or]=ସୂଚନା କେନ୍ଦ୍ର GenericName[pa]=ਜਾਣਕਾਰੀ ਸੈਂਟਰ GenericName[pl]=Centrum informacyjne GenericName[pt]=Centro de Informações GenericName[pt_BR]=Centro de Informações GenericName[ro]=Centru de informații GenericName[ru]=Информация о системе GenericName[se]=Diehtoguovddáš GenericName[si]=තොරතුරු මධ්‍යස්ථානය GenericName[sk]=Informačné centrum GenericName[sl]=Podatkovno središče GenericName[sr]=Информациони центар GenericName[sr@ijekavian]=Информациони центар GenericName[sr@ijekavianlatin]=Informacioni centar GenericName[sr@latin]=Informacioni centar GenericName[sv]=Informationscentralen GenericName[ta]=தகவல் மையம் GenericName[te]=సమాచార కేంద్రం GenericName[tg]=Маркази иттилооти система GenericName[th]=ศูนย์ข้อมูล GenericName[tr]=Bilgi Merkezi GenericName[ug]=ئۇچۇر مەركىزى GenericName[uk]=Центр інформації GenericName[uz]=Maʼlumot markazi GenericName[uz@cyrillic]=Маълумот маркази GenericName[vi]=Trung tâm Thông tin GenericName[wa]=Cinte d' informåcions di KDE GenericName[x-test]=xxInfo Centerxx GenericName[zh_CN]=信息中心 GenericName[zh_TW]=資訊中心 X-DBUS-ServiceName=org.kde.kinfocenter X-DBUS-StartupType=Unique Categories=Qt;KDE;System;