2017-11-05 01:24:18 +02:00
|
|
|
Before requesting a pull
|
|
|
|
========================
|
|
|
|
|
|
|
|
Update translations
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
Mailu uses Babel for internationalization and localization. Before any
|
|
|
|
of your work is merged, you must make sure that your strings are internationalized
|
|
|
|
using Babel.
|
|
|
|
|
2017-11-06 13:46:21 +02:00
|
|
|
If you used ``_``, ``trans`` blocks and other Babel syntaxes in your code, run the
|
2017-11-05 01:24:18 +02:00
|
|
|
following command to update the POT file:
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
pybabel extract -F babel.cfg -k lazy_gettext -o messages.pot mailu
|
|
|
|
|
|
|
|
The, update the translations:
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
pybabel update -i messages.pot -d mailu/translations
|
|
|
|
|
|
|
|
Please resolve fuzzy strings to the best of your knowledge.
|
|
|
|
|
|
|
|
Update information files
|
|
|
|
------------------------
|
|
|
|
|
|
|
|
If you added a feature or fixed a bug or committed anything that is worth mentionning
|
|
|
|
for the next upgrade, add it in the ``CHANGELOG.md`` file.
|
|
|
|
|
2022-05-02 04:30:29 +02:00
|
|
|
Also, if you would like to be mentioned by name or add a comment in ``AUTHORS.md``,
|
2017-11-05 01:24:18 +02:00
|
|
|
feel free to do so.
|