IRC log of #zope3-dev for Monday, 2010-01-11

*** allisterb has quit IRC00:01
*** allisterb has joined #zope3-dev00:01
*** matthal has quit IRC00:07
*** Theuni1 has quit IRC00:08
*** allisterb_ has joined #zope3-dev00:11
*** matthal has joined #zope3-dev00:15
*** allisterb has quit IRC00:22
*** srichter_ has quit IRC00:39
*** allisterb_ has quit IRC00:45
*** pcardune has joined #zope3-dev00:49
*** davisagli has quit IRC01:36
*** r0ver has joined #zope3-dev01:45
*** ccomb has quit IRC02:10
*** kaeru__ is now known as kaeru02:19
*** allisterb has joined #zope3-dev02:21
*** allisterb_ has joined #zope3-dev02:24
*** allisterb_ has quit IRC02:26
*** allisterb_ has joined #zope3-dev02:29
*** fcorrea has quit IRC02:37
*** allisterb__ has joined #zope3-dev02:40
*** allisterb has quit IRC02:43
*** allisterb_ has quit IRC02:55
*** allisterb__ has quit IRC02:59
*** allisterb has joined #zope3-dev03:01
*** allisterb_ has joined #zope3-dev03:03
*** allisterb has quit IRC03:08
*** alga has quit IRC03:08
*** allisterb has joined #zope3-dev03:38
*** allisterb__ has joined #zope3-dev03:51
*** allisterb has quit IRC03:51
*** davisagli has joined #zope3-dev03:52
*** allisterb_ has quit IRC03:55
*** lurkymclurkleton has joined #zope3-dev04:41
*** allisterb has joined #zope3-dev04:43
*** lurkymclurkleton has quit IRC04:43
*** allisterb_ has joined #zope3-dev04:52
*** allisterb has quit IRC04:56
*** allisterb__ has quit IRC04:59
*** allisterb__ has joined #zope3-dev05:05
*** allisterb_ has quit IRC05:06
*** mcdonc has quit IRC05:06
*** redir has quit IRC05:06
*** tarek has quit IRC05:06
*** yota has quit IRC05:06
*** do3cc has quit IRC05:06
*** tarek has joined #zope3-dev05:08
*** yota has joined #zope3-dev05:08
*** do3cc has joined #zope3-dev05:08
*** allisterb_ has joined #zope3-dev05:09
*** mcdonc has joined #zope3-dev05:09
*** redir has joined #zope3-dev05:09
*** allisterb_ has quit IRC05:09
*** stub has joined #zope3-dev05:09
*** allisterb has joined #zope3-dev05:23
*** aaronv has quit IRC05:25
*** allisterb_ has joined #zope3-dev05:28
*** stub has quit IRC05:33
*** stub1 has joined #zope3-dev05:33
*** stub1 is now known as stub05:34
*** allisterb has quit IRC05:34
*** r0ver has left #zope3-dev05:36
*** allisterb__ has quit IRC05:40
*** mcdonc has quit IRC05:40
*** mcdonc has joined #zope3-dev06:12
*** mcdonc has quit IRC06:16
*** mcdonc has joined #zope3-dev06:34
*** pcardune has quit IRC06:42
*** afd__ has joined #zope3-dev07:01
*** baijum has joined #zope3-dev07:04
*** allisterb__ has joined #zope3-dev07:22
*** allisterb_ has quit IRC07:29
*** jfkw has quit IRC07:48
*** stub has quit IRC08:06
*** Theuni1 has joined #zope3-dev08:13
*** baijum has quit IRC08:23
*** jukart has joined #zope3-dev08:30
*** redir has quit IRC08:42
*** _deux_ has joined #zope3-dev08:59
*** Theuni1 has quit IRC09:27
*** Theuni2 has joined #zope3-dev09:27
*** stub has joined #zope3-dev09:34
*** Aiste has joined #zope3-dev09:46
*** _deux_ has left #zope3-dev09:47
*** jpcw has joined #zope3-dev09:55
*** sweh has joined #zope3-dev10:09
*** matthal has quit IRC10:33
*** agroszer has joined #zope3-dev10:40
*** davisagli has quit IRC10:52
*** MJ has joined #zope3-dev10:59
*** davisagli has joined #zope3-dev11:00
*** davisagli has left #zope3-dev11:01
*** goschtl has joined #zope3-dev11:07
*** yotaff has joined #zope3-dev11:10
*** thetet has joined #zope3-dev11:16
*** mkerrin has joined #zope3-dev11:17
*** baijum has joined #zope3-dev11:21
*** do3cc has quit IRC11:22
*** do3cc has joined #zope3-dev11:22
*** Theuni2 has quit IRC11:38
*** __mac__ has joined #zope3-dev11:45
*** junkafarian has joined #zope3-dev11:47
*** ignas has joined #zope3-dev11:49
*** jhauser has joined #zope3-dev11:52
*** Aiste has quit IRC12:05
*** __mac__ has quit IRC12:09
*** __mac__ has joined #zope3-dev12:12
*** romanofski has joined #zope3-dev12:17
*** ccomb has joined #zope3-dev12:20
*** mgedmin has joined #zope3-dev12:26
*** MJ has quit IRC12:30
*** dunny has quit IRC12:47
*** menesis has quit IRC12:53
*** alga has joined #zope3-dev12:56
*** ignas has quit IRC13:00
*** Theuni1 has joined #zope3-dev13:02
*** alga has quit IRC13:07
*** mcdonc has quit IRC13:15
*** jukart has quit IRC13:20
*** thetet has quit IRC13:24
*** ignas has joined #zope3-dev13:26
*** MJ has joined #zope3-dev13:27
*** alga has joined #zope3-dev13:29
*** MJ is now known as MJ|lunch13:34
*** davisagli has joined #zope3-dev13:42
*** davisagli has quit IRC13:59
*** aaronv has joined #zope3-dev13:59
*** projekt01 has joined #zope3-dev13:59
*** tflorac has joined #zope3-dev14:04
tfloracHi !14:07
mgedminhi14:09
tfloracI'm looking for informations to translate custom ZCML directives. Any link ?14:10
*** MJ|lunch is now known as MJ14:12
*** Theuni1 has quit IRC14:15
mgedminiirc when you define a custom zcml directive, the schema for it indicates which attributes are supposed to be translatable14:16
mgedminhave you tried reading srichter's book?14:16
tfloracwhich one ?14:17
mgedminhttp://wiki.zope.org/zope3/Zope3Book14:18
mgedminit is outdated in many ways, but IIRC the i18n bits didn't change14:18
mgedminmuch14: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-dev14:19
tfloracOK, thanks, I'll try to have a look for my custom schemas.14:20
tfloracBut 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
mgedminwelcome to zope 314:22
mgedminyour complimentary hair-shirt is available from the lobby14:22
mgedminIIRC you can define your menu items in Python code14:22
*** jukart has joined #zope3-dev14:23
mgedmindefine a class for each menu item, make the title a message id like this: title = _("Translatable title")14:23
mgedminthen pass that class to your <viewlet> directive14:23
mgedminAFAIK that's the only way to i18n-ize viewlets14:23
mgedminI may be wrong, though, so spending 30 minutes googling may be fruitful14:24
tfloracOK. Thanks for this tip. I was just trying to avoid creating classes for each menu entry :-(14:24
mgedminwrite a custom zcml directive then14:25
tfloracFine ! Thanks for the help. Bye.14:26
*** benji has quit IRC14:26
projekt01tflorac, mgedmin use z3c.menu.ready2go, this implementation offers a menu item directive with i18n support for title14:28
projekt01 title = zope.configuration.fields.MessageID(14:28
*** fcorrea has joined #zope3-dev14:35
*** r0ver has joined #zope3-dev14:35
*** alga has quit IRC14:36
*** romanofski has quit IRC14:40
*** alga has joined #zope3-dev14:46
*** mcdonc has joined #zope3-dev14:57
*** baijum has quit IRC15:00
*** menesis has joined #zope3-dev15:02
*** alga has quit IRC15:08
*** benji has joined #zope3-dev15:18
*** stub has quit IRC15:20
*** stub has joined #zope3-dev15:20
*** stub has quit IRC15:21
*** stub1 has joined #zope3-dev15:21
*** stub1 is now known as stub15:21
*** stub has quit IRC15:21
*** menesis has quit IRC15:25
*** drudi has joined #zope3-dev15:38
*** alga has joined #zope3-dev15:48
*** baijum has joined #zope3-dev15:55
*** J1m has joined #zope3-dev16:05
*** lurkymclurkleton has joined #zope3-dev16:07
*** gary_poster has joined #zope3-dev16:10
*** afd_ has joined #zope3-dev16:14
*** menesis has joined #zope3-dev16:25
*** faassen has joined #zope3-dev16:29
*** faassen has quit IRC16:29
*** afd__ has quit IRC16:33
*** __mac__ has quit IRC16:34
*** r0ver has left #zope3-dev16:35
*** baijum has quit IRC16:39
*** redir has joined #zope3-dev16:44
*** redir has quit IRC16:45
*** redir has joined #zope3-dev16:46
*** redir has quit IRC16:55
*** jfkw has joined #zope3-dev17:07
*** faassen has joined #zope3-dev17:09
*** sweh has quit IRC17:10
*** dbfrombrc has joined #zope3-dev17:19
*** faassen has quit IRC17:21
*** faassen has joined #zope3-dev17:22
*** faassen has joined #zope3-dev17:22
*** afd___ has joined #zope3-dev17:22
*** projekt01 has quit IRC17:42
*** afd_ has quit IRC17:46
*** __mac__ has joined #zope3-dev17:59
*** jukart has quit IRC18:03
*** baijum has joined #zope3-dev18:05
*** __mac__ has quit IRC18:07
*** goschtl has quit IRC18:16
*** redir has joined #zope3-dev18:21
*** agroszer has quit IRC18:24
*** agroszer has joined #zope3-dev18:24
*** nathany has joined #zope3-dev18:24
*** __mac__ has joined #zope3-dev18:28
*** Theuni1 has quit IRC18:39
mgedminkobold, ayt?18:46
mgedminzope.testing trunk fails to work for me18:47
mgedminAttributeError: 'module' object has no attribute 'set_unittest_reportflags'18:47
mgedminin fact, its test suite fails18:47
mgedminhm, stale doctest.pyc?18:47
* mgedmin tries again18:48
mgedminyes, stale .pyc18:49
mgedminbut the deprecation warning isn't gone18: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 module18:50
mgedmin  import doctest18:50
mgedminwould 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 IRC18:53
*** __mac__ has quit IRC19:03
mgedminfwiw, doctest coloring and post-mortem debugging works fine in zope.testing's trunk19:03
*** avn has joined #zope3-dev19:07
*** mgedmin has quit IRC19:09
*** __mac__ has joined #zope3-dev19:13
*** __mac__ has quit IRC19:13
*** avn_ has quit IRC19:17
*** ignas has quit IRC19:25
*** baijum has quit IRC19:27
*** ccomb has quit IRC19:37
*** tflorac has left #zope3-dev19:41
*** alga has quit IRC19:42
*** faassen has quit IRC19:55
*** menesis has quit IRC19:58
*** davisagli has joined #zope3-dev19:59
*** yotaff has quit IRC20:04
*** gary_poster is now known as gary-lunch20:10
*** thetet has joined #zope3-dev20:12
*** pcardune has joined #zope3-dev20:15
*** jpcw has quit IRC20:46
*** matthal has joined #zope3-dev20:46
*** gary-lunch is now known as gary_poster21:01
*** drudi has quit IRC21:05
*** junkafarian has quit IRC21:08
*** junkafarian has joined #zope3-dev21:11
*** mcdonc has quit IRC21:14
*** menesis has joined #zope3-dev21:15
*** menesis has quit IRC21:15
*** menesis has joined #zope3-dev21:16
*** mcdonc has joined #zope3-dev21:18
*** febb has joined #zope3-dev21:27
*** matthal has quit IRC22:03
*** matthal has joined #zope3-dev22:05
*** matthal has quit IRC22:17
*** dunny has joined #zope3-dev22:17
*** agroszer has quit IRC22:20
*** ignas has joined #zope3-dev22:21
*** chaoflow has quit IRC22:57
*** chaoflow has joined #zope3-dev22:57
*** ccomb has joined #zope3-dev23:07
*** mkerrin has quit IRC23:07
*** fcorrea has left #zope3-dev23:45

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!