Skip to content

Commit

Permalink
💬 Update translation for purchase channel (#1765)
Browse files Browse the repository at this point in the history
* 💬 Update translation for purchase channel

* Update src/locales/en.json

---------

Co-authored-by: William Chong <[email protected]>
  • Loading branch information
AuroraHuang22 and williamchong authored Sep 3, 2024
1 parent 25b3fea commit 87f6040
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/ShoppingCart/ListRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export default {
computed: {
purchaseChannel() {
return this.from
? `${this.$t('cart_purchase_channel')} : ${this.from}`
? this.$t('cart_purchase_channel', { from: this.from })
: '';
},
tippingAmount() {
Expand Down
3 changes: 2 additions & 1 deletion src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@
"campaign_nft_page_title": "Publish as you write. Collect as you read.",
"campaign_nft_upcoming": "Next Writing NFT coming on",
"campaign_nft_view_nft_dashboard": "Visit NFT Dashboard",
"cart_purchase_channel": "channel",
"cart_purchase_channel": "Via {from}",

"cart_item_added": "Item added to cart",
"cart_item_free_not_supported": "Free items cannot be added to cart",
"cart_item_tipping": "Price includes a tip of {amount} USD",
Expand Down
2 changes: 1 addition & 1 deletion src/locales/zh-Hant.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"campaign_nft_page_title": "珍藏文字,回饋創作",
"campaign_nft_upcoming": "下一篇 Writing NFT 即將推出",
"campaign_nft_view_nft_dashboard": "查看 Writing NFT 書架",
"cart_purchase_channel": "透過",
"cart_purchase_channel": "透過 {from}",
"cart_item_added": "已加入購物車",
"cart_item_free_not_supported": "購物車暫不支援免費收藏",
"cart_item_tipping": "單價已含小額打賞 {amount} USD",
Expand Down

0 comments on commit 87f6040

Please sign in to comment.