Changeset 3844937
- Timestamp:
- 12/04/2026 05:14:39 PM (9 hours ago)
- Location:
- apg-withdrawal-for-woocommerce
- Files:
-
- 90 added
- 14 edited
-
tags/0.10.0 (added)
-
tags/0.10.0/apg-withdrawal-for-woocommerce.php (added)
-
tags/0.10.0/assets (added)
-
tags/0.10.0/assets/css (added)
-
tags/0.10.0/assets/css/frontend.css (added)
-
tags/0.10.0/assets/css/index.php (added)
-
tags/0.10.0/assets/css/style.css (added)
-
tags/0.10.0/assets/fonts (added)
-
tags/0.10.0/assets/fonts/d3euronism-webfont.eot (added)
-
tags/0.10.0/assets/fonts/d3euronism-webfont.svg (added)
-
tags/0.10.0/assets/fonts/d3euronism-webfont.ttf (added)
-
tags/0.10.0/assets/fonts/d3euronism-webfont.woff (added)
-
tags/0.10.0/assets/fonts/d3euronism-webfont.woff2 (added)
-
tags/0.10.0/assets/fonts/genericons-webfont.eot (added)
-
tags/0.10.0/assets/fonts/genericons-webfont.svg (added)
-
tags/0.10.0/assets/fonts/genericons-webfont.ttf (added)
-
tags/0.10.0/assets/fonts/genericons-webfont.woff (added)
-
tags/0.10.0/assets/fonts/genericons-webfont.woff2 (added)
-
tags/0.10.0/assets/fonts/index.php (added)
-
tags/0.10.0/assets/fonts/stylesheet.css (added)
-
tags/0.10.0/assets/images (added)
-
tags/0.10.0/assets/images/cabecera.jpg (added)
-
tags/0.10.0/assets/images/index.php (added)
-
tags/0.10.0/assets/index.php (added)
-
tags/0.10.0/assets/js (added)
-
tags/0.10.0/assets/js/checkout-block.js (added)
-
tags/0.10.0/assets/js/frontend.js (added)
-
tags/0.10.0/assets/js/index.php (added)
-
tags/0.10.0/includes (added)
-
tags/0.10.0/includes/admin (added)
-
tags/0.10.0/includes/admin/funciones-apg.php (added)
-
tags/0.10.0/includes/admin/index.php (added)
-
tags/0.10.0/includes/clases (added)
-
tags/0.10.0/includes/clases/admin (added)
-
tags/0.10.0/includes/clases/admin/index.php (added)
-
tags/0.10.0/includes/clases/admin/solicitudes.php (added)
-
tags/0.10.0/includes/clases/anexo-i-b.php (added)
-
tags/0.10.0/includes/clases/aviso-producto.php (added)
-
tags/0.10.0/includes/clases/categoria.php (added)
-
tags/0.10.0/includes/clases/checkout.php (added)
-
tags/0.10.0/includes/clases/class-apg-withdrawal-help.php (added)
-
tags/0.10.0/includes/clases/emails (added)
-
tags/0.10.0/includes/clases/emails.php (added)
-
tags/0.10.0/includes/clases/emails/class-apg-withdrawal-email-admin.php (added)
-
tags/0.10.0/includes/clases/emails/class-apg-withdrawal-email-customer.php (added)
-
tags/0.10.0/includes/clases/emails/class-apg-withdrawal-email-status.php (added)
-
tags/0.10.0/includes/clases/emails/index.php (added)
-
tags/0.10.0/includes/clases/enlace.php (added)
-
tags/0.10.0/includes/clases/estado-pedido.php (added)
-
tags/0.10.0/includes/clases/formulario.php (added)
-
tags/0.10.0/includes/clases/index.php (added)
-
tags/0.10.0/includes/clases/ip.php (added)
-
tags/0.10.0/includes/clases/pedidos.php (added)
-
tags/0.10.0/includes/clases/plazos.php (added)
-
tags/0.10.0/includes/clases/procesador.php (added)
-
tags/0.10.0/includes/clases/producto.php (added)
-
tags/0.10.0/includes/clases/reembolso.php (added)
-
tags/0.10.0/includes/clases/rest.php (added)
-
tags/0.10.0/includes/clases/rgpd.php (added)
-
tags/0.10.0/includes/clases/terminacion.php (added)
-
tags/0.10.0/includes/clases/verificacion.php (added)
-
tags/0.10.0/includes/clases/woocommerce.php (added)
-
tags/0.10.0/includes/cuadro-informacion.php (added)
-
tags/0.10.0/includes/formulario.php (added)
-
tags/0.10.0/includes/index.php (added)
-
tags/0.10.0/index.php (added)
-
tags/0.10.0/languages (added)
-
tags/0.10.0/languages/apg-withdrawal-for-woocommerce-es_ES.mo (added)
-
tags/0.10.0/languages/apg-withdrawal-for-woocommerce-es_ES.po (added)
-
tags/0.10.0/languages/apg-withdrawal-for-woocommerce.pot (added)
-
tags/0.10.0/languages/index.php (added)
-
tags/0.10.0/license.txt (added)
-
tags/0.10.0/readme.md (added)
-
tags/0.10.0/readme.txt (added)
-
tags/0.10.0/templates (added)
-
tags/0.10.0/templates/emails (added)
-
tags/0.10.0/templates/emails/apg-withdrawal-admin.php (added)
-
tags/0.10.0/templates/emails/apg-withdrawal-customer.php (added)
-
tags/0.10.0/templates/emails/apg-withdrawal-status.php (added)
-
tags/0.10.0/templates/emails/index.php (added)
-
tags/0.10.0/templates/emails/plain (added)
-
tags/0.10.0/templates/emails/plain/apg-withdrawal-admin.php (added)
-
tags/0.10.0/templates/emails/plain/apg-withdrawal-customer.php (added)
-
tags/0.10.0/templates/emails/plain/apg-withdrawal-status.php (added)
-
tags/0.10.0/templates/emails/plain/index.php (added)
-
tags/0.10.0/templates/index.php (added)
-
tags/0.10.0/uninstall.php (added)
-
tags/0.10.0/wpml-config.xml (added)
-
trunk/apg-withdrawal-for-woocommerce.php (modified) (4 diffs)
-
trunk/includes/admin/funciones-apg.php (modified) (1 diff)
-
trunk/includes/clases/admin/solicitudes.php (modified) (1 diff)
-
trunk/includes/clases/checkout.php (modified) (1 diff)
-
trunk/includes/clases/formulario.php (modified) (3 diffs)
-
trunk/includes/clases/ip.php (added)
-
trunk/includes/clases/plazos.php (added)
-
trunk/includes/clases/procesador.php (modified) (9 diffs)
-
trunk/includes/clases/terminacion.php (modified) (4 diffs)
-
trunk/includes/clases/woocommerce.php (modified) (3 diffs)
-
trunk/includes/formulario.php (modified) (1 diff)
-
trunk/languages/apg-withdrawal-for-woocommerce-es_ES.mo (modified) ( previous)
-
trunk/languages/apg-withdrawal-for-woocommerce-es_ES.po (modified) (54 diffs)
-
trunk/languages/apg-withdrawal-for-woocommerce.pot (modified) (33 diffs)
-
trunk/readme.md (modified) (3 diffs)
-
trunk/readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
apg-withdrawal-for-woocommerce/trunk/apg-withdrawal-for-woocommerce.php
r3819236 r3844937 3 3 Plugin Name: APG Withdrawal for WooCommerce 4 4 Requires Plugins: woocommerce 5 Version: 0. 9.05 Version: 0.10.0 6 6 Plugin URI: https://wordpress.org/plugins/apg-withdrawal-for-woocommerce/ 7 7 Description: Add to WooCommerce an online withdrawal workflow compliant with EU requirements. … … 25 25 26 26 define( 'apg_withdrawal_DIRECCION', plugin_basename( __FILE__ ) ); 27 define( 'apg_withdrawal_VERSION', '0. 9.0' );27 define( 'apg_withdrawal_VERSION', '0.10.0' ); 28 28 define( 'apg_withdrawal_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); 29 29 … … 126 126 add_shortcode( 'apg_withdrawal_form', array( $this, 'apg_withdrawal_shortcode' ) ); 127 127 128 include_once 'includes/clases/ip.php'; 128 129 include_once 'includes/clases/admin/solicitudes.php'; 129 130 include_once 'includes/clases/emails.php'; … … 135 136 include_once 'includes/clases/aviso-producto.php'; 136 137 include_once 'includes/clases/anexo-i-b.php'; 138 include_once 'includes/clases/plazos.php'; 137 139 include_once 'includes/clases/woocommerce.php'; 138 140 include_once 'includes/clases/checkout.php'; -
apg-withdrawal-for-woocommerce/trunk/includes/admin/funciones-apg.php
r3819236 r3844937 282 282 'termination_page_id' => '0', 283 283 'termination_label' => '', 284 'holidays' => '', 284 285 ); 285 286 -
apg-withdrawal-for-woocommerce/trunk/includes/clases/admin/solicitudes.php
r3819236 r3844937 416 416 if ( $post->post_content ) { 417 417 echo '<h4>' . esc_html__( 'Additional details', 'apg-withdrawal-for-woocommerce' ) . '</h4>'; 418 echo '<div class="apg-withdrawal-details-box">' . wp_kses_post( wpautop( $post->post_content ) ) . '</div>'; 418 /* 419 * Lo escribió quien rellenó el formulario, que no tiene `unfiltered_html`: 420 * se escapa primero y sólo después se le devuelven los saltos de línea. 421 * `wp_kses_post()` dejaría pasar `div`, `id` y `class`, y con eso basta 422 * para que los scripts del escritorio actúen sobre lo que creen suyo. 423 */ 424 echo wp_kses( 425 '<div class="apg-withdrawal-details-box">' . wpautop( esc_html( $post->post_content ) ) . '</div>', 426 array( 427 'div' => array( 'class' => array( 'apg-withdrawal-details-box' ) ), 428 'p' => array(), 429 'br' => array(), 430 ) 431 ); 419 432 } 420 433 -
apg-withdrawal-for-woocommerce/trunk/includes/clases/checkout.php
r3819236 r3844937 229 229 function apg_withdrawal_build_digital_waiver_log( $checked, $checkout_type ) { 230 230 $user_agent = isset( $_SERVER['HTTP_USER_AGENT'] ) ? substr( sanitize_text_field( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ), 0, 1024 ) : ''; 231 $ip = class_exists( 'WC_Geolocation' ) ? WC_Geolocation::get_ip_address() : ( isset( $_SERVER['REMOTE_ADDR'] ) ? sanitize_text_field( wp_unslash( $_SERVER['REMOTE_ADDR'] ) ) : '' ); 231 // Es prueba legal del consentimiento: sale del resolvedor del plugin, que 232 // sólo cree una cabecera de proxy si la conexión viene de un proxy declarado. 233 $ip = apg_withdrawal_get_client_ip(); 232 234 $label = function_exists( 'apg_withdrawal_get_digital_waiver_label' ) ? apg_withdrawal_get_digital_waiver_label() : ''; 233 235 -
apg-withdrawal-for-woocommerce/trunk/includes/clases/formulario.php
r3819236 r3844937 85 85 $value = $default; 86 86 87 if ( isset( $_POST[ $key ] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Read-only pre-fill; submission verified by nonce in procesador.php 87 if ( isset( $_POST[ $key ] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Read-only pre-fill; submission verified by nonce in procesador.php:641 and formulario.php:512 88 88 $value = wp_unslash( $_POST[ $key ] ); // phpcs:ignore WordPress.Security.NonceVerification.Missing, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Read-only pre-fill 89 } elseif ( isset( $_GET[ $key ] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Read-only pre-fill; submission verified by nonce in procesador.php 89 } elseif ( isset( $_GET[ $key ] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Read-only pre-fill; submission verified by nonce in procesador.php:641 and formulario.php:512 90 90 $value = wp_unslash( $_GET[ $key ] ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Read-only pre-fill 91 91 } … … 104 104 $value = array(); 105 105 106 if ( isset( $_POST[ $key ] ) && is_array( $_POST[ $key ] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Read-only pre-fill; submission verified by nonce in procesador.php 106 if ( isset( $_POST[ $key ] ) && is_array( $_POST[ $key ] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Read-only pre-fill; submission verified by nonce in procesador.php:641 and formulario.php:512 107 107 $value = wp_unslash( $_POST[ $key ] ); // phpcs:ignore WordPress.Security.NonceVerification.Missing, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Read-only pre-fill 108 } elseif ( isset( $_GET[ $key ] ) && is_array( $_GET[ $key ] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Read-only pre-fill; submission verified by nonce in procesador.php 108 } elseif ( isset( $_GET[ $key ] ) && is_array( $_GET[ $key ] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Read-only pre-fill; submission verified by nonce in procesador.php:641 and formulario.php:512 109 109 $value = wp_unslash( $_GET[ $key ] ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Read-only pre-fill 110 110 } … … 820 820 } 821 821 822 if ( apg_withdrawal_is_rate_limited( $ email, 'lookup' ) ) {822 if ( apg_withdrawal_is_rate_limited( $order_id, 'lookup' ) ) { 823 823 wp_send_json_error( null, 429 ); 824 824 } -
apg-withdrawal-for-woocommerce/trunk/includes/clases/procesador.php
r3819236 r3844937 11 11 * Returns the client IP address used to key the rate limiter. 12 12 * 13 * Only `REMOTE_ADDR` is read by default, because it is the one value the caller 14 * cannot choose: `X-Forwarded-For` and friends are claims the client sends, and 15 * a limiter keyed on them is no limiter at all — a fresh header per request 16 * lands in a fresh bucket every time. A site that genuinely sits behind a proxy 17 * opts its own header in through `apg_withdrawal_trusted_proxy_headers`, which 18 * is a statement about that site's infrastructure and cannot be made by the 19 * visitor. 13 * Delegates to the plugin's single resolver, in `includes/clases/ip.php`: a 14 * second way of answering this question is a second way of getting it wrong. 20 15 * 21 16 * @return string Client IP, or empty string when none could be determined. 22 17 */ 23 function apg_withdrawal_get_client_ip() { 24 $ip = ''; 25 26 if ( ! empty( $_SERVER['REMOTE_ADDR'] ) ) { 27 $candidate = sanitize_text_field( wp_unslash( $_SERVER['REMOTE_ADDR'] ) ); 28 $ip = filter_var( $candidate, FILTER_VALIDATE_IP ) ? $candidate : ''; 29 } 30 31 /** 32 * Filters the proxy headers the site trusts to carry the real client IP. 33 * 34 * Empty by default. Add e.g. `HTTP_CF_CONNECTING_IP` only when every request 35 * reaching PHP is known to pass through that proxy, otherwise the header can 36 * be forged and the rate limiter bypassed. 37 * 38 * @param array $headers `$_SERVER` keys to inspect, in order of preference. 39 */ 40 $trusted = (array) apply_filters( 'apg_withdrawal_trusted_proxy_headers', array() ); 41 42 foreach ( $trusted as $header ) { 43 if ( empty( $_SERVER[ $header ] ) ) { 44 continue; 45 } 46 47 $value = sanitize_text_field( wp_unslash( $_SERVER[ $header ] ) ); 48 49 if ( false !== strpos( $value, ',' ) ) { 50 $value = trim( strtok( $value, ',' ) ); 51 } 52 53 if ( filter_var( $value, FILTER_VALIDATE_IP ) ) { 54 $ip = $value; 55 break; 56 } 57 } 58 59 return (string) apply_filters( 'apg_withdrawal_client_ip', $ip ); 18 function apg_withdrawal_get_client_ip_for_limit() { 19 return apg_withdrawal_get_client_ip(); 60 20 } 61 21 … … 71 31 * ceiling of its own. 72 32 * 73 * @param string $email Customer email address used for keying. 74 * @param string $bucket Counter to charge: 'submit', 'preview' or 'lookup'. 33 * @param string $subject Order reference the attempt acts on. Ignored when the 34 * visitor is logged in, because then their account keys it. 35 * @param string $bucket Counter to charge: 'submit', 'preview' or 'lookup'. 75 36 * @return bool True when the visitor has exceeded the limit. 76 37 */ 77 function apg_withdrawal_is_rate_limited( $ email, $bucket = 'submit' ) {38 function apg_withdrawal_is_rate_limited( $subject, $bucket = 'submit' ) { 78 39 $ip = apg_withdrawal_get_client_ip(); 79 40 if ( '' === $ip ) { … … 88 49 } 89 50 90 $key = 'apg_wfw_rl_' . md5( sanitize_key( $bucket ) . '|' . $ip . '|' . strtolower( (string) $email ) ); 51 /* 52 * La clave no lleva el correo. Lo escribe quien envía el formulario, así que 53 * bastaba con cambiarlo para estrenar cupo. Se usa lo que el visitante no 54 * elige: su sesión, si la tiene, y si no el pedido sobre el que actúa. 55 */ 56 $sujeto = get_current_user_id() ? 'u' . get_current_user_id() : 'o' . sanitize_key( (string) $subject ); 57 58 $key = 'apg_wfw_rl_' . md5( sanitize_key( $bucket ) . '|' . $ip . '|' . $sujeto ); 91 59 $count = (int) get_transient( $key ); 92 60 93 if ( $count >= $limit ) { 61 // Y un segundo cupo por dirección a secas, para que probar pedidos distintos 62 // uno detrás de otro tampoco salga gratis. 63 $global = 'apg_wfw_rl_' . md5( sanitize_key( $bucket ) . '|' . $ip ); 64 $total = (int) get_transient( $global ); 65 $techo = (int) apply_filters( 'apg_withdrawal_rate_limit_ip_max', $limit * 4, $bucket ); 66 67 if ( $count >= $limit || ( $techo > 0 && $total >= $techo ) ) { 94 68 return true; 95 69 } 96 70 97 71 set_transient( $key, $count + 1, $window ); 72 set_transient( $global, $total + 1, $window ); 73 98 74 return false; 99 75 } … … 108 84 */ 109 85 function apg_withdrawal_honeypot_was_filled() { 110 // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Inspection only, no state change; the submission nonce is verified by every caller: procesador.php: 412, procesador.php:555 and formulario.php:509.86 // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Inspection only, no state change; the submission nonce is verified by every caller: procesador.php:641, procesador.php:779 and formulario.php:512. 111 87 return ! empty( $_POST['apg_withdrawal_website'] ); 112 88 } … … 384 360 $settings = apg_withdrawal_get_settings(); 385 361 386 if ( apg_withdrawal_is_rate_limited( $ email) ) {362 if ( apg_withdrawal_is_rate_limited( $order_ref ) ) { 387 363 return 'throttle'; 388 364 } … … 521 497 522 498 if ( '1' === $settings['store_ip'] ) { 523 update_post_meta( $post_id, '_apg_withdrawal_ip', WC_Geolocation::get_ip_address() );499 update_post_meta( $post_id, '_apg_withdrawal_ip', apg_withdrawal_get_client_ip() ); 524 500 } 525 501 … … 586 562 apg_withdrawal_maybe_set_order_status( $validation['order'], $post_id ); 587 563 564 /* 565 * El acuse va a la dirección que consta en el pedido, no a la que se 566 * escribió en el formulario. Quien tiene la sesión iniciada valida por 567 * ser dueño del pedido, sin que su correo se compruebe, y con eso podía 568 * hacer que la tienda enviase el acuse a una dirección cualquiera. 569 */ 570 $destino = is_callable( array( $validation['order'], 'get_billing_email' ) ) 571 ? (string) $validation['order']->get_billing_email() 572 : ''; 573 574 if ( '' === $destino || ! is_email( $destino ) ) { 575 $destino = $email; 576 } 577 588 578 // Customer acknowledgement: capture delivery status (mailer acceptance, 589 579 // not real recipient delivery) as legal evidence under Art. 16 bis(8). 590 580 $initial_delivery = apg_withdrawal_send_with_delivery_capture( 591 function () use ( $ email, $name, $order_ref, $scope, $post_id, $phone, $declared_at ) {592 apg_withdrawal_send_customer_email( $ email, $name, $order_ref, $scope, $post_id, get_date_from_gmt( $declared_at ), $phone );581 function () use ( $destino, $name, $order_ref, $scope, $post_id, $phone, $declared_at ) { 582 apg_withdrawal_send_customer_email( $destino, $name, $order_ref, $scope, $post_id, get_date_from_gmt( $declared_at ), $phone ); 593 583 } 594 584 ); … … 623 613 */ 624 614 function apg_withdrawal_read_confirmation_post() { 625 // phpcs:disable WordPress.Security.NonceVerification.Missing, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Nonce verified by every caller before this runs: procesador.php: 412, procesador.php:555 and formulario.php:509. Each field is sanitised by the matching callback inside apg_withdrawal_process_submission_data().615 // phpcs:disable WordPress.Security.NonceVerification.Missing, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Nonce verified by every caller before this runs: procesador.php:641, procesador.php:779 and formulario.php:512. Each field is sanitised by the matching callback inside apg_withdrawal_process_submission_data(). 626 616 return array( 627 617 'order' => isset( $_POST['apg_withdrawal_order'] ) ? wp_unslash( $_POST['apg_withdrawal_order'] ) : '', … … 695 685 // The preview answers whether an order number and an e-mail address belong 696 686 // together, so it gets the same ceiling as the submission it precedes. 697 if ( apg_withdrawal_is_rate_limited( $ email, 'preview' ) ) {687 if ( apg_withdrawal_is_rate_limited( $order_id, 'preview' ) ) { 698 688 wp_send_json_error( 699 689 array( -
apg-withdrawal-for-woocommerce/trunk/includes/clases/terminacion.php
r3819236 r3844937 162 162 $settings = apg_withdrawal_get_settings(); 163 163 164 if ( apg_withdrawal_is_rate_limited( $ email, 'termination' ) ) {164 if ( apg_withdrawal_is_rate_limited( $order_ref, 'termination' ) ) { 165 165 return 'throttle'; 166 166 } … … 273 273 } 274 274 275 if ( '1' === (string) $settings['store_ip'] && class_exists( 'WC_Geolocation' )) {276 update_post_meta( $post_id, '_apg_withdrawal_ip', WC_Geolocation::get_ip_address() );275 if ( '1' === (string) $settings['store_ip'] ) { 276 update_post_meta( $post_id, '_apg_withdrawal_ip', apg_withdrawal_get_client_ip() ); 277 277 } 278 278 … … 301 301 apg_withdrawal_add_termination_order_note( $validation['order'], $post_id, $effective, $details ); 302 302 303 // Como en el desistimiento: el acuse va a la dirección del pedido, no a la 304 // que se escribió, para que nadie use la tienda como relé de correo. 305 $destino = is_callable( array( $validation['order'], 'get_billing_email' ) ) 306 ? (string) $validation['order']->get_billing_email() 307 : ''; 308 309 if ( '' === $destino || ! is_email( $destino ) ) { 310 $destino = $email; 311 } 312 303 313 $delivery = apg_withdrawal_send_with_delivery_capture( 304 function () use ( $ email, $name, $order_ref, $post_id, $declared_at, $effective, $phone ) {305 apg_withdrawal_send_termination_customer_email( $ email, $name, $order_ref, $post_id, $declared_at, $effective, $phone );314 function () use ( $destino, $name, $order_ref, $post_id, $declared_at, $effective, $phone ) { 315 apg_withdrawal_send_termination_customer_email( $destino, $name, $order_ref, $post_id, $declared_at, $effective, $phone ); 306 316 } 307 317 ); … … 368 378 /* translators: %s free text written by the customer. */ 369 379 __( 'Termination details: %s', 'apg-withdrawal-for-woocommerce' ), 370 $details 380 // La imprime WooCommerce con `wp_kses_post()`: se escapa al componerla. 381 esc_html( $details ) 371 382 ) 372 383 ); -
apg-withdrawal-for-woocommerce/trunk/includes/clases/woocommerce.php
r3766979 r3844937 237 237 */ 238 238 function apg_withdrawal_get_deadline_timestamp( $order, $settings ) { 239 $source = isset( $settings['deadline_source'] ) ? $settings['deadline_source'] : 'completed'; 240 $withdrawal_days = isset( $settings['withdrawal_days'] ) ? max( 1, absint( $settings['withdrawal_days'] ) ) : 14; 241 $date = false; 239 $source = isset( $settings['deadline_source'] ) ? $settings['deadline_source'] : 'completed'; 240 $date = false; 242 241 243 242 if ( 'completed' === $source && is_callable( array( $order, 'get_date_completed' ) ) ) { … … 255 254 'source' => $source, 256 255 'date' => '', 256 'country' => '', 257 'days' => 0, 257 258 ); 258 259 } 259 260 261 // How long the period lasts is the consumer's country's business, and when 262 // it expires is Regulation (EEC, Euratom) No 1182/71's. The grace days the 263 // shop adds ride on top of the statutory period, so they are part of the 264 // count rather than seconds bolted onto the end: a deadline that lands on a 265 // Sunday because of them is extended just the same. 266 $country = apg_withdrawal_get_order_country( $order ); 267 $days = apg_withdrawal_get_period_days( $order, $settings ) + absint( $settings['grace_days'] ); 268 260 269 return array( 261 'timestamp' => $date->getTimestamp() + ( $withdrawal_days * DAY_IN_SECONDS ) + ( absint( $settings['grace_days'] ) * DAY_IN_SECONDS),270 'timestamp' => apg_withdrawal_compute_deadline( $date->getTimestamp(), $days, $country ), 262 271 'source' => $source, 263 272 'date' => gmdate( 'Y-m-d H:i:s', $date->getTimestamp() ), 273 'country' => $country, 274 'days' => $days, 264 275 ); 265 276 } … … 641 652 /* translators: %s customer details. */ 642 653 __( 'Withdrawal details: %s', 'apg-withdrawal-for-woocommerce' ), 643 $details 654 // La nota la imprime WooCommerce con `wp_kses_post()`, así que el 655 // texto del cliente se escapa aquí, al componerla. 656 esc_html( $details ) 644 657 ), 645 658 0, -
apg-withdrawal-for-woocommerce/trunk/includes/formulario.php
r3819236 r3844937 121 121 </th> 122 122 <td class="forminp"><input id="apg_withdrawal_settings[grace_days]" name="apg_withdrawal_settings[grace_days]" type="number" min="0" value="<?php echo esc_attr( $apg_withdrawal_settings['grace_days'] ); ?>" tabindex="<?php echo esc_attr( $tab ); $tab++; ?>" /></td> 123 </tr> 124 <tr valign="top"> 125 <th scope="row" class="titledesc"> 126 <label for="apg_withdrawal_settings[holidays]"> 127 <?php esc_html_e( 'Public holidays', 'apg-withdrawal-for-woocommerce' ); ?> 128 </label> 129 </th> 130 <td class="forminp"> 131 <textarea id="apg_withdrawal_settings[holidays]" name="apg_withdrawal_settings[holidays]" rows="3" cols="40" tabindex="<?php echo esc_attr( $tab ); $tab++; ?>"><?php echo esc_textarea( isset( $apg_withdrawal_settings['holidays'] ) ? $apg_withdrawal_settings['holidays'] : '' ); ?></textarea> 132 <p class="description"><?php esc_html_e( 'When the period would end on a Saturday, a Sunday or one of these days, it runs until the end of the next working day, as the EU rules on reckoning periods require. One date per line: 2027-01-06 for a single year, or 01-06 for one that falls on the same date every year. Leave it empty and only weekends count.', 'apg-withdrawal-for-woocommerce' ); ?></p> 133 </td> 123 134 </tr> 124 135 <tr valign="top"> -
apg-withdrawal-for-woocommerce/trunk/languages/apg-withdrawal-for-woocommerce-es_ES.po
r3819236 r3844937 3 3 "Project-Id-Version: APG Withdrawal for WooCommerce\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 2026-1 1-23 20:24+0000\n"5 "POT-Creation-Date: 2026-12-02 09:08+0000\n" 6 6 "PO-Revision-Date: 2026-08-08 09:00+0000\n" 7 7 "Last-Translator: Art Project Group\n" … … 45 45 msgstr "https://artprojectgroup.es/" 46 46 47 #: apg-withdrawal-for-woocommerce.php:16048 47 #: apg-withdrawal-for-woocommerce.php:161 49 #: apg-withdrawal-for-woocommerce.php:270 50 #: apg-withdrawal-for-woocommerce.php:272 51 #: apg-withdrawal-for-woocommerce.php:273 includes/admin/funciones-apg.php:729 48 #: apg-withdrawal-for-woocommerce.php:162 49 #: apg-withdrawal-for-woocommerce.php:271 50 #: apg-withdrawal-for-woocommerce.php:273 51 #: apg-withdrawal-for-woocommerce.php:274 includes/admin/funciones-apg.php:730 52 52 msgid "Withdrawals" 53 53 msgstr "Desistimientos" 54 54 55 #: apg-withdrawal-for-woocommerce.php:16 755 #: apg-withdrawal-for-woocommerce.php:168 56 56 msgid "APG Withdrawal" 57 57 msgstr "APG Desistimiento" 58 58 59 #: apg-withdrawal-for-woocommerce.php:16 860 #: apg-withdrawal-for-woocommerce.php:27 161 #: apg-withdrawal-for-woocommerce.php:34 762 #: apg-withdrawal-for-woocommerce.php:37 5includes/clases/pedidos.php:6959 #: apg-withdrawal-for-woocommerce.php:169 60 #: apg-withdrawal-for-woocommerce.php:272 61 #: apg-withdrawal-for-woocommerce.php:348 62 #: apg-withdrawal-for-woocommerce.php:376 includes/clases/pedidos.php:69 63 63 #: includes/clases/pedidos.php:74 includes/clases/producto.php:18 64 64 msgid "Withdrawal" 65 65 msgstr "Desistimiento" 66 66 67 #: apg-withdrawal-for-woocommerce.php:27 467 #: apg-withdrawal-for-woocommerce.php:275 68 68 msgid "Add withdrawal" 69 69 msgstr "Añadir desistimiento" 70 70 71 #: apg-withdrawal-for-woocommerce.php:27 571 #: apg-withdrawal-for-woocommerce.php:276 72 72 msgid "Edit withdrawal" 73 73 msgstr "Editar desistimiento" 74 74 75 #: apg-withdrawal-for-woocommerce.php:27 675 #: apg-withdrawal-for-woocommerce.php:277 76 76 msgid "View withdrawal" 77 77 msgstr "Ver desistimiento" 78 78 79 #: apg-withdrawal-for-woocommerce.php:27 779 #: apg-withdrawal-for-woocommerce.php:278 80 80 msgid "Search withdrawals" 81 81 msgstr "Buscar desistimientos" 82 82 83 #: apg-withdrawal-for-woocommerce.php:42 183 #: apg-withdrawal-for-woocommerce.php:422 84 84 msgid "Withdraw from the contract here *" 85 85 msgstr "Desistir del contrato aquí *" 86 86 87 #: apg-withdrawal-for-woocommerce.php:42 6includes/clases/enlace.php:5687 #: apg-withdrawal-for-woocommerce.php:427 includes/clases/enlace.php:56 88 88 msgid "Withdraw from the contract here" 89 89 msgstr "Desistir del contrato aquí" 90 90 91 #: apg-withdrawal-for-woocommerce.php:44 591 #: apg-withdrawal-for-woocommerce.php:446 92 92 msgid "" 93 93 "* The standard withdrawal period for this order may have expired. You may " … … 97 97 "Puedes enviar igualmente tu solicitud y será revisada por la tienda." 98 98 99 #: apg-withdrawal-for-woocommerce.php:56 3includes/admin/funciones-apg.php:25599 #: apg-withdrawal-for-woocommerce.php:564 includes/admin/funciones-apg.php:255 100 100 msgid "Confirm withdrawal" 101 101 msgstr "Confirmar desistimiento" … … 131 131 132 132 #. translators: %s saved button label. 133 #: includes/admin/funciones-apg.php:4 69133 #: includes/admin/funciones-apg.php:470 134 134 #, php-format 135 135 msgid "" … … 146 146 "formulación equivalente que no dé lugar a dudas en tu idioma." 147 147 148 #: includes/admin/funciones-apg.php:5 19148 #: includes/admin/funciones-apg.php:520 149 149 msgid "European Union (baseline)" 150 150 msgstr "Unión Europea (base)" 151 151 152 #: includes/admin/funciones-apg.php:52 0152 #: includes/admin/funciones-apg.php:521 153 153 msgid "Spain" 154 154 msgstr "España" 155 155 156 #: includes/admin/funciones-apg.php:57 0156 #: includes/admin/funciones-apg.php:571 157 157 msgid "" 158 158 "This request is governed by Articles 102 to 108 of Royal Legislative Decree " … … 165 165 "directamente desde el 19 de junio de 2026." 166 166 167 #: includes/admin/funciones-apg.php:57 3167 #: includes/admin/funciones-apg.php:574 168 168 msgid "" 169 169 "This request is governed by Directive 2011/83/EU on consumer rights, as " … … 176 176 177 177 #. translators: %s plugin name 178 #: includes/admin/funciones-apg.php:66 7 includes/admin/funciones-apg.php:681178 #: includes/admin/funciones-apg.php:668 includes/admin/funciones-apg.php:682 179 179 #: includes/cuadro-informacion.php:56 180 180 #, php-format … … 183 183 184 184 #. translators: %s plugin name 185 #: includes/admin/funciones-apg.php:66 7185 #: includes/admin/funciones-apg.php:668 186 186 msgid "Unknown rating" 187 187 msgstr "Valoración desconocida" 188 188 189 #: includes/admin/funciones-apg.php:70 1includes/cuadro-informacion.php:18189 #: includes/admin/funciones-apg.php:702 includes/cuadro-informacion.php:18 190 190 msgid "Make a donation by " 191 191 msgstr "Haz una donación por " 192 192 193 #: includes/admin/funciones-apg.php:70 3includes/cuadro-informacion.php:30193 #: includes/admin/funciones-apg.php:704 includes/cuadro-informacion.php:30 194 194 msgid "Follow us on " 195 195 msgstr "Síguenos en " 196 196 197 #: includes/admin/funciones-apg.php:70 4includes/cuadro-informacion.php:34197 #: includes/admin/funciones-apg.php:705 includes/cuadro-informacion.php:34 198 198 msgid "More plugins on " 199 199 msgstr "Más plugins en " 200 200 201 #: includes/admin/funciones-apg.php:70 5includes/cuadro-informacion.php:42201 #: includes/admin/funciones-apg.php:706 includes/cuadro-informacion.php:42 202 202 msgid "Contact us by " 203 203 msgstr "Contacta con nosotros por " 204 204 205 #: includes/admin/funciones-apg.php:72 7205 #: includes/admin/funciones-apg.php:728 206 206 msgid "Support of " 207 207 msgstr "Soporte de " 208 208 209 #: includes/admin/funciones-apg.php:72 7includes/cuadro-informacion.php:46209 #: includes/admin/funciones-apg.php:728 includes/cuadro-informacion.php:46 210 210 msgid "Support" 211 211 msgstr "Soporte" 212 212 213 #: includes/admin/funciones-apg.php:72 8213 #: includes/admin/funciones-apg.php:729 214 214 msgid "Settings of " 215 215 msgstr "Ajustes de " 216 216 217 #: includes/admin/funciones-apg.php:72 8217 #: includes/admin/funciones-apg.php:729 218 218 msgid "Settings" 219 219 msgstr "Ajustes" … … 230 230 #: includes/clases/emails/class-apg-withdrawal-email-status.php:71 231 231 #: includes/clases/pedidos.php:107 includes/clases/pedidos.php:297 232 #: includes/formulario.php:1 72232 #: includes/formulario.php:183 233 233 msgid "Accepted" 234 234 msgstr "Aceptado" … … 238 238 #: includes/clases/emails/class-apg-withdrawal-email-status.php:72 239 239 #: includes/clases/pedidos.php:108 includes/clases/pedidos.php:298 240 #: includes/formulario.php:1 73240 #: includes/formulario.php:184 241 241 msgid "Rejected" 242 242 msgstr "Rechazado" … … 246 246 #: includes/clases/emails/class-apg-withdrawal-email-status.php:73 247 247 #: includes/clases/pedidos.php:109 includes/clases/pedidos.php:299 248 #: includes/formulario.php:1 74248 #: includes/formulario.php:185 249 249 msgid "Completed" 250 250 msgstr "Completado" … … 332 332 #: includes/clases/admin/solicitudes.php:337 333 333 #: includes/clases/class-apg-withdrawal-help.php:159 334 #: includes/formulario.php:2 25334 #: includes/formulario.php:236 335 335 msgid "Contract termination" 336 336 msgstr "Rescisión de contrato" … … 340 340 #: includes/clases/admin/solicitudes.php:729 includes/clases/emails.php:90 341 341 #: includes/clases/emails.php:145 includes/clases/formulario.php:259 342 #: includes/clases/formulario.php:675 includes/clases/woocommerce.php:6 25342 #: includes/clases/formulario.php:675 includes/clases/woocommerce.php:636 343 343 #: templates/emails/apg-withdrawal-admin.php:19 344 344 #: templates/emails/apg-withdrawal-customer.php:19 … … 352 352 #: includes/clases/admin/solicitudes.php:729 includes/clases/emails.php:90 353 353 #: includes/clases/emails.php:145 includes/clases/formulario.php:259 354 #: includes/clases/formulario.php:674 includes/clases/woocommerce.php:6 25354 #: includes/clases/formulario.php:674 includes/clases/woocommerce.php:636 355 355 #: templates/emails/apg-withdrawal-admin.php:20 356 356 #: templates/emails/apg-withdrawal-customer.php:20 … … 388 388 #: includes/clases/admin/solicitudes.php:378 389 389 #: includes/clases/class-apg-withdrawal-help.php:141 390 #: includes/formulario.php:1 27390 #: includes/formulario.php:138 391 391 msgid "Deadline source" 392 392 msgstr "Fuente del plazo" … … 622 622 #: includes/clases/categoria.php:25 623 623 #: includes/clases/class-apg-withdrawal-help.php:183 624 #: includes/clases/producto.php:42 includes/formulario.php:3 85624 #: includes/clases/producto.php:42 includes/formulario.php:396 625 625 msgid "Digital content" 626 626 msgstr "Contenido digital" … … 628 628 #: includes/clases/categoria.php:26 629 629 #: includes/clases/class-apg-withdrawal-help.php:184 630 #: includes/clases/producto.php:43 includes/formulario.php:3 86630 #: includes/clases/producto.php:43 includes/formulario.php:397 631 631 msgid "Personalised product" 632 632 msgstr "Producto personalizado" … … 634 634 #: includes/clases/categoria.php:27 635 635 #: includes/clases/class-apg-withdrawal-help.php:185 636 #: includes/clases/producto.php:44 includes/formulario.php:3 87636 #: includes/clases/producto.php:44 includes/formulario.php:398 637 637 msgid "Manual review required" 638 638 msgstr "Revisión manual requerida" … … 797 797 798 798 #: includes/clases/class-apg-withdrawal-help.php:142 799 #: includes/formulario.php:1 41799 #: includes/formulario.php:152 800 800 msgid "Store IP address?" 801 801 msgstr "¿Almacenar dirección IP?" … … 810 810 811 811 #: includes/clases/class-apg-withdrawal-help.php:143 812 #: includes/formulario.php:1 49812 #: includes/formulario.php:160 813 813 msgid "Store browser identifier?" 814 814 msgstr "¿Almacenar identificador de navegador?" … … 825 825 826 826 #: includes/clases/class-apg-withdrawal-help.php:144 827 #: includes/formulario.php:1 57827 #: includes/formulario.php:168 828 828 msgid "Delete all data on uninstall?" 829 829 msgstr "¿Borrar todos los datos al desinstalar?" … … 838 838 839 839 #: includes/clases/class-apg-withdrawal-help.php:149 840 #: includes/formulario.php:1 78840 #: includes/formulario.php:189 841 841 msgid "Request handling" 842 842 msgstr "Gestión de solicitudes" … … 847 847 848 848 #: includes/clases/class-apg-withdrawal-help.php:152 849 #: includes/formulario.php:1 84849 #: includes/formulario.php:195 850 850 msgid "Order status when a request is received" 851 851 msgstr "Estado del pedido al recibir una solicitud" … … 862 862 863 863 #: includes/clases/class-apg-withdrawal-help.php:153 864 #: includes/clases/formulario.php:697 includes/formulario.php:2 00864 #: includes/clases/formulario.php:697 includes/formulario.php:211 865 865 msgid "Account for the refund (IBAN)" 866 866 msgstr "Cuenta para el reembolso (IBAN)" … … 879 879 880 880 #: includes/clases/class-apg-withdrawal-help.php:154 881 #: includes/formulario.php:2 15881 #: includes/formulario.php:226 882 882 msgid "Confirm guest requests by email?" 883 883 msgstr "¿Confirmar por correo electrónico las solicitudes de invitados?" … … 902 902 "long as the contract lasts. It is a proposal, so nothing is required of you " 903 903 "yet." 904 msgstr "Rescindir no es desistir. Desistir deshace una compra dentro de su plazo; rescindir termina un contrato que sigue vivo, y el artículo 23 de la propuesta de Digital Fairness Act te pedirá ofrecerlo en línea mientras dure el contrato. Es una propuesta, así que todavía no se te exige nada." 904 msgstr "" 905 "Rescindir no es desistir. Desistir deshace una compra dentro de su plazo; " 906 "rescindir termina un contrato que sigue vivo, y el artículo 23 de la " 907 "propuesta de Digital Fairness Act te pedirá ofrecerlo en línea mientras dure " 908 "el contrato. Es una propuesta, así que todavía no se te exige nada." 905 909 906 910 #: includes/clases/class-apg-withdrawal-help.php:162 907 #: includes/formulario.php:2 42911 #: includes/formulario.php:253 908 912 msgid "Offer online contract termination?" 909 913 msgstr "¿Ofrecer la rescisión de contratos en línea?" … … 914 918 "the page says the shop does not offer it. It suits subscriptions and " 915 919 "continuing services." 916 msgstr "viene desactivada. Enciéndela y el formulario empieza a responder; déjala apagada y la página avisa de que la tienda no lo ofrece. Encaja en suscripciones y servicios continuados." 920 msgstr "" 921 "viene desactivada. Enciéndela y el formulario empieza a responder; déjala " 922 "apagada y la página avisa de que la tienda no lo ofrece. Encaja en " 923 "suscripciones y servicios continuados." 917 924 918 925 #: includes/clases/class-apg-withdrawal-help.php:163 919 #: includes/formulario.php:2 53926 #: includes/formulario.php:264 920 927 msgid "Contract termination page" 921 928 msgstr "Página de rescisión de contrato" … … 925 932 "the page where you publish the termination form shortcode. Without a page " 926 933 "there is no link to offer." 927 msgstr "la página donde publicas el shortcode del formulario de rescisión. Sin página no hay enlace que ofrecer." 934 msgstr "" 935 "la página donde publicas el shortcode del formulario de rescisión. Sin " 936 "página no hay enlace que ofrecer." 928 937 929 938 #: includes/clases/class-apg-withdrawal-help.php:164 930 #: includes/formulario.php: 298939 #: includes/formulario.php:309 931 940 msgid "Termination link text" 932 941 msgstr "Texto del enlace de rescisión" … … 936 945 "empty for the wording the article prescribes. Whatever you write instead has " 937 946 "to be just as plain: the customer must not have to guess what the link does." 938 msgstr "vacío para el texto que fija el artículo. Lo que escribas en su lugar tiene que ser igual de claro: el cliente no debe adivinar qué hace el enlace." 947 msgstr "" 948 "vacío para el texto que fija el artículo. Lo que escribas en su lugar tiene " 949 "que ser igual de claro: el cliente no debe adivinar qué hace el enlace." 939 950 940 951 #: includes/clases/class-apg-withdrawal-help.php:169 … … 1037 1048 1038 1049 #: includes/clases/class-apg-withdrawal-help.php:186 1039 #: includes/formulario.php: 3911050 #: includes/formulario.php:402 1040 1051 msgid "Exclusion notice texts" 1041 1052 msgstr "Textos de aviso de exclusión" … … 1052 1063 1053 1064 #: includes/clases/class-apg-withdrawal-help.php:191 1054 #: includes/formulario.php:4 171065 #: includes/formulario.php:428 1055 1066 msgid "Digital content waiver" 1056 1067 msgstr "Renuncia al desistimiento de contenido digital" … … 1067 1078 1068 1079 #: includes/clases/class-apg-withdrawal-help.php:194 1069 #: includes/formulario.php:4 221080 #: includes/formulario.php:433 1070 1081 msgid "When to show the checkbox" 1071 1082 msgstr "Cuándo mostrar la casilla" … … 1080 1091 1081 1092 #: includes/clases/class-apg-withdrawal-help.php:195 1082 #: includes/formulario.php:4 391093 #: includes/formulario.php:450 1083 1094 msgid "Custom checkbox text" 1084 1095 msgstr "Texto personalizado de la casilla" … … 2063 2074 msgstr "%1$s x %2$d de %3$d" 2064 2075 2065 #: includes/clases/woocommerce.php:4 232076 #: includes/clases/woocommerce.php:434 2066 2077 msgid "This product is excluded from the right of withdrawal." 2067 2078 msgstr "Este producto está excluido del derecho de desistimiento." 2068 2079 2069 #: includes/clases/woocommerce.php:4 252080 #: includes/clases/woocommerce.php:436 2070 2081 msgid "" 2071 2082 "This product contains digital content. If you requested its immediate supply " … … 2077 2088 "momento de la compra, ya no dispones del derecho de desistimiento." 2078 2089 2079 #: includes/clases/woocommerce.php:4 272090 #: includes/clases/woocommerce.php:438 2080 2091 msgid "" 2081 2092 "This product is made to your specifications or clearly personalised, and is " … … 2086 2097 "desistimiento." 2087 2098 2088 #: includes/clases/woocommerce.php:4 292099 #: includes/clases/woocommerce.php:440 2089 2100 msgid "" 2090 2101 "The applicability of the right of withdrawal on this product will be " … … 2095 2106 2096 2107 #. translators: 1: scope label, 2: log id. 2097 #: includes/clases/woocommerce.php:6 302108 #: includes/clases/woocommerce.php:641 2098 2109 #, php-format 2099 2110 msgid "Withdrawal request received (%1$s). Log ID: #%2$d" … … 2101 2112 2102 2113 #. translators: %s customer details. 2103 #: includes/clases/woocommerce.php:6 422114 #: includes/clases/woocommerce.php:653 2104 2115 #, php-format 2105 2116 msgid "Withdrawal details: %s" 2106 2117 msgstr "Detalles del desistimiento: %s" 2107 2118 2108 #: includes/clases/woocommerce.php:6 762119 #: includes/clases/woocommerce.php:687 2109 2120 msgid "Exercise the right of withdrawal" 2110 2121 msgstr "Ejercer derecho de desistimiento" 2111 2122 2112 #: includes/clases/woocommerce.php:6 772123 #: includes/clases/woocommerce.php:688 2113 2124 msgid "" 2114 2125 "Use this page to exercise your right of withdrawal for WooCommerce orders." … … 2160 2171 "desistimiento del Anexo I.B. Déjalo vacío para omitir la línea del teléfono." 2161 2172 2162 #: includes/formulario.php:62 includes/formulario.php:2 642173 #: includes/formulario.php:62 includes/formulario.php:275 2163 2174 msgid "Select a page" 2164 2175 msgstr "Seleccionar una página" … … 2193 2204 "aviso legal." 2194 2205 2206 #: includes/formulario.php:127 2207 msgid "Public holidays" 2208 msgstr "Días festivos" 2209 2195 2210 #: includes/formulario.php:132 2211 msgid "" 2212 "When the period would end on a Saturday, a Sunday or one of these days, it " 2213 "runs until the end of the next working day, as the EU rules on reckoning " 2214 "periods require. One date per line: 2027-01-06 for a single year, or 01-06 " 2215 "for one that falls on the same date every year. Leave it empty and only " 2216 "weekends count." 2217 msgstr "Cuando el plazo fuera a acabar en sábado, en domingo o en uno de estos días, se prolonga hasta el final del siguiente día hábil, como exigen las reglas de cómputo de la UE. Una fecha por línea: 2027-01-06 para un año concreto, o 01-06 para la que cae siempre el mismo día. Déjalo vacío y sólo contarán los fines de semana." 2218 2219 #: includes/formulario.php:143 2196 2220 msgid "Completed date" 2197 2221 msgstr "Fecha de completado" 2198 2222 2199 #: includes/formulario.php:1 332223 #: includes/formulario.php:144 2200 2224 msgid "Order created date" 2201 2225 msgstr "Fecha de creación del pedido" 2202 2226 2203 #: includes/formulario.php:1 352227 #: includes/formulario.php:146 2204 2228 msgid "" 2205 2229 "Use completed date as the default legal approximation. If the order is not " … … 2209 2233 "el pedido aún no ha sido completado, el plugin lo ajustará automáticamente." 2210 2234 2211 #: includes/formulario.php:1 622235 #: includes/formulario.php:173 2212 2236 msgid "" 2213 2237 "If checked, all withdrawal requests, their metadata and the plugin settings " … … 2219 2243 "plugin. Déjalo sin marcar para conservar tus datos." 2220 2244 2221 #: includes/formulario.php:1 792245 #: includes/formulario.php:190 2222 2246 msgid "" 2223 2247 "How a withdrawal declaration is captured and what it does to the linked " … … 2227 2251 "pedido asociado." 2228 2252 2229 #: includes/formulario.php: 1892253 #: includes/formulario.php:200 2230 2254 msgid "Do not change the order status" 2231 2255 msgstr "No cambiar el estado del pedido" 2232 2256 2233 #: includes/formulario.php: 1942257 #: includes/formulario.php:205 2234 2258 msgid "" 2235 2259 "The plugin registers its own \"Withdrawal requested\" order status, so the " … … 2242 2266 "para no tocar el pedido." 2243 2267 2244 #: includes/formulario.php:2 052268 #: includes/formulario.php:216 2245 2269 msgid "Do not ask for it" 2246 2270 msgstr "No solicitarla" 2247 2271 2248 #: includes/formulario.php:2 062272 #: includes/formulario.php:217 2249 2273 msgid "Ask for it, optional" 2250 2274 msgstr "Solicitarla, opcional" 2251 2275 2252 #: includes/formulario.php:2 072276 #: includes/formulario.php:218 2253 2277 msgid "Ask for it, required" 2254 2278 msgstr "Solicitarla, obligatoria" 2255 2279 2256 #: includes/formulario.php:2 092280 #: includes/formulario.php:220 2257 2281 msgid "" 2258 2282 "Useful when the amount cannot be returned through the original payment " … … 2268 2292 "personales lo elimina por completo. Actívalo solo si realmente lo necesitas." 2269 2293 2270 #: includes/formulario.php:2 202294 #: includes/formulario.php:231 2271 2295 msgid "" 2272 2296 "When a visitor who is not logged in submits the form, the request is held " … … 2284 2308 2285 2309 #. translators: %s: shortcode tag. 2286 #: includes/formulario.php:2 312310 #: includes/formulario.php:242 2287 2311 #, php-format 2288 2312 msgid "" … … 2299 2323 "que elijas." 2300 2324 2301 #: includes/formulario.php:2 472325 #: includes/formulario.php:258 2302 2326 msgid "" 2303 2327 "Off by default. Terminating is not withdrawing: it carries no deadline and " … … 2310 2334 2311 2335 #. translators: %s: shortcode tag. 2312 #: includes/formulario.php:2 862336 #: includes/formulario.php:297 2313 2337 #, php-format 2314 2338 msgid "" … … 2319 2343 "el área de cliente con el shortcode de enlace." 2320 2344 2321 #: includes/formulario.php:3 032345 #: includes/formulario.php:314 2322 2346 msgid "" 2323 2347 "Leave it empty for the prescribed wording. Article 23 asks for \"terminate " … … 2329 2353 "escribas aquí tiene que ser igual de claro." 2330 2354 2331 #: includes/formulario.php:3 082355 #: includes/formulario.php:319 2332 2356 msgid "Automation" 2333 2357 msgstr "Automatización" 2334 2358 2335 #: includes/formulario.php:3 092359 #: includes/formulario.php:320 2336 2360 msgid "" 2337 2361 "Automatically update withdrawal request status when the linked WooCommerce " … … 2342 2366 2343 2367 #. translators: %s withdrawal status label. 2344 #: includes/formulario.php:3 172368 #: includes/formulario.php:328 2345 2369 #, php-format 2346 2370 msgid "Mark as %s when order becomes" 2347 2371 msgstr "Marcar como %s cuando el pedido pase a" 2348 2372 2349 #: includes/formulario.php:3 302373 #: includes/formulario.php:341 2350 2374 msgid "Select order statuses…" 2351 2375 msgstr "Seleccionar estados de pedido…" 2352 2376 2353 #: includes/formulario.php:3 312377 #: includes/formulario.php:342 2354 2378 msgid "Order status" 2355 2379 msgstr "Estado del pedido" 2356 2380 2357 #: includes/formulario.php:3 402381 #: includes/formulario.php:351 2358 2382 msgid "WooCommerce order statuses not available." 2359 2383 msgstr "Estados de pedido de WooCommerce no disponibles." 2360 2384 2361 #: includes/formulario.php:3 472385 #: includes/formulario.php:358 2362 2386 msgid "Customer email notifications" 2363 2387 msgstr "Notificaciones de correo electrónico al cliente" 2364 2388 2365 #: includes/formulario.php:3 492389 #: includes/formulario.php:360 2366 2390 msgid "" 2367 2391 "Send an email to the customer when the withdrawal request status changes. " … … 2371 2395 "solicitud de desistimiento. Configura el contenido en" 2372 2396 2373 #: includes/formulario.php:3 502397 #: includes/formulario.php:361 2374 2398 msgid "WooCommerce › Settings › Emails" 2375 2399 msgstr "WooCommerce › Ajustes › Correos electrónicos" 2376 2400 2377 2401 #. translators: %s withdrawal status label. 2378 #: includes/formulario.php:3 602402 #: includes/formulario.php:371 2379 2403 #, php-format 2380 2404 msgid "Email when changed to %s" 2381 2405 msgstr "Enviar correo al cambiar a %s" 2382 2406 2383 #: includes/formulario.php:3 842407 #: includes/formulario.php:395 2384 2408 msgid "Withdrawal excluded (generic)" 2385 2409 msgstr "Desistimiento excluido (genérico)" 2386 2410 2387 #: includes/formulario.php: 3922411 #: includes/formulario.php:403 2388 2412 msgid "" 2389 2413 "Text shown on the product page (between the price and the Add to Cart " … … 2398 2422 "conservar el texto por defecto traducido." 2399 2423 2400 #: includes/formulario.php:4 182424 #: includes/formulario.php:429 2401 2425 msgid "" 2402 2426 "Show an optional acknowledgement at checkout when the customer is buying " … … 2412 2436 "producto / por categoría (márcalos como \"Contenido digital\")." 2413 2437 2414 #: includes/formulario.php:4 312438 #: includes/formulario.php:442 2415 2439 msgid "Never (disabled)" 2416 2440 msgstr "Nunca (desactivado)" 2417 2441 2418 #: includes/formulario.php:4 322442 #: includes/formulario.php:443 2419 2443 msgid "On products classified as digital content" 2420 2444 msgstr "En productos clasificados como contenido digital" 2421 2445 2422 #: includes/formulario.php:4 332446 #: includes/formulario.php:444 2423 2447 msgid "On every order" 2424 2448 msgstr "En todos los pedidos" 2425 2449 2426 #: includes/formulario.php:4 512450 #: includes/formulario.php:462 2427 2451 msgid "" 2428 2452 "Pre-filled with the default acknowledgement text. Edit it to customise it, " -
apg-withdrawal-for-woocommerce/trunk/languages/apg-withdrawal-for-woocommerce.pot
r3819236 r3844937 4 4 "Project-Id-Version: APG Withdrawal for WooCommerce\n" 5 5 "Report-Msgid-Bugs-To: \n" 6 "POT-Creation-Date: 2026-1 1-23 20:24+0000\n"6 "POT-Creation-Date: 2026-12-02 09:08+0000\n" 7 7 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 8 8 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 43 43 msgstr "" 44 44 45 #: apg-withdrawal-for-woocommerce.php:16046 45 #: apg-withdrawal-for-woocommerce.php:161 47 #: apg-withdrawal-for-woocommerce.php:270 46 #: apg-withdrawal-for-woocommerce.php:162 47 #: apg-withdrawal-for-woocommerce.php:271 48 #: apg-withdrawal-for-woocommerce.php:273 49 #: apg-withdrawal-for-woocommerce.php:274 50 #: includes/admin/funciones-apg.php:730 51 msgid "Withdrawals" 52 msgstr "" 53 54 #: apg-withdrawal-for-woocommerce.php:168 55 msgid "APG Withdrawal" 56 msgstr "" 57 58 #: apg-withdrawal-for-woocommerce.php:169 48 59 #: apg-withdrawal-for-woocommerce.php:272 49 #: apg-withdrawal-for-woocommerce.php:273 50 #: includes/admin/funciones-apg.php:729 51 msgid "Withdrawals" 52 msgstr "" 53 54 #: apg-withdrawal-for-woocommerce.php:167 55 msgid "APG Withdrawal" 56 msgstr "" 57 58 #: apg-withdrawal-for-woocommerce.php:168 59 #: apg-withdrawal-for-woocommerce.php:271 60 #: apg-withdrawal-for-woocommerce.php:347 61 #: apg-withdrawal-for-woocommerce.php:375 60 #: apg-withdrawal-for-woocommerce.php:348 61 #: apg-withdrawal-for-woocommerce.php:376 62 62 #: includes/clases/pedidos.php:69 63 63 #: includes/clases/pedidos.php:74 … … 66 66 msgstr "" 67 67 68 #: apg-withdrawal-for-woocommerce.php:27 468 #: apg-withdrawal-for-woocommerce.php:275 69 69 msgid "Add withdrawal" 70 70 msgstr "" 71 71 72 #: apg-withdrawal-for-woocommerce.php:27 572 #: apg-withdrawal-for-woocommerce.php:276 73 73 msgid "Edit withdrawal" 74 74 msgstr "" 75 75 76 #: apg-withdrawal-for-woocommerce.php:27 676 #: apg-withdrawal-for-woocommerce.php:277 77 77 msgid "View withdrawal" 78 78 msgstr "" 79 79 80 #: apg-withdrawal-for-woocommerce.php:27 780 #: apg-withdrawal-for-woocommerce.php:278 81 81 msgid "Search withdrawals" 82 82 msgstr "" 83 83 84 #: apg-withdrawal-for-woocommerce.php:42 184 #: apg-withdrawal-for-woocommerce.php:422 85 85 msgid "Withdraw from the contract here *" 86 86 msgstr "" 87 87 88 #: apg-withdrawal-for-woocommerce.php:42 688 #: apg-withdrawal-for-woocommerce.php:427 89 89 #: includes/clases/enlace.php:56 90 90 msgid "Withdraw from the contract here" 91 91 msgstr "" 92 92 93 #: apg-withdrawal-for-woocommerce.php:44 593 #: apg-withdrawal-for-woocommerce.php:446 94 94 msgid "* The standard withdrawal period for this order may have expired. You may still submit a request and it will be reviewed by the store." 95 95 msgstr "" 96 96 97 #: apg-withdrawal-for-woocommerce.php:56 397 #: apg-withdrawal-for-woocommerce.php:564 98 98 #: includes/admin/funciones-apg.php:255 99 99 msgid "Confirm withdrawal" … … 117 117 118 118 #. translators: %s saved button label. 119 #: includes/admin/funciones-apg.php:4 69119 #: includes/admin/funciones-apg.php:470 120 120 #, php-format 121 121 msgid "The confirmation button label \"%s\" looks ambiguous. Article 11a of Directive 2011/83/EU (added by Directive (EU) 2023/2673) requires the wording to make it clear to the consumer that they are exercising their right of withdrawal. Consider using \"Confirm withdrawal\" or an equivalent unambiguous wording in your language." 122 122 msgstr "" 123 123 124 #: includes/admin/funciones-apg.php:5 19124 #: includes/admin/funciones-apg.php:520 125 125 msgid "European Union (baseline)" 126 126 msgstr "" 127 127 128 #: includes/admin/funciones-apg.php:52 0128 #: includes/admin/funciones-apg.php:521 129 129 msgid "Spain" 130 130 msgstr "" 131 131 132 #: includes/admin/funciones-apg.php:57 0132 #: includes/admin/funciones-apg.php:571 133 133 msgid "This request is governed by Articles 102 to 108 of Royal Legislative Decree 1/2007 (TRLGDCU) and by Article 11a of Directive 2011/83/EU, added by Directive (EU) 2023/2673, which applies directly from 19 June 2026." 134 134 msgstr "" 135 135 136 #: includes/admin/funciones-apg.php:57 3136 #: includes/admin/funciones-apg.php:574 137 137 msgid "This request is governed by Directive 2011/83/EU on consumer rights, as amended by Directive (EU) 2023/2673, whose Article 11a has applied since 19 June 2026." 138 138 msgstr "" 139 139 140 140 #. translators: %s plugin name 141 #: includes/admin/funciones-apg.php:66 7142 #: includes/admin/funciones-apg.php:68 1141 #: includes/admin/funciones-apg.php:668 142 #: includes/admin/funciones-apg.php:682 143 143 #: includes/cuadro-informacion.php:56 144 144 #, php-format … … 147 147 148 148 #. translators: %s plugin name 149 #: includes/admin/funciones-apg.php:66 7149 #: includes/admin/funciones-apg.php:668 150 150 msgid "Unknown rating" 151 151 msgstr "" 152 152 153 #: includes/admin/funciones-apg.php:70 1153 #: includes/admin/funciones-apg.php:702 154 154 #: includes/cuadro-informacion.php:18 155 155 msgid "Make a donation by " 156 156 msgstr "" 157 157 158 #: includes/admin/funciones-apg.php:70 3158 #: includes/admin/funciones-apg.php:704 159 159 #: includes/cuadro-informacion.php:30 160 160 msgid "Follow us on " 161 161 msgstr "" 162 162 163 #: includes/admin/funciones-apg.php:70 4163 #: includes/admin/funciones-apg.php:705 164 164 #: includes/cuadro-informacion.php:34 165 165 msgid "More plugins on " 166 166 msgstr "" 167 167 168 #: includes/admin/funciones-apg.php:70 5168 #: includes/admin/funciones-apg.php:706 169 169 #: includes/cuadro-informacion.php:42 170 170 msgid "Contact us by " 171 171 msgstr "" 172 172 173 #: includes/admin/funciones-apg.php:72 7173 #: includes/admin/funciones-apg.php:728 174 174 msgid "Support of " 175 175 msgstr "" 176 176 177 #: includes/admin/funciones-apg.php:72 7177 #: includes/admin/funciones-apg.php:728 178 178 #: includes/cuadro-informacion.php:46 179 179 msgid "Support" 180 180 msgstr "" 181 181 182 #: includes/admin/funciones-apg.php:72 8182 #: includes/admin/funciones-apg.php:729 183 183 msgid "Settings of " 184 184 msgstr "" 185 185 186 #: includes/admin/funciones-apg.php:72 8186 #: includes/admin/funciones-apg.php:729 187 187 msgid "Settings" 188 188 msgstr "" … … 201 201 #: includes/clases/pedidos.php:107 202 202 #: includes/clases/pedidos.php:297 203 #: includes/formulario.php:1 72203 #: includes/formulario.php:183 204 204 msgid "Accepted" 205 205 msgstr "" … … 210 210 #: includes/clases/pedidos.php:108 211 211 #: includes/clases/pedidos.php:298 212 #: includes/formulario.php:1 73212 #: includes/formulario.php:184 213 213 msgid "Rejected" 214 214 msgstr "" … … 219 219 #: includes/clases/pedidos.php:109 220 220 #: includes/clases/pedidos.php:299 221 #: includes/formulario.php:1 74221 #: includes/formulario.php:185 222 222 msgid "Completed" 223 223 msgstr "" … … 316 316 #: includes/clases/admin/solicitudes.php:337 317 317 #: includes/clases/class-apg-withdrawal-help.php:159 318 #: includes/formulario.php:2 25318 #: includes/formulario.php:236 319 319 msgid "Contract termination" 320 320 msgstr "" … … 327 327 #: includes/clases/formulario.php:259 328 328 #: includes/clases/formulario.php:675 329 #: includes/clases/woocommerce.php:6 25329 #: includes/clases/woocommerce.php:636 330 330 #: templates/emails/apg-withdrawal-admin.php:19 331 331 #: templates/emails/apg-withdrawal-customer.php:19 … … 342 342 #: includes/clases/formulario.php:259 343 343 #: includes/clases/formulario.php:674 344 #: includes/clases/woocommerce.php:6 25344 #: includes/clases/woocommerce.php:636 345 345 #: templates/emails/apg-withdrawal-admin.php:20 346 346 #: templates/emails/apg-withdrawal-customer.php:20 … … 382 382 #: includes/clases/admin/solicitudes.php:378 383 383 #: includes/clases/class-apg-withdrawal-help.php:141 384 #: includes/formulario.php:1 27384 #: includes/formulario.php:138 385 385 msgid "Deadline source" 386 386 msgstr "" … … 602 602 #: includes/clases/class-apg-withdrawal-help.php:183 603 603 #: includes/clases/producto.php:42 604 #: includes/formulario.php:3 85604 #: includes/formulario.php:396 605 605 msgid "Digital content" 606 606 msgstr "" … … 609 609 #: includes/clases/class-apg-withdrawal-help.php:184 610 610 #: includes/clases/producto.php:43 611 #: includes/formulario.php:3 86611 #: includes/formulario.php:397 612 612 msgid "Personalised product" 613 613 msgstr "" … … 616 616 #: includes/clases/class-apg-withdrawal-help.php:185 617 617 #: includes/clases/producto.php:44 618 #: includes/formulario.php:3 87618 #: includes/formulario.php:398 619 619 msgid "Manual review required" 620 620 msgstr "" … … 727 727 728 728 #: includes/clases/class-apg-withdrawal-help.php:142 729 #: includes/formulario.php:1 41729 #: includes/formulario.php:152 730 730 msgid "Store IP address?" 731 731 msgstr "" … … 736 736 737 737 #: includes/clases/class-apg-withdrawal-help.php:143 738 #: includes/formulario.php:1 49738 #: includes/formulario.php:160 739 739 msgid "Store browser identifier?" 740 740 msgstr "" … … 745 745 746 746 #: includes/clases/class-apg-withdrawal-help.php:144 747 #: includes/formulario.php:1 57747 #: includes/formulario.php:168 748 748 msgid "Delete all data on uninstall?" 749 749 msgstr "" … … 754 754 755 755 #: includes/clases/class-apg-withdrawal-help.php:149 756 #: includes/formulario.php:1 78756 #: includes/formulario.php:189 757 757 msgid "Request handling" 758 758 msgstr "" … … 763 763 764 764 #: includes/clases/class-apg-withdrawal-help.php:152 765 #: includes/formulario.php:1 84765 #: includes/formulario.php:195 766 766 msgid "Order status when a request is received" 767 767 msgstr "" … … 773 773 #: includes/clases/class-apg-withdrawal-help.php:153 774 774 #: includes/clases/formulario.php:697 775 #: includes/formulario.php:2 00775 #: includes/formulario.php:211 776 776 msgid "Account for the refund (IBAN)" 777 777 msgstr "" … … 782 782 783 783 #: includes/clases/class-apg-withdrawal-help.php:154 784 #: includes/formulario.php:2 15784 #: includes/formulario.php:226 785 785 msgid "Confirm guest requests by email?" 786 786 msgstr "" … … 795 795 796 796 #: includes/clases/class-apg-withdrawal-help.php:162 797 #: includes/formulario.php:2 42797 #: includes/formulario.php:253 798 798 msgid "Offer online contract termination?" 799 799 msgstr "" … … 804 804 805 805 #: includes/clases/class-apg-withdrawal-help.php:163 806 #: includes/formulario.php:2 53806 #: includes/formulario.php:264 807 807 msgid "Contract termination page" 808 808 msgstr "" … … 813 813 814 814 #: includes/clases/class-apg-withdrawal-help.php:164 815 #: includes/formulario.php: 298815 #: includes/formulario.php:309 816 816 msgid "Termination link text" 817 817 msgstr "" … … 878 878 879 879 #: includes/clases/class-apg-withdrawal-help.php:186 880 #: includes/formulario.php: 391880 #: includes/formulario.php:402 881 881 msgid "Exclusion notice texts" 882 882 msgstr "" … … 887 887 888 888 #: includes/clases/class-apg-withdrawal-help.php:191 889 #: includes/formulario.php:4 17889 #: includes/formulario.php:428 890 890 msgid "Digital content waiver" 891 891 msgstr "" … … 896 896 897 897 #: includes/clases/class-apg-withdrawal-help.php:194 898 #: includes/formulario.php:4 22898 #: includes/formulario.php:433 899 899 msgid "When to show the checkbox" 900 900 msgstr "" … … 905 905 906 906 #: includes/clases/class-apg-withdrawal-help.php:195 907 #: includes/formulario.php:4 39907 #: includes/formulario.php:450 908 908 msgid "Custom checkbox text" 909 909 msgstr "" … … 1680 1680 msgstr "" 1681 1681 1682 #: includes/clases/woocommerce.php:4 231682 #: includes/clases/woocommerce.php:434 1683 1683 msgid "This product is excluded from the right of withdrawal." 1684 1684 msgstr "" 1685 1685 1686 #: includes/clases/woocommerce.php:4 251686 #: includes/clases/woocommerce.php:436 1687 1687 msgid "This product contains digital content. If you requested its immediate supply and acknowledged the loss of the right of withdrawal at purchase, you no longer have the right of withdrawal." 1688 1688 msgstr "" 1689 1689 1690 #: includes/clases/woocommerce.php:4 271690 #: includes/clases/woocommerce.php:438 1691 1691 msgid "This product is made to your specifications or clearly personalised, and is therefore excluded from the right of withdrawal." 1692 1692 msgstr "" 1693 1693 1694 #: includes/clases/woocommerce.php:4 291694 #: includes/clases/woocommerce.php:440 1695 1695 msgid "The applicability of the right of withdrawal on this product will be reviewed manually by the store after a request is submitted." 1696 1696 msgstr "" 1697 1697 1698 1698 #. translators: 1: scope label, 2: log id. 1699 #: includes/clases/woocommerce.php:6 301699 #: includes/clases/woocommerce.php:641 1700 1700 #, php-format 1701 1701 msgid "Withdrawal request received (%1$s). Log ID: #%2$d" … … 1703 1703 1704 1704 #. translators: %s customer details. 1705 #: includes/clases/woocommerce.php:6 421705 #: includes/clases/woocommerce.php:653 1706 1706 #, php-format 1707 1707 msgid "Withdrawal details: %s" 1708 1708 msgstr "" 1709 1709 1710 #: includes/clases/woocommerce.php:6 761710 #: includes/clases/woocommerce.php:687 1711 1711 msgid "Exercise the right of withdrawal" 1712 1712 msgstr "" 1713 1713 1714 #: includes/clases/woocommerce.php:6 771714 #: includes/clases/woocommerce.php:688 1715 1715 msgid "Use this page to exercise your right of withdrawal for WooCommerce orders." 1716 1716 msgstr "" … … 1749 1749 1750 1750 #: includes/formulario.php:62 1751 #: includes/formulario.php:2 641751 #: includes/formulario.php:275 1752 1752 msgid "Select a page" 1753 1753 msgstr "" … … 1767 1767 msgstr "" 1768 1768 1769 #: includes/formulario.php:127 1770 msgid "Public holidays" 1771 msgstr "" 1772 1769 1773 #: includes/formulario.php:132 1774 msgid "When the period would end on a Saturday, a Sunday or one of these days, it runs until the end of the next working day, as the EU rules on reckoning periods require. One date per line: 2027-01-06 for a single year, or 01-06 for one that falls on the same date every year. Leave it empty and only weekends count." 1775 msgstr "" 1776 1777 #: includes/formulario.php:143 1770 1778 msgid "Completed date" 1771 1779 msgstr "" 1772 1780 1773 #: includes/formulario.php:1 331781 #: includes/formulario.php:144 1774 1782 msgid "Order created date" 1775 1783 msgstr "" 1776 1784 1777 #: includes/formulario.php:1 351785 #: includes/formulario.php:146 1778 1786 msgid "Use completed date as the default legal approximation. If the order is not completed yet, the plugin will fall back automatically." 1779 1787 msgstr "" 1780 1788 1781 #: includes/formulario.php:1 621789 #: includes/formulario.php:173 1782 1790 msgid "If checked, all withdrawal requests, their metadata and the plugin settings will be permanently deleted when the plugin is uninstalled. Leave unchecked to keep your data." 1783 1791 msgstr "" 1784 1792 1785 #: includes/formulario.php:1 791793 #: includes/formulario.php:190 1786 1794 msgid "How a withdrawal declaration is captured and what it does to the linked order." 1787 1795 msgstr "" 1788 1796 1789 #: includes/formulario.php: 1891797 #: includes/formulario.php:200 1790 1798 msgid "Do not change the order status" 1791 1799 msgstr "" 1792 1800 1793 #: includes/formulario.php: 1941801 #: includes/formulario.php:205 1794 1802 msgid "The plugin registers its own \"Withdrawal requested\" order status, so the affected orders can be filtered, sorted and bulk-edited with the native WooCommerce tools. Leave the default to keep the order untouched." 1795 1803 msgstr "" 1796 1804 1797 #: includes/formulario.php:2 051805 #: includes/formulario.php:216 1798 1806 msgid "Do not ask for it" 1799 1807 msgstr "" 1800 1808 1801 #: includes/formulario.php:2 061809 #: includes/formulario.php:217 1802 1810 msgid "Ask for it, optional" 1803 1811 msgstr "" 1804 1812 1805 #: includes/formulario.php:2 071813 #: includes/formulario.php:218 1806 1814 msgid "Ask for it, required" 1807 1815 msgstr "" 1808 1816 1809 #: includes/formulario.php:2 091817 #: includes/formulario.php:220 1810 1818 msgid "Useful when the amount cannot be returned through the original payment method. The number is validated with the international IBAN control digits (ISO 7064 MOD-97-10) before being accepted, is stored with the request as banking data, is included in the privacy exporter and is deleted outright by the privacy eraser. Only enable it if you actually need it." 1811 1819 msgstr "" 1812 1820 1813 #: includes/formulario.php:2 201821 #: includes/formulario.php:231 1814 1822 msgid "When a visitor who is not logged in submits the form, the request is held and a single-use link is sent to the email address on the order; only opening that link registers it. The request keeps the date and time of the original submission, so the customer never loses days of their withdrawal period. Logged-in customers are unaffected." 1815 1823 msgstr "" 1816 1824 1817 1825 #. translators: %s: shortcode tag. 1818 #: includes/formulario.php:2 311826 #: includes/formulario.php:242 1819 1827 #, php-format 1820 1828 msgid "Article 23 of the proposed Digital Fairness Act will require shops that let customers sign up online to let them terminate the contract online too, for as long as it lasts. It is a proposal, so nothing is required of you yet: switch it on only if you want to be ready early. Publish %s on the page you select." 1821 1829 msgstr "" 1822 1830 1823 #: includes/formulario.php:2 471831 #: includes/formulario.php:258 1824 1832 msgid "Off by default. Terminating is not withdrawing: it carries no deadline and stays available for as long as the contract does, so it suits shops with subscriptions or continuing services." 1825 1833 msgstr "" 1826 1834 1827 1835 #. translators: %s: shortcode tag. 1828 #: includes/formulario.php:2 861836 #: includes/formulario.php:297 1829 1837 #, php-format 1830 1838 msgid "Page where the shortcode %s is published. Link to it from your footer or your account area with the link shortcode." 1831 1839 msgstr "" 1832 1840 1833 #: includes/formulario.php:3 031841 #: includes/formulario.php:314 1834 1842 msgid "Leave it empty for the prescribed wording. Article 23 asks for \"terminate the contract here\" or an unambiguous equivalent, so anything you write here has to be just as plain." 1835 1843 msgstr "" 1836 1844 1837 #: includes/formulario.php:3 081845 #: includes/formulario.php:319 1838 1846 msgid "Automation" 1839 1847 msgstr "" 1840 1848 1841 #: includes/formulario.php:3 091849 #: includes/formulario.php:320 1842 1850 msgid "Automatically update withdrawal request status when the linked WooCommerce order changes status." 1843 1851 msgstr "" 1844 1852 1845 1853 #. translators: %s withdrawal status label. 1846 #: includes/formulario.php:3 171854 #: includes/formulario.php:328 1847 1855 #, php-format 1848 1856 msgid "Mark as %s when order becomes" 1849 1857 msgstr "" 1850 1858 1851 #: includes/formulario.php:3 301859 #: includes/formulario.php:341 1852 1860 msgid "Select order statuses…" 1853 1861 msgstr "" 1854 1862 1855 #: includes/formulario.php:3 311863 #: includes/formulario.php:342 1856 1864 msgid "Order status" 1857 1865 msgstr "" 1858 1866 1859 #: includes/formulario.php:3 401867 #: includes/formulario.php:351 1860 1868 msgid "WooCommerce order statuses not available." 1861 1869 msgstr "" 1862 1870 1863 #: includes/formulario.php:3 471871 #: includes/formulario.php:358 1864 1872 msgid "Customer email notifications" 1865 1873 msgstr "" 1866 1874 1867 #: includes/formulario.php:3 491875 #: includes/formulario.php:360 1868 1876 msgid "Send an email to the customer when the withdrawal request status changes. Configure content in" 1869 1877 msgstr "" 1870 1878 1871 #: includes/formulario.php:3 501879 #: includes/formulario.php:361 1872 1880 msgid "WooCommerce › Settings › Emails" 1873 1881 msgstr "" 1874 1882 1875 1883 #. translators: %s withdrawal status label. 1876 #: includes/formulario.php:3 601884 #: includes/formulario.php:371 1877 1885 #, php-format 1878 1886 msgid "Email when changed to %s" 1879 1887 msgstr "" 1880 1888 1881 #: includes/formulario.php:3 841889 #: includes/formulario.php:395 1882 1890 msgid "Withdrawal excluded (generic)" 1883 1891 msgstr "" 1884 1892 1885 #: includes/formulario.php: 3921893 #: includes/formulario.php:403 1886 1894 msgid "Text shown on the product page (between the price and the Add to Cart button) and inside the withdrawal request form for products classified with each withdrawal type. Edit any field to override the built-in default. Leave a field empty to keep the translated default text." 1887 1895 msgstr "" 1888 1896 1889 #: includes/formulario.php:4 181897 #: includes/formulario.php:429 1890 1898 msgid "Show an optional acknowledgement at checkout when the customer is buying digital content or virtual services subject to the immediate-execution waiver of the right of withdrawal. The list of products that trigger this checkbox is driven by the per-product / per-category \"Withdrawal type\" field (mark them as \"Digital content\")." 1891 1899 msgstr "" 1892 1900 1893 #: includes/formulario.php:4 311901 #: includes/formulario.php:442 1894 1902 msgid "Never (disabled)" 1895 1903 msgstr "" 1896 1904 1897 #: includes/formulario.php:4 321905 #: includes/formulario.php:443 1898 1906 msgid "On products classified as digital content" 1899 1907 msgstr "" 1900 1908 1901 #: includes/formulario.php:4 331909 #: includes/formulario.php:444 1902 1910 msgid "On every order" 1903 1911 msgstr "" 1904 1912 1905 #: includes/formulario.php:4 511913 #: includes/formulario.php:462 1906 1914 msgid "Pre-filled with the default acknowledgement text. Edit it to customise it, or clear the field to revert to the default at any time." 1907 1915 msgstr "" -
apg-withdrawal-for-woocommerce/trunk/readme.md
r3838642 r3844937 9 9 10 10 Tested up to: 7.2 11 Stable tag: 0. 9.011 Stable tag: 0.10.0 12 12 13 13 Requires PHP: 7.4 … … 36 36 * Cuenta para el reembolso (IBAN) opcional, validada con los dígitos de control internacionales (ISO 7064 MOD-97-10). 37 37 * Función de rescisión de contrato en línea (artículo 23 de la propuesta de Digital Fairness Act): formulario propio con los textos que fija el artículo, disponible mientras dure el contrato y sin plazo que lo limite, y acuse de recibo que indica la fecha en que la rescisión surte efecto. Viene desactivada, y el filtro `apg_withdrawal_termination_effective_date` sirve para las tiendas cuyos contratos terminan con preaviso o al cerrar el ciclo de facturación. 38 * El plazo se cuenta como manda el Reglamento (CEE, Euratom) n.º 1182/71: acaba al final de su último día y, si ese día es sábado, domingo o un festivo que haya declarado la tienda, al final del siguiente día hábil. La duración legal sale del país del cliente —catorce días en todo el EEE, que el artículo 9 de la Directiva 2011/83/UE armoniza por completo— y la tienda que da más sigue dándolo. 38 39 * Doble confirmación opcional para invitados: la solicitud queda retenida hasta que el cliente abre un enlace de un solo uso enviado a la dirección del pedido, conservando la fecha y la hora del envío original. 39 40 * Ajuste de jurisdicción (base UE / España) que determina la referencia normativa que se muestra al cliente. … … 136 137 137 138 ## Changelog 139 ### 0.10.0 140 * Los detalles que escribe el cliente se escapan allá donde la tienda los lee, en el registro de solicitudes y en las notas del pedido. 141 * La dirección del visitante se resuelve en un único sitio, y una cabecera de proxy sólo se cree cuando la conexión viene de un proxy que la tienda ha declarado. Nuevo filtro `apg_withdrawal_trusted_proxies`. 142 * El acuse de recibo va siempre a la dirección que consta en el pedido, y el limitador de intentos ya no se estrena escribiendo otra. 143 * El plazo de desistimiento vence ahora como lo cuenta el derecho de la UE: al final de su último día y, si ese día cae en sábado, domingo o en un festivo de los que hayas declarado, al final del siguiente día hábil. Sólo puede dar más tiempo al cliente, nunca menos. 144 * El plazo legal se lee del país del cliente —catorce días en todo el EEE— y la tienda que da más sigue dándolo. Nuevos filtros `apg_withdrawal_country_periods`, `apg_withdrawal_period_days`, `apg_withdrawal_holidays`, `apg_withdrawal_weekend_days`, `apg_withdrawal_order_country`, `apg_withdrawal_extend_to_working_day` y `apg_withdrawal_reckon_by_regulation`. 145 * Nuevo ajuste *Días festivos*: los días que empujan un vencimiento al siguiente día hábil. 146 138 147 ### 0.9.0 139 148 * Nueva función de rescisión de contrato en línea, la que exigirá el artículo 23 de la propuesta de Digital Fairness Act: formulario propio de dos pasos, los textos que fija la norma y un acuse que indica la fecha en que surte efecto. Viene desactivada. -
apg-withdrawal-for-woocommerce/trunk/readme.txt
r3838642 r3844937 5 5 Requires at least: 6.0 6 6 Tested up to: 7.2 7 Stable tag: 0. 9.07 Stable tag: 0.10.0 8 8 Requires PHP: 7.4 9 9 WC requires at least: 7.0 … … 28 28 * Optional refund account (IBAN) validated with the international control digits (ISO 7064 MOD-97-10). 29 29 * Online contract termination function (Article 23 of the proposed Digital Fairness Act): a form of its own with the wording the article prescribes, available for as long as the contract lasts and with no deadline, and an acknowledgement of receipt stating the date on which the termination takes effect. Shipped switched off, with the `apg_withdrawal_termination_effective_date` filter for shops whose contracts end on a notice period or a billing cycle. 30 * The withdrawal period is reckoned as Regulation (EEC, Euratom) No 1182/71 requires: it ends at the end of its last day and, where that day is a Saturday, a Sunday or a public holiday the shop has declared, at the end of the next working day. The statutory length comes from the customer's country — fourteen days across the EEA, which Article 9 of Directive 2011/83/EU harmonises fully — and a shop that grants more keeps granting it. 30 31 * Optional double opt-in for guests: the request is held until the customer opens a single-use link sent to the email address on the order, while keeping the date and time of the original submission. 31 32 * Jurisdiction setting (EU baseline / Spain) that governs the statutory reference shown to the customer. … … 136 137 137 138 == Changelog == 139 = 0.10.0 = 140 * The free-text details a customer writes are escaped everywhere the shop reads them, in the request log and in the order notes. 141 * The visitor's address is resolved in one place, and a proxy header is believed only when the connection comes from a proxy the shop has declared. New `apg_withdrawal_trusted_proxies` filter. 142 * The acknowledgement of receipt always goes to the address on the order, and the attempt limiter can no longer be reset by typing a different one. 143 * The withdrawal period now expires the way EU law reckons it: at the end of its last day, and, when that day is a Saturday, a Sunday or a public holiday you have declared, at the end of the next working day. It can only ever give the customer more time, never less. 144 * The statutory period is read from the customer's country — fourteen days across the EEA — and a shop that grants more keeps granting it. New `apg_withdrawal_country_periods`, `apg_withdrawal_period_days`, `apg_withdrawal_holidays`, `apg_withdrawal_weekend_days`, `apg_withdrawal_order_country`, `apg_withdrawal_extend_to_working_day` and `apg_withdrawal_reckon_by_regulation` filters. 145 * New *Public holidays* setting: the days that push a deadline to the next working day. 146 138 147 = 0.9.0 = 139 148 * New online contract termination function, the one Article 23 of the proposed Digital Fairness Act will require: its own two-step form, the prescribed wording, and an acknowledgement stating the date the termination takes effect. Off by default. … … 246 255 247 256 == Upgrade Notice == 248 = 0. 9.0 =249 * Adds the online contract termination function the Digital Fairness Act will require, switched off until you want it, and stops the digital-content waiver losing its tick in the classic checkout.257 = 0.10.0 = 258 * The withdrawal period is now reckoned as EU law requires: it ends at the end of its last day and runs to the next working day when that day is a weekend or a holiday you declared. Deadlines can only get longer, never shorter. 250 259 251 260 == Thanks ==
Note:
See TracChangeset
for help on using the changeset viewer.