Skip to content

Commit

Permalink
Merge pull request #1157 from aeternity/feature/update-wording
Browse files Browse the repository at this point in the history
refactor(wording): update claim wording
  • Loading branch information
etharner authored Sep 8, 2021
2 parents b69858c + 3e180fb commit f7f5991
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/components/FeedItemMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ export default {
});
await this.$store.dispatch('modals/open', {
name: 'success',
title: this.$t('components.tipRecords.TipRecord.claimTitle'),
title: this.$t('components.tipRecords.TipRecord.claimTitleSuccess'),
body: this.$t('components.tipRecords.TipRecord.claimBodySuccess'),
});
this.resolve();
} catch (error) {
await this.$store.dispatch('modals/open', {
name: 'failure',
title: this.$t('components.tipRecords.TipRecord.claimTitle'),
title: this.$t('components.tipRecords.TipRecord.claimTitleFailure'),
body: this.$t('components.tipRecords.TipRecord.claimBodyFailure'),
});
console.error(error);
Expand Down
7 changes: 4 additions & 3 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -481,9 +481,10 @@
"reportPostTitle": "Thanks for letting us know",
"reportPostBody": "Our support team will investigate",
"claim": "Claim",
"claimTitle": "Claiming attempt",
"claimBodySuccess": "was successfully sent",
"claimBodyFailure": "failed to be send",
"claimTitleSuccess": "Your claim was sent",
"claimTitleFailure": "Your claim could not be sent",
"claimBodySuccess": "If your claim is successful, the tip amount will be added to your wallet.",
"claimBodyFailure": "Please try again later or contact support.",
"Pin": "Pin to Channel",
"UnPin": "Unpin from Channel"
}
Expand Down

0 comments on commit f7f5991

Please sign in to comment.