devtools/devctl.py
changeset 10174 7e1c8fb9c407
parent 10163 4001cfe2f44d
child 10214 88f60d4b9952
child 10229 512ba8f37bd4
equal deleted inserted replaced
10173:c06ef8a2e4df 10174:7e1c8fb9c407
   165             add_msg(w, etype)
   165             add_msg(w, etype)
   166             add_msg(w, '%s_plural' % etype)
   166             add_msg(w, '%s_plural' % etype)
   167             if not eschema.final:
   167             if not eschema.final:
   168                 add_msg(w, 'This %s:' % etype)
   168                 add_msg(w, 'This %s:' % etype)
   169                 add_msg(w, 'New %s' % etype)
   169                 add_msg(w, 'New %s' % etype)
       
   170                 if libconfig is not None:  # processing a cube
       
   171                     # As of 3.20.3 we no longer use it, but keeping this string
       
   172                     # allows developers to run i18ncube with new cubicweb and still
       
   173                     # have the right translations at runtime for older versions
       
   174                     add_msg(w, 'This %s' % etype)
   170             if eschema.description and not eschema.description in done:
   175             if eschema.description and not eschema.description in done:
   171                 done.add(eschema.description)
   176                 done.add(eschema.description)
   172                 add_msg(w, eschema.description)
   177                 add_msg(w, eschema.description)
   173         if eschema.final:
   178         if eschema.final:
   174             continue
   179             continue