Commit Graph

19 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
Jules Lasne (jlasne)
4c8d995502
Fixed fuzzies in library/timeit.po (#1006)
* Fixed fuzzies in library/timeit.po

* Apply suggestions from code review

* powrap
2019-12-13 12:27:25 +01:00
ccc2e5863e
Uniformize project-id-version. (#1041) 2019-12-05 23:15:54 +01:00
fd9b2ebdc5 Merge from 3.8 rst files. 2019-09-04 11:35:23 +02:00
Nicolas
df62d8f3c4 Traduction de library/timeit.po (#859) 2019-08-25 12:50:27 +02:00
Jules Lasne (jlasne)
294e8b93c0
Make Merge a3488e5902f5c26e5cc289aec2518e7b5058e5d1 (#729)
* make merge

* Update distributing/index.po

* Update extending/extending.po

* Apply suggestions from code review

* powrap
2019-05-23 18:59:19 +02:00
Jules Lasne (jlasne)
005e87911a Upstream merge (#659) 2019-04-10 16:52:58 +02:00
fa40a1797d
Merge from upstream/3.7 (#609) 2019-03-20 09:41:37 +01:00
fada4efe89 Propagating known translations. 2018-11-30 18:31:12 +01: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
aed24996a1 msgmerge 3.7 2018-06-28 15:32:56 +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