I18ndude

Latest version: v6.2.1

Safety actively analyzes 682471 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 8

5.0.0

------------------

Breaking changes:

- Drop support for python 2.6 and older. Retain python2.7 support.
[gyst]

New features:

- Support python 3.6, 3.5, 3.4, pypy and pypy3.
[gyst]

Bug fixes:

- Removed ``ordereddict`` and argparse`` dependencies completely.
[maurits]

- Fixed many unicode/string/bytes handling problems.
There's probably still some unfixed that need finding, given that
test coverage is only 63%.
[gyst]

Todo:

- i18ndude/pygettext.py:159: DeprecationWarning: the imp module is deprecated in favour of importlib. This does not cause any breakage though.

4.3

----------------

New:

- Support Chameleon repeat syntax in templates.
Fixes `issue 36 <https://github.com/collective/i18ndude/issues/36>`_.
[maurits]

- Moved ``plone.i18n`` dependency to a ``plone`` extra.
This is only used for getting language names in the ``list`` command.
We now fall back to using the language name that is in the ``po`` files.
Fixes `issue 44 <https://github.com/collective/i18ndude/issues/44>`_.
[maurits]

4.2

----------------

New:

- In ``find-untranslated``, do not report items that get replaced by Chameleon syntax.
So ``<span>${view/test}</span>`` will no longer get flagged as missing a translation.
(Note that you still *can* add ``i18n:translate`` if it makes sense,
like Plone does for translating the dynamically calculated review state.)
[Netroxen, maurits]

- Find untranslated attributes now also checks for 'placeholder' attributes on
input tags.

4.1

----------------

New:

- Allow use of regular expressions for --exclude parameter. For example,
use ``*.py`` to exclude all python files. This doesn't break existing
behavior. Do remember to use quotes around the expression.
[laulaz, maurits]

4.0.1

------------------

Fixes:

- Fixed some reported line numbers in find-untranslated.
Fixes issue 34.
[maurits]

4.0.0

------------------

New:

- Extract strings from zcml.
Issue 28
[maurits]

- No longer print two blank lines at the end of .po and .pot files.
[maurits]

- In the find-untranslated command, first try to parse a template as
xml, which is good for non-html files. If that fails, try to parse
it as html with a little help from the lxml HTMLPaser, which handles
html5 code much better. If that fails, use our trusty home grown
``common.prepare_xml`` function, which treats everything as old
html. Note that we still use ``xml.sax`` as the core parser here.
Issue 15
[maurits]

- Ignore hidden files in the find-untranslated command.
Issue 29
[maurits]

- Use lxml instead of xml.etree or elementtree for parsing
GenericSetup xml files.
[maurits]

Page 4 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.