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.

🐛 fix(share): add in-app browser guide and open-app fallback copy (#22108)

Lobehub Coder817898e1fa4a
diff --git a/locales/en-US/chat.json b/locales/en-US/chat.json
index 888881dc69b..44bf5a283eb 100644
--- a/locales/en-US/chat.json
+++ b/locales/en-US/chat.json
@@ -2269,8 +2269,20 @@
"shareModal.withRole": "Include Message Role",
"shareModal.withSystemRole": "Include Agent Profile",
"sharePage.actions.tryItYourself": "Try it yourself",
+ "sharePage.app.browserGuide.dismiss": "Got it",
+ "sharePage.app.browserGuide.stepMenu": "Tap ··· in the top-right corner",
+ "sharePage.app.browserGuide.stepOpen": "Choose “Open in Browser” or a similar option",
+ "sharePage.app.browserGuide.title.dingtalk": "DingTalk can’t open the app directly. Open this page in your browser to continue.",
+ "sharePage.app.browserGuide.title.qq": "QQ can’t open the app directly. Open this page in your browser to continue.",
+ "sharePage.app.browserGuide.title.wechat": "WeChat can’t open the app directly. Open this page in your browser to continue.",
+ "sharePage.app.browserGuide.title.weibo": "Weibo can’t open the app directly. Open this page in your browser to continue.",
+ "sharePage.app.fallback.desc": "You may not have the LobeHub app yet, or this browser blocked the jump.",
+ "sharePage.app.fallback.dismiss": "Keep reading",
+ "sharePage.app.fallback.download": "Get the app",
+ "sharePage.app.fallback.title": "App didn’t open?",
"sharePage.app.help": "Trouble opening the app?",
"sharePage.app.helpDescription": "If this browser prevents opening the app, use its menu to open this page in your system browser. You can also keep reading here.",
+ "sharePage.app.linkCopied": "Link copied",
"sharePage.app.open": "Open app",
"sharePage.error.fileNotFound.subtitle": "This file does not exist, has been removed, or is no longer shared.",
"sharePage.error.fileNotFound.title": "File Not Found",
diff --git a/locales/zh-CN/chat.json b/locales/zh-CN/chat.json
index 3cdc3a6189a..3c6a21f7da9 100644
--- a/locales/zh-CN/chat.json
+++ b/locales/zh-CN/chat.json
@@ -2269,8 +2269,20 @@
"shareModal.withRole": "包含消息角色",
"shareModal.withSystemRole": "包含助理档案",
"sharePage.actions.tryItYourself": "做同款",
+ "sharePage.app.browserGuide.dismiss": "知道了",
+ "sharePage.app.browserGuide.stepMenu": "点击右上角的 ···",
+ "sharePage.app.browserGuide.stepOpen": "选择「在浏览器打开」或类似选项",
+ "sharePage.app.browserGuide.title.dingtalk": "钉钉内无法直接打开 App,请在浏览器中打开本页后继续。",
+ "sharePage.app.browserGuide.title.qq": "QQ 内无法直接打开 App,请在浏览器中打开本页后继续。",
+ "sharePage.app.browserGuide.title.wechat": "微信内无法直接打开 App,请在浏览器中打开本页后继续。",
+ "sharePage.app.browserGuide.title.weibo": "微博内无法直接打开 App,请在浏览器中打开本页后继续。",
+ "sharePage.app.fallback.desc": "可能还没有安装 LobeHub App,或当前浏览器阻止了跳转。",
+ "sharePage.app.fallback.dismiss": "继续阅读",
+ "sharePage.app.fallback.download": "下载 App",
+ "sharePage.app.fallback.title": "没有打开 App?",
"sharePage.app.help": "打开 App 遇到问题?",
"sharePage.app.helpDescription": "如果当前浏览器阻止打开 App,可以通过浏览器菜单在系统浏览器中打开此页面。你也可以继续在这里阅读。",
+ "sharePage.app.linkCopied": "链接已复制",
"sharePage.app.open": "打开 App",
"sharePage.error.fileNotFound.subtitle": "该文件不存在、已被删除或已取消分享。",
"sharePage.error.fileNotFound.title": "文件不存在",
diff --git a/packages/locales/src/default/chat.ts b/packages/locales/src/default/chat.ts
index 40285ba07fc..9a3f4836968 100644
--- a/packages/locales/src/default/chat.ts
+++ b/packages/locales/src/default/chat.ts
@@ -1,8 +1,25 @@
export default {
+ 'sharePage.app.linkCopied': 'Link copied',
'sharePage.app.open': 'Open app',
'sharePage.app.help': 'Trouble opening the app?',
'sharePage.app.helpDescription':
'If this browser prevents opening the app, use its menu to open this page in your system browser. You can also keep reading here.',
+ 'sharePage.app.browserGuide.dismiss': 'Got it',
+ 'sharePage.app.browserGuide.stepMenu': 'Tap ··· in the top-right corner',
+ 'sharePage.app.browserGuide.stepOpen': 'Choose “Open in Browser” or a similar option',
+ 'sharePage.app.browserGuide.title.dingtalk':
+ 'DingTalk can’t open the app directly. Open this page in your browser to continue.',
+ 'sharePage.app.browserGuide.title.qq':
+ 'QQ can’t open the app directly. Open this page in your browser to continue.',
+ 'sharePage.app.browserGuide.title.wechat':
+ 'WeChat can’t open the app directly. Open this page in your browser to continue.',
+ 'sharePage.app.browserGuide.title.weibo':
+ 'Weibo can’t open the app directly. Open this page in your browser to continue.',
+ 'sharePage.app.fallback.desc':
+ 'You may not have the LobeHub app yet, or this browser blocked the jump.',
+ 'sharePage.app.fallback.dismiss': 'Keep reading',
+ 'sharePage.app.fallback.download': 'Get the app',
+ 'sharePage.app.fallback.title': 'App didn’t open?',
'backgroundActivity.alertDesc': '{{name}} is using {{memory}} of memory and {{cpu}} CPU.',
'backgroundActivity.cpu': 'CPU',