chore(settings): get rid of grammars and typos (#168)

* chore(settings): get rid of grammars and typos

* chore: licensing

* chore: typo

* chore: automatically mark...

* chore: unread count
This commit is contained in:
Henry Wang
2024-07-31 11:24:21 +08:00
committed by GitHub
parent 4f13d41aca
commit d8a0f0e799
7 changed files with 32 additions and 33 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
const OpenInBrowser = (_t?: any) => window.electron ? "Open in Browser" : "Open in Tab"
const OpenInBrowser = (_t?: any) =>
window.electron ? "Open in Browser" : "Open in New Tab"
export const COPY_MAP = {
OpenInBrowser,
+1 -1
View File
@@ -19,7 +19,7 @@ export const shortcuts = {
key: "Meta+T",
},
switchToView: {
name: "Switch View",
name: "Switch to View",
key: "1, 2, 3, 4, 5, 6",
},
switchBetweenViews: {
+1 -1
View File
@@ -344,7 +344,7 @@ const SearchResultCount: FC<{
</small>
</TooltipTrigger>
<TooltipContent>
This search run on local database, the result may not be up-to-date.
This search covers locally available data. Try a Refetch to include the latest data.
</TooltipContent>
</Tooltip>
)
@@ -328,8 +328,8 @@ export function ActionCard({
onChange(data)
}}
>
<Radio label="all" value="all" />
<Radio label="Custom filter" value="filter" />
<Radio label="All" value="all" />
<Radio label="Custom filters" value="filter" />
</RadioGroup>
</div>
@@ -422,11 +422,11 @@ export function ActionCard({
</div>
<div className="space-y-4">
<p className="font-medium text-zinc-500">
Then the settings are…
Then do…
</p>
<div className="w-full space-y-4">
<SettingCollapsible
title="Translate to"
title="Translate into"
open={!!data.result.translation}
onOpenChange={(open) => {
if (open) {
@@ -456,7 +456,7 @@ export function ActionCard({
</SettingCollapsible>
<Divider />
<SettingCollapsible
title="Enable AI summary"
title="Generate summary using AI"
open={data.result.summary !== undefined}
onOpenChange={(open) => {
if (open) {
@@ -42,14 +42,13 @@ export const SettingAbout = () => (
<p className="mt-6 text-balance text-sm">
{APP_NAME}
{" "}
is a free and open-source project. It is licensed under the
is and will always be a free and open-source project. It is licensed under
{" "}
{license}
{" "}
License.
.
</p>
<p className="mt-3 text-balance text-sm">
The icon library used by Follow is mgc which is copyrighted by
The icon library used is copyrighted by
{" "}
<a
className="follow-link--underline inline-flex items-center"
@@ -69,8 +68,7 @@ export const SettingAbout = () => (
{" "}
(
{GIT_COMMIT_SHA.slice(0, 7).toUpperCase()}
) currently early
in development. If you have any feedback or suggestions, please feel
) is in the early stages of development. If you have any feedback or suggestions, please feel
free to
{" "}
<a
@@ -82,7 +80,7 @@ export const SettingAbout = () => (
<i className="i-mgc-external-link-cute-re" />
</a>
{" "}
on the GitHub.
on our GitHub.
</p>
<Divider className="scale-x-50" />
@@ -64,17 +64,17 @@ export const SettingAppearance = () => {
TextSize,
{
type: "title",
value: "Display counts",
value: "Unread count",
},
{
disabled:
!window.electron || !["macOS", "Linux"].includes(getOS()),
label: "Show Dock badge",
label: "Show as Dock badge",
key: "showDockBadge",
onChange: (value) => setUISetting("showDockBadge", value),
},
{
label: "Show sidebar unread count",
label: "Show in sidebar",
key: "sidebarShowUnreadCount",
onChange: (value) =>
setUISetting("sidebarShowUnreadCount", value),
@@ -109,7 +109,7 @@ export const SettingAppearance = () => {
label: "Reduce motion",
key: "reduceMotion",
onChange: (value) => setUISetting("reduceMotion", value),
description: `Enabling this option will reduce the motion of the element to improve performance and device life, and if it is disabled, it will adapt to the system settings.`,
description: `Reducing the motion of elements to improve performance and reduce energy consumption.`,
},
]}
/>
@@ -49,49 +49,49 @@ export const SettingGeneral = () => {
},
{
key: "unreadOnly",
label: "Show unread content initially",
label: "Show unread content on launch",
description:
"Only show unread content initially when you open the app",
"Display only unread content when the app is launched.",
onChange: (value) => setGeneralSetting("unreadOnly", value),
},
{
key: "scrollMarkUnread",
label: "Mark as read when scrolling",
description:
"Automatic marking of feed entries as read when the item is scrolled up out of the viewport.",
"Automatically mark entries as read when scrolled out of the view.",
onChange: (value) => setGeneralSetting("scrollMarkUnread", value),
},
{
key: "hoverMarkUnread",
label: "Mark as read when hovering",
description:
"Automatic marking of feed entries as read when the item is hovered.",
"Automatically mark entries as read when hovered.",
onChange: (value) => setGeneralSetting("hoverMarkUnread", value),
},
{
key: "renderMarkUnread",
label: "Mark as read when in the viewport",
label: "Mark as read when in the view",
description:
"Automatically mark feed entries with only one level of content(e.g. Social Media, Picture, Video views) as read when the item is in the viewport.",
"Automatically mark single-level entries (e.g., social media posts, pictures, video views) as read when they enter the view.",
onChange: (value) => setGeneralSetting("renderMarkUnread", value),
},
{
type: "title",
value: "Data control",
value: "Privacy & Data",
},
{
key: "dataPersist",
label: "Persist data to offline usage",
label: "Persist data for offline usage",
description:
"Collects data to local data for offline access and provides local search feature.",
"Persist data locally to enable offline access and local search.",
onChange: (value) => setGeneralSetting("dataPersist", value),
},
{
key: "sendAnonymousData",
label: "Send anonymous data",
description:
"By selecting to send telemetry data, you can help us improve the overall user experience of Follow",
"By opting to send anonymized telemetry data, you contribute to improving the overall user experience of Follow.",
onChange: (value) => {
setGeneralSetting("sendAnonymousData", value)
if (value) {
@@ -109,7 +109,7 @@ export const SettingGeneral = () => {
window.location.reload()
},
description:
"If you are experiencing data rendering anomalies, try rebuilding the database, this action will reload the page.",
"If you are experiencing rendering issues, rebuilding the database may solve them.",
buttonText: "Rebuild",
},
]}
@@ -145,7 +145,7 @@ export const SettingGeneral = () => {
label="Mark as read when scrolling"
/>
<SettingDescription>
Automatic marking of feed entries as read when the item is scrolled
Automatically mark entries as read when the item is scrolled
up out of the viewport.
</SettingDescription>
</SettingItemGroup>
@@ -159,7 +159,7 @@ export const SettingGeneral = () => {
label="Mark as read when hovering"
/>
<SettingDescription>
Automatic marking of feed entries as read when the item is hovered.
Automatically mark entries as read when the item is hovered.
</SettingDescription>
</SettingItemGroup>
<SettingItemGroup>
@@ -171,7 +171,7 @@ export const SettingGeneral = () => {
label="Mark as read when in the viewport"
/>
<SettingDescription>
Automatically mark feed entries with only one level of content(e.g.
Automatically mark entries with only one level of content(e.g.
Social Media, Picture, Video views) as read when the item is in the
viewport.
</SettingDescription>