Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

🌐 i18n: add copy for invalid shared page format (#19628)

Innei1edd08578935
diff --git a/locales/en-US/pageShare.json b/locales/en-US/pageShare.json
index d9d27b30bb5..07c157b3409 100644
--- a/locales/en-US/pageShare.json
+++ b/locales/en-US/pageShare.json
@@ -2,6 +2,9 @@
"banner.copy": "Like this page? <strong>Create your own with {{appName}}</strong> — free workspace for AI-native docs.",
"banner.signIn": "Sign in",
"banner.signUp": "Sign up free",
+ "error.invalidFormat.desc": "You can still read it. Layout may differ from the original.",
+ "error.invalidFormat.ownerHint": "Re-save it in the editor to restore the original layout.",
+ "error.invalidFormat.title": "This page couldn't be shown in its original format",
"error.notFound.desc": "This page no longer exists or has been removed.",
"error.notFound.title": "Page not found",
"error.private.action": "Sign in",
diff --git a/locales/zh-CN/pageShare.json b/locales/zh-CN/pageShare.json
index ab5888f5620..78fbdc87f5e 100644
--- a/locales/zh-CN/pageShare.json
+++ b/locales/zh-CN/pageShare.json
@@ -2,6 +2,9 @@
"banner.copy": "喜欢这个页面?<strong>来 {{appName}} 创建你自己的</strong>——AI 原生工作区,免费使用。",
"banner.signIn": "登录",
"banner.signUp": "免费注册",
+ "error.invalidFormat.desc": "这篇分享仍可阅读,排版可能和原文不完全一致。",
+ "error.invalidFormat.ownerHint": "在编辑器里重新保存即可修复。",
+ "error.invalidFormat.title": "无法按原文格式显示",
"error.notFound.desc": "该页面不存在或已被删除。",
"error.notFound.title": "页面未找到",
"error.private.action": "登录",
diff --git a/packages/locales/src/default/pageShare.ts b/packages/locales/src/default/pageShare.ts
index 9f00a752667..23e83443451 100644
--- a/packages/locales/src/default/pageShare.ts
+++ b/packages/locales/src/default/pageShare.ts
@@ -4,6 +4,9 @@ export default {
'Like this page? <strong>Create your own with {{appName}}</strong> — free workspace for AI-native docs.',
'banner.signIn': 'Sign in',
'banner.signUp': 'Sign up free',
+ 'error.invalidFormat.desc': 'You can still read it. Layout may differ from the original.',
+ 'error.invalidFormat.ownerHint': 'Re-save it in the editor to restore the original layout.',
+ 'error.invalidFormat.title': "This page couldn't be shown in its original format",
'error.notFound.desc': 'This page no longer exists or has been removed.',
'error.notFound.title': 'Page not found',
'error.private.action': 'Sign in',