Projet

Général

Profil

0001-doc-add-instructions-for-developers-to-update-transl.patch

Loïc Dachary, 04 mai 2021 13:16

Télécharger (1,17 ko)

Voir les différences:

Subject: [PATCH] doc: add instructions for developers to update translations
 (#51277)

License: MIT
 doc/development.rst | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
doc/development.rst
59 59
   When running from an interactive shell `< /dev/null` unsets
60 60
   the `tty` tox sub-type and defines the `COVERAGE` variable.
61 61

  
62
Update translations
63
===================
64

  
65
The `.po` files can be updated as follows::
66

  
67
     $ ./update-locales.sh
68

  
69
It is useful to check for mistakes such
70
as `_("foo {bar}".format(bar=1))` instead of `_("foo {bar}").format(bar=1)` but the updated
71
`.po` files must not be included in any patch. They are updated upstream before
72
the releases to help keep the vocabulary consistent.
73

  
74
.. note::
75

  
76
   The only exception would be a trivial fix such as a typo.
77

  
62 78
Build the documentation
63 79
=======================
64 80

  
65
-