* Revue du tutoriel
* Poursuite de la revue
- guillemets français
- mise en cohérence «table de symboles» : local ou global est accordé avec symboles plutôt qu'avec table.
* revue à l'aide de padpo : typographie
* Merci @deronnax !
Là, je ne sais pas comment c'est passé au correcteur…
Co-Authored-By: Mathieu Dupuy <deronnax@users.noreply.github.com>
* Prise en compte de la revue de @deronnax et de Travis
* espaces insécables + prise en compte nouveau Makefile
* Update tutorial/modules.po
Co-Authored-By: Mathieu Dupuy <deronnax@users.noreply.github.com>
Co-authored-by: Mathieu Dupuy <deronnax@users.noreply.github.com>
import polib
import pathlib
def check(file):
pofile = polib.pofile(file)
for entry in pofile:
if not entry.msgstr:
continue
if entry.msgid.endswith(" ::"):
entry.msgstr = entry.msgstr.rstrip(": \u202f\u00A0") + " ::"
if entry.msgid.endswith("::") and not entry.msgid.endswith(" ::"):
entry.msgstr = entry.msgstr.rstrip(": ,. \u202f\u00A0") + "\u00A0::"
pofile.save()
for file in pathlib.Path(".").glob("*.po"):
check(file)
for file in pathlib.Path(".").glob("*/*.po"):
check(file)
* Revue avec padpo
* Apply suggestions from code review
Co-Authored-By: Antoine <43954001+awecx@users.noreply.github.com>
Co-authored-by: Antoine <43954001+awecx@users.noreply.github.com>
* Disambiguate option/paramètre to avoid using flags in french.
* pospell on a few directories.
* FIX differences between my Hunspell version and travis one.
* Nice try.
* Hunspell 1.3.2, please.
* FIX feedback from Christophe.
* De mieux en mieux.
Checked using and some manual proofreading:
def check_entry(po_file, entry):
if entry.msgid.endswith(' ::'):
return
if entry.msgid.endswith('::'):
if entry.msgstr.endswith(': ::'):
return
entry.msgstr = entry.msgstr.rstrip(' :. ') + ' ::'
Long debate between those words. We could use "modifiable" too but the
binary relation between "immuable" and "modifiable" is less clear.
"muable" was in the 6th edition of the dictionnary of the Académie
française.