Plugin Directory

Changeset 3402261


Ignore:
Timestamp:
11/25/2025 07:28:04 AM (4 months ago)
Author:
webtinus
Message:

Add main content editing feature
Optimize tab descriptions

Location:
aicontify
Files:
28 added
8 edited

Legend:

Unmodified
Added
Removed
  • aicontify/trunk/aicontify.php

    r3398807 r3402261  
    22/*
    33Plugin Name: AiContify
     4Plugin Name (fa_IR): کانتی فای
    45Plugin URI: https://aicontify.com/
    56Description: Your Smart Content Assistant – One Click, Full Content
    6 Version: 5.1.0
     7Description (fa_IR): دستیار هوشمند تولید محتوای وردپرس
     8Version: 6.0.0
    79Author: Hassan Solgi
    810Author URI: https://t.me/hassansolgi
     
    1820if (!defined('ABSPATH')) {
    1921    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     <?php
    3422}
    3523
  • aicontify/trunk/css/style.css

    r3396224 r3402261  
    111111#aicont-faq-result .success,
    112112#aicont-contentPosts-result .success,
     113#aicont-editContent-result .success,
    113114#aicont-seo-title-result .success,
    114115#aicont-meta-description-result .success,
    115116#aicont-content-products-result .success,
     117#aicont-content-products-edit-result .success,
    116118#aicont-short-description-result-product .success,
    117119#aicont-faq-result-product .success,
     
    131133#aicont-faq-result .error,
    132134#aicont-contentPosts-result .error,
     135#aicont-editContent-result .error,
    133136#aicont-seo-title-result .error,
    134137#aicont-meta-description-result .error,
    135138#aicont-content-products-result .error,
     139#aicont-content-products-edit-result .error,
    136140#aicont-short-description-result-product .error,
    137141#aicont-faq-result-product .error,
     
    162166  padding: 30px;
    163167  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    164   font-family: inherit;
    165168}
    166169.aicont-premium-wrap h1 {
     
    561564  margin: 20px 0;
    562565  border-radius: 8px;
    563   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    564     Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    565566}
    566567
     
    628629  margin: 15px 0;
    629630  border-radius: 4px;
    630   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    631     Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    632631}
    633632
     
    675674  margin: 15px 0;
    676675  border-radius: 4px;
    677   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    678     Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    679676}
    680677
     
    718715  background-color: #f9f9f9;
    719716  box-sizing: border-box;
    720   font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    721717}
    722718
     
    817813  }
    818814}
     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  
    6363   * AiContify - Content Generator
    6464   */
    65 
    6665  const generateBtn = document.getElementById(
    6766    "aicont-generate-contentPosts-btn"
     
    198197    } finally {
    199198      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";
    200366    }
    201367  });
  • aicontify/trunk/languages/aicontify-fa_IR.po

    r3398807 r3402261  
    33"Plural-Forms: nplurals=2; plural=(n==0 || n==1);\n"
    44"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"
    77"Language-Team: \n"
    88"MIME-Version: 1.0\n"
     
    2020"X-Poedit-SearchPathExcluded-0: *.js\n"
    2121
    22 #: aicontify.php:31
    23 msgid "AiContify requires PHP 7.4 or higher."
    24 msgstr "کانتی‌فای به PHP نسخه ۷.۴ یا بالاتر نیاز دارد."
    25 
    2622#. Plugin Name of the plugin/theme
    27 #: aicontify.php:142 aicontify.php:143 dashboard.php:7 tabsPosts.php:11
     23#: aicontify.php:130 aicontify.php:131 dashboard.php:7 tabsPosts.php:11
    2824msgid "AiContify"
    29 msgstr "کانتیفای"
    30 
    31 #: aicontify.php:153 aicontify.php:154
     25msgstr "کانتی فای"
     26
     27#: aicontify.php:141 aicontify.php:142
    3228msgid "Settings"
    3329msgstr "تنظیمات"
    3430
    35 #: aicontify.php:162 aicontify.php:163
     31#: aicontify.php:150 aicontify.php:151
    3632msgid "Premium"
    3733msgstr "پریمیوم"
    3834
    39 #: aicontify.php:178
     35#: aicontify.php:166
    4036msgid "Supercharge Your Content with AiContify Premium"
    41 msgstr "محتوای خود را با کانتیفای پریمیوم قدرتمند کنید"
    42 
    43 #: aicontify.php:180
     37msgstr "محتوای خود را با کانتی فای پریمیوم قدرتمند کنید"
     38
     39#: aicontify.php:168
    4440msgid "Unlock advanced AI models, faster content creation, and exclusive tools designed to elevate your WooCommerce content."
    45 msgstr "به مدل‌های پیشرفته هوش مصنوعی، تولید سریع‌تر محتوا و ابزارهای اختصاصی برای ارتقای محتوای ووکامرس خود دسترسی پیدا کنید."
    46 
    47 #: aicontify.php:184 aicontify.php:223
     41msgstr "به مدل های پیشرفته هوش مصنوعی، تولید محتوای سریع تر و ابزارهای اختصاصی برای ارتقای محتوای ووکامرس خود دسترسی پیدا کنید."
     42
     43#: aicontify.php:172 aicontify.php:211
    4844msgid "Ready to Boost Your Content?"
    49 msgstr "برای تقویت محتوای خود آمادهاید؟"
    50 
    51 #: aicontify.php:185 aicontify.php:224
     45msgstr "برای تقویت محتوای خود آماده اید؟"
     46
     47#: aicontify.php:173 aicontify.php:212
    5248msgid "Join thousands of creators and businesses using AiContify Premium to supercharge their WooCommerce content."
    53 msgstr "به هزاران سازنده و کسب‌وکار بپیوندید که از کانتی‌فای پریمیوم برای تقویت محتوای ووکامرس خود استفاده می‌کنند."
    54 
    55 #: aicontify.php:187 aicontify.php:226
     49msgstr "به هزاران تولیدکننده محتوا و کسب و کار بپیوندید که از کانتی فای پریمیوم برای تقویت محتوای ووکامرس خود استفاده می کنند."
     50
     51#: aicontify.php:175 aicontify.php:214
    5652msgid "Upgrade to Premium"
    5753msgstr "ارتقا به پریمیوم"
    5854
    59 #: aicontify.php:191
     55#: aicontify.php:179
    6056msgid "Why Go Premium?"
    6157msgstr "چرا پریمیوم؟"
    6258
    63 #: aicontify.php:195
     59#: aicontify.php:183
    6460msgid "Advanced AI Models"
    65 msgstr "مدلهای پیشرفته هوش مصنوعی"
    66 
    67 #: aicontify.php:196
     61msgstr "مدل های پیشرفته هوش مصنوعی"
     62
     63#: aicontify.php:184
    6864msgid "Access premium AI models for smarter, higher-quality content generation."
    69 msgstr "به مدل‌های پریمیوم هوش مصنوعی برای تولید محتوای هوشمندتر و باکیفیت‌تر دسترسی داشته باشید."
    70 
    71 #: aicontify.php:200
     65msgstr "به مدل های پریمیوم هوش مصنوعی برای تولید محتوای هوشمندتر و باکیفیت تر دسترسی داشته باشید."
     66
     67#: aicontify.php:188
    7268msgid "Faster Generation"
    73 msgstr "تولید سریعتر"
    74 
    75 #: aicontify.php:201
     69msgstr "تولید سریع تر"
     70
     71#: aicontify.php:189
    7672msgid "Generate content up to 3x faster than the free version."
    77 msgstr "تا ۳ برابر سریع‌تر از نسخه رایگان محتوا تولید کنید."
    78 
    79 #: aicontify.php:205
     73msgstr "محتوا را تا ۳ برابر سریع تر از نسخه رایگان تولید کنید."
     74
     75#: aicontify.php:193
    8076msgid "WooCommerce Product Content"
    8177msgstr "محتوای محصول ووکامرس"
    8278
    83 #: aicontify.php:207
     79#: aicontify.php:195
    8480msgid "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:212
     81msgstr "با داشتن لایسنس معتبر پریمیوم می توانید محتوای کامل برای محصولات ووکامرس شامل توضیحات کوتاه و بلند تولید کنید. کاملاً بهینه شده برای سئو و آماده انتشار."
     82
     83#: aicontify.php:200
    8884msgid "Pro Version Features"
    89 msgstr "ویژگی‌های نسخه حرفه‌ای"
    90 
    91 #: aicontify.php:214
     85msgstr "ویژگی های نسخه حرفه ای"
     86
     87#: aicontify.php:202
    9288msgid "Includes all features from the free version."
    93 msgstr "شامل تمام ویژگیهای نسخه رایگان."
    94 
    95 #: aicontify.php:215
     89msgstr "شامل تمام ویژگی های نسخه رایگان."
     90
     91#: aicontify.php:203
    9692msgid "Full support for Pages and WooCommerce products."
    9793msgstr "پشتیبانی کامل از صفحات و محصولات ووکامرس."
    9894
    99 #: aicontify.php:216
     95#: aicontify.php:204
    10096msgid "Faster processing and higher accuracy using advanced AI."
    101 msgstr "پردازش سریعتر و دقت بالاتر با استفاده از هوش مصنوعی پیشرفته."
    102 
    103 #: aicontify.php:217 dashboard.php:42
     97msgstr "پردازش سریع تر و دقت بالاتر با استفاده از هوش مصنوعی پیشرفته."
     98
     99#: aicontify.php:205 dashboard.php:42
    104100msgid "Separate custom prompt configuration for each section: main article, FAQ, SEO title, meta description, WooCommerce product description."
    105 msgstr "پیکربندی پرامپت سفارشی جداگانه برای هر بخش: مقاله اصلی، پرسش‌وپاسخ، عنوان سئو، توضیحات متا، توضیحات محصول ووکامرس."
    106 
    107 #: aicontify.php:218 dashboard.php:43
     101msgstr "پیکربندی پرامپت سفارشی جداگانه برای هر بخش: مقاله اصلی، پرسش و پاسخ، عنوان سئو، توضیح متا، توضیحات محصول ووکامرس."
     102
     103#: aicontify.php:206 dashboard.php:43
    108104msgid "Easy activation through a premium license."
    109 msgstr "فعال‌سازی آسان از طریق لایسنس پریمیوم."
     105msgstr "فعال سازی آسان از طریق لایسنس پریمیوم."
     106
     107#: aicontify.php:207
     108msgid "Designed for professional users who need precise, customizable AI-generated content for websites and online stores."
     109msgstr "طراحی شده برای کاربران حرفه ای که به محتوای تولیدشده توسط هوش مصنوعی دقیق و قابل سفارشی سازی برای وب سایت ها و فروشگاه های آنلاین نیاز دارند."
    110110
    111111#: 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:231
    116112msgid "Need Help?"
    117 msgstr "کمک میخواهید؟"
    118 
    119 #: aicontify.php:232
     113msgstr "کمک می خواهید؟"
     114
     115#: aicontify.php:220
    120116msgid "Our support team is available for setup, guidance, and technical questions."
    121 msgstr "تیم پشتیبانی ما برای راهاندازی، راهنمایی و سوالات فنی در دسترس است."
    122 
    123 #: aicontify.php:234
     117msgstr "تیم پشتیبانی ما برای راه اندازی، راهنمایی و سوالات فنی در دسترس است."
     118
     119#: aicontify.php:222
    124120msgid "Telegram:"
    125121msgstr "تلگرام:"
    126122
    127 #: aicontify.php:236
     123#: aicontify.php:224
    128124msgid "Email:"
    129125msgstr "ایمیل:"
     
    131127#: dashboard.php:12
    132128msgid "What is AiContify AI Plugin?"
    133 msgstr "افزونه هوش مصنوعی کانتیفای چیست؟"
     129msgstr "افزونه هوش مصنوعی کانتی فای چیست؟"
    134130
    135131#: dashboard.php:14
    136132msgid "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 "کانتی‌فای یک افزونه رایگان مبتنی بر هوش مصنوعی برای تولید محتوای باکیفیت مستقیماً در ویرایشگر وردپرس است. این افزونه به شما امکان می‌دهد مقالات کامل، پرسش‌وپاسخ و عناصر آماده سئو را فوراً ایجاد کنید، بدون نیاز به لایسنس یا پرداخت."
     133msgstr "کانتی فای یک افزونه رایگان مبتنی بر هوش مصنوعی برای تولید محتوای باکیفیت مستقیماً در ویرایشگر وردپرس است. این افزونه به شما امکان می دهد مقالات کامل، پرسش و پاسخ و عناصر آماده سئو را فوراً ایجاد کنید، بدون نیاز به لایسنس یا پرداخت."
    138134
    139135#: dashboard.php:20
    140136msgid "🆓 Free Version Features"
    141 msgstr "ویژگیهای نسخه رایگان"
     137msgstr "ویژگی های نسخه رایگان"
    142138
    143139#: dashboard.php:22
    144140msgid "Generate full article content by simply entering a keyword."
    145 msgstr "تولید محتوای کامل مقاله تنها با وارد کردن یک کلیدواژه."
     141msgstr "تولید محتوای کامل مقاله فقط با وارد کردن یک کلمه کلیدی."
    146142
    147143#: dashboard.php:23
     
    151147#: dashboard.php:24
    152148msgid "Automatically generate FAQ related to the article."
    153 msgstr "تولید خودکار پرسش‌وپاسخ مرتبط با مقاله."
     149msgstr "تولید خودکار پرسش و پاسخ مرتبط با مقاله."
    154150
    155151#: dashboard.php:25
    156152msgid "Generate SEO Title and Meta Description compatible with Yoast SEO."
    157 msgstr "تولید عنوان سئو و توضیحات متا سازگار با Yoast SEO."
     153msgstr "تولید عنوان سئو و توضیح متا سازگار با Yoast SEO."
    158154
    159155#: dashboard.php:26
    160156msgid "Support for 13 languages including Persian, English, Spanish, French, German, Chinese, Japanese, Russian, Arabic, Hindi, Portuguese, Italian, and Korean."
    161 msgstr "پشتیبانی از ۱۳ زبان شامل فارسی، انگلیسی، اسپانیایی، فرانسوی، آلمانی، چینی، ژاپنی، روسی، عربی، هندی، پرتغالی، ایتالیایی و کرهای."
     157msgstr "پشتیبانی از ۱۳ زبان شامل فارسی، انگلیسی، اسپانیایی، فرانسوی، آلمانی، چینی، ژاپنی، روسی، عربی، هندی، پرتغالی، ایتالیایی و کره ای."
    162158
    163159#: dashboard.php:27
    164160msgid "Choose between default server prompt or custom user-defined prompt."
    165 msgstr "انتخاب بین پرامپت پیش‌فرض سرور یا پرامپت سفارشی تعریف‌شده توسط کاربر."
     161msgstr "انتخاب بین پرامپت پیش فرض سرور یا پرامپت سفارشی تعریف شده توسط کاربر."
    166162
    167163#: dashboard.php:28
    168164msgid "Fully compatible with pre-built and custom WordPress themes."
    169 msgstr "کاملاً سازگار با قالبهای آماده و سفارشی وردپرس."
     165msgstr "کاملاً سازگار با قالب های آماده و سفارشی وردپرس."
    170166
    171167#: dashboard.php:34
    172168msgid "🚀 Pro Version, More Power!"
    173 msgstr "نسخه حرفهای، قدرت بیشتر!"
     169msgstr "نسخه حرفه ای، قدرت بیشتر!"
    174170
    175171#: dashboard.php:36
    176172msgid "The Pro version includes all free features plus enhanced capabilities for professional users and content creators."
    177 msgstr "نسخه حرفه‌ای شامل تمام ویژگی‌های رایگان به علاوه قابلیت‌های پیشرفته برای کاربران حرفه‌ای و تولیدکنندگان محتوا است."
     173msgstr "نسخه حرفه ای شامل تمام ویژگی های رایگان به علاوه قابلیت های پیشرفته برای کاربران حرفه ای و تولیدکنندگان محتوا است."
    178174
    179175#: dashboard.php:39
     
    183179#: dashboard.php:40
    184180msgid "Full support for Pages in addition to Posts."
    185 msgstr "پشتیبانی کامل از صفحات علاوه بر نوشتهها."
     181msgstr "پشتیبانی کامل از صفحات علاوه بر نوشته ها."
    186182
    187183#: dashboard.php:41
    188184msgid "Faster processing and higher accuracy using advanced AI models."
    189 msgstr "پردازش سریع‌تر و دقت بالاتر با استفاده از مدل‌های هوش مصنوعی پیشرفته."
     185msgstr "پردازش سریع تر و دقت بالاتر با استفاده از مدل های هوش مصنوعی پیشرفته."
    190186
    191187#: dashboard.php:49
    192188msgid "Buy Pro Now"
    193 msgstr "خرید نسخه حرفهای"
     189msgstr "خرید نسخه حرفه ای"
    194190
    195191#: dashboard.php:56
     
    203199#: dashboard.php:59
    204200msgid "Enter the main keyword in Yoast SEO."
    205 msgstr "کلیدواژه اصلی را در Yoast SEO وارد کنید."
     201msgstr "کلمه کلیدی اصلی را در Yoast SEO وارد کنید."
    206202
    207203#: dashboard.php:60
     
    223219#: dashboard.php:69
    224220msgid "Website:"
    225 msgstr "وبسایت:"
     221msgstr "وب سایت:"
    226222
    227223#: dashboard.php:74
     
    239235#: dashboard.php:86
    240236msgid "Professional Content, Just One Click Away!"
    241 msgstr "محتوای حرفهای، فقط با یک کلیک!"
     237msgstr "محتوای حرفه ای، فقط با یک کلیک!"
    242238
    243239#: faqPosts.php:105
     
    251247#: settings.php:82
    252248msgid "AiContify Settings"
    253 msgstr "تنظیمات کانتیفای"
     249msgstr "تنظیمات کانتی فای"
    254250
    255251#: settings.php:264
     
    263259#: settings.php:270 settings/tab-faq.php:14
    264260msgid "FAQ Prompt"
    265 msgstr "پرامپت پرسش‌وپاسخ"
     261msgstr "پرامپت پرسش و پاسخ"
    266262
    267263#: settings.php:273
     
    271267#: settings.php:276
    272268msgid "SEO Meta Prompt"
    273 msgstr "پرامپت متای سئو"
     269msgstr "پرامپت توضیح متا"
    274270
    275271#: settings.php:301
     
    283279#: settings.php:333
    284280msgid "Brand title cannot be empty."
    285 msgstr "عنوان برند نمیتواند خالی باشد."
     281msgstr "عنوان برند نمی تواند خالی باشد."
    286282
    287283#: settings.php:358
     
    295291#: settings/tab-content.php:17 settings/tab-faq.php:17 settings/tab-seo-meta.php:17 settings/tab-seo-title.php:17
    296292msgid "Warning: Prompt writing is a professional skill!"
    297 msgstr "هشدار: نوشتن پرامپت یک مهارت حرفهای است!"
     293msgstr "هشدار: نوشتن پرامپت یک مهارت حرفه ای است!"
    298294
    299295#: settings/tab-content.php:20 settings/tab-faq.php:20 settings/tab-seo-meta.php:20 settings/tab-seo-title.php:20
    300296msgid "If you don't have expertise in prompt engineering, using a weak custom prompt can significantly reduce content quality."
    301 msgstr "اگر در مهندسی پرامپت تخصص ندارید، استفاده از پرامپت سفارشی ضعیف می‌تواند کیفیت محتوا را به‌شدت کاهش دهد."
     297msgstr "اگر در مهندسی پرامپت تخصص ندارید، استفاده از پرامپت سفارشی ضعیف می تواند کیفیت محتوا را به شدت کاهش دهد."
    302298
    303299#: settings/tab-content.php:22 settings/tab-faq.php:22 settings/tab-seo-meta.php:22 settings/tab-seo-title.php:22
    304300msgid "Our default prompt is carefully designed by AI experts and produces the best results in 99 percent of cases."
    305 msgstr "پرامپت پیش‌فرض ما توسط متخصصان هوش مصنوعی طراحی شده و در ۹۹ درصد موارد بهترین نتیجه را تولید می‌کند."
     301msgstr "پرامپت پیش فرض ما توسط متخصصان هوش مصنوعی طراحی شده و در ۹۹ درصد موارد بهترین نتیجه را تولید می کند."
    306302
    307303#: settings/tab-content.php:25 settings/tab-faq.php:25 settings/tab-seo-meta.php:25 settings/tab-seo-title.php:25
     
    311307#: settings/tab-content.php:26 settings/tab-faq.php:26 settings/tab-seo-meta.php:26 settings/tab-seo-title.php:26
    312308msgid "Need a professional prompt? Contact us right now:"
    313 msgstr "به پرامپت حرفهای نیاز دارید؟ همین حالا با ما تماس بگیرید:"
     309msgstr "به پرامپت حرفه ای نیاز دارید؟ همین حالا با ما تماس بگیرید:"
    314310
    315311#: settings/tab-content.php:37 settings/tab-faq.php:37 settings/tab-seo-meta.php:37 settings/tab-seo-title.php:37
     
    323319#: 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
    324320msgid "Leave empty to use default."
    325 msgstr "برای استفاده از پیشفرض خالی بگذارید."
     321msgstr "برای استفاده از پیش فرض خالی بگذارید."
    326322
    327323#. translators: %s: {keyword} placeholder
     
    347343#: settings/tab-faq.php:69
    348344msgid "Article ID"
    349 msgstr "شناسه مقاله"
     345msgstr "آی دی مقاله"
    350346
    351347#: settings/tab-faq.php:80
    352348msgid "ACF repeater field ID for article."
    353 msgstr "شناسه فیلد تکرارشونده ACF برای مقاله."
     349msgstr "آی دی فیلد تکرارشونده ACF برای مقاله."
    354350
    355351#: settings/tab-faq.php:86
    356352msgid "Question ID"
    357 msgstr "شناسه سؤال"
     353msgstr "آی دی سوال"
    358354
    359355#: settings/tab-faq.php:97
    360356msgid "ACF field ID for question."
    361 msgstr "شناسه فیلد ACF برای سؤال."
     357msgstr "آی دی فیلد ACF برای سوال."
    362358
    363359#: settings/tab-faq.php:103
    364360msgid "Answer ID"
    365 msgstr "شناسه پاسخ"
     361msgstr "آی دی پاسخ"
    366362
    367363#: settings/tab-faq.php:114
    368364msgid "ACF field ID for answer."
    369 msgstr "شناسه فیلد ACF برای پاسخ."
     365msgstr "آی دی فیلد ACF برای پاسخ."
    370366
    371367#: settings/tab-faq.php:149
    372368msgid "Product Article ID"
    373 msgstr "شناسه مقاله محصول"
     369msgstr "آی دی مقاله محصول"
    374370
    375371#: settings/tab-faq.php:160
    376372msgid "ACF field ID for product."
    377 msgstr "شناسه فیلد ACF برای محصول."
     373msgstr "آی دی فیلد ACF برای محصول."
    378374
    379375#: settings/tab-faq.php:166
    380376msgid "Product Question ID"
    381 msgstr "شناسه سؤال محصول"
     377msgstr "آی دی سوال محصول"
    382378
    383379#: settings/tab-faq.php:177
    384380msgid "ACF field ID for product question."
    385 msgstr "شناسه فیلد ACF برای سؤال محصول."
     381msgstr "آی دی فیلد ACF برای سوال محصول."
    386382
    387383#: settings/tab-faq.php:183
    388384msgid "Product Answer ID"
    389 msgstr "شناسه پاسخ محصول"
     385msgstr "آی دی پاسخ محصول"
    390386
    391387#: settings/tab-faq.php:194
    392388msgid "ACF field ID for product answer."
    393 msgstr "شناسه فیلد ACF برای پاسخ محصول."
     389msgstr "آی دی فیلد ACF برای پاسخ محصول."
    394390
    395391#: settings/tab-main.php:15 settings/tab-main.php:21
     
    407403#: settings/tab-main.php:48
    408404msgid "For custom, set FAQ IDs in FAQ tab."
    409 msgstr "برای سفارشی، شناسه‌های پرسش‌وپاسخ را در تب پرسش‌وپاسخ تنظیم کنید."
     405msgstr "برای قالب سفارشی، شناسه های پرسش و پاسخ را در تب پرسش و پاسخ تنظیم کنید."
    410406
    411407#: settings/tab-main.php:57
     
    435431#: settings/tab-main.php:73
    436432msgid "Chinese (Simplified)"
    437 msgstr "چینی (سادهشده)"
     433msgstr "چینی (ساده شده)"
    438434
    439435#: settings/tab-main.php:74
     
    463459#: settings/tab-main.php:80
    464460msgid "Korean (South Korea)"
    465 msgstr "کرهای (کره جنوبی)"
     461msgstr "کره ای (کره جنوبی)"
    466462
    467463#: settings/tab-main.php:94
    468464msgid "Select the primary language for your site content."
    469 msgstr "زبان اصلی محتوای سایت را انتخاب کنید."
     465msgstr "زبان اصلی محتوای سایت خود را انتخاب کنید."
    470466
    471467#: settings/tab-main.php:102
     
    479475#: settings/tab-seo-meta.php:14 settings/tab-seo-title.php:14
    480476msgid "SEO Meta Description Prompt"
    481 msgstr "پرامپت توضیحات متای سئو"
    482 
    483 #: tabsPosts.php:34
     477msgstr "پرامپت توضیح متا"
     478
     479#: tabsPosts.php:32
    484480msgid "Keyword / Topic"
    485 msgstr "کلیدواژه / موضوع"
    486 
    487 #: tabsPosts.php:41
     481msgstr "کلمه کلیدی / موضوع"
     482
     483#: tabsPosts.php:39
    488484msgid "Enter the main keyword or topic for AI generation"
    489 msgstr "کلیدواژه یا موضوع اصلی برای تولید هوش مصنوعی را وارد کنید"
    490 
    491 #: tabsPosts.php:45
     485msgstr "کلمه کلیدی یا موضوع اصلی را برای تولید محتوا توسط هوش مصنوعی وارد کنید"
     486
     487#: tabsPosts.php:43
    492488msgid "This keyword will be used for all AI content, FAQ, SEO title, and meta description generation."
    493 msgstr "این کلیدواژه برای تمام محتوای هوش مصنوعی، پرسش‌وپاسخ، عنوان سئو و تولید توضیحات متا استفاده خواهد شد."
    494 
    495 #: tabsPosts.php:53
     489msgstr "این کلمه کلیدی برای تولید تمام محتوای هوش مصنوعی، پرسش و پاسخ، عنوان سئو و توضیح متا استفاده خواهد شد."
     490
     491#: tabsPosts.php:51
    496492msgid "Main Content Generation"
    497493msgstr "تولید محتوای اصلی"
    498494
    499 #: tabsPosts.php:56
     495#: tabsPosts.php:54 tabsPosts.php:170
     496msgid "Edit Main Content"
     497msgstr "ویرایش محتوای اصلی"
     498
     499#: tabsPosts.php:57
    500500msgid "FAQ Generation"
    501 msgstr "تولید پرسش‌وپاسخ"
    502 
    503 #: tabsPosts.php:59
     501msgstr "تولید پرسش و پاسخ"
     502
     503#: tabsPosts.php:60
    504504msgid "SEO Title Generation"
    505505msgstr "تولید عنوان سئو"
    506506
    507 #: tabsPosts.php:62
     507#: tabsPosts.php:63
    508508msgid "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
     509msgstr "تولید توضیح متا"
     510
     511#: tabsPosts.php:71
     512msgid "How to Generate Main Post Content with One Click?"
     513msgstr "چگونه محتوای اصلی نوشته را با یک کلیک تولید کنیم؟"
     514
     515#: tabsPosts.php:76
     516msgid "First, enter the post title at the top of the page."
     517msgstr "ابتدا عنوان نوشته را در بالای صفحه وارد کنید."
     518
     519#: tabsPosts.php:80
     520msgid "Fill in the \"Keyword / Topic\" field with your main keywords or post topic (e.g., Samsung Galaxy A54, sunscreen cream, etc.)."
     521msgstr "فیلد «کلمه کلیدی / موضوع» را با کلمه کلیدی اصلی یا موضوع نوشته پر کنید (مثلاً: سامسونگ گلکسی A54، کرم ضدآفتاب و غیره)."
     522
     523#: tabsPosts.php:84
     524msgid "Click the \"Save Draft\" button to save your changes."
     525msgstr "روی دکمه «ذخیره پیش نویس» کلیک کنید."
     526
     527#: tabsPosts.php:88
     528msgid "Finally, click the blue \"Generate Main Content\" button."
     529msgstr "در نهایت روی دکمه آبی «تولید محتوای اصلی» کلیک کنید."
     530
     531#: tabsPosts.php:93 tabsPosts.php:239 tabsPosts.php:328 tabsPosts.php:431
     532msgid "After completion, the full SEO-optimized content will automatically appear in the editor — you can edit it or publish directly!"
     533msgstr "پس از اتمام، محتوای کامل بهینه شده برای سئو به صورت خودکار در ویرایشگر ظاهر می شود — می توانید آن را ویرایش یا مستقیماً منتشر کنید!"
     534
     535#: tabsPosts.php:97
    518536msgid "Generate Main Content"
    519537msgstr "تولید محتوای اصلی"
    520538
    521 #: tabsPosts.php:87 tabsPosts.php:146 tabsPosts.php:220 tabsPosts.php:309
     539#: tabsPosts.php:102 tabsPosts.php:175 tabsPosts.php:248 tabsPosts.php:337 tabsPosts.php:440
    522540msgid "Please do not refresh the page until the operation is complete."
    523541msgstr "لطفاً تا پایان عملیات صفحه را رفرش نکنید."
    524542
    525 #: tabsPosts.php:96 tabsPosts.php:155 tabsPosts.php:229 tabsPosts.php:318
     543#: tabsPosts.php:111 tabsPosts.php:184 tabsPosts.php:257 tabsPosts.php:346 tabsPosts.php:449
    526544msgid "Custom Prompt Settings"
    527545msgstr "تنظیمات پرامپت سفارشی"
    528546
    529 #: tabsPosts.php:102
     547#: tabsPosts.php:117
    530548msgid "Custom Prompt for Content Generation"
    531549msgstr "پرامپت سفارشی برای تولید محتوا"
    532550
    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
     552msgid "You can leave this field empty → the plugin will use the smart default prompt and give you excellent results."
     553msgstr "می توانید این فیلد را خالی بگذارید → افزونه از پرامپت هوشمند پیش فرض استفاده می کند و نتیجه عالی به شما می دهد."
     554
     555#: tabsPosts.php:133 tabsPosts.php:206 tabsPosts.php:279 tabsPosts.php:368 tabsPosts.php:471
     556msgid "Want even better and more customized results? Write your own instruction here."
     557msgstr "می خواهید نتیجه بهتر و سفارشی تری بگیرید؟ دستورالعمل خود را اینجا بنویسید."
     558
     559#: tabsPosts.php:136 tabsPosts.php:209 tabsPosts.php:282 tabsPosts.php:371 tabsPosts.php:474
     560msgid "The clearer and more precise your prompt, the better and more accurate the result will be!"
     561msgstr "هرچه پرامپت شما واضح تر و دقیق تر باشد، نتیجه بهتر و دقیق تری خواهید گرفت!"
     562
     563#: tabsPosts.php:148
     564msgid "How to Edit the Generated Main Content"
     565msgstr "چگونه محتوای تولیدشده اصلی را ویرایش کنیم"
     566
     567#: tabsPosts.php:153
     568msgid "First make sure you have generated the content in the \"Generate Main Content\" tab."
     569msgstr "ابتدا مطمئن شوید که محتوا را در تب «تولید محتوای اصلی» تولید کرده اید."
     570
     571#: tabsPosts.php:157
     572msgid "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."
     573msgstr "اگر می خواهید چیزی را تغییر دهید (طولانی تر/کوتاه تر کنید، جزئیات اضافه کنید، لحن را تغییر دهید، چیزی را اصلاح کنید و غیره)، درخواست دقیق خود را در کادر زیر بنویسید."
     574
     575#: tabsPosts.php:161
     576msgid "Then click the \"Edit Main Content\" button."
     577msgstr "سپس روی دکمه «ویرایش محتوای اصلی» کلیک کنید."
     578
     579#: tabsPosts.php:166
     580msgid "You can edit as many times as you like until the text is exactly the way you want!"
     581msgstr "می توانید هر چند بار که خواستید ویرایش کنید تا متن دقیقاً همان چیزی شود که می خواهید!"
     582
     583#: tabsPosts.php:190
     584msgid "Custom Prompt for Edit Content"
     585msgstr "پرامپت سفارشی برای ویرایش محتوا"
     586
     587#: tabsPosts.php:221
     588msgid "How to Generate FAQ (Frequently Asked Questions) with One Click"
     589msgstr "چگونه پرسش و پاسخ (سوالات متداول) را با یک کلیک تولید کنیم"
     590
     591#: tabsPosts.php:225 tabsPosts.php:314 tabsPosts.php:418
     592msgid "Enter the post title at the top of the page."
     593msgstr "عنوان نوشته را در بالای صفحه وارد کنید."
     594
     595#: tabsPosts.php:228
     596msgid "Fill in the \"Keyword / Topic\" field with the post name or main keywords."
     597msgstr "فیلد «کلمه کلیدی / موضوع» را با نام نوشته یا کلمه کلیدی اصلی پر کنید."
     598
     599#: tabsPosts.php:231
     600msgid "Click \"Save Draft\" to save your changes."
     601msgstr "روی «ذخیره پیش نویس» کلیک کنید."
     602
     603#: tabsPosts.php:234
     604msgid "Finally, click the blue button \"Generate FAQ\"."
     605msgstr "در نهایت روی دکمه آبی «تولید پرسش و پاسخ» کلیک کنید."
     606
     607#: tabsPosts.php:243
    554608msgid "Generate FAQs"
    555 msgstr "تولید پرسش‌وپاسخ"
    556 
    557 #: tabsPosts.php:161
     609msgstr "تولید پرسش و پاسخ"
     610
     611#: tabsPosts.php:263
    558612msgid "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
     613msgstr "پرامپت سفارشی برای تولید پرسش و پاسخ"
     614
     615#: tabsPosts.php:310
     616msgid "How to Generate SEO Title & Meta Description with One Click"
     617msgstr "چگونه عنوان سئو و توضیح متا را با یک کلیک تولید کنیم"
     618
     619#: tabsPosts.php:317
     620msgid "Fill in the \"Keyword / Topic\" field with your main focus keyword."
     621msgstr "فیلد «کلمه کلیدی / موضوع» را با کلمه کلیدی اصلی خود پر کنید."
     622
     623#: tabsPosts.php:320 tabsPosts.php:424
     624msgid "Click \"Save Draft\" to save the post."
     625msgstr "روی «ذخیره پیش نویس» کلیک کنید."
     626
     627#: tabsPosts.php:323
     628msgid "Click the blue button \"Generate SEO Title & Meta\"."
     629msgstr "روی دکمه آبی «تولید عنوان سئو و توضیح متا» کلیک کنید."
     630
     631#: tabsPosts.php:332
    571632msgid "Generate SEO Title"
    572633msgstr "تولید عنوان سئو"
    573634
    574 #: tabsPosts.php:235
     635#: tabsPosts.php:352
    575636msgid "Custom Prompt for SEO Title Generation"
    576637msgstr "پرامپت سفارشی برای تولید عنوان سئو"
    577638
    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
    583640msgid "Yoast SEO Plugin Required"
    584641msgstr "افزونه Yoast SEO لازم است"
    585642
    586 #: tabsPosts.php:267 tabsPosts.php:356
     643#: tabsPosts.php:386 tabsPosts.php:489
    587644msgid "This feature requires the Yoast SEO plugin to be installed and activated."
    588645msgstr "این ویژگی نیاز دارد افزونه Yoast SEO نصب و فعال باشد."
    589646
    590 #: tabsPosts.php:270 tabsPosts.php:359
     647#: tabsPosts.php:389 tabsPosts.php:492
    591648msgid "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
     649msgstr "پس از فعال سازی، صفحه را رفرش کنید."
     650
     651#: tabsPosts.php:414
     652msgid "How to Generate Meta Description with One Click"
     653msgstr "چگونه توضیح متا را با یک کلیک تولید کنیم"
     654
     655#: tabsPosts.php:421
     656msgid "Fill in the \"Keyword / Topic\" field with your focus keyword."
     657msgstr "فیلد «کلمه کلیدی / موضوع» را با کلمه کلیدی اصلی پر کنید."
     658
     659#: tabsPosts.php:427
     660msgid "Click the blue button \"Generate Meta Description\"."
     661msgstr "روی دکمه آبی «تولید توضیح متا» کلیک کنید."
     662
     663#: tabsPosts.php:435
    600664msgid "Generate Meta Description"
    601 msgstr "تولید توضیحات متا"
    602 
    603 #: tabsPosts.php:324
     665msgstr "تولید توضیح متا"
     666
     667#: tabsPosts.php:455
    604668msgid "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 "پرامپت هوش مصنوعی را برای تولید توضیحات متا این نوشته خاص سفارشی کنید."
     669msgstr "پرامپت سفارشی برای تولید توضیح متا"
    610670
    611671#. Plugin URI of the plugin/theme
  • aicontify/trunk/languages/aicontify.pot

    r3398807 r3402261  
    44"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
    55"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"
    88"Last-Translator: \n"
    99"Language-Team: \n"
     
    2222"X-Poedit-SearchPathExcluded-0: *.js\n"
    2323
    24 #: aicontify.php:31
    25 msgid "AiContify requires PHP 7.4 or higher."
    26 msgstr ""
    27 
    2824#. Plugin Name of the plugin/theme
    29 #: aicontify.php:142 aicontify.php:143 dashboard.php:7 tabsPosts.php:11
     25#: aicontify.php:130 aicontify.php:131 dashboard.php:7 tabsPosts.php:11
    3026msgid "AiContify"
    3127msgstr ""
    3228
    33 #: aicontify.php:153 aicontify.php:154
     29#: aicontify.php:141 aicontify.php:142
    3430msgid "Settings"
    3531msgstr ""
    3632
    37 #: aicontify.php:162 aicontify.php:163
     33#: aicontify.php:150 aicontify.php:151
    3834msgid "Premium"
    3935msgstr ""
    4036
    41 #: aicontify.php:178
     37#: aicontify.php:166
    4238msgid "Supercharge Your Content with AiContify Premium"
    4339msgstr ""
    4440
    45 #: aicontify.php:180
     41#: aicontify.php:168
    4642msgid ""
    4743"Unlock advanced AI models, faster content creation, and exclusive tools "
     
    4945msgstr ""
    5046
    51 #: aicontify.php:184 aicontify.php:223
     47#: aicontify.php:172 aicontify.php:211
    5248msgid "Ready to Boost Your Content?"
    5349msgstr ""
    5450
    55 #: aicontify.php:185 aicontify.php:224
     51#: aicontify.php:173 aicontify.php:212
    5652msgid ""
    5753"Join thousands of creators and businesses using AiContify Premium to "
     
    5955msgstr ""
    6056
    61 #: aicontify.php:187 aicontify.php:226
     57#: aicontify.php:175 aicontify.php:214
    6258msgid "Upgrade to Premium"
    6359msgstr ""
    6460
    65 #: aicontify.php:191
     61#: aicontify.php:179
    6662msgid "Why Go Premium?"
    6763msgstr ""
    6864
     65#: aicontify.php:183
     66msgid "Advanced AI Models"
     67msgstr ""
     68
     69#: aicontify.php:184
     70msgid ""
     71"Access premium AI models for smarter, higher-quality content generation."
     72msgstr ""
     73
     74#: aicontify.php:188
     75msgid "Faster Generation"
     76msgstr ""
     77
     78#: aicontify.php:189
     79msgid "Generate content up to 3x faster than the free version."
     80msgstr ""
     81
     82#: aicontify.php:193
     83msgid "WooCommerce Product Content"
     84msgstr ""
     85
    6986#: aicontify.php:195
    70 msgid "Advanced AI Models"
    71 msgstr ""
    72 
    73 #: aicontify.php:196
    74 msgid ""
    75 "Access premium AI models for smarter, higher-quality content generation."
    76 msgstr ""
    77 
    78 #: aicontify.php:200
    79 msgid "Faster Generation"
    80 msgstr ""
    81 
    82 #: aicontify.php:201
    83 msgid "Generate content up to 3x faster than the free version."
    84 msgstr ""
    85 
    86 #: aicontify.php:205
    87 msgid "WooCommerce Product Content"
    88 msgstr ""
    89 
    90 #: aicontify.php:207
    9187msgid ""
    9288"With a valid premium license, you can generate complete content for "
     
    9591msgstr ""
    9692
    97 #: aicontify.php:212
     93#: aicontify.php:200
    9894msgid "Pro Version Features"
    9995msgstr ""
    10096
    101 #: aicontify.php:214
     97#: aicontify.php:202
    10298msgid "Includes all features from the free version."
    10399msgstr ""
    104100
    105 #: aicontify.php:215
     101#: aicontify.php:203
    106102msgid "Full support for Pages and WooCommerce products."
    107103msgstr ""
    108104
    109 #: aicontify.php:216
     105#: aicontify.php:204
    110106msgid "Faster processing and higher accuracy using advanced AI."
    111107msgstr ""
    112108
    113 #: aicontify.php:217 dashboard.php:42
     109#: aicontify.php:205 dashboard.php:42
    114110msgid ""
    115111"Separate custom prompt configuration for each section: main article, FAQ, "
     
    117113msgstr ""
    118114
    119 #: aicontify.php:218 dashboard.php:43
     115#: aicontify.php:206 dashboard.php:43
    120116msgid "Easy activation through a premium license."
    121117msgstr ""
    122118
    123 #: aicontify.php:219
     119#: aicontify.php:207
    124120msgid ""
    125121"Designed for professional users who need precise, customizable AI-generated "
     
    127123msgstr ""
    128124
    129 #: aicontify.php:231
     125#: aicontify.php:219
    130126msgid "Need Help?"
    131127msgstr ""
    132128
    133 #: aicontify.php:232
     129#: aicontify.php:220
    134130msgid ""
    135131"Our support team is available for setup, guidance, and technical questions."
    136132msgstr ""
    137133
    138 #: aicontify.php:234
     134#: aicontify.php:222
    139135msgid "Telegram:"
    140136msgstr ""
    141137
    142 #: aicontify.php:236
     138#: aicontify.php:224
    143139msgid "Email:"
    144140msgstr ""
     
    526522msgstr ""
    527523
    528 #: tabsPosts.php:34
     524#: tabsPosts.php:32
    529525msgid "Keyword / Topic"
    530526msgstr ""
    531527
    532 #: tabsPosts.php:41
     528#: tabsPosts.php:39
    533529msgid "Enter the main keyword or topic for AI generation"
    534530msgstr ""
    535531
    536 #: tabsPosts.php:45
     532#: tabsPosts.php:43
    537533msgid ""
    538534"This keyword will be used for all AI content, FAQ, SEO title, and meta "
     
    540536msgstr ""
    541537
    542 #: tabsPosts.php:53
     538#: tabsPosts.php:51
    543539msgid "Main Content Generation"
    544540msgstr ""
    545541
    546 #: tabsPosts.php:56
     542#: tabsPosts.php:54 tabsPosts.php:170
     543msgid "Edit Main Content"
     544msgstr ""
     545
     546#: tabsPosts.php:57
    547547msgid "FAQ Generation"
    548548msgstr ""
    549549
    550 #: tabsPosts.php:59
     550#: tabsPosts.php:60
    551551msgid "SEO Title Generation"
    552552msgstr ""
    553553
    554 #: tabsPosts.php:62
     554#: tabsPosts.php:63
    555555msgid "SEO Description Generation"
    556556msgstr ""
    557557
    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
     559msgid "How to Generate Main Post Content with One Click?"
     560msgstr ""
     561
     562#: tabsPosts.php:76
     563msgid "First, enter the post title at the top of the page."
     564msgstr ""
     565
     566#: tabsPosts.php:80
     567msgid ""
     568"Fill in the \"Keyword / Topic\" field with your main keywords or post topic "
     569"(e.g., Samsung Galaxy A54, sunscreen cream, etc.)."
     570msgstr ""
     571
     572#: tabsPosts.php:84
     573msgid "Click the \"Save Draft\" button to save your changes."
     574msgstr ""
     575
     576#: tabsPosts.php:88
     577msgid "Finally, click the blue \"Generate Main Content\" button."
     578msgstr ""
     579
     580#: tabsPosts.php:93 tabsPosts.php:239 tabsPosts.php:328 tabsPosts.php:431
     581msgid ""
     582"After completion, the full SEO-optimized content will automatically appear "
     583"in the editor — you can edit it or publish directly!"
     584msgstr ""
     585
     586#: tabsPosts.php:97
    567587msgid "Generate Main Content"
    568588msgstr ""
    569589
    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
    571592msgid "Please do not refresh the page until the operation is complete."
    572593msgstr ""
    573594
    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
    575597msgid "Custom Prompt Settings"
    576598msgstr ""
    577599
    578 #: tabsPosts.php:102
     600#: tabsPosts.php:117
    579601msgid "Custom Prompt for Content Generation"
    580602msgstr ""
    581603
    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
     606msgid ""
     607"You can leave this field empty → the plugin will use the smart default "
     608"prompt and give you excellent results."
     609msgstr ""
     610
     611#: tabsPosts.php:133 tabsPosts.php:206 tabsPosts.php:279 tabsPosts.php:368
     612#: tabsPosts.php:471
     613msgid ""
     614"Want even better and more customized results? Write your own instruction "
     615"here."
     616msgstr ""
     617
     618#: tabsPosts.php:136 tabsPosts.php:209 tabsPosts.php:282 tabsPosts.php:371
     619#: tabsPosts.php:474
     620msgid ""
     621"The clearer and more precise your prompt, the better and more accurate the "
     622"result will be!"
     623msgstr ""
     624
     625#: tabsPosts.php:148
     626msgid "How to Edit the Generated Main Content"
     627msgstr ""
     628
     629#: tabsPosts.php:153
     630msgid ""
     631"First make sure you have generated the content in the \"Generate Main Content"
     632"\" tab."
     633msgstr ""
     634
     635#: tabsPosts.php:157
     636msgid ""
     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."
     639msgstr ""
     640
     641#: tabsPosts.php:161
     642msgid "Then click the \"Edit Main Content\" button."
     643msgstr ""
     644
     645#: tabsPosts.php:166
     646msgid ""
     647"You can edit as many times as you like until the text is exactly the way you "
     648"want!"
     649msgstr ""
     650
     651#: tabsPosts.php:190
     652msgid "Custom Prompt for Edit Content"
     653msgstr ""
     654
     655#: tabsPosts.php:221
     656msgid "How to Generate FAQ (Frequently Asked Questions) with One Click"
     657msgstr ""
     658
     659#: tabsPosts.php:225 tabsPosts.php:314 tabsPosts.php:418
     660msgid "Enter the post title at the top of the page."
     661msgstr ""
     662
     663#: tabsPosts.php:228
     664msgid ""
     665"Fill in the \"Keyword / Topic\" field with the post name or main keywords."
     666msgstr ""
     667
     668#: tabsPosts.php:231
     669msgid "Click \"Save Draft\" to save your changes."
     670msgstr ""
     671
     672#: tabsPosts.php:234
     673msgid "Finally, click the blue button \"Generate FAQ\"."
     674msgstr ""
     675
     676#: tabsPosts.php:243
    605677msgid "Generate FAQs"
    606678msgstr ""
    607679
    608 #: tabsPosts.php:161
     680#: tabsPosts.php:263
    609681msgid "Custom Prompt for FAQ Generation"
    610682msgstr ""
    611683
    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
     685msgid "How to Generate SEO Title & Meta Description with One Click"
     686msgstr ""
     687
     688#: tabsPosts.php:317
     689msgid "Fill in the \"Keyword / Topic\" field with your main focus keyword."
     690msgstr ""
     691
     692#: tabsPosts.php:320 tabsPosts.php:424
     693msgid "Click \"Save Draft\" to save the post."
     694msgstr ""
     695
     696#: tabsPosts.php:323
     697msgid "Click the blue button \"Generate SEO Title & Meta\"."
     698msgstr ""
     699
     700#: tabsPosts.php:332
    624701msgid "Generate SEO Title"
    625702msgstr ""
    626703
    627 #: tabsPosts.php:235
     704#: tabsPosts.php:352
    628705msgid "Custom Prompt for SEO Title Generation"
    629706msgstr ""
    630707
    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
    637709msgid "Yoast SEO Plugin Required"
    638710msgstr ""
    639711
    640 #: tabsPosts.php:267 tabsPosts.php:356
     712#: tabsPosts.php:386 tabsPosts.php:489
    641713msgid ""
    642714"This feature requires the Yoast SEO plugin to be installed and activated."
    643715msgstr ""
    644716
    645 #: tabsPosts.php:270 tabsPosts.php:359
     717#: tabsPosts.php:389 tabsPosts.php:492
    646718msgid "After activation, refresh the page."
    647719msgstr ""
    648720
    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
     722msgid "How to Generate Meta Description with One Click"
     723msgstr ""
     724
     725#: tabsPosts.php:421
     726msgid "Fill in the \"Keyword / Topic\" field with your focus keyword."
     727msgstr ""
     728
     729#: tabsPosts.php:427
     730msgid "Click the blue button \"Generate Meta Description\"."
     731msgstr ""
     732
     733#: tabsPosts.php:435
    657734msgid "Generate Meta Description"
    658735msgstr ""
    659736
    660 #: tabsPosts.php:324
     737#: tabsPosts.php:455
    661738msgid "Custom Prompt for Meta Description Generation"
    662 msgstr ""
    663 
    664 #: tabsPosts.php:336
    665 msgid ""
    666 "Customize the AI prompt for generating meta description for this specific "
    667 "post."
    668739msgstr ""
    669740
  • aicontify/trunk/readme.txt

    r3398807 r3402261  
    44Requires at least: 5.0
    55Tested up to: 6.8
    6 Stable tag: 5.1.0
     6Stable tag: 6.0.0
    77Requires PHP: 7.4
    88License: GPLv2 or later
     
    2525- Generate full article content by simply entering a keyword 
    2626- Create content up to **4000 words** in length 
     27- Edit main content
    2728- Automatically generate **FAQ (Frequently Asked Questions)** related to the article 
    2829- Generate **SEO Title** and **Meta Description** compatible with SEO plugins like Yoast SEO 
     
    4445- Separate custom prompt configuration for each section:
    4546  - Main article content 
     47  - Edit article content 
    4648  - FAQ section 
    4749  - SEO title 
     
    121123== Changelog ==
    122124
     125= 6.0.0 = November 25, 2025
     126Add main content editing feature
     127Optimize tab descriptions
     128
    123129= 5.1.0 = November 19, 2025
    124130Rest API optimization
  • aicontify/trunk/tabsPosts.php

    r3397005 r3402261  
    2424    wp_nonce_field('aicont_save_meta', 'aicont_nonce', true);
    2525
    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);
    2927    ?>
    3028    <div id="aicont_custom_tabs" class="aicont-metabox-wrapper">
     
    5048        <!-- Tabs Navigation -->
    5149        <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">
    5351                <?php esc_html_e('Main Content Generation', 'aicontify'); ?>
    5452            </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">
    5657                <?php esc_html_e('FAQ Generation', 'aicontify'); ?>
    5758            </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">
    5960                <?php esc_html_e('SEO Title Generation', 'aicontify'); ?>
    6061            </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">
    6263                <?php esc_html_e('SEO Description Generation', 'aicontify'); ?>
    6364            </a>
    6465        </h2>
    6566
    66         <input type="hidden" name="tab" id="active-tab" value="<?php echo esc_attr($active_tab); ?>">
    67 
    6867        <div class="aicont-tabs-content">
    6968            <!-- 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>
    8196                <button type="button" class="button button-primary button-hero aicont-btn" id="aicont-generate-contentPosts-btn" data-postid="<?php echo esc_attr($post->ID); ?>">
    8297                    <?php esc_html_e('Generate Main Content', 'aicontify'); ?>
     
    111126                                ><?php echo isset($post->ID) ? esc_textarea(get_post_meta($post->ID, 'aicont_singlepost_content_prompt_custom', true)) : ''; ?></textarea>
    112127                               
    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>
    122139                            </td>
    123140                        </tr>
     
    126143            </div>
    127144
     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
    128218            <!-- 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>
    140242                <button type="button" class="button button-primary button-hero aicont-btn" id="aicont-generate-faq-btn" data-postid="<?php echo esc_attr($post->ID); ?>">
    141243                    <?php esc_html_e('Generate FAQs', 'aicontify'); ?>
     
    170272                                ><?php echo isset($post->ID) ? esc_textarea(get_post_meta($post->ID, 'aicont_singlepost_faq_prompt_custom', true)) : ''; ?></textarea>
    171273                               
    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>
    181285                            </td>
    182286                        </tr>
     
    186290
    187291           <!-- 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;">
    189293                <?php
    190294                // --- Yoast Detection ---
     
    203307                if ($yoast_active):
    204308                ?>
    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>
    214331                    <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); ?>">
    215332                        <?php esc_html_e('Generate SEO Title', 'aicontify'); ?>
     
    244361                                    ><?php echo isset($post->ID) ? esc_textarea(get_post_meta($post->ID, 'aicont_singlepost_seo_title_prompt_custom', true)) : ''; ?></textarea>
    245362                                   
    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>
    255374                                </td>
    256375                            </tr>
     
    275394
    276395            <!-- 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;">
    278397                <?php
    279398                // --- Yoast Detection (Same as SEO Title) ---
     
    292411                if ($yoast_active):
    293412                ?>
    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>
    303434                    <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); ?>">
    304435                        <?php esc_html_e('Generate Meta Description', 'aicontify'); ?>
     
    333464                                    ><?php echo isset($post->ID) ? esc_textarea(get_post_meta($post->ID, 'aicont_singlepost_seo_description_prompt_custom', true)) : ''; ?></textarea>
    334465                                   
    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>
    344477                                </td>
    345478                            </tr>
     
    380513    }
    381514
    382     // Save active tab
    383     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 
    391515    // Save keyword
    392516    if (isset($_POST['aicont_keyword'])) {
     
    402526    $prompts = [
    403527        'aicont_singlepost_content_prompt_custom',
     528        'aicont_singlepost_editContent_prompt_custom',
    404529        'aicont_singlepost_faq_prompt_custom',
    405530        'aicont_singlepost_seo_title_prompt_custom',
     
    423548$api_files = [
    424549    'contentPosts.php',
     550    'editContentPosts.php',
    425551    'faqPosts.php',
    426552    'seoTitle.php',
Note: See TracChangeset for help on using the changeset viewer.