This commit is contained in:
Valeria Fadeeva 2024-09-23 13:21:57 +05:00
parent 3f3898bbeb
commit 9b2ef74aa5
61 changed files with 3134 additions and 5209 deletions

View File

@ -6,6 +6,4 @@ Menu11 plasmoid
[YooMoney](https://yoomoney.ru/to/4100115921160758)
[Qiwi](https://qiwi.com/n/VALERIAFADEEVA)
Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f

View File

@ -24,7 +24,7 @@ import org.kde.plasma.configuration 2.0
ConfigModel {
ConfigCategory {
name: i18n("General")
icon: "preferences-desktop-plasma"
icon: "kde"
source: "ConfigGeneral.qml"
}
}

View File

@ -6,152 +6,90 @@
<kcfgfile name=""/>
<group name="General">
<entry name="appsIconSize" type="Enum">
<label></label>
<default>0</default>
</entry>
<entry name="docsIconSize" type="Enum">
<label></label>
<default>0</default>
</entry>
<entry name="displayPosition" type="Enum">
<label>Position.</label>
<default>0</default>
</entry>
<entry name="icon" type="String">
<label>The name of the icon to use for the compact representation (e.g. on a small panel).</label>
<default>start-here-kde</default>
</entry>
<entry name="useCustomButtonImage" type="Bool">
<label>Whether to use a custom image instead of an icon in the compact representation (e.g. on a small panel).</label>
<default>false</default>
</entry>
<entry name="customButtonImage" type="Url">
<label>The URL of the custtom image to use instead of an icon in the compact representation (e.g. on a small panel).</label>
<default></default>
</entry>
<entry name="appNameFormat" type="Int">
<label>The format used in the display of application names: 0 = NameOnly, 1 = GenericNameOnly, 2 = NameAndGenericName, 3 = GenericNameAndName</label>
<default>2</default>
<entry name="showFilterList" type="Bool">
<default>true</default>
</entry>
<entry name="recentOrdering" type="Int">
<label>How should the previously used apps/docs/contacts be ordered: 0 = RecentFirst, 1 = PopularFirst</label>
<default>0</default>
<entry name="appNameFormat" type="Int">
<default>2</default>
</entry>
<entry name="limitDepth" type="Bool">
<default>false</default>
</entry>
<entry name="numberColumns" type="Int">
<default>6</default>
</entry>
<entry name="numberRows" type="Int">
<default>4</default>
</entry>
<entry name="favoriteApps" type="StringList">
<label>List of general favorites. Supported values are menu id's (usually .desktop file names), special URLs that expand into default applications (e.g. preferred://browser), document URLs and KPeople contact URIs.</label>
<default>org.kde.dolphin.desktop,systemsettings.desktop,org.manjaro.pamac.manager.desktop,ar.com.softwareperonista.Pace.desktop,melawy-welcome.desktop,firefoxdeveloperedition.desktop,firefox.desktop,org.kde.kate.desktop,skypeforlinux.desktop,org.telegram.desktop.desktop,discord.desktop,Zoom.desktop,brave-browser.desktop,google-chrome.desktop,gimp.desktop,org.inkscape.Inkscape.desktop,com.obsproject.Studio.desktop,code.desktop,org.kde.kleopatra.desktop,org.kde.konsole.desktop,org.kde.kcalc.desktop,blender.desktop,gparted.desktop,org.kde.partitionmanager.desktop,org.kde.kinfocenter.desktop</default>
</entry>
<entry name="favoriteSystemActions" type="StringList">
<label>List of system action favorites.</label>
<default>logout,lock-screen,reboot,shutdown</default>
<label>List of system action favorites.</label>
<default>logout,lock-screen,reboot,shutdown</default>
</entry>
<entry name="hiddenApplications" type="StringList">
<default></default>
</entry>
<entry name="useExtraRunners" type="Bool">
<default>true</default>
</entry>
<entry name="labels2lines" type="Bool">
<default>true</default>
</entry>
<entry name="extraRunners" type="StringList">
<default>shell,bookmarks,baloosearch,locations</default>
</entry>
<entry name="alignResultsToBottom" type="Bool">
<default>true</default>
</entry>
<entry name="switchCategoriesOnHover" type="Bool">
<label>Whether to switch between menu categories by hovering them.</label>
<default>true</default>
</entry>
<entry name="removeApplicationCommand" type="String">
<default>muon-discover --application</default>
</entry>
<entry name="showAtCenter" type="Bool">
<default>true</default>
</entry>
<entry name="favoritesPortedToKAstats" type="Bool">
<label>Are the favorites ported to use KActivitiesStats to allow per-activity favorites</label>
<default>true</default>
</entry>
<entry name="hiddenApplications" type="StringList">
<label>List of menu id's (usually .desktop file names) of apps that should not be shown in the menu.</label>
<default></default>
</entry>
<entry name="showRecentApps" type="Bool">
<label>Whether to show the "Recent Applications" category.</label>
<default>true</default>
</entry>
<entry name="showRecentDocs" type="Bool">
<label>Whether to show the "Recent Documents" category.</label>
<default>true</default>
</entry>
<entry name="gridAllowTwoLines" type="Bool">
<label>Whether to allow showing two lines in grid view.</label>
<default>true</default>
</entry>
<entry name="showRecentContacts" type="Bool">
<label>Whether to show the "Recent Contacts" category.</label>
<default>false</default>
</entry>
<entry name="replaceExplorerIcon" type="Bool">
<default>false</default>
</entry>
<entry name="useExtraRunners" type="Bool">
<label>Whether to use additional KRunner plugins to produce results in the search.</label>
<default>true</default>
</entry>
<entry name="extraRunners" type="StringList">
<label>The plugin id's of additional KRunner plugins to use. Only used if useExtraRunners is true.</label>
<default>shell,bookmarks,baloosearch,locations</default>
</entry>
<entry name="menuPosition" type="Int">
<label>The position of the menu: 0 = Center, 1 = Edge, 2 = Auto</label>
<default>2</default>
</entry>
<entry name="favGridModel" type="Int">
<label>The model for favorite grid / pinned apps grid: 0 = Favourite apps, 1 = Recent apps, 2 = Recent Documents</label>
<default>0</default>
</entry>
<entry name="numberColumns" type="Int">
<default>7</default>
</entry>
<entry name="numberRows" type="Int">
<default>4</default>
</entry>
<entry name="recentGridModel" type="Int">
<label>The model for recent item grid / recommended grid: 0 = Recent Documents, 1 = Recent apps, 2 = Favourite apps, 3 = None</label>
<default>1</default>
</entry>
<entry name="showDescription" type="Bool">
<label>Whether to show the description for app and search items or not.</label>
<default>true</default>
</entry>
<entry name="alwaysShowSearchBar" type="Bool">
<label>Whether to always show the search bar on top of the menu or not.</label>
<default>true</default>
</entry>
<entry name="preferFullName" type="Bool">
<label>Whether to prefer showing the user's full name in the menu, instead of the login name.</label>
<default>true</default>
</entry>
<entry name="downIconsDocuments" type="Bool">
<label>Shows or hides the Documents shortcut on the bottom bar.</label>
<default>false</default>
</entry>
<entry name="downIconsPictures" type="Bool">
<label>Shows or hides the Pictures shortcut on the bottom bar.</label>
<default>false</default>
</entry>
<entry name="downIconsMusic" type="Bool">
<label>Shows or hides the Music shortcut on the bottom bar.</label>
<default>false</default>
</entry>
<entry name="downIconsDownloads" type="Bool">
<label>Shows or hides the Downloads shortcut on the bottom bar.</label>
<default>false</default>
</entry>
<entry name="downIconsVideos" type="Bool">
<label>Shows or hides the Videos shortcut on the bottom bar.</label>
<default>false</default>
</entry>
<entry name="downIconsFileManager" type="Bool">
<label>Shows or hides the File Manager (aka Dolphin) shortcut on the bottom bar.</label>
<default>true</default>
</entry>
<entry name="downIconsSystemSettings" type="Bool">
<label>Shows or hides the System Settings shortcut on the bottom bar.</label>
<default>true</default>
</entry>
<entry name="downIconsLock" type="Bool">
<label>Shows or hides the Lock button on the bottom bar.</label>
<default>true</default>
</entry>
<entry name="downIconsPowerOptions" type="Bool">
<label>Shows or hides the Power Options button on the bottom bar.</label>
<default>true</default>
</entry>
<entry name="defaultAllApps" type="Bool">
<label>Whether to show All Apps screen by default or not.</label>
<default>false</default>
</entry>
<entry name="reducePinnedSize" type="Bool">
<default>true</default>
</entry>
<entry name="reduceIconSizeFooter" type="Bool">
<label>Whether to reduce icon size for footer to match consistency.</label>
<default>true</default>
</entry>
<entry name="reduceIconSizeUserProfile" type="Bool">
<default>false</default>
<entry name="viewUser" type="Bool">
<default>true</default>
</entry>
</group>
</kcfg>

View File

@ -0,0 +1,60 @@
import QtQuick 2.4
import QtQuick.Controls
import QtQuick.Layouts 1.1
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.kirigami as Kirigami
Rectangle{
id:item
implicitHeight: Math.floor( Kirigami.Units.gridUnit * 1.8)
width: Math.floor(lb.implicitWidth + Kirigami.Units.smallSpacing * 5 + icon.width)
border.width: mouseItem.containsMouse || focus || activeFocus ? 2 : 1
border.color: mouseItem.containsMouse || focus || activeFocus ? Kirigami.Theme.highlightColor : colorWithAlpha(Kirigami.Theme.textColor,0.2)
radius: 3
color: Kirigami.Theme.backgroundColor
smooth: true // Plasmoid.configuration.iconSmooth
focus: true
property alias text: lb.text
property bool flat: false
property alias iconName: icon.source
property bool mirror: false
signal clicked
//Keys.onEnterPressed: item.clicked()
Keys.onSpacePressed: item.clicked()
RowLayout{
id: row
anchors.fill: parent
anchors.leftMargin: Kirigami.Units.smallSpacing * 2
anchors.rightMargin: Kirigami.Units.smallSpacing * 2
spacing: Kirigami.Units.smallSpacing
LayoutMirroring.enabled: mirror
Label{
id: lb
color: Kirigami.Theme.textColor
}
Kirigami.Icon {
id: icon
implicitHeight: Kirigami.Units.gridUnit
implicitWidth: implicitHeight
smooth: true // Plasmoid.configuration.iconSmooth
}
}
MouseArea {
id: mouseItem
hoverEnabled: true
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
onClicked: item.clicked()
}
}

View File

@ -1,26 +1,13 @@
/***************************************************************************
* Copyright (C) 2013 by Aurélien Gâteau <agateau@kde.org> *
* Copyright (C) 2014-2015 by Eike Hein <hein@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 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 . *
***************************************************************************/
/*
SPDX-FileCopyrightText: 2013 Aurélien Gâteau <agateau@kde.org>
SPDX-FileCopyrightText: 2014-2015 Eike Hein <hein@kde.org>
import QtQuick 2.0
SPDX-License-Identifier: GPL-2.0-or-later
*/
import org.kde.plasma.components 2.0 as PlasmaComponents
import QtQuick 2.15
import org.kde.plasma.extras 2.0 as PlasmaExtras
Item {
id: root
@ -28,7 +15,7 @@ Item {
property QtObject menu
property Item visualParent
property variant actionList
property bool opened: menu ? (menu.status != PlasmaComponents.DialogStatus.Closed) : false
property bool opened: menu ? (menu.status !== PlasmaExtras.Menu.Closed) : false
signal actionClicked(string actionId, variant actionArgument)
signal closed
@ -68,20 +55,20 @@ Item {
}
function fillMenu(menu, items) {
items.forEach(function (actionItem) {
items.forEach(function(actionItem) {
if (actionItem.subActions) {
// This is a menu
var submenuItem = contextSubmenuItemComponent.createObject(
menu, { "actionItem": actionItem });
menu, { "actionItem" : actionItem });
fillMenu(submenuItem.submenu, actionItem.subActions);
} else {
var item = contextMenuItemComponent.createObject(
menu,
{
"actionItem": actionItem,
}
menu,
{
"actionItem": actionItem,
}
);
}
});
@ -91,7 +78,7 @@ Item {
Component {
id: contextMenuComponent
PlasmaComponents.ContextMenu {
PlasmaExtras.Menu {
visualParent: root.visualParent
}
}
@ -99,7 +86,7 @@ Item {
Component {
id: contextSubmenuItemComponent
PlasmaComponents.MenuItem {
PlasmaExtras.MenuItem {
id: submenuItem
property variant actionItem
@ -107,10 +94,7 @@ Item {
text: actionItem.text ? actionItem.text : ""
icon: actionItem.icon ? actionItem.icon : null
property variant submenu: submenu_
PlasmaComponents.ContextMenu {
id: submenu_
property PlasmaExtras.Menu submenu: PlasmaExtras.Menu {
visualParent: submenuItem.action
}
}
@ -119,19 +103,19 @@ Item {
Component {
id: contextMenuItemComponent
PlasmaComponents.MenuItem {
PlasmaExtras.MenuItem {
property variant actionItem
text: actionItem.text ? actionItem.text : ""
enabled: actionItem.type != "title" && ("enabled" in actionItem ? actionItem.enabled : true)
separator: actionItem.type == "separator"
section: actionItem.type == "title"
icon: actionItem.icon ? actionItem.icon : null
checkable: actionItem.checkable ? actionItem.checkable : false
checked: actionItem.checked ? actionItem.checked : false
text : actionItem.text ? actionItem.text : ""
enabled : actionItem.type !== "title" && ("enabled" in actionItem ? actionItem.enabled : true)
separator : actionItem.type === "separator"
section : actionItem.type === "title"
icon : actionItem.icon ? actionItem.icon : null
checkable : actionItem.checkable ? actionItem.checkable : false
checked : actionItem.checked ? actionItem.checked : false
onClicked: {
actionClicked(actionItem.actionId, actionItem.actionArgument);
root.actionClicked(actionItem.actionId, actionItem.actionArgument);
}
}
}

View File

@ -1,6 +1,5 @@
/***************************************************************************
* Copyright (C) 2013-2014 by Eike Hein <hein@kde.org> *
* Copyright (C) 2021 by Prateek SU <pankajsunal123@gmail.com> *
* *
* 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 *
@ -18,78 +17,34 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
***************************************************************************/
import QtQuick 2.12
import QtQuick.Layouts 1.12
import QtQuick 2.0
import QtQuick.Layouts 1.1
import org.kde.plasma.plasmoid 2.0
import org.kde.plasma.plasmoid
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.kirigami as Kirigami
Item {
id: root
readonly property var screenGeometry: plasmoid.screenGeometry
readonly property bool inPanel: (plasmoid.location == PlasmaCore.Types.TopEdge
|| plasmoid.location == PlasmaCore.Types.RightEdge
|| plasmoid.location == PlasmaCore.Types.BottomEdge
|| plasmoid.location == PlasmaCore.Types.LeftEdge)
|| plasmoid.location == PlasmaCore.Types.RightEdge
|| plasmoid.location == PlasmaCore.Types.BottomEdge
|| plasmoid.location == PlasmaCore.Types.LeftEdge)
readonly property bool vertical: (plasmoid.formFactor == PlasmaCore.Types.Vertical)
readonly property bool useCustomButtonImage: (plasmoid.configuration.useCustomButtonImage
&& plasmoid.configuration.customButtonImage.length != 0)
readonly property bool useCustomButtonImage: (Plasmoid.configuration.useCustomButtonImage
&& Plasmoid.configuration.customButtonImage.length != 0)
property QtObject dashWindow: null
Plasmoid.status: dashWindow && dashWindow.visible ? PlasmaCore.Types.RequiresAttentionStatus : PlasmaCore.Types.PassiveStatus
onWidthChanged: updateSizeHints()
onHeightChanged: updateSizeHints()
function updateSizeHints() {
if (useCustomButtonImage) {
if (vertical) {
var scaledHeight = Math.floor(parent.width * (buttonIcon.implicitHeight / buttonIcon.implicitWidth));
root.Layout.minimumHeight = scaledHeight;
root.Layout.maximumHeight = scaledHeight;
root.Layout.minimumWidth = units.iconSizes.small;
root.Layout.maximumWidth = inPanel ? units.iconSizeHints.panel : -1;
} else {
var scaledWidth = Math.floor(parent.height * (buttonIcon.implicitWidth / buttonIcon.implicitHeight));
root.Layout.minimumWidth = scaledWidth;
root.Layout.maximumWidth = scaledWidth;
root.Layout.minimumHeight = units.iconSizes.small;
root.Layout.maximumHeight = inPanel ? units.iconSizeHints.panel : -1;
}
} else {
root.Layout.minimumWidth = units.iconSizes.small;
root.Layout.maximumWidth = inPanel ? units.iconSizeHints.panel : -1;
root.Layout.minimumHeight = units.iconSizes.small
root.Layout.maximumHeight = inPanel ? units.iconSizeHints.panel : -1;
}
}
Connections {
target: units.iconSizeHints
onPanelChanged: updateSizeHints()
}
PlasmaCore.IconItem {
Kirigami.Icon {
id: buttonIcon
anchors.fill: parent
readonly property double aspectRatio: (vertical ? implicitHeight / implicitWidth
: implicitWidth / implicitHeight)
source: useCustomButtonImage ? plasmoid.configuration.customButtonImage : plasmoid.configuration.icon
source: useCustomButtonImage ? Plasmoid.configuration.customButtonImage : Plasmoid.configuration.icon
active: mouseArea.containsMouse
smooth: true
// A custom icon could also be rectangular. However, if a square, custom, icon is given, assume it
// to be an icon and round it to the nearest icon size again to avoid scaling artefacts.
roundToIconSize: !useCustomButtonImage || aspectRatio === 1
onSourceChanged: updateSizeHints()
}
MouseArea

View File

@ -1,6 +1,5 @@
/***************************************************************************
* Copyright (C) 2014 by Eike Hein <hein@kde.org> *
* Copyright (C) 2021 by Prateek SU <pankajsunal123@gmail.com> *
* *
* 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 *
@ -18,341 +17,216 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
***************************************************************************/
import QtQuick 2.12
import QtQuick.Controls 2.5
//import QtQuick 2.15
//import QtQuick.Controls 2.15
//import QtQuick.Dialogs 1.2
//import QtQuick.Layouts 1.0
//import org.kde.plasma.core 2.0 as PlasmaCore
//import org.kde.plasma.components 2.0 as PlasmaComponents
//import org.kde.kquickcontrolsaddons 2.0 as KQuickAddons
//import org.kde.draganddrop 2.0 as DragDrop
//import org.kde.kirigami 2.4 as Kirigami
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.kquickcontrolsaddons 2.0 as KQuickAddons
import QtQuick 2.15
import QtQuick.Layouts 1.0
import QtQuick.Controls 2.15
import org.kde.draganddrop 2.0 as DragDrop
import org.kde.kirigami 2.3 as Kirigami
import org.kde.kirigami 2.5 as Kirigami
import org.kde.iconthemes as KIconThemes
import org.kde.plasma.core as PlasmaCore
import org.kde.kirigami 2.20 as Kirigami
import org.kde.ksvg 1.0 as KSvg
import org.kde.plasma.plasmoid 2.0
import org.kde.kcmutils as KCM
import org.kde.plasma.private.kicker 0.1 as Kicker
Kirigami.FormLayout {
KCM.SimpleKCM {
id: configGeneral
anchors.left: parent.left
anchors.right: parent.right
property bool isDash: (plasmoid.pluginName === "org.kde.plasma.kickerdash")
property string cfg_icon: plasmoid.configuration.icon
property bool cfg_useCustomButtonImage: plasmoid.configuration.useCustomButtonImage
property string cfg_customButtonImage: plasmoid.configuration.customButtonImage
property alias cfg_appNameFormat: appNameFormat.currentIndex
property alias cfg_menuPosition: menuPosition.currentIndex
property alias cfg_favGridModel: favGridModel.currentIndex
property alias cfg_recentGridModel: recentGridModel.currentIndex
property alias cfg_useExtraRunners: useExtraRunners.checked
property alias cfg_reduceIconSizeFooter: reduceIconSizeFooter.checked
property alias cfg_reduceIconSizeUserProfile: reduceIconSizeUserProfile.checked
property alias cfg_reducePinnedSize: reducePinnedSize.checked
property alias cfg_gridAllowTwoLines: gridAllowTwoLines.checked
property alias cfg_defaultAllApps: defaultAllApps.checked
property alias cfg_showDescription: showDescription.checked
property alias cfg_alwaysShowSearchBar: alwaysShowSearchBar.checked
property alias cfg_preferFullName: preferFullName.checked
property alias cfg_replaceExplorerIcon: replaceExplorerIcon.checked
property alias cfg_numberColumns: numberColumns.value
property alias cfg_numberRows: numberRows.value
property alias cfg_downIconsDocuments: downIconsDocuments.checked
property alias cfg_downIconsDownloads: downIconsDownloads.checked
property alias cfg_downIconsPictures: downIconsPictures.checked
property alias cfg_downIconsMusic: downIconsMusic.checked
property alias cfg_downIconsVideos: downIconsVideos.checked
property alias cfg_downIconsFileManager: downIconsFileManager.checked
property alias cfg_downIconsSystemSettings: downIconsSystemSettings.checked
property alias cfg_downIconsLock: downIconsLock.checked
property alias cfg_downIconsPowerOptions: downIconsPowerOptions.checked
property alias cfg_labels2lines: labels2lines.checked
Button {
id: iconButton
property alias cfg_appsIconSize: appsIconSize.currentIndex
property alias cfg_docsIconSize: docsIconSize.currentIndex
property alias cfg_displayPosition: displayPosition.currentIndex
Kirigami.FormData.label: i18n("Icon:")
Kirigami.FormLayout {
anchors.left: parent.left
anchors.right: parent.right
implicitWidth: previewFrame.width + units.smallSpacing * 2
implicitHeight: previewFrame.height + units.smallSpacing * 2
Button {
id: iconButton
// Just to provide some visual feedback when dragging;
// cannot have checked without checkable enabled
checkable: true
checked: dropArea.containsAcceptableDrag
Kirigami.FormData.label: i18n("Icon:")
onPressed: iconMenu.opened ? iconMenu.close() : iconMenu.open()
implicitWidth: previewFrame.width + Kirigami.Units.smallSpacing * 2
implicitHeight: previewFrame.height + Kirigami.Units.smallSpacing * 2
DragDrop.DropArea {
id: dropArea
// Just to provide some visual feedback when dragging;
// cannot have checked without checkable enabled
checkable: true
checked: dropArea.containsAcceptableDrag
property bool containsAcceptableDrag: false
onPressed: iconMenu.opened ? iconMenu.close() : iconMenu.open()
anchors.fill: parent
DragDrop.DropArea {
id: dropArea
onDragEnter: {
// Cannot use string operations (e.g. indexOf()) on "url" basic type.
var urlString = event.mimeData.url.toString();
property bool containsAcceptableDrag: false
// This list is also hardcoded in KIconDialog.
var extensions = [".png", ".xpm", ".svg", ".svgz"];
containsAcceptableDrag = urlString.indexOf("file:///") === 0 && extensions.some(function (extension) {
return urlString.indexOf(extension) === urlString.length - extension.length; // "endsWith"
});
anchors.fill: parent
if (!containsAcceptableDrag) {
event.ignore();
onDragEnter: {
// Cannot use string operations (e.g. indexOf()) on "url" basic type.
var urlString = event.mimeData.url.toString();
// This list is also hardcoded in KIconDialog.
var extensions = [".png", ".xpm", ".svg", ".svgz"];
containsAcceptableDrag = urlString.indexOf("file:///") === 0 && extensions.some(function (extension) {
return urlString.indexOf(extension) === urlString.length - extension.length; // "endsWith"
});
if (!containsAcceptableDrag) {
event.ignore();
}
}
onDragLeave: containsAcceptableDrag = false
onDrop: {
if (containsAcceptableDrag) {
// Strip file:// prefix, we already verified in onDragEnter that we have only local URLs.
iconDialog.setCustomButtonImage(event.mimeData.url.toString().substr("file://".length));
}
containsAcceptableDrag = false;
}
}
onDragLeave: containsAcceptableDrag = false
onDrop: {
if (containsAcceptableDrag) {
// Strip file:// prefix, we already verified in onDragEnter that we have only local URLs.
iconDialog.setCustomButtonImage(event.mimeData.url.toString().substr("file://".length));
KIconThemes.IconDialog {
id: iconDialog
function setCustomButtonImage(image) {
configGeneral.cfg_customButtonImage = image || configGeneral.cfg_icon || "start-here-kde-symbolic"
configGeneral.cfg_useCustomButtonImage = true;
}
containsAcceptableDrag = false;
}
}
KQuickAddons.IconDialog {
id: iconDialog
function setCustomButtonImage(image) {
cfg_customButtonImage = image || cfg_icon || "start-here-kde"
cfg_useCustomButtonImage = true;
onIconNameChanged: setCustomButtonImage(iconName);
}
onIconNameChanged: setCustomButtonImage(iconName);
}
PlasmaCore.FrameSvgItem {
id: previewFrame
anchors.centerIn: parent
imagePath: plasmoid.location === PlasmaCore.Types.Vertical || plasmoid.location === PlasmaCore.Types.Horizontal
? "widgets/panel-background" : "widgets/background"
width: units.iconSizes.large + fixedMargins.left + fixedMargins.right
height: units.iconSizes.large + fixedMargins.top + fixedMargins.bottom
PlasmaCore.IconItem {
KSvg.FrameSvgItem {
id: previewFrame
anchors.centerIn: parent
width: units.iconSizes.large
height: width
source: cfg_useCustomButtonImage ? cfg_customButtonImage : cfg_icon
imagePath: Plasmoid.location === PlasmaCore.Types.Vertical || Plasmoid.location === PlasmaCore.Types.Horizontal
? "widgets/panel-background" : "widgets/background"
width: Kirigami.Units.iconSizes.large + fixedMargins.left + fixedMargins.right
height: Kirigami.Units.iconSizes.large + fixedMargins.top + fixedMargins.bottom
Kirigami.Icon {
anchors.centerIn: parent
width: Kirigami.Units.iconSizes.large
height: width
source: configGeneral.cfg_useCustomButtonImage ? configGeneral.cfg_customButtonImage : configGeneral.cfg_icon
}
}
}
Menu {
id: iconMenu
Menu {
id: iconMenu
// Appear below the button
y: +parent.height
// Appear below the button
y: +parent.height
onClosed: iconButton.checked = false;
onClosed: iconButton.checked = false;
MenuItem {
text: i18nc("@item:inmenu Open icon chooser dialog", "Choose...")
icon.name: "document-open-folder"
onClicked: iconDialog.open()
}
MenuItem {
text: i18nc("@item:inmenu Reset icon to default", "Clear Icon")
icon.name: "edit-clear"
onClicked: {
cfg_icon = "start-here-kde"
cfg_useCustomButtonImage = false
MenuItem {
text: i18nc("@item:inmenu Open icon chooser dialog", "Choose…")
icon.name: "document-open-folder"
onClicked: iconDialog.open()
}
MenuItem {
text: i18nc("@item:inmenu Reset icon to default", "Clear Icon")
icon.name: "edit-clear"
onClicked: {
configGeneral.cfg_icon = "start-here-kde-symbolic"
configGeneral.cfg_useCustomButtonImage = false
}
}
}
}
}
Item {
Kirigami.FormData.isSection: true
}
ComboBox {
id: appsIconSize
Kirigami.FormData.label: i18n("Apps icon size:")
Layout.fillWidth: true
model: [i18n("Small"),i18n("Medium"),i18n("Large"), i18n("Huge")]
}
ComboBox {
id: docsIconSize
Kirigami.FormData.label: i18n("Docs icon size:")
Layout.fillWidth: true
model: [i18n("Small"),i18n("Medium"),i18n("Large"), i18n("Huge")]
}
Item {
Kirigami.FormData.isSection: true
}
ComboBox {
ComboBox {
id: menuPosition
Kirigami.FormData.label: i18n("Menu position")
id: displayPosition
model: [
i18n("Default"),
i18n("Center"),
i18n("Center bottom"),
]
//onActivated: cfg_displayPosition = currentIndex
}
Kirigami.FormData.label: i18n("Menu Position:")
model: [i18n("Center"), i18n("On Edge"), i18n("Auto")]
}
CheckBox {
id: labels2lines
text: i18n("Show labels in two lines")
visible: false // TODO
}
Item {
Kirigami.FormData.isSection: true
}
SpinBox{
id: numberColumns
ComboBox {
id: favGridModel
from: 3
to: 15
Kirigami.FormData.label: i18n("Number of columns")
Kirigami.FormData.label: i18n("Pinned item:")
}
model: [i18n("Favourite apps"), i18n("Recent apps"), i18n("Recent documents")]
}
SpinBox{
id: numberRows
from: 1
to: 15
Kirigami.FormData.label: i18n("Number of rows")
}
Item {
Kirigami.FormData.isSection: true
}
RowLayout{
ComboBox {
id: recentGridModel
visible: false
Button {
text: i18n("Unhide all hidden applications")
onClicked: {
plasmoid.configuration.hiddenApplications = [""];
unhideAllAppsPopup.text = i18n("Unhidden!");
}
}
Label {
id: unhideAllAppsPopup
}
}
Kirigami.FormData.label: i18n("Recommended item:")
model: [i18n("Recent documents"), i18n("Recent apps"), i18n("Favourite apps"), i18n("None")]
}
Item {
Kirigami.FormData.isSection: true
}
SpinBox{
id: numberColumns
Kirigami.FormData.label: i18n("Number of columns in grid:")
from: 4
to: 10
}
SpinBox{
id: numberRows
Kirigami.FormData.label: i18n("Number of rows in grid:")
from: 1
to: 10
}
Item {
Kirigami.FormData.isSection: true
}
CheckBox {
id: defaultAllApps
Kirigami.FormData.label: i18n("Panel Properties:")
text: i18n("Show All apps by default")
}
CheckBox {
id: gridAllowTwoLines
text: i18n("Allow label to have two lines (Pinned)")
}
CheckBox {
id: showDescription
text: i18n("Show Description for all apps and search item")
}
CheckBox {
id: alwaysShowSearchBar
text: i18n("Always Show Search Bar")
}
CheckBox {
id: preferFullName
text: i18n("Prefer showing full name, instead of login name")
}
Item {
Kirigami.FormData.isSection: true
}
CheckBox {
id: replaceExplorerIcon
Kirigami.FormData.label: i18n("Icon Properties:")
text: i18n("Replace Explorer icon in footer")
}
CheckBox {
id: reduceIconSizeUserProfile
text: i18n("Reduce Icon Size for User Profile")
}
CheckBox {
id: reduceIconSizeFooter
text: i18n("Reduce Icon Size for Footer")
}
CheckBox {
id: reducePinnedSize
text: i18n("Reduce Icon Size for Pinned item")
}
Item {
Kirigami.FormData.isSection: true
}
ComboBox {
id: appNameFormat
Kirigami.FormData.label: i18n("Show applications as:")
model: [i18n("Name only"), i18n("Description only"), i18n("Name (Description)"), i18n("Description (Name)")]
}
Item {
Kirigami.FormData.isSection: true
}
CheckBox {
id: downIconsDocuments
Kirigami.FormData.label: i18n("Icons on Bottom bar:")
text: i18n("Documents")
}
CheckBox {
id: downIconsPictures
text: i18n("Pictures")
}
CheckBox {
id: downIconsMusic
text: i18n("Music")
}
CheckBox {
id: downIconsDownloads
text: i18n("Downloads")
}
CheckBox {
id: downIconsVideos
text: i18n("Videos")
}
CheckBox {
id: downIconsFileManager
text: i18n("File manager")
}
CheckBox {
id: downIconsSystemSettings
text: i18n("System settings")
}
CheckBox {
id: downIconsLock
text: i18n("Lock screen")
}
CheckBox {
id: downIconsPowerOptions
text: i18n("Power options")
}
Item {
Kirigami.FormData.isSection: true
}
CheckBox {
id: useExtraRunners
Kirigami.FormData.label: i18n("Search:")
text: i18n("Expand search to bookmarks, files and emails")
}
}

View File

@ -1,65 +1,36 @@
/*
* Copyright 2014 Sebastian Kügler <sebas@kde.org>
* SPDX-FileCopyrightText: (C) 2020 Carl Schwan <carl@carlschwan.eu>
* Copyright (C) 2021 by Mikel Johnson <mikel5764@gmail.com>
* Copyright (C) 2021 by Prateek SU <pankajsunal123@gmail.com>
*
* 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.
*/
import QtQuick 2.12
import QtQuick 2.4
import QtQuick.Layouts 1.1
import QtQuick.Controls 2.12
import QtGraphicalEffects 1.0
import QtQuick.Layouts 1.12
import org.kde.plasma.plasmoid 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 3.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.kcoreaddons 1.0 as KCoreAddons
import org.kde.kquickcontrolsaddons 2.0 as KQuickAddons
import org.kde.plasma.private.kicker 0.1 as Kicker
import org.kde.coreaddons 1.0 as KCoreAddons // kuser
import org.kde.plasma.private.shell 2.0
import org.kde.kwindowsystem 1.0
//import QtGraphicalEffects 1.0
import org.kde.kquickcontrolsaddons 2.0
import org.kde.plasma.components 3.0 as PlasmaComponents3
import org.kde.plasma.private.quicklaunch 1.0
Control {
id: footer
rightPadding: rightInset
leftPadding: rightPadding
property Item configureButton: configureButton
property Item avatar: avatarButton
property int iconSize: units.iconSizes.smallMedium
property var footerNames: ["Documents", "Pictures", "Music", "Downloads", "Videos", "File manager", "System settings", "Lock screen", "Power options"]
property var footerIcons: ["folder-documents-symbolic", "folder-pictures-symbolic", "folder-music-symbolic", "folder-download-symbolic", "folder-videos-symbolic", plasmoid.configuration.replaceExplorerIcon ? Qt.resolvedUrl((theme.textColor.r * 0.299 + theme.textColor.g * 0.587 + theme.textColor.b * 0.114) > 0.7265625 ? "icons/explorer.svg" : "icons/explorer_dark.svg") : "folder-symbolic", "configure", "system-lock-screen", "system-shutdown"]
background: Rectangle {
color: Qt.darker(theme.backgroundColor)
opacity: .115
border.width: 1
border.color: "#cacbd0"
radius: 5
}
import org.kde.kirigami as Kirigami
import org.kde.plasma.plasma5support 2.0 as P5Support
import org.kde.plasma.private.sessions as Sessions
KCoreAddons.KUser {
id: kuser
}
Logic { id: logic }
anchors.bottomMargin: units.largeSpacing * 2
anchors.topMargin: anchors.bottomMargin
anchors.leftMargin: -12
anchors.rightMargin: anchors.leftMargin
height: units.iconSizes.medium * 2.4
RowLayout{
PlasmaCore.DataSource {
spacing: Kirigami.Units.largeSpacing
KCoreAddons.KUser { id: kuser }
Logic { id: logic }
P5Support.DataSource {
id: pmEngine
engine: "powermanagement"
connectedSources: ["PowerDevil", "Sleep States"]
@ -70,164 +41,78 @@ Control {
}
}
PlasmaCore.DataSource {
id: executable
engine: "executable"
connectedSources: []
onNewData: {
var exitCode = data["exit code"]
var exitStatus = data["exit status"]
var stdout = data["stdout"]
var stderr = data["stderr"]
exited(sourceName, exitCode, exitStatus, stdout, stderr)
disconnectSource(sourceName)
}
function exec(cmd) {
if (cmd) {
connectSource(cmd)
}
}
signal exited(string cmd, int exitCode, int exitStatus, string stdout, string stderr)
Image {
id: iconUser
source: kuser.faceIconUrl.toString() || "user-identity"
cache: false
visible: source !== ""
sourceSize.height: parent.height * 0.9
sourceSize.width: parent.height * 0.9
fillMode: Image.PreserveAspectFit
Layout.alignment: Qt.AlignVCenter
// Crop the avatar to fit in a circle, like the lock and login screens
// but don't on software rendering where this won't render
layer.enabled: true // iconUser.GraphicsInfo.api !== GraphicsInfo.Software
//layer.effect: OpacityMask {
// // this Rectangle is a circle due to radius size
// maskSource: Rectangle {
// width: iconUser.width
// height: iconUser.height
// radius: height / 2
// visible: false
// }
//}
}
RowLayout {
id: nameAndIcon
anchors.leftMargin: units.largeSpacing * 3 - footer.rightPadding - footer.anchors.leftMargin
anchors.left: parent.left
x: units.smallSpacing
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
PlasmaComponents.RoundButton {
id: avatarButton
visible: KQuickAddons.KCMShell.authorize("kcm_users.desktop").length > 0
flat: true
Layout.preferredWidth: plasmoid.configuration.reduceIconSizeUserProfile ? units.iconSizes.smallMedium * 1.8 : units.iconSizes.large * 1.2
Layout.preferredHeight: Layout.preferredWidth
Accessible.name: nameLabel.text
Accessible.description: i18n("Go to user settings")
Image {
id: iconUser
source: kuser.faceIconUrl.toString() || "user-identity"
cache: false
visible: source !== ""
fillMode: Image.PreserveAspectFit
anchors {
fill: parent
margins: PlasmaCore.Units.smallSpacing
}
layer.enabled: true
layer.effect: OpacityMask {
maskSource: Rectangle {
width: iconUser.width
height: iconUser.height
radius: height / 2
visible: false
}
}
}
onClicked: {
KQuickAddons.KCMShell.openSystemSettings("kcm_users")
}
Keys.onPressed: {
// In search on backtab focus on search pane
if (event.key == Qt.Key_Backtab && (root.state == "Search" || mainTabGroup.state == "top")) {
navigationMethod.state = "keyboard"
keyboardNavigation.state = "RightColumn"
root.currentContentView.forceActiveFocus()
event.accepted = true;
return;
}
}
}
Item {
Layout.fillWidth: true
Layout.preferredHeight: PlasmaCore.Units.gridUnit
Layout.alignment: Layout.AlignVCenter | Qt.AlignLeft
PlasmaExtras.Heading {
id: nameLabel
anchors.fill: parent
level: 4
// font.weight: Font.Bold
Text {
font.capitalization: Font.Capitalize
}
text: plasmoid.configuration.preferFullName ? kuser.fullName : kuser.loginName
elide: Text.ElideRight
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignVCenter
}
}
PlasmaExtras.Heading {
wrapMode: Text.NoWrap
color: Kirigami.Theme.textColor
level: 3
font.bold: true
//font.weight: Font.Bold
text: qsTr(kuser.fullName)
}
RowLayout {
anchors.rightMargin: units.largeSpacing * 3 - footer.rightPadding - footer.anchors.leftMargin
anchors.right: parent.right
x: -units.smallSpacing
anchors.verticalCenter: parent.verticalCenter
Item{
Layout.fillWidth: true
}
// looks visually balanced that way
spacing: Math.round(PlasmaCore.Units.smallSpacing * 2.5)
Sessions.SessionManagement {
id: sm
}
Repeater {
model: 9
PlasmaComponents.TabButton {
id: newTabButton
visible: [
plasmoid.configuration.downIconsDocuments,
plasmoid.configuration.downIconsPictures,
plasmoid.configuration.downIconsMusic,
plasmoid.configuration.downIconsDownloads,
plasmoid.configuration.downIconsVideos,
plasmoid.configuration.downIconsFileManager,
plasmoid.configuration.downIconsSystemSettings,
plasmoid.configuration.downIconsLock,
plasmoid.configuration.downIconsPowerOptions
][index]
// flat: true
NumberAnimation {
id: animateOpacity
target: newTabButton
properties: "opacity"
from: 1
to: 0.5
duration: PlasmaCore.Units.longDuration
easing.type: Easing.InOutQuad
}
NumberAnimation {
id: animateOpacityReverse
target: newTabButton
properties: "opacity"
from: 0.5
to: 1
duration: PlasmaCore.Units.longDuration
easing.type: Easing.InOutQuad
}
Sessions.SessionsModel {
id: sessionsModel
}
icon {
name: footerIcons[index]
width: iconSize * (plasmoid.configuration.reduceIconSizeFooter ? 0.97 : 1)
}
onHoveredChanged: hovered ? animateOpacity.start() : animateOpacityReverse.start();
PlasmaComponents.ToolTip {
text: i18n(footerNames[index])
}
MouseArea {
onClicked: index < 6 ? executable.exec("xdg-open $(xdg-user-dir" + (index < 5 ? (" " + footerNames[index].toUpperCase()) : "") + ")") : index == 6 ? logic.openUrl("file:///usr/share/applications/systemsettings.desktop") : pmEngine.performOperation(index == 8 ? "requestShutDown" : "lockScreen")
anchors.fill: parent
hoverEnabled: true
cursorShape: containsMouse ? Qt.PointingHandCursor : Qt.ArrowCursor
}
}
}
PlasmaComponents3.ToolButton {
icon.name: "user-home"
onClicked: logic.openUrl("file:///usr/share/applications/org.kde.dolphin.desktop")
ToolTip.delay: 200
ToolTip.timeout: 1000
ToolTip.visible: hovered
ToolTip.text: i18n("User Home")
}
PlasmaComponents3.ToolButton {
icon.name: "configure"
onClicked: logic.openUrl("file:///usr/share/applications/systemsettings.desktop")
ToolTip.delay: 1000
ToolTip.timeout: 1000
ToolTip.visible: hovered
ToolTip.text: i18n("System Preferences")
}
PlasmaComponents3.ToolButton {
icon.name: "system-shutdown"
// onClicked: sm.requestShutdown()
onClicked: sm.requestLogoutPrompt()
ToolTip.delay: 200
ToolTip.timeout: 1000
ToolTip.visible: hovered
ToolTip.text: i18n("Shutdown")
}
}

View File

@ -0,0 +1,163 @@
import QtQuick 2.4
import QtQuick.Layouts 1.1
import QtQuick.Controls 2.12
import org.kde.plasma.plasmoid 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.plasma.private.kicker 0.1 as Kicker
import org.kde.coreaddons 1.0 as KCoreAddons // kuser
import org.kde.plasma.private.shell 2.0
import org.kde.kwindowsystem 1.0
//import QtGraphicalEffects 1.0
import org.kde.kquickcontrolsaddons 2.0
import org.kde.plasma.components 3.0 as PlasmaComponents3
import org.kde.plasma.private.quicklaunch 1.0
import org.kde.kirigami as Kirigami
import org.kde.plasma.plasma5support 2.0 as P5Support
import org.kde.plasma.private.sessions as Sessions
RowLayout{
spacing: Kirigami.Units.largeSpacing
KCoreAddons.KUser { id: kuser }
Logic { id: logic }
P5Support.DataSource {
id: pmEngine
engine: "powermanagement"
connectedSources: ["PowerDevil", "Sleep States"]
function performOperation(what) {
var service = serviceForSource("PowerDevil")
var operation = service.operationDescription(what)
service.startOperationCall(operation)
}
}
Image {
id: iconUser
source: kuser.faceIconUrl.toString() || "user-identity"
cache: false
visible: source !== ""
sourceSize.height: parent.height * 0.9
sourceSize.width: parent.height * 0.9
fillMode: Image.PreserveAspectFit
Layout.alignment: Qt.AlignVCenter
// Crop the avatar to fit in a circle, like the lock and login screens
// but don't on software rendering where this won't render
layer.enabled: true // iconUser.GraphicsInfo.api !== GraphicsInfo.Software
//layer.effect: OpacityMask {
// // this Rectangle is a circle due to radius size
// maskSource: Rectangle {
// width: iconUser.width
// height: iconUser.height
// radius: height / 2
// visible: false
// }
//}
}
PlasmaExtras.Heading {
wrapMode: Text.NoWrap
color: Kirigami.Theme.textColor
level: 3
font.bold: true
//font.weight: Font.Bold
text: qsTr(kuser.fullName)
}
Item{
Layout.fillWidth: true
}
Sessions.SessionManagement {
id: sm
}
Sessions.SessionsModel {
id: sessionsModel
}
PlasmaComponents3.ToolButton {
icon.name: "user-home"
onClicked: logic.openUrl("file:///usr/share/applications/org.kde.dolphin.desktop")
ToolTip.delay: 200
ToolTip.timeout: 1000
ToolTip.visible: hovered
ToolTip.text: i18n("User Home")
}
PlasmaComponents3.ToolButton {
icon.name: "configure"
onClicked: logic.openUrl("file:///usr/share/applications/systemsettings.desktop")
ToolTip.delay: 1000
ToolTip.timeout: 1000
ToolTip.visible: hovered
ToolTip.text: i18n("System Preferences")
}
PlasmaComponents3.ToolButton {
icon.name: "system-suspend"
onClicked: sm.suspend()
ToolTip.delay: 200
ToolTip.timeout: 1000
ToolTip.visible: hovered
ToolTip.text: i18n("Suspend")
}
PlasmaComponents3.ToolButton {
icon.name: "system-suspend-hibernate"
onClicked: sm.suspendThenHibernate()
ToolTip.delay: 200
ToolTip.timeout: 1000
ToolTip.visible: hovered
ToolTip.text: i18n("Hybernate")
}
PlasmaComponents3.ToolButton {
icon.name: "system-log-out"
onClicked: sm.requestLogout()
ToolTip.delay: 200
ToolTip.timeout: 1000
ToolTip.visible: hovered
ToolTip.text: i18n("Logout")
}
PlasmaComponents3.ToolButton {
icon.name: "system-lock-screen"
onClicked: pmEngine.performOperation("lockScreen")
enabled: pmEngine.data["Sleep States"]["LockScreen"]
ToolTip.delay: 200
ToolTip.timeout: 1000
ToolTip.visible: hovered
ToolTip.text: i18n("Lock Screen")
}
PlasmaComponents3.ToolButton {
icon.name: "system-reboot"
onClicked: sm.requestReboot()
ToolTip.delay: 200
ToolTip.timeout: 1000
ToolTip.visible: hovered
ToolTip.text: i18n("Reboot")
}
PlasmaComponents3.ToolButton {
icon.name: "system-shutdown"
onClicked: sm.requestShutdown()
ToolTip.delay: 200
ToolTip.timeout: 1000
ToolTip.visible: hovered
ToolTip.text: i18n("Shutdown")
}
}

View File

@ -1,48 +1,40 @@
/***************************************************************************
* Copyright (C) 2015 by Eike Hein <hein@kde.org> *
* Copyright (C) 2021 by Prateek SU <pankajsunal123@gmail.com> *
* *
* 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 . *
***************************************************************************/
/*
SPDX-FileCopyrightText: 2015 Eike Hein <hein@kde.org>
import QtQuick 2.12
import QtQuick.Layouts 1.12
SPDX-License-Identifier: GPL-2.0-or-later
*/
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 3.0 as PlasmaComponents
import QtQuick
import "../code/tools.js" as Tools
import org.kde.plasma.components 3.0 as PlasmaComponents3
import org.kde.plasma.core as PlasmaCore
import org.kde.kirigami 2.20 as Kirigami
import QtQuick.Layouts 1.1
import "code/tools.js" as Tools
Item {
id: item
width: GridView.view.cellWidth
height: GridView.view.cellHeight
enabled: !model.disabled
property int iconSize
property bool showLabel: true
property bool showDescription: false
property bool increaseLeftSpacing: false
property int itemIndex: model.index
property string favoriteId: model.favoriteId !== undefined ? model.favoriteId : ""
property url url: model.url !== undefined ? model.url : ""
property variant icon: model.decoration !== undefined ? model.decoration : ""
property var m: model
property bool hasActionList: ((model.favoriteId !== null)
|| (("hasActionList" in model) && (model.hasActionList === true)))
|| (("hasActionList" in model) && (model.hasActionList === true)))
property int itemColumns
Accessible.role: Accessible.MenuItem
Accessible.name: model.display
function openActionMenu(x, y) {
var actionList = hasActionList ? model.actionList : [];
Tools.fillActionMenu(i18n, actionMenu, actionList, GridView.view.model.favoritesModel, model.favoriteId);
@ -57,76 +49,75 @@ Item {
root.toggle();
}
}
PlasmaCore.IconItem {
Kirigami.Icon {
id: icon
x: increaseLeftSpacing ? units.smallSpacing : 0
anchors.verticalCenter: parent.verticalCenter
y: item.showLabel ? (2 * highlightItemSvg.margins.top) : undefined
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: item.showLabel ? undefined : parent.verticalCenter
width: iconSize
height: width
colorGroup: PlasmaCore.Theme.ComplementaryColorGroup
animated: false
usesPlasmaTheme: item.GridView.view.usesPlasmaTheme
source: model.decoration
}
PlasmaComponents3.Label {
id: label
visible: item.showLabel
ColumnLayout {
width: parent.width * 0.75
visible: showLabel
anchors {
left: icon.right
leftMargin: PlasmaCore.Units.smallSpacing * 4
rightMargin: anchors.leftMargin / 2
verticalCenter: parent.verticalCenter
top: icon.bottom
topMargin: Kirigami.Units.smallSpacing
left: parent.left
leftMargin: highlightItemSvg.margins.left
right: parent.right
rightMargin: highlightItemSvg.margins.right
}
spacing: 0
PlasmaComponents.Label {
id: label
Layout.maximumWidth: parent.width
maximumLineCount: 1
elide: Text.ElideRight
wrapMode: Text.Wrap
font.pointSize: 9
color: theme.textColor
text: ("name" in model ? model.name : model.display)
}
PlasmaComponents.Label {
Layout.maximumWidth: parent.width
maximumLineCount: 1
elide: Text.ElideRight
wrapMode: Text.Wrap
color: theme.textColor
text: model.description
font.pointSize: 8
visible: showDescription
opacity: 0.7
}
horizontalAlignment: Text.AlignHCenter
maximumLineCount: 1
elide: Text.ElideMiddle
wrapMode: Text.Wrap
color: Kirigami.Theme.textColor
font.pointSize: Kirigami.Theme.defaultFont.pointSize //+ 0.5
text: ("name" in model ? model.name : model.display)
textFormat: Text.PlainText
}
PlasmaCore.ToolTipArea {
id: toolTip
property string text: model.display
anchors.fill: parent
active: label.truncated
active: root.visible && label.truncated
mainItem: toolTipDelegate
onContainsMouseChanged: item.GridView.view.itemContainsMouseChanged(containsMouse)
}
Keys.onPressed: {
if (event.key === Qt.Key_Menu && hasActionList) {
event.accepted = true;
openActionMenu(item);
} else if ((event.key === Qt.Key_Enter || event.key === Qt.Key_Return)) {
event.accepted = true;
Keys.onPressed: event => {
if (event.key === Qt.Key_Menu && hasActionList) {
event.accepted = true;
openActionMenu(item);
} else if ((event.key === Qt.Key_Enter || event.key === Qt.Key_Return)) {
event.accepted = true;
if ("trigger" in GridView.view.model) {
GridView.view.model.trigger(index, "", null);
root.toggle();
}
if ("trigger" in GridView.view.model) {
GridView.view.model.trigger(index, "", null);
root.toggle();
}
itemGrid.itemActivated(index, "", null);
}
}
itemGrid.itemActivated(index, "", null);
}
}
}

View File

@ -1,114 +0,0 @@
/***************************************************************************
* Copyright (C) 2015 by Eike Hein <hein@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 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 . *
***************************************************************************/
import QtQuick 2.12
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 3.0 as PlasmaComponents
import "../code/tools.js" as Tools
Item {
id: item
width: GridView.view.cellWidth
height: GridView.view.cellHeight
property int iconSize: units.iconSizes.large * (plasmoid.configuration.reducePinnedSize ? 0.95 : 1)
property bool showLabel: true
property int itemIndex: model.index
property string favoriteId: model.favoriteId !== undefined ? model.favoriteId : ""
property url url: model.url !== undefined ? model.url : ""
property variant icon: model.decoration !== undefined ? model.decoration : ""
property var m: model
property bool hasActionList: ((model.favoriteId !== null)
|| (("hasActionList" in model) && (model.hasActionList === true)))
Accessible.role: Accessible.MenuItem
Accessible.name: model.display
function openActionMenu(x, y) {
var actionList = hasActionList ? model.actionList : [];
Tools.fillActionMenu(i18n, actionMenu, actionList, GridView.view.model.favoritesModel, model.favoriteId);
actionMenu.visualParent = item;
actionMenu.open(x, y);
}
function actionTriggered(actionId, actionArgument) {
var close = (Tools.triggerAction(GridView.view.model, model.index, actionId, actionArgument) === true);
if (close) root.toggle();
}
PlasmaCore.IconItem {
id: icon
anchors{
top: parent.top
topMargin: units.smallSpacing * 2
horizontalCenter: parent.horizontalCenter
}
width: iconSize
height: width
colorGroup: PlasmaCore.Theme.ComplementaryColorGroup
animated: false
usesPlasmaTheme: item.GridView.view.usesPlasmaTheme
source: model.decoration
}
PlasmaComponents.Label {
id: label
visible: showLabel
anchors {
top: icon.bottom
topMargin: units.smallSpacing * (plasmoid.configuration.gridAllowTwoLines ? 0.8 : 1.4)
horizontalCenter: parent.horizontalCenter
}
maximumLineCount: plasmoid.configuration.gridAllowTwoLines ? 2 : 1
horizontalAlignment: Text.AlignHCenter
width: parent.width - units.largeSpacing
elide: Text.ElideRight
wrapMode: Text.Wrap
color: theme.textColor
text: ("name" in model ? model.name : model.display)
}
PlasmaCore.ToolTipArea {
id: toolTip
property string text: model.display
anchors.fill: parent
active: root.visible && label.truncated
mainItem: toolTipDelegate
onContainsMouseChanged: item.GridView.view.itemContainsMouseChanged(containsMouse)
}
Keys.onPressed: {
if (event.key === Qt.Key_Menu && hasActionList) {
event.accepted = true;
openActionMenu(item);
} else if ((event.key === Qt.Key_Enter || event.key === Qt.Key_Return)) {
event.accepted = true;
if ("trigger" in GridView.view.model) {
GridView.view.model.trigger(index, "", null);
root.toggle();
}
itemGrid.itemActivated(index, "", null);
}
}
}

View File

@ -0,0 +1,138 @@
/*
SPDX-FileCopyrightText: 2015 Eike Hein <hein@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick
import org.kde.plasma.components 3.0 as PlasmaComponents3
import org.kde.plasma.core as PlasmaCore
import org.kde.kirigami 2.20 as Kirigami
import QtQuick.Layouts 1.1
import "code/tools.js" as Tools
Item {
id: item
width: GridView.view.cellWidth
height: GridView.view.cellHeight
enabled: !model.disabled
property int iconSize
property bool showLabel: true
property int itemIndex: model.index
property string favoriteId: model.favoriteId !== undefined ? model.favoriteId : ""
property url url: model.url !== undefined ? model.url : ""
property variant icon: model.decoration !== undefined ? model.decoration : ""
property var m: model
property bool hasActionList: ((model.favoriteId !== null)
|| (("hasActionList" in model) && (model.hasActionList === true)))
property int itemColumns
Accessible.role: Accessible.MenuItem
Accessible.name: model.display
function openActionMenu(x, y) {
var actionList = hasActionList ? model.actionList : [];
Tools.fillActionMenu(i18n, actionMenu, actionList, GridView.view.model.favoritesModel, model.favoriteId);
actionMenu.visualParent = item;
actionMenu.open(x, y);
}
function actionTriggered(actionId, actionArgument) {
var close = (Tools.triggerAction(GridView.view.model, model.index, actionId, actionArgument) === true);
if (close) {
root.toggle();
}
}
Kirigami.Icon {
id: icon
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left
anchors.leftMargin: Kirigami.Units.largeSpacing
width: iconSize
height: width
animated: false
source: model.decoration
}
PlasmaComponents3.Label {
id: label
visible: item.showLabel
anchors {
left: icon.right
leftMargin: Kirigami.Units.largeSpacing
right: itemColumns == 2 ? parent.right : desc.left
rightMargin: Kirigami.Units.largeSpacing
verticalCenter: icon.verticalCenter
}
anchors.verticalCenterOffset: itemColumns == 2 ? -Kirigami.Units.largeSpacing : 0
horizontalAlignment: Text.AlignLeft
maximumLineCount: 1
elide: Text.ElideMiddle
//wrapMode: Text.Wrap
color: Kirigami.Theme.textColor
font.pointSize: Kirigami.Theme.defaultFont.pointSize
text: ("name" in model ? model.name : model.display)
textFormat: Text.PlainText
}
PlasmaComponents3.Label {
id: desc
anchors {
top: itemColumns == 2 ? label.bottom: undefined
left: itemColumns == 2 ? icon.right : undefined
leftMargin: Kirigami.Units.largeSpacing
right: parent.right
rightMargin: Kirigami.Units.largeSpacing
verticalCenter: itemColumns == 2 ? undefined : icon.verticalCenter
}
horizontalAlignment: itemColumns == 2 ? Text.AlignLeft : Text.AlignRight
maximumLineCount: 1
elide: Text.ElideMiddle
//wrapMode: Text.Wrap
color: colorWithAlpha(Kirigami.Theme.textColor,0.4)
font.pointSize: Kirigami.Theme.defaultFont.pointSize - 1
text: ("description" in model ? model.description : "")
textFormat: Text.PlainText
}
PlasmaCore.ToolTipArea {
id: toolTip
property string text: model.display
anchors.fill: parent
active: root.visible && label.truncated
mainItem: toolTipDelegate
onContainsMouseChanged: item.GridView.view.itemContainsMouseChanged(containsMouse)
}
Keys.onPressed: event => {
if (event.key === Qt.Key_Menu && hasActionList) {
event.accepted = true;
openActionMenu(item);
} else if ((event.key === Qt.Key_Enter || event.key === Qt.Key_Return)) {
event.accepted = true;
if ("trigger" in GridView.view.model) {
GridView.view.model.trigger(index, "", null);
root.toggle();
}
itemGrid.itemActivated(index, "", null);
}
}
}

View File

@ -0,0 +1,136 @@
/*
SPDX-FileCopyrightText: 2015 Eike Hein <hein@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick
import org.kde.plasma.components 3.0 as PlasmaComponents3
import org.kde.plasma.core as PlasmaCore
import org.kde.kirigami 2.20 as Kirigami
import QtQuick.Layouts 1.1
import "code/tools.js" as Tools
Item {
id: item
width: GridView.view.cellWidth
height: GridView.view.cellHeight
enabled: !model.disabled
property bool showLabel: true
property int itemIndex: model.index
property string favoriteId: model.favoriteId !== undefined ? model.favoriteId : ""
property url url: model.url !== undefined ? model.url : ""
property variant icon: model.decoration !== undefined ? model.decoration : ""
property var m: model
property bool hasActionList: ((model.favoriteId !== null)
|| (("hasActionList" in model) && (model.hasActionList === true)))
property int itemColumns
Accessible.role: Accessible.MenuItem
Accessible.name: model.display
function openActionMenu(x, y) {
var actionList = hasActionList ? model.actionList : [];
Tools.fillActionMenu(i18n, actionMenu, actionList, GridView.view.model.favoritesModel, model.favoriteId);
actionMenu.visualParent = item;
actionMenu.open(x, y);
}
function actionTriggered(actionId, actionArgument) {
var close = (Tools.triggerAction(GridView.view.model, model.index, actionId, actionArgument) === true);
if (close) {
root.toggle();
}
}
Kirigami.Icon {
id: icon
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left
anchors.leftMargin: Kirigami.Units.largeSpacing
width: iconSize
height: width
animated: false
source: model.decoration
}
PlasmaComponents3.Label {
id: label
visible: item.showLabel
anchors {
left: icon.right
leftMargin: Kirigami.Units.largeSpacing
right: itemColumns == 2 ? parent.right : desc.left
rightMargin: Kirigami.Units.largeSpacing
verticalCenter: icon.verticalCenter
}
horizontalAlignment: Text.AlignLeft
maximumLineCount: 1
elide: Text.ElideMiddle
//wrapMode: Text.Wrap
color: Kirigami.Theme.textColor
font.pointSize: Kirigami.Theme.defaultFont.pointSize
text: ("name" in model ? model.name : model.display)
textFormat: Text.PlainText
}
PlasmaComponents3.Label {
id: desc
anchors {
top: itemColumns == 2 ? label.bottom: undefined
left: itemColumns == 2 ? icon.right : undefined
leftMargin: Kirigami.Units.largeSpacing
right: parent.right
rightMargin: Kirigami.Units.largeSpacing
verticalCenter: itemColumns == 2 ? undefined : icon.verticalCenter
}
horizontalAlignment: itemColumns == 2 ? Text.AlignLeft : Text.AlignRight
maximumLineCount: 1
elide: Text.ElideMiddle
//wrapMode: Text.Wrap
color: colorWithAlpha(Kirigami.Theme.textColor,0.5)
font.pointSize: Kirigami.Theme.defaultFont.pointSize
text: ("description" in model ? model.description : "")
textFormat: Text.PlainText
}
PlasmaCore.ToolTipArea {
id: toolTip
property string text: model.display
anchors.fill: parent
active: root.visible && label.truncated
mainItem: toolTipDelegate
onContainsMouseChanged: item.GridView.view.itemContainsMouseChanged(containsMouse)
}
Keys.onPressed: event => {
if (event.key === Qt.Key_Menu && hasActionList) {
event.accepted = true;
openActionMenu(item);
} else if ((event.key === Qt.Key_Enter || event.key === Qt.Key_Return)) {
event.accepted = true;
if ("trigger" in GridView.view.model) {
GridView.view.model.trigger(index, "", null);
root.toggle();
}
itemGrid.itemActivated(index, "", null);
}
}
}

View File

@ -1,30 +1,16 @@
/***************************************************************************
* Copyright (C) 2015 by Eike Hein <hein@kde.org> *
* Copyright (C) 2021 by Prateek SU <pankajsunal123@gmail.com> *
* *
* 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 . *
***************************************************************************/
/*
SPDX-FileCopyrightText: 2015 Eike Hein <hein@kde.org>
import QtQuick 2.12
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.15
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.kquickcontrolsaddons 2.0
import org.kde.draganddrop 2.0
import org.kde.ksvg 1.0 as KSvg
import org.kde.plasma.components as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.kirigami 2.20 as Kirigami
FocusScope {
id: itemGrid
@ -39,23 +25,20 @@ FocusScope {
property bool dragEnabled: true
property bool dropEnabled: false
property bool showLabels: true
property bool increaseLeftSpacings: false
property alias usesPlasmaTheme: gridView.usesPlasmaTheme
property int itemColumns
property alias currentIndex: gridView.currentIndex
property alias currentItem: gridView.currentItem
property alias contentItem: gridView.contentItem
property alias count: gridView.count
property alias model: gridView.model
property alias square: gridView.square
property alias showDescriptions: gridView.showDescriptions
property alias cellWidth: gridView.cellWidth
property alias cellHeight: gridView.cellHeight
property alias iconSize: gridView.iconSize
property int iconSize
property alias horizontalScrollBarPolicy: scrollArea.horizontalScrollBarPolicy
property alias verticalScrollBarPolicy: scrollArea.verticalScrollBarPolicy
property var horizontalScrollBarPolicy: PlasmaComponents.ScrollBar.AlwaysOff
property var verticalScrollBarPolicy: PlasmaComponents.ScrollBar.AlwaysOn
onDropEnabledChanged: {
if (!dropEnabled && "dropPlaceHolderIndex" in model) {
@ -64,41 +47,42 @@ FocusScope {
}
onFocusChanged: {
//if (!focus && !root.keyEventProxy.activeFocus) {
if (!focus) {
currentIndex = -1;
}
}
function currentRow() {
if (currentIndex == -1) {
if (currentIndex === -1) {
return -1;
}
return Math.floor(currentIndex / Math.floor(width / cellWidth));
return Math.floor(currentIndex / Math.floor(width / itemGrid.cellWidth));
}
function currentCol() {
if (currentIndex == -1) {
if (currentIndex === -1) {
return -1;
}
return currentIndex - (currentRow() * Math.floor(width / cellWidth));
return currentIndex - (currentRow() * Math.floor(width / itemGrid.cellWidth));
}
function lastRow() {
var columns = Math.floor(width / cellWidth);
var columns = Math.floor(width / itemGrid.cellWidth);
return Math.ceil(count / columns) - 1;
}
function tryActivate(row, col) {
if (count) {
var columns = Math.floor(width / cellWidth);
var columns = Math.floor(width / itemGrid.cellWidth);
var rows = Math.ceil(count / columns);
row = Math.min(row, rows - 1);
col = Math.min(col, columns - 1);
currentIndex = Math.min(row ? ((Math.max(1, row) * columns) + col)
: col,
count - 1);
: col,
count - 1);
focus = true;
}
@ -119,58 +103,60 @@ FocusScope {
DropArea {
id: dropArea
anchors.fill: parent
width: itemGrid.width
height: itemGrid.height
//anchors.fill: parent
onDragMove: {
if (!dropEnabled || gridView.animating || !kicker.dragSource) {
return;
}
onPositionChanged: event => {
if (!itemGrid.dropEnabled || gridView.animating || !kicker.dragSource) {
return;
}
var x = Math.max(0, event.x - (width % cellWidth));
var cPos = mapToItem(gridView.contentItem, x, event.y);
var item = gridView.itemAt(cPos.x, cPos.y);
var x = Math.max(0, event.x - (width % itemGrid.cellWidth));
var cPos = mapToItem(gridView.contentItem, x, event.y);
var item = gridView.itemAt(cPos.x, cPos.y);
if (item) {
if (kicker.dragSource.parent === gridView.contentItem) {
if (item !== kicker.dragSource) {
item.GridView.view.model.moveRow(dragSource.itemIndex, item.itemIndex);
}
} else if (kicker.dragSource.GridView.view.model.favoritesModel === model
&& !model.isFavorite(kicker.dragSource.favoriteId)) {
var hasPlaceholder = (model.dropPlaceholderIndex !== -1);
if (item) {
if (kicker.dragSource.parent === gridView.contentItem) {
if (item !== kicker.dragSource) {
item.GridView.view.model.moveRow(dragSource.itemIndex, item.itemIndex);
}
} else if (kicker.dragSource.GridView.view.model.favoritesModel === itemGrid.model
&& !itemGrid.model.isFavorite(kicker.dragSource.favoriteId)) {
var hasPlaceholder = (itemGrid.model.dropPlaceholderIndex !== -1);
model.dropPlaceholderIndex = item.itemIndex;
itemGrid.model.dropPlaceholderIndex = item.itemIndex;
if (!hasPlaceholder) {
gridView.currentIndex = (item.itemIndex - 1);
}
}
} else if (kicker.dragSource.parent !== gridView.contentItem
&& kicker.dragSource.GridView.view.model.favoritesModel === model
&& !model.isFavorite(kicker.dragSource.favoriteId)) {
var hasPlaceholder = (model.dropPlaceholderIndex !== -1);
if (!hasPlaceholder) {
gridView.currentIndex = (item.itemIndex - 1);
}
}
} else if (kicker.dragSource.parent !== gridView.contentItem
&& kicker.dragSource.GridView.view.model.favoritesModel === itemGrid.model
&& !itemGrid.model.isFavorite(kicker.dragSource.favoriteId)) {
var hasPlaceholder = (itemGrid.model.dropPlaceholderIndex !== -1);
model.dropPlaceholderIndex = hasPlaceholder ? model.count - 1 : model.count;
itemGrid.model.dropPlaceholderIndex = hasPlaceholder ? itemGrid.model.count - 1 : itemGrid.model.count;
if (!hasPlaceholder) {
gridView.currentIndex = (model.count - 1);
}
} else {
model.dropPlaceholderIndex = -1;
if (!hasPlaceholder) {
gridView.currentIndex = (itemGrid.model.count - 1);
}
} else {
itemGrid.model.dropPlaceholderIndex = -1;
gridView.currentIndex = -1;
}
}
onExited: {
if ("dropPlaceholderIndex" in itemGrid.model) {
itemGrid.model.dropPlaceholderIndex = -1;
gridView.currentIndex = -1;
}
}
onDragLeave: {
if ("dropPlaceholderIndex" in model) {
model.dropPlaceholderIndex = -1;
gridView.currentIndex = -1;
}
}
onDrop: {
if (kicker.dragSource && kicker.dragSource.parent !== gridView.contentItem && kicker.dragSource.GridView.view.model.favoritesModel === model) {
model.addFavorite(kicker.dragSource.favoriteId, model.dropPlaceholderIndex);
onDropped: {
if (kicker.dragSource && kicker.dragSource.parent !== gridView.contentItem && kicker.dragSource.GridView.view.model.favoritesModel === itemGrid.model) {
itemGrid.model.addFavorite(kicker.dragSource.favoriteId, itemGrid.model.dropPlaceholderIndex);
gridView.currentIndex = -1;
}
}
@ -188,43 +174,49 @@ FocusScope {
Component{
id: aItemGridDelegate2
ItemGridDelegate2 {
ItemGridDelegateColumns {
showLabel: showLabels
itemColumns: itemGrid.itemColumns
iconSize: itemGrid.iconSize
}
}
Component{
id: aItemGridDelegate
ItemGridDelegate {
showLabel: showLabels
showDescription: showDescriptions
increaseLeftSpacing: increaseLeftSpacings
showLabel: itemGrid.showLabels
itemColumns: itemGrid.itemColumns
iconSize: itemGrid.iconSize
}
}
PlasmaExtras.ScrollArea {
PlasmaComponents.ScrollView {
id: scrollArea
anchors.fill: parent
//anchors.fill: parent
width: itemGrid.width
height: itemGrid.height
focus: true
horizontalScrollBarPolicy: Qt.ScrollBarAlwaysOff
verticalScrollBarPolicy: Qt.ScrollBarAsNeeded
PlasmaComponents.ScrollBar.horizontal.policy: itemGrid.horizontalScrollBarPolicy
PlasmaComponents.ScrollBar.vertical.policy: itemGrid.verticalScrollBarPolicy
GridView {
id: gridView
width: itemGrid.width
height: itemGrid.height
signal itemContainsMouseChanged(bool containsMouse)
property bool usesPlasmaTheme: false
property int iconSize: Kirigami.Units.iconSizes.huge
property int iconSize: units.iconSizes.huge
property bool animating: false
property int animationDuration: dropEnabled ? resetAnimationDurationTimer.interval : 0
property bool square: false
property bool showDescriptions: false
property int animationDuration: itemGrid.dropEnabled ? resetAnimationDurationTimer.interval : 0
focus: true
currentIndex: -1
move: Transition {
@ -262,44 +254,14 @@ FocusScope {
keyNavigationWraps: false
boundsBehavior: Flickable.StopAtBounds
delegate: square ? aItemGridDelegate2 : aItemGridDelegate
highlight: Item {
property bool isDropPlaceHolder: "dropPlaceholderIndex" in model && currentIndex === model.dropPlaceholderIndex
PlasmaComponents.Highlight {
visible: gridView.currentItem && !isDropPlaceHolder
anchors.fill: parent
}
PlasmaCore.FrameSvgItem {
visible: gridView.currentItem && isDropPlaceHolder
anchors.fill: parent
imagePath: "widgets/viewitem"
prefix: "selected"
opacity: 0.5
PlasmaCore.IconItem {
anchors {
right: parent.right
rightMargin: parent.margins.right
bottom: parent.bottom
bottomMargin: parent.margins.bottom
}
width: units.iconSizes.smallMedium
height: width
source: "list-add"
active: false
}
}
}
delegate: itemColumns == 1 ? aItemGridDelegate : aItemGridDelegate2
highlight: Rectangle { color: colorWithAlpha(Kirigami.Theme.highlightColor,0.5); radius: 6 }
highlightFollowsCurrentItem: true
highlightMoveDuration: 0
onCurrentIndexChanged: {
if (currentIndex != -1) {
if (currentIndex !== -1) {
hoverArea.hoverEnabled = false
focus = true;
}
@ -314,71 +276,73 @@ FocusScope {
currentIndex = -1;
}
Keys.onLeftPressed: {
if (currentCol() !== 0) {
event.accepted = true;
moveCurrentIndexLeft();
} else {
itemGrid.keyNavLeft();
}
}
Keys.onLeftPressed: event => {
if (itemGrid.currentCol() !== 0) {
event.accepted = true;
moveCurrentIndexLeft();
} else {
itemGrid.keyNavLeft();
}
}
Keys.onRightPressed: {
var columns = Math.floor(width / cellWidth);
Keys.onRightPressed: event => {
var columns = Math.floor(width / cellWidth);
if (currentCol() !== columns - 1 && currentIndex != count - 1) {
event.accepted = true;
moveCurrentIndexRight();
} else {
itemGrid.keyNavRight();
}
}
if (itemGrid.currentCol() !== columns - 1 && currentIndex !== count -1) {
event.accepted = true;
moveCurrentIndexRight();
} else {
itemGrid.keyNavRight();
}
}
Keys.onUpPressed: {
if (currentRow() !== 0) {
event.accepted = true;
moveCurrentIndexUp();
positionViewAtIndex(currentIndex, GridView.Contain);
} else {
itemGrid.keyNavUp();
}
}
Keys.onUpPressed: event => {
if (itemGrid.currentRow() !== 0) {
event.accepted = true;
moveCurrentIndexUp();
positionViewAtIndex(currentIndex, GridView.Contain);
} else {
itemGrid.keyNavUp();
}
}
Keys.onDownPressed: {
if (currentRow() < itemGrid.lastRow()) {
// Fix moveCurrentIndexDown()'s lack of proper spatial nav down
// into partial columns.
event.accepted = true;
var columns = Math.floor(width / cellWidth);
var newIndex = currentIndex + columns;
currentIndex = Math.min(newIndex, count - 1);
positionViewAtIndex(currentIndex, GridView.Contain);
} else {
itemGrid.keyNavDown();
}
}
Keys.onDownPressed: event => {
if (itemGrid.currentRow() < itemGrid.lastRow()) {
// Fix moveCurrentIndexDown()'s lack of proper spatial nav down
// into partial columns.
event.accepted = true;
var columns = Math.floor(width / cellWidth);
var newIndex = currentIndex + columns;
currentIndex = Math.min(newIndex, count - 1);
positionViewAtIndex(currentIndex, GridView.Contain);
} else {
itemGrid.keyNavDown();
}
}
onItemContainsMouseChanged: {
if (!containsMouse) {
if (!actionMenu.opened) {
gridView.currentIndex = -1;
}
onItemContainsMouseChanged: containsMouse => {
if (!containsMouse) {
if (!actionMenu.opened) {
gridView.currentIndex = -1;
}
hoverArea.pressX = -1;
hoverArea.pressY = -1;
hoverArea.lastX = -1;
hoverArea.lastY = -1;
hoverArea.pressedItem = null;
hoverArea.hoverEnabled = true;
}
}
hoverArea.pressX = -1;
hoverArea.pressY = -1;
hoverArea.lastX = -1;
hoverArea.lastY = -1;
hoverArea.pressedItem = null;
hoverArea.hoverEnabled = true;
}
}
}
}
MouseArea {
id: hoverArea
anchors.fill: parent
//anchors.fill: parent
width: itemGrid.width - Kirigami.Units.gridUnit
height: itemGrid.height
property int pressX: -1
property int pressY: -1
@ -409,72 +373,77 @@ FocusScope {
gridView.currentIndex = -1;
pressedItem = null;
} else {
itemGrid.focus = (item.itemIndex !== -1)
itemGrid.forceActiveFocus() //<>
gridView.currentIndex = item.itemIndex;
itemGrid.focus = (currentIndex != -1)
}
return item;
}
onPressed: {
mouse.accepted = true;
onPressed: mouse => {
mouse.accepted = true;
updatePositionProperties(mouse.x, mouse.y);
updatePositionProperties(mouse.x, mouse.y);
pressX = mouse.x;
pressY = mouse.y;
pressX = mouse.x;
pressY = mouse.y;
if (mouse.button == Qt.RightButton) {
if (gridView.currentItem) {
if (gridView.currentItem.hasActionList) {
var mapped = mapToItem(gridView.currentItem, mouse.x, mouse.y);
gridView.currentItem.openActionMenu(mapped.x, mapped.y);
}
}
} else {
pressedItem = gridView.currentItem;
}
}
if (mouse.button === Qt.RightButton) {
if (gridView.currentItem) {
if (gridView.currentItem.hasActionList) {
var mapped = mapToItem(gridView.currentItem, mouse.x, mouse.y);
gridView.currentItem.openActionMenu(mapped.x, mapped.y);
}
} else {
var mapped = mapToItem(rootItem, mouse.x, mouse.y);
contextMenu.open(mapped.x, mapped.y);
}
} else {
pressedItem = gridView.currentItem;
}
}
onReleased: {
mouse.accepted = true;
updatePositionProperties(mouse.x, mouse.y);
onReleased: mouse => {
mouse.accepted = true;
updatePositionProperties(mouse.x, mouse.y);
if (gridView.currentItem && gridView.currentItem == pressedItem) {
if ("trigger" in gridView.model) {
gridView.model.trigger(pressedItem.itemIndex, "", null);
root.toggle();
}
if (!dragHelper.dragging) {
if (pressedItem) {
if ("trigger" in gridView.model) {
gridView.model.trigger(pressedItem.itemIndex, "", null);
root.toggle();
}
itemGrid.itemActivated(pressedItem.itemIndex, "", null);
} else if (!dragHelper.dragging && !pressedItem && mouse.button == Qt.LeftButton) {
root.toggle();
}
itemGrid.itemActivated(pressedItem.itemIndex, "", null);
} else if (mouse.button === Qt.LeftButton) {
root.toggle();
}
}
pressX = -1;
pressY = -1;
pressedItem = null;
}
onPositionChanged: {
var item = pressedItem ? pressedItem : updatePositionProperties(mouse.x, mouse.y);
if (gridView.currentIndex != -1) {
if (dragEnabled && pressX != -1 && dragHelper.isDrag(pressX, pressY, mouse.x, mouse.y)) {
if ("pluginName" in item.m) {
dragHelper.startDrag(kicker, item.url, item.icon,
"text/x-plasmoidservicename", item.m.pluginName);
} else {
dragHelper.startDrag(kicker, item.url, item.icon);
pressX = pressY = -1;
pressedItem = null;
}
kicker.dragSource = item;
onPositionChanged: mouse => {
var item = pressedItem? pressedItem : updatePositionProperties(mouse.x, mouse.y);
pressX = -1;
pressY = -1;
}
}
}
if (gridView.currentIndex !== -1) {
if (itemGrid.dragEnabled && pressX !== -1 && dragHelper.isDrag(pressX, pressY, mouse.x, mouse.y)) {
if ("pluginName" in item.m) {
dragHelper.startDrag(kicker, item.url, item.icon,
"text/x-plasmoidservicename", item.m.pluginName);
} else {
// console.log(kicker, item.url, item.icon);
// dragHelper.startDrag(kicker, item.url, item.icon);
dragHelper.startDrag(kicker,item.url);
}
kicker.dragSource = item;
pressX = -1;
pressY = -1;
}
}
}
}
}
}

View File

@ -1,39 +1,28 @@
/***************************************************************************
* Copyright (C) 2015 by Eike Hein <hein@kde.org> *
* Copyright (C) 2021 by Prateek SU <pankajsunal123@gmail.com> *
* *
* 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 . *
***************************************************************************/
/*
SPDX-FileCopyrightText: 2015 Eike Hein <hein@kde.org>
import QtQuick 2.12
SPDX-License-Identifier: GPL-2.0-or-later
*/
import org.kde.plasma.core 2.0 as PlasmaCore
import QtQuick
import org.kde.ksvg 1.0 as KSvg
import org.kde.plasma.components as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.kirigami 2.20 as Kirigami
import org.kde.plasma.private.kicker 0.1 as Kicker
import QtQuick.Controls 2.1
PlasmaExtras.ScrollArea {
//
import org.kde.plasma.plasmoid
PlasmaComponents.ScrollView {
id: itemMultiGrid
anchors {
top: parent.top
}
//anchors {
// top: parent.top
//}
width: parent.width
implicitHeight: itemColumn.implicitHeight + units.largeSpacing
implicitHeight: itemColumn.implicitHeight
signal keyNavLeft(int subGridIndex)
signal keyNavRight(int subGridIndex)
@ -41,31 +30,21 @@ PlasmaExtras.ScrollArea {
signal keyNavDown()
property bool grabFocus: false
property bool showDescriptions: false
property int iconSize: units.iconSizes.medium
property alias model: repeater.model
property alias count: repeater.count
property alias flickableItem: flickable
//clip: true
verticalScrollBarPolicy: Qt.ScrollBarAsNeeded
flickableItem.flickableDirection: Flickable.VerticalFlick
onFocusChanged: {
if (!focus) {
for (var i = 0; i < repeater.count; i++) {
subGridAt(i).focus = false;
}
}
}
property int itemColumns
property int cellWidth
property int cellHeight
function subGridAt(index) {
return repeater.itemAt(index).itemGrid;
}
function tryActivate(row, col) { // FIXME TODO: Cleanup messy algo.
if (flickableItem.contentY > 0) {
if (flickable.contentY > 0) {
row = 0;
}
@ -74,12 +53,13 @@ PlasmaExtras.ScrollArea {
for (var i = 0; i < repeater.count; i++) {
var grid = subGridAt(i);
if (rows <= row) {
target = grid;
rows += grid.lastRow() + 2; // Header counts as one.
} else {
break;
if(grid.count > 0 ){
if (rows <= row) {
target = grid;
rows += grid.lastRow() + 2; // Header counts as one.
} else {
break;
}
}
}
@ -89,138 +69,185 @@ PlasmaExtras.ScrollArea {
}
}
Column {
id: itemColumn
onFocusChanged: {
if (!focus) {
for (var i = 0; i < repeater.count; i++) {
subGridAt(i).focus = false;
}
}
}
width: itemMultiGrid.width - units.gridUnit
Flickable {
id: flickable
Repeater {
id: repeater
flickableDirection: Flickable.VerticalFlick
contentHeight: itemColumn.implicitHeight
//focusPolicy: Qt.NoFocus
delegate: Item {
width: itemColumn.width
height: headerHeight + gridView.height + (index == repeater.count - 1 ? 0 : footerHeight)
Column {
id: itemColumn
property int headerHeight: gridViewLabel.height
property int footerHeight: units.smallSpacing * 3
visible: gridView.count > 0
property Item itemGrid: gridView
width: itemMultiGrid.width - Kirigami.Units.gridUnit
PlasmaExtras.Heading {
id: gridViewLabel
anchors.top: parent.top
//anchors.topMargin: 8
x: units.smallSpacing
width: parent.width - x
height: dummyHeading.height
elide: Text.ElideRight
wrapMode: Text.NoWrap
opacity: 1.0
color: theme.textColor
level: 5
font.weight: Font.Bold
text: repeater.model.modelForRow(index).description
}
Repeater {
id: repeater
MouseArea {
width: parent.width
height: parent.height
onClicked: root.toggle()
}
delegate: Item {
id: itemTest
width: itemColumn.width
height: gridView.height + gridViewLabel.height + Kirigami.Units.largeSpacing * 2
visible: gridView.count > 0
ItemGridView {
id: gridView
property Item itemGrid: gridView
anchors {
top: gridViewLabel.bottom
topMargin: units.smallSpacing
Kirigami.Heading {
id: gridViewLabel
anchors.top: parent.top
anchors.left: parent.left
anchors.leftMargin: Kirigami.Units.smallSpacing
//height: dummyHeading.height
elide: Text.ElideRight
wrapMode: Text.NoWrap
opacity: 0.8
color: Kirigami.Theme.textColor
level: 3
font.bold: true
font.weight: Font.DemiBold
text: repeater.model.modelForRow(index).description
textFormat: Text.PlainText
}
//TODO >
dragEnabled: false
dropEnabled: false
showDescriptions: itemMultiGrid.showDescriptions
// <
width: parent.width
height: Math.ceil(count * cellHeight)
cellWidth: parent.width
cellHeight: root.iconSize + (2 * highlightItemSvg.margins.top)//<>cellSize
iconSize: root.iconSize
model: repeater.model.modelForRow(index)
onFocusChanged: {
if (focus) {
itemMultiGrid.focus = true;
}
Rectangle{
anchors.right: parent.right
anchors.left: gridViewLabel.right
anchors.leftMargin: Kirigami.Units.largeSpacing
anchors.rightMargin: Kirigami.Units.largeSpacing
anchors.verticalCenter: gridViewLabel.verticalCenter
height: 1
color: Kirigami.Theme.textColor
opacity: 0.15
}
onCountChanged: {
if (itemMultiGrid.grabFocus && index == 0 && count > 0) {
currentIndex = 0;
focus = true;
}
MouseArea {
width: parent.width
height: parent.height
onClicked: root.toggle()
}
onCurrentItemChanged: {
if (!currentItem) {
return;
ItemGridView {
id: gridView
anchors {
top: gridViewLabel.bottom
topMargin: Kirigami.Units.largeSpacing
}
if (index == 0 && currentRow() === 0) {
itemMultiGrid.flickableItem.contentY = 0;
return;
width: parent.width
height: count * itemMultiGrid.cellHeight
itemColumns: 3//itemMultiGrid.itemColumns
cellWidth: itemMultiGrid.cellWidth
cellHeight: itemMultiGrid.cellHeight
iconSize: root.iconSize
verticalScrollBarPolicy: PlasmaComponents.ScrollBar.AlwaysOff
model: repeater.model.modelForRow(index)
onFocusChanged: {
if (focus) {
itemMultiGrid.focus = true;
}
}
var y = currentItem.y;
y = contentItem.mapToItem(itemMultiGrid.flickableItem.contentItem, 0, y).y;
onCountChanged: {
if (itemMultiGrid.grabFocus && index == 0 && count > 0) {
currentIndex = 0;
focus = true;
}
}
if (y < itemMultiGrid.flickableItem.contentY) {
itemMultiGrid.flickableItem.contentY = y;
} else {
y += cellSize;
y -= itemMultiGrid.flickableItem.contentY;
y -= itemMultiGrid.viewport.height;
onCurrentItemChanged: {
if (!currentItem) {
return;
}
if (y > 0) {
itemMultiGrid.flickableItem.contentY += y;
if (index == 0 && currentRow() === 0) {
flickable.contentY = 0;
return;
}
var y = currentItem.y;
y = contentItem.mapToItem(flickable.contentItem, 0, y).y;
if (y < flickable.contentY) {
flickable.contentY = y;
} else {
y += itemMultiGrid.cellHeight;
y -= flickable.contentY;
y -= itemMultiGrid.height;
if (y > 0) {
flickable.contentY += y;
}
}
}
onKeyNavLeft: {
itemMultiGrid.keyNavLeft(index);
}
onKeyNavRight: {
itemMultiGrid.keyNavRight(index);
}
onKeyNavUp: {
if (index > 0) {
var i;
for (i = index; i > 0 ; i--) {
var prevGrid = subGridAt(i-1);
if(prevGrid.count > 0 ){
prevGrid.tryActivate(prevGrid.lastRow(), currentCol());
break;
}
}
if(i === 0){
itemMultiGrid.keyNavUp();
}
// var prevGrid = subGridAt(index - 1);
// prevGrid.tryActivate(prevGrid.lastRow(), currentCol());
} else {
itemMultiGrid.keyNavUp();
}
}
onKeyNavDown: {
if (index < repeater.count - 1) {
var i;
for (i = index; i < repeater.count - 1 ; i++) {
var grid = subGridAt(i+1);
if(grid.count > 0 ){
grid.tryActivate(0, currentCol());
break;
}
}
if(i === repeater.count){
itemMultiGrid.keyNavDown();
}
// subGridAt(index + 1).tryActivate(0, currentCol());
} else {
itemMultiGrid.keyNavDown();
}
}
}
onKeyNavLeft: {
itemMultiGrid.keyNavLeft(index);
// HACK: Steal wheel events from the nested grid view and forward them to
// the ScrollView's internal WheelArea.
Kicker.WheelInterceptor {
anchors.fill: gridView
z: 1
destination: findWheelArea(itemMultiGrid)
}
onKeyNavRight: {
itemMultiGrid.keyNavRight(index);
}
onKeyNavUp: {
if (index > 0) {
var prevGrid = subGridAt(index - 1);
prevGrid.tryActivate(prevGrid.lastRow(), currentCol());
} else {
itemMultiGrid.keyNavUp();
}
}
onKeyNavDown: {
if (index < repeater.count - 1) {
subGridAt(index + 1).tryActivate(0, currentCol());
} else {
itemMultiGrid.keyNavDown();
}
}
}
// HACK: Steal wheel events from the nested grid view and forward them to
// the ScrollView's internal WheelArea.
Kicker.WheelInterceptor {
anchors.fill: gridView
z: 1
destination: findWheelArea(itemMultiGrid.flickableItem)
}
}
}

View File

@ -1,563 +0,0 @@
/***************************************************************************
* Copyright (C) 2013-2015 by Eike Hein <hein@kde.org> *
* Copyright (C) 2021 by Prateek SU <pankajsunal123@gmail.com> *
* *
* 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 . *
***************************************************************************/
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.kquickcontrolsaddons 2.0 as KQuickAddons
import QtQuick 2.12
import org.kde.plasma.components 3.0 as PlasmaComponents
import org.kde.plasma.components 2.0 as PlasmaComponents2
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.kwindowsystem 1.0
import org.kde.plasma.private.kicker 0.1 as Kicker
import org.kde.kcoreaddons 1.0 as KCoreAddons
import "../code/tools.js" as Tools
Item {
id: item
width: cellSize * (plasmoid.configuration.numberColumns + 1.3)
height: root.height
y: units.largeSpacing * 2
property int iconSize: units.iconSizes.large
property int cellSize: iconSize + theme.mSize(theme.defaultFont).height
+ (2 * units.smallSpacing)
+ (2 * Math.max(highlightItemSvg.margins.top + highlightItemSvg.margins.bottom,
highlightItemSvg.margins.left + highlightItemSvg.margins.right))
property bool searching: (searchField.text != "")
property bool showAllApps: plasmoid.configuration.defaultAllApps
property bool showRecents: false
property int tileSide: cellSize * 1.08
onSearchingChanged: {
if (!searching) {
reset();
} else {
if (showRecents) resetPinned.start();
}
}
signal newTextQuery(string text)
property real mainColumnHeight: tileSide * plasmoid.configuration.numberRows
property real favoritesColumnHeight: tileSide * 0.6 * 3
property var pinnedModel: [globalFavorites, rootModel.modelForRow(0), rootModel.modelForRow(1)]
property var recommendedModel: [rootModel.modelForRow(1), rootModel.modelForRow(0), globalFavorites, globalFavorites]
property var allAppsModel: [rootModel.modelForRow(2)]
function updateModels() {
item.pinnedModel = [globalFavorites, rootModel.modelForRow(0), rootModel.modelForRow(1)]
item.recommendedModel = [rootModel.modelForRow(1), rootModel.modelForRow(0), globalFavorites, globalFavorites]
item.allAppsModel = [rootModel.modelForRow(2)]
}
function reset() {
if (showRecents) resetPinned.start();
searchField.clear()
searchField.focus = true
showAllApps = plasmoid.configuration.defaultAllApps
showRecents = false
documentsFavoritesGrid.tryActivate(0, 0);
allAppsGrid.tryActivate(0, 0);
globalFavoritesGrid.tryActivate(0, 0);
}
function reload() {
mainColumn.visible = false
recentItem.visible = false
pinnedModel = null
recommendedModel = null
allAppsModel = null
preloadAllAppsTime.done = false
preloadAllAppsTime.defer()
}
KWindowSystem {
id: kwindowsystem
}
KCoreAddons.KUser { id: kuser }
PlasmaExtras.Heading {
id: dummyHeading
visible: false
width: 0
level: 1
}
ParallelAnimation {
id: removePinned
running: false
NumberAnimation { target: mainColumn; property: "height"; from: mainColumnHeight; to: 0; duration: 500; easing.type: Easing.InOutQuad }
NumberAnimation { target: mainColumn; property: "opacity"; from: 1; to: 0; duration: 500; easing.type: Easing.InOutQuad }
NumberAnimation { target: documentsFavoritesGrid; property: "height"; from: favoritesColumnHeight; to: parent.height; duration: 500; easing.type: Easing.InOutQuad }
}
ParallelAnimation {
id: restorePinned
running: false
NumberAnimation { target: mainColumn; property: "height"; from: 0; to: searching || showAllApps ? parent.height : mainColumnHeight; duration: 500; easing.type: Easing.InOutQuad }
NumberAnimation { target: mainColumn; property: "opacity"; from: 0; to: 1; duration: 500; easing.type: Easing.InOutQuad }
NumberAnimation { target: documentsFavoritesGrid; property: "height"; from: parent.height; to: favoritesColumnHeight; duration: 500; easing.type: Easing.InOutQuad }
}
ParallelAnimation {
id: resetPinned
running: false
NumberAnimation { target: mainColumn; property: "height"; from: 0; to: searching || showAllApps ? parent.height : mainColumnHeight; duration: 0; }
NumberAnimation { target: mainColumn; property: "opacity"; from: 0; to: 1; duration: 0; }
NumberAnimation { target: documentsFavoritesGrid; property: "height"; from: parent.height; to: favoritesColumnHeight; duration: 0; }
}
TextMetrics {
id: headingMetrics
font: dummyHeading.font
}
Timer {
id: preloadAllAppsTime
property bool done: false
interval: 100
repeat: false
onTriggered: {
if (done) {
return;
}
item.updateModels()
mainColumn.tryActivate(0, 0);
done = true;
mainColumn.visible = true
recentItem.visible = true
}
function defer() {
if (!running && !done) {
restart();
}
}
}
Kicker.ContainmentInterface {
id: containmentInterface
}
PlasmaComponents2.Menu {
id: contextMenu
PlasmaComponents2.MenuItem {
action: plasmoid.action("configure")
}
}
PlasmaComponents.TextField {
id: searchField
focus: true
placeholderText: i18n("Type here to search")
opacity: searching || plasmoid.configuration.alwaysShowSearchBar
leftPadding: PlasmaCore.Units.iconSizes.small * 1.9
height: units.iconSizes.medium
width: parent.width - 2 * x
x: 1.5 * units.largeSpacing
Accessible.editable: true
Accessible.searchEdit: true
onTextChanged: {
runnerModel.query = text;
newTextQuery(text)
}
PlasmaCore.IconItem {
id: searchIconItem
source: "search"
height: PlasmaCore.Units.iconSizes.small
width: height
x: PlasmaCore.Units.iconSizes.small * 0.45
anchors {
verticalCenter: searchField.verticalCenter
}
}
function clear() {
text = "";
}
function backspace() {
if (searching) {
text = text.slice(0, -1);
}
focus = true;
}
function appendText(newText) {
if (!root.visible) {
return;
}
focus = true;
text = text + newText;
}
Keys.onPressed: {
if (event.key == Qt.Key_Down) {
event.accepted = true;
mainColumn.tryActivate(0, 0)
} else if (event.key == Qt.Key_Tab || event.key == Qt.Key_Up) {
event.accepted = true;
mainColumn.tryActivate(0, 0)
} else if (event.key == Qt.Key_Escape) {
event.accepted = true;
if (searching) {
clear()
} else {
root.toggle()
}
}
}
}
PlasmaExtras.Heading {
id: mainLabelGrid
anchors.top: plasmoid.configuration.alwaysShowSearchBar ? searchField.bottom : parent.top
anchors.leftMargin: units.largeSpacing * 3
anchors.topMargin: plasmoid.configuration.alwaysShowSearchBar ? units.largeSpacing : 0
anchors.left: parent.left
x: units.smallSpacing
elide: Text.ElideRight
wrapMode: Text.NoWrap
color: theme.textColor
level: 5
font.bold: true
font.weight: Font.Bold
text: showAllApps ? i18n("All apps") : showRecents ? i18n("Recommended") : i18n("Pinned")
visible: !searching
}
PlasmaComponents.Button {
MouseArea {
hoverEnabled: true
anchors.fill: parent
cursorShape: containsMouse ? Qt.PointingHandCursor : Qt.ArrowCursor
onClicked: {
if (showAllApps || !showRecents)
showAllApps = !showAllApps
else {
showRecents = !showRecents
if (showRecents)
removePinned.start();
else
restorePinned.start();
}
mainColumn.visibleGrid.tryActivate(0, 0)
}
}
text: i18n(showAllApps || showRecents ? "Back" : "All apps")
id: mainsecLabelGrid
icon.name: showAllApps || showRecents ? "go-previous" : "go-next"
font.pointSize: 9
icon.height: 15
icon.width: icon.height
LayoutMirroring.enabled: true
LayoutMirroring.childrenInherit: !showAllApps && !showRecents
flat: false
background: Rectangle {
color: Qt.lighter(theme.backgroundColor)
border.width: 1
border.color: Qt.darker(theme.backgroundColor, 1.14)
radius: 5
}
topPadding: 4
bottomPadding: topPadding
leftPadding: 8
rightPadding: 8
icon{
width: height
height: visible ? units.iconSizes.small : 0
name: showAllApps || showRecents ? "go-previous" : "go-next"
}
anchors {
topMargin: units.smallSpacing
verticalCenter: mainLabelGrid.verticalCenter
rightMargin: units.largeSpacing * 3
leftMargin: units.largeSpacing * 3
left: parent.left
}
x: -units.smallSpacing
visible: !searching
}
Item {
id: mainColumn
anchors {
top: searching ? searchField.bottom : mainLabelGrid.bottom
leftMargin: units.largeSpacing * 1.6
rightMargin: units.largeSpacing
topMargin: units.largeSpacing * 0.7
left: parent.left
right: parent.right
bottom: searching ? parent.bottom : showAllApps ? footer.top : undefined
bottomMargin: showAllApps ? 5 : 0
}
height: searching || showAllApps || plasmoid.configuration.recentGridModel == 3 ? parent.height : mainColumnHeight
property Item visibleGrid: globalFavoritesGrid
function tryActivate(row, col) {
if (visibleGrid) {
visibleGrid.tryActivate(row, col);
}
}
ItemGridView {
id: globalFavoritesGrid
model: pinnedModel[plasmoid.configuration.favGridModel]
width: parent.width
height: plasmoid.configuration.recentGridModel == 3 ? parent.height : mainColumnHeight
cellWidth: tileSide
cellHeight: tileSide
square: true
dropEnabled: true
usesPlasmaTheme: true
z: (opacity == 1.0) ? 1 : 0
enabled: (opacity == 1.0) ? 1 : 0
verticalScrollBarPolicy: Qt.ScrollBarAlwaysOff
opacity: searching || showAllApps ? 0 : 1
onOpacityChanged: {
if (opacity == 1.0) {
mainColumn.visibleGrid = globalFavoritesGrid;
}
}
onKeyNavDown: documentsFavoritesGrid.tryActivate(0, 0)
}
ItemMultiGridView {
id: allAppsGrid
anchors.fill: parent
z: (opacity == 1.0) ? 1 : 0
enabled: (opacity == 1.0) ? 1 : 0
height: parent.height
width: parent.width
grabFocus: true
model: allAppsModel[0]
opacity: showAllApps && !searching ? 1.0 : 0.0
showDescriptions: plasmoid.configuration.showDescription
anchors {
leftMargin: units.largeSpacing * 1.6;
}
onOpacityChanged: {
if (opacity == 1.0) {
mainColumn.visibleGrid = allAppsGrid;
}
}
}
ItemMultiGridView {
id: runnerGrid
anchors.fill: parent
z: (opacity == 1.0) ? 1 : 0
enabled: (opacity == 1.0) ? 1 : 0
width: parent.width
model: runnerModel
showDescriptions: plasmoid.configuration.showDescription
grabFocus: true
opacity: searching ? 1.0 : 0.0
onOpacityChanged: {
if (opacity == 1.0) {
mainColumn.visibleGrid = runnerGrid;
}
}
}
Keys.onPressed: {
if (event.key == Qt.Key_Backspace) {
event.accepted = true;
if (searching)
searchField.backspace();
else
searchField.focus = true
} else if (event.key == Qt.Key_Tab) {
event.accepted = true;
if (!searching && !showAllApps) documentsFavoritesGrid.tryActivate(0, 0);
} else if (event.key == Qt.Key_Escape) {
event.accepted = true;
if (searching) {
searchField.clear()
} else {
root.toggle()
}
} else if (event.text != "") {
event.accepted = true;
searchField.appendText(event.text);
}
}
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.LeftButton | Qt.RightButton
LayoutMirroring.enabled: Qt.application.layoutDirection == Qt.RightToLeft
LayoutMirroring.childrenInherit: true
onPressed: {
if (mouse.button == Qt.RightButton) {
contextMenu.open(mouse.x, mouse.y);
}
}
onClicked: {
if (mouse.button == Qt.LeftButton) {
}
}
}
}
Item{
id: recentItem
width: parent.width
anchors.top: mainColumn.bottom
anchors.topMargin: units.largeSpacing * 0.5
anchors.left: parent.left
anchors.bottom: parent.bottom
anchors.leftMargin: units.largeSpacing * 3
anchors.rightMargin: units.largeSpacing
visible: plasmoid.configuration.recentGridModel != 3
property int iconSize: 22
PlasmaExtras.Heading {
id: headLabelDocuments
x: units.smallSpacing
width: parent.width - x
elide: Text.ElideRight
wrapMode: Text.NoWrap
color: theme.textColor
level: 5
font.bold: true
font.weight: Font.Bold
visible: !searching && !showAllApps && !showRecents
text: i18n("Recommended")
}
PlasmaComponents.Button {
MouseArea {
hoverEnabled: true
anchors.fill: parent
cursorShape: containsMouse ? Qt.PointingHandCursor : Qt.ArrowCursor
onClicked: {
showRecents = !showRecents
if (showRecents)
removePinned.start();
else
restorePinned.start();
}
}
text: i18n(showRecents ? "Back" : "More")
id: headsecLabelGrid
icon.name: showRecents ? "go-previous" : "go-next"
font.pointSize: 9
icon.height: 15
icon.width: icon.height
LayoutMirroring.enabled: true
LayoutMirroring.childrenInherit: !showRecents
flat: false
background: Rectangle {
color: Qt.lighter(theme.backgroundColor)
border.width: 1
border.color: Qt.darker(theme.backgroundColor, 1.14)
radius: 5
}
topPadding: 4
bottomPadding: topPadding
leftPadding: 8
rightPadding: 8
icon{
width: height
height: visible ? units.iconSizes.small : 0
name: showRecents ? "go-previous" : "go-next"
}
anchors {
verticalCenter: headLabelDocuments.verticalCenter
rightMargin: units.largeSpacing * 6
leftMargin: units.largeSpacing * 6
left: parent.left
}
x: -units.smallSpacing
visible: documentsFavoritesGrid.model != null && documentsFavoritesGrid.model.count > 6 && !searching && !showAllApps && !showRecents
}
ItemGridView {
id: documentsFavoritesGrid
visible: !searching && !showAllApps
showDescriptions: true
anchors{
top: headLabelDocuments.bottom
left: parent.left
right: parent.right
bottomMargin: 0
topMargin: units.largeSpacing * 0.7
}
increaseLeftSpacings: true
height: showRecents ? parent.height : favoritesColumnHeight
cellWidth: parent.width * 0.4
cellHeight: tileSide * 0.6
iconSize: units.iconSizes.medium
model: recommendedModel[plasmoid.configuration.recentGridModel]
usesPlasmaTheme: false
onKeyNavUp: {
mainColumn.visibleGrid.tryActivate(0, 0);
}
Keys.onPressed: {
if (event.key == Qt.Key_Tab) {
event.accepted = true;
mainColumn.visibleGrid.tryActivate(0, 0)
} else if (event.key == Qt.Key_Backspace) {
event.accepted = true;
if (searching)
searchField.backspace();
else
searchField.focus = true
} else if (event.key == Qt.Key_Escape) {
event.accepted = true;
if (searching) {
searchField.clear()
} else {
root.toggle()
}
} else if (event.text != "") {
event.accepted = true;
searchField.appendText(event.text);
}
}
}
}
Footer {
id: footer
visible: !searching
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: parent.bottom
}
Component.onCompleted: {
searchField.focus = true
}
}

View File

@ -1,7 +1,6 @@
/***************************************************************************
* Copyright (C) 2014 by Weng Xuetian <wengxt@gmail.com>
* Copyright (C) 2013-2017 by Eike Hein <hein@kde.org> *
* Copyright (C) 2021 by Prateek SU <pankajsunal123@gmail.com> *
* *
* 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 *
@ -19,35 +18,76 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
***************************************************************************/
import QtQuick 2.12
import QtQuick.Layouts 1.12
import QtQuick 2.4
import QtQuick.Layouts 1.1
import QtQuick.Controls 2.12
import org.kde.plasma.plasmoid 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 3.0 as PlasmaComponents
import org.kde.plasma.components 3.0 as PC3
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.plasma.private.kicker 0.1 as Kicker
import org.kde.kquickcontrolsaddons 2.0
import org.kde.plasma.private.quicklaunch 1.0
import org.kde.kirigami as Kirigami
PlasmaCore.Dialog {
id: root
objectName: "popupWindow"
//flags: Qt.Dialog | Qt.FramelessWindowHint
flags: Qt.WindowStaysOnTopHint
location: PlasmaCore.Types.Floating
// location: PlasmaCore.Types.BottomEdge
location:{
if (Plasmoid.configuration.displayPosition === 1)
return PlasmaCore.Types.Floating
else if (Plasmoid.configuration.displayPosition === 2)
return PlasmaCore.Types.BottomEdge
else
return Plasmoid.location
}
hideOnWindowDeactivate: true
property int iconSize: units.iconSizes.medium
property int iconSizeSide: units.iconSizes.smallMedium
property int iconSize:{ switch(Plasmoid.configuration.appsIconSize){
case 0: return Kirigami.Units.iconSizes.smallMedium;
case 1: return Kirigami.Units.iconSizes.medium;
case 2: return Kirigami.Units.iconSizes.large;
case 3: return Kirigami.Units.iconSizes.huge;
default: return 64
}
}
property int cellSize: iconSize + theme.mSize(theme.defaultFont).height
+ units.largeSpacing
+ (2 * Math.max(highlightItemSvg.margins.top + highlightItemSvg.margins.bottom,
highlightItemSvg.margins.left + highlightItemSvg.margins.right))
property int docsIconSize:{ switch(Plasmoid.configuration.docsIconSize){
case 0: return Kirigami.Units.iconSizes.smallMedium;
case 1: return Kirigami.Units.iconSizes.medium;
case 2: return Kirigami.Units.iconSizes.large;
case 3: return Kirigami.Units.iconSizes.huge;
default: return Kirigami.Units.iconSizes.medium;
}
}
property int cellSizeHeight: iconSize
+ Kirigami.Units.gridUnit * 2
+ (2 * Math.max(highlightItemSvg.margins.top + highlightItemSvg.margins.bottom,
highlightItemSvg.margins.left + highlightItemSvg.margins.right))
property int cellSizeWidth: cellSizeHeight + Kirigami.Units.gridUnit
property bool searching: (searchField.text != "")
onSearchingChanged: {
if(searching)
view.currentIndex = 2
else
view.currentIndex = 0
}
onVisibleChanged: {
if (!visible) {
reset();
} else {
if (visible) {
var pos = popupPosition(width, height);
x = pos.x;
y = pos.y;
requestActivate();
reset();
}else{
view.currentIndex = 0
}
}
@ -63,98 +103,507 @@ PlasmaCore.Dialog {
y = pos.y;
}
function toggle() {
root.visible = false;
function toggle(){
root.visible = !root.visible
}
function reset() {
mainColumnItem.reset()
searchField.text = "";
searchField.focus = true
view.currentIndex = 0
globalFavoritesGrid.currentIndex = -1
documentsGrid.currentIndex = -1
allAppsGrid.currentIndex = -1
}
function popupPosition(width, height) {
var screenAvail = plasmoid.availableScreenRect;
var screenGeom = plasmoid.screenGeometry;
//QtBug - QTBUG-64115
/*
var screenAvail = kicker.availableScreenRect;
var screenGeom = kicker.screenGeometry;
var screen = Qt.rect(screenAvail.x + screenGeom.x,
screenAvail.y + screenGeom.y,
screenAvail.width,
screenAvail.height);
screenAvail.y + screenGeom.y,
screenAvail.width,
screenAvail.height);
var offset = units.smallSpacing;
var offset = Kirigami.Units.smallSpacing;
// Fall back to bottom-left of screen area when the applet is on the desktop or floating.
var x = offset;
var y = screen.height - height - offset;
var horizMidPoint = screen.x + (screen.width / 2);
var vertMidPoint = screen.y + (screen.height / 2);
var appletTopLeft = parent.mapToGlobal(0, 0);
var appletBottomLeft = parent.mapToGlobal(0, parent.height);
if (plasmoid.configuration.menuPosition == 0) {
x = plasmoid.location === PlasmaCore.Types.LeftEdge ? parent.width + panelSvg.margins.right + offset + 6 : plasmoid.location === PlasmaCore.Types.RightEdge ? appletTopLeft.x - panelSvg.margins.left - offset - width - 6 : horizMidPoint - width / 2;
y = plasmoid.location === PlasmaCore.Types.TopEdge ? parent.height + panelSvg.margins.bottom + offset + 6 : plasmoid.location === PlasmaCore.Types.BottomEdge ? screen.height - height - offset - panelSvg.margins.top - 6 : vertMidPoint - height / 2;
} else if (plasmoid.location === PlasmaCore.Types.BottomEdge) {
if (plasmoid.configuration.menuPosition == 1)
x = (appletTopLeft.x < horizMidPoint) ? screen.x + offset + 6 : (screen.x + screen.width) - width - offset - 6;
else
x = appletTopLeft.x - width / 2
y = screen.height - height - offset - panelSvg.margins.top - 6;
} else if (plasmoid.location === PlasmaCore.Types.TopEdge) {
if (plasmoid.configuration.menuPosition == 1)
x = (appletBottomLeft.x < horizMidPoint) ? screen.x + offset + 6 : (screen.x + screen.width) - width - offset - 6;
else
x = appletBottomLeft.x - width / 2
y = parent.height + panelSvg.margins.bottom + offset + 6;
} else if (plasmoid.location === PlasmaCore.Types.LeftEdge) {
x = parent.width + panelSvg.margins.right + offset + 6;
if (plasmoid.configuration.menuPosition == 1)
y = (appletTopLeft.y < vertMidPoint) ? screen.y + offset + 6 : (screen.y + screen.height) - height - offset - 6;
else
y = appletTopLeft.y - height / 2
} else if (plasmoid.location === PlasmaCore.Types.RightEdge) {
x = appletTopLeft.x - panelSvg.margins.left - offset - width - 6;
if (plasmoid.configuration.menuPosition == 1)
y = (appletTopLeft.y < vertMidPoint) ? screen.y + offset + 6 : (screen.y + screen.height) - height - offset - 6;
else
y = appletTopLeft.y - height / 2
}
var horizMidPoint;
var vertMidPoint;
horizMidPoint = screen.x + (screen.width / 2);
vertMidPoint = screen.y + (screen.height / 2);
x = horizMidPoint - width / 2;
y = screen.y + screen.height - height - offset - panelSvg.margins.top;
return Qt.point(x, y);
*/
var screenAvail = kicker.availableScreenRect;
var screenGeom = kicker.screenGeometry;
var screen = Qt.rect(screenAvail.x + screenGeom.x,
screenAvail.y + screenGeom.y,
screenAvail.width,
screenAvail.height);
var offset = Kirigami.Units.smallSpacing;
// Fall back to bottom-left of screen area when the applet is on the desktop or floating.
var x = offset;
var y = screen.height - height - offset;
var appletTopLeft;
var horizMidPoint;
var vertMidPoint;
if (Plasmoid.configuration.displayPosition === 1) {
horizMidPoint = screen.x + (screen.width / 2);
vertMidPoint = screen.y + (screen.height / 2);
x = horizMidPoint - width / 2;
y = vertMidPoint - height / 2;
} else if (Plasmoid.configuration.displayPosition === 2) {
horizMidPoint = screen.x + (screen.width / 2);
vertMidPoint = screen.y + (screen.height / 2);
x = horizMidPoint - width / 2;
y = screen.y + screen.height - height - offset - panelSvg.margins.top;
} else if (Plasmoid.location === PlasmaCore.Types.BottomEdge) {
horizMidPoint = screen.x + (screen.width / 2);
appletTopLeft = parent.mapToGlobal(0, 0);
x = (appletTopLeft.x < horizMidPoint) ? screen.x + offset : (screen.x + screen.width) - width - offset;
y = screen.y + screen.height - height - offset - panelSvg.margins.top;
} else if (Plasmoid.location === PlasmaCore.Types.TopEdge) {
horizMidPoint = screen.x + (screen.width / 2);
var appletBottomLeft = parent.mapToGlobal(0, parent.height);
x = (appletBottomLeft.x < horizMidPoint) ? screen.x + offset : (screen.x + screen.width) - width - offset;
//y = screen.y + parent.height + panelSvg.margins.bottom + offset;
y = screen.y + panelSvg.margins.bottom + offset;
} else if (Plasmoid.location === PlasmaCore.Types.LeftEdge) {
vertMidPoint = screen.y + (screen.height / 2);
appletTopLeft = parent.mapToGlobal(0, 0);
x = appletTopLeft.x*2 + parent.width + panelSvg.margins.right + offset;
y = screen.y + (appletTopLeft.y < vertMidPoint) ? screen.y + offset : (screen.y + screen.height) - height - offset;
} else if (Plasmoid.location === PlasmaCore.Types.RightEdge) {
vertMidPoint = screen.y + (screen.height / 2);
appletTopLeft = parent.mapToGlobal(0, 0);
x = appletTopLeft.x - panelSvg.margins.left - offset - width;
y = screen.y + (appletTopLeft.y < vertMidPoint) ? screen.y + offset : (screen.y + screen.height) - height - offset;
}
return Qt.point(x, y);
}
FocusScope {
Layout.minimumWidth: mainColumnItem.width
Layout.minimumHeight: cellSize * (5.1 + plasmoid.configuration.numberRows + (plasmoid.configuration.alwaysShowSearchBar ? 0.6 : 0))
Layout.maximumWidth: Layout.minimumWidth
Layout.maximumHeight: Layout.minimumHeight
focus: true
Row{
anchors.fill: parent
spacing: units.largeSpacing
MainColumnItem{
id: mainColumnItem
}
}
Keys.onPressed: {
if (event.key == Qt.Key_Escape) {
root.visible = false;
}
}
function colorWithAlpha(color: color, alpha: real): color {
return Qt.rgba(color.r, color.g, color.b, alpha)
}
function refreshModel() {
mainColumnItem.reload()
console.log("refresh model - menu 11")
mainItem: FocusScope {
id: rootItem
property int widthComputed: root.cellSizeWidth * Plasmoid.configuration.numberColumns + Kirigami.Units.gridUnit*2
width: rootItem.widthComputed+ Kirigami.Units.gridUnit*2
Layout.minimumWidth: width
Layout.maximumWidth: width
Layout.minimumHeight: view.height + searchField.height + footer.height + Kirigami.Units.gridUnit * 3
Layout.maximumHeight: view.height + searchField.height + footer.height + Kirigami.Units.gridUnit * 3
focus: true
onFocusChanged: searchField.focus = true
Kirigami.Heading {
id: dummyHeading
visible: false
width: 0
level: 5
}
TextMetrics {
id: headingMetrics
font: dummyHeading.font
}
PC3.TextField {
id: searchField
anchors{
top: parent.top
topMargin: Kirigami.Units.gridUnit
left: parent.left
leftMargin: Kirigami.Units.gridUnit
right: parent.right
rightMargin: Kirigami.Units.gridUnit
}
focus: true
placeholderText: i18n("Type here to search ...")
topPadding: 10
bottomPadding: 10
leftPadding: Kirigami.Units.gridUnit + Kirigami.Units.iconSizes.small
text: ""
font.pointSize: Kirigami.Theme.defaultFont.pointSize
background: Rectangle {
color: Kirigami.Theme.backgroundColor
radius: 3
border.width: 1
border.color: colorWithAlpha(Kirigami.Theme.textColor,0.05)
}
onTextChanged: runnerModel.query = text;
Keys.onPressed: (event)=> {
if (event.key === Qt.Key_Escape) {
event.accepted = true;
if(root.searching){
searchField.clear()
} else {
root.toggle()
}
}
if (event.key === Qt.Key_Down || event.key === Qt.Key_Tab || event.key === Qt.Key_Backtab) {
event.accepted = true;
view.currentItem.forceActiveFocus()
view.currentItem.tryActivate(0,0)
}
}
function backspace() {
if (!root.visible) {
return;
}
focus = true;
text = text.slice(0, -1);
}
function appendText(newText) {
if (!root.visible) {
return;
}
focus = true;
text = text + newText;
}
Kirigami.Icon {
source: 'search'
anchors {
left: searchField.left
verticalCenter: searchField.verticalCenter
leftMargin: Kirigami.Units.smallSpacing * 2
}
height: Kirigami.Units.iconSizes.small
width: height
}
}
Rectangle{
height: 2
width: searchField.width - 2
anchors.bottom: searchField.bottom
anchors.horizontalCenter: parent.horizontalCenter
color: Kirigami.Theme.highlightColor
}
//
//
//
//
//
SwipeView {
id: view
interactive: false
currentIndex: 0
clip: true
anchors.top: searchField.bottom
anchors.topMargin: Kirigami.Units.gridUnit
anchors.left: parent.left
anchors.leftMargin: Kirigami.Units.gridUnit
onCurrentIndexChanged: {
globalFavoritesGrid.currentIndex = -1
documentsGrid.currentIndex = -1
}
width: rootItem.widthComputed
height: (root.cellSizeHeight * Plasmoid.configuration.numberRows) + (topRow.height*2) + ((docsIconSize + Kirigami.Units.largeSpacing)*3) + (3*Kirigami.Units.largeSpacing)
//
// PAGE 1
//
Column{
width: rootItem.widthComputed
height: view.height
spacing: Kirigami.Units.largeSpacing
function tryActivate(row, col) {
globalFavoritesGrid.tryActivate(row, col);
}
RowLayout{
id: topRow
width: rootItem.widthComputed
height: butttonActionAllApps.implicitHeight
Kirigami.Icon {
source: 'favorite'
implicitHeight: Kirigami.Units.iconSizes.smallMedium
implicitWidth: Kirigami.Units.iconSizes.smallMedium
}
PlasmaExtras.Heading {
id: headLabelFavorites
color: colorWithAlpha(Kirigami.Theme.textColor, 0.8)
level: 5
text: i18n("Pinned")
font.weight: Font.Bold
}
Item{ Layout.fillWidth: true }
AToolButton {
id: butttonActionAllApps
flat: false
iconName: "go-next"
text: i18n("All apps")
onClicked: {
view.currentIndex = 1
}
}
}
ItemGridView {
id: globalFavoritesGrid
width: rootItem.widthComputed
height: root.cellSizeHeight * Plasmoid.configuration.numberRows
itemColumns: 1
dragEnabled: true
dropEnabled: true
cellWidth: root.cellSizeWidth
cellHeight: root.cellSizeHeight
iconSize: root.iconSize
onKeyNavUp: {
globalFavoritesGrid.focus = false
searchField.focus = true;
}
onKeyNavDown: {
globalFavoritesGrid.focus = false
documentsGrid.tryActivate(0,0)
}
Keys.onPressed:(event)=> {
if (event.key === Qt.Key_Tab) {
event.accepted = true;
searchField.focus = true
globalFavoritesGrid.focus = false
}
}
}
RowLayout{
width: rootItem.widthComputed
height: butttonActionAllApps.implicitHeight
Kirigami.Icon {
source: 'tag-recents'
implicitHeight: Kirigami.Units.iconSizes.smallMedium
implicitWidth: Kirigami.Units.iconSizes.smallMedium
}
PlasmaExtras.Heading {
color: colorWithAlpha(Kirigami.Theme.textColor, 0.8)
level: 5
text: i18n("Recent documents")
Layout.leftMargin: Kirigami.Units.smallSpacing
font.weight: Font.Bold
}
Item{ Layout.fillWidth: true }
//AToolButton {
// flat: false
// iconName: "list-add"
// text: i18n("More")
// onClicked: {
// //view.currentIndex = 1
//
// }
//}
}
ItemGridView {
id: documentsGrid
width: rootItem.widthComputed
height: cellHeight * 3
itemColumns: 2
dragEnabled: true
dropEnabled: true
cellWidth: rootItem.widthComputed * 0.48
cellHeight: docsIconSize + Kirigami.Units.largeSpacing
iconSize: docsIconSize
clip: true
onKeyNavUp: {globalFavoritesGrid.tryActivate(0,0);
documentsGrid.focus = false
}
Keys.onPressed:(event)=> {
if (event.key === Qt.Key_Tab) {
event.accepted = true;
searchField.focus = true
documentsGrid.focus = false
}
}
}
}
//
// PAGE 2
//
Column{
width: rootItem.widthComputed
height: view.height
spacing: Kirigami.Units.largeSpacing
function tryActivate(row, col) {
allAppsGrid.tryActivate(row, col);
}
RowLayout{
width: rootItem.widthComputed
height: butttonActionAllApps.implicitHeight
Kirigami.Icon {
source: 'application-menu'
implicitHeight: Kirigami.Units.iconSizes.smallMedium
implicitWidth: Kirigami.Units.iconSizes.smallMedium
}
PlasmaExtras.Heading {
color: colorWithAlpha(Kirigami.Theme.textColor, 0.8)
level: 5
text: i18n("All apps")
Layout.leftMargin: Kirigami.Units.smallSpacing
font.weight: Font.Bold
}
Item{ Layout.fillWidth: true }
AToolButton {
flat: false
iconName: 'go-previous'
text: i18n("Pinned")
mirror: true
onClicked: {
view.currentIndex = 0
}
}
}
ItemGridView {
id: allAppsGrid
width: rootItem.widthComputed
height: Math.floor((view.height-topRow.height-Kirigami.Units.largeSpacing)/cellHeight)* cellHeight
itemColumns: 3
dragEnabled: false
dropEnabled: false
cellWidth: rootItem.widthComputed - Kirigami.Units.gridUnit * 2
cellHeight: root.iconSize + Kirigami.Units.largeSpacing
iconSize: root.iconSize
clip: true
onKeyNavUp: {
searchField.focus = true
allAppsGrid.focus = false
}
Keys.onPressed:(event)=> {
if (event.key === Qt.Key_Tab) {
event.accepted = true;
searchField.focus = true
allAppsGrid.focus = false
}
}
}
}
//
// PAGE 3
//
ItemMultiGridView {
id: runnerGrid
width: rootItem.widthComputed
height: view.height
itemColumns: 3
cellWidth: rootItem.widthComputed - Kirigami.Units.gridUnit * 2
cellHeight: root.iconSize + Kirigami.Units.smallSpacing
model: runnerModel
grabFocus: false
onKeyNavUp: {
runnerGrid.focus = false
searchField.focus = true
}
}
}
PlasmaExtras.PlasmoidHeading {
id: footer
contentWidth: parent.width
contentHeight: Kirigami.Units.gridUnit * 3
anchors.bottom: parent.bottom
position: PC3.ToolBar.Footer
Footer{
anchors.fill: parent
anchors.leftMargin: Kirigami.Units.gridUnit
anchors.rightMargin: Kirigami.Units.gridUnit
}
}
Keys.onPressed: (event)=> {
if(event.modifiers & Qt.ControlModifier ||event.modifiers & Qt.ShiftModifier){
searchField.focus = true;
return
}
if (event.key === Qt.Key_Escape) {
event.accepted = true;
if (root.searching) {
reset();
} else {
root.visible = false;
}
return;
}
if (searchField.focus) {
return;
}
if (event.key === Qt.Key_Backspace) {
event.accepted = true;
searchField.backspace();
} else if (event.text !== "") {
event.accepted = true;
searchField.appendText(event.text);
}
searchField.focus = true
}
}
function setModels(){
globalFavoritesGrid.model = globalFavorites
allAppsGrid.model = rootModel.modelForRow(2);
documentsGrid.model = rootModel.modelForRow(1)
}
Component.onCompleted: {
rootModel.refreshed.connect(refreshModel)
kicker.reset.connect(reset);
rootModel.refreshed.connect(setModels)
reset();
rootModel.refresh();
}
}

View File

@ -1,23 +1,10 @@
/***************************************************************************
* Copyright (C) 2013 by Aurélien Gâteau <agateau@kde.org> *
* Copyright (C) 2013-2015 by Eike Hein <hein@kde.org> *
* Copyright (C) 2017 by Ivan Cukic <ivan.cukic@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 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 . *
***************************************************************************/
/*
SPDX-FileCopyrightText: 2013 Aurélien Gâteau <agateau@kde.org>
SPDX-FileCopyrightText: 2013-2015 Eike Hein <hein@kde.org>
SPDX-FileCopyrightText: 2017 Ivan Cukic <ivan.cukic@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
.pragma library
@ -29,10 +16,12 @@ function fillActionMenu(i18n, actionMenu, actionList, favoriteModel, favoriteId)
if (actions) {
if (actionList && actionList.length > 0) {
var actionListCopy = Array.from(actionList);
var separator = { "type": "separator" };
actionList.push(separator);
actionListCopy.push(separator);
// actionList = actions.concat(actionList); // this crashes Qt O.o
actionList.push.apply(actionList, actions);
actionListCopy.push.apply(actionListCopy, actions);
actionList = actionListCopy;
} else {
actionList = actions;
}
@ -42,7 +31,7 @@ function fillActionMenu(i18n, actionMenu, actionList, favoriteModel, favoriteId)
}
function createFavoriteActions(i18n, favoriteModel, favoriteId) {
if (favoriteModel === null || !favoriteModel.enabled || favoriteId == null) {
if (!favoriteModel || !favoriteModel.enabled || !favoriteId) {
return null;
}
@ -55,7 +44,7 @@ function createFavoriteActions(i18n, favoriteModel, favoriteId) {
action.text = i18n("Remove from Favorites");
action.icon = "bookmark-remove";
action.actionId = "_kicker_favorite_remove";
} else if (favoriteModel.maxFavorites == -1 || favoriteModel.count < favoriteModel.maxFavorites) {
} else if (favoriteModel.maxFavorites === -1 || favoriteModel.count < favoriteModel.maxFavorites) {
action.text = i18n("Add to Favorites");
action.icon = "bookmark-new";
action.actionId = "_kicker_favorite_add";
@ -174,29 +163,19 @@ function handleFavoriteAction(actionId, actionArgument) {
var favoriteId = actionArgument.favoriteId;
var favoriteModel = actionArgument.favoriteModel;
console.log(actionId);
if (favoriteModel === null || favoriteId == null) {
if (favoriteModel === null || favoriteId === null) {
return null;
}
if (actionId == "_kicker_favorite_remove") {
console.log("Removing from all activities");
if (actionId === "_kicker_favorite_remove") {
favoriteModel.removeFavorite(favoriteId);
} else if (actionId == "_kicker_favorite_add") {
console.log("Adding to global activity");
} else if (actionId === "_kicker_favorite_add") {
favoriteModel.addFavorite(favoriteId);
} else if (actionId == "_kicker_favorite_remove_from_activity") {
console.log("Removing from a specific activity");
} else if (actionId === "_kicker_favorite_remove_from_activity") {
favoriteModel.removeFavoriteFrom(favoriteId, actionArgument.favoriteActivity);
} else if (actionId == "_kicker_favorite_add_to_activity") {
console.log("Adding to another activity");
} else if (actionId === "_kicker_favorite_add_to_activity") {
favoriteModel.addFavoriteTo(favoriteId, actionArgument.favoriteActivity);
} else if (actionId == "_kicker_favorite_set_to_activity") {
console.log("Removing the item from the favourites, and re-adding it just to be on a specific activity");
} else if (actionId === "_kicker_favorite_set_to_activity") {
favoriteModel.setFavoriteOn(favoriteId, actionArgument.favoriteActivity);
}
}

View File

@ -1,126 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="22.0px"
height="22.0px"
viewBox="0 0 22.0 22.0"
version="1.1"
id="SVGRoot"
sodipodi:docname="explorer.svg"
inkscape:version="1.1 (c4e8f9ed74, 2021-05-24)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview829"
pagecolor="#505050"
bordercolor="#eeeeee"
borderopacity="1"
inkscape:pageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:document-units="px"
showgrid="true"
inkscape:zoom="23.461503"
inkscape:cx="4.8164007"
inkscape:cy="7.6295197"
inkscape:window-width="1920"
inkscape:window-height="1005"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="g954">
<inkscape:grid
type="xygrid"
id="grid892" />
</sodipodi:namedview>
<defs
id="defs824" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<g
id="g954"
transform="matrix(1.3571429,0,0,1.3571429,56.642857,-8.5)">
<path
id="path930"
d="m -35.105262,9.210526 v 1 h 8 v 9 h -3 v 1 h 3 c 0.554,0 1,-0.446 1,-1 v -9 c 0,-0.5539998 -0.446,-1 -1,-1 z m -6,2 v 8 c 0,0.554 0.446,1 1,1 h 3 v -1 h -3 v -8 z m 5,8 v 1 h 5 v -1 z"
style="opacity:1;fill:#eaeaea;fill-opacity:1;stroke:none;stroke-width:0.991031;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
inkscape:connector-curvature="0"
id="path932"
d="m -35.105262,9.210526 h -1 v 1 h -5 v 1 h 5 c 0.554,0 1,-0.446 1,-1 z"
style="opacity:1;fill:#eaeaea;fill-opacity:1;stroke:none;stroke-width:0.991031;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path934"
d="M -40.105262,8.2105263 V 9.210526 h 4 v 1 h 1 v -1 c 0,-0.5539997 -0.446,-0.9999997 -1,-0.9999997 z"
style="opacity:1;fill:#eaeaea;fill-opacity:1;stroke:none;stroke-width:0.991031;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
id="path936"
d="m -41.105262,9.210526 v 2 h 1 V 8.2105263 c -0.554,0 -1,0.446 -1,0.9999997 z"
style="opacity:1;fill:#eaeaea;fill-opacity:1;stroke:none;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
inkscape:connector-curvature="0"
id="path938"
d="m -37.105262,14.210526 c -0.554,0 -1,0.446 -1,1 v 3 h 1 v -3 h 7 v 3 h 1 v -3 c 0,-0.554 -0.446,-1 -1,-1 z"
style="opacity:1;fill:#eaeaea;fill-opacity:1;stroke:none;stroke-width:0.694365;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path940"
d="m -36.105262,16.210526 v 2 h 1 v -1 h 3 v 1 h 1 v -2 z"
style="opacity:1;fill:#eaeaea;fill-opacity:1;stroke:none;stroke-width:0.517549;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path942"
d="m -37.105262,19.210526 c -0.554,0 -1,0.446 -1,1 0,0.554 0.446,1 1,1 h 1 c 0.554,0 1,-0.446 1,-1 0,-0.554 -0.446,-1 -1,-1 v 1 h -1 z"
style="opacity:1;fill:#eaeaea;fill-opacity:1;stroke:none;stroke-width:1.41421;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
inkscape:connector-curvature="0" />
<rect
style="opacity:1;fill:#eaeaea;fill-opacity:1;stroke:none;stroke-width:0.57735;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect944"
width="0.99999899"
height="1"
x="-38.105263"
y="18.210527"
ry="0"
rx="0" />
<rect
rx="0"
ry="0"
y="18.210527"
x="-36.105263"
height="1"
width="0.99999893"
id="rect946"
style="opacity:1;fill:#eaeaea;fill-opacity:1;stroke:none;stroke-width:0.57735;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
style="opacity:1;fill:#eaeaea;fill-opacity:1;stroke:none;stroke-width:0.577351;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect948"
width="1.0000027"
height="1"
x="-32.105263"
y="18.210527"
ry="0"
rx="0" />
<rect
rx="0"
ry="0"
y="18.210527"
x="-30.105263"
height="1"
width="1.0000008"
id="rect950"
style="opacity:1;fill:#eaeaea;fill-opacity:1;stroke:none;stroke-width:0.57735;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
style="opacity:1;fill:#eaeaea;fill-opacity:1;stroke:none;stroke-width:1.41421;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m -31.105262,19.210526 c -0.554,0 -1,0.446 -1,1 0,0.554 0.446,1 1,1 h 1 c 0.554,0 1,-0.446 1,-1 0,-0.554 -0.446,-1 -1,-1 v 1 h -1 z"
id="path952" />
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 5.3 KiB

View File

@ -1,126 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="22.0px"
height="22.0px"
viewBox="0 0 22.0 22.0"
version="1.1"
id="SVGRoot"
sodipodi:docname="explorer.svg"
inkscape:version="1.1 (c4e8f9ed74, 2021-05-24)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview829"
pagecolor="#505050"
bordercolor="#eeeeee"
borderopacity="1"
inkscape:pageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:document-units="px"
showgrid="true"
inkscape:zoom="23.461503"
inkscape:cx="4.8164007"
inkscape:cy="7.6295197"
inkscape:window-width="1920"
inkscape:window-height="1005"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="g954">
<inkscape:grid
type="xygrid"
id="grid892" />
</sodipodi:namedview>
<defs
id="defs824" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<g
id="g954"
transform="matrix(1.3571429,0,0,1.3571429,56.642857,-8.5)">
<path
id="path930"
d="m -35.105262,9.210526 v 1 h 8 v 9 h -3 v 1 h 3 c 0.554,0 1,-0.446 1,-1 v -9 c 0,-0.5539998 -0.446,-1 -1,-1 z m -6,2 v 8 c 0,0.554 0.446,1 1,1 h 3 v -1 h -3 v -8 z m 5,8 v 1 h 5 v -1 z"
style="opacity:1;fill:#151515;fill-opacity:1;stroke:none;stroke-width:0.991031;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
inkscape:connector-curvature="0"
id="path932"
d="m -35.105262,9.210526 h -1 v 1 h -5 v 1 h 5 c 0.554,0 1,-0.446 1,-1 z"
style="opacity:1;fill:#151515;fill-opacity:1;stroke:none;stroke-width:0.991031;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path934"
d="M -40.105262,8.2105263 V 9.210526 h 4 v 1 h 1 v -1 c 0,-0.5539997 -0.446,-0.9999997 -1,-0.9999997 z"
style="opacity:1;fill:#151515;fill-opacity:1;stroke:none;stroke-width:0.991031;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
id="path936"
d="m -41.105262,9.210526 v 2 h 1 V 8.2105263 c -0.554,0 -1,0.446 -1,0.9999997 z"
style="opacity:1;fill:#151515;fill-opacity:1;stroke:none;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
inkscape:connector-curvature="0"
id="path938"
d="m -37.105262,14.210526 c -0.554,0 -1,0.446 -1,1 v 3 h 1 v -3 h 7 v 3 h 1 v -3 c 0,-0.554 -0.446,-1 -1,-1 z"
style="opacity:1;fill:#151515;fill-opacity:1;stroke:none;stroke-width:0.694365;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path940"
d="m -36.105262,16.210526 v 2 h 1 v -1 h 3 v 1 h 1 v -2 z"
style="opacity:1;fill:#151515;fill-opacity:1;stroke:none;stroke-width:0.517549;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path942"
d="m -37.105262,19.210526 c -0.554,0 -1,0.446 -1,1 0,0.554 0.446,1 1,1 h 1 c 0.554,0 1,-0.446 1,-1 0,-0.554 -0.446,-1 -1,-1 v 1 h -1 z"
style="opacity:1;fill:#151515;fill-opacity:1;stroke:none;stroke-width:1.41421;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
inkscape:connector-curvature="0" />
<rect
style="opacity:1;fill:#151515;fill-opacity:1;stroke:none;stroke-width:0.57735;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect944"
width="0.99999899"
height="1"
x="-38.105263"
y="18.210527"
ry="0"
rx="0" />
<rect
rx="0"
ry="0"
y="18.210527"
x="-36.105263"
height="1"
width="0.99999893"
id="rect946"
style="opacity:1;fill:#151515;fill-opacity:1;stroke:none;stroke-width:0.57735;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
style="opacity:1;fill:#151515;fill-opacity:1;stroke:none;stroke-width:0.577351;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect948"
width="1.0000027"
height="1"
x="-32.105263"
y="18.210527"
ry="0"
rx="0" />
<rect
rx="0"
ry="0"
y="18.210527"
x="-30.105263"
height="1"
width="1.0000008"
id="rect950"
style="opacity:1;fill:#151515;fill-opacity:1;stroke:none;stroke-width:0.57735;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
style="opacity:1;fill:#151515;fill-opacity:1;stroke:none;stroke-width:1.41421;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m -31.105262,19.210526 c -0.554,0 -1,0.446 -1,1 0,0.554 0.446,1 1,1 h 1 c 0.554,0 1,-0.446 1,-1 0,-0.554 -0.446,-1 -1,-1 v 1 h -1 z"
id="path952" />
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 5.3 KiB

View File

@ -1,6 +1,5 @@
/***************************************************************************
* Copyright (C) 2014-2015 by Eike Hein <hein@kde.org> *
* Copyright (C) 2021 by Prateek SU <pankajsunal123@gmail.com> *
* *
* 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 *
@ -18,46 +17,49 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
***************************************************************************/
import QtQuick 2.12
import QtQuick.Layouts 1.12
import org.kde.plasma.plasmoid 2.0
import QtQuick 2.0
import QtQuick.Layouts 1.1
import org.kde.plasma.plasmoid
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 3.0 as PlasmaComponents
import org.kde.plasma.components 3.0 as PC3
import org.kde.plasma.private.kicker 0.1 as Kicker
import org.kde.plasma.plasma5support 2.0 as P5Support
import org.kde.kirigami as Kirigami
import org.kde.ksvg 1.0 as KSvg
PlasmoidItem {
Item {
id: kicker
anchors.fill: parent
signal reset
property bool isDash: false
Plasmoid.preferredRepresentation: Plasmoid.fullRepresentation
Plasmoid.compactRepresentation: null
Plasmoid.fullRepresentation: compactRepresentation
preferredRepresentation: compactRepresentation
compactRepresentation: compactRepresentation
fullRepresentation: compactRepresentation
property Item dragSource: null
property QtObject globalFavorites: rootModel.favoritesModel
property QtObject systemFavorites: rootModel.systemFavoritesModel
function action_menuedit() {
processRunner.runMenuEditor();
}
Component {
id: compactRepresentation
CompactRepresentation { }
CompactRepresentation {}
}
Component {
id: menuRepresentation
MenuRepresentation { }
property QtObject globalFavorites: rootModel.favoritesModel
property QtObject systemFavorites: rootModel.systemFavoritesModel
Plasmoid.icon: Plasmoid.configuration.useCustomButtonImage ? Plasmoid.configuration.customButtonImage : Plasmoid.configuration.icon
onSystemFavoritesChanged: {
systemFavorites.favorites = Plasmoid.configuration.favoriteSystemActions;
}
Kicker.RootModel {
@ -65,111 +67,97 @@ Item {
autoPopulate: false
appNameFormat: plasmoid.configuration.appNameFormat
appNameFormat: 0
flat: true
sorted: true
showAllAppsCategorized: false // true
showSeparators: false
appletInterface: plasmoid
appletInterface: kicker
showAllApps: true
showAllAppsCategorized: true
showTopLevelItems: !isDash
showRecentApps: plasmoid.configuration.showRecentApps
showRecentDocs: plasmoid.configuration.showRecentDocs
showRecentContacts: plasmoid.configuration.showRecentContacts
recentOrdering: plasmoid.configuration.recentOrdering
showRecentApps: true
showRecentDocs: true
showPowerSession: false
onShowRecentAppsChanged: {
plasmoid.configuration.showRecentApps = showRecentApps;
Plasmoid.configuration.showRecentApps = showRecentApps;
}
onShowRecentDocsChanged: {
plasmoid.configuration.showRecentDocs = showRecentDocs;
}
onShowRecentContactsChanged: {
plasmoid.configuration.showRecentContacts = showRecentContacts;
Plasmoid.configuration.showRecentDocs = showRecentDocs;
}
onRecentOrderingChanged: {
plasmoid.configuration.recentOrdering = recentOrdering;
}
onFavoritesModelChanged: {
if ("initForClient" in favoritesModel) {
favoritesModel.initForClient("org.kde.plasma.kicker.favorites.instance-" + plasmoid.id)
if (!plasmoid.configuration.favoritesPortedToKAstats) {
favoritesModel.portOldFavorites(plasmoid.configuration.favoriteApps);
plasmoid.configuration.favoritesPortedToKAstats = true;
}
} else {
favoritesModel.favorites = plasmoid.configuration.favoriteApps;
}
favoritesModel.maxFavorites = pageSize;
}
onSystemFavoritesModelChanged: {
systemFavoritesModel.enabled = false;
systemFavoritesModel.favorites = plasmoid.configuration.favoriteSystemActions;
systemFavoritesModel.maxFavorites = 6;
Plasmoid.configuration.recentOrdering = recentOrdering;
}
Component.onCompleted: {
if ("initForClient" in favoritesModel) {
favoritesModel.initForClient("org.kde.plasma.kicker.favorites.instance-" + plasmoid.id)
favoritesModel.initForClient("org.kde.plasma.kicker.favorites.instance-" + Plasmoid.id)
if (!plasmoid.configuration.favoritesPortedToKAstats) {
favoritesModel.portOldFavorites(plasmoid.configuration.favoriteApps);
plasmoid.configuration.favoritesPortedToKAstats = true;
if (!Plasmoid.configuration.favoritesPortedToKAstats) {
if (favoritesModel.count < 1) {
favoritesModel.portOldFavorites(Plasmoid.configuration.favoriteApps);
}
} else {
favoritesModel.favorites = plasmoid.configuration.favoriteApps;
Plasmoid.configuration.favoritesPortedToKAstats = true;
}
favoritesModel.maxFavorites = pageSize;
rootModel.refresh();
}
}
Connections {
target: globalFavorites
onFavoritesChanged: {
plasmoid.configuration.favoriteApps = target.favorites;
function onFavoritesChanged() {
Plasmoid.configuration.favoriteApps = target.favorites;
}
}
Connections {
target: systemFavorites
onFavoritesChanged: {
plasmoid.configuration.favoriteSystemActions = target.favorites;
function onFavoritesChanged() {
Plasmoid.configuration.favoriteSystemActions = target.favorites;
}
}
Connections {
target: plasmoid.configuration
target: Plasmoid.configuration
onFavoriteAppsChanged: {
globalFavorites.favorites = plasmoid.configuration.favoriteApps;
function onFavoriteAppsChanged () {
globalFavorites.favorites = Plasmoid.configuration.favoriteApps;
}
onFavoriteSystemActionsChanged: {
systemFavorites.favorites = plasmoid.configuration.favoriteSystemActions;
function onFavoriteSystemActionsChanged () {
systemFavorites.favorites = Plasmoid.configuration.favoriteSystemActions;
}
function onHiddenApplicationsChanged(){
rootModel.refresh(); // Force refresh on hidden
}
}
Kicker.RunnerModel {
id: runnerModel
id: runnerModel
favoritesModel: globalFavorites
runners: plasmoid.configuration.useExtraRunners ? new Array("services").concat(plasmoid.configuration.extraRunners) : "services"
appletInterface: plasmoid
appletInterface: kicker
favoritesModel: globalFavorites
runners: {
const results = ["krunner_services",
"krunner_systemsettings",
"krunner_sessions",
"krunner_powerdevil",
"calculator",
"unitconverter"];
if (Plasmoid.configuration.useExtraRunners) {
results.push(...Plasmoid.configuration.extraRunners);
}
return results;
}
}
deleteWhenEmpty: false
}
Kicker.DragHelper {
id: dragHelper
@ -179,8 +167,12 @@ Item {
id: processRunner;
}
PlasmaCore.FrameSvgItem {
id: highlightItemSvg
Kicker.WindowSystem {
id: windowSystem
}
KSvg.FrameSvgItem {
id : highlightItemSvg
visible: false
@ -188,34 +180,76 @@ Item {
prefix: "hover"
}
PlasmaCore.FrameSvgItem {
id: panelSvg
KSvg.FrameSvgItem {
id : panelSvg
visible: false
imagePath: "widgets/panel-background"
}
PlasmaComponents.Label {
KSvg.FrameSvgItem {
id : scrollbarSvg
visible: false
imagePath: "widgets/scrollbar"
}
KSvg.FrameSvgItem {
id : backgroundSvg
visible: false
imagePath: "dialogs/background"
}
PC3.Label {
id: toolTipDelegate
width: contentWidth
height: contentHeight
height: undefined
property Item toolTip
text: (toolTip != null) ? toolTip.text : ""
text: toolTip ? toolTip.text : ""
textFormat: Text.PlainText
}
function resetDragSource() {
dragSource = null;
}
function enableHideOnWindowDeactivate() {
kicker.hideOnWindowDeactivate = true;
}
Plasmoid.contextualActions: [
PlasmaCore.Action {
text: i18n("Edit Applications…")
icon.name: "kmenuedit"
visible: Plasmoid.immutability !== PlasmaCore.Types.SystemImmutable
onTriggered: processRunner.runMenuEditor()
}
]
Component.onCompleted: {
plasmoid.setAction("menuedit", i18n("Edit Applications..."));
// plasmoid.setAction("menuedit", i18n("Edit Applications..."));
// //rootModel.refreshed.connect(reset);
// //dragHelper.dropped.connect(resetDragSource);
rootModel.refreshed.connect(reset);
if (Plasmoid.hasOwnProperty("activationTogglesExpanded")) {
Plasmoid.activationTogglesExpanded = !kicker.isDash
}
windowSystem.focusIn.connect(enableHideOnWindowDeactivate);
kicker.hideOnWindowDeactivate = true;
//updateSvgMetrics();
//PlasmaCore.Theme.themeChanged.connect(updateSvgMetrics);
//rootModel.refreshed.connect(reset);
dragHelper.dropped.connect(resetDragSource);
}
}

View File

@ -1,28 +1,24 @@
{
"KPackageStructure": "Plasma/Applet",
"KPlugin": {
"Authors": [
{
"Email": "pankajsunal123@gmail.com",
"Name": "Prateek SU"
"Email": "adhemarks@gmail.com",
"Name": "Ademir"
}
],
"Category": "Application Launchers",
"Description": "A configurable launcher menu 11",
"Description[x-test]": "xxA configurable launcher menu 11xx",
"Description": "Configurable grid of application icons",
"Description[x-test]": "xxConfigurable grid of application iconsxx",
"EnabledByDefault": true,
"Icon": "start-here-kde",
"Id": "com.github.adhec.Menu11",
"License": "GPL-2.0+",
"Name": "Menu11",
"Name[x-test]": "xxMenu11xx",
"ServiceTypes": [
"Plasma/Applet"
],
"Version": "8.0",
"Website": ""
"Name": "Menu 11",
"Name[x-test]": "xxMenu 11xx",
"Website": "https://kde.org/plasma-desktop"
},
"X-Plasma-API": "declarativeappletscript",
"X-Plasma-MainScript": "ui/main.qml",
"X-Plasma-API-Minimum-Version": "6.0",
"X-Plasma-Provides": [
"org.kde.plasma.launchermenu"
]

View File

@ -35,16 +35,11 @@ Or if you know how to make a pull request
## Status
| Locale | Lines | % Done|
|----------|---------|-------|
| Template | 56 | |
| de | 48/56 | 85% |
| es_ES | 46/56 | 82% |
| fr | 48/56 | 85% |
| he | 48/56 | 85% |
| hi_IN | 48/56 | 85% |
| it | 45/56 | 80% |
| ko | 40/56 | 71% |
| nl | 45/56 | 80% |
| pl | 48/56 | 85% |
| pt_BR | 48/56 | 85% |
| ru | 56/56 | 100% |
| tr | 48/56 | 85% |
| Template | 32 | |
| fr | 19/32 | 59% |
| ko | 16/32 | 50% |
| nl | 13/32 | 40% |
| pl | 15/32 | 46% |
| pt_BR | 19/32 | 59% |
| ru | 32/32 | 100% |
| tr | 15/32 | 46% |

View File

@ -1,252 +0,0 @@
# Translation of menu11 in LANGUAGE
# Copyright (C) 2021
# This file is distributed under the same license as the menu11 package.
# Sunsheep afm@hotmail.de, 2021.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: menu11\n"
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/Menu11\n"
"POT-Creation-Date: 2024-01-03 19:32+0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Sunsheep afm@hotmail.de\n"
"Language: German\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../contents/code/tools.js
msgid "Remove from Favorites"
msgstr ""
#: ../contents/code/tools.js
msgid "Add to Favorites"
msgstr ""
#: ../contents/code/tools.js
msgid "On All Activities"
msgstr ""
#: ../contents/code/tools.js
msgid "On the Current Activity"
msgstr ""
#: ../contents/code/tools.js
msgid "Show in Favorites"
msgstr ""
#: ../contents/config/config.qml
msgid "General"
msgstr "Allgemein"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icon:"
msgstr "Symbol:"
#: ../contents/ui/ConfigGeneral.qml
msgctxt "@item:inmenu Open icon chooser dialog"
msgid "Choose..."
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgctxt "@item:inmenu Reset icon to default"
msgid "Clear Icon"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Menu Position:"
msgstr "Menü Position"
#: ../contents/ui/ConfigGeneral.qml
msgid "Center"
msgstr "Zentriert"
#: ../contents/ui/ConfigGeneral.qml
msgid "On Edge"
msgstr "Am Rand"
#: ../contents/ui/ConfigGeneral.qml
msgid "Auto"
msgstr "Automatisch"
#: ../contents/ui/ConfigGeneral.qml
msgid "Pinned item:"
msgstr "Angeheftetes Element:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Favourite apps"
msgstr "Bevorzugte Apps"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recent apps"
msgstr "Neueste Anwendungen"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recent documents"
msgstr "Neueste Dokumente"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recommended item:"
msgstr "Empfohlener Eintrag:"
#: ../contents/ui/ConfigGeneral.qml
msgid "None"
msgstr "None"
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of columns in grid:"
msgstr "Anzahl der Spalten im Raster:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of rows in grid:"
msgstr "Anzahl der Zeilen im Gitter:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Panel Properties:"
msgstr "Panel Eigenschaften:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show All apps by default"
msgstr "Alle Anwendungen standardmäßig anzeigen"
#: ../contents/ui/ConfigGeneral.qml
msgid "Allow label to have two lines (Pinned)"
msgstr "Erlaube mehrzeilige Bezeichnung (angeheftet)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show Description for all apps and search item"
msgstr "Beschreibung für alle Anwendungen und Suchbegriffe anzeigen"
#: ../contents/ui/ConfigGeneral.qml
msgid "Always Show Search Bar"
msgstr "Suchleiste immer anzeigen"
#: ../contents/ui/ConfigGeneral.qml
msgid "Prefer showing full name, instead of login name"
msgstr "Vollständiger Namen anstelle des Anmeldenamens"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icon Properties:"
msgstr "Symbol Eigenschaften:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Replace Explorer icon in footer"
msgstr "Ersetzen des Explorer Symbols in der Fußzeile"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for User Profile"
msgstr "Symbolgröße für Benutzerprofil verkleinern"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for Footer"
msgstr "Symbolgröße in der Fußzeile verringern"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for Pinned item"
msgstr "Symbolgröße für angeheftetes Element verringern"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show applications as:"
msgstr "Anwendungen anzeigen als:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Name only"
msgstr "Nur Name"
#: ../contents/ui/ConfigGeneral.qml
msgid "Description only"
msgstr "Nur Beschreibung"
#: ../contents/ui/ConfigGeneral.qml
msgid "Name (Description)"
msgstr "Name (Beschreibung)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Description (Name)"
msgstr "Beschreibung (Name)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icons on Bottom bar:"
msgstr "Symbole in der unteren Leiste"
#: ../contents/ui/ConfigGeneral.qml
msgid "Documents"
msgstr "Dokumente"
#: ../contents/ui/ConfigGeneral.qml
msgid "Pictures"
msgstr "Bilder"
#: ../contents/ui/ConfigGeneral.qml
msgid "Music"
msgstr "Musik"
#: ../contents/ui/ConfigGeneral.qml
msgid "Downloads"
msgstr "Downloads"
#: ../contents/ui/ConfigGeneral.qml
msgid "Videos"
msgstr "Videos"
#: ../contents/ui/ConfigGeneral.qml
msgid "File manager"
msgstr "Dateimanager"
#: ../contents/ui/ConfigGeneral.qml
msgid "System settings"
msgstr "Systemeinstellungen"
#: ../contents/ui/ConfigGeneral.qml
msgid "Lock screen"
msgstr "Sperrbildschirm"
#: ../contents/ui/ConfigGeneral.qml
msgid "Power options"
msgstr "Energieoptionen"
#: ../contents/ui/ConfigGeneral.qml
msgid "Search:"
msgstr "Suche:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Expand search to bookmarks, files and emails"
msgstr "Erweitern der Suche auf Lesezeichen, Dateien und E-Mails"
#: ../contents/ui/Footer.qml
msgid "Go to user settings"
msgstr "Gehe zu den Benutzereinstellungen"
#: ../contents/ui/MainColumnItem.qml
msgid "Type here to search"
msgstr "Tippe hier, um zu suchen"
#: ../contents/ui/MainColumnItem.qml
msgid "All apps"
msgstr "Alle Apps"
#: ../contents/ui/MainColumnItem.qml
msgid "Recommended"
msgstr "Empfohlen"
#: ../contents/ui/MainColumnItem.qml
msgid "Pinned"
msgstr "Angeheftet"
#: ../contents/ui/MainColumnItem.qml
msgid "Back"
msgstr "Zurück"
#: ../contents/ui/main.qml
msgid "Edit Applications..."
msgstr ""
#~ msgid "Menu 11"
#~ msgstr "Menü 11"
#~ msgid "A highly customizable launcher inspired from windows 11 menu. Fork of MenuZ."
#~ msgstr "Ein hochgradig anpassbarer Launcher, inspiriert vom Windows 11 Menü. Fork von MenuZ."
#~ msgid "More"
#~ msgstr "Mehr"

View File

@ -1,253 +0,0 @@
# Translation of menu11 in Spanish
# Copyright (C) 2021
# This file is distributed under the same license as the menu11 package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: menu11\n"
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/Menu11\n"
"POT-Creation-Date: 2024-01-03 19:32+0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Ángel Fernández Sánchez <angelfx19@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: Español\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../contents/code/tools.js
msgid "Remove from Favorites"
msgstr ""
#: ../contents/code/tools.js
msgid "Add to Favorites"
msgstr ""
#: ../contents/code/tools.js
msgid "On All Activities"
msgstr ""
#: ../contents/code/tools.js
msgid "On the Current Activity"
msgstr ""
#: ../contents/code/tools.js
msgid "Show in Favorites"
msgstr ""
#: ../contents/config/config.qml
msgid "General"
msgstr "General"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icon:"
msgstr "Icono"
#: ../contents/ui/ConfigGeneral.qml
msgctxt "@item:inmenu Open icon chooser dialog"
msgid "Choose..."
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgctxt "@item:inmenu Reset icon to default"
msgid "Clear Icon"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Menu Position:"
msgstr "Posición del Menú"
#: ../contents/ui/ConfigGeneral.qml
msgid "Center"
msgstr "Centro"
#: ../contents/ui/ConfigGeneral.qml
msgid "On Edge"
msgstr "En el borde"
#: ../contents/ui/ConfigGeneral.qml
msgid "Auto"
msgstr "Auto"
#: ../contents/ui/ConfigGeneral.qml
msgid "Pinned item:"
msgstr "Elemento anclado"
#: ../contents/ui/ConfigGeneral.qml
msgid "Favourite apps"
msgstr "Aplicaciones favoritas"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recent apps"
msgstr "Aplicaciones recientes"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recent documents"
msgstr "Documentos recientes"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recommended item:"
msgstr "Elemento recomendado"
#: ../contents/ui/ConfigGeneral.qml
msgid "None"
msgstr "Ninguno"
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of columns in grid:"
msgstr "Número de columnas en la cuadrícula:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of rows in grid:"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Panel Properties:"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Show All apps by default"
msgstr "Mostrar todas las aplicaciones por defecto"
#: ../contents/ui/ConfigGeneral.qml
msgid "Allow label to have two lines (Pinned)"
msgstr "Permitir que la etiqueta tenga dos líneas (Anclado)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show Description for all apps and search item"
msgstr "Mostrar la descripción de todas las aplicaciones y el elemento de búsqueda"
#: ../contents/ui/ConfigGeneral.qml
msgid "Always Show Search Bar"
msgstr "Mostrar siempre la barra de búsqueda"
#: ../contents/ui/ConfigGeneral.qml
msgid "Prefer showing full name, instead of login name"
msgstr "Preferir mostrar el nombre completo, en lugar del nombre de usuario"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icon Properties:"
msgstr "Propiedades de los iconos:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Replace Explorer icon in footer"
msgstr "Sustituir el icono del Explorador en el pie de página"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for User Profile"
msgstr "Reducir el tamaño de los iconos del perfil de usuario"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for Footer"
msgstr "Reducir el tamaño del icono para el pie de página"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for Pinned item"
msgstr "Reducir el tamaño del icono del elemento anclado"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show applications as:"
msgstr "Mostrar aplicaciones como:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Name only"
msgstr "Sólo el nombre"
#: ../contents/ui/ConfigGeneral.qml
msgid "Description only"
msgstr "Sólo la descripción"
#: ../contents/ui/ConfigGeneral.qml
msgid "Name (Description)"
msgstr "Nombre (Descripción)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Description (Name)"
msgstr "Descripción (Nombre)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icons on Bottom bar:"
msgstr "Iconos en la barra inferior:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Documents"
msgstr "Documentos"
#: ../contents/ui/ConfigGeneral.qml
msgid "Pictures"
msgstr "Imágenes"
#: ../contents/ui/ConfigGeneral.qml
msgid "Music"
msgstr "Música"
#: ../contents/ui/ConfigGeneral.qml
msgid "Downloads"
msgstr "Descargas"
#: ../contents/ui/ConfigGeneral.qml
msgid "Videos"
msgstr "Vídeos"
#: ../contents/ui/ConfigGeneral.qml
msgid "File manager"
msgstr "Gestor de archivos"
#: ../contents/ui/ConfigGeneral.qml
msgid "System settings"
msgstr "Configuración del sistema"
#: ../contents/ui/ConfigGeneral.qml
msgid "Lock screen"
msgstr "Pantalla de bloqueo"
#: ../contents/ui/ConfigGeneral.qml
msgid "Power options"
msgstr "Opciones de energía"
#: ../contents/ui/ConfigGeneral.qml
msgid "Search:"
msgstr "Buscar:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Expand search to bookmarks, files and emails"
msgstr "Ampliar la búsqueda a marcadores, archivos y correos electrónicos"
#: ../contents/ui/Footer.qml
msgid "Go to user settings"
msgstr "Ir a la configuración del usuario"
#: ../contents/ui/MainColumnItem.qml
msgid "Type here to search"
msgstr "Escribe aquí para buscar"
#: ../contents/ui/MainColumnItem.qml
msgid "All apps"
msgstr "Todas las aplicaciones"
#: ../contents/ui/MainColumnItem.qml
msgid "Recommended"
msgstr "Recomendado"
#: ../contents/ui/MainColumnItem.qml
msgid "Pinned"
msgstr "Anclado"
#: ../contents/ui/MainColumnItem.qml
msgid "Back"
msgstr "Volver"
#: ../contents/ui/main.qml
msgid "Edit Applications..."
msgstr ""
#~ msgid "Menu 11"
#~ msgstr "Menú 11"
#~ msgid "A highly customizable launcher inspired from windows 11 menu. Fork of MenuZ."
#~ msgstr "Launcher con gran capacidad de personalización inspirado en el menú de Windows 11. Fork de MenuZ"
#~ msgid "More"
#~ msgstr "Más"

View File

@ -1,253 +1,179 @@
# Translation of menu11 in French
# Copyright (C) 2021
# This file is distributed under the same license as the menu11 package.
# GolDNenex <goldnenex@gmail.com>, 2021.
# Alan Paris <Alan90000@yahoo.com>, 2021.
# Translation of dittomenu in fr
# Copyright (C) 2023
# This file is distributed under the same license as the dittomenu package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: menu11\n"
"Project-Id-Version: dittomenu\n"
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/Menu11\n"
"POT-Creation-Date: 2024-01-03 19:32+0500\n"
"PO-Revision-Date: 2021-10-27 HO:MI+ZONE\n"
"Last-Translator: Alan Paris <Alan90000@yahoo.com>\n"
"Language-Team: \n"
"Language: French\n"
"POT-Creation-Date: 2024-09-23 12:45+0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: omano\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../contents/code/tools.js
msgid "Remove from Favorites"
msgstr ""
#: ../contents/code/tools.js
msgid "Add to Favorites"
msgstr ""
#: ../contents/code/tools.js
msgid "On All Activities"
msgstr ""
#: ../contents/code/tools.js
msgid "On the Current Activity"
msgstr ""
#: ../contents/code/tools.js
msgid "Show in Favorites"
msgstr ""
#: ../contents/config/config.qml
msgid "General"
msgstr "Général"
#: ../contents/ui/code/tools.js
msgid "Remove from Favorites"
msgstr "Enlever des Favoris"
#: ../contents/ui/code/tools.js
msgid "Add to Favorites"
msgstr "Ajouter aux Favoris"
#: ../contents/ui/code/tools.js
msgid "On All Activities"
msgstr "Sur toutes les Activités"
#: ../contents/ui/code/tools.js
msgid "On the Current Activity"
msgstr ""
#: ../contents/ui/code/tools.js
msgid "Show in Favorites"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Icon:"
msgstr "Icône :"
msgstr "Icône:"
#: ../contents/ui/ConfigGeneral.qml
msgctxt "@item:inmenu Open icon chooser dialog"
msgid "Choose..."
msgid "Choose"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgctxt "@item:inmenu Reset icon to default"
msgid "Clear Icon"
msgstr "Supprimer l'icône"
#: ../contents/ui/ConfigGeneral.qml
msgid "Apps icon size:"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Menu Position:"
msgstr "Position du menu :"
msgid "Small"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Medium"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Large"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Huge"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Docs icon size:"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Menu position"
msgstr "Position du menu"
#: ../contents/ui/ConfigGeneral.qml
msgid "Default"
msgstr "Défaut"
#: ../contents/ui/ConfigGeneral.qml
msgid "Center"
msgstr "Centrer"
msgstr "Centre"
#: ../contents/ui/ConfigGeneral.qml
msgid "On Edge"
msgstr "Au bord"
msgid "Center bottom"
msgstr "Milieu en bas"
#: ../contents/ui/ConfigGeneral.qml
msgid "Auto"
msgstr "Automatique"
msgid "Show labels in two lines"
msgstr "Voir les étiquettes sur deux lignes"
#: ../contents/ui/ConfigGeneral.qml
msgid "Pinned item:"
msgstr "Élément épinglé :"
msgid "Number of columns"
msgstr "Nombre de colonnes"
#: ../contents/ui/ConfigGeneral.qml
msgid "Favourite apps"
msgstr "Applications préférées"
msgid "Number of rows"
msgstr "Nombre de lignes"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recent apps"
msgstr "Applications récentes"
msgid "Unhide all hidden applications"
msgstr "Ne plus cacher les applications"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recent documents"
msgstr "Documents récents"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recommended item:"
msgstr "Élément recommandé :"
#: ../contents/ui/ConfigGeneral.qml
msgid "None"
msgstr "Aucun"
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of columns in grid:"
msgstr "Nombre de colonnes dans la grille :"
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of rows in grid:"
msgstr "Nombre de lignes dans la grille :"
#: ../contents/ui/ConfigGeneral.qml
msgid "Panel Properties:"
msgstr "Propriétés du panneau :"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show All apps by default"
msgstr "Afficher toutes les applications par défaut"
#: ../contents/ui/ConfigGeneral.qml
msgid "Allow label to have two lines (Pinned)"
msgstr "Autoriser l'étiquette d'avoir deux lignes (épinglées)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show Description for all apps and search item"
msgstr "Afficher la description pour toutes les applications et l'élément de recherche"
#: ../contents/ui/ConfigGeneral.qml
msgid "Always Show Search Bar"
msgstr "Toujours afficher la barre de recherche"
#: ../contents/ui/ConfigGeneral.qml
msgid "Prefer showing full name, instead of login name"
msgstr "Afficher le nom complet en lieu et place du nom d'utilisateur"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icon Properties:"
msgstr "Propriétés de l'icône :"
#: ../contents/ui/ConfigGeneral.qml
msgid "Replace Explorer icon in footer"
msgstr "Remplacer l'icône de l'explorateur en bas de page"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for User Profile"
msgstr "Réduire la taille des icônes pour le profil utilisateur"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for Footer"
msgstr "Réduire la taille des icônes en bas de page"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for Pinned item"
msgstr "Réduire la taille de l'icône pour l'élément épinglé"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show applications as:"
msgstr "Afficher les applications comme :"
#: ../contents/ui/ConfigGeneral.qml
msgid "Name only"
msgstr "Nom uniquement"
#: ../contents/ui/ConfigGeneral.qml
msgid "Description only"
msgstr "Description uniquement"
#: ../contents/ui/ConfigGeneral.qml
msgid "Name (Description)"
msgstr "Nom (Description)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Description (Name)"
msgstr "Description (Nom)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icons on Bottom bar:"
msgstr "Icônes sur la barre du bas :"
#: ../contents/ui/ConfigGeneral.qml
msgid "Documents"
msgstr "Documents"
#: ../contents/ui/ConfigGeneral.qml
msgid "Pictures"
msgstr "Images"
#: ../contents/ui/ConfigGeneral.qml
msgid "Music"
msgstr "Musique"
#: ../contents/ui/ConfigGeneral.qml
msgid "Downloads"
msgstr "Téléchargements"
#: ../contents/ui/ConfigGeneral.qml
msgid "Videos"
msgstr "Vidéos"
#: ../contents/ui/ConfigGeneral.qml
msgid "File manager"
msgstr "Gestionnaire de fichiers"
#: ../contents/ui/ConfigGeneral.qml
msgid "System settings"
msgstr "Paramètres système"
#: ../contents/ui/ConfigGeneral.qml
msgid "Lock screen"
msgstr "Verrouiller l'écran"
#: ../contents/ui/ConfigGeneral.qml
msgid "Power options"
msgstr "Options d'alimentation"
#: ../contents/ui/ConfigGeneral.qml
msgid "Search:"
msgstr "Recherche :"
#: ../contents/ui/ConfigGeneral.qml
msgid "Expand search to bookmarks, files and emails"
msgstr "Étendre la recherche dans les signets, les fichiers et les courriels"
msgid "Unhidden!"
msgstr "Plus cachées!"
#: ../contents/ui/Footer.qml
msgid "Go to user settings"
msgstr "Aller aux paramètres de l'utilisateur"
msgid "User Home"
msgstr "Dossier Personnel"
#: ../contents/ui/MainColumnItem.qml
msgid "Type here to search"
msgstr "Tapez ici pour effectuer une recherche"
#: ../contents/ui/Footer.qml
msgid "System Preferences"
msgstr "Préférences Système"
#: ../contents/ui/MainColumnItem.qml
#: ../contents/ui/Footer.qml
msgid "Shutdown"
msgstr ""
#: ../contents/ui/main.qml
msgid "Edit Applications…"
msgstr ""
#: ../contents/ui/MenuRepresentation.qml
msgid "Type here to search ..."
msgstr "Rechercher ..."
#: ../contents/ui/MenuRepresentation.qml
msgid "Pinned"
msgstr ""
#: ../contents/ui/MenuRepresentation.qml
msgid "All apps"
msgstr "Toutes les applications"
#: ../contents/ui/MainColumnItem.qml
msgid "Recommended"
msgstr "Nos recommandations"
#: ../contents/ui/MainColumnItem.qml
msgid "Pinned"
msgstr "Épinglé"
#: ../contents/ui/MainColumnItem.qml
msgid "Back"
msgstr "Retour"
#: ../contents/ui/main.qml
msgid "Edit Applications..."
#: ../contents/ui/MenuRepresentation.qml
msgid "Recent documents"
msgstr ""
#~ msgid "Menu 11"
#~ msgstr "Menu 11"
#~ msgid "Ditto Menu"
#~ msgstr "Ditto Menu"
#~ msgid "A highly customizable launcher inspired from windows 11 menu. Fork of MenuZ."
#~ msgstr "Un lanceur hautement personnalisable inspiré du menu Windows 11. Fork de MenuZ."
#~ msgid "A configurable launcher menu"
#~ msgstr "Un menu de lancement configurable"
#~ msgid "More"
#~ msgstr "Plus"
#~ msgid "On The Current Activity"
#~ msgstr "Sur l'Activité actuelle"
#~ msgid "Show In Favorites"
#~ msgstr "Voir dans les Favoris"
#~ msgctxt "@item:inmenu Open icon chooser dialog"
#~ msgid "Choose..."
#~ msgstr "Choisir..."
#~ msgid "Show favorites first"
#~ msgstr "Voir les Favoris en premier"
#~ msgid "Lock Screen"
#~ msgstr "Verrouiller l'écran"
#~ msgid "Leave ..."
#~ msgstr "Quitter ..."
#~ msgid "Hi, "
#~ msgstr "Salut, "
#~ msgid "Favorites"
#~ msgstr "Favoris"

View File

@ -1,257 +0,0 @@
# Translation of menu11 in Hebrew
# Copyright (C) 2021
# This file is distributed under the same license as the menu11 package.
# Omer I.S. <omeritzicschwartz@gmail.com>, 2021.
#
msgid ""
msgstr ""
"Project-Id-Version: menu11\n"
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/Menu11\n"
"POT-Creation-Date: 2024-01-03 19:32+0500\n"
"PO-Revision-Date: 2021-07-26 14:26+0300\n"
"Last-Translator: \n"
"Language-Team: Hebrew <he@li.org>\n"
"Language: he\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.4.2\n"
"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : n==2 ? 1 : n>10 && n%10==0 ? "
"2 : 3);\n"
#: ../contents/code/tools.js
msgid "Remove from Favorites"
msgstr ""
#: ../contents/code/tools.js
msgid "Add to Favorites"
msgstr ""
#: ../contents/code/tools.js
msgid "On All Activities"
msgstr ""
#: ../contents/code/tools.js
msgid "On the Current Activity"
msgstr ""
#: ../contents/code/tools.js
msgid "Show in Favorites"
msgstr ""
#: ../contents/config/config.qml
msgid "General"
msgstr "כללי"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icon:"
msgstr "סמל:"
#: ../contents/ui/ConfigGeneral.qml
msgctxt "@item:inmenu Open icon chooser dialog"
msgid "Choose..."
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgctxt "@item:inmenu Reset icon to default"
msgid "Clear Icon"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Menu Position:"
msgstr "מיקום התפריט:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Center"
msgstr "במרכז"
#: ../contents/ui/ConfigGeneral.qml
msgid "On Edge"
msgstr "בפינה"
#: ../contents/ui/ConfigGeneral.qml
msgid "Auto"
msgstr "אוטומטי"
#: ../contents/ui/ConfigGeneral.qml
msgid "Pinned item:"
msgstr "יישום מוצמד:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Favourite apps"
msgstr "יישומים מועדפים"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recent apps"
msgstr "יישומים אחרונים"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recent documents"
msgstr "מסמכים אחרונים"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recommended item:"
msgstr "פריט מומלץ:"
#: ../contents/ui/ConfigGeneral.qml
msgid "None"
msgstr "ללא"
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of columns in grid:"
msgstr "מספר טורים ברשת:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of rows in grid:"
msgstr "מספר שורות ברשת:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Panel Properties:"
msgstr "מאפייני לוח:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show All apps by default"
msgstr "הצגת כל היישומים כברירת מחדל"
#: ../contents/ui/ConfigGeneral.qml
msgid "Allow label to have two lines (Pinned)"
msgstr "לאפשר תווית עם שתי שורות (למוצמדים)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show Description for all apps and search item"
msgstr "הצגת תיאור לכל היישומים וליישומים שנמצאים בחיפוש"
#: ../contents/ui/ConfigGeneral.qml
msgid "Always Show Search Bar"
msgstr "תמיד להציג סרגל חיפוש"
#: ../contents/ui/ConfigGeneral.qml
msgid "Prefer showing full name, instead of login name"
msgstr "עדיפה הצגת השם המלא, במקום שם המשתמש"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icon Properties:"
msgstr "מאפייני סמל:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Replace Explorer icon in footer"
msgstr "החלף את סמל הסייר בכותרת התחתונה"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for User Profile"
msgstr "הקטנת סמל תמונת המשתמש"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for Footer"
msgstr "הקטנת הסמלים בחלק התחתון"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for Pinned item"
msgstr "הקטנת סמלי היישומים המוצמדים"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show applications as:"
msgstr "הצגת היישומים בתור:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Name only"
msgstr "שם בלבד"
#: ../contents/ui/ConfigGeneral.qml
msgid "Description only"
msgstr "תיאור בלבד"
#: ../contents/ui/ConfigGeneral.qml
msgid "Name (Description)"
msgstr "שם (תיאור)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Description (Name)"
msgstr "תיאור (שם)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icons on Bottom bar:"
msgstr "סמלים בסרגל התחתון:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Documents"
msgstr "מסמכים"
#: ../contents/ui/ConfigGeneral.qml
msgid "Pictures"
msgstr "תמונות"
#: ../contents/ui/ConfigGeneral.qml
msgid "Music"
msgstr "מוזיקה"
#: ../contents/ui/ConfigGeneral.qml
msgid "Downloads"
msgstr "הורדות"
#: ../contents/ui/ConfigGeneral.qml
msgid "Videos"
msgstr "וידאו"
#: ../contents/ui/ConfigGeneral.qml
msgid "File manager"
msgstr "מנהל הקבצים"
#: ../contents/ui/ConfigGeneral.qml
msgid "System settings"
msgstr "הגדרות מערכת"
#: ../contents/ui/ConfigGeneral.qml
msgid "Lock screen"
msgstr "נעילת המסך"
#: ../contents/ui/ConfigGeneral.qml
msgid "Power options"
msgstr "אפשרויות הפעלה"
#: ../contents/ui/ConfigGeneral.qml
msgid "Search:"
msgstr "חיפוש:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Expand search to bookmarks, files and emails"
msgstr "הרחבת החיפוש לסימניות, קבצים ודואר אלקטרוני"
#: ../contents/ui/Footer.qml
msgid "Go to user settings"
msgstr "מעבר להגדרות המשתמש"
#: ../contents/ui/MainColumnItem.qml
msgid "Type here to search"
msgstr "יש להקליד כאן כדי לחפש"
#: ../contents/ui/MainColumnItem.qml
msgid "All apps"
msgstr "כל היישומים"
#: ../contents/ui/MainColumnItem.qml
msgid "Recommended"
msgstr "מומלצים"
#: ../contents/ui/MainColumnItem.qml
msgid "Pinned"
msgstr "מוצמדים"
#: ../contents/ui/MainColumnItem.qml
msgid "Back"
msgstr "חזרה"
#: ../contents/ui/main.qml
msgid "Edit Applications..."
msgstr ""
#~ msgid "Menu 11"
#~ msgstr "Menu 11"
#~ msgid ""
#~ "A highly customizable launcher inspired from windows 11 menu. Fork of "
#~ "MenuZ."
#~ msgstr "מפעיל יישומים גמיש מאוד בהשראת התפריט של Windows 11. פוצל מ־MenuZ."
#~ msgid "More"
#~ msgstr "עוד"

View File

@ -1,253 +0,0 @@
# Translation of menu11 in LANGUAGE
# Copyright (C) 2021
# This file is distributed under the same license as the menu11 package.
# Telegram : @VCARP <viren.28opensky@gmail.com>, 2021.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: menu11\n"
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/Menu11\n"
"POT-Creation-Date: 2024-01-03 19:32+0500\n"
"PO-Revision-Date: 2021-10-04 16:30+0530\n"
"Last-Translator: Virendra Carpenter <virendra carpenter>\n"
"Language-Team: \n"
"Language: hi_IN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../contents/code/tools.js
msgid "Remove from Favorites"
msgstr ""
#: ../contents/code/tools.js
msgid "Add to Favorites"
msgstr ""
#: ../contents/code/tools.js
msgid "On All Activities"
msgstr ""
#: ../contents/code/tools.js
msgid "On the Current Activity"
msgstr ""
#: ../contents/code/tools.js
msgid "Show in Favorites"
msgstr ""
#: ../contents/config/config.qml
msgid "General"
msgstr "आम"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icon:"
msgstr "आइकन:"
#: ../contents/ui/ConfigGeneral.qml
msgctxt "@item:inmenu Open icon chooser dialog"
msgid "Choose..."
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgctxt "@item:inmenu Reset icon to default"
msgid "Clear Icon"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Menu Position:"
msgstr "मेनू स्थिति:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Center"
msgstr "केंद्र"
#: ../contents/ui/ConfigGeneral.qml
msgid "On Edge"
msgstr "किनारे पर"
#: ../contents/ui/ConfigGeneral.qml
msgid "Auto"
msgstr "ऑटो"
#: ../contents/ui/ConfigGeneral.qml
msgid "Pinned item:"
msgstr "पिन किया गया आइटम"
#: ../contents/ui/ConfigGeneral.qml
msgid "Favourite apps"
msgstr "पसंदीदा ऐप्स"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recent apps"
msgstr "हाल के ऐप्स"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recent documents"
msgstr "हाल के कागजात"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recommended item:"
msgstr "अनुशंसित वस्तु:"
#: ../contents/ui/ConfigGeneral.qml
msgid "None"
msgstr "कोई नहीं"
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of columns in grid:"
msgstr "ग्रिड में स्तंभों की संख्या:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of rows in grid:"
msgstr "ग्रिड में पंक्तियों की संख्या:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Panel Properties:"
msgstr "पैनल गुण:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show All apps by default"
msgstr "डिफ़ॉल्ट रूप से सभी ऐप्स दिखाएं"
#: ../contents/ui/ConfigGeneral.qml
msgid "Allow label to have two lines (Pinned)"
msgstr "लेबल को दो पंक्तियों की अनुमति दें (पिन किया हुआ)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show Description for all apps and search item"
msgstr "सभी ऐप्स और खोज आइटम के लिए विवरण दिखाएं"
#: ../contents/ui/ConfigGeneral.qml
msgid "Always Show Search Bar"
msgstr "हमेशा खोज बार दिखाएँ"
#: ../contents/ui/ConfigGeneral.qml
msgid "Prefer showing full name, instead of login name"
msgstr "लॉगिन नाम के बजाय पूरा नाम दिखाना पसंद करें"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icon Properties:"
msgstr "चिह्न गुण:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Replace Explorer icon in footer"
msgstr "पाद लेख में एक्सप्लोरर आइकन बदलें"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for User Profile"
msgstr "उपयोगकर्ता प्रोफ़ाइल के लिए चिह्न का आकार कम करें"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for Footer"
msgstr "पाद लेख के लिए चिह्न का आकार कम करें"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for Pinned item"
msgstr "पिन किए गए आइटम के लिए आइकन का आकार कम करें"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show applications as:"
msgstr "अनुप्रयोगों को इस रूप में दिखाएं:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Name only"
msgstr "केवल नाम"
#: ../contents/ui/ConfigGeneral.qml
msgid "Description only"
msgstr "केवल विवरण"
#: ../contents/ui/ConfigGeneral.qml
msgid "Name (Description)"
msgstr "नाम (विवरण)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Description (Name)"
msgstr "विवरण (नाम)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icons on Bottom bar:"
msgstr "नीचे पट्टी पर चिह्न:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Documents"
msgstr "दस्तावेज़"
#: ../contents/ui/ConfigGeneral.qml
msgid "Pictures"
msgstr "चित्रों"
#: ../contents/ui/ConfigGeneral.qml
msgid "Music"
msgstr "संगीत"
#: ../contents/ui/ConfigGeneral.qml
msgid "Downloads"
msgstr "डाउनलोड"
#: ../contents/ui/ConfigGeneral.qml
msgid "Videos"
msgstr "वीडियो"
#: ../contents/ui/ConfigGeneral.qml
msgid "File manager"
msgstr "फ़ाइल प्रबंधक"
#: ../contents/ui/ConfigGeneral.qml
msgid "System settings"
msgstr "प्रणाली व्यवस्था"
#: ../contents/ui/ConfigGeneral.qml
msgid "Lock screen"
msgstr "लॉक स्क्रीन"
#: ../contents/ui/ConfigGeneral.qml
msgid "Power options"
msgstr "ऊर्जा के विकल्प"
#: ../contents/ui/ConfigGeneral.qml
msgid "Search:"
msgstr "खोज:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Expand search to bookmarks, files and emails"
msgstr "बुकमार्क, फ़ाइलों और ईमेल में खोज का विस्तार करें"
#: ../contents/ui/Footer.qml
msgid "Go to user settings"
msgstr "उपयोगकर्ता सेटिंग पर जाएं"
#: ../contents/ui/MainColumnItem.qml
msgid "Type here to search"
msgstr "खोजने के लिए यहां टाइप करें"
#: ../contents/ui/MainColumnItem.qml
msgid "All apps"
msgstr "सभी एप्लीकेशन"
#: ../contents/ui/MainColumnItem.qml
msgid "Recommended"
msgstr "अनुशंसित"
#: ../contents/ui/MainColumnItem.qml
msgid "Pinned"
msgstr "पिन की गई"
#: ../contents/ui/MainColumnItem.qml
msgid "Back"
msgstr "वापस"
#: ../contents/ui/main.qml
msgid "Edit Applications..."
msgstr ""
#~ msgid "Menu 11"
#~ msgstr "मेनू 11"
#~ msgid "A highly customizable launcher inspired from windows 11 menu. Fork of MenuZ."
#~ msgstr "विंडोज़ 11 मेनू से प्रेरित एक उच्च अनुकूलन योग्य लांचर। मेनूजेड का फोर्क।"
#~ msgid "More"
#~ msgstr "अधिक"

View File

@ -1,253 +0,0 @@
# Translation of menu11 in ITALIAN
# Copyright (C) 2021
# This file is distributed under the same license as the menu11 package.
# Daniele Aliquo' <aliquo93@gmail.com>, 2021.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: menu11\n"
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/Menu11\n"
"POT-Creation-Date: 2024-01-03 19:32+0500\n"
"PO-Revision-Date: 2021-07-24 13:43+LMT\n"
"Last-Translator: Daniele Aliquo' <aliquo93@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../contents/code/tools.js
msgid "Remove from Favorites"
msgstr ""
#: ../contents/code/tools.js
msgid "Add to Favorites"
msgstr ""
#: ../contents/code/tools.js
msgid "On All Activities"
msgstr ""
#: ../contents/code/tools.js
msgid "On the Current Activity"
msgstr ""
#: ../contents/code/tools.js
msgid "Show in Favorites"
msgstr ""
#: ../contents/config/config.qml
msgid "General"
msgstr "Generale"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icon:"
msgstr "Icona"
#: ../contents/ui/ConfigGeneral.qml
msgctxt "@item:inmenu Open icon chooser dialog"
msgid "Choose..."
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgctxt "@item:inmenu Reset icon to default"
msgid "Clear Icon"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Menu Position:"
msgstr "Posizione menu'"
#: ../contents/ui/ConfigGeneral.qml
msgid "Center"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "On Edge"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Auto"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Pinned item:"
msgstr "Elementi fissati:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Favourite apps"
msgstr "Applicazioni preferite"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recent apps"
msgstr "Applicazioni recenti"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recent documents"
msgstr "Documenti recenti"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recommended item:"
msgstr "Articoli consigliati:"
#: ../contents/ui/ConfigGeneral.qml
msgid "None"
msgstr "Nessuno"
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of columns in grid:"
msgstr "Numero di colonne"
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of rows in grid:"
msgstr "Numero di righe"
#: ../contents/ui/ConfigGeneral.qml
msgid "Panel Properties:"
msgstr "Proprieta' pannello"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show All apps by default"
msgstr "Mostra sempre tutte le app"
#: ../contents/ui/ConfigGeneral.qml
msgid "Allow label to have two lines (Pinned)"
msgstr "Consenti al testo di andare a capo (Elementi fissati)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show Description for all apps and search item"
msgstr "Mostra descrizione per tutte le app ed elementi di ricerca"
#: ../contents/ui/ConfigGeneral.qml
msgid "Always Show Search Bar"
msgstr "Mostra sempre la barra di ricerca"
#: ../contents/ui/ConfigGeneral.qml
msgid "Prefer showing full name, instead of login name"
msgstr "Preferisce mostrare il nome completo invece del nome utente"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icon Properties:"
msgstr "Icona' pannello"
#: ../contents/ui/ConfigGeneral.qml
msgid "Replace Explorer icon in footer"
msgstr "Sostituisci l'icona dell'esploratore nel piè di pagina"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for User Profile"
msgstr "Riduci dimensione icona per l'immagine di profilo"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for Footer"
msgstr "Riduci dimensione icone in basso"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for Pinned item"
msgstr "Riduci dimensione icone per Elementi fissati"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show applications as:"
msgstr "Mostra applicazioni come:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Name only"
msgstr "Solo nome"
#: ../contents/ui/ConfigGeneral.qml
msgid "Description only"
msgstr "Solo descrizione"
#: ../contents/ui/ConfigGeneral.qml
msgid "Name (Description)"
msgstr "Nome (Descrizione)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Description (Name)"
msgstr "Descrizione (Nome)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icons on Bottom bar:"
msgstr "Icone nella barra inferiore"
#: ../contents/ui/ConfigGeneral.qml
msgid "Documents"
msgstr "Documenti"
#: ../contents/ui/ConfigGeneral.qml
msgid "Pictures"
msgstr "Immagini"
#: ../contents/ui/ConfigGeneral.qml
msgid "Music"
msgstr "Musica"
#: ../contents/ui/ConfigGeneral.qml
msgid "Downloads"
msgstr "Scaricati"
#: ../contents/ui/ConfigGeneral.qml
msgid "Videos"
msgstr "Video"
#: ../contents/ui/ConfigGeneral.qml
msgid "File manager"
msgstr "Gestore file"
#: ../contents/ui/ConfigGeneral.qml
msgid "System settings"
msgstr "Impostazioni di sistema"
#: ../contents/ui/ConfigGeneral.qml
msgid "Lock screen"
msgstr "Schermata di blocco"
#: ../contents/ui/ConfigGeneral.qml
msgid "Power options"
msgstr "Arresta"
#: ../contents/ui/ConfigGeneral.qml
msgid "Search:"
msgstr "Ricerca:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Expand search to bookmarks, files and emails"
msgstr "Espandi ricerca a segnalibri, file ed email"
#: ../contents/ui/Footer.qml
msgid "Go to user settings"
msgstr "Vai alle impostazioni utente"
#: ../contents/ui/MainColumnItem.qml
msgid "Type here to search"
msgstr "Scrivi qui il testo da cercare."
#: ../contents/ui/MainColumnItem.qml
msgid "All apps"
msgstr "Tutte le app"
#: ../contents/ui/MainColumnItem.qml
msgid "Recommended"
msgstr "Articoli consigliati"
#: ../contents/ui/MainColumnItem.qml
msgid "Pinned"
msgstr "Aggiunto"
#: ../contents/ui/MainColumnItem.qml
msgid "Back"
msgstr "Indietro"
#: ../contents/ui/main.qml
msgid "Edit Applications..."
msgstr ""
#~ msgid "Menu 11"
#~ msgstr "Menu 11"
#~ msgid "A highly customizable launcher inspired from windows 11 menu. Fork of MenuZ."
#~ msgstr "Un launcher altamente personalizzabile ispirato al menu' Start di Windows 11. Fork di MenuZ"
#~ msgid "More"
#~ msgstr "Altro"

View File

@ -1,14 +1,9 @@
# Translation of menu11 in Korean
# Copyright (C) 2021
# This file is distributed under the same license as the menu11 package.
# kuroehanako <EMAIL@ADDRESS>, 2021.
#
msgid ""
msgstr ""
"Project-Id-Version: menu11\n"
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/Menu11\n"
"POT-Creation-Date: 2024-01-03 19:32+0500\n"
"PO-Revision-Date: 2021-08-17 22:06+0900\n"
"POT-Creation-Date: 2024-09-23 12:45+0500\n"
"PO-Revision-Date: 2021-09-29 09:43+0900\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: ko\n"
@ -16,236 +11,169 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 3.0\n"
"X-Poedit-Basepath: .\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: ../contents/code/tools.js
msgid "Remove from Favorites"
msgstr ""
#: ../contents/code/tools.js
msgid "Add to Favorites"
msgstr ""
#: ../contents/code/tools.js
msgid "On All Activities"
msgstr ""
#: ../contents/code/tools.js
msgid "On the Current Activity"
msgstr ""
#: ../contents/code/tools.js
msgid "Show in Favorites"
msgstr ""
#: ../contents/config/config.qml
msgid "General"
msgstr "일반"
#: ../contents/ui/code/tools.js
msgid "Remove from Favorites"
msgstr "즐겨찾기에서 제거"
#: ../contents/ui/code/tools.js
msgid "Add to Favorites"
msgstr "즐겨찾기에 추가"
#: ../contents/ui/code/tools.js
msgid "On All Activities"
msgstr "모든 활동"
#: ../contents/ui/code/tools.js
msgid "On the Current Activity"
msgstr ""
#: ../contents/ui/code/tools.js
msgid "Show in Favorites"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Icon:"
msgstr "아이콘:"
#: ../contents/ui/ConfigGeneral.qml
msgctxt "@item:inmenu Open icon chooser dialog"
msgid "Choose..."
msgid "Choose"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgctxt "@item:inmenu Reset icon to default"
msgid "Clear Icon"
msgstr "아이콘 초기화"
#: ../contents/ui/ConfigGeneral.qml
msgid "Apps icon size:"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Menu Position:"
msgstr "메뉴 위치:"
msgid "Small"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Medium"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Large"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Huge"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Docs icon size:"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Menu position"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Default"
msgstr "기본"
#: ../contents/ui/ConfigGeneral.qml
msgid "Center"
msgstr "가운데"
#: ../contents/ui/ConfigGeneral.qml
msgid "On Edge"
msgstr "모서리"
msgid "Center bottom"
msgstr "가운데 밑"
#: ../contents/ui/ConfigGeneral.qml
msgid "Auto"
msgstr "자동"
msgid "Show labels in two lines"
msgstr "라벨 두 줄로 표시"
#: ../contents/ui/ConfigGeneral.qml
msgid "Pinned item:"
msgstr "고정된 항목:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Favourite apps"
msgstr "책갈피"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recent apps"
msgstr "최근 프로그램"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recent documents"
msgstr "최근 문서"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recommended item:"
msgstr "추천 항목:"
#: ../contents/ui/ConfigGeneral.qml
msgid "None"
msgstr "없음"
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of columns in grid:"
msgid "Number of columns"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of rows in grid:"
msgid "Number of rows"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Panel Properties:"
msgstr "패널 정보:"
msgid "Unhide all hidden applications"
msgstr "모든 숨겨진 프로그램 복구"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show All apps by default"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Allow label to have two lines (Pinned)"
msgstr "이름표에 두 줄 허용 (고정됨)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show Description for all apps and search item"
msgstr "프로그램과 검색 항목에 설명 표시"
#: ../contents/ui/ConfigGeneral.qml
msgid "Always Show Search Bar"
msgstr "항상 검색 창 표시"
#: ../contents/ui/ConfigGeneral.qml
msgid "Prefer showing full name, instead of login name"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Icon Properties:"
msgstr "아이콘 정보:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Replace Explorer icon in footer"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for User Profile"
msgstr "사용자 이미지 크기 줄이기"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for Footer"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for Pinned item"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Show applications as:"
msgstr "프로그램 표시:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Name only"
msgstr "이름만"
#: ../contents/ui/ConfigGeneral.qml
msgid "Description only"
msgstr "설명만"
#: ../contents/ui/ConfigGeneral.qml
msgid "Name (Description)"
msgstr "이름 (설명)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Description (Name)"
msgstr "설명 (이름)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icons on Bottom bar:"
msgstr "하단 바 아이콘:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Documents"
msgstr "문서"
#: ../contents/ui/ConfigGeneral.qml
msgid "Pictures"
msgstr "사진"
#: ../contents/ui/ConfigGeneral.qml
msgid "Music"
msgstr "음악"
#: ../contents/ui/ConfigGeneral.qml
msgid "Downloads"
msgstr "다운로드"
#: ../contents/ui/ConfigGeneral.qml
msgid "Videos"
msgstr "비디오"
#: ../contents/ui/ConfigGeneral.qml
msgid "File manager"
msgstr "파일 관리자"
#: ../contents/ui/ConfigGeneral.qml
msgid "System settings"
msgstr "시스템 설정"
#: ../contents/ui/ConfigGeneral.qml
msgid "Lock screen"
msgstr "잠금"
#: ../contents/ui/ConfigGeneral.qml
msgid "Power options"
msgstr "전원 옵션"
#: ../contents/ui/ConfigGeneral.qml
msgid "Search:"
msgstr "검색:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Expand search to bookmarks, files and emails"
msgstr ""
msgid "Unhidden!"
msgstr "복구됨!"
#: ../contents/ui/Footer.qml
msgid "Go to user settings"
msgstr "사용자 설정으로"
msgid "User Home"
msgstr "사용자 홈"
#: ../contents/ui/MainColumnItem.qml
msgid "Type here to search"
msgstr "검색하려면 여기에 입력하십시오."
#: ../contents/ui/Footer.qml
msgid "System Preferences"
msgstr "시스템 설정"
#: ../contents/ui/MainColumnItem.qml
#: ../contents/ui/Footer.qml
msgid "Shutdown"
msgstr ""
#: ../contents/ui/main.qml
msgid "Edit Applications…"
msgstr ""
#: ../contents/ui/MenuRepresentation.qml
msgid "Type here to search ..."
msgstr "검색..."
#: ../contents/ui/MenuRepresentation.qml
msgid "Pinned"
msgstr ""
#: ../contents/ui/MenuRepresentation.qml
msgid "All apps"
msgstr "모든 프로그램"
#: ../contents/ui/MainColumnItem.qml
msgid "Recommended"
msgstr "추천"
#: ../contents/ui/MainColumnItem.qml
msgid "Pinned"
msgstr "고정됨"
#: ../contents/ui/MainColumnItem.qml
msgid "Back"
msgstr "뒤로"
#: ../contents/ui/main.qml
msgid "Edit Applications..."
#: ../contents/ui/MenuRepresentation.qml
msgid "Recent documents"
msgstr ""
#~ msgid "Menu 11"
#~ msgstr "Menu 11"
#~ msgid "Ditto Menu"
#~ msgstr "Ditto 메뉴"
#~ msgid "More"
#~ msgstr "더 보기"
#~ msgid "A configurable launcher menu"
#~ msgstr "프로그램 실행기"
#~ msgid "On The Current Activity"
#~ msgstr "현재 활동만"
#~ msgid "Show In Favorites"
#~ msgstr "즐겨찾기에 표시"
#~ msgctxt "@item:inmenu Open icon chooser dialog"
#~ msgid "Choose..."
#~ msgstr "선택..."
#~ msgid "Show favorites first"
#~ msgstr "즐겨찾기 먼저 표시"
#~ msgid "Edit Applications..."
#~ msgstr "프로그램 편집..."
#~ msgid "Lock Screen"
#~ msgstr "잠금"
#~ msgid "Leave ..."
#~ msgstr "떠나기..."
#~ msgid "Hi, "
#~ msgstr "안녕하세요, "
#~ msgid "Favorites"
#~ msgstr "즐겨찾기"

View File

@ -1,14 +1,14 @@
# Translation of menu11 in Dutch
# Translation of dittomenu in nl
# Copyright (C) 2021
# This file is distributed under the same license as the menu11 package.
# This file is distributed under the same license as the dittomenu package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: menu11\n"
"Project-Id-Version: dittomenu\n"
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/Menu11\n"
"POT-Creation-Date: 2024-01-03 19:32+0500\n"
"PO-Revision-Date: 2021-07-24 14:40+0200\n"
"POT-Creation-Date: 2024-09-23 12:45+0500\n"
"PO-Revision-Date: 2022-01-01 20:09+0100\n"
"Last-Translator: Heimen Stoffels <vistausss@fastmail.com>\n"
"Language-Team: \n"
"Language: nl\n"
@ -18,241 +18,200 @@ msgstr ""
"X-Generator: Poedit 3.0\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: ../contents/code/tools.js
msgid "Remove from Favorites"
msgstr ""
#: ../contents/code/tools.js
msgid "Add to Favorites"
msgstr ""
#: ../contents/code/tools.js
msgid "On All Activities"
msgstr ""
#: ../contents/code/tools.js
msgid "On the Current Activity"
msgstr ""
#: ../contents/code/tools.js
msgid "Show in Favorites"
msgstr ""
#: ../contents/config/config.qml
msgid "General"
msgstr "Algemeen"
#: ../contents/ui/code/tools.js
msgid "Remove from Favorites"
msgstr "Verwijderen uit favorieten"
#: ../contents/ui/code/tools.js
msgid "Add to Favorites"
msgstr "Toevoegen aan favorieten"
#: ../contents/ui/code/tools.js
msgid "On All Activities"
msgstr "Op alle activiteiten"
#: ../contents/ui/code/tools.js
msgid "On the Current Activity"
msgstr ""
#: ../contents/ui/code/tools.js
msgid "Show in Favorites"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Icon:"
msgstr "Pictogram"
msgstr "Pictogram:"
#: ../contents/ui/ConfigGeneral.qml
msgctxt "@item:inmenu Open icon chooser dialog"
msgid "Choose..."
msgid "Choose"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgctxt "@item:inmenu Reset icon to default"
msgid "Clear Icon"
msgstr "Pictogram verwijderen"
#: ../contents/ui/ConfigGeneral.qml
msgid "Apps icon size:"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Menu Position:"
msgstr "Menupositie"
msgid "Small"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Medium"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Large"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Huge"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Docs icon size:"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Menu position"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Default"
msgstr "Standaard"
#: ../contents/ui/ConfigGeneral.qml
msgid "Center"
msgstr "Gecentreerd"
#: ../contents/ui/ConfigGeneral.qml
msgid "Center bottom"
msgstr "Gecentreerd (onderaan)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show labels in two lines"
msgstr "Labeltekst verdelen over twee regels"
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of columns"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "On Edge"
msgid "Number of rows"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Auto"
msgstr ""
msgid "Unhide all hidden applications"
msgstr "Alle verborgen programma's zichtbaar maken"
#: ../contents/ui/ConfigGeneral.qml
msgid "Pinned item:"
msgstr "Vastgemaakt item:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Favourite apps"
msgstr "Favoriete programma's"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recent apps"
msgstr "Recente programma's"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recent documents"
msgstr "Recente documenten"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recommended item:"
msgstr "Aanbevolen item:"
#: ../contents/ui/ConfigGeneral.qml
msgid "None"
msgstr "Geen"
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of columns in grid:"
msgstr "Aantal kolommen op rooster:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of rows in grid:"
msgstr "Aantal rijen op rooster:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Panel Properties:"
msgstr "Paneel Eigenschappen:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show All apps by default"
msgstr "Onderdeel Alle programma's tonen na aanklikken"
#: ../contents/ui/ConfigGeneral.qml
msgid "Allow label to have two lines (Pinned)"
msgstr "Labeltekst verdelen over twee regels (vastgemaakte items)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show Description for all apps and search item"
msgstr "Beschrijvingen tonen bij alle programma's en zoekopdrachten"
#: ../contents/ui/ConfigGeneral.qml
msgid "Always Show Search Bar"
msgstr "Zoekbalk altijd tonen"
#: ../contents/ui/ConfigGeneral.qml
msgid "Prefer showing full name, instead of login name"
msgstr "Liever volledige naam weergeven in plaats van inlognaam"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icon Properties:"
msgstr "Pictogram Eigenschappen:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Replace Explorer icon in footer"
msgstr "Vervang Explorer-pictogram in voettekst"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for User Profile"
msgstr "Pictogram van gebruikersafbeelding verkleinen"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for Footer"
msgstr "Pictogrammen naast voettekst verkleinen"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for Pinned item"
msgstr "Pictogrammen van vastgemaakte items verkleinen"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show applications as:"
msgstr "Programmaweergave:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Name only"
msgstr "Alleen naam"
#: ../contents/ui/ConfigGeneral.qml
msgid "Description only"
msgstr "Alleen beschrijving"
#: ../contents/ui/ConfigGeneral.qml
msgid "Name (Description)"
msgstr "Naam (beschrijving)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Description (Name)"
msgstr "Beschrijving (naam)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icons on Bottom bar:"
msgstr "Pictogrammen op onderbalk:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Documents"
msgstr "Documenten"
#: ../contents/ui/ConfigGeneral.qml
msgid "Pictures"
msgstr "Afbeeldingen"
#: ../contents/ui/ConfigGeneral.qml
msgid "Music"
msgstr "Muziek"
#: ../contents/ui/ConfigGeneral.qml
msgid "Downloads"
msgstr "Downloads"
#: ../contents/ui/ConfigGeneral.qml
msgid "Videos"
msgstr "Video's"
#: ../contents/ui/ConfigGeneral.qml
msgid "File manager"
msgstr "Bestandsbeheerder"
#: ../contents/ui/ConfigGeneral.qml
msgid "System settings"
msgstr "Systeeminstellingen"
#: ../contents/ui/ConfigGeneral.qml
msgid "Lock screen"
msgstr "Scherm vergrendelen"
#: ../contents/ui/ConfigGeneral.qml
msgid "Power options"
msgstr "Afsluitopties"
#: ../contents/ui/ConfigGeneral.qml
msgid "Search:"
msgstr "Zoeken:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Expand search to bookmarks, files and emails"
msgstr "Ook bladwijzers, bestanden en e-mails doorzoeken"
msgid "Unhidden!"
msgstr "Alles programma's zijn weer zichtbaar!"
#: ../contents/ui/Footer.qml
msgid "Go to user settings"
msgstr "Ga naar de gebruikersinstellingen"
#: ../contents/ui/MainColumnItem.qml
msgid "Type here to search"
msgstr "Typ om te zoeken…"
#: ../contents/ui/MainColumnItem.qml
msgid "All apps"
msgstr "Alle programma's"
#: ../contents/ui/MainColumnItem.qml
msgid "Recommended"
msgstr "Aanbevolen"
#: ../contents/ui/MainColumnItem.qml
msgid "Pinned"
msgstr "Vastgemaakt"
#: ../contents/ui/MainColumnItem.qml
msgid "Back"
msgstr "Terug"
#: ../contents/ui/main.qml
msgid "Edit Applications..."
msgid "User Home"
msgstr ""
#~ msgid "Menu 11"
#~ msgstr "Menu 11"
#: ../contents/ui/Footer.qml
msgid "System Preferences"
msgstr "Systeeminstellingen"
#~ msgid ""
#~ "A highly customizable launcher inspired from windows 11 menu. Fork of "
#~ "MenuZ."
#~ msgstr ""
#~ "Een zeer aanpasbaar programmamenu dat veel wegheeft van het Windows 11-"
#~ "startmenu. Afsplitsing van MenuZ."
#: ../contents/ui/Footer.qml
msgid "Shutdown"
msgstr ""
#~ msgid "More"
#~ msgstr "Meer"
#: ../contents/ui/main.qml
msgid "Edit Applications…"
msgstr ""
#: ../contents/ui/MenuRepresentation.qml
msgid "Type here to search ..."
msgstr ""
#: ../contents/ui/MenuRepresentation.qml
msgid "Pinned"
msgstr ""
#: ../contents/ui/MenuRepresentation.qml
msgid "All apps"
msgstr ""
#: ../contents/ui/MenuRepresentation.qml
msgid "Recent documents"
msgstr ""
#~ msgid "Ditto Menu"
#~ msgstr "Ditto-menu"
#~ msgid "A configurable launcher menu"
#~ msgstr "Een instelbare programmastarter"
#~ msgid "On The Current Activity"
#~ msgstr "Op de huidige activiteit"
#~ msgid "Show In Favorites"
#~ msgstr "Toevoegen aan favorieten"
#~ msgctxt "@item:inmenu Open icon chooser dialog"
#~ msgid "Choose..."
#~ msgstr "Kiezen…"
#~ msgid "Show favorites first"
#~ msgstr "Favorieten bovenaan tonen"
#~ msgid "Edit Applications..."
#~ msgstr "Programma's bewerken…"
#~ msgctxt "@action"
#~ msgid "Lock Screen"
#~ msgstr "Scherm vergrendelen"
#~ msgid "Behavior"
#~ msgstr "Gedrag"
#~ msgid "Show applications as:"
#~ msgstr "Programmaweergave:"
#~ msgid "Name only"
#~ msgstr "Alleen naam"
#~ msgid "Description only"
#~ msgstr "Alleen beschrijving"
#~ msgid "Name (Description)"
#~ msgstr "Naam (beschrijving)"
#~ msgid "Description (Name)"
#~ msgstr "Beschrijving (naam)"
#~ msgid "Menu position:"
#~ msgstr "Menupositie:"
#~ msgid "Search"
#~ msgstr "Zoeken"
#~ msgid "Expand search to bookmarks, files and emails"
#~ msgstr "Ook bladwijzers, bestanden en e-mails doorzoeken"
#~ msgid "Show user icon"
#~ msgstr "Gebruikersafbeelding tonen"
#~ msgid "Grid"
#~ msgstr "Rooster"
#~ msgid "Number of columns in grid"
#~ msgstr "Aantal kolommen op rooster"
#~ msgid "Number of rows in grid"
#~ msgstr "Aantal rijen op rooster"
#~ msgid "Search ..."
#~ msgstr "Zoeken…"

View File

@ -1,253 +1,213 @@
# Translation of menu11 in LANGUAGE
# Copyright (C) 2021
# This file is distributed under the same license as the menu11 package.
# Marcin Sągol marcin@soee.pl, 2021.
# Translation of dittomenu in pl
# Copyright (C) 2022
# This file is distributed under the same license as the dittomenu package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: menu11\n"
"Project-Id-Version: dittomenu\n"
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/Menu11\n"
"POT-Creation-Date: 2024-01-03 19:32+0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"POT-Creation-Date: 2024-09-23 12:45+0500\n"
"PO-Revision-Date: 2022-04-05 10:40+0100\n"
"Last-Translator: Krzysztof Korab <korapps@outlook.com>\n"
"Language-Team: \n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../contents/code/tools.js
msgid "Remove from Favorites"
msgstr ""
#: ../contents/code/tools.js
msgid "Add to Favorites"
msgstr ""
#: ../contents/code/tools.js
msgid "On All Activities"
msgstr ""
#: ../contents/code/tools.js
msgid "On the Current Activity"
msgstr ""
#: ../contents/code/tools.js
msgid "Show in Favorites"
msgstr ""
#: ../contents/config/config.qml
msgid "General"
msgstr "Ogólne"
#: ../contents/ui/code/tools.js
msgid "Remove from Favorites"
msgstr "Usuń z ulubionych"
#: ../contents/ui/code/tools.js
msgid "Add to Favorites"
msgstr "Dodaj do ulubionych"
#: ../contents/ui/code/tools.js
msgid "On All Activities"
msgstr "Na wszystkich aktywnościach"
#: ../contents/ui/code/tools.js
msgid "On the Current Activity"
msgstr ""
#: ../contents/ui/code/tools.js
msgid "Show in Favorites"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Icon:"
msgstr "Ikona:"
#: ../contents/ui/ConfigGeneral.qml
msgctxt "@item:inmenu Open icon chooser dialog"
msgid "Choose..."
msgid "Choose"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgctxt "@item:inmenu Reset icon to default"
msgid "Clear Icon"
msgstr "Wyczyść ikonę"
#: ../contents/ui/ConfigGeneral.qml
msgid "Apps icon size:"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Menu Position:"
msgstr "Pozycja menu:"
msgid "Small"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Medium"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Large"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Huge"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Docs icon size:"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Menu position"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Default"
msgstr "Domyślne"
#: ../contents/ui/ConfigGeneral.qml
msgid "Center"
msgstr "Środek"
msgstr "Wyśrodkowane"
#: ../contents/ui/ConfigGeneral.qml
msgid "On Edge"
msgstr "Brzeg"
msgid "Center bottom"
msgstr "Wyśrodkowane, na dole"
#: ../contents/ui/ConfigGeneral.qml
msgid "Auto"
msgstr "Automatyczna"
msgid "Show labels in two lines"
msgstr "Pokaż podpisy w dwóch liniach"
#: ../contents/ui/ConfigGeneral.qml
msgid "Pinned item:"
msgstr "Przypięty element:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Favourite apps"
msgstr "Ulubione aplikacje"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recent apps"
msgstr "Bieżące aplikacje"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recent documents"
msgstr "Bieżące dokumenty"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recommended item:"
msgstr "Polecany element:"
#: ../contents/ui/ConfigGeneral.qml
msgid "None"
msgstr "Żaden"
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of columns in grid:"
msgstr "Liczba kolumn w siatce:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of rows in grid:"
msgstr "Liczba wierszy w siatce:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Panel Properties:"
msgstr "Ustawienia panelu:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show All apps by default"
msgstr "Pokaż wszystkie aplikacje domyślnie"
#: ../contents/ui/ConfigGeneral.qml
msgid "Allow label to have two lines (Pinned)"
msgstr "Pozwól, aby etykieta miała dwa wiersze (Przypięte)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show Description for all apps and search item"
msgstr "Pokaż opis dla wszystkich aplikacji i elementu wyszukiwania"
#: ../contents/ui/ConfigGeneral.qml
msgid "Always Show Search Bar"
msgstr "Zawsze pokazuj pasek wyszukiwania"
#: ../contents/ui/ConfigGeneral.qml
msgid "Prefer showing full name, instead of login name"
msgstr "Preferuj pokazywanie imienia i nazwiska zamiast loginu"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icon Properties:"
msgstr "Ustawienia ikon:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Replace Explorer icon in footer"
msgstr "Zamień ikonę Eksploratora w stopce"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for User Profile"
msgstr "Zredukuj rozmar ikony dla profilu użytkownika"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for Footer"
msgstr "Zredukuj rozmar ikony dla stopki"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for Pinned item"
msgstr "Zredukuj rozmar ikony dla przypiętego elementu"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show applications as:"
msgstr "Pokaż aplikacje jako:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Name only"
msgstr "Tylko nazwa"
#: ../contents/ui/ConfigGeneral.qml
msgid "Description only"
msgstr "Tylko opis"
#: ../contents/ui/ConfigGeneral.qml
msgid "Name (Description)"
msgstr "Nazwa (opis)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Description (Name)"
msgstr "Opis (nazwa)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icons on Bottom bar:"
msgstr "Ikony na dolnym"
#: ../contents/ui/ConfigGeneral.qml
msgid "Documents"
msgstr "Dokumenty"
#: ../contents/ui/ConfigGeneral.qml
msgid "Pictures"
msgstr "Obrazy"
#: ../contents/ui/ConfigGeneral.qml
msgid "Music"
msgstr "Muzyka"
#: ../contents/ui/ConfigGeneral.qml
msgid "Downloads"
msgstr "Pobrane"
#: ../contents/ui/ConfigGeneral.qml
msgid "Videos"
msgstr "Wideo"
#: ../contents/ui/ConfigGeneral.qml
msgid "File manager"
msgstr "Menadżer plików"
#: ../contents/ui/ConfigGeneral.qml
msgid "System settings"
msgstr "Ustawienia systemowe"
#: ../contents/ui/ConfigGeneral.qml
msgid "Lock screen"
msgstr "Zablokuj ekran"
#: ../contents/ui/ConfigGeneral.qml
msgid "Power options"
msgstr "Zasilanie"
#: ../contents/ui/ConfigGeneral.qml
msgid "Search:"
msgstr "Wyszukiwanie:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Expand search to bookmarks, files and emails"
msgstr "Rozszerz wyszukiwanie do zakładek, plików i e-maili"
#: ../contents/ui/Footer.qml
msgid "Go to user settings"
msgstr "Przejdź do ustawień użytkownika"
#: ../contents/ui/MainColumnItem.qml
msgid "Type here to search"
msgstr "Wpisz tutaj, aby szukać"
#: ../contents/ui/MainColumnItem.qml
msgid "All apps"
msgstr "Wszystkie aplikacje"
#: ../contents/ui/MainColumnItem.qml
msgid "Recommended"
msgstr "Polecane"
#: ../contents/ui/MainColumnItem.qml
msgid "Pinned"
msgstr "Przypięte"
#: ../contents/ui/MainColumnItem.qml
msgid "Back"
msgstr "Wstecz"
#: ../contents/ui/main.qml
msgid "Edit Applications..."
msgid "Number of columns"
msgstr ""
#~ msgid "Menu 11"
#~ msgstr "Menu 11"
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of rows"
msgstr ""
#~ msgid "A highly customizable launcher inspired from windows 11 menu. Fork of MenuZ."
#~ msgstr "Wysoce konfigurowalny program uruchamiający aplikacje inspirowany menu z systemu Windows 11. Fork MenuZ."
#: ../contents/ui/ConfigGeneral.qml
msgid "Unhide all hidden applications"
msgstr "Uwidocznij wszystkie ukryte aplikacje"
#~ msgid "More"
#~ msgstr "Więcej"
#: ../contents/ui/ConfigGeneral.qml
msgid "Unhidden!"
msgstr "Wszystkie programy są widoczne!"
#: ../contents/ui/Footer.qml
msgid "User Home"
msgstr "Katalog domowy"
#: ../contents/ui/Footer.qml
msgid "System Preferences"
msgstr "Ustawienia systemowe"
#: ../contents/ui/Footer.qml
msgid "Shutdown"
msgstr ""
#: ../contents/ui/main.qml
msgid "Edit Applications…"
msgstr ""
#: ../contents/ui/MenuRepresentation.qml
msgid "Type here to search ..."
msgstr "Wpisz tutaj, aby wyszukać..."
#: ../contents/ui/MenuRepresentation.qml
msgid "Pinned"
msgstr ""
#: ../contents/ui/MenuRepresentation.qml
msgid "All apps"
msgstr ""
#: ../contents/ui/MenuRepresentation.qml
msgid "Recent documents"
msgstr ""
#~ msgid "A configurable launcher menu"
#~ msgstr "Konfigurowalne menu uruchamiania programów"
#~ msgid "On The Current Activity"
#~ msgstr "Na bieżącej aktywności"
#~ msgid "Show In Favorites"
#~ msgstr "Pokaż w ulubionych"
#~ msgctxt "@item:inmenu Open icon chooser dialog"
#~ msgid "Choose..."
#~ msgstr "Wybierz..."
#~ msgid "Show favorites first"
#~ msgstr "Najpierw pokaż ulubione"
#~ msgid "Edit Applications..."
#~ msgstr "Edytuj programy..."
#~ msgid "Hi, "
#~ msgstr "Cześć, "
#~ msgctxt "@action"
#~ msgid "Lock Screen"
#~ msgstr "Zablokuj ekran"
#~ msgid "Behavior"
#~ msgstr "Zachowanie"
#~ msgid "Show applications as:"
#~ msgstr "Pokazuj programy jako:"
#~ msgid "Name only"
#~ msgstr "Tylko nazwa"
#~ msgid "Description only"
#~ msgstr "Tylko opis"
#~ msgid "Name (Description)"
#~ msgstr "Nazwa (Opis)"
#~ msgid "Description (Name)"
#~ msgstr "Opis (Nazwa)"
#~ msgid "Menu position:"
#~ msgstr "Położenie menu:"
#~ msgid "Search"
#~ msgstr "Szukaj"
#~ msgid "Expand search to bookmarks, files and emails"
#~ msgstr "Rozszerz wyszukiwanie na zakładki, pliki i pocztę"
#~ msgid "Show user icon"
#~ msgstr "Pokaż ikonę użytkownika"
#~ msgid "Grid"
#~ msgstr "Siatka"
#~ msgid "Number of columns in grid"
#~ msgstr "Liczba kolumn w siatce"
#~ msgid "Number of rows in grid"
#~ msgstr "Liczba wierszy w siatce"

View File

@ -1,253 +1,182 @@
# Translation of menu11 in PORTUGUESE_BRAZILLIAN
# Copyright (C) 2021
# This file is distributed under the same license as the menu11 package.
# Thiago Corbari Feldhaus' <thiago.feldhaus@mrhat.com.br>, 2021.
# Translation of dittomenu in pt_BR
# Copyright (C) 2022
# This file is distributed under the same license as the dittomenu package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: menu11\n"
"Project-Id-Version: dittomenu\n"
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/Menu11\n"
"POT-Creation-Date: 2024-01-03 19:32+0500\n"
"PO-Revision-Date: 2021-07-29 11:00+LMT\n"
"Last-Translator: Thiago Corbari Feldhaus' <thiago.feldhaus@mrhat.com.br>\n"
"POT-Creation-Date: 2024-09-23 12:45+0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../contents/code/tools.js
msgid "Remove from Favorites"
msgstr ""
#: ../contents/code/tools.js
msgid "Add to Favorites"
msgstr ""
#: ../contents/code/tools.js
msgid "On All Activities"
msgstr ""
#: ../contents/code/tools.js
msgid "On the Current Activity"
msgstr ""
#: ../contents/code/tools.js
msgid "Show in Favorites"
msgstr ""
#: ../contents/config/config.qml
msgid "General"
msgstr "Geral"
#: ../contents/ui/code/tools.js
msgid "Remove from Favorites"
msgstr "Remover dos favoritos"
#: ../contents/ui/code/tools.js
msgid "Add to Favorites"
msgstr "Adicionar aos Favoritos"
#: ../contents/ui/code/tools.js
msgid "On All Activities"
msgstr "Em todas as atividades"
#: ../contents/ui/code/tools.js
msgid "On the Current Activity"
msgstr ""
#: ../contents/ui/code/tools.js
msgid "Show in Favorites"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Icon:"
msgstr "Ícone"
#: ../contents/ui/ConfigGeneral.qml
msgctxt "@item:inmenu Open icon chooser dialog"
msgid "Choose..."
msgid "Choose"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgctxt "@item:inmenu Reset icon to default"
msgid "Clear Icon"
msgstr "Resetar Ícone"
#: ../contents/ui/ConfigGeneral.qml
msgid "Apps icon size:"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Menu Position:"
msgstr "Posição do Menu'"
msgid "Small"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Medium"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Large"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Huge"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Docs icon size:"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Menu position"
msgstr "Posição do menu"
#: ../contents/ui/ConfigGeneral.qml
msgid "Default"
msgstr "Padrão"
#: ../contents/ui/ConfigGeneral.qml
msgid "Center"
msgstr "Centralizar"
msgstr "Centro"
#: ../contents/ui/ConfigGeneral.qml
msgid "On Edge"
msgstr "Na lateral"
msgid "Center bottom"
msgstr "Centro inferior"
#: ../contents/ui/ConfigGeneral.qml
msgid "Auto"
msgstr "Automático"
msgid "Show labels in two lines"
msgstr "Exibir os nomes em duas linhas"
#: ../contents/ui/ConfigGeneral.qml
msgid "Pinned item:"
msgstr "Ítem fixo:"
msgid "Number of columns"
msgstr "Numero de colunas"
#: ../contents/ui/ConfigGeneral.qml
msgid "Favourite apps"
msgstr "Aplicações Favoritas"
msgid "Number of rows"
msgstr "Numero de filas"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recent apps"
msgstr "Aplicações recentes"
msgid "Unhide all hidden applications"
msgstr "Mostrar aplicativos ocultos"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recent documents"
msgstr "Documentos recentes"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recommended item:"
msgstr "Ítem recomendado:"
#: ../contents/ui/ConfigGeneral.qml
msgid "None"
msgstr "Nenhum"
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of columns in grid:"
msgstr "Número de colunas no grid"
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of rows in grid:"
msgstr "Número de linhas no grid"
#: ../contents/ui/ConfigGeneral.qml
msgid "Panel Properties:"
msgstr "Painel de Propriedades"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show All apps by default"
msgstr "Mostrar Todas as aplicações por padrão"
#: ../contents/ui/ConfigGeneral.qml
msgid "Allow label to have two lines (Pinned)"
msgstr "Permitir label em duas linhas (Fixos)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show Description for all apps and search item"
msgstr "Mostrar Descrição para todas as aplicações e ítem de busca"
#: ../contents/ui/ConfigGeneral.qml
msgid "Always Show Search Bar"
msgstr "Sempre Mostrar a Barra de Busca"
#: ../contents/ui/ConfigGeneral.qml
msgid "Prefer showing full name, instead of login name"
msgstr "Mostrar preferencialmente o nome completo, com base no nome de login"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icon Properties:"
msgstr "Ícone de Propriedades"
#: ../contents/ui/ConfigGeneral.qml
msgid "Replace Explorer icon in footer"
msgstr "Substituir o ícone do Explorer no rodapé"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for User Profile"
msgstr "Reduzir Tamanho do Ícove do Perfil do Usuário"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for Footer"
msgstr "Reduzir Tamanho do Ícone do Rodapé"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for Pinned item"
msgstr "Reduzir Tamanho do Ícone dos Ítens Fixos"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show applications as:"
msgstr "Mostrar aplicações como:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Name only"
msgstr "Nome somente"
#: ../contents/ui/ConfigGeneral.qml
msgid "Description only"
msgstr "Descrição somente"
#: ../contents/ui/ConfigGeneral.qml
msgid "Name (Description)"
msgstr "Nome (Descrição)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Description (Name)"
msgstr "Descrição (Nome)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icons on Bottom bar:"
msgstr "Ícones na Barra Inferior"
#: ../contents/ui/ConfigGeneral.qml
msgid "Documents"
msgstr "Documentos"
#: ../contents/ui/ConfigGeneral.qml
msgid "Pictures"
msgstr "Imagens"
#: ../contents/ui/ConfigGeneral.qml
msgid "Music"
msgstr "Música"
#: ../contents/ui/ConfigGeneral.qml
msgid "Downloads"
msgstr "Downloads"
#: ../contents/ui/ConfigGeneral.qml
msgid "Videos"
msgstr "Vídeos"
#: ../contents/ui/ConfigGeneral.qml
msgid "File manager"
msgstr "Gerenciador de arquivo"
#: ../contents/ui/ConfigGeneral.qml
msgid "System settings"
msgstr "Configurações do sistema"
#: ../contents/ui/ConfigGeneral.qml
msgid "Lock screen"
msgstr "Bloquear tela"
#: ../contents/ui/ConfigGeneral.qml
msgid "Power options"
msgstr "Opções de energia"
#: ../contents/ui/ConfigGeneral.qml
msgid "Search:"
msgstr "Buscar:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Expand search to bookmarks, files and emails"
msgstr "Expandir a busca por favoritos, arquivos e emails"
msgid "Unhidden!"
msgstr "Reexibido"
#: ../contents/ui/Footer.qml
msgid "Go to user settings"
msgstr "Ir para configurações do usuário"
msgid "User Home"
msgstr "Diretório do Usuário"
#: ../contents/ui/MainColumnItem.qml
msgid "Type here to search"
msgstr "Digite a busca aqui"
#: ../contents/ui/Footer.qml
msgid "System Preferences"
msgstr "Configurações do Sistema"
#: ../contents/ui/MainColumnItem.qml
msgid "All apps"
msgstr "Todos os aplicativos"
#: ../contents/ui/MainColumnItem.qml
msgid "Recommended"
msgstr "Recomendado"
#: ../contents/ui/MainColumnItem.qml
msgid "Pinned"
msgstr "Fixos"
#: ../contents/ui/MainColumnItem.qml
msgid "Back"
msgstr "Voltar"
#: ../contents/ui/main.qml
msgid "Edit Applications..."
#: ../contents/ui/Footer.qml
msgid "Shutdown"
msgstr ""
#~ msgid "Menu 11"
#~ msgstr "Menu 11"
#: ../contents/ui/main.qml
msgid "Edit Applications…"
msgstr ""
#~ msgid "A highly customizable launcher inspired from windows 11 menu. Fork of MenuZ."
#~ msgstr "Um lançador customizado inspirado do menu do windows 11. Fork do MenuZ"
#: ../contents/ui/MenuRepresentation.qml
msgid "Type here to search ..."
msgstr "Digite aqui para pesquisar"
#~ msgid "More"
#~ msgstr "Mais"
#: ../contents/ui/MenuRepresentation.qml
msgid "Pinned"
msgstr ""
#: ../contents/ui/MenuRepresentation.qml
msgid "All apps"
msgstr "Todos os programas"
#: ../contents/ui/MenuRepresentation.qml
msgid "Recent documents"
msgstr ""
#~ msgid "Ditto Menu"
#~ msgstr "Ditto Menu"
#~ msgid "A configurable launcher menu"
#~ msgstr "Configuração do Menu Iniciar"
#~ msgid "On The Current Activity"
#~ msgstr "Na atividade atual"
#~ msgid "Show In Favorites"
#~ msgstr "Exibir nos favoritos"
#~ msgctxt "@item:inmenu Open icon chooser dialog"
#~ msgid "Choose..."
#~ msgstr "Procurar"
#~ msgid "Show favorites first"
#~ msgstr "Exbir os Favoritros primeiro"
#~ msgid "Edit Applications..."
#~ msgstr "Editar Programa"
#~ msgid "Lock Screen"
#~ msgstr "Tela de bloqueio"
#~ msgid "Leave ..."
#~ msgstr "Sair ..."
#~ msgid "Hi, "
#~ msgstr "Olá, "
#~ msgid "Favorites"
#~ msgstr "Favoritos"

View File

@ -1,246 +1,225 @@
# Translation of Menu11 in Russian
# Copyright (C) 2024
# This file is distributed under the same license as the Menu11 package.
# Valeria Fadeeva <valeria@fadeeva.me>, 2024.
# Translation of dittomenu in pl
# Copyright (C) 2022
# This file is distributed under the same license as the dittomenu package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR..
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Menu11\n"
"Project-Id-Version: dittomenu\n"
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/Menu11\n"
"POT-Creation-Date: 2024-01-03 19:32+0500\n"
"PO-Revision-Date: 2024-01-03 19:10+0500\n"
"Last-Translator: Valeria Fadeeva <valeria@fadeeva.me>\n"
"Language-Team: \n"
"POT-Creation-Date: 2024-09-23 12:45+0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Edward Karate <edward.karate@ya.ru>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 3.0\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
#: ../contents/code/tools.js
msgid "Remove from Favorites"
msgstr "Удалить из избранного"
#: ../contents/code/tools.js
msgid "Add to Favorites"
msgstr "Добавить в избранное"
#: ../contents/code/tools.js
msgid "On All Activities"
msgstr "На всех активностях"
#: ../contents/code/tools.js
msgid "On the Current Activity"
msgstr "На текущей активности"
#: ../contents/code/tools.js
msgid "Show in Favorites"
msgstr "Показать в избранном"
#: ../contents/config/config.qml
msgid "General"
msgstr "Общее"
msgstr "Общие"
#: ../contents/ui/code/tools.js
msgid "Remove from Favorites"
msgstr "Убрать из избранного"
#: ../contents/ui/code/tools.js
msgid "Add to Favorites"
msgstr "Добавить в избранное"
#: ../contents/ui/code/tools.js
msgid "On All Activities"
msgstr "По всем видам деятельности"
#: ../contents/ui/code/tools.js
msgid "On the Current Activity"
msgstr "В текущей активности"
#: ../contents/ui/code/tools.js
msgid "Show in Favorites"
msgstr "Показать в Избранном"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icon:"
msgstr "Иконка:"
msgstr "Значок"
#: ../contents/ui/ConfigGeneral.qml
msgctxt "@item:inmenu Open icon chooser dialog"
msgid "Choose..."
msgstr "Выбрать..."
msgid "Choose"
msgstr "Выбор…"
#: ../contents/ui/ConfigGeneral.qml
msgctxt "@item:inmenu Reset icon to default"
msgid "Clear Icon"
msgstr "Очистить"
msgstr "Очистить значок"
#: ../contents/ui/ConfigGeneral.qml
msgid "Menu Position:"
msgstr "Позиция меню:"
msgid "Apps icon size:"
msgstr "Размер значков приложений"
#: ../contents/ui/ConfigGeneral.qml
msgid "Small"
msgstr "Маленький"
#: ../contents/ui/ConfigGeneral.qml
msgid "Medium"
msgstr "Средний"
#: ../contents/ui/ConfigGeneral.qml
msgid "Large"
msgstr "Большой"
#: ../contents/ui/ConfigGeneral.qml
msgid "Huge"
msgstr "Огромный"
#: ../contents/ui/ConfigGeneral.qml
msgid "Docs icon size:"
msgstr "Размер знаков документов"
#: ../contents/ui/ConfigGeneral.qml
msgid "Menu position"
msgstr "Положение меню"
#: ../contents/ui/ConfigGeneral.qml
msgid "Default"
msgstr "По умолчанию"
#: ../contents/ui/ConfigGeneral.qml
msgid "Center"
msgstr "Центр"
#: ../contents/ui/ConfigGeneral.qml
msgid "On Edge"
msgstr "На краю"
msgid "Center bottom"
msgstr "Снизу по центру"
#: ../contents/ui/ConfigGeneral.qml
msgid "Auto"
msgstr "Автоматически"
msgid "Show labels in two lines"
msgstr "Отображать метки в две строки"
#: ../contents/ui/ConfigGeneral.qml
msgid "Pinned item:"
msgstr "Избранное:"
msgid "Number of columns"
msgstr "Количество колонок"
#: ../contents/ui/ConfigGeneral.qml
msgid "Favourite apps"
msgstr "Избранные приложения"
msgid "Number of rows"
msgstr "Количество строк"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recent apps"
msgstr "Последние приложения"
msgid "Unhide all hidden applications"
msgstr "Показать все скрытые приложения"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recent documents"
msgstr "Недавние документы"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recommended item:"
msgstr "Рекомендуемое:"
#: ../contents/ui/ConfigGeneral.qml
msgid "None"
msgstr "Ничего"
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of columns in grid:"
msgstr "Количество столбцов в сетке:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of rows in grid:"
msgstr "Количество строк в сетке:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Panel Properties:"
msgstr "Свойства панели:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show All apps by default"
msgstr "Показывать все приложения по умолчанию"
#: ../contents/ui/ConfigGeneral.qml
msgid "Allow label to have two lines (Pinned)"
msgstr "Разрешить значку иметь две строки (Закреплен)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show Description for all apps and search item"
msgstr "Показать описание для всех приложений и элементов поиска"
#: ../contents/ui/ConfigGeneral.qml
msgid "Always Show Search Bar"
msgstr "Всегда показывать панель поиска"
#: ../contents/ui/ConfigGeneral.qml
msgid "Prefer showing full name, instead of login name"
msgstr "Предпочтение показывать полное имя вместо логина для входа в систему"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icon Properties:"
msgstr "Свойства иконок:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Replace Explorer icon in footer"
msgstr "Замените значок проводника в нижнем колонтитуле"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for User Profile"
msgstr "Уменьшение размера значка для профиля пользователя"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for Footer"
msgstr "Уменьшение размера значка для нижнего колонтитула"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for Pinned item"
msgstr "Уменьшение размера значка для закрепленного элемента"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show applications as:"
msgstr "Показывать приложения как:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Name only"
msgstr "Только название"
#: ../contents/ui/ConfigGeneral.qml
msgid "Description only"
msgstr "Только описание"
#: ../contents/ui/ConfigGeneral.qml
msgid "Name (Description)"
msgstr "Название (Описание)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Description (Name)"
msgstr "Описание (Название)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icons on Bottom bar:"
msgstr "Значки на нижней панели:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Documents"
msgstr "Документы"
#: ../contents/ui/ConfigGeneral.qml
msgid "Pictures"
msgstr "Изображения"
#: ../contents/ui/ConfigGeneral.qml
msgid "Music"
msgstr "Музыка"
#: ../contents/ui/ConfigGeneral.qml
msgid "Downloads"
msgstr "Загрузки"
#: ../contents/ui/ConfigGeneral.qml
msgid "Videos"
msgstr "Видео"
#: ../contents/ui/ConfigGeneral.qml
msgid "File manager"
msgstr "Файловый менеджер"
#: ../contents/ui/ConfigGeneral.qml
msgid "System settings"
msgstr "Настройки системы"
#: ../contents/ui/ConfigGeneral.qml
msgid "Lock screen"
msgstr "Экран блокировки"
#: ../contents/ui/ConfigGeneral.qml
msgid "Power options"
msgstr "Параметры питания"
#: ../contents/ui/ConfigGeneral.qml
msgid "Search:"
msgstr "Поиск:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Expand search to bookmarks, files and emails"
msgstr "Расширить поиск на закладки, файлы и электронную почту"
msgid "Unhidden!"
msgstr "Показаны!"
#: ../contents/ui/Footer.qml
msgid "Go to user settings"
msgstr "Переход к настройкам пользователя"
msgid "User Home"
msgstr "Домашняя папка"
#: ../contents/ui/MainColumnItem.qml
msgid "Type here to search"
msgstr "Нажмите здесь для поиска"
#: ../contents/ui/Footer.qml
msgid "System Preferences"
msgstr "Параметры системы"
#: ../contents/ui/MainColumnItem.qml
#: ../contents/ui/Footer.qml
msgid "Shutdown"
msgstr "Выключение"
#: ../contents/ui/main.qml
msgid "Edit Applications…"
msgstr "Редактировать приложения"
#: ../contents/ui/MenuRepresentation.qml
msgid "Type here to search ..."
msgstr "Введите текст для поиска ..."
#: ../contents/ui/MenuRepresentation.qml
msgid "Pinned"
msgstr "Закрепленные"
#: ../contents/ui/MenuRepresentation.qml
msgid "All apps"
msgstr "Все приложения"
#: ../contents/ui/MainColumnItem.qml
msgid "Recommended"
msgstr "Рекомендуемое"
#: ../contents/ui/MenuRepresentation.qml
msgid "Recent documents"
msgstr "Последние документы"
#: ../contents/ui/MainColumnItem.qml
msgid "Pinned"
msgstr "Избранное"
#~ msgid "Ditto Menu"
#~ msgstr "Ditto Menu"
#: ../contents/ui/MainColumnItem.qml
msgid "Back"
msgstr "Назад"
#~ msgid "A configurable launcher menu"
#~ msgstr "Настраиваемое меню приложений"
#: ../contents/ui/main.qml
msgid "Edit Applications..."
msgstr "Редактировать список приложений"
#~ msgid "On The Current Activity"
#~ msgstr "О текущей деятельности"
#~ msgid "Show In Favorites"
#~ msgstr "Показать в Избранном"
#~ msgctxt "@item:inmenu Open icon chooser dialog"
#~ msgid "Choose..."
#~ msgstr "Выбрать..."
#~ msgid "Show favorites first"
#~ msgstr "Сначала показать избранное"
#~ msgid "Edit Applications..."
#~ msgstr "Редактировать меню..."
#~ msgid "Lock Screen"
#~ msgstr "Заблокировать"
#~ msgid "Leave ..."
#~ msgstr "Выход ..."
#~ msgid "Hi, "
#~ msgstr "Привет, "
#~ msgid "Favorites"
#~ msgstr "Избранное"
#~ msgctxt "@action"
#~ msgid "Lock Screen"
#~ msgstr "Заблокировать"
#~ msgid "Behavior"
#~ msgstr "Поведение"
#~ msgid "Show applications as:"
#~ msgstr "Показывать приложения в виде:"
#~ msgid "Name only"
#~ msgstr "Только имя"
#~ msgid "Description only"
#~ msgstr "Только описание"
#~ msgid "Name (Description)"
#~ msgstr "Имя (Описание)"
#~ msgid "Description (Name)"
#~ msgstr "Описание (Имя)"
#~ msgid "Menu position:"
#~ msgstr "Позиция меню"
#~ msgid "Search"
#~ msgstr "Поиск"
#~ msgid "Expand search to bookmarks, files and emails"
#~ msgstr "Расширить поиск по закладкам, файлам и почте"
#~ msgid "Show user icon"
#~ msgstr "Показать иконку пользователя"
#~ msgid "Grid"
#~ msgstr "Сетка"
#~ msgid "Number of columns in grid"
#~ msgstr "Количество колонок в сетке"
#~ msgid "Number of rows in grid"
#~ msgstr "Количество строк в сетке"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Menu11\n"
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/Menu11\n"
"POT-Creation-Date: 2024-01-03 19:32+0500\n"
"POT-Creation-Date: 2024-09-23 12:45+0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,37 +17,37 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../contents/code/tools.js
#: ../contents/config/config.qml
msgid "General"
msgstr ""
#: ../contents/ui/code/tools.js
msgid "Remove from Favorites"
msgstr ""
#: ../contents/code/tools.js
#: ../contents/ui/code/tools.js
msgid "Add to Favorites"
msgstr ""
#: ../contents/code/tools.js
#: ../contents/ui/code/tools.js
msgid "On All Activities"
msgstr ""
#: ../contents/code/tools.js
#: ../contents/ui/code/tools.js
msgid "On the Current Activity"
msgstr ""
#: ../contents/code/tools.js
#: ../contents/ui/code/tools.js
msgid "Show in Favorites"
msgstr ""
#: ../contents/config/config.qml
msgid "General"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Icon:"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgctxt "@item:inmenu Open icon chooser dialog"
msgid "Choose..."
msgid "Choose"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
@ -56,7 +56,35 @@ msgid "Clear Icon"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Menu Position:"
msgid "Apps icon size:"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Small"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Medium"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Large"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Huge"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Docs icon size:"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Menu position"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Default"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
@ -64,181 +92,57 @@ msgid "Center"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "On Edge"
msgid "Center bottom"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Auto"
msgid "Show labels in two lines"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Pinned item:"
msgid "Number of columns"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Favourite apps"
msgid "Number of rows"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Recent apps"
msgid "Unhide all hidden applications"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Recent documents"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Recommended item:"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "None"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of columns in grid:"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of rows in grid:"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Panel Properties:"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Show All apps by default"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Allow label to have two lines (Pinned)"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Show Description for all apps and search item"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Always Show Search Bar"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Prefer showing full name, instead of login name"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Icon Properties:"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Replace Explorer icon in footer"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for User Profile"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for Footer"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for Pinned item"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Show applications as:"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Name only"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Description only"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Name (Description)"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Description (Name)"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Icons on Bottom bar:"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Documents"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Pictures"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Music"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Downloads"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Videos"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "File manager"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "System settings"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Lock screen"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Power options"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Search:"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Expand search to bookmarks, files and emails"
msgid "Unhidden!"
msgstr ""
#: ../contents/ui/Footer.qml
msgid "Go to user settings"
msgid "User Home"
msgstr ""
#: ../contents/ui/MainColumnItem.qml
msgid "Type here to search"
#: ../contents/ui/Footer.qml
msgid "System Preferences"
msgstr ""
#: ../contents/ui/MainColumnItem.qml
msgid "All apps"
msgstr ""
#: ../contents/ui/MainColumnItem.qml
msgid "Recommended"
msgstr ""
#: ../contents/ui/MainColumnItem.qml
msgid "Pinned"
msgstr ""
#: ../contents/ui/MainColumnItem.qml
msgid "Back"
#: ../contents/ui/Footer.qml
msgid "Shutdown"
msgstr ""
#: ../contents/ui/main.qml
msgid "Edit Applications..."
msgid "Edit Applications…"
msgstr ""
#: ../contents/ui/MenuRepresentation.qml
msgid "Type here to search ..."
msgstr ""
#: ../contents/ui/MenuRepresentation.qml
msgid "Pinned"
msgstr ""
#: ../contents/ui/MenuRepresentation.qml
msgid "All apps"
msgstr ""
#: ../contents/ui/MenuRepresentation.qml
msgid "Recent documents"
msgstr ""

View File

@ -1,253 +1,219 @@
# Translation of menu11 in Turkish
# Copyright (C) 2021
# This file is distributed under the same license as the menu11 package.
# Alper Tiryakioğlu <EMAIL@ADDRESS>, YEAR.
# Translation of dittomenu in tr
# Copyright (C) 2022
# This file is distributed under the same license as the dittomenu package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: menu11\n"
"Project-Id-Version: dittomenu\n"
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/Menu11\n"
"POT-Creation-Date: 2024-01-03 19:32+0500\n"
"PO-Revision-Date: 2021-07-25 20:45+0300\n"
"Last-Translator: Alper Tiryakioğlu\n"
"Language-Team:\n"
"Language: Turkish\n"
"POT-Creation-Date: 2024-09-23 12:45+0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../contents/code/tools.js
msgid "Remove from Favorites"
msgstr ""
#: ../contents/code/tools.js
msgid "Add to Favorites"
msgstr ""
#: ../contents/code/tools.js
msgid "On All Activities"
msgstr ""
#: ../contents/code/tools.js
msgid "On the Current Activity"
msgstr ""
#: ../contents/code/tools.js
msgid "Show in Favorites"
msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Language: tr_TR\n"
"X-Source-Language: C\n"
#: ../contents/config/config.qml
msgid "General"
msgstr "Genel"
#: ../contents/ui/code/tools.js
msgid "Remove from Favorites"
msgstr "Favorilerden Çıkar"
#: ../contents/ui/code/tools.js
msgid "Add to Favorites"
msgstr "Favorilerden Ekle"
#: ../contents/ui/code/tools.js
msgid "On All Activities"
msgstr "Tüm Etkinliklerde"
#: ../contents/ui/code/tools.js
msgid "On the Current Activity"
msgstr ""
#: ../contents/ui/code/tools.js
msgid "Show in Favorites"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Icon:"
msgstr "Simge:"
msgstr "Sİmge:"
#: ../contents/ui/ConfigGeneral.qml
msgctxt "@item:inmenu Open icon chooser dialog"
msgid "Choose..."
msgid "Choose"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgctxt "@item:inmenu Reset icon to default"
msgid "Clear Icon"
msgstr "Simgeyi Temizle"
#: ../contents/ui/ConfigGeneral.qml
msgid "Apps icon size:"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Menu Position:"
msgstr "Menü Konumu:"
msgid "Small"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Medium"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Large"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Huge"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Docs icon size:"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Menu position"
msgstr ""
#: ../contents/ui/ConfigGeneral.qml
msgid "Default"
msgstr "Varsayılan"
#: ../contents/ui/ConfigGeneral.qml
msgid "Center"
msgstr "Ortada"
msgstr "Orta"
#: ../contents/ui/ConfigGeneral.qml
msgid "On Edge"
msgstr "Köşede"
msgid "Center bottom"
msgstr "Orta alt"
#: ../contents/ui/ConfigGeneral.qml
msgid "Auto"
msgstr "Otomatik"
msgid "Show labels in two lines"
msgstr "Etiketleri iki satırda göster"
#: ../contents/ui/ConfigGeneral.qml
msgid "Pinned item:"
msgstr "Sabitlenen öğeler:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Favourite apps"
msgstr "Sık kullanılan uygulamalar"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recent apps"
msgstr "Son kullanılan uygulamalar"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recent documents"
msgstr "En son belgeler"
#: ../contents/ui/ConfigGeneral.qml
msgid "Recommended item:"
msgstr "Önerilen öğeler:"
#: ../contents/ui/ConfigGeneral.qml
msgid "None"
msgstr "Hiçbiri"
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of columns in grid:"
msgstr "Sütun sayısı:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of rows in grid:"
msgstr "Satır sayısı:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Panel Properties:"
msgstr "Panel Özellikleri:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show All apps by default"
msgstr "Varsayılan olarak Tüm uygulamaları göster"
#: ../contents/ui/ConfigGeneral.qml
msgid "Allow label to have two lines (Pinned)"
msgstr "Etiketlerin iki satırı kaplamasına izin ver (Sabitlenmiş öğeler'de)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show Description for all apps and search item"
msgstr "Tüm uygulamalar ve arama sonuçları için açıklama göster"
#: ../contents/ui/ConfigGeneral.qml
msgid "Always Show Search Bar"
msgstr "Her zaman Arama Çubuğu'nu göster"
#: ../contents/ui/ConfigGeneral.qml
msgid "Prefer showing full name, instead of login name"
msgstr "Kullanıcı adı yerine tam ismi göstermeyi tercih et."
#: ../contents/ui/ConfigGeneral.qml
msgid "Icon Properties:"
msgstr "Simge Özellikleri:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Replace Explorer icon in footer"
msgstr "Alt Bilgideki dosya gezgini simgesini değiştirin"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for User Profile"
msgstr "Profil resminin simge boyutunu küçült"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for Footer"
msgstr "Alt çubuk öğeleri için simge boyutunu küçült"
#: ../contents/ui/ConfigGeneral.qml
msgid "Reduce Icon Size for Pinned item"
msgstr "Sabitlenmiş öğelerin simge boyutunu küçült"
#: ../contents/ui/ConfigGeneral.qml
msgid "Show applications as:"
msgstr "Uygulamaları gösterme şekli:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Name only"
msgstr "Sadece Ad"
#: ../contents/ui/ConfigGeneral.qml
msgid "Description only"
msgstr "Sadece Açıklama"
#: ../contents/ui/ConfigGeneral.qml
msgid "Name (Description)"
msgstr "Ad (Açıklama)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Description (Name)"
msgstr "Açıklama (Ad)"
#: ../contents/ui/ConfigGeneral.qml
msgid "Icons on Bottom bar:"
msgstr "Alt çubuktaki simgeler:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Documents"
msgstr "Belgeler"
#: ../contents/ui/ConfigGeneral.qml
msgid "Pictures"
msgstr "Resimler"
#: ../contents/ui/ConfigGeneral.qml
msgid "Music"
msgstr "Müzik"
#: ../contents/ui/ConfigGeneral.qml
msgid "Downloads"
msgstr "İndirilenler"
#: ../contents/ui/ConfigGeneral.qml
msgid "Videos"
msgstr "Videolar"
#: ../contents/ui/ConfigGeneral.qml
msgid "File manager"
msgstr "Dosya yöneticisi"
#: ../contents/ui/ConfigGeneral.qml
msgid "System settings"
msgstr "Sistem ayarları"
#: ../contents/ui/ConfigGeneral.qml
msgid "Lock screen"
msgstr "Ekranı kilitle"
#: ../contents/ui/ConfigGeneral.qml
msgid "Power options"
msgstr "Güç seçenekleri"
#: ../contents/ui/ConfigGeneral.qml
msgid "Search:"
msgstr "Arama:"
#: ../contents/ui/ConfigGeneral.qml
msgid "Expand search to bookmarks, files and emails"
msgstr "Aramaları yer imlerine, dosyalara ve e-maillere genişlet"
#: ../contents/ui/Footer.qml
msgid "Go to user settings"
msgstr "Kullanıcı ayarları'na gidin"
#: ../contents/ui/MainColumnItem.qml
msgid "Type here to search"
msgstr "Aramak için buraya yazın"
#: ../contents/ui/MainColumnItem.qml
msgid "All apps"
msgstr "Tüm uygulamalar"
#: ../contents/ui/MainColumnItem.qml
msgid "Recommended"
msgstr "Önerilenler"
#: ../contents/ui/MainColumnItem.qml
msgid "Pinned"
msgstr "Sabitlenmiş"
#: ../contents/ui/MainColumnItem.qml
msgid "Back"
msgstr "Geri"
#: ../contents/ui/main.qml
msgid "Edit Applications..."
msgid "Number of columns"
msgstr ""
#~ msgid "Menu 11"
#~ msgstr "Menu 11"
#: ../contents/ui/ConfigGeneral.qml
msgid "Number of rows"
msgstr ""
#~ msgid "A highly customizable launcher inspired from windows 11 menu. Fork of MenuZ."
#~ msgstr "Windows 11 menüsünden ilham almış, yüksek derecede kişiselleştirilebilir çalıştırıcı. MenuZ çatallaması."
#: ../contents/ui/ConfigGeneral.qml
msgid "Unhide all hidden applications"
msgstr "Tüm gizli uygulamaları göster"
#~ msgid "More"
#~ msgstr "Daha fazla"
#: ../contents/ui/ConfigGeneral.qml
msgid "Unhidden!"
msgstr "Gizli!"
#: ../contents/ui/Footer.qml
msgid "User Home"
msgstr "Kullanıcı Ana Sayfası"
#: ../contents/ui/Footer.qml
msgid "System Preferences"
msgstr "Sistem Tercihleri"
#: ../contents/ui/Footer.qml
msgid "Shutdown"
msgstr ""
#: ../contents/ui/main.qml
msgid "Edit Applications…"
msgstr ""
#: ../contents/ui/MenuRepresentation.qml
msgid "Type here to search ..."
msgstr "Aramak için buraya yazınız ..."
#: ../contents/ui/MenuRepresentation.qml
msgid "Pinned"
msgstr ""
#: ../contents/ui/MenuRepresentation.qml
msgid "All apps"
msgstr ""
#: ../contents/ui/MenuRepresentation.qml
msgid "Recent documents"
msgstr ""
#~ msgid "Ditto Menu"
#~ msgstr "Ditto Menu"
#~ msgid "A configurable launcher menu"
#~ msgstr "Yapılandırılabilir bir başlatıcı menüsü"
#~ msgid "On The Current Activity"
#~ msgstr "Mevcut Etkinlik Üzerine"
#~ msgid "Show In Favorites"
#~ msgstr "Favorilerde Göster"
#~ msgctxt "@item:inmenu Open icon chooser dialog"
#~ msgid "Choose..."
#~ msgstr "Seçmek..."
#~ msgid "Show favorites first"
#~ msgstr "Önce favorileri göster"
#~ msgid "Edit Applications..."
#~ msgstr "Uygulamaları Düzenle..."
#~ msgid "Hi, "
#~ msgstr "Merhaba, "
#~ msgctxt "@action"
#~ msgid "Lock Screen"
#~ msgstr "Kilit Ekranı"
#~ msgid "Behavior"
#~ msgstr "Davranış"
#~ msgid "Show applications as:"
#~ msgstr "Uygulamaları şu şekilde göster:"
#~ msgid "Name only"
#~ msgstr "Sadece isim"
#~ msgid "Description only"
#~ msgstr "Yalnızca açıklama"
#~ msgid "Name (Description)"
#~ msgstr "İsim (Açıklama)"
#~ msgid "Description (Name)"
#~ msgstr "Açıklama (İsim)"
#~ msgid "Menu position:"
#~ msgstr "Menü konumu:"
#~ msgid "Search"
#~ msgstr "Ara"
#~ msgid "Expand search to bookmarks, files and emails"
#~ msgstr "Aramayı yer imlerine, dosyalara ve e-postalara genişletin"
#~ msgid "Show user icon"
#~ msgstr "Kullanıcı simgesini göster"
#~ msgid "Grid"
#~ msgstr "Izgara"
#~ msgid "Number of columns in grid"
#~ msgstr "Izgaradaki sütun sayısı"
#~ msgid "Number of rows in grid"
#~ msgstr "Izgaradaki satır sayısı"