From d595ca678317062106ce2065b2e52dab29eac437 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Wed, 23 Apr 2025 09:06:45 +0800 Subject: [PATCH] feat(desktop): remove early or beta text --- .../feed-column/components/FooterInfo.tsx | 34 ------------------- .../app-layout/feed-column/desktop.tsx | 2 -- .../src/modules/settings/tabs/invitations.tsx | 3 +- locales/app/en.json | 1 - locales/app/ja.json | 1 - locales/app/ko.json | 1 - locales/app/ru.json | 1 - locales/app/zh-CN.json | 1 - locales/app/zh-HK.json | 1 - locales/app/zh-TW.json | 1 - locales/external/en.json | 4 +-- locales/settings/en.json | 6 ++-- 12 files changed, 6 insertions(+), 50 deletions(-) delete mode 100644 apps/desktop/src/renderer/src/modules/app-layout/feed-column/components/FooterInfo.tsx diff --git a/apps/desktop/src/renderer/src/modules/app-layout/feed-column/components/FooterInfo.tsx b/apps/desktop/src/renderer/src/modules/app-layout/feed-column/components/FooterInfo.tsx deleted file mode 100644 index cd0a60ecf..000000000 --- a/apps/desktop/src/renderer/src/modules/app-layout/feed-column/components/FooterInfo.tsx +++ /dev/null @@ -1,34 +0,0 @@ -import { useMobile } from "@follow/components/hooks/useMobile.js" -import { WEB_BUILD } from "@follow/shared/constants" -import { repository } from "@pkg" -import { useTranslation } from "react-i18next" - -export const FooterInfo = () => { - const { t } = useTranslation() - - const isMobile = useMobile() - return ( -
- {APP_VERSION?.[0] === "0" && ( -
- {t("beta_access")} {GIT_COMMIT_SHA ? `(${GIT_COMMIT_SHA.slice(0, 7).toUpperCase()})` : ""} -
- )} - - {WEB_BUILD && !isMobile && ( -
- -
- )} -
- ) -} diff --git a/apps/desktop/src/renderer/src/modules/app-layout/feed-column/desktop.tsx b/apps/desktop/src/renderer/src/modules/app-layout/feed-column/desktop.tsx index b70de76c6..6938177ca 100644 --- a/apps/desktop/src/renderer/src/modules/app-layout/feed-column/desktop.tsx +++ b/apps/desktop/src/renderer/src/modules/app-layout/feed-column/desktop.tsx @@ -52,7 +52,6 @@ import { UpdateNotice } from "~/modules/update-notice/UpdateNotice" import { AppNotificationContainer } from "~/modules/upgrade/lazy/index" import { AppLayoutGridContainerProvider } from "~/providers/app-grid-layout-container-provider" -import { FooterInfo } from "./components/FooterInfo" import { NewUserGuide } from "./index.shared" const errorTypes = [ @@ -112,7 +111,6 @@ export function MainDestopLayout() { > - diff --git a/apps/desktop/src/renderer/src/modules/settings/tabs/invitations.tsx b/apps/desktop/src/renderer/src/modules/settings/tabs/invitations.tsx index d14db2eaa..10e229cb2 100644 --- a/apps/desktop/src/renderer/src/modules/settings/tabs/invitations.tsx +++ b/apps/desktop/src/renderer/src/modules/settings/tabs/invitations.tsx @@ -46,8 +46,7 @@ export const SettingInvitations = () => {
- Follow is currently in early access and requires an invitation code to - use. + Folo is currently requires an invitation code to use.

open an issue on our GitHub.", + "about.feedbackInfo": "{{appName}} ({{commitSha}}) is open-source and actively developed on GitHub. If you have any feedback or suggestions, please feel free to open an issue on our GitHub.", "about.iconLibrary": "The icon library used is copyrighted by and cannot be redistributed.", "about.licenseInfo": "Copyright © {{currentYear}} {{appName}}. All rights reserved.", "about.sidebar_title": "About", @@ -273,8 +273,8 @@ "invitation.confirmModal.message": "Generating an invitation code will cost you {{INVITATION_PRICE}} Power.", "invitation.confirmModal.title": "Confirm", "invitation.created_at": "Created at", - "invitation.earlyAccess": "Folo is currently in early access and requires an invitation code to use.", - "invitation.earlyAccessMessage": "😰 Sorry, Folo is currently in early access and requires an invitation code to use.", + "invitation.earlyAccess": "Folo is currently requires an invitation code to use.", + "invitation.earlyAccessMessage": "😰 Sorry, Folo is currently requires an invitation code to use.", "invitation.generate": "Generate", "invitation.generateButton": "Generate new code", "invitation.generateCost": "You can spend {{INVITATION_PRICE}} Power to generate an invitation code for your friends.",