fix(charlie): Avoid flag/sa confusion. See #5057
This commit is contained in:
parent
c8baaeecc4
commit
8580077479
4 changed files with 9 additions and 5 deletions
|
@ -18,11 +18,11 @@
|
|||
},
|
||||
"s": {
|
||||
"cutBeltloops.t": "The belt loops are not shown",
|
||||
"cutBeltloops.d": "The **Belt loops** are {{{ count }}} rectangular piece of fabric {{{ width }}} wide and {{{ length }}} long (there is no seam allowance). They are not shown because the **expand** core setting is currently disabled. Enable it to show this pattern part.",
|
||||
"cutBeltloops.d": "The **Belt loops** are {{{ count }}} rectangular piece of fabric {{{ width }}} wide and {{{ length }}} long.",
|
||||
"cutBackPocketInterfacing.t": "The back pocket interfacing is not shown",
|
||||
"cutBackPocketInterfacing.d": "The **Back pocket interfacing** is a rectangular piece of fusible interfacing {{{ width }}} wide and {{{ length }}} long (there is no seam allowance). The interfacing is not shown because the **expand** core setting is currently disabled. Enable it to show this pattern part.",
|
||||
"cutBackPocketInterfacing.d": "The **Back pocket interfacing** is a rectangular piece of fusible interfacing {{{ width }}} wide and {{{ length }}} long.",
|
||||
"cutWaistband.t": "The waistband is not shown",
|
||||
"cutWaistband.d": "The **Waistband** is a rectangular piece of fusible interfacing {{{ width }}} wide and {{{ length }}} long (there is no seam allowance). The interfacing is not shown because the **expand** core setting is currently disabled. Enable it to show this pattern part."
|
||||
"cutWaistband.d": "The **Waistband** is a rectangular piece of fabric {{{ width }}} wide and {{{ length }}} long."
|
||||
},
|
||||
"o": {
|
||||
"backPocketHorizontalPlacement": {
|
||||
|
|
|
@ -22,6 +22,7 @@ function draftCharlieBackPocketInterfacing({
|
|||
// Expand is off, do not draw the part but flag this to the user
|
||||
store.flag.note({
|
||||
msg: `charlie:cutBackPocketInterfacing`,
|
||||
notes: ['flag:saUnused', 'flag:partHiddenByExpand'],
|
||||
replace: {
|
||||
width: units(w),
|
||||
length: units(h),
|
||||
|
|
|
@ -23,6 +23,7 @@ function draftCharlieBeltLoops({
|
|||
// Expand is off, do not draw the part but flag this to the user
|
||||
store.flag.note({
|
||||
msg: `charlie:cutBeltloops`,
|
||||
notes: ['flag:saUnused', 'flag:partHiddenByExpand'],
|
||||
replace: {
|
||||
count: 7,
|
||||
width: units(width * 4),
|
||||
|
|
|
@ -28,15 +28,17 @@ function draftCharlieWaistband({
|
|||
store.flag.preset('expandIsOn')
|
||||
} else {
|
||||
// Expand is off, do not draw the part but flag this to the user
|
||||
const extraSa = sa ? 2 * sa : 0
|
||||
store.flag.note({
|
||||
msg: `charlie:cutWaistband`,
|
||||
notes: [sa ? 'flag:saIncluded' : 'flag:saExcluded', 'flag:partHiddenByExpand'],
|
||||
replace: {
|
||||
width: units(absoluteOptions.waistbandWidth + 2 * sa),
|
||||
width: units(2 * absoluteOptions.waistbandWidth + extraSa),
|
||||
length: units(
|
||||
2 * store.get('waistbandBack') +
|
||||
2 * store.get('waistbandFront') +
|
||||
store.get('waistbandFly') +
|
||||
2 * sa
|
||||
extraSa
|
||||
),
|
||||
},
|
||||
suggest: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue