1
0
Fork 0

chore(i18n): Added octoplushy translations

This commit is contained in:
joostdecock 2022-08-22 18:24:11 +02:00
parent d17cbedea6
commit 5ae7af1e2d
16 changed files with 386 additions and 0 deletions

View file

@ -43,6 +43,7 @@ import unice from 'unice.yml'
import lucy from 'lucy.yml'
import bob from 'bob.yml'
import noble from 'noble.yml'
import octoplushy from 'octoplushy.yml'
import { options as optionList } from '@freesewing/pattern-info'
import shared from '../../../shared-options.yml'
@ -93,6 +94,7 @@ let patterns = {
lucy,
bob,
noble,
octoplushy,
}
let options = {}

View file

@ -0,0 +1,36 @@
size:
title: Size
description: Controls the overall size
type:
title: Type
description: Allows you to choose one of the variants of this design
armWidth:
title: Arm width
description: Controls the width of the arms
armLength:
title: Arm width
description: Controls the length of the arms
neckWidth:
title: Neck width
description: Determines the width at the neck
armTaper:
title: Arm tapering
description: Controls the amount by which the arms taper
bottomTopArmRatio:
title: Bottom/Top arm ratio
description: "FIXME: No idea what this does"
bottomArmReduction:
title: Bottom arm reduction
description: "FIXME: No idea what this does"
bottomArmReductionPlushy:
title: Bottom arm reduction (plushy)
description: "FIXME: No idea what this does"

View file

@ -43,6 +43,7 @@ import unice from 'unice.yml'
import lucy from 'lucy.yml'
import bob from 'bob.yml'
import noble from 'noble.yml'
import octoplushy from 'octoplushy.yml'
import { options as optionList } from '@freesewing/pattern-info'
import shared from '../../../shared-options.yml'
@ -93,6 +94,7 @@ let patterns = {
lucy,
bob,
noble,
octoplushy,
}
let options = {}

View file

@ -0,0 +1,36 @@
size:
title: Size
description: Controls the overall size
type:
title: Type
description: Allows you to choose one of the variants of this design
armWidth:
title: Arm width
description: Controls the width of the arms
armLength:
title: Arm width
description: Controls the length of the arms
neckWidth:
title: Neck width
description: Determines the width at the neck
armTaper:
title: Arm tapering
description: Controls the amount by which the arms taper
bottomTopArmRatio:
title: Bottom/Top arm ratio
description: "FIXME: No idea what this does"
bottomArmReduction:
title: Bottom arm reduction
description: "FIXME: No idea what this does"
bottomArmReductionPlushy:
title: Bottom arm reduction (plushy)
description: "FIXME: No idea what this does"

View file

@ -79,6 +79,9 @@ lunetius:
noble:
description: Noble is a body block with prince(ess) seams
title: Noble body block
octoplushy:
description: A multi-armed companion for next-level hugs
title: Octoplushy the octopus
paco:
description: Paco are casual yet stylish summer pants.
title: Paco pants

View file

@ -43,6 +43,7 @@ import unice from 'unice.yml'
import lucy from 'lucy.yml'
import bob from 'bob.yml'
import noble from 'noble.yml'
import octoplushy from 'octoplushy.yml'
import { options as optionList } from '@freesewing/pattern-info'
import shared from '../../../shared-options.yml'
@ -93,6 +94,7 @@ let patterns = {
lucy,
bob,
noble,
octoplushy,
}
let options = {}

View file

@ -0,0 +1,36 @@
size:
title: Size
description: Controls the overall size
type:
title: Type
description: Allows you to choose one of the variants of this design
armWidth:
title: Arm width
description: Controls the width of the arms
armLength:
title: Arm width
description: Controls the length of the arms
neckWidth:
title: Neck width
description: Determines the width at the neck
armTaper:
title: Arm tapering
description: Controls the amount by which the arms taper
bottomTopArmRatio:
title: Bottom/Top arm ratio
description: "FIXME: No idea what this does"
bottomArmReduction:
title: Bottom arm reduction
description: "FIXME: No idea what this does"
bottomArmReductionPlushy:
title: Bottom arm reduction (plushy)
description: "FIXME: No idea what this does"

View file

