Plugin Directory

Changeset 3308869


Ignore:
Timestamp:
06/10/2025 06:06:22 AM (9 months ago)
Author:
assistioai
Message:

Update to version 1.0.9

Location:
assistio
Files:
6 edited
9 copied

Legend:

Unmodified
Added
Removed
  • assistio/tags/1.0.9/README.txt

    r3308689 r3308869  
    55Requires at least: 5.8
    66Tested up to: 6.8
    7 Stable tag: 1.0.8
     7Stable tag: 1.0.9
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    150150
    151151== Changelog ==
     152= 1.0.9 =
     153* Update Translating pluging.
    152154= 1.0.8 =
    153155* Update chatbot icon and readme description.
     
    181183== Upgrade Notice ==
    182184
    183 = 1.0.8 =
     185= 1.0.9 =
    184186Initial release of ASSISTIO. Transform your WooCommerce store with intelligent AI automation. Experience the power of four specialized AI agents working together to optimize your store operations, enhance customer experience, and drive sales growth.
    185187
  • assistio/tags/1.0.9/assistio.php

    r3308689 r3308869  
    77 * Plugin URI: https://assistio.chat/assistio-plugin
    88 * Description: A WooCommerce AI assistant with LLMs and multimodal search to automate support, marketing, inventory and BI. Includes repositionable chatbot, personalization.
    9  * Version: 1.0.8
     9 * Version: 1.0.9
    1010 * Author: Assistio Team
    1111 * Author URI: https://assistio.chat
     
    254254        plugin_dir_url(__FILE__) . 'assets/js/assistio-deactivate.js',
    255255        array('jquery'),
    256         '1.0.8',
     256        '1.0.9',
    257257        true
    258258    );
  • assistio/tags/1.0.9/initsetup.php

    r3308689 r3308869  
    5454                    <path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"></path>
    5555                </svg>
    56                 <h2 class="text-2xl font-bold text-gray-900 mb-4">Secure Your Connection</h2>
    57                 <p class="text-gray-600 mb-6 max-w-2xl mx-auto">
    58                     To ensure secure communication between your WordPress store and Assistio's AI agents,
    59                     we'll generate a unique authentication token for your store.
    60                 </p>
     56                <h2 class="text-2xl font-bold text-gray-900 mb-4"><?php esc_html_e( 'Secure Your Connection', "assistio" ); ?></h2>
     57                <p class="text-gray-600 mb-6 max-w-2xl mx-auto"><?php esc_html_e( "To ensure secure communication between your WordPress store and Assistio's AI agents, we'll generate a unique authentication token for your store.", "assistio" ); ?></p>
    6158
    6259                <div class="bg-blue-50 rounded-lg p-4 mb-6 max-w-2xl mx-auto">
     
    6663                        </div>
    6764                        <div class="text-left">
    68                             <p class="text-blue-800 font-semibold mb-1">Quick & Secure Process</p>
    69                             <p class="text-blue-700 text-sm">
    70                                 We'll open a secure page where you can instantly generate your token.
    71                                 No personal information required - just one click!
     65                            <p class="text-blue-800 font-semibold mb-1"><?php esc_html_e( 'Quick & Secure Process', "assistio" ); ?></p>
     66                            <p class="text-blue-700 text-sm"><?php esc_html_e( 'Quick & Secure Process', "assistio" ); ?>
     67                                <?php esc_html_e( "We'll open a secure page where you can instantly generate your token.", "assistio" ); ?>
     68                                <?php esc_html_e( "No personal information required - just one click!", "assistio" ); ?>                               
    7269                            </p>
    7370                        </div>
     
    9289                        <polyline points="12 6 12 12 16 14"></polyline>
    9390                    </svg>
    94                     <h2 class="text-2xl font-bold text-gray-900 mb-2">Enter Your Token</h2>
     91                    <h2 class="text-2xl font-bold text-gray-900 mb-2"><?php esc_html_e( "Enter Your Token", "assistio" ); ?></h2>
    9592                    <p class="text-gray-600">
    96                         Copy the token from the opened page and paste it below to activate your AI agents.
     93                        <?php esc_html_e( "Copy the token from the opened page and paste it below to activate your AI agents.", "assistio" ); ?>                       
    9794                    </p>
    9895                </div>
     
    10097                <div class="max-w-md mx-auto">
    10198                    <div class="bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded relative hidden" role="alert">
    102                         <strong class="font-bold">Error!</strong>
     99                        <strong class="font-bold"><?php esc_html_e( "Error!", "assistio" ); ?></strong>
    103100                        <span class="block sm:inline" id="assistio-plugin-error-message-setup"></span>
    104101                    </div>
    105102                    <label class="block text-sm font-medium text-gray-700 mb-2">
    106                         Authentication Token
     103                        <?php esc_html_e( "Authentication Token", "assistio" ); ?>                       
    107104                    </label>
    108105                    <div class="relative">
     
    131128                <div class="text-center mt-6">
    132129                    <button id="assistio-plugin-get-token-again-btn" class="text-blue-600 hover:text-blue-700 font-medium flex items-center space-x-1 mx-auto">
    133                         <span>Need to get token again?</span>
     130                        <span><?php esc_html_e( "Need to get token again?", "assistio" ); ?></span>
    134131                    </button>
    135132                </div>
     
    144141                        </svg>
    145142                    </div>
    146                     <h2 class="text-3xl font-bold text-gray-900 mb-2">Welcome to Assistio!</h2>
    147                     <p class="text-gray-600 text-lg">Your AI-powered store management system is now active and ready to transform your business.</p>
     143                    <h2 class="text-3xl font-bold text-gray-900 mb-2"><?php esc_html_e( "Welcome to Assistio!", "assistio" ); ?></h2>
     144                    <p class="text-gray-600 text-lg"><?php esc_html_e( "Your AI-powered store management system is now active and ready to transform your business.", "assistio" ); ?></p>
    148145                </div>
    149146
     
    152149
    153150                <div class="bg-gradient-to-r from-blue-500 to-purple-600 rounded-xl p-6 text-white text-center">
    154                     <h3 class="text-xl font-bold mb-2 text-white">Your Store is Now Supercharged!</h3>
    155                     <p class="mb-4">Start exploring your new AI agents and watch your store management become effortless.</p>
     151                    <h3 class="text-xl font-bold mb-2 text-white"><?php esc_html_e( "Your Store is Now Supercharged!", "assistio" ); ?></h3>
     152                    <p class="mb-4"><?php esc_html_e( "Start exploring your new AI agents and watch your store management become effortless.", "assistio" ); ?></p>
    156153                    <a class="bg-white text-blue-600 px-6 py-2 rounded-lg font-semibold hover:bg-gray-100 transition-colors" target="_blank" href="https://app.assistio.chat">
    157                         Go to Dashboard
     154                        <?php esc_html_e( "Go to Dashboard", "assistio" ); ?>
    158155                    </a>
    159156                </div>
     
    163160        <!-- What You'll Get Section -->
    164161        <div id="assistio-plugin-benefits-section" class="bg-gradient-to-br from-gray-50 to-blue-50 rounded-2xl p-8">
    165             <h2 class="text-2xl font-bold text-gray-900 text-center mb-2">What You'll Get After Registration</h2>
    166             <p class="text-gray-600 text-center mb-8">Transform your store with these powerful AI agents working 24/7 for your success</p>
    167 
     162            <h2 class="text-2xl font-bold text-gray-900 text-center mb-2"><?php esc_html_e( "What You'll Get After Registration", "assistio" ); ?></h2>
     163            <p class="text-gray-600 text-center mb-8"><?php esc_html_e( "Transform your store with these powerful AI agents working 24/7 for your success", "assistio" ); ?></p>
    168164            <div class="grid md:grid-cols-2 gap-6 mb-8 assistio-plugin-agent-cards">
    169165                <!-- Agent cards will be populated by JavaScript -->
     
    172168            <!-- Key Benefits -->
    173169            <div class="bg-gradient-to-r from-green-500 to-blue-500 rounded-xl p-6 text-white">
    174                 <h3 class="text-xl font-bold mb-4 text-center text-white">Immediate Benefits After Activation</h3>
     170                <h3 class="text-xl font-bold mb-4 text-center text-white"><?php esc_html_e( "Immediate Benefits After Activation", "assistio" ); ?></h3>
    175171                <div class="grid md:grid-cols-3 gap-4">
    176172                    <div class="text-center">
     
    179175                            <polyline points="16 7 22 7 22 13"></polyline>
    180176                        </svg>
    181                         <h4 class="font-semibold mb-1">Increase Sales</h4>
    182                         <p class="text-sm opacity-90">Better customer support leads to higher conversions</p>
     177                        <h4 class="font-semibold mb-1"><?php esc_html_e( "Increase Sales", "assistio" ); ?></h4>
     178                        <p class="text-sm opacity-90"><?php esc_html_e( "Better customer support leads to higher conversions", "assistio" ); ?></p>
    183179                    </div>
    184180                    <div class="text-center">
     
    187183                            <polyline points="12 6 12 12 16 14"></polyline>
    188184                        </svg>
    189                         <h4 class="font-semibold mb-1">Save Time</h4>
    190                         <p class="text-sm opacity-90">Automate repetitive tasks and focus on growth</p>
     185                        <h4 class="font-semibold mb-1"><?php esc_html_e( "Save Time", "assistio" ); ?></h4>
     186                        <p class="text-sm opacity-90"><?php esc_html_e( "Automate repetitive tasks and focus on growth", "assistio" ); ?></p>
    191187                    </div>
    192188                    <div class="text-center">
     
    194190                            <path d="M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z"></path>
    195191                        </svg>
    196                         <h4 class="font-semibold mb-1">Scale Effortlessly</h4>
    197                         <p class="text-sm opacity-90">Handle more customers without hiring more staff</p>
     192                        <h4 class="font-semibold mb-1"><?php esc_html_e( "Scale Effortlessly", "assistio" ); ?></h4>
     193                        <p class="text-sm opacity-90"><?php esc_html_e( "Handle more customers without hiring more staff", "assistio" ); ?></p>
    198194                    </div>
    199195                </div>
     
    218214            plugin_dir_url(__FILE__) . 'assets/js/assistio-setup.js',
    219215            array('jquery'),
    220             '1.0.8',
     216            '1.0.9',
    221217            true
    222218        );
     
    276272   
    277273    if ($data === null) {
    278         wp_send_json_error(['message' => 'Invalid or missing JSON data.'], 400);
     274        wp_send_json_error(['message' => esc_html__('Invalid or missing JSON data.', "assistio")], 400);
    279275    }
    280276
    281277    if (empty($data['_ajax_nonce']) || !wp_verify_nonce($data['_ajax_nonce'], 'assistio-integration_action')) {
    282         wp_send_json_error(['message' => 'Security check failed'], 403);
     278        wp_send_json_error(['message' => esc_html__('Security check failed', "assistio")], 403);
    283279    }
    284280
     
    308304    update_option('assistiobot_oauth_settings', $settings);
    309305
    310     wp_send_json_success(['message' => 'Settings saved successfully']);
     306    wp_send_json_success(['message' => esc_html__('Settings saved successfully', "assistio")]);
    311307}
    312308
     
    389385
    390386            </div>
    391             <h2 class="text-xl font-bold mb-2">Start Assistio Integration!</h2>
    392             <p class="text-sm mb-2">Please wait...</p>
     387            <h2 class="text-xl font-bold mb-2"><?php esc_html_e( "Start Assistio Integration!", "assistio" ); ?></h2>
     388            <p class="text-sm mb-2"><?php esc_html_e( "Please wait...", "assistio" ); ?></p>
    393389        </div>
    394390    </div>
     
    402398        plugin_dir_url(__FILE__) . 'assets/js/assistio-integration.js',
    403399        array('jquery'),
    404         '1.0.8',
     400        '1.0.9',
    405401        true
    406402    );
     
    439435    $data = assistio_plugin_get_json_input();
    440436    if ($data === null) {
    441         wp_send_json_error(['message' => 'Invalid or missing JSON data.'], 400);
     437        wp_send_json_error(['message' => esc_html__('Invalid or missing JSON data.', "assistio")], 400);
    442438    }
    443439
    444440    if (!isset($data['_ajax_nonce']) || !wp_verify_nonce($data['_ajax_nonce'], 'assistio-initial_setup')) {
    445         wp_send_json_error(array('message' => 'Security check failed'), 403);
     441        wp_send_json_error(array('message' => esc_html__('Security check failed', "assistio")), 403);
    446442        wp_die();
    447443    }
     
    452448
    453449    if (!isset($data['integration'])) {
    454         wp_send_json_error(['message' => 'Invalid request data']);
     450        wp_send_json_error(['message' => esc_html__('Invalid request data', "assistio")]);
    455451        return;
    456452    }
     
    458454    $settings = get_option('assistiobot_oauth_settings');
    459455    if ($settings === false || !is_array($settings)) {
    460         wp_send_json_error(['message' => 'Invalid request data']);
     456        wp_send_json_error(['message' => esc_html__('Invalid request data', "assistio")]);
    461457        return;
    462458    }
     
    469465
    470466    update_option('assistio_plugin_initial_setup_completed', true);
    471     wp_send_json_success(['message' => 'Settings saved successfully']);
     467    wp_send_json_success(['message' => esc_html__('Settings saved successfully', "assistio")]);
    472468}
    473469
  • assistio/tags/1.0.9/languages/assistio-fa_IR.po

    r3308689 r3308869  
    33"Project-Id-Version: assistio-plugin\n"
    44"POT-Creation-Date: 2024-11-11 15:27+0330\n"
    5 "PO-Revision-Date: 2025-06-10 00:09+0800\n"
     5"PO-Revision-Date: 2025-06-10 13:59+0800\n"
    66"Last-Translator: assistio <[email protected]>\n"
    77"Language-Team: Persian (IRAN)\n"
     
    189189
    190190msgid "Get your personal team of AI agents working for your store in just 2 minutes"
    191 msgstr "و در عرض تنها ۲ دقیقه، تیم اختصاصی عامل‌های هوش مصنوعی خود را برای فروشگاه‌تان به کار بیندازید."
     191msgstr ""
     192
     193msgid "Secure Your Connection"
     194msgstr ""
  • assistio/tags/1.0.9/script.php

    r3308689 r3308869  
    111111        plugin_dir_url(__FILE__) . 'assets/js/assistio-btn.js',
    112112        array(),
    113         '1.0.8',
     113        '1.0.9',
    114114        true
    115115    );
  • assistio/trunk/README.txt

    r3308689 r3308869  
    55Requires at least: 5.8
    66Tested up to: 6.8
    7 Stable tag: 1.0.8
     7Stable tag: 1.0.9
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    150150
    151151== Changelog ==
     152= 1.0.9 =
     153* Update Translating pluging.
    152154= 1.0.8 =
    153155* Update chatbot icon and readme description.
     
    181183== Upgrade Notice ==
    182184
    183 = 1.0.8 =
     185= 1.0.9 =
    184186Initial release of ASSISTIO. Transform your WooCommerce store with intelligent AI automation. Experience the power of four specialized AI agents working together to optimize your store operations, enhance customer experience, and drive sales growth.
    185187
  • assistio/trunk/assistio.php

    r3308689 r3308869  
    77 * Plugin URI: https://assistio.chat/assistio-plugin
    88 * Description: A WooCommerce AI assistant with LLMs and multimodal search to automate support, marketing, inventory and BI. Includes repositionable chatbot, personalization.
    9  * Version: 1.0.8
     9 * Version: 1.0.9
    1010 * Author: Assistio Team
    1111 * Author URI: https://assistio.chat
     
    254254        plugin_dir_url(__FILE__) . 'assets/js/assistio-deactivate.js',
    255255        array('jquery'),
    256         '1.0.8',
     256        '1.0.9',
    257257        true
    258258    );
  • assistio/trunk/initsetup.php

    r3308689 r3308869  
    5454                    <path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"></path>
    5555                </svg>
    56                 <h2 class="text-2xl font-bold text-gray-900 mb-4">Secure Your Connection</h2>
    57                 <p class="text-gray-600 mb-6 max-w-2xl mx-auto">
    58                     To ensure secure communication between your WordPress store and Assistio's AI agents,
    59                     we'll generate a unique authentication token for your store.
    60                 </p>
     56                <h2 class="text-2xl font-bold text-gray-900 mb-4"><?php esc_html_e( 'Secure Your Connection', "assistio" ); ?></h2>
     57                <p class="text-gray-600 mb-6 max-w-2xl mx-auto"><?php esc_html_e( "To ensure secure communication between your WordPress store and Assistio's AI agents, we'll generate a unique authentication token for your store.", "assistio" ); ?></p>
    6158
    6259                <div class="bg-blue-50 rounded-lg p-4 mb-6 max-w-2xl mx-auto">
     
    6663                        </div>
    6764                        <div class="text-left">
    68                             <p class="text-blue-800 font-semibold mb-1">Quick & Secure Process</p>
    69                             <p class="text-blue-700 text-sm">
    70                                 We'll open a secure page where you can instantly generate your token.
    71                                 No personal information required - just one click!
     65                            <p class="text-blue-800 font-semibold mb-1"><?php esc_html_e( 'Quick & Secure Process', "assistio" ); ?></p>
     66                            <p class="text-blue-700 text-sm"><?php esc_html_e( 'Quick & Secure Process', "assistio" ); ?>
     67                                <?php esc_html_e( "We'll open a secure page where you can instantly generate your token.", "assistio" ); ?>
     68                                <?php esc_html_e( "No personal information required - just one click!", "assistio" ); ?>                               
    7269                            </p>
    7370                        </div>
     
    9289                        <polyline points="12 6 12 12 16 14"></polyline>
    9390                    </svg>
    94                     <h2 class="text-2xl font-bold text-gray-900 mb-2">Enter Your Token</h2>
     91                    <h2 class="text-2xl font-bold text-gray-900 mb-2"><?php esc_html_e( "Enter Your Token", "assistio" ); ?></h2>
    9592                    <p class="text-gray-600">
    96                         Copy the token from the opened page and paste it below to activate your AI agents.
     93                        <?php esc_html_e( "Copy the token from the opened page and paste it below to activate your AI agents.", "assistio" ); ?>                       
    9794                    </p>
    9895                </div>
     
    10097                <div class="max-w-md mx-auto">
    10198                    <div class="bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded relative hidden" role="alert">
    102                         <strong class="font-bold">Error!</strong>
     99                        <strong class="font-bold"><?php esc_html_e( "Error!", "assistio" ); ?></strong>
    103100                        <span class="block sm:inline" id="assistio-plugin-error-message-setup"></span>
    104101                    </div>
    105102                    <label class="block text-sm font-medium text-gray-700 mb-2">
    106                         Authentication Token
     103                        <?php esc_html_e( "Authentication Token", "assistio" ); ?>                       
    107104                    </label>
    108105                    <div class="relative">
     
    131128                <div class="text-center mt-6">
    132129                    <button id="assistio-plugin-get-token-again-btn" class="text-blue-600 hover:text-blue-700 font-medium flex items-center space-x-1 mx-auto">
    133                         <span>Need to get token again?</span>
     130                        <span><?php esc_html_e( "Need to get token again?", "assistio" ); ?></span>
    134131                    </button>
    135132                </div>
     
    144141                        </svg>
    145142                    </div>
    146                     <h2 class="text-3xl font-bold text-gray-900 mb-2">Welcome to Assistio!</h2>
    147                     <p class="text-gray-600 text-lg">Your AI-powered store management system is now active and ready to transform your business.</p>
     143                    <h2 class="text-3xl font-bold text-gray-900 mb-2"><?php esc_html_e( "Welcome to Assistio!", "assistio" ); ?></h2>
     144                    <p class="text-gray-600 text-lg"><?php esc_html_e( "Your AI-powered store management system is now active and ready to transform your business.", "assistio" ); ?></p>
    148145                </div>
    149146
     
    152149
    153150                <div class="bg-gradient-to-r from-blue-500 to-purple-600 rounded-xl p-6 text-white text-center">
    154                     <h3 class="text-xl font-bold mb-2 text-white">Your Store is Now Supercharged!</h3>
    155                     <p class="mb-4">Start exploring your new AI agents and watch your store management become effortless.</p>
     151                    <h3 class="text-xl font-bold mb-2 text-white"><?php esc_html_e( "Your Store is Now Supercharged!", "assistio" ); ?></h3>
     152                    <p class="mb-4"><?php esc_html_e( "Start exploring your new AI agents and watch your store management become effortless.", "assistio" ); ?></p>
    156153                    <a class="bg-white text-blue-600 px-6 py-2 rounded-lg font-semibold hover:bg-gray-100 transition-colors" target="_blank" href="https://app.assistio.chat">
    157                         Go to Dashboard
     154                        <?php esc_html_e( "Go to Dashboard", "assistio" ); ?>
    158155                    </a>
    159156                </div>
     
    163160        <!-- What You'll Get Section -->
    164161        <div id="assistio-plugin-benefits-section" class="bg-gradient-to-br from-gray-50 to-blue-50 rounded-2xl p-8">
    165             <h2 class="text-2xl font-bold text-gray-900 text-center mb-2">What You'll Get After Registration</h2>
    166             <p class="text-gray-600 text-center mb-8">Transform your store with these powerful AI agents working 24/7 for your success</p>
    167 
     162            <h2 class="text-2xl font-bold text-gray-900 text-center mb-2"><?php esc_html_e( "What You'll Get After Registration", "assistio" ); ?></h2>
     163            <p class="text-gray-600 text-center mb-8"><?php esc_html_e( "Transform your store with these powerful AI agents working 24/7 for your success", "assistio" ); ?></p>
    168164            <div class="grid md:grid-cols-2 gap-6 mb-8 assistio-plugin-agent-cards">
    169165                <!-- Agent cards will be populated by JavaScript -->
     
    172168            <!-- Key Benefits -->
    173169            <div class="bg-gradient-to-r from-green-500 to-blue-500 rounded-xl p-6 text-white">
    174                 <h3 class="text-xl font-bold mb-4 text-center text-white">Immediate Benefits After Activation</h3>
     170                <h3 class="text-xl font-bold mb-4 text-center text-white"><?php esc_html_e( "Immediate Benefits After Activation", "assistio" ); ?></h3>
    175171                <div class="grid md:grid-cols-3 gap-4">
    176172                    <div class="text-center">
     
    179175                            <polyline points="16 7 22 7 22 13"></polyline>
    180176                        </svg>
    181                         <h4 class="font-semibold mb-1">Increase Sales</h4>
    182                         <p class="text-sm opacity-90">Better customer support leads to higher conversions</p>
     177                        <h4 class="font-semibold mb-1"><?php esc_html_e( "Increase Sales", "assistio" ); ?></h4>
     178                        <p class="text-sm opacity-90"><?php esc_html_e( "Better customer support leads to higher conversions", "assistio" ); ?></p>
    183179                    </div>
    184180                    <div class="text-center">
     
    187183                            <polyline points="12 6 12 12 16 14"></polyline>
    188184                        </svg>
    189                         <h4 class="font-semibold mb-1">Save Time</h4>
    190                         <p class="text-sm opacity-90">Automate repetitive tasks and focus on growth</p>
     185                        <h4 class="font-semibold mb-1"><?php esc_html_e( "Save Time", "assistio" ); ?></h4>
     186                        <p class="text-sm opacity-90"><?php esc_html_e( "Automate repetitive tasks and focus on growth", "assistio" ); ?></p>
    191187                    </div>
    192188                    <div class="text-center">
     
    194190                            <path d="M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z"></path>
    195191                        </svg>
    196                         <h4 class="font-semibold mb-1">Scale Effortlessly</h4>
    197                         <p class="text-sm opacity-90">Handle more customers without hiring more staff</p>
     192                        <h4 class="font-semibold mb-1"><?php esc_html_e( "Scale Effortlessly", "assistio" ); ?></h4>
     193                        <p class="text-sm opacity-90"><?php esc_html_e( "Handle more customers without hiring more staff", "assistio" ); ?></p>
    198194                    </div>
    199195                </div>
     
    218214            plugin_dir_url(__FILE__) . 'assets/js/assistio-setup.js',
    219215            array('jquery'),
    220             '1.0.8',
     216            '1.0.9',
    221217            true
    222218        );
     
    276272   
    277273    if ($data === null) {
    278         wp_send_json_error(['message' => 'Invalid or missing JSON data.'], 400);
     274        wp_send_json_error(['message' => esc_html__('Invalid or missing JSON data.', "assistio")], 400);
    279275    }
    280276
    281277    if (empty($data['_ajax_nonce']) || !wp_verify_nonce($data['_ajax_nonce'], 'assistio-integration_action')) {
    282         wp_send_json_error(['message' => 'Security check failed'], 403);
     278        wp_send_json_error(['message' => esc_html__('Security check failed', "assistio")], 403);
    283279    }
    284280
     
    308304    update_option('assistiobot_oauth_settings', $settings);
    309305
    310     wp_send_json_success(['message' => 'Settings saved successfully']);
     306    wp_send_json_success(['message' => esc_html__('Settings saved successfully', "assistio")]);
    311307}
    312308
     
    389385
    390386            </div>
    391             <h2 class="text-xl font-bold mb-2">Start Assistio Integration!</h2>
    392             <p class="text-sm mb-2">Please wait...</p>
     387            <h2 class="text-xl font-bold mb-2"><?php esc_html_e( "Start Assistio Integration!", "assistio" ); ?></h2>
     388            <p class="text-sm mb-2"><?php esc_html_e( "Please wait...", "assistio" ); ?></p>
    393389        </div>
    394390    </div>
     
    402398        plugin_dir_url(__FILE__) . 'assets/js/assistio-integration.js',
    403399        array('jquery'),
    404         '1.0.8',
     400        '1.0.9',
    405401        true
    406402    );
     
    439435    $data = assistio_plugin_get_json_input();
    440436    if ($data === null) {
    441         wp_send_json_error(['message' => 'Invalid or missing JSON data.'], 400);
     437        wp_send_json_error(['message' => esc_html__('Invalid or missing JSON data.', "assistio")], 400);
    442438    }
    443439
    444440    if (!isset($data['_ajax_nonce']) || !wp_verify_nonce($data['_ajax_nonce'], 'assistio-initial_setup')) {
    445         wp_send_json_error(array('message' => 'Security check failed'), 403);
     441        wp_send_json_error(array('message' => esc_html__('Security check failed', "assistio")), 403);
    446442        wp_die();
    447443    }
     
    452448
    453449    if (!isset($data['integration'])) {
    454         wp_send_json_error(['message' => 'Invalid request data']);
     450        wp_send_json_error(['message' => esc_html__('Invalid request data', "assistio")]);
    455451        return;
    456452    }
     
    458454    $settings = get_option('assistiobot_oauth_settings');
    459455    if ($settings === false || !is_array($settings)) {
    460         wp_send_json_error(['message' => 'Invalid request data']);
     456        wp_send_json_error(['message' => esc_html__('Invalid request data', "assistio")]);
    461457        return;
    462458    }
     
    469465
    470466    update_option('assistio_plugin_initial_setup_completed', true);
    471     wp_send_json_success(['message' => 'Settings saved successfully']);
     467    wp_send_json_success(['message' => esc_html__('Settings saved successfully', "assistio")]);
    472468}
    473469
  • assistio/trunk/languages/assistio-fa_IR.po

    r3308689 r3308869  
    33"Project-Id-Version: assistio-plugin\n"
    44"POT-Creation-Date: 2024-11-11 15:27+0330\n"
    5 "PO-Revision-Date: 2025-06-10 00:09+0800\n"
     5"PO-Revision-Date: 2025-06-10 13:59+0800\n"
    66"Last-Translator: assistio <[email protected]>\n"
    77"Language-Team: Persian (IRAN)\n"
     
    189189
    190190msgid "Get your personal team of AI agents working for your store in just 2 minutes"
    191 msgstr "و در عرض تنها ۲ دقیقه، تیم اختصاصی عامل‌های هوش مصنوعی خود را برای فروشگاه‌تان به کار بیندازید."
     191msgstr ""
     192
     193msgid "Secure Your Connection"
     194msgstr ""
  • assistio/trunk/script.php

    r3308689 r3308869  
    111111        plugin_dir_url(__FILE__) . 'assets/js/assistio-btn.js',
    112112        array(),
    113         '1.0.8',
     113        '1.0.9',
    114114        true
    115115    );
Note: See TracChangeset for help on using the changeset viewer.