diff --git a/src/app/features/home/details/details.page.ts b/src/app/features/home/details/details.page.ts index 1e4ee8cf0..7adeb5357 100644 --- a/src/app/features/home/details/details.page.ts +++ b/src/app/features/home/details/details.page.ts @@ -526,9 +526,11 @@ export class DetailsPage { let fileUrl: string | undefined = undefined; const downloadC2paDismissed$ = new Subject(); const alert = await this.alertController.create({ - header: this.translocoService.translate('details.shares.downloadC2pa'), + header: this.translocoService.translate( + 'details.downloadC2paProgressHeader' + ), message: `
${this.translocoService.translate( - 'message.pleaseWait' + 'details.downloadC2paProgressMessage' )}`, backdropDismiss: false, buttons: [ @@ -539,8 +541,10 @@ export class DetailsPage { alert.onDidDismiss().then(async () => { downloadC2paDismissed$.next(); if (fileUrl) { + const from = encodeURIComponent(this.router.url); + const url = encodeURIComponent(fileUrl); const link = document.createElement('a'); - link.href = `${BUBBLE_IFRAME_URL}/download?url=${fileUrl}`; + link.href = `${BUBBLE_IFRAME_URL}/download?from=${from}&url=${url}`; link.hidden = true; document.body.appendChild(link); link.click(); diff --git a/src/assets/i18n/en-us.json b/src/assets/i18n/en-us.json index 9ae60e9a8..6ef440620 100644 --- a/src/assets/i18n/en-us.json +++ b/src/assets/i18n/en-us.json @@ -288,6 +288,8 @@ "collect": "collect", "noNetworkConnectionCannotPerformAction": "No internet connection. Cannot perform the action.", "confirmUnpublish": "Are you sure you want to Unpublish", + "downloadC2paProgressHeader": "Creating C2PA Signature", + "downloadC2paProgressMessage": "Processing your request to sign content with C2PA. This ensures your digital content is protected with verified content credentials, enhancing its authenticity and trustworthiness. Please wait a moment.", "actions": { "edit": "Edit", "mintAndShare": "Mint & Share", diff --git a/src/assets/i18n/zh-tw.json b/src/assets/i18n/zh-tw.json index 930b35e5f..69161c298 100644 --- a/src/assets/i18n/zh-tw.json +++ b/src/assets/i18n/zh-tw.json @@ -288,6 +288,8 @@ "collect": "蒐集", "noNetworkConnectionCannotPerformAction": "沒有網絡連接。 無法執行該操作。", "confirmUnpublish": "您確定要取消發布嗎", + "downloadC2paProgressHeader": "建立 C2PA 驗證簽章", + "downloadC2paProgressMessage": "C2PA 驗證簽章處理中,這可確保您的數位內容受到經過驗證的內容憑證保護,增強其真實性和可信度。這可能需要一些時間。", "actions": { "edit": "編輯", "mintAndShare": "鑄造並分享",