-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use rst title syntax for Unreleased section of changelog, like the other sections have, rather than a horizontal line * Convert CONTRIBUTING.rst from md -> rst, as the filename suggests it to be
- Loading branch information
1 parent
bafb458
commit c636368
Showing
2 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
# Contributing to Plumbum | ||
Contributing to Plumbum | ||
======================= | ||
|
||
General comments | ||
---------------- | ||
|
||
## General comments | ||
Pull requests welcome! Please make sure you add tests (in an easy ``pytest`` format) to the tests folder for your fix or features. Make sure you add documentation covering a new feature. | ||
|
||
Pull requests welcome! Please make sure you add tests (in an easy `pytest` format) to the tests folder for your fix or features. Make sure you add documentation covering a new feature. | ||
|
||
## Adding a language | ||
Adding a language | ||
----------------- | ||
|
||
Plumbum.cli prints various messages for the user. These can be localized into your local language; pull requests adding languages are welcome. | ||
|
||
To add a language, run `./translations.py` from the main github directory, and then copy the file `plumbum/cli/i18n/messages.pot` to `plumbum/cli/i18n/<lang>.po`, and add your language. Run `./translations.py` again to update the file you made (save first) and also create the needed files binary file. | ||
To add a language, run ``./translations.py`` from the main github directory, and then copy the file ``plumbum/cli/i18n/messages.pot`` to ``plumbum/cli/i18n/<lang>.po``, and add your language. Run ``./translations.py`` again to update the file you made (save first) and also create the needed files binary file. | ||
|
||
See `gettext: PMOTW3 <https://pymotw.com/3/gettext/>`_ for more info. |