Compare commits
10 Commits
04d7c8075e
...
9b2ef74aa5
Author | SHA1 | Date |
---|---|---|
|
9b2ef74aa5 | |
|
3f3898bbeb | |
|
120ab22537 | |
|
d19fdbd76e | |
|
0150b1d2dc | |
|
f7345d3c5f | |
|
9e4351a0a1 | |
|
c73a7a1ba1 | |
|
b69e13e9d6 | |
|
60360b47de |
|
@ -1,15 +0,0 @@
|
||||||
# These are supported funding model platforms
|
|
||||||
|
|
||||||
#github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
|
||||||
|
|
||||||
#patreon: # Replace with a single Patreon username
|
|
||||||
#open_collective: # Replace with a single Open Collective username
|
|
||||||
#ko_fi: # Replace with a single Ko-fi username
|
|
||||||
#tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
|
||||||
#community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
|
||||||
#liberapay: # Replace with a single Liberapay username
|
|
||||||
#issuehunt: # Replace with a single IssueHunt username
|
|
||||||
#otechie: # Replace with a single Otechie username
|
|
||||||
#custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
|
|
||||||
#github: [Valeria-Fadeeva]
|
|
||||||
custom: ["https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066", "https://yoomoney.ru/to/4100115921160758", "https://qiwi.com/n/VALERIAFADEEVA", "valeria.fadeeva.me"]
|
|
|
@ -1,7 +0,0 @@
|
||||||
*.pkg.tar
|
|
||||||
*.pkg.tar.*
|
|
||||||
*.zst
|
|
||||||
*.zst.*
|
|
||||||
pkg/
|
|
||||||
src/
|
|
||||||
.idea/
|
|
31
PKGBUILD
31
PKGBUILD
|
@ -1,31 +0,0 @@
|
||||||
# Maintainer: Valeria Fadeeva <valeria@fadeeva.me>
|
|
||||||
|
|
||||||
_gitname="$(basename $(pwd))"
|
|
||||||
pkgname=("melawy-$_gitname")
|
|
||||||
pkgver=r1.35982bd
|
|
||||||
pkgrel=1
|
|
||||||
pkgdesc="$(head -n 2 README.md | tail -n 1)"
|
|
||||||
url="https://github.com/Melawy/$_gitname"
|
|
||||||
arch=("any")
|
|
||||||
license=("AGPL3")
|
|
||||||
depends=("plasma-desktop")
|
|
||||||
optdepends=()
|
|
||||||
makedepends=("git")
|
|
||||||
backup=()
|
|
||||||
provides=("${pkgname}")
|
|
||||||
conflicts=("${pkgname}")
|
|
||||||
source=("git+$url.git")
|
|
||||||
sha256sums=("SKIP")
|
|
||||||
|
|
||||||
THEME_NAME="com.github.adhec.Menu11"
|
|
||||||
THEME_PATH="/usr/share/plasma/plasmoids"
|
|
||||||
|
|
||||||
pkgver() {
|
|
||||||
cd "$srcdir/$_gitname"
|
|
||||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
install -d "$pkgdir$THEME_PATH"
|
|
||||||
cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/$THEME_NAME" "$pkgdir$THEME_PATH/"
|
|
||||||
}
|
|
|
@ -6,6 +6,4 @@ Menu11 plasmoid
|
||||||
|
|
||||||
[YooMoney](https://yoomoney.ru/to/4100115921160758)
|
[YooMoney](https://yoomoney.ru/to/4100115921160758)
|
||||||
|
|
||||||
[Qiwi](https://qiwi.com/n/VALERIAFADEEVA)
|
|
||||||
|
|
||||||
Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f
|
Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f
|
||||||
|
|
|
@ -24,7 +24,7 @@ import org.kde.plasma.configuration 2.0
|
||||||
ConfigModel {
|
ConfigModel {
|
||||||
ConfigCategory {
|
ConfigCategory {
|
||||||
name: i18n("General")
|
name: i18n("General")
|
||||||
icon: "preferences-desktop-plasma"
|
icon: "kde"
|
||||||
source: "ConfigGeneral.qml"
|
source: "ConfigGeneral.qml"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,151 +6,89 @@
|
||||||
<kcfgfile name=""/>
|
<kcfgfile name=""/>
|
||||||
|
|
||||||
<group name="General">
|
<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">
|
<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>
|
<default>start-here-kde</default>
|
||||||
</entry>
|
</entry>
|
||||||
<entry name="useCustomButtonImage" type="Bool">
|
<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>
|
<default>false</default>
|
||||||
</entry>
|
</entry>
|
||||||
<entry name="customButtonImage" type="Url">
|
<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>
|
<default></default>
|
||||||
</entry>
|
</entry>
|
||||||
|
|
||||||
|
<entry name="showFilterList" type="Bool">
|
||||||
|
<default>true</default>
|
||||||
|
</entry>
|
||||||
|
|
||||||
<entry name="appNameFormat" type="Int">
|
<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>
|
||||||
<default>0</default>
|
|
||||||
</entry>
|
</entry>
|
||||||
|
<entry name="limitDepth" type="Bool">
|
||||||
<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>
|
|
||||||
<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>preferred://browser,kontact.desktop,systemsettings.desktop,org.kde.dolphin.desktop,ktp-contactlist.desktop,org.kde.kate.desktop,org.kde.discover</default>
|
|
||||||
</entry>
|
|
||||||
<entry name="favoriteSystemActions" type="StringList">
|
|
||||||
<label>List of system action favorites.</label>
|
|
||||||
<default>logout,reboot,shutdown</default>
|
|
||||||
</entry>
|
|
||||||
<entry name="favoritesPortedToKAstats" type="Bool">
|
|
||||||
<label>Are the favorites ported to use KActivitiesStats to allow per-activity favorites</label>
|
|
||||||
<default>false</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>
|
<default>false</default>
|
||||||
</entry>
|
</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>0</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">
|
<entry name="numberColumns" type="Int">
|
||||||
<default>6</default>
|
<default>6</default>
|
||||||
</entry>
|
</entry>
|
||||||
|
|
||||||
<entry name="numberRows" type="Int">
|
<entry name="numberRows" type="Int">
|
||||||
<default>3</default>
|
<default>4</default>
|
||||||
</entry>
|
</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>
|
<entry name="favoriteApps" type="StringList">
|
||||||
<default>0</default>
|
<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>
|
||||||
<entry name="showDescription" type="Bool">
|
<entry name="favoriteSystemActions" type="StringList">
|
||||||
<label>Whether to show the description for app and search items or not.</label>
|
<label>List of system action favorites.</label>
|
||||||
<default>false</default>
|
<default>logout,lock-screen,reboot,shutdown</default>
|
||||||
</entry>
|
</entry>
|
||||||
<entry name="alwaysShowSearchBar" type="Bool">
|
<entry name="hiddenApplications" type="StringList">
|
||||||
<label>Whether to always show the search bar on top of the menu or not.</label>
|
<default></default>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry name="useExtraRunners" type="Bool">
|
||||||
<default>true</default>
|
<default>true</default>
|
||||||
</entry>
|
</entry>
|
||||||
<entry name="preferFullName" type="Bool">
|
<entry name="labels2lines" type="Bool">
|
||||||
<label>Whether to prefer showing the user's full name in the menu, instead of the login name.</label>
|
|
||||||
<default>true</default>
|
<default>true</default>
|
||||||
</entry>
|
</entry>
|
||||||
<entry name="downIconsDocuments" type="Bool">
|
<entry name="extraRunners" type="StringList">
|
||||||
<label>Shows or hides the Documents shortcut on the bottom bar.</label>
|
<default>shell,bookmarks,baloosearch,locations</default>
|
||||||
<default>false</default>
|
|
||||||
</entry>
|
</entry>
|
||||||
<entry name="downIconsPictures" type="Bool">
|
<entry name="alignResultsToBottom" 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>
|
<default>true</default>
|
||||||
</entry>
|
</entry>
|
||||||
<entry name="downIconsSystemSettings" type="Bool">
|
<entry name="switchCategoriesOnHover" type="Bool">
|
||||||
<label>Shows or hides the System Settings shortcut on the bottom bar.</label>
|
<label>Whether to switch between menu categories by hovering them.</label>
|
||||||
<default>true</default>
|
<default>true</default>
|
||||||
</entry>
|
</entry>
|
||||||
<entry name="downIconsLock" type="Bool">
|
|
||||||
<label>Shows or hides the Lock button on the bottom bar.</label>
|
<entry name="removeApplicationCommand" type="String">
|
||||||
<default>false</default>
|
<default>muon-discover --application</default>
|
||||||
</entry>
|
</entry>
|
||||||
<entry name="downIconsPowerOptions" type="Bool">
|
<entry name="showAtCenter" type="Bool">
|
||||||
<label>Shows or hides the Power Options button on the bottom bar.</label>
|
|
||||||
<default>true</default>
|
<default>true</default>
|
||||||
</entry>
|
</entry>
|
||||||
<entry name="defaultAllApps" type="Bool">
|
<entry name="favoritesPortedToKAstats" type="Bool">
|
||||||
<label>Whether to show All Apps screen by default or not.</label>
|
<label>Are the favorites ported to use KActivitiesStats to allow per-activity favorites</label>
|
||||||
<default>false</default>
|
|
||||||
</entry>
|
|
||||||
<entry name="reducePinnedSize" type="Bool">
|
|
||||||
<default>true</default>
|
<default>true</default>
|
||||||
</entry>
|
</entry>
|
||||||
<entry name="reduceIconSizeFooter" type="Bool">
|
|
||||||
<label>Whether to reduce icon size for footer to match consistency.</label>
|
<entry name="viewUser" type="Bool">
|
||||||
<default>false</default>
|
|
||||||
</entry>
|
|
||||||
<entry name="reduceIconSizeUserProfile" type="Bool">
|
|
||||||
<default>true</default>
|
<default>true</default>
|
||||||
</entry>
|
</entry>
|
||||||
</group>
|
</group>
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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()
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -1,26 +1,13 @@
|
||||||
/***************************************************************************
|
/*
|
||||||
* Copyright (C) 2013 by Aurélien Gâteau <agateau@kde.org> *
|
SPDX-FileCopyrightText: 2013 Aurélien Gâteau <agateau@kde.org>
|
||||||
* Copyright (C) 2014-2015 by Eike Hein <hein@kde.org> *
|
SPDX-FileCopyrightText: 2014-2015 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.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 {
|
Item {
|
||||||
id: root
|
id: root
|
||||||
|
@ -28,7 +15,7 @@ Item {
|
||||||
property QtObject menu
|
property QtObject menu
|
||||||
property Item visualParent
|
property Item visualParent
|
||||||
property variant actionList
|
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 actionClicked(string actionId, variant actionArgument)
|
||||||
signal closed
|
signal closed
|
||||||
|
@ -68,11 +55,11 @@ Item {
|
||||||
}
|
}
|
||||||
|
|
||||||
function fillMenu(menu, items) {
|
function fillMenu(menu, items) {
|
||||||
items.forEach(function (actionItem) {
|
items.forEach(function(actionItem) {
|
||||||
if (actionItem.subActions) {
|
if (actionItem.subActions) {
|
||||||
// This is a menu
|
// This is a menu
|
||||||
var submenuItem = contextSubmenuItemComponent.createObject(
|
var submenuItem = contextSubmenuItemComponent.createObject(
|
||||||
menu, { "actionItem": actionItem });
|
menu, { "actionItem" : actionItem });
|
||||||
|
|
||||||
fillMenu(submenuItem.submenu, actionItem.subActions);
|
fillMenu(submenuItem.submenu, actionItem.subActions);
|
||||||
|
|
||||||
|
@ -91,7 +78,7 @@ Item {
|
||||||
Component {
|
Component {
|
||||||
id: contextMenuComponent
|
id: contextMenuComponent
|
||||||
|
|
||||||
PlasmaComponents.ContextMenu {
|
PlasmaExtras.Menu {
|
||||||
visualParent: root.visualParent
|
visualParent: root.visualParent
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -99,7 +86,7 @@ Item {
|
||||||
Component {
|
Component {
|
||||||
id: contextSubmenuItemComponent
|
id: contextSubmenuItemComponent
|
||||||
|
|
||||||
PlasmaComponents.MenuItem {
|
PlasmaExtras.MenuItem {
|
||||||
id: submenuItem
|
id: submenuItem
|
||||||
|
|
||||||
property variant actionItem
|
property variant actionItem
|
||||||
|
@ -107,10 +94,7 @@ Item {
|
||||||
text: actionItem.text ? actionItem.text : ""
|
text: actionItem.text ? actionItem.text : ""
|
||||||
icon: actionItem.icon ? actionItem.icon : null
|
icon: actionItem.icon ? actionItem.icon : null
|
||||||
|
|
||||||
property variant submenu: submenu_
|
property PlasmaExtras.Menu submenu: PlasmaExtras.Menu {
|
||||||
|
|
||||||
PlasmaComponents.ContextMenu {
|
|
||||||
id: submenu_
|
|
||||||
visualParent: submenuItem.action
|
visualParent: submenuItem.action
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -119,19 +103,19 @@ Item {
|
||||||
Component {
|
Component {
|
||||||
id: contextMenuItemComponent
|
id: contextMenuItemComponent
|
||||||
|
|
||||||
PlasmaComponents.MenuItem {
|
PlasmaExtras.MenuItem {
|
||||||
property variant actionItem
|
property variant actionItem
|
||||||
|
|
||||||
text: actionItem.text ? actionItem.text : ""
|
text : actionItem.text ? actionItem.text : ""
|
||||||
enabled: actionItem.type != "title" && ("enabled" in actionItem ? actionItem.enabled : true)
|
enabled : actionItem.type !== "title" && ("enabled" in actionItem ? actionItem.enabled : true)
|
||||||
separator: actionItem.type == "separator"
|
separator : actionItem.type === "separator"
|
||||||
section: actionItem.type == "title"
|
section : actionItem.type === "title"
|
||||||
icon: actionItem.icon ? actionItem.icon : null
|
icon : actionItem.icon ? actionItem.icon : null
|
||||||
checkable: actionItem.checkable ? actionItem.checkable : false
|
checkable : actionItem.checkable ? actionItem.checkable : false
|
||||||
checked: actionItem.checked ? actionItem.checked : false
|
checked : actionItem.checked ? actionItem.checked : false
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
actionClicked(actionItem.actionId, actionItem.actionArgument);
|
root.actionClicked(actionItem.actionId, actionItem.actionArgument);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* Copyright (C) 2013-2014 by Eike Hein <hein@kde.org> *
|
* 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 *
|
* 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 *
|
* it under the terms of the GNU General Public License as published by *
|
||||||
|
@ -18,11 +17,12 @@
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
import QtQuick 2.12
|
import QtQuick 2.0
|
||||||
import QtQuick.Layouts 1.12
|
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.plasma.core 2.0 as PlasmaCore
|
||||||
|
import org.kde.kirigami as Kirigami
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: root
|
id: root
|
||||||
|
@ -33,63 +33,18 @@ Item {
|
||||||
|| plasmoid.location == PlasmaCore.Types.BottomEdge
|
|| plasmoid.location == PlasmaCore.Types.BottomEdge
|
||||||
|| plasmoid.location == PlasmaCore.Types.LeftEdge)
|
|| plasmoid.location == PlasmaCore.Types.LeftEdge)
|
||||||
readonly property bool vertical: (plasmoid.formFactor == PlasmaCore.Types.Vertical)
|
readonly property bool vertical: (plasmoid.formFactor == PlasmaCore.Types.Vertical)
|
||||||
readonly property bool useCustomButtonImage: (plasmoid.configuration.useCustomButtonImage
|
readonly property bool useCustomButtonImage: (Plasmoid.configuration.useCustomButtonImage
|
||||||
&& plasmoid.configuration.customButtonImage.length != 0)
|
&& Plasmoid.configuration.customButtonImage.length != 0)
|
||||||
property QtObject dashWindow: null
|
property QtObject dashWindow: null
|
||||||
|
|
||||||
Plasmoid.status: dashWindow && dashWindow.visible ? PlasmaCore.Types.RequiresAttentionStatus : PlasmaCore.Types.PassiveStatus
|
Plasmoid.status: dashWindow && dashWindow.visible ? PlasmaCore.Types.RequiresAttentionStatus : PlasmaCore.Types.PassiveStatus
|
||||||
|
Kirigami.Icon {
|
||||||
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 {
|
|
||||||
id: buttonIcon
|
id: buttonIcon
|
||||||
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
source: useCustomButtonImage ? Plasmoid.configuration.customButtonImage : Plasmoid.configuration.icon
|
||||||
readonly property double aspectRatio: (vertical ? implicitHeight / implicitWidth
|
|
||||||
: implicitWidth / implicitHeight)
|
|
||||||
|
|
||||||
source: useCustomButtonImage ? plasmoid.configuration.customButtonImage : plasmoid.configuration.icon
|
|
||||||
|
|
||||||
active: mouseArea.containsMouse
|
active: mouseArea.containsMouse
|
||||||
|
|
||||||
smooth: true
|
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
|
MouseArea
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* Copyright (C) 2014 by Eike Hein <hein@kde.org> *
|
* 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 *
|
* 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 *
|
* it under the terms of the GNU General Public License as published by *
|
||||||
|
@ -18,65 +17,57 @@
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
import QtQuick 2.12
|
//import QtQuick 2.15
|
||||||
import QtQuick.Controls 2.5
|
//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 QtQuick 2.15
|
||||||
import org.kde.kquickcontrolsaddons 2.0 as KQuickAddons
|
import QtQuick.Layouts 1.0
|
||||||
|
import QtQuick.Controls 2.15
|
||||||
import org.kde.draganddrop 2.0 as DragDrop
|
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
|
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 string cfg_icon: plasmoid.configuration.icon
|
||||||
property bool cfg_useCustomButtonImage: plasmoid.configuration.useCustomButtonImage
|
property bool cfg_useCustomButtonImage: plasmoid.configuration.useCustomButtonImage
|
||||||
property string cfg_customButtonImage: plasmoid.configuration.customButtonImage
|
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_numberColumns: numberColumns.value
|
||||||
property alias cfg_numberRows: numberRows.value
|
property alias cfg_numberRows: numberRows.value
|
||||||
|
|
||||||
property alias cfg_downIconsDocuments: downIconsDocuments.checked
|
property alias cfg_labels2lines: labels2lines.checked
|
||||||
property alias cfg_downIconsDownloads: downIconsDownloads.checked
|
|
||||||
property alias cfg_downIconsPictures: downIconsPictures.checked
|
property alias cfg_appsIconSize: appsIconSize.currentIndex
|
||||||
property alias cfg_downIconsMusic: downIconsMusic.checked
|
property alias cfg_docsIconSize: docsIconSize.currentIndex
|
||||||
property alias cfg_downIconsVideos: downIconsVideos.checked
|
property alias cfg_displayPosition: displayPosition.currentIndex
|
||||||
property alias cfg_downIconsFileManager: downIconsFileManager.checked
|
|
||||||
property alias cfg_downIconsSystemSettings: downIconsSystemSettings.checked
|
Kirigami.FormLayout {
|
||||||
property alias cfg_downIconsLock: downIconsLock.checked
|
anchors.left: parent.left
|
||||||
property alias cfg_downIconsPowerOptions: downIconsPowerOptions.checked
|
anchors.right: parent.right
|
||||||
|
|
||||||
Button {
|
Button {
|
||||||
id: iconButton
|
id: iconButton
|
||||||
|
|
||||||
Kirigami.FormData.label: i18n("Icon:")
|
Kirigami.FormData.label: i18n("Icon:")
|
||||||
|
|
||||||
implicitWidth: previewFrame.width + units.smallSpacing * 2
|
implicitWidth: previewFrame.width + Kirigami.Units.smallSpacing * 2
|
||||||
implicitHeight: previewFrame.height + units.smallSpacing * 2
|
implicitHeight: previewFrame.height + Kirigami.Units.smallSpacing * 2
|
||||||
|
|
||||||
// Just to provide some visual feedback when dragging;
|
// Just to provide some visual feedback when dragging;
|
||||||
// cannot have checked without checkable enabled
|
// cannot have checked without checkable enabled
|
||||||
|
@ -117,30 +108,30 @@ Kirigami.FormLayout {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
KQuickAddons.IconDialog {
|
KIconThemes.IconDialog {
|
||||||
id: iconDialog
|
id: iconDialog
|
||||||
|
|
||||||
function setCustomButtonImage(image) {
|
function setCustomButtonImage(image) {
|
||||||
cfg_customButtonImage = image || cfg_icon || "start-here-kde"
|
configGeneral.cfg_customButtonImage = image || configGeneral.cfg_icon || "start-here-kde-symbolic"
|
||||||
cfg_useCustomButtonImage = true;
|
configGeneral.cfg_useCustomButtonImage = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
onIconNameChanged: setCustomButtonImage(iconName);
|
onIconNameChanged: setCustomButtonImage(iconName);
|
||||||
}
|
}
|
||||||
|
|
||||||
PlasmaCore.FrameSvgItem {
|
KSvg.FrameSvgItem {
|
||||||
id: previewFrame
|
id: previewFrame
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
imagePath: plasmoid.location === PlasmaCore.Types.Vertical || plasmoid.location === PlasmaCore.Types.Horizontal
|
imagePath: Plasmoid.location === PlasmaCore.Types.Vertical || Plasmoid.location === PlasmaCore.Types.Horizontal
|
||||||
? "widgets/panel-background" : "widgets/background"
|
? "widgets/panel-background" : "widgets/background"
|
||||||
width: units.iconSizes.large + fixedMargins.left + fixedMargins.right
|
width: Kirigami.Units.iconSizes.large + fixedMargins.left + fixedMargins.right
|
||||||
height: units.iconSizes.large + fixedMargins.top + fixedMargins.bottom
|
height: Kirigami.Units.iconSizes.large + fixedMargins.top + fixedMargins.bottom
|
||||||
|
|
||||||
PlasmaCore.IconItem {
|
Kirigami.Icon {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
width: units.iconSizes.large
|
width: Kirigami.Units.iconSizes.large
|
||||||
height: width
|
height: width
|
||||||
source: cfg_useCustomButtonImage ? cfg_customButtonImage : cfg_icon
|
source: configGeneral.cfg_useCustomButtonImage ? configGeneral.cfg_customButtonImage : configGeneral.cfg_icon
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -153,7 +144,7 @@ Kirigami.FormLayout {
|
||||||
onClosed: iconButton.checked = false;
|
onClosed: iconButton.checked = false;
|
||||||
|
|
||||||
MenuItem {
|
MenuItem {
|
||||||
text: i18nc("@item:inmenu Open icon chooser dialog", "Choose...")
|
text: i18nc("@item:inmenu Open icon chooser dialog", "Choose…")
|
||||||
icon.name: "document-open-folder"
|
icon.name: "document-open-folder"
|
||||||
onClicked: iconDialog.open()
|
onClicked: iconDialog.open()
|
||||||
}
|
}
|
||||||
|
@ -161,198 +152,81 @@ Kirigami.FormLayout {
|
||||||
text: i18nc("@item:inmenu Reset icon to default", "Clear Icon")
|
text: i18nc("@item:inmenu Reset icon to default", "Clear Icon")
|
||||||
icon.name: "edit-clear"
|
icon.name: "edit-clear"
|
||||||
onClicked: {
|
onClicked: {
|
||||||
cfg_icon = "start-here-kde"
|
configGeneral.cfg_icon = "start-here-kde-symbolic"
|
||||||
cfg_useCustomButtonImage = false
|
configGeneral.cfg_useCustomButtonImage = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Item {
|
|
||||||
Kirigami.FormData.isSection: true
|
|
||||||
}
|
|
||||||
|
|
||||||
ComboBox {
|
|
||||||
id: menuPosition
|
|
||||||
|
|
||||||
Kirigami.FormData.label: i18n("Menu Position:")
|
|
||||||
|
|
||||||
model: [i18n("Center"), i18n("On Edge"), i18n("Auto")]
|
|
||||||
}
|
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
Kirigami.FormData.isSection: true
|
Kirigami.FormData.isSection: true
|
||||||
}
|
}
|
||||||
|
|
||||||
ComboBox {
|
ComboBox {
|
||||||
id: favGridModel
|
id: appsIconSize
|
||||||
|
Kirigami.FormData.label: i18n("Apps icon size:")
|
||||||
Kirigami.FormData.label: i18n("Pinned item:")
|
Layout.fillWidth: true
|
||||||
|
model: [i18n("Small"),i18n("Medium"),i18n("Large"), i18n("Huge")]
|
||||||
model: [i18n("Favourite apps"), i18n("Recent apps"), i18n("Recent documents")]
|
|
||||||
}
|
|
||||||
|
|
||||||
Item {
|
|
||||||
Kirigami.FormData.isSection: true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ComboBox {
|
ComboBox {
|
||||||
id: recentGridModel
|
id: docsIconSize
|
||||||
|
Kirigami.FormData.label: i18n("Docs icon size:")
|
||||||
Kirigami.FormData.label: i18n("Recommended item:")
|
Layout.fillWidth: true
|
||||||
|
model: [i18n("Small"),i18n("Medium"),i18n("Large"), i18n("Huge")]
|
||||||
model: [i18n("Recent documents"), i18n("Recent apps"), i18n("Favourite apps"), i18n("None")]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
|
||||||
Kirigami.FormData.isSection: true
|
ComboBox {
|
||||||
|
|
||||||
|
Kirigami.FormData.label: i18n("Menu position")
|
||||||
|
id: displayPosition
|
||||||
|
model: [
|
||||||
|
i18n("Default"),
|
||||||
|
i18n("Center"),
|
||||||
|
i18n("Center bottom"),
|
||||||
|
]
|
||||||
|
//onActivated: cfg_displayPosition = currentIndex
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
CheckBox {
|
||||||
|
id: labels2lines
|
||||||
|
text: i18n("Show labels in two lines")
|
||||||
|
visible: false // TODO
|
||||||
}
|
}
|
||||||
|
|
||||||
SpinBox{
|
SpinBox{
|
||||||
id: numberColumns
|
id: numberColumns
|
||||||
|
|
||||||
Kirigami.FormData.label: i18n("Number of columns in grid:")
|
from: 3
|
||||||
|
to: 15
|
||||||
|
Kirigami.FormData.label: i18n("Number of columns")
|
||||||
|
|
||||||
from: 4
|
|
||||||
to: 10
|
|
||||||
}
|
}
|
||||||
|
|
||||||
SpinBox{
|
SpinBox{
|
||||||
id: numberRows
|
id: numberRows
|
||||||
|
|
||||||
Kirigami.FormData.label: i18n("Number of rows in grid:")
|
|
||||||
|
|
||||||
from: 1
|
from: 1
|
||||||
to: 10
|
to: 15
|
||||||
|
Kirigami.FormData.label: i18n("Number of rows")
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
RowLayout{
|
||||||
Kirigami.FormData.isSection: true
|
|
||||||
|
visible: false
|
||||||
|
Button {
|
||||||
|
text: i18n("Unhide all hidden applications")
|
||||||
|
onClicked: {
|
||||||
|
plasmoid.configuration.hiddenApplications = [""];
|
||||||
|
unhideAllAppsPopup.text = i18n("Unhidden!");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Label {
|
||||||
|
id: unhideAllAppsPopup
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
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")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,65 +1,36 @@
|
||||||
/*
|
import QtQuick 2.4
|
||||||
* Copyright 2014 Sebastian Kügler <sebas@kde.org>
|
import QtQuick.Layouts 1.1
|
||||||
* 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.Controls 2.12
|
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.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.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
|
import org.kde.plasma.private.quicklaunch 1.0
|
||||||
|
|
||||||
Control {
|
import org.kde.kirigami as Kirigami
|
||||||
id: footer
|
import org.kde.plasma.plasma5support 2.0 as P5Support
|
||||||
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 {
|
import org.kde.plasma.private.sessions as Sessions
|
||||||
color: Qt.darker(theme.backgroundColor)
|
|
||||||
opacity: .115
|
|
||||||
border.width: 1
|
|
||||||
border.color: "#cacbd0"
|
|
||||||
radius: 5
|
|
||||||
}
|
|
||||||
|
|
||||||
|
RowLayout{
|
||||||
|
|
||||||
KCoreAddons.KUser {
|
spacing: Kirigami.Units.largeSpacing
|
||||||
id: kuser
|
|
||||||
}
|
KCoreAddons.KUser { id: kuser }
|
||||||
Logic { id: logic }
|
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
|
|
||||||
|
|
||||||
PlasmaCore.DataSource {
|
P5Support.DataSource {
|
||||||
id: pmEngine
|
id: pmEngine
|
||||||
engine: "powermanagement"
|
engine: "powermanagement"
|
||||||
connectedSources: ["PowerDevil", "Sleep States"]
|
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)
|
|
||||||
}
|
|
||||||
|
|
||||||
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 {
|
Image {
|
||||||
id: iconUser
|
id: iconUser
|
||||||
source: kuser.faceIconUrl.toString() || "user-identity"
|
source: kuser.faceIconUrl.toString() || "user-identity"
|
||||||
cache: false
|
cache: false
|
||||||
visible: source !== ""
|
visible: source !== ""
|
||||||
|
sourceSize.height: parent.height * 0.9
|
||||||
|
sourceSize.width: parent.height * 0.9
|
||||||
fillMode: Image.PreserveAspectFit
|
fillMode: Image.PreserveAspectFit
|
||||||
anchors {
|
Layout.alignment: Qt.AlignVCenter
|
||||||
fill: parent
|
|
||||||
margins: PlasmaCore.Units.smallSpacing
|
// 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
|
||||||
|
// }
|
||||||
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
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 {
|
PlasmaExtras.Heading {
|
||||||
id: nameLabel
|
wrapMode: Text.NoWrap
|
||||||
anchors.fill: parent
|
color: Kirigami.Theme.textColor
|
||||||
|
level: 3
|
||||||
level: 4
|
font.bold: true
|
||||||
// font.weight: Font.Bold
|
//font.weight: Font.Bold
|
||||||
Text {
|
text: qsTr(kuser.fullName)
|
||||||
font.capitalization: Font.Capitalize
|
|
||||||
}
|
|
||||||
text: plasmoid.configuration.preferFullName ? kuser.fullName : kuser.loginName
|
|
||||||
elide: Text.ElideRight
|
|
||||||
horizontalAlignment: Text.AlignLeft
|
|
||||||
verticalAlignment: Text.AlignVCenter
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
RowLayout {
|
Item{
|
||||||
anchors.rightMargin: units.largeSpacing * 3 - footer.rightPadding - footer.anchors.leftMargin
|
Layout.fillWidth: true
|
||||||
anchors.right: parent.right
|
|
||||||
x: -units.smallSpacing
|
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
|
||||||
|
|
||||||
// looks visually balanced that way
|
|
||||||
spacing: Math.round(PlasmaCore.Units.smallSpacing * 2.5)
|
|
||||||
|
|
||||||
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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
icon {
|
Sessions.SessionManagement {
|
||||||
name: footerIcons[index]
|
id: sm
|
||||||
width: iconSize * (plasmoid.configuration.reduceIconSizeFooter ? 0.97 : 1)
|
|
||||||
}
|
}
|
||||||
onHoveredChanged: hovered ? animateOpacity.start() : animateOpacityReverse.start();
|
|
||||||
PlasmaComponents.ToolTip {
|
Sessions.SessionsModel {
|
||||||
text: i18n(footerNames[index])
|
id: sessionsModel
|
||||||
}
|
|
||||||
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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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")
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,38 +1,28 @@
|
||||||
/***************************************************************************
|
/*
|
||||||
* Copyright (C) 2015 by Eike Hein <hein@kde.org> *
|
SPDX-FileCopyrightText: 2015 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 QtQuick 2.12
|
SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
import QtQuick.Layouts 1.12
|
*/
|
||||||
|
|
||||||
import org.kde.plasma.core 2.0 as PlasmaCore
|
import QtQuick
|
||||||
import org.kde.plasma.components 3.0 as PlasmaComponents
|
|
||||||
|
|
||||||
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 {
|
Item {
|
||||||
id: item
|
id: item
|
||||||
|
|
||||||
width: GridView.view.cellWidth
|
width: GridView.view.cellWidth
|
||||||
height: GridView.view.cellHeight
|
height: GridView.view.cellHeight
|
||||||
|
|
||||||
|
enabled: !model.disabled
|
||||||
|
|
||||||
|
property int iconSize
|
||||||
property bool showLabel: true
|
property bool showLabel: true
|
||||||
property bool showDescription: false
|
|
||||||
property bool increaseLeftSpacing: false
|
|
||||||
property int itemIndex: model.index
|
property int itemIndex: model.index
|
||||||
property string favoriteId: model.favoriteId !== undefined ? model.favoriteId : ""
|
property string favoriteId: model.favoriteId !== undefined ? model.favoriteId : ""
|
||||||
property url url: model.url !== undefined ? model.url : ""
|
property url url: model.url !== undefined ? model.url : ""
|
||||||
|
@ -41,8 +31,10 @@ Item {
|
||||||
property bool hasActionList: ((model.favoriteId !== null)
|
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.role: Accessible.MenuItem
|
||||||
Accessible.name: model.display
|
Accessible.name: model.display
|
||||||
|
|
||||||
function openActionMenu(x, y) {
|
function openActionMenu(x, y) {
|
||||||
var actionList = hasActionList ? model.actionList : [];
|
var actionList = hasActionList ? model.actionList : [];
|
||||||
Tools.fillActionMenu(i18n, actionMenu, actionList, GridView.view.model.favoritesModel, model.favoriteId);
|
Tools.fillActionMenu(i18n, actionMenu, actionList, GridView.view.model.favoritesModel, model.favoriteId);
|
||||||
|
@ -57,64 +49,63 @@ Item {
|
||||||
root.toggle();
|
root.toggle();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
PlasmaCore.IconItem {
|
|
||||||
|
|
||||||
|
Kirigami.Icon {
|
||||||
id: icon
|
id: icon
|
||||||
x: increaseLeftSpacing ? units.smallSpacing : 0
|
y: item.showLabel ? (2 * highlightItemSvg.margins.top) : undefined
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
anchors.verticalCenter: item.showLabel ? undefined : parent.verticalCenter
|
||||||
|
|
||||||
width: iconSize
|
width: iconSize
|
||||||
height: width
|
height: width
|
||||||
colorGroup: PlasmaCore.Theme.ComplementaryColorGroup
|
|
||||||
animated: false
|
animated: false
|
||||||
usesPlasmaTheme: item.GridView.view.usesPlasmaTheme
|
|
||||||
source: model.decoration
|
source: model.decoration
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PlasmaComponents3.Label {
|
||||||
ColumnLayout {
|
|
||||||
width: parent.width * 0.75
|
|
||||||
visible: showLabel
|
|
||||||
anchors {
|
|
||||||
left: icon.right
|
|
||||||
leftMargin: PlasmaCore.Units.smallSpacing * 4
|
|
||||||
rightMargin: anchors.leftMargin / 2
|
|
||||||
verticalCenter: parent.verticalCenter
|
|
||||||
}
|
|
||||||
spacing: 0
|
|
||||||
|
|
||||||
PlasmaComponents.Label {
|
|
||||||
id: label
|
id: label
|
||||||
Layout.maximumWidth: parent.width
|
|
||||||
|
visible: item.showLabel
|
||||||
|
|
||||||
|
anchors {
|
||||||
|
top: icon.bottom
|
||||||
|
topMargin: Kirigami.Units.smallSpacing
|
||||||
|
left: parent.left
|
||||||
|
leftMargin: highlightItemSvg.margins.left
|
||||||
|
right: parent.right
|
||||||
|
rightMargin: highlightItemSvg.margins.right
|
||||||
|
}
|
||||||
|
|
||||||
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
|
||||||
maximumLineCount: 1
|
maximumLineCount: 1
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideMiddle
|
||||||
wrapMode: Text.Wrap
|
wrapMode: Text.Wrap
|
||||||
font.pointSize: 9
|
|
||||||
color: theme.textColor
|
color: Kirigami.Theme.textColor
|
||||||
|
|
||||||
|
font.pointSize: Kirigami.Theme.defaultFont.pointSize //+ 0.5
|
||||||
text: ("name" in model ? model.name : model.display)
|
text: ("name" in model ? model.name : model.display)
|
||||||
|
textFormat: Text.PlainText
|
||||||
}
|
}
|
||||||
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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
PlasmaCore.ToolTipArea {
|
PlasmaCore.ToolTipArea {
|
||||||
id: toolTip
|
id: toolTip
|
||||||
|
|
||||||
property string text: model.display
|
property string text: model.display
|
||||||
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
active: label.truncated
|
active: root.visible && label.truncated
|
||||||
mainItem: toolTipDelegate
|
mainItem: toolTipDelegate
|
||||||
|
|
||||||
onContainsMouseChanged: item.GridView.view.itemContainsMouseChanged(containsMouse)
|
onContainsMouseChanged: item.GridView.view.itemContainsMouseChanged(containsMouse)
|
||||||
}
|
}
|
||||||
|
|
||||||
Keys.onPressed: {
|
Keys.onPressed: event => {
|
||||||
if (event.key === Qt.Key_Menu && hasActionList) {
|
if (event.key === Qt.Key_Menu && hasActionList) {
|
||||||
event.accepted = true;
|
event.accepted = true;
|
||||||
openActionMenu(item);
|
openActionMenu(item);
|
||||||
|
|
|
@ -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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,30 +1,16 @@
|
||||||
/***************************************************************************
|
/*
|
||||||
* Copyright (C) 2015 by Eike Hein <hein@kde.org> *
|
SPDX-FileCopyrightText: 2015 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 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.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 {
|
FocusScope {
|
||||||
id: itemGrid
|
id: itemGrid
|
||||||
|
@ -39,23 +25,20 @@ FocusScope {
|
||||||
property bool dragEnabled: true
|
property bool dragEnabled: true
|
||||||
property bool dropEnabled: false
|
property bool dropEnabled: false
|
||||||
property bool showLabels: true
|
property bool showLabels: true
|
||||||
property bool increaseLeftSpacings: false
|
property int itemColumns
|
||||||
property alias usesPlasmaTheme: gridView.usesPlasmaTheme
|
|
||||||
|
|
||||||
property alias currentIndex: gridView.currentIndex
|
property alias currentIndex: gridView.currentIndex
|
||||||
property alias currentItem: gridView.currentItem
|
property alias currentItem: gridView.currentItem
|
||||||
property alias contentItem: gridView.contentItem
|
property alias contentItem: gridView.contentItem
|
||||||
property alias count: gridView.count
|
property alias count: gridView.count
|
||||||
property alias model: gridView.model
|
property alias model: gridView.model
|
||||||
property alias square: gridView.square
|
|
||||||
property alias showDescriptions: gridView.showDescriptions
|
|
||||||
|
|
||||||
property alias cellWidth: gridView.cellWidth
|
property alias cellWidth: gridView.cellWidth
|
||||||
property alias cellHeight: gridView.cellHeight
|
property alias cellHeight: gridView.cellHeight
|
||||||
property alias iconSize: gridView.iconSize
|
property int iconSize
|
||||||
|
|
||||||
property alias horizontalScrollBarPolicy: scrollArea.horizontalScrollBarPolicy
|
property var horizontalScrollBarPolicy: PlasmaComponents.ScrollBar.AlwaysOff
|
||||||
property alias verticalScrollBarPolicy: scrollArea.verticalScrollBarPolicy
|
property var verticalScrollBarPolicy: PlasmaComponents.ScrollBar.AlwaysOn
|
||||||
|
|
||||||
onDropEnabledChanged: {
|
onDropEnabledChanged: {
|
||||||
if (!dropEnabled && "dropPlaceHolderIndex" in model) {
|
if (!dropEnabled && "dropPlaceHolderIndex" in model) {
|
||||||
|
@ -64,35 +47,36 @@ FocusScope {
|
||||||
}
|
}
|
||||||
|
|
||||||
onFocusChanged: {
|
onFocusChanged: {
|
||||||
|
//if (!focus && !root.keyEventProxy.activeFocus) {
|
||||||
if (!focus) {
|
if (!focus) {
|
||||||
currentIndex = -1;
|
currentIndex = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function currentRow() {
|
function currentRow() {
|
||||||
if (currentIndex == -1) {
|
if (currentIndex === -1) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return Math.floor(currentIndex / Math.floor(width / cellWidth));
|
return Math.floor(currentIndex / Math.floor(width / itemGrid.cellWidth));
|
||||||
}
|
}
|
||||||
|
|
||||||
function currentCol() {
|
function currentCol() {
|
||||||
if (currentIndex == -1) {
|
if (currentIndex === -1) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return currentIndex - (currentRow() * Math.floor(width / cellWidth));
|
return currentIndex - (currentRow() * Math.floor(width / itemGrid.cellWidth));
|
||||||
}
|
}
|
||||||
|
|
||||||
function lastRow() {
|
function lastRow() {
|
||||||
var columns = Math.floor(width / cellWidth);
|
var columns = Math.floor(width / itemGrid.cellWidth);
|
||||||
return Math.ceil(count / columns) - 1;
|
return Math.ceil(count / columns) - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
function tryActivate(row, col) {
|
function tryActivate(row, col) {
|
||||||
if (count) {
|
if (count) {
|
||||||
var columns = Math.floor(width / cellWidth);
|
var columns = Math.floor(width / itemGrid.cellWidth);
|
||||||
var rows = Math.ceil(count / columns);
|
var rows = Math.ceil(count / columns);
|
||||||
row = Math.min(row, rows - 1);
|
row = Math.min(row, rows - 1);
|
||||||
col = Math.min(col, columns - 1);
|
col = Math.min(col, columns - 1);
|
||||||
|
@ -119,14 +103,16 @@ FocusScope {
|
||||||
DropArea {
|
DropArea {
|
||||||
id: dropArea
|
id: dropArea
|
||||||
|
|
||||||
anchors.fill: parent
|
width: itemGrid.width
|
||||||
|
height: itemGrid.height
|
||||||
|
//anchors.fill: parent
|
||||||
|
|
||||||
onDragMove: {
|
onPositionChanged: event => {
|
||||||
if (!dropEnabled || gridView.animating || !kicker.dragSource) {
|
if (!itemGrid.dropEnabled || gridView.animating || !kicker.dragSource) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var x = Math.max(0, event.x - (width % cellWidth));
|
var x = Math.max(0, event.x - (width % itemGrid.cellWidth));
|
||||||
var cPos = mapToItem(gridView.contentItem, x, event.y);
|
var cPos = mapToItem(gridView.contentItem, x, event.y);
|
||||||
var item = gridView.itemAt(cPos.x, cPos.y);
|
var item = gridView.itemAt(cPos.x, cPos.y);
|
||||||
|
|
||||||
|
@ -135,42 +121,42 @@ FocusScope {
|
||||||
if (item !== kicker.dragSource) {
|
if (item !== kicker.dragSource) {
|
||||||
item.GridView.view.model.moveRow(dragSource.itemIndex, item.itemIndex);
|
item.GridView.view.model.moveRow(dragSource.itemIndex, item.itemIndex);
|
||||||
}
|
}
|
||||||
} else if (kicker.dragSource.GridView.view.model.favoritesModel === model
|
} else if (kicker.dragSource.GridView.view.model.favoritesModel === itemGrid.model
|
||||||
&& !model.isFavorite(kicker.dragSource.favoriteId)) {
|
&& !itemGrid.model.isFavorite(kicker.dragSource.favoriteId)) {
|
||||||
var hasPlaceholder = (model.dropPlaceholderIndex !== -1);
|
var hasPlaceholder = (itemGrid.model.dropPlaceholderIndex !== -1);
|
||||||
|
|
||||||
model.dropPlaceholderIndex = item.itemIndex;
|
itemGrid.model.dropPlaceholderIndex = item.itemIndex;
|
||||||
|
|
||||||
if (!hasPlaceholder) {
|
if (!hasPlaceholder) {
|
||||||
gridView.currentIndex = (item.itemIndex - 1);
|
gridView.currentIndex = (item.itemIndex - 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (kicker.dragSource.parent !== gridView.contentItem
|
} else if (kicker.dragSource.parent !== gridView.contentItem
|
||||||
&& kicker.dragSource.GridView.view.model.favoritesModel === model
|
&& kicker.dragSource.GridView.view.model.favoritesModel === itemGrid.model
|
||||||
&& !model.isFavorite(kicker.dragSource.favoriteId)) {
|
&& !itemGrid.model.isFavorite(kicker.dragSource.favoriteId)) {
|
||||||
var hasPlaceholder = (model.dropPlaceholderIndex !== -1);
|
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) {
|
if (!hasPlaceholder) {
|
||||||
gridView.currentIndex = (model.count - 1);
|
gridView.currentIndex = (itemGrid.model.count - 1);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
model.dropPlaceholderIndex = -1;
|
itemGrid.model.dropPlaceholderIndex = -1;
|
||||||
gridView.currentIndex = -1;
|
gridView.currentIndex = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
onDragLeave: {
|
onExited: {
|
||||||
if ("dropPlaceholderIndex" in model) {
|
if ("dropPlaceholderIndex" in itemGrid.model) {
|
||||||
model.dropPlaceholderIndex = -1;
|
itemGrid.model.dropPlaceholderIndex = -1;
|
||||||
gridView.currentIndex = -1;
|
gridView.currentIndex = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
onDrop: {
|
onDropped: {
|
||||||
if (kicker.dragSource && kicker.dragSource.parent !== gridView.contentItem && kicker.dragSource.GridView.view.model.favoritesModel === model) {
|
if (kicker.dragSource && kicker.dragSource.parent !== gridView.contentItem && kicker.dragSource.GridView.view.model.favoritesModel === itemGrid.model) {
|
||||||
model.addFavorite(kicker.dragSource.favoriteId, model.dropPlaceholderIndex);
|
itemGrid.model.addFavorite(kicker.dragSource.favoriteId, itemGrid.model.dropPlaceholderIndex);
|
||||||
gridView.currentIndex = -1;
|
gridView.currentIndex = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -188,43 +174,49 @@ FocusScope {
|
||||||
|
|
||||||
Component{
|
Component{
|
||||||
id: aItemGridDelegate2
|
id: aItemGridDelegate2
|
||||||
ItemGridDelegate2 {
|
ItemGridDelegateColumns {
|
||||||
showLabel: showLabels
|
showLabel: showLabels
|
||||||
|
itemColumns: itemGrid.itemColumns
|
||||||
|
iconSize: itemGrid.iconSize
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Component{
|
Component{
|
||||||
id: aItemGridDelegate
|
id: aItemGridDelegate
|
||||||
ItemGridDelegate {
|
ItemGridDelegate {
|
||||||
showLabel: showLabels
|
showLabel: itemGrid.showLabels
|
||||||
showDescription: showDescriptions
|
itemColumns: itemGrid.itemColumns
|
||||||
increaseLeftSpacing: increaseLeftSpacings
|
iconSize: itemGrid.iconSize
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
PlasmaExtras.ScrollArea {
|
PlasmaComponents.ScrollView {
|
||||||
id: scrollArea
|
id: scrollArea
|
||||||
|
|
||||||
anchors.fill: parent
|
//anchors.fill: parent
|
||||||
|
width: itemGrid.width
|
||||||
|
height: itemGrid.height
|
||||||
|
|
||||||
|
|
||||||
focus: true
|
focus: true
|
||||||
|
|
||||||
horizontalScrollBarPolicy: Qt.ScrollBarAlwaysOff
|
PlasmaComponents.ScrollBar.horizontal.policy: itemGrid.horizontalScrollBarPolicy
|
||||||
verticalScrollBarPolicy: Qt.ScrollBarAsNeeded
|
PlasmaComponents.ScrollBar.vertical.policy: itemGrid.verticalScrollBarPolicy
|
||||||
|
|
||||||
GridView {
|
GridView {
|
||||||
id: gridView
|
id: gridView
|
||||||
|
|
||||||
|
width: itemGrid.width
|
||||||
|
height: itemGrid.height
|
||||||
|
|
||||||
signal itemContainsMouseChanged(bool containsMouse)
|
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 bool animating: false
|
||||||
property int animationDuration: dropEnabled ? resetAnimationDurationTimer.interval : 0
|
property int animationDuration: itemGrid.dropEnabled ? resetAnimationDurationTimer.interval : 0
|
||||||
property bool square: false
|
|
||||||
property bool showDescriptions: false
|
|
||||||
|
|
||||||
focus: true
|
focus: true
|
||||||
|
|
||||||
currentIndex: -1
|
currentIndex: -1
|
||||||
|
|
||||||
move: Transition {
|
move: Transition {
|
||||||
|
@ -262,44 +254,14 @@ FocusScope {
|
||||||
keyNavigationWraps: false
|
keyNavigationWraps: false
|
||||||
boundsBehavior: Flickable.StopAtBounds
|
boundsBehavior: Flickable.StopAtBounds
|
||||||
|
|
||||||
delegate: square ? aItemGridDelegate2 : aItemGridDelegate
|
delegate: itemColumns == 1 ? aItemGridDelegate : aItemGridDelegate2
|
||||||
|
highlight: Rectangle { color: colorWithAlpha(Kirigami.Theme.highlightColor,0.5); radius: 6 }
|
||||||
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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
highlightFollowsCurrentItem: true
|
highlightFollowsCurrentItem: true
|
||||||
highlightMoveDuration: 0
|
highlightMoveDuration: 0
|
||||||
|
|
||||||
onCurrentIndexChanged: {
|
onCurrentIndexChanged: {
|
||||||
if (currentIndex != -1) {
|
if (currentIndex !== -1) {
|
||||||
hoverArea.hoverEnabled = false
|
hoverArea.hoverEnabled = false
|
||||||
focus = true;
|
focus = true;
|
||||||
}
|
}
|
||||||
|
@ -314,8 +276,8 @@ FocusScope {
|
||||||
currentIndex = -1;
|
currentIndex = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
Keys.onLeftPressed: {
|
Keys.onLeftPressed: event => {
|
||||||
if (currentCol() !== 0) {
|
if (itemGrid.currentCol() !== 0) {
|
||||||
event.accepted = true;
|
event.accepted = true;
|
||||||
moveCurrentIndexLeft();
|
moveCurrentIndexLeft();
|
||||||
} else {
|
} else {
|
||||||
|
@ -323,10 +285,10 @@ FocusScope {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Keys.onRightPressed: {
|
Keys.onRightPressed: event => {
|
||||||
var columns = Math.floor(width / cellWidth);
|
var columns = Math.floor(width / cellWidth);
|
||||||
|
|
||||||
if (currentCol() !== columns - 1 && currentIndex != count - 1) {
|
if (itemGrid.currentCol() !== columns - 1 && currentIndex !== count -1) {
|
||||||
event.accepted = true;
|
event.accepted = true;
|
||||||
moveCurrentIndexRight();
|
moveCurrentIndexRight();
|
||||||
} else {
|
} else {
|
||||||
|
@ -334,8 +296,8 @@ FocusScope {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Keys.onUpPressed: {
|
Keys.onUpPressed: event => {
|
||||||
if (currentRow() !== 0) {
|
if (itemGrid.currentRow() !== 0) {
|
||||||
event.accepted = true;
|
event.accepted = true;
|
||||||
moveCurrentIndexUp();
|
moveCurrentIndexUp();
|
||||||
positionViewAtIndex(currentIndex, GridView.Contain);
|
positionViewAtIndex(currentIndex, GridView.Contain);
|
||||||
|
@ -344,8 +306,8 @@ FocusScope {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Keys.onDownPressed: {
|
Keys.onDownPressed: event => {
|
||||||
if (currentRow() < itemGrid.lastRow()) {
|
if (itemGrid.currentRow() < itemGrid.lastRow()) {
|
||||||
// Fix moveCurrentIndexDown()'s lack of proper spatial nav down
|
// Fix moveCurrentIndexDown()'s lack of proper spatial nav down
|
||||||
// into partial columns.
|
// into partial columns.
|
||||||
event.accepted = true;
|
event.accepted = true;
|
||||||
|
@ -358,7 +320,7 @@ FocusScope {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
onItemContainsMouseChanged: {
|
onItemContainsMouseChanged: containsMouse => {
|
||||||
if (!containsMouse) {
|
if (!containsMouse) {
|
||||||
if (!actionMenu.opened) {
|
if (!actionMenu.opened) {
|
||||||
gridView.currentIndex = -1;
|
gridView.currentIndex = -1;
|
||||||
|
@ -378,7 +340,9 @@ FocusScope {
|
||||||
MouseArea {
|
MouseArea {
|
||||||
id: hoverArea
|
id: hoverArea
|
||||||
|
|
||||||
anchors.fill: parent
|
//anchors.fill: parent
|
||||||
|
width: itemGrid.width - Kirigami.Units.gridUnit
|
||||||
|
height: itemGrid.height
|
||||||
|
|
||||||
property int pressX: -1
|
property int pressX: -1
|
||||||
property int pressY: -1
|
property int pressY: -1
|
||||||
|
@ -409,14 +373,15 @@ FocusScope {
|
||||||
gridView.currentIndex = -1;
|
gridView.currentIndex = -1;
|
||||||
pressedItem = null;
|
pressedItem = null;
|
||||||
} else {
|
} else {
|
||||||
|
itemGrid.focus = (item.itemIndex !== -1)
|
||||||
|
itemGrid.forceActiveFocus() //<>
|
||||||
gridView.currentIndex = item.itemIndex;
|
gridView.currentIndex = item.itemIndex;
|
||||||
itemGrid.focus = (currentIndex != -1)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return item;
|
return item;
|
||||||
}
|
}
|
||||||
|
|
||||||
onPressed: {
|
onPressed: mouse => {
|
||||||
mouse.accepted = true;
|
mouse.accepted = true;
|
||||||
|
|
||||||
updatePositionProperties(mouse.x, mouse.y);
|
updatePositionProperties(mouse.x, mouse.y);
|
||||||
|
@ -424,52 +389,56 @@ FocusScope {
|
||||||
pressX = mouse.x;
|
pressX = mouse.x;
|
||||||
pressY = mouse.y;
|
pressY = mouse.y;
|
||||||
|
|
||||||
if (mouse.button == Qt.RightButton) {
|
if (mouse.button === Qt.RightButton) {
|
||||||
if (gridView.currentItem) {
|
if (gridView.currentItem) {
|
||||||
if (gridView.currentItem.hasActionList) {
|
if (gridView.currentItem.hasActionList) {
|
||||||
var mapped = mapToItem(gridView.currentItem, mouse.x, mouse.y);
|
var mapped = mapToItem(gridView.currentItem, mouse.x, mouse.y);
|
||||||
gridView.currentItem.openActionMenu(mapped.x, mapped.y);
|
gridView.currentItem.openActionMenu(mapped.x, mapped.y);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
var mapped = mapToItem(rootItem, mouse.x, mouse.y);
|
||||||
|
contextMenu.open(mapped.x, mapped.y);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
pressedItem = gridView.currentItem;
|
pressedItem = gridView.currentItem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
onReleased: {
|
onReleased: mouse => {
|
||||||
mouse.accepted = true;
|
mouse.accepted = true;
|
||||||
updatePositionProperties(mouse.x, mouse.y);
|
updatePositionProperties(mouse.x, mouse.y);
|
||||||
|
|
||||||
if (gridView.currentItem && gridView.currentItem == pressedItem) {
|
if (!dragHelper.dragging) {
|
||||||
|
if (pressedItem) {
|
||||||
if ("trigger" in gridView.model) {
|
if ("trigger" in gridView.model) {
|
||||||
gridView.model.trigger(pressedItem.itemIndex, "", null);
|
gridView.model.trigger(pressedItem.itemIndex, "", null);
|
||||||
root.toggle();
|
root.toggle();
|
||||||
}
|
}
|
||||||
|
|
||||||
itemGrid.itemActivated(pressedItem.itemIndex, "", null);
|
itemGrid.itemActivated(pressedItem.itemIndex, "", null);
|
||||||
} else if (!dragHelper.dragging && !pressedItem && mouse.button == Qt.LeftButton) {
|
} else if (mouse.button === Qt.LeftButton) {
|
||||||
root.toggle();
|
root.toggle();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
pressX = -1;
|
pressX = pressY = -1;
|
||||||
pressY = -1;
|
|
||||||
pressedItem = null;
|
pressedItem = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
onPositionChanged: {
|
onPositionChanged: mouse => {
|
||||||
var item = pressedItem ? pressedItem : updatePositionProperties(mouse.x, mouse.y);
|
var item = pressedItem? pressedItem : updatePositionProperties(mouse.x, mouse.y);
|
||||||
|
|
||||||
if (gridView.currentIndex != -1) {
|
if (gridView.currentIndex !== -1) {
|
||||||
if (dragEnabled && pressX != -1 && dragHelper.isDrag(pressX, pressY, mouse.x, mouse.y)) {
|
if (itemGrid.dragEnabled && pressX !== -1 && dragHelper.isDrag(pressX, pressY, mouse.x, mouse.y)) {
|
||||||
if ("pluginName" in item.m) {
|
if ("pluginName" in item.m) {
|
||||||
dragHelper.startDrag(kicker, item.url, item.icon,
|
dragHelper.startDrag(kicker, item.url, item.icon,
|
||||||
"text/x-plasmoidservicename", item.m.pluginName);
|
"text/x-plasmoidservicename", item.m.pluginName);
|
||||||
} else {
|
} else {
|
||||||
dragHelper.startDrag(kicker, item.url, item.icon);
|
// console.log(kicker, item.url, item.icon);
|
||||||
|
// dragHelper.startDrag(kicker, item.url, item.icon);
|
||||||
|
dragHelper.startDrag(kicker,item.url);
|
||||||
}
|
}
|
||||||
|
|
||||||
kicker.dragSource = item;
|
kicker.dragSource = item;
|
||||||
|
|
||||||
pressX = -1;
|
pressX = -1;
|
||||||
pressY = -1;
|
pressY = -1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,39 +1,28 @@
|
||||||
/***************************************************************************
|
/*
|
||||||
* Copyright (C) 2015 by Eike Hein <hein@kde.org> *
|
SPDX-FileCopyrightText: 2015 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 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.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 org.kde.plasma.private.kicker 0.1 as Kicker
|
||||||
import QtQuick.Controls 2.1
|
import org.kde.plasma.plasmoid
|
||||||
PlasmaExtras.ScrollArea {
|
|
||||||
//
|
PlasmaComponents.ScrollView {
|
||||||
id: itemMultiGrid
|
id: itemMultiGrid
|
||||||
|
|
||||||
anchors {
|
//anchors {
|
||||||
top: parent.top
|
// top: parent.top
|
||||||
}
|
//}
|
||||||
|
|
||||||
width: parent.width
|
width: parent.width
|
||||||
implicitHeight: itemColumn.implicitHeight + units.largeSpacing
|
|
||||||
|
implicitHeight: itemColumn.implicitHeight
|
||||||
|
|
||||||
signal keyNavLeft(int subGridIndex)
|
signal keyNavLeft(int subGridIndex)
|
||||||
signal keyNavRight(int subGridIndex)
|
signal keyNavRight(int subGridIndex)
|
||||||
|
@ -41,31 +30,21 @@ PlasmaExtras.ScrollArea {
|
||||||
signal keyNavDown()
|
signal keyNavDown()
|
||||||
|
|
||||||
property bool grabFocus: false
|
property bool grabFocus: false
|
||||||
property bool showDescriptions: false
|
|
||||||
property int iconSize: units.iconSizes.medium
|
|
||||||
|
|
||||||
property alias model: repeater.model
|
property alias model: repeater.model
|
||||||
property alias count: repeater.count
|
property alias count: repeater.count
|
||||||
|
property alias flickableItem: flickable
|
||||||
|
|
||||||
//clip: true
|
property int itemColumns
|
||||||
verticalScrollBarPolicy: Qt.ScrollBarAsNeeded
|
property int cellWidth
|
||||||
|
property int cellHeight
|
||||||
flickableItem.flickableDirection: Flickable.VerticalFlick
|
|
||||||
|
|
||||||
onFocusChanged: {
|
|
||||||
if (!focus) {
|
|
||||||
for (var i = 0; i < repeater.count; i++) {
|
|
||||||
subGridAt(i).focus = false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function subGridAt(index) {
|
function subGridAt(index) {
|
||||||
return repeater.itemAt(index).itemGrid;
|
return repeater.itemAt(index).itemGrid;
|
||||||
}
|
}
|
||||||
|
|
||||||
function tryActivate(row, col) { // FIXME TODO: Cleanup messy algo.
|
function tryActivate(row, col) { // FIXME TODO: Cleanup messy algo.
|
||||||
if (flickableItem.contentY > 0) {
|
if (flickable.contentY > 0) {
|
||||||
row = 0;
|
row = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -74,7 +53,7 @@ PlasmaExtras.ScrollArea {
|
||||||
|
|
||||||
for (var i = 0; i < repeater.count; i++) {
|
for (var i = 0; i < repeater.count; i++) {
|
||||||
var grid = subGridAt(i);
|
var grid = subGridAt(i);
|
||||||
|
if(grid.count > 0 ){
|
||||||
if (rows <= row) {
|
if (rows <= row) {
|
||||||
target = grid;
|
target = grid;
|
||||||
rows += grid.lastRow() + 2; // Header counts as one.
|
rows += grid.lastRow() + 2; // Header counts as one.
|
||||||
|
@ -82,6 +61,7 @@ PlasmaExtras.ScrollArea {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (target) {
|
if (target) {
|
||||||
rows -= (target.lastRow() + 2);
|
rows -= (target.lastRow() + 2);
|
||||||
|
@ -89,37 +69,64 @@ PlasmaExtras.ScrollArea {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onFocusChanged: {
|
||||||
|
if (!focus) {
|
||||||
|
for (var i = 0; i < repeater.count; i++) {
|
||||||
|
subGridAt(i).focus = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Flickable {
|
||||||
|
id: flickable
|
||||||
|
|
||||||
|
flickableDirection: Flickable.VerticalFlick
|
||||||
|
contentHeight: itemColumn.implicitHeight
|
||||||
|
//focusPolicy: Qt.NoFocus
|
||||||
|
|
||||||
Column {
|
Column {
|
||||||
id: itemColumn
|
id: itemColumn
|
||||||
|
|
||||||
width: itemMultiGrid.width - units.gridUnit
|
width: itemMultiGrid.width - Kirigami.Units.gridUnit
|
||||||
|
|
||||||
Repeater {
|
Repeater {
|
||||||
id: repeater
|
id: repeater
|
||||||
|
|
||||||
delegate: Item {
|
delegate: Item {
|
||||||
|
id: itemTest
|
||||||
width: itemColumn.width
|
width: itemColumn.width
|
||||||
height: headerHeight + gridView.height + (index == repeater.count - 1 ? 0 : footerHeight)
|
height: gridView.height + gridViewLabel.height + Kirigami.Units.largeSpacing * 2
|
||||||
|
|
||||||
property int headerHeight: gridViewLabel.height
|
|
||||||
property int footerHeight: units.smallSpacing * 3
|
|
||||||
visible: gridView.count > 0
|
visible: gridView.count > 0
|
||||||
|
|
||||||
property Item itemGrid: gridView
|
property Item itemGrid: gridView
|
||||||
|
|
||||||
PlasmaExtras.Heading {
|
Kirigami.Heading {
|
||||||
id: gridViewLabel
|
id: gridViewLabel
|
||||||
|
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
//anchors.topMargin: 8
|
anchors.left: parent.left
|
||||||
x: units.smallSpacing
|
anchors.leftMargin: Kirigami.Units.smallSpacing
|
||||||
width: parent.width - x
|
//height: dummyHeading.height
|
||||||
height: dummyHeading.height
|
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
wrapMode: Text.NoWrap
|
wrapMode: Text.NoWrap
|
||||||
opacity: 1.0
|
opacity: 0.8
|
||||||
color: theme.textColor
|
color: Kirigami.Theme.textColor
|
||||||
level: 5
|
level: 3
|
||||||
font.weight: Font.Bold
|
font.bold: true
|
||||||
|
font.weight: Font.DemiBold
|
||||||
text: repeater.model.modelForRow(index).description
|
text: repeater.model.modelForRow(index).description
|
||||||
|
textFormat: Text.PlainText
|
||||||
|
}
|
||||||
|
|
||||||
|
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
|
||||||
}
|
}
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
|
@ -133,20 +140,18 @@ PlasmaExtras.ScrollArea {
|
||||||
|
|
||||||
anchors {
|
anchors {
|
||||||
top: gridViewLabel.bottom
|
top: gridViewLabel.bottom
|
||||||
topMargin: units.smallSpacing
|
topMargin: Kirigami.Units.largeSpacing
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO >
|
|
||||||
dragEnabled: false
|
|
||||||
dropEnabled: false
|
|
||||||
showDescriptions: itemMultiGrid.showDescriptions
|
|
||||||
// <
|
|
||||||
|
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: Math.ceil(count * cellHeight)
|
height: count * itemMultiGrid.cellHeight
|
||||||
cellWidth: parent.width
|
itemColumns: 3//itemMultiGrid.itemColumns
|
||||||
cellHeight: root.iconSize + (2 * highlightItemSvg.margins.top)//<>cellSize
|
cellWidth: itemMultiGrid.cellWidth
|
||||||
|
cellHeight: itemMultiGrid.cellHeight
|
||||||
iconSize: root.iconSize
|
iconSize: root.iconSize
|
||||||
|
|
||||||
|
verticalScrollBarPolicy: PlasmaComponents.ScrollBar.AlwaysOff
|
||||||
|
|
||||||
model: repeater.model.modelForRow(index)
|
model: repeater.model.modelForRow(index)
|
||||||
|
|
||||||
onFocusChanged: {
|
onFocusChanged: {
|
||||||
|
@ -168,22 +173,22 @@ PlasmaExtras.ScrollArea {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (index == 0 && currentRow() === 0) {
|
if (index == 0 && currentRow() === 0) {
|
||||||
itemMultiGrid.flickableItem.contentY = 0;
|
flickable.contentY = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var y = currentItem.y;
|
var y = currentItem.y;
|
||||||
y = contentItem.mapToItem(itemMultiGrid.flickableItem.contentItem, 0, y).y;
|
y = contentItem.mapToItem(flickable.contentItem, 0, y).y;
|
||||||
|
|
||||||
if (y < itemMultiGrid.flickableItem.contentY) {
|
if (y < flickable.contentY) {
|
||||||
itemMultiGrid.flickableItem.contentY = y;
|
flickable.contentY = y;
|
||||||
} else {
|
} else {
|
||||||
y += cellSize;
|
y += itemMultiGrid.cellHeight;
|
||||||
y -= itemMultiGrid.flickableItem.contentY;
|
y -= flickable.contentY;
|
||||||
y -= itemMultiGrid.viewport.height;
|
y -= itemMultiGrid.height;
|
||||||
|
|
||||||
if (y > 0) {
|
if (y > 0) {
|
||||||
itemMultiGrid.flickableItem.contentY += y;
|
flickable.contentY += y;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -198,8 +203,19 @@ PlasmaExtras.ScrollArea {
|
||||||
|
|
||||||
onKeyNavUp: {
|
onKeyNavUp: {
|
||||||
if (index > 0) {
|
if (index > 0) {
|
||||||
var prevGrid = subGridAt(index - 1);
|
var i;
|
||||||
|
for (i = index; i > 0 ; i--) {
|
||||||
|
var prevGrid = subGridAt(i-1);
|
||||||
|
if(prevGrid.count > 0 ){
|
||||||
prevGrid.tryActivate(prevGrid.lastRow(), currentCol());
|
prevGrid.tryActivate(prevGrid.lastRow(), currentCol());
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(i === 0){
|
||||||
|
itemMultiGrid.keyNavUp();
|
||||||
|
}
|
||||||
|
// var prevGrid = subGridAt(index - 1);
|
||||||
|
// prevGrid.tryActivate(prevGrid.lastRow(), currentCol());
|
||||||
} else {
|
} else {
|
||||||
itemMultiGrid.keyNavUp();
|
itemMultiGrid.keyNavUp();
|
||||||
}
|
}
|
||||||
|
@ -207,7 +223,18 @@ PlasmaExtras.ScrollArea {
|
||||||
|
|
||||||
onKeyNavDown: {
|
onKeyNavDown: {
|
||||||
if (index < repeater.count - 1) {
|
if (index < repeater.count - 1) {
|
||||||
subGridAt(index + 1).tryActivate(0, currentCol());
|
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 {
|
} else {
|
||||||
itemMultiGrid.keyNavDown();
|
itemMultiGrid.keyNavDown();
|
||||||
}
|
}
|
||||||
|
@ -219,8 +246,8 @@ PlasmaExtras.ScrollArea {
|
||||||
Kicker.WheelInterceptor {
|
Kicker.WheelInterceptor {
|
||||||
anchors.fill: gridView
|
anchors.fill: gridView
|
||||||
z: 1
|
z: 1
|
||||||
|
destination: findWheelArea(itemMultiGrid)
|
||||||
destination: findWheelArea(itemMultiGrid.flickableItem)
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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: i18n(showAllApps ? "All apps" : showRecents ? "Recommended" : "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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* Copyright (C) 2014 by Weng Xuetian <wengxt@gmail.com>
|
* Copyright (C) 2014 by Weng Xuetian <wengxt@gmail.com>
|
||||||
* Copyright (C) 2013-2017 by Eike Hein <hein@kde.org> *
|
* 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 *
|
* 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 *
|
* 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 . *
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
import QtQuick 2.12
|
import QtQuick 2.4
|
||||||
import QtQuick.Layouts 1.12
|
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.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 {
|
PlasmaCore.Dialog {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
objectName: "popupWindow"
|
objectName: "popupWindow"
|
||||||
|
//flags: Qt.Dialog | Qt.FramelessWindowHint
|
||||||
flags: Qt.WindowStaysOnTopHint
|
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
|
hideOnWindowDeactivate: true
|
||||||
|
|
||||||
property int iconSize: units.iconSizes.medium
|
property int iconSize:{ switch(Plasmoid.configuration.appsIconSize){
|
||||||
property int iconSizeSide: units.iconSizes.smallMedium
|
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
|
property int docsIconSize:{ switch(Plasmoid.configuration.docsIconSize){
|
||||||
+ units.largeSpacing
|
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,
|
+ (2 * Math.max(highlightItemSvg.margins.top + highlightItemSvg.margins.bottom,
|
||||||
highlightItemSvg.margins.left + highlightItemSvg.margins.right))
|
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: {
|
onVisibleChanged: {
|
||||||
if (!visible) {
|
if (visible) {
|
||||||
reset();
|
|
||||||
} else {
|
|
||||||
var pos = popupPosition(width, height);
|
var pos = popupPosition(width, height);
|
||||||
x = pos.x;
|
x = pos.x;
|
||||||
y = pos.y;
|
y = pos.y;
|
||||||
requestActivate();
|
reset();
|
||||||
|
}else{
|
||||||
|
view.currentIndex = 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -63,98 +103,507 @@ PlasmaCore.Dialog {
|
||||||
y = pos.y;
|
y = pos.y;
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggle() {
|
function toggle(){
|
||||||
root.visible = false;
|
root.visible = !root.visible
|
||||||
}
|
}
|
||||||
|
|
||||||
function reset() {
|
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) {
|
function popupPosition(width, height) {
|
||||||
var screenAvail = plasmoid.availableScreenRect;
|
/*
|
||||||
var screenGeom = plasmoid.screenGeometry;
|
var screenAvail = kicker.availableScreenRect;
|
||||||
//QtBug - QTBUG-64115
|
var screenGeom = kicker.screenGeometry;
|
||||||
var screen = Qt.rect(screenAvail.x + screenGeom.x,
|
var screen = Qt.rect(screenAvail.x + screenGeom.x,
|
||||||
screenAvail.y + screenGeom.y,
|
screenAvail.y + screenGeom.y,
|
||||||
screenAvail.width,
|
screenAvail.width,
|
||||||
screenAvail.height);
|
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.
|
// Fall back to bottom-left of screen area when the applet is on the desktop or floating.
|
||||||
var x = offset;
|
var x = offset;
|
||||||
var y = screen.height - height - offset;
|
var y = screen.height - height - offset;
|
||||||
var horizMidPoint = screen.x + (screen.width / 2);
|
var horizMidPoint;
|
||||||
var vertMidPoint = screen.y + (screen.height / 2);
|
var vertMidPoint;
|
||||||
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
|
|
||||||
}
|
|
||||||
|
|
||||||
|
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);
|
return Qt.point(x, y);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function colorWithAlpha(color: color, alpha: real): color {
|
||||||
|
return Qt.rgba(color.r, color.g, color.b, alpha)
|
||||||
|
}
|
||||||
|
|
||||||
FocusScope {
|
|
||||||
Layout.minimumWidth: mainColumnItem.width
|
mainItem: FocusScope {
|
||||||
Layout.minimumHeight: cellSize * (5.1 + plasmoid.configuration.numberRows + (plasmoid.configuration.alwaysShowSearchBar ? 0.6 : 0))
|
id: rootItem
|
||||||
Layout.maximumWidth: Layout.minimumWidth
|
|
||||||
Layout.maximumHeight: Layout.minimumHeight
|
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
|
focus: true
|
||||||
|
onFocusChanged: searchField.focus = true
|
||||||
|
|
||||||
Row{
|
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.fill: parent
|
||||||
spacing: units.largeSpacing
|
anchors.leftMargin: Kirigami.Units.gridUnit
|
||||||
|
anchors.rightMargin: Kirigami.Units.gridUnit
|
||||||
MainColumnItem{
|
|
||||||
id: mainColumnItem
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Keys.onPressed: (event)=> {
|
||||||
Keys.onPressed: {
|
if(event.modifiers & Qt.ControlModifier ||event.modifiers & Qt.ShiftModifier){
|
||||||
if (event.key == Qt.Key_Escape) {
|
searchField.focus = true;
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if (event.key === Qt.Key_Escape) {
|
||||||
|
event.accepted = true;
|
||||||
|
if (root.searching) {
|
||||||
|
reset();
|
||||||
|
} else {
|
||||||
root.visible = false;
|
root.visible = false;
|
||||||
}
|
}
|
||||||
}
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
function refreshModel() {
|
if (searchField.focus) {
|
||||||
mainColumnItem.reload()
|
return;
|
||||||
console.log("refresh model - menu 11")
|
}
|
||||||
|
|
||||||
|
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: {
|
Component.onCompleted: {
|
||||||
rootModel.refreshed.connect(refreshModel)
|
rootModel.refreshed.connect(setModels)
|
||||||
kicker.reset.connect(reset);
|
|
||||||
reset();
|
reset();
|
||||||
|
rootModel.refresh();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,23 +1,10 @@
|
||||||
/***************************************************************************
|
/*
|
||||||
* Copyright (C) 2013 by Aurélien Gâteau <agateau@kde.org> *
|
SPDX-FileCopyrightText: 2013 Aurélien Gâteau <agateau@kde.org>
|
||||||
* Copyright (C) 2013-2015 by Eike Hein <hein@kde.org> *
|
SPDX-FileCopyrightText: 2013-2015 Eike Hein <hein@kde.org>
|
||||||
* Copyright (C) 2017 by Ivan Cukic <ivan.cukic@kde.org> *
|
SPDX-FileCopyrightText: 2017 Ivan Cukic <ivan.cukic@kde.org>
|
||||||
* *
|
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
* 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 . *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
.pragma library
|
.pragma library
|
||||||
|
|
||||||
|
@ -29,10 +16,12 @@ function fillActionMenu(i18n, actionMenu, actionList, favoriteModel, favoriteId)
|
||||||
|
|
||||||
if (actions) {
|
if (actions) {
|
||||||
if (actionList && actionList.length > 0) {
|
if (actionList && actionList.length > 0) {
|
||||||
|
var actionListCopy = Array.from(actionList);
|
||||||
var separator = { "type": "separator" };
|
var separator = { "type": "separator" };
|
||||||
actionList.push(separator);
|
actionListCopy.push(separator);
|
||||||
// actionList = actions.concat(actionList); // this crashes Qt O.o
|
// actionList = actions.concat(actionList); // this crashes Qt O.o
|
||||||
actionList.push.apply(actionList, actions);
|
actionListCopy.push.apply(actionListCopy, actions);
|
||||||
|
actionList = actionListCopy;
|
||||||
} else {
|
} else {
|
||||||
actionList = actions;
|
actionList = actions;
|
||||||
}
|
}
|
||||||
|
@ -42,7 +31,7 @@ function fillActionMenu(i18n, actionMenu, actionList, favoriteModel, favoriteId)
|
||||||
}
|
}
|
||||||
|
|
||||||
function createFavoriteActions(i18n, favoriteModel, favoriteId) {
|
function createFavoriteActions(i18n, favoriteModel, favoriteId) {
|
||||||
if (favoriteModel === null || !favoriteModel.enabled || favoriteId == null) {
|
if (!favoriteModel || !favoriteModel.enabled || !favoriteId) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,7 +44,7 @@ function createFavoriteActions(i18n, favoriteModel, favoriteId) {
|
||||||
action.text = i18n("Remove from Favorites");
|
action.text = i18n("Remove from Favorites");
|
||||||
action.icon = "bookmark-remove";
|
action.icon = "bookmark-remove";
|
||||||
action.actionId = "_kicker_favorite_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.text = i18n("Add to Favorites");
|
||||||
action.icon = "bookmark-new";
|
action.icon = "bookmark-new";
|
||||||
action.actionId = "_kicker_favorite_add";
|
action.actionId = "_kicker_favorite_add";
|
||||||
|
@ -174,29 +163,19 @@ function handleFavoriteAction(actionId, actionArgument) {
|
||||||
var favoriteId = actionArgument.favoriteId;
|
var favoriteId = actionArgument.favoriteId;
|
||||||
var favoriteModel = actionArgument.favoriteModel;
|
var favoriteModel = actionArgument.favoriteModel;
|
||||||
|
|
||||||
console.log(actionId);
|
if (favoriteModel === null || favoriteId === null) {
|
||||||
|
|
||||||
if (favoriteModel === null || favoriteId == null) {
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (actionId == "_kicker_favorite_remove") {
|
if (actionId === "_kicker_favorite_remove") {
|
||||||
console.log("Removing from all activities");
|
|
||||||
favoriteModel.removeFavorite(favoriteId);
|
favoriteModel.removeFavorite(favoriteId);
|
||||||
} else if (actionId == "_kicker_favorite_add") {
|
} else if (actionId === "_kicker_favorite_add") {
|
||||||
console.log("Adding to global activity");
|
|
||||||
favoriteModel.addFavorite(favoriteId);
|
favoriteModel.addFavorite(favoriteId);
|
||||||
} else if (actionId == "_kicker_favorite_remove_from_activity") {
|
} else if (actionId === "_kicker_favorite_remove_from_activity") {
|
||||||
console.log("Removing from a specific activity");
|
|
||||||
favoriteModel.removeFavoriteFrom(favoriteId, actionArgument.favoriteActivity);
|
favoriteModel.removeFavoriteFrom(favoriteId, actionArgument.favoriteActivity);
|
||||||
|
} else if (actionId === "_kicker_favorite_add_to_activity") {
|
||||||
} else if (actionId == "_kicker_favorite_add_to_activity") {
|
|
||||||
console.log("Adding to another activity");
|
|
||||||
favoriteModel.addFavoriteTo(favoriteId, actionArgument.favoriteActivity);
|
favoriteModel.addFavoriteTo(favoriteId, actionArgument.favoriteActivity);
|
||||||
|
} else if (actionId === "_kicker_favorite_set_to_activity") {
|
||||||
} 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");
|
|
||||||
favoriteModel.setFavoriteOn(favoriteId, actionArgument.favoriteActivity);
|
favoriteModel.setFavoriteOn(favoriteId, actionArgument.favoriteActivity);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -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 |
|
@ -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 |
|
@ -1,6 +1,5 @@
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* Copyright (C) 2014-2015 by Eike Hein <hein@kde.org> *
|
* 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 *
|
* 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 *
|
* 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 . *
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
import QtQuick 2.12
|
import QtQuick 2.0
|
||||||
import QtQuick.Layouts 1.12
|
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.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.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
|
id: kicker
|
||||||
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
signal reset
|
signal reset
|
||||||
|
|
||||||
property bool isDash: false
|
preferredRepresentation: compactRepresentation
|
||||||
|
compactRepresentation: compactRepresentation
|
||||||
Plasmoid.preferredRepresentation: Plasmoid.fullRepresentation
|
fullRepresentation: compactRepresentation
|
||||||
|
|
||||||
Plasmoid.compactRepresentation: null
|
|
||||||
Plasmoid.fullRepresentation: compactRepresentation
|
|
||||||
|
|
||||||
property Item dragSource: null
|
property Item dragSource: null
|
||||||
|
|
||||||
property QtObject globalFavorites: rootModel.favoritesModel
|
|
||||||
property QtObject systemFavorites: rootModel.systemFavoritesModel
|
|
||||||
|
|
||||||
function action_menuedit() {
|
function action_menuedit() {
|
||||||
processRunner.runMenuEditor();
|
processRunner.runMenuEditor();
|
||||||
}
|
}
|
||||||
|
|
||||||
Component {
|
Component {
|
||||||
id: compactRepresentation
|
id: compactRepresentation
|
||||||
CompactRepresentation { }
|
CompactRepresentation {}
|
||||||
}
|
}
|
||||||
|
|
||||||
Component {
|
property QtObject globalFavorites: rootModel.favoritesModel
|
||||||
id: menuRepresentation
|
property QtObject systemFavorites: rootModel.systemFavoritesModel
|
||||||
MenuRepresentation { }
|
|
||||||
|
Plasmoid.icon: Plasmoid.configuration.useCustomButtonImage ? Plasmoid.configuration.customButtonImage : Plasmoid.configuration.icon
|
||||||
|
|
||||||
|
onSystemFavoritesChanged: {
|
||||||
|
systemFavorites.favorites = Plasmoid.configuration.favoriteSystemActions;
|
||||||
}
|
}
|
||||||
|
|
||||||
Kicker.RootModel {
|
Kicker.RootModel {
|
||||||
|
@ -65,112 +67,98 @@ Item {
|
||||||
|
|
||||||
autoPopulate: false
|
autoPopulate: false
|
||||||
|
|
||||||
appNameFormat: plasmoid.configuration.appNameFormat
|
appNameFormat: 0
|
||||||
flat: true
|
flat: true
|
||||||
sorted: true
|
sorted: true
|
||||||
|
showAllAppsCategorized: false // true
|
||||||
showSeparators: false
|
showSeparators: false
|
||||||
appletInterface: plasmoid
|
appletInterface: kicker
|
||||||
|
|
||||||
showAllApps: true
|
showAllApps: true
|
||||||
showAllAppsCategorized: true
|
showRecentApps: true
|
||||||
showTopLevelItems: !isDash
|
showRecentDocs: true
|
||||||
showRecentApps: plasmoid.configuration.showRecentApps
|
showPowerSession: false
|
||||||
showRecentDocs: plasmoid.configuration.showRecentDocs
|
|
||||||
showRecentContacts: plasmoid.configuration.showRecentContacts
|
|
||||||
recentOrdering: plasmoid.configuration.recentOrdering
|
|
||||||
|
|
||||||
onShowRecentAppsChanged: {
|
onShowRecentAppsChanged: {
|
||||||
plasmoid.configuration.showRecentApps = showRecentApps;
|
Plasmoid.configuration.showRecentApps = showRecentApps;
|
||||||
}
|
}
|
||||||
|
|
||||||
onShowRecentDocsChanged: {
|
onShowRecentDocsChanged: {
|
||||||
plasmoid.configuration.showRecentDocs = showRecentDocs;
|
Plasmoid.configuration.showRecentDocs = showRecentDocs;
|
||||||
}
|
|
||||||
|
|
||||||
onShowRecentContactsChanged: {
|
|
||||||
plasmoid.configuration.showRecentContacts = showRecentContacts;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
onRecentOrderingChanged: {
|
onRecentOrderingChanged: {
|
||||||
plasmoid.configuration.recentOrdering = recentOrdering;
|
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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Component.onCompleted: {
|
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) {
|
if (!Plasmoid.configuration.favoritesPortedToKAstats) {
|
||||||
favoritesModel.portOldFavorites(plasmoid.configuration.favoriteApps);
|
if (favoritesModel.count < 1) {
|
||||||
plasmoid.configuration.favoritesPortedToKAstats = true;
|
favoritesModel.portOldFavorites(Plasmoid.configuration.favoriteApps);
|
||||||
|
}
|
||||||
|
Plasmoid.configuration.favoritesPortedToKAstats = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
favoritesModel.favorites = plasmoid.configuration.favoriteApps;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
favoritesModel.maxFavorites = pageSize;
|
|
||||||
rootModel.refresh();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
target: globalFavorites
|
target: globalFavorites
|
||||||
|
|
||||||
onFavoritesChanged: {
|
function onFavoritesChanged() {
|
||||||
plasmoid.configuration.favoriteApps = target.favorites;
|
Plasmoid.configuration.favoriteApps = target.favorites;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
target: systemFavorites
|
target: systemFavorites
|
||||||
|
|
||||||
onFavoritesChanged: {
|
function onFavoritesChanged() {
|
||||||
plasmoid.configuration.favoriteSystemActions = target.favorites;
|
Plasmoid.configuration.favoriteSystemActions = target.favorites;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
target: plasmoid.configuration
|
target: Plasmoid.configuration
|
||||||
|
|
||||||
onFavoriteAppsChanged: {
|
function onFavoriteAppsChanged () {
|
||||||
globalFavorites.favorites = plasmoid.configuration.favoriteApps;
|
globalFavorites.favorites = Plasmoid.configuration.favoriteApps;
|
||||||
}
|
}
|
||||||
|
|
||||||
onFavoriteSystemActionsChanged: {
|
function onFavoriteSystemActionsChanged () {
|
||||||
systemFavorites.favorites = plasmoid.configuration.favoriteSystemActions;
|
systemFavorites.favorites = Plasmoid.configuration.favoriteSystemActions;
|
||||||
|
}
|
||||||
|
|
||||||
|
function onHiddenApplicationsChanged(){
|
||||||
|
rootModel.refresh(); // Force refresh on hidden
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Kicker.RunnerModel {
|
Kicker.RunnerModel {
|
||||||
id: runnerModel
|
id: runnerModel
|
||||||
|
|
||||||
favoritesModel: globalFavorites
|
appletInterface: kicker
|
||||||
runners: plasmoid.configuration.useExtraRunners ? new Array("services").concat(plasmoid.configuration.extraRunners) : "services"
|
|
||||||
appletInterface: plasmoid
|
|
||||||
|
|
||||||
deleteWhenEmpty: false
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
Kicker.DragHelper {
|
Kicker.DragHelper {
|
||||||
id: dragHelper
|
id: dragHelper
|
||||||
}
|
}
|
||||||
|
@ -179,8 +167,12 @@ Item {
|
||||||
id: processRunner;
|
id: processRunner;
|
||||||
}
|
}
|
||||||
|
|
||||||
PlasmaCore.FrameSvgItem {
|
Kicker.WindowSystem {
|
||||||
id: highlightItemSvg
|
id: windowSystem
|
||||||
|
}
|
||||||
|
|
||||||
|
KSvg.FrameSvgItem {
|
||||||
|
id : highlightItemSvg
|
||||||
|
|
||||||
visible: false
|
visible: false
|
||||||
|
|
||||||
|
@ -188,34 +180,76 @@ Item {
|
||||||
prefix: "hover"
|
prefix: "hover"
|
||||||
}
|
}
|
||||||
|
|
||||||
PlasmaCore.FrameSvgItem {
|
KSvg.FrameSvgItem {
|
||||||
id: panelSvg
|
id : panelSvg
|
||||||
|
|
||||||
visible: false
|
visible: false
|
||||||
|
|
||||||
imagePath: "widgets/panel-background"
|
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
|
id: toolTipDelegate
|
||||||
|
|
||||||
width: contentWidth
|
width: contentWidth
|
||||||
height: contentHeight
|
height: undefined
|
||||||
|
|
||||||
property Item toolTip
|
property Item toolTip
|
||||||
|
|
||||||
text: (toolTip != null) ? toolTip.text : ""
|
text: toolTip ? toolTip.text : ""
|
||||||
|
textFormat: Text.PlainText
|
||||||
}
|
}
|
||||||
|
|
||||||
function resetDragSource() {
|
function resetDragSource() {
|
||||||
dragSource = null;
|
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: {
|
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);
|
dragHelper.dropped.connect(resetDragSource);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,27 +1,24 @@
|
||||||
{
|
{
|
||||||
|
"KPackageStructure": "Plasma/Applet",
|
||||||
"KPlugin": {
|
"KPlugin": {
|
||||||
"Authors": [
|
"Authors": [
|
||||||
{
|
{
|
||||||
"Email": "pankajsunal123@gmail.com",
|
"Email": "adhemarks@gmail.com",
|
||||||
"Name": "Prateek SU"
|
"Name": "Ademir"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Category": "Application Launchers",
|
"Category": "Application Launchers",
|
||||||
"Dependencies": [
|
"Description": "Configurable grid of application icons",
|
||||||
],
|
"Description[x-test]": "xxConfigurable grid of application iconsxx",
|
||||||
"Description": "A configurable launcher menu 11",
|
|
||||||
"EnabledByDefault": true,
|
"EnabledByDefault": true,
|
||||||
"Icon": "start-here-kde",
|
"Icon": "start-here-kde",
|
||||||
"Id": "com.github.adhec.Menu11",
|
"Id": "com.github.adhec.Menu11",
|
||||||
"License": "GPL-2.0+",
|
"License": "GPL-2.0+",
|
||||||
"Name": "Menu11",
|
"Name": "Menu 11",
|
||||||
"ServiceTypes": [
|
"Name[x-test]": "xxMenu 11xx",
|
||||||
"Plasma/Applet"
|
"Website": "https://kde.org/plasma-desktop"
|
||||||
],
|
|
||||||
"Version": "8.0"
|
|
||||||
},
|
},
|
||||||
"X-Plasma-API": "declarativeappletscript",
|
"X-Plasma-API-Minimum-Version": "6.0",
|
||||||
"X-Plasma-MainScript": "ui/main.qml",
|
|
||||||
"X-Plasma-Provides": [
|
"X-Plasma-Provides": [
|
||||||
"org.kde.plasma.launchermenu"
|
"org.kde.plasma.launchermenu"
|
||||||
]
|
]
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
> Version 7 of Zren's i18n scripts.
|
> Version 7 of Zren's i18n scripts. [link](https://github.com/Zren/plasma-applet-tiledmenu)
|
||||||
|
|
||||||
With KDE Frameworks v5.37 and above, translations are bundled with the `*.plasmoid` file downloaded from the store.
|
With KDE Frameworks v5.37 and above, translations are bundled with the `*.plasmoid` file downloaded from the store.
|
||||||
|
|
||||||
## Install Translations
|
## Install Translations
|
||||||
|
|
||||||
Go to `~/.local/share/plasma/plasmoids/menu11/translate/` and run `sh ./build --restartplasma`.
|
Go to `~/.local/share/plasma/plasmoids/com.github.adhec.Menu11/translate/` and run `sh ./build --restartplasma`.
|
||||||
|
|
||||||
## New Translations
|
## New Translations
|
||||||
|
|
||||||
1. Fill out [`template.pot`](template.pot) with your translations then open a [new issue](https://github.com/prateekmedia/menu11/issues/new), name the file `spanish.txt`, attach the txt file to the issue (drag and drop).
|
1. Fill out [`template.pot`](template.pot) with your translations then open a [new issue](https://github.com/prateekmedia/Menu11/issues/new), name the file `spanish.txt`, attach the txt file to the issue (drag and drop).
|
||||||
|
|
||||||
Or if you know how to make a pull request
|
Or if you know how to make a pull request
|
||||||
|
|
||||||
|
@ -35,8 +35,11 @@ Or if you know how to make a pull request
|
||||||
## Status
|
## Status
|
||||||
| Locale | Lines | % Done|
|
| Locale | Lines | % Done|
|
||||||
|----------|---------|-------|
|
|----------|---------|-------|
|
||||||
| Template | 51 | 100 |
|
| Template | 32 | |
|
||||||
| Dutch | 48 | 94 |
|
| fr | 19/32 | 59% |
|
||||||
| Hebrew | 51 | 100 |
|
| ko | 16/32 | 50% |
|
||||||
| Italian | 48 | 94 |
|
| nl | 13/32 | 40% |
|
||||||
| Turkish | 51 | 100 |
|
| pl | 15/32 | 46% |
|
||||||
|
| pt_BR | 19/32 | 59% |
|
||||||
|
| ru | 32/32 | 100% |
|
||||||
|
| tr | 15/32 | 46% |
|
|
@ -1,13 +1,14 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
# Version: 5
|
# Version: 6
|
||||||
|
|
||||||
# This script will convert the *.po files to *.mo files, rebuilding the package/contents/locale folder.
|
# This script will convert the *.po files to *.mo files, rebuilding the package/contents/locale folder.
|
||||||
# Feature discussion: https://phabricator.kde.org/D5209
|
# Feature discussion: https://phabricator.kde.org/D5209
|
||||||
# Eg: contents/locale/fr_CA/LC_MESSAGES/plasma_applet_org.kde.plasma.eventcalendar.mo
|
# Eg: contents/locale/fr_CA/LC_MESSAGES/plasma_applet_org.kde.plasma.eventcalendar.mo
|
||||||
|
|
||||||
DIR=`cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd`
|
DIR=`cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd`
|
||||||
plasmoidName=`kreadconfig5 --file="$DIR/../metadata.desktop" --group="Desktop Entry" --key="X-KDE-PluginInfo-Name"`
|
plasmoidName=com.github.adhec.Menu11
|
||||||
website=`kreadconfig5 --file="$DIR/../metadata.desktop" --group="Desktop Entry" --key="X-KDE-PluginInfo-Website"`
|
widgetName="${plasmoidName##*.}" # Strip namespace
|
||||||
|
website=https://github.com/prateekmedia/Menu11
|
||||||
bugAddress="$website"
|
bugAddress="$website"
|
||||||
packageRoot=".." # Root of translatable sources
|
packageRoot=".." # Root of translatable sources
|
||||||
projectName="plasma_applet_${plasmoidName}" # project name
|
projectName="plasma_applet_${plasmoidName}" # project name
|
||||||
|
@ -28,7 +29,7 @@ fi
|
||||||
#---
|
#---
|
||||||
echo "[build] Compiling messages"
|
echo "[build] Compiling messages"
|
||||||
|
|
||||||
catalogs=`find . -name '*.po'`
|
catalogs=`find . -name '*.po' | sort`
|
||||||
for cat in $catalogs; do
|
for cat in $catalogs; do
|
||||||
echo "$cat"
|
echo "$cat"
|
||||||
catLocale=`basename ${cat%.*}`
|
catLocale=`basename ${cat%.*}`
|
||||||
|
|
|
@ -1,221 +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: 2021-08-02 22:00-0100\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"
|
|
||||||
|
|
||||||
#: ../metadata.desktop
|
|
||||||
msgid "Menu 11"
|
|
||||||
msgstr "Menü 11"
|
|
||||||
|
|
||||||
#: ../metadata.desktop
|
|
||||||
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."
|
|
||||||
|
|
||||||
#: ../contents/config/config.qml
|
|
||||||
msgid "General"
|
|
||||||
msgstr "Allgemein"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icon:"
|
|
||||||
msgstr "Symbol:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Menu Position:"
|
|
||||||
msgstr "Menü Position"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Center"
|
|
||||||
msgstr "Zentriert"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "On Edge"
|
|
||||||
msgstr "Am Rand"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Auto"
|
|
||||||
msgstr "Automatisch"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Pinned item:"
|
|
||||||
msgstr "Angeheftetes Element:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Favourite apps"
|
|
||||||
msgstr "Bevorzugte Apps"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Recent apps"
|
|
||||||
msgstr "Neueste Anwendungen"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Recent documents"
|
|
||||||
msgstr "Neueste Dokumente"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Recommended item:"
|
|
||||||
msgstr "Empfohlener Eintrag:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "None"
|
|
||||||
msgstr "None"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Number of columns in grid:"
|
|
||||||
msgstr "Anzahl der Spalten im Raster:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Number of rows in grid:"
|
|
||||||
msgstr "Anzahl der Zeilen im Gitter:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icon Properties:"
|
|
||||||
msgstr "Symbol Eigenschaften:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Panel Properties:"
|
|
||||||
msgstr "Panel Eigenschaften:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show All apps by default"
|
|
||||||
msgstr "Alle Anwendungen standardmäßig anzeigen"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Replace Explorer icon in footer"
|
|
||||||
msgstr "Ersetzen des Explorer Symbols in der Fußzeile"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for User Profile"
|
|
||||||
msgstr "Symbolgröße für Benutzerprofil verkleinern"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for Footer"
|
|
||||||
msgstr "Symbolgröße in der Fußzeile verringern"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for Pinned item"
|
|
||||||
msgstr "Symbolgröße für angeheftetes Element verringern"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Allow label to have two lines (Pinned)"
|
|
||||||
msgstr "Erlaube mehrzeilige Bezeichnung (angeheftet)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show Description for all apps and search item"
|
|
||||||
msgstr "Beschreibung für alle Anwendungen und Suchbegriffe anzeigen"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Always Show Search Bar"
|
|
||||||
msgstr "Suchleiste immer anzeigen"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Prefer showing full name, instead of login name"
|
|
||||||
msgstr "Vollständiger Namen anstelle des Anmeldenamens"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show applications as:"
|
|
||||||
msgstr "Anwendungen anzeigen als:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Name only"
|
|
||||||
msgstr "Nur Name"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Description only"
|
|
||||||
msgstr "Nur Beschreibung"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Name (Description)"
|
|
||||||
msgstr "Name (Beschreibung)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Description (Name)"
|
|
||||||
msgstr "Beschreibung (Name)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icons on Bottom bar:"
|
|
||||||
msgstr "Symbole in der unteren Leiste"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Documents"
|
|
||||||
msgstr "Dokumente"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Pictures"
|
|
||||||
msgstr "Bilder"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Music"
|
|
||||||
msgstr "Musik"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Downloads"
|
|
||||||
msgstr "Downloads"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Videos"
|
|
||||||
msgstr "Videos"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "File manager"
|
|
||||||
msgstr "Dateimanager"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "System settings"
|
|
||||||
msgstr "Systemeinstellungen"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Lock screen"
|
|
||||||
msgstr "Sperrbildschirm"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Power options"
|
|
||||||
msgstr "Energieoptionen"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Search:"
|
|
||||||
msgstr "Suche:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Expand search to bookmarks, files and emails"
|
|
||||||
msgstr "Erweitern der Suche auf Lesezeichen, Dateien und E-Mails"
|
|
||||||
|
|
||||||
#: ../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/MainColumnItem.qml
|
|
||||||
msgid "More"
|
|
||||||
msgstr "Mehr"
|
|
||||||
|
|
||||||
#: ../contents/ui/Footer.qml
|
|
||||||
msgid "Go to user settings"
|
|
||||||
msgstr "Gehe zu den Benutzereinstellungen"
|
|
|
@ -1,222 +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: 2021-04-09 22:46-0400\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"
|
|
||||||
|
|
||||||
#: ../metadata.desktop
|
|
||||||
msgid "Menu 11"
|
|
||||||
msgstr "Menú 11"
|
|
||||||
|
|
||||||
#: ../metadata.desktop
|
|
||||||
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"
|
|
||||||
|
|
||||||
#: ../contents/config/config.qml
|
|
||||||
msgid "General"
|
|
||||||
msgstr "General"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icon:"
|
|
||||||
msgstr "Icono"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Menu Position:"
|
|
||||||
msgstr "Posición del Menú"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Center"
|
|
||||||
msgstr "Centro"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "On Edge"
|
|
||||||
msgstr "En el borde"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Auto"
|
|
||||||
msgstr "Auto"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Pinned item:"
|
|
||||||
msgstr "Elemento anclado"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Favourite apps"
|
|
||||||
msgstr "Aplicaciones favoritas"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Recent apps"
|
|
||||||
msgstr "Aplicaciones recientes"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Recent documents"
|
|
||||||
msgstr "Documentos recientes"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Recommended item:"
|
|
||||||
msgstr "Elemento recomendado"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "None"
|
|
||||||
msgstr "Ninguno"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Number of columns in grid:"
|
|
||||||
msgstr "Número de columnas en la cuadrícula:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Número de filas en la cuadrícula:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icon Properties:"
|
|
||||||
msgstr "Propiedades de los iconos:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Propiedades del panel:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show All apps by default"
|
|
||||||
msgstr "Mostrar todas las aplicaciones por defecto"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Replace Explorer icon in footer"
|
|
||||||
msgstr "Sustituir el icono del Explorador en el pie de página"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for User Profile"
|
|
||||||
msgstr "Reducir el tamaño de los iconos del perfil de usuario"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for Footer"
|
|
||||||
msgstr "Reducir el tamaño del icono para el pie de página"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for Pinned item"
|
|
||||||
msgstr "Reducir el tamaño del icono del elemento anclado"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Allow label to have two lines (Pinned)"
|
|
||||||
msgstr "Permitir que la etiqueta tenga dos líneas (Anclado)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.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/config.qml
|
|
||||||
msgid "Always Show Search Bar"
|
|
||||||
msgstr "Mostrar siempre la barra de búsqueda"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Prefer showing full name, instead of login name"
|
|
||||||
msgstr "Preferir mostrar el nombre completo, en lugar del nombre de usuario"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show applications as:"
|
|
||||||
msgstr "Mostrar aplicaciones como:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Name only"
|
|
||||||
msgstr "Sólo el nombre"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Description only"
|
|
||||||
msgstr "Sólo la descripción"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Name (Description)"
|
|
||||||
msgstr "Nombre (Descripción)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Description (Name)"
|
|
||||||
msgstr "Descripción (Nombre)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icons on Bottom bar:"
|
|
||||||
msgstr "Iconos en la barra inferior:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Documents"
|
|
||||||
msgstr "Documentos"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Pictures"
|
|
||||||
msgstr "Imágenes"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Music"
|
|
||||||
msgstr "Música"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Downloads"
|
|
||||||
msgstr "Descargas"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Videos"
|
|
||||||
msgstr "Vídeos"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "File manager"
|
|
||||||
msgstr "Gestor de archivos"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "System settings"
|
|
||||||
msgstr "Configuración del sistema"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Lock screen"
|
|
||||||
msgstr "Pantalla de bloqueo"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Power options"
|
|
||||||
msgstr "Opciones de energía"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Search:"
|
|
||||||
msgstr "Buscar:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Expand search to bookmarks, files and emails"
|
|
||||||
msgstr "Ampliar la búsqueda a marcadores, archivos y correos electrónicos"
|
|
||||||
|
|
||||||
#: ../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/MainColumnItem.qml
|
|
||||||
msgid "More"
|
|
||||||
msgstr "Más"
|
|
||||||
|
|
||||||
#: ../contents/ui/Footer.qml
|
|
||||||
msgid "Go to user settings"
|
|
||||||
msgstr "Ir a la configuración del usuario"
|
|
|
@ -1,222 +1,179 @@
|
||||||
# Translation of menu11 in French
|
# Translation of dittomenu in fr
|
||||||
# Copyright (C) 2021
|
# Copyright (C) 2023
|
||||||
# This file is distributed under the same license as the menu11 package.
|
# This file is distributed under the same license as the dittomenu package.
|
||||||
# GolDNenex <goldnenex@gmail.com>, 2021.
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
# Alan Paris <Alan90000@yahoo.com>, 2021.
|
|
||||||
#
|
#
|
||||||
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: menu11\n"
|
"Project-Id-Version: dittomenu\n"
|
||||||
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/menu11\n"
|
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/Menu11\n"
|
||||||
"POT-Creation-Date: 2021-04-09 22:46-0400\n"
|
"POT-Creation-Date: 2024-09-23 12:45+0500\n"
|
||||||
"PO-Revision-Date: 2021-10-27 HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: Alan Paris <Alan90000@yahoo.com>\n"
|
"Last-Translator: omano\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
"Language: French\n"
|
"Language: fr\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
||||||
#: ../metadata.desktop
|
|
||||||
msgid "Menu 11"
|
|
||||||
msgstr "Menu 11"
|
|
||||||
|
|
||||||
#: ../metadata.desktop
|
|
||||||
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."
|
|
||||||
|
|
||||||
#: ../contents/config/config.qml
|
#: ../contents/config/config.qml
|
||||||
msgid "General"
|
msgid "General"
|
||||||
msgstr "Général"
|
msgstr "Général"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../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:"
|
msgid "Icon:"
|
||||||
msgstr "Icône :"
|
msgstr "Icône:"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Menu Position:"
|
msgctxt "@item:inmenu Open icon chooser dialog"
|
||||||
msgstr "Position du menu :"
|
msgid "Choose…"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../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 "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"
|
msgid "Center"
|
||||||
msgstr "Centrer"
|
msgstr "Centre"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "On Edge"
|
msgid "Center bottom"
|
||||||
msgstr "Au bord"
|
msgstr "Milieu en bas"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Auto"
|
msgid "Show labels in two lines"
|
||||||
msgstr "Automatique"
|
msgstr "Voir les étiquettes sur deux lignes"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Pinned item:"
|
msgid "Number of columns"
|
||||||
msgstr "Élément épinglé :"
|
msgstr "Nombre de colonnes"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Favourite apps"
|
msgid "Number of rows"
|
||||||
msgstr "Applications préférées"
|
msgstr "Nombre de lignes"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Recent apps"
|
msgid "Unhide all hidden applications"
|
||||||
msgstr "Applications récentes"
|
msgstr "Ne plus cacher les applications"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Recent documents"
|
msgid "Unhidden!"
|
||||||
msgstr "Documents récents"
|
msgstr "Plus cachées!"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/Footer.qml
|
||||||
msgid "Recommended item:"
|
msgid "User Home"
|
||||||
msgstr "Élément recommandé :"
|
msgstr "Dossier Personnel"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/Footer.qml
|
||||||
msgid "None"
|
msgid "System Preferences"
|
||||||
msgstr "Aucun"
|
msgstr "Préférences Système"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/Footer.qml
|
||||||
msgid "Number of columns in grid:"
|
msgid "Shutdown"
|
||||||
msgstr "Nombre de colonnes dans la grille :"
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/main.qml
|
||||||
msgid "Number of rows in grid:"
|
msgid "Edit Applications…"
|
||||||
msgstr "Nombre de lignes dans la grille :"
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/MenuRepresentation.qml
|
||||||
msgid "Icon Properties:"
|
msgid "Type here to search ..."
|
||||||
msgstr "Propriétés de l'icône :"
|
msgstr "Rechercher ..."
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/MenuRepresentation.qml
|
||||||
msgid "Panel Properties:"
|
msgid "Pinned"
|
||||||
msgstr "Propriétés du panneau :"
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/MenuRepresentation.qml
|
||||||
msgid "Show All apps by default"
|
|
||||||
msgstr "Afficher toutes les applications par défaut"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Replace Explorer icon in footer"
|
|
||||||
msgstr "Remplacer l'icône de l'explorateur en bas de page"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for User Profile"
|
|
||||||
msgstr "Réduire la taille des icônes pour le profil utilisateur"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for Footer"
|
|
||||||
msgstr "Réduire la taille des icônes en bas de page"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for Pinned item"
|
|
||||||
msgstr "Réduire la taille de l'icône pour l'élément épinglé"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Allow label to have two lines (Pinned)"
|
|
||||||
msgstr "Autoriser l'étiquette d'avoir deux lignes (épinglées)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.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/config.qml
|
|
||||||
msgid "Always Show Search Bar"
|
|
||||||
msgstr "Toujours afficher la barre de recherche"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.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/config.qml
|
|
||||||
msgid "Show applications as:"
|
|
||||||
msgstr "Afficher les applications comme :"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Name only"
|
|
||||||
msgstr "Nom uniquement"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Description only"
|
|
||||||
msgstr "Description uniquement"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Name (Description)"
|
|
||||||
msgstr "Nom (Description)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Description (Name)"
|
|
||||||
msgstr "Description (Nom)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icons on Bottom bar:"
|
|
||||||
msgstr "Icônes sur la barre du bas :"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Documents"
|
|
||||||
msgstr "Documents"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Pictures"
|
|
||||||
msgstr "Images"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Music"
|
|
||||||
msgstr "Musique"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Downloads"
|
|
||||||
msgstr "Téléchargements"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Videos"
|
|
||||||
msgstr "Vidéos"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "File manager"
|
|
||||||
msgstr "Gestionnaire de fichiers"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "System settings"
|
|
||||||
msgstr "Paramètres système"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Lock screen"
|
|
||||||
msgstr "Verrouiller l'écran"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Power options"
|
|
||||||
msgstr "Options d'alimentation"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Search:"
|
|
||||||
msgstr "Recherche :"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Expand search to bookmarks, files and emails"
|
|
||||||
msgstr "Étendre la recherche dans les signets, les fichiers et les courriels"
|
|
||||||
|
|
||||||
#: ../contents/ui/MainColumnItem.qml
|
|
||||||
msgid "Type here to search"
|
|
||||||
msgstr "Tapez ici pour effectuer une recherche"
|
|
||||||
|
|
||||||
#: ../contents/ui/MainColumnItem.qml
|
|
||||||
msgid "All apps"
|
msgid "All apps"
|
||||||
msgstr "Toutes les applications"
|
msgstr "Toutes les applications"
|
||||||
|
|
||||||
#: ../contents/ui/MainColumnItem.qml
|
#: ../contents/ui/MenuRepresentation.qml
|
||||||
msgid "Recommended"
|
msgid "Recent documents"
|
||||||
msgstr "Nos recommandations"
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/MainColumnItem.qml
|
#~ msgid "Ditto Menu"
|
||||||
msgid "Pinned"
|
#~ msgstr "Ditto Menu"
|
||||||
msgstr "Épinglé"
|
|
||||||
|
|
||||||
#: ../contents/ui/MainColumnItem.qml
|
#~ msgid "A configurable launcher menu"
|
||||||
msgid "Back"
|
#~ msgstr "Un menu de lancement configurable"
|
||||||
msgstr "Retour"
|
|
||||||
|
|
||||||
#: ../contents/ui/MainColumnItem.qml
|
#~ msgid "On The Current Activity"
|
||||||
msgid "More"
|
#~ msgstr "Sur l'Activité actuelle"
|
||||||
msgstr "Plus"
|
|
||||||
|
|
||||||
#: ../contents/ui/Footer.qml
|
#~ msgid "Show In Favorites"
|
||||||
msgid "Go to user settings"
|
#~ msgstr "Voir dans les Favoris"
|
||||||
msgstr "Aller aux paramètres de l'utilisateur"
|
|
||||||
|
#~ 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"
|
||||||
|
|
|
@ -1,223 +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: 2021-04-09 22:46-0400\n"
|
|
||||||
"PO-Revision-Date: 2021-07-26 14:26+0300\n"
|
|
||||||
"Language-Team: Hebrew <he@li.org>\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"
|
|
||||||
"Last-Translator: \n"
|
|
||||||
"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : n==2 ? 1 : n>10 && n%10==0 ? 2 : 3);\n"
|
|
||||||
"Language: he\n"
|
|
||||||
|
|
||||||
#: ../metadata.desktop
|
|
||||||
msgid "Menu 11"
|
|
||||||
msgstr "Menu 11"
|
|
||||||
|
|
||||||
#: ../metadata.desktop
|
|
||||||
msgid "A highly customizable launcher inspired from windows 11 menu. Fork of MenuZ."
|
|
||||||
msgstr "מפעיל יישומים גמיש מאוד בהשראת התפריט של Windows 11. פוצל מ־MenuZ."
|
|
||||||
|
|
||||||
#: ../contents/config/config.qml
|
|
||||||
msgid "General"
|
|
||||||
msgstr "כללי"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icon:"
|
|
||||||
msgstr "סמל:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Menu Position:"
|
|
||||||
msgstr "מיקום התפריט:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Center"
|
|
||||||
msgstr "במרכז"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "On Edge"
|
|
||||||
msgstr "בפינה"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Auto"
|
|
||||||
msgstr "אוטומטי"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Pinned item:"
|
|
||||||
msgstr "יישום מוצמד:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Favourite apps"
|
|
||||||
msgstr "יישומים מועדפים"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Recent apps"
|
|
||||||
msgstr "יישומים אחרונים"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Recent documents"
|
|
||||||
msgstr "מסמכים אחרונים"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Recommended item:"
|
|
||||||
msgstr "פריט מומלץ:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "None"
|
|
||||||
msgstr "ללא"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Number of columns in grid:"
|
|
||||||
msgstr "מספר טורים ברשת:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Number of rows in grid:"
|
|
||||||
msgstr "מספר שורות ברשת:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icon Properties:"
|
|
||||||
msgstr "מאפייני סמל:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Panel Properties:"
|
|
||||||
msgstr "מאפייני לוח:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show All apps by default"
|
|
||||||
msgstr "הצגת כל היישומים כברירת מחדל"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Replace Explorer icon in footer"
|
|
||||||
msgstr "החלף את סמל הסייר בכותרת התחתונה"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for User Profile"
|
|
||||||
msgstr "הקטנת סמל תמונת המשתמש"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for Footer"
|
|
||||||
msgstr "הקטנת הסמלים בחלק התחתון"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for Pinned item"
|
|
||||||
msgstr "הקטנת סמלי היישומים המוצמדים"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Allow label to have two lines (Pinned)"
|
|
||||||
msgstr "לאפשר תווית עם שתי שורות (למוצמדים)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show Description for all apps and search item"
|
|
||||||
msgstr "הצגת תיאור לכל היישומים וליישומים שנמצאים בחיפוש"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Always Show Search Bar"
|
|
||||||
msgstr "תמיד להציג סרגל חיפוש"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Prefer showing full name, instead of login name"
|
|
||||||
msgstr "עדיפה הצגת השם המלא, במקום שם המשתמש"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show applications as:"
|
|
||||||
msgstr "הצגת היישומים בתור:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Name only"
|
|
||||||
msgstr "שם בלבד"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Description only"
|
|
||||||
msgstr "תיאור בלבד"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Name (Description)"
|
|
||||||
msgstr "שם (תיאור)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Description (Name)"
|
|
||||||
msgstr "תיאור (שם)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icons on Bottom bar:"
|
|
||||||
msgstr "סמלים בסרגל התחתון:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Documents"
|
|
||||||
msgstr "מסמכים"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Pictures"
|
|
||||||
msgstr "תמונות"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Music"
|
|
||||||
msgstr "מוזיקה"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Downloads"
|
|
||||||
msgstr "הורדות"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Videos"
|
|
||||||
msgstr "וידאו"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "File manager"
|
|
||||||
msgstr "מנהל הקבצים"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "System settings"
|
|
||||||
msgstr "הגדרות מערכת"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Lock screen"
|
|
||||||
msgstr "נעילת המסך"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Power options"
|
|
||||||
msgstr "אפשרויות הפעלה"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Search:"
|
|
||||||
msgstr "חיפוש:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Expand search to bookmarks, files and emails"
|
|
||||||
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/MainColumnItem.qml
|
|
||||||
msgid "More"
|
|
||||||
msgstr "עוד"
|
|
||||||
|
|
||||||
#: ../contents/ui/Footer.qml
|
|
||||||
msgid "Go to user settings"
|
|
||||||
msgstr "מעבר להגדרות המשתמש"
|
|
|
@ -1,222 +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: 2021-04-09 22:46-0400\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"
|
|
||||||
|
|
||||||
#: ../metadata.desktop
|
|
||||||
msgid "Menu 11"
|
|
||||||
msgstr "मेनू 11"
|
|
||||||
|
|
||||||
#: ../metadata.desktop
|
|
||||||
msgid "A highly customizable launcher inspired from windows 11 menu. Fork of MenuZ."
|
|
||||||
msgstr "विंडोज़ 11 मेनू से प्रेरित एक उच्च अनुकूलन योग्य लांचर। मेनूजेड का फोर्क।"
|
|
||||||
|
|
||||||
#: ../contents/config/config.qml
|
|
||||||
msgid "General"
|
|
||||||
msgstr "आम"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icon:"
|
|
||||||
msgstr "आइकन:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Menu Position:"
|
|
||||||
msgstr "मेनू स्थिति:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Center"
|
|
||||||
msgstr "केंद्र"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "On Edge"
|
|
||||||
msgstr "किनारे पर"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Auto"
|
|
||||||
msgstr "ऑटो"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Pinned item:"
|
|
||||||
msgstr "पिन किया गया आइटम"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Favourite apps"
|
|
||||||
msgstr "पसंदीदा ऐप्स"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Recent apps"
|
|
||||||
msgstr "हाल के ऐप्स"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Recent documents"
|
|
||||||
msgstr "हाल के कागजात"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Recommended item:"
|
|
||||||
msgstr "अनुशंसित वस्तु:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "None"
|
|
||||||
msgstr "कोई नहीं"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Number of columns in grid:"
|
|
||||||
msgstr "ग्रिड में स्तंभों की संख्या:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Number of rows in grid:"
|
|
||||||
msgstr "ग्रिड में पंक्तियों की संख्या:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icon Properties:"
|
|
||||||
msgstr "चिह्न गुण:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Panel Properties:"
|
|
||||||
msgstr "पैनल गुण:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show All apps by default"
|
|
||||||
msgstr "डिफ़ॉल्ट रूप से सभी ऐप्स दिखाएं"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Replace Explorer icon in footer"
|
|
||||||
msgstr "पाद लेख में एक्सप्लोरर आइकन बदलें"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for User Profile"
|
|
||||||
msgstr "उपयोगकर्ता प्रोफ़ाइल के लिए चिह्न का आकार कम करें"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for Footer"
|
|
||||||
msgstr "पाद लेख के लिए चिह्न का आकार कम करें"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for Pinned item"
|
|
||||||
msgstr "पिन किए गए आइटम के लिए आइकन का आकार कम करें"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Allow label to have two lines (Pinned)"
|
|
||||||
msgstr "लेबल को दो पंक्तियों की अनुमति दें (पिन किया हुआ)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show Description for all apps and search item"
|
|
||||||
msgstr "सभी ऐप्स और खोज आइटम के लिए विवरण दिखाएं"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Always Show Search Bar"
|
|
||||||
msgstr "हमेशा खोज बार दिखाएँ"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Prefer showing full name, instead of login name"
|
|
||||||
msgstr "लॉगिन नाम के बजाय पूरा नाम दिखाना पसंद करें"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show applications as:"
|
|
||||||
msgstr "अनुप्रयोगों को इस रूप में दिखाएं:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Name only"
|
|
||||||
msgstr "केवल नाम"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Description only"
|
|
||||||
msgstr "केवल विवरण"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Name (Description)"
|
|
||||||
msgstr "नाम (विवरण)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Description (Name)"
|
|
||||||
msgstr "विवरण (नाम)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icons on Bottom bar:"
|
|
||||||
msgstr "नीचे पट्टी पर चिह्न:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Documents"
|
|
||||||
msgstr "दस्तावेज़"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Pictures"
|
|
||||||
msgstr "चित्रों"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Music"
|
|
||||||
msgstr "संगीत"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Downloads"
|
|
||||||
msgstr "डाउनलोड"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Videos"
|
|
||||||
msgstr "वीडियो"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "File manager"
|
|
||||||
msgstr "फ़ाइल प्रबंधक"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "System settings"
|
|
||||||
msgstr "प्रणाली व्यवस्था"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Lock screen"
|
|
||||||
msgstr "लॉक स्क्रीन"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Power options"
|
|
||||||
msgstr "ऊर्जा के विकल्प"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Search:"
|
|
||||||
msgstr "खोज:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Expand search to bookmarks, files and emails"
|
|
||||||
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/MainColumnItem.qml
|
|
||||||
msgid "More"
|
|
||||||
msgstr "अधिक"
|
|
||||||
|
|
||||||
#: ../contents/ui/Footer.qml
|
|
||||||
msgid "Go to user settings"
|
|
||||||
msgstr "उपयोगकर्ता सेटिंग पर जाएं"
|
|
|
@ -1,222 +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: 2021-04-09 22:46-0400\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"
|
|
||||||
|
|
||||||
#: ../metadata.desktop
|
|
||||||
msgid "Menu 11"
|
|
||||||
msgstr "Menu 11"
|
|
||||||
|
|
||||||
#: ../metadata.desktop
|
|
||||||
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"
|
|
||||||
|
|
||||||
#: ../contents/config/config.qml
|
|
||||||
msgid "General"
|
|
||||||
msgstr "Generale"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icon:"
|
|
||||||
msgstr "Icona"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Menu Position:"
|
|
||||||
msgstr "Posizione menu'"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Center"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "On Edge"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Auto"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Pinned item:"
|
|
||||||
msgstr "Elementi fissati:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Favourite apps"
|
|
||||||
msgstr "Applicazioni preferite"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Recent apps"
|
|
||||||
msgstr "Applicazioni recenti"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Recent documents"
|
|
||||||
msgstr "Documenti recenti"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Recommended item:"
|
|
||||||
msgstr "Articoli consigliati:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "None"
|
|
||||||
msgstr "Nessuno"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Number of columns in grid:"
|
|
||||||
msgstr "Numero di colonne"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Number of rows in grid:"
|
|
||||||
msgstr "Numero di righe"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icon Properties:"
|
|
||||||
msgstr "Icona' pannello"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Panel Properties:"
|
|
||||||
msgstr "Proprieta' pannello"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show All apps by default"
|
|
||||||
msgstr "Mostra sempre tutte le app"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Replace Explorer icon in footer"
|
|
||||||
msgstr "Sostituisci l'icona dell'esploratore nel piè di pagina"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for User Profile"
|
|
||||||
msgstr "Riduci dimensione icona per l'immagine di profilo"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for Footer"
|
|
||||||
msgstr "Riduci dimensione icone in basso"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for Pinned item"
|
|
||||||
msgstr "Riduci dimensione icone per Elementi fissati"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Allow label to have two lines (Pinned)"
|
|
||||||
msgstr "Consenti al testo di andare a capo (Elementi fissati)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show Description for all apps and search item"
|
|
||||||
msgstr "Mostra descrizione per tutte le app ed elementi di ricerca"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Always Show Search Bar"
|
|
||||||
msgstr "Mostra sempre la barra di ricerca"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Prefer showing full name, instead of login name"
|
|
||||||
msgstr "Preferisce mostrare il nome completo invece del nome utente"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show applications as:"
|
|
||||||
msgstr "Mostra applicazioni come:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Name only"
|
|
||||||
msgstr "Solo nome"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Description only"
|
|
||||||
msgstr "Solo descrizione"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Name (Description)"
|
|
||||||
msgstr "Nome (Descrizione)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Description (Name)"
|
|
||||||
msgstr "Descrizione (Nome)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icons on Bottom bar:"
|
|
||||||
msgstr "Icone nella barra inferiore"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Documents"
|
|
||||||
msgstr "Documenti"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Pictures"
|
|
||||||
msgstr "Immagini"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Music"
|
|
||||||
msgstr "Musica"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Downloads"
|
|
||||||
msgstr "Scaricati"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Videos"
|
|
||||||
msgstr "Video"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "File manager"
|
|
||||||
msgstr "Gestore file"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "System settings"
|
|
||||||
msgstr "Impostazioni di sistema"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Lock screen"
|
|
||||||
msgstr "Schermata di blocco"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Power options"
|
|
||||||
msgstr "Arresta"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Search:"
|
|
||||||
msgstr "Ricerca:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Expand search to bookmarks, files and emails"
|
|
||||||
msgstr "Espandi ricerca a segnalibri, file ed email"
|
|
||||||
|
|
||||||
#: ../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/MainColumnItem.qml
|
|
||||||
msgid "More"
|
|
||||||
msgstr "Altro"
|
|
||||||
|
|
||||||
#: ../contents/ui/Footer.qml
|
|
||||||
msgid "Go to user settings"
|
|
||||||
msgstr "Vai alle impostazioni utente"
|
|
|
@ -1,223 +1,179 @@
|
||||||
# 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 ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: menu11\n"
|
"Project-Id-Version: \n"
|
||||||
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/menu11\n"
|
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/Menu11\n"
|
||||||
"POT-Creation-Date: 2021-04-09 22:46-0400\n"
|
"POT-Creation-Date: 2024-09-23 12:45+0500\n"
|
||||||
"PO-Revision-Date: 2021-08-17 22:06+0900\n"
|
"PO-Revision-Date: 2021-09-29 09:43+0900\n"
|
||||||
|
"Last-Translator: \n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
|
"Language: ko\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"X-Generator: Poedit 3.0\n"
|
"X-Generator: Poedit 3.0\n"
|
||||||
"Last-Translator: \n"
|
"X-Poedit-Basepath: .\n"
|
||||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||||
"Language: ko\n"
|
|
||||||
|
|
||||||
#: ../metadata.desktop
|
|
||||||
msgid "Menu 11"
|
|
||||||
msgstr "Menu 11"
|
|
||||||
|
|
||||||
#: ../metadata.desktop
|
|
||||||
msgid "A highly customizable launcher inspired from windows 11 menu. Fork of MenuZ."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/config/config.qml
|
#: ../contents/config/config.qml
|
||||||
msgid "General"
|
msgid "General"
|
||||||
msgstr "일반"
|
msgstr "일반"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../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:"
|
msgid "Icon:"
|
||||||
msgstr "아이콘:"
|
msgstr "아이콘:"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Menu Position:"
|
msgctxt "@item:inmenu Open icon chooser dialog"
|
||||||
msgstr "메뉴 위치:"
|
msgid "Choose…"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../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 "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"
|
msgid "Center"
|
||||||
msgstr "가운데"
|
msgstr "가운데"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "On Edge"
|
msgid "Center bottom"
|
||||||
msgstr "모서리"
|
msgstr "가운데 밑"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Auto"
|
msgid "Show labels in two lines"
|
||||||
msgstr "자동"
|
msgstr "라벨 두 줄로 표시"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Pinned item:"
|
msgid "Number of columns"
|
||||||
msgstr "고정된 항목:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Favourite apps"
|
|
||||||
msgstr "책갈피"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Recent apps"
|
|
||||||
msgstr "최근 프로그램"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Recent documents"
|
|
||||||
msgstr "최근 문서"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Recommended item:"
|
|
||||||
msgstr "추천 항목:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "None"
|
|
||||||
msgstr "없음"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Number of columns in grid:"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Number of rows in grid:"
|
msgid "Number of rows"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Icon Properties:"
|
msgid "Unhide all hidden applications"
|
||||||
msgstr "아이콘 정보:"
|
msgstr "모든 숨겨진 프로그램 복구"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Panel Properties:"
|
msgid "Unhidden!"
|
||||||
msgstr "패널 정보:"
|
msgstr "복구됨!"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/Footer.qml
|
||||||
msgid "Show All apps by default"
|
msgid "User Home"
|
||||||
msgstr ""
|
msgstr "사용자 홈"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/Footer.qml
|
||||||
msgid "Replace Explorer icon in footer"
|
msgid "System Preferences"
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for User Profile"
|
|
||||||
msgstr "사용자 이미지 크기 줄이기"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for Footer"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for Pinned item"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Allow label to have two lines (Pinned)"
|
|
||||||
msgstr "이름표에 두 줄 허용 (고정됨)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show Description for all apps and search item"
|
|
||||||
msgstr "프로그램과 검색 항목에 설명 표시"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Always Show Search Bar"
|
|
||||||
msgstr "항상 검색 창 표시"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Prefer showing full name, instead of login name"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show applications as:"
|
|
||||||
msgstr "프로그램 표시:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Name only"
|
|
||||||
msgstr "이름만"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Description only"
|
|
||||||
msgstr "설명만"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Name (Description)"
|
|
||||||
msgstr "이름 (설명)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Description (Name)"
|
|
||||||
msgstr "설명 (이름)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icons on Bottom bar:"
|
|
||||||
msgstr "하단 바 아이콘:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Documents"
|
|
||||||
msgstr "문서"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Pictures"
|
|
||||||
msgstr "사진"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Music"
|
|
||||||
msgstr "음악"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Downloads"
|
|
||||||
msgstr "다운로드"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Videos"
|
|
||||||
msgstr "비디오"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "File manager"
|
|
||||||
msgstr "파일 관리자"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "System settings"
|
|
||||||
msgstr "시스템 설정"
|
msgstr "시스템 설정"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
#: ../contents/ui/Footer.qml
|
||||||
msgid "Lock screen"
|
msgid "Shutdown"
|
||||||
msgstr "잠금"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Power options"
|
|
||||||
msgstr "전원 옵션"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Search:"
|
|
||||||
msgstr "검색:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Expand search to bookmarks, files and emails"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/MainColumnItem.qml
|
#: ../contents/ui/main.qml
|
||||||
msgid "Type here to search"
|
msgid "Edit Applications…"
|
||||||
msgstr "검색하려면 여기에 입력하십시오."
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/MainColumnItem.qml
|
#: ../contents/ui/MenuRepresentation.qml
|
||||||
|
msgid "Type here to search ..."
|
||||||
|
msgstr "검색..."
|
||||||
|
|
||||||
|
#: ../contents/ui/MenuRepresentation.qml
|
||||||
|
msgid "Pinned"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../contents/ui/MenuRepresentation.qml
|
||||||
msgid "All apps"
|
msgid "All apps"
|
||||||
msgstr "모든 프로그램"
|
msgstr "모든 프로그램"
|
||||||
|
|
||||||
#: ../contents/ui/MainColumnItem.qml
|
#: ../contents/ui/MenuRepresentation.qml
|
||||||
msgid "Recommended"
|
msgid "Recent documents"
|
||||||
msgstr "추천"
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/MainColumnItem.qml
|
#~ msgid "Ditto Menu"
|
||||||
msgid "Pinned"
|
#~ msgstr "Ditto 메뉴"
|
||||||
msgstr "고정됨"
|
|
||||||
|
|
||||||
#: ../contents/ui/MainColumnItem.qml
|
#~ msgid "A configurable launcher menu"
|
||||||
msgid "Back"
|
#~ msgstr "프로그램 실행기"
|
||||||
msgstr "뒤로"
|
|
||||||
|
|
||||||
#: ../contents/ui/MainColumnItem.qml
|
#~ msgid "On The Current Activity"
|
||||||
msgid "More"
|
#~ msgstr "현재 활동만"
|
||||||
msgstr "더 보기"
|
|
||||||
|
|
||||||
#: ../contents/ui/Footer.qml
|
#~ msgid "Show In Favorites"
|
||||||
msgid "Go to user settings"
|
#~ msgstr "즐겨찾기에 표시"
|
||||||
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 "즐겨찾기"
|
||||||
|
|
|
@ -0,0 +1,165 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# Version: 22
|
||||||
|
|
||||||
|
# https://techbase.kde.org/Development/Tutorials/Localization/i18n_Build_Systems
|
||||||
|
# https://techbase.kde.org/Development/Tutorials/Localization/i18n_Build_Systems/Outside_KDE_repositories
|
||||||
|
# https://invent.kde.org/sysadmin/l10n-scripty/-/blob/master/extract-messages.sh
|
||||||
|
|
||||||
|
DIR=`cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd`
|
||||||
|
plasmoidName=com.github.adhec.Menu11
|
||||||
|
widgetName="${plasmoidName##*.}" # Strip namespace
|
||||||
|
website=https://github.com/prateekmedia/Menu11
|
||||||
|
bugAddress="$website"
|
||||||
|
packageRoot=".." # Root of translatable sources
|
||||||
|
projectName="plasma_applet_${plasmoidName}" # project name
|
||||||
|
|
||||||
|
#---
|
||||||
|
if [ -z "$plasmoidName" ]; then
|
||||||
|
echo "[merge] Error: Couldn't read plasmoidName."
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$(which xgettext)" ]; then
|
||||||
|
echo "[merge] Error: xgettext command not found. Need to install gettext"
|
||||||
|
echo "[merge] Running 'sudo apt install gettext'"
|
||||||
|
sudo apt install gettext
|
||||||
|
echo "[merge] gettext installation should be finished. Going back to merging translations."
|
||||||
|
fi
|
||||||
|
|
||||||
|
#---
|
||||||
|
echo "[merge] Extracting messages"
|
||||||
|
potArgs="--from-code=UTF-8 --width=200 --add-location=file"
|
||||||
|
|
||||||
|
# See Ki18n's extract-messages.sh for a full example:
|
||||||
|
# https://invent.kde.org/sysadmin/l10n-scripty/-/blob/master/extract-messages.sh#L25
|
||||||
|
# The -kN_ and -kaliasLocale keywords are mentioned in the Outside_KDE_repositories wiki.
|
||||||
|
# We don't need -kN_ since we don't use intltool-extract but might as well keep it.
|
||||||
|
# I have no idea what -kaliasLocale is used for. Googling aliasLocale found only listed kde1 code.
|
||||||
|
# We don't need to parse -ki18nd since that'll extract messages from other domains.
|
||||||
|
find "${packageRoot}" -name '*.cpp' -o -name '*.h' -o -name '*.c' -o -name '*.qml' -o -name '*.js' | sort > "${DIR}/infiles.list"
|
||||||
|
xgettext \
|
||||||
|
${potArgs} \
|
||||||
|
--files-from="${DIR}/infiles.list" \
|
||||||
|
-C -kde \
|
||||||
|
-ci18n \
|
||||||
|
-ki18n:1 -ki18nc:1c,2 -ki18np:1,2 -ki18ncp:1c,2,3 \
|
||||||
|
-kki18n:1 -kki18nc:1c,2 -kki18np:1,2 -kki18ncp:1c,2,3 \
|
||||||
|
-kxi18n:1 -kxi18nc:1c,2 -kxi18np:1,2 -kxi18ncp:1c,2,3 \
|
||||||
|
-kkxi18n:1 -kkxi18nc:1c,2 -kkxi18np:1,2 -kkxi18ncp:1c,2,3 \
|
||||||
|
-kI18N_NOOP:1 -kI18NC_NOOP:1c,2 \
|
||||||
|
-kI18N_NOOP2:1c,2 -kI18N_NOOP2_NOSTRIP:1c,2 \
|
||||||
|
-ktr2i18n:1 -ktr2xi18n:1 \
|
||||||
|
-kN_:1 \
|
||||||
|
-kaliasLocale \
|
||||||
|
--package-name="${widgetName}" \
|
||||||
|
--msgid-bugs-address="${bugAddress}" \
|
||||||
|
-D "${packageRoot}" \
|
||||||
|
-D "${DIR}" \
|
||||||
|
-o "template.pot.new" \
|
||||||
|
|| \
|
||||||
|
{ echo "[merge] error while calling xgettext. aborting."; exit 1; }
|
||||||
|
|
||||||
|
sed -i 's/"Content-Type: text\/plain; charset=CHARSET\\n"/"Content-Type: text\/plain; charset=UTF-8\\n"/' "template.pot.new"
|
||||||
|
sed -i 's/# SOME DESCRIPTIVE TITLE./'"# Translation of ${widgetName} in LANGUAGE"'/' "template.pot.new"
|
||||||
|
sed -i 's/# Copyright (C) YEAR THE PACKAGE'"'"'S COPYRIGHT HOLDER/'"# Copyright (C) $(date +%Y)"'/' "template.pot.new"
|
||||||
|
|
||||||
|
if [ -f "template.pot" ]; then
|
||||||
|
newPotDate=`grep "POT-Creation-Date:" template.pot.new | sed 's/.\{3\}$//'`
|
||||||
|
oldPotDate=`grep "POT-Creation-Date:" template.pot | sed 's/.\{3\}$//'`
|
||||||
|
sed -i 's/'"${newPotDate}"'/'"${oldPotDate}"'/' "template.pot.new"
|
||||||
|
changes=`diff "template.pot" "template.pot.new"`
|
||||||
|
if [ ! -z "$changes" ]; then
|
||||||
|
# There's been changes
|
||||||
|
sed -i 's/'"${oldPotDate}"'/'"${newPotDate}"'/' "template.pot.new"
|
||||||
|
mv "template.pot.new" "template.pot"
|
||||||
|
|
||||||
|
addedKeys=`echo "$changes" | grep "> msgid" | cut -c 9- | sort`
|
||||||
|
removedKeys=`echo "$changes" | grep "< msgid" | cut -c 9- | sort`
|
||||||
|
echo ""
|
||||||
|
echo "Added Keys:"
|
||||||
|
echo "$addedKeys"
|
||||||
|
echo ""
|
||||||
|
echo "Removed Keys:"
|
||||||
|
echo "$removedKeys"
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
else
|
||||||
|
# No changes
|
||||||
|
rm "template.pot.new"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
# template.pot didn't already exist
|
||||||
|
mv "template.pot.new" "template.pot"
|
||||||
|
fi
|
||||||
|
|
||||||
|
potMessageCount=`expr $(grep -Pzo 'msgstr ""\n(\n|$)' "template.pot" | grep -c 'msgstr ""')`
|
||||||
|
echo "| Locale | Lines | % Done|" > "./Status.md"
|
||||||
|
echo "|----------|---------|-------|" >> "./Status.md"
|
||||||
|
entryFormat="| %-8s | %7s | %5s |"
|
||||||
|
templateLine=`perl -e "printf(\"$entryFormat\", \"Template\", \"${potMessageCount}\", \"\")"`
|
||||||
|
echo "$templateLine" >> "./Status.md"
|
||||||
|
|
||||||
|
rm "${DIR}/infiles.list"
|
||||||
|
echo "[merge] Done extracting messages"
|
||||||
|
|
||||||
|
#---
|
||||||
|
echo "[merge] Merging messages"
|
||||||
|
catalogs=`find . -name '*.po' | sort`
|
||||||
|
for cat in $catalogs; do
|
||||||
|
echo "[merge] $cat"
|
||||||
|
catLocale=`basename ${cat%.*}`
|
||||||
|
|
||||||
|
widthArg=""
|
||||||
|
catUsesGenerator=`grep "X-Generator:" "$cat"`
|
||||||
|
if [ -z "$catUsesGenerator" ]; then
|
||||||
|
widthArg="--width=400"
|
||||||
|
fi
|
||||||
|
|
||||||
|
compendiumArg=""
|
||||||
|
if [ ! -z "$COMPENDIUM_DIR" ]; then
|
||||||
|
langCode=`basename "${cat%.*}"`
|
||||||
|
compendiumPath=`realpath "$COMPENDIUM_DIR/compendium-${langCode}.po"`
|
||||||
|
if [ -f "$compendiumPath" ]; then
|
||||||
|
echo "compendiumPath=$compendiumPath"
|
||||||
|
compendiumArg="--compendium=$compendiumPath"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
cp "$cat" "$cat.new"
|
||||||
|
sed -i 's/"Content-Type: text\/plain; charset=CHARSET\\n"/"Content-Type: text\/plain; charset=UTF-8\\n"/' "$cat.new"
|
||||||
|
|
||||||
|
msgmerge \
|
||||||
|
${widthArg} \
|
||||||
|
--add-location=file \
|
||||||
|
--no-fuzzy-matching \
|
||||||
|
${compendiumArg} \
|
||||||
|
-o "$cat.new" \
|
||||||
|
"$cat.new" "${DIR}/template.pot"
|
||||||
|
|
||||||
|
sed -i 's/# SOME DESCRIPTIVE TITLE./'"# Translation of ${widgetName} in ${catLocale}"'/' "$cat.new"
|
||||||
|
sed -i 's/# Translation of '"${widgetName}"' in LANGUAGE/'"# Translation of ${widgetName} in ${catLocale}"'/' "$cat.new"
|
||||||
|
sed -i 's/# Copyright (C) YEAR THE PACKAGE'"'"'S COPYRIGHT HOLDER/'"# Copyright (C) $(date +%Y)"'/' "$cat.new"
|
||||||
|
|
||||||
|
poEmptyMessageCount=`expr $(grep -Pzo 'msgstr ""\n(\n|$)' "$cat.new" | grep -c 'msgstr ""')`
|
||||||
|
poMessagesDoneCount=`expr $potMessageCount - $poEmptyMessageCount`
|
||||||
|
poCompletion=`perl -e "printf(\"%d\", $poMessagesDoneCount * 100 / $potMessageCount)"`
|
||||||
|
poLine=`perl -e "printf(\"$entryFormat\", \"$catLocale\", \"${poMessagesDoneCount}/${potMessageCount}\", \"${poCompletion}%\")"`
|
||||||
|
echo "$poLine" >> "./Status.md"
|
||||||
|
|
||||||
|
# mv "$cat" "$cat.old"
|
||||||
|
mv "$cat.new" "$cat"
|
||||||
|
done
|
||||||
|
echo "[merge] Done merging messages"
|
||||||
|
|
||||||
|
#---
|
||||||
|
# Populate ReadMe.md
|
||||||
|
echo "[merge] Updating translate/ReadMe.md"
|
||||||
|
sed -i -E 's`share\/plasma\/plasmoids\/(.+)\/translate`share/plasma/plasmoids/'"${plasmoidName}"'/translate`' ./ReadMe.md
|
||||||
|
if [[ "$website" == *"github.com"* ]]; then
|
||||||
|
sed -i -E 's`\[new issue\]\(https:\/\/github\.com\/(.+)\/(.+)\/issues\/new\)`[new issue]('"${website}"'/issues/new)`' ./ReadMe.md
|
||||||
|
fi
|
||||||
|
sed -i '/^|/ d' ./ReadMe.md # Remove status table from ReadMe
|
||||||
|
cat ./Status.md >> ./ReadMe.md
|
||||||
|
rm ./Status.md
|
||||||
|
|
||||||
|
echo "[merge] Done"
|
|
@ -1,223 +1,217 @@
|
||||||
# Translation of menu11 in Dutch
|
# Translation of dittomenu in nl
|
||||||
# Copyright (C) 2021
|
# 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.
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: menu11\n"
|
"Project-Id-Version: dittomenu\n"
|
||||||
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/menu11\n"
|
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/Menu11\n"
|
||||||
"POT-Creation-Date: 2021-04-09 22:46-0400\n"
|
"POT-Creation-Date: 2024-09-23 12:45+0500\n"
|
||||||
"PO-Revision-Date: 2021-07-24 14:40+0200\n"
|
"PO-Revision-Date: 2022-01-01 20:09+0100\n"
|
||||||
|
"Last-Translator: Heimen Stoffels <vistausss@fastmail.com>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
|
"Language: nl\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"X-Generator: Poedit 3.0\n"
|
"X-Generator: Poedit 3.0\n"
|
||||||
"Last-Translator: Heimen Stoffels <vistausss@fastmail.com>\n"
|
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
"Language: nl\n"
|
|
||||||
|
|
||||||
#: ../metadata.desktop
|
|
||||||
msgid "Menu 11"
|
|
||||||
msgstr "Menu 11"
|
|
||||||
|
|
||||||
#: ../metadata.desktop
|
|
||||||
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/config/config.qml
|
#: ../contents/config/config.qml
|
||||||
msgid "General"
|
msgid "General"
|
||||||
msgstr "Algemeen"
|
msgstr "Algemeen"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../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:"
|
msgid "Icon:"
|
||||||
msgstr "Pictogram"
|
msgstr "Pictogram:"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Menu Position:"
|
msgctxt "@item:inmenu Open icon chooser dialog"
|
||||||
msgstr "Menupositie"
|
msgid "Choose…"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../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 "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"
|
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 ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "On Edge"
|
msgid "Number of rows"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Auto"
|
msgid "Unhide all hidden applications"
|
||||||
msgstr ""
|
msgstr "Alle verborgen programma's zichtbaar maken"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Pinned item:"
|
msgid "Unhidden!"
|
||||||
msgstr "Vastgemaakt item:"
|
msgstr "Alles programma's zijn weer zichtbaar!"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Favourite apps"
|
|
||||||
msgstr "Favoriete programma's"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Recent apps"
|
|
||||||
msgstr "Recente programma's"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Recent documents"
|
|
||||||
msgstr "Recente documenten"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Recommended item:"
|
|
||||||
msgstr "Aanbevolen item:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "None"
|
|
||||||
msgstr "Geen"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Number of columns in grid:"
|
|
||||||
msgstr "Aantal kolommen op rooster:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Number of rows in grid:"
|
|
||||||
msgstr "Aantal rijen op rooster:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icon Properties:"
|
|
||||||
msgstr "Pictogram Eigenschappen:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Panel Properties:"
|
|
||||||
msgstr "Paneel Eigenschappen:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show All apps by default"
|
|
||||||
msgstr "Onderdeel ‘Alle programma's’ tonen na aanklikken"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Replace Explorer icon in footer"
|
|
||||||
msgstr "Vervang Explorer-pictogram in voettekst"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for User Profile"
|
|
||||||
msgstr "Pictogram van gebruikersafbeelding verkleinen"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for Footer"
|
|
||||||
msgstr "Pictogrammen naast voettekst verkleinen"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for Pinned item"
|
|
||||||
msgstr "Pictogrammen van vastgemaakte items verkleinen"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Allow label to have two lines (Pinned)"
|
|
||||||
msgstr "Labeltekst verdelen over twee regels (vastgemaakte items)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show Description for all apps and search item"
|
|
||||||
msgstr "Beschrijvingen tonen bij alle programma's en zoekopdrachten"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Always Show Search Bar"
|
|
||||||
msgstr "Zoekbalk altijd tonen"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Prefer showing full name, instead of login name"
|
|
||||||
msgstr "Liever volledige naam weergeven in plaats van inlognaam"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show applications as:"
|
|
||||||
msgstr "Programmaweergave:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Name only"
|
|
||||||
msgstr "Alleen naam"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Description only"
|
|
||||||
msgstr "Alleen beschrijving"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Name (Description)"
|
|
||||||
msgstr "Naam (beschrijving)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Description (Name)"
|
|
||||||
msgstr "Beschrijving (naam)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icons on Bottom bar:"
|
|
||||||
msgstr "Pictogrammen op onderbalk:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Documents"
|
|
||||||
msgstr "Documenten"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Pictures"
|
|
||||||
msgstr "Afbeeldingen"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Music"
|
|
||||||
msgstr "Muziek"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Downloads"
|
|
||||||
msgstr "Downloads"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Videos"
|
|
||||||
msgstr "Video's"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "File manager"
|
|
||||||
msgstr "Bestandsbeheerder"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "System settings"
|
|
||||||
msgstr "Systeeminstellingen"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Lock screen"
|
|
||||||
msgstr "Scherm vergrendelen"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Power options"
|
|
||||||
msgstr "Afsluitopties"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Search:"
|
|
||||||
msgstr "Zoeken:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Expand search to bookmarks, files and emails"
|
|
||||||
msgstr "Ook bladwijzers, bestanden en e-mails doorzoeken"
|
|
||||||
|
|
||||||
#: ../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/MainColumnItem.qml
|
|
||||||
msgid "More"
|
|
||||||
msgstr "Meer"
|
|
||||||
|
|
||||||
#: ../contents/ui/Footer.qml
|
#: ../contents/ui/Footer.qml
|
||||||
msgid "Go to user settings"
|
msgid "User Home"
|
||||||
msgstr "Ga naar de gebruikersinstellingen"
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../contents/ui/Footer.qml
|
||||||
|
msgid "System Preferences"
|
||||||
|
msgstr "Systeeminstellingen"
|
||||||
|
|
||||||
|
#: ../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/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…"
|
||||||
|
|
|
@ -1,222 +1,213 @@
|
||||||
# Translation of menu11 in LANGUAGE
|
# Translation of dittomenu in pl
|
||||||
# Copyright (C) 2021
|
# Copyright (C) 2022
|
||||||
# This file is distributed under the same license as the menu11 package.
|
# This file is distributed under the same license as the dittomenu package.
|
||||||
# Marcin Sągol marcin@soee.pl, 2021.
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
#
|
#
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: menu11\n"
|
"Project-Id-Version: dittomenu\n"
|
||||||
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/menu11\n"
|
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/Menu11\n"
|
||||||
"POT-Creation-Date: 2021-04-09 22:46-0400\n"
|
"POT-Creation-Date: 2024-09-23 12:45+0500\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: 2022-04-05 10:40+0100\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: Krzysztof Korab <korapps@outlook.com>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: \n"
|
||||||
"Language: \n"
|
"Language: pl\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
||||||
#: ../metadata.desktop
|
|
||||||
msgid "Menu 11"
|
|
||||||
msgstr "Menu 11"
|
|
||||||
|
|
||||||
#: ../metadata.desktop
|
|
||||||
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/config/config.qml
|
#: ../contents/config/config.qml
|
||||||
msgid "General"
|
msgid "General"
|
||||||
msgstr "Ogólne"
|
msgstr "Ogólne"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../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:"
|
msgid "Icon:"
|
||||||
msgstr "Ikona:"
|
msgstr "Ikona:"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Menu Position:"
|
msgctxt "@item:inmenu Open icon chooser dialog"
|
||||||
msgstr "Pozycja menu:"
|
msgid "Choose…"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../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 "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"
|
msgid "Center"
|
||||||
msgstr "Środek"
|
msgstr "Wyśrodkowane"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "On Edge"
|
msgid "Center bottom"
|
||||||
msgstr "Brzeg"
|
msgstr "Wyśrodkowane, na dole"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Auto"
|
msgid "Show labels in two lines"
|
||||||
msgstr "Automatyczna"
|
msgstr "Pokaż podpisy w dwóch liniach"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Pinned item:"
|
msgid "Number of columns"
|
||||||
msgstr "Przypięty element:"
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Favourite apps"
|
msgid "Number of rows"
|
||||||
msgstr "Ulubione aplikacje"
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Recent apps"
|
msgid "Unhide all hidden applications"
|
||||||
msgstr "Bieżące aplikacje"
|
msgstr "Uwidocznij wszystkie ukryte aplikacje"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Recent documents"
|
msgid "Unhidden!"
|
||||||
msgstr "Bieżące dokumenty"
|
msgstr "Wszystkie programy są widoczne!"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Recommended item:"
|
|
||||||
msgstr "Polecany element:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "None"
|
|
||||||
msgstr "Żaden"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Number of columns in grid:"
|
|
||||||
msgstr "Liczba kolumn w siatce:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Number of rows in grid:"
|
|
||||||
msgstr "Liczba wierszy w siatce:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icon Properties:"
|
|
||||||
msgstr "Ustawienia ikon:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Panel Properties:"
|
|
||||||
msgstr "Ustawienia panelu:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show All apps by default"
|
|
||||||
msgstr "Pokaż wszystkie aplikacje domyślnie"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Replace Explorer icon in footer"
|
|
||||||
msgstr "Zamień ikonę Eksploratora w stopce"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for User Profile"
|
|
||||||
msgstr "Zredukuj rozmar ikony dla profilu użytkownika"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for Footer"
|
|
||||||
msgstr "Zredukuj rozmar ikony dla stopki"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for Pinned item"
|
|
||||||
msgstr "Zredukuj rozmar ikony dla przypiętego elementu"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Allow label to have two lines (Pinned)"
|
|
||||||
msgstr "Pozwól, aby etykieta miała dwa wiersze (Przypięte)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show Description for all apps and search item"
|
|
||||||
msgstr "Pokaż opis dla wszystkich aplikacji i elementu wyszukiwania"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Always Show Search Bar"
|
|
||||||
msgstr "Zawsze pokazuj pasek wyszukiwania"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Prefer showing full name, instead of login name"
|
|
||||||
msgstr "Preferuj pokazywanie imienia i nazwiska zamiast loginu"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show applications as:"
|
|
||||||
msgstr "Pokaż aplikacje jako:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Name only"
|
|
||||||
msgstr "Tylko nazwa"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Description only"
|
|
||||||
msgstr "Tylko opis"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Name (Description)"
|
|
||||||
msgstr "Nazwa (opis)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Description (Name)"
|
|
||||||
msgstr "Opis (nazwa)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icons on Bottom bar:"
|
|
||||||
msgstr "Ikony na dolnym"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Documents"
|
|
||||||
msgstr "Dokumenty"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Pictures"
|
|
||||||
msgstr "Obrazy"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Music"
|
|
||||||
msgstr "Muzyka"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Downloads"
|
|
||||||
msgstr "Pobrane"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Videos"
|
|
||||||
msgstr "Wideo"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "File manager"
|
|
||||||
msgstr "Menadżer plików"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "System settings"
|
|
||||||
msgstr "Ustawienia systemowe"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Lock screen"
|
|
||||||
msgstr "Zablokuj ekran"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Power options"
|
|
||||||
msgstr "Zasilanie"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Search:"
|
|
||||||
msgstr "Wyszukiwanie:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Expand search to bookmarks, files and emails"
|
|
||||||
msgstr "Rozszerz wyszukiwanie do zakładek, plików i e-maili"
|
|
||||||
|
|
||||||
#: ../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/MainColumnItem.qml
|
|
||||||
msgid "More"
|
|
||||||
msgstr "Więcej"
|
|
||||||
|
|
||||||
#: ../contents/ui/Footer.qml
|
#: ../contents/ui/Footer.qml
|
||||||
msgid "Go to user settings"
|
msgid "User Home"
|
||||||
msgstr "Przejdź do ustawień użytkownika"
|
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"
|
||||||
|
|
|
@ -0,0 +1,181 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# Version 9
|
||||||
|
# Requires plasmoidviewer v5.13.0
|
||||||
|
|
||||||
|
function checkIfLangInstalled {
|
||||||
|
if [ -x "$(command -v dpkg)" ]; then
|
||||||
|
dpkg -l ${1} >/dev/null 2>&1 || ( \
|
||||||
|
echo -e "${1} not installed.\nInstalling now before continuing.\n" \
|
||||||
|
; sudo apt install ${1} \
|
||||||
|
) || ( \
|
||||||
|
echo -e "\nError trying to install ${1}\nPlease run 'sudo apt install ${1}'\n" \
|
||||||
|
; exit 1 \
|
||||||
|
)
|
||||||
|
elif [ -x "$(command -v pacman)" ]; then
|
||||||
|
# TODO: run `locale -a` and check if the locale is enabled.
|
||||||
|
if false; then
|
||||||
|
# https://wiki.archlinux.org/index.php/Locale
|
||||||
|
# Uncomment the locale in /etc/locale.gen
|
||||||
|
# Then run `locale-gen`
|
||||||
|
echo -e "\nPlease install this locale in System Settings first.\n"
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo ""
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo -e "\nPackage manager not recognized. If the widget is not translated, please install the package '${1}'\n"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
langInput="${1}"
|
||||||
|
lang=""
|
||||||
|
languagePack=""
|
||||||
|
|
||||||
|
if [[ "$langInput" =~ ":" ]]; then # String contains a colon so assume it's a locale code.
|
||||||
|
lang="${langInput}"
|
||||||
|
IFS=: read -r l1 l2 <<< "${lang}"
|
||||||
|
languagePack="language-pack-${l2}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# https://stackoverflow.com/questions/3191664/list-of-all-locales-and-their-short-codes/28357857#28357857
|
||||||
|
declare -a langArr=(
|
||||||
|
"af_ZA:af:Afrikaans (South Africa)"
|
||||||
|
"ak_GH:ak:Akan (Ghana)"
|
||||||
|
"am_ET:am:Amharic (Ethiopia)"
|
||||||
|
"ar_EG:ar:Arabic (Egypt)"
|
||||||
|
"as_IN:as:Assamese (India)"
|
||||||
|
"az_AZ:az:Azerbaijani (Azerbaijan)"
|
||||||
|
"be_BY:be:Belarusian (Belarus)"
|
||||||
|
"bem_ZM:bem:Bemba (Zambia)"
|
||||||
|
"bg_BG:bg:Bulgarian (Bulgaria)"
|
||||||
|
"bo_IN:bo:Tibetan (India)"
|
||||||
|
"bs_BA:bs:Bosnian (Bosnia and Herzegovina)"
|
||||||
|
"ca_ES:ca:Catalan (Spain)"
|
||||||
|
"chr_US:ch:Cherokee (United States)"
|
||||||
|
"cs_CZ:cs:Czech (Czech Republic)"
|
||||||
|
"cy_GB:cy:Welsh (United Kingdom)"
|
||||||
|
"da_DK:da:Danish (Denmark)"
|
||||||
|
"de_DE:de:German (Germany)"
|
||||||
|
"el_GR:el:Greek (Greece)"
|
||||||
|
"es_MX:es:Spanish (Mexico)"
|
||||||
|
"et_EE:et:Estonian (Estonia)"
|
||||||
|
"eu_ES:eu:Basque (Spain)"
|
||||||
|
"fa_IR:fa:Persian (Iran)"
|
||||||
|
"ff_SN:ff:Fulah (Senegal)"
|
||||||
|
"fi_FI:fi:Finnish (Finland)"
|
||||||
|
"fo_FO:fo:Faroese (Faroe Islands)"
|
||||||
|
"fr_CA:fr:French (Canada)"
|
||||||
|
"ga_IE:ga:Irish (Ireland)"
|
||||||
|
"gl_ES:gl:Galician (Spain)"
|
||||||
|
"gu_IN:gu:Gujarati (India)"
|
||||||
|
"gv_GB:gv:Manx (United Kingdom)"
|
||||||
|
"ha_NG:ha:Hausa (Nigeria)"
|
||||||
|
"he_IL:he:Hebrew (Israel)"
|
||||||
|
"hi_IN:hi:Hindi (India)"
|
||||||
|
"hr_HR:hr:Croatian (Croatia)"
|
||||||
|
"hu_HU:hu:Hungarian (Hungary)"
|
||||||
|
"hy_AM:hy:Armenian (Armenia)"
|
||||||
|
"id_ID:id:Indonesian (Indonesia)"
|
||||||
|
"ig_NG:ig:Igbo (Nigeria)"
|
||||||
|
"is_IS:is:Icelandic (Iceland)"
|
||||||
|
"it_IT:it:Italian (Italy)"
|
||||||
|
"ja_JP:ja:Japanese (Japan)"
|
||||||
|
"ka_GE:ka:Georgian (Georgia)"
|
||||||
|
"kk_KZ:kk:Kazakh (Kazakhstan)"
|
||||||
|
"kl_GL:kl:Kalaallisut (Greenland)"
|
||||||
|
"km_KH:km:Khmer (Cambodia)"
|
||||||
|
"kn_IN:kn:Kannada (India)"
|
||||||
|
"ko_KR:ko:Korean (South Korea)"
|
||||||
|
"ko_KR:ko:Korean (South Korea)"
|
||||||
|
"lg_UG:lg:Ganda (Uganda)"
|
||||||
|
"lt_LT:lt:Lithuanian (Lithuania)"
|
||||||
|
"lv_LV:lv:Latvian (Latvia)"
|
||||||
|
"mg_MG:mg:Malagasy (Madagascar)"
|
||||||
|
"mk_MK:mk:Macedonian (Macedonia)"
|
||||||
|
"ml_IN:ml:Malayalam (India)"
|
||||||
|
"mr_IN:mr:Marathi (India)"
|
||||||
|
"ms_MY:ms:Malay (Malaysia)"
|
||||||
|
"mt_MT:mt:Maltese (Malta)"
|
||||||
|
"my_MM:my:Burmese (Myanmar [Burma])"
|
||||||
|
"nb_NO:nb:Norwegian Bokmål (Norway)"
|
||||||
|
"ne_NP:ne:Nepali (Nepal)"
|
||||||
|
"nl_NL:nl:Dutch (Netherlands)"
|
||||||
|
"nn_NO:nn:Norwegian Nynorsk (Norway)"
|
||||||
|
"om_ET:om:Oromo (Ethiopia)"
|
||||||
|
"or_IN:or:Oriya (India)"
|
||||||
|
"pa_PK:pa:Punjabi (Pakistan)"
|
||||||
|
"pl_PL:pl:Polish (Poland)"
|
||||||
|
"ps_AF:ps:Pashto (Afghanistan)"
|
||||||
|
"pt_BR:pt:Portuguese (Brazil)"
|
||||||
|
"ro_RO:ro:Romanian (Romania)"
|
||||||
|
"ru_RU:ru:Russian (Russia)"
|
||||||
|
"rw_RW:rw:Kinyarwanda (Rwanda)"
|
||||||
|
"si_LK:si:Sinhala (Sri Lanka)"
|
||||||
|
"sk_SK:sk:Slovak (Slovakia)"
|
||||||
|
"sl_SI:sl:Slovenian (Slovenia)"
|
||||||
|
"so_SO:so:Somali (Somalia)"
|
||||||
|
"sq_AL:sq:Albanian (Albania)"
|
||||||
|
"sr_RS:sr:Serbian (Serbia)"
|
||||||
|
"sv_SE:sv:Swedish (Sweden)"
|
||||||
|
"sw_KE:sw:Swahili (Kenya)"
|
||||||
|
"ta_IN:ta:Tamil (India)"
|
||||||
|
"te_IN:te:Telugu (India)"
|
||||||
|
"th_TH:th:Thai (Thailand)"
|
||||||
|
"ti_ER:ti:Tigrinya (Eritrea)"
|
||||||
|
"to_TO:to:Tonga (Tonga)"
|
||||||
|
"tr_TR:tr:Turkish (Turkey)"
|
||||||
|
"uk_UA:uk:Ukrainian (Ukraine)"
|
||||||
|
"ur_IN:ur:Urdu (India)"
|
||||||
|
"uz_UZ:uz:Uzbek (Uzbekistan)"
|
||||||
|
"vi_VN:vi:Vietnamese (Vietnam)"
|
||||||
|
"yo_NG:yo:Yoruba (Nigeria)"
|
||||||
|
"yo_NG:yo:Yoruba (Nigeria)"
|
||||||
|
"yue_HK:yu:Cantonese (Hong Kong)"
|
||||||
|
"zh_CN:zh:Chinese (China)"
|
||||||
|
"zu_ZA:zu:Zulu (South Africa)"
|
||||||
|
)
|
||||||
|
|
||||||
|
for i in "${langArr[@]}"; do
|
||||||
|
IFS=: read -r l1 l2 l3 <<< "$i"
|
||||||
|
if [ "$langInput" == "$l2" ]; then
|
||||||
|
lang="${l1}:${l2}"
|
||||||
|
languagePack="language-pack-${l2}"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
if [ -z "$lang" ]; then
|
||||||
|
echo "plasmoidlocaletest doesn't recognize the language '$lang'"
|
||||||
|
echo "Eg:"
|
||||||
|
scriptcmd='sh ./plasmoidlocaletest'
|
||||||
|
for i in "${langArr[@]}"; do
|
||||||
|
IFS=: read -r l1 l2 l3 <<< "$i"
|
||||||
|
echo " ${scriptcmd} ${l2} | ${l3}"
|
||||||
|
done
|
||||||
|
echo ""
|
||||||
|
echo "Or use a the full locale code:"
|
||||||
|
echo " ${scriptcmd} ar_EG:ar"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
IFS=: read -r l1 l2 <<< "${lang}"
|
||||||
|
l1="${l1}.UTF-8"
|
||||||
|
|
||||||
|
# Check if language is installed
|
||||||
|
if [ ! -z "$languagePack" ]; then
|
||||||
|
if [ "$lang" == "zh_CN:zh" ]; then languagePack="language-pack-zh-hans"
|
||||||
|
fi
|
||||||
|
|
||||||
|
checkIfLangInstalled "$languagePack" || exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
echo "LANGUAGE=\"${lang}\""
|
||||||
|
echo "LANG=\"${l1}\""
|
||||||
|
|
||||||
|
scriptDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
packageDir="${scriptDir}/.."
|
||||||
|
|
||||||
|
# Build local translations for plasmoidviewer
|
||||||
|
sh "${scriptDir}/build"
|
||||||
|
|
||||||
|
LANGUAGE="${lang}" LANG="${l1}" LC_TIME="${l1}" QML_DISABLE_DISK_CACHE=true plasmoidviewer -a "$packageDir" -l topedge -f horizontal -x 0 -y 0
|
|
@ -1,222 +1,182 @@
|
||||||
# Translation of menu11 in PORTUGUESE_BRAZILLIAN
|
# Translation of dittomenu in pt_BR
|
||||||
# Copyright (C) 2021
|
# Copyright (C) 2022
|
||||||
# This file is distributed under the same license as the menu11 package.
|
# This file is distributed under the same license as the dittomenu package.
|
||||||
# Thiago Corbari Feldhaus' <thiago.feldhaus@mrhat.com.br>, 2021.
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
#
|
#
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: menu11\n"
|
"Project-Id-Version: dittomenu\n"
|
||||||
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/menu11\n"
|
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/Menu11\n"
|
||||||
"POT-Creation-Date: 2021-07-29 11:00-0300\n"
|
"POT-Creation-Date: 2024-09-23 12:45+0500\n"
|
||||||
"PO-Revision-Date: 2021-07-29 11:00+LMT\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: Thiago Corbari Feldhaus' <thiago.feldhaus@mrhat.com.br>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
"Language: \n"
|
"Language: pt_BR\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
||||||
#: ../metadata.desktop
|
|
||||||
msgid "Menu 11"
|
|
||||||
msgstr "Menu 11"
|
|
||||||
|
|
||||||
#: ../metadata.desktop
|
|
||||||
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/config/config.qml
|
#: ../contents/config/config.qml
|
||||||
msgid "General"
|
msgid "General"
|
||||||
msgstr "Geral"
|
msgstr "Geral"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../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:"
|
msgid "Icon:"
|
||||||
msgstr "Ícone"
|
msgstr "Ícone"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Menu Position:"
|
msgctxt "@item:inmenu Open icon chooser dialog"
|
||||||
msgstr "Posição do Menu'"
|
msgid "Choose…"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../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 "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"
|
msgid "Center"
|
||||||
msgstr "Centralizar"
|
msgstr "Centro"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "On Edge"
|
msgid "Center bottom"
|
||||||
msgstr "Na lateral"
|
msgstr "Centro inferior"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Auto"
|
msgid "Show labels in two lines"
|
||||||
msgstr "Automático"
|
msgstr "Exibir os nomes em duas linhas"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Pinned item:"
|
msgid "Number of columns"
|
||||||
msgstr "Ítem fixo:"
|
msgstr "Numero de colunas"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Favourite apps"
|
msgid "Number of rows"
|
||||||
msgstr "Aplicações Favoritas"
|
msgstr "Numero de filas"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Recent apps"
|
msgid "Unhide all hidden applications"
|
||||||
msgstr "Aplicações recentes"
|
msgstr "Mostrar aplicativos ocultos"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Recent documents"
|
msgid "Unhidden!"
|
||||||
msgstr "Documentos recentes"
|
msgstr "Reexibido"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Recommended item:"
|
|
||||||
msgstr "Ítem recomendado:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "None"
|
|
||||||
msgstr "Nenhum"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Number of columns in grid:"
|
|
||||||
msgstr "Número de colunas no grid"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Number of rows in grid:"
|
|
||||||
msgstr "Número de linhas no grid"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icon Properties:"
|
|
||||||
msgstr "Ícone de Propriedades"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Panel Properties:"
|
|
||||||
msgstr "Painel de Propriedades"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show All apps by default"
|
|
||||||
msgstr "Mostrar Todas as aplicações por padrão"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Replace Explorer icon in footer"
|
|
||||||
msgstr "Substituir o ícone do Explorer no rodapé"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for User Profile"
|
|
||||||
msgstr "Reduzir Tamanho do Ícove do Perfil do Usuário"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for Footer"
|
|
||||||
msgstr "Reduzir Tamanho do Ícone do Rodapé"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for Pinned item"
|
|
||||||
msgstr "Reduzir Tamanho do Ícone dos Ítens Fixos"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Allow label to have two lines (Pinned)"
|
|
||||||
msgstr "Permitir label em duas linhas (Fixos)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.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/config.qml
|
|
||||||
msgid "Always Show Search Bar"
|
|
||||||
msgstr "Sempre Mostrar a Barra de Busca"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Prefer showing full name, instead of login name"
|
|
||||||
msgstr "Mostrar preferencialmente o nome completo, com base no nome de login"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show applications as:"
|
|
||||||
msgstr "Mostrar aplicações como:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Name only"
|
|
||||||
msgstr "Nome somente"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Description only"
|
|
||||||
msgstr "Descrição somente"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Name (Description)"
|
|
||||||
msgstr "Nome (Descrição)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Description (Name)"
|
|
||||||
msgstr "Descrição (Nome)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icons on Bottom bar:"
|
|
||||||
msgstr "Ícones na Barra Inferior"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Documents"
|
|
||||||
msgstr "Documentos"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Pictures"
|
|
||||||
msgstr "Imagens"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Music"
|
|
||||||
msgstr "Música"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Downloads"
|
|
||||||
msgstr "Downloads"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Videos"
|
|
||||||
msgstr "Vídeos"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "File manager"
|
|
||||||
msgstr "Gerenciador de arquivo"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "System settings"
|
|
||||||
msgstr "Configurações do sistema"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Lock screen"
|
|
||||||
msgstr "Bloquear tela"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Power options"
|
|
||||||
msgstr "Opções de energia"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Search:"
|
|
||||||
msgstr "Buscar:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Expand search to bookmarks, files and emails"
|
|
||||||
msgstr "Expandir a busca por favoritos, arquivos e emails"
|
|
||||||
|
|
||||||
#: ../contents/ui/MainColumnItem.qml
|
|
||||||
msgid "Type here to search"
|
|
||||||
msgstr "Digite a busca aqui"
|
|
||||||
|
|
||||||
#: ../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/MainColumnItem.qml
|
|
||||||
msgid "More"
|
|
||||||
msgstr "Mais"
|
|
||||||
|
|
||||||
#: ../contents/ui/Footer.qml
|
#: ../contents/ui/Footer.qml
|
||||||
msgid "Go to user settings"
|
msgid "User Home"
|
||||||
msgstr "Ir para configurações do usuário"
|
msgstr "Diretório do Usuário"
|
||||||
|
|
||||||
|
#: ../contents/ui/Footer.qml
|
||||||
|
msgid "System Preferences"
|
||||||
|
msgstr "Configurações do Sistema"
|
||||||
|
|
||||||
|
#: ../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 "Digite aqui para pesquisar"
|
||||||
|
|
||||||
|
#: ../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"
|
||||||
|
|
|
@ -1,223 +1,225 @@
|
||||||
# Translation of menu11 in Russian
|
# Translation of dittomenu in pl
|
||||||
# Copyright (C) 2021
|
# Copyright (C) 2022
|
||||||
# This file is distributed under the same license as the menu11 package.
|
# This file is distributed under the same license as the dittomenu package.
|
||||||
# Telegram: @CakesTwix <oleg.kiryazov@gmail.com>, 2021.
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR..
|
||||||
#
|
#
|
||||||
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: menu11\n"
|
"Project-Id-Version: dittomenu\n"
|
||||||
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/menu11\n"
|
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/Menu11\n"
|
||||||
"POT-Creation-Date: 2021-04-09 22:46-0400\n"
|
"POT-Creation-Date: 2024-09-23 12:45+0500\n"
|
||||||
"PO-Revision-Date: 2021-08-30 19:24+0300\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Language-Team: \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"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"X-Generator: Poedit 3.0\n"
|
|
||||||
"Last-Translator: CakesTwix\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"
|
|
||||||
"Language: ru\n"
|
|
||||||
|
|
||||||
#: ../metadata.desktop
|
|
||||||
msgid "Menu 11"
|
|
||||||
msgstr "Menu 11"
|
|
||||||
|
|
||||||
#: ../metadata.desktop
|
|
||||||
msgid "A highly customizable launcher inspired from windows 11 menu. Fork of MenuZ."
|
|
||||||
msgstr "Очень кастомизируемое меню, вдохновленная меню из Windows 11. Форк MenuZ."
|
|
||||||
|
|
||||||
#: ../contents/config/config.qml
|
#: ../contents/config/config.qml
|
||||||
msgid "General"
|
msgid "General"
|
||||||
msgstr "Общее"
|
msgstr "Общие"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../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:"
|
msgid "Icon:"
|
||||||
msgstr "Иконка:"
|
msgstr "Значок"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Menu Position:"
|
msgctxt "@item:inmenu Open icon chooser dialog"
|
||||||
msgstr "Позиция меню:"
|
msgid "Choose…"
|
||||||
|
msgstr "Выбор…"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../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 "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"
|
msgid "Center"
|
||||||
msgstr "Центр"
|
msgstr "Центр"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "On Edge"
|
msgid "Center bottom"
|
||||||
msgstr "На краю"
|
msgstr "Снизу по центру"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Auto"
|
msgid "Show labels in two lines"
|
||||||
msgstr "Автоматически"
|
msgstr "Отображать метки в две строки"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Pinned item:"
|
msgid "Number of columns"
|
||||||
msgstr "Закрепленный элемент:"
|
msgstr "Количество колонок"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Favourite apps"
|
msgid "Number of rows"
|
||||||
msgstr "Избранные приложения"
|
msgstr "Количество строк"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Recent apps"
|
msgid "Unhide all hidden applications"
|
||||||
msgstr "Последние приложения"
|
msgstr "Показать все скрытые приложения"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Recent documents"
|
msgid "Unhidden!"
|
||||||
msgstr "Недавние документы"
|
msgstr "Показаны!"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/Footer.qml
|
||||||
msgid "Recommended item:"
|
msgid "User Home"
|
||||||
msgstr "Рекомендуемый элемент:"
|
msgstr "Домашняя папка"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/Footer.qml
|
||||||
msgid "None"
|
msgid "System Preferences"
|
||||||
msgstr "Ничего"
|
msgstr "Параметры системы"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/Footer.qml
|
||||||
msgid "Number of columns in grid:"
|
msgid "Shutdown"
|
||||||
msgstr "Количество столбцов в сетке:"
|
msgstr "Выключение"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/main.qml
|
||||||
msgid "Number of rows in grid:"
|
msgid "Edit Applications…"
|
||||||
msgstr "Количество строк в сетке:"
|
msgstr "Редактировать приложения"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/MenuRepresentation.qml
|
||||||
msgid "Icon Properties:"
|
msgid "Type here to search ..."
|
||||||
msgstr "Свойства иконок:"
|
msgstr "Введите текст для поиска ..."
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/MenuRepresentation.qml
|
||||||
msgid "Panel Properties:"
|
|
||||||
msgstr "Свойства панели:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show All apps by default"
|
|
||||||
msgstr "Показывать все приложения по умолчанию"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Replace Explorer icon in footer"
|
|
||||||
msgstr "Замените значок проводника в нижнем колонтитуле"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for User Profile"
|
|
||||||
msgstr "Уменьшение размера значка для профиля пользователя"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for Footer"
|
|
||||||
msgstr "Уменьшение размера значка для нижнего колонтитула"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for Pinned item"
|
|
||||||
msgstr "Уменьшение размера значка для закрепленного элемента"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Allow label to have two lines (Pinned)"
|
|
||||||
msgstr "Разрешить значку иметь две строки (Закреплен)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show Description for all apps and search item"
|
|
||||||
msgstr "Показать описание для всех приложений и элементов поиска"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Always Show Search Bar"
|
|
||||||
msgstr "Всегда показывать панель поиска"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Prefer showing full name, instead of login name"
|
|
||||||
msgstr "Предпочтение показывать полное имя вместо логина для входа в систему"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show applications as:"
|
|
||||||
msgstr "Показывать приложения как:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Name only"
|
|
||||||
msgstr "Только название"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Description only"
|
|
||||||
msgstr "Только описание"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Name (Description)"
|
|
||||||
msgstr "Название (Описание)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Description (Name)"
|
|
||||||
msgstr "Описание (Название)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icons on Bottom bar:"
|
|
||||||
msgstr "Значки на нижней панели:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Documents"
|
|
||||||
msgstr "Документы"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Pictures"
|
|
||||||
msgstr "Изображения"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Music"
|
|
||||||
msgstr "Музыка"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Downloads"
|
|
||||||
msgstr "Загрузки"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Videos"
|
|
||||||
msgstr "Видео"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "File manager"
|
|
||||||
msgstr "Файловый менеджер"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "System settings"
|
|
||||||
msgstr "Настройки системы"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Lock screen"
|
|
||||||
msgstr "Экран блокировки"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Power options"
|
|
||||||
msgstr "Параметры питания"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Search:"
|
|
||||||
msgstr "Поиск:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Expand search to bookmarks, files and emails"
|
|
||||||
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"
|
msgid "Pinned"
|
||||||
msgstr "Закрепленные"
|
msgstr "Закрепленные"
|
||||||
|
|
||||||
#: ../contents/ui/MainColumnItem.qml
|
#: ../contents/ui/MenuRepresentation.qml
|
||||||
msgid "Back"
|
msgid "All apps"
|
||||||
msgstr "Назад"
|
msgstr "Все приложения"
|
||||||
|
|
||||||
#: ../contents/ui/MainColumnItem.qml
|
#: ../contents/ui/MenuRepresentation.qml
|
||||||
msgid "More"
|
msgid "Recent documents"
|
||||||
msgstr "Больше"
|
msgstr "Последние документы"
|
||||||
|
|
||||||
#: ../contents/ui/Footer.qml
|
#~ msgid "Ditto Menu"
|
||||||
msgid "Go to user settings"
|
#~ msgstr "Ditto Menu"
|
||||||
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 "Избранное"
|
||||||
|
|
||||||
|
#~ 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 "Количество строк в сетке"
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
# Translation of menu11 in LANGUAGE
|
# Translation of Menu11 in LANGUAGE
|
||||||
# Copyright (C) 2021
|
# Copyright (C) 2024
|
||||||
# This file is distributed under the same license as the menu11 package.
|
# This file is distributed under the same license as the Menu11 package.
|
||||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
#
|
#
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: menu11\n"
|
"Project-Id-Version: Menu11\n"
|
||||||
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/menu11\n"
|
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/Menu11\n"
|
||||||
"POT-Creation-Date: 2021-04-09 22:46-0400\n"
|
"POT-Creation-Date: 2024-09-23 12:45+0500\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -17,206 +17,132 @@ msgstr ""
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
||||||
#: ../metadata.desktop
|
|
||||||
msgid "Menu 11"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../metadata.desktop
|
|
||||||
msgid "A highly customizable launcher inspired from windows 11 menu. Fork of MenuZ."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/config/config.qml
|
#: ../contents/config/config.qml
|
||||||
msgid "General"
|
msgid "General"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../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:"
|
msgid "Icon:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Menu Position:"
|
msgctxt "@item:inmenu Open icon chooser dialog"
|
||||||
|
msgid "Choose…"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../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 "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"
|
msgid "Center"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "On Edge"
|
msgid "Center bottom"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Auto"
|
msgid "Show labels in two lines"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Pinned item:"
|
msgid "Number of columns"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Favourite apps"
|
msgid "Number of rows"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Recent apps"
|
msgid "Unhide all hidden applications"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Recent documents"
|
msgid "Unhidden!"
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Recommended item:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "None"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Number of columns in grid:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Number of rows in grid:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icon Properties:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Panel Properties:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show All apps by default"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Replace Explorer icon in footer"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for User Profile"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for Footer"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for Pinned item"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Allow label to have two lines (Pinned)"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show Description for all apps and search item"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Always Show Search Bar"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Prefer showing full name, instead of login name"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show applications as:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Name only"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Description only"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Name (Description)"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Description (Name)"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icons on Bottom bar:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Documents"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Pictures"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Music"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Downloads"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Videos"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "File manager"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "System settings"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Lock screen"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Power options"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Search:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Expand search to bookmarks, files and emails"
|
|
||||||
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/MainColumnItem.qml
|
|
||||||
msgid "More"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/Footer.qml
|
#: ../contents/ui/Footer.qml
|
||||||
msgid "Go to user settings"
|
msgid "User Home"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../contents/ui/Footer.qml
|
||||||
|
msgid "System Preferences"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../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/MenuRepresentation.qml
|
||||||
|
msgid "Recent documents"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
@ -1,222 +1,219 @@
|
||||||
# Translation of menu11 in Turkish
|
# Translation of dittomenu in tr
|
||||||
# Copyright (C) 2021
|
# Copyright (C) 2022
|
||||||
# This file is distributed under the same license as the menu11 package.
|
# This file is distributed under the same license as the dittomenu package.
|
||||||
# Alper Tiryakioğlu <EMAIL@ADDRESS>, YEAR.
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
#
|
#
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: menu11\n"
|
"Project-Id-Version: dittomenu\n"
|
||||||
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/menu11\n"
|
"Report-Msgid-Bugs-To: https://github.com/prateekmedia/Menu11\n"
|
||||||
"POT-Creation-Date: 2021-04-09 22:46-0400\n"
|
"POT-Creation-Date: 2024-09-23 12:45+0500\n"
|
||||||
"PO-Revision-Date: 2021-07-25 20:45+0300\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: Alper Tiryakioğlu\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team:\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
"Language: Turkish\n"
|
"Language: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||||
#: ../metadata.desktop
|
"X-Language: tr_TR\n"
|
||||||
msgid "Menu 11"
|
"X-Source-Language: C\n"
|
||||||
msgstr "Menu 11"
|
|
||||||
|
|
||||||
#: ../metadata.desktop
|
|
||||||
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/config/config.qml
|
#: ../contents/config/config.qml
|
||||||
msgid "General"
|
msgid "General"
|
||||||
msgstr "Genel"
|
msgstr "Genel"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../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:"
|
msgid "Icon:"
|
||||||
msgstr "Simge:"
|
msgstr "Sİmge:"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Menu Position:"
|
msgctxt "@item:inmenu Open icon chooser dialog"
|
||||||
msgstr "Menü Konumu:"
|
msgid "Choose…"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../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 "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"
|
msgid "Center"
|
||||||
msgstr "Ortada"
|
msgstr "Orta"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "On Edge"
|
msgid "Center bottom"
|
||||||
msgstr "Köşede"
|
msgstr "Orta alt"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Auto"
|
msgid "Show labels in two lines"
|
||||||
msgstr "Otomatik"
|
msgstr "Etiketleri iki satırda göster"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Pinned item:"
|
msgid "Number of columns"
|
||||||
msgstr "Sabitlenen öğeler:"
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Favourite apps"
|
msgid "Number of rows"
|
||||||
msgstr "Sık kullanılan uygulamalar"
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Recent apps"
|
msgid "Unhide all hidden applications"
|
||||||
msgstr "Son kullanılan uygulamalar"
|
msgstr "Tüm gizli uygulamaları göster"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
#: ../contents/ui/ConfigGeneral.qml
|
||||||
msgid "Recent documents"
|
msgid "Unhidden!"
|
||||||
msgstr "En son belgeler"
|
msgstr "Gizli!"
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Recommended item:"
|
|
||||||
msgstr "Önerilen öğeler:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "None"
|
|
||||||
msgstr "Hiçbiri"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Number of columns in grid:"
|
|
||||||
msgstr "Sütun sayısı:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Number of rows in grid:"
|
|
||||||
msgstr "Satır sayısı:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icon Properties:"
|
|
||||||
msgstr "Simge Özellikleri:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Panel Properties:"
|
|
||||||
msgstr "Panel Özellikleri:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show All apps by default"
|
|
||||||
msgstr "Varsayılan olarak Tüm uygulamaları göster"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Replace Explorer icon in footer"
|
|
||||||
msgstr "Alt Bilgideki dosya gezgini simgesini değiştirin"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for User Profile"
|
|
||||||
msgstr "Profil resminin simge boyutunu küçült"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for Footer"
|
|
||||||
msgstr "Alt çubuk öğeleri için simge boyutunu küçült"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Reduce Icon Size for Pinned item"
|
|
||||||
msgstr "Sabitlenmiş öğelerin simge boyutunu küçült"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Allow label to have two lines (Pinned)"
|
|
||||||
msgstr "Etiketlerin iki satırı kaplamasına izin ver (Sabitlenmiş öğeler'de)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.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/config.qml
|
|
||||||
msgid "Always Show Search Bar"
|
|
||||||
msgstr "Her zaman Arama Çubuğu'nu göster"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Prefer showing full name, instead of login name"
|
|
||||||
msgstr "Kullanıcı adı yerine tam ismi göstermeyi tercih et."
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Show applications as:"
|
|
||||||
msgstr "Uygulamaları gösterme şekli:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Name only"
|
|
||||||
msgstr "Sadece Ad"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Description only"
|
|
||||||
msgstr "Sadece Açıklama"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Name (Description)"
|
|
||||||
msgstr "Ad (Açıklama)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Description (Name)"
|
|
||||||
msgstr "Açıklama (Ad)"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Icons on Bottom bar:"
|
|
||||||
msgstr "Alt çubuktaki simgeler:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Documents"
|
|
||||||
msgstr "Belgeler"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Pictures"
|
|
||||||
msgstr "Resimler"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Music"
|
|
||||||
msgstr "Müzik"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Downloads"
|
|
||||||
msgstr "İndirilenler"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Videos"
|
|
||||||
msgstr "Videolar"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "File manager"
|
|
||||||
msgstr "Dosya yöneticisi"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "System settings"
|
|
||||||
msgstr "Sistem ayarları"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Lock screen"
|
|
||||||
msgstr "Ekranı kilitle"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml ../contents/ui/Footer.qml
|
|
||||||
msgid "Power options"
|
|
||||||
msgstr "Güç seçenekleri"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Search:"
|
|
||||||
msgstr "Arama:"
|
|
||||||
|
|
||||||
#: ../contents/ui/config.qml
|
|
||||||
msgid "Expand search to bookmarks, files and emails"
|
|
||||||
msgstr "Aramaları yer imlerine, dosyalara ve e-maillere genişlet"
|
|
||||||
|
|
||||||
#: ../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/MainColumnItem.qml
|
|
||||||
msgid "More"
|
|
||||||
msgstr "Daha fazla"
|
|
||||||
|
|
||||||
#: ../contents/ui/Footer.qml
|
#: ../contents/ui/Footer.qml
|
||||||
msgid "Go to user settings"
|
msgid "User Home"
|
||||||
msgstr "Kullanıcı ayarları'na gidin"
|
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ı"
|
||||||
|
|
Loading…
Reference in New Issue