mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
i18n update
This commit is contained in:
@@ -396,6 +396,7 @@
|
||||
"edit": "Edit",
|
||||
"enabled": "Enabled",
|
||||
"error": "Error",
|
||||
"ethernet": "Ethernet",
|
||||
"events": "Events",
|
||||
"execute": "Execute",
|
||||
"faithful": "Faithful",
|
||||
@@ -503,6 +504,7 @@
|
||||
"week": "Week",
|
||||
"widgets": "Widgets",
|
||||
"width": "Width",
|
||||
"wifi": "Wi-Fi",
|
||||
"windows": "Windows",
|
||||
"yes": "Yes",
|
||||
"confirm": "Confirm",
|
||||
@@ -1221,19 +1223,22 @@
|
||||
"title": "Lock Screen"
|
||||
},
|
||||
"connections": {
|
||||
"authentication-required": "Authentication required",
|
||||
"bluetooth-description": "Activate Bluetooth management.",
|
||||
"bluetooth-devices-unnamed": "Unnamed devices are not shown.",
|
||||
"bluetooth-discoverable": "This device is discoverable as <b> {hostName} </b> while this settings tab is open.",
|
||||
"bluetooth-rssi-polling-description": "Periodically sample RSSI for connected devices via bluetoothctl. May not be available for all devices; uses minimal resources when enabled.",
|
||||
"bluetooth-rssi-polling-interval-description": "Configure how often to update signal strength for connected devices.",
|
||||
"bluetooth-rssi-polling-label": "Bluetooth signal polling",
|
||||
"bluetooth-rssi-polling-interval-label": "Polling interval",
|
||||
"desc": "Manage Wi-Fi and Bluetooth connections.",
|
||||
"wifi-description": "Manage wireless networks (requires NetworkManager).",
|
||||
"bluetooth-discoverable": "This device is discoverable as <b> {hostName} </b> while this settings tab is open.",
|
||||
"bluetooth-devices-unnamed": "Devices found but filtered.",
|
||||
"authentication-required": "Authentication required",
|
||||
"disable-discoverability-label": "Disable device visibility",
|
||||
"disable-discoverability-description": "Hide your device from nearby Bluetooth devices.",
|
||||
"hide-unnamed-devices-label": "Hide unnamed devices",
|
||||
"hide-unnamed-devices-description": "Hide devices that appear only as Bluetooth addresses.",
|
||||
"pin-instructions": "Please enter the PIN code displayed on your device.",
|
||||
"title": "Connections",
|
||||
"ethernet": "Ethernet"
|
||||
"wifi-description": "Manage wireless networks (requires NetworkManager)."
|
||||
|
||||
},
|
||||
"notifications": {
|
||||
"duration-critical-urgency-description": "How long critical priority notifications stay visible.",
|
||||
@@ -1733,7 +1738,6 @@
|
||||
"forget-network": "Forget network",
|
||||
"grid-view": "Grid view",
|
||||
"hidden-files-hide": "Hidden files",
|
||||
"hide-unnamed-devices": "Hide unnamed devices",
|
||||
"home": "Home directory",
|
||||
"input-muted": "Toggle input mute",
|
||||
"keep-awake": "Keep Awake",
|
||||
|
||||
@@ -1029,27 +1029,30 @@
|
||||
},
|
||||
{
|
||||
"labelKey": "actions.enable-wifi",
|
||||
"descriptionKey": "panels.network.wifi-description",
|
||||
"descriptionKey": "panels.connections.wifi-description",
|
||||
"widget": "NToggle",
|
||||
"tab": 15,
|
||||
"tabLabel": "common.network",
|
||||
"subTab": null
|
||||
"tabLabel": "panels.connections.title",
|
||||
"subTab": null,
|
||||
"subTabLabel": "common.wifi"
|
||||
},
|
||||
{
|
||||
"labelKey": "actions.enable-bluetooth",
|
||||
"descriptionKey": "panels.network.bluetooth-description",
|
||||
"descriptionKey": "panels.connections.bluetooth-description",
|
||||
"widget": "NToggle",
|
||||
"tab": 15,
|
||||
"tabLabel": "common.network",
|
||||
"subTab": null
|
||||
"tabLabel": "panels.connections.title",
|
||||
"subTab": null,
|
||||
"subTabLabel": "common.bluetooth"
|
||||
},
|
||||
{
|
||||
"labelKey": "panels.network.bluetooth-rssi-polling-label",
|
||||
"descriptionKey": "panels.network.bluetooth-rssi-polling-description",
|
||||
"labelKey": "panels.connections.bluetooth-rssi-polling-label",
|
||||
"descriptionKey": "panels.connections.bluetooth-rssi-polling-description",
|
||||
"widget": "NToggle",
|
||||
"tab": 15,
|
||||
"tabLabel": "common.network",
|
||||
"subTab": null
|
||||
"tabLabel": "panels.connections.title",
|
||||
"subTab": null,
|
||||
"subTabLabel": "common.bluetooth"
|
||||
},
|
||||
{
|
||||
"labelKey": "panels.notifications.duration-respect-expire-label",
|
||||
|
||||
@@ -148,7 +148,7 @@ Item {
|
||||
else if (NetworkService.activeEthernetIf && NetworkService.activeEthernetIf.length > 0)
|
||||
base = NetworkService.activeEthernetIf;
|
||||
else
|
||||
base = I18n.tr("control-center.wifi.label-ethernet");
|
||||
base = I18n.tr("common.ethernet");
|
||||
const speed = (d.speed && d.speed.length > 0) ? d.speed : "";
|
||||
return speed ? (base + " — " + speed) : base;
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ NIconButtonHot {
|
||||
try {
|
||||
if (NetworkService.ethernetConnected) {
|
||||
// Match design: fixed label when on Ethernet
|
||||
return I18n.tr("control-center.wifi.label-ethernet");
|
||||
return I18n.tr("common.ethernet");
|
||||
}
|
||||
// Wi‑Fi: SSID — link speed (if available)
|
||||
for (const net in NetworkService.networks) {
|
||||
|
||||
@@ -140,13 +140,13 @@ SmartPanel {
|
||||
panelViewMode = "wifi";
|
||||
}
|
||||
}
|
||||
onEntered: TooltipService.show(parent, panelViewMode === "wifi" ? I18n.tr("control-center.wifi.label-ethernet") : I18n.tr("common.wifi"))
|
||||
onEntered: TooltipService.show(parent, panelViewMode === "wifi" ? I18n.tr("common.ethernet") : I18n.tr("common.wifi"))
|
||||
onExited: TooltipService.hide()
|
||||
}
|
||||
}
|
||||
|
||||
NText {
|
||||
text: panelViewMode === "wifi" ? I18n.tr("common.wifi") : I18n.tr("control-center.wifi.label-ethernet")
|
||||
text: panelViewMode === "wifi" ? I18n.tr("common.wifi") : I18n.tr("common.ethernet")
|
||||
pointSize: Style.fontSizeL
|
||||
font.weight: Style.fontWeightBold
|
||||
color: Color.mOnSurface
|
||||
@@ -204,7 +204,7 @@ SmartPanel {
|
||||
}
|
||||
|
||||
NTabButton {
|
||||
text: I18n.tr("control-center.wifi.label-ethernet")
|
||||
text: I18n.tr("common.ethernet")
|
||||
tabIndex: 1
|
||||
checked: modeTabBar.currentIndex === 1
|
||||
}
|
||||
@@ -707,7 +707,7 @@ SmartPanel {
|
||||
const value = (NetworkService.activeEthernetDetails.ifname && NetworkService.activeEthernetDetails.ifname.length > 0) ? NetworkService.activeEthernetDetails.ifname : (NetworkService.activeEthernetIf || "");
|
||||
if (value.length > 0) {
|
||||
Quickshell.execDetached(["wl-copy", value]);
|
||||
ToastService.showNotice(I18n.tr("control-center.wifi.label-ethernet"), I18n.tr("toast.bluetooth.address-copied"), "ethernet");
|
||||
ToastService.showNotice(I18n.tr("common.ethernet"), I18n.tr("toast.bluetooth.address-copied"), "ethernet");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -859,7 +859,7 @@ SmartPanel {
|
||||
const value = NetworkService.activeEthernetDetails.ipv4 || "";
|
||||
if (value.length > 0) {
|
||||
Quickshell.execDetached(["wl-copy", value]);
|
||||
ToastService.showNotice(I18n.tr("control-center.wifi.label-ethernet"), I18n.tr("toast.bluetooth.address-copied"), "ethernet");
|
||||
ToastService.showNotice(I18n.tr("common.ethernet"), I18n.tr("toast.bluetooth.address-copied"), "ethernet");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -315,8 +315,8 @@ Item {
|
||||
}
|
||||
|
||||
NToggle {
|
||||
label: I18n.tr("panels.connections.hide-unnamed-devices-label") // former i18n key: tooltips.hide-unnamed-devices
|
||||
description: I18n.tr("panels.connections.hide-unnamed-devices-description") // "Hide devices that appear only as Bluetooth addresses."
|
||||
label: I18n.tr("panels.connections.hide-unnamed-devices-label")
|
||||
description: I18n.tr("panels.connections.hide-unnamed-devices-description")
|
||||
checked: Settings.data.network.bluetoothHideUnnamedDevices
|
||||
onToggled: checked => Settings.data.network.bluetoothHideUnnamedDevices = checked
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
@@ -324,8 +324,8 @@ Item {
|
||||
}
|
||||
|
||||
NToggle {
|
||||
label: I18n.tr("panels.connections.disable-discoverability-label") // "Disable device visibility"
|
||||
description: I18n.tr("panels.connections.disable-discoverability-description") // "Hide your device from nearby Bluetooth devices."
|
||||
label: I18n.tr("panels.connections.disable-discoverability-label")
|
||||
description: I18n.tr("panels.connections.disable-discoverability-description")
|
||||
checked: Settings.data.network.disableDiscoverability
|
||||
onToggled: checked => {
|
||||
Settings.data.network.disableDiscoverability = checked;
|
||||
|
||||
Reference in New Issue
Block a user