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

@@ -270,14 +270,15 @@ export const jaDict: Dict = {
backToHome: "ホームへ戻る",
inAppDownloadTitle: "システムブラウザで開いてダウンロードしてください",
inAppDownloadIntro:
"現在のアプリ内ブラウザはファイルをダウンロードできません。下のリンクをコピーし、システムブラウザで開けば自動的にダウンロードされます。",
"現在のアプリ内ブラウザはファイルをダウンロードできません。このページをシステムブラウザで開き、もう一度ダウンロードしてください。",
inAppDownloadIntroNamed:
"{browser} のアプリ内ブラウザではファイルをダウンロードできません。下のリンクをコピーし、システムブラウザで開けば自動的にダウンロードされます。",
inAppDownloadStepCopy:
"下の「リンクをコピー」をタップします(ファイルの直接ダウンロード URL です)。",
"{browser} はファイルを直接ダウンロードできません。このページをシステムブラウザで開き、もう一度ダウンロードしてください。",
inAppDownloadStepCopy: "右上のメニューを開き、「ブラウザで開く」を選びます。",
inAppDownloadStepOpen:
"システムブラウザ(SafariChrome など)を開き、アドレスバーにリンクを貼り付けます。",
inAppDownloadStepDownload: "ファイルは自動的にダウンロード先に保存されます。",
inAppDownloadCopied: "リンクをコピーしました",
"該当の項目がなければ、下の「ページリンクをコピー」をタップし、SafariChrome で開いてください。",
inAppDownloadStepDownload:
"システムブラウザでページが開いたら、もう一度ダウンロードボタンをタップしてファイルを保存します。",
inAppDownloadCopyPageLink: "ページリンクをコピー",
inAppDownloadCopied: "ページリンクをコピーしました",
inAppDownloadCopyFail: "コピーに失敗しました。手動でコピーしてください",
};