http://hg.code.sf.net:8000/p/roundup/code/atom-log/tip/locale/GNUmakefile Mercurial Repository: p/roundup/code: locale/GNUmakefile history 2023-03-01T10:43:54-05:00 Sort potest by number of translated messages. http://hg.code.sf.net:8000/p/roundup/code/#changeset-b222658a35043ec21b29cdce8fd79b6027b71da2 John Rouillard rouilj@ieee.org 2023-03-01T10:43:54-05:00 2023-03-01T10:43:54-05:00
changeset b222658a3504
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Sort potest by number of translated messages.
files
Fix errors in po files. http://hg.code.sf.net:8000/p/roundup/code/#changeset-4b6a6b794dfa9feb832f1d253c020229ee2c2373 John Rouillard rouilj@ieee.org 2022-11-20T11:29:31-05:00 2022-11-20T11:29:31-05:00
changeset 4b6a6b794dfa
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Fix errors in po files.

Trying to get translation files in shape for translationproject.org.

Not sure it wil happen but this checkin fixes errors in .po files found
by msgfmt -cv.

Recreated template and merged into .po files.
Also adds potest to makefile targets and improves diff target.

Fixes:

Project-Id-Version changed to 2.3.0. I can't find doc on what this
is supposed to be. I assume it is to match the .po file to the
release since there are other fields for recording the last
update to the translations.

Language header, is often blank. Added Language-Team value where missing.

Plural-Forms header for a couple of languages per:
https://www.gnu.org/software/gettext/manual/html_node/Plural-forms.html

Japanese still has an issue. There are plural forms defined in the
file, but according to the above, there should only be one form.
I don't know Japanese, so am not qualified to remove the plural
forms or change the Plural-Forms header to the expected:
nplurals=1; plural=0;
So I have left it with: nplurals=2; plural=0;\n"
Which will always choose the first plural form (index 0).

Added Last-Translator, Language and Content-Transfer-Encoding for
en.po.
files
Testing translations in mailgw.py, update translations, i18n improved http://hg.code.sf.net:8000/p/roundup/code/#changeset-01216187a16781e67dcd674e0230d79f411442c0 John Rouillard rouilj@ieee.org 2022-05-11T21:20:34-04:00 2022-05-11T21:20:34-04:00
changeset 01216187a167
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Testing translations in mailgw.py, update translations, i18n improved

i18n.py: translation objects get a _file which is the file that catalog
was loaded from. Useful for debugging.

mailgw.py: fix code to include roundup.i18n and invoke propert method.

GNUMakefile: added roundup.pot target. Also building roundup.pot sets
the release version and product code in roundup.pot.
Release version from roundup.__init__.py.

merged roundup.pot changes into all *.po files. Not sure if the
version info in the headers of the .po files is supposed to be
updated to match roundup.pot or not.

test_mailgw.py: test cases for en and de translations tested. Not sure
why I neede to set roundupdb._ and mailgw._, but followed setUp
method code and it worked.
files
Fix make help. Missing close quotes. http://hg.code.sf.net:8000/p/roundup/code/#changeset-ebd8f962fbf1e93024f4f663a7dd5f0fd44b9efa John Rouillard rouilj@ieee.org 2022-02-20T22:53:29-05:00 2022-02-20T22:53:29-05:00
changeset ebd8f962fbf1
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Fix make help. Missing close quotes.
files
Updates, python3, hg diff, add target doc, add pytest target http://hg.code.sf.net:8000/p/roundup/code/#changeset-b6452b669720115db120d40b573ff0cad562ab37 John Rouillard rouilj@ieee.org 2022-01-28T20:11:32-05:00 2022-01-28T20:11:32-05:00
changeset b6452b669720
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Updates, python3, hg diff, add target doc, add pytest target
files
Remove verbose from local_install. Cleanup log. http://hg.code.sf.net:8000/p/roundup/code/#changeset-9730eff21de3a776d9bc69bdc48648fd4c01254a John Rouillard rouilj@ieee.org 2021-09-06T13:42:44-04:00 2021-09-06T13:42:44-04:00
changeset 9730eff21de3
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Remove verbose from local_install. Cleanup log.
files
Force test of a locale http://hg.code.sf.net:8000/p/roundup/code/#changeset-0f0cee081990fb22abc5cb3c507203330e051171 John Rouillard rouilj@ieee.org 2021-09-06T13:18:53-04:00 2021-09-06T13:18:53-04:00
changeset 0f0cee081990
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Force test of a locale

