~chromium-team/chromium-browser/translations-pump

« back to all changes in this revision

Viewing changes to fileformats/pot.py

  • Committer: Chad MILLER
  • Date: 2015-10-19 18:42:18 UTC
  • Revision ID: chad.miller@canonical.com-20151019184218-benco7vjulfva1lc
.

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
                    if example:
66
66
                        out.write("#. ex: {0}\n".format(example))
67
67
 
68
 
                for ref in sorted(template_info["refs"], key=lambda r: r["file"])[:2]:
69
 
                    out.write("#. in: {file}, as {id}\n".format(**ref))
 
68
                for ref in sorted(template_info["refs"], key=lambda r: r["grdfile"])[:2]:
 
69
                    out.write("#. in: {grdfile}, as {id}\n".format(**ref))
70
70
 
71
71
                out.write("#: id: {0}; intermediary: cmlpgrid v1\n".format(grdsid))
72
72