Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

Commit

Permalink
Contributing updated
Browse files Browse the repository at this point in the history
  • Loading branch information
veeso committed Oct 18, 2020
1 parent e5fd728 commit 8c10ae6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,11 @@ Let's see the steps to implement the translators, imagine we're going to impleme

Define the translations rules as did for example with [Russian](docs/translators/ru.md) and create a markdown document with exact same syntax and reporting the standard used to create the translator.

To implement a Translator there are basically 4 rules:
To implement a Translator there are basically 3 rules:

- If a standard for transliteration exists, please follow it as much it's possible.
- All characters from source alphabet must be transliterated to latin
- All latin characters must have a transliteration to source alphabet
- Write tests to cover all its combinations.

2. Define translator

Expand Down Expand Up @@ -235,7 +234,7 @@ Let's see the steps to implement the translators, imagine we're going to impleme
4. Implement Translator

First create a new file ```src/translator/lang/{ALPHABET}.rs```.
Then following the rules you've defined at point 1, implement it.
Then following the rules you've defined at point 1, implement it and write tests to cover all its combinations.

```rs
use super::{Emoji, Translator};
Expand Down

0 comments on commit 8c10ae6

Please sign in to comment.