@lucidcms/core
Version:
The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.
2 lines • 359 B
JavaScript
import{normalizeCopy as e}from"../../../i18n/copy.mjs";const t=[`label`,`summary`,`placeholder`,`true`,`false`],n=n=>{let r=n.details;if(r)for(let n of t)Object.hasOwn(r,n)&&(r[n]=e(r[n]));let i=n.options;if(Array.isArray(i))for(let t of i)Object.hasOwn(t,`label`)&&(t.label=e(t.label))};export{n as default};
//# sourceMappingURL=normalize-field-copy.mjs.map