1
0
Fork 0
Commit Graph

31 Commits

Author SHA1 Message Date
Julien Palard c109850819
make merge from cpython 3.9 (#1440) 2020-10-02 10:55:01 +02:00
Jules Lasne (jlasne) 757ab3f7b4
Make merge of 3.9 (#1385) 2020-09-11 09:11:46 +02:00
Julien Palard 262421d34c make merge from cpython 3.9 2020-07-30 14:12:04 +02:00
Julien Palard a5123415bb Uniformisation et simplification des chemins. 2020-07-30 14:12:04 +02:00
Julien Palard c3fedc6e1c
make merge from cpython 3.9 (#1330) 2020-06-05 09:32:47 +02:00
Julien Palard 5646bc52a4
Yet another batch of : :: and no break spaces... (#1148)
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)
2020-02-05 23:32:21 +01:00
Julien Palard ccc2e5863e
Uniformize project-id-version. (#1041) 2019-12-05 23:15:54 +01:00
Julien Palard 5108d18c0d Orthographe. 2019-09-16 11:02:41 +02:00
Julien Palard 517157af17
sed to add no-break-spaces, s/fonction intégrée/fonction native/. (#810)
sed -i 's/ : ::"/ ::"/g' **/*.po
2019-06-10 10:48:16 +02:00
Christophe Nanteuil a8e874fe59 Import --> Importation
Closes #797
2019-06-02 13:06:43 +02:00
Julien Palard b61235f220 Due to deactivation of smartquotes, --- are no loger automatically converted to em dashes.
Thanks Dona for reporting.
2019-02-03 11:37:20 +01:00
ksamuel c7e3753032 Fix typo 'en temps que' (#341) 2018-10-04 15:34:27 +02:00
Julien Palard 48aaf17458
Orth dans library/*.po (#329)
* Orth in library/*.po

* sorting dict.

* spelling
2018-09-29 19:45:33 +02:00
Julien Palard 46b1f959af
merge pot files. (#297)
* merge pot files.

* FIX from travis.

* FIX a/à.
2018-08-13 15:12:45 +02:00
Lea Klein 62354de42c Translate library/2to3.po (#296)
* Translate library/2to3.po
* Changes after review
2018-08-03 09:37:19 +02:00
Julien Palard 4fc8d5ead8 Reviewing 3.7 fuzzy strings. 2018-07-23 15:06:43 +02:00
Julien Palard 283979a625 Update language team. 2018-07-04 11:14:25 +02:00
Julien Palard e6e13bef30 Dropping useless first author line. 2018-07-04 11:09:21 +02:00
Julien Palard ac8e794c8c Update licence information. 2018-07-04 11:08:42 +02:00
Julien Palard 117f6d15a2 Update Copyright date. 2018-07-04 11:06:45 +02:00
Julien Palard bc19527cab Dropping this useless SOME DESCRIPTIVE TITLE. 2018-07-04 11:05:51 +02:00
Julien Palard aed24996a1 msgmerge 3.7 2018-06-28 15:32:56 +02:00
Julien Palard 228b3c0b2a Reviewing various typical errors. 2018-03-21 00:55:50 +01:00
Julien Palard a5c7846ef1 Fixing some end of lines. 2018-03-21 00:16:43 +01:00
Julien Palard 2a4be3dd02 Automatically review columns.
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(' :. ') + ' ::'
2018-03-20 23:58:00 +01:00
Julien Palard 707f05d2d7 merge pot files. 2017-12-01 07:48:13 +01:00
Julien Palard dcd20adc42 merge pot files. 2017-05-27 23:07:59 +02:00
Julien Palard ff33607bfd Reviewing fuzzy strings. 2017-05-27 14:17:28 +02:00
Julien Palard 5f42b67249 Set Language header to each po file. 2017-05-24 00:40:56 +02:00
Julien Palard a25cddd031 3.6: merge pot files 2017-04-02 22:14:06 +02:00
Julien Palard 84e5545ebb Hi, gettext_compact=0. 2016-10-30 10:50:10 +01:00