From 678f90b336919a1593862ddcc4950a333f6ac7db Mon Sep 17 00:00:00 2001 From: snowteamer <64228468+snowteamer@users.noreply.github.com> Date: Sat, 13 Jan 2024 16:30:09 +0100 Subject: [PATCH 1/2] Add Lightning Address payment method --- frontend/views/containers/contributions/PaymentMethods.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/views/containers/contributions/PaymentMethods.vue b/frontend/views/containers/contributions/PaymentMethods.vue index 9a403185e9..7e6c495a54 100644 --- a/frontend/views/containers/contributions/PaymentMethods.vue +++ b/frontend/views/containers/contributions/PaymentMethods.vue @@ -56,6 +56,7 @@ export default ({ options: { // key to store on state and corresponding translation (if needed) bitcoin: 'Bitcoin', + lightning: 'Lightning Address', paypal: 'Paypal', venmo: 'Venmo', other: L('Other') From 69d49a6cd68f2d5d53d82f753d98fca09f3f3e68 Mon Sep 17 00:00:00 2001 From: snowteamer <64228468+snowteamer@users.noreply.github.com> Date: Thu, 18 Jan 2024 16:03:05 +0100 Subject: [PATCH 2/2] Use L() for payment method names --- .../views/containers/contributions/PaymentMethods.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/views/containers/contributions/PaymentMethods.vue b/frontend/views/containers/contributions/PaymentMethods.vue index 7e6c495a54..3384b606fe 100644 --- a/frontend/views/containers/contributions/PaymentMethods.vue +++ b/frontend/views/containers/contributions/PaymentMethods.vue @@ -54,11 +54,11 @@ export default ({ data: () => ({ config: { options: { - // key to store on state and corresponding translation (if needed) - bitcoin: 'Bitcoin', - lightning: 'Lightning Address', - paypal: 'Paypal', - venmo: 'Venmo', + // Key to store on the state and corresponding translation. + bitcoin: L('Bitcoin'), + lightning: L('Lightning'), + paypal: L('Paypal'), + venmo: L('Venmo'), other: L('Other') } },