| changeset | a363bb8c0ed4 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | feat: make msgfmt.py support -o flag Make msgfmt.py support -o flag like gnu msgfmt. This allows: make -C locale local_install MSGFMT="python3 ../roundup/msgfmt.py" to compile locale files for use when running roundup_server in development mode. |
| files |
| changeset | 37a98ec62e2e |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | chore: remove extra whitespace |
| files |
| changeset | a9bac0cb4019 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | feat: make msgfmt.py a simple CLI replacement for msgfmt(1) Simplify testing .po files if the tester doesn't have access to GNU gettest tools or doesn't want to install the python Babel package. Also mentioned in developers.txt. |
| files |
| changeset | 6a1c1cd69582 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | chore: 'id' var shadows builtin, lint markers; sort imports Replaced 'id' variable with label and 'ids' variable with 'labels' for consistency. |
| files |
| changeset | 4d2e1fa03f0f |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | flake8 format fixes, ignore 'file' as it is a type under py2 |
| files |
| changeset | f2fade4552c5 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Christof Meerwald <cmeerw@cmeerw.org> |
| description | replaced msgfmt.py with latest version supporting Python 3 fixed setup scripts for Python 3 |
| files |
| changeset | 23b8e6067f7c |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Joseph Myers <jsm@polyomino.org.uk> |
| description | Python 3 preparation: update calls to dict methods. Tool-assisted patch. Changes of iterkeys / itervalues / iteritems to keys / values / items are fully automated, but may make things less efficient in Python 2. Automated tools want to add list() around many calls to keys / values / items, but I thought most such list() additions were unnecessary because it seemed the result of keys / values / items was just iterated over while the set of dict keys remained unchanged, rather than used in a way requiring an actual list, or used while the set of keys in the dict could change. It's quite possible I missed some cases where list() was really needed, or left in some unnecessary list() calls. In cases where list() was only needed because the resulting list was then sorted in-place, I changed the code to use calls to sorted(). |
| files |
| changeset | 64c4e43fbb84 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Joseph Myers <jsm@polyomino.org.uk> |
| description | Python 3 preparation: numeric literal syntax. Fixes octal constants to use leading 0o, and removes 'L' suffixes. Tool-assisted patch. |
| files |
| changeset | 64b05e24dbd8 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Joseph Myers <jsm@polyomino.org.uk> |
| description | Python 3 preparation: convert print to a function. Tool-assisted patch. It is possible that some "from __future__ import print_function" are not in fact needed, if a file only uses print() with a single string as an argument and so would work fine in Python 2 without that import. |
| files |
| changeset | 198b6e810c67 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Eric S. Raymond <esr@thyrsus.com> |
| description | Use Python-3-compatible 'as' syntax for except statements Many raise statements near these are also fixed. So are two ivorrect file encoding marks ('utf8'->'utf-8'). |
| files |
| changeset | c643d693d91e |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Iniitalize two variables to None. |
| files |
| changeset | 4498f5252f8b |
|---|---|
| branch | gsoc-2009 |
| bookmark | |
| tag | |
| user | Pygi <pygi@users.sourceforge.net> |
| description | Some preparations for 3.0 migration |
| files |
| changeset | 7000070fe600 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Alexander Smishlajev <a1s@users.sourceforge.net> |
| description | ignore UTF-8 BOM in po file |
| files |
| changeset | a6bf25d38518 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Alexander Smishlajev <a1s@users.sourceforge.net> |
| description | reset global MESSAGES dictionary for each make |
| files |
| changeset | ee9c3b850f9e |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Alexander Smishlajev <a1s@users.sourceforge.net> |
| description | fix plural forms: if the first translation string is empty, remaining translations were applied to wrong cases. GNU msgfmt in such case deletes the translation altogether; so do we now. |
| files |
| changeset | 40643f8b41a0 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Alexander Smishlajev <a1s@users.sourceforge.net> |
| description | catalog compilation utility for message translations this module originates in python standard tools and is copied here for the following reasons: - some python distributions (namely cygwin) do not include tools; - added plural forms support; - there was an error in fuzzy detection. |
| files |