diff --git a/applets/calendar/CMakeLists.txt b/applets/calendar/CMakeLists.txt new file mode 100644 --- /dev/null +++ b/applets/calendar/CMakeLists.txt @@ -0,0 +1,14 @@ +set(calendarapplet_SRCS + calendarapplet.cpp +) + +add_library(plasma_applet_calendar MODULE ${calendarapplet_SRCS}) + +kcoreaddons_desktop_to_json(plasma_applet_calendar package/metadata.desktop) + +target_link_libraries(plasma_applet_calendar + KF5::Plasma) + +install(TARGETS plasma_applet_calendar DESTINATION ${PLUGIN_INSTALL_DIR}/plasma/applets) + +plasma_install_package(package org.kde.plasma.calendar) diff --git a/applets/calendar/calendarapplet.h b/applets/calendar/calendarapplet.h new file mode 100644 --- /dev/null +++ b/applets/calendar/calendarapplet.h @@ -0,0 +1,38 @@ +/* + * Copyright 2016 Kai Uwe Broulik + * + * 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) version 3 or any later version + * accepted by the membership of KDE e.V. (or its successor approved + * by the membership of KDE e.V.), which shall act as a proxy + * defined in Section 14 of version 3 of the license. + * + * 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, see . + * + */ + +#pragma once + +#include + +class QDateTime; + +class CalendarApplet : public Plasma::Applet +{ + Q_OBJECT + +public: + explicit CalendarApplet(QObject *parent, const QVariantList &data); + ~CalendarApplet() override; + + Q_INVOKABLE int weekNumber(const QDateTime &dateTime) const; + +}; diff --git a/applets/calendar/calendarapplet.cpp b/applets/calendar/calendarapplet.cpp new file mode 100644 --- /dev/null +++ b/applets/calendar/calendarapplet.cpp @@ -0,0 +1,43 @@ +/* + * Copyright 2016 Kai Uwe Broulik + * + * 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) version 3 or any later version + * accepted by the membership of KDE e.V. (or its successor approved + * by the membership of KDE e.V.), which shall act as a proxy + * defined in Section 14 of version 3 of the license. + * + * 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, see . + * + */ + +#include "calendarapplet.h" + +#include + +CalendarApplet::CalendarApplet(QObject *parent, const QVariantList &data) + : Plasma::Applet(parent, data) +{ + +} + +CalendarApplet::~CalendarApplet() +{ +} + +int CalendarApplet::weekNumber(const QDateTime &dateTime) const +{ + return dateTime.date().weekNumber(); +} + +K_EXPORT_PLASMA_APPLET_WITH_JSON(calendar, CalendarApplet, "metadata.json") + +#include "calendarapplet.moc" diff --git a/applets/calendar/contents/config/config.qml b/applets/calendar/contents/config/config.qml deleted file mode 100644 --- a/applets/calendar/contents/config/config.qml +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright 2013 Bhushan Shah - * - * 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) version 3 or any later version - * accepted by the membership of KDE e.V. (or its successor approved - * by the membership of KDE e.V.), which shall act as a proxy - * defined in Section 14 of version 3 of the license. - * - * 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, see - */ - -import QtQuick 2.0 - -import org.kde.plasma.configuration 2.0 - -ConfigModel { - ConfigCategory { - name: i18n("General") - icon: "preferences-system-time" - source: "configGeneral.qml" - } -// ConfigCategory { -// name: i18n("Agenda") -// icon: "view-calendar-agenda" -// source: "configAgenda.qml" -// } -} diff --git a/applets/calendar/contents/config/main.xml b/applets/calendar/contents/config/main.xml deleted file mode 100644 --- a/applets/calendar/contents/config/main.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - 9 - - - 17 - - - false - - - diff --git a/applets/calendar/contents/images/mini-calendar.svgz b/applets/calendar/contents/images/mini-calendar.svgz deleted file mode 100644 index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc$@ - * - * 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) version 3 or any later version - * accepted by the membership of KDE e.V. (or its successor approved - * by the membership of KDE e.V.), which shall act as a proxy - * defined in Section 14 of version 3 of the license. - * - * 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, see - */ - -import QtQuick 2.0 -import QtQuick.Controls 1.0 as QtControls -import QtQuick.Layouts 1.0 as QtLayouts - -Item { - id: agendaPage - - width: childrenRect.width - height: childrenRect.height - implicitWidth: mainColumn.implicitWidth - implicitHeight: pageColumn.implicitHeight - - property int cfg_startOfWorkingDay: startsAt.checked ? 0 : 9 - property int cfg_endOfWorkingDay: endsAt.checked ? 23 : 17 - - QtLayouts.ColumnLayout { - QtControls.GroupBox { - title: i18n("Working Day") - flat: true - - QtLayouts.ColumnLayout { - QtControls.CheckBox { - id: startsAt - text: i18n("Starts at 9") - } - - QtControls.CheckBox { - id: endsAt - text: i18n("Ends at 5") - } - } - } - } -} \ No newline at end of file diff --git a/applets/calendar/contents/ui/configGeneral.qml b/applets/calendar/contents/ui/configGeneral.qml deleted file mode 100644 --- a/applets/calendar/contents/ui/configGeneral.qml +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2015 Martin Klapetek - * - * 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) version 3 or any later version - * accepted by the membership of KDE e.V. (or its successor approved - * by the membership of KDE e.V.), which shall act as a proxy - * defined in Section 14 of version 3 of the license. - * - * 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, see - */ - -import QtQuick 2.0 -import QtQuick.Controls 1.0 as QtControls -import QtQuick.Layouts 1.0 as QtLayouts - -Item { - id: generalPage - - width: childrenRect.width - height: childrenRect.height - - property alias cfg_showWeekNumbers: showWeekNumbers.checked - - QtLayouts.ColumnLayout { - QtControls.CheckBox { - id: showWeekNumbers - text: i18n("Show week numbers in Calendar") - } - } -} diff --git a/applets/calendar/contents/ui/main.qml b/applets/calendar/contents/ui/main.qml deleted file mode 100644 --- a/applets/calendar/contents/ui/main.qml +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2013 Heena Mahour - * Copyright 2013 Sebastian Kügler - * - * 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, see . - */ -import QtQuick 2.0 -import QtQuick.Layouts 1.1 - -import org.kde.plasma.plasmoid 2.0 -import org.kde.plasma.core 2.0 as PlasmaCore - -import org.kde.plasma.calendar 2.0 - -Item { - Plasmoid.switchWidth: units.gridUnit * 12 - Plasmoid.switchHeight: units.gridUnit * 12 - - Plasmoid.toolTipMainText: Qt.formatDate(dataSource.data.Local.DateTime, "dddd") - Plasmoid.toolTipSubText: { - // this logic is taken from digital-clock: - // remove "dddd" from the locale format string - // /all/ locales in LongFormat have "dddd" either - // at the beginning or at the end. so we just - // remove it + the delimiter and space - var format = Qt.locale().dateFormat(Locale.LongFormat); - format = format.replace(/(^dddd.?\s)|(,?\sdddd$)/, ""); - return Qt.formatDate(dataSource.data.Local.DateTime, format) - } - - Layout.minimumWidth: units.iconSizes.large - Layout.minimumHeight: units.iconSizes.large - - Plasmoid.fullRepresentation: Item { - - // sizing taken from digital clock - readonly property int _minimumWidth: calendar.showWeekNumbers ? Math.round(_minimumHeight * 1.75) : Math.round(_minimumHeight * 1.5) - readonly property int _minimumHeight: units.gridUnit * 14 - - Layout.minimumWidth: _minimumWidth - Layout.minimumHeight: _minimumHeight - Layout.preferredWidth: _minimumWidth - Layout.preferredHeight: Math.round(_minimumHeight * 1.5) - - PlasmaCore.DataSource { - id: dataSource - engine: "time" - connectedSources: ["Local"] - interval: 60000 - intervalAlignment: PlasmaCore.Types.AlignToMinute - } - - MonthView { - id: calendar - today: dataSource.data["Local"]["DateTime"] - showWeekNumbers: plasmoid.configuration.showWeekNumbers - - anchors.fill: parent - } - } -} diff --git a/applets/calendar/metadata.desktop b/applets/calendar/metadata.desktop deleted file mode 100644 --- a/applets/calendar/metadata.desktop +++ /dev/null @@ -1,95 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Name=Calendar -Name[ar]=التقويم -Name[ast]=Calendariu -Name[be@latin]=Kalandar -Name[bg]=Календар -Name[bn]=ক্যালেণ্ডার -Name[bn_IN]=বর্ষপঞ্জি -Name[bs]=Kalendar -Name[ca]=Calendari -Name[ca@valencia]=Calendari -Name[cs]=Kalendář -Name[csb]=Kalãdôrz -Name[da]=Kalender -Name[de]=Kalender -Name[el]=Ημερολόγιο -Name[en_GB]=Calendar -Name[eo]=Kalendaro -Name[es]=Calendario -Name[et]=Kalender -Name[eu]=Egutegia -Name[fa]=تقویم -Name[fi]=Kalenteri -Name[fr]=Calendrier -Name[fy]=Aginda -Name[ga]=Féilire -Name[gl]=Calendario -Name[gu]=કેલેન્ડર -Name[he]=לוח שנה -Name[hi]=कैलेन्डर -Name[hne]=कलेन्डर -Name[hr]=Kalendar -Name[hsb]=Protyka -Name[hu]=Naptár -Name[ia]=Calendario -Name[id]=Kalender -Name[is]=Dagatal -Name[it]=Calendario -Name[ja]=カレンダー -Name[kk]=Күнтізбе -Name[km]=ប្រតិទិន -Name[kn]=ದಿನಸೂಚಿ -Name[ko]=달력 -Name[ku]=Salname -Name[lt]=Kalendorius -Name[lv]=Kalendārs -Name[mai]=कैलेंडर -Name[mk]=Календар -Name[ml]=കലണ്ടര്‍ -Name[mr]=दिनदर्शिका -Name[nb]=Kalender -Name[nds]=Kalenner -Name[nl]=Kalender -Name[nn]=Kalender -Name[pa]=ਕੈਲੰਡਰ -Name[pl]=Kalendarz -Name[pt]=Calendário -Name[pt_BR]=Calendário -Name[ro]=Calendar -Name[ru]=Календарь -Name[si]=දිනදර්ශනය -Name[sk]=Kalendár -Name[sl]=Koledar -Name[sr]=календар -Name[sr@ijekavian]=календар -Name[sr@ijekavianlatin]=kalendar -Name[sr@latin]=kalendar -Name[sv]=Kalender -Name[ta]=நாட்காட்டி -Name[tg]=Тақвим -Name[th]=ปฏิทิน -Name[tr]=Takvim -Name[ug]=يىلنامە -Name[uk]=Календар -Name[vi]=Lịch -Name[wa]=Calindrî -Name[x-test]=xxCalendarxx -Name[zh_CN]=日历 -Name[zh_TW]=行事曆 -Icon=office-calendar -Type=Service -X-KDE-PluginInfo-Author=Sebastian Kügler -X-KDE-PluginInfo-Email=sebas@kde.org -X-KDE-PluginInfo-License=GPL -X-KDE-PluginInfo-Name=org.kde.plasma.calendar -X-KDE-PluginInfo-Version=2.0 -X-KDE-PluginInfo-Website=plasma.kde.org -X-KDE-ServiceTypes=Plasma/Applet -X-Plasma-API=declarativeappletscript -X-Plasma-Provides=org.kde.plasma.date -X-Plasma-StandAloneApp=true - -X-Plasma-MainScript=ui/main.qml -X-KDE-PluginInfo-Category=Date and Time diff --git a/applets/calendar/package/contents/config/config.qml b/applets/calendar/package/contents/config/config.qml new file mode 100644 --- /dev/null +++ b/applets/calendar/package/contents/config/config.qml @@ -0,0 +1,36 @@ +/* + * Copyright 2013 Bhushan Shah + * + * 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) version 3 or any later version + * accepted by the membership of KDE e.V. (or its successor approved + * by the membership of KDE e.V.), which shall act as a proxy + * defined in Section 14 of version 3 of the license. + * + * 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, see + */ + +import QtQuick 2.0 + +import org.kde.plasma.configuration 2.0 + +ConfigModel { + ConfigCategory { + name: i18n("General") + icon: "preferences-system-time" + source: "configGeneral.qml" + } +// ConfigCategory { +// name: i18n("Agenda") +// icon: "view-calendar-agenda" +// source: "configAgenda.qml" +// } +} diff --git a/applets/calendar/package/contents/config/main.xml b/applets/calendar/package/contents/config/main.xml new file mode 100644 --- /dev/null +++ b/applets/calendar/package/contents/config/main.xml @@ -0,0 +1,22 @@ + + + + + + + 9 + + + 17 + + + false + + + d + + + diff --git a/applets/calendar/package/contents/images/mini-calendar.svgz b/applets/calendar/package/contents/images/mini-calendar.svgz new file mode 100644 index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc$@ + * + * 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) version 3 or any later version + * accepted by the membership of KDE e.V. (or its successor approved + * by the membership of KDE e.V.), which shall act as a proxy + * defined in Section 14 of version 3 of the license. + * + * 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, see + */ + +import QtQuick 2.0 +import QtQuick.Controls 1.0 as QtControls +import QtQuick.Layouts 1.0 as QtLayouts + +Item { + id: agendaPage + + width: childrenRect.width + height: childrenRect.height + implicitWidth: mainColumn.implicitWidth + implicitHeight: pageColumn.implicitHeight + + property int cfg_startOfWorkingDay: startsAt.checked ? 0 : 9 + property int cfg_endOfWorkingDay: endsAt.checked ? 23 : 17 + + QtLayouts.ColumnLayout { + QtControls.GroupBox { + title: i18n("Working Day") + flat: true + + QtLayouts.ColumnLayout { + QtControls.CheckBox { + id: startsAt + text: i18n("Starts at 9") + } + + QtControls.CheckBox { + id: endsAt + text: i18n("Ends at 5") + } + } + } + } +} \ No newline at end of file diff --git a/applets/calendar/package/contents/ui/configGeneral.qml b/applets/calendar/package/contents/ui/configGeneral.qml new file mode 100644 --- /dev/null +++ b/applets/calendar/package/contents/ui/configGeneral.qml @@ -0,0 +1,70 @@ +/* + * Copyright 2015 Martin Klapetek + * + * 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) version 3 or any later version + * accepted by the membership of KDE e.V. (or its successor approved + * by the membership of KDE e.V.), which shall act as a proxy + * defined in Section 14 of version 3 of the license. + * + * 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, see + */ + +import QtQuick 2.0 +import QtQuick.Controls 1.0 as QtControls +import QtQuick.Layouts 1.0 as QtLayouts + +Item { + id: generalPage + + width: childrenRect.width + height: childrenRect.height + + property alias cfg_showWeekNumbers: showWeekNumbers.checked + property string cfg_compactDisplay + + QtLayouts.ColumnLayout { + QtControls.CheckBox { + id: showWeekNumbers + text: i18n("Show week numbers in Calendar") + } + + QtLayouts.RowLayout { + QtControls.Label { + text: i18nc("What information is shown in the calendar icon", "Icon:") + } + + QtControls.ComboBox { + id: compactDisplayCombo + QtLayouts.Layout.minimumWidth: units.gridUnit * 7 // horrible default sizing in ComboBox + model: [{ + text: i18nc("Show the number of the day (eg. 31) in the icon", "Day in month"), + value: "d" + }, { + text: i18nc("Show the week number (eg. 50) in the icon", "Week number"), + value: "w" + }] + onActivated: { + cfg_compactDisplay = compactDisplayCombo.model[index].value + } + + Component.onCompleted: { + for (var i = 0, length = model.length; i < length; ++i) { + if (model[i].value === cfg_compactDisplay) { + currentIndex = i + return + } + } + } + } + } + } +} diff --git a/applets/calendar/package/contents/ui/main.qml b/applets/calendar/package/contents/ui/main.qml new file mode 100644 --- /dev/null +++ b/applets/calendar/package/contents/ui/main.qml @@ -0,0 +1,106 @@ +/* + * Copyright 2013 Heena Mahour + * Copyright 2013 Sebastian Kügler + * Copyright 2016 Kai Uwe Broulik + * + * 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, see . + */ +import QtQuick 2.0 +import QtQuick.Layouts 1.1 + +import org.kde.plasma.plasmoid 2.0 +import org.kde.plasma.core 2.0 as PlasmaCore +import org.kde.plasma.components 2.0 as PlasmaComponents + +import org.kde.plasma.calendar 2.0 + +Item { + Plasmoid.switchWidth: units.gridUnit * 12 + Plasmoid.switchHeight: units.gridUnit * 12 + + Plasmoid.toolTipMainText: Qt.formatDate(dataSource.data.Local.DateTime, "dddd") + Plasmoid.toolTipSubText: { + // this logic is taken from digital-clock: + // remove "dddd" from the locale format string + // /all/ locales in LongFormat have "dddd" either + // at the beginning or at the end. so we just + // remove it + the delimiter and space + var format = Qt.locale().dateFormat(Locale.LongFormat); + format = format.replace(/(^dddd.?\s)|(,?\sdddd$)/, ""); + return Qt.formatDate(dataSource.data.Local.DateTime, format) + } + + Layout.minimumWidth: units.iconSizes.large + Layout.minimumHeight: units.iconSizes.large + + PlasmaCore.DataSource { + id: dataSource + engine: "time" + connectedSources: ["Local"] + interval: 60000 + intervalAlignment: PlasmaCore.Types.AlignToMinute + } + + Plasmoid.compactRepresentation: MouseArea { + onClicked: plasmoid.expanded = !plasmoid.expanded + + PlasmaCore.IconItem { + anchors.fill: parent + source: Qt.resolvedUrl("../images/mini-calendar.svgz") + + PlasmaComponents.Label { + anchors { + fill: parent + margins: Math.round(parent.width * 0.1) + } + height: undefined + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + font.pixelSize: 1000 + minimumPointSize: theme.smallestFont.pointSize + text: { + var d = new Date(dataSource.data.Local.DateTime) + var format = plasmoid.configuration.compactDisplay + + if (format === "w") { + return plasmoid.nativeInterface.weekNumber(d) + } + + return Qt.formatDate(d, format) + } + fontSizeMode: Text.Fit + } + } + } + + Plasmoid.fullRepresentation: Item { + + // sizing taken from digital clock + readonly property int _minimumWidth: calendar.showWeekNumbers ? Math.round(_minimumHeight * 1.75) : Math.round(_minimumHeight * 1.5) + readonly property int _minimumHeight: units.gridUnit * 14 + + Layout.minimumWidth: _minimumWidth + Layout.minimumHeight: _minimumHeight + Layout.preferredWidth: _minimumWidth + Layout.preferredHeight: Math.round(_minimumHeight * 1.5) + + MonthView { + id: calendar + today: dataSource.data["Local"]["DateTime"] + showWeekNumbers: plasmoid.configuration.showWeekNumbers + + anchors.fill: parent + } + } +} diff --git a/applets/calendar/package/metadata.desktop b/applets/calendar/package/metadata.desktop new file mode 100644 --- /dev/null +++ b/applets/calendar/package/metadata.desktop @@ -0,0 +1,95 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Calendar +Name[ar]=التقويم +Name[ast]=Calendariu +Name[be@latin]=Kalandar +Name[bg]=Календар +Name[bn]=ক্যালেণ্ডার +Name[bn_IN]=বর্ষপঞ্জি +Name[bs]=Kalendar +Name[ca]=Calendari +Name[ca@valencia]=Calendari +Name[cs]=Kalendář +Name[csb]=Kalãdôrz +Name[da]=Kalender +Name[de]=Kalender +Name[el]=Ημερολόγιο +Name[en_GB]=Calendar +Name[eo]=Kalendaro +Name[es]=Calendario +Name[et]=Kalender +Name[eu]=Egutegia +Name[fa]=تقویم +Name[fi]=Kalenteri +Name[fr]=Calendrier +Name[fy]=Aginda +Name[ga]=Féilire +Name[gl]=Calendario +Name[gu]=કેલેન્ડર +Name[he]=לוח שנה +Name[hi]=कैलेन्डर +Name[hne]=कलेन्डर +Name[hr]=Kalendar +Name[hsb]=Protyka +Name[hu]=Naptár +Name[ia]=Calendario +Name[id]=Kalender +Name[is]=Dagatal +Name[it]=Calendario +Name[ja]=カレンダー +Name[kk]=Күнтізбе +Name[km]=ប្រតិទិន +Name[kn]=ದಿನಸೂಚಿ +Name[ko]=달력 +Name[ku]=Salname +Name[lt]=Kalendorius +Name[lv]=Kalendārs +Name[mai]=कैलेंडर +Name[mk]=Календар +Name[ml]=കലണ്ടര്‍ +Name[mr]=दिनदर्शिका +Name[nb]=Kalender +Name[nds]=Kalenner +Name[nl]=Kalender +Name[nn]=Kalender +Name[pa]=ਕੈਲੰਡਰ +Name[pl]=Kalendarz +Name[pt]=Calendário +Name[pt_BR]=Calendário +Name[ro]=Calendar +Name[ru]=Календарь +Name[si]=දිනදර්ශනය +Name[sk]=Kalendár +Name[sl]=Koledar +Name[sr]=календар +Name[sr@ijekavian]=календар +Name[sr@ijekavianlatin]=kalendar +Name[sr@latin]=kalendar +Name[sv]=Kalender +Name[ta]=நாட்காட்டி +Name[tg]=Тақвим +Name[th]=ปฏิทิน +Name[tr]=Takvim +Name[ug]=يىلنامە +Name[uk]=Календар +Name[vi]=Lịch +Name[wa]=Calindrî +Name[x-test]=xxCalendarxx +Name[zh_CN]=日历 +Name[zh_TW]=行事曆 +Icon=office-calendar +Type=Service +X-KDE-PluginInfo-Author=Sebastian Kügler +X-KDE-PluginInfo-Email=sebas@kde.org +X-KDE-PluginInfo-License=GPL +X-KDE-PluginInfo-Name=org.kde.plasma.calendar +X-KDE-PluginInfo-Version=2.0 +X-KDE-PluginInfo-Website=plasma.kde.org +X-KDE-ServiceTypes=Plasma/Applet +X-Plasma-API=declarativeappletscript +X-Plasma-Provides=org.kde.plasma.date +X-Plasma-StandAloneApp=true + +X-Plasma-MainScript=ui/main.qml +X-KDE-PluginInfo-Category=Date and Time