# HG changeset patch # User Sylvain Thénault # Date 1253179898 -7200 # Node ID c1f5625f2feaa72d9f00a8adc7bba56599ce2a05 # Parent 6a2cde3f886e2ef80a7eb6f0582038843657605b ensure bw compat for relation traduction, add context to _object msg id diff -r 6a2cde3f886e -r c1f5625f2fea devtools/devctl.py --- a/devtools/devctl.py Thu Sep 17 11:08:09 2009 +0200 +++ b/devtools/devctl.py Thu Sep 17 11:31:38 2009 +0200 @@ -152,8 +152,13 @@ rtype = rschema.type for subjschema in rschema.subjects(): add_msg(w, rtype, subjschema.type) + # bw compat, necessary until all translation of relation are done properly... + add_msg(w, rtype) done.add(rtype) if not (schema.rschema(rtype).is_final() or rschema.symetric): + for objschema in rschema.objects(): + add_msg(w, '%s_object' % rtype, objschema.type) + # bw compat, necessary until all translation of relation are done properly... add_msg(w, '%s_object' % rtype) if rschema.description and rschema.description not in done: done.add(rschema.description)