diff --git a/plugins/dde-dock/media/mediacontroller.cpp b/plugins/dde-dock/media/mediacontroller.cpp
index e19ff7e22..4abbac331 100644
--- a/plugins/dde-dock/media/mediacontroller.cpp
+++ b/plugins/dde-dock/media/mediacontroller.cpp
@@ -410,34 +410,24 @@ bool MediaController::canTogglePlayback() const
&& (m_mediaPlayer2->canPlay() || m_mediaPlayer2->canPause());
}
-QString MediaController::titleText() const
+QString MediaController::trackTitle() const
{
- if (!m_mediaPlayer2) {
- return tr("Music");
- }
-
- const auto metadata = m_mediaPlayer2->metadata();
- const QString title = metadataText(metadata.value("xesam:title"));
- if (!title.isEmpty()) {
- return title;
- }
-
- const QString artist = metadataText(metadata.value("xesam:artist"));
- if (!artist.isEmpty()) {
- return artist;
- }
+ const auto &info = MediaModel::ref().mediaInfo();
+ return info.title.isEmpty() ? info.artist : info.title;
+}
- return tr("Music");
+QString MediaController::titleText() const
+{
+ const QString title = trackTitle();
+ return title.isEmpty() ? tr("Not playing") : title;
}
QString MediaController::subtitleText() const
{
if (m_mediaPlayer2) {
- const auto metadata = m_mediaPlayer2->metadata();
- const QString title = metadataText(metadata.value("xesam:title"));
- const QString artist = metadataText(metadata.value("xesam:artist"));
- if (!artist.isEmpty() && artist != title) {
- return artist;
+ const auto &info = MediaModel::ref().mediaInfo();
+ if (!info.artist.isEmpty() && info.artist != info.title) {
+ return info.artist;
}
}
diff --git a/plugins/dde-dock/media/mediacontroller.h b/plugins/dde-dock/media/mediacontroller.h
index 1fc909ac6..c5750f664 100644
--- a/plugins/dde-dock/media/mediacontroller.h
+++ b/plugins/dde-dock/media/mediacontroller.h
@@ -32,6 +32,7 @@ class MediaController : public QObject
bool canGoNext() const;
bool canGoPrevious() const;
bool canTogglePlayback() const;
+ QString trackTitle() const;
QString titleText() const;
QString subtitleText() const;
QString artSource() const;
diff --git a/plugins/dde-dock/media/mediaplugin.cpp b/plugins/dde-dock/media/mediaplugin.cpp
index 68ead470d..c808284d0 100644
--- a/plugins/dde-dock/media/mediaplugin.cpp
+++ b/plugins/dde-dock/media/mediaplugin.cpp
@@ -172,13 +172,11 @@ QWidget *MediaPlugin::cardTipsWidget(const QString &itemKey)
return nullptr;
}
- // "歌名 - 播放软件"
- const QString title = m_controller->titleText();
const QString player = m_controller->appName();
-
- QString text = title;
- if (!player.isEmpty() && player != title) {
- text = QStringLiteral("%1 - %2").arg(title, player);
+ const QString title = m_controller->trackTitle();
+ QString text = player;
+ if (!title.isEmpty() && title != player) {
+ text = player.isEmpty() ? title : QStringLiteral("%1 - %2").arg(title, player);
}
if (text.isEmpty()) {
diff --git a/plugins/dde-dock/translations/dde-dock.ts b/plugins/dde-dock/translations/dde-dock.ts
index d1af908e9..878643155 100644
--- a/plugins/dde-dock/translations/dde-dock.ts
+++ b/plugins/dde-dock/translations/dde-dock.ts
@@ -132,6 +132,10 @@
MediaController
+
+ Not playing
+
+
Music
diff --git a/plugins/dde-dock/translations/dde-dock_ar.ts b/plugins/dde-dock/translations/dde-dock_ar.ts
index 8c9735938..fc4336dc6 100644
--- a/plugins/dde-dock/translations/dde-dock_ar.ts
+++ b/plugins/dde-dock/translations/dde-dock_ar.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- الموسيقى
+
@@ -507,4 +509,4 @@
الاحد
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_az.ts b/plugins/dde-dock/translations/dde-dock_az.ts
index fe8ff9321..37fbf5cd0 100644
--- a/plugins/dde-dock/translations/dde-dock_az.ts
+++ b/plugins/dde-dock/translations/dde-dock_az.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- Musiqi
+
@@ -198,7 +200,7 @@
PluginItemWidget
Disconnect
-
+
@@ -304,11 +306,11 @@
Capacity %1, charging protection active
-
+
Charging protection active
-
+
@@ -507,4 +509,4 @@
bazar
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_bn.ts b/plugins/dde-dock/translations/dde-dock_bn.ts
index 5b554dee2..25a7c6c2f 100644
--- a/plugins/dde-dock/translations/dde-dock_bn.ts
+++ b/plugins/dde-dock/translations/dde-dock_bn.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- সুর
+
@@ -198,7 +200,7 @@
PluginItemWidget
Disconnect
-
+
@@ -304,18 +306,18 @@
Capacity %1, charging protection active
-
+
Charging protection active
-
+
PowerStatusWidget
Power settings
- পাওয়ার সেটিংস
+
@@ -507,4 +509,4 @@
রবিবার
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_bo.ts b/plugins/dde-dock/translations/dde-dock_bo.ts
index a48efa997..439c32ab5 100644
--- a/plugins/dde-dock/translations/dde-dock_bo.ts
+++ b/plugins/dde-dock/translations/dde-dock_bo.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- རོལ་མོ།
+
@@ -191,14 +193,14 @@
Balance Performance
-
+
PluginItemWidget
Disconnect
-
+
@@ -304,11 +306,11 @@
Capacity %1, charging protection active
-
+
Charging protection active
-
+
@@ -507,4 +509,4 @@
གཟའ་ཉི་མ།
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_ca.ts b/plugins/dde-dock/translations/dde-dock_ca.ts
index de125182e..a837b8398 100644
--- a/plugins/dde-dock/translations/dde-dock_ca.ts
+++ b/plugins/dde-dock/translations/dde-dock_ca.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- Música
+ Música
@@ -507,4 +509,4 @@
diumenge
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_cs.ts b/plugins/dde-dock/translations/dde-dock_cs.ts
index 2a0e030e2..d8772a3af 100644
--- a/plugins/dde-dock/translations/dde-dock_cs.ts
+++ b/plugins/dde-dock/translations/dde-dock_cs.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,36 +130,40 @@
MediaController
+
+ Not playing
+
+
Music
- Hudba
+
NotificationPlugin
No messages
-
+
Notification settings
-
+
Notifications
-
+
Turn off DND mode
-
+
Turn on DND mode
-
+
Notification
-
+
@@ -191,14 +193,14 @@
Balance Performance
-
+
PluginItemWidget
Disconnect
-
+
@@ -308,7 +310,7 @@
Charging protection active
-
+
@@ -507,4 +509,4 @@
neděle
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_de.ts b/plugins/dde-dock/translations/dde-dock_de.ts
index 000652ee8..5fa389086 100644
--- a/plugins/dde-dock/translations/dde-dock_de.ts
+++ b/plugins/dde-dock/translations/dde-dock_de.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- Musik
+
@@ -191,21 +193,21 @@
Balance Performance
-
+
PluginItemWidget
Disconnect
-
+
PowerApplet
Power
-
+
@@ -304,11 +306,11 @@
Capacity %1, charging protection active
-
+
Charging protection active
-
+
@@ -507,4 +509,4 @@
Sonntag
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_es.ts b/plugins/dde-dock/translations/dde-dock_es.ts
index 1c8e61939..f419b6af4 100644
--- a/plugins/dde-dock/translations/dde-dock_es.ts
+++ b/plugins/dde-dock/translations/dde-dock_es.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- Música
+
@@ -198,7 +200,7 @@
PluginItemWidget
Disconnect
-
+
@@ -507,4 +509,4 @@
domingo
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_et.ts b/plugins/dde-dock/translations/dde-dock_et.ts
index d19f2b8ce..2ab3aa1fa 100644
--- a/plugins/dde-dock/translations/dde-dock_et.ts
+++ b/plugins/dde-dock/translations/dde-dock_et.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- Müsiik
+
@@ -198,7 +200,7 @@
PluginItemWidget
Disconnect
-
+
@@ -304,11 +306,11 @@
Capacity %1, charging protection active
-
+
Charging protection active
-
+
@@ -400,27 +402,27 @@
Monday
-
+
Tuesday
-
+
Wednesday
-
+
Thursday
-
+
Friday
-
+
Saturday
-
+
Sunday
@@ -507,4 +509,4 @@
pühapäev
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_fi.ts b/plugins/dde-dock/translations/dde-dock_fi.ts
index 088ff7783..e835e4a35 100644
--- a/plugins/dde-dock/translations/dde-dock_fi.ts
+++ b/plugins/dde-dock/translations/dde-dock_fi.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- Musiikki
+
@@ -507,4 +509,4 @@
sunnuntai
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_fr.ts b/plugins/dde-dock/translations/dde-dock_fr.ts
index 5fc05a496..1c5b6f77c 100644
--- a/plugins/dde-dock/translations/dde-dock_fr.ts
+++ b/plugins/dde-dock/translations/dde-dock_fr.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- Musique
+
@@ -198,7 +200,7 @@
PluginItemWidget
Disconnect
-
+
@@ -268,7 +270,7 @@
%1 hr %2 min remaining
- %1 h %2 restant
+ %1 h %2 restant
Not charging
@@ -284,7 +286,7 @@
Charging, %1 hr %2 min until full
- En charge, %1 h %2 avant la charge complète
+ En charge, %1 h %2 avant la charge complète
Capacity %1, %2 hr remaining
@@ -507,4 +509,4 @@
dimanche
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_gl_ES.ts b/plugins/dde-dock/translations/dde-dock_gl_ES.ts
index 05e058633..d954b3ebc 100644
--- a/plugins/dde-dock/translations/dde-dock_gl_ES.ts
+++ b/plugins/dde-dock/translations/dde-dock_gl_ES.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- Música
+
@@ -198,7 +200,7 @@
PluginItemWidget
Disconnect
-
+
@@ -304,18 +306,18 @@
Capacity %1, charging protection active
-
+
Charging protection active
-
+
PowerStatusWidget
Power settings
- Axustes de enerxía
+
@@ -400,31 +402,31 @@
Monday
-
+
Tuesday
-
+
Wednesday
-
+
Thursday
-
+
Friday
-
+
Saturday
-
+
Sunday
-
+
Jan
@@ -480,7 +482,7 @@
monday
-
+
tuesday
@@ -507,4 +509,4 @@
domingo
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_he.ts b/plugins/dde-dock/translations/dde-dock_he.ts
index 8b0b35b28..fd9ae51f0 100644
--- a/plugins/dde-dock/translations/dde-dock_he.ts
+++ b/plugins/dde-dock/translations/dde-dock_he.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- מוזיקה
+
@@ -145,30 +147,30 @@
Notification settings
-
+
Notifications
-
+
Turn off DND mode
-
+
Turn on DND mode
-
+
Notification
-
+
OnboardPlugin
Onboard
-
+
Settings
@@ -179,76 +181,76 @@
PerformanceModeController
High Performance
-
+
Balanced
-
+
Power Saver
-
+
Balance Performance
-
+
PluginItemWidget
Disconnect
-
+
PowerApplet
Power
-
+
PowerPlugin
Power settings
- הגדרות החשמל
+
Capacity %1, %2 min remaining
-
+
Capacity %1, %2 hr %3 min remaining
-
+
Charging %1, %2 min until full
-
+
Charging %1, %2 hr %3 min until full
-
+
Capacity %1
-
+
Charging %1
-
+
Capacity %1 ...
-
+
Capacity %1, fully charged
-
+
Capacity %1, not charging
-
+
Battery
@@ -256,19 +258,19 @@
Charging, calculating estimated charging time
-
+
Calculating remaining usage time
-
+
%1 min remaining
-
+
%1 hr %2 min remaining
-
+
Not charging
@@ -304,11 +306,11 @@
Capacity %1, charging protection active
-
+
Charging protection active
-
+
@@ -400,31 +402,31 @@
Monday
-
+
Tuesday
-
+
Wednesday
-
+
Thursday
-
+
Friday
-
+
Saturday
-
+
Sunday
-
+
Jan
@@ -507,4 +509,4 @@
יום ראשון
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_hu.ts b/plugins/dde-dock/translations/dde-dock_hu.ts
index 293c15eea..75ceb6dca 100644
--- a/plugins/dde-dock/translations/dde-dock_hu.ts
+++ b/plugins/dde-dock/translations/dde-dock_hu.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- Zene
+
@@ -198,7 +200,7 @@
PluginItemWidget
Disconnect
-
+
@@ -308,7 +310,7 @@
Charging protection active
-
+
@@ -507,4 +509,4 @@
Vasárnap
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_it.ts b/plugins/dde-dock/translations/dde-dock_it.ts
index 8961de259..e41b22fd0 100644
--- a/plugins/dde-dock/translations/dde-dock_it.ts
+++ b/plugins/dde-dock/translations/dde-dock_it.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -93,7 +91,7 @@
Open the calendar
-
+
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- Musica
+
@@ -191,21 +193,21 @@
Balance Performance
-
+
PluginItemWidget
Disconnect
-
+
PowerApplet
Power
-
+
@@ -256,66 +258,66 @@
Charging, calculating estimated charging time
-
+
Calculating remaining usage time
-
+
%1 min remaining
-
+
%1 hr %2 min remaining
-
+
Not charging
-
+
Fully charged
-
+
Charging, %1 min until full
-
+
Charging, %1 hr %2 min until full
-
+
Capacity %1, %2 hr remaining
-
+
%1 hr remaining
-
+
Charging %1, %2 hr until full
-
+
Charging, %1 hr until full
-
+
Capacity %1, charging protection active
-
+
Charging protection active
-
+
PowerStatusWidget
Power settings
- Impostazioni Alimentazione
+
@@ -326,7 +328,7 @@
Unknown
-
+
@@ -369,142 +371,142 @@
Shut Down
-
+
Switch user
-
+
SidebarCalendarWidget
Today
-
+
Lunar
-
+
y
-
+
m
-
+
d
-
+
Monday
-
+
Tuesday
-
+
Wednesday
-
+
Thursday
-
+
Friday
-
+
Saturday
-
+
Sunday
-
+
Jan
-
+
Feb
-
+
Mar
-
+
Apr
-
+
May
-
+
Jun
-
+
Jul
-
+
Aug
-
+
Sept
-
+
Oct
-
+
Nov
-
+
Dec
-
+
Open the calendar
-
+
monday
-
+
tuesday
-
+
wednesday
-
+
thursday
-
+
friday
-
+
saturday
-
+
sunday
-
+
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_ja.ts b/plugins/dde-dock/translations/dde-dock_ja.ts
index 1aea5405e..3ce340d9b 100644
--- a/plugins/dde-dock/translations/dde-dock_ja.ts
+++ b/plugins/dde-dock/translations/dde-dock_ja.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- 音楽
+
@@ -198,7 +200,7 @@
PluginItemWidget
Disconnect
-
+
@@ -216,19 +218,19 @@
Capacity %1, %2 min remaining
- バッテリー残量 %1 残り %2 分
+ バッテリー残量 %1 残り %2 分
Capacity %1, %2 hr %3 min remaining
- バッテリー残量 %1 残り %2 時間 %3 分
+ バッテリー残量 %1 残り %2 時間 %3 分
Charging %1, %2 min until full
- 充電中 %1 完了まで %2 分
+ 充電中 %1 完了まで %2 分
Charging %1, %2 hr %3 min until full
- 充電中 %1 完了まで %2 時間 %3 分
+ 充電中 %1 完了まで %2 時間 %3 分
Capacity %1
@@ -244,11 +246,11 @@
Capacity %1, fully charged
- バッテリー残量 %1 充電完了
+ バッテリー残量 %1 充電完了
Capacity %1, not charging
- バッテリー残量 %1 充電していません
+ バッテリー残量 %1 充電していません
Battery
@@ -256,7 +258,7 @@
Charging, calculating estimated charging time
- 充電中 完了までの時間を計算しています
+ 充電中 完了までの時間を計算しています
Calculating remaining usage time
@@ -280,15 +282,15 @@
Charging, %1 min until full
- 充電中 完了まで%1分
+ 充電中 完了まで%1分
Charging, %1 hr %2 min until full
- 充電中 完了まで%1時間%2分
+ 充電中 完了まで%1時間%2分
Capacity %1, %2 hr remaining
- バッテリー残量 %1 残り %2時間
+ バッテリー残量 %1 残り %2時間
%1 hr remaining
@@ -296,19 +298,19 @@
Charging %1, %2 hr until full
- 充電中 %1 完了まで %2時間
+ 充電中 %1 完了まで %2時間
Charging, %1 hr until full
- 充電中 完了まで%1時間
+ 充電中 完了まで%1時間
Capacity %1, charging protection active
-
+
Charging protection active
-
+
@@ -384,19 +386,19 @@
Lunar
-
+
y
-
+
m
-
+
d
-
+
Monday
@@ -507,4 +509,4 @@
日曜日
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_kab.ts b/plugins/dde-dock/translations/dde-dock_kab.ts
index b6b732a34..99f57ca5d 100644
--- a/plugins/dde-dock/translations/dde-dock_kab.ts
+++ b/plugins/dde-dock/translations/dde-dock_kab.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- Muzik
+
diff --git a/plugins/dde-dock/translations/dde-dock_kk.ts b/plugins/dde-dock/translations/dde-dock_kk.ts
index d0f2f4def..e8aba86e7 100644
--- a/plugins/dde-dock/translations/dde-dock_kk.ts
+++ b/plugins/dde-dock/translations/dde-dock_kk.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- Мүзик
+
@@ -198,7 +200,7 @@
PluginItemWidget
Disconnect
-
+
@@ -304,11 +306,11 @@
Capacity %1, charging protection active
-
+
Charging protection active
-
+
@@ -507,4 +509,4 @@
жума
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_lo.ts b/plugins/dde-dock/translations/dde-dock_lo.ts
index f235612ef..62964055a 100644
--- a/plugins/dde-dock/translations/dde-dock_lo.ts
+++ b/plugins/dde-dock/translations/dde-dock_lo.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- ດີມີ
+
@@ -198,7 +200,7 @@
PluginItemWidget
Disconnect
-
+
@@ -304,11 +306,11 @@
Capacity %1, charging protection active
-
+
Charging protection active
-
+
@@ -507,4 +509,4 @@
ວັນອາທິດ
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_lt.ts b/plugins/dde-dock/translations/dde-dock_lt.ts
index 5a28592fb..2df7476aa 100644
--- a/plugins/dde-dock/translations/dde-dock_lt.ts
+++ b/plugins/dde-dock/translations/dde-dock_lt.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- Muzika
+
@@ -198,7 +200,7 @@
PluginItemWidget
Disconnect
-
+
@@ -304,11 +306,11 @@
Capacity %1, charging protection active
-
+
Charging protection active
-
+
@@ -507,4 +509,4 @@
sekmadienis
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_mn.ts b/plugins/dde-dock/translations/dde-dock_mn.ts
index 922637a47..24e11594f 100644
--- a/plugins/dde-dock/translations/dde-dock_mn.ts
+++ b/plugins/dde-dock/translations/dde-dock_mn.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- Хөгжим
+
@@ -507,4 +509,4 @@
ням
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_ne.ts b/plugins/dde-dock/translations/dde-dock_ne.ts
index 3d7bb16d2..1cbfe9485 100644
--- a/plugins/dde-dock/translations/dde-dock_ne.ts
+++ b/plugins/dde-dock/translations/dde-dock_ne.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- गान
+
@@ -198,7 +200,7 @@
PluginItemWidget
Disconnect
-
+
@@ -304,18 +306,18 @@
Capacity %1, charging protection active
-
+
Charging protection active
-
+
PowerStatusWidget
Power settings
- पावर सेटिङहरू
+
@@ -400,31 +402,31 @@
Monday
-
+
Tuesday
-
+
Wednesday
-
+
Thursday
-
+
Friday
-
+
Saturday
-
+
Sunday
-
+
Jan
@@ -507,4 +509,4 @@
वैन्दै
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_nl.ts b/plugins/dde-dock/translations/dde-dock_nl.ts
index 17fb26b7a..258a5069a 100644
--- a/plugins/dde-dock/translations/dde-dock_nl.ts
+++ b/plugins/dde-dock/translations/dde-dock_nl.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- Muziek
+
@@ -198,7 +200,7 @@
PluginItemWidget
Disconnect
-
+
@@ -507,4 +509,4 @@
zondag
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_pl.ts b/plugins/dde-dock/translations/dde-dock_pl.ts
index 222d9464f..96836904c 100644
--- a/plugins/dde-dock/translations/dde-dock_pl.ts
+++ b/plugins/dde-dock/translations/dde-dock_pl.ts
@@ -132,6 +132,10 @@
MediaController
+
+ Not playing
+
+
Music
Muzyka
diff --git a/plugins/dde-dock/translations/dde-dock_pt.ts b/plugins/dde-dock/translations/dde-dock_pt.ts
index 545b3d249..95d1aac53 100644
--- a/plugins/dde-dock/translations/dde-dock_pt.ts
+++ b/plugins/dde-dock/translations/dde-dock_pt.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- Música
+
@@ -507,4 +509,4 @@
Domingo
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_pt_BR.ts b/plugins/dde-dock/translations/dde-dock_pt_BR.ts
index 3c79ee480..f53a83717 100644
--- a/plugins/dde-dock/translations/dde-dock_pt_BR.ts
+++ b/plugins/dde-dock/translations/dde-dock_pt_BR.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- Música
+ Música
@@ -507,4 +509,4 @@
domingo
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_ru.ts b/plugins/dde-dock/translations/dde-dock_ru.ts
index 24c6460ed..5e4ad7975 100644
--- a/plugins/dde-dock/translations/dde-dock_ru.ts
+++ b/plugins/dde-dock/translations/dde-dock_ru.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- Музыка
+
@@ -198,7 +200,7 @@
PluginItemWidget
Disconnect
-
+
@@ -308,7 +310,7 @@
Charging protection active
-
+
@@ -507,4 +509,4 @@
воскресенье
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_sl.ts b/plugins/dde-dock/translations/dde-dock_sl.ts
index ab6bf99d1..e55b24c02 100644
--- a/plugins/dde-dock/translations/dde-dock_sl.ts
+++ b/plugins/dde-dock/translations/dde-dock_sl.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- Muzika
+
@@ -198,7 +200,7 @@
PluginItemWidget
Disconnect
-
+
@@ -308,14 +310,14 @@
Charging protection active
-
+
PowerStatusWidget
Power settings
- Nastavitve energijske porabe
+
@@ -507,4 +509,4 @@
nedelja
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_sq.ts b/plugins/dde-dock/translations/dde-dock_sq.ts
index e267fb307..ff36b1c61 100644
--- a/plugins/dde-dock/translations/dde-dock_sq.ts
+++ b/plugins/dde-dock/translations/dde-dock_sq.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- Muzikë
+ Muzikë
@@ -168,7 +170,7 @@
OnboardPlugin
Onboard
-
+
Settings
@@ -179,7 +181,7 @@
PerformanceModeController
High Performance
-
+
Balanced
@@ -191,14 +193,14 @@
Balance Performance
-
+
PluginItemWidget
Disconnect
-
+ Shkëputu
@@ -507,4 +509,4 @@
e diel
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_tr.ts b/plugins/dde-dock/translations/dde-dock_tr.ts
index 69579b046..752c7741f 100644
--- a/plugins/dde-dock/translations/dde-dock_tr.ts
+++ b/plugins/dde-dock/translations/dde-dock_tr.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- Müzik
+
@@ -198,7 +200,7 @@
PluginItemWidget
Disconnect
-
+
@@ -308,7 +310,7 @@
Charging protection active
-
+
@@ -507,4 +509,4 @@
pazar
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_ug.ts b/plugins/dde-dock/translations/dde-dock_ug.ts
index 0cb04d8e0..51378cd81 100644
--- a/plugins/dde-dock/translations/dde-dock_ug.ts
+++ b/plugins/dde-dock/translations/dde-dock_ug.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- مۇزىكا
+
@@ -191,14 +193,14 @@
Balance Performance
-
+
PluginItemWidget
Disconnect
-
+
@@ -304,11 +306,11 @@
Capacity %1, charging protection active
-
+
Charging protection active
-
+
@@ -507,4 +509,4 @@
يەكشەنبە
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_uk.ts b/plugins/dde-dock/translations/dde-dock_uk.ts
index cc74a6f72..2dca16508 100644
--- a/plugins/dde-dock/translations/dde-dock_uk.ts
+++ b/plugins/dde-dock/translations/dde-dock_uk.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- Музика
+
@@ -198,7 +200,7 @@
PluginItemWidget
Disconnect
-
+
@@ -507,4 +509,4 @@
неділя
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_vi.ts b/plugins/dde-dock/translations/dde-dock_vi.ts
index 498b37a81..d12cdb797 100644
--- a/plugins/dde-dock/translations/dde-dock_vi.ts
+++ b/plugins/dde-dock/translations/dde-dock_vi.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+
+
Music
- Âm nhạc
+
@@ -198,7 +200,7 @@
PluginItemWidget
Disconnect
-
+
@@ -304,18 +306,18 @@
Capacity %1, charging protection active
-
+
Charging protection active
-
+
PowerStatusWidget
Power settings
- Thiết lập năng lượng
+
@@ -400,31 +402,31 @@
Monday
-
+
Tuesday
-
+
Wednesday
-
+
Thursday
-
+
Friday
-
+
Saturday
-
+
Sunday
-
+
Jan
@@ -507,4 +509,4 @@
Chủ Nhật
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_zh_CN.ts b/plugins/dde-dock/translations/dde-dock_zh_CN.ts
index 6a5e220d1..b24d90a41 100644
--- a/plugins/dde-dock/translations/dde-dock_zh_CN.ts
+++ b/plugins/dde-dock/translations/dde-dock_zh_CN.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+ 未播放
+
Music
- 音乐
+
@@ -507,4 +509,4 @@
周日
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_zh_HK.ts b/plugins/dde-dock/translations/dde-dock_zh_HK.ts
index e2315ba48..53ae4030e 100644
--- a/plugins/dde-dock/translations/dde-dock_zh_HK.ts
+++ b/plugins/dde-dock/translations/dde-dock_zh_HK.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+ 未播放
+
Music
- 音樂
+
@@ -507,4 +509,4 @@
週日
-
+
\ No newline at end of file
diff --git a/plugins/dde-dock/translations/dde-dock_zh_TW.ts b/plugins/dde-dock/translations/dde-dock_zh_TW.ts
index 1871ece2c..f95d4869e 100644
--- a/plugins/dde-dock/translations/dde-dock_zh_TW.ts
+++ b/plugins/dde-dock/translations/dde-dock_zh_TW.ts
@@ -1,6 +1,4 @@
-
-
-
+
AirplaneModeItem
@@ -132,9 +130,13 @@
MediaController
+
+ Not playing
+ 未播放
+
Music
- 音樂
+
@@ -507,4 +509,4 @@
週日
-
+
\ No newline at end of file