Refactor Locale Indonesia

[+] refactor(id.ts): remove unused import and isApp variable
[+] fix(id.ts): update Unauthorized error message
This commit is contained in:
H0llyW00dzZ 2023-09-30 22:59:24 +07:00
parent bc00be9065
commit 31e30906d0
No known key found for this signature in database
GPG Key ID: 05C7FFFC0845C930

View File

@ -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",