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:
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
@@ -197,6 +197,20 @@ function FieldControl({
onChange={(e) => onChange(field.key, e.target.value)}
rows={3}
/>
) : type === "select" ? (
<select
id={field.key}
value={value}
disabled={!canEdit}
onChange={(e) => onChange(field.key, e.target.value)}
className="flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-xs transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50"
>
{(field.options ?? []).map((opt) => (
<option key={opt.value} value={opt.value}>
{opt.label}
</option>
))}
</select>
) : (
<Input
id={field.key}