Add translations support

This commit is contained in:
Alex Gleason committed 2025-09-19 13:40:11 -05:00
1 parent dd970c2ca7
commit ced204bfde
15 files changed
+444 -31

No files matched your search

+3
View File
@@ -1,6 +1,7 @@
import { createContext } from "react";
export type Theme = "dark" | "light" | "system";
export type Language = "en" | "pt";
export interface AppConfig {
/** Current theme */
@@ -9,6 +10,8 @@ export interface AppConfig {
relayUrl: string;
/** Deploy server domain (e.g., "shakespeare.wtf") */
deployServer: string;
/** Selected language */
language: Language;
}
export interface AppContextType {