Plugin Directory

Changeset 3135283


Ignore:
Timestamp:
08/14/2024 05:33:24 AM (20 months ago)
Author:
jamesdlow
Message:

1.0.5

  • Edit prompt to make sure only the new content is returned
Location:
ai-translate-for-polylang
Files:
8 added
2 edited

Legend:

Unmodified
Added
Removed
  • ai-translate-for-polylang/trunk/ai-translate-polylang.php

    r3129774 r3135283  
    44Plugin URI: https://wordpress.org/plugins/ai-translate-polylang/
    55Description: Add auto AI translation caperbility to Polylang
    6 Version: 1.0.4
     6Version: 1.0.5
    77Author: James Low
    88Author URI: http://jameslow.com
     
    2020class AI_Translate_Polylang {
    2121    //Constants
    22     public static $PROMPT = 'Translate the content from {FROM_CODE} to {TO_CODE} preserving html, formatting and embedded media.';
     22    public static $PROMPT = 'Translate the content from {FROM_CODE} to {TO_CODE} preserving html, formatting and embedded media. Only return the new content.';
    2323    public static $OPENAI_MODEL = 'gpt-4o';
    2424    public static $CLAUDE_MODEL = 'claude-3-5-sonnet-20240620';
  • ai-translate-for-polylang/trunk/readme.txt

    r3129774 r3135283  
    55Requires at least: 3.0
    66Tested up to: 6.5.4
    7 Stable tag: 1.0.4
     7Stable tag: 1.0.5
    88License: MIT
    99License URI: https://opensource.org/licenses/MIT
     
    3434== Changelog ==
    3535
     36= 1.0.5 =
     37* Edit prompt to make sure only the new content is returned
     38
    3639= 1.0.4 =
    3740* Use PageApp for SettingsLib if avaliable
Note: See TracChangeset for help on using the changeset viewer.