diff --git a/src/app/services/publisher/publisher.ts b/src/app/services/publisher/publisher.ts index 8cbf0f95b..e38c39f67 100644 --- a/src/app/services/publisher/publisher.ts +++ b/src/app/services/publisher/publisher.ts @@ -17,8 +17,8 @@ export abstract class Publisher { const notificationId = this.notificationService.createNotificationId(); this.notificationService.notify( notificationId, - this.translocoService.translate('publishingProof'), - this.translocoService.translate('message.publishingProof', { hash: proof.hash, publisherName: this.id }) + this.translocoService.translate('registeringAsset'), + this.translocoService.translate('message.registeringAsset', { hash: proof.hash, publisherName: this.id }) ); // Deliberately subscribe without untilDestroyed scope. Also, it is not feasible to use @@ -27,8 +27,8 @@ export abstract class Publisher { this.run$(proof).pipe( tap(_ => this.notificationService.notify( notificationId, - this.translocoService.translate('proofPublished'), - this.translocoService.translate('message.proofPublished', { hash: proof.hash, publisherName: this.id }) + this.translocoService.translate('assetRegistered'), + this.translocoService.translate('message.assetRegistered', { hash: proof.hash, publisherName: this.id }) )), catchError((err: Error) => of(this.notificationService.notifyError(notificationId, err))) ).subscribe(); diff --git a/src/assets/i18n/en-us.json b/src/assets/i18n/en-us.json index b3fb01d56..6470c8d66 100644 --- a/src/assets/i18n/en-us.json +++ b/src/assets/i18n/en-us.json @@ -23,8 +23,8 @@ "nothingHere": "Nothing Here", "editCaption": "Edit Caption", "selectAPublisher": "Select a Publisher", - "publishingProof": "Publishing Proof", - "proofPublished": "Proof Published", + "registeringAsset": "Registering Asset", + "assetRegistered": "Asset Registered", "collectingProof": "Collecting Proof", "collectingInformation": "Collecting Information", "signingProof": "Signing Proof", @@ -94,8 +94,8 @@ "ifYouNotReceiveEmail": "If you haven't received the verification email in 10 minutes, you can click the button below to resend the verification email.", "emailOrPasswordIsInvalid": "The email address or password you entered is invalid.", "tooManyRetries": "You have entered the invalid email or password too many times. Please try again later.", - "publishingProof": "Publishing proof {{hash}} to {{publisherName}}.", - "proofPublished": "Proof {{hash}} has been published to {{publisherName}}.", + "registeringAsset": "Registering asset {{hash}} to {{publisherName}}.", + "assetRegistered": "Asset {{hash}} has been registered to {{publisherName}}.", "forbiddenAllNumeric": "Cannot contain only numbers.", "isNotEmail": "Does not follow email format.", "pleaseWait": "Please wait...", diff --git a/src/assets/i18n/zh-tw.json b/src/assets/i18n/zh-tw.json index c87e6ee81..6aa0030b8 100644 --- a/src/assets/i18n/zh-tw.json +++ b/src/assets/i18n/zh-tw.json @@ -23,8 +23,8 @@ "nothingHere": "空白", "editCaption": "編輯標題", "selectAPublisher": "選擇發佈者", - "publishingProof": "發佈拍攝", - "proofPublished": "拍攝已發佈", + "registeringAsset": "正在發佈拍攝", + "assetRegistered": "拍攝已發佈", "collectingProof": "正在收集證據", "collectingInformation": "正在收集資訊", "signingProof": "正在簽署證據", @@ -94,8 +94,8 @@ "ifYouNotReceiveEmail": "如果您在10分鐘內仍未收到驗證電子郵件,請單擊下面的按鈕重新發送驗證電子郵件。", "emailOrPasswordIsInvalid": "您輸入的電子郵件地址或密碼無效。", "tooManyRetries": "您輸入無效的電子郵件或密碼的次數過多。請稍後再試。", - "publishingProof": "將拍攝 {{hash}} 發佈至 {{publisherName}}。", - "proofPublished": "拍攝 {{hash}} 已發佈到 {{publisherName}}。", + "registeringAsset": "正在將影像資產 {{hash}} 註冊至 {{publisherName}}。", + "assetRegistered": "影像資產 {{hash}} 已 {{publisherName}}。", "forbiddenAllNumeric": "密碼不能只有數字。", "isNotEmail": "電子郵件格式不符。", "pleaseWait": "請稍候...", @@ -104,4 +104,4 @@ "clickingSignupToAgreePolicy": "點擊「註冊」即表示你同意我們的《服務條款》和《資料政策》。", "sendPostCaptureAlert": "PostCapture 送出後,它的所有權將轉移至選定的朋友。您確定嗎?" } -} \ No newline at end of file +}