Skip to content

Commit d7285e4

Browse files
mayconblopesmluukkai
authored andcommitted
* docs(CONTRIBUTING.md): add instructions for updating translationProgress.json file
1 parent 6a254dd commit d7285e4

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@
1414
3. Create the PR from that branch to the source branch
1515

1616
# Contributing with translations
17-
When translation of a whole new part is completed, remember to update the file src/utils/translationProgress.json
17+
When translation of a whole new part is completed, remember to update the file src/utils/translationProgress.json
18+
This file tracks the progress of translations, ranging from 0 (part0) to 13 (part13). It is used in the to avoid navigation errors when the user tries to access untranslated parts of the course. At the same time, it is used to automatically redirect the user to the English material (until the part is translated). So, if you have been working on a translation, remember to update this file after completing the translation of a whole part.

src/utils/translationProgress.json

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
/*
2-
This file tracks the progress of translations, ranging from 0 (part0)
3-
to 13 (part13). It is used in the page redirection logic to avoid
4-
various navigation errors when the user tries to access untranslated
5-
parts of the course. At the same time, it is used to automatically
6-
redirect the user to the English material (until the part is translated).
7-
8-
So, if you have been working on a translation, remember to update this
9-
file after completing the translation of a whole part.
10-
*/
11-
121
{
132
"en": 13,
143
"es": 10,

0 commit comments

Comments
 (0)