* fix translation howto/unicode.po
* Update howto/unicode.po
Remplacement de "HOWTO" par "guide"
Co-Authored-By: Antoine <43954001+awecx@users.noreply.github.com>
* Update howto/unicode.po
Annulation de la mise en italique interne à un lien
Co-Authored-By: Vincent Poulailleau <vpoulailleau@gmail.com>
* reindentation avec powrap et reformulation
* Update howto/unicode.po
changement mise en forme
Co-Authored-By: Vincent Poulailleau <vpoulailleau@gmail.com>
* derniere indentation
* Update howto/unicode.po
Co-Authored-By: Antoine <43954001+awecx@users.noreply.github.com>
* Update howto/unicode.po
Co-Authored-By: Antoine <43954001+awecx@users.noreply.github.com>
* Update howto/unicode.po
Co-Authored-By: Antoine <43954001+awecx@users.noreply.github.com>
Co-authored-by: Antoine <43954001+awecx@users.noreply.github.com>
Co-authored-by: Vincent Poulailleau <vpoulailleau@gmail.com>
Co-authored-by: Mathieu Dupuy <deronnax@gmail.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)
* Howto Unicode, 1ère partie
* ajoute 'émoji' au dictionnaire
* change/restaure les guillements simples pour des guillemets français
* rétabli un chiffre modifié
Co-Authored-By: Julien Palard <julien@palard.fr>
* chiffres entre backquotes
* suggestions de ChristopheNan
* norme -> standard
* virgules après les et/ou
* autre
Co-Authored-By: Christophe Nanteuil <35002064+christopheNan@users.noreply.github.com>