| *** allisterb has quit IRC | 00:01 | |
| *** allisterb has joined #zope3-dev | 00:01 | |
| *** matthal has quit IRC | 00:07 | |
| *** Theuni1 has quit IRC | 00:08 | |
| *** allisterb_ has joined #zope3-dev | 00:11 | |
| *** matthal has joined #zope3-dev | 00:15 | |
| *** allisterb has quit IRC | 00:22 | |
| *** srichter_ has quit IRC | 00:39 | |
| *** allisterb_ has quit IRC | 00:45 | |
| *** pcardune has joined #zope3-dev | 00:49 | |
| *** davisagli has quit IRC | 01:36 | |
| *** r0ver has joined #zope3-dev | 01:45 | |
| *** ccomb has quit IRC | 02:10 | |
| *** kaeru__ is now known as kaeru | 02:19 | |
| *** allisterb has joined #zope3-dev | 02:21 | |
| *** allisterb_ has joined #zope3-dev | 02:24 | |
| *** allisterb_ has quit IRC | 02:26 | |
| *** allisterb_ has joined #zope3-dev | 02:29 | |
| *** fcorrea has quit IRC | 02:37 | |
| *** allisterb__ has joined #zope3-dev | 02:40 | |
| *** allisterb has quit IRC | 02:43 | |
| *** allisterb_ has quit IRC | 02:55 | |
| *** allisterb__ has quit IRC | 02:59 | |
| *** allisterb has joined #zope3-dev | 03:01 | |
| *** allisterb_ has joined #zope3-dev | 03:03 | |
| *** allisterb has quit IRC | 03:08 | |
| *** alga has quit IRC | 03:08 | |
| *** allisterb has joined #zope3-dev | 03:38 | |
| *** allisterb__ has joined #zope3-dev | 03:51 | |
| *** allisterb has quit IRC | 03:51 | |
| *** davisagli has joined #zope3-dev | 03:52 | |
| *** allisterb_ has quit IRC | 03:55 | |
| *** lurkymclurkleton has joined #zope3-dev | 04:41 | |
| *** allisterb has joined #zope3-dev | 04:43 | |
| *** lurkymclurkleton has quit IRC | 04:43 | |
| *** allisterb_ has joined #zope3-dev | 04:52 | |
| *** allisterb has quit IRC | 04:56 | |
| *** allisterb__ has quit IRC | 04:59 | |
| *** allisterb__ has joined #zope3-dev | 05:05 | |
| *** allisterb_ has quit IRC | 05:06 | |
| *** mcdonc has quit IRC | 05:06 | |
| *** redir has quit IRC | 05:06 | |
| *** tarek has quit IRC | 05:06 | |
| *** yota has quit IRC | 05:06 | |
| *** do3cc has quit IRC | 05:06 | |
| *** tarek has joined #zope3-dev | 05:08 | |
| *** yota has joined #zope3-dev | 05:08 | |
| *** do3cc has joined #zope3-dev | 05:08 | |
| *** allisterb_ has joined #zope3-dev | 05:09 | |
| *** mcdonc has joined #zope3-dev | 05:09 | |
| *** redir has joined #zope3-dev | 05:09 | |
| *** allisterb_ has quit IRC | 05:09 | |
| *** stub has joined #zope3-dev | 05:09 | |
| *** allisterb has joined #zope3-dev | 05:23 | |
| *** aaronv has quit IRC | 05:25 | |
| *** allisterb_ has joined #zope3-dev | 05:28 | |
| *** stub has quit IRC | 05:33 | |
| *** stub1 has joined #zope3-dev | 05:33 | |
| *** stub1 is now known as stub | 05:34 | |
| *** allisterb has quit IRC | 05:34 | |
| *** r0ver has left #zope3-dev | 05:36 | |
| *** allisterb__ has quit IRC | 05:40 | |
| *** mcdonc has quit IRC | 05:40 | |
| *** mcdonc has joined #zope3-dev | 06:12 | |
| *** mcdonc has quit IRC | 06:16 | |
| *** mcdonc has joined #zope3-dev | 06:34 | |
| *** pcardune has quit IRC | 06:42 | |
| *** afd__ has joined #zope3-dev | 07:01 | |
| *** baijum has joined #zope3-dev | 07:04 | |
| *** allisterb__ has joined #zope3-dev | 07:22 | |
| *** allisterb_ has quit IRC | 07:29 | |
| *** jfkw has quit IRC | 07:48 | |
| *** stub has quit IRC | 08:06 | |
| *** Theuni1 has joined #zope3-dev | 08:13 | |
| *** baijum has quit IRC | 08:23 | |
| *** jukart has joined #zope3-dev | 08:30 | |
| *** redir has quit IRC | 08:42 | |
| *** _deux_ has joined #zope3-dev | 08:59 | |
| *** Theuni1 has quit IRC | 09:27 | |
| *** Theuni2 has joined #zope3-dev | 09:27 | |
| *** stub has joined #zope3-dev | 09:34 | |
| *** Aiste has joined #zope3-dev | 09:46 | |
| *** _deux_ has left #zope3-dev | 09:47 | |
| *** jpcw has joined #zope3-dev | 09:55 | |
| *** sweh has joined #zope3-dev | 10:09 | |
| *** matthal has quit IRC | 10:33 | |
| *** agroszer has joined #zope3-dev | 10:40 | |
| *** davisagli has quit IRC | 10:52 | |
| *** MJ has joined #zope3-dev | 10:59 | |
| *** davisagli has joined #zope3-dev | 11:00 | |
| *** davisagli has left #zope3-dev | 11:01 | |
| *** goschtl has joined #zope3-dev | 11:07 | |
| *** yotaff has joined #zope3-dev | 11:10 | |
| *** thetet has joined #zope3-dev | 11:16 | |
| *** mkerrin has joined #zope3-dev | 11:17 | |
| *** baijum has joined #zope3-dev | 11:21 | |
| *** do3cc has quit IRC | 11:22 | |
| *** do3cc has joined #zope3-dev | 11:22 | |
| *** Theuni2 has quit IRC | 11:38 | |
| *** __mac__ has joined #zope3-dev | 11:45 | |
| *** junkafarian has joined #zope3-dev | 11:47 | |
| *** ignas has joined #zope3-dev | 11:49 | |
| *** jhauser has joined #zope3-dev | 11:52 | |
| *** Aiste has quit IRC | 12:05 | |
| *** __mac__ has quit IRC | 12:09 | |
| *** __mac__ has joined #zope3-dev | 12:12 | |
| *** romanofski has joined #zope3-dev | 12:17 | |
| *** ccomb has joined #zope3-dev | 12:20 | |
| *** mgedmin has joined #zope3-dev | 12:26 | |
| *** MJ has quit IRC | 12:30 | |
| *** dunny has quit IRC | 12:47 | |
| *** menesis has quit IRC | 12:53 | |
| *** alga has joined #zope3-dev | 12:56 | |
| *** ignas has quit IRC | 13:00 | |
| *** Theuni1 has joined #zope3-dev | 13:02 | |
| *** alga has quit IRC | 13:07 | |
| *** mcdonc has quit IRC | 13:15 | |
| *** jukart has quit IRC | 13:20 | |
| *** thetet has quit IRC | 13:24 | |
| *** ignas has joined #zope3-dev | 13:26 | |
| *** MJ has joined #zope3-dev | 13:27 | |
| *** alga has joined #zope3-dev | 13:29 | |
| *** MJ is now known as MJ|lunch | 13:34 | |
| *** davisagli has joined #zope3-dev | 13:42 | |
| *** davisagli has quit IRC | 13:59 | |
| *** aaronv has joined #zope3-dev | 13:59 | |
| *** projekt01 has joined #zope3-dev | 13:59 | |
| *** tflorac has joined #zope3-dev | 14:04 | |
| tflorac | Hi ! | 14:07 |
|---|---|---|
| mgedmin | hi | 14:09 |
| tflorac | I'm looking for informations to translate custom ZCML directives. Any link ? | 14:10 |
| *** MJ|lunch is now known as MJ | 14:12 | |
| *** Theuni1 has quit IRC | 14:15 | |
| mgedmin | iirc when you define a custom zcml directive, the schema for it indicates which attributes are supposed to be translatable | 14:16 |
| mgedmin | have you tried reading srichter's book? | 14:16 |
| tflorac | which one ? | 14:17 |
| mgedmin | http://wiki.zope.org/zope3/Zope3Book | 14:18 |
| mgedmin | it is outdated in many ways, but IIRC the i18n bits didn't change | 14:18 |
| mgedmin | much | 14:18 |
| mgedmin | "In the schema of each ZCML directive you can declare translatable attributes simply by making them MessageId fields. The domain for the message strings is provided by the i18n_domain attribute in the configure tag. Therefore the user only has to specify this attribute to do the I18n in ZCML." | 14:18 |
| *** Theuni1 has joined #zope3-dev | 14:19 | |
| tflorac | OK, thanks, I'll try to have a look for my custom schemas. | 14:20 |
| tflorac | But actually I also need to translate viewlets using "z3c.menu" package. It doesn't seems to work and I can't translate menu entries which use viewlet's "name" attribute... | 14:21 |
| mgedmin | welcome to zope 3 | 14:22 |
| mgedmin | your complimentary hair-shirt is available from the lobby | 14:22 |
| mgedmin | IIRC you can define your menu items in Python code | 14:22 |
| *** jukart has joined #zope3-dev | 14:23 | |
| mgedmin | define a class for each menu item, make the title a message id like this: title = _("Translatable title") | 14:23 |
| mgedmin | then pass that class to your <viewlet> directive | 14:23 |
| mgedmin | AFAIK that's the only way to i18n-ize viewlets | 14:23 |
| mgedmin | I may be wrong, though, so spending 30 minutes googling may be fruitful | 14:24 |
| tflorac | OK. Thanks for this tip. I was just trying to avoid creating classes for each menu entry :-( | 14:24 |
| mgedmin | write a custom zcml directive then | 14:25 |
| tflorac | Fine ! Thanks for the help. Bye. | 14:26 |
| *** benji has quit IRC | 14:26 | |
| projekt01 | tflorac, mgedmin use z3c.menu.ready2go, this implementation offers a menu item directive with i18n support for title | 14:28 |
| projekt01 | title = zope.configuration.fields.MessageID( | 14:28 |
| *** fcorrea has joined #zope3-dev | 14:35 | |
| *** r0ver has joined #zope3-dev | 14:35 | |
| *** alga has quit IRC | 14:36 | |
| *** romanofski has quit IRC | 14:40 | |
| *** alga has joined #zope3-dev | 14:46 | |
| *** mcdonc has joined #zope3-dev | 14:57 | |
| *** baijum has quit IRC | 15:00 | |
| *** menesis has joined #zope3-dev | 15:02 | |
| *** alga has quit IRC | 15:08 | |
| *** benji has joined #zope3-dev | 15:18 | |
| *** stub has quit IRC | 15:20 | |
| *** stub has joined #zope3-dev | 15:20 | |
| *** stub has quit IRC | 15:21 | |
| *** stub1 has joined #zope3-dev | 15:21 | |
| *** stub1 is now known as stub | 15:21 | |
| *** stub has quit IRC | 15:21 | |
| *** menesis has quit IRC | 15:25 | |
| *** drudi has joined #zope3-dev | 15:38 | |
| *** alga has joined #zope3-dev | 15:48 | |
| *** baijum has joined #zope3-dev | 15:55 | |
| *** J1m has joined #zope3-dev | 16:05 | |
| *** lurkymclurkleton has joined #zope3-dev | 16:07 | |
| *** gary_poster has joined #zope3-dev | 16:10 | |
| *** afd_ has joined #zope3-dev | 16:14 | |
| *** menesis has joined #zope3-dev | 16:25 | |
| *** faassen has joined #zope3-dev | 16:29 | |
| *** faassen has quit IRC | 16:29 | |
| *** afd__ has quit IRC | 16:33 | |
| *** __mac__ has quit IRC | 16:34 | |
| *** r0ver has left #zope3-dev | 16:35 | |
| *** baijum has quit IRC | 16:39 | |
| *** redir has joined #zope3-dev | 16:44 | |
| *** redir has quit IRC | 16:45 | |
| *** redir has joined #zope3-dev | 16:46 | |
| *** redir has quit IRC | 16:55 | |
| *** jfkw has joined #zope3-dev | 17:07 | |
| *** faassen has joined #zope3-dev | 17:09 | |
| *** sweh has quit IRC | 17:10 | |
| *** dbfrombrc has joined #zope3-dev | 17:19 | |
| *** faassen has quit IRC | 17:21 | |
| *** faassen has joined #zope3-dev | 17:22 | |
| *** faassen has joined #zope3-dev | 17:22 | |
| *** afd___ has joined #zope3-dev | 17:22 | |
| *** projekt01 has quit IRC | 17:42 | |
| *** afd_ has quit IRC | 17:46 | |
| *** __mac__ has joined #zope3-dev | 17:59 | |
| *** jukart has quit IRC | 18:03 | |
| *** baijum has joined #zope3-dev | 18:05 | |
| *** __mac__ has quit IRC | 18:07 | |
| *** goschtl has quit IRC | 18:16 | |
| *** redir has joined #zope3-dev | 18:21 | |
| *** agroszer has quit IRC | 18:24 | |
| *** agroszer has joined #zope3-dev | 18:24 | |
| *** nathany has joined #zope3-dev | 18:24 | |
| *** __mac__ has joined #zope3-dev | 18:28 | |
| *** Theuni1 has quit IRC | 18:39 | |
| mgedmin | kobold, ayt? | 18:46 |
| mgedmin | zope.testing trunk fails to work for me | 18:47 |
| mgedmin | AttributeError: 'module' object has no attribute 'set_unittest_reportflags' | 18:47 |
| mgedmin | in fact, its test suite fails | 18:47 |
| mgedmin | hm, stale doctest.pyc? | 18:47 |
| * mgedmin tries again | 18:48 | |
| mgedmin | yes, stale .pyc | 18:49 |
| mgedmin | but the deprecation warning isn't gone | 18:50 |
| mgedmin | /home/mg/src/zope.testing/src/zope/testing/renormalizing.py:247: DeprecationWarning: zope.testing.doctest is deprecated in favour of the Python standard library doctest module | 18:50 |
| mgedmin | import doctest | 18:50 |
| mgedmin | would you mind terribly if I moved your latest code into a branch and released a zope.testing 3.8.7 with the old doctest.py fork and the deprecation warning disabled? | 18:51 |
| *** MJ has quit IRC | 18:53 | |
| *** __mac__ has quit IRC | 19:03 | |
| mgedmin | fwiw, doctest coloring and post-mortem debugging works fine in zope.testing's trunk | 19:03 |
| *** avn has joined #zope3-dev | 19:07 | |
| *** mgedmin has quit IRC | 19:09 | |
| *** __mac__ has joined #zope3-dev | 19:13 | |
| *** __mac__ has quit IRC | 19:13 | |
| *** avn_ has quit IRC | 19:17 | |
| *** ignas has quit IRC | 19:25 | |
| *** baijum has quit IRC | 19:27 | |
| *** ccomb has quit IRC | 19:37 | |
| *** tflorac has left #zope3-dev | 19:41 | |
| *** alga has quit IRC | 19:42 | |
| *** faassen has quit IRC | 19:55 | |
| *** menesis has quit IRC | 19:58 | |
| *** davisagli has joined #zope3-dev | 19:59 | |
| *** yotaff has quit IRC | 20:04 | |
| *** gary_poster is now known as gary-lunch | 20:10 | |
| *** thetet has joined #zope3-dev | 20:12 | |
| *** pcardune has joined #zope3-dev | 20:15 | |
| *** jpcw has quit IRC | 20:46 | |
| *** matthal has joined #zope3-dev | 20:46 | |
| *** gary-lunch is now known as gary_poster | 21:01 | |
| *** drudi has quit IRC | 21:05 | |
| *** junkafarian has quit IRC | 21:08 | |
| *** junkafarian has joined #zope3-dev | 21:11 | |
| *** mcdonc has quit IRC | 21:14 | |
| *** menesis has joined #zope3-dev | 21:15 | |
| *** menesis has quit IRC | 21:15 | |
| *** menesis has joined #zope3-dev | 21:16 | |
| *** mcdonc has joined #zope3-dev | 21:18 | |
| *** febb has joined #zope3-dev | 21:27 | |
| *** matthal has quit IRC | 22:03 | |
| *** matthal has joined #zope3-dev | 22:05 | |
| *** matthal has quit IRC | 22:17 | |
| *** dunny has joined #zope3-dev | 22:17 | |
| *** agroszer has quit IRC | 22:20 | |
| *** ignas has joined #zope3-dev | 22:21 | |
| *** chaoflow has quit IRC | 22:57 | |
| *** chaoflow has joined #zope3-dev | 22:57 | |
| *** ccomb has joined #zope3-dev | 23:07 | |
| *** mkerrin has quit IRC | 23:07 | |
| *** fcorrea has left #zope3-dev | 23:45 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!