Skip to content

Commit

Permalink
Merge pull request ChatGPTNextWeb#447 from KakaWanYifan/main
Browse files Browse the repository at this point in the history
访问改成授权
  • Loading branch information
Yidadaa authored Apr 4, 2023
2 parents fdad415 + 151f2d2 commit 5911bef
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions app/locales/cn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { SubmitKey } from "../store/app";
const cn = {
WIP: "该功能仍在开发中……",
Error: {
Unauthorized: "现在是未授权状态,请在设置页填写授权码。",
Unauthorized: "现在是未授权状态,请在设置页输入授权码。",
},
ChatItem: {
ChatItemCount: (count: number) => `${count} 条对话`,
Expand Down Expand Up @@ -99,7 +99,7 @@ const cn = {
},
Token: {
Title: "API Key",
SubTitle: "使用自己的 Key 可绕过受控访问限制",
SubTitle: "使用自己的 Key 可绕过授权访问限制",
Placeholder: "OpenAI API Key",
},
Usage: {
Expand All @@ -112,9 +112,9 @@ const cn = {
NoAccess: "输入API Key查看余额",
},
AccessCode: {
Title: "访问码",
SubTitle: "现在是受控访问状态",
Placeholder: "请输入访问码",
Title: "授权码",
SubTitle: "现在是未授权访问状态",
Placeholder: "请输入授权码",
},
Model: "模型 (model)",
Temperature: {
Expand Down
10 changes: 5 additions & 5 deletions app/locales/tw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { LocaleType } from "./index";
const tw: LocaleType = {
WIP: "該功能仍在開發中……",
Error: {
Unauthorized: "目前您的狀態是未授權,請前往設定頁面填寫授權碼。",
Unauthorized: "目前您的狀態是未授權,請前往設定頁面輸入授權碼。",
},
ChatItem: {
ChatItemCount: (count: number) => `${count} 條對話`,
Expand Down Expand Up @@ -99,7 +99,7 @@ const tw: LocaleType = {
},
Token: {
Title: "API Key",
SubTitle: "使用自己的 Key 可規避受控訪問限制",
SubTitle: "使用自己的 Key 可規避授權訪問限制",
Placeholder: "OpenAI API Key",
},
Usage: {
Expand All @@ -112,9 +112,9 @@ const tw: LocaleType = {
NoAccess: "輸入API Key查看餘額",
},
AccessCode: {
Title: "訪問碼",
SubTitle: "現在是受控訪問狀態",
Placeholder: "請輸入訪問碼",
Title: "授權碼",
SubTitle: "現在是未授權訪問狀態",
Placeholder: "請輸入授權碼",
},
Model: "模型 (model)",
Temperature: {
Expand Down

0 comments on commit 5911bef

Please sign in to comment.