Released on 27 January 2017
This release contains many improvements and bug fixes. While it contains many general improvements, it also specifically contains needed changes and optimizations for the upcoming Pootle 2.8.0 and Virtaal releases.
--threshold
option is passed (issue 3499)lxml requirement was raised to 3.5.0 in order to simplify code.{ok} marker is now more cleanly removedMAX_LENGTH is now parsed into comment--removeuntranslated option to po2json--threshold
option is passed (issue 3499)accelerators check reports an error if accelerator is present for several
Indic languages in MozillaChecker checker.l20nChecker to do custom checking for Mozilla’s new l20n format.GnomeChecker,
LibreOfficeChecker and MozillaChecker checkers.RomanianChecker.buildxpi was adjusted to current Mozilla needspip installer. Commands are compiled to .exe files.translate.misc.dictutils.ordereddict in favor of
collections.OrderedDict.TranslationStore class exposing a single
API.TranslationStore has been improved.TranslationStore subclasses.translate.misc.multistring.multistring:str method (issue 3428).__hash__ (issue 3434).multistring class has been deprecated, as
well as the encoding argument to it.
Applications should always construct multistring objects by passing
characters (unicode in Python 2, str in Python 3), not bytes. Support
for passing non-ASCII bytes will be removed in the next version.TxtFile.getoutput() and dtdfile.getoutput() have been deprecated.
Either call bytes(<file_instance>) or use the
file_instance.serialize() API if you need to get the serialized store
content of a TxtFile or dtdfile instance.translate.search.indexing.PyLuceneIndexer1 was removed.translate.storage.properties.find_delimiter() was
removed and replaced by the
translate.storage.properties.Dialect.find_delimiter() class method....and loads of general code cleanups and of course many many bugfixes.
This release was made possible by the following people:
Claude Paroz, Leandro Regueiro, Dwayne Bailey, Michal Čihař, Taras Semenenko, Ryan Northey, Stuart Prescott, Kai Pastor, Julen Ruiz Aizpuru, Friedel Wolff, Hiroshi Miura, Thorbjørn Lindeijer, Melvi Ts, Jobava, Jerome Leclanche, Jakub Wilk, Adhika Setya Pramudita, Zibi Braniecki, Zdenek Juran, Yann Diorcet, Nick Shaforostoff, Jaka Kranjc, Christian Lohmaier, beernarrd.
And to all our bug finders and testers, a Very BIG Thank You.