mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
chore work no one wants to do :P
This commit is contained in:
@@ -504,7 +504,8 @@
|
||||
"widgets": "Widgets",
|
||||
"width": "Width",
|
||||
"windows": "Windows",
|
||||
"yes": "Yes"
|
||||
"yes": "Yes",
|
||||
"confirm": "Confirm"
|
||||
},
|
||||
"control-center": {
|
||||
"power-profile": {
|
||||
@@ -1190,12 +1191,18 @@
|
||||
"show-session-buttons-label": "Power controls",
|
||||
"title": "Lock Screen"
|
||||
},
|
||||
"network": {
|
||||
"connections": {
|
||||
"bluetooth-description": "Activate Bluetooth management.",
|
||||
"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-label": "Bluetooth signal polling",
|
||||
"desc": "Manage Wi-Fi and Bluetooth connections.",
|
||||
"wifi-description": "Manage wireless networks (requires NetworkManager)."
|
||||
"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",
|
||||
"pin-instructions": "",
|
||||
"title": "Connections",
|
||||
"ethernet": "Ethernet"
|
||||
},
|
||||
"notifications": {
|
||||
"duration-critical-urgency-description": "How long critical priority notifications stay visible.",
|
||||
|
||||
@@ -407,8 +407,8 @@ Item {
|
||||
OsdTab {}
|
||||
}
|
||||
Component {
|
||||
id: networkTab
|
||||
NetworkTab {}
|
||||
id: connectionsTab
|
||||
ConnectionsTab {}
|
||||
}
|
||||
Component {
|
||||
id: regionTab
|
||||
@@ -560,10 +560,10 @@ Item {
|
||||
"source": displayTab
|
||||
},
|
||||
{
|
||||
"id": SettingsPanel.Tab.Network,
|
||||
"label": "common.network",
|
||||
"id": SettingsPanel.Tab.Connections,
|
||||
"label": "panels.connections.title",
|
||||
"icon": "settings-network",
|
||||
"source": networkTab
|
||||
"source": connectionsTab
|
||||
},
|
||||
{
|
||||
"id": SettingsPanel.Tab.Location,
|
||||
|
||||
@@ -84,7 +84,7 @@ SmartPanel {
|
||||
Hooks,
|
||||
Launcher,
|
||||
Location,
|
||||
Network,
|
||||
Connections,
|
||||
Notifications,
|
||||
Plugins,
|
||||
SessionMenu,
|
||||
|
||||
@@ -185,8 +185,7 @@ Item {
|
||||
}
|
||||
|
||||
NText {
|
||||
text: "This device is discoverable as <b>" + HostService.hostName + "</b> while this settings tab is open."
|
||||
// TODO: missing: i18n
|
||||
text: I18n.tr("panels.connections.bluetooth-discoverable", {hostName: HostService.hostName})
|
||||
visible: (BluetoothService.enabled && isDiscoverable)
|
||||
richTextEnabled: true
|
||||
wrapMode: Text.WordWrap
|
||||
@@ -302,7 +301,7 @@ Item {
|
||||
|
||||
NText {
|
||||
visible: btprefs.availableDevices.length === 0 && btprefs.unnamedAvailableDevices.length > 0
|
||||
text: I18n.tr("bluetooth.panel.no-named-devices")
|
||||
text: I18n.tr("panels.connections.bluetooth-devices-unnamed")
|
||||
pointSize: Style.fontSizeS
|
||||
color: Color.mOnSurfaceVariant
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
@@ -328,8 +327,8 @@ Item {
|
||||
|
||||
// RSSI Polling
|
||||
NToggle {
|
||||
label: I18n.tr("panels.network.bluetooth-rssi-polling-label")
|
||||
description: I18n.tr("panels.network.bluetooth-rssi-polling-description")
|
||||
label: I18n.tr("panels.connections.bluetooth-rssi-polling-label")
|
||||
description: I18n.tr("panels.connections.bluetooth-rssi-polling-description")
|
||||
checked: Settings.data && Settings.data.network && Settings.data.network.bluetoothRssiPollingEnabled
|
||||
onToggled: checked => Settings.data.network.bluetoothRssiPollingEnabled = checked
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
@@ -654,7 +653,7 @@ Item {
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
}
|
||||
NText {
|
||||
text: I18n.tr("common.authentication-required")
|
||||
text: I18n.tr("panels.connections.authentication-required")
|
||||
pointSize: Style.fontSizeXL
|
||||
font.weight: Style.fontWeightBold
|
||||
color: Color.mOnSurface
|
||||
@@ -662,7 +661,7 @@ Item {
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
NText {
|
||||
text: I18n.tr("bluetooth.panel.pin-instructions")
|
||||
text: I18n.tr("panels.connections.pin-instructions")
|
||||
pointSize: Style.fontSizeM
|
||||
color: Color.mOnSurfaceVariant
|
||||
wrapMode: Text.WordWrap
|
||||
|
||||
@@ -14,7 +14,7 @@ ColumnLayout {
|
||||
|
||||
NToggle {
|
||||
label: I18n.tr("actions.enable-wifi")
|
||||
description: I18n.tr("panels.network.wifi-description")
|
||||
description: I18n.tr("panels.connections.wifi-description")
|
||||
checked: ProgramCheckerService.nmcliAvailable && Settings.data.network.wifiEnabled
|
||||
onToggled: checked => NetworkService.setWifiEnabled(checked)
|
||||
enabled: ProgramCheckerService.nmcliAvailable
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ ColumnLayout {
|
||||
checked: subTabBar.currentIndex === 1
|
||||
}
|
||||
NTabButton {
|
||||
text: I18n.tr("wifi.label-ethernet") // TODO: I18n
|
||||
text: I18n.tr("panels.connections.ethernet")
|
||||
// visible: NetworkService.wifiAvailable
|
||||
enabled: NetworkService.wifiAvailable // Remove when work finished, only use visibility
|
||||
tabIndex: 2
|
||||
Reference in New Issue
Block a user