~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/bzrgettext.py

  • Committer: INADA Naoki
  • Date: 2011-05-06 17:48:18 UTC
  • mto: (5830.3.4 i18n-msgfmt)
  • mto: This revision was merged to the branch mainline in revision 5873.
  • Revision ID: songofacandy@gmail.com-20110506174818-imbpsiha5bhwmax4
Change dummy file path for help topics.

Show diffs side-by-side

added added

removed removed

Lines of Context:
166
166
def bzr_helptopics():
167
167
    from bzrlib.help_topics import topic_registry
168
168
    for key in topic_registry.keys():
169
 
        print >>sys.stderr, "Extracting help topic on:", key
170
169
        doc = topic_registry.get(key)
171
170
        if isinstance(doc, str):
172
171
            poentry_per_paragraph(
173
 
                    'detail of help topic about '+key,
174
 
                    0, doc)
 
172
                    'dummy/help_topics/'+key+'/detail.txt',
 
173
                    1, doc)
175
174
 
176
175
        summary = topic_registry.get_summary(key)
177
176
        if summary is not None:
178
 
            poentry('summery of help topic about '+key,
179
 
                    0, summary)
 
177
            poentry('dummy/help_topics/'+key+'/summary.txt',
 
178
                    1, summary)
180
179
 
181
180
 
182
181
def rawtext(path):