Show the desktop shell in Chinese under zh_CN

This commit is contained in:
ZacharyZhang-NY committed 2026-10-06 21:29:39 -04:00
1 parent e590f22de6
commit e236713d9f
55 files changed
+867 -331

No files matched your search

+7 -7
View File
@@ -555,7 +555,7 @@ Panel {
spacing: Style.space(2)
Text {
text: "Display"
text: I18n.tr("Display")
color: root.bar.foreground
font.family: root.bar.fontFamily
font.pixelSize: Style.font.title
@@ -569,9 +569,9 @@ Panel {
textFormat: Text.PlainText
text: {
if (root.brightnessAvailable) {
return root.brightnessName(brightnessSlider.dragging ? brightnessSlider.liveValue : root.brightnessPercent).toUpperCase()
return I18n.tr(root.brightnessName(brightnessSlider.dragging ? brightnessSlider.liveValue : root.brightnessPercent)).toUpperCase()
}
return "FIXED BRIGHTNESS"
return I18n.tr("FIXED BRIGHTNESS")
}
color: Qt.darker(root.bar.foreground, 1.4)
font.family: root.bar.fontFamily
@@ -601,7 +601,7 @@ Panel {
PanelSectionHeader {
id: brightnessHeader
text: "BRIGHTNESS"
text: I18n.tr("BRIGHTNESS")
foreground: root.bar.foreground
fontFamily: root.bar.fontFamily
anchors.left: parent.left
@@ -674,7 +674,7 @@ Panel {
PanelSectionHeader {
id: textSizeHeader
text: "TEXT SIZE"
text: I18n.tr("TEXT SIZE")
foreground: root.bar.foreground
fontFamily: root.bar.fontFamily
anchors.left: parent.left
@@ -746,7 +746,7 @@ Panel {
PanelSectionHeader {
id: scaleHeader
text: "SCALE"
text: I18n.tr("SCALE")
foreground: root.bar.foreground
fontFamily: root.bar.fontFamily
anchors.left: parent.left
@@ -808,7 +808,7 @@ Panel {
visible: root.displays.length > 1
PanelSectionHeader {
text: "DISPLAYS"
text: I18n.tr("DISPLAYS")
foreground: root.bar.foreground
fontFamily: root.bar.fontFamily
}