Skip to content

Commit 742957d

Browse files
authored
Merge pull request #1254 from chrleon/patch-1
Fix a small typo in the documentation
2 parents 0c4cd3e + fa5d50d commit 742957d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contributor_docs/i18n_contribution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ The en.json is made up of three sections:
211211
- p5.js documentation, also extracted from the data.json file. This section contains a key for each p5.js Class (i.e., "p5.Color"), which holds information about the Class itself and its Methods and Fields.
212212
In this section, you might find HTML Anchor elements. You only need to translate the text between the two tags. For example, in `<a href=\"#/p5.Color\">p5.Color</a>`, you need to translate the second 'p5.Color' and leave the rest as is.
213213

214-
All the translation swaps of the Reference pages happen is [this function](https://github.com/processing/p5.js-website/blob/main/src/templates/pages/reference/index.hbs#L61).
214+
All the translation swaps of the Reference pages happen in [this function](https://github.com/processing/p5.js-website/blob/main/src/templates/pages/reference/index.hbs#L61).
215215
Any entries in the JSON object which are not filled in will be left in English when the page is loaded.
216216

217217
The translated versions of the JSON file need to be manually created and updated.

0 commit comments

Comments
 (0)