diff --git a/apps/desktop/src/renderer/src/pages/(main)/(layer)/(subview)/action/index.tsx b/apps/desktop/src/renderer/src/pages/(main)/(layer)/(subview)/action/index.tsx index 91d57c45f..274ac7a64 100644 --- a/apps/desktop/src/renderer/src/pages/(main)/(layer)/(subview)/action/index.tsx +++ b/apps/desktop/src/renderer/src/pages/(main)/(layer)/(subview)/action/index.tsx @@ -5,7 +5,7 @@ import { ActionSetting } from "~/modules/action/action-setting" import { useSubViewTitle } from "~/modules/app-layout/subview/hooks" export function Component() { - const { t } = useTranslation() + const { t } = useTranslation("common") useSubViewTitle("words.actions") diff --git a/apps/mobile/src/icons/book_6_cute_re.tsx b/apps/mobile/src/icons/book_6_cute_re.tsx new file mode 100644 index 000000000..9d5a68658 --- /dev/null +++ b/apps/mobile/src/icons/book_6_cute_re.tsx @@ -0,0 +1,24 @@ +import * as React from "react" +import Svg, { Path } from "react-native-svg" + +interface Book6CuteReIconProps { + width?: number + height?: number + color?: string +} + +export const Book6CuteReIcon = ({ + width = 24, + height = 24, + color = "#10161F", +}: Book6CuteReIconProps) => { + return ( + + + + ) +} diff --git a/apps/mobile/src/modules/settings/routes/About.tsx b/apps/mobile/src/modules/settings/routes/About.tsx index 07e821c16..2be8f3354 100644 --- a/apps/mobile/src/modules/settings/routes/About.tsx +++ b/apps/mobile/src/modules/settings/routes/About.tsx @@ -21,9 +21,9 @@ import { SocialXCuteReIcon } from "@/src/icons/social_x_cute_re" const links = [ { - title: "Github", + title: "GitHub", icon: GithubCuteFiIcon, - url: "https://github.com/RSSNext/follow", + url: "https://github.com/RSSNext/Folo", iconBackgroundColor: "#000000", iconColor: "#FFFFFF", }, diff --git a/apps/mobile/src/modules/settings/routes/Actions.tsx b/apps/mobile/src/modules/settings/routes/Actions.tsx index ddd87df62..02702f3c8 100644 --- a/apps/mobile/src/modules/settings/routes/Actions.tsx +++ b/apps/mobile/src/modules/settings/routes/Actions.tsx @@ -5,6 +5,7 @@ import { Text, View } from "react-native" import Animated, { LinearTransition } from "react-native-reanimated" import { useColors } from "react-native-uikit-colors" +import { Link } from "@/src/components/common/Link" import { SwipeableGroupProvider, SwipeableItem } from "@/src/components/common/SwipeableItem" import { HeaderSubmitTextButton } from "@/src/components/layouts/header/HeaderElements" import { @@ -19,6 +20,7 @@ import { import { PlatformActivityIndicator } from "@/src/components/ui/loading/PlatformActivityIndicator" import { ItemPressable } from "@/src/components/ui/pressable/ItemPressable" import { Switch } from "@/src/components/ui/switch/Switch" +import { Book6CuteReIcon } from "@/src/icons/book_6_cute_re" import { Magic2CuteFiIcon } from "@/src/icons/magic_2_cute_fi" import { useNavigation } from "@/src/lib/navigation/hooks" import { @@ -29,11 +31,13 @@ import { } from "@/src/store/action/hooks" import { actionActions } from "@/src/store/action/store" import type { ActionRule } from "@/src/store/action/types" +import { accentColor } from "@/src/theme/colors" import { EditRuleScreen } from "./EditRule" export const ActionsScreen = () => { const { t } = useTranslation("settings") + const { t: tCommon } = useTranslation("common") const { isLoading } = usePrefetchActions() const rules = useActionRules() const isDirty = useIsActionDataDirty() @@ -62,7 +66,17 @@ export const ActionsScreen = () => { description={t("actions.info")} icon={} iconBackgroundColor="#9333EA" - /> + > + + + + {tCommon("words.documentation")} + + + diff --git a/locales/app/en.json b/locales/app/en.json index 9e627d558..870846870 100644 --- a/locales/app/en.json +++ b/locales/app/en.json @@ -395,7 +395,6 @@ "words.browser": "Browser", "words.confirm": "Confirm", "words.discover": "Discover", - "words.documentation": "Documentation", "words.email": "Email", "words.feeds": "Feeds", "words.import": "Import", diff --git a/locales/common/en.json b/locales/common/en.json index e4ba87c6a..fa2fed7e1 100644 --- a/locales/common/en.json +++ b/locales/common/en.json @@ -49,6 +49,7 @@ "words.create": "Create", "words.default": "Default", "words.delete": "Delete", + "words.documentation": "Documentation", "words.download": "Download", "words.edit": "Edit", "words.entry": "Entry",