forked from XiaoMo/ChatGPT-Next-Web
Refactor Locale Indonesia
[+] refactor(id.ts): remove unused import and isApp variable [+] fix(id.ts): update Unauthorized error message
This commit is contained in:
parent
bc00be9065
commit
31e30906d0
@ -1,14 +1,10 @@
|
||||
import { getClientConfig } from "../config/client";
|
||||
import { SubmitKey } from "../store/config";
|
||||
import { PartialLocaleType } from "./index";
|
||||
|
||||
const isApp = !!getClientConfig()?.isApp;
|
||||
const id: PartialLocaleType = {
|
||||
WIP: "Coming Soon...",
|
||||
Error: {
|
||||
Unauthorized: isApp
|
||||
? "Kunci API tidak valid, silakan periksa di halaman [Pengaturan](/#/settings)."
|
||||
: "Akses tidak diizinkan, silakan masukkan kode akses di halaman [autentikasi](/#/auth), atau masukkan kunci API OpenAI Anda.",
|
||||
Unauthorized: "Akses tidak diizinkan, silakan masukkan kode akses atau masukkan kunci API OpenAI Anda. di halaman [autentikasi](/#/auth) atau di halaman [Pengaturan](/#/settings).",
|
||||
},
|
||||
Auth: {
|
||||
Title: "Diperlukan Kode Akses",
|
||||
|
Loading…
x
Reference in New Issue
Block a user