feat(yuri): Add i18n named export
This commit is contained in:
parent
ce8c31b6db
commit
38f50fc0be
2 changed files with 14 additions and 3 deletions
|
@ -10,5 +10,10 @@
|
|||
"sleeve": "Sleeve"
|
||||
},
|
||||
"s": {},
|
||||
"o": {}
|
||||
"o": {
|
||||
"hipsEase": {
|
||||
"t": "Hips ease",
|
||||
"d": "Controls the amount of 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 { i18n as brianI18n } from '@freesewing/brian'
|
||||
import { i18n as yuriI18n } from '../i18n/index.mjs'
|
||||
import { back } from './back.mjs'
|
||||
import { front } from './front.mjs'
|
||||
import { sleeve } from './sleeve.mjs'
|
||||
|
@ -13,5 +15,9 @@ const Yuri = new Design({
|
|||
parts: [back, front, sleeve, gusset, hoodSide, hoodCenter],
|
||||
})
|
||||
|
||||
// Merge translations
|
||||
const i18n = mergeI18n([brianI18n, yuriI18n])
|
||||
|
||||
// Named exports
|
||||
export { back, front, sleeve, gusset, hoodSide, hoodCenter, Yuri }
|
||||
// Named exports
|
||||
export { back, front, sleeve, gusset, hoodSide, hoodCenter, Yuri, i18n }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue