Mercurial > p > roundup > code
changeset 2566:dd2b9f5a104c
don't translate strings that never need translation
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Tue, 13 Jul 2004 10:24:19 +0000 |
| parents | 89c5e8564dad |
| children | bc541d8d97cb |
| files | roundup/admin.py roundup/scripts/roundup_server.py |
| diffstat | 2 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/roundup/admin.py Tue Jul 13 10:19:13 2004 +0000 +++ b/roundup/admin.py Tue Jul 13 10:24:19 2004 +0000 @@ -16,7 +16,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: admin.py,v 1.75 2004-06-25 22:23:36 richard Exp $ +# $Id: admin.py,v 1.76 2004-07-13 10:21:32 a1s Exp $ '''Administration commands for maintaining Roundup trackers. ''' @@ -156,10 +156,10 @@ h = _(command.__doc__).split('\n') name = command.__name__[3:] usage = h[0] - print _(''' + print ''' <tr><td valign=top><strong>%(name)s</strong></td> <td><tt>%(usage)s</tt><p> -<pre>''')%locals() +<pre>''' % locals() indent = indent_re.match(h[3]) if indent: indent = len(indent.group(1)) for line in h[3:]: @@ -167,7 +167,7 @@ print line[indent:] else: print line - print _('</pre></td></tr>\n') + print '</pre></td></tr>\n' def help_all(self): print _(''' @@ -234,7 +234,7 @@ ''') for name, command in self.commands.items(): print _('%s:')%name - print _(' '), _(command.__doc__) + print ' ', _(command.__doc__) def do_help(self, args, nl_re=re.compile('[\r\n]'), indent_re=re.compile(r'^(\s+)\S+')):
--- a/roundup/scripts/roundup_server.py Tue Jul 13 10:19:13 2004 +0000 +++ b/roundup/scripts/roundup_server.py Tue Jul 13 10:24:19 2004 +0000 @@ -17,7 +17,7 @@ """Command-line script that runs a server over roundup.cgi.client. -$Id: roundup_server.py,v 1.54 2004-07-04 12:52:06 a1s Exp $ +$Id: roundup_server.py,v 1.55 2004-07-13 10:24:19 a1s Exp $ """ __docformat__ = 'restructuredtext' @@ -132,10 +132,10 @@ keys = self.TRACKER_HOMES.keys() keys.sort() for tracker in keys: - w(_('<li><a href="%(tracker_url)s/index">%(tracker_name)s</a>\n')%{ + w('<li><a href="%(tracker_url)s/index">%(tracker_name)s</a>\n'%{ 'tracker_url': urllib.quote(tracker), 'tracker_name': cgi.escape(tracker)}) - w(_('</ol></body></html>')) + w('</ol></body></html>') def inner_run_cgi(self): ''' This is the inner part of the CGI handling
