Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Sep 14, 2024
1 parent cabe210 commit deb96c5
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion locales/app/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
"feed_form.category": "Category",
"feed_form.category_description": "By default, your follows will be grouped by website.",
"feed_form.error_fetching_feed": "Error in fetching feed.",
"feed_form.fallback": "Fallback",
"feed_form.feed_not_found": "Feed not found.",
"feed_form.feedback": "Feedback",
"feed_form.follow": "Follow",
"feed_form.followed": "🎉 Followed.",
"feed_form.private_follow": "Private Follow",
Expand Down
2 changes: 1 addition & 1 deletion locales/app/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
"feed_form.category": "分类",
"feed_form.category_description": "默认情况下,您的关注将按网站分组。",
"feed_form.error_fetching_feed": "获取 Feed 时出错。",
"feed_form.fallback": "备选方案",
"feed_form.feed_not_found": "未找到 Feed。",
"feed_form.feedback": "反馈",
"feed_form.follow": "关注",
"feed_form.followed": "🎉 已关注。",
"feed_form.private_follow": "私密关注",
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/src/components/common/ErrorElement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@ export function ErrorElement() {
</Button>
</div>

<FallbackIssue message={message} stack={stack} />
<FeedbackIssue message={message} stack={stack} />
<div className="grow" />

<PoweredByFooter />
</div>
)
}

export const FallbackIssue = ({
export const FeedbackIssue = ({
message,
stack,
}: {
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/src/components/errors/ModalError.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { attachOpenInEditor } from "@renderer/lib/dev"
import type { FC } from "react"

import type { AppErrorFallbackProps } from "../common/AppErrorBoundary"
import { FallbackIssue } from "../common/ErrorElement"
import { FeedbackIssue } from "../common/ErrorElement"
import { m } from "../common/Motion"
import { Button } from "../ui/button"
import { useCurrentModal } from "../ui/modal"
Expand Down Expand Up @@ -44,7 +44,7 @@ export const ModalErrorFallback: FC<AppErrorFallbackProps> = (props) => {
</Button>
</div>

<FallbackIssue message={message!} stack={stack} />
<FeedbackIssue message={message!} stack={stack} />
</div>
</m.div>
)
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/src/components/errors/PageError.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { attachOpenInEditor } from "@renderer/lib/dev"
import type { FC } from "react"

import type { AppErrorFallbackProps } from "../common/AppErrorBoundary"
import { FallbackIssue } from "../common/ErrorElement"
import { FeedbackIssue } from "../common/ErrorElement"
import { Button } from "../ui/button"
import { parseError, useResetErrorWhenRouteChange } from "./helper"

Expand Down Expand Up @@ -37,7 +37,7 @@ export const PageErrorFallback: FC<AppErrorFallbackProps> = (props) => {
</Button>
</div>

<FallbackIssue message={message!} stack={stack} />
<FeedbackIssue message={message!} stack={stack} />
</div>
</div>
)
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/modules/discover/feed-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export const FeedForm: Component<{
)
}}
>
{t("feed_form.fallback")}
{t("feed_form.feedback")}
</Button>
</div>
</div>
Expand Down

0 comments on commit deb96c5

Please sign in to comment.