Skip to content

Commit 7731bde

Browse files
author
Alexander Smishlajev
committed
join adjacent translatable strings
1 parent 37eac2b commit 7731bde

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

roundup/scripts/roundup_mailgw.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1515
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1616
#
17-
# $Id: roundup_mailgw.py,v 1.16 2004-05-12 17:50:58 a1s Exp $
17+
# $Id: roundup_mailgw.py,v 1.17 2004-05-18 19:26:32 a1s Exp $
1818

1919
"""Command-line script stub that calls the roundup.mailgw.
2020
"""
@@ -32,17 +32,17 @@
3232
def usage(args, message=None):
3333
if message is not None:
3434
print message
35-
print _('Usage: %(program)s [-v] [[-C class] -S field=value]* <instance '
36-
'home> [method]')%{'program': args[0]}
37-
print _('''
35+
print _(
36+
"""Usage: %(program)s [-v] [[-C class] -S field=value]* <instance home> [method]
37+
3838
Options:
3939
-v: print version and exit
4040
-C / -S: see below
4141
4242
The roundup mail gateway may be called in one of four ways:
4343
. with an instance home as the only argument,
44-
. with both an instance home and a mail spool file, or
45-
. with both an instance home and a POP/APOP server account.
44+
. with both an instance home and a mail spool file,
45+
. with both an instance home and a POP/APOP server account, or
4646
. with both an instance home and a IMAP/IMAPS server account.
4747
4848
It also supports optional -C and -S arguments that allows you to set a
@@ -94,7 +94,7 @@ def usage(args, message=None):
9494
This supports the same notation as IMAP.
9595
imaps username:password@server [mailbox]
9696
97-
''')
97+
""")%{'program': args[0]}
9898
return 1
9999

100100
def main(argv):

roundup/scripts/roundup_server.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
"""Command-line script that runs a server over roundup.cgi.client.
1919
20-
$Id: roundup_server.py,v 1.49 2004-05-14 20:02:44 a1s Exp $
20+
$Id: roundup_server.py,v 1.50 2004-05-18 19:25:24 a1s Exp $
2121
"""
2222
__docformat__ = 'restructuredtext'
2323

@@ -127,8 +127,8 @@ def index(self):
127127
self.send_header('Content-Type', 'text/html')
128128
self.end_headers()
129129
w = self.wfile.write
130-
w(_('<html><head><title>Roundup trackers index</title></head>\n'))
131-
w(_('<body><h1>Roundup trackers index</h1><ol>\n'))
130+
w(_('<html><head><title>Roundup trackers index</title></head>\n'
131+
'<body><h1>Roundup trackers index</h1><ol>\n'))
132132
keys = self.TRACKER_HOMES.keys()
133133
keys.sort()
134134
for tracker in keys:
@@ -343,7 +343,8 @@ def get_request(self):
343343

344344
def usage(message=''):
345345
if RoundupService:
346-
win = ''' -c: Windows Service options. If you want to run the server as a Windows
346+
win = \
347+
""''' -c: Windows Service options. If you want to run the server as a Windows
347348
Service, you must configure the rest of the options by changing the
348349
constants of this program. You will at least configure one tracker
349350
in the TRACKER_HOMES variable. This option is mutually exclusive

0 commit comments

Comments
 (0)