Deal all, I just tagged and released the v0.58 release of po4a. This version comes with many changes, listed in the attached ChangeLog. The main improvement is that the tests were completely rewritten to make them more robust and less permissive. As a result many many problems were fixed in po4a(1). Many bugs reported against the parsers were also fixed, even if some of them remain.
In some rare cases, the behavior of the po4a program changed a bit for sake of consistency. I don't think that anybody will have to update their po4a.conf to cope with the changes (in the precedency between global and local options), but a tiny possibility remains. The documentation of po4a(1), po4a(7) and po4a-gettextize(1) was also completely rewritten. I hope you will like the new version. This required a lot of work for the translators, too. Many thanks to them. Here are the current translation stats: Binaries: 9 languages = 100%: de, es, fr, hr, it, nl, pt_BR, ru, uk. 1 language >= 95%: hu (95%). 1 language >= 90%: sr_Cyrl (93%). 7 languages >= 80%: et (89%), ja (87%), nb (89%), pl (89%), pt (89%), sv (84%), vi (89%). 6 languages >= 70%: cs (77%), da (77%), eo (77%), eu (77%), id (79%), sl (77%). 1 language >= 50%: ca (60%). 2 languages >= 20%: ko (27%), zh_CN (26%). 4 starting languages: af (10%), ar (17%), kn (12%), zh_HK (6%). Documentation: 2 languages = 100%: de, uk. 1 language >= 95%: pt_BR (97%). 2 languages >= 80%: fr (80%), pt (80%). 3 languages >= 70%: es (79%), ja (75%), pl (74%). 2 languages >= 50%: it (50%), ru (55%). 1 language >= 33%: ca (48%). 5 starting languages: hu (0%), nb (1%), nl (12%), sr_Cyrl (1%), zh_CHS (1%). You can get the new version from here: https://github.com/mquinson/po4a/releases I plan to have a dot release in a week or so, mostly for translations improvements, and small fixes (if any). Thanks for your support, and happy translations. Mt. -- There is an important sense in which the arguments [for studing coding] ring like the overzealous prescriptions for studying Latin in the Victorian times. -- Logo Programming & the Pb Solving, Roy D. Pea, 1983.
__ __/ _ \ | ___| ( _ )
\ \ / / | | ||___ \ / _ \ The LockDown release.
\ V /| |_| | ___) | (_) |
\_/ \___(_)____/ \___/ (released 2020-05-04)
AsciiDoc:
* Accept numbered list items beginning with any number of dots
(GitHub's #210)
Markdown:
* Avoid translating Markdown fenced code block info string (GitHub's #194)
* List Markdown fenced code block info string as text type (GitHub's #195)
* Support YAML Front Matter (GitHub's #196). This requires YAML::Tiny.
* Introduce options yfm_keys and yfm_skip_array to respectively
specify which YAML keys should be translated, and that the array
content should not be translated.
* Work around a bug in YAML::Tiny that quotes numbers (GitHub's #217)
* Add gettext flag "markdown-text" for relevant entries (GitHub's #208)
Text:
* Honor the (existing) --neverwrap option to handle every content verbatim.
Texinfo:
* Add the comments starting with 'TRANSLATORS:' to the po file
(GitHub's #162)
XHTML:
* Don't fail nor warn when a closing tag is missing, that's legit in HTML.
(GitHub's #179)
XML and DocBook:
* Allow attributes with no value (GitHub's #178).
* Processing Instructions are handled as inline tags by default, but
you can change them back to breaking with '-o break-pi' (GitHub's #170)
Yaml:
* Introduce option to skip array values. (GitHub's #187)
po4a tool:
* Cleanups and fixups about options' parsing (now tested and documented)
_
/ \ You may need to upgrage your po4a.conf if you were using
/_!_\ "unwanted features" (ie, bugs) of the previous implementation.
* Do not touch source dir when --destdir is provided (Debian #602387)
* Pass --add-location=file to msgmerge when receiving option porefs.
(requires gettext >= 0.19 -- June 2014)
* Option --master-charset sets the charset of the generated POT file.
* Option --master-language sets the language of the generated POT file.
* Add support for addendum path in po4a_paths (Debian #823189)
* Stop pretending that --porefs can control the wrapping of reference
comments, as the gettext tools used internally always rewrap them.
Scripts:
* Rename po4aman-display-po to po4a-display-man
* Rename po4apod-display-po to po4a-display-pod
Core:
* Use UTF-8 by default (the 20th century is over -- Debian #862460)
po4a used to prefer ascii unless it proved impossible. But the
underlying detection would fail, possibly for document containing
UTF-8 chars composed on printable ascii chars only.
* Add a --wrap-po option to control how the po file is wrapped, and
chose between either nicely wrapped files that tend to produce git
conflicts, or ugly files that are easy to automatically deal with.
Tests:
* Completely refactor most tests. They are now more reliable and the
error messages are much more useful to understand the issues.
* Many bugs to po4a and the core were ironed out in the process.
* PO files content are now tested too (GitHub's #67)
Documentation:
* Various cleanups by Golubev Alexander (GitHub's #190 & #191)
Translations:
* New translation: Serbian (cyrillic), thanks Ivan Pesic.
* Updated: Croatian, thanks Milo Ivir.
* Updated: Dutch, thanks Frans Spiesschaert.
* Updated: French, thanks Mattéo Rossillol‑‑Laruelle and Martin Quinson.
* Updated: German, thanks Helge Kreutzmann.
* Updated: Hungarian, thanks Balázs Úr.
* Updated: Italian, thanks Marco Ciampa.
* Updated: Japanese, thanks Shuuji TAKAHASHI.
* Updated: Portuguese (Brazil), thanks Rafael Fontenelle.
* Updated: Russian, thanks Golubev Alexander and Artem.
* Updated: Spanish, thanks Omar Campagne.
* Updated: Swedish, thanks Mattias Münster.
* Updated: Ukrainian, thanks Yuri Chornoivan (українська).
signature.asc
Description: PGP signature
_______________________________________________ Devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
