Skip to content

Commit 18a47c0

Browse files
committed
Plasmoid updates & OMP
1 parent b282f37 commit 18a47c0

File tree

14 files changed

+1617
-94
lines changed

14 files changed

+1617
-94
lines changed

Configs/Home/.local/share/plasma/plasmoids/Plasma.Control.Hub/contents/ui/FullRepresentation.qml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import Qt5Compat.GraphicalEffects
66
import org.kde.plasma.components 3.0 as PlasmaComponents3
77
import org.kde.kirigami as Kirigami
88
import org.kde.plasma.private.brightnesscontrolplugin
9-
import org.kde.plasma.private.mpris as Mpris
109
import "js/funcs.js" as Funcs
1110
import "lib" as Lib
1211
import org.kde.plasma.private.sessions as Sessions
@@ -108,11 +107,6 @@ Item {
108107
clip: true
109108
// Lists all available network connections
110109

111-
112-
Mpris.Mpris2Model {
113-
id: mpris2Model
114-
}
115-
116110
Component.onCompleted: {
117111
console.log(nightLight, "pruebas de asignacio de luz nocturna", control.running )
118112
if (!control.running && !nightLight) {
@@ -730,10 +724,6 @@ Item {
730724
height: 22
731725
spacing: 2
732726
anchors.verticalCenter: parent.verticalCenter
733-
function next() {
734-
mpris2Model.currentPlayer.Next();
735-
736-
}
737727

738728
Kirigami.Icon {
739729
id: iconplay
@@ -743,7 +733,7 @@ Item {
743733
roundToIconSize: false
744734
MouseArea {
745735
anchors.fill: parent
746-
onClicked: mpris2Model.currentPlayer.PlayPause();
736+
onClicked: multimedia.playPause()
747737
}
748738
}
749739
Kirigami.Icon {
@@ -754,7 +744,7 @@ Item {
754744
roundToIconSize: false
755745
MouseArea {
756746
anchors.fill: parent
757-
onClicked: mpris2Model.currentPlayer.Next();
747+
onClicked: multimedia.nextTrack()
758748
}
759749
}
760750

Configs/Home/.local/share/plasma/plasmoids/Plasma.Control.Hub/metadata.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"KPlugin": {
33
"Authors": [
44
{
5+
"Email": "adolfo@librepixels.com",
56
"Name": "zayronxio"
67
}
78
],
@@ -15,7 +16,7 @@
1516
"ServiceTypes": [
1617
"Plasma/Applet"
1718
],
18-
"Version": "0.8.1",
19+
"Version": "0.8.4",
1920
"Website": "https://github.com/zayronxio/Plasma-Control-Hub"
2021
},
2122
"X-Plasma-API-Minimum-Version": "6.0",
Lines changed: 194 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,194 @@
1+
# Translation of plasma control hub in Arabic
2+
# Copyright (C) 2024
3+
# This file is distributed under the same license as the plasma control hub package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5+
#
6+
#, fuzzy
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: plasma control hub\n"
10+
"Report-Msgid-Bugs-To: https://store.kde.org/p/2139890/\n"
11+
"POT-Creation-Date: 2024-12-01 16:59-0300\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language-Team: Arabic <LL@li.org>\n"
15+
"Language: ar\n"
16+
"MIME-Version: 1.0\n"
17+
"Content-Type: text/plain; charset=UTF-8\n"
18+
"Content-Transfer-Encoding: 8bit\n"
19+
20+
#: ../contents/ui/UserInfo.qml
21+
msgid "Hi"
22+
msgstr "مرحبًا"
23+
24+
#: ../contents/ui/FullRepresentation.qml
25+
msgid "Settings"
26+
msgstr "الإعدادات"
27+
28+
#: ../contents/ui/FullRepresentation.qml
29+
msgid "System Settings"
30+
msgstr "إعدادات النظام"
31+
32+
#: ../contents/ui/FullRepresentation.qml
33+
msgid "Volume"
34+
msgstr "الصوت"
35+
36+
#: ../contents/ui/FullRepresentation.qm
37+
msgid "Bluetooth"
38+
msgstr "بلوتوث"
39+
40+
#: ../contents/ui/FullRepresentation.qm
41+
msgid "Network"
42+
msgstr "الشبكة"
43+
44+
#: ../contents/ui/FullRepresentation.qm
45+
msgid "DND"
46+
msgstr "عدم الإزعاج"
47+
48+
#: ../contents/ui/js/funcs.js
49+
msgid "Disabled"
50+
msgstr "معطّل"
51+
52+
#: ../contents/ui/js/funcs.js
53+
msgid "Unavailable"
54+
msgstr "غير متاح"
55+
56+
#: ../contents/ui/js/funcs.js
57+
msgid "Offline"
58+
msgstr "غير متصل بالإنترنت"
59+
60+
#: ../contents/ui/js/funcs.js
61+
msgid "Not Connected"
62+
msgstr "غير متصل"
63+
64+
#: ../contents/ui/Brightness.qml
65+
msgid "Brightness"
66+
msgstr "السطوع"
67+
68+
#: ../contents/ui/component/WeatherData.qml
69+
msgid "Clear"
70+
msgstr "صافي"
71+
72+
#: ../contents/ui/component/WeatherData.qml
73+
msgid "Mainly clear"
74+
msgstr "صافي غالبًا"
75+
76+
#: ../contents/ui/component/WeatherData.qml
77+
msgid "Partly cloudy"
78+
msgstr "غائم جزئيًا"
79+
80+
#: ../contents/ui/component/WeatherData.qml
81+
msgid "Overcast"
82+
msgstr "غائم تمامًا"
83+
84+
#: ../contents/ui/component/WeatherData.qml
85+
msgid "Drizzle light intensity"
86+
msgstr "رذاذ خفيف"
87+
88+
#: ../contents/ui/component/WeatherData.qml
89+
msgid "Drizzle moderate intensity"
90+
msgstr "رذاذ متوسط"
91+
92+
#: ../contents/ui/component/WeatherData.qml
93+
msgid "Drizzle dense intensity"
94+
msgstr "رذاذ كثيف"
95+
96+
#: ../contents/ui/component/WeatherData.qml
97+
msgid "Freezing Drizzle light intensity"
98+
msgstr "رذاذ متجمد خفيف"
99+
100+
#: ../contents/ui/component/WeatherData.qml
101+
msgid "Freezing Drizzle dense intensity"
102+
msgstr "رذاذ متجمد كثيف"
103+
104+
#: ../contents/ui/component/WeatherData.qml
105+
msgid "Rain slight intensity"
106+
msgstr "مطر خفيف"
107+
108+
#: ../contents/ui/component/WeatherData.qml
109+
msgid "Rain moderate intensity"
110+
msgstr "مطر متوسط"
111+
112+
#: ../contents/ui/component/WeatherData.qml
113+
msgid "Rain heavy intensity"
114+
msgstr "مطر غزير"
115+
116+
#: ../contents/ui/component/WeatherData.qml
117+
msgid "Freezing Rain light intensity"
118+
msgstr "مطر متجمد خفيف"
119+
120+
#: ../contents/ui/component/WeatherData.qml
121+
msgid "Freezing Rain heavy intensity"
122+
msgstr "مطر متجمد غزير"
123+
124+
#: ../contents/ui/component/WeatherData.qml
125+
msgid "Snowfall slight intensity"
126+
msgstr "ثلوج خفيفة"
127+
128+
#: ../contents/ui/component/WeatherData.qml
129+
msgid "Snowfall moderate intensity"
130+
msgstr "ثلوج متوسطة"
131+
132+
#: ../contents/ui/component/WeatherData.qml
133+
msgid "Snowfall heavy intensity"
134+
msgstr "ثلوج غزيرة"
135+
136+
#: ../contents/ui/component/WeatherData.qml
137+
msgid "Snow grains"
138+
msgstr "حبيبات ثلجية"
139+
140+
#: ../contents/ui/component/WeatherData.qml
141+
msgid "Rain showers slight"
142+
msgstr "زخات مطر خفيفة"
143+
144+
#: ../contents/ui/component/WeatherData.qml
145+
msgid "Rain showers moderate"
146+
msgstr "زخات مطر متوسطة"
147+
148+
#: ../contents/ui/component/WeatherData.qml
149+
msgid "Rain showers violent"
150+
msgstr "زخات مطر عنيفة"
151+
152+
#: ../contents/ui/component/WeatherData.qml
153+
msgid "Snow showers slight"
154+
msgstr "زخات ثلج خفيفة"
155+
156+
#: ../contents/ui/component/WeatherData.qml
157+
msgid "Snow showers heavy"
158+
msgstr "زخات ثلج غزيرة"
159+
160+
#: ../contents/ui/component/WeatherData.qml
161+
msgid "Thunderstorm"
162+
msgstr "عاصفة رعدية"
163+
164+
#: ../contents/ui/component/WeatherData.qml
165+
msgid "Thunderstorm with slight hail"
166+
msgstr "عاصفة رعدية مع بَرَد خفيف"
167+
168+
#: ../contents/ui/component/WeatherData.qml
169+
msgid "Thunderstorm with heavy hail"
170+
msgstr "عاصفة رعدية مع بَرَد شديد"
171+
172+
#: ../contents/ui/component/WeatherData.qml
173+
msgid "Cloudy"
174+
msgstr "غائم"
175+
176+
#: ../contents/ui/component/WeatherData.qml
177+
msgid "Drizzle"
178+
msgstr "رذاذ"
179+
180+
#: ../contents/ui/component/WeatherData.qml
181+
msgid "Rain"
182+
msgstr "مطر"
183+
184+
#: ../contents/ui/component/WeatherData.qml
185+
msgid "Snow"
186+
msgstr "ثلج"
187+
188+
#: ../contents/ui/component/WeatherData.qml
189+
msgid "Showers"
190+
msgstr "زخات"
191+
192+
#: ../contents/ui/component/WeatherData.qml
193+
msgid "Storm"
194+
msgstr "عاصفة"

0 commit comments

Comments
 (0)