mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-26 22:52:47 +00:00
fix(dashboard): zone names in help text and pages come from the locale
Settings help names zones by locale key (expanded when served), the Property Rent page and the Worlds table name zones in the viewer's language, and the UGC page drops its own inventory name table. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -526,8 +526,7 @@
|
||||
// ---- an assembly's references: the builds that use it, and where they are ----
|
||||
|
||||
var refs = null, refTimer = null;
|
||||
var INVENTORIES = { 5: 'Models', 12: 'Vault models', 14: 'Brick-building models' };
|
||||
function inventoryName(type) { return (window.Labels && Labels.name('inventories', type)) || INVENTORIES[type] || 'Inventory ' + type; }
|
||||
function inventoryName(type) { return (window.Labels && Labels.name('inventories', type)) || 'Inventory ' + type; }
|
||||
// Where a creation is: placed on a property (with the name the player gave it there, and its 3D view), in a mail or
|
||||
// in its creator's inventories (`item`: the creation, for its creator's name)
|
||||
function whereText(w, item) {
|
||||
|
||||
Reference in New Issue
Block a user