Skip to content

Commit

Permalink
improving tranlsation for wallet adding funds invoice notification
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanmtz committed Dec 18, 2024
1 parent 43e0109 commit 809b2ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@
"mail.order.expiredOrders.subject": "The payment for an issue on Gitpay expired",
"mail.order.expiredOrders.content.main": "The pre-authorized payment of ${{value}} for the issue <a href=\"{{url}}\">{{title}}</a> made using Paypal expired, and you need to make a new payment to keep the bounty available. Please visit https://gitpay.me/#/profile/payments to update your payment.",
"mail.webhook.wallet.invoice.intro": "Hello {{name}},",
"mail.webhook.wallet.invoice.subject": "There's a new invoice to adding funds to your Wallet on Gitpay",
"mail.webhook.wallet.invoice.message": "<p>We generated an invoice of ${{amount}} to add funds to your Wallet {{walletName}} on Gitpay.</p>",
"mail.webhook.wallet.invoice.subject": "New Invoice for Adding Funds to Your Gitpay Wallet",
"mail.webhook.wallet.invoice.message": "<p>We generated a new invoice of ${{amount}} to add funds to your {{walletName}} wallet on Gitpay.</p>",
"mail.webhook.wallet.invoice.button": "Pay invoice",
"mail.webhook.wallet.invoice.footer": "You received this message because you requested to add funds to your Wallet on <a href=\"http://gitpay.me\" target=\"_blank\">Gitpay</a>"
"mail.webhook.wallet.invoice.footer": "You’re receiving this message because you recently requested to add funds to your <a href=\"http://gitpay.me\" target=\"_blank\">Gitpay</a> account"
}
2 changes: 1 addition & 1 deletion modules/mail/wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if (constants.canSendEmail) {
{
type: 'text/html',
value: emailTemplate.mainContentEmailTemplate(
i18n.__('mail.webhook.wallet.invoice.intro'),
i18n.__('mail.webhook.wallet.invoice.intro', { name: user.name }),
i18n.__('mail.webhook.wallet.invoice.message', {
amount: walletOrder.amount,
currency: invoice.currency,
Expand Down

0 comments on commit 809b2ca

Please sign in to comment.