diff --git a/packages/collection/src/i18n.mjs b/packages/collection/src/i18n.mjs new file mode 100644 index 00000000000..aed65633908 --- /dev/null +++ b/packages/collection/src/i18n.mjs @@ -0,0 +1,123 @@ +// Designs +import { i18n as aaron } from '@freesewing/aaron' +import { i18n as albert } from '@freesewing/albert' +import { i18n as bee } from '@freesewing/bee' +import { i18n as bella } from '@freesewing/bella' +import { i18n as benjamin } from '@freesewing/benjamin' +import { i18n as bent } from '@freesewing/bent' +import { i18n as bibi } from '@freesewing/bibi' +import { i18n as bob } from '@freesewing/bob' +import { i18n as breanna } from '@freesewing/breanna' +import { i18n as brian } from '@freesewing/brian' +import { i18n as bruce } from '@freesewing/bruce' +import { i18n as carlita } from '@freesewing/carlita' +import { i18n as carlton } from '@freesewing/carlton' +import { i18n as cathrin } from '@freesewing/cathrin' +import { i18n as charlie } from '@freesewing/charlie' +import { i18n as cornelius } from '@freesewing/cornelius' +import { i18n as diana } from '@freesewing/diana' +import { i18n as florence } from '@freesewing/florence' +import { i18n as florent } from '@freesewing/florent' +import { i18n as gozer } from '@freesewing/gozer' +import { i18n as hi } from '@freesewing/hi' +import { i18n as holmes } from '@freesewing/holmes' +import { i18n as hortensia } from '@freesewing/hortensia' +import { i18n as huey } from '@freesewing/huey' +import { i18n as hugo } from '@freesewing/hugo' +import { i18n as jaeger } from '@freesewing/jaeger' +import { i18n as jane } from '@freesewing/jane' +import { i18n as lucy } from '@freesewing/lucy' +import { i18n as lumina } from '@freesewing/lumina' +import { i18n as lumira } from '@freesewing/lumira' +import { i18n as lunetius } from '@freesewing/lunetius' +import { i18n as noble } from '@freesewing/noble' +import { i18n as octoplushy } from '@freesewing/octoplushy' +import { i18n as onyx } from '@freesewing/onyx' +import { i18n as opal } from '@freesewing/opal' +import { i18n as otis } from '@freesewing/otis' +import { i18n as paco } from '@freesewing/paco' +import { i18n as penelope } from '@freesewing/penelope' +import { i18n as sandy } from '@freesewing/sandy' +import { i18n as shelly } from '@freesewing/shelly' +import { i18n as shin } from '@freesewing/shin' +import { i18n as simon } from '@freesewing/simon' +import { i18n as simone } from '@freesewing/simone' +import { i18n as skully } from '@freesewing/skully' +import { i18n as sven } from '@freesewing/sven' +import { i18n as tamiko } from '@freesewing/tamiko' +import { i18n as teagan } from '@freesewing/teagan' +import { i18n as tiberius } from '@freesewing/tiberius' +import { i18n as titan } from '@freesewing/titan' +import { i18n as trayvon } from '@freesewing/trayvon' +import { i18n as tristan } from '@freesewing/tristan' +import { i18n as uma } from '@freesewing/uma' +import { i18n as umbra } from '@freesewing/umbra' +import { i18n as wahid } from '@freesewing/wahid' +import { i18n as walburga } from '@freesewing/walburga' +import { i18n as waralee } from '@freesewing/waralee' +import { i18n as yuri } from '@freesewing/yuri' +import { i18n as lily } from '@freesewing/lily' + +/* + * Export the translations + */ +export const i18n = { + aaron, + albert, + bee, + bella, + benjamin, + bent, + bibi, + bob, + breanna, + brian, + bruce, + carlita, + carlton, + cathrin, + charlie, + cornelius, + diana, + florence, + florent, + gozer, + hi, + holmes, + hortensia, + huey, + hugo, + jaeger, + jane, + lucy, + lumina, + lumira, + lunetius, + noble, + octoplushy, + onyx, + opal, + otis, + paco, + penelope, + sandy, + shelly, + shin, + simon, + simone, + skully, + sven, + tamiko, + teagan, + tiberius, + titan, + trayvon, + tristan, + uma, + umbra, + wahid, + walburga, + waralee, + yuri, + lily, +} diff --git a/packages/collection/src/index.mjs b/packages/collection/src/index.mjs index 26595fa6ff2..9abb1aa20f8 100644 --- a/packages/collection/src/index.mjs +++ b/packages/collection/src/index.mjs @@ -57,6 +57,8 @@ import { Walburga as walburga } from '@freesewing/walburga' import { Waralee as waralee } from '@freesewing/waralee' import { Yuri as yuri } from '@freesewing/yuri' import { Lily as lily } from '@freesewing/lily' +// Translations +import { i18n as translations } from './i18n.mjs' // Examples import { designExampleIds, designExampleHrefs } from './examples.mjs' @@ -170,6 +172,11 @@ export const designers = Array.from(_dess) .filter((t) => (t ? true : false)) .sort() +/* + * Export the translations + */ +export const i18n = translations + /* * These are examples */ diff --git a/packages/react/components/Collection/index.mjs b/packages/react/components/Collection/index.mjs index e1953bd423e..10fb5f2689d 100644 --- a/packages/react/components/Collection/index.mjs +++ b/packages/react/components/Collection/index.mjs @@ -426,7 +426,7 @@ export const DesignInfo = ({ Link = false, design = false, noDocsLink = false })