Skip to content

Commit

Permalink
Refactor Locale Indonesia
Browse files Browse the repository at this point in the history
[+] refactor(id.ts): remove unused import and isApp variable
[+] fix(id.ts): update Unauthorized error message
  • Loading branch information
H0llyW00dzZ committed Sep 30, 2023
1 parent bc00be9 commit 31e3090
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions app/locales/id.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
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",
Tips: "Masukkan kode akses di bawah",
Expand Down

0 comments on commit 31e3090

Please sign in to comment.