@ -43,6 +43,7 @@ import unice from 'unice.yml'
import lucy from 'lucy.yml'
import bob from 'bob.yml'
import noble from 'noble.yml'
import octoplushy from 'octoplushy.yml'
import { options as optionList } from '@freesewing/pattern-info'
import shared from '../../../shared-options.yml'
@ -93,6 +94,7 @@ let patterns = {
lucy,
bob,
noble,
octoplushy,
}
let options = {}

View file

@ -0,0 +1,36 @@
size:
title: Size
description: Controls the overall size
type:
title: Type
description: Allows you to choose one of the variants of this design
armWidth:
title: Arm width
description: Controls the width of the arms
armLength:
title: Arm width
description: Controls the length of the arms
neckWidth:
title: Neck width
description: Determines the width at the neck
armTaper:
title: Arm tapering
description: Controls the amount by which the arms taper
bottomTopArmRatio:
title: Bottom/Top arm ratio
description: "FIXME: No idea what this does"
bottomArmReduction:
title: Bottom arm reduction
description: "FIXME: No idea what this does"
bottomArmReductionPlushy:
title: Bottom arm reduction (plushy)
description: "FIXME: No idea what this does"

View file

@ -43,6 +43,7 @@ import unice from 'unice.yml'
import lucy from 'lucy.yml'
import bob from 'bob.yml'
import noble from 'noble.yml'
import octoplushy from 'octoplushy.yml'
import { options as optionList } from '@freesewing/pattern-info'
import shared from '../../../shared-options.yml'
@ -93,6 +94,7 @@ let patterns = {
lucy,
bob,
noble,
octoplushy,
}
let options = {}

View file

@ -0,0 +1,36 @@
size:
title: Size
description: Controls the overall size
type:
title: Type
description: Allows you to choose one of the variants of this design
armWidth:
title: Arm width
description: Controls the width of the arms
armLength:
title: Arm width
description: Controls the length of the arms
neckWidth:
title: Neck width
description: Determines the width at the neck
armTaper:
title: Arm tapering
description: Controls the amount by which the arms taper
bottomTopArmRatio:
title: Bottom/Top arm ratio
description: "FIXME: No idea what this does"
bottomArmReduction:
title: Bottom arm reduction
description: "FIXME: No idea what this does"
bottomArmReductionPlushy:
title: Bottom arm reduction (plushy)
description: "FIXME: No idea what this does"

View file

@ -0,0 +1,127 @@
import florence from './florence.yml'
import brian from './brian.yml'
import bella from './bella.yml'
import breanna from './breanna.yml'
import diana from './diana.yml'
import aaron from './aaron.yml'
import simon from './simon.yml'
import simone from './simone.yml'
import sven from './sven.yml'
import wahid from './wahid.yml'
import bent from './bent.yml'
import bruce from './bruce.yml'
import cathrin from './cathrin.yml'
import holmes from './holmes.yml'
import huey from './huey.yml'
import hugo from './hugo.yml'
import tamiko from './tamiko.yml'
import teagan from './teagan.yml'
import trayvon from './trayvon.yml'
import jaeger from './jaeger.yml'
import carlton from './carlton.yml'
import carlita from './carlita.yml'
import benjamin from './benjamin.yml'
import florent from './florent.yml'
import theo from './theo.yml'
import sandy from './sandy.yml'
import shin from './shin.yml'
import penelope from './penelope.yml'
import waralee from './waralee.yml'
import titan from './titan.yml'
import paco from './paco.yml'
import albert from './albert.yml'
import hortensia from './hortensia.yml'
import cornelius from './cornelius.yml'
import charlie from './charlie.yml'
import ursula from './ursula.yml'
import lunetius from './lunetius.yml'
import tiberius from './tiberius.yml'
import walburga from './walburga.yml'
import bee from './bee.yml'
import hi from 'hi.yml'
import unice from 'unice.yml'
import lucy from 'lucy.yml'
import bob from 'bob.yml'
import noble from 'noble.yml'
import octoplushy from 'octoplushy.yml'
import { options as optionList } from '@freesewing/pattern-info'
import shared from '../../../shared-options.yml'
let patterns = {
florence,
bella,
brian,
breanna,
diana,
aaron,
simon,
simone,
sven,
wahid,
bent,
bruce,
cathrin,
huey,
hugo,
tamiko,
trayvon,
jaeger,
carlton,
carlita,
benjamin,
florent,
theo,
sandy,
shin,
penelope,
waralee,
holmes,
titan,
paco,
teagan,
albert,
hortensia,
cornelius,
charlie,
ursula,
yuri: false,
lunetius,
tiberius,
walburga,
bee,
hi,
unice,
lucy,
bob,
noble,
octoplushy,
}
let options = {}
for (let pattern in patterns) {
options[pattern] = {}
if (typeof optionList[pattern] === 'undefined')
throw new Error('pattern ' + pattern + ' has no option list')
for (let option of optionList[pattern]) {
let value = patterns[pattern][option]
if (typeof value === 'object') options[pattern][option] = value
else {
if (typeof value === 'undefined') {
if (shared[pattern]) {
if (shared[pattern].dflt && typeof patterns[shared[pattern].dflt][option] === 'object') {
options[pattern][option] = patterns[shared[pattern].dflt][option]
} else if (
typeof shared[pattern].other !== 'undefined' &&
typeof shared[pattern].other[option] === 'string'
) {
options[pattern][option] = patterns[shared[pattern].other[option]][option]
} else {
throw new Error(`No option translation found for ${option} in ${pattern}`)
}
}
}
}
}
}
export default options

