From 34fe98f2f201b24b02aaed6496390ca8f855fac9 Mon Sep 17 00:00:00 2001 From: mergerg <64447714+raphaelsiz@users.noreply.github.com> Date: Tue, 21 Mar 2023 22:21:00 -0700 Subject: [PATCH 1/4] Switch "with" and "without destructuring" The example for "without destructuring" was the destructured way it's done in the tutorial, the example for "with destructuring" was the old way to pass in a props object without destructuring --- .../dev/tutorials/pattern-design/draft-method/en.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/markdown/dev/tutorials/pattern-design/draft-method/en.md b/markdown/dev/tutorials/pattern-design/draft-method/en.md index 28226bdf146..7cd8371d0a6 100644 --- a/markdown/dev/tutorials/pattern-design/draft-method/en.md +++ b/markdown/dev/tutorials/pattern-design/draft-method/en.md @@ -31,18 +31,18 @@ equivalent: ```design/src/bib.mjs -function draftBib({ part }) { +function draftBib(props) { + + return props.part - return part } ``` ```design/src/bib.mjs -function draftBib(props) { - - return props.part +function draftBib({ part }) { + return part } ``` From 77ade1bcff57b2098e318d44a6d27c1961b34000 Mon Sep 17 00:00:00 2001 From: mergerg <64447714+raphaelsiz@users.noreply.github.com> Date: Tue, 21 Mar 2023 22:30:17 -0700 Subject: [PATCH 2/4] added comma after options there was no comma between options and part when measurements and options were added to the props in the first code snippet --- .../pattern-design/constructing-the-neck-opening/en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/markdown/dev/tutorials/pattern-design/constructing-the-neck-opening/en.md b/markdown/dev/tutorials/pattern-design/constructing-the-neck-opening/en.md index 7ac5218b3a4..88d2e46121d 100644 --- a/markdown/dev/tutorials/pattern-design/constructing-the-neck-opening/en.md +++ b/markdown/dev/tutorials/pattern-design/constructing-the-neck-opening/en.md @@ -23,7 +23,7 @@ function draftBib({ points, // highlight-start measurements, - options + options, // highlight-end part, }) { From 8715889d7e17c97f7afe869320d4ca4a2a5abdfc Mon Sep 17 00:00:00 2001 From: mergerg <64447714+raphaelsiz@users.noreply.github.com> Date: Tue, 21 Mar 2023 22:38:11 -0700 Subject: [PATCH 3/4] correct typo original said "original English text of translations" instead of "or" and "of" didn't particularly make sense there --- markdown/dev/howtos/ways-to-contribute/proofreading/en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/markdown/dev/howtos/ways-to-contribute/proofreading/en.md b/markdown/dev/howtos/ways-to-contribute/proofreading/en.md index 3f816807ce9..4ed056059fe 100644 --- a/markdown/dev/howtos/ways-to-contribute/proofreading/en.md +++ b/markdown/dev/howtos/ways-to-contribute/proofreading/en.md @@ -2,5 +2,5 @@ title: Proofreading --- -You could check the original English text of translations for typos and/or grammar mistakes. +You could check the original English text or translations for typos and/or grammar mistakes. You could propose improvements and watch over a consistent style and tone across FreeSewing’s documentation and written text. From 085a033a789741ba33f56fbb20ed91039a9d66dc Mon Sep 17 00:00:00 2001 From: mergerg <64447714+raphaelsiz@users.noreply.github.com> Date: Tue, 21 Mar 2023 23:03:19 -0700 Subject: [PATCH 4/4] proofread en.md wrong "to" --- .../tutorials/pattern-design/completing-the-neck-opening/en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/markdown/dev/tutorials/pattern-design/completing-the-neck-opening/en.md b/markdown/dev/tutorials/pattern-design/completing-the-neck-opening/en.md index 5b4aabc9270..e268194d357 100644 --- a/markdown/dev/tutorials/pattern-design/completing-the-neck-opening/en.md +++ b/markdown/dev/tutorials/pattern-design/completing-the-neck-opening/en.md @@ -127,7 +127,7 @@ function draftBib({ To add the points, we're using the `Point.flipX()` and `Point.flipY()` methods -here. There's a few new Path methods to, like `close()` and `addClass()`. +here. There's a few new Path methods too, like `close()` and `addClass()`. Perhaps you can figure out what they do? If not, both [the Point documentation](/reference/api/point/) and [the Path