Skip to content

Commit 71fd5cf

Browse files
Reduce long label and reorder
1 parent 4458b24 commit 71fd5cf

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/etc/adminhtml/system.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,14 +179,14 @@
179179
<group id="aplazame_misc" translate="label" type="text" sortOrder="60" showInDefault="1" showInWebsite="1" showInStore="1">
180180
<label>Other Settings</label>
181181

182-
<field id="change_to_order_id" translate="label" type="select" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="0">
183-
<label>Change internal Aplazame ID from 'quote' to 'order' when an order is confirmed</label>
184-
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
185-
<comment>This will use 'order_' prefix to avoid DB problems with numerical IDs</comment>
182+
<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>
186184
</field>
187185

188-
<field id="payment_button" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1">
189-
<label>Aplazame Button CSS Selector</label>
186+
<field id="change_to_order_id" translate="label" type="select" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="0">
187+
<label>Use 'order' ID on Aplazame</label>
188+
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
189+
<comment>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</comment>
190190
</field>
191191
</group>
192192

src/etc/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
</aplazame_cart_widget>
3939
</aplazame_widget>
4040
<aplazame_misc>
41-
<change_to_order_id>0</change_to_order_id>
4241
<payment_button>#aplazame-payment-method</payment_button>
42+
<change_to_order_id>0</change_to_order_id>
4343
</aplazame_misc>
4444
<aplazame_dev>
4545
<checkout_v4>0</checkout_v4>

src/i18n/es_ES.csv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
"Primary color hexadecimal code","Código hexadecimal del color principal"
2323
"Layout","Disposición"
2424
"Alignment","Alineación"
25-
"Change internal Aplazame ID from 'quote' to 'order' when an order is confirmed","Cambiar ID interno de Aplazame de 'quote' a 'order' cuando se confirme un pedido"
26-
"This will use 'order_' prefix to avoid DB problems with numerical IDs","Esto usará el prefijo 'order_' para evitar problemas de base de datos con IDs numéricos"
25+
"Use 'order' ID on Aplazame","Usar 'order' en Aplazame"
26+
"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"
2727
"Aplazame Button CSS Selector","Selector CSS del botón de Aplazame"
2828
"Automatic invoice generation","Facturar automáticamente"
2929
"Aplazame Campaigns","Campañas Aplazame"

0 commit comments

Comments
 (0)