Changeset 3402261
- Timestamp:
- 11/25/2025 07:28:04 AM (4 months ago)
- Location:
- aicontify
- Files:
-
- 28 added
- 8 edited
-
tags/6.0.0 (added)
-
tags/6.0.0/aicontify.php (added)
-
tags/6.0.0/contentPosts.php (added)
-
tags/6.0.0/css (added)
-
tags/6.0.0/css/style.css (added)
-
tags/6.0.0/dashboard.php (added)
-
tags/6.0.0/editContentPosts.php (added)
-
tags/6.0.0/faqPosts.php (added)
-
tags/6.0.0/img (added)
-
tags/6.0.0/img/logo-aicontify.png (added)
-
tags/6.0.0/js (added)
-
tags/6.0.0/js/tabsPosts.js (added)
-
tags/6.0.0/languages (added)
-
tags/6.0.0/languages/aicontify-fa_IR.mo (added)
-
tags/6.0.0/languages/aicontify-fa_IR.po (added)
-
tags/6.0.0/languages/aicontify.pot (added)
-
tags/6.0.0/readme.txt (added)
-
tags/6.0.0/seoDescription.php (added)
-
tags/6.0.0/seoTitle.php (added)
-
tags/6.0.0/settings (added)
-
tags/6.0.0/settings.php (added)
-
tags/6.0.0/settings/tab-content.php (added)
-
tags/6.0.0/settings/tab-faq.php (added)
-
tags/6.0.0/settings/tab-main.php (added)
-
tags/6.0.0/settings/tab-seo-meta.php (added)
-
tags/6.0.0/settings/tab-seo-title.php (added)
-
tags/6.0.0/tabsPosts.php (added)
-
trunk/aicontify.php (modified) (2 diffs)
-
trunk/css/style.css (modified) (8 diffs)
-
trunk/editContentPosts.php (added)
-
trunk/js/tabsPosts.js (modified) (2 diffs)
-
trunk/languages/aicontify-fa_IR.mo (modified) (previous)
-
trunk/languages/aicontify-fa_IR.po (modified) (20 diffs)
-
trunk/languages/aicontify.pot (modified) (9 diffs)
-
trunk/readme.txt (modified) (4 diffs)
-
trunk/tabsPosts.php (modified) (14 diffs)
Legend:
- Unmodified
- Added
- Removed
-
aicontify/trunk/aicontify.php
r3398807 r3402261 2 2 /* 3 3 Plugin Name: AiContify 4 Plugin Name (fa_IR): کانتی فای 4 5 Plugin URI: https://aicontify.com/ 5 6 Description: Your Smart Content Assistant – One Click, Full Content 6 Version: 5.1.0 7 Description (fa_IR): دستیار هوشمند تولید محتوای وردپرس 8 Version: 6.0.0 7 9 Author: Hassan Solgi 8 10 Author URI: https://t.me/hassansolgi … … 18 20 if (!defined('ABSPATH')) { 19 21 exit; // Exit if accessed directly 20 }21 22 // ==================== Check PHP Version ====================23 if (version_compare(PHP_VERSION, '7.4', '<')) {24 add_action('admin_notices', 'aicont_php_version_notice');25 return;26 }27 28 function aicont_php_version_notice() {29 ?>30 <div class="notice notice-error">31 <p><?php esc_html_e('AiContify requires PHP 7.4 or higher.', 'aicontify'); ?></p>32 </div>33 <?php34 22 } 35 23 -
aicontify/trunk/css/style.css
r3396224 r3402261 111 111 #aicont-faq-result .success, 112 112 #aicont-contentPosts-result .success, 113 #aicont-editContent-result .success, 113 114 #aicont-seo-title-result .success, 114 115 #aicont-meta-description-result .success, 115 116 #aicont-content-products-result .success, 117 #aicont-content-products-edit-result .success, 116 118 #aicont-short-description-result-product .success, 117 119 #aicont-faq-result-product .success, … … 131 133 #aicont-faq-result .error, 132 134 #aicont-contentPosts-result .error, 135 #aicont-editContent-result .error, 133 136 #aicont-seo-title-result .error, 134 137 #aicont-meta-description-result .error, 135 138 #aicont-content-products-result .error, 139 #aicont-content-products-edit-result .error, 136 140 #aicont-short-description-result-product .error, 137 141 #aicont-faq-result-product .error, … … 162 166 padding: 30px; 163 167 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); 164 font-family: inherit;165 168 } 166 169 .aicont-premium-wrap h1 { … … 561 564 margin: 20px 0; 562 565 border-radius: 8px; 563 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,564 Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;565 566 } 566 567 … … 628 629 margin: 15px 0; 629 630 border-radius: 4px; 630 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,631 Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;632 631 } 633 632 … … 675 674 margin: 15px 0; 676 675 border-radius: 4px; 677 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,678 Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;679 676 } 680 677 … … 718 715 background-color: #f9f9f9; 719 716 box-sizing: border-box; 720 font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;721 717 } 722 718 … … 817 813 } 818 814 } 815 816 .aicont-main-guide { 817 background: #f8fafc; 818 border: 1px solid #e2e8f0; 819 border-radius: 12px; 820 padding: 20px 24px; 821 margin: 20px 0; 822 line-height: 1.7; 823 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); 824 } 825 826 .aicont-main-guide h4 { 827 margin: 0 0 10px 0; 828 color: #1f2937; 829 font-size: 16px; 830 font-weight: 600; 831 } 832 833 .aicont-steps { 834 margin: 5px 0; 835 } 836 837 .aicont-steps li { 838 margin-bottom: 3px; 839 color: #374151; 840 font-size: 13px; 841 position: relative; 842 } 843 844 .aicont-steps li strong { 845 font-size: 15px; 846 margin-left: 8px; 847 } 848 849 .aicont-warning { 850 background: #fffbeb; 851 border: 1px solid #fbbf24; 852 border-radius: 8px; 853 padding: 14px 16px; 854 margin: 20px 0; 855 color: #92400e; 856 font-size: 14px; 857 line-height: 1.6; 858 } 859 860 .aicont-warning strong { 861 color: #d97706; 862 } 863 864 .aicont-tip { 865 color: #059669; 866 margin: 10px 0 0; 867 font-size: 14px; 868 } 869 .aicont-prompt-help { 870 margin: 20px 0; 871 padding: 0; 872 background: transparent; 873 border: none; 874 box-shadow: none; 875 } 876 877 .aicont-prompt-info { 878 margin: 0 0 12px 0; 879 color: #475569; 880 font-size: 14.5px; 881 line-height: 1.6; 882 } 883 884 .aicont-prompt-tips { 885 background: #f0fdf4; 886 border: 1px solid #86efac; 887 border-radius: 10px; 888 padding: 14px 18px; 889 margin: 16px 0; 890 font-size: 14px; 891 color: #166534; 892 } 893 894 .aicont-prompt-tips li { 895 margin-bottom: 8px; 896 } 897 898 .aicont-prompt-tips li:last-child { 899 margin-bottom: 0; 900 } 901 902 .aicont-prompt-footer { 903 font-weight: 600; 904 color: #0891b2; 905 font-size: 14.5px; 906 margin: 16px 0 0; 907 } -
aicontify/trunk/js/tabsPosts.js
r3398807 r3402261 63 63 * AiContify - Content Generator 64 64 */ 65 66 65 const generateBtn = document.getElementById( 67 66 "aicont-generate-contentPosts-btn" … … 198 197 } finally { 199 198 loadingBox.style.display = "none"; 199 } 200 }); 201 202 /** 203 * AiContify - Edit Content Generator 204 */ 205 const editGenerateBtn = document.getElementById( 206 "aicont-generate-editContent-btn" 207 ); 208 const editResultBox = document.getElementById("aicont-editContent-result"); 209 const editLoadingBox = document.getElementById( 210 "aicont-editContent-loading-box" 211 ); 212 213 if (!keywordInput || !editGenerateBtn || !editResultBox || !editLoadingBox) { 214 console.warn("AiContify: Required elements for edit content not found."); 215 return; 216 } 217 218 function toggleEditGenerateButton() { 219 const hasKeyword = keywordInput.value.trim().length > 0; 220 editGenerateBtn.disabled = !hasKeyword; 221 editGenerateBtn.style.opacity = hasKeyword ? "1" : "0.5"; 222 editGenerateBtn.style.cursor = hasKeyword ? "pointer" : "not-allowed"; 223 } 224 225 keywordInput.addEventListener("input", toggleEditGenerateButton); 226 keywordInput.addEventListener("paste", () => 227 setTimeout(toggleEditGenerateButton, 100) 228 ); 229 toggleEditGenerateButton(); 230 231 function getEditMessage(key) { 232 const messages = { 233 generating: __("Editing and saving content, please wait...", "aicontify"), 234 success_generated: __("Content edited successfully!", "aicontify"), 235 saving_post: __("Saving post...", "aicontify"), 236 page_refreshing: __( 237 "Page is refreshing to display changes...", 238 "aicontify" 239 ), 240 err_keyword_empty: __( 241 "Please enter a keyword before editing content.", 242 "aicontify" 243 ), 244 err_post_content_empty: __( 245 "Post content is empty. Please add content before editing.", 246 "aicontify" 247 ), 248 err_custom_prompt_required: __( 249 "Custom prompt is required for content editing.", 250 "aicontify" 251 ), 252 err_connection_failed: __( 253 "Connection failed. Please check your internet connection.", 254 "aicontify" 255 ), 256 err_server_error: __("An unexpected server error occurred.", "aicontify"), 257 err_content_empty: __("Edited content is empty.", "aicontify"), 258 err_save_failed: __("Failed to save the post.", "aicontify"), 259 err_daily_limit_exceeded: __( 260 "Daily AI generation limit reached. Try again tomorrow or upgrade.", 261 "aicontify" 262 ), 263 err_invalid_license: __("Invalid or inactive license key.", "aicontify"), 264 }; 265 266 return messages[key] || key; 267 } 268 269 editGenerateBtn.addEventListener("click", async function (e) { 270 e.preventDefault(); 271 272 const postId = editGenerateBtn.getAttribute("data-postid"); 273 const keyword = keywordInput.value.trim(); 274 275 editResultBox.innerHTML = ""; 276 editLoadingBox.style.display = "block"; 277 editResultBox.innerHTML = `<span style='color: #0073aa;'>${getEditMessage( 278 "generating" 279 )}</span>`; 280 281 if (!keyword) { 282 editResultBox.innerHTML = `<span class='error'>${getEditMessage( 283 "err_keyword_empty" 284 )}</span>`; 285 editLoadingBox.style.display = "none"; 286 return; 287 } 288 289 try { 290 const editCustomPromptEl = document.getElementById( 291 "aicont_singlepost_editContent_prompt_custom" 292 ); 293 const editCustomPrompt = editCustomPromptEl 294 ? editCustomPromptEl.value.trim() 295 : ""; 296 297 if (!editCustomPrompt) { 298 editResultBox.innerHTML = `<span class='error'>${getEditMessage( 299 "err_custom_prompt_required" 300 )}</span>`; 301 editLoadingBox.style.display = "none"; 302 return; 303 } 304 305 const formData = new URLSearchParams(); 306 formData.append("action", "aicont_generate_and_edit_content"); 307 formData.append("nonce", aicontify_ajax.nonce); 308 formData.append("post_id", postId); 309 formData.append("keyword", keyword); 310 formData.append("custom_prompt", editCustomPrompt); 311 312 const response = await fetch(aicontify_ajax.ajax_url, { 313 method: "POST", 314 credentials: "same-origin", 315 headers: { 316 "Content-Type": "application/x-www-form-urlencoded", 317 }, 318 body: formData, 319 }); 320 321 const data = await response.json(); 322 323 if (!response.ok || !data.success) { 324 const code = data.data?.code || "err_server_error"; 325 throw new Error(code); 326 } 327 328 editResultBox.innerHTML = ` 329 <span class='success'>${getEditMessage("success_generated")}</span><br> 330 <span style='color: #0073aa;'>${getEditMessage("saving_post")}</span> 331 `; 332 333 setTimeout(() => { 334 editResultBox.innerHTML = ` 335 <span class='success'>${getEditMessage( 336 "success_generated" 337 )}</span><br> 338 <span style='color: #0073aa;'>${getEditMessage( 339 "page_refreshing" 340 )}</span> 341 `; 342 setTimeout(() => location.reload(), 1200); 343 }, 800); 344 } catch (error) { 345 console.error("AiContify Edit Error:", error); 346 347 const errorCode = error.message; 348 const errorMessages = { 349 err_keyword_empty: "err_keyword_empty", 350 err_post_content_empty: "err_post_content_empty", 351 err_custom_prompt_required: "err_custom_prompt_required", 352 err_connection_failed: "err_connection_failed", 353 err_server_error: "err_server_error", 354 err_content_empty: "err_content_empty", 355 err_save_failed: "err_save_failed", 356 err_daily_limit_exceeded: "err_daily_limit_exceeded", 357 err_invalid_license: "err_invalid_license", 358 }; 359 360 const msgKey = errorMessages[errorCode] || "err_server_error"; 361 editResultBox.innerHTML = `<span class='error'>${getEditMessage( 362 msgKey 363 )}</span>`; 364 } finally { 365 editLoadingBox.style.display = "none"; 200 366 } 201 367 }); -
aicontify/trunk/languages/aicontify-fa_IR.po
r3398807 r3402261 3 3 "Plural-Forms: nplurals=2; plural=(n==0 || n==1);\n" 4 4 "Project-Id-Version: AiContify\n" 5 "POT-Creation-Date: 2025-11- 19 13:59+0330\n"6 "PO-Revision-Date: 2025-11- 19 14:03+0330\n"5 "POT-Creation-Date: 2025-11-25 10:48+0330\n" 6 "PO-Revision-Date: 2025-11-25 10:55+0330\n" 7 7 "Language-Team: \n" 8 8 "MIME-Version: 1.0\n" … … 20 20 "X-Poedit-SearchPathExcluded-0: *.js\n" 21 21 22 #: aicontify.php:3123 msgid "AiContify requires PHP 7.4 or higher."24 msgstr "کانتیفای به PHP نسخه ۷.۴ یا بالاتر نیاز دارد."25 26 22 #. Plugin Name of the plugin/theme 27 #: aicontify.php:1 42 aicontify.php:143dashboard.php:7 tabsPosts.php:1123 #: aicontify.php:130 aicontify.php:131 dashboard.php:7 tabsPosts.php:11 28 24 msgid "AiContify" 29 msgstr "کانتی فای"30 31 #: aicontify.php:1 53 aicontify.php:15425 msgstr "کانتی فای" 26 27 #: aicontify.php:141 aicontify.php:142 32 28 msgid "Settings" 33 29 msgstr "تنظیمات" 34 30 35 #: aicontify.php:1 62 aicontify.php:16331 #: aicontify.php:150 aicontify.php:151 36 32 msgid "Premium" 37 33 msgstr "پریمیوم" 38 34 39 #: aicontify.php:1 7835 #: aicontify.php:166 40 36 msgid "Supercharge Your Content with AiContify Premium" 41 msgstr "محتوای خود را با کانتی فای پریمیوم قدرتمند کنید"42 43 #: aicontify.php:1 8037 msgstr "محتوای خود را با کانتی فای پریمیوم قدرتمند کنید" 38 39 #: aicontify.php:168 44 40 msgid "Unlock advanced AI models, faster content creation, and exclusive tools designed to elevate your WooCommerce content." 45 msgstr "به مدل های پیشرفته هوش مصنوعی، تولید سریعتر محتواو ابزارهای اختصاصی برای ارتقای محتوای ووکامرس خود دسترسی پیدا کنید."46 47 #: aicontify.php:1 84 aicontify.php:22341 msgstr "به مدل های پیشرفته هوش مصنوعی، تولید محتوای سریع تر و ابزارهای اختصاصی برای ارتقای محتوای ووکامرس خود دسترسی پیدا کنید." 42 43 #: aicontify.php:172 aicontify.php:211 48 44 msgid "Ready to Boost Your Content?" 49 msgstr "برای تقویت محتوای خود آماده اید؟"50 51 #: aicontify.php:1 85 aicontify.php:22445 msgstr "برای تقویت محتوای خود آماده اید؟" 46 47 #: aicontify.php:173 aicontify.php:212 52 48 msgid "Join thousands of creators and businesses using AiContify Premium to supercharge their WooCommerce content." 53 msgstr "به هزاران سازنده و کسبوکار بپیوندید که از کانتیفای پریمیوم برای تقویت محتوای ووکامرس خود استفاده میکنند."54 55 #: aicontify.php:1 87 aicontify.php:22649 msgstr "به هزاران تولیدکننده محتوا و کسب و کار بپیوندید که از کانتی فای پریمیوم برای تقویت محتوای ووکامرس خود استفاده می کنند." 50 51 #: aicontify.php:175 aicontify.php:214 56 52 msgid "Upgrade to Premium" 57 53 msgstr "ارتقا به پریمیوم" 58 54 59 #: aicontify.php:1 9155 #: aicontify.php:179 60 56 msgid "Why Go Premium?" 61 57 msgstr "چرا پریمیوم؟" 62 58 63 #: aicontify.php:1 9559 #: aicontify.php:183 64 60 msgid "Advanced AI Models" 65 msgstr "مدل های پیشرفته هوش مصنوعی"66 67 #: aicontify.php:1 9661 msgstr "مدل های پیشرفته هوش مصنوعی" 62 63 #: aicontify.php:184 68 64 msgid "Access premium AI models for smarter, higher-quality content generation." 69 msgstr "به مدل های پریمیوم هوش مصنوعی برای تولید محتوای هوشمندتر و باکیفیتتر دسترسی داشته باشید."70 71 #: aicontify.php: 20065 msgstr "به مدل های پریمیوم هوش مصنوعی برای تولید محتوای هوشمندتر و باکیفیت تر دسترسی داشته باشید." 66 67 #: aicontify.php:188 72 68 msgid "Faster Generation" 73 msgstr "تولید سریع تر"74 75 #: aicontify.php: 20169 msgstr "تولید سریع تر" 70 71 #: aicontify.php:189 76 72 msgid "Generate content up to 3x faster than the free version." 77 msgstr " تا ۳ برابر سریعتر از نسخه رایگان محتواتولید کنید."78 79 #: aicontify.php: 20573 msgstr "محتوا را تا ۳ برابر سریع تر از نسخه رایگان تولید کنید." 74 75 #: aicontify.php:193 80 76 msgid "WooCommerce Product Content" 81 77 msgstr "محتوای محصول ووکامرس" 82 78 83 #: aicontify.php: 20779 #: aicontify.php:195 84 80 msgid "With a valid premium license, you can generate complete content for WooCommerce products including short and long descriptions. Fully SEO optimized and ready to publish." 85 msgstr "با لایسنس پریمیوم معتبر، میتوانید محتوای کامل برای محصولات ووکامرس شامل توضیحات کوتاه و بلند تولید کنید. کاملاً بهینهشده برای سئو و آماده انتشار."86 87 #: aicontify.php:2 1281 msgstr "با داشتن لایسنس معتبر پریمیوم می توانید محتوای کامل برای محصولات ووکامرس شامل توضیحات کوتاه و بلند تولید کنید. کاملاً بهینه شده برای سئو و آماده انتشار." 82 83 #: aicontify.php:200 88 84 msgid "Pro Version Features" 89 msgstr "ویژگی های نسخه حرفهای"90 91 #: aicontify.php:2 1485 msgstr "ویژگی های نسخه حرفه ای" 86 87 #: aicontify.php:202 92 88 msgid "Includes all features from the free version." 93 msgstr "شامل تمام ویژگی های نسخه رایگان."94 95 #: aicontify.php:2 1589 msgstr "شامل تمام ویژگی های نسخه رایگان." 90 91 #: aicontify.php:203 96 92 msgid "Full support for Pages and WooCommerce products." 97 93 msgstr "پشتیبانی کامل از صفحات و محصولات ووکامرس." 98 94 99 #: aicontify.php:2 1695 #: aicontify.php:204 100 96 msgid "Faster processing and higher accuracy using advanced AI." 101 msgstr "پردازش سریع تر و دقت بالاتر با استفاده از هوش مصنوعی پیشرفته."102 103 #: aicontify.php:2 17dashboard.php:4297 msgstr "پردازش سریع تر و دقت بالاتر با استفاده از هوش مصنوعی پیشرفته." 98 99 #: aicontify.php:205 dashboard.php:42 104 100 msgid "Separate custom prompt configuration for each section: main article, FAQ, SEO title, meta description, WooCommerce product description." 105 msgstr "پیکربندی پرامپت سفارشی جداگانه برای هر بخش: مقاله اصلی، پرسش وپاسخ، عنوان سئو، توضیحاتمتا، توضیحات محصول ووکامرس."106 107 #: aicontify.php:2 18dashboard.php:43101 msgstr "پیکربندی پرامپت سفارشی جداگانه برای هر بخش: مقاله اصلی، پرسش و پاسخ، عنوان سئو، توضیح متا، توضیحات محصول ووکامرس." 102 103 #: aicontify.php:206 dashboard.php:43 108 104 msgid "Easy activation through a premium license." 109 msgstr "فعالسازی آسان از طریق لایسنس پریمیوم." 105 msgstr "فعال سازی آسان از طریق لایسنس پریمیوم." 106 107 #: aicontify.php:207 108 msgid "Designed for professional users who need precise, customizable AI-generated content for websites and online stores." 109 msgstr "طراحی شده برای کاربران حرفه ای که به محتوای تولیدشده توسط هوش مصنوعی دقیق و قابل سفارشی سازی برای وب سایت ها و فروشگاه های آنلاین نیاز دارند." 110 110 111 111 #: aicontify.php:219 112 msgid "Designed for professional users who need precise, customizable AI-generated content for websites and online stores."113 msgstr "طراحیشده برای کاربران حرفهای که به محتوای تولیدشده توسط هوش مصنوعی دقیق و قابل سفارشیسازی برای وبسایتها و فروشگاههای آنلاین نیاز دارند."114 115 #: aicontify.php:231116 112 msgid "Need Help?" 117 msgstr "کمک می خواهید؟"118 119 #: aicontify.php:2 32113 msgstr "کمک می خواهید؟" 114 115 #: aicontify.php:220 120 116 msgid "Our support team is available for setup, guidance, and technical questions." 121 msgstr "تیم پشتیبانی ما برای راه اندازی، راهنمایی و سوالات فنی در دسترس است."122 123 #: aicontify.php:2 34117 msgstr "تیم پشتیبانی ما برای راه اندازی، راهنمایی و سوالات فنی در دسترس است." 118 119 #: aicontify.php:222 124 120 msgid "Telegram:" 125 121 msgstr "تلگرام:" 126 122 127 #: aicontify.php:2 36123 #: aicontify.php:224 128 124 msgid "Email:" 129 125 msgstr "ایمیل:" … … 131 127 #: dashboard.php:12 132 128 msgid "What is AiContify AI Plugin?" 133 msgstr "افزونه هوش مصنوعی کانتی فای چیست؟"129 msgstr "افزونه هوش مصنوعی کانتی فای چیست؟" 134 130 135 131 #: dashboard.php:14 136 132 msgid "AiContify is a free AI-powered plugin for generating high-quality content directly in the WordPress editor. It allows you to create complete articles, FAQs, and SEO-ready elements instantly, without any license or payment." 137 msgstr "کانتی فای یک افزونه رایگان مبتنی بر هوش مصنوعی برای تولید محتوای باکیفیت مستقیماً در ویرایشگر وردپرس است. این افزونه به شما امکان میدهد مقالات کامل، پرسشوپاسخ و عناصر آماده سئو را فوراً ایجاد کنید، بدون نیاز به لایسنس یا پرداخت."133 msgstr "کانتی فای یک افزونه رایگان مبتنی بر هوش مصنوعی برای تولید محتوای باکیفیت مستقیماً در ویرایشگر وردپرس است. این افزونه به شما امکان می دهد مقالات کامل، پرسش و پاسخ و عناصر آماده سئو را فوراً ایجاد کنید، بدون نیاز به لایسنس یا پرداخت." 138 134 139 135 #: dashboard.php:20 140 136 msgid "🆓 Free Version Features" 141 msgstr "ویژگی های نسخه رایگان"137 msgstr "ویژگی های نسخه رایگان" 142 138 143 139 #: dashboard.php:22 144 140 msgid "Generate full article content by simply entering a keyword." 145 msgstr "تولید محتوای کامل مقاله تنها با وارد کردن یک کلیدواژه."141 msgstr "تولید محتوای کامل مقاله فقط با وارد کردن یک کلمه کلیدی." 146 142 147 143 #: dashboard.php:23 … … 151 147 #: dashboard.php:24 152 148 msgid "Automatically generate FAQ related to the article." 153 msgstr "تولید خودکار پرسش وپاسخ مرتبط با مقاله."149 msgstr "تولید خودکار پرسش و پاسخ مرتبط با مقاله." 154 150 155 151 #: dashboard.php:25 156 152 msgid "Generate SEO Title and Meta Description compatible with Yoast SEO." 157 msgstr "تولید عنوان سئو و توضیح اتمتا سازگار با Yoast SEO."153 msgstr "تولید عنوان سئو و توضیح متا سازگار با Yoast SEO." 158 154 159 155 #: dashboard.php:26 160 156 msgid "Support for 13 languages including Persian, English, Spanish, French, German, Chinese, Japanese, Russian, Arabic, Hindi, Portuguese, Italian, and Korean." 161 msgstr "پشتیبانی از ۱۳ زبان شامل فارسی، انگلیسی، اسپانیایی، فرانسوی، آلمانی، چینی، ژاپنی، روسی، عربی، هندی، پرتغالی، ایتالیایی و کره ای."157 msgstr "پشتیبانی از ۱۳ زبان شامل فارسی، انگلیسی، اسپانیایی، فرانسوی، آلمانی، چینی، ژاپنی، روسی، عربی، هندی، پرتغالی، ایتالیایی و کره ای." 162 158 163 159 #: dashboard.php:27 164 160 msgid "Choose between default server prompt or custom user-defined prompt." 165 msgstr "انتخاب بین پرامپت پیش فرض سرور یا پرامپت سفارشی تعریفشده توسط کاربر."161 msgstr "انتخاب بین پرامپت پیش فرض سرور یا پرامپت سفارشی تعریف شده توسط کاربر." 166 162 167 163 #: dashboard.php:28 168 164 msgid "Fully compatible with pre-built and custom WordPress themes." 169 msgstr "کاملاً سازگار با قالب های آماده و سفارشی وردپرس."165 msgstr "کاملاً سازگار با قالب های آماده و سفارشی وردپرس." 170 166 171 167 #: dashboard.php:34 172 168 msgid "🚀 Pro Version, More Power!" 173 msgstr "نسخه حرفه ای، قدرت بیشتر!"169 msgstr "نسخه حرفه ای، قدرت بیشتر!" 174 170 175 171 #: dashboard.php:36 176 172 msgid "The Pro version includes all free features plus enhanced capabilities for professional users and content creators." 177 msgstr "نسخه حرفه ای شامل تمام ویژگیهای رایگان به علاوه قابلیتهای پیشرفته برای کاربران حرفهای و تولیدکنندگان محتوا است."173 msgstr "نسخه حرفه ای شامل تمام ویژگی های رایگان به علاوه قابلیت های پیشرفته برای کاربران حرفه ای و تولیدکنندگان محتوا است." 178 174 179 175 #: dashboard.php:39 … … 183 179 #: dashboard.php:40 184 180 msgid "Full support for Pages in addition to Posts." 185 msgstr "پشتیبانی کامل از صفحات علاوه بر نوشته ها."181 msgstr "پشتیبانی کامل از صفحات علاوه بر نوشته ها." 186 182 187 183 #: dashboard.php:41 188 184 msgid "Faster processing and higher accuracy using advanced AI models." 189 msgstr "پردازش سریع تر و دقت بالاتر با استفاده از مدلهای هوش مصنوعی پیشرفته."185 msgstr "پردازش سریع تر و دقت بالاتر با استفاده از مدل های هوش مصنوعی پیشرفته." 190 186 191 187 #: dashboard.php:49 192 188 msgid "Buy Pro Now" 193 msgstr "خرید نسخه حرفه ای"189 msgstr "خرید نسخه حرفه ای" 194 190 195 191 #: dashboard.php:56 … … 203 199 #: dashboard.php:59 204 200 msgid "Enter the main keyword in Yoast SEO." 205 msgstr "کل یدواژهاصلی را در Yoast SEO وارد کنید."201 msgstr "کلمه کلیدی اصلی را در Yoast SEO وارد کنید." 206 202 207 203 #: dashboard.php:60 … … 223 219 #: dashboard.php:69 224 220 msgid "Website:" 225 msgstr "وب سایت:"221 msgstr "وب سایت:" 226 222 227 223 #: dashboard.php:74 … … 239 235 #: dashboard.php:86 240 236 msgid "Professional Content, Just One Click Away!" 241 msgstr "محتوای حرفه ای، فقط با یک کلیک!"237 msgstr "محتوای حرفه ای، فقط با یک کلیک!" 242 238 243 239 #: faqPosts.php:105 … … 251 247 #: settings.php:82 252 248 msgid "AiContify Settings" 253 msgstr "تنظیمات کانتی فای"249 msgstr "تنظیمات کانتی فای" 254 250 255 251 #: settings.php:264 … … 263 259 #: settings.php:270 settings/tab-faq.php:14 264 260 msgid "FAQ Prompt" 265 msgstr "پرامپت پرسش وپاسخ"261 msgstr "پرامپت پرسش و پاسخ" 266 262 267 263 #: settings.php:273 … … 271 267 #: settings.php:276 272 268 msgid "SEO Meta Prompt" 273 msgstr "پرامپت متای سئو"269 msgstr "پرامپت توضیح متا" 274 270 275 271 #: settings.php:301 … … 283 279 #: settings.php:333 284 280 msgid "Brand title cannot be empty." 285 msgstr "عنوان برند نمی تواند خالی باشد."281 msgstr "عنوان برند نمی تواند خالی باشد." 286 282 287 283 #: settings.php:358 … … 295 291 #: settings/tab-content.php:17 settings/tab-faq.php:17 settings/tab-seo-meta.php:17 settings/tab-seo-title.php:17 296 292 msgid "Warning: Prompt writing is a professional skill!" 297 msgstr "هشدار: نوشتن پرامپت یک مهارت حرفه ای است!"293 msgstr "هشدار: نوشتن پرامپت یک مهارت حرفه ای است!" 298 294 299 295 #: settings/tab-content.php:20 settings/tab-faq.php:20 settings/tab-seo-meta.php:20 settings/tab-seo-title.php:20 300 296 msgid "If you don't have expertise in prompt engineering, using a weak custom prompt can significantly reduce content quality." 301 msgstr "اگر در مهندسی پرامپت تخصص ندارید، استفاده از پرامپت سفارشی ضعیف می تواند کیفیت محتوا را بهشدت کاهش دهد."297 msgstr "اگر در مهندسی پرامپت تخصص ندارید، استفاده از پرامپت سفارشی ضعیف می تواند کیفیت محتوا را به شدت کاهش دهد." 302 298 303 299 #: settings/tab-content.php:22 settings/tab-faq.php:22 settings/tab-seo-meta.php:22 settings/tab-seo-title.php:22 304 300 msgid "Our default prompt is carefully designed by AI experts and produces the best results in 99 percent of cases." 305 msgstr "پرامپت پیش فرض ما توسط متخصصان هوش مصنوعی طراحی شده و در ۹۹ درصد موارد بهترین نتیجه را تولید میکند."301 msgstr "پرامپت پیش فرض ما توسط متخصصان هوش مصنوعی طراحی شده و در ۹۹ درصد موارد بهترین نتیجه را تولید می کند." 306 302 307 303 #: settings/tab-content.php:25 settings/tab-faq.php:25 settings/tab-seo-meta.php:25 settings/tab-seo-title.php:25 … … 311 307 #: settings/tab-content.php:26 settings/tab-faq.php:26 settings/tab-seo-meta.php:26 settings/tab-seo-title.php:26 312 308 msgid "Need a professional prompt? Contact us right now:" 313 msgstr "به پرامپت حرفه ای نیاز دارید؟ همین حالا با ما تماس بگیرید:"309 msgstr "به پرامپت حرفه ای نیاز دارید؟ همین حالا با ما تماس بگیرید:" 314 310 315 311 #: settings/tab-content.php:37 settings/tab-faq.php:37 settings/tab-seo-meta.php:37 settings/tab-seo-title.php:37 … … 323 319 #: settings/tab-content.php:53 settings/tab-content.php:82 settings/tab-content.php:109 settings/tab-faq.php:53 settings/tab-faq.php:136 settings/tab-seo-meta.php:53 settings/tab-seo-meta.php:83 settings/tab-seo-title.php:53 settings/tab-seo-title.php:81 324 320 msgid "Leave empty to use default." 325 msgstr "برای استفاده از پیش فرض خالی بگذارید."321 msgstr "برای استفاده از پیش فرض خالی بگذارید." 326 322 327 323 #. translators: %s: {keyword} placeholder … … 347 343 #: settings/tab-faq.php:69 348 344 msgid "Article ID" 349 msgstr " شناسهمقاله"345 msgstr "آی دی مقاله" 350 346 351 347 #: settings/tab-faq.php:80 352 348 msgid "ACF repeater field ID for article." 353 msgstr " شناسهفیلد تکرارشونده ACF برای مقاله."349 msgstr "آی دی فیلد تکرارشونده ACF برای مقاله." 354 350 355 351 #: settings/tab-faq.php:86 356 352 msgid "Question ID" 357 msgstr " شناسه سؤال"353 msgstr "آی دی سوال" 358 354 359 355 #: settings/tab-faq.php:97 360 356 msgid "ACF field ID for question." 361 msgstr " شناسه فیلد ACF برای سؤال."357 msgstr "آی دی فیلد ACF برای سوال." 362 358 363 359 #: settings/tab-faq.php:103 364 360 msgid "Answer ID" 365 msgstr " شناسهپاسخ"361 msgstr "آی دی پاسخ" 366 362 367 363 #: settings/tab-faq.php:114 368 364 msgid "ACF field ID for answer." 369 msgstr " شناسهفیلد ACF برای پاسخ."365 msgstr "آی دی فیلد ACF برای پاسخ." 370 366 371 367 #: settings/tab-faq.php:149 372 368 msgid "Product Article ID" 373 msgstr " شناسهمقاله محصول"369 msgstr "آی دی مقاله محصول" 374 370 375 371 #: settings/tab-faq.php:160 376 372 msgid "ACF field ID for product." 377 msgstr " شناسهفیلد ACF برای محصول."373 msgstr "آی دی فیلد ACF برای محصول." 378 374 379 375 #: settings/tab-faq.php:166 380 376 msgid "Product Question ID" 381 msgstr " شناسه سؤال محصول"377 msgstr "آی دی سوال محصول" 382 378 383 379 #: settings/tab-faq.php:177 384 380 msgid "ACF field ID for product question." 385 msgstr " شناسه فیلد ACF برای سؤال محصول."381 msgstr "آی دی فیلد ACF برای سوال محصول." 386 382 387 383 #: settings/tab-faq.php:183 388 384 msgid "Product Answer ID" 389 msgstr " شناسهپاسخ محصول"385 msgstr "آی دی پاسخ محصول" 390 386 391 387 #: settings/tab-faq.php:194 392 388 msgid "ACF field ID for product answer." 393 msgstr " شناسهفیلد ACF برای پاسخ محصول."389 msgstr "آی دی فیلد ACF برای پاسخ محصول." 394 390 395 391 #: settings/tab-main.php:15 settings/tab-main.php:21 … … 407 403 #: settings/tab-main.php:48 408 404 msgid "For custom, set FAQ IDs in FAQ tab." 409 msgstr "برای سفارشی، شناسههای پرسشوپاسخ را در تب پرسشوپاسخ تنظیم کنید."405 msgstr "برای قالب سفارشی، شناسه های پرسش و پاسخ را در تب پرسش و پاسخ تنظیم کنید." 410 406 411 407 #: settings/tab-main.php:57 … … 435 431 #: settings/tab-main.php:73 436 432 msgid "Chinese (Simplified)" 437 msgstr "چینی (ساده شده)"433 msgstr "چینی (ساده شده)" 438 434 439 435 #: settings/tab-main.php:74 … … 463 459 #: settings/tab-main.php:80 464 460 msgid "Korean (South Korea)" 465 msgstr "کره ای (کره جنوبی)"461 msgstr "کره ای (کره جنوبی)" 466 462 467 463 #: settings/tab-main.php:94 468 464 msgid "Select the primary language for your site content." 469 msgstr "زبان اصلی محتوای سایت را انتخاب کنید."465 msgstr "زبان اصلی محتوای سایت خود را انتخاب کنید." 470 466 471 467 #: settings/tab-main.php:102 … … 479 475 #: settings/tab-seo-meta.php:14 settings/tab-seo-title.php:14 480 476 msgid "SEO Meta Description Prompt" 481 msgstr "پرامپت توضیح ات متای سئو"482 483 #: tabsPosts.php:3 4477 msgstr "پرامپت توضیح متا" 478 479 #: tabsPosts.php:32 484 480 msgid "Keyword / Topic" 485 msgstr "کل یدواژه/ موضوع"486 487 #: tabsPosts.php: 41481 msgstr "کلمه کلیدی / موضوع" 482 483 #: tabsPosts.php:39 488 484 msgid "Enter the main keyword or topic for AI generation" 489 msgstr "کل یدواژه یا موضوع اصلی برای تولید هوش مصنوعی راوارد کنید"490 491 #: tabsPosts.php:4 5485 msgstr "کلمه کلیدی یا موضوع اصلی را برای تولید محتوا توسط هوش مصنوعی وارد کنید" 486 487 #: tabsPosts.php:43 492 488 msgid "This keyword will be used for all AI content, FAQ, SEO title, and meta description generation." 493 msgstr "این کل یدواژه برای تمام محتوای هوش مصنوعی، پرسشوپاسخ، عنوان سئو و تولید توضیحاتمتا استفاده خواهد شد."494 495 #: tabsPosts.php:5 3489 msgstr "این کلمه کلیدی برای تولید تمام محتوای هوش مصنوعی، پرسش و پاسخ، عنوان سئو و توضیح متا استفاده خواهد شد." 490 491 #: tabsPosts.php:51 496 492 msgid "Main Content Generation" 497 493 msgstr "تولید محتوای اصلی" 498 494 499 #: tabsPosts.php:56 495 #: tabsPosts.php:54 tabsPosts.php:170 496 msgid "Edit Main Content" 497 msgstr "ویرایش محتوای اصلی" 498 499 #: tabsPosts.php:57 500 500 msgid "FAQ Generation" 501 msgstr "تولید پرسش وپاسخ"502 503 #: tabsPosts.php: 59501 msgstr "تولید پرسش و پاسخ" 502 503 #: tabsPosts.php:60 504 504 msgid "SEO Title Generation" 505 505 msgstr "تولید عنوان سئو" 506 506 507 #: tabsPosts.php:6 2507 #: tabsPosts.php:63 508 508 msgid "SEO Description Generation" 509 msgstr "تولید توضیحات سئو" 510 511 #. translators: %1$s: opening <strong> tag, %2$s: closing </strong> tag 512 #: tabsPosts.php:75 513 #, php-format 514 msgid "Click the button below to automatically generate the main content for the post. %1$sDo not refresh the page during the process.%2$s" 515 msgstr "برای تولید خودکار محتوای اصلی نوشته روی دکمه زیر کلیک کنید. %1$sدر طول فرآیند صفحه را رفرش نکنید.%2$s" 516 517 #: tabsPosts.php:82 509 msgstr "تولید توضیح متا" 510 511 #: tabsPosts.php:71 512 msgid "How to Generate Main Post Content with One Click?" 513 msgstr "چگونه محتوای اصلی نوشته را با یک کلیک تولید کنیم؟" 514 515 #: tabsPosts.php:76 516 msgid "First, enter the post title at the top of the page." 517 msgstr "ابتدا عنوان نوشته را در بالای صفحه وارد کنید." 518 519 #: tabsPosts.php:80 520 msgid "Fill in the \"Keyword / Topic\" field with your main keywords or post topic (e.g., Samsung Galaxy A54, sunscreen cream, etc.)." 521 msgstr "فیلد «کلمه کلیدی / موضوع» را با کلمه کلیدی اصلی یا موضوع نوشته پر کنید (مثلاً: سامسونگ گلکسی A54، کرم ضدآفتاب و غیره)." 522 523 #: tabsPosts.php:84 524 msgid "Click the \"Save Draft\" button to save your changes." 525 msgstr "روی دکمه «ذخیره پیش نویس» کلیک کنید." 526 527 #: tabsPosts.php:88 528 msgid "Finally, click the blue \"Generate Main Content\" button." 529 msgstr "در نهایت روی دکمه آبی «تولید محتوای اصلی» کلیک کنید." 530 531 #: tabsPosts.php:93 tabsPosts.php:239 tabsPosts.php:328 tabsPosts.php:431 532 msgid "After completion, the full SEO-optimized content will automatically appear in the editor — you can edit it or publish directly!" 533 msgstr "پس از اتمام، محتوای کامل بهینه شده برای سئو به صورت خودکار در ویرایشگر ظاهر می شود — می توانید آن را ویرایش یا مستقیماً منتشر کنید!" 534 535 #: tabsPosts.php:97 518 536 msgid "Generate Main Content" 519 537 msgstr "تولید محتوای اصلی" 520 538 521 #: tabsPosts.php: 87 tabsPosts.php:146 tabsPosts.php:220 tabsPosts.php:309539 #: tabsPosts.php:102 tabsPosts.php:175 tabsPosts.php:248 tabsPosts.php:337 tabsPosts.php:440 522 540 msgid "Please do not refresh the page until the operation is complete." 523 541 msgstr "لطفاً تا پایان عملیات صفحه را رفرش نکنید." 524 542 525 #: tabsPosts.php: 96 tabsPosts.php:155 tabsPosts.php:229 tabsPosts.php:318543 #: tabsPosts.php:111 tabsPosts.php:184 tabsPosts.php:257 tabsPosts.php:346 tabsPosts.php:449 526 544 msgid "Custom Prompt Settings" 527 545 msgstr "تنظیمات پرامپت سفارشی" 528 546 529 #: tabsPosts.php:1 02547 #: tabsPosts.php:117 530 548 msgid "Custom Prompt for Content Generation" 531 549 msgstr "پرامپت سفارشی برای تولید محتوا" 532 550 533 #: tabsPosts.php:114 534 msgid "Customize the AI prompt for generating content for this specific post." 535 msgstr "پرامپت هوش مصنوعی را برای تولید محتوای این نوشته خاص سفارشی کنید." 536 537 #: tabsPosts.php:115 tabsPosts.php:174 tabsPosts.php:248 tabsPosts.php:337 538 msgid "Leave empty to use the default prompt." 539 msgstr "برای استفاده از پرامپت پیشفرض خالی بگذارید." 540 541 #. translators: %s: {keyword} placeholder 542 #: tabsPosts.php:118 tabsPosts.php:177 tabsPosts.php:251 tabsPosts.php:340 543 #, php-format 544 msgid "If filled, must include %s placeholder." 545 msgstr "اگر پر شود، حتماً باید شامل %s باشد." 546 547 #. translators: %1$s: opening <strong> tag, %2$s: closing </strong> tag 548 #: tabsPosts.php:134 549 #, php-format 550 msgid "Click the button below to automatically generate FAQs for the post. %1$sDo not refresh the page during the process.%2$s" 551 msgstr "برای تولید خودکار پرسشوپاسخ نوشته روی دکمه زیر کلیک کنید. %1$sدر طول فرآیند صفحه را رفرش نکنید.%2$s" 552 553 #: tabsPosts.php:141 551 #: tabsPosts.php:130 tabsPosts.php:203 tabsPosts.php:276 tabsPosts.php:365 tabsPosts.php:468 552 msgid "You can leave this field empty → the plugin will use the smart default prompt and give you excellent results." 553 msgstr "می توانید این فیلد را خالی بگذارید → افزونه از پرامپت هوشمند پیش فرض استفاده می کند و نتیجه عالی به شما می دهد." 554 555 #: tabsPosts.php:133 tabsPosts.php:206 tabsPosts.php:279 tabsPosts.php:368 tabsPosts.php:471 556 msgid "Want even better and more customized results? Write your own instruction here." 557 msgstr "می خواهید نتیجه بهتر و سفارشی تری بگیرید؟ دستورالعمل خود را اینجا بنویسید." 558 559 #: tabsPosts.php:136 tabsPosts.php:209 tabsPosts.php:282 tabsPosts.php:371 tabsPosts.php:474 560 msgid "The clearer and more precise your prompt, the better and more accurate the result will be!" 561 msgstr "هرچه پرامپت شما واضح تر و دقیق تر باشد، نتیجه بهتر و دقیق تری خواهید گرفت!" 562 563 #: tabsPosts.php:148 564 msgid "How to Edit the Generated Main Content" 565 msgstr "چگونه محتوای تولیدشده اصلی را ویرایش کنیم" 566 567 #: tabsPosts.php:153 568 msgid "First make sure you have generated the content in the \"Generate Main Content\" tab." 569 msgstr "ابتدا مطمئن شوید که محتوا را در تب «تولید محتوای اصلی» تولید کرده اید." 570 571 #: tabsPosts.php:157 572 msgid "If you want to change anything (make it longer/shorter, add details, change tone, fix something, etc.), write your exact request in the box below." 573 msgstr "اگر می خواهید چیزی را تغییر دهید (طولانی تر/کوتاه تر کنید، جزئیات اضافه کنید، لحن را تغییر دهید، چیزی را اصلاح کنید و غیره)، درخواست دقیق خود را در کادر زیر بنویسید." 574 575 #: tabsPosts.php:161 576 msgid "Then click the \"Edit Main Content\" button." 577 msgstr "سپس روی دکمه «ویرایش محتوای اصلی» کلیک کنید." 578 579 #: tabsPosts.php:166 580 msgid "You can edit as many times as you like until the text is exactly the way you want!" 581 msgstr "می توانید هر چند بار که خواستید ویرایش کنید تا متن دقیقاً همان چیزی شود که می خواهید!" 582 583 #: tabsPosts.php:190 584 msgid "Custom Prompt for Edit Content" 585 msgstr "پرامپت سفارشی برای ویرایش محتوا" 586 587 #: tabsPosts.php:221 588 msgid "How to Generate FAQ (Frequently Asked Questions) with One Click" 589 msgstr "چگونه پرسش و پاسخ (سوالات متداول) را با یک کلیک تولید کنیم" 590 591 #: tabsPosts.php:225 tabsPosts.php:314 tabsPosts.php:418 592 msgid "Enter the post title at the top of the page." 593 msgstr "عنوان نوشته را در بالای صفحه وارد کنید." 594 595 #: tabsPosts.php:228 596 msgid "Fill in the \"Keyword / Topic\" field with the post name or main keywords." 597 msgstr "فیلد «کلمه کلیدی / موضوع» را با نام نوشته یا کلمه کلیدی اصلی پر کنید." 598 599 #: tabsPosts.php:231 600 msgid "Click \"Save Draft\" to save your changes." 601 msgstr "روی «ذخیره پیش نویس» کلیک کنید." 602 603 #: tabsPosts.php:234 604 msgid "Finally, click the blue button \"Generate FAQ\"." 605 msgstr "در نهایت روی دکمه آبی «تولید پرسش و پاسخ» کلیک کنید." 606 607 #: tabsPosts.php:243 554 608 msgid "Generate FAQs" 555 msgstr "تولید پرسش وپاسخ"556 557 #: tabsPosts.php: 161609 msgstr "تولید پرسش و پاسخ" 610 611 #: tabsPosts.php:263 558 612 msgid "Custom Prompt for FAQ Generation" 559 msgstr "پرامپت سفارشی برای تولید پرسشوپاسخ" 560 561 #: tabsPosts.php:173 562 msgid "Customize the AI prompt for generating FAQs for this specific post." 563 msgstr "پرامپت هوش مصنوعی را برای تولید پرسشوپاسخ این نوشته خاص سفارشی کنید." 564 565 #: tabsPosts.php:208 566 #, php-format 567 msgid "Click the button below to automatically generate the SEO title for the post. %1$sDo not refresh the page during the process.%2$s" 568 msgstr "برای تولید خودکار عنوان سئو نوشته روی دکمه زیر کلیک کنید. %1$sدر طول فرآیند صفحه را رفرش نکنید.%2$s" 569 570 #: tabsPosts.php:215 613 msgstr "پرامپت سفارشی برای تولید پرسش و پاسخ" 614 615 #: tabsPosts.php:310 616 msgid "How to Generate SEO Title & Meta Description with One Click" 617 msgstr "چگونه عنوان سئو و توضیح متا را با یک کلیک تولید کنیم" 618 619 #: tabsPosts.php:317 620 msgid "Fill in the \"Keyword / Topic\" field with your main focus keyword." 621 msgstr "فیلد «کلمه کلیدی / موضوع» را با کلمه کلیدی اصلی خود پر کنید." 622 623 #: tabsPosts.php:320 tabsPosts.php:424 624 msgid "Click \"Save Draft\" to save the post." 625 msgstr "روی «ذخیره پیش نویس» کلیک کنید." 626 627 #: tabsPosts.php:323 628 msgid "Click the blue button \"Generate SEO Title & Meta\"." 629 msgstr "روی دکمه آبی «تولید عنوان سئو و توضیح متا» کلیک کنید." 630 631 #: tabsPosts.php:332 571 632 msgid "Generate SEO Title" 572 633 msgstr "تولید عنوان سئو" 573 634 574 #: tabsPosts.php: 235635 #: tabsPosts.php:352 575 636 msgid "Custom Prompt for SEO Title Generation" 576 637 msgstr "پرامپت سفارشی برای تولید عنوان سئو" 577 638 578 #: tabsPosts.php:247 579 msgid "Customize the AI prompt for generating SEO title for this specific post." 580 msgstr "پرامپت هوش مصنوعی را برای تولید عنوان سئو این نوشته خاص سفارشی کنید." 581 582 #: tabsPosts.php:264 tabsPosts.php:353 639 #: tabsPosts.php:383 tabsPosts.php:486 583 640 msgid "Yoast SEO Plugin Required" 584 641 msgstr "افزونه Yoast SEO لازم است" 585 642 586 #: tabsPosts.php: 267 tabsPosts.php:356643 #: tabsPosts.php:386 tabsPosts.php:489 587 644 msgid "This feature requires the Yoast SEO plugin to be installed and activated." 588 645 msgstr "این ویژگی نیاز دارد افزونه Yoast SEO نصب و فعال باشد." 589 646 590 #: tabsPosts.php: 270 tabsPosts.php:359647 #: tabsPosts.php:389 tabsPosts.php:492 591 648 msgid "After activation, refresh the page." 592 msgstr "پس از فعالسازی، صفحه را رفرش کنید." 593 594 #: tabsPosts.php:297 595 #, php-format 596 msgid "Click the button below to automatically generate the meta description for the post. %1$sDo not refresh the page during the process.%2$s" 597 msgstr "برای تولید خودکار توضیحات متا نوشته روی دکمه زیر کلیک کنید. %1$sدر طول فرآیند صفحه را رفرش نکنید.%2$s" 598 599 #: tabsPosts.php:304 649 msgstr "پس از فعال سازی، صفحه را رفرش کنید." 650 651 #: tabsPosts.php:414 652 msgid "How to Generate Meta Description with One Click" 653 msgstr "چگونه توضیح متا را با یک کلیک تولید کنیم" 654 655 #: tabsPosts.php:421 656 msgid "Fill in the \"Keyword / Topic\" field with your focus keyword." 657 msgstr "فیلد «کلمه کلیدی / موضوع» را با کلمه کلیدی اصلی پر کنید." 658 659 #: tabsPosts.php:427 660 msgid "Click the blue button \"Generate Meta Description\"." 661 msgstr "روی دکمه آبی «تولید توضیح متا» کلیک کنید." 662 663 #: tabsPosts.php:435 600 664 msgid "Generate Meta Description" 601 msgstr "تولید توضیح اتمتا"602 603 #: tabsPosts.php: 324665 msgstr "تولید توضیح متا" 666 667 #: tabsPosts.php:455 604 668 msgid "Custom Prompt for Meta Description Generation" 605 msgstr "پرامپت سفارشی برای تولید توضیحات متا" 606 607 #: tabsPosts.php:336 608 msgid "Customize the AI prompt for generating meta description for this specific post." 609 msgstr "پرامپت هوش مصنوعی را برای تولید توضیحات متا این نوشته خاص سفارشی کنید." 669 msgstr "پرامپت سفارشی برای تولید توضیح متا" 610 670 611 671 #. Plugin URI of the plugin/theme -
aicontify/trunk/languages/aicontify.pot
r3398807 r3402261 4 4 "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" 5 5 "Project-Id-Version: AiContify\n" 6 "POT-Creation-Date: 2025-11- 19 13:59+0330\n"7 "PO-Revision-Date: 2025-11- 19 13:59+0330\n"6 "POT-Creation-Date: 2025-11-25 10:48+0330\n" 7 "PO-Revision-Date: 2025-11-25 10:48+0330\n" 8 8 "Last-Translator: \n" 9 9 "Language-Team: \n" … … 22 22 "X-Poedit-SearchPathExcluded-0: *.js\n" 23 23 24 #: aicontify.php:3125 msgid "AiContify requires PHP 7.4 or higher."26 msgstr ""27 28 24 #. Plugin Name of the plugin/theme 29 #: aicontify.php:1 42 aicontify.php:143dashboard.php:7 tabsPosts.php:1125 #: aicontify.php:130 aicontify.php:131 dashboard.php:7 tabsPosts.php:11 30 26 msgid "AiContify" 31 27 msgstr "" 32 28 33 #: aicontify.php:1 53 aicontify.php:15429 #: aicontify.php:141 aicontify.php:142 34 30 msgid "Settings" 35 31 msgstr "" 36 32 37 #: aicontify.php:1 62 aicontify.php:16333 #: aicontify.php:150 aicontify.php:151 38 34 msgid "Premium" 39 35 msgstr "" 40 36 41 #: aicontify.php:1 7837 #: aicontify.php:166 42 38 msgid "Supercharge Your Content with AiContify Premium" 43 39 msgstr "" 44 40 45 #: aicontify.php:1 8041 #: aicontify.php:168 46 42 msgid "" 47 43 "Unlock advanced AI models, faster content creation, and exclusive tools " … … 49 45 msgstr "" 50 46 51 #: aicontify.php:1 84 aicontify.php:22347 #: aicontify.php:172 aicontify.php:211 52 48 msgid "Ready to Boost Your Content?" 53 49 msgstr "" 54 50 55 #: aicontify.php:1 85 aicontify.php:22451 #: aicontify.php:173 aicontify.php:212 56 52 msgid "" 57 53 "Join thousands of creators and businesses using AiContify Premium to " … … 59 55 msgstr "" 60 56 61 #: aicontify.php:1 87 aicontify.php:22657 #: aicontify.php:175 aicontify.php:214 62 58 msgid "Upgrade to Premium" 63 59 msgstr "" 64 60 65 #: aicontify.php:1 9161 #: aicontify.php:179 66 62 msgid "Why Go Premium?" 67 63 msgstr "" 68 64 65 #: aicontify.php:183 66 msgid "Advanced AI Models" 67 msgstr "" 68 69 #: aicontify.php:184 70 msgid "" 71 "Access premium AI models for smarter, higher-quality content generation." 72 msgstr "" 73 74 #: aicontify.php:188 75 msgid "Faster Generation" 76 msgstr "" 77 78 #: aicontify.php:189 79 msgid "Generate content up to 3x faster than the free version." 80 msgstr "" 81 82 #: aicontify.php:193 83 msgid "WooCommerce Product Content" 84 msgstr "" 85 69 86 #: aicontify.php:195 70 msgid "Advanced AI Models"71 msgstr ""72 73 #: aicontify.php:19674 msgid ""75 "Access premium AI models for smarter, higher-quality content generation."76 msgstr ""77 78 #: aicontify.php:20079 msgid "Faster Generation"80 msgstr ""81 82 #: aicontify.php:20183 msgid "Generate content up to 3x faster than the free version."84 msgstr ""85 86 #: aicontify.php:20587 msgid "WooCommerce Product Content"88 msgstr ""89 90 #: aicontify.php:20791 87 msgid "" 92 88 "With a valid premium license, you can generate complete content for " … … 95 91 msgstr "" 96 92 97 #: aicontify.php:2 1293 #: aicontify.php:200 98 94 msgid "Pro Version Features" 99 95 msgstr "" 100 96 101 #: aicontify.php:2 1497 #: aicontify.php:202 102 98 msgid "Includes all features from the free version." 103 99 msgstr "" 104 100 105 #: aicontify.php:2 15101 #: aicontify.php:203 106 102 msgid "Full support for Pages and WooCommerce products." 107 103 msgstr "" 108 104 109 #: aicontify.php:2 16105 #: aicontify.php:204 110 106 msgid "Faster processing and higher accuracy using advanced AI." 111 107 msgstr "" 112 108 113 #: aicontify.php:2 17dashboard.php:42109 #: aicontify.php:205 dashboard.php:42 114 110 msgid "" 115 111 "Separate custom prompt configuration for each section: main article, FAQ, " … … 117 113 msgstr "" 118 114 119 #: aicontify.php:2 18dashboard.php:43115 #: aicontify.php:206 dashboard.php:43 120 116 msgid "Easy activation through a premium license." 121 117 msgstr "" 122 118 123 #: aicontify.php:2 19119 #: aicontify.php:207 124 120 msgid "" 125 121 "Designed for professional users who need precise, customizable AI-generated " … … 127 123 msgstr "" 128 124 129 #: aicontify.php:2 31125 #: aicontify.php:219 130 126 msgid "Need Help?" 131 127 msgstr "" 132 128 133 #: aicontify.php:2 32129 #: aicontify.php:220 134 130 msgid "" 135 131 "Our support team is available for setup, guidance, and technical questions." 136 132 msgstr "" 137 133 138 #: aicontify.php:2 34134 #: aicontify.php:222 139 135 msgid "Telegram:" 140 136 msgstr "" 141 137 142 #: aicontify.php:2 36138 #: aicontify.php:224 143 139 msgid "Email:" 144 140 msgstr "" … … 526 522 msgstr "" 527 523 528 #: tabsPosts.php:3 4524 #: tabsPosts.php:32 529 525 msgid "Keyword / Topic" 530 526 msgstr "" 531 527 532 #: tabsPosts.php: 41528 #: tabsPosts.php:39 533 529 msgid "Enter the main keyword or topic for AI generation" 534 530 msgstr "" 535 531 536 #: tabsPosts.php:4 5532 #: tabsPosts.php:43 537 533 msgid "" 538 534 "This keyword will be used for all AI content, FAQ, SEO title, and meta " … … 540 536 msgstr "" 541 537 542 #: tabsPosts.php:5 3538 #: tabsPosts.php:51 543 539 msgid "Main Content Generation" 544 540 msgstr "" 545 541 546 #: tabsPosts.php:56 542 #: tabsPosts.php:54 tabsPosts.php:170 543 msgid "Edit Main Content" 544 msgstr "" 545 546 #: tabsPosts.php:57 547 547 msgid "FAQ Generation" 548 548 msgstr "" 549 549 550 #: tabsPosts.php: 59550 #: tabsPosts.php:60 551 551 msgid "SEO Title Generation" 552 552 msgstr "" 553 553 554 #: tabsPosts.php:6 2554 #: tabsPosts.php:63 555 555 msgid "SEO Description Generation" 556 556 msgstr "" 557 557 558 #. translators: %1$s: opening <strong> tag, %2$s: closing </strong> tag 559 #: tabsPosts.php:75 560 #, php-format 561 msgid "" 562 "Click the button below to automatically generate the main content for the " 563 "post. %1$sDo not refresh the page during the process.%2$s" 564 msgstr "" 565 566 #: tabsPosts.php:82 558 #: tabsPosts.php:71 559 msgid "How to Generate Main Post Content with One Click?" 560 msgstr "" 561 562 #: tabsPosts.php:76 563 msgid "First, enter the post title at the top of the page." 564 msgstr "" 565 566 #: tabsPosts.php:80 567 msgid "" 568 "Fill in the \"Keyword / Topic\" field with your main keywords or post topic " 569 "(e.g., Samsung Galaxy A54, sunscreen cream, etc.)." 570 msgstr "" 571 572 #: tabsPosts.php:84 573 msgid "Click the \"Save Draft\" button to save your changes." 574 msgstr "" 575 576 #: tabsPosts.php:88 577 msgid "Finally, click the blue \"Generate Main Content\" button." 578 msgstr "" 579 580 #: tabsPosts.php:93 tabsPosts.php:239 tabsPosts.php:328 tabsPosts.php:431 581 msgid "" 582 "After completion, the full SEO-optimized content will automatically appear " 583 "in the editor — you can edit it or publish directly!" 584 msgstr "" 585 586 #: tabsPosts.php:97 567 587 msgid "Generate Main Content" 568 588 msgstr "" 569 589 570 #: tabsPosts.php:87 tabsPosts.php:146 tabsPosts.php:220 tabsPosts.php:309 590 #: tabsPosts.php:102 tabsPosts.php:175 tabsPosts.php:248 tabsPosts.php:337 591 #: tabsPosts.php:440 571 592 msgid "Please do not refresh the page until the operation is complete." 572 593 msgstr "" 573 594 574 #: tabsPosts.php:96 tabsPosts.php:155 tabsPosts.php:229 tabsPosts.php:318 595 #: tabsPosts.php:111 tabsPosts.php:184 tabsPosts.php:257 tabsPosts.php:346 596 #: tabsPosts.php:449 575 597 msgid "Custom Prompt Settings" 576 598 msgstr "" 577 599 578 #: tabsPosts.php:1 02600 #: tabsPosts.php:117 579 601 msgid "Custom Prompt for Content Generation" 580 602 msgstr "" 581 603 582 #: tabsPosts.php:114 583 msgid "Customize the AI prompt for generating content for this specific post." 584 msgstr "" 585 586 #: tabsPosts.php:115 tabsPosts.php:174 tabsPosts.php:248 tabsPosts.php:337 587 msgid "Leave empty to use the default prompt." 588 msgstr "" 589 590 #. translators: %s: {keyword} placeholder 591 #: tabsPosts.php:118 tabsPosts.php:177 tabsPosts.php:251 tabsPosts.php:340 592 #, php-format 593 msgid "If filled, must include %s placeholder." 594 msgstr "" 595 596 #. translators: %1$s: opening <strong> tag, %2$s: closing </strong> tag 597 #: tabsPosts.php:134 598 #, php-format 599 msgid "" 600 "Click the button below to automatically generate FAQs for the post. %1$sDo " 601 "not refresh the page during the process.%2$s" 602 msgstr "" 603 604 #: tabsPosts.php:141 604 #: tabsPosts.php:130 tabsPosts.php:203 tabsPosts.php:276 tabsPosts.php:365 605 #: tabsPosts.php:468 606 msgid "" 607 "You can leave this field empty → the plugin will use the smart default " 608 "prompt and give you excellent results." 609 msgstr "" 610 611 #: tabsPosts.php:133 tabsPosts.php:206 tabsPosts.php:279 tabsPosts.php:368 612 #: tabsPosts.php:471 613 msgid "" 614 "Want even better and more customized results? Write your own instruction " 615 "here." 616 msgstr "" 617 618 #: tabsPosts.php:136 tabsPosts.php:209 tabsPosts.php:282 tabsPosts.php:371 619 #: tabsPosts.php:474 620 msgid "" 621 "The clearer and more precise your prompt, the better and more accurate the " 622 "result will be!" 623 msgstr "" 624 625 #: tabsPosts.php:148 626 msgid "How to Edit the Generated Main Content" 627 msgstr "" 628 629 #: tabsPosts.php:153 630 msgid "" 631 "First make sure you have generated the content in the \"Generate Main Content" 632 "\" tab." 633 msgstr "" 634 635 #: tabsPosts.php:157 636 msgid "" 637 "If you want to change anything (make it longer/shorter, add details, change " 638 "tone, fix something, etc.), write your exact request in the box below." 639 msgstr "" 640 641 #: tabsPosts.php:161 642 msgid "Then click the \"Edit Main Content\" button." 643 msgstr "" 644 645 #: tabsPosts.php:166 646 msgid "" 647 "You can edit as many times as you like until the text is exactly the way you " 648 "want!" 649 msgstr "" 650 651 #: tabsPosts.php:190 652 msgid "Custom Prompt for Edit Content" 653 msgstr "" 654 655 #: tabsPosts.php:221 656 msgid "How to Generate FAQ (Frequently Asked Questions) with One Click" 657 msgstr "" 658 659 #: tabsPosts.php:225 tabsPosts.php:314 tabsPosts.php:418 660 msgid "Enter the post title at the top of the page." 661 msgstr "" 662 663 #: tabsPosts.php:228 664 msgid "" 665 "Fill in the \"Keyword / Topic\" field with the post name or main keywords." 666 msgstr "" 667 668 #: tabsPosts.php:231 669 msgid "Click \"Save Draft\" to save your changes." 670 msgstr "" 671 672 #: tabsPosts.php:234 673 msgid "Finally, click the blue button \"Generate FAQ\"." 674 msgstr "" 675 676 #: tabsPosts.php:243 605 677 msgid "Generate FAQs" 606 678 msgstr "" 607 679 608 #: tabsPosts.php: 161680 #: tabsPosts.php:263 609 681 msgid "Custom Prompt for FAQ Generation" 610 682 msgstr "" 611 683 612 #: tabsPosts.php:173 613 msgid "Customize the AI prompt for generating FAQs for this specific post." 614 msgstr "" 615 616 #: tabsPosts.php:208 617 #, php-format 618 msgid "" 619 "Click the button below to automatically generate the SEO title for the post. " 620 "%1$sDo not refresh the page during the process.%2$s" 621 msgstr "" 622 623 #: tabsPosts.php:215 684 #: tabsPosts.php:310 685 msgid "How to Generate SEO Title & Meta Description with One Click" 686 msgstr "" 687 688 #: tabsPosts.php:317 689 msgid "Fill in the \"Keyword / Topic\" field with your main focus keyword." 690 msgstr "" 691 692 #: tabsPosts.php:320 tabsPosts.php:424 693 msgid "Click \"Save Draft\" to save the post." 694 msgstr "" 695 696 #: tabsPosts.php:323 697 msgid "Click the blue button \"Generate SEO Title & Meta\"." 698 msgstr "" 699 700 #: tabsPosts.php:332 624 701 msgid "Generate SEO Title" 625 702 msgstr "" 626 703 627 #: tabsPosts.php: 235704 #: tabsPosts.php:352 628 705 msgid "Custom Prompt for SEO Title Generation" 629 706 msgstr "" 630 707 631 #: tabsPosts.php:247 632 msgid "" 633 "Customize the AI prompt for generating SEO title for this specific post." 634 msgstr "" 635 636 #: tabsPosts.php:264 tabsPosts.php:353 708 #: tabsPosts.php:383 tabsPosts.php:486 637 709 msgid "Yoast SEO Plugin Required" 638 710 msgstr "" 639 711 640 #: tabsPosts.php: 267 tabsPosts.php:356712 #: tabsPosts.php:386 tabsPosts.php:489 641 713 msgid "" 642 714 "This feature requires the Yoast SEO plugin to be installed and activated." 643 715 msgstr "" 644 716 645 #: tabsPosts.php: 270 tabsPosts.php:359717 #: tabsPosts.php:389 tabsPosts.php:492 646 718 msgid "After activation, refresh the page." 647 719 msgstr "" 648 720 649 #: tabsPosts.php:297 650 #, php-format 651 msgid "" 652 "Click the button below to automatically generate the meta description for " 653 "the post. %1$sDo not refresh the page during the process.%2$s" 654 msgstr "" 655 656 #: tabsPosts.php:304 721 #: tabsPosts.php:414 722 msgid "How to Generate Meta Description with One Click" 723 msgstr "" 724 725 #: tabsPosts.php:421 726 msgid "Fill in the \"Keyword / Topic\" field with your focus keyword." 727 msgstr "" 728 729 #: tabsPosts.php:427 730 msgid "Click the blue button \"Generate Meta Description\"." 731 msgstr "" 732 733 #: tabsPosts.php:435 657 734 msgid "Generate Meta Description" 658 735 msgstr "" 659 736 660 #: tabsPosts.php: 324737 #: tabsPosts.php:455 661 738 msgid "Custom Prompt for Meta Description Generation" 662 msgstr ""663 664 #: tabsPosts.php:336665 msgid ""666 "Customize the AI prompt for generating meta description for this specific "667 "post."668 739 msgstr "" 669 740 -
aicontify/trunk/readme.txt
r3398807 r3402261 4 4 Requires at least: 5.0 5 5 Tested up to: 6.8 6 Stable tag: 5.1.06 Stable tag: 6.0.0 7 7 Requires PHP: 7.4 8 8 License: GPLv2 or later … … 25 25 - Generate full article content by simply entering a keyword 26 26 - Create content up to **4000 words** in length 27 - Edit main content 27 28 - Automatically generate **FAQ (Frequently Asked Questions)** related to the article 28 29 - Generate **SEO Title** and **Meta Description** compatible with SEO plugins like Yoast SEO … … 44 45 - Separate custom prompt configuration for each section: 45 46 - Main article content 47 - Edit article content 46 48 - FAQ section 47 49 - SEO title … … 121 123 == Changelog == 122 124 125 = 6.0.0 = November 25, 2025 126 Add main content editing feature 127 Optimize tab descriptions 128 123 129 = 5.1.0 = November 19, 2025 124 130 Rest API optimization -
aicontify/trunk/tabsPosts.php
r3397005 r3402261 24 24 wp_nonce_field('aicont_save_meta', 'aicont_nonce', true); 25 25 26 $active_tab = get_post_meta($post->ID, '_active_tab', true); 27 $active_tab = $active_tab ? $active_tab : 'main-content'; 28 $keyword = get_post_meta($post->ID, '_aicont_keyword', true); 26 $keyword = get_post_meta($post->ID, '_aicont_keyword', true); 29 27 ?> 30 28 <div id="aicont_custom_tabs" class="aicont-metabox-wrapper"> … … 50 48 <!-- Tabs Navigation --> 51 49 <h2 class="nav-tab-wrapper aicont-tabs"> 52 <a href="#tab-main-content" data-tab="main-content" class="nav-tab <?php echo $active_tab === 'main-content' ? 'nav-tab-active' : ''; ?>">50 <a href="#tab-main-content" data-tab="main-content" class="nav-tab nav-tab-active"> 53 51 <?php esc_html_e('Main Content Generation', 'aicontify'); ?> 54 52 </a> 55 <a href="#tab-faq" data-tab="faq" class="nav-tab <?php echo $active_tab === 'faq' ? 'nav-tab-active' : ''; ?>"> 53 <a href="#tab-edit-content" data-tab="edit-content" class="nav-tab"> 54 <?php esc_html_e('Edit Main Content', 'aicontify'); ?> 55 </a> 56 <a href="#tab-faq" data-tab="faq" class="nav-tab"> 56 57 <?php esc_html_e('FAQ Generation', 'aicontify'); ?> 57 58 </a> 58 <a href="#tab-seo-title" data-tab="seo-title" class="nav-tab <?php echo $active_tab === 'seo-title' ? 'nav-tab-active' : ''; ?>">59 <a href="#tab-seo-title" data-tab="seo-title" class="nav-tab"> 59 60 <?php esc_html_e('SEO Title Generation', 'aicontify'); ?> 60 61 </a> 61 <a href="#tab-seo-description" data-tab="seo-description" class="nav-tab <?php echo $active_tab === 'seo-description' ? 'nav-tab-active' : ''; ?>">62 <a href="#tab-seo-description" data-tab="seo-description" class="nav-tab"> 62 63 <?php esc_html_e('SEO Description Generation', 'aicontify'); ?> 63 64 </a> 64 65 </h2> 65 66 66 <input type="hidden" name="tab" id="active-tab" value="<?php echo esc_attr($active_tab); ?>">67 68 67 <div class="aicont-tabs-content"> 69 68 <!-- Main Content --> 70 <div id="tab-main-content" class="tab-content aicont-tab-panel <?php echo $active_tab === 'main-content' ? 'active' : ''; ?>"> 71 <p class="aicont-description"> 72 <?php 73 printf( 74 /* translators: %1$s: opening <strong> tag, %2$s: closing </strong> tag */ 75 esc_html__('Click the button below to automatically generate the main content for the post. %1$sDo not refresh the page during the process.%2$s', 'aicontify'), 76 '<strong>', 77 '</strong>' 78 ); 79 ?> 80 </p> 69 <div id="tab-main-content" class="tab-content aicont-tab-panel active" style="display: block;"> 70 <div class="aicont-main-guide"> 71 <h4><?php esc_html_e( 'How to Generate Main Post Content with One Click?', 'aicontify-pro' ); ?></h4> 72 73 <ul class="aicont-steps"> 74 <li> 75 <strong>1.</strong> 76 <?php esc_html_e( 'First, enter the post title at the top of the page.', 'aicontify-pro' ); ?> 77 </li> 78 <li> 79 <strong>2.</strong> 80 <?php esc_html_e( 'Fill in the "Keyword / Topic" field with your main keywords or post topic (e.g., Samsung Galaxy A54, sunscreen cream, etc.).', 'aicontify-pro' ); ?> 81 </li> 82 <li> 83 <strong>3.</strong> 84 <?php esc_html_e( 'Click the "Save Draft" button to save your changes.', 'aicontify-pro' ); ?> 85 </li> 86 <li> 87 <strong>4.</strong> 88 <?php esc_html_e( 'Finally, click the blue "Generate Main Content" button.', 'aicontify-pro' ); ?> 89 </li> 90 </ul> 91 92 <p class="aicont-tip"> 93 <?php esc_html_e( 'After completion, the full SEO-optimized content will automatically appear in the editor — you can edit it or publish directly!', 'aicontify-pro' ); ?> 94 </p> 95 </div> 81 96 <button type="button" class="button button-primary button-hero aicont-btn" id="aicont-generate-contentPosts-btn" data-postid="<?php echo esc_attr($post->ID); ?>"> 82 97 <?php esc_html_e('Generate Main Content', 'aicontify'); ?> … … 111 126 ><?php echo isset($post->ID) ? esc_textarea(get_post_meta($post->ID, 'aicont_singlepost_content_prompt_custom', true)) : ''; ?></textarea> 112 127 113 <p class="description"> 114 <?php esc_html_e('Customize the AI prompt for generating content for this specific post.', 'aicontify'); ?><br> 115 <?php esc_html_e('Leave empty to use the default prompt.', 'aicontify'); ?><br> 116 <?php printf( 117 /* translators: %s: {keyword} placeholder */ 118 esc_html__('If filled, must include %s placeholder.', 'aicontify'), 119 '<code>{keyword}</code>' 120 ); ?> 121 </p> 128 <div class="aicont-main-guide aicont-prompt-help"> 129 <p class="aicont-prompt-info"> 130 <?php esc_html_e( 'You can leave this field empty → the plugin will use the smart default prompt and give you excellent results.', 'aicontify-pro' ); ?> 131 </p> 132 <p class="aicont-prompt-info"> 133 <?php esc_html_e( 'Want even better and more customized results? Write your own instruction here.', 'aicontify-pro' ); ?> 134 </p> 135 <p class="aicont-prompt-footer"> 136 <?php esc_html_e( 'The clearer and more precise your prompt, the better and more accurate the result will be!', 'aicontify-pro' ); ?> 137 </p> 138 </div> 122 139 </td> 123 140 </tr> … … 126 143 </div> 127 144 145 <!-- Edit Content --> 146 <div id="tab-edit-content" class="tab-content aicont-tab-panel" style="display: none;"> 147 <div class="aicont-main-guide"> 148 <h4><?php esc_html_e( 'How to Edit the Generated Main Content', 'aicontify-pro' ); ?></h4> 149 150 <ul class="aicont-steps"> 151 <li> 152 <strong>1.</strong> 153 <?php esc_html_e( 'First make sure you have generated the content in the "Generate Main Content" tab.', 'aicontify-pro' ); ?> 154 </li> 155 <li> 156 <strong>2.</strong> 157 <?php esc_html_e( 'If you want to change anything (make it longer/shorter, add details, change tone, fix something, etc.), write your exact request in the box below.', 'aicontify-pro' ); ?> 158 </li> 159 <li> 160 <strong>3.</strong> 161 <?php esc_html_e( 'Then click the "Edit Main Content" button.', 'aicontify-pro' ); ?> 162 </li> 163 </ul> 164 165 <p class="aicont-tip"> 166 <?php esc_html_e( 'You can edit as many times as you like until the text is exactly the way you want!', 'aicontify-pro' ); ?> 167 </p> 168 </div> 169 <button type="button" class="button button-primary button-hero aicont-btn" id="aicont-generate-editContent-btn" data-postid="<?php echo esc_attr($post->ID); ?>"> 170 <?php esc_html_e('Edit Main Content', 'aicontify'); ?> 171 </button> 172 <div id="aicont-editContent-result" class="aicont-result"></div> 173 <div id="aicont-editContent-loading-box" class="aicont-loading"> 174 <p class="notice notice-warning aicont-notice"> 175 <?php esc_html_e('Please do not refresh the page until the operation is complete.', 'aicontify'); ?> 176 </p> 177 <div class="aicont-loader"> 178 <span></span><span></span><span></span> 179 </div> 180 </div> 181 182 <!-- Custom Prompt Section --> 183 <div class="aicont-custom-prompt-section" style="margin-top: 30px; padding-top: 20px; border-top: 1px solid #ddd;"> 184 <h3><?php esc_html_e('Custom Prompt Settings', 'aicontify'); ?></h3> 185 186 <table class="form-table"> 187 <tr> 188 <th scope="row"> 189 <label for="aicont_singlepost_editContent_prompt_custom"> 190 <?php esc_html_e('Custom Prompt for Edit Content', 'aicontify'); ?> 191 </label> 192 </th> 193 <td> 194 <textarea 195 id="aicont_singlepost_editContent_prompt_custom" 196 name="aicont_singlepost_editContent_prompt_custom" 197 rows="6" 198 class="widefat" 199 ><?php echo isset($post->ID) ? esc_textarea(get_post_meta($post->ID, 'aicont_singlepost_editContent_prompt_custom', true)) : ''; ?></textarea> 200 201 <div class="aicont-main-guide aicont-prompt-help"> 202 <p class="aicont-prompt-info"> 203 <?php esc_html_e( 'You can leave this field empty → the plugin will use the smart default prompt and give you excellent results.', 'aicontify-pro' ); ?> 204 </p> 205 <p class="aicont-prompt-info"> 206 <?php esc_html_e( 'Want even better and more customized results? Write your own instruction here.', 'aicontify-pro' ); ?> 207 </p> 208 <p class="aicont-prompt-footer"> 209 <?php esc_html_e( 'The clearer and more precise your prompt, the better and more accurate the result will be!', 'aicontify-pro' ); ?> 210 </p> 211 </div> 212 </td> 213 </tr> 214 </table> 215 </div> 216 </div> 217 128 218 <!-- FAQ --> 129 <div id="tab-faq" class="tab-content aicont-tab-panel <?php echo $active_tab === 'faq' ? 'active' : ''; ?>"> 130 <p class="aicont-description"> 131 <?php 132 printf( 133 /* translators: %1$s: opening <strong> tag, %2$s: closing </strong> tag */ 134 esc_html__('Click the button below to automatically generate FAQs for the post. %1$sDo not refresh the page during the process.%2$s', 'aicontify'), 135 '<strong>', 136 '</strong>' 137 ); 138 ?> 139 </p> 219 <div id="tab-faq" class="tab-content aicont-tab-panel" style="display: none;"> 220 <div class="aicont-main-guide"> 221 <h4><?php esc_html_e( 'How to Generate FAQ (Frequently Asked Questions) with One Click', 'aicontify-pro' ); ?></h4> 222 223 <ul class="aicont-steps"> 224 <li><strong>1.</strong> 225 <?php esc_html_e( 'Enter the post title at the top of the page.', 'aicontify-pro' ); ?> 226 </li> 227 <li><strong>2.</strong> 228 <?php esc_html_e( 'Fill in the "Keyword / Topic" field with the post name or main keywords.', 'aicontify-pro' ); ?> 229 </li> 230 <li><strong>3.</strong> 231 <?php esc_html_e( 'Click "Save Draft" to save your changes.', 'aicontify-pro' ); ?> 232 </li> 233 <li><strong>4.</strong> 234 <?php esc_html_e( 'Finally, click the blue button "Generate FAQ".', 'aicontify-pro' ); ?> 235 </li> 236 </ul> 237 238 <p class="aicont-tip"> 239 <?php esc_html_e( 'After completion, the full SEO-optimized content will automatically appear in the editor — you can edit it or publish directly!', 'aicontify-pro' ); ?> 240 </p> 241 </div> 140 242 <button type="button" class="button button-primary button-hero aicont-btn" id="aicont-generate-faq-btn" data-postid="<?php echo esc_attr($post->ID); ?>"> 141 243 <?php esc_html_e('Generate FAQs', 'aicontify'); ?> … … 170 272 ><?php echo isset($post->ID) ? esc_textarea(get_post_meta($post->ID, 'aicont_singlepost_faq_prompt_custom', true)) : ''; ?></textarea> 171 273 172 <p class="description"> 173 <?php esc_html_e('Customize the AI prompt for generating FAQs for this specific post.', 'aicontify'); ?><br> 174 <?php esc_html_e('Leave empty to use the default prompt.', 'aicontify'); ?><br> 175 <?php printf( 176 /* translators: %s: {keyword} placeholder */ 177 esc_html__('If filled, must include %s placeholder.', 'aicontify'), 178 '<code>{keyword}</code>' 179 ); ?> 180 </p> 274 <div class="aicont-main-guide aicont-prompt-help"> 275 <p class="aicont-prompt-info"> 276 <?php esc_html_e( 'You can leave this field empty → the plugin will use the smart default prompt and give you excellent results.', 'aicontify-pro' ); ?> 277 </p> 278 <p class="aicont-prompt-info"> 279 <?php esc_html_e( 'Want even better and more customized results? Write your own instruction here.', 'aicontify-pro' ); ?> 280 </p> 281 <p class="aicont-prompt-footer"> 282 <?php esc_html_e( 'The clearer and more precise your prompt, the better and more accurate the result will be!', 'aicontify-pro' ); ?> 283 </p> 284 </div> 181 285 </td> 182 286 </tr> … … 186 290 187 291 <!-- SEO Title --> 188 <div id="tab-seo-title" class="tab-content aicont-tab-panel <?php echo $active_tab === 'seo-title' ? 'active' : ''; ?>">292 <div id="tab-seo-title" class="tab-content aicont-tab-panel" style="display: none;"> 189 293 <?php 190 294 // --- Yoast Detection --- … … 203 307 if ($yoast_active): 204 308 ?> 205 <p class="aicont-description"> 206 <?php 207 printf( 208 esc_html__('Click the button below to automatically generate the SEO title for the post. %1$sDo not refresh the page during the process.%2$s', 'aicontify'), 209 '<strong>', 210 '</strong>' 211 ); 212 ?> 213 </p> 309 <div class="aicont-main-guide"> 310 <h4><?php esc_html_e( 'How to Generate SEO Title & Meta Description with One Click', 'aicontify-pro' ); ?></h4> 311 312 <ul class="aicont-steps"> 313 <li><strong>1.</strong> 314 <?php esc_html_e( 'Enter the post title at the top of the page.', 'aicontify-pro' ); ?> 315 </li> 316 <li><strong>2.</strong> 317 <?php esc_html_e( 'Fill in the "Keyword / Topic" field with your main focus keyword.', 'aicontify-pro' ); ?> 318 </li> 319 <li><strong>3.</strong> 320 <?php esc_html_e( 'Click "Save Draft" to save the post.', 'aicontify-pro' ); ?> 321 </li> 322 <li><strong>4.</strong> 323 <?php esc_html_e( 'Click the blue button "Generate SEO Title & Meta".', 'aicontify-pro' ); ?> 324 </li> 325 </ul> 326 327 <p class="aicont-tip"> 328 <?php esc_html_e( 'After completion, the full SEO-optimized content will automatically appear in the editor — you can edit it or publish directly!', 'aicontify-pro' ); ?> 329 </p> 330 </div> 214 331 <button type="button" class="button button-primary button-hero aicont-btn" id="aicont-generate-seo-title-btn" data-postid="<?php echo esc_attr($post->ID); ?>"> 215 332 <?php esc_html_e('Generate SEO Title', 'aicontify'); ?> … … 244 361 ><?php echo isset($post->ID) ? esc_textarea(get_post_meta($post->ID, 'aicont_singlepost_seo_title_prompt_custom', true)) : ''; ?></textarea> 245 362 246 <p class="description"> 247 <?php esc_html_e('Customize the AI prompt for generating SEO title for this specific post.', 'aicontify'); ?><br> 248 <?php esc_html_e('Leave empty to use the default prompt.', 'aicontify'); ?><br> 249 <?php printf( 250 /* translators: %s: {keyword} placeholder */ 251 esc_html__('If filled, must include %s placeholder.', 'aicontify'), 252 '<code>{keyword}</code>' 253 ); ?> 254 </p> 363 <div class="aicont-main-guide aicont-prompt-help"> 364 <p class="aicont-prompt-info"> 365 <?php esc_html_e( 'You can leave this field empty → the plugin will use the smart default prompt and give you excellent results.', 'aicontify-pro' ); ?> 366 </p> 367 <p class="aicont-prompt-info"> 368 <?php esc_html_e( 'Want even better and more customized results? Write your own instruction here.', 'aicontify-pro' ); ?> 369 </p> 370 <p class="aicont-prompt-footer"> 371 <?php esc_html_e( 'The clearer and more precise your prompt, the better and more accurate the result will be!', 'aicontify-pro' ); ?> 372 </p> 373 </div> 255 374 </td> 256 375 </tr> … … 275 394 276 395 <!-- Meta Description --> 277 <div id="tab-seo-description" class="tab-content aicont-tab-panel <?php echo $active_tab === 'seo-description' ? 'active' : ''; ?>">396 <div id="tab-seo-description" class="tab-content aicont-tab-panel" style="display: none;"> 278 397 <?php 279 398 // --- Yoast Detection (Same as SEO Title) --- … … 292 411 if ($yoast_active): 293 412 ?> 294 <p class="aicont-description"> 295 <?php 296 printf( 297 esc_html__('Click the button below to automatically generate the meta description for the post. %1$sDo not refresh the page during the process.%2$s', 'aicontify'), 298 '<strong>', 299 '</strong>' 300 ); 301 ?> 302 </p> 413 <div class="aicont-main-guide"> 414 <h4><?php esc_html_e( 'How to Generate Meta Description with One Click', 'aicontify-pro' ); ?></h4> 415 416 <ul class="aicont-steps"> 417 <li><strong>1.</strong> 418 <?php esc_html_e( 'Enter the post title at the top of the page.', 'aicontify-pro' ); ?> 419 </li> 420 <li><strong>2.</strong> 421 <?php esc_html_e( 'Fill in the "Keyword / Topic" field with your focus keyword.', 'aicontify-pro' ); ?> 422 </li> 423 <li><strong>3.</strong> 424 <?php esc_html_e( 'Click "Save Draft" to save the post.', 'aicontify-pro' ); ?> 425 </li> 426 <li><strong>4.</strong> 427 <?php esc_html_e( 'Click the blue button "Generate Meta Description".', 'aicontify-pro' ); ?> 428 </li> 429 </ul> 430 <p class="aicont-tip"> 431 <?php esc_html_e( 'After completion, the full SEO-optimized content will automatically appear in the editor — you can edit it or publish directly!', 'aicontify-pro' ); ?> 432 </p> 433 </div> 303 434 <button type="button" class="button button-primary button-hero aicont-btn" id="aicont-generate-meta-description-btn" data-postid="<?php echo esc_attr($post->ID); ?>"> 304 435 <?php esc_html_e('Generate Meta Description', 'aicontify'); ?> … … 333 464 ><?php echo isset($post->ID) ? esc_textarea(get_post_meta($post->ID, 'aicont_singlepost_seo_description_prompt_custom', true)) : ''; ?></textarea> 334 465 335 <p class="description"> 336 <?php esc_html_e('Customize the AI prompt for generating meta description for this specific post.', 'aicontify'); ?><br> 337 <?php esc_html_e('Leave empty to use the default prompt.', 'aicontify'); ?><br> 338 <?php printf( 339 /* translators: %s: {keyword} placeholder */ 340 esc_html__('If filled, must include %s placeholder.', 'aicontify'), 341 '<code>{keyword}</code>' 342 ); ?> 343 </p> 466 <div class="aicont-main-guide aicont-prompt-help"> 467 <p class="aicont-prompt-info"> 468 <?php esc_html_e( 'You can leave this field empty → the plugin will use the smart default prompt and give you excellent results.', 'aicontify-pro' ); ?> 469 </p> 470 <p class="aicont-prompt-info"> 471 <?php esc_html_e( 'Want even better and more customized results? Write your own instruction here.', 'aicontify-pro' ); ?> 472 </p> 473 <p class="aicont-prompt-footer"> 474 <?php esc_html_e( 'The clearer and more precise your prompt, the better and more accurate the result will be!', 'aicontify-pro' ); ?> 475 </p> 476 </div> 344 477 </td> 345 478 </tr> … … 380 513 } 381 514 382 // Save active tab383 if (isset($_POST['tab']) && !empty($_POST['tab'])) {384 $tab = sanitize_text_field(wp_unslash($_POST['tab']));385 $valid_tabs = ['main-content', 'faq', 'seo-title', 'seo-description'];386 if (in_array($tab, $valid_tabs, true)) {387 update_post_meta($post_id, '_active_tab', $tab);388 }389 }390 391 515 // Save keyword 392 516 if (isset($_POST['aicont_keyword'])) { … … 402 526 $prompts = [ 403 527 'aicont_singlepost_content_prompt_custom', 528 'aicont_singlepost_editContent_prompt_custom', 404 529 'aicont_singlepost_faq_prompt_custom', 405 530 'aicont_singlepost_seo_title_prompt_custom', … … 423 548 $api_files = [ 424 549 'contentPosts.php', 550 'editContentPosts.php', 425 551 'faqPosts.php', 426 552 'seoTitle.php',
Note: See TracChangeset
for help on using the changeset viewer.