diff --git a/pkg/lib/cockpit-components-dynamic-list.jsx b/pkg/lib/cockpit-components-dynamic-list.jsx index d49a372bba4..4cad793d666 100644 --- a/pkg/lib/cockpit-components-dynamic-list.jsx +++ b/pkg/lib/cockpit-components-dynamic-list.jsx @@ -25,7 +25,7 @@ import './cockpit-components-dynamic-list.scss'; * [ * { name: "Name must not be empty }, // first row * { }, // second row - * { name: "Name cannot containt number", email: "Email must contain '@'" } // third row + * { name: "Name cannot contain a number", email: "Email must contain '@'" } // third row * ] */ export class DynamicListForm extends React.Component { diff --git a/pkg/lib/cockpit-connect-ssh.tsx b/pkg/lib/cockpit-connect-ssh.tsx index afe4beb620b..95e1763d1d2 100644 --- a/pkg/lib/cockpit-connect-ssh.tsx +++ b/pkg/lib/cockpit-connect-ssh.tsx @@ -549,7 +549,7 @@ const error_dialogs = { * @host: Same `[user@]host[:port]` format as the channel option; must be * *exactly* the same as for opening the channel afterwards * @user: Same as the channel option; overrides `user@` portion of @host - * Returns: Nothing on success. Afterwards the SSH conection is established and + * Returns: Nothing on success. Afterwards the SSH connection is established and * you can use the `host` option in channels. Throws a "cancel" * exception if the user cancelled the dialog. Most SSH errors are * handled in the dialogs, but you still have to expect and check for diff --git a/pkg/lib/dialogs.tsx b/pkg/lib/dialogs.tsx index e7d561bf3f5..f9c8dbf8b44 100644 --- a/pkg/lib/dialogs.tsx +++ b/pkg/lib/dialogs.tsx @@ -98,7 +98,7 @@ * * - Dialogs.run(component, {... props}) * - * Shows a dialog and asyncronously waits for it to close. This creates and + * Shows a dialog and asynchronously waits for it to close. This creates and * shows a MyDialog with the given properties, plus a special "dialogResult" * property which has .resolve() and .reject() methods on it. Calling either * of those will resolve the promise returned by Dialogs.run() accordingly, diff --git a/pkg/metrics/metrics.scss b/pkg/metrics/metrics.scss index ea4868194d3..cb1d83f8ae0 100644 --- a/pkg/metrics/metrics.scss +++ b/pkg/metrics/metrics.scss @@ -30,7 +30,7 @@ html { --resource-icon-color-middle: var(--pf-v5-global--palette--orange-500); --resource-icon-color-full: var(--pf-v5-global--palette--orange-200); - // Adjust alert color to seperate itself from the history section background + // Adjust alert color to separate itself from the history section background .pf-v5-c-alert { --pf-v5-c-alert--m-inline--m-info--BackgroundColor: var(--pf-v5-global--BackgroundColor--dark-400); } diff --git a/pkg/networkmanager/interfaces.js b/pkg/networkmanager/interfaces.js index 638bebe47a8..8e9b66d03be 100644 --- a/pkg/networkmanager/interfaces.js +++ b/pkg/networkmanager/interfaces.js @@ -590,7 +590,7 @@ export function NetworkManagerModel() { listen_port: get("wireguard", "listen-port", 0), peers: get("wireguard", "peers", []).map(peer => ({ publicKey: peer['public-key'].v, - endpoint: peer.endpoint?.v, // enpoint of a peer is optional + endpoint: peer.endpoint?.v, // endpoint of a peer is optional allowedIps: peer['allowed-ips']?.v })), }; diff --git a/pkg/networkmanager/networking.scss b/pkg/networkmanager/networking.scss index 4d95817b9e3..ba8e7aafed4 100644 --- a/pkg/networkmanager/networking.scss +++ b/pkg/networkmanager/networking.scss @@ -115,8 +115,8 @@ th { margin-inline-start: var(--pf-v5-global--spacer--sm); } -// The modal body, by default, overflows to accomodate extra content. This is -// normall good. However, it also can trim things that flow outside, such as +// The modal body, by default, overflows to accommodate extra content. This is +// normally good. However, it also can trim things that flow outside, such as // the focus ring of the MTU custom input. Since we know the modal won't have // much vertical content, we can disable the overflow to let the focus ring be // fully visible. (Otherwise the bottommost pixels are removed.) diff --git a/pkg/shell/machines/machines.js b/pkg/shell/machines/machines.js index ec61c6910d9..ad4abba2227 100644 --- a/pkg/shell/machines/machines.js +++ b/pkg/shell/machines/machines.js @@ -606,7 +606,7 @@ function Loader(machines, session_only) { interface: "org.freedesktop.DBus.Properties", member: "PropertiesChanged" }, - function (path, iface, mamber, args) { + function (path, iface, member, args) { if (args[0] == "cockpit.Packages") { if (args[1].Manifests) { const manifests = JSON.parse(args[1].Manifests.v); diff --git a/pkg/shell/nav.jsx b/pkg/shell/nav.jsx index 20307930299..5e170602a89 100644 --- a/pkg/shell/nav.jsx +++ b/pkg/shell/nav.jsx @@ -18,7 +18,7 @@ export const SidebarToggle = () => { /* This is a HACK for catching lost clicks on the pages which live in iframes so as to close dropdown menus on the shell. * Note: Clicks on an