Skip to content

Commit

Permalink
fix(i18n): reuse translation strings from WindowedFrame
Browse files Browse the repository at this point in the history
字母表排序页面中,关机与控制中心两个按钮的提示文案应当直接复用小窗口
启动器的文案,不需要重新重复翻译。

Log:
Issue: linuxdeepin/developer-center#6520
  • Loading branch information
BLumia authored and wangfei committed Dec 14, 2024
1 parent a8aaea0 commit 4ad5242
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qml/AlphabetCategory.qml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ ColumnLayout {
icon.name: "shutdown"
ToolTip.visible: hovered
ToolTip.delay: 1000
ToolTip.text: qsTr("Power")
ToolTip.text: qsTranslate("WindowedFrame", "Power")
onClicked: {
DesktopIntegration.openShutdownScreen();
}
Expand All @@ -103,7 +103,7 @@ ColumnLayout {
icon.name: "setting"
ToolTip.visible: hovered
ToolTip.delay: 1000
ToolTip.text: qsTr("Control Center")
ToolTip.text: qsTranslate("WindowedFrame", "Control Center")
onClicked: {
DesktopIntegration.openSystemSettings();
}
Expand Down

0 comments on commit 4ad5242

Please sign in to comment.