diff --git a/panels/notification/center/GroupNotify.qml b/panels/notification/center/GroupNotify.qml
index 2de139493..5420bedf3 100644
--- a/panels/notification/center/GroupNotify.qml
+++ b/panels/notification/center/GroupNotify.qml
@@ -33,17 +33,19 @@ NotifyItem {
Layout.preferredHeight: 1
}
- SettingActionButton {
+ AnimationSettingButton {
Layout.alignment: Qt.AlignRight
icon.name: "fold"
+ text: qsTr("Fold")
onClicked: {
console.log("collapse")
root.collapse()
}
}
- SettingActionButton {
+ AnimationSettingButton {
Layout.alignment: Qt.AlignRight
icon.name: "more"
+ text: qsTr("More")
onClicked: function () {
console.log("group setting", root.appName)
let pos = mapToItem(root, Qt.point(width / 2, height))
diff --git a/panels/notification/center/NotifyHeader.qml b/panels/notification/center/NotifyHeader.qml
index 088871ad2..7983f7a20 100644
--- a/panels/notification/center/NotifyHeader.qml
+++ b/panels/notification/center/NotifyHeader.qml
@@ -28,23 +28,25 @@ FocusScope {
Layout.preferredHeight: 1
}
- SettingActionButton {
+ AnimationSettingButton {
objectName: "collapse"
focus: true
visible: !notifyModel.collapse
Layout.alignment: Qt.AlignRight
icon.name: "fold"
+ text: qsTr("Fold")
onClicked: function () {
console.log("Collapse all notify")
notifyModel.collapseAllApp()
}
}
- SettingActionButton {
+ AnimationSettingButton {
objectName: "more"
focus: true
Layout.alignment: Qt.AlignRight
icon.name: "more"
+ text: qsTr("More")
onClicked: function () {
console.log("Notify setting")
NotifyAccessor.openNotificationSetting()
diff --git a/panels/notification/center/translations/org.deepin.ds.notificationcenter.ts b/panels/notification/center/translations/org.deepin.ds.notificationcenter.ts
index e603fb7aa..943a16b01 100644
--- a/panels/notification/center/translations/org.deepin.ds.notificationcenter.ts
+++ b/panels/notification/center/translations/org.deepin.ds.notificationcenter.ts
@@ -7,6 +7,14 @@
Clear All
+
+ Fold
+
+
+
+ More
+
+
NotifyCenter
@@ -25,6 +33,14 @@
Clear All
+
+ Fold
+
+
+
+ More
+
+
NotifySetting
diff --git a/panels/notification/center/translations/org.deepin.ds.notificationcenter_ar.ts b/panels/notification/center/translations/org.deepin.ds.notificationcenter_ar.ts
index 3d2785eec..3f9a23b2a 100644
--- a/panels/notification/center/translations/org.deepin.ds.notificationcenter_ar.ts
+++ b/panels/notification/center/translations/org.deepin.ds.notificationcenter_ar.ts
@@ -1,16 +1,26 @@
-
+
+
+
GroupNotify
Clear All
مسح الكل
+
+ Fold
+
+
+
+ More
+
+
NotifyCenter
No recent notifications
-
+
@@ -23,6 +33,14 @@
Clear All
مسح الكل
+
+ Fold
+
+
+
+ More
+
+
NotifySetting
@@ -46,4 +64,4 @@
قبل دقيقة واحدة
-
\ No newline at end of file
+
diff --git a/panels/notification/center/translations/org.deepin.ds.notificationcenter_az.ts b/panels/notification/center/translations/org.deepin.ds.notificationcenter_az.ts
index 726b38033..a240a2023 100644
--- a/panels/notification/center/translations/org.deepin.ds.notificationcenter_az.ts
+++ b/panels/notification/center/translations/org.deepin.ds.notificationcenter_az.ts
@@ -1,16 +1,26 @@
-
+
+
+
GroupNotify
Clear All
مسح الكل
+
+ Fold
+
+
+
+ More
+
+
NotifyCenter
No recent notifications
-
+
@@ -23,6 +33,14 @@
Clear All
مسح الكل
+
+ Fold
+
+
+
+ More
+
+
NotifySetting
@@ -46,4 +64,4 @@
الآن
-
\ No newline at end of file
+
diff --git a/panels/notification/center/translations/org.deepin.ds.notificationcenter_bo.ts b/panels/notification/center/translations/org.deepin.ds.notificationcenter_bo.ts
index e603fb7aa..943a16b01 100644
--- a/panels/notification/center/translations/org.deepin.ds.notificationcenter_bo.ts
+++ b/panels/notification/center/translations/org.deepin.ds.notificationcenter_bo.ts
@@ -7,6 +7,14 @@
Clear All
+
+ Fold
+
+
+
+ More
+
+
NotifyCenter
@@ -25,6 +33,14 @@
Clear All
+
+ Fold
+
+
+
+ More
+
+
NotifySetting
diff --git a/panels/notification/center/translations/org.deepin.ds.notificationcenter_ca.ts b/panels/notification/center/translations/org.deepin.ds.notificationcenter_ca.ts
index c8d1dfd28..5091c52af 100644
--- a/panels/notification/center/translations/org.deepin.ds.notificationcenter_ca.ts
+++ b/panels/notification/center/translations/org.deepin.ds.notificationcenter_ca.ts
@@ -1,10 +1,20 @@
-
+
+
+
GroupNotify
Clear All
Neteja-ho tot
+
+ Fold
+
+
+
+ More
+
+
NotifyCenter
@@ -23,6 +33,14 @@
Clear All
Neteja-ho tot
+
+ Fold
+
+
+
+ More
+
+
NotifySetting
@@ -46,4 +64,4 @@
Ara mateix
-
\ No newline at end of file
+
diff --git a/panels/notification/center/translations/org.deepin.ds.notificationcenter_de.ts b/panels/notification/center/translations/org.deepin.ds.notificationcenter_de.ts
index 932de61d7..915c71994 100644
--- a/panels/notification/center/translations/org.deepin.ds.notificationcenter_de.ts
+++ b/panels/notification/center/translations/org.deepin.ds.notificationcenter_de.ts
@@ -1,16 +1,26 @@
-
+
+
+
GroupNotify
Clear All
Alles leeren
+
+ Fold
+
+
+
+ More
+
+
NotifyCenter
No recent notifications
-
+
@@ -23,6 +33,14 @@
Clear All
Alles leeren
+
+ Fold
+
+
+
+ More
+
+
NotifySetting
@@ -46,4 +64,4 @@
Gerade eben
-
\ No newline at end of file
+
diff --git a/panels/notification/center/translations/org.deepin.ds.notificationcenter_es.ts b/panels/notification/center/translations/org.deepin.ds.notificationcenter_es.ts
index d286e81fa..591b85532 100644
--- a/panels/notification/center/translations/org.deepin.ds.notificationcenter_es.ts
+++ b/panels/notification/center/translations/org.deepin.ds.notificationcenter_es.ts
@@ -1,10 +1,20 @@
-
+
+
+
GroupNotify
Clear All
Limpiar todo
+
+ Fold
+
+
+
+ More
+
+
NotifyCenter
@@ -23,6 +33,14 @@
Clear All
Limpiar todo
+
+ Fold
+
+
+
+ More
+
+
NotifySetting
@@ -46,4 +64,4 @@
Ahora mismo
-
\ No newline at end of file
+
diff --git a/panels/notification/center/translations/org.deepin.ds.notificationcenter_fi.ts b/panels/notification/center/translations/org.deepin.ds.notificationcenter_fi.ts
index f08daa339..7232e17cf 100644
--- a/panels/notification/center/translations/org.deepin.ds.notificationcenter_fi.ts
+++ b/panels/notification/center/translations/org.deepin.ds.notificationcenter_fi.ts
@@ -1,10 +1,20 @@
-
+
+
+
GroupNotify
Clear All
Tyhjennä kaikki
+
+ Fold
+
+
+
+ More
+
+
NotifyCenter
@@ -23,6 +33,14 @@
Clear All
Tyhjennä kaikki
+
+ Fold
+
+
+
+ More
+
+
NotifySetting
@@ -46,4 +64,4 @@
Juuri nyt
-
\ No newline at end of file
+
diff --git a/panels/notification/center/translations/org.deepin.ds.notificationcenter_fr.ts b/panels/notification/center/translations/org.deepin.ds.notificationcenter_fr.ts
index 47c2dd7a1..549f33a9c 100644
--- a/panels/notification/center/translations/org.deepin.ds.notificationcenter_fr.ts
+++ b/panels/notification/center/translations/org.deepin.ds.notificationcenter_fr.ts
@@ -1,10 +1,20 @@
-
+
+
+
GroupNotify
Clear All
Tout effacer
+
+ Fold
+
+
+
+ More
+
+
NotifyCenter
@@ -23,6 +33,14 @@
Clear All
Tout effacer
+
+ Fold
+
+
+
+ More
+
+
NotifySetting
@@ -46,4 +64,4 @@
À l'instant
-
\ No newline at end of file
+
diff --git a/panels/notification/center/translations/org.deepin.ds.notificationcenter_hu.ts b/panels/notification/center/translations/org.deepin.ds.notificationcenter_hu.ts
index 4dd163058..56c927cba 100644
--- a/panels/notification/center/translations/org.deepin.ds.notificationcenter_hu.ts
+++ b/panels/notification/center/translations/org.deepin.ds.notificationcenter_hu.ts
@@ -1,16 +1,26 @@
-
+
+
+
GroupNotify
Clear All
Összes törlése
+
+ Fold
+
+
+
+ More
+
+
NotifyCenter
No recent notifications
-
+
@@ -23,6 +33,14 @@
Clear All
Összes törlése
+
+ Fold
+
+
+
+ More
+
+
NotifySetting
@@ -46,4 +64,4 @@
Csak most
-
\ No newline at end of file
+
diff --git a/panels/notification/center/translations/org.deepin.ds.notificationcenter_it.ts b/panels/notification/center/translations/org.deepin.ds.notificationcenter_it.ts
index e603fb7aa..943a16b01 100644
--- a/panels/notification/center/translations/org.deepin.ds.notificationcenter_it.ts
+++ b/panels/notification/center/translations/org.deepin.ds.notificationcenter_it.ts
@@ -7,6 +7,14 @@
Clear All
+
+ Fold
+
+
+
+ More
+
+
NotifyCenter
@@ -25,6 +33,14 @@
Clear All
+
+ Fold
+
+
+
+ More
+
+
NotifySetting
diff --git a/panels/notification/center/translations/org.deepin.ds.notificationcenter_ja.ts b/panels/notification/center/translations/org.deepin.ds.notificationcenter_ja.ts
index 466faecb3..932dbe95c 100644
--- a/panels/notification/center/translations/org.deepin.ds.notificationcenter_ja.ts
+++ b/panels/notification/center/translations/org.deepin.ds.notificationcenter_ja.ts
@@ -1,10 +1,20 @@
-
+
+
+
GroupNotify
Clear All
すべて消去
+
+ Fold
+
+
+
+ More
+
+
NotifyCenter
@@ -23,6 +33,14 @@
Clear All
すべて消去
+
+ Fold
+
+
+
+ More
+
+
NotifySetting
@@ -46,4 +64,4 @@
たった今
-
\ No newline at end of file
+
diff --git a/panels/notification/center/translations/org.deepin.ds.notificationcenter_ko.ts b/panels/notification/center/translations/org.deepin.ds.notificationcenter_ko.ts
index e603fb7aa..943a16b01 100644
--- a/panels/notification/center/translations/org.deepin.ds.notificationcenter_ko.ts
+++ b/panels/notification/center/translations/org.deepin.ds.notificationcenter_ko.ts
@@ -7,6 +7,14 @@
Clear All
+
+ Fold
+
+
+
+ More
+
+
NotifyCenter
@@ -25,6 +33,14 @@
Clear All
+
+ Fold
+
+
+
+ More
+
+
NotifySetting
diff --git a/panels/notification/center/translations/org.deepin.ds.notificationcenter_lo.ts b/panels/notification/center/translations/org.deepin.ds.notificationcenter_lo.ts
index a30320ce5..39ff64b1d 100644
--- a/panels/notification/center/translations/org.deepin.ds.notificationcenter_lo.ts
+++ b/panels/notification/center/translations/org.deepin.ds.notificationcenter_lo.ts
@@ -1,10 +1,20 @@
-
+
+
+
GroupNotify
Clear All
ລົບເຄີຍທັງໝົດ
+
+ Fold
+
+
+
+ More
+
+
NotifyCenter
@@ -23,6 +33,14 @@
Clear All
ລົບເຄີຍທັງໝົດ
+
+ Fold
+
+
+
+ More
+
+
NotifySetting
@@ -46,4 +64,4 @@
ພຽງເທີ່ນີ້
-
\ No newline at end of file
+
diff --git a/panels/notification/center/translations/org.deepin.ds.notificationcenter_nb_NO.ts b/panels/notification/center/translations/org.deepin.ds.notificationcenter_nb_NO.ts
index e603fb7aa..943a16b01 100644
--- a/panels/notification/center/translations/org.deepin.ds.notificationcenter_nb_NO.ts
+++ b/panels/notification/center/translations/org.deepin.ds.notificationcenter_nb_NO.ts
@@ -7,6 +7,14 @@
Clear All
+
+ Fold
+
+
+
+ More
+
+
NotifyCenter
@@ -25,6 +33,14 @@
Clear All
+
+ Fold
+
+
+
+ More
+
+
NotifySetting
diff --git a/panels/notification/center/translations/org.deepin.ds.notificationcenter_pl.ts b/panels/notification/center/translations/org.deepin.ds.notificationcenter_pl.ts
index 189132f84..662163e60 100644
--- a/panels/notification/center/translations/org.deepin.ds.notificationcenter_pl.ts
+++ b/panels/notification/center/translations/org.deepin.ds.notificationcenter_pl.ts
@@ -1,10 +1,20 @@
-
+
+
+
GroupNotify
Clear All
Wyczyść wszystko
+
+ Fold
+
+
+
+ More
+
+
NotifyCenter
@@ -23,6 +33,14 @@
Clear All
Wyczyść wszystko
+
+ Fold
+
+
+
+ More
+
+
NotifySetting
@@ -46,4 +64,4 @@
Właśnie teraz
-
\ No newline at end of file
+
diff --git a/panels/notification/center/translations/org.deepin.ds.notificationcenter_pt_BR.ts b/panels/notification/center/translations/org.deepin.ds.notificationcenter_pt_BR.ts
index d4b82f592..08f04c88a 100644
--- a/panels/notification/center/translations/org.deepin.ds.notificationcenter_pt_BR.ts
+++ b/panels/notification/center/translations/org.deepin.ds.notificationcenter_pt_BR.ts
@@ -1,10 +1,20 @@
-
+
+
+
GroupNotify
Clear All
Limpar tudo
+
+ Fold
+
+
+
+ More
+
+
NotifyCenter
@@ -23,6 +33,14 @@
Clear All
Limpar tudo
+
+ Fold
+
+
+
+ More
+
+
NotifySetting
@@ -46,4 +64,4 @@
Há pouco
-
\ No newline at end of file
+
diff --git a/panels/notification/center/translations/org.deepin.ds.notificationcenter_ru.ts b/panels/notification/center/translations/org.deepin.ds.notificationcenter_ru.ts
index e5bfc2ecb..ef94662e7 100644
--- a/panels/notification/center/translations/org.deepin.ds.notificationcenter_ru.ts
+++ b/panels/notification/center/translations/org.deepin.ds.notificationcenter_ru.ts
@@ -1,34 +1,52 @@
-
+
+
+
GroupNotify
Clear All
Очистить всё
+
+ Fold
+
+
+
+ More
+
+
NotifyCenter
No recent notifications
-
+
NotifyHeader
Notification Center
-
+
Clear All
Очистить всё
+
+ Fold
+
+
+
+ More
+
+
NotifySetting
Unpin
-
+
Pin
@@ -36,7 +54,7 @@
Notification Setting
-
+
@@ -46,4 +64,4 @@
Сейчас
-
\ No newline at end of file
+
diff --git a/panels/notification/center/translations/org.deepin.ds.notificationcenter_sq.ts b/panels/notification/center/translations/org.deepin.ds.notificationcenter_sq.ts
index d49e6cb60..8e4866785 100644
--- a/panels/notification/center/translations/org.deepin.ds.notificationcenter_sq.ts
+++ b/panels/notification/center/translations/org.deepin.ds.notificationcenter_sq.ts
@@ -1,16 +1,26 @@
-
+
+
+
GroupNotify
Clear All
Spastroji Krejt
+
+ Fold
+
+
+
+ More
+
+
NotifyCenter
No recent notifications
-
+
@@ -23,6 +33,14 @@
Clear All
Spastroji Krejt
+
+ Fold
+
+
+
+ More
+
+
NotifySetting
@@ -46,4 +64,4 @@
Mu tani
-
\ No newline at end of file
+
diff --git a/panels/notification/center/translations/org.deepin.ds.notificationcenter_uk.ts b/panels/notification/center/translations/org.deepin.ds.notificationcenter_uk.ts
index d891276d4..fb955bee2 100644
--- a/panels/notification/center/translations/org.deepin.ds.notificationcenter_uk.ts
+++ b/panels/notification/center/translations/org.deepin.ds.notificationcenter_uk.ts
@@ -1,10 +1,20 @@
-
+
+
+
GroupNotify
Clear All
Вилучити все
+
+ Fold
+
+
+
+ More
+
+
NotifyCenter
@@ -23,6 +33,14 @@
Clear All
Вилучити все
+
+ Fold
+
+
+
+ More
+
+
NotifySetting
@@ -46,4 +64,4 @@
Щойно
-
\ No newline at end of file
+
diff --git a/panels/notification/center/translations/org.deepin.ds.notificationcenter_zh_CN.ts b/panels/notification/center/translations/org.deepin.ds.notificationcenter_zh_CN.ts
index 46e525d38..fb4fc5fad 100644
--- a/panels/notification/center/translations/org.deepin.ds.notificationcenter_zh_CN.ts
+++ b/panels/notification/center/translations/org.deepin.ds.notificationcenter_zh_CN.ts
@@ -1,10 +1,20 @@
-
+
+
+
GroupNotify
Clear All
清除全部
+
+ Fold
+ 折叠
+
+
+ More
+ 更多
+
NotifyCenter
@@ -23,6 +33,14 @@
Clear All
清除全部
+
+ Fold
+ 折叠
+
+
+ More
+ 更多
+
NotifySetting
@@ -46,4 +64,4 @@
刚刚
-
\ No newline at end of file
+
diff --git a/panels/notification/center/translations/org.deepin.ds.notificationcenter_zh_HK.ts b/panels/notification/center/translations/org.deepin.ds.notificationcenter_zh_HK.ts
index 820fce5f8..37d8ff148 100644
--- a/panels/notification/center/translations/org.deepin.ds.notificationcenter_zh_HK.ts
+++ b/panels/notification/center/translations/org.deepin.ds.notificationcenter_zh_HK.ts
@@ -1,10 +1,20 @@
-
+
+
+
GroupNotify
Clear All
全部清除
+
+ Fold
+ 折疊
+
+
+ More
+ 更多
+
NotifyCenter
@@ -23,6 +33,14 @@
Clear All
全部清除
+
+ Fold
+ 折疊
+
+
+ More
+ 更多
+
NotifySetting
@@ -46,4 +64,4 @@
剛剛
-
\ No newline at end of file
+
diff --git a/panels/notification/center/translations/org.deepin.ds.notificationcenter_zh_TW.ts b/panels/notification/center/translations/org.deepin.ds.notificationcenter_zh_TW.ts
index 09af1e67a..5f42a3889 100644
--- a/panels/notification/center/translations/org.deepin.ds.notificationcenter_zh_TW.ts
+++ b/panels/notification/center/translations/org.deepin.ds.notificationcenter_zh_TW.ts
@@ -1,10 +1,20 @@
-
+
+
+
GroupNotify
Clear All
全部清除
+
+ Fold
+ 折疊
+
+
+ More
+ 更多
+
NotifyCenter
@@ -23,6 +33,14 @@
Clear All
全部清除
+
+ Fold
+ 折疊
+
+
+ More
+ 更多
+
NotifySetting
@@ -46,4 +64,4 @@
剛剛
-
\ No newline at end of file
+