Changeset 3135283
- Timestamp:
- 08/14/2024 05:33:24 AM (20 months ago)
- Location:
- ai-translate-for-polylang
- Files:
-
- 8 added
- 2 edited
-
tags/1.0.5 (added)
-
tags/1.0.5/ai-translate-polylang.php (added)
-
tags/1.0.5/inc (added)
-
tags/1.0.5/inc/open-ai (added)
-
tags/1.0.5/inc/open-ai/OpenAi.php (added)
-
tags/1.0.5/inc/open-ai/Url.php (added)
-
tags/1.0.5/inc/settingslib.php (added)
-
tags/1.0.5/readme.txt (added)
-
trunk/ai-translate-polylang.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ai-translate-for-polylang/trunk/ai-translate-polylang.php
r3129774 r3135283 4 4 Plugin URI: https://wordpress.org/plugins/ai-translate-polylang/ 5 5 Description: Add auto AI translation caperbility to Polylang 6 Version: 1.0. 46 Version: 1.0.5 7 7 Author: James Low 8 8 Author URI: http://jameslow.com … … 20 20 class AI_Translate_Polylang { 21 21 //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.'; 23 23 public static $OPENAI_MODEL = 'gpt-4o'; 24 24 public static $CLAUDE_MODEL = 'claude-3-5-sonnet-20240620'; -
ai-translate-for-polylang/trunk/readme.txt
r3129774 r3135283 5 5 Requires at least: 3.0 6 6 Tested up to: 6.5.4 7 Stable tag: 1.0. 47 Stable tag: 1.0.5 8 8 License: MIT 9 9 License URI: https://opensource.org/licenses/MIT … … 34 34 == Changelog == 35 35 36 = 1.0.5 = 37 * Edit prompt to make sure only the new content is returned 38 36 39 = 1.0.4 = 37 40 * Use PageApp for SettingsLib if avaliable
Note: See TracChangeset
for help on using the changeset viewer.