feat(desktop): remove early or beta text

This commit is contained in:
DIYgod
2025-04-23 09:06:45 +08:00
parent 7ef4a7f4b9
commit d595ca6783
12 changed files with 6 additions and 50 deletions
@@ -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 (
<div className="relative">
{APP_VERSION?.[0] === "0" && (
<div className="pointer-events-none w-full py-3 text-center text-xs opacity-20">
{t("beta_access")} {GIT_COMMIT_SHA ? `(${GIT_COMMIT_SHA.slice(0, 7).toUpperCase()})` : ""}
</div>
)}
{WEB_BUILD && !isMobile && (
<div className="center absolute inset-y-0 right-2">
<button
type="button"
aria-label="Download Desktop App"
onClick={() => {
window.open(`${repository.url}/releases`)
}}
className="center bg-background rounded-full border p-1.5 shadow-sm"
>
<i className="i-mgc-download-2-cute-re size-3.5 opacity-80" />
</button>
</div>
)}
</div>
)
}
@@ -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() {
>
<FeedColumn>
<CornerPlayer />
<FooterInfo />
<UpdateNotice />
@@ -46,8 +46,7 @@ export const SettingInvitations = () => {
<section className="mt-4">
<div className="mb-4 space-y-2 text-sm">
<Trans ns="settings" i18nKey="invitation.earlyAccess">
Follow is currently in <strong>early access</strong> and requires an invitation code to
use.
Folo is currently requires an invitation code to use.
</Trans>
<p>
<Trans
-1
View File
@@ -30,7 +30,6 @@
"ai_daily.tooltip.update_schedule": "Update daily at 8 AM and 8 PM.",
"app.copy_logo_svg": "Copy Logo SVG",
"app.toggle_sidebar": "Toggle Sidebar",
"beta_access": "Beta Access",
"boost.boost_feed": "Boost Feed",
"boost.boost_feed_description": "Enhance feed to unlock additional benefits, and those who subscribe will be grateful for the benefits!",
"boost.boost_success": "🎉 Boost successful!",
-1
View File
@@ -30,7 +30,6 @@
"ai_daily.tooltip.update_schedule": "毎日午前 8 時と午後 8 時に更新されます。",
"app.copy_logo_svg": "ロゴ SVG をコピー",
"app.toggle_sidebar": "サイドバーを切り替え",
"beta_access": "ベータ アクセス",
"boost.boost_feed": "フィードをブースト",
"boost.boost_feed_description": "フィードを強化することで、さらなる特典を得ることができます!",
"boost.boost_success": "🎉 ブースト成功!",
-1
View File
@@ -30,7 +30,6 @@
"ai_daily.tooltip.update_schedule": "매일 오전 8시 및 오후 8시에 업데이트됩니다.",
"app.copy_logo_svg": "로고 SVG 복사",
"app.toggle_sidebar": "사이드바 토글",
"beta_access": "베타 액세스",
"boost.boost_feed": "피드 부스트",
"boost.boost_feed_description": "피드를 강화하여 추가 혜택을 잠금 해제하고 구독하는 사람들은 혜택에 감사할 것입니다!",
"boost.boost_success": "🎉 부스트 성공!",
-1
View File
@@ -30,7 +30,6 @@
"ai_daily.tooltip.update_schedule": "Обновление ежедневно в 8:00 и 20:00.",
"app.copy_logo_svg": "Скопировать логотип SVG",
"app.toggle_sidebar": "Переключить боковую панель",
"beta_access": "Бета доступ",
"boost.boost_feed": "Усилить канала",
"boost.boost_feed_description": "Усилите канал, чтобы разблокировать дополнительные преимущества, и те, кто подписался, будут благодарны за это!",
"boost.boost_success": "🎉 Усиление успешно!",
-1
View File
@@ -30,7 +30,6 @@
"ai_daily.tooltip.update_schedule": "每天 8:00 和 20:00 定时更新。",
"app.copy_logo_svg": "复制 Logo SVG",
"app.toggle_sidebar": "切换侧边栏",
"beta_access": "Beta 版本",
"boost.boost_feed": "助力",
"boost.boost_feed_description": "增强订阅源以解锁更多福利,订阅者将会感激这些福利!",
"boost.boost_success": "🎉 助力成功!",
-1
View File
@@ -30,7 +30,6 @@
"ai_daily.tooltip.update_schedule": "每天上午 8 點和下午 8 點更新。",
"app.copy_logo_svg": "複製 Logo SVG",
"app.toggle_sidebar": "切換側邊欄",
"beta_access": "Beta 版本",
"boost.boost_feed": "加成",
"boost.boost_feed_description": "為動態加成以解鎖額外優惠,訂閱的使用者將會感激您帶來的好處!",
"boost.boost_success": "🎉 加成成功!",
-1
View File
@@ -30,7 +30,6 @@
"ai_daily.tooltip.update_schedule": "每天早上 8 點和晚上 8 點更新。",
"app.copy_logo_svg": "複製 Logo SVG",
"app.toggle_sidebar": "切換側邊欄",
"beta_access": "Beta 版本",
"boost.boost_feed": "加成",
"boost.boost_feed_description": "加成 RSS 摘要以解鎖更多獎勵,訂閱者將會感激這些獎勵!",
"boost.boost_success": "🎉 加成成功!",
+2 -2
View File
@@ -28,8 +28,8 @@
"invitation.codeOptions.1": "Looking for any alpha test user to invite you.",
"invitation.codeOptions.2": "Join our Discord server for occasional giveaways.",
"invitation.codeOptions.3": "Follow our X account for occasional giveaways.",
"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.generateButton": "Generate new code",
"invitation.generateCost": "You can spend {{INVITATION_PRICE}} Power to generate an invitation code for your friends.",
"invitation.getCodeMessage": "You can get an invitation code in the following ways:",
+3 -3
View File
@@ -1,6 +1,6 @@
{
"about.changelog": "Changelog",
"about.feedbackInfo": "{{appName}} ({{commitSha}}) is in the early stages of development. If you have any feedback or suggestions, please feel free to <OpenIssueLink>open an issue</OpenIssueLink> <ExternalLinkIcon /> 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 <OpenIssueLink>open an issue</OpenIssueLink> <ExternalLinkIcon /> on our GitHub.",
"about.iconLibrary": "The icon library used is copyrighted by <IconLibraryLink /> <ExternalLinkIcon /> 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}} <PowerIcon /> Power.",
"invitation.confirmModal.title": "Confirm",
"invitation.created_at": "Created at",
"invitation.earlyAccess": "Folo is currently in <strong>early access</strong> 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}} <PowerIcon /> Power to generate an invitation code for your friends.",