- Save & Close
+ {{ $t('saveAndClose') }}
@@ -85,6 +85,7 @@
\ No newline at end of file
diff --git a/components/settings/Languages.vue b/components/settings/Languages.vue
new file mode 100644
index 0000000..2c81e69
--- /dev/null
+++ b/components/settings/Languages.vue
@@ -0,0 +1,86 @@
+
+
+
+
+
+
+
+
+ close
+
+ {{ $t('language') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/lang/en-US.json b/lang/en-US.json
index a479da3..de0d5f0 100644
--- a/lang/en-US.json
+++ b/lang/en-US.json
@@ -1,3 +1,45 @@
{
- "hello": "Hello"
+ "welcomeTo": "Welcome to",
+ "language": "Language",
+ "setApiKey": "Set API Key",
+ "setOpenAIApiKey": "Set OpenAI API Key",
+ "openAIApiKey": "OpenAI API Key",
+ "getAKey": "Get a key",
+ "openAIModels": "OpenAI Models",
+ "aboutTheModels": "About the models",
+ "saveAndClose": "Save & Close",
+ "pleaseSelectAtLeastOneModelDot": "Please select at least one model.",
+ "writeAMessage": "Write a message",
+ "pressEnterToSendYourMessageOrShiftEnterToAddANewLine": "Press Enter to send your message or Shift+Enter to add a new line",
+ "lightMode": "Light Mode",
+ "darkMode": "Dark Mode",
+ "followSystem": "Follow system",
+ "themeMode": "Theme Mode",
+ "feedback": "Feedback",
+ "roles": {
+ "me": "Me",
+ "ai": "AI"
+ },
+ "welcomeScreen": {
+ "introduction1": "is an unofficial client for ChatGPT, but uses the official OpenAI API.",
+ "introduction2": "You will need an OpenAI API Key before you can use this client.",
+ "examples": {
+ "title": "Examples",
+ "item1": "\"Explain quantum computing in simple terms\"",
+ "item2": "\"Got any creative ideas for a 10 year old’s birthday?\"",
+ "item3": "\"How do I make an HTTP request in Javascript?\""
+ },
+ "capabilities": {
+ "title": "Capabilities",
+ "item1": "Remembers what user said earlier in the conversation",
+ "item2": "Allows user to provide follow-up corrections",
+ "item3": "Trained to decline inappropriate requests"
+ },
+ "limitations": {
+ "title": "Limitations",
+ "item1": "May occasionally generate incorrect information",
+ "item2": "May occasionally produce harmful instructions or biased content",
+ "item3": "Limited knowledge of world and events after 2021"
+ }
+ }
}
\ No newline at end of file
diff --git a/lang/zh-CN.json b/lang/zh-CN.json
index ee0ffff..62845f9 100644
--- a/lang/zh-CN.json
+++ b/lang/zh-CN.json
@@ -1,3 +1,45 @@
{
- "hello": "你好"
+ "welcomeTo": "欢迎来到",
+ "language": "语言",
+ "setApiKey": "设置API密钥",
+ "setOpenAIApiKey": "设置OpenAI的API密钥",
+ "openAIApiKey": "OpenAI的API密钥",
+ "getAKey": "获取钥匙",
+ "openAIModels": "OpenAI模型",
+ "aboutTheModels": "关于模型",
+ "saveAndClose": "保存并关闭",
+ "pleaseSelectAtLeastOneModelDot": "请至少选择一个模型",
+ "writeAMessage": "输入信息",
+ "pressEnterToSendYourMessageOrShiftEnterToAddANewLine": "按回车键发送您的信息,或按Shift+Enter键添加新行",
+ "lightMode": "明亮模式",
+ "darkMode": "暗色模式",
+ "followSystem": "跟随系统",
+ "themeMode": "主题模式",
+ "feedback": "反馈",
+ "roles": {
+ "me": "我",
+ "ai": "AI"
+ },
+ "welcomeScreen": {
+ "introduction1": "是一个非官方的ChatGPT客户端,但使用OpenAI的官方API",
+ "introduction2": "在使用本客户端之前,您需要一个OpenAI API密钥。",
+ "examples": {
+ "title": "例子",
+ "item1": "\"用简单的语言解释量子计算\"",
+ "item2": "\"为10岁的孩子过生日,有什么创造性的想法吗?\"",
+ "item3": "\"我如何在Javascript中进行HTTP请求?\""
+ },
+ "capabilities": {
+ "title": "能力",
+ "item1": "记得用户在谈话中早先说过的话",
+ "item2": "允许用户提供后续更正",
+ "item3": "经过培训,可以拒绝不适当的请求"
+ },
+ "limitations": {
+ "title": "局限",
+ "item1": "偶尔可能会产生不正确的信息",
+ "item2": "可能偶尔会产生有害的指示或有偏见的内容",
+ "item3": "对2021年以后的世界和事件了解有限"
+ }
+ }
}
\ No newline at end of file
diff --git a/pages/index.vue b/pages/index.vue
index e8d0506..3b832c4 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -1,6 +1,7 @@