Changeset 2536486
- Timestamp:
- 05/24/2021 01:25:55 PM (5 years ago)
- Location:
- aplazame
- Files:
-
- 16 edited
- 1 copied
-
tags/3.4.0 (copied) (copied from aplazame/trunk)
-
tags/3.4.0/README.txt (modified) (2 diffs)
-
tags/3.4.0/aplazame.php (modified) (4 diffs)
-
tags/3.4.0/classes/wc-aplazame-gateway.php (modified) (2 diffs)
-
tags/3.4.0/i18n/languages/aplazame-es_ES.mo (modified) (previous)
-
tags/3.4.0/i18n/languages/aplazame.po (modified) (10 diffs)
-
tags/3.4.0/i18n/languages/aplazame.pot (modified) (9 diffs)
-
tags/3.4.0/templates/widgets/cart.php (modified) (1 diff)
-
tags/3.4.0/templates/widgets/product.php (modified) (1 diff)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/aplazame.php (modified) (4 diffs)
-
trunk/classes/wc-aplazame-gateway.php (modified) (2 diffs)
-
trunk/i18n/languages/aplazame-es_ES.mo (modified) (previous)
-
trunk/i18n/languages/aplazame.po (modified) (10 diffs)
-
trunk/i18n/languages/aplazame.pot (modified) (9 diffs)
-
trunk/templates/widgets/cart.php (modified) (1 diff)
-
trunk/templates/widgets/product.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
aplazame/tags/3.4.0/README.txt
r2510789 r2536486 3 3 Tags: aplazame,woocommerce,ecommerce,payment,checkout,credit,aplazar,financiar,financiera,financiación,pago aplazado,método de pago 4 4 Requires at least: 4.0.1 5 Tested up to: 5.7. 05 Tested up to: 5.7.2 6 6 Requires PHP: 5.3.0 7 Stable tag: 3. 3.07 Stable tag: 3.4.0 8 8 License: BSD-3-Clause 9 9 License URI: https://github.com/aplazame/woocommerce/blob/master/LICENSE … … 78 78 == Changelog == 79 79 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 80 84 #### [v3.3.0](https://github.com/aplazame/woocommerce/tree/v3.3.0) (2021-04-07) 81 85 -
aplazame/tags/3.4.0/aplazame.php
r2510789 r2536486 3 3 * Plugin Name: Aplazame 4 4 * Plugin URI: https://github.com/aplazame/woocommerce 5 * Version: 3. 3.05 * Version: 3.4.0 6 6 * Description: Aplazame offers a payment method to receive funding for the purchases. 7 7 * Author: Aplazame … … 12 12 * 13 13 * WC requires at least: 2.3 14 * WC tested up to: 5. 1.014 * WC tested up to: 5.3.0 15 15 * 16 16 * License: GNU General Public License v3.0 … … 26 26 27 27 class WC_Aplazame { 28 const VERSION = '3. 3.0';28 const VERSION = '3.4.0'; 29 29 const METHOD_ID = 'aplazame'; 30 30 const METHOD_TITLE = 'Aplazame'; … … 334 334 'widget_legacy' => 'no', 335 335 'product_widget_border' => 'yes', 336 'product_widget_align' => 'center', 337 'cart_widget_align' => 'center', 336 338 ); 337 339 -
aplazame/tags/3.4.0/classes/wc-aplazame-gateway.php
r2510789 r2536486 298 298 'default' => WC_Aplazame_Install::$defaultSettings['product_widget_layout'], 299 299 ), 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 ), 300 311 'quantity_selector' => array( 301 312 'type' => 'text', … … 368 379 'default' => WC_Aplazame_Install::$defaultSettings['cart_widget_layout'], 369 380 ), 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 ), 370 392 'button_section' => array( 371 393 'title' => __( 'Button', 'aplazame' ), -
aplazame/tags/3.4.0/i18n/languages/aplazame.po
r2510789 r2536486 2 2 msgstr "" 3 3 "Report-Msgid-Bugs-To: https://github.com/aplazame/woocommerce\n" 4 "POT-Creation-Date: 2021-0 4-06 15:42+0000\n"4 "POT-Creation-Date: 2021-05-18 10:47+0000\n" 5 5 "Language: es_ES\n" 6 6 "MIME-Version: 1.0\n" … … 110 110 msgstr "Widget del producto" 111 111 112 #: classes/wc-aplazame-gateway.php:252 classes/wc-aplazame-gateway.php:3 29112 #: classes/wc-aplazame-gateway.php:252 classes/wc-aplazame-gateway.php:340 113 113 msgid "Place to show" 114 114 msgstr "Lugar a mostrar" … … 118 118 msgstr "Lugar del widget en la página del producto" 119 119 120 #: classes/wc-aplazame-gateway.php:255 classes/wc-aplazame-gateway.php:3 32120 #: classes/wc-aplazame-gateway.php:255 classes/wc-aplazame-gateway.php:343 121 121 msgid "~ Not show ~" 122 122 msgstr "~ No mostrar ~" … … 134 134 msgstr "Después del resumen" 135 135 136 #: classes/wc-aplazame-gateway.php:265 classes/wc-aplazame-gateway.php:3 41136 #: classes/wc-aplazame-gateway.php:265 classes/wc-aplazame-gateway.php:352 137 137 msgid "Default instalments" 138 138 msgstr "Cuotas por defecto" … … 142 142 msgstr "Número de cuotas por defecto en el widget del producto" 143 143 144 #: classes/wc-aplazame-gateway.php:267 classes/wc-aplazame-gateway.php:3 43144 #: classes/wc-aplazame-gateway.php:267 classes/wc-aplazame-gateway.php:354 145 145 msgid "Optional (only numbers)" 146 146 msgstr "Opcional (solo números)" 147 147 148 #: classes/wc-aplazame-gateway.php:271 classes/wc-aplazame-gateway.php:3 47148 #: classes/wc-aplazame-gateway.php:271 classes/wc-aplazame-gateway.php:358 149 149 msgid "Legal notice" 150 150 msgstr "Texto legal" … … 154 154 msgstr "Mostrar texto legal en el widget del producto" 155 155 156 #: classes/wc-aplazame-gateway.php:273 classes/wc-aplazame-gateway.php:3 49156 #: classes/wc-aplazame-gateway.php:273 classes/wc-aplazame-gateway.php:360 157 157 msgid "Show legal notice" 158 158 msgstr "Mostrar texto legal" … … 170 170 msgstr "Mostrar marco" 171 171 172 #: classes/wc-aplazame-gateway.php:285 classes/wc-aplazame-gateway.php:3 55172 #: classes/wc-aplazame-gateway.php:285 classes/wc-aplazame-gateway.php:366 173 173 msgid "Primary color" 174 174 msgstr "Color principal" … … 180 180 "nuevo widget)" 181 181 182 #: classes/wc-aplazame-gateway.php:292 classes/wc-aplazame-gateway.php:3 62182 #: classes/wc-aplazame-gateway.php:292 classes/wc-aplazame-gateway.php:373 183 183 msgid "Layout" 184 184 msgstr "Disposición" … … 188 188 msgstr "Disposición del widget del producto (sólo nuevo widget)" 189 189 190 #: classes/wc-aplazame-gateway.php:302 190 #: classes/wc-aplazame-gateway.php:302 classes/wc-aplazame-gateway.php:383 191 msgid "Alignment" 192 msgstr "Alineación" 193 194 #: classes/wc-aplazame-gateway.php:303 195 msgid "Product widget alignment (only new widget)" 196 msgstr "Alineación del widget del producto (sólo nuevo widget)" 197 198 #: classes/wc-aplazame-gateway.php:305 classes/wc-aplazame-gateway.php:386 199 msgid "Left" 200 msgstr "Izquierda" 201 202 #: classes/wc-aplazame-gateway.php:306 classes/wc-aplazame-gateway.php:387 203 msgid "Center" 204 msgstr "Centro" 205 206 #: classes/wc-aplazame-gateway.php:307 classes/wc-aplazame-gateway.php:388 207 msgid "Right" 208 msgstr "Derecha" 209 210 #: classes/wc-aplazame-gateway.php:313 191 211 msgid "Product quantity CSS selector" 192 212 msgstr "Selector CSS del número de unidades del producto" 193 213 194 #: classes/wc-aplazame-gateway.php:3 03214 #: classes/wc-aplazame-gateway.php:314 195 215 msgid "CSS selector pointing to product quantity" 196 216 msgstr "Selector CSS para obtener la cantidad de producto" 197 217 198 #: classes/wc-aplazame-gateway.php:3 08218 #: classes/wc-aplazame-gateway.php:319 199 219 msgid "Product price CSS selector" 200 220 msgstr "Selector CSS del precio del producto" 201 221 202 #: classes/wc-aplazame-gateway.php:3 09222 #: classes/wc-aplazame-gateway.php:320 203 223 msgid "CSS selector pointing to product price" 204 224 msgstr "Selector CSS para obtener el precio del producto" 205 225 206 #: classes/wc-aplazame-gateway.php:3 14226 #: classes/wc-aplazame-gateway.php:325 207 227 msgid "Variable product price CSS selector" 208 228 msgstr "Selector CSS del precio variable del producto" 209 229 210 #: classes/wc-aplazame-gateway.php:3 15230 #: classes/wc-aplazame-gateway.php:326 211 231 msgid "CSS selector pointing to variable product price" 212 232 msgstr "Selector CSS para obtener el precio variable del producto" 213 233 214 #: classes/wc-aplazame-gateway.php:3 23234 #: classes/wc-aplazame-gateway.php:334 215 235 msgid "Cart widget" 216 236 msgstr "Widget del carrito" 217 237 218 #: classes/wc-aplazame-gateway.php:3 30238 #: classes/wc-aplazame-gateway.php:341 219 239 msgid "Widget place on cart page" 220 240 msgstr "Lugar del widget en la página del carrito" 221 241 222 #: classes/wc-aplazame-gateway.php:3 33242 #: classes/wc-aplazame-gateway.php:344 223 243 msgid "Before cart totals" 224 244 msgstr "Antes del total" 225 245 226 #: classes/wc-aplazame-gateway.php:3 34246 #: classes/wc-aplazame-gateway.php:345 227 247 msgid "After cart totals" 228 248 msgstr "Después del total" 229 249 230 #: classes/wc-aplazame-gateway.php:3 42250 #: classes/wc-aplazame-gateway.php:353 231 251 msgid "Number of default instalments in cart widget" 232 252 msgstr "Número de cuotas por defecto en el widget del carrito" 233 253 234 #: classes/wc-aplazame-gateway.php:3 48254 #: classes/wc-aplazame-gateway.php:359 235 255 msgid "Show legal notice in cart widget" 236 256 msgstr "Mostrar texto legal en el widget del carrito" 237 257 238 #: classes/wc-aplazame-gateway.php:3 56258 #: classes/wc-aplazame-gateway.php:367 239 259 msgid "Primary color hexadecimal code for cart widget (only new widget)" 240 260 msgstr "" … … 242 262 "nuevo widget)" 243 263 244 #: classes/wc-aplazame-gateway.php:3 63264 #: classes/wc-aplazame-gateway.php:374 245 265 msgid "Layout of cart widget (only new widget)" 246 266 msgstr "Disposición del widget del carrito (sólo nuevo widget)" 247 267 248 #: classes/wc-aplazame-gateway.php:371 268 #: classes/wc-aplazame-gateway.php:384 269 msgid "Cart widget alignment (only new widget)" 270 msgstr "Alineación del widget del carrito (sólo nuevo widget)" 271 272 #: classes/wc-aplazame-gateway.php:393 249 273 msgid "Button" 250 274 msgstr "Botón" 251 275 252 #: classes/wc-aplazame-gateway.php:3 77276 #: classes/wc-aplazame-gateway.php:399 253 277 msgid "Button Selector" 254 278 msgstr "Selector del botón" 255 279 256 #: classes/wc-aplazame-gateway.php: 378280 #: classes/wc-aplazame-gateway.php:400 257 281 msgid "Aplazame Button CSS Selector" 258 282 msgstr "Selector CSS del botón de pago con Aplazame" 259 283 260 #: classes/wc-aplazame-gateway.php: 386284 #: classes/wc-aplazame-gateway.php:408 261 285 msgid "Button Image" 262 286 msgstr "Imagen del botón" 263 287 264 #: classes/wc-aplazame-gateway.php: 387288 #: classes/wc-aplazame-gateway.php:409 265 289 msgid "Aplazame Button Image that you want to show" 266 290 msgstr "Imagen del botón de pago con Aplazame que quieres mostrar" -
aplazame/tags/3.4.0/i18n/languages/aplazame.pot
r2510789 r2536486 7 7 msgid "" 8 8 msgstr "" 9 "Project-Id-Version: Aplazame v3. 3.0\n"9 "Project-Id-Version: Aplazame v3.4.0\n" 10 10 "Report-Msgid-Bugs-To: https://github.com/aplazame/woocommerce\n" 11 "POT-Creation-Date: 2021-0 4-07 12:17+0000\n"11 "POT-Creation-Date: 2021-05-24 13:21+0000\n" 12 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 117 117 msgstr "" 118 118 119 #: classes/wc-aplazame-gateway.php:252 classes/wc-aplazame-gateway.php:3 29119 #: classes/wc-aplazame-gateway.php:252 classes/wc-aplazame-gateway.php:340 120 120 msgid "Place to show" 121 121 msgstr "" … … 125 125 msgstr "" 126 126 127 #: classes/wc-aplazame-gateway.php:255 classes/wc-aplazame-gateway.php:3 32127 #: classes/wc-aplazame-gateway.php:255 classes/wc-aplazame-gateway.php:343 128 128 msgid "~ Not show ~" 129 129 msgstr "" … … 141 141 msgstr "" 142 142 143 #: classes/wc-aplazame-gateway.php:265 classes/wc-aplazame-gateway.php:3 41143 #: classes/wc-aplazame-gateway.php:265 classes/wc-aplazame-gateway.php:352 144 144 msgid "Default instalments" 145 145 msgstr "" … … 149 149 msgstr "" 150 150 151 #: classes/wc-aplazame-gateway.php:267 classes/wc-aplazame-gateway.php:3 43151 #: classes/wc-aplazame-gateway.php:267 classes/wc-aplazame-gateway.php:354 152 152 msgid "Optional (only numbers)" 153 153 msgstr "" 154 154 155 #: classes/wc-aplazame-gateway.php:271 classes/wc-aplazame-gateway.php:3 47155 #: classes/wc-aplazame-gateway.php:271 classes/wc-aplazame-gateway.php:358 156 156 msgid "Legal notice" 157 157 msgstr "" … … 161 161 msgstr "" 162 162 163 #: classes/wc-aplazame-gateway.php:273 classes/wc-aplazame-gateway.php:3 49163 #: classes/wc-aplazame-gateway.php:273 classes/wc-aplazame-gateway.php:360 164 164 msgid "Show legal notice" 165 165 msgstr "" … … 177 177 msgstr "" 178 178 179 #: classes/wc-aplazame-gateway.php:285 classes/wc-aplazame-gateway.php:3 55179 #: classes/wc-aplazame-gateway.php:285 classes/wc-aplazame-gateway.php:366 180 180 msgid "Primary color" 181 181 msgstr "" … … 185 185 msgstr "" 186 186 187 #: classes/wc-aplazame-gateway.php:292 classes/wc-aplazame-gateway.php:3 62187 #: classes/wc-aplazame-gateway.php:292 classes/wc-aplazame-gateway.php:373 188 188 msgid "Layout" 189 189 msgstr "" … … 193 193 msgstr "" 194 194 195 #: classes/wc-aplazame-gateway.php:302 195 #: classes/wc-aplazame-gateway.php:302 classes/wc-aplazame-gateway.php:383 196 msgid "Alignment" 197 msgstr "" 198 199 #: classes/wc-aplazame-gateway.php:303 200 msgid "Product widget alignment (only new widget)" 201 msgstr "" 202 203 #: classes/wc-aplazame-gateway.php:305 classes/wc-aplazame-gateway.php:386 204 msgid "Left" 205 msgstr "" 206 207 #: classes/wc-aplazame-gateway.php:306 classes/wc-aplazame-gateway.php:387 208 msgid "Center" 209 msgstr "" 210 211 #: classes/wc-aplazame-gateway.php:307 classes/wc-aplazame-gateway.php:388 212 msgid "Right" 213 msgstr "" 214 215 #: classes/wc-aplazame-gateway.php:313 196 216 msgid "Product quantity CSS selector" 197 217 msgstr "" 198 218 199 #: classes/wc-aplazame-gateway.php:3 03219 #: classes/wc-aplazame-gateway.php:314 200 220 msgid "CSS selector pointing to product quantity" 201 221 msgstr "" 202 222 203 #: classes/wc-aplazame-gateway.php:3 08223 #: classes/wc-aplazame-gateway.php:319 204 224 msgid "Product price CSS selector" 205 225 msgstr "" 206 226 207 #: classes/wc-aplazame-gateway.php:3 09227 #: classes/wc-aplazame-gateway.php:320 208 228 msgid "CSS selector pointing to product price" 209 229 msgstr "" 210 230 211 #: classes/wc-aplazame-gateway.php:3 14231 #: classes/wc-aplazame-gateway.php:325 212 232 msgid "Variable product price CSS selector" 213 233 msgstr "" 214 234 215 #: classes/wc-aplazame-gateway.php:3 15235 #: classes/wc-aplazame-gateway.php:326 216 236 msgid "CSS selector pointing to variable product price" 217 237 msgstr "" 218 238 219 #: classes/wc-aplazame-gateway.php:3 23239 #: classes/wc-aplazame-gateway.php:334 220 240 msgid "Cart widget" 221 241 msgstr "" 222 242 223 #: classes/wc-aplazame-gateway.php:3 30243 #: classes/wc-aplazame-gateway.php:341 224 244 msgid "Widget place on cart page" 225 245 msgstr "" 226 246 227 #: classes/wc-aplazame-gateway.php:3 33247 #: classes/wc-aplazame-gateway.php:344 228 248 msgid "Before cart totals" 229 249 msgstr "" 230 250 231 #: classes/wc-aplazame-gateway.php:3 34251 #: classes/wc-aplazame-gateway.php:345 232 252 msgid "After cart totals" 233 253 msgstr "" 234 254 235 #: classes/wc-aplazame-gateway.php:3 42255 #: classes/wc-aplazame-gateway.php:353 236 256 msgid "Number of default instalments in cart widget" 237 257 msgstr "" 238 258 239 #: classes/wc-aplazame-gateway.php:3 48259 #: classes/wc-aplazame-gateway.php:359 240 260 msgid "Show legal notice in cart widget" 241 261 msgstr "" 242 262 243 #: classes/wc-aplazame-gateway.php:3 56263 #: classes/wc-aplazame-gateway.php:367 244 264 msgid "Primary color hexadecimal code for cart widget (only new widget)" 245 265 msgstr "" 246 266 247 #: classes/wc-aplazame-gateway.php:3 63267 #: classes/wc-aplazame-gateway.php:374 248 268 msgid "Layout of cart widget (only new widget)" 249 269 msgstr "" 250 270 251 #: classes/wc-aplazame-gateway.php:371 271 #: classes/wc-aplazame-gateway.php:384 272 msgid "Cart widget alignment (only new widget)" 273 msgstr "" 274 275 #: classes/wc-aplazame-gateway.php:393 252 276 msgid "Button" 253 277 msgstr "" 254 278 255 #: classes/wc-aplazame-gateway.php:3 77279 #: classes/wc-aplazame-gateway.php:399 256 280 msgid "Button Selector" 257 281 msgstr "" 258 282 259 #: classes/wc-aplazame-gateway.php: 378283 #: classes/wc-aplazame-gateway.php:400 260 284 msgid "Aplazame Button CSS Selector" 261 285 msgstr "" 262 286 263 #: classes/wc-aplazame-gateway.php: 386287 #: classes/wc-aplazame-gateway.php:408 264 288 msgid "Button Image" 265 289 msgstr "" 266 290 267 #: classes/wc-aplazame-gateway.php: 387291 #: classes/wc-aplazame-gateway.php:409 268 292 msgid "Aplazame Button Image that you want to show" 269 293 msgstr "" -
aplazame/tags/3.4.0/templates/widgets/cart.php
r2480645 r2536486 22 22 data-option-primary-color="<?php echo esc_attr( $aplazame->settings['cart_widget_primary_color'] ); ?>" 23 23 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'] ); ?>" 24 25 <?php endif; ?> 25 26 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 42 42 data-option-primary-color="<?php echo esc_attr( $aplazame->settings['product_widget_primary_color'] ); ?>" 43 43 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'] ); ?>" 44 45 data-option-border-product="<?php echo esc_attr( $aplazame->settings['product_widget_border'] === 'yes' ? 'true' : 'false' ); ?>" 45 46 <?php endif; ?> -
aplazame/trunk/README.txt
r2510789 r2536486 3 3 Tags: aplazame,woocommerce,ecommerce,payment,checkout,credit,aplazar,financiar,financiera,financiación,pago aplazado,método de pago 4 4 Requires at least: 4.0.1 5 Tested up to: 5.7. 05 Tested up to: 5.7.2 6 6 Requires PHP: 5.3.0 7 Stable tag: 3. 3.07 Stable tag: 3.4.0 8 8 License: BSD-3-Clause 9 9 License URI: https://github.com/aplazame/woocommerce/blob/master/LICENSE … … 78 78 == Changelog == 79 79 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 80 84 #### [v3.3.0](https://github.com/aplazame/woocommerce/tree/v3.3.0) (2021-04-07) 81 85 -
aplazame/trunk/aplazame.php
r2510789 r2536486 3 3 * Plugin Name: Aplazame 4 4 * Plugin URI: https://github.com/aplazame/woocommerce 5 * Version: 3. 3.05 * Version: 3.4.0 6 6 * Description: Aplazame offers a payment method to receive funding for the purchases. 7 7 * Author: Aplazame … … 12 12 * 13 13 * WC requires at least: 2.3 14 * WC tested up to: 5. 1.014 * WC tested up to: 5.3.0 15 15 * 16 16 * License: GNU General Public License v3.0 … … 26 26 27 27 class WC_Aplazame { 28 const VERSION = '3. 3.0';28 const VERSION = '3.4.0'; 29 29 const METHOD_ID = 'aplazame'; 30 30 const METHOD_TITLE = 'Aplazame'; … … 334 334 'widget_legacy' => 'no', 335 335 'product_widget_border' => 'yes', 336 'product_widget_align' => 'center', 337 'cart_widget_align' => 'center', 336 338 ); 337 339 -
aplazame/trunk/classes/wc-aplazame-gateway.php
r2510789 r2536486 298 298 'default' => WC_Aplazame_Install::$defaultSettings['product_widget_layout'], 299 299 ), 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 ), 300 311 'quantity_selector' => array( 301 312 'type' => 'text', … … 368 379 'default' => WC_Aplazame_Install::$defaultSettings['cart_widget_layout'], 369 380 ), 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 ), 370 392 'button_section' => array( 371 393 'title' => __( 'Button', 'aplazame' ), -
aplazame/trunk/i18n/languages/aplazame.po
r2510789 r2536486 2 2 msgstr "" 3 3 "Report-Msgid-Bugs-To: https://github.com/aplazame/woocommerce\n" 4 "POT-Creation-Date: 2021-0 4-06 15:42+0000\n"4 "POT-Creation-Date: 2021-05-18 10:47+0000\n" 5 5 "Language: es_ES\n" 6 6 "MIME-Version: 1.0\n" … … 110 110 msgstr "Widget del producto" 111 111 112 #: classes/wc-aplazame-gateway.php:252 classes/wc-aplazame-gateway.php:3 29112 #: classes/wc-aplazame-gateway.php:252 classes/wc-aplazame-gateway.php:340 113 113 msgid "Place to show" 114 114 msgstr "Lugar a mostrar" … … 118 118 msgstr "Lugar del widget en la página del producto" 119 119 120 #: classes/wc-aplazame-gateway.php:255 classes/wc-aplazame-gateway.php:3 32120 #: classes/wc-aplazame-gateway.php:255 classes/wc-aplazame-gateway.php:343 121 121 msgid "~ Not show ~" 122 122 msgstr "~ No mostrar ~" … … 134 134 msgstr "Después del resumen" 135 135 136 #: classes/wc-aplazame-gateway.php:265 classes/wc-aplazame-gateway.php:3 41136 #: classes/wc-aplazame-gateway.php:265 classes/wc-aplazame-gateway.php:352 137 137 msgid "Default instalments" 138 138 msgstr "Cuotas por defecto" … … 142 142 msgstr "Número de cuotas por defecto en el widget del producto" 143 143 144 #: classes/wc-aplazame-gateway.php:267 classes/wc-aplazame-gateway.php:3 43144 #: classes/wc-aplazame-gateway.php:267 classes/wc-aplazame-gateway.php:354 145 145 msgid "Optional (only numbers)" 146 146 msgstr "Opcional (solo números)" 147 147 148 #: classes/wc-aplazame-gateway.php:271 classes/wc-aplazame-gateway.php:3 47148 #: classes/wc-aplazame-gateway.php:271 classes/wc-aplazame-gateway.php:358 149 149 msgid "Legal notice" 150 150 msgstr "Texto legal" … … 154 154 msgstr "Mostrar texto legal en el widget del producto" 155 155 156 #: classes/wc-aplazame-gateway.php:273 classes/wc-aplazame-gateway.php:3 49156 #: classes/wc-aplazame-gateway.php:273 classes/wc-aplazame-gateway.php:360 157 157 msgid "Show legal notice" 158 158 msgstr "Mostrar texto legal" … … 170 170 msgstr "Mostrar marco" 171 171 172 #: classes/wc-aplazame-gateway.php:285 classes/wc-aplazame-gateway.php:3 55172 #: classes/wc-aplazame-gateway.php:285 classes/wc-aplazame-gateway.php:366 173 173 msgid "Primary color" 174 174 msgstr "Color principal" … … 180 180 "nuevo widget)" 181 181 182 #: classes/wc-aplazame-gateway.php:292 classes/wc-aplazame-gateway.php:3 62182 #: classes/wc-aplazame-gateway.php:292 classes/wc-aplazame-gateway.php:373 183 183 msgid "Layout" 184 184 msgstr "Disposición" … … 188 188 msgstr "Disposición del widget del producto (sólo nuevo widget)" 189 189 190 #: classes/wc-aplazame-gateway.php:302 190 #: classes/wc-aplazame-gateway.php:302 classes/wc-aplazame-gateway.php:383 191 msgid "Alignment" 192 msgstr "Alineación" 193 194 #: classes/wc-aplazame-gateway.php:303 195 msgid "Product widget alignment (only new widget)" 196 msgstr "Alineación del widget del producto (sólo nuevo widget)" 197 198 #: classes/wc-aplazame-gateway.php:305 classes/wc-aplazame-gateway.php:386 199 msgid "Left" 200 msgstr "Izquierda" 201 202 #: classes/wc-aplazame-gateway.php:306 classes/wc-aplazame-gateway.php:387 203 msgid "Center" 204 msgstr "Centro" 205 206 #: classes/wc-aplazame-gateway.php:307 classes/wc-aplazame-gateway.php:388 207 msgid "Right" 208 msgstr "Derecha" 209 210 #: classes/wc-aplazame-gateway.php:313 191 211 msgid "Product quantity CSS selector" 192 212 msgstr "Selector CSS del número de unidades del producto" 193 213 194 #: classes/wc-aplazame-gateway.php:3 03214 #: classes/wc-aplazame-gateway.php:314 195 215 msgid "CSS selector pointing to product quantity" 196 216 msgstr "Selector CSS para obtener la cantidad de producto" 197 217 198 #: classes/wc-aplazame-gateway.php:3 08218 #: classes/wc-aplazame-gateway.php:319 199 219 msgid "Product price CSS selector" 200 220 msgstr "Selector CSS del precio del producto" 201 221 202 #: classes/wc-aplazame-gateway.php:3 09222 #: classes/wc-aplazame-gateway.php:320 203 223 msgid "CSS selector pointing to product price" 204 224 msgstr "Selector CSS para obtener el precio del producto" 205 225 206 #: classes/wc-aplazame-gateway.php:3 14226 #: classes/wc-aplazame-gateway.php:325 207 227 msgid "Variable product price CSS selector" 208 228 msgstr "Selector CSS del precio variable del producto" 209 229 210 #: classes/wc-aplazame-gateway.php:3 15230 #: classes/wc-aplazame-gateway.php:326 211 231 msgid "CSS selector pointing to variable product price" 212 232 msgstr "Selector CSS para obtener el precio variable del producto" 213 233 214 #: classes/wc-aplazame-gateway.php:3 23234 #: classes/wc-aplazame-gateway.php:334 215 235 msgid "Cart widget" 216 236 msgstr "Widget del carrito" 217 237 218 #: classes/wc-aplazame-gateway.php:3 30238 #: classes/wc-aplazame-gateway.php:341 219 239 msgid "Widget place on cart page" 220 240 msgstr "Lugar del widget en la página del carrito" 221 241 222 #: classes/wc-aplazame-gateway.php:3 33242 #: classes/wc-aplazame-gateway.php:344 223 243 msgid "Before cart totals" 224 244 msgstr "Antes del total" 225 245 226 #: classes/wc-aplazame-gateway.php:3 34246 #: classes/wc-aplazame-gateway.php:345 227 247 msgid "After cart totals" 228 248 msgstr "Después del total" 229 249 230 #: classes/wc-aplazame-gateway.php:3 42250 #: classes/wc-aplazame-gateway.php:353 231 251 msgid "Number of default instalments in cart widget" 232 252 msgstr "Número de cuotas por defecto en el widget del carrito" 233 253 234 #: classes/wc-aplazame-gateway.php:3 48254 #: classes/wc-aplazame-gateway.php:359 235 255 msgid "Show legal notice in cart widget" 236 256 msgstr "Mostrar texto legal en el widget del carrito" 237 257 238 #: classes/wc-aplazame-gateway.php:3 56258 #: classes/wc-aplazame-gateway.php:367 239 259 msgid "Primary color hexadecimal code for cart widget (only new widget)" 240 260 msgstr "" … … 242 262 "nuevo widget)" 243 263 244 #: classes/wc-aplazame-gateway.php:3 63264 #: classes/wc-aplazame-gateway.php:374 245 265 msgid "Layout of cart widget (only new widget)" 246 266 msgstr "Disposición del widget del carrito (sólo nuevo widget)" 247 267 248 #: classes/wc-aplazame-gateway.php:371 268 #: classes/wc-aplazame-gateway.php:384 269 msgid "Cart widget alignment (only new widget)" 270 msgstr "Alineación del widget del carrito (sólo nuevo widget)" 271 272 #: classes/wc-aplazame-gateway.php:393 249 273 msgid "Button" 250 274 msgstr "Botón" 251 275 252 #: classes/wc-aplazame-gateway.php:3 77276 #: classes/wc-aplazame-gateway.php:399 253 277 msgid "Button Selector" 254 278 msgstr "Selector del botón" 255 279 256 #: classes/wc-aplazame-gateway.php: 378280 #: classes/wc-aplazame-gateway.php:400 257 281 msgid "Aplazame Button CSS Selector" 258 282 msgstr "Selector CSS del botón de pago con Aplazame" 259 283 260 #: classes/wc-aplazame-gateway.php: 386284 #: classes/wc-aplazame-gateway.php:408 261 285 msgid "Button Image" 262 286 msgstr "Imagen del botón" 263 287 264 #: classes/wc-aplazame-gateway.php: 387288 #: classes/wc-aplazame-gateway.php:409 265 289 msgid "Aplazame Button Image that you want to show" 266 290 msgstr "Imagen del botón de pago con Aplazame que quieres mostrar" -
aplazame/trunk/i18n/languages/aplazame.pot
r2510789 r2536486 7 7 msgid "" 8 8 msgstr "" 9 "Project-Id-Version: Aplazame v3. 3.0\n"9 "Project-Id-Version: Aplazame v3.4.0\n" 10 10 "Report-Msgid-Bugs-To: https://github.com/aplazame/woocommerce\n" 11 "POT-Creation-Date: 2021-0 4-07 12:17+0000\n"11 "POT-Creation-Date: 2021-05-24 13:21+0000\n" 12 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 117 117 msgstr "" 118 118 119 #: classes/wc-aplazame-gateway.php:252 classes/wc-aplazame-gateway.php:3 29119 #: classes/wc-aplazame-gateway.php:252 classes/wc-aplazame-gateway.php:340 120 120 msgid "Place to show" 121 121 msgstr "" … … 125 125 msgstr "" 126 126 127 #: classes/wc-aplazame-gateway.php:255 classes/wc-aplazame-gateway.php:3 32127 #: classes/wc-aplazame-gateway.php:255 classes/wc-aplazame-gateway.php:343 128 128 msgid "~ Not show ~" 129 129 msgstr "" … … 141 141 msgstr "" 142 142 143 #: classes/wc-aplazame-gateway.php:265 classes/wc-aplazame-gateway.php:3 41143 #: classes/wc-aplazame-gateway.php:265 classes/wc-aplazame-gateway.php:352 144 144 msgid "Default instalments" 145 145 msgstr "" … … 149 149 msgstr "" 150 150 151 #: classes/wc-aplazame-gateway.php:267 classes/wc-aplazame-gateway.php:3 43151 #: classes/wc-aplazame-gateway.php:267 classes/wc-aplazame-gateway.php:354 152 152 msgid "Optional (only numbers)" 153 153 msgstr "" 154 154 155 #: classes/wc-aplazame-gateway.php:271 classes/wc-aplazame-gateway.php:3 47155 #: classes/wc-aplazame-gateway.php:271 classes/wc-aplazame-gateway.php:358 156 156 msgid "Legal notice" 157 157 msgstr "" … … 161 161 msgstr "" 162 162 163 #: classes/wc-aplazame-gateway.php:273 classes/wc-aplazame-gateway.php:3 49163 #: classes/wc-aplazame-gateway.php:273 classes/wc-aplazame-gateway.php:360 164 164 msgid "Show legal notice" 165 165 msgstr "" … … 177 177 msgstr "" 178 178 179 #: classes/wc-aplazame-gateway.php:285 classes/wc-aplazame-gateway.php:3 55179 #: classes/wc-aplazame-gateway.php:285 classes/wc-aplazame-gateway.php:366 180 180 msgid "Primary color" 181 181 msgstr "" … … 185 185 msgstr "" 186 186 187 #: classes/wc-aplazame-gateway.php:292 classes/wc-aplazame-gateway.php:3 62187 #: classes/wc-aplazame-gateway.php:292 classes/wc-aplazame-gateway.php:373 188 188 msgid "Layout" 189 189 msgstr "" … … 193 193 msgstr "" 194 194 195 #: classes/wc-aplazame-gateway.php:302 195 #: classes/wc-aplazame-gateway.php:302 classes/wc-aplazame-gateway.php:383 196 msgid "Alignment" 197 msgstr "" 198 199 #: classes/wc-aplazame-gateway.php:303 200 msgid "Product widget alignment (only new widget)" 201 msgstr "" 202 203 #: classes/wc-aplazame-gateway.php:305 classes/wc-aplazame-gateway.php:386 204 msgid "Left" 205 msgstr "" 206 207 #: classes/wc-aplazame-gateway.php:306 classes/wc-aplazame-gateway.php:387 208 msgid "Center" 209 msgstr "" 210 211 #: classes/wc-aplazame-gateway.php:307 classes/wc-aplazame-gateway.php:388 212 msgid "Right" 213 msgstr "" 214 215 #: classes/wc-aplazame-gateway.php:313 196 216 msgid "Product quantity CSS selector" 197 217 msgstr "" 198 218 199 #: classes/wc-aplazame-gateway.php:3 03219 #: classes/wc-aplazame-gateway.php:314 200 220 msgid "CSS selector pointing to product quantity" 201 221 msgstr "" 202 222 203 #: classes/wc-aplazame-gateway.php:3 08223 #: classes/wc-aplazame-gateway.php:319 204 224 msgid "Product price CSS selector" 205 225 msgstr "" 206 226 207 #: classes/wc-aplazame-gateway.php:3 09227 #: classes/wc-aplazame-gateway.php:320 208 228 msgid "CSS selector pointing to product price" 209 229 msgstr "" 210 230 211 #: classes/wc-aplazame-gateway.php:3 14231 #: classes/wc-aplazame-gateway.php:325 212 232 msgid "Variable product price CSS selector" 213 233 msgstr "" 214 234 215 #: classes/wc-aplazame-gateway.php:3 15235 #: classes/wc-aplazame-gateway.php:326 216 236 msgid "CSS selector pointing to variable product price" 217 237 msgstr "" 218 238 219 #: classes/wc-aplazame-gateway.php:3 23239 #: classes/wc-aplazame-gateway.php:334 220 240 msgid "Cart widget" 221 241 msgstr "" 222 242 223 #: classes/wc-aplazame-gateway.php:3 30243 #: classes/wc-aplazame-gateway.php:341 224 244 msgid "Widget place on cart page" 225 245 msgstr "" 226 246 227 #: classes/wc-aplazame-gateway.php:3 33247 #: classes/wc-aplazame-gateway.php:344 228 248 msgid "Before cart totals" 229 249 msgstr "" 230 250 231 #: classes/wc-aplazame-gateway.php:3 34251 #: classes/wc-aplazame-gateway.php:345 232 252 msgid "After cart totals" 233 253 msgstr "" 234 254 235 #: classes/wc-aplazame-gateway.php:3 42255 #: classes/wc-aplazame-gateway.php:353 236 256 msgid "Number of default instalments in cart widget" 237 257 msgstr "" 238 258 239 #: classes/wc-aplazame-gateway.php:3 48259 #: classes/wc-aplazame-gateway.php:359 240 260 msgid "Show legal notice in cart widget" 241 261 msgstr "" 242 262 243 #: classes/wc-aplazame-gateway.php:3 56263 #: classes/wc-aplazame-gateway.php:367 244 264 msgid "Primary color hexadecimal code for cart widget (only new widget)" 245 265 msgstr "" 246 266 247 #: classes/wc-aplazame-gateway.php:3 63267 #: classes/wc-aplazame-gateway.php:374 248 268 msgid "Layout of cart widget (only new widget)" 249 269 msgstr "" 250 270 251 #: classes/wc-aplazame-gateway.php:371 271 #: classes/wc-aplazame-gateway.php:384 272 msgid "Cart widget alignment (only new widget)" 273 msgstr "" 274 275 #: classes/wc-aplazame-gateway.php:393 252 276 msgid "Button" 253 277 msgstr "" 254 278 255 #: classes/wc-aplazame-gateway.php:3 77279 #: classes/wc-aplazame-gateway.php:399 256 280 msgid "Button Selector" 257 281 msgstr "" 258 282 259 #: classes/wc-aplazame-gateway.php: 378283 #: classes/wc-aplazame-gateway.php:400 260 284 msgid "Aplazame Button CSS Selector" 261 285 msgstr "" 262 286 263 #: classes/wc-aplazame-gateway.php: 386287 #: classes/wc-aplazame-gateway.php:408 264 288 msgid "Button Image" 265 289 msgstr "" 266 290 267 #: classes/wc-aplazame-gateway.php: 387291 #: classes/wc-aplazame-gateway.php:409 268 292 msgid "Aplazame Button Image that you want to show" 269 293 msgstr "" -
aplazame/trunk/templates/widgets/cart.php
r2480645 r2536486 22 22 data-option-primary-color="<?php echo esc_attr( $aplazame->settings['cart_widget_primary_color'] ); ?>" 23 23 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'] ); ?>" 24 25 <?php endif; ?> 25 26 data-amount="<?php echo esc_attr( Aplazame_Sdk_Serializer_Decimal::fromFloat( WC()->cart->total )->jsonSerialize() ); ?>" -
aplazame/trunk/templates/widgets/product.php
r2510789 r2536486 42 42 data-option-primary-color="<?php echo esc_attr( $aplazame->settings['product_widget_primary_color'] ); ?>" 43 43 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'] ); ?>" 44 45 data-option-border-product="<?php echo esc_attr( $aplazame->settings['product_widget_border'] === 'yes' ? 'true' : 'false' ); ?>" 45 46 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.