You've already forked obsidian-visualiser
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:
1
types/character.d.ts
vendored
1
types/character.d.ts
vendored
@@ -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
7
types/general.d.ts
vendored
@@ -13,4 +13,9 @@ type CanvasPreferences = {
|
||||
gridSnap: boolean;
|
||||
spacing?: number;
|
||||
neighborSnap: boolean;
|
||||
};
|
||||
};
|
||||
export type Localized = {
|
||||
fr_FR?: string;
|
||||
en_US?: string;
|
||||
default: string;
|
||||
}
|
||||
Reference in New Issue
Block a user