Skip to content

Commit c83ade2

Browse files
authored
Merge pull request #2060 from numbersprotocol/fix-rename-view-blockchain-certificate-to-view-blockchain-profile
fix(translations): view blockchain certificate to view blockchain pro…
2 parents 5d76ad0 + 298d0f5 commit c83ade2

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

src/app/features/home/details/details.page.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ export class DetailsPage {
335335
switchMap(c => c.postCreationWorkflowCompleted$)
336336
),
337337
this.translocoService.selectTranslateObject({
338-
'message.viewBlockchainCertificate': null,
338+
'message.viewBlockchainProfile': null,
339339
'message.copyIpfsAddress': null,
340340
'message.shareAssetProfile': null,
341341
}),
@@ -348,7 +348,7 @@ export class DetailsPage {
348348
diaBackendAsset,
349349
postCreationWorkflowCompleted,
350350
[
351-
messageViewBlockchainCertificate,
351+
messageViewBlockchainProfile,
352352
messageCopyIpfsAddress,
353353
messageShareAssetProfile,
354354
],
@@ -357,7 +357,7 @@ export class DetailsPage {
357357
const buttons: ActionSheetButton[] = [];
358358
if (postCreationWorkflowCompleted && detailedCapture.id) {
359359
buttons.push({
360-
text: messageViewBlockchainCertificate,
360+
text: messageViewBlockchainProfile,
361361
handler: () => {
362362
this.openCertificate();
363363
resolve();
@@ -428,7 +428,7 @@ export class DetailsPage {
428428
'message.viewOnCaptureClub': null,
429429
'message.deregisterFromNetwork': null,
430430
'message.mintNftToken': null,
431-
'message.viewBlockchainCertificate': null,
431+
'message.viewBlockchainProfile': null,
432432
'message.viewSupportingVideoOnIpfs': null,
433433
networkActions: null,
434434
}),
@@ -445,7 +445,7 @@ export class DetailsPage {
445445
messageViewOnCaptureClub,
446446
messageDeregisterFromNetwork,
447447
messageMintNftToken,
448-
messageViewBlockchainCertificate,
448+
messageViewBlockchainProfile,
449449
messageViewSupportingVideoOnIpfs,
450450
messageNetworkActions,
451451
],
@@ -500,7 +500,7 @@ export class DetailsPage {
500500
}
501501
if (postCreationWorkflowCompleted && detailedCapture.id) {
502502
buttons.push({
503-
text: messageViewBlockchainCertificate,
503+
text: messageViewBlockchainProfile,
504504
handler: () => {
505505
this.openCertificate();
506506
resolve();

src/assets/i18n/en-us.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
"transferOwnership": "Transfer ownership",
173173
"deregisterFromNetwork": "Deregister from network",
174174
"viewOnCaptureClub": "View on CaptureClub",
175-
"viewBlockchainCertificate": "View blockchain certificate",
175+
"viewBlockchainProfile": "View blockchain profile",
176176
"confirmDelete": "Your local data will be wiped out after deletion. Please double-check that you have created a backup and understand the risk.",
177177
"confirmLogout": "Your local data will be wipe out after logout. You can restore your Captures after login again.",
178178
"resetPasswordEnterEmail": "To reset the password, you have to enter your registered email.",
@@ -273,7 +273,7 @@
273273
"viewSupportingVideoOnIpfsIsUnavailable": "View supporting video on IPFS action is unavailable. Please try again later.",
274274
"deregisterFromNetworkIsUnavailable": "Deregister from network action is unavailable. Please try again later.",
275275
"mintNftTokenIsUnavailable": "Mint NFT token action is unavailable. Please try again later.",
276-
"viewBlockchainCertificateIsUnavailable": "View blockchain certificate action is unavailable. Please try again later.",
276+
"viewBlockchainProfileIsUnavailable": "View blockchain profile action is unavailable. Please try again later.",
277277
"networkActionsAreUnavailable": "Network Actions are unavailable. Please try again later."
278278
}
279279
},

src/assets/i18n/zh-tw.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
"transferOwnership": "轉移影像所有權",
173173
"deregisterFromNetwork": "刪除並從影像網絡註銷",
174174
"viewOnCaptureClub": "在 CaptureClub 檢視",
175-
"viewBlockchainCertificate": "檢視區塊鏈證書",
175+
"viewBlockchainProfile": "檢視區塊鏈資訊",
176176
"confirmDelete": "所有您的本地資料將會在刪除帳號後清除。請再次確認您已備份資料並了解其中的風險。",
177177
"confirmLogout": "所有您的本地資料將會在登出後清除。再次登入後可以復原您的拍攝。",
178178
"resetPasswordEnterEmail": "請輸入您的註冊信箱以重新設定密碼。",
@@ -273,7 +273,7 @@
273273
"viewSupportingVideoOnIpfsIsUnavailable": "暫時無法觀看 IPFS 影片,請稍後再試。",
274274
"deregisterFromNetworkIsUnavailable": "暫時無法註銷網路註冊,請稍後再試。",
275275
"mintNftTokenIsUnavailable": "暫時無法鍛造 NFT,請稍後再試。",
276-
"viewBlockchainCertificateIsUnavailable": "暫時無法查看區塊鏈證書,請稍後再試。",
276+
"viewBlockchainProfileIsUnavailable": "暫時無法檢視區塊鏈資訊,請稍候再試",
277277
"networkActionsAreUnavailable": "暫時無法使用 Network Action,請稍後再試。"
278278
}
279279
},

0 commit comments

Comments
 (0)