37ba855faf
Add a dedicated NPC editor window, directed relations, control/presentation avatar overlay, and ru/en help for the new section. Co-authored-by: Cursor <cursoragent@cursor.com>
32 lines
661 B
TypeScript
32 lines
661 B
TypeScript
/** Порядок разделов в окне «Инструкция». */
|
|
export const HELP_SECTION_IDS = [
|
|
'overview',
|
|
'license',
|
|
'projects',
|
|
'scenes',
|
|
'graph',
|
|
'sideStorylines',
|
|
'sceneProps',
|
|
'campaignAudio',
|
|
'materials',
|
|
'npcs',
|
|
'session',
|
|
'controlPanel',
|
|
'transitions',
|
|
'music',
|
|
'effects',
|
|
'presentation',
|
|
'importExport',
|
|
'settings',
|
|
] as const;
|
|
|
|
export type HelpSectionId = (typeof HELP_SECTION_IDS)[number];
|
|
|
|
export function helpSectionTitleKey(id: HelpSectionId): string {
|
|
return `help.section.${id}.title`;
|
|
}
|
|
|
|
export function helpSectionBodyKey(id: HelpSectionId): string {
|
|
return `help.section.${id}.body`;
|
|
}
|