| Commit | Date | |
|---|---|---|
| 2010-05-24 21:59:12 | Tree | |
| 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 |
| 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 If they don't need the new `*_js` related commands, they should do: {{{#!python 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 |
| 2010-05-24 21:46:21 | Tree | |
| 2010-05-24 21:45:52 | Tree | |
| 2010-05-24 21:44:42 | Tree | |
|
[r9759]
by
cboos
#6353: tweak `trac.web.chrome` changes, in fact we always need babel.js in order to have `_` and `babel.format` defined and working. Adding some fallback methods instead would have worked for `_` and `ngettext`, but for `babel.format` this needed too much copying from babel.js, so just include it. Also fixed unit-tests in trac.web.tests.chrome. |
2010-05-24 21:43:24 | Tree |