| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Refactored tests to use a sample project.
Updated extraction:
* Removed special handling of single percent signs.
* When extracting messages from template text, doubled all percent signs
so they are not interpreted by gettext as string format flags. All
strings extracted by gettext, if containing a percent sign, will now
be labeled "#, python-format".
Updated translation:
* Used "%%" for "%" in template text before calling gettext.
* Updated {% trans %} rendering to restore "%" from "%%".
|
|
|
|
|
| |
Updated the command to match the documentation, which states it
runs over all .po files.
|
| |
|
| |
|
|
|
|
|
|
| |
from CPython's test.support.
StringIO import was adapted for compatibility with Python 2.
|
| |
|
|
|
|
|
|
| |
for makemessages --exclude.
This fixes a regression caused by 0707b82. Refs #22328.
|
|
|
|
| |
compilemessages and makemessages.
|
|
|
|
|
|
|
|
| |
non-writable location
Instead of crashing with a CommandError, now a non-writable location
of mo files will only make compilemessages complain and continue.
Thanks Ramiro Morales for the review.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Removed multiple locales separated by commas variation (that wasn't
working as documented) in favor of simply allowing use of the
``--locale``/``-l`` options more than once for ``makemessages`` and
``compilemessages``.
Thanks Romain Beylerian for the report and Claude, Simon for their help.
8750296918072c97a51f6809d19828ce3f1b8d40 from stable/1.6.x.
|
|
Compilation/extraction tests are now properly skipped when gettext
commands are unavailable.
|