View file

@ -0,0 +1,36 @@
size:
title: Size
description: Controls the overall size
type:
title: Type
description: Allows you to choose one of the variants of this design
armWidth:
title: Arm width
description: Controls the width of the arms
armLength:
title: Arm width
description: Controls the length of the arms
neckWidth:
title: Neck width
description: Determines the width at the neck
armTaper:
title: Arm tapering
description: Controls the amount by which the arms taper
bottomTopArmRatio:
title: Bottom/Top arm ratio
description: "FIXME: No idea what this does"
bottomArmReduction:
title: Bottom arm reduction
description: "FIXME: No idea what this does"
bottomArmReductionPlushy:
title: Bottom arm reduction (plushy)
description: "FIXME: No idea what this does"

View file

@ -51,6 +51,7 @@ import o_jaeger from "./o_jaeger.mjs"
import o_lucy from "./o_lucy.mjs"
import o_lunetius from "./o_lunetius.mjs"
import o_noble from "./o_noble.mjs"
import o_octoplushy from "./o_octoplushy.mjs"
import o_paco from "./o_paco.mjs"
import o_penelope from "./o_penelope.mjs"
import o_sandy from "./o_sandy.mjs"
@ -125,6 +126,7 @@ const allNamespaces = {
o_lucy,
o_lunetius,
o_noble,
o_octoplushy,
o_paco,
o_penelope,
o_sandy,

View file

@ -0,0 +1,26 @@
/*
* This file is auto-generated by the prebuild script
* All edits will be overwritten on the next (pre)build
*/
const o_octoplushy = {
"size.t": "Size",
"size.d": "Controls the overall size",
"type.t": "Type",
"type.d": "Allows you to choose one of the variants of this design",
"armWidth.t": "Arm width",
"armWidth.d": "Controls the width of the arms",
"armLength.t": "Arm width",
"armLength.d": "Controls the length of the arms",
"neckWidth.t": "Neck width",
"neckWidth.d": "Determines the width at the neck",
"armTaper.t": "Arm tapering",
"armTaper.d": "Controls the amount by which the arms taper",
"bottomTopArmRatio.t": "Bottom/Top arm ratio",
"bottomTopArmRatio.d": "FIXME: No idea what this does",
"bottomArmReduction.t": "Bottom arm reduction",
"bottomArmReduction.d": "FIXME: No idea what this does",
"bottomArmReductionPlushy.t": "Bottom arm reduction (plushy)",
"bottomArmReductionPlushy.d": "FIXME: No idea what this does"
}
export default o_octoplushy

View file

@ -57,6 +57,8 @@ const patterns = {
"lunetius.d": "Lunetius is a lacerna, a historical Roman cloak",
"noble.t": "Noble body block",
"noble.d": "Noble is a body block with prince(ess) seams",
"octoplushy.t": "Octoplushy the octopus",
"octoplushy.d": "A multi-armed companion for next-level hugs",
"paco.t": "Paco pants",
"paco.d": "Paco are casual yet stylish summer pants.",
"penelope.t": "Penelope pencil skirt",