Commit Graph

33 Commits

Author SHA1 Message Date
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
eb72f0ff34
Replicating known translations using pomerge. (#1147) 2020-02-05 15:12:44 +01:00
ccc2e5863e
Uniformize project-id-version. (#1041) 2019-12-05 23:15:54 +01:00
smtr42
d5b9b798ba Ajout de traduction manquante + modification d'un Fuzzy dans library/json.po (#956) 2019-11-29 22:08:41 +01:00
fd9b2ebdc5 Merge from 3.8 rst files. 2019-09-04 11:35:23 +02:00
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
03ab206a30 merge pot files. 2018-11-29 16:13:39 +01:00
e47f84a5e7 Extending coverage of pospell... 2018-09-28 14:23:02 +02:00
4ce73f59d9
merge pot files. (#300) 2018-09-15 21:51:48 +02:00
4fc8d5ead8 Reviewing 3.7 fuzzy strings. 2018-07-23 15:06:43 +02:00
6e8288f606 Removing fuzzy from headers. 2018-07-04 11:16:54 +02:00
283979a625 Update language team. 2018-07-04 11:14:25 +02:00
e6e13bef30 Dropping useless first author line. 2018-07-04 11:09:21 +02:00
ac8e794c8c Update licence information. 2018-07-04 11:08:42 +02:00
117f6d15a2 Update Copyright date. 2018-07-04 11:06:45 +02:00
bc19527cab Dropping this useless SOME DESCRIPTIVE TITLE. 2018-07-04 11:05:51 +02:00
d11a6b41ee Replicating known translations using pomerge from 3.7 to 3.7 (locally). 2018-07-03 11:14:42 +02:00
aed24996a1 msgmerge 3.7 2018-06-28 15:32:56 +02:00
Christophe Nanteuil
0b904d84e3
Merge branch '3.6' into small-ones 2018-06-12 15:36:44 +02:00
d6a7c5f487 s/dépréciée/obsolète/g 2018-06-11 00:04:53 +02:00
241497df89 Review fuzzy strings: Integrating christopheNan feedback. 2018-06-10 23:32:01 +02:00
7857077495 Review fuzzy strings. 2018-06-10 15:37:51 +02:00
c80453916d merge pot files. 2018-06-10 11:32:30 +02:00
0d052d40c7 Reviewing fuzzy strings. 2018-05-08 20:27:09 +02:00
e810d13422 merge pot files. 2018-04-29 00:28:01 +02:00
a5c7846ef1 Fixing some end of lines. 2018-03-21 00:16:43 +01:00
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
ca6a58167d Complete library/json.po 2017-08-17 22:54:06 +02:00
2e67138a40 Replicating known translations. 2017-08-10 07:17:13 +02:00
b646cacef7 tx pull. 2017-05-28 17:52:50 +02:00
5f42b67249 Set Language header to each po file. 2017-05-24 00:40:56 +02:00
a25cddd031 3.6: merge pot files 2017-04-02 22:14:06 +02:00
84e5545ebb Hi, gettext_compact=0. 2016-10-30 10:50:10 +01:00