fix: hide download URL in in-app browser guide
All checks were successful
Deploy Staging (terry-wallet-login) / deploy (push) Successful in 1m3s

Stop exposing the internal /apnew/api/.../download URL in the guide. The dialog no longer renders the file URL or copies it to the clipboard; instead the user copies the current page link (window.location.href) and opens it in their system browser, then taps download again — which uses the real fetch+blob path. Updated step copy and intro in all 7 locales to match the new flow.
This commit is contained in:
TerryM
2026-06-05 19:15:10 +08:00
parent 356d8a0207
commit 3275aff121
8 changed files with 66 additions and 62 deletions

View File

@@ -247,13 +247,15 @@ export const zhDict: Dict = {
backToHome: "返回首页",
inAppDownloadTitle: "请使用系统浏览器打开后下载",
inAppDownloadIntro:
"当前内置浏览器无法下载文件。复制下方链接,到系统浏览器打开即可直接下载。",
"当前内置浏览器无法下载文件。请在系统浏览器打开本页面,然后再次点击下载按钮。",
inAppDownloadIntroNamed:
"{browser} 内置浏览器无法下载文件。复制下方链接,到系统浏览器打开即可直接下载。",
inAppDownloadStepCopy: "点击下方「复制链接」(这是文件的直接下载地址)。",
"{browser} 内置浏览器无法下载文件。请在系统浏览器打开本页面,然后再次点击下载按钮。",
inAppDownloadStepCopy: "点击右上角菜单,选择「在默认浏览器中打开」。",
inAppDownloadStepOpen:
"打开系统浏览器(Safari、Chrome 等),把链接粘贴到地址栏。",
inAppDownloadStepDownload: "文件会自动开始下载到下载文件夹。",
inAppDownloadCopied: "链接已复制",
"如果没有该选项,可点击下方「复制页面链接」,再到 Safari、Chrome 等浏览器中打开。",
inAppDownloadStepDownload:
"系统浏览器打开页面后,再次点击下载按钮即可把文件保存到下载文件夹。",
inAppDownloadCopyPageLink: "复制页面链接",
inAppDownloadCopied: "页面链接已复制",
inAppDownloadCopyFail: "复制失败,请手动复制",
};