Skip to content

Commit

Permalink
Merge pull request #482 from yast/fix-settings-headers
Browse files Browse the repository at this point in the history
Remove the redundant ' Settings' suffix
  • Loading branch information
imobachgs authored Mar 20, 2023
2 parents ad36760 + 791e7ca commit f728607
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions web/package/cockpit-d-installer.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 20 13:40:08 UTC 2023 - Imobach Gonzalez Sosa <[email protected]>

- Remove the redundant "Settings" suffix (gh#yast/d-installer#481).

-------------------------------------------------------------------
Mon Mar 20 11:51:56 UTC 2023 - Imobach Gonzalez Sosa <[email protected]>

Expand Down
4 changes: 2 additions & 2 deletions web/src/components/core/Popup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ const AncillaryAction = ({ children, ...props }) => (
*
* @example <caption>Usage example</caption>
* <Popup
* title="User Settings"
* title="Users"
* isOpen={showUserSettings}
* >
* <UserSettingsForm />
Expand All @@ -172,7 +172,7 @@ const AncillaryAction = ({ children, ...props }) => (
*
* @example <caption>Usage example using shortcuts actions</caption>
* <Popup
* title="User Settings"
* title="Users"
* isOpen={showUserSettings}
* >
* <UserSettingsForm />
Expand Down
2 changes: 1 addition & 1 deletion web/src/components/l10n/L10nPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default function LanguageSelector() {
};

return (
<Page title="Localization settings" icon="translate" actionCallback={accept}>
<Page title="Localization" icon="translate" actionCallback={accept}>
<Form id="language-selector">
<LanguageField selected={language} />
</Form>
Expand Down
2 changes: 1 addition & 1 deletion web/src/components/network/NetworkPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export default function NetworkPage() {
};

return (
<Page title="Network Settings" icon="settings_ethernet" actionLabel="Back" actionVariant="secondary">
<Page title="Network" icon="settings_ethernet" actionLabel="Back" actionVariant="secondary">
<Section title="Wired networks" icon="lan">
{ ready ? <WiredConnections /> : <Skeleton /> }
</Section>
Expand Down
2 changes: 1 addition & 1 deletion web/src/components/storage/ProposalPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export default function ProposalPage() {
};

return (
<Page title="Storage Settings" icon="hard_drive" actionLabel="Back" actionVariant="secondary">
<Page title="Storage" icon="hard_drive" actionLabel="Back" actionVariant="secondary">
<PageContent />
<PageOptions title="Storage">
<Link to="/storage/iscsi">
Expand Down
2 changes: 1 addition & 1 deletion web/src/components/users/UsersPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { FirstUser, RootAuthMethods } from "~/components/users";

export default function UsersPage() {
return (
<Page title="User Settings" icon="manage_accounts" actionLabel="Back" actionVariant="secondary">
<Page title="Users" icon="manage_accounts" actionLabel="Back" actionVariant="secondary">
<Section title="User" icon="person">
<FirstUser />
</Section>
Expand Down

0 comments on commit f728607

Please sign in to comment.