mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 08:37:22 +00:00
Add translations support
This commit is contained in:
15 files changed
+444
-31
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user