mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-19 02:56:23 +08:00
chore(i18n): update i18n (#15191)
#### PR Dependency Tree * **PR #15191** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Updated sign-in, sign-up, and email content to show the correct server name for cloud and self-hosted setups. * Added clearer workspace status messages for syncing, local workspaces, and server-connected workspaces. * Introduced localized text updates for more languages, including new locale coverage. * **Bug Fixes** * Replaced outdated “Cloud” wording throughout the app with more accurate “Sync” and self-hosted terminology. * Improved account deletion, password reset, sharing, and storage prompts for clearer user guidance. * Updated workspace status labels and tooltips to better reflect the current server connection. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -11,12 +11,13 @@ import {
|
||||
export type SignInProps = {
|
||||
url: string;
|
||||
otp: string;
|
||||
serverName?: string;
|
||||
};
|
||||
|
||||
export default function SignIn(props: SignInProps) {
|
||||
return (
|
||||
<Template>
|
||||
<Title>Sign in to AFFiNE Cloud</Title>
|
||||
<Title>{`Sign in to ${props.serverName ?? 'AFFiNE'}`}</Title>
|
||||
<Content>
|
||||
<P>You are signing in to AFFiNE. Here is your code:</P>
|
||||
<OnelineCodeBlock>{props.otp}</OnelineCodeBlock>
|
||||
@@ -38,4 +39,5 @@ export default function SignIn(props: SignInProps) {
|
||||
SignIn.PreviewProps = {
|
||||
url: 'https://app.affine.pro/magic-link?token=123456&email=test@test.com',
|
||||
otp: '123456',
|
||||
serverName: 'AFFiNE Cloud',
|
||||
};
|
||||
|
||||
@@ -11,12 +11,13 @@ import {
|
||||
export type SignUpProps = {
|
||||
url: string;
|
||||
otp: string;
|
||||
serverName?: string;
|
||||
};
|
||||
|
||||
export default function SignUp(props: SignUpProps) {
|
||||
return (
|
||||
<Template>
|
||||
<Title>Sign up to AFFiNE Cloud</Title>
|
||||
<Title>{`Sign up to ${props.serverName ?? 'AFFiNE'}`}</Title>
|
||||
<Content>
|
||||
<P>You are signing up to AFFiNE. Here is your code:</P>
|
||||
<OnelineCodeBlock>{props.otp}</OnelineCodeBlock>
|
||||
@@ -38,4 +39,5 @@ export default function SignUp(props: SignUpProps) {
|
||||
SignUp.PreviewProps = {
|
||||
url: 'https://app.affine.pro/magic-link?token=123456&email=test@test.com',
|
||||
otp: '123456',
|
||||
serverName: 'AFFiNE Cloud',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user