1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
|
Metadata-Version: 2.1
Name: translationstring
Version: 1.4
Summary: Utility library for i18n relied on by various Repoze and Pyramid packages
Home-page: https://github.com/Pylons/translationstring
Author: Chris McDonough, Agendaless Consulting
Author-email: pylons-discuss@googlegroups.com
License: BSD-like (http://repoze.org/license.html)
Description: translationstring
=================
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.
translationstring
=================
1.4 (2020-07-09)
----------------
- Drop support for Python 2.6, 3.2 and 3.
- Update license classifiers
1.3 (2014-11-05)
----------------
- Fix Python 3-specific test failures.
- Restore compatibility with Python 3.2.
1.2 (2014-11-04)
----------------
- 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 .
1.1 (2012-02-08)
----------------
- Add MANIFEST to make sure all files are present in a release. This fixes
`ticket 8 <https://github.com/Pylons/translationstring/issues/8>`_.
1.0 (2012-02-04)
----------------
- 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.
0.4 (09-22-2011)
----------------
- 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.
0.3 (06-25-2010)
----------------
- Preserve default translations even if they are an empty string. This
fixes problems with Chameleon being unable to determine if a translation
is present or not.
0.2 (04-25-2010)
----------------
- 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.
0.1 (04-24-2010)
----------------
- Initial release.
Keywords: i18n l10n internationalization localization gettext chameleon
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Internationalization
Classifier: Topic :: Software Development :: Localization
Classifier: License :: Repoze Public License
Provides-Extra: docs
|