mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
wifi networks: allow localization
This commit is contained in:
@@ -92,8 +92,13 @@
|
||||
"Paired": "Paired",
|
||||
"More": "More",
|
||||
"Selected": "Selected",
|
||||
"Connecting to": "Connecting to",
|
||||
"Current network": "Current network",
|
||||
"Authentication": "Authentication",
|
||||
"Authentication failed": "Authentication failed",
|
||||
"Enter network password": "Enter network password",
|
||||
"Properties": "Properties",
|
||||
"Forget": "Forget",
|
||||
"Effects": "Effects",
|
||||
"Transparency": "Transparency",
|
||||
"[AGS]\nMake shell elements transparent\nBlur is also recommended if you enable this": "[AGS]\nMake shell elements transparent\nBlur is also recommended if you enable this",
|
||||
|
||||
@@ -39,7 +39,7 @@ const WifiNetwork = (accessPoint) => {
|
||||
return Button({
|
||||
onClicked: accessPoint.active ? () => { } : () => {
|
||||
connectAttempt = accessPoint.ssid;
|
||||
networkAuthSSID.label = `Connecting to: ${connectAttempt}`;
|
||||
networkAuthSSID.label = `${getString('Connecting to')}: ${connectAttempt}`;
|
||||
|
||||
// Check if the SSID is stored
|
||||
execAsync(['nmcli', '-g', 'NAME', 'connection', 'show'])
|
||||
@@ -151,7 +151,7 @@ const CurrentNetwork = () => {
|
||||
});
|
||||
const cancelAuthButton = Button({
|
||||
className: 'txt sidebar-wifinetworks-network-button',
|
||||
label: 'Cancel',
|
||||
label: getString('Cancel'),
|
||||
hpack: 'end',
|
||||
onClicked: () => {
|
||||
networkAuth.revealChild = false;
|
||||
@@ -175,7 +175,7 @@ const CurrentNetwork = () => {
|
||||
revealChild: false,
|
||||
child: Label({
|
||||
className: 'txt txt-italic txt-subtext',
|
||||
label: 'Authentication failed',
|
||||
label: getString('Authentication failed'),
|
||||
}),
|
||||
})
|
||||
const authEntry = Entry({
|
||||
@@ -200,10 +200,10 @@ const CurrentNetwork = () => {
|
||||
authFailed.revealChild = true;
|
||||
});
|
||||
},
|
||||
placeholderText: 'Enter network password',
|
||||
placeholderText: getString('Enter network password'),
|
||||
});
|
||||
const forgetButton = Button({
|
||||
label: 'Forget',
|
||||
label: getString('Forget'),
|
||||
hexpand: true,
|
||||
className: 'txt sidebar-wifinetworks-network-button',
|
||||
onClicked: () => {
|
||||
@@ -228,7 +228,7 @@ const CurrentNetwork = () => {
|
||||
setup: setupCursorHover,
|
||||
});
|
||||
const propertiesButton = Button({
|
||||
label: 'Properties',
|
||||
label: getString('Properties'),
|
||||
className: 'txt sidebar-wifinetworks-network-button',
|
||||
hexpand: true,
|
||||
onClicked: () => {
|
||||
|
||||
Reference in New Issue
Block a user