Add multi-hotel Habbo gamedata locale in CMS settings.

Furni name suggestions, import enrichment, and badge texts now follow habbo_gamedata_hotel instead of hardcoded habbo.it.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
simoleo89
2026-07-17 22:28:18 +02:00
co-authored by Cursor
parent 7bc0845932
commit d1baaf798a
15 changed files with 275 additions and 65 deletions
@@ -84,6 +84,7 @@ interface ItemsData {
furniRevisionMap: Record<number, { classname: string; revision: number }>;
interactionTypes: string[];
allPages: { id: number; caption: string }[];
gamedataHotel?: string;
}
export interface PageUpdateData {
@@ -691,6 +692,7 @@ export function InlineEditor({ pageId, onSaved }: InlineEditorProps) {
furniDataIdList={itemsData.furniDataIdList}
furniDescriptionMap={itemsData.furniDescriptionMap}
furniRevisionMap={itemsData.furniRevisionMap}
gamedataHotel={itemsData.gamedataHotel}
/>
) : null}
</TabsContent>