Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abc #5934

Closed
wants to merge 25 commits into from
Closed

Abc #5934

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app/components/auth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export function AuthPage() {

<div className={styles["auth-title"]}>{Locale.Auth.Title}</div>
<div className={styles["auth-tips"]}>{Locale.Auth.Tips}</div>


<input
className={styles["auth-input"]}
Expand All @@ -53,6 +54,7 @@ export function AuthPage() {
{!accessStore.hideUserApiKey ? (
<>
<div className={styles["auth-tips"]}>{Locale.Auth.SubTips}</div>

<input
className={styles["auth-input"]}
type="password"
Expand Down
1 change: 1 addition & 0 deletions app/components/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ export function SideBar(props: { className?: string }) {
onClick={() => showToast(Locale.WIP)}
shadow
/>

</div>

<div
Expand Down
1 change: 1 addition & 0 deletions app/constant.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export const OWNER = "Yidadaa";
export const REPO = "ChatGPT-Next-Web";

export const REPO_URL = `https://github.com/${OWNER}/${REPO}`;
export const ISSUE_URL = `https://github.com/${OWNER}/${REPO}/issues`;
export const UPDATE_URL = `${REPO_URL}#keep-updated`;
Expand Down
1 change: 1 addition & 0 deletions app/locales/cn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,7 @@ const cn = {
Sysmessage: "你是一个助手",
},
Mask: {

Name: "面具",
Page: {
Title: "预设角色面具",
Expand Down
3 changes: 1 addition & 2 deletions app/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ const en: LocaleType = {
Error: {
Unauthorized: isApp
? "Invalid API Key, please check it in [Settings](/#/settings) page."
: "Unauthorized access, please enter access code in [auth](/#/auth) page, or enter your OpenAI API Key.",
},
: "Unauthorized access, please enter access code in [auth](/#/auth) page, or enter your OpenAI API Key.", },
Auth: {
Title: "Need Access Code",
Tips: "Please enter access code below",
Expand Down
2 changes: 2 additions & 0 deletions app/locales/id.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ const id: PartialLocaleType = {
Auth: {
Title: "Diperlukan Kode Akses",
Tips: "Masukkan kode akses di bawah",
Tips1: "密码和key只需填一个即可",
SubTips1: "如果自己没有key联系QQ:1422756921 ",
1422756921 marked this conversation as resolved.
Show resolved Hide resolved
SubTips: "Atau masukkan kunci API OpenAI Anda",
Input: "Kode Akses",
Confirm: "Konfirmasi",
Expand Down
1 change: 0 additions & 1 deletion app/locales/tw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const tw = {
? "檢測到無效 API Key,請前往[設定](/#/settings)頁檢查 API Key 是否設定正確。"
: "存取密碼不正確或未填寫,請前往[登入](/#/auth)頁輸入正確的存取密碼,或者在[設定](/#/settings)頁填入你自己的 OpenAI API Key。",
},

Auth: {
Title: "需要密碼",
Tips: "管理員開啟了密碼驗證,請在下方填入存取密碼",
Expand Down
Loading