diff --git a/designs/hugo/i18n/en.json b/designs/hugo/i18n/en.json index 6fa1376795d..c5f14cac049 100644 --- a/designs/hugo/i18n/en.json +++ b/designs/hugo/i18n/en.json @@ -23,7 +23,9 @@ "cutNeckBinding.t": "The neck binding is not shown", "cutNeckBinding.d": "The **Neck Binding** (10) is a rectangular piece of main fabric {{{ w }}} wide and {{{ l }}} long, with the grainline parallel to the length.", "cutWaistband.t": "The waistband is not shown", - "cutWaistband.d": "The **Waistband** (8) is a rectangular piece of ribbing fabric {{{ w }}} wide and {{{ l }}} long, with the grainline parallel to the width." + "cutWaistband.d": "The **Waistband** (8) is a rectangular piece of ribbing fabric {{{ w }}} wide and {{{ l }}} long, with the grainline parallel to the width.", + "neckCircumference.t": "The neck opening is too small", + "neckCircumference.d": "The neck opening of {{{ opening }}} is smaller than the head circumference of {{{ head }}}.\n\nPlease check and adjust Collar Ease option setting as needed to ensure the neck opening is large enough to accommodate head circumference." }, "o": { "ribbingHeight": { diff --git a/designs/hugo/src/sleeve.mjs b/designs/hugo/src/sleeve.mjs index 36500205515..440c89d61e4 100644 --- a/designs/hugo/src/sleeve.mjs +++ b/designs/hugo/src/sleeve.mjs @@ -266,11 +266,13 @@ function hugoSleeve({ ) if (discrepancy > warning_limit) { - log.warn( - 'Please check and adjust Collar Ease option setting ' + - 'as needed to ensure neck opening is large enough to accommodate ' + - 'head circumference.' - ) + store.flag.warn({ + msg: `hugo:neckCircumference`, + replace: { + opening: units(neck_opening), + head: units(measurements.head), + }, + }) } return part