You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simply having {preset/....} or {field/....} should allow to use the respective label. If there the keywords (preset/field) aren't present, the script should default to the translations of the current item.
Such change would require changes in two places and could be taken out in a separate function.
Simply having
{preset/....}
or{field/....}
should allow to use the respective label. If there the keywords (preset
/field
) aren't present, the script should default to the translations of the current item.Such change would require changes in two places and could be taken out in a separate function.
https://github.com/ideditor/schema-builder/blob/main/lib/build.js#L529-L531
https://github.com/ideditor/schema-builder/blob/main/lib/build.js#L566-L568
P.S. It might be a good idea for presets to have
label
instead ofname
, at least for consistency.The text was updated successfully, but these errors were encountered: