Show the desktop shell in Chinese under zh_CN
This commit is contained in:
1 parent
e590f22de6
commit
e236713d9f
55 files changed
+867
-331
No files matched your search
@@ -149,7 +149,7 @@ Item {
|
||||
}
|
||||
|
||||
if (!root.expectedStop && exitCode !== 0) {
|
||||
root.error = root.stderrText || "Speed test failed"
|
||||
root.error = root.stderrText || I18n.tr("Speed test failed")
|
||||
root.phase = ""
|
||||
root.running = false
|
||||
return
|
||||
@@ -177,7 +177,7 @@ Item {
|
||||
onStreamFinished: {
|
||||
var fields = String(text || "").trim().split("\t")
|
||||
if (fields[0] === "wifi") root.connectionName = fields[1] || "Wi-Fi"
|
||||
else if (fields[0] === "ethernet") root.connectionName = "Ethernet"
|
||||
else if (fields[0] === "ethernet") root.connectionName = I18n.tr("Ethernet")
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -186,9 +186,9 @@ Item {
|
||||
fontFamily: Style.font.family
|
||||
layerNamespace: "omarchy-network-speedtest"
|
||||
title: root.connectionName
|
||||
leftLabel: "DOWNLOAD"
|
||||
rightLabel: "UPLOAD"
|
||||
runAgainTooltip: "Measure again via fast.com"
|
||||
leftLabel: I18n.tr("DOWNLOAD")
|
||||
rightLabel: I18n.tr("UPLOAD")
|
||||
runAgainTooltip: I18n.tr("Measure again via fast.com")
|
||||
running: root.running
|
||||
leftValue: root.downloadValue
|
||||
rightValue: root.uploadValue
|
||||
|
||||
Reference in new issue
Block a user