3 - Began the work of internationalization.

This commit is contained in:
Caleb Campbell
2025-12-26 09:12:04 +11:00
parent aa09a2aaa2
commit 0275b5a439
10 changed files with 379 additions and 4 deletions

21
src/i18n/models.ts Normal file
View File

@@ -0,0 +1,21 @@
export interface Book {
id: string;
name: string;
aliases: string[];
}
export interface Settings {
[key: string]: SettingsGroup
}
interface SettingsGroup {
name: string;
description?: string;
controls: { [key: string]: Control };
}
interface Control {
name: string;
description?: string;
placeholder?: string;
}