Commit Graph

18 Commits

Author SHA1 Message Date
581fa8ef18
Backporting for #1628. 2021-06-04 17:22:51 +02:00
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
ccc2e5863e
Uniformize project-id-version. (#1041) 2019-12-05 23:15:54 +01:00
Jules Lasne (jlasne)
dcd871ae78
Make merge (#894) 2019-10-09 18:10:12 +02:00
Nicolas
2d9cd7259a Traduction de library/heapq.po (#879)
* Translate library/heapq.po

* Emojis + syntax

* syntax

* Apply suggestions from code review

Co-Authored-By: Christophe Nanteuil <35002064+christopheNan@users.noreply.github.com>

* Wrapping

* Apply suggestions from code review

Co-Authored-By: Christophe Nanteuil <35002064+christopheNan@users.noreply.github.com>

* Wrapping
2019-09-30 15:12:13 +02:00
2ea522a5e3 Propagate known strings. 2019-09-16 12:08:42 +02:00
03ab206a30 merge pot files. 2018-11-29 16:13:39 +01:00
d59fab9118
Reviewing 3.7 fuzzy strings. (#203) 2018-07-21 10:59:44 +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
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