From 12e82070ab2bb08cdec794f3fe45f8587e99ae08 Mon Sep 17 00:00:00 2001 From: Ayaka Mikazuki Date: Sun, 2 Apr 2023 01:51:04 +1000 Subject: [PATCH] Fix en-GB and en-US translation --- public/locales/{en-US => en-GB} | 0 public/locales/en-US/about.json | 27 ++++++++++++++++++++++ public/locales/en-US/api.json | 15 +++++++++++++ public/locales/en-US/main.json | 40 +++++++++++++++++++++++++++++++++ public/locales/en-US/model.json | 28 +++++++++++++++++++++++ public/locales/en/api.json | 2 +- public/locales/en/model.json | 4 ++-- 7 files changed, 113 insertions(+), 3 deletions(-) rename public/locales/{en-US => en-GB} (100%) create mode 100644 public/locales/en-US/about.json create mode 100644 public/locales/en-US/api.json create mode 100644 public/locales/en-US/main.json create mode 100644 public/locales/en-US/model.json diff --git a/public/locales/en-US b/public/locales/en-GB similarity index 100% rename from public/locales/en-US rename to public/locales/en-GB diff --git a/public/locales/en-US/about.json b/public/locales/en-US/about.json new file mode 100644 index 0000000..6666b51 --- /dev/null +++ b/public/locales/en-US/about.json @@ -0,0 +1,27 @@ +{ + "description": "Better ChatGPT is an amazing open-source web app that allows you to play with OpenAI's ChatGPT API for free!", + "sourceCode": "Checkout the <0>source code on GitHub and give it a ⭐️!", + "initiative": { + "description": "Checkout the <0>Open ChatGPT Initiative!", + "link": "https://medium.com/@ayaka_45434/the-open-chatgpt-initiative-e76b0b62a3ae" + }, + "support": { + "title": "Support", + "paragraph1": "At Better ChatGPT, we strive to provide you with useful and amazing features around the clock. And just like any project, your support and motivation will be instrumental in helping us keep moving forward!", + "paragraph2": "If you have enjoyed using our app, we kindly ask you to give this <0>project a ⭐️. Your endorsement means a lot to us and encourages us to work harder towards delivering the best possible experience.", + "paragraph3": "If you would like to support the team, consider sponsoring us through one of the methods below. Every contribution, no matter how small, helps us to maintain and improve our service.", + "paragraph4": "Thank you for being a part of our community, and we look forward to serving you better in the future.", + "alipay": "Alipay", + "wechatPay": "WeChat" + }, + "discordServer": { + "title": "Discord Server", + "paragraph1": "We invite you to join our Discord community! Our Discord server is a great place to exchange ChatGPT ideas and tips, and submit feature requests for Better ChatGPT. You'll have the opportunity to interact with the developers behind Better ChatGPT as well as other AI enthusiasts who share your passion.", + "paragraph2": "To join our server, simply click on the following link: <0>https://discord.gg/g3Qnwy4V6A. We can't wait to see you there!" + }, + "privacyStatement": { + "title": "Privacy Statement", + "paragraph1": "We highly value your privacy and are committed to safeguarding the privacy of our users. We do not collect or store any text you enter or receive from the OpenAI server in any form. Our source code is available for your inspection to verify this statement.", + "paragraph2": "We prioritize the security of your API key and handle it with utmost care. If you use your own API key, your key is exclusively stored on your browser and never shared with any third-party entity. It is solely used for the intended purpose of accessing the OpenAI API and not for any other unauthorized use." + } +} diff --git a/public/locales/en-US/api.json b/public/locales/en-US/api.json new file mode 100644 index 0000000..f0ea688 --- /dev/null +++ b/public/locales/en-US/api.json @@ -0,0 +1,15 @@ +{ + "securityMessage": "We prioritize the security of your API key and handle it with utmost care. Your key is exclusively stored on your browser and never shared with any third-party entity. It is solely used for the intended purpose of accessing the OpenAI API and not for any other unauthorized use.", + "apiEndpoint": { + "inputLabel": "API Endpoint", + "description": "When you choose an unofficial API endpoint, it functions as a proxy. A proxy works by acting as an intermediary between your device and the destination server, in this case, the OpenAI API. By doing so, it enables you to access the OpenAI API in regions where it might otherwise be restricted.", + "warn": "Additionally, if you provide a custom API endpoint that grants free access to the OpenAI API, you can use ChatGPT without the need to supply an API key by simply leaving the API key field blank. However, it's crucial to be cautious when using third-party API endpoints, as untrustworthy ones may log your personal information in the conversations. Always verify the reliability of an API endpoint before using it to protect your privacy and security." + }, + "apiKey": { + "howTo": "Get your personal API key <0>here.", + "inputLabel": "API Key" + }, + "customEndpoint": "Use custom API endpoint", + "advancedConfig": "View advanced API configuration <0>here", + "noApiKeyWarning": "No API key supplied! Please check your API settings." +} diff --git a/public/locales/en-US/main.json b/public/locales/en-US/main.json new file mode 100644 index 0000000..aa23c87 --- /dev/null +++ b/public/locales/en-US/main.json @@ -0,0 +1,40 @@ +{ + "save": "Save", + "saveAndSubmit": "Save & Submit", + "cancel": "Cancel", + "confirm": "Confirm", + "warning": "Warning", + "clearMessageWarning": "Please be advised that by submitting this message, all subsequent messages will be deleted!", + "clearConversationWarning": "Please be advised that by confirming this action, all messages will be deleted!", + "clearConversation": "Clear Conversation", + "import": "Import", + "export": "Export", + "author": "Made by Jing Hua", + "about": "About & Sponsor", + "api": "API", + "personal": "Personal", + "free": "Free", + "downloadChat": "Download Chat", + "user": "User", + "assistant": "Assistant", + "system": "System", + "newChat": "New Chat", + "lightMode": "Light Mode", + "darkMode": "Dark Mode", + "setting": "Settings", + "image": "Image", + "autoTitle": "Auto generate title", + "prompt": "Prompt", + "promptLibrary": "Prompt Library", + "name": "Name", + "search": "Search", + "morePrompts": "You can find more prompts here: ", + "postOnShareGPT": { + "title": "Post on ShareGPT", + "warning": "Please be aware that by posting your conversation on ShareGPT, it will become publicly accessible and viewable to anyone. Once posted, the conversation cannot be hidden or deleted, and may be archived or shared by others. We advise you to consider carefully and avoid sharing sensitive or private information on this platform." + }, + "newFolder": "New Folder", + "cloneChat": "Clone Chat", + "cloned": "Cloned", + "enterToSubmit": "Enter to submit" +} diff --git a/public/locales/en-US/model.json b/public/locales/en-US/model.json new file mode 100644 index 0000000..4e8e9ab --- /dev/null +++ b/public/locales/en-US/model.json @@ -0,0 +1,28 @@ +{ + "configuration": "Configuration", + "model": "Model", + "token": { + "label": "Max Token", + "description": "The maximum number of tokens to generate in the chat completion. The total length of input tokens and generated tokens is limited by the model's context length." + }, + "default": "Default", + "temperature": { + "label": "Temperature", + "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. We generally recommend altering this or top p but not both. (Default: 1)" + }, + "presencePenalty": { + "label": "Presence Penalty", + "description": "Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. (Default: 0)" + }, + "topP": { + "label": "Top-p", + "description": "Number between 0 and 1. An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered. We generally recommend altering this or temperature but not both. (Default: 1)" + }, + "frequencyPenalty": { + "label": "Frequency Penalty", + "description": "Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. (Default: 0)" + }, + "defaultChatConfig": "Default Chat Config", + "defaultSystemMessage": "Default System Message", + "resetToDefault": "Reset To Default" +} diff --git a/public/locales/en/api.json b/public/locales/en/api.json index 4bbf188..91e7595 100644 --- a/public/locales/en/api.json +++ b/public/locales/en/api.json @@ -2,7 +2,7 @@ "securityMessage": "We prioritise the security of your API key and handle it with utmost care. Your key is exclusively stored on your browser and never shared with any third-party entity. It is solely used for the intended purpose of accessing the OpenAI API and not for any other unauthorised use.", "apiEndpoint": { "inputLabel": "API Endpoint", - "description": "When you choose an unofficial API endpoint, it essentially functions as a proxy. A proxy works by acting as an intermediary between your device and the destination server, in this case, the OpenAI API. By doing so, it enables you to access the OpenAI API in regions where it might otherwise be restricted.", + "description": "When you choose an unofficial API endpoint, it functions as a proxy. A proxy works by acting as an intermediary between your device and the destination server, in this case, the OpenAI API. By doing so, it enables you to access the OpenAI API in regions where it might otherwise be restricted.", "warn": "Additionally, if you provide a custom API endpoint that grants free access to the OpenAI API, you can use ChatGPT without the need to supply an API key by simply leaving the API key field blank. However, it's crucial to be cautious when using third-party API endpoints, as untrustworthy ones may log your personal information in the conversations. Always verify the reliability of an API endpoint before using it to protect your privacy and security." }, "apiKey": { diff --git a/public/locales/en/model.json b/public/locales/en/model.json index 4e8e9ab..c06b051 100644 --- a/public/locales/en/model.json +++ b/public/locales/en/model.json @@ -12,7 +12,7 @@ }, "presencePenalty": { "label": "Presence Penalty", - "description": "Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. (Default: 0)" + "description": "Number between -2.0 and 2.0. Positive values penalise new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. (Default: 0)" }, "topP": { "label": "Top-p", @@ -20,7 +20,7 @@ }, "frequencyPenalty": { "label": "Frequency Penalty", - "description": "Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. (Default: 0)" + "description": "Number between -2.0 and 2.0. Positive values penalise new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. (Default: 0)" }, "defaultChatConfig": "Default Chat Config", "defaultSystemMessage": "Default System Message",