Merge branch 'develop' of https://github.com/BenJamesBen/freesewing into fix-2399-simon-superfluous-notches
Update branch with latest files.
This commit is contained in:
commit
41b95fa4cd
19 changed files with 850 additions and 579 deletions
|
@ -33,6 +33,12 @@
|
|||
|
||||
- Fix hem allowance. Closes [#2350](https://github.com/freesewing/freesewing/issues/2350)
|
||||
|
||||
### simon
|
||||
|
||||
#### Fixed
|
||||
|
||||
- Fix issue with boxPleat and yoke Fixes [#2400](https://github.com/freesewing/freesewing/issues/2400)
|
||||
|
||||
### simone
|
||||
|
||||
#### Fixed
|
||||
|
|
|
@ -20,6 +20,9 @@ Unreleased:
|
|||
brian:
|
||||
- Make s3 options sticky to zero below 10% to avoid path split issues.
|
||||
Fixes [#2249](https://github.com/freesewing/freesewing/issues/2249)
|
||||
simon:
|
||||
- Fix issue with boxPleat and yoke
|
||||
Fixes [#2400](https://github.com/freesewing/freesewing/issues/2400)
|
||||
simone:
|
||||
- Don't do a negative FBA from there's no need for an FBA
|
||||
Fixes [#2121](https://github.com/freesewing/freesewing/issues/2121)
|
||||
|
|
|
@ -129,6 +129,7 @@ export default (part) => {
|
|||
} else points.cbTop = points.cbYoke
|
||||
|
||||
// Box pleat
|
||||
points.armholeYokeSplitPreBoxpleat = points.armholeYokeSplit.clone()
|
||||
if (options.boxPleat) {
|
||||
points.boxPleatLeft = points.cbTop.shift(0, store.get('boxPleatWidth') / 2)
|
||||
points.boxPleatMid = points.boxPleatLeft.shift(0, store.get('boxPleatFold'))
|
||||
|
|
|
@ -7,7 +7,7 @@ export default (part) => {
|
|||
}
|
||||
|
||||
// Paths
|
||||
paths.saBase = new Path().move(points.cbYoke).line(points.armholeYokeSplit)
|
||||
paths.saBase = new Path().move(points.cbYoke).line(points.armholeYokeSplitPreBoxpleat)
|
||||
if (options.yokeHeight > 0) paths.saBase = paths.saBase.join(paths.backArmholeYoke)
|
||||
paths.saBase = paths.saBase.line(points.s3CollarSplit).join(paths.backCollar)
|
||||
if (options.splitYoke) paths.saBase = paths.saBase.line(points.cbYoke).close()
|
||||
|
@ -29,6 +29,7 @@ export default (part) => {
|
|||
delete snippets.armholePitchNotch
|
||||
delete snippets.collarNotch
|
||||
delete snippets.shoulderNotch
|
||||
snippets.sleevecapNotch = new Snippet('notch', points.armholeYokeSplitPreBoxpleat)
|
||||
points.title = new Point(points.neck.x, points.cbYoke.y / 3)
|
||||
macro('title', { at: points.title, nr: 4, title: 'yoke', scale: 0.8 })
|
||||
points.logo = points.title.shift(-90, 50)
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
import {build} from '../src/prebuild.mjs'
|
||||
|
||||
// use a deny-list to keep locales that aren't ready out of the build
|
||||
export const denyList = ['uk']
|
||||
|
||||
// call this here instead of in the src/prebuild.mjs so that build isn't called by other files importing that build function
|
||||
build()
|
||||
build((loc) => denyList.indexOf(loc) === -1)
|
||||
|
|
|
@ -102,7 +102,7 @@ howToTakeMeasurements: Як робити заміри
|
|||
i18n: Інтернаціоналізація
|
||||
imperialUnits: Імперські одиниці (дюйм)
|
||||
instagram: Інстаграм
|
||||
invalidTldMessage: '.{tld} is not a valid TLD'
|
||||
invalidTldMessage: '.{tld} не є дійсним доменом верхнього рівня (TLD)'
|
||||
joinTheChatMsg: Ми маємо спільноту в Discord, де Ви можете поспілкуватися з привітними людьми.
|
||||
justAMoment: Зачекайте хвилинку
|
||||
layout: Макет
|
||||
|
|
|
@ -12,47 +12,47 @@ shoulderToShoulderEase:
|
|||
title: Свобода облягання ширини плечей
|
||||
description: Контролює свободу облягання ширини плечей. Початково налаштовано на -5%, бо Белла розроблена як викрійка-основа, що застосовується у швейній індустрії.
|
||||
fullChestEaseReduction:
|
||||
title: Full chest ease reduction
|
||||
description: Allows you to independently reduce the ease around the chest to make it fit tight(er) in that area
|
||||
title: Зменшення свободи облягання на грудях
|
||||
description: Керує незалежним від інших параметрів зменшенням свободи облягання на грудях для (більш) тугої посадки
|
||||
backDartHeight:
|
||||
title: Back dart height
|
||||
description: Controls the height of the back dart
|
||||
title: Висота спинної виточки
|
||||
description: Керує висотою виточки на спині (більше значення зменшує висоту виточки)
|
||||
bustDartLength:
|
||||
title: Bust dart length
|
||||
description: Controls the length of the bust dart
|
||||
title: Довжина грудної виточки
|
||||
description: Керує загальною довжиною виточки на грудях
|
||||
waistDartLength:
|
||||
title: Waist dart length
|
||||
description: Controls the length of the waist dart
|
||||
title: Довжина поясної виточки
|
||||
description: Керує загальною довжиною виточки на талії
|
||||
bustDartCurve:
|
||||
title: Bust dart curve
|
||||
description: Controls the curvature of the bust dart
|
||||
title: Заокруглення грудної виточки
|
||||
description: Керує наскільки кривими є лінії виточки на грудях
|
||||
armholeDepth:
|
||||
title: Armhole depth
|
||||
description: Controls the depth of the armhole
|
||||
title: Глибина пройми рукава
|
||||
description: Керує глибиною (шириною) пройми рукава
|
||||
backArmholeSlant:
|
||||
title: Back armhole slant
|
||||
description: Slightly rotates the armhole around its pitch point
|
||||
title: Нахил пройми рукава на спині
|
||||
description: Трохи змінює нахил пройми рукава на спині відповідно до точки збігу пройми
|
||||
frontArmholeCurvature:
|
||||
title: Front armhole curvature
|
||||
description: Controls how deep the armhole is scooped out at the front bottom
|
||||
title: Заокруглення пройми рукава спереду
|
||||
description: Керує заокругленням пройми рукава спереду
|
||||
backArmholeCurvature:
|
||||
title: Back armhole curvature
|
||||
description: Controls how deep the armhole is scooped out at the back bottom
|
||||
title: Заокруглення пройми рукава ззаду
|
||||
description: Керує заокругленням пройми рукава ззаду
|
||||
frontArmholePitchDepth:
|
||||
title: Front armhole pitch depth
|
||||
description: Tweaks the horizontal placement of the front armhole pitch point
|
||||
title: Висота передньої точки збігу пройми
|
||||
description: Налаштовує розташування передньої точки збігу по вертикалі
|
||||
backArmholePitchDepth:
|
||||
title: Back armhole pitch depth
|
||||
description: Tweaks the horizontal placement of the back armhole pitch point
|
||||
title: Висота задньої точки збігу пройми
|
||||
description: Налаштовує розташування задньої точки збігу по вертикалі
|
||||
backNeckCutout:
|
||||
title: Back neck cutout
|
||||
description: Controls how deep the neck opening is scooped out at at the back
|
||||
title: Глибина горловини ззаду
|
||||
description: Керує глибиною горловини на задньому полотнищі
|
||||
backHemSlope:
|
||||
title: Back hem slope
|
||||
description: Controls the slope of the hem at the back
|
||||
title: Нахил заднього краю
|
||||
description: Керує нахилом краю на спині
|
||||
frontShoulderWidth:
|
||||
title: Front shoulder width
|
||||
description: Controls the narrowness of the front shoulders relative to the back
|
||||
title: Ширина плечей спереду
|
||||
description: Контролює ширину плечей переднього полотнища відповідно до заднього
|
||||
highBustWidth:
|
||||
title: High bust width
|
||||
description: Allows you to tweak the hight bust width at the front
|
||||
title: Ширина полички
|
||||
description: Дозволяє керувати шириною полички на ліфі
|
||||
|
|
|
@ -1,28 +1,28 @@
|
|||
---
|
||||
panels:
|
||||
title: Number of panels
|
||||
description: The number of panels to draft. More panels are better to fit a curvier model.
|
||||
title: Кількість панелей
|
||||
description: Загальна кількість панелей на викрійці. Більша кількість панелей забезпечить кращу посадку для гладких моделей.
|
||||
options:
|
||||
'11': 11 panels
|
||||
'13': 13 panels
|
||||
'11': 11 панелей
|
||||
'13': 13 панелей
|
||||
waistReduction:
|
||||
title: Waist reduction
|
||||
description: The amount by which you want the corset to pinch your waist.
|
||||
title: Утягування талії
|
||||
description: Відсоток утягування талії для бажаного ефекту.
|
||||
backOpening:
|
||||
title: Back opening
|
||||
description: Opening at the center back closure.
|
||||
title: Зріз на спині
|
||||
description: Ширина відстані центрального спинного зрізу.
|
||||
backRise:
|
||||
title: Back rise
|
||||
description: How much the back panels rise from your arms to your center back.
|
||||
title: Верхня посадка ззаду
|
||||
description: Висота задніх панелей від боків до центру спини.
|
||||
backDrop:
|
||||
title: Back drop
|
||||
description: How much the back panels lower from your hips towards your center back. Negative values will raise the back.
|
||||
title: Нижня посадка ззаду
|
||||
description: Наскільки задні панелі опускаються від стегон до центру спини. Від'ємне значення підніме ці панелі вгору.
|
||||
frontRise:
|
||||
title: Front rise
|
||||
description: 'Rise of the front panels at center front, between your breasts. Negative values will lower them.'
|
||||
title: Верхня посадка спереду
|
||||
description: 'Висота передніх панелей від боків до центру між грудьми. Від''ємне значення опустить ці панелі донизу.'
|
||||
frontDrop:
|
||||
title: Front drop
|
||||
description: How much the front panels lower from your hips towards your center front.
|
||||
title: Нижня посадка спереду
|
||||
description: Наскільки передні панелі опускаються від стегон до центру тулуба.
|
||||
hipRise:
|
||||
title: Hip rise
|
||||
description: How much the side panels rise on your hips.
|
||||
title: Посадка на стегнах
|
||||
description: Наскільки високо розташовуються бокові панелі відповідно до стегон.
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
---
|
||||
backPocketHorizontalPlacement:
|
||||
title: Back pocket horizontal placement
|
||||
description: Controls the horizontal placement of the back pocket
|
||||
title: Горизонтальне розміщення задньої кишені
|
||||
description: Керує розміщенням задньої кишені по горизонталі
|
||||
backPocketVerticalPlacement:
|
||||
title: Back pocket vertical placement
|
||||
description: Controls the vertical placement of the back pocket
|
||||
title: Вертикальне розміщення задньої кишені
|
||||
description: Керує розміщенням задньої кишені по вертикалі
|
||||
backPocketWidth:
|
||||
title: Back pocket width
|
||||
description: Controls the width of the back pocket
|
||||
title: Ширина задньої кишені
|
||||
description: Керує шириною задньої кишені
|
||||
backPocketDepth:
|
||||
title: Back pocket depth
|
||||
description: Controls the depth of the back pocket
|
||||
title: Глибина задньої кишені
|
||||
description: Керує глибиною задньої кишені
|
||||
backPocketFacing:
|
||||
title: Back pocket facing
|
||||
description: Controls whether or not to include facing on the back pockets
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
---
|
||||
shoulderSeamLength:
|
||||
title: Shoulder seam length
|
||||
description: Controls the length of the shoulder seam
|
||||
title: Довжина плечового шва
|
||||
description: Контролює довжину плечового шва
|
||||
drapeAngle:
|
||||
title: Drape angle
|
||||
description: Controls the amount of drape
|
||||
title: Кут драпірування
|
||||
description: Контролює кількість складок
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
---
|
||||
height:
|
||||
title: Height
|
||||
description: Controls the height of the face mask
|
||||
title: Висота
|
||||
description: Контролює висоту данної маски
|
||||
length:
|
||||
title: Length
|
||||
description: Controls the length of the face mask
|
||||
title: Довжина
|
||||
description: Контролює довжину маски
|
||||
curve:
|
||||
title: Curve
|
||||
description: Controls the curvature of the upper edge of the face mask
|
||||
title: Крива
|
||||
description: Контролює вигин верхнього краю маски
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
---
|
||||
headEase:
|
||||
title: Head ease
|
||||
description: The amound of ease around your head
|
||||
title: Свобода облягання на голові
|
||||
description: Контролює свободу облягання навколо голови
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
centerBackDart:
|
||||
title: Center back dart
|
||||
title: Центральна виточка на комірі
|
||||
description: Dart at the center back of your neck to accommodate a rounded back
|
||||
sleeveVentLength:
|
||||
title: Sleeve vent length
|
||||
|
@ -93,8 +93,8 @@ lapelReduction:
|
|||
title: Lapel reduction
|
||||
description: How much the tip of the lapels turns inwards
|
||||
collarHeight:
|
||||
title: Collar height
|
||||
description: Height of the collar
|
||||
title: Висота коміру
|
||||
description: Контролює висоту коміру
|
||||
collarNotchDepth:
|
||||
title: Collar notch depth
|
||||
description: Depth of the collar notch
|
||||
|
|
|
@ -220,6 +220,7 @@ export const build = async (localeFilter = () => true, only=false) => {
|
|||
const namespaces = await getNamespacesFromFileList(files, locales, only)
|
||||
|
||||
await writeFiles(namespaces)
|
||||
return namespaces
|
||||
}
|
||||
|
||||
//export default strings
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"autoprefixer": "^10.4.0",
|
||||
"eslint-config-next": "12.2.2",
|
||||
"eslint-config-next": "12.2.3",
|
||||
"js-yaml": "^4.1.0",
|
||||
"postcss": "^8.4.4",
|
||||
"tailwindcss": "^3.0.1",
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"autoprefixer": "^10.4.0",
|
||||
"eslint-config-next": "12.2.2",
|
||||
"eslint-config-next": "12.2.3",
|
||||
"js-yaml": "^4.1.0",
|
||||
"postcss": "^8.4.4",
|
||||
"tailwindcss": "^3.0.1"
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"autoprefixer": "^10.4.0",
|
||||
"eslint-config-next": "12.2.2",
|
||||
"eslint-config-next": "12.2.3",
|
||||
"js-yaml": "^4.1.0",
|
||||
"postcss": "^8.4.4",
|
||||
"tailwindcss": "^3.0.1"
|
||||
|
|
|
@ -1,5 +1,39 @@
|
|||
import {build} from '../../../packages/i18n/src/prebuild.mjs'
|
||||
import {denyList} from '../../../packages/i18n/scripts/prebuilder.mjs'
|
||||
import fs from 'fs'
|
||||
import path from 'path'
|
||||
|
||||
export const prebuildI18n = async(site, only=false) => {
|
||||
build((loc) => site !== 'dev' || loc === 'en', only)
|
||||
const writeJson = async (locale, namespace, content) => fs.writeFileSync(
|
||||
path.resolve(
|
||||
'..',
|
||||
site,
|
||||
'public',
|
||||
'locales',
|
||||
locale,
|
||||
`${namespace}.json`
|
||||
),
|
||||
JSON.stringify(content)
|
||||
)
|
||||
|
||||
const filter = site === 'dev' ? (loc => lock === 'en') : (loc => denyList.indexOf(loc) === -1)
|
||||
const locales = await build(filter, only)
|
||||
|
||||
console.log (`copying them to ${site}`, Object.keys(locales))
|
||||
|
||||
const languages = {}
|
||||
Object.keys(locales).forEach(l => languages[l] = locales[l].i18n[l])
|
||||
for (const locale in locales) {
|
||||
// Only English for dev site
|
||||
const loc = locales[locale]
|
||||
// Fan out into namespaces
|
||||
for (const namespace in loc) {
|
||||
writeJson(
|
||||
locale, namespace,
|
||||
loc[namespace]
|
||||
)
|
||||
}
|
||||
|
||||
writeJson(locale, 'locales', languages)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue