Fixed repo links

This commit is contained in:
Rainer Simon 2021-06-12 14:04:32 +02:00 committed by GitHub
parent db23d8d0f8
commit efc1e30bb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ To install `npm install @recogito/recogito-client-core`
## Contributing UI Translations ## Contributing UI Translations
If you want to contribute UI translations to Annotorious or RecogitoJS, you've come to the right place. If you want to contribute UI translations to Annotorious or RecogitoJS, you've come to the right place.
In [this folder](https://github.com/recogito/recogito-client-core/tree/master/src/i18n) In [this folder](https://github.com/recogito/recogito-client-core/tree/main/src/i18n)
you will find `messages` files, one file for each available translation. you will find `messages` files, one file for each available translation.
Each `messages` file is a dictionary of the default English labels and their translations. For example, Each `messages` file is a dictionary of the default English labels and their translations. For example,
@ -30,7 +30,7 @@ here's what the German translation file `messages_de.json` looks like.
### To add a new translation ### To add a new translation
- Fork the this repository - Fork the this repository
- Add a message file to the [src/i18n folder](https://github.com/recogito/recogito-client-core/tree/master/src/i18n) - Add a message file to the [src/i18n folder](https://github.com/recogito/recogito-client-core/tree/main/src/i18n)
named `messages_{iso}.json`, where {iso} is the 2-character ISO code of the language. named `messages_{iso}.json`, where {iso} is the 2-character ISO code of the language.
- Copy the dictionary above, and replace the translations accordingly. - Copy the dictionary above, and replace the translations accordingly.
- [Send us a pull request](https://www.freecodecamp.org/news/how-to-make-your-first-pull-request-on-github-3/) - [Send us a pull request](https://www.freecodecamp.org/news/how-to-make-your-first-pull-request-on-github-3/)