Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(38)

Delta Between Two Patch Sets: Tools/i18n/pygettext.py

Issue 18128: pygettext: non-standard timestamp format in POT-Creation-Date
Left Patch Set: Created 4 years, 10 months ago
Right Patch Set: Created 4 years, 10 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« Lib/test/test_tools/test_i18n.py ('K') | « Lib/test/test_tools/test_i18n.py ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 #! /usr/bin/env python3 1 #! /usr/bin/env python3
2 # -*- coding: iso-8859-1 -*- 2 # -*- coding: iso-8859-1 -*-
3 # Originally written by Barry Warsaw <barry@python.org> 3 # Originally written by Barry Warsaw <barry@python.org>
4 # 4 #
5 # Minimally patched to make it even more xgettext compatible 5 # Minimally patched to make it even more xgettext compatible
6 # by Peter Funk <pf@artcom-gmbh.de> 6 # by Peter Funk <pf@artcom-gmbh.de>
7 # 7 #
8 # 2002-11-22 Jürgen Hermann <jh@web.de> 8 # 2002-11-22 Jürgen Hermann <jh@web.de>
9 # Added checks that _() only contains string literals, and 9 # Added checks that _() only contains string literals, and
10 # command line args are resolved to module lists, i.e. you 10 # command line args are resolved to module lists, i.e. you
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 fp.close() 661 fp.close()
662 662
663 663
664 664
665 if __name__ == '__main__': 665 if __name__ == '__main__':
666 main() 666 main()
667 # some more test strings 667 # some more test strings
668 # this one creates a warning 668 # this one creates a warning
669 _('*** Seen unexpected token "%(token)s"') % {'token': 'test'} 669 _('*** Seen unexpected token "%(token)s"') % {'token': 'test'}
670 _('more' 'than' 'one' 'string') 670 _('more' 'than' 'one' 'string')
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+