forked from XiaoMo/ChatGPT-Next-Web
fix(locales): type error in pt.ts
This commit is contained in:
parent
f2485931d9
commit
6527074cde
@ -1,10 +1,10 @@
|
|||||||
import { SubmitKey } from "../store/config";
|
import { SubmitKey } from "../store/config";
|
||||||
import { LocaleType } from "../locales/index";
|
import { PartialLocaleType } from "../locales/index";
|
||||||
import { getClientConfig } from "../config/client";
|
import { getClientConfig } from "../config/client";
|
||||||
|
|
||||||
const isApp = !!getClientConfig()?.isApp;
|
const isApp = !!getClientConfig()?.isApp;
|
||||||
|
|
||||||
const pt: LocaleType = {
|
const pt: PartialLocaleType = {
|
||||||
WIP: "Em breve...",
|
WIP: "Em breve...",
|
||||||
Error: {
|
Error: {
|
||||||
Unauthorized: isApp
|
Unauthorized: isApp
|
||||||
|
Loading…
Reference in New Issue
Block a user