Skip to content

Commit f869222

Browse files
committed
fix: 添加窗口铺至左右侧快捷键的翻译,更新go.mod
添加窗口铺至左右侧快捷键的翻译,更新go.mod Log: 添加窗口铺至左右侧快捷键的翻译,更新go.mod pms: BUG-299025
1 parent 87bb2d1 commit f869222

File tree

6 files changed

+30
-6
lines changed

6 files changed

+30
-6
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require (
1111
github.com/godbus/dbus/v5 v5.1.0
1212
github.com/gosexy/gettext v0.0.0-20160830220431-74466a0a0c4a
1313
github.com/jouyouyun/hardware v0.1.8
14-
github.com/linuxdeepin/dde-api v0.0.0-20241226054448-2620c0f1575c
14+
github.com/linuxdeepin/dde-api v0.0.0-20250109021416-9ed771fda2cb
1515
github.com/linuxdeepin/go-dbus-factory v0.0.0-20241205055755-b43db97ea584
1616
github.com/linuxdeepin/go-gir v0.0.0-20230710064042-bd15f0549c87
1717
github.com/linuxdeepin/go-lib v0.0.0-20241205060835-186e3626ee51

go.sum

+2-4
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,8 @@ github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfn
3232
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
3333
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
3434
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
35-
github.com/linuxdeepin/dde-api v0.0.0-20241128100002-d1fb4aa471f5 h1:0OFQ7rwwGOAo45rluOYH7cOMBoBdXis4h1oFNyLteO4=
36-
github.com/linuxdeepin/dde-api v0.0.0-20241128100002-d1fb4aa471f5/go.mod h1:Ms92CRDOjzkDmX1x0x6+b0vQSYHJ7Ab9jQMY2JYWiio=
37-
github.com/linuxdeepin/dde-api v0.0.0-20241226054448-2620c0f1575c h1:WU/DqCX032cwgU+/HE5dLfcsEq/fxLPIAkI6KYqjq68=
38-
github.com/linuxdeepin/dde-api v0.0.0-20241226054448-2620c0f1575c/go.mod h1:Ms92CRDOjzkDmX1x0x6+b0vQSYHJ7Ab9jQMY2JYWiio=
35+
github.com/linuxdeepin/dde-api v0.0.0-20250109021416-9ed771fda2cb h1:XnElAirUf9DInKFgT0lW1T6x46QP1qPASJInb4doWlI=
36+
github.com/linuxdeepin/dde-api v0.0.0-20250109021416-9ed771fda2cb/go.mod h1:Ms92CRDOjzkDmX1x0x6+b0vQSYHJ7Ab9jQMY2JYWiio=
3937
github.com/linuxdeepin/go-dbus-factory v0.0.0-20241205055755-b43db97ea584 h1:LA2Nnk+rFgw1cSTpFLVpZk1o9VxYjLz9w8pVXGgDwVU=
4038
github.com/linuxdeepin/go-dbus-factory v0.0.0-20241205055755-b43db97ea584/go.mod h1:iIlTR50SA8MJ9ORPyMOpKWMF4g+AUorbER5AX0RD9Jk=
4139
github.com/linuxdeepin/go-gir v0.0.0-20230331033513-a8d7a9e89f9b/go.mod h1:a0tox5vepTQu5iO6rdKc4diGT+fkyXZlRROM8ULEvaI=

keybinding1/shortcuts/id_name_map.go

+2
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ func getWMIdNameMap() map[string]string {
143143
"view-zoom-in": gettext.Tr("Zoom In"),
144144
"view-zoom-out": gettext.Tr("Zoom Out"),
145145
"view-actual-size": gettext.Tr("Zoom to Actual Size"),
146+
"toggle-to-left": gettext.Tr("Window Quick Tile Left"),
147+
"toggle-to-right": gettext.Tr("Window Quick Tile Right"),
146148
}
147149
return idNameMap
148150
}

misc/po/dde-daemon.pot

+9-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2025-01-06 17:16+0800\n"
11+
"POT-Creation-Date: 2025-01-09 10:37+0800\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -506,6 +506,14 @@ msgstr ""
506506
msgid "Zoom to Actual Size"
507507
msgstr ""
508508

509+
#: ../../keybinding1/shortcuts/id_name_map.go:146
510+
msgid "Window Quick Tile Left"
511+
msgstr ""
512+
513+
#: ../../keybinding1/shortcuts/id_name_map.go:147
514+
msgid "Window Quick Tile Right"
515+
msgstr ""
516+
509517
#: ../../langselector1/locale.go:47
510518
msgid "Authentication is required to switch language"
511519
msgstr ""

misc/po/en_US.po

+8
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,14 @@ msgstr ""
535535
msgid "Zoom to Actual Size"
536536
msgstr ""
537537

538+
#: ../../keybinding1/shortcuts/id_name_map.go:146
539+
msgid "Window Quick Tile Left"
540+
msgstr "Window Quick Tile Left"
541+
542+
#: ../../keybinding1/shortcuts/id_name_map.go:147
543+
msgid "Window Quick Tile Right"
544+
msgstr "Window Quick Tile Right"
545+
538546
#: ../../langselector/locale.go:48
539547
msgid "Authentication is required to switch language"
540548
msgstr "Authentication is required to switch language"

misc/po/zh_CN.po

+8
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,14 @@ msgstr "屏幕缩小"
517517
msgid "Zoom to Actual Size"
518518
msgstr "重置屏幕缩放"
519519

520+
#: ../../keybinding1/shortcuts/id_name_map.go:146
521+
msgid "Window Quick Tile Left"
522+
msgstr "窗口快速铺至左侧"
523+
524+
#: ../../keybinding1/shortcuts/id_name_map.go:147
525+
msgid "Window Quick Tile Right"
526+
msgstr "窗口快速铺至右侧"
527+
520528
#: ../../langselector1/locale.go:47
521529
msgid "Authentication is required to switch language"
522530
msgstr "切换语言需要认证"

0 commit comments

Comments
 (0)