We had a file descriptor leak in the i18n routines.
The code that opens a .mo file and then closes it was not
tested.

Add a test for converting dates to german locale. Make test use the
locale/locale subdirectory tree. To do this build the .mo files and
put them into the proper tree structure:

locale/locale/<two char lang code>/LC_MESSAGES/roundup.mo

Also make py.test run with warnings made into errors. Try to get
advanced warnings of deprecation issues, resource leaks etc.

Ignore error generated by the markdown module that uses the old
SelectableGroups interface to dict:

DeprecationWarning: SelectableGroups dict interface is
deprecated. Use select.

Also ignore use of imp module in gpg.gpgme, U mode in docutils.io.

Tried to split lines for the py.test run so each warning is on it's
own line. Makes it more readable and editing in the future easier.
Not sure if it's valid though. May need to revise.
files
extract translatable strings from devel and responsive templates http://hg.code.sf.net:8000/p/roundup/code/#changeset-a21b574554c3bc0ddfae8c2eed70edc40a5d45da John Rouillard rouilj@ieee.org 2021-05-10T21:22:14-04:00 2021-05-10T21:22:14-04:00
changeset a21b574554c3
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description extract translatable strings from devel and responsive templates
files
Check that build link is present otherwise abort. http://hg.code.sf.net:8000/p/roundup/code/#changeset-2c0f7f16ce04661d0b274e9dd4d0748672d2dc5c John Rouillard rouilj@ieee.org 2020-07-12T23:51:25-04:00 2020-07-12T23:51:25-04:00
changeset 2c0f7f16ce04
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Check that build link is present otherwise abort.
files
Remove keyword expansions from CVS. All regression tests passed afterwards. http://hg.code.sf.net:8000/p/roundup/code/#changeset-6e3e4f24c75376f61ae0bf0e9ee334567585c38e Eric S. Raymond esr@thyrsus.com 2011-11-16T09:51:38-05:00 2011-11-16T09:51:38-05:00
changeset 6e3e4f24c753
branch
bookmark
tag
user Eric S. Raymond <esr@thyrsus.com>
description Remove keyword expansions from CVS. All regression tests passed afterwards.
files
update message template file building: http://hg.code.sf.net:8000/p/roundup/code/#changeset-5a9631828e332f80bbe5cb2764a5cb203e74e7e3 Alexander Smishlajev a1s@users.sourceforge.net 2009-03-12T10:08:17+00:00 2009-03-12T10:08:17+00:00
changeset 5a9631828e33
branch
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description update message template file building:

the tracker templates are moved to share/roundup/;
rebuild the message template file.
files
add template directories to the list of Python packages for message extraction http://hg.code.sf.net:8000/p/roundup/code/#changeset-800bc51a9c8e77bcb977120763491fe506cb5734 Alexander Smishlajev a1s@users.sourceforge.net 2006-11-16T14:14:42+00:00 2006-11-16T14:14:42+00:00
changeset 800bc51a9c8e
branch
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description add template directories to the list of Python packages for message extraction
files
don't wrap po files at position 72 http://hg.code.sf.net:8000/p/roundup/code/#changeset-3d9e1906ba587acc8a0e8066dee5fccf18bcbfa6 Alexander Smishlajev a1s@users.sourceforge.net 2006-03-04T09:04:29+00:00 2006-03-04T09:04:29+00:00
changeset 3d9e1906ba58
branch
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description don't wrap po files at position 72
files
added template diff target: view changes in message strings http://hg.code.sf.net:8000/p/roundup/code/#changeset-782287e01b99950054f79f15e7ff9e05898888b5 Alexander Smishlajev a1s@users.sourceforge.net 2006-02-28T05:53:04+00:00 2006-02-28T05:53:04+00:00
changeset 782287e01b99
branch
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description added template diff target: view changes in message strings
files
fix: 'template' target was meant to make 'roundup.pot' file http://hg.code.sf.net:8000/p/roundup/code/#changeset-fd04f41ab98835390ddb93552c8afcf6e1e71805 Alexander Smishlajev a1s@users.sourceforge.net 2004-06-15T05:29:36+00:00 2004-06-15T05:29:36+00:00
changeset fd04f41ab988
branch
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description fix: 'template' target was meant to make 'roundup.pot' file
files
by default, build binary message catalogs only... http://hg.code.sf.net:8000/p/roundup/code/#changeset-ece6ed48dd3db495ae07fae1e333fc578e51a571 Alexander Smishlajev a1s@users.sourceforge.net 2004-06-13T13:06:54+00:00 2004-06-13T13:06:54+00:00
changeset ece6ed48dd3d
branch
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description by default, build binary message catalogs only...

...don't update message template file or message source files unless
explicitely requested;

added 'help' target.
files
extract messages from web templates http://hg.code.sf.net:8000/p/roundup/code/#changeset-33469189bf8625fbcf9e282c9cc4331bbdb2e9ed Alexander Smishlajev a1s@users.sourceforge.net 2004-05-29T04:50:46+00:00 2004-05-29T04:50:46+00:00
changeset 33469189bf86
branch
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description extract messages from web templates
files
avoid duplicate $(PACKAGES): "uniq" ain't really unique without "sort" http://hg.code.sf.net:8000/p/roundup/code/#changeset-bacda30e7eb67caec509841895ae7f36f7972c92 Alexander Smishlajev a1s@users.sourceforge.net 2004-05-29T04:35:03+00:00 2004-05-29T04:35:03+00:00
changeset bacda30e7eb6
branch
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description avoid duplicate $(PACKAGES): "uniq" ain't really unique without "sort"
files
FreeBSD xgettext fails on non-exiting file names... http://hg.code.sf.net:8000/p/roundup/code/#changeset-00001a0e3fe5f235496a1e86ea5d72e99744ec70 Alexander Smishlajev a1s@users.sourceforge.net 2004-05-29T02:22:13+00:00 2004-05-29T02:22:13+00:00
changeset 00001a0e3fe5
branch
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description FreeBSD xgettext fails on non-exiting file names...

...so dumb adding '*.py' to each directory name
in the Roundup source tree does not work.

$(PACKAGES) now include only directories containing .py files
files
show statistics for message catalogs http://hg.code.sf.net:8000/p/roundup/code/#changeset-106737dbe689b3771595c7b38ce5f3d097d76516 Alexander Smishlajev a1s@users.sourceforge.net 2004-05-19T17:24:52+00:00 2004-05-19T17:24:52+00:00
changeset 106737dbe689
branch
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description show statistics for message catalogs
files
in addition to xpot... http://hg.code.sf.net:8000/p/roundup/code/#changeset-8ae58eda93310ca8906e3e4ecde96f7eb9cf6bfa Alexander Smishlajev a1s@users.sourceforge.net 2004-05-18T19:36:12+00:00 2004-05-18T19:36:12+00:00
changeset 8ae58eda9331
branch
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description in addition to xpot...

...(which is needed to extract deferred translations - above all,
docstrings in admin.py commands), use xgettext to extract plural
forms;

update and compile message files
files
build message template file http://hg.code.sf.net:8000/p/roundup/code/#changeset-1421b19cd61b180fa44274521cb20145ef649c55 Alexander Smishlajev a1s@users.sourceforge.net 2004-05-14T18:37:29+00:00 2004-05-14T18:37:29+00:00
changeset 1421b19cd61b
branch
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description build message template file
files