fix(carlton): Add missing options in translation config
This commit is contained in:
parent
29b1c41c35
commit
1b800b4ad8
6 changed files with 374 additions and 3 deletions
|
@ -61,6 +61,78 @@
|
||||||
"buttonSpacingHorizontal": {
|
"buttonSpacingHorizontal": {
|
||||||
"t": "Horizontaler Knopfabstand",
|
"t": "Horizontaler Knopfabstand",
|
||||||
"d": "Horizontaler Abstand der Knöpfe, bestimmt auch den Übertritt des vorderen Verschlusses"
|
"d": "Horizontaler Abstand der Knöpfe, bestimmt auch den Übertritt des vorderen Verschlusses"
|
||||||
|
},
|
||||||
|
"lapelReduction": {
|
||||||
|
"t": "Lapel reduction",
|
||||||
|
"d": "Controls how much the lapel tip goes inwards."
|
||||||
|
},
|
||||||
|
"frontOverlap": {
|
||||||
|
"t": "Front overlap",
|
||||||
|
"d": "Controls how much the right and left front of the garment overlap at the center front."
|
||||||
|
},
|
||||||
|
"pocketHeight": {
|
||||||
|
"t": "Pocket height",
|
||||||
|
"d": "Controls the height of the front pockets"
|
||||||
|
},
|
||||||
|
"pocketWidth": {
|
||||||
|
"t": "Pocket width",
|
||||||
|
"d": "Controls the width of the front pockets"
|
||||||
|
},
|
||||||
|
"chestPocketPlacement": {
|
||||||
|
"t": "Chest pocket placement",
|
||||||
|
"d": "Controls the location of the chest pocket."
|
||||||
|
},
|
||||||
|
"chestPocketAngle": {
|
||||||
|
"t": "Chest pocket angle",
|
||||||
|
"d": "Controls the slant of the chest pocket."
|
||||||
|
},
|
||||||
|
"chestPocketWidth": {
|
||||||
|
"t": "Chest pocket width",
|
||||||
|
"d": "Controls the width of the chest pocket."
|
||||||
|
},
|
||||||
|
"innerPocketPlacement": {
|
||||||
|
"t": "Inner pocket placement",
|
||||||
|
"d": "Controls the location of the inner pocket."
|
||||||
|
},
|
||||||
|
"innerPocketDepth": {
|
||||||
|
"t": "Inner pocket depth",
|
||||||
|
"d": "Controls the depth of the inner pocket."
|
||||||
|
},
|
||||||
|
"innerPocketWidth": {
|
||||||
|
"t": "Inner pocket width",
|
||||||
|
"d": "Controls the width of the inner pocket."
|
||||||
|
},
|
||||||
|
"innerPocketWeltHeight": {
|
||||||
|
"t": "Inner pocket welt height",
|
||||||
|
"d": "Controls the height of the inner pocket welts."
|
||||||
|
},
|
||||||
|
"sleeveBend": {
|
||||||
|
"t": "Sleeve bend",
|
||||||
|
"d": "The angle of the sleeve at the elbow."
|
||||||
|
},
|
||||||
|
"sleevecapHeight": {
|
||||||
|
"t": "Sleevecap height",
|
||||||
|
"d": "Controls the height of the sleevecap."
|
||||||
|
},
|
||||||
|
"sleevecapEase": {
|
||||||
|
"t": "Sleevecap ease",
|
||||||
|
"d": "Controls the amount of sleevecap ease."
|
||||||
|
},
|
||||||
|
"cuffLength": {
|
||||||
|
"t": "Cuff length",
|
||||||
|
"d": "Controls the length (height if you wish) of the cuffs."
|
||||||
|
},
|
||||||
|
"collarFlare": {
|
||||||
|
"t": "Collar flare",
|
||||||
|
"d": "Controls the flare of the collar by altering the fall length (between the neck and the tips) of the collar."
|
||||||
|
},
|
||||||
|
"collarSpread": {
|
||||||
|
"t": "Collar spread",
|
||||||
|
"d": "Controls how close the collar lies to the neck."
|
||||||
|
},
|
||||||
|
"waistEase": {
|
||||||
|
"t": "Waist ease",
|
||||||
|
"d": "Controls the amount of ease at your waist."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,6 +61,78 @@
|
||||||
"buttonSpacingHorizontal": {
|
"buttonSpacingHorizontal": {
|
||||||
"t": "Horizontal button spacing",
|
"t": "Horizontal button spacing",
|
||||||
"d": "Horizontal spacing of the buttons, also determines the front closure overlap"
|
"d": "Horizontal spacing of the buttons, also determines the front closure overlap"
|
||||||
|
},
|
||||||
|
"lapelReduction": {
|
||||||
|
"t": "Lapel reduction",
|
||||||
|
"d": "Controls how much the lapel tip goes inwards."
|
||||||
|
},
|
||||||
|
"frontOverlap": {
|
||||||
|
"t": "Front overlap",
|
||||||
|
"d": "Controls how much the right and left front of the garment overlap at the center front."
|
||||||
|
},
|
||||||
|
"pocketHeight": {
|
||||||
|
"t": "Pocket height",
|
||||||
|
"d": "Controls the height of the front pockets"
|
||||||
|
},
|
||||||
|
"pocketWidth": {
|
||||||
|
"t": "Pocket width",
|
||||||
|
"d": "Controls the width of the front pockets"
|
||||||
|
},
|
||||||
|
"chestPocketPlacement": {
|
||||||
|
"t": "Chest pocket placement",
|
||||||
|
"d": "Controls the location of the chest pocket."
|
||||||
|
},
|
||||||
|
"chestPocketAngle": {
|
||||||
|
"t": "Chest pocket angle",
|
||||||
|
"d": "Controls the slant of the chest pocket."
|
||||||
|
},
|
||||||
|
"chestPocketWidth": {
|
||||||
|
"t": "Chest pocket width",
|
||||||
|
"d": "Controls the width of the chest pocket."
|
||||||
|
},
|
||||||
|
"innerPocketPlacement": {
|
||||||
|
"t": "Inner pocket placement",
|
||||||
|
"d": "Controls the location of the inner pocket."
|
||||||
|
},
|
||||||
|
"innerPocketDepth": {
|
||||||
|
"t": "Inner pocket depth",
|
||||||
|
"d": "Controls the depth of the inner pocket."
|
||||||
|
},
|
||||||
|
"innerPocketWidth": {
|
||||||
|
"t": "Inner pocket width",
|
||||||
|
"d": "Controls the width of the inner pocket."
|
||||||
|
},
|
||||||
|
"innerPocketWeltHeight": {
|
||||||
|
"t": "Inner pocket welt height",
|
||||||
|
"d": "Controls the height of the inner pocket welts."
|
||||||
|
},
|
||||||
|
"sleeveBend": {
|
||||||
|
"t": "Sleeve bend",
|
||||||
|
"d": "The angle of the sleeve at the elbow."
|
||||||
|
},
|
||||||
|
"sleevecapHeight": {
|
||||||
|
"t": "Sleevecap height",
|
||||||
|
"d": "Controls the height of the sleevecap."
|
||||||
|
},
|
||||||
|
"sleevecapEase": {
|
||||||
|
"t": "Sleevecap ease",
|
||||||
|
"d": "Controls the amount of sleevecap ease."
|
||||||
|
},
|
||||||
|
"cuffLength": {
|
||||||
|
"t": "Cuff length",
|
||||||
|
"d": "Controls the length (height if you wish) of the cuffs."
|
||||||
|
},
|
||||||
|
"collarFlare": {
|
||||||
|
"t": "Collar flare",
|
||||||
|
"d": "Controls the flare of the collar by altering the fall length (between the neck and the tips) of the collar."
|
||||||
|
},
|
||||||
|
"collarSpread": {
|
||||||
|
"t": "Collar spread",
|
||||||
|
"d": "Controls how close the collar lies to the neck."
|
||||||
|
},
|
||||||
|
"waistEase": {
|
||||||
|
"t": "Waist ease",
|
||||||
|
"d": "Controls the amount of ease at your waist."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,6 +61,78 @@
|
||||||
"buttonSpacingHorizontal": {
|
"buttonSpacingHorizontal": {
|
||||||
"t": "Espaciado horizontal de los botones",
|
"t": "Espaciado horizontal de los botones",
|
||||||
"d": "El espaciado horizontal de los botones, también determina la superposición del cierre frontal"
|
"d": "El espaciado horizontal de los botones, también determina la superposición del cierre frontal"
|
||||||
|
},
|
||||||
|
"lapelReduction": {
|
||||||
|
"t": "Lapel reduction",
|
||||||
|
"d": "Controls how much the lapel tip goes inwards."
|
||||||
|
},
|
||||||
|
"frontOverlap": {
|
||||||
|
"t": "Front overlap",
|
||||||
|
"d": "Controls how much the right and left front of the garment overlap at the center front."
|
||||||
|
},
|
||||||
|
"pocketHeight": {
|
||||||
|
"t": "Pocket height",
|
||||||
|
"d": "Controls the height of the front pockets"
|
||||||
|
},
|
||||||
|
"pocketWidth": {
|
||||||
|
"t": "Pocket width",
|
||||||
|
"d": "Controls the width of the front pockets"
|
||||||
|
},
|
||||||
|
"chestPocketPlacement": {
|
||||||
|
"t": "Chest pocket placement",
|
||||||
|
"d": "Controls the location of the chest pocket."
|
||||||
|
},
|
||||||
|
"chestPocketAngle": {
|
||||||
|
"t": "Chest pocket angle",
|
||||||
|
"d": "Controls the slant of the chest pocket."
|
||||||
|
},
|
||||||
|
"chestPocketWidth": {
|
||||||
|
"t": "Chest pocket width",
|
||||||
|
"d": "Controls the width of the chest pocket."
|
||||||
|
},
|
||||||
|
"innerPocketPlacement": {
|
||||||
|
"t": "Inner pocket placement",
|
||||||
|
"d": "Controls the location of the inner pocket."
|
||||||
|
},
|
||||||
|
"innerPocketDepth": {
|
||||||
|
"t": "Inner pocket depth",
|
||||||
|
"d": "Controls the depth of the inner pocket."
|
||||||
|
},
|
||||||
|
"innerPocketWidth": {
|
||||||
|
"t": "Inner pocket width",
|
||||||
|
"d": "Controls the width of the inner pocket."
|
||||||
|
},
|
||||||
|
"innerPocketWeltHeight": {
|
||||||
|
"t": "Inner pocket welt height",
|
||||||
|
"d": "Controls the height of the inner pocket welts."
|
||||||
|
},
|
||||||
|
"sleeveBend": {
|
||||||
|
"t": "Sleeve bend",
|
||||||
|
"d": "The angle of the sleeve at the elbow."
|
||||||
|
},
|
||||||
|
"sleevecapHeight": {
|
||||||
|
"t": "Sleevecap height",
|
||||||
|
"d": "Controls the height of the sleevecap."
|
||||||
|
},
|
||||||
|
"sleevecapEase": {
|
||||||
|
"t": "Sleevecap ease",
|
||||||
|
"d": "Controls the amount of sleevecap ease."
|
||||||
|
},
|
||||||
|
"cuffLength": {
|
||||||
|
"t": "Cuff length",
|
||||||
|
"d": "Controls the length (height if you wish) of the cuffs."
|
||||||
|
},
|
||||||
|
"collarFlare": {
|
||||||
|
"t": "Collar flare",
|
||||||
|
"d": "Controls the flare of the collar by altering the fall length (between the neck and the tips) of the collar."
|
||||||
|
},
|
||||||
|
"collarSpread": {
|
||||||
|
"t": "Collar spread",
|
||||||
|
"d": "Controls how close the collar lies to the neck."
|
||||||
|
},
|
||||||
|
"waistEase": {
|
||||||
|
"t": "Waist ease",
|
||||||
|
"d": "Controls the amount of ease at your waist."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,6 +61,78 @@
|
||||||
"buttonSpacingHorizontal": {
|
"buttonSpacingHorizontal": {
|
||||||
"t": "Espacement horizontal des boutons",
|
"t": "Espacement horizontal des boutons",
|
||||||
"d": "L'espacement horizontal des boutons détermine également le chevauchement de la fermeture avant"
|
"d": "L'espacement horizontal des boutons détermine également le chevauchement de la fermeture avant"
|
||||||
|
},
|
||||||
|
"lapelReduction": {
|
||||||
|
"t": "Lapel reduction",
|
||||||
|
"d": "Controls how much the lapel tip goes inwards."
|
||||||
|
},
|
||||||
|
"frontOverlap": {
|
||||||
|
"t": "Front overlap",
|
||||||
|
"d": "Controls how much the right and left front of the garment overlap at the center front."
|
||||||
|
},
|
||||||
|
"pocketHeight": {
|
||||||
|
"t": "Pocket height",
|
||||||
|
"d": "Controls the height of the front pockets"
|
||||||
|
},
|
||||||
|
"pocketWidth": {
|
||||||
|
"t": "Pocket width",
|
||||||
|
"d": "Controls the width of the front pockets"
|
||||||
|
},
|
||||||
|
"chestPocketPlacement": {
|
||||||
|
"t": "Chest pocket placement",
|
||||||
|
"d": "Controls the location of the chest pocket."
|
||||||
|
},
|
||||||
|
"chestPocketAngle": {
|
||||||
|
"t": "Chest pocket angle",
|
||||||
|
"d": "Controls the slant of the chest pocket."
|
||||||
|
},
|
||||||
|
"chestPocketWidth": {
|
||||||
|
"t": "Chest pocket width",
|
||||||
|
"d": "Controls the width of the chest pocket."
|
||||||
|
},
|
||||||
|
"innerPocketPlacement": {
|
||||||
|
"t": "Inner pocket placement",
|
||||||
|
"d": "Controls the location of the inner pocket."
|
||||||
|
},
|
||||||
|
"innerPocketDepth": {
|
||||||
|
"t": "Inner pocket depth",
|
||||||
|
"d": "Controls the depth of the inner pocket."
|
||||||
|
},
|
||||||
|
"innerPocketWidth": {
|
||||||
|
"t": "Inner pocket width",
|
||||||
|
"d": "Controls the width of the inner pocket."
|
||||||
|
},
|
||||||
|
"innerPocketWeltHeight": {
|
||||||
|
"t": "Inner pocket welt height",
|
||||||
|
"d": "Controls the height of the inner pocket welts."
|
||||||
|
},
|
||||||
|
"sleeveBend": {
|
||||||
|
"t": "Sleeve bend",
|
||||||
|
"d": "The angle of the sleeve at the elbow."
|
||||||
|
},
|
||||||
|
"sleevecapHeight": {
|
||||||
|
"t": "Sleevecap height",
|
||||||
|
"d": "Controls the height of the sleevecap."
|
||||||
|
},
|
||||||
|
"sleevecapEase": {
|
||||||
|
"t": "Sleevecap ease",
|
||||||
|
"d": "Controls the amount of sleevecap ease."
|
||||||
|
},
|
||||||
|
"cuffLength": {
|
||||||
|
"t": "Cuff length",
|
||||||
|
"d": "Controls the length (height if you wish) of the cuffs."
|
||||||
|
},
|
||||||
|
"collarFlare": {
|
||||||
|
"t": "Collar flare",
|
||||||
|
"d": "Controls the flare of the collar by altering the fall length (between the neck and the tips) of the collar."
|
||||||
|
},
|
||||||
|
"collarSpread": {
|
||||||
|
"t": "Collar spread",
|
||||||
|
"d": "Controls how close the collar lies to the neck."
|
||||||
|
},
|
||||||
|
"waistEase": {
|
||||||
|
"t": "Waist ease",
|
||||||
|
"d": "Controls the amount of ease at your waist."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,6 +61,78 @@
|
||||||
"buttonSpacingHorizontal": {
|
"buttonSpacingHorizontal": {
|
||||||
"t": "Spreiding knopen horizontaal",
|
"t": "Spreiding knopen horizontaal",
|
||||||
"d": "De spreiding van de knopen horizontaal. Bepaalt ook de mate waarin de sluiting vooraan overlapt"
|
"d": "De spreiding van de knopen horizontaal. Bepaalt ook de mate waarin de sluiting vooraan overlapt"
|
||||||
|
},
|
||||||
|
"lapelReduction": {
|
||||||
|
"t": "Lapel reduction",
|
||||||
|
"d": "Controls how much the lapel tip goes inwards."
|
||||||
|
},
|
||||||
|
"frontOverlap": {
|
||||||
|
"t": "Front overlap",
|
||||||
|
"d": "Controls how much the right and left front of the garment overlap at the center front."
|
||||||
|
},
|
||||||
|
"pocketHeight": {
|
||||||
|
"t": "Pocket height",
|
||||||
|
"d": "Controls the height of the front pockets"
|
||||||
|
},
|
||||||
|
"pocketWidth": {
|
||||||
|
"t": "Pocket width",
|
||||||
|
"d": "Controls the width of the front pockets"
|
||||||
|
},
|
||||||
|
"chestPocketPlacement": {
|
||||||
|
"t": "Chest pocket placement",
|
||||||
|
"d": "Controls the location of the chest pocket."
|
||||||
|
},
|
||||||
|
"chestPocketAngle": {
|
||||||
|
"t": "Chest pocket angle",
|
||||||
|
"d": "Controls the slant of the chest pocket."
|
||||||
|
},
|
||||||
|
"chestPocketWidth": {
|
||||||
|
"t": "Chest pocket width",
|
||||||
|
"d": "Controls the width of the chest pocket."
|
||||||
|
},
|
||||||
|
"innerPocketPlacement": {
|
||||||
|
"t": "Inner pocket placement",
|
||||||
|
"d": "Controls the location of the inner pocket."
|
||||||
|
},
|
||||||
|
"innerPocketDepth": {
|
||||||
|
"t": "Inner pocket depth",
|
||||||
|
"d": "Controls the depth of the inner pocket."
|
||||||
|
},
|
||||||
|
"innerPocketWidth": {
|
||||||
|
"t": "Inner pocket width",
|
||||||
|
"d": "Controls the width of the inner pocket."
|
||||||
|
},
|
||||||
|
"innerPocketWeltHeight": {
|
||||||
|
"t": "Inner pocket welt height",
|
||||||
|
"d": "Controls the height of the inner pocket welts."
|
||||||
|
},
|
||||||
|
"sleeveBend": {
|
||||||
|
"t": "Sleeve bend",
|
||||||
|
"d": "The angle of the sleeve at the elbow."
|
||||||
|
},
|
||||||
|
"sleevecapHeight": {
|
||||||
|
"t": "Sleevecap height",
|
||||||
|
"d": "Controls the height of the sleevecap."
|
||||||
|
},
|
||||||
|
"sleevecapEase": {
|
||||||
|
"t": "Sleevecap ease",
|
||||||
|
"d": "Controls the amount of sleevecap ease."
|
||||||
|
},
|
||||||
|
"cuffLength": {
|
||||||
|
"t": "Cuff length",
|
||||||
|
"d": "Controls the length (height if you wish) of the cuffs."
|
||||||
|
},
|
||||||
|
"collarFlare": {
|
||||||
|
"t": "Collar flare",
|
||||||
|
"d": "Controls the flare of the collar by altering the fall length (between the neck and the tips) of the collar."
|
||||||
|
},
|
||||||
|
"collarSpread": {
|
||||||
|
"t": "Collar spread",
|
||||||
|
"d": "Controls how close the collar lies to the neck."
|
||||||
|
},
|
||||||
|
"waistEase": {
|
||||||
|
"t": "Waist ease",
|
||||||
|
"d": "Controls the amount of ease at your waist."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
import { Design } from '@freesewing/core'
|
import { Design, mergeI18n } from '@freesewing/core'
|
||||||
import { data } from '../data.mjs'
|
import { data } from '../data.mjs'
|
||||||
|
import { i18n as brianI18n, Brian, sleevecap as brianSleevecap } from '@freesewing/brian'
|
||||||
|
import { i18n as carltonI18n } from '../i18n/index.mjs'
|
||||||
// Parts
|
// Parts
|
||||||
import { front } from './front.mjs'
|
import { front } from './front.mjs'
|
||||||
import { back } from './back.mjs'
|
import { back } from './back.mjs'
|
||||||
|
@ -18,8 +20,6 @@ import { chestPocketBag } from './chestpocketbag.mjs'
|
||||||
import { innerPocketWelt } from './innerpocketwelt.mjs'
|
import { innerPocketWelt } from './innerpocketwelt.mjs'
|
||||||
import { innerPocketBag } from './innerpocketbag.mjs'
|
import { innerPocketBag } from './innerpocketbag.mjs'
|
||||||
import { innerPocketTab } from './innerpockettab.mjs'
|
import { innerPocketTab } from './innerpockettab.mjs'
|
||||||
// Translation
|
|
||||||
import { i18n } from '../i18n/index.mjs'
|
|
||||||
|
|
||||||
// Create design
|
// Create design
|
||||||
const Carlton = new Design({
|
const Carlton = new Design({
|
||||||
|
@ -45,6 +45,17 @@ const Carlton = new Design({
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// Merge translations
|
||||||
|
const i18n = mergeI18n([brianI18n, carltonI18n], {
|
||||||
|
o: {
|
||||||
|
keep: [
|
||||||
|
...Object.keys(Brian.patternConfig.options),
|
||||||
|
...Object.keys(Carlton.patternConfig.options),
|
||||||
|
],
|
||||||
|
drop: Object.keys(brianSleevecap.options).filter((o) => o !== 'sleevecapEase'),
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
// Named exports
|
// Named exports
|
||||||
export {
|
export {
|
||||||
front,
|
front,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue