From d2b5a3c895010d50f830adf6dbdf108302c19f13 Mon Sep 17 00:00:00 2001 From: Arandi Lopez Date: Tue, 10 Oct 2017 22:14:42 -0500 Subject: [PATCH] Add CONTRIBUTING.md file --- CONTRIBUTING.md | 34 ++++++++++++++++++++++++++++++++++ README.md | 6 ++++-- 2 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..286bcec --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,34 @@ +# Hi! +Thanks to contribute in this project. **Changes and contributions must be added as pull request** + +## Add a new dictionary + +You can help to make this project better by adding a new dictionary of swear words in your native language. The dictionary file MUST follow this points: + +1. It must be a `.php` file in `src/dict` +2. Its filename must be a valid language code, check [here](https://www.science.co.il/language/Locale-codes.php) +3. It must return an array with your swear words +4. You MUST use array brackets declaration instead of `array()` function. +5. Each word must be in a single line +6. Each word must be single quoted +7. Each word MUST NOT contains accents + +### Example + +```php +