Menu

Trac Commit Log


Commit Date  
[r9772] by mrelbe

l10n/sv: Updated to extraction r9768 (100%)

2010-05-24 22:45:29 Tree
[r9771] by cboos

TracMercurial for 0.12: use `trac.util.dist.get_l10n_cmdclass` introduced in r9763.

2010-05-24 22:11:01 Tree
[r9770] by cboos

TracMercurial for 0.12: use other form of `trac.util.translation.domain_functions`, as introduced in r9659.

2010-05-24 22:09:51 Tree
[r9769] by mrelbe

l10n/sv: python setup.py init_catalog_js -l sv

2010-05-24 22:09:40 Tree
[r9768] by cboos

l10n: forgot to extract one message, and corresponding french translation.

2010-05-24 21:59:12 Tree
[r9767] by cboos

l10n/fr: javascript translations updated (100%)

2010-05-24 21:55:41 Tree
[r9766] by cboos

#6353: extract messages from javascript code embedded in <script> tags in html files.

2010-05-24 21:49:57 Tree
[r9765] by cboos

Mark some more messages for translation in *.js files.

2010-05-24 21:49:27 Tree
[r9764] by cboos

Makefile: updated L10N tasks to take into account the catalogs dedicated to the messages in Javascript files (#6353).

Also, added an `init-xy` target for creating the catalogs for a given locale `xy` (only create the missing catalogs, e.g. the new messages-js.po one).

2010-05-24 21:48:01 Tree
[r9763] by cboos

setup: move all l10n related commands in `trac.util.dist`.

This way, plugins can easily re-use the Trac operating mode (compile before install). If they need to localize .js files, they should do something like:

{{{#!python
from trac.util.dist import get_l10n_js_cmdclass
extra['cmdclass'] = get_l10n_js_cmdclass()
}}}

If they don't need the new `*_js` related commands, they should do:

{{{#!python
from trac.util.dist import get_l10n_cmdclass
extra['cmdclass'] = get_l10n_cmdclass()
}}}

Also, don't modify the standard `build` command in place, but rather subclass it (http://www.mail-archive.com/distutils-sig@.../msg11760.html).

2010-05-24 21:47:26 Tree
Older >