From 40f5fa421774a2a55e629b0e700d82d2dac6d069 Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Tue, 8 Oct 2024 13:07:11 +0300 Subject: [PATCH] add recurrent payment --- app/javascript/template_builder/i18n.js | 12 ++++++++ .../template_builder/payment_settings.vue | 30 ++++++++++++++++++- 2 files changed, 41 insertions(+), 1 deletion(-) diff --git a/app/javascript/template_builder/i18n.js b/app/javascript/template_builder/i18n.js index 6ed52e2a..b4c59b36 100644 --- a/app/javascript/template_builder/i18n.js +++ b/app/javascript/template_builder/i18n.js @@ -1,5 +1,7 @@ const en = { editable: 'Editable', + recurrent: 'Recurrent', + one_off: 'One-off', search_field: 'Search field', field_not_found: 'Field not found', clear: 'Clear', @@ -151,6 +153,8 @@ const en = { } const es = { + recurrent: 'Recurrente', + one_off: 'Único', editable: 'Editable', search_field: 'Campo de búsqueda', field_not_found: 'Campo no encontrado', @@ -303,6 +307,8 @@ const es = { } const it = { + ricorrente: 'Ricorrente', + una_volta: 'Una volta', editable: 'Modificabile', search_field: 'Campo di ricerca', field_not_found: 'Campo non trovato', @@ -455,6 +461,8 @@ const it = { } const pt = { + recurrent: 'Recurrente', + one_off: 'Único', editable: 'Editável', search_field: 'Campo de busca', field_not_found: 'Campo não encontrado', @@ -607,6 +615,8 @@ const pt = { } const fr = { + recurrent: 'Récurrent', + one_off: 'Ponctuel', editable: 'Éditable', search_field: 'Champ de recherche', field_not_found: 'Champ non trouvé', @@ -759,6 +769,8 @@ const fr = { } const de = { + wiederkehrend: 'Wiederkehrend', + einmalig: 'Einmalig', editable: 'Bearbeitbar', search_field: 'Suchfeld', field_not_found: 'Feld nicht gefunden', diff --git a/app/javascript/template_builder/payment_settings.vue b/app/javascript/template_builder/payment_settings.vue index 08cf5297..f2cf6fc2 100644 --- a/app/javascript/template_builder/payment_settings.vue +++ b/app/javascript/template_builder/payment_settings.vue @@ -21,6 +21,7 @@ @click="closeDropdown" >
@@ -58,6 +59,13 @@ class="input input-bordered input-xs w-full max-w-xs h-7 !outline-0" @blur="save" > + {{ t('price') }} +
{{ t('learn_more') }}
-
  • +