diff --git a/components/Alerts/SignFailed.vue b/components/Alerts/SignFailed.vue index af39f2fd..bcd19dc9 100644 --- a/components/Alerts/SignFailed.vue +++ b/components/Alerts/SignFailed.vue @@ -53,7 +53,7 @@ export default class SignFailed extends Vue { get errorAlert() { switch (this.errorType) { case ErrorType.INSUFFICIENT_BALANCE: - return 'IscnRegisterForm.error.insufficient' + return 'IscnRegisterForm.error.insufficient_with_buy' case ErrorType.USER_NOT_ISCN_OWNER: return 'IscnRegisterForm.error.notIscnOwner' diff --git a/components/IscnRegisterForm.vue b/components/IscnRegisterForm.vue index e8dfb03e..44247f79 100644 --- a/components/IscnRegisterForm.vue +++ b/components/IscnRegisterForm.vue @@ -894,7 +894,7 @@ export default class IscnRegisterForm extends Vue { get errorMsg() { switch (this.error) { case 'INSUFFICIENT_BALANCE': - return this.$t('IscnRegisterForm.error.insufficient') + return this.$t('IscnRegisterForm.error.insufficient_with_like', { like: this.totalFee }) case 'MISSING_SIGNER': return this.$t('IscnRegisterForm.error.missingSigner') default: diff --git a/components/IscnUploadForm.vue b/components/IscnUploadForm.vue index c8c88ac8..06b8a146 100644 --- a/components/IscnUploadForm.vue +++ b/components/IscnUploadForm.vue @@ -380,7 +380,7 @@ export default class IscnUploadForm extends Vue { get errorMsg() { switch (this.error) { case 'INSUFFICIENT_BALANCE': - return this.$t('IscnRegisterForm.error.insufficient') + return this.$t('IscnRegisterForm.error.insufficient_with_like', { like: this.arweaveFee }) case 'MISSING_SIGNER': return this.$t('IscnRegisterForm.error.missingSigner') default: diff --git a/locales/en.json b/locales/en.json index 3fc93108..90f807fe 100644 --- a/locales/en.json +++ b/locales/en.json @@ -203,7 +203,8 @@ "IscnRegisterForm.error.buy": "Buy LikeCoin", "IscnRegisterForm.error.descriptionIsEmpty": "Please enter the ISCN description", "IscnRegisterForm.error.faucet": "Get faucet", - "IscnRegisterForm.error.insufficient": "Oops, Insufficient Balance. {buy} ", + "IscnRegisterForm.error.insufficient_with_buy": "Oops, Insufficient balance. {buy} ", + "IscnRegisterForm.error.insufficient_with_like": "Oops, Insufficient balance, requires {like} ", "IscnRegisterForm.error.missingSigner": "Missing Signer. Please connect your wallet.", "IscnRegisterForm.error.notIscnOwner": "Oops, User is not the current ISCN owner. {login}", "IscnRegisterForm.error.reLogIn": "Change Wallet",