]> git.openstreetmap.org Git - rails.git/blobdiff - CONTRIBUTING.md
Fix rubocop warnings
[rails.git] / CONTRIBUTING.md
index c5a63656981a0ebd8bf8ba3b7eca24bf4f33735f..5a2ed5ab7184bcac849d78a2a9d8135bb7e1ce63 100644 (file)
@@ -10,6 +10,7 @@ development to check that your code matches our guidelines:
 
 ```
 bundle exec rubocop
+bundle exec rake eslint
 bundle exec erblint .
 ```
 
@@ -54,6 +55,13 @@ might be difficult to understand what the code does, why it does it
 and why it should be the way it is.
 * Check existing comments to ensure that they are not misleading.
 
+## i18n
+
+If you make a change that involve the locale files (in `config/locales`) then please
+only submit changes to the `en.yml` file. The other files are updated via
+[Translatewiki](https://translatewiki.net/wiki/Translating:OpenStreetMap) and should
+not be included in your pull request.
+
 ## Code Documentation
 
 To generate the HTML documentation of the API/rails code, run the command