const { __, sprintf } = wp.i18n; const description = sprintf( /* translators: %s: Link to LinkPreview website. */ 'You need to provide an API key in order to use this block, to get one please register on %s and insert the API key here.', 'LinkPreview' ); const Settings = { // Important: Array key should match registered block's namespace. 'advanced/website-card': { 'api-key': { label: __( 'LinkPreview API key' ), type: 'text', description: , }, }, }; export default Settings;