fix(docs): remove schema mention (#41189)

We no longer use schemas to validate the translation json objects,
instead using the English files as the single source of truth.
This commit is contained in:
Nicholas Carrigan (he/him)
2021-02-19 22:32:07 -08:00
committed by GitHub
parent d70e33c1d2
commit be655b4742

View File

@ -188,7 +188,7 @@ To change text on the client side of things, go to the relevant `.json` file, fi
If the text you want to add to the client exists in the relevant `.json` file, use the existing key. Otherwise, create a new key. If the text you want to add to the client exists in the relevant `.json` file, use the existing key. Otherwise, create a new key.
The matching filename`-schema.js` file is the "source of truth" for all of the `.json` files sharing the same name. If you need to add a new key, add it there. Then, add the key to **all** of the `translations.json` files. The English file is the "source of truth" for all of the `.json` files sharing the same name. If you need to add a new key, add it there. Then, add the key to **all** of the `translations.json` files.
> [!NOTE] > [!NOTE]
> Use English text for all languages if the file is translated through Crowdin. The tests will fail if you don't. > Use English text for all languages if the file is translated through Crowdin. The tests will fail if you don't.