Convert list texts to a separate i18n text, allowing translation and fixing action/passive/... removal. Character sheet now use the character compiler.

This commit is contained in:
Clément Pons
2025-08-25 17:35:15 +02:00
parent 247b14b2c8
commit 69ee62c08e
27 changed files with 2432 additions and 1003 deletions

View File

@@ -52,6 +52,7 @@ export type CharacterConfig = {
aspects: AspectConfig[];
features: Record<FeatureID, Feature>;
lists: Record<string, { id: string, name: string, [key: string]: any }[]>;
texts: Record<string, Localized>;
};
export type SpellConfig = {
id: string;

7
types/general.d.ts vendored
View File

@@ -13,4 +13,9 @@ type CanvasPreferences = {
gridSnap: boolean;
spacing?: number;
neighborSnap: boolean;
};
};
export type Localized = {
fr_FR?: string;
en_US?: string;
default: string;
}