feat(sven): Add i18n named export
This commit is contained in:
parent
d8b5f3c27c
commit
6e4325c8c5
1 changed files with 7 additions and 2 deletions
|
@ -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 svenI18n } from '../i18n/index.mjs'
|
||||||
import { front, back } from './frontback.mjs'
|
import { front, back } from './frontback.mjs'
|
||||||
import { sleeve } from './sleeve.mjs'
|
import { sleeve } from './sleeve.mjs'
|
||||||
import { cuff } from './cuff.mjs'
|
import { cuff } from './cuff.mjs'
|
||||||
|
@ -11,5 +13,8 @@ const Sven = new Design({
|
||||||
parts: [front, back, sleeve, cuff, waistband],
|
parts: [front, back, sleeve, cuff, waistband],
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// Merge translations
|
||||||
|
const i18n = mergeI18n([brianI18n, svenI18n])
|
||||||
|
|
||||||
// Named exports
|
// Named exports
|
||||||
export { front, back, sleeve, cuff, waistband, Sven }
|
export { front, back, sleeve, cuff, waistband, Sven, i18n }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue