mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-17 02:01:29 +10:00
feat(i18n): implement localization using LinguiJS
This commit is contained in:
@ -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.`,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user