Skip to content

Commit b45f8a7

Browse files
committed
Typo fixes of attribution history metadata
1 parent 3791cdc commit b45f8a7

File tree

8 files changed

+20
-17
lines changed

8 files changed

+20
-17
lines changed

src/content/examples/en/02_Animation_And_Variables/03_Conditions/description.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ oneLineDescription: Use if and else statements to make decisions while your sket
77
remix:
88
- description: Inspired by
99
attribution:
10-
- name: Prof. WM Harris
11-
URL: https://people.rit.edu/wmhics/
10+
- name: the Conditional Shapes Example by Prof. WM Harris
11+
URL: https://archive.p5js.org/examples/control-conditional-shapes.html
1212
code:
1313
- URL: https://github.com/processing/p5.js-website-legacy/blob/main/src/data/examples/en/04_Control/05_Logical_Operators_2.js
1414
label: pre-2023 code

src/content/examples/en/04_Input_Elements/02_DOM_Form_Elements/description.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ title: Form Elements
55
oneLineDescription: Create a form and respond to the results.
66

77
remix:
8-
- attribution:
8+
- description: Created by
9+
attribution:
910
- URL: https://people.rit.edu/wmhics/
1011
name: Prof. WM Harris
1112
code:

src/content/examples/en/06_Calculating_Values/03_Constrain/description.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ remix:
1111
- name: Caleb Foss
1212
URL: https://github.com/calebfoss
1313

14-
1514
code:
1615
- label: 2023 code
1716
URL: https://github.com/processing/p5.js-example/tree/main/examples/06_Calculating_Values/03_Constrain

src/content/examples/en/07_Repetition/05_Recursive_Tree/description.mdx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,18 @@ oneLineDescription: Draw a tree using a function that calls itself.
77

88

99
remix:
10-
- description: Inspired by
11-
10+
- description: Based on
1211
attribution:
13-
- name: Dan Shiffman
14-
12+
- name: Dan Shiffman's Recursive Tree Example
13+
URL: https://processing.org/examples/tree.html
1514
code:
16-
- URL: https://processing.org/examples/tree.html
17-
label: pre-2023 example
15+
- label: pre-2023 example
16+
URL: https://processing.org/examples/tree.html
1817

1918
- description: Revised by
2019
attribution:
2120
- name: Darren Kessner
2221
URL: https://github.com/dkessner
23-
2422
code:
2523
- label: 2023 code
2624
URL: https://github.com/processing/p5.js-example/tree/main/examples/07_Repetition/05_Recursive_Tree
@@ -32,4 +30,4 @@ remix:
3230
This is an example of rendering a simple tree-like structure via recursion.
3331
The branching angle is calculated as a function of the horizontal mouse
3432
location. Move the mouse left and right to change the angle.
35-
Based on Daniel Shiffman's <a href="https://processing.org/examples/tree.html">Recursive Tree Example</a> for Processing.
33+
]

src/content/examples/en/11_3D/05_Adjusting_Positions_With_A_Shader/description.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: Adjusting Positions with a Shader
55
oneLineDescription: Use a shader to adjust shape vertices.
66

77
remix:
8-
- description: Creared by
8+
- description: Created by
99
attribution:
1010
- name: Dave Pagurek
1111
URL: https://www.davepagurek.com/

src/content/examples/en/14_Loading_And_Saving_Data/00_Local_Storage/description.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ remix:
1515
URL: https://github.com/processing/p5.js-example/tree/main/examples/14_Loading_And_Saving_Data/00_Local_Storage
1616
- description: Inspired by
1717
attribution:
18-
- name: Daniel Shiffman
18+
- name: Daniel Shiffman's examples
1919
code:
2020
- label: pre-2023 JSON example
2121
URL: https://processing.org/examples/loadsavejson.html

src/content/ui/en.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Home: Home
22
Menu: Menu
33
Reference: Reference
44
Tutorials: Tutorials
5-
Examples: Examplessdsd
5+
Examples: Examples
66
Contribute: Contribute
77
Community: Community
88
About: About
@@ -198,7 +198,11 @@ experimentalApi:
198198
Remixed by: Remixed by
199199
Revised in 2023 by: Revised in 2023 by
200200
Revised by: Revised by
201+
Based on: Based on
201202
Created by: Created by
202203
and: and
203204
Edited and maintained by: Edited and maintained by
204205
From 2024 onwards, edited and maintained by: From 2024 onwards, edited and maintained by
206+
You can find the code history of these examples here: You can find the code history of these examples here
207+
You can suggest improvements by: You can suggest improvements by
208+
contributing to the current website: contributing to the current website

src/layouts/ExampleLayout.astro

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ const { showBanner, englishUrl } = checkTranslationBanner(
145145
<p>
146146
{remixHistoryHasCodeLinks ? (
147147
<>
148-
View the code history of these examples:{" "}
148+
{t("You can find the code history of these examples here")}{": "}
149149
{example.data.remix
150150
.map(item => item?.code)
151151
.flat()
@@ -157,7 +157,8 @@ const { showBanner, englishUrl } = checkTranslationBanner(
157157
}
158158
</>
159159
))}
160-
You can also <a href="https://github.com/processing/p5.js-website">contribute to the current website</a>.
160+
{t("You can suggest improvements by")}{" "}
161+
<a href="https://github.com/processing/p5.js-website">{t("contributing to the current website")}</a>!
161162
</>
162163
) : (
163164
<></>

0 commit comments

Comments
 (0)