feat(i18n): implement localization using LinguiJS

This commit is contained in:
Amruth Pillai
2023-11-10 09:07:47 +01:00
parent 13d91411e3
commit 6ad4358d70
108 changed files with 4631 additions and 798 deletions

View File

@ -1,3 +1,4 @@
import { t } from "@lingui/macro";
import { OpenAI } from "openai";
import { useOpenAiStore } from "@/client/stores/openai";
@ -7,7 +8,7 @@ export const openai = () => {
if (!apiKey) {
throw new Error(
"Your OpenAI API Key has not been set yet. Please go to your account settings to enable OpenAI Integration.",
t`Your OpenAI API Key has not been set yet. Please go to your account settings to enable OpenAI Integration.`,
);
}