IRC logs of #tryton for Tuesday, 2013-04-16

chat.freenode.net #tryton log beginning Tue Apr 16 00:00:02 CEST 2013
2013-04-16 10:15 <rpit> Hi, how to mark a common string for translation?
2013-04-16 10:18 <cedk> rpit: you don't have
2013-04-16 10:23 <rpit> How do you do translation of strings? I have some of them in a function field
2013-04-16 10:26 <cedk> rpit: see the howto on the wiki
2013-04-16 10:29 <rpit> cedk: That is what I did first. There ist just the "_" mentioned, but it is not definied anywhere in tryton
2013-04-16 10:30 <cedk> rpit: I don't understand what you want. Tryton automaticaly translate all the strings
2013-04-16 10:36 <rpit> cedk: A string or unicode used in source code is not imported to the tryton-translation system
2013-04-16 10:38 <cedk> rpit: only the one exposed to the client
2013-04-16 10:38 <cedk> rpit: field label, error message etc.
2013-04-16 10:40 <rpit> cedk: Then there's no way to do the job except using some trick. I need for instance to produce translation for "quotation, order" etc. to put in eMail subject.
2013-04-16 10:41 <cedk> rpit: you can look how it is done in calendar_scheduling
2013-04-16 10:45 <rpit> cedk: yes, thank you! That's the trick defining it as error message
2013-04-16 10:52 <cedk> rpit: I would like to change this semantic and indeed define message directly in translation table instead of in the models
2013-04-16 10:57 <rpit> cedk: why not ddefining a gettext or _ in tryton to mark strings for translation?
2013-04-16 10:59 <rpit> cedk: it's eaysier for context finding, if it is defined in the source code instead of only in translation table
2013-04-16 11:24 <cedk> rpit: gettext doesn't cover all our needs
2013-04-16 11:24 <cedk> rpit: I don't want to have 2 translations mechanisms
2013-04-16 14:59 <cedk> plantian: I will be intersted to see your wizard running on trunk
2013-04-16 16:24 <cedk> udono: for the de mailing list, could you copy the template of the others?
2013-04-16 16:24 <cedk> udono: also who are the admin and moderator on it?
2013-04-16 16:27 <cedk> udono: also did you register it to gmane?
2013-04-16 18:50 <udono> cedk: hi, about https://bugs.tryton.org/msg12969 I am not sure what to do. Is your idea done in ir/module/module or in account module?
2013-04-16 18:52 <cedk> udono: it should be done in ir/
2013-04-16 18:53 <udono> cedk: ok.
2013-04-16 19:40 <udono> cedk: does not work this way http://codereview.tryton.org/801002/ . But maybe it is just implemented wrong, and the empty view needs to be called after each item?
2013-04-16 20:00 <udono> cedk: no, it seems not work either.
2013-04-16 20:04 <udono> http://codereview.tryton.org/802002/

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!