Fix export missing localised name

The change in #838 removed localised names from the exported metadata.
Add it back again so that items with overriden names are translated.
This commit is contained in:
Hornwitser committed 2026-03-12 14:45:48 +01:00
1 parent 076fb933dc
commit 4c01f6a789
3 files changed
+8 -2

No files matched your search

+1
View File
@@ -411,6 +411,7 @@ async function exportItems(
x: iconPos * SHEET_ICON_SIZE % SHEET_WIDTH,
y: Math.floor(iconPos / (SHEET_WIDTH / SHEET_ICON_SIZE)) * SHEET_ICON_SIZE,
size: SHEET_ICON_SIZE,
localised_name: item.localised_name,
category,
...(iconPath ? { path: iconPath } : {}),
});