Plugin Directory

Changeset 3411301


Ignore:
Timestamp:
12/04/2025 06:24:56 PM (4 months ago)
Author:
maxicomdev
Message:

Release v2.16.0

Location:
andy-votre-assistant-intelligent
Files:
22 added
3 edited

Legend:

Unmodified
Added
Removed
  • andy-votre-assistant-intelligent/trunk/Andy-Wordress-Extension.php

    r3411283 r3411301  
    44 * Plugin Name: Andy, Votre Assistant Intelligent
    55 * Description: Installe Andy sur votre site WordPress.
    6  * Version: 2.15.0
     6 * Version: 2.16.0
    77 * Author: Maxime MORLET (MaxiCom)
    88 * License: GPLv2 or later
     
    264264    if (version_compare($wp_version, '6.3', '>=')) {
    265265        // Modern WordPress 6.3+ way
    266         wp_enqueue_script('andy-script', $plugin_url . 'Andy/assets/Andy-Widget/scripts/Andy.js', [], '2.15.0', [
     266        wp_enqueue_script('andy-script', $plugin_url . 'Andy/assets/Andy-Widget/scripts/Andy.js', [], '2.16.0', [
    267267            'strategy' => 'defer',
    268268        ]);
     
    272272    } else {
    273273        // Old WordPress way
    274         wp_enqueue_script('andy-script', $plugin_url . 'Andy/assets/Andy-Widget/scripts/Andy.js', [], '2.15.0', true);
     274        wp_enqueue_script('andy-script', $plugin_url . 'Andy/assets/Andy-Widget/scripts/Andy.js', [], '2.16.0', true);
    275275
    276276        // Add defer manually
     
    455455        <?php
    456456            // Enqueue the script to handle the notice dismissal
    457             wp_enqueue_script('andy-dismiss-notice', $plugin_url . 'Andy/assets/Wordpress/scripts/andy-dismiss-notice.js', [], '2.15.0', true);
     457            wp_enqueue_script('andy-dismiss-notice', $plugin_url . 'Andy/assets/Wordpress/scripts/andy-dismiss-notice.js', [], '2.16.0', true);
    458458
    459459            endif;
     
    511511<?php
    512512    // Enqueue the script for handling the external settings form submission
    513     wp_enqueue_script('andy-external-settings', $plugin_url . 'Andy/assets/Wordpress/scripts/andy-external-wordpress-settings.js', [], '2.15.0', true);
     513    wp_enqueue_script('andy-external-settings', $plugin_url . 'Andy/assets/Wordpress/scripts/andy-external-wordpress-settings.js', [], '2.16.0', true);
    514514}
    515515
     
    748748    }";
    749749
    750     wp_enqueue_style('andy-style', $plugin_url . 'Andy/assets/Andy-Widget/styles/Andy.css', [], '2.15.0');
     750    wp_enqueue_style('andy-style', $plugin_url . 'Andy/assets/Andy-Widget/styles/Andy.css', [], '2.16.0');
    751751    wp_add_inline_style('andy-style', $custom_css);
    752752}
  • andy-votre-assistant-intelligent/trunk/Andy/assets/Andy-Widget/scripts/Andy.js

    r3411279 r3411301  
    1515        newConversation: 'Démarrer une nouvelle conversation avec Andy',
    1616        requestHuman: 'Demander l\'intervention d\'un conseiller',
     17        humanRequestQuestion: 'Souhaitez-vous être mis en relation avec un agent humain\u00A0?',
     18        humanRequestYes: 'Oui, je souhaite parler à un agent',
     19        humanRequestNo: 'Non, continuer avec Andy',
     20        newConversationQuestion: 'Souhaitez-vous démarrer une nouvelle conversation avec Andy\u00A0?',
     21        newConversationYes: 'Oui, je souhaite démarrer une nouvelle conversation',
     22        newConversationNo: 'Non, je souhaite continuer ma conversation',
    1723    },
    1824    en: {
     
    2733        newConversation: 'Start a new conversation with Andy',
    2834        requestHuman: 'Request human advisor assistance',
     35        humanRequestQuestion: 'Would you like to be connected with a human agent?',
     36        humanRequestYes: 'Yes, I want to speak to an agent',
     37        humanRequestNo: 'No, continue with Andy',
     38        newConversationQuestion: 'Would you like to start a new conversation with Andy?',
     39        newConversationYes: 'Yes, I want to start a new conversation',
     40        newConversationNo: 'No, I want to continue my conversation',
    2941    }
    3042};
     
    151163            titleElement.textContent = t.requestHuman;
    152164        }
     165    }
     166   
     167    // Translate human request modal
     168    const humanRequestQuestion = document.querySelector('#human-request p');
     169    if (humanRequestQuestion) {
     170        humanRequestQuestion.innerHTML = t.humanRequestQuestion;
     171    }
     172   
     173    const confirmHumanRequest = document.getElementById('confirm-human-request');
     174    if (confirmHumanRequest) {
     175        confirmHumanRequest.textContent = t.humanRequestYes;
     176    }
     177   
     178    const cancelHumanRequest = document.getElementById('cancel-human-request');
     179    if (cancelHumanRequest) {
     180        cancelHumanRequest.textContent = t.humanRequestNo;
     181    }
     182   
     183    // Translate new conversation modal
     184    const newConversationQuestion = document.querySelector('#new-conversation-request p');
     185    if (newConversationQuestion) {
     186        newConversationQuestion.innerHTML = t.newConversationQuestion;
     187    }
     188   
     189    const confirmNewConversation = document.getElementById('confirm-new-conversation-request');
     190    if (confirmNewConversation) {
     191        confirmNewConversation.textContent = t.newConversationYes;
     192    }
     193   
     194    const cancelNewConversation = document.getElementById('cancel-new-conversation-request');
     195    if (cancelNewConversation) {
     196        cancelNewConversation.textContent = t.newConversationNo;
    153197    }
    154198   
  • andy-votre-assistant-intelligent/trunk/readme.txt

    r3411283 r3411301  
    66Requires PHP: 7.3 
    77Donate link: https://essayez-andy.fr
    8 Stable tag: 2.15.0
     8Stable tag: 2.16.0
    99License: GPLv2 or later 
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html 
     
    6060== Changelog ==
    6161
    62 = 2.15.0 = 
     62= 2.16.0 = 
    6363* Rebranding complet orienté IA. 
    6464* Amélioration de la génération du contexte et de la FAQ. 
     
    7575== Upgrade Notice ==
    7676
    77 = 2.15.0 = 
     77= 2.16.0 = 
    7878Mise à jour recommandée : meilleure pertinence IA et branding clarifié. Aucun changement de configuration requis.
Note: See TracChangeset for help on using the changeset viewer.