Changeset 3308869
- Timestamp:
- 06/10/2025 06:06:22 AM (9 months ago)
- Location:
- assistio
- Files:
-
- 6 edited
- 9 copied
-
tags/1.0.9 (copied) (copied from assistio/trunk)
-
tags/1.0.9/README.txt (copied) (copied from assistio/trunk/README.txt) (3 diffs)
-
tags/1.0.9/assets/assistio-logo.svg (copied) (copied from assistio/trunk/assets/assistio-logo.svg)
-
tags/1.0.9/assets/js/assistio-btn.js (copied) (copied from assistio/trunk/assets/js/assistio-btn.js)
-
tags/1.0.9/assistio.php (copied) (copied from assistio/trunk/assistio.php) (2 diffs)
-
tags/1.0.9/initsetup.php (copied) (copied from assistio/trunk/initsetup.php) (21 diffs)
-
tags/1.0.9/languages/assistio-fa_IR.mo (copied) (copied from assistio/trunk/languages/assistio-fa_IR.mo)
-
tags/1.0.9/languages/assistio-fa_IR.po (copied) (copied from assistio/trunk/languages/assistio-fa_IR.po) (2 diffs)
-
tags/1.0.9/script.php (copied) (copied from assistio/trunk/script.php) (1 diff)
-
trunk/README.txt (modified) (3 diffs)
-
trunk/assistio.php (modified) (2 diffs)
-
trunk/initsetup.php (modified) (21 diffs)
-
trunk/languages/assistio-fa_IR.mo (modified) (previous)
-
trunk/languages/assistio-fa_IR.po (modified) (2 diffs)
-
trunk/script.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
assistio/tags/1.0.9/README.txt
r3308689 r3308869 5 5 Requires at least: 5.8 6 6 Tested up to: 6.8 7 Stable tag: 1.0. 87 Stable tag: 1.0.9 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 150 150 151 151 == Changelog == 152 = 1.0.9 = 153 * Update Translating pluging. 152 154 = 1.0.8 = 153 155 * Update chatbot icon and readme description. … … 181 183 == Upgrade Notice == 182 184 183 = 1.0. 8=185 = 1.0.9 = 184 186 Initial 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. 185 187 -
assistio/tags/1.0.9/assistio.php
r3308689 r3308869 7 7 * Plugin URI: https://assistio.chat/assistio-plugin 8 8 * 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. 89 * Version: 1.0.9 10 10 * Author: Assistio Team 11 11 * Author URI: https://assistio.chat … … 254 254 plugin_dir_url(__FILE__) . 'assets/js/assistio-deactivate.js', 255 255 array('jquery'), 256 '1.0. 8',256 '1.0.9', 257 257 true 258 258 ); -
assistio/tags/1.0.9/initsetup.php
r3308689 r3308869 54 54 <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> 55 55 </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> 61 58 62 59 <div class="bg-blue-50 rounded-lg p-4 mb-6 max-w-2xl mx-auto"> … … 66 63 </div> 67 64 <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" ); ?> 72 69 </p> 73 70 </div> … … 92 89 <polyline points="12 6 12 12 16 14"></polyline> 93 90 </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> 95 92 <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" ); ?> 97 94 </p> 98 95 </div> … … 100 97 <div class="max-w-md mx-auto"> 101 98 <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> 103 100 <span class="block sm:inline" id="assistio-plugin-error-message-setup"></span> 104 101 </div> 105 102 <label class="block text-sm font-medium text-gray-700 mb-2"> 106 Authentication Token103 <?php esc_html_e( "Authentication Token", "assistio" ); ?> 107 104 </label> 108 105 <div class="relative"> … … 131 128 <div class="text-center mt-6"> 132 129 <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> 134 131 </button> 135 132 </div> … … 144 141 </svg> 145 142 </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> 148 145 </div> 149 146 … … 152 149 153 150 <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> 156 153 <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 Dashboard154 <?php esc_html_e( "Go to Dashboard", "assistio" ); ?> 158 155 </a> 159 156 </div> … … 163 160 <!-- What You'll Get Section --> 164 161 <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> 168 164 <div class="grid md:grid-cols-2 gap-6 mb-8 assistio-plugin-agent-cards"> 169 165 <!-- Agent cards will be populated by JavaScript --> … … 172 168 <!-- Key Benefits --> 173 169 <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> 175 171 <div class="grid md:grid-cols-3 gap-4"> 176 172 <div class="text-center"> … … 179 175 <polyline points="16 7 22 7 22 13"></polyline> 180 176 </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> 183 179 </div> 184 180 <div class="text-center"> … … 187 183 <polyline points="12 6 12 12 16 14"></polyline> 188 184 </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> 191 187 </div> 192 188 <div class="text-center"> … … 194 190 <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> 195 191 </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> 198 194 </div> 199 195 </div> … … 218 214 plugin_dir_url(__FILE__) . 'assets/js/assistio-setup.js', 219 215 array('jquery'), 220 '1.0. 8',216 '1.0.9', 221 217 true 222 218 ); … … 276 272 277 273 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); 279 275 } 280 276 281 277 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); 283 279 } 284 280 … … 308 304 update_option('assistiobot_oauth_settings', $settings); 309 305 310 wp_send_json_success(['message' => 'Settings saved successfully']);306 wp_send_json_success(['message' => esc_html__('Settings saved successfully', "assistio")]); 311 307 } 312 308 … … 389 385 390 386 </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> 393 389 </div> 394 390 </div> … … 402 398 plugin_dir_url(__FILE__) . 'assets/js/assistio-integration.js', 403 399 array('jquery'), 404 '1.0. 8',400 '1.0.9', 405 401 true 406 402 ); … … 439 435 $data = assistio_plugin_get_json_input(); 440 436 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); 442 438 } 443 439 444 440 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); 446 442 wp_die(); 447 443 } … … 452 448 453 449 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")]); 455 451 return; 456 452 } … … 458 454 $settings = get_option('assistiobot_oauth_settings'); 459 455 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")]); 461 457 return; 462 458 } … … 469 465 470 466 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")]); 472 468 } 473 469 -
assistio/tags/1.0.9/languages/assistio-fa_IR.po
r3308689 r3308869 3 3 "Project-Id-Version: assistio-plugin\n" 4 4 "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" 6 6 "Last-Translator: assistio <[email protected]>\n" 7 7 "Language-Team: Persian (IRAN)\n" … … 189 189 190 190 msgid "Get your personal team of AI agents working for your store in just 2 minutes" 191 msgstr "و در عرض تنها ۲ دقیقه، تیم اختصاصی عاملهای هوش مصنوعی خود را برای فروشگاهتان به کار بیندازید." 191 msgstr "" 192 193 msgid "Secure Your Connection" 194 msgstr "" -
assistio/tags/1.0.9/script.php
r3308689 r3308869 111 111 plugin_dir_url(__FILE__) . 'assets/js/assistio-btn.js', 112 112 array(), 113 '1.0. 8',113 '1.0.9', 114 114 true 115 115 ); -
assistio/trunk/README.txt
r3308689 r3308869 5 5 Requires at least: 5.8 6 6 Tested up to: 6.8 7 Stable tag: 1.0. 87 Stable tag: 1.0.9 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 150 150 151 151 == Changelog == 152 = 1.0.9 = 153 * Update Translating pluging. 152 154 = 1.0.8 = 153 155 * Update chatbot icon and readme description. … … 181 183 == Upgrade Notice == 182 184 183 = 1.0. 8=185 = 1.0.9 = 184 186 Initial 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. 185 187 -
assistio/trunk/assistio.php
r3308689 r3308869 7 7 * Plugin URI: https://assistio.chat/assistio-plugin 8 8 * 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. 89 * Version: 1.0.9 10 10 * Author: Assistio Team 11 11 * Author URI: https://assistio.chat … … 254 254 plugin_dir_url(__FILE__) . 'assets/js/assistio-deactivate.js', 255 255 array('jquery'), 256 '1.0. 8',256 '1.0.9', 257 257 true 258 258 ); -
assistio/trunk/initsetup.php
r3308689 r3308869 54 54 <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> 55 55 </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> 61 58 62 59 <div class="bg-blue-50 rounded-lg p-4 mb-6 max-w-2xl mx-auto"> … … 66 63 </div> 67 64 <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" ); ?> 72 69 </p> 73 70 </div> … … 92 89 <polyline points="12 6 12 12 16 14"></polyline> 93 90 </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> 95 92 <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" ); ?> 97 94 </p> 98 95 </div> … … 100 97 <div class="max-w-md mx-auto"> 101 98 <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> 103 100 <span class="block sm:inline" id="assistio-plugin-error-message-setup"></span> 104 101 </div> 105 102 <label class="block text-sm font-medium text-gray-700 mb-2"> 106 Authentication Token103 <?php esc_html_e( "Authentication Token", "assistio" ); ?> 107 104 </label> 108 105 <div class="relative"> … … 131 128 <div class="text-center mt-6"> 132 129 <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> 134 131 </button> 135 132 </div> … … 144 141 </svg> 145 142 </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> 148 145 </div> 149 146 … … 152 149 153 150 <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> 156 153 <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 Dashboard154 <?php esc_html_e( "Go to Dashboard", "assistio" ); ?> 158 155 </a> 159 156 </div> … … 163 160 <!-- What You'll Get Section --> 164 161 <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> 168 164 <div class="grid md:grid-cols-2 gap-6 mb-8 assistio-plugin-agent-cards"> 169 165 <!-- Agent cards will be populated by JavaScript --> … … 172 168 <!-- Key Benefits --> 173 169 <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> 175 171 <div class="grid md:grid-cols-3 gap-4"> 176 172 <div class="text-center"> … … 179 175 <polyline points="16 7 22 7 22 13"></polyline> 180 176 </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> 183 179 </div> 184 180 <div class="text-center"> … … 187 183 <polyline points="12 6 12 12 16 14"></polyline> 188 184 </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> 191 187 </div> 192 188 <div class="text-center"> … … 194 190 <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> 195 191 </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> 198 194 </div> 199 195 </div> … … 218 214 plugin_dir_url(__FILE__) . 'assets/js/assistio-setup.js', 219 215 array('jquery'), 220 '1.0. 8',216 '1.0.9', 221 217 true 222 218 ); … … 276 272 277 273 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); 279 275 } 280 276 281 277 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); 283 279 } 284 280 … … 308 304 update_option('assistiobot_oauth_settings', $settings); 309 305 310 wp_send_json_success(['message' => 'Settings saved successfully']);306 wp_send_json_success(['message' => esc_html__('Settings saved successfully', "assistio")]); 311 307 } 312 308 … … 389 385 390 386 </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> 393 389 </div> 394 390 </div> … … 402 398 plugin_dir_url(__FILE__) . 'assets/js/assistio-integration.js', 403 399 array('jquery'), 404 '1.0. 8',400 '1.0.9', 405 401 true 406 402 ); … … 439 435 $data = assistio_plugin_get_json_input(); 440 436 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); 442 438 } 443 439 444 440 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); 446 442 wp_die(); 447 443 } … … 452 448 453 449 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")]); 455 451 return; 456 452 } … … 458 454 $settings = get_option('assistiobot_oauth_settings'); 459 455 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")]); 461 457 return; 462 458 } … … 469 465 470 466 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")]); 472 468 } 473 469 -
assistio/trunk/languages/assistio-fa_IR.po
r3308689 r3308869 3 3 "Project-Id-Version: assistio-plugin\n" 4 4 "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" 6 6 "Last-Translator: assistio <[email protected]>\n" 7 7 "Language-Team: Persian (IRAN)\n" … … 189 189 190 190 msgid "Get your personal team of AI agents working for your store in just 2 minutes" 191 msgstr "و در عرض تنها ۲ دقیقه، تیم اختصاصی عاملهای هوش مصنوعی خود را برای فروشگاهتان به کار بیندازید." 191 msgstr "" 192 193 msgid "Secure Your Connection" 194 msgstr "" -
assistio/trunk/script.php
r3308689 r3308869 111 111 plugin_dir_url(__FILE__) . 'assets/js/assistio-btn.js', 112 112 array(), 113 '1.0. 8',113 '1.0.9', 114 114 true 115 115 );
Note: See TracChangeset
for help on using the changeset viewer.