Skip to content

Commit 8f1fd35

Browse files
committed
update settings strings
1 parent 4825dc4 commit 8f1fd35

File tree

4 files changed

+16
-15
lines changed

4 files changed

+16
-15
lines changed

src/renderer/src/components/settings/sections/about/section.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export function AboutSettings() {
99
return (
1010
<div className="space-y-6">
1111
<div>
12-
<h2 className="text-2xl font-semibold text-gray-700 dark:text-gray-200">{tSettings("About")}</h2>
12+
<h2 className="text-2xl font-semibold text-gray-700 dark:text-gray-200">{tSettings("sections.about")}</h2>
1313
<p className="text-muted-foreground">{tSettings("Information about your browser")}</p>
1414
</div>
1515

src/renderer/src/components/settings/sections/general/section.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export function GeneralSettings() {
77
return (
88
<div className="space-y-6">
99
<div>
10-
<h2 className="text-2xl font-semibold text-gray-700 dark:text-gray-200">{tSettings("General")}</h2>
10+
<h2 className="text-2xl font-semibold text-gray-700 dark:text-gray-200">{tSettings("sections.general")}</h2>
1111
<p className="text-muted-foreground">{tSettings("Manage your browser's general settings")}</p>
1212
</div>
1313

src/renderer/src/components/settings/settings-layout.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ export function SettingsLayout() {
2222
const [selectedSpaceId, setSelectedSpaceId] = useState<string | null>(null);
2323

2424
const sections = [
25-
{ id: "general", label: tSettings("General"), icon: <Globe className="h-4 w-4 mr-2" /> },
26-
{ id: "icons", label: tSettings("Icon"), icon: <DockIcon className="h-4 w-4 mr-2" /> },
27-
{ id: "profiles", label: tSettings("Profiles"), icon: <UsersIcon className="h-4 w-4 mr-2" /> },
28-
{ id: "spaces", label: tSettings("Spaces"), icon: <OrbitIcon className="h-4 w-4 mr-2" /> },
29-
{ id: "external-apps", label: tSettings("External Apps"), icon: <BlocksIcon className="h-4 w-4 mr-2" /> },
30-
{ id: "shortcuts", label: tSettings("Shortcuts"), icon: <KeyboardIcon className="h-4 w-4 mr-2" /> },
31-
{ id: "about", label: tSettings("About"), icon: <Info className="h-4 w-4 mr-2" /> }
25+
{ id: "general", label: tSettings("sections.general"), icon: <Globe className="h-4 w-4 mr-2" /> },
26+
{ id: "icons", label: tSettings("sections.icon"), icon: <DockIcon className="h-4 w-4 mr-2" /> },
27+
{ id: "profiles", label: tSettings("sections.profiles"), icon: <UsersIcon className="h-4 w-4 mr-2" /> },
28+
{ id: "spaces", label: tSettings("sections.spaces"), icon: <OrbitIcon className="h-4 w-4 mr-2" /> },
29+
{ id: "external-apps", label: tSettings("sections.external-apps"), icon: <BlocksIcon className="h-4 w-4 mr-2" /> },
30+
{ id: "shortcuts", label: tSettings("sections.shortcuts"), icon: <KeyboardIcon className="h-4 w-4 mr-2" /> },
31+
{ id: "about", label: tSettings("sections.about"), icon: <Info className="h-4 w-4 mr-2" /> }
3232
];
3333

3434
const navigateToSpaces = (profileId: string) => {

src/shared/locales/en-US/settings.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"Flow Settings": "Flow Settings",
3-
"General": "General",
4-
"Icon": "Icon",
5-
"Profiles": "Profiles",
6-
"Spaces": "Spaces",
7-
"External Apps": "External Apps",
8-
"About": "About",
3+
"sections.general": "General",
4+
"sections.icon": "Icon",
5+
"sections.profiles": "Profiles",
6+
"sections.spaces": "Spaces",
7+
"sections.external-apps": "External Apps",
8+
"sections.shortcuts": "Shortcuts",
9+
"sections.about": "About",
910
"Manage your browser's general settings": "Manage your browser's general settings",
1011
"Browser Icon": "Browser Icon",
1112
"protocol": "protocol",

0 commit comments

Comments
 (0)