Plugin Directory

Changeset 3847713


Ignore:
Timestamp:
12/06/2026 11:33:05 AM (4 hours ago)
Author:
pay4all
Message:

1.8.0

Location:
pay4all-age-verification/trunk
Files:
2 added
15 edited

Legend:

Unmodified
Added
Removed
  • pay4all-age-verification/trunk/languages/pay4all-age-verification-de_DE.po

    r3807828 r3847713  
    275275msgstr "Englisch"
    276276
     277msgid "Spanish"
     278msgstr "Spanisch"
     279
    277280msgid "Envoi en cours…"
    278281msgstr "Wird hochgeladen…"
  • pay4all-age-verification/trunk/languages/pay4all-age-verification-en_US.po

    r3807828 r3847713  
    181181msgstr "English"
    182182
     183msgid "Spanish"
     184msgstr "Spanish"
     185
    183186msgid "Envoi en cours…"
    184187msgstr "Envoi en cours…"
  • pay4all-age-verification/trunk/languages/pay4all-age-verification-fr_FR.po

    r3807828 r3847713  
    278278msgstr "Anglais"
    279279
     280msgid "Spanish"
     281msgstr "Espagnol"
     282
    280283msgid "Envoi en cours…"
    281284msgstr "Envoi en cours…"
  • pay4all-age-verification/trunk/languages/pay4all-age-verification-it_IT.po

    r3807828 r3847713  
    272272msgstr "Inglese"
    273273
     274msgid "Spanish"
     275msgstr "Spagnolo"
     276
    274277msgid "Envoi en cours…"
    275278msgstr "Invio in corso…"
  • pay4all-age-verification/trunk/languages/pay4all-age-verification.pot

    r3807828 r3847713  
    177177
    178178msgid "English"
     179msgstr ""
     180
     181msgid "Spanish"
    179182msgstr ""
    180183
  • pay4all-age-verification/trunk/pay4all-age-verification.php

    r3834585 r3847713  
    33 * Plugin Name: Pay4All Age Verification
    44 * Description: Age verification and legal-age gate for WooCommerce and Pay4All Shop. ID + selfie capture, cross-device QR flow, AES-256-GCM encryption at rest. Ideal for alcohol, tobacco, or any adult-only product. Drag-drop reorder of the ID / selfies steps shared between both storefronts.
    5  * Version:     1.7.2
     5 * Version:     1.8.0
    66 * Author:      Pay4All
    77 * Author URI:  https://pay4all.net/
    … …  
    1818if ( ! defined( 'ABSPATH' ) ) { exit; }
    1919
    20 define( 'P4ALL_AGE_VERSION', '1.7.2' );
     20define( 'P4ALL_AGE_VERSION', '1.8.0' );
    2121define( 'P4ALL_AGE_FILE',    __FILE__ );
    2222define( 'P4ALL_AGE_PATH',    plugin_dir_path( __FILE__ ) );
  • pay4all-age-verification/trunk/readme.txt

    r3834585 r3847713  
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.7.2
     7Stable tag: 1.8.0
    88License: GPL-2.0-or-later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    5050= Available languages =
    5151
    52 Français (fr_FR), Deutsch (de_DE), Italiano (it_IT), English (en_US).
     52Français (fr_FR), Deutsch (de_DE), Italiano (it_IT), English (en_US), Español (es_ES).
    5353
    5454== External services ==
    … …  
    9999= Which languages ship out of the box? =
    100100
    101 French (fr_FR), German (de_DE), Italian (it_IT) and English (en_US). Every customer-facing string is also overridable per-language from the settings page — merchants can rewrite the KYC panel copy without touching a `.po` file.
     101French (fr_FR), German (de_DE), Italian (it_IT), English (en_US) and Spanish (es_ES). Every customer-facing string is also overridable per-language from the settings page — merchants can rewrite the KYC panel copy without touching a `.po` file.
    102102
    103103= Does the plugin contact any external service? =
    … …  
    114114
    115115== Changelog ==
     116
     117= 1.8.0 =
     118* Interface et panneau de vérification traduits en espagnol.
     119* Textes du panneau personnalisables aussi en espagnol.
     120* Liens vers pay4all.net en espagnol pour les administrateurs hispanophones.
    116121
    117122= 1.7.2 =
  • pay4all-age-verification/trunk/src/Admin/AddOnsPage.php

    r3661055 r3847713  
    101101        public static function current_lang() : string {
    102102                $lang = strtolower( substr( (string) determine_locale(), 0, 2 ) );
    103                 return in_array( $lang, [ 'fr', 'de', 'it', 'en' ], true ) ? $lang : 'fr';
     103                return in_array( $lang, [ 'fr', 'de', 'it', 'en', 'es' ], true ) ? $lang : 'fr';
    104104        }
    105105}
  • pay4all-age-verification/trunk/src/Admin/Settings.php

    r3801955 r3847713  
    349349                                                $sec_texts_langs = self::active_languages();
    350350                                                $sec_texts_lang  = $sec_texts_langs[0] ?? Config::current_locale();
    351                                                 $wp_lang_map     = [ 'fr' => 'fr_FR', 'de' => 'de_DE', 'it' => 'it_IT', 'en' => 'en_US' ];
     351                                                $wp_lang_map     = [ 'fr' => 'fr_FR', 'de' => 'de_DE', 'it' => 'it_IT', 'en' => 'en_US', 'es' => 'es_ES' ];
    352352                                                $sec_texts_wp    = $wp_lang_map[ $sec_texts_lang ] ?? '';
    353353                                                $switched        = $sec_texts_wp !== '' && function_exists( 'switch_to_locale' )
    … …  
    438438                                                // Shop is active, we honour its "Settings > Language"
    439439                                                // selection; when it isn't, we fall back to every
    440                                                 // language pay4all-age supports (fr / de / it / en).
     440                                                // language pay4all-age supports (fr / de / it / en / es).
    441441                                                $active_langs   = self::active_languages();
    442442                                                $lang_full_labels = [
    … …  
    445445                                                        'it' => __( 'Italian', 'pay4all-age-verification' ),
    446446                                                        'en' => __( 'English', 'pay4all-age-verification' ),
     447                                                        'es' => __( 'Spanish', 'pay4all-age-verification' ),
    447448                                                ];
    448449                                                foreach ( $active_langs as $i => $lang ) : ?>
  • pay4all-age-verification/trunk/src/Admin/WooTeaser.php

    r3661055 r3847713  
    3030                // Deep-link the SaaS landing page to the admin's locale so a
    3131                // German admin lands on the DE version of the Pay4All Pro page.
    32                 // `Config::current_locale()` returns one of fr / de / it / en.
    33                 $saas_url = add_query_arg( 'lang', Config::current_locale(), 'https://pay4all.net/p/pay4all-shop-pro' );
     32                // `Config::current_locale()` returns one of fr / de / it / en / es,
     33                // all published on pay4all.net.
     34                $saas_lang = Config::current_locale();
     35                $saas_url  = add_query_arg( 'lang', $saas_lang, 'https://pay4all.net/p/pay4all-shop-pro' );
    3436                ?>
    3537                <div class="wrap">
  • pay4all-age-verification/trunk/src/Services/Config.php

    r3807828 r3847713  
    1313        public const OPTION = 'pay4all_age_settings';
    1414
    15         public const SUPPORTED_LANGUAGES = [ 'fr', 'de', 'it', 'en' ];
     15        public const SUPPORTED_LANGUAGES = [ 'fr', 'de', 'it', 'en', 'es' ];
    1616
    1717        /** @return array<string,mixed> */
    … …  
    201201                $source = (string) ( self::TEXT_DEFAULTS['en'][ $key ] ?? '' );
    202202                if ( $source === '' ) { return ''; }
    203                 $wp_map = [ 'fr' => 'fr_FR', 'de' => 'de_DE', 'it' => 'it_IT', 'en' => 'en_US' ];
     203                $wp_map = [ 'fr' => 'fr_FR', 'de' => 'de_DE', 'it' => 'it_IT', 'en' => 'en_US', 'es' => 'es_ES' ];
    204204                $wp     = $wp_map[ $lang ] ?? '';
    205205                $switched = $wp !== '' && function_exists( 'switch_to_locale' ) && switch_to_locale( $wp );
Note: See TracChangeset for help on using the changeset viewer.