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
2ea522a5e3
Propagate known strings.
2019-09-16 12:08:42 +02: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
cc35c27c56
merge pot files.
2018-10-13 17:54:03 +02:00
8bcf7767c8
FIX: File indentation and use italics for gzip.
2018-10-07 15:03:23 +02:00
Lomanic
a1b55b37ce
Amend last commit
2018-10-07 11:44:21 +02:00
Lomanic
8ab2914235
Amend last commit
2018-10-05 18:05:55 +02:00
Lomanic
9fa195f9ba
Translate library/gzip.po
2018-10-05 17:27:42 +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
2e67138a40
Replicating known translations.
2017-08-10 07:17:13 +02:00
d66ca95dab
merge pot files.
2017-08-10 01:06:46 +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