Plugin Directory

Changeset 2536486


Ignore:
Timestamp:
05/24/2021 01:25:55 PM (5 years ago)
Author:
aplazame
Message:

tagging version 3.4.0

Location:
aplazame
Files:
16 edited
1 copied

Legend:

Unmodified
Added
Removed
  • aplazame/tags/3.4.0/README.txt

    r2510789 r2536486  
    33Tags: aplazame,woocommerce,ecommerce,payment,checkout,credit,aplazar,financiar,financiera,financiación,pago aplazado,método de pago
    44Requires at least: 4.0.1
    5 Tested up to: 5.7.0
     5Tested up to: 5.7.2
    66Requires PHP: 5.3.0
    7 Stable tag: 3.3.0
     7Stable tag: 3.4.0
    88License: BSD-3-Clause
    99License URI: https://github.com/aplazame/woocommerce/blob/master/LICENSE
     
    7878== Changelog ==
    7979
     80#### [v3.4.0](https://github.com/aplazame/woocommerce/tree/v3.4.0) (2021-05-24)
     81
     82* [ADD] Alignment options for widget v4.
     83
    8084#### [v3.3.0](https://github.com/aplazame/woocommerce/tree/v3.3.0) (2021-04-07)
    8185
  • aplazame/tags/3.4.0/aplazame.php

    r2510789 r2536486  
    33 * Plugin Name: Aplazame
    44 * Plugin URI: https://github.com/aplazame/woocommerce
    5  * Version: 3.3.0
     5 * Version: 3.4.0
    66 * Description: Aplazame offers a payment method to receive funding for the purchases.
    77 * Author: Aplazame
     
    1212 *
    1313 * WC requires at least: 2.3
    14  * WC tested up to: 5.1.0
     14 * WC tested up to: 5.3.0
    1515 *
    1616 * License: GNU General Public License v3.0
     
    2626
    2727class WC_Aplazame {
    28     const VERSION      = '3.3.0';
     28    const VERSION      = '3.4.0';
    2929    const METHOD_ID    = 'aplazame';
    3030    const METHOD_TITLE = 'Aplazame';
     
    334334        'widget_legacy'                   => 'no',
    335335        'product_widget_border'           => 'yes',
     336        'product_widget_align'            => 'center',
     337        'cart_widget_align'               => 'center',
    336338    );
    337339
  • aplazame/tags/3.4.0/classes/wc-aplazame-gateway.php

    r2510789 r2536486  
    298298                'default'     => WC_Aplazame_Install::$defaultSettings['product_widget_layout'],
    299299            ),
     300            'product_widget_align'            => array(
     301                'type'        => 'select',
     302                'title'       => __( 'Alignment', 'aplazame' ),
     303                'description' => __( 'Product widget alignment (only new widget)', 'aplazame' ),
     304                'options'     => array(
     305                    'left'   => __( 'Left', 'aplazame' ),
     306                    'center' => __( 'Center', 'aplazame' ),
     307                    'right'  => __( 'Right', 'aplazame' ),
     308                ),
     309                'default'     => WC_Aplazame_Install::$defaultSettings['product_widget_align'],
     310            ),
    300311            'quantity_selector'               => array(
    301312                'type'        => 'text',
     
    368379                'default'     => WC_Aplazame_Install::$defaultSettings['cart_widget_layout'],
    369380            ),
     381            'cart_widget_align'               => array(
     382                'type'        => 'select',
     383                'title'       => __( 'Alignment', 'aplazame' ),
     384                'description' => __( 'Cart widget alignment (only new widget)', 'aplazame' ),
     385                'options'     => array(
     386                    'left'   => __( 'Left', 'aplazame' ),
     387                    'center' => __( 'Center', 'aplazame' ),
     388                    'right'  => __( 'Right', 'aplazame' ),
     389                ),
     390                'default'     => WC_Aplazame_Install::$defaultSettings['cart_widget_align'],
     391            ),
    370392            'button_section'                  => array(
    371393                'title'       => __( 'Button', 'aplazame' ),
  • aplazame/tags/3.4.0/i18n/languages/aplazame.po

    r2510789 r2536486  
    22msgstr ""
    33"Report-Msgid-Bugs-To: https://github.com/aplazame/woocommerce\n"
    4 "POT-Creation-Date: 2021-04-06 15:42+0000\n"
     4"POT-Creation-Date: 2021-05-18 10:47+0000\n"
    55"Language: es_ES\n"
    66"MIME-Version: 1.0\n"
     
    110110msgstr "Widget del producto"
    111111
    112 #: classes/wc-aplazame-gateway.php:252 classes/wc-aplazame-gateway.php:329
     112#: classes/wc-aplazame-gateway.php:252 classes/wc-aplazame-gateway.php:340
    113113msgid "Place to show"
    114114msgstr "Lugar a mostrar"
     
    118118msgstr "Lugar del widget en la página del producto"
    119119
    120 #: classes/wc-aplazame-gateway.php:255 classes/wc-aplazame-gateway.php:332
     120#: classes/wc-aplazame-gateway.php:255 classes/wc-aplazame-gateway.php:343
    121121msgid "~ Not show ~"
    122122msgstr "~ No mostrar ~"
     
    134134msgstr "Después del resumen"
    135135
    136 #: classes/wc-aplazame-gateway.php:265 classes/wc-aplazame-gateway.php:341
     136#: classes/wc-aplazame-gateway.php:265 classes/wc-aplazame-gateway.php:352
    137137msgid "Default instalments"
    138138msgstr "Cuotas por defecto"
     
    142142msgstr "Número de cuotas por defecto en el widget del producto"
    143143
    144 #: classes/wc-aplazame-gateway.php:267 classes/wc-aplazame-gateway.php:343
     144#: classes/wc-aplazame-gateway.php:267 classes/wc-aplazame-gateway.php:354
    145145msgid "Optional (only numbers)"
    146146msgstr "Opcional (solo números)"
    147147
    148 #: classes/wc-aplazame-gateway.php:271 classes/wc-aplazame-gateway.php:347
     148#: classes/wc-aplazame-gateway.php:271 classes/wc-aplazame-gateway.php:358
    149149msgid "Legal notice"
    150150msgstr "Texto legal"
     
    154154msgstr "Mostrar texto legal en el widget del producto"
    155155
    156 #: classes/wc-aplazame-gateway.php:273 classes/wc-aplazame-gateway.php:349
     156#: classes/wc-aplazame-gateway.php:273 classes/wc-aplazame-gateway.php:360
    157157msgid "Show legal notice"
    158158msgstr "Mostrar texto legal"
     
    170170msgstr "Mostrar marco"
    171171
    172 #: classes/wc-aplazame-gateway.php:285 classes/wc-aplazame-gateway.php:355
     172#: classes/wc-aplazame-gateway.php:285 classes/wc-aplazame-gateway.php:366
    173173msgid "Primary color"
    174174msgstr "Color principal"
     
    180180"nuevo widget)"
    181181
    182 #: classes/wc-aplazame-gateway.php:292 classes/wc-aplazame-gateway.php:362
     182#: classes/wc-aplazame-gateway.php:292 classes/wc-aplazame-gateway.php:373
    183183msgid "Layout"
    184184msgstr "Disposición"
     
    188188msgstr "Disposición del widget del producto (sólo nuevo widget)"
    189189
    190 #: classes/wc-aplazame-gateway.php:302
     190#: classes/wc-aplazame-gateway.php:302 classes/wc-aplazame-gateway.php:383
     191msgid "Alignment"
     192msgstr "Alineación"
     193
     194#: classes/wc-aplazame-gateway.php:303
     195msgid "Product widget alignment (only new widget)"
     196msgstr "Alineación del widget del producto (sólo nuevo widget)"
     197
     198#: classes/wc-aplazame-gateway.php:305 classes/wc-aplazame-gateway.php:386
     199msgid "Left"
     200msgstr "Izquierda"
     201
     202#: classes/wc-aplazame-gateway.php:306 classes/wc-aplazame-gateway.php:387
     203msgid "Center"
     204msgstr "Centro"
     205
     206#: classes/wc-aplazame-gateway.php:307 classes/wc-aplazame-gateway.php:388
     207msgid "Right"
     208msgstr "Derecha"
     209
     210#: classes/wc-aplazame-gateway.php:313
    191211msgid "Product quantity CSS selector"
    192212msgstr "Selector CSS del número de unidades del producto"
    193213
    194 #: classes/wc-aplazame-gateway.php:303
     214#: classes/wc-aplazame-gateway.php:314
    195215msgid "CSS selector pointing to product quantity"
    196216msgstr "Selector CSS para obtener la cantidad de producto"
    197217
    198 #: classes/wc-aplazame-gateway.php:308
     218#: classes/wc-aplazame-gateway.php:319
    199219msgid "Product price CSS selector"
    200220msgstr "Selector CSS del precio del producto"
    201221
    202 #: classes/wc-aplazame-gateway.php:309
     222#: classes/wc-aplazame-gateway.php:320
    203223msgid "CSS selector pointing to product price"
    204224msgstr "Selector CSS para obtener el precio del producto"
    205225
    206 #: classes/wc-aplazame-gateway.php:314
     226#: classes/wc-aplazame-gateway.php:325
    207227msgid "Variable product price CSS selector"
    208228msgstr "Selector CSS del precio variable del producto"
    209229
    210 #: classes/wc-aplazame-gateway.php:315
     230#: classes/wc-aplazame-gateway.php:326
    211231msgid "CSS selector pointing to variable product price"
    212232msgstr "Selector CSS para obtener el precio variable del producto"
    213233
    214 #: classes/wc-aplazame-gateway.php:323
     234#: classes/wc-aplazame-gateway.php:334
    215235msgid "Cart widget"
    216236msgstr "Widget del carrito"
    217237
    218 #: classes/wc-aplazame-gateway.php:330
     238#: classes/wc-aplazame-gateway.php:341
    219239msgid "Widget place on cart page"
    220240msgstr "Lugar del widget en la página del carrito"
    221241
    222 #: classes/wc-aplazame-gateway.php:333
     242#: classes/wc-aplazame-gateway.php:344
    223243msgid "Before cart totals"
    224244msgstr "Antes del total"
    225245
    226 #: classes/wc-aplazame-gateway.php:334
     246#: classes/wc-aplazame-gateway.php:345
    227247msgid "After cart totals"
    228248msgstr "Después del total"
    229249
    230 #: classes/wc-aplazame-gateway.php:342
     250#: classes/wc-aplazame-gateway.php:353
    231251msgid "Number of default instalments in cart widget"
    232252msgstr "Número de cuotas por defecto en el widget del carrito"
    233253
    234 #: classes/wc-aplazame-gateway.php:348
     254#: classes/wc-aplazame-gateway.php:359
    235255msgid "Show legal notice in cart widget"
    236256msgstr "Mostrar texto legal en el widget del carrito"
    237257
    238 #: classes/wc-aplazame-gateway.php:356
     258#: classes/wc-aplazame-gateway.php:367
    239259msgid "Primary color hexadecimal code for cart widget (only new widget)"
    240260msgstr ""
     
    242262"nuevo widget)"
    243263
    244 #: classes/wc-aplazame-gateway.php:363
     264#: classes/wc-aplazame-gateway.php:374
    245265msgid "Layout of cart widget (only new widget)"
    246266msgstr "Disposición del widget del carrito (sólo nuevo widget)"
    247267
    248 #: classes/wc-aplazame-gateway.php:371
     268#: classes/wc-aplazame-gateway.php:384
     269msgid "Cart widget alignment (only new widget)"
     270msgstr "Alineación del widget del carrito (sólo nuevo widget)"
     271
     272#: classes/wc-aplazame-gateway.php:393
    249273msgid "Button"
    250274msgstr "Botón"
    251275
    252 #: classes/wc-aplazame-gateway.php:377
     276#: classes/wc-aplazame-gateway.php:399
    253277msgid "Button Selector"
    254278msgstr "Selector del botón"
    255279
    256 #: classes/wc-aplazame-gateway.php:378
     280#: classes/wc-aplazame-gateway.php:400
    257281msgid "Aplazame Button CSS Selector"
    258282msgstr "Selector CSS del botón de pago con Aplazame"
    259283
    260 #: classes/wc-aplazame-gateway.php:386
     284#: classes/wc-aplazame-gateway.php:408
    261285msgid "Button Image"
    262286msgstr "Imagen del botón"
    263287
    264 #: classes/wc-aplazame-gateway.php:387
     288#: classes/wc-aplazame-gateway.php:409
    265289msgid "Aplazame Button Image that you want to show"
    266290msgstr "Imagen del botón de pago con Aplazame que quieres mostrar"
  • aplazame/tags/3.4.0/i18n/languages/aplazame.pot

    r2510789 r2536486  
    77msgid ""
    88msgstr ""
    9 "Project-Id-Version: Aplazame v3.3.0\n"
     9"Project-Id-Version: Aplazame v3.4.0\n"
    1010"Report-Msgid-Bugs-To: https://github.com/aplazame/woocommerce\n"
    11 "POT-Creation-Date: 2021-04-07 12:17+0000\n"
     11"POT-Creation-Date: 2021-05-24 13:21+0000\n"
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    117117msgstr ""
    118118
    119 #: classes/wc-aplazame-gateway.php:252 classes/wc-aplazame-gateway.php:329
     119#: classes/wc-aplazame-gateway.php:252 classes/wc-aplazame-gateway.php:340
    120120msgid "Place to show"
    121121msgstr ""
     
    125125msgstr ""
    126126
    127 #: classes/wc-aplazame-gateway.php:255 classes/wc-aplazame-gateway.php:332
     127#: classes/wc-aplazame-gateway.php:255 classes/wc-aplazame-gateway.php:343
    128128msgid "~ Not show ~"
    129129msgstr ""
     
    141141msgstr ""
    142142
    143 #: classes/wc-aplazame-gateway.php:265 classes/wc-aplazame-gateway.php:341
     143#: classes/wc-aplazame-gateway.php:265 classes/wc-aplazame-gateway.php:352
    144144msgid "Default instalments"
    145145msgstr ""
     
    149149msgstr ""
    150150
    151 #: classes/wc-aplazame-gateway.php:267 classes/wc-aplazame-gateway.php:343
     151#: classes/wc-aplazame-gateway.php:267 classes/wc-aplazame-gateway.php:354
    152152msgid "Optional (only numbers)"
    153153msgstr ""
    154154
    155 #: classes/wc-aplazame-gateway.php:271 classes/wc-aplazame-gateway.php:347
     155#: classes/wc-aplazame-gateway.php:271 classes/wc-aplazame-gateway.php:358
    156156msgid "Legal notice"
    157157msgstr ""
     
    161161msgstr ""
    162162
    163 #: classes/wc-aplazame-gateway.php:273 classes/wc-aplazame-gateway.php:349
     163#: classes/wc-aplazame-gateway.php:273 classes/wc-aplazame-gateway.php:360
    164164msgid "Show legal notice"
    165165msgstr ""
     
    177177msgstr ""
    178178
    179 #: classes/wc-aplazame-gateway.php:285 classes/wc-aplazame-gateway.php:355
     179#: classes/wc-aplazame-gateway.php:285 classes/wc-aplazame-gateway.php:366
    180180msgid "Primary color"
    181181msgstr ""
     
    185185msgstr ""
    186186
    187 #: classes/wc-aplazame-gateway.php:292 classes/wc-aplazame-gateway.php:362
     187#: classes/wc-aplazame-gateway.php:292 classes/wc-aplazame-gateway.php:373
    188188msgid "Layout"
    189189msgstr ""
     
    193193msgstr ""
    194194
    195 #: classes/wc-aplazame-gateway.php:302
     195#: classes/wc-aplazame-gateway.php:302 classes/wc-aplazame-gateway.php:383
     196msgid "Alignment"
     197msgstr ""
     198
     199#: classes/wc-aplazame-gateway.php:303
     200msgid "Product widget alignment (only new widget)"
     201msgstr ""
     202
     203#: classes/wc-aplazame-gateway.php:305 classes/wc-aplazame-gateway.php:386
     204msgid "Left"
     205msgstr ""
     206
     207#: classes/wc-aplazame-gateway.php:306 classes/wc-aplazame-gateway.php:387
     208msgid "Center"
     209msgstr ""
     210
     211#: classes/wc-aplazame-gateway.php:307 classes/wc-aplazame-gateway.php:388
     212msgid "Right"
     213msgstr ""
     214
     215#: classes/wc-aplazame-gateway.php:313
    196216msgid "Product quantity CSS selector"
    197217msgstr ""
    198218
    199 #: classes/wc-aplazame-gateway.php:303
     219#: classes/wc-aplazame-gateway.php:314
    200220msgid "CSS selector pointing to product quantity"
    201221msgstr ""
    202222
    203 #: classes/wc-aplazame-gateway.php:308
     223#: classes/wc-aplazame-gateway.php:319
    204224msgid "Product price CSS selector"
    205225msgstr ""
    206226
    207 #: classes/wc-aplazame-gateway.php:309
     227#: classes/wc-aplazame-gateway.php:320
    208228msgid "CSS selector pointing to product price"
    209229msgstr ""
    210230
    211 #: classes/wc-aplazame-gateway.php:314
     231#: classes/wc-aplazame-gateway.php:325
    212232msgid "Variable product price CSS selector"
    213233msgstr ""
    214234
    215 #: classes/wc-aplazame-gateway.php:315
     235#: classes/wc-aplazame-gateway.php:326
    216236msgid "CSS selector pointing to variable product price"
    217237msgstr ""
    218238
    219 #: classes/wc-aplazame-gateway.php:323
     239#: classes/wc-aplazame-gateway.php:334
    220240msgid "Cart widget"
    221241msgstr ""
    222242
    223 #: classes/wc-aplazame-gateway.php:330
     243#: classes/wc-aplazame-gateway.php:341
    224244msgid "Widget place on cart page"
    225245msgstr ""
    226246
    227 #: classes/wc-aplazame-gateway.php:333
     247#: classes/wc-aplazame-gateway.php:344
    228248msgid "Before cart totals"
    229249msgstr ""
    230250
    231 #: classes/wc-aplazame-gateway.php:334
     251#: classes/wc-aplazame-gateway.php:345
    232252msgid "After cart totals"
    233253msgstr ""
    234254
    235 #: classes/wc-aplazame-gateway.php:342
     255#: classes/wc-aplazame-gateway.php:353
    236256msgid "Number of default instalments in cart widget"
    237257msgstr ""
    238258
    239 #: classes/wc-aplazame-gateway.php:348
     259#: classes/wc-aplazame-gateway.php:359
    240260msgid "Show legal notice in cart widget"
    241261msgstr ""
    242262
    243 #: classes/wc-aplazame-gateway.php:356
     263#: classes/wc-aplazame-gateway.php:367
    244264msgid "Primary color hexadecimal code for cart widget (only new widget)"
    245265msgstr ""
    246266
    247 #: classes/wc-aplazame-gateway.php:363
     267#: classes/wc-aplazame-gateway.php:374
    248268msgid "Layout of cart widget (only new widget)"
    249269msgstr ""
    250270
    251 #: classes/wc-aplazame-gateway.php:371
     271#: classes/wc-aplazame-gateway.php:384
     272msgid "Cart widget alignment (only new widget)"
     273msgstr ""
     274
     275#: classes/wc-aplazame-gateway.php:393
    252276msgid "Button"
    253277msgstr ""
    254278
    255 #: classes/wc-aplazame-gateway.php:377
     279#: classes/wc-aplazame-gateway.php:399
    256280msgid "Button Selector"
    257281msgstr ""
    258282
    259 #: classes/wc-aplazame-gateway.php:378
     283#: classes/wc-aplazame-gateway.php:400
    260284msgid "Aplazame Button CSS Selector"
    261285msgstr ""
    262286
    263 #: classes/wc-aplazame-gateway.php:386
     287#: classes/wc-aplazame-gateway.php:408
    264288msgid "Button Image"
    265289msgstr ""
    266290
    267 #: classes/wc-aplazame-gateway.php:387
     291#: classes/wc-aplazame-gateway.php:409
    268292msgid "Aplazame Button Image that you want to show"
    269293msgstr ""
  • aplazame/tags/3.4.0/templates/widgets/cart.php

    r2480645 r2536486  
    2222        data-option-primary-color="<?php echo esc_attr( $aplazame->settings['cart_widget_primary_color'] ); ?>"
    2323        data-option-layout="<?php echo esc_attr( $aplazame->settings['cart_widget_layout'] ); ?>"
     24        data-option-align="<?php echo esc_attr( $aplazame->settings['cart_widget_align'] ); ?>"
    2425    <?php endif; ?>
    2526    data-amount="<?php echo esc_attr( Aplazame_Sdk_Serializer_Decimal::fromFloat( WC()->cart->total )->jsonSerialize() ); ?>"
  • aplazame/tags/3.4.0/templates/widgets/product.php

    r2510789 r2536486  
    4242        data-option-primary-color="<?php echo esc_attr( $aplazame->settings['product_widget_primary_color'] ); ?>"
    4343        data-option-layout="<?php echo esc_attr( $aplazame->settings['product_widget_layout'] ); ?>"
     44        data-option-align="<?php echo esc_attr( $aplazame->settings['product_widget_align'] ); ?>"
    4445        data-option-border-product="<?php echo esc_attr( $aplazame->settings['product_widget_border'] === 'yes' ? 'true' : 'false' ); ?>"
    4546    <?php endif; ?>
  • aplazame/trunk/README.txt

    r2510789 r2536486  
    33Tags: aplazame,woocommerce,ecommerce,payment,checkout,credit,aplazar,financiar,financiera,financiación,pago aplazado,método de pago
    44Requires at least: 4.0.1
    5 Tested up to: 5.7.0
     5Tested up to: 5.7.2
    66Requires PHP: 5.3.0
    7 Stable tag: 3.3.0
     7Stable tag: 3.4.0
    88License: BSD-3-Clause
    99License URI: https://github.com/aplazame/woocommerce/blob/master/LICENSE
     
    7878== Changelog ==
    7979
     80#### [v3.4.0](https://github.com/aplazame/woocommerce/tree/v3.4.0) (2021-05-24)
     81
     82* [ADD] Alignment options for widget v4.
     83
    8084#### [v3.3.0](https://github.com/aplazame/woocommerce/tree/v3.3.0) (2021-04-07)
    8185
  • aplazame/trunk/aplazame.php

    r2510789 r2536486  
    33 * Plugin Name: Aplazame
    44 * Plugin URI: https://github.com/aplazame/woocommerce
    5  * Version: 3.3.0
     5 * Version: 3.4.0
    66 * Description: Aplazame offers a payment method to receive funding for the purchases.
    77 * Author: Aplazame
     
    1212 *
    1313 * WC requires at least: 2.3
    14  * WC tested up to: 5.1.0
     14 * WC tested up to: 5.3.0
    1515 *
    1616 * License: GNU General Public License v3.0
     
    2626
    2727class WC_Aplazame {
    28     const VERSION      = '3.3.0';
     28    const VERSION      = '3.4.0';
    2929    const METHOD_ID    = 'aplazame';
    3030    const METHOD_TITLE = 'Aplazame';
     
    334334        'widget_legacy'                   => 'no',
    335335        'product_widget_border'           => 'yes',
     336        'product_widget_align'            => 'center',
     337        'cart_widget_align'               => 'center',
    336338    );
    337339
  • aplazame/trunk/classes/wc-aplazame-gateway.php

    r2510789 r2536486  
    298298                'default'     => WC_Aplazame_Install::$defaultSettings['product_widget_layout'],
    299299            ),
     300            'product_widget_align'            => array(
     301                'type'        => 'select',
     302                'title'       => __( 'Alignment', 'aplazame' ),
     303                'description' => __( 'Product widget alignment (only new widget)', 'aplazame' ),
     304                'options'     => array(
     305                    'left'   => __( 'Left', 'aplazame' ),
     306                    'center' => __( 'Center', 'aplazame' ),
     307                    'right'  => __( 'Right', 'aplazame' ),
     308                ),
     309                'default'     => WC_Aplazame_Install::$defaultSettings['product_widget_align'],
     310            ),
    300311            'quantity_selector'               => array(
    301312                'type'        => 'text',
     
    368379                'default'     => WC_Aplazame_Install::$defaultSettings['cart_widget_layout'],
    369380            ),
     381            'cart_widget_align'               => array(
     382                'type'        => 'select',
     383                'title'       => __( 'Alignment', 'aplazame' ),
     384                'description' => __( 'Cart widget alignment (only new widget)', 'aplazame' ),
     385                'options'     => array(
     386                    'left'   => __( 'Left', 'aplazame' ),
     387                    'center' => __( 'Center', 'aplazame' ),
     388                    'right'  => __( 'Right', 'aplazame' ),
     389                ),
     390                'default'     => WC_Aplazame_Install::$defaultSettings['cart_widget_align'],
     391            ),
    370392            'button_section'                  => array(
    371393                'title'       => __( 'Button', 'aplazame' ),
  • aplazame/trunk/i18n/languages/aplazame.po

    r2510789 r2536486  
    22msgstr ""
    33"Report-Msgid-Bugs-To: https://github.com/aplazame/woocommerce\n"
    4 "POT-Creation-Date: 2021-04-06 15:42+0000\n"
     4"POT-Creation-Date: 2021-05-18 10:47+0000\n"
    55"Language: es_ES\n"
    66"MIME-Version: 1.0\n"
     
    110110msgstr "Widget del producto"
    111111
    112 #: classes/wc-aplazame-gateway.php:252 classes/wc-aplazame-gateway.php:329
     112#: classes/wc-aplazame-gateway.php:252 classes/wc-aplazame-gateway.php:340
    113113msgid "Place to show"
    114114msgstr "Lugar a mostrar"
     
    118118msgstr "Lugar del widget en la página del producto"
    119119
    120 #: classes/wc-aplazame-gateway.php:255 classes/wc-aplazame-gateway.php:332
     120#: classes/wc-aplazame-gateway.php:255 classes/wc-aplazame-gateway.php:343
    121121msgid "~ Not show ~"
    122122msgstr "~ No mostrar ~"
     
    134134msgstr "Después del resumen"
    135135
    136 #: classes/wc-aplazame-gateway.php:265 classes/wc-aplazame-gateway.php:341
     136#: classes/wc-aplazame-gateway.php:265 classes/wc-aplazame-gateway.php:352
    137137msgid "Default instalments"
    138138msgstr "Cuotas por defecto"
     
    142142msgstr "Número de cuotas por defecto en el widget del producto"
    143143
    144 #: classes/wc-aplazame-gateway.php:267 classes/wc-aplazame-gateway.php:343
     144#: classes/wc-aplazame-gateway.php:267 classes/wc-aplazame-gateway.php:354
    145145msgid "Optional (only numbers)"
    146146msgstr "Opcional (solo números)"
    147147
    148 #: classes/wc-aplazame-gateway.php:271 classes/wc-aplazame-gateway.php:347
     148#: classes/wc-aplazame-gateway.php:271 classes/wc-aplazame-gateway.php:358
    149149msgid "Legal notice"
    150150msgstr "Texto legal"
     
    154154msgstr "Mostrar texto legal en el widget del producto"
    155155
    156 #: classes/wc-aplazame-gateway.php:273 classes/wc-aplazame-gateway.php:349
     156#: classes/wc-aplazame-gateway.php:273 classes/wc-aplazame-gateway.php:360
    157157msgid "Show legal notice"
    158158msgstr "Mostrar texto legal"
     
    170170msgstr "Mostrar marco"
    171171
    172 #: classes/wc-aplazame-gateway.php:285 classes/wc-aplazame-gateway.php:355
     172#: classes/wc-aplazame-gateway.php:285 classes/wc-aplazame-gateway.php:366
    173173msgid "Primary color"
    174174msgstr "Color principal"
     
    180180"nuevo widget)"
    181181
    182 #: classes/wc-aplazame-gateway.php:292 classes/wc-aplazame-gateway.php:362
     182#: classes/wc-aplazame-gateway.php:292 classes/wc-aplazame-gateway.php:373
    183183msgid "Layout"
    184184msgstr "Disposición"
     
    188188msgstr "Disposición del widget del producto (sólo nuevo widget)"
    189189
    190 #: classes/wc-aplazame-gateway.php:302
     190#: classes/wc-aplazame-gateway.php:302 classes/wc-aplazame-gateway.php:383
     191msgid "Alignment"
     192msgstr "Alineación"
     193
     194#: classes/wc-aplazame-gateway.php:303
     195msgid "Product widget alignment (only new widget)"
     196msgstr "Alineación del widget del producto (sólo nuevo widget)"
     197
     198#: classes/wc-aplazame-gateway.php:305 classes/wc-aplazame-gateway.php:386
     199msgid "Left"
     200msgstr "Izquierda"
     201
     202#: classes/wc-aplazame-gateway.php:306 classes/wc-aplazame-gateway.php:387
     203msgid "Center"
     204msgstr "Centro"
     205
     206#: classes/wc-aplazame-gateway.php:307 classes/wc-aplazame-gateway.php:388
     207msgid "Right"
     208msgstr "Derecha"
     209
     210#: classes/wc-aplazame-gateway.php:313
    191211msgid "Product quantity CSS selector"
    192212msgstr "Selector CSS del número de unidades del producto"
    193213
    194 #: classes/wc-aplazame-gateway.php:303
     214#: classes/wc-aplazame-gateway.php:314
    195215msgid "CSS selector pointing to product quantity"
    196216msgstr "Selector CSS para obtener la cantidad de producto"
    197217
    198 #: classes/wc-aplazame-gateway.php:308
     218#: classes/wc-aplazame-gateway.php:319
    199219msgid "Product price CSS selector"
    200220msgstr "Selector CSS del precio del producto"
    201221
    202 #: classes/wc-aplazame-gateway.php:309
     222#: classes/wc-aplazame-gateway.php:320
    203223msgid "CSS selector pointing to product price"
    204224msgstr "Selector CSS para obtener el precio del producto"
    205225
    206 #: classes/wc-aplazame-gateway.php:314
     226#: classes/wc-aplazame-gateway.php:325
    207227msgid "Variable product price CSS selector"
    208228msgstr "Selector CSS del precio variable del producto"
    209229
    210 #: classes/wc-aplazame-gateway.php:315
     230#: classes/wc-aplazame-gateway.php:326
    211231msgid "CSS selector pointing to variable product price"
    212232msgstr "Selector CSS para obtener el precio variable del producto"
    213233
    214 #: classes/wc-aplazame-gateway.php:323
     234#: classes/wc-aplazame-gateway.php:334
    215235msgid "Cart widget"
    216236msgstr "Widget del carrito"
    217237
    218 #: classes/wc-aplazame-gateway.php:330
     238#: classes/wc-aplazame-gateway.php:341
    219239msgid "Widget place on cart page"
    220240msgstr "Lugar del widget en la página del carrito"
    221241
    222 #: classes/wc-aplazame-gateway.php:333
     242#: classes/wc-aplazame-gateway.php:344
    223243msgid "Before cart totals"
    224244msgstr "Antes del total"
    225245
    226 #: classes/wc-aplazame-gateway.php:334
     246#: classes/wc-aplazame-gateway.php:345
    227247msgid "After cart totals"
    228248msgstr "Después del total"
    229249
    230 #: classes/wc-aplazame-gateway.php:342
     250#: classes/wc-aplazame-gateway.php:353
    231251msgid "Number of default instalments in cart widget"
    232252msgstr "Número de cuotas por defecto en el widget del carrito"
    233253
    234 #: classes/wc-aplazame-gateway.php:348
     254#: classes/wc-aplazame-gateway.php:359
    235255msgid "Show legal notice in cart widget"
    236256msgstr "Mostrar texto legal en el widget del carrito"
    237257
    238 #: classes/wc-aplazame-gateway.php:356
     258#: classes/wc-aplazame-gateway.php:367
    239259msgid "Primary color hexadecimal code for cart widget (only new widget)"
    240260msgstr ""
     
    242262"nuevo widget)"
    243263
    244 #: classes/wc-aplazame-gateway.php:363
     264#: classes/wc-aplazame-gateway.php:374
    245265msgid "Layout of cart widget (only new widget)"
    246266msgstr "Disposición del widget del carrito (sólo nuevo widget)"
    247267
    248 #: classes/wc-aplazame-gateway.php:371
     268#: classes/wc-aplazame-gateway.php:384
     269msgid "Cart widget alignment (only new widget)"
     270msgstr "Alineación del widget del carrito (sólo nuevo widget)"
     271
     272#: classes/wc-aplazame-gateway.php:393
    249273msgid "Button"
    250274msgstr "Botón"
    251275
    252 #: classes/wc-aplazame-gateway.php:377
     276#: classes/wc-aplazame-gateway.php:399
    253277msgid "Button Selector"
    254278msgstr "Selector del botón"
    255279
    256 #: classes/wc-aplazame-gateway.php:378
     280#: classes/wc-aplazame-gateway.php:400
    257281msgid "Aplazame Button CSS Selector"
    258282msgstr "Selector CSS del botón de pago con Aplazame"
    259283
    260 #: classes/wc-aplazame-gateway.php:386
     284#: classes/wc-aplazame-gateway.php:408
    261285msgid "Button Image"
    262286msgstr "Imagen del botón"
    263287
    264 #: classes/wc-aplazame-gateway.php:387
     288#: classes/wc-aplazame-gateway.php:409
    265289msgid "Aplazame Button Image that you want to show"
    266290msgstr "Imagen del botón de pago con Aplazame que quieres mostrar"
  • aplazame/trunk/i18n/languages/aplazame.pot

    r2510789 r2536486  
    77msgid ""
    88msgstr ""
    9 "Project-Id-Version: Aplazame v3.3.0\n"
     9"Project-Id-Version: Aplazame v3.4.0\n"
    1010"Report-Msgid-Bugs-To: https://github.com/aplazame/woocommerce\n"
    11 "POT-Creation-Date: 2021-04-07 12:17+0000\n"
     11"POT-Creation-Date: 2021-05-24 13:21+0000\n"
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    117117msgstr ""
    118118
    119 #: classes/wc-aplazame-gateway.php:252 classes/wc-aplazame-gateway.php:329
     119#: classes/wc-aplazame-gateway.php:252 classes/wc-aplazame-gateway.php:340
    120120msgid "Place to show"
    121121msgstr ""
     
    125125msgstr ""
    126126
    127 #: classes/wc-aplazame-gateway.php:255 classes/wc-aplazame-gateway.php:332
     127#: classes/wc-aplazame-gateway.php:255 classes/wc-aplazame-gateway.php:343
    128128msgid "~ Not show ~"
    129129msgstr ""
     
    141141msgstr ""
    142142
    143 #: classes/wc-aplazame-gateway.php:265 classes/wc-aplazame-gateway.php:341
     143#: classes/wc-aplazame-gateway.php:265 classes/wc-aplazame-gateway.php:352
    144144msgid "Default instalments"
    145145msgstr ""
     
    149149msgstr ""
    150150
    151 #: classes/wc-aplazame-gateway.php:267 classes/wc-aplazame-gateway.php:343
     151#: classes/wc-aplazame-gateway.php:267 classes/wc-aplazame-gateway.php:354
    152152msgid "Optional (only numbers)"
    153153msgstr ""
    154154
    155 #: classes/wc-aplazame-gateway.php:271 classes/wc-aplazame-gateway.php:347
     155#: classes/wc-aplazame-gateway.php:271 classes/wc-aplazame-gateway.php:358
    156156msgid "Legal notice"
    157157msgstr ""
     
    161161msgstr ""
    162162
    163 #: classes/wc-aplazame-gateway.php:273 classes/wc-aplazame-gateway.php:349
     163#: classes/wc-aplazame-gateway.php:273 classes/wc-aplazame-gateway.php:360
    164164msgid "Show legal notice"
    165165msgstr ""
     
    177177msgstr ""
    178178
    179 #: classes/wc-aplazame-gateway.php:285 classes/wc-aplazame-gateway.php:355
     179#: classes/wc-aplazame-gateway.php:285 classes/wc-aplazame-gateway.php:366
    180180msgid "Primary color"
    181181msgstr ""
     
    185185msgstr ""
    186186
    187 #: classes/wc-aplazame-gateway.php:292 classes/wc-aplazame-gateway.php:362
     187#: classes/wc-aplazame-gateway.php:292 classes/wc-aplazame-gateway.php:373
    188188msgid "Layout"
    189189msgstr ""
     
    193193msgstr ""
    194194
    195 #: classes/wc-aplazame-gateway.php:302
     195#: classes/wc-aplazame-gateway.php:302 classes/wc-aplazame-gateway.php:383
     196msgid "Alignment"
     197msgstr ""
     198
     199#: classes/wc-aplazame-gateway.php:303
     200msgid "Product widget alignment (only new widget)"
     201msgstr ""
     202
     203#: classes/wc-aplazame-gateway.php:305 classes/wc-aplazame-gateway.php:386
     204msgid "Left"
     205msgstr ""
     206
     207#: classes/wc-aplazame-gateway.php:306 classes/wc-aplazame-gateway.php:387
     208msgid "Center"
     209msgstr ""
     210
     211#: classes/wc-aplazame-gateway.php:307 classes/wc-aplazame-gateway.php:388
     212msgid "Right"
     213msgstr ""
     214
     215#: classes/wc-aplazame-gateway.php:313
    196216msgid "Product quantity CSS selector"
    197217msgstr ""
    198218
    199 #: classes/wc-aplazame-gateway.php:303
     219#: classes/wc-aplazame-gateway.php:314
    200220msgid "CSS selector pointing to product quantity"
    201221msgstr ""
    202222
    203 #: classes/wc-aplazame-gateway.php:308
     223#: classes/wc-aplazame-gateway.php:319
    204224msgid "Product price CSS selector"
    205225msgstr ""
    206226
    207 #: classes/wc-aplazame-gateway.php:309
     227#: classes/wc-aplazame-gateway.php:320
    208228msgid "CSS selector pointing to product price"
    209229msgstr ""
    210230
    211 #: classes/wc-aplazame-gateway.php:314
     231#: classes/wc-aplazame-gateway.php:325
    212232msgid "Variable product price CSS selector"
    213233msgstr ""
    214234
    215 #: classes/wc-aplazame-gateway.php:315
     235#: classes/wc-aplazame-gateway.php:326
    216236msgid "CSS selector pointing to variable product price"
    217237msgstr ""
    218238
    219 #: classes/wc-aplazame-gateway.php:323
     239#: classes/wc-aplazame-gateway.php:334
    220240msgid "Cart widget"
    221241msgstr ""
    222242
    223 #: classes/wc-aplazame-gateway.php:330
     243#: classes/wc-aplazame-gateway.php:341
    224244msgid "Widget place on cart page"
    225245msgstr ""
    226246
    227 #: classes/wc-aplazame-gateway.php:333
     247#: classes/wc-aplazame-gateway.php:344
    228248msgid "Before cart totals"
    229249msgstr ""
    230250
    231 #: classes/wc-aplazame-gateway.php:334
     251#: classes/wc-aplazame-gateway.php:345
    232252msgid "After cart totals"
    233253msgstr ""
    234254
    235 #: classes/wc-aplazame-gateway.php:342
     255#: classes/wc-aplazame-gateway.php:353
    236256msgid "Number of default instalments in cart widget"
    237257msgstr ""
    238258
    239 #: classes/wc-aplazame-gateway.php:348
     259#: classes/wc-aplazame-gateway.php:359
    240260msgid "Show legal notice in cart widget"
    241261msgstr ""
    242262
    243 #: classes/wc-aplazame-gateway.php:356
     263#: classes/wc-aplazame-gateway.php:367
    244264msgid "Primary color hexadecimal code for cart widget (only new widget)"
    245265msgstr ""
    246266
    247 #: classes/wc-aplazame-gateway.php:363
     267#: classes/wc-aplazame-gateway.php:374
    248268msgid "Layout of cart widget (only new widget)"
    249269msgstr ""
    250270
    251 #: classes/wc-aplazame-gateway.php:371
     271#: classes/wc-aplazame-gateway.php:384
     272msgid "Cart widget alignment (only new widget)"
     273msgstr ""
     274
     275#: classes/wc-aplazame-gateway.php:393
    252276msgid "Button"
    253277msgstr ""
    254278
    255 #: classes/wc-aplazame-gateway.php:377
     279#: classes/wc-aplazame-gateway.php:399
    256280msgid "Button Selector"
    257281msgstr ""
    258282
    259 #: classes/wc-aplazame-gateway.php:378
     283#: classes/wc-aplazame-gateway.php:400
    260284msgid "Aplazame Button CSS Selector"
    261285msgstr ""
    262286
    263 #: classes/wc-aplazame-gateway.php:386
     287#: classes/wc-aplazame-gateway.php:408
    264288msgid "Button Image"
    265289msgstr ""
    266290
    267 #: classes/wc-aplazame-gateway.php:387
     291#: classes/wc-aplazame-gateway.php:409
    268292msgid "Aplazame Button Image that you want to show"
    269293msgstr ""
  • aplazame/trunk/templates/widgets/cart.php

    r2480645 r2536486  
    2222        data-option-primary-color="<?php echo esc_attr( $aplazame->settings['cart_widget_primary_color'] ); ?>"
    2323        data-option-layout="<?php echo esc_attr( $aplazame->settings['cart_widget_layout'] ); ?>"
     24        data-option-align="<?php echo esc_attr( $aplazame->settings['cart_widget_align'] ); ?>"
    2425    <?php endif; ?>
    2526    data-amount="<?php echo esc_attr( Aplazame_Sdk_Serializer_Decimal::fromFloat( WC()->cart->total )->jsonSerialize() ); ?>"
  • aplazame/trunk/templates/widgets/product.php

    r2510789 r2536486  
    4242        data-option-primary-color="<?php echo esc_attr( $aplazame->settings['product_widget_primary_color'] ); ?>"
    4343        data-option-layout="<?php echo esc_attr( $aplazame->settings['product_widget_layout'] ); ?>"
     44        data-option-align="<?php echo esc_attr( $aplazame->settings['product_widget_align'] ); ?>"
    4445        data-option-border-product="<?php echo esc_attr( $aplazame->settings['product_widget_border'] === 'yes' ? 'true' : 'false' ); ?>"
    4546    <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.