Skip to content

Commit

Permalink
fix: 添加窗口铺至左右侧快捷键的翻译,更新go.mod
Browse files Browse the repository at this point in the history
添加窗口铺至左右侧快捷键的翻译,更新go.mod

Log: 添加窗口铺至左右侧快捷键的翻译,更新go.mod
pms: BUG-299025
  • Loading branch information
fly602 committed Jan 9, 2025
1 parent 87bb2d1 commit 01c702d
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 6 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
github.com/godbus/dbus/v5 v5.1.0
github.com/gosexy/gettext v0.0.0-20160830220431-74466a0a0c4a
github.com/jouyouyun/hardware v0.1.8
github.com/linuxdeepin/dde-api v0.0.0-20241226054448-2620c0f1575c
github.com/linuxdeepin/dde-api v0.0.0-20250109021416-9ed771fda2cb
github.com/linuxdeepin/go-dbus-factory v0.0.0-20241205055755-b43db97ea584
github.com/linuxdeepin/go-gir v0.0.0-20230710064042-bd15f0549c87
github.com/linuxdeepin/go-lib v0.0.0-20241205060835-186e3626ee51
Expand Down
6 changes: 2 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@ github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfn
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/linuxdeepin/dde-api v0.0.0-20241128100002-d1fb4aa471f5 h1:0OFQ7rwwGOAo45rluOYH7cOMBoBdXis4h1oFNyLteO4=
github.com/linuxdeepin/dde-api v0.0.0-20241128100002-d1fb4aa471f5/go.mod h1:Ms92CRDOjzkDmX1x0x6+b0vQSYHJ7Ab9jQMY2JYWiio=
github.com/linuxdeepin/dde-api v0.0.0-20241226054448-2620c0f1575c h1:WU/DqCX032cwgU+/HE5dLfcsEq/fxLPIAkI6KYqjq68=
github.com/linuxdeepin/dde-api v0.0.0-20241226054448-2620c0f1575c/go.mod h1:Ms92CRDOjzkDmX1x0x6+b0vQSYHJ7Ab9jQMY2JYWiio=
github.com/linuxdeepin/dde-api v0.0.0-20250109021416-9ed771fda2cb h1:XnElAirUf9DInKFgT0lW1T6x46QP1qPASJInb4doWlI=
github.com/linuxdeepin/dde-api v0.0.0-20250109021416-9ed771fda2cb/go.mod h1:Ms92CRDOjzkDmX1x0x6+b0vQSYHJ7Ab9jQMY2JYWiio=
github.com/linuxdeepin/go-dbus-factory v0.0.0-20241205055755-b43db97ea584 h1:LA2Nnk+rFgw1cSTpFLVpZk1o9VxYjLz9w8pVXGgDwVU=
github.com/linuxdeepin/go-dbus-factory v0.0.0-20241205055755-b43db97ea584/go.mod h1:iIlTR50SA8MJ9ORPyMOpKWMF4g+AUorbER5AX0RD9Jk=
github.com/linuxdeepin/go-gir v0.0.0-20230331033513-a8d7a9e89f9b/go.mod h1:a0tox5vepTQu5iO6rdKc4diGT+fkyXZlRROM8ULEvaI=
Expand Down
2 changes: 2 additions & 0 deletions keybinding1/shortcuts/id_name_map.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ func getWMIdNameMap() map[string]string {
"view-zoom-in": gettext.Tr("Zoom In"),
"view-zoom-out": gettext.Tr("Zoom Out"),
"view-actual-size": gettext.Tr("Zoom to Actual Size"),
"toggle-to-left": gettext.Tr("Window Quick Tile Left"),
"toggle-to-right": gettext.Tr("Window Quick Tile Right"),
}
return idNameMap
}
Expand Down
10 changes: 9 additions & 1 deletion misc/po/dde-daemon.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-01-06 17:16+0800\n"
"POT-Creation-Date: 2025-01-09 10:37+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -506,6 +506,14 @@ msgstr ""
msgid "Zoom to Actual Size"
msgstr ""

#: ../../keybinding1/shortcuts/id_name_map.go:146
msgid "Window Quick Tile Left"
msgstr ""

#: ../../keybinding1/shortcuts/id_name_map.go:147
msgid "Window Quick Tile Right"
msgstr ""

#: ../../langselector1/locale.go:47
msgid "Authentication is required to switch language"
msgstr ""
Expand Down
8 changes: 8 additions & 0 deletions misc/po/en_US.po
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,14 @@ msgstr ""
msgid "Zoom to Actual Size"
msgstr ""

#: ../../keybinding1/shortcuts/id_name_map.go:146
msgid "Window Quick Tile Left"
msgstr "Window Quick Tile Left"

#: ../../keybinding1/shortcuts/id_name_map.go:147
msgid "Window Quick Tile Right"
msgstr "Window Quick Tile Right"

#: ../../langselector/locale.go:48
msgid "Authentication is required to switch language"
msgstr "Authentication is required to switch language"
Expand Down
8 changes: 8 additions & 0 deletions misc/po/zh_CN.po
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,14 @@ msgstr "屏幕缩小"
msgid "Zoom to Actual Size"
msgstr "重置屏幕缩放"

#: ../../keybinding1/shortcuts/id_name_map.go:146
msgid "Window Quick Tile Left"
msgstr "窗口快速铺至左侧"

#: ../../keybinding1/shortcuts/id_name_map.go:147
msgid "Window Quick Tile Right"
msgstr "窗口快速铺至右侧"

#: ../../langselector1/locale.go:47
msgid "Authentication is required to switch language"
msgstr "切换语言需要认证"
Expand Down

0 comments on commit 01c702d

Please sign in to comment.