Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
translationstring
Readme
A library used by various Pylons Project <https://pylonsproject.org>
_ packages
for internationalization (i18n) duties related to translation.
This package provides a translation string class, a translation string
factory class, translation and pluralization primitives, and a utility that
helps Chameleon <https://chameleon.readthedocs.io/en/latest/>
_ templates use
translation facilities of this package. It does not depend on Babel <http://babel.pocoo.org/en/latest/>
_, but its translation and pluralization
services are meant to work best when provided with an instance of the
babel.support.Translations
class.
Please see https://docs.pylonsproject.org/projects/translationstring/en/latest/ for the documentation.
Fix Python 3-specific test failures.
Restore compatibility with Python 3.2.
Add support for message contexts.
If the object passed to a TranslationStringFactory __call__
method is
itself a translation string, use the passed object's domain
instead of
the domain passed to the factory's contstructor. See
https://github.com/Pylons/translationstring/pull/12 .
ticket 8 <https://github.com/Pylons/translationstring/issues/8>
_.coerce non-string values to a string during translation, except for None.
Honour mapping information passed to the translator, combining it with mapping data already part of the translation string.
Support formatting of translation strings with %-operator.
Python 3 compatibility (thanks to Joe Dallago, GSOC student).
Remove testing dependency on Babel.
Moved to GitHub (https://github.com/Pylons/translationstring).
Added tox.ini for testing purposes.
Add __getstate__
and __reduce__
methods to translation
string to allow for pickling.
Fix bug in ChameleonTranslate. When i18n:translate
was used in
templates, a translation string was inappropriately created with a
default
value of the empty string. Symptom: template text would
"disappear" rather than being returned untranslated.
FAQs
Utility library for i18n relied on by various Repoze and Pyramid packages
We found that translationstring demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.