feat(teagan): Add i18n named export
This commit is contained in:
parent
f4f27b3c3c
commit
7992b99f8d
6 changed files with 69 additions and 2 deletions
|
@ -33,6 +33,18 @@
|
||||||
"necklineWidth": {
|
"necklineWidth": {
|
||||||
"t": "Ausschnittbreite",
|
"t": "Ausschnittbreite",
|
||||||
"d": "Steuert die Breite des Halsausschnitts."
|
"d": "Steuert die Breite des Halsausschnitts."
|
||||||
|
},
|
||||||
|
"curveToWaist": {
|
||||||
|
"t": "Fit the waist",
|
||||||
|
"d": "Whether or not to fit the waist or rahter only fit chest and hips."
|
||||||
|
},
|
||||||
|
"curvedWaistEase": {
|
||||||
|
"t": "Waist ease",
|
||||||
|
"d": "Ease at the waist (only applies when the waist is fitted)."
|
||||||
|
},
|
||||||
|
"hipsEase": {
|
||||||
|
"t": "Hips ease",
|
||||||
|
"d": "Ease at the hips."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,6 +33,18 @@
|
||||||
"necklineWidth": {
|
"necklineWidth": {
|
||||||
"t": "Neckline width",
|
"t": "Neckline width",
|
||||||
"d": "Controls the width of the neck opening."
|
"d": "Controls the width of the neck opening."
|
||||||
|
},
|
||||||
|
"curveToWaist": {
|
||||||
|
"t": "Fit the waist",
|
||||||
|
"d": "Whether or not to fit the waist or rahter only fit chest and hips."
|
||||||
|
},
|
||||||
|
"curvedWaistEase": {
|
||||||
|
"t": "Waist ease",
|
||||||
|
"d": "Ease at the waist (only applies when the waist is fitted)."
|
||||||
|
},
|
||||||
|
"hipsEase": {
|
||||||
|
"t": "Hips ease",
|
||||||
|
"d": "Ease at the hips."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,6 +33,18 @@
|
||||||
"necklineWidth": {
|
"necklineWidth": {
|
||||||
"t": "Neckline width",
|
"t": "Neckline width",
|
||||||
"d": "Controla el ancho de la abertura del cuello."
|
"d": "Controla el ancho de la abertura del cuello."
|
||||||
|
},
|
||||||
|
"curveToWaist": {
|
||||||
|
"t": "Fit the waist",
|
||||||
|
"d": "Whether or not to fit the waist or rahter only fit chest and hips."
|
||||||
|
},
|
||||||
|
"curvedWaistEase": {
|
||||||
|
"t": "Waist ease",
|
||||||
|
"d": "Ease at the waist (only applies when the waist is fitted)."
|
||||||
|
},
|
||||||
|
"hipsEase": {
|
||||||
|
"t": "Hips ease",
|
||||||
|
"d": "Ease at the hips."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,6 +33,18 @@
|
||||||
"necklineWidth": {
|
"necklineWidth": {
|
||||||
"t": "Largeur d'encolure",
|
"t": "Largeur d'encolure",
|
||||||
"d": "Contrôle la largeur de l'encolure."
|
"d": "Contrôle la largeur de l'encolure."
|
||||||
|
},
|
||||||
|
"curveToWaist": {
|
||||||
|
"t": "Fit the waist",
|
||||||
|
"d": "Whether or not to fit the waist or rahter only fit chest and hips."
|
||||||
|
},
|
||||||
|
"curvedWaistEase": {
|
||||||
|
"t": "Waist ease",
|
||||||
|
"d": "Ease at the waist (only applies when the waist is fitted)."
|
||||||
|
},
|
||||||
|
"hipsEase": {
|
||||||
|
"t": "Hips ease",
|
||||||
|
"d": "Ease at the hips."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,6 +33,18 @@
|
||||||
"necklineWidth": {
|
"necklineWidth": {
|
||||||
"t": "Breedte halsuitsnijding",
|
"t": "Breedte halsuitsnijding",
|
||||||
"d": "Bepaalt hoe breed de halsopening is."
|
"d": "Bepaalt hoe breed de halsopening is."
|
||||||
|
},
|
||||||
|
"curveToWaist": {
|
||||||
|
"t": "Fit the waist",
|
||||||
|
"d": "Whether or not to fit the waist or rahter only fit chest and hips."
|
||||||
|
},
|
||||||
|
"curvedWaistEase": {
|
||||||
|
"t": "Waist ease",
|
||||||
|
"d": "Ease at the waist (only applies when the waist is fitted)."
|
||||||
|
},
|
||||||
|
"hipsEase": {
|
||||||
|
"t": "Hips ease",
|
||||||
|
"d": "Ease at the hips."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 } from '@freesewing/brian'
|
||||||
|
import { i18n as teaganI18n } from '../i18n/index.mjs'
|
||||||
import { back } from './back.mjs'
|
import { back } from './back.mjs'
|
||||||
import { front } from './front.mjs'
|
import { front } from './front.mjs'
|
||||||
import { sleeve } from './sleeve.mjs'
|
import { sleeve } from './sleeve.mjs'
|
||||||
|
@ -10,5 +12,10 @@ const Teagan = new Design({
|
||||||
parts: [back, front, sleeve],
|
parts: [back, front, sleeve],
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// Merge translations
|
||||||
|
const i18n = mergeI18n([brianI18n, teaganI18n], {
|
||||||
|
o: { drop: ['sleeveLengthBonus'] },
|
||||||
|
})
|
||||||
|
|
||||||
// Named exports
|
// Named exports
|
||||||
export { back, front, sleeve, Teagan }
|
export { back, front, sleeve, Teagan, i18n }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue