Skip to content

Commit c26145a

Browse files
More labels reduced at settings
1 parent 71fd5cf commit c26145a

File tree

2 files changed

+21
-12
lines changed

2 files changed

+21
-12
lines changed

src/etc/adminhtml/system.xml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,15 @@
4949
<label>Widget</label>
5050

5151
<field id="widget_out_of_limits" translate="label" type="select" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="0">
52-
<label>Show/hide alternative widget if Aplazame is not available</label>
52+
<label>Widget if Aplazame is not available</label>
5353
<source_model>Aplazame\Payment\Model\Config\Source\Outoflimits</source_model>
54+
<comment>Show/hide alternative widget if Aplazame is not available</comment>
5455
</field>
5556

5657
<field id="widget_legacy_enabled" translate="label" type="select" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="0">
57-
<label>Show widget legacy instead new widget</label>
58+
<label>Widget legacy</label>
5859
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
60+
<comment>Use widget legacy instead new widget</comment>
5961
</field>
6062

6163
<group id="aplazame_product_widget" translate="label" type="text" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">
@@ -84,8 +86,9 @@
8486
</field>
8587

8688
<field id="product_default_instalments" translate="label" type="text" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="0">
87-
<label>Select the default number instalments</label>
89+
<label>Default instalments</label>
8890
<frontend_class>validate-number</frontend_class>
91+
<comment>Select the default number instalments</comment>
8992
</field>
9093

9194
<field id="product_css" translate="label" type="text" sortOrder="35" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1">
@@ -105,8 +108,8 @@
105108
</field>
106109

107110
<field id="product_widget_primary_color" translate="label" type="text" sortOrder="50" showInDefault="1" showInWebsite="1" showInStore="0">
108-
<label>Primary color hexadecimal code</label>
109-
<comment>Only new widget</comment>
111+
<label>Primary color</label>
112+
<comment>Hexadecimal code, only new widget</comment>
110113
</field>
111114

112115
<field id="product_widget_layout" translate="label" type="select" sortOrder="55" showInDefault="1" showInWebsite="1" showInStore="0">
@@ -147,8 +150,9 @@
147150
</field>
148151

149152
<field id="cart_default_instalments" translate="label" type="text" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="0">
150-
<label>Select the default number instalments</label>
153+
<label>Default instalments</label>
151154
<frontend_class>validate-number</frontend_class>
155+
<comment>Select the default number instalments</comment>
152156
</field>
153157

154158
<field id="cart_widget_max_desired" translate="label" type="select" sortOrder="35" showInDefault="1" showInWebsite="1" showInStore="0">
@@ -158,8 +162,8 @@
158162
</field>
159163

160164
<field id="cart_widget_primary_color" translate="label" type="text" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="0">
161-
<label>Primary color hexadecimal code</label>
162-
<comment>Only new widget</comment>
165+
<label>Primary color</label>
166+
<comment>Hexadecimal code, only new widget</comment>
163167
</field>
164168

165169
<field id="cart_widget_layout" translate="label" type="select" sortOrder="45" showInDefault="1" showInWebsite="1" showInStore="0">
@@ -180,7 +184,8 @@
180184
<label>Other Settings</label>
181185

182186
<field id="payment_button" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1">
183-
<label>Aplazame Button CSS Selector</label>
187+
<label>Button Selector</label>
188+
<comment>Aplazame payment button CSS selector</comment>
184189
</field>
185190

186191
<field id="change_to_order_id" translate="label" type="select" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="0">

src/i18n/es_ES.csv

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,28 @@
77
"Aplazame","Aplazame"
88
"Test Mode (Sandbox)","Modo de pruebas (Sandbox)"
99
"Private API Key","Clave API privada"
10+
"Widget if Aplazame is not available","Widget si Aplazame no está disponible"
1011
"Show/hide alternative widget if Aplazame is not available","Muestra/oculta el widget alternativo si Aplazame no está disponible"
11-
"Show widget legacy instead new widget","Mostrar el widget legacy en lugar del nuevo widget"
12+
"Use widget legacy instead new widget","Usa el widget legacy en lugar del nuevo widget"
1213
"Show widget","Mostrar el widget"
1314
"Show downpayment info","Mostrar pago inicial"
1415
"Show legal notice","Mostrar texto legal"
1516
"Force pay in 4 widget","Forzar widget paga en 4"
1617
"If not available, the standard widget will be displayed","Si no está disponible, se mostrará el widget estándar"
18+
"Default instalments","Cuotas por defecto"
1719
"Select the default number instalments","Elige el número de cuotas a mostrar"
1820
"CSS price selector","Selector CSS del precio"
1921
"Show border","Mostrar marco"
2022
"Only new widget","Sólo nuevo widget"
2123
"Enter maximum instalment","Introducir cuota máxima"
22-
"Primary color hexadecimal code","Código hexadecimal del color principal"
24+
"Primary color","Color principal"
25+
"Hexadecimal code, only new widget","Código hexadecimal, sólo nuevo widget"
2326
"Layout","Disposición"
2427
"Alignment","Alineación"
2528
"Use 'order' ID on Aplazame","Usar 'order' en Aplazame"
2629
"Change Aplazame's internal ID from 'quote' to 'order' when an order is confirmed, the 'order_' prefix will be used to avoid DB problems with duplicate numeric IDs","Cambia el ID interno de Aplazame de 'quote' a 'order' cuando un pedido se confirma, se usará el prefijo 'order_' para evitar problemas en base de datos con identificadores numéricos duplicados"
27-
"Aplazame Button CSS Selector","Selector CSS del botón de Aplazame"
30+
"Button Selector","Selector del botón"
31+
"Aplazame payment button CSS selector","Selector CSS del botón de pago con Aplazame"
2832
"Automatic invoice generation","Facturar automáticamente"
2933
"Aplazame Campaigns","Campañas Aplazame"
3034
"Show","Mostrar"

0 commit comments

Comments
 (0)