Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: translation "view blockchain profile" to "view asset profile" #2411

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/app/features/home/details/details.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ export class DetailsPage {
switchMap(c => c.postCreationWorkflowCompleted$)
),
this.translocoService.selectTranslateObject({
'message.viewBlockchainProfile': null,
'message.viewAssetProfile': null,
'message.copyIpfsAddress': null,
'message.shareAssetProfile': null,
}),
Expand All @@ -357,7 +357,7 @@ export class DetailsPage {
diaBackendAsset,
postCreationWorkflowCompleted,
[
messageViewBlockchainProfile,
messageviewAssetProfile,
messageCopyIpfsAddress,
messageShareAssetProfile,
],
Expand All @@ -366,7 +366,7 @@ export class DetailsPage {
const buttons: ActionSheetButton[] = [];
if (postCreationWorkflowCompleted && detailedCapture.id) {
buttons.push({
text: messageViewBlockchainProfile,
text: messageviewAssetProfile,
handler: () => {
this.openCertificate();
resolve();
Expand Down Expand Up @@ -686,7 +686,7 @@ export class DetailsPage {
'message.viewOnCaptureClub': null,
'message.deregisterFromNetwork': null,
'message.mintNftToken': null,
'message.viewBlockchainProfile': null,
'message.viewAssetProfile': null,
'message.viewSupportingVideoOnIpfs': null,
networkActions: null,
}),
Expand All @@ -703,7 +703,7 @@ export class DetailsPage {
messageViewOnCaptureClub,
messageDeregisterFromNetwork,
messageMintNftToken,
messageViewBlockchainProfile,
messageviewAssetProfile,
messageViewSupportingVideoOnIpfs,
messageNetworkActions,
],
Expand Down Expand Up @@ -758,7 +758,7 @@ export class DetailsPage {
}
if (postCreationWorkflowCompleted && detailedCapture.id) {
buttons.push({
text: messageViewBlockchainProfile,
text: messageviewAssetProfile,
handler: () => {
this.openCertificate();
resolve();
Expand Down
4 changes: 2 additions & 2 deletions src/assets/i18n/en-us.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
"transferOwnership": "Transfer ownership",
"deregisterFromNetwork": "Deregister from network",
"viewOnCaptureClub": "View on CaptureClub",
"viewBlockchainProfile": "View blockchain profile",
"viewAssetProfile": "View asset profile",
"confirmDelete": "Your local data will be wiped out after deletion. Please double-check that you have created a backup and understand the risk.",
"confirmLogout": "Your local data will be wipe out after logout. You can restore your Captures after login again.",
"resetPasswordEnterEmail": "To reset the password, you have to enter your registered email.",
Expand Down Expand Up @@ -286,7 +286,7 @@
"viewSupportingVideoOnIpfsIsUnavailable": "View supporting video on IPFS action is unavailable. Please try again later.",
"deregisterFromNetworkIsUnavailable": "Deregister from network action is unavailable. Please try again later.",
"mintNftTokenIsUnavailable": "Mint NFT token action is unavailable. Please try again later.",
"viewBlockchainProfileIsUnavailable": "View blockchain profile action is unavailable. Please try again later.",
"viewAssetProfileIsUnavailable": "View asset profile action is unavailable. Please try again later.",
"networkActionsAreUnavailable": "Network Actions are unavailable. Please try again later."
}
},
Expand Down
4 changes: 2 additions & 2 deletions src/assets/i18n/zh-tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
"transferOwnership": "轉移影像所有權",
"deregisterFromNetwork": "刪除並從影像網絡註銷",
"viewOnCaptureClub": "在 CaptureClub 檢視",
"viewBlockchainProfile": "檢視區塊鏈資訊",
"viewAssetProfile": "檢視資產檔案",
"confirmDelete": "所有您的本地資料將會在刪除帳號後清除。請再次確認您已備份資料並了解其中的風險。",
"confirmLogout": "所有您的本地資料將會在登出後清除。再次登入後可以復原您的拍攝。",
"resetPasswordEnterEmail": "請輸入您的註冊信箱以重新設定密碼。",
Expand Down Expand Up @@ -286,7 +286,7 @@
"viewSupportingVideoOnIpfsIsUnavailable": "暫時無法觀看 IPFS 影片,請稍後再試。",
"deregisterFromNetworkIsUnavailable": "暫時無法註銷網路註冊,請稍後再試。",
"mintNftTokenIsUnavailable": "暫時無法鍛造 NFT,請稍後再試。",
"viewBlockchainProfileIsUnavailable": "暫時無法檢視區塊鏈資訊,請稍候再試",
"viewAssetProfileIsUnavailable": "暫時無法檢視資產檔案,請稍候再試",
"networkActionsAreUnavailable": "暫時無法使用 Network Action,請稍後再試。"
}
},
Expand Down