i18n.js
298 lines
| 1 | // https://developer.wordpress.org/block-editor/how-to-guides/internationalization/ |
| 2 | |
| 3 | const { __ } = wp.i18n; |
| 4 | |
| 5 | const i18n = {}; |
| 6 | |
| 7 | i18n.COMMON = { |
| 8 | MODULES: __( 'Modules', 'ai-engine' ), |
| 9 | SETTINGS: __( 'Settings', 'ai-engine' ), |
| 10 | CHATBOT: __( 'Chatbot', 'ai-engine' ), |
| 11 | CHATBOTS: __( 'Chatbots', 'ai-engine' ), |
| 12 | CHATBOT_HELP: __( 'Highly customizable chatbot.', 'ai-engine' ), |
| 13 | STATISTICS: __( 'Statistics', 'ai-engine' ), |
| 14 | STYLE: __( 'Style', 'ai-engine' ), |
| 15 | ENABLE: __( 'Enable', 'ai-engine' ), |
| 16 | NAME: __( 'Name', 'ai-engine' ), |
| 17 | SUBMIT: __( 'Submit', 'ai-engine' ), |
| 18 | MODEL: __( 'Model', 'ai-engine' ), |
| 19 | TEMPERATURE: __( 'Temperature', 'ai-engine' ), |
| 20 | MAX_TOKENS: __( 'Max Tokens', 'ai-engine' ), |
| 21 | STOP_SEQUENCE: __( 'Stop Sequence', 'ai-engine' ), |
| 22 | MODE: __( 'Mode', 'ai-engine' ), |
| 23 | CONTEXT: __( 'Context', 'ai-engine' ), |
| 24 | IMAGES_NUMBER: __( 'Number of Images', 'ai-engine' ), |
| 25 | AI_NAME: __( 'AI Name', 'ai-engine' ), |
| 26 | USER_NAME: __( 'User Name', 'ai-engine' ), |
| 27 | PLACEHOLDER: __( 'Placeholder', 'ai-engine' ), |
| 28 | START_SENTENCE: __( 'Start Sentence', 'ai-engine' ), |
| 29 | SEND: __( 'Send', 'ai-engine' ), |
| 30 | CLEAR: __( 'Clear', 'ai-engine' ), |
| 31 | SYSTEM_NAME: __( 'System Name', 'ai-engine' ), |
| 32 | ID: __( 'ID', 'ai-engine' ), |
| 33 | POPUP: __( 'Popup', 'ai-engine' ), |
| 34 | POSITION: __( 'Position', 'ai-engine' ), |
| 35 | ICON_TEXT: __( 'Icon Text', 'ai-engine' ), |
| 36 | FULL_SCREEN: __( 'Full Screen', 'ai-engine' ), |
| 37 | CASUALLY_FINE_TUNED: __( 'Casually Fine-Tuned', 'ai-engine' ), |
| 38 | CONTENT_AWARE: __( 'Content Aware', 'ai-engine' ), |
| 39 | SPACING: __( 'Spacing', 'ai-engine' ), |
| 40 | BORDER_RADIUS: __( 'Border Radius', 'ai-engine' ), |
| 41 | FONT_SIZE: __( 'Font Size', 'ai-engine' ), |
| 42 | FONT_COLOR: __( 'Font Color', 'ai-engine' ), |
| 43 | BACK_PRIMARY_COLOR: __( 'Back Primary Color', 'ai-engine' ), |
| 44 | BACK_SECONDARY_COLOR: __( 'Back Secondary Color', 'ai-engine' ), |
| 45 | HEADER_BUTTONS_COLOR: __( 'Header Buttons Color', 'ai-engine' ), |
| 46 | POPUP_ICON: __( 'Popup Icon', 'ai-engine' ), |
| 47 | CUSTOM_ICON_URL: __( 'Custom Icon URL', 'ai-engine' ), |
| 48 | FEATURES: __( 'Features', 'ai-engine' ), |
| 49 | TIMEFRAME: __( 'Timeframe', 'ai-engine' ), |
| 50 | ABSOLUTE: __( 'Absolute', 'ai-engine' ), |
| 51 | NONE: __( 'None', 'ai-engine' ), |
| 52 | EDITORS_ADMINS: __( 'Editors & Admins', 'ai-engine' ), |
| 53 | ADMINS_ONLY: __( 'Admins Only', 'ai-engine' ), |
| 54 | CREDITS: __( 'Credits', 'ai-engine' ), |
| 55 | TYPE: __( 'Type', 'ai-engine' ), |
| 56 | USERS: __( 'Users', 'ai-engine' ), |
| 57 | GUESTS: __( 'Guests', 'ai-engine' ), |
| 58 | OPENAI: __( 'Open AI', 'ai-engine' ), |
| 59 | LICENSE_TAB: __( 'License', 'ai-engine' ), |
| 60 | FINETUNES: __( 'Finetunes', 'ai-engine' ), |
| 61 | MODELS: __( 'Models', 'ai-engine' ), |
| 62 | DATASETS: __( 'Datasets', 'ai-engine' ), |
| 63 | ASSISTANTS: __( 'Assistants', 'ai-engine' ), |
| 64 | POSTS_SUGGESTIONS: __( 'Suggestions', 'ai-engine' ), |
| 65 | POSTS_SUGGESTIONS_HELP: __( 'Generate suggestions based on the content.', 'ai-engine' ), |
| 66 | GENERATORS: __( 'Generators', 'ai-engine' ), |
| 67 | WOOCOMMERCE_PRODUCT_GENERATOR: __( 'WooCommerce Product Generator', 'ai-engine' ), |
| 68 | WOOCOMMERCE_PRODUCT_GENERATOR_HELP: __( 'Write all the WooCommerce fields for a given product.', 'ai-engine' ), |
| 69 | CONTENT_GENERATOR: __( 'Content Generator', 'ai-engine' ), |
| 70 | CONTENT_GENERATOR_HELP: __( 'Generate articles. Support templates.', 'ai-engine' ), |
| 71 | IMAGES_GENERATOR: __( 'Images Generator', 'ai-engine' ), |
| 72 | IMAGES_GENERATOR_HELP: __( 'Generate images. Support templates.', 'ai-engine' ), |
| 73 | PLAYGROUND: __( 'Playground', 'ai-engine' ), |
| 74 | PLAYGROUND_HELP: __( 'Play with AI or let it perform various tasks for you. Support templates.', 'ai-engine' ), |
| 75 | FORMS: __( 'Forms', 'ai-engine' ), |
| 76 | FORMS_HELP: __( 'Build AI forms. Based on fields, users will be given answers or suggestions.', 'ai-engine' ), |
| 77 | STATISTICS: __( 'Statistics', 'ai-engine' ), |
| 78 | STATISTICS_HELP: __( 'Track AI interactions, check statistics, set limits, and more!', 'ai-engine' ), |
| 79 | DEBUG_MODE: __( 'Debug Mode', 'ai-engine' ), |
| 80 | DEBUG_MODE_HELP: __( 'Debugging information will be displayed in the console.', 'ai-engine' ), |
| 81 | API_KEY: __( 'API Key', 'ai-engine' ), |
| 82 | API_KEY_HELP: __( 'You can get your API Keys in your <a href="https://beta.openai.com/account/api-keys" target="_blank">OpenAI Account</a>.', 'ai-engine' ), |
| 83 | USAGE_COSTS_HELP: __( 'For the exact amounts, please check your <a href="https://beta.openai.com/account/usage" target="_blank">OpenAI account</a>.', 'ai-engine' ), |
| 84 | USAGE_COSTS_PRO_HELP: __( 'If you would like to have better control on the amounts, add conditions or set limits to the usage of the AI, consider <a href="https://meowapps.com/ai-engine/" target="_blank">AI Engine Pro</a>.', 'ai-engine' ), |
| 85 | LANGUAGE: __( 'Language', 'ai-engine' ), |
| 86 | HIDE: __( 'Hide', 'ai-engine' ), |
| 87 | SHOW: __( 'Show', 'ai-engine' ), |
| 88 | CONTENT: __( 'Content', 'ai-engine' ), |
| 89 | IMAGES: __( 'Images', 'ai-engine' ), |
| 90 | EXCERPT: __( 'Excerpt', 'ai-engine' ), |
| 91 | GENERATE: __( 'Generate', 'ai-engine' ), |
| 92 | MODEL_PARAMS: __( 'Model Params', 'ai-engine' ), |
| 93 | PROMPT: __( 'Prompt', 'ai-engine' ), |
| 94 | PROMPTS: __( 'Prompts', 'ai-engine' ), |
| 95 | LABEL: __( 'Label', 'ai-engine' ), |
| 96 | SYSTEM: __( 'System', 'ai-engine' ), |
| 97 | SHORTCODE: __( 'Shortcode', 'ai-engine' ), |
| 98 | SHORTCODES: __( 'Shortcodes', 'ai-engine' ), |
| 99 | RESOLVE: __( 'Resolve', 'ai-engine' ), |
| 100 | SENTENCES_BUFFER: __( 'Sentences Buffer', 'ai-engine' ), |
| 101 | INPUT_MAXLENGTH: __( 'Input Max Length', 'ai-engine' ), |
| 102 | COMPLIANCE_TEXT: __( 'Compliance Text', 'ai-engine' ), |
| 103 | MODERATION: __( 'Moderation', 'ai-engine' ), |
| 104 | MODERATION_HELP: __( 'Moderation features with AI.', 'ai-engine' ), |
| 105 | FORMATTING: __( 'Formatting', 'ai-engine' ), |
| 106 | FORMATTING_HELP: __( 'Convert the reply from the AI into HTML. <b>Markdown is supported, so it is highly recommended to add \'Use Markdown.\' in your context.</b>', 'ai-engine' ), |
| 107 | LOGS: __( 'Logs', 'ai-engine' ), |
| 108 | CODE: __( 'Code', 'ai-engine' ), |
| 109 | EMBEDDINGS: __( 'Embeddings', 'ai-engine' ), |
| 110 | EMBEDDINGS_HELP: __( 'Create searchable data that can be reused to feed the chatbot and other AI or UI elements.', 'ai-engine' ), |
| 111 | EMBEDDINGS_APIKEY_HELP: __( 'You can get your API Keys in your <a href="https://app.pinecone.io/organizations/keys" target="_blank">Pinecone Account</a>.', 'ai-engine' ), |
| 112 | SERVER: __( 'Server', 'ai-engine' ), |
| 113 | SERVER_HELP: __( 'The region which was set for your account.', 'ai-engine' ), |
| 114 | COST: __( 'Cost', 'ai-engine' ), |
| 115 | USAGE_COSTS: __( 'Usage Costs', 'ai-engine' ), |
| 116 | AUDIO_TRANSCRIPTION: __( 'Audio-to-Text', 'ai-engine' ), |
| 117 | AUDIO_TRANSCRIPTION_HELP: __( 'Transcribe audio files into texts.', 'ai-engine' ), |
| 118 | AUDIO_TAB: __( 'Audio', 'ai-engine' ), |
| 119 | EMBEDDINGS_INDEX: __( 'Embeddings Index', 'ai-engine' ), |
| 120 | NAMESPACE: __( 'Namespace', 'ai-engine' ), |
| 121 | NAMESPACE_HELP: __( 'The namespace is used to separate the data from other data. This allows you to use the same index on more than one website.', 'ai-engine' ), |
| 122 | ERROR: __( 'Error', 'ai-engine' ), |
| 123 | RETRY: __( 'Retry', 'ai-engine' ), |
| 124 | AUTO_RETRY: __( 'Auto Retry', 'ai-engine' ), |
| 125 | SKIP: __( 'Skip', 'ai-engine' ), |
| 126 | AUTO_SKIP: __( 'Auto Skip', 'ai-engine' ), |
| 127 | STOP: __( 'Stop', 'ai-engine' ), |
| 128 | AUTO_RETRY_DESCRIPTION: __( 'Auto Retry retries actions up to 10 times with increasing delay to avoid timeouts.', 'ai-engine' ), |
| 129 | WIDTH: __( 'Width', 'ai-engine' ), |
| 130 | MAX_HEIGHT: __( 'Max Height', 'ai-engine' ), |
| 131 | TECHNICAL_SETTINGS: __( 'Technical Settings', 'ai-engine' ), |
| 132 | MAIN_SETTINGS: __( 'Main Settings', 'ai-engine' ), |
| 133 | VISUAL_SETTINGS: __( 'Visual Settings', 'ai-engine' ), |
| 134 | DASHBOARD: __( 'Dashboard', 'ai-engine' ), |
| 135 | ADVANCED: __( 'Advanced', 'ai-engine' ), |
| 136 | DYNAMIC_MAX_TOKENS: __( 'Dynamic Max Tokens', 'ai-engine' ), |
| 137 | DISCUSSIONS: __( 'Discussions', 'ai-engine' ), |
| 138 | ROWS: __( 'Rows', 'ai-engine' ), |
| 139 | POST_TYPE: __( 'Post Type', 'ai-engine' ), |
| 140 | GENERATE_CONTENT: __( 'Generate Content', 'ai-engine' ), |
| 141 | GENERATE_IMAGES: __( 'Generate Images', 'ai-engine' ), |
| 142 | ADMIN_BAR: __( 'Admin Bar', 'ai-engine' ), |
| 143 | REFRESH: __( 'Refresh', 'ai-engine' ), |
| 144 | DELETE: __( 'Delete', 'ai-engine' ), |
| 145 | DELETE_SELECTED: __( 'Delete Selected', 'ai-engine' ), |
| 146 | OPENAI_SERVICE: __( 'Service', 'ai-engine' ), |
| 147 | OPENAI_AZURE_ENDPOINT: __( 'Endpoint', 'ai-engine' ), |
| 148 | OPENAI_AZURE_API_KEY: __( 'API Key', 'ai-engine' ), |
| 149 | OPENAI_AZURE_DEPLOYMENT: __( 'Deploy Name', 'ai-engine' ), |
| 150 | THEME: __( 'Theme', 'ai-engine' ), |
| 151 | THEMES: __( 'Themes', 'ai-engine' ), |
| 152 | BANNED_WORDS: __( 'Banned Words', 'ai-engine' ), |
| 153 | BANNED_IPS: __( 'Banned IPs', 'ai-engine' ), |
| 154 | SECURITY: __( 'Security', 'ai-engine' ), |
| 155 | POST_TYPES: __( 'Post Types', 'ai-engine' ), |
| 156 | } |
| 157 | |
| 158 | i18n.FORMS = { |
| 159 | PROMPT_INFO: __( 'The template of your prompt. To re-use the data entered by the user, use the name of that field between curly braces. Example: Recommend me {MUSIC_TYPE} artists. You can also use an ID as an input, like this: ${#myfield}. Finally, if you wish the output to be formatted, add: Use Markdown format."', 'ai-engine' ), |
| 160 | OUTPUT: __( 'Output', 'ai-engine' ), |
| 161 | OUTPUT_ELEMENT: __( 'Output Element', 'ai-engine' ), |
| 162 | OUTPUT_ELEMENT_INFO: __( 'The result will be written to this element. If you wish to simply display the result in an Output Block, use its ID. For instance, if its ID is mwai-666, use \'#mwai-666\'.', 'ai-engine' ), |
| 163 | } |
| 164 | |
| 165 | i18n.HELP = { |
| 166 | TEMPERATURE: __( 'Between 0 and 1. Higher values means the model will take more risks.', 'ai-engine' ), |
| 167 | MAX_TOKENS: __( 'The maximum number of tokens to generate. The model will stop generating once it hits this limit.', 'ai-engine' ), |
| 168 | STOP_SEQUENCE: __( 'The sequence of tokens that will cause the model to stop generating text. You absolutely need this with fine-tuned models.', 'ai-engine' ), |
| 169 | COST: __( 'Keeps track of the current costs.', 'ai-engine' ), |
| 170 | RESOLVE_SHORTCODE: __( 'Will resolve the shortcode in your content when needed (Content-Aware will use this, for instance).', 'ai-engine' ), |
| 171 | DYNAMIC_MAX_TOKENS: __( 'Max Tokens will be dynamically decreased based on the length of the prompt.', 'ai-engine' ), |
| 172 | FINETUNES: __( 'Train your own AI models.', 'ai-engine' ), |
| 173 | DISCUSSIONS: __( 'Keep the conversations and enable browsing them via the Conversations tab.', 'ai-engine' ), |
| 174 | OPENAI_SERVICE: __( 'Open AI can be used through Open AI directly, but also through Azure.', 'ai-engine' ), |
| 175 | OPENAI_AZURE_DEPLOYMENT: __( 'The name of the deployment you created for the model. It will be used by default.', 'ai-engine' ), |
| 176 | BANNED_WORDS: __( 'Reject queries containing these words; separate with commas.', 'ai-engine' ), |
| 177 | BANNED_IPS: __( 'Block access from specified IP addresses or ranges using CIDR notation; separate with commas.', 'ai-engine' ), |
| 178 | POST_TYPES: __( 'Enable for these post types; separate with commas.', 'ai-engine' ), |
| 179 | } |
| 180 | |
| 181 | i18n.SETTINGS = { |
| 182 | OPENAI_SETUP: __( 'To use the features of AI Engine, you need an OpenAI account and an API Key. Visit the <a href="https://beta.openai.com/account/api-keys" target="_blank">OpenAI</a> website to create an account, then insert your OpenAI API Key in the <b>Settings</b> tab.', 'ai-engine' ), |
| 183 | PINECONE_SETUP: __( 'You choose to use Embeddings. To use them, you need to a Pinecone account. Visit the <a href="https://app.pinecone.io" target="_blank">Pinecone</a> website to create an account, then insert your Pinecone API Key in the <b>Settings</b> tab.', 'ai-engine' ), |
| 184 | INTRO: __( 'Boost your WordPress with AI! Don\'t forget to visit the <a href="https://meowapps.com/ai-engine/" target="_blank">AI Engine website</a> for more information. Have fun! 🎵', 'ai-engine' ), |
| 185 | MODULES_INTRO: __( 'To avoid cluttering the UI and your WP, only enable the features you need.', 'ai-engine' ), |
| 186 | ALERT_INJECT_BUT_NO_POPUP: __( 'You choose to inject the chatbot in your website. You probably also want to use the chatbot in a Popup.', 'ai-engine' ), |
| 187 | ALERT_FINETUNE_BUT_NO_CASUALLY: __( 'You choose a fine-tuned model. However, you didn\'t check the Casually Fine Tuned option. Make sure that\'s what you want.', 'ai-engine' ), |
| 188 | ALERT_CASUALLY_BUT_NO_FINETUNE: __( 'Normally, you should not check the Casually Fine Tuned option with a non-finetuned model. Make sure that\'s what you want.', 'ai-engine' ), |
| 189 | ALERT_CONTENTAWARE_BUT_NO_CONTENT: __( 'Content Aware requires your Context to use the {CONTENT} placeholder. It will be replaced by the content of page the chatbot is on. More info <a href="https://meowapps.com/ai-engine/tutorial/#contextualization" target="_blank">here</a>.', 'ai-engine' ), |
| 190 | SET_AS_DEFAULT_PARAMETERS: __( 'Set as Default Parameters', 'ai-engine' ), |
| 191 | SET_AS_DEFAULT_PARAMETERS_HELP: __( 'Set the parameters above as the default parameters for the chatbot. You can then use the shortcode [mwai_chat] anywhere on your website.', 'ai-engine' ), |
| 192 | INJECT_DEFAULT_CHATBOT: __( 'Inject Default Chatbot in Entire Website', 'ai-engine' ), |
| 193 | INJECT_DEFAULT_CHATBOT_HELP: __( 'Inject the chatbot [mwai_chat] in the entire website.', 'ai-engine' ), |
| 194 | CHATGPT_STYLE_INTRO: __( 'Keep in mind that you can also style the chatbot (or a specific chatbot, if you use many) by injecting CSS. Have a look <a target="_blank" href="https://meowapps.com/ai-engine/tutorial/#apply-custom-style-to-the-chatbot">here</a>. More information in the <a target="_blank" href="https://meowapps.com/ai-engine/faq">FAQ</a>.', 'ai-engine' ), |
| 195 | TYPEWRITER_EFFECT: __( 'Typewriter Effect', 'ai-engine' ), |
| 196 | TYPEWRITER_EFFECT_HELP: __( 'The reply from AI will be typewrited. I actually do not recommend this feature.', 'ai-engine' ), |
| 197 | CHATBOT_MODERATION_HELP: __( 'If the conversation seems offensive, the chatbot will reject it.', 'ai-engine' ), |
| 198 | CUSTOM_URL: __( 'Custom URL', 'ai-engine' ), |
| 199 | } |
| 200 | |
| 201 | i18n.CHATBOT = { |
| 202 | INTRO: __( 'If you only need one chatbot, set your parameters in the Chatbot Builder, and click on <b>Set as Default Parameters</b>. You can then use the shortcode <b>[mwai_chat]</b> anywhere on your website. You can also add the chatbot everywhere automatically by using <b>Inject Default Chatbot</b>.', 'ai-engine' ), |
| 203 | INTRO_2: __( 'You can have multiple chatbots on your website (or same page), each with different parameters. Setting an ID will memorize the conversation in the browser, Content Aware will make the content of your page available to the context (<a href="https://meowapps.com/ai-engine/tutorial/#content-aware-bot" target="_blank">read this</a>), and removing the AI Name and User Name will switch to avatars (similar to ChatGPT). Enjoy! 😎', 'ai-engine' ), |
| 204 | CHATBOT_BUILDER: __( 'Chatbot Builder', 'ai-engine' ), |
| 205 | RESET_PARAMS: __( 'Reset Parameters', 'ai-engine' ), |
| 206 | } |
| 207 | |
| 208 | i18n.STATISTICS = { |
| 209 | ABSOLUTE_HELP: __( 'Using Absolute, Day represents <i>today</i>. Otherwise, the <i>past 24 hours</i>. Same logic applies to the other timeframes.', 'ai-engine' ), |
| 210 | NO_CREDITS_MESSAGE: __( 'Message for No Credits', 'ai-engine' ), |
| 211 | FULL_ACCESS_USERS: __( 'Full-Access Users', 'ai-engine' ), |
| 212 | ENABLE_LIMITS: __( 'Enable Limits', 'ai-engine' ), |
| 213 | } |
| 214 | |
| 215 | i18n.CONTENT_GENERATOR = { |
| 216 | INTRO: __( 'The Content Generator is a powerful tool that can generate content for you. It can be used to generate articles, emails, or even code. It can also be used to generate content for your chatbot. <b>Let me know if there are any new features you would like to see!</b> Have fun 🥳', 'ai-engine' ), |
| 217 | TITLE_MISSING: __( 'Title is missing!', 'ai-engine' ), |
| 218 | SECTIONS_MISSING: __( 'Sections are missing!', 'ai-engine' ), |
| 219 | SINGLE_GENERATE: __( 'Single Generate', 'ai-engine' ), |
| 220 | BULK_GENERATE: __( 'Bulk Generate', 'ai-engine' ), |
| 221 | CONTENT_PARAMS: __( 'Content Params', 'ai-engine' ), |
| 222 | POST_PARAMS: __( 'Post Params', 'ai-engine' ), |
| 223 | CONTENT_PARAMS_INTRO: __( 'Input fields are displayed for certain placeholders used in prompts, such as {LANGUAGE} or {WRITING_TONE}', 'ai-engine' ), |
| 224 | CUSTOM_LANGUAGE: __( 'Custom Language', 'ai-engine' ), |
| 225 | WRITING_STYLE: __( 'Writing Style', 'ai-engine' ), |
| 226 | WRITING_TONE: __( 'Writing Tone', 'ai-engine' ), |
| 227 | CUSTOM_LANGUAGE_HELP: __( 'All the languages are <i>somehow</i> supported by AI. <a href="https://meowapps.com/ai-engine/faq/#languages" target="_blank">Learn more</a>.', 'ai-engine' ), |
| 228 | MODEL_HELP: __( 'The gpt-3.5-turbo and davinci models are currently the only acceptable ones for writing texts.', 'ai-engine' ), |
| 229 | PROMPTS_INTRO: __( 'Prompts represent the exact request sent to the AI. The variables between curly braces will be replaced by the content of the corresponding field. Prompts are saved in your templates.', 'ai-engine' ), |
| 230 | PROMPT_TITLE: __( 'Prompt for <b>Title</b>', 'ai-engine' ), |
| 231 | PROMPT_SECTIONS: __( 'Prompt for <b>Sections</b>', 'ai-engine' ), |
| 232 | PROMPT_CONTENT: __( 'Prompt for <b>Content</b>', 'ai-engine' ), |
| 233 | PROMPT_EXCERPT: __( 'Prompt for <b>Excerpt</b>', 'ai-engine' ), |
| 234 | POST_CREATED: __( 'Post Created!', 'ai-engine' ), |
| 235 | POST_CREATED_AS_DRAFT: __( 'Post Created as Draft!', 'ai-engine' ), |
| 236 | CONTENT_HELP: __( 'You can modify the content before using "Create Post". Markdown is supported, and will be converted to HTML when the post is created.', 'ai-engine' ), |
| 237 | SECTIONS_HELP: __( 'Add, rewrite, remove, or reorganize those sections as you wish before (re)clicking on "Generate Content". Markdown format is recommended.', 'ai-engine' ), |
| 238 | GENERATE_EXCERPT: __( 'Generate Excerpt', 'ai-engine' ), |
| 239 | GENERATE_CONTENT: __( 'Generate Content', 'ai-engine' ), |
| 240 | GENERATE_SECTIONS: __( 'Generate Sections', 'ai-engine' ), |
| 241 | PARAGRAPHS_PER_SECTION: __( '# of Paragraphs per Section', 'ai-engine' ), |
| 242 | SECTIONS: __( 'Sections', 'ai-engine' ), |
| 243 | TOPICS_HELP: __( 'Write or paste your topics below. Each line will be used as a topic. The same <b>Params</b> and <b>Prompts</b> will be used as with the <b>Single Generate</b>, so make sure you get satisfying results with it first. This <b>takes time</b>, so relax and enjoy some coffee ☕️ and tea 🍵 :)', 'ai-engine' ), |
| 244 | GENERATED_POSTS: __( 'Generated Posts', 'ai-engine' ), |
| 245 | GENERATE_ALL: __( 'Generate All', 'ai-engine' ), |
| 246 | EDIT_POST: __( 'Edit Post', 'ai-engine' ), |
| 247 | CREATE_POST: __( 'Create Post', 'ai-engine' ), |
| 248 | TITLE_TOO_SHORT: __( 'The title is too short. It should be at least 3 words.', 'ai-engine' ), |
| 249 | TITLE_TOO_SHORT_2: __( 'The title is too short. It should be at least 40 characters.', 'ai-engine' ), |
| 250 | TITLE_TOO_LONG: __( 'The title is too long. It should be less than 8 words.', 'ai-engine' ), |
| 251 | TITLE_TOO_LONG_2: __( 'The title is too long. It should be less than 70 characters.', 'ai-engine' ), |
| 252 | } |
| 253 | |
| 254 | i18n.TEMPLATES = { |
| 255 | TEMPLATES: __( 'Templates', 'ai-engine' ), |
| 256 | DELETE_CONFIRM: __( 'Are you sure you want to delete this template?', 'ai-engine' ), |
| 257 | NEW_TEMPLATE_NAME: __( 'New Template', 'ai-engine' ), |
| 258 | EDIT: __( 'EDIT', 'ai-engine' ), |
| 259 | JOIN_US: __( 'Interested in sharing and/or looking for more templates? Join us on the <a target="_blank" href="https://wordpress.org/support/topic/common-use-cases-for-templates">Templates Threads</a> in the forums.', 'ai-engine' ), |
| 260 | } |
| 261 | |
| 262 | i18n.PLAYGROUND = { |
| 263 | INTRO: __( 'Welcome to the AI Playground! Here, you can play with different AI models and ask the UI to perform various tasks for you. You can ask it to write, rewrite, or translate an article, categorize words or elements into groups, write an email, etc. <b>Let me know if there are any new features you would like to see!</b> Have fun 🥳', 'ai-engine' ), |
| 264 | PROMPT: __( 'Query / Prompt', 'ai-engine' ), |
| 265 | ANSWER: __( 'Answer', 'ai-engine' ), |
| 266 | } |
| 267 | |
| 268 | i18n.ALERTS = { |
| 269 | FINETUNING_STARTED: __( 'Fine-tuning started! Check its progress in the <b>Models</b> section. Depending on your dataset size, it may take a while (from a few minutes to days).', 'ai-engine' ), |
| 270 | RESET_BUILDER: __( 'This will delete all the rows in the builder. Are you sure?', 'ai-engine' ), |
| 271 | DELETE_FINETUNE: __( 'You are going to delete this fine-tune. Are you sure?\n\nPlease note that it will take a while before it is actually deleted. This might be a temporary issue of OpenAI.', 'ai-engine' ), |
| 272 | FINETUNE_ALREADY_DELETED: __( 'This fine-tune was already deleted. It will be removed from the list.', 'ai-engine' ), |
| 273 | CHECK_CONSOLE: __( 'Error! Check your console for more details.', 'ai-engine' ), |
| 274 | DATASET_UPLOADED: __( 'Uploaded successfully! You can now train a model based on this dataset.', 'ai-engine' ), |
| 275 | ONLY_SUPPORTS_FILES: __( 'This only supports JSON, JSONL, and CSV files.', 'ai-engine' ), |
| 276 | EMPTY_LINES: __( 'Some lines were empty. Make sure the CSV has a header row and that the columns are named \'prompt\' and \'completion\'. For debugging, an empty line was logged to the console.', 'ai-engine' ), |
| 277 | } |
| 278 | |
| 279 | i18n.FINETUNING = { |
| 280 | MODELS_INTRO: __( 'The AI models you have fine-tuned. To create more, visit <b>Datasets</b>.', 'ai-engine' ), |
| 281 | DATASETS_INTRO: __( 'The datasets you have uploaded to OpenAI. To create a new dataset, switch from <b>Model Finetuner</b> to <b>Dataset Builder</b>. To train a new model, click on the <i>magic wand</i>.', 'ai-engine' ), |
| 282 | MODEL_FINETUNE: __( 'Model Finetune', 'ai-engine' ), |
| 283 | DATASET_BUILDER: __( 'Dataset Builder', 'ai-engine' ), |
| 284 | ENTRIES_EDITOR: __( 'Entries Editor', 'ai-engine' ), |
| 285 | ENTRIES_GENERATOR: __( 'Entries Generator', 'ai-engine' ), |
| 286 | HUGE_DATASET_WARNING: __( 'Caution: The data is too large to be saved in your browser\'s local storage.', 'ai-engine' ), |
| 287 | NO_FINETUNES_YET: __( 'No fine-tunes found. Refresh the list, or create a new one (via a dataset).', 'ai-engine' ), |
| 288 | CLEAN_MODELS_LIST: __( 'Clean Models List', 'ai-engine' ), |
| 289 | DELETED_FINETUNE_ISSUE: __( 'For some reason, OpenAI still return the models even after you deleted them. Don\'t worry, AI Engine will do the cleanup for you! You can force the cleanup by using this button. It takes a bit of time depending on the total of models you have.', 'ai-engine' ), |
| 290 | } |
| 291 | |
| 292 | i18n.EMBEDDINGS = { |
| 293 | EDIT: __( 'EDIT', 'ai-engine' ), |
| 294 | AI_SEARCH: __( 'AI SEARCH', 'ai-engine' ), |
| 295 | } |
| 296 | |
| 297 | export default i18n; |
| 298 |