1
0
Fork 0

fix(carlton): Add missing options in translation config

This commit is contained in:
joostdecock 2023-07-02 14:34:28 +02:00
parent 29b1c41c35
commit 1b800b4ad8
6 changed files with 374 additions and 3 deletions

View file

@ -61,6 +61,78 @@
"buttonSpacingHorizontal": {
"t": "Horizontaler Knopfabstand",
"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."
}
}
}

View file

@ -61,6 +61,78 @@
"buttonSpacingHorizontal": {
"t": "Horizontal button spacing",
"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."
}
}
}

View file

@ -61,6 +61,78 @@
"buttonSpacingHorizontal": {
"t": "Espaciado horizontal de los botones",
"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."
}
}
}

View file

@ -61,6 +61,78 @@
"buttonSpacingHorizontal": {
"t": "Espacement horizontal des boutons",
"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."
}
}
}

View file

@ -61,6 +61,78 @@
"buttonSpacingHorizontal": {
"t": "Spreiding knopen horizontaal",
"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."
}
}
}

View file

@ -1,5 +1,7 @@
import { Design } from '@freesewing/core'
import { Design, mergeI18n } from '@freesewing/core'
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
import { front } from './front.mjs'
import { back } from './back.mjs'
@ -18,8 +20,6 @@ import { chestPocketBag } from './chestpocketbag.mjs'
import { innerPocketWelt } from './innerpocketwelt.mjs'
import { innerPocketBag } from './innerpocketbag.mjs'
import { innerPocketTab } from './innerpockettab.mjs'
// Translation
import { i18n } from '../i18n/index.mjs'
// Create 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
export {
front,