/[smecontribs]/rpms/mailman/contribs10/mailman-2.1.9-ctypo-new.patch
ViewVC logotype

Contents of /rpms/mailman/contribs10/mailman-2.1.9-ctypo-new.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Feb 22 15:33:57 2021 UTC (3 years, 9 months ago) by brianr
Branch: MAIN
CVS Tags: HEAD
Initial import

1 diff -ruN mailman-2.1.12-a/bin/change_pw mailman-2.1.12-b/bin/change_pw
2 --- mailman-2.1.12-a/bin/change_pw 2009-02-23 22:23:35.000000000 +0100
3 +++ mailman-2.1.12-b/bin/change_pw 2009-07-28 12:19:50.000000000 +0200
4 @@ -186,8 +186,8 @@
5 adminurl = mlist.GetScriptURL('admin', absolute=1)
6 msg = Message.UserNotification(
7 mlist.owner[:], Utils.get_site_email(),
8 - _('Your new %(listname)s list password'),
9 - _('''\
10 + C_('Your new %(listname)s list password'),
11 + C_('''\
12 The site administrator at %(hostname)s has changed the password for your
13 mailing list %(listname)s. It is now
14
15 diff -ruN mailman-2.1.12-a/bin/check_perms mailman-2.1.12-b/bin/check_perms
16 --- mailman-2.1.12-a/bin/check_perms 2009-07-28 12:19:49.000000000 +0200
17 +++ mailman-2.1.12-b/bin/check_perms 2009-07-28 12:19:50.000000000 +0200
18 @@ -221,7 +221,7 @@
19 # In addition, on a multiuser system you may want to hide the private
20 # archives so other users can't read them.
21 if mode & S_IXOTH:
22 - print _("""\
23 + print C_("""\
24 Warning: Private archive directory is other-executable (o+x).
25 This could allow other users on your system to read private archives.
26 If you're on a shared multiuser system, you should consult the
27 diff -ruN mailman-2.1.12-a/bin/newlist mailman-2.1.12-b/bin/newlist
28 --- mailman-2.1.12-a/bin/newlist 2009-02-23 22:23:35.000000000 +0100
29 +++ mailman-2.1.12-b/bin/newlist 2009-07-28 12:19:50.000000000 +0200
30 @@ -246,7 +246,7 @@
31 try:
32 msg = Message.UserNotification(
33 owner_mail, siteowner,
34 - _('Your new mailing list: %(listname)s'),
35 + C_('Your new mailing list: %(listname)s'),
36 text, mlist.preferred_language)
37 msg.send(mlist)
38 finally:
39 diff -ruN mailman-2.1.12-a/bin/reset_pw.py mailman-2.1.12-b/bin/reset_pw.py
40 --- mailman-2.1.12-a/bin/reset_pw.py 2009-02-23 22:23:35.000000000 +0100
41 +++ mailman-2.1.12-b/bin/reset_pw.py 2009-07-28 12:19:50.000000000 +0200
42 @@ -38,7 +38,7 @@
43
44 import paths
45 from Mailman import Utils
46 -from Mailman.i18n import _
47 +from Mailman.i18n import _C
48
49
50 try:
51 @@ -74,13 +74,13 @@
52
53 listname = mlist.internal_name()
54 if verbose:
55 - print _('Changing passwords for list: %(listname)s')
56 + print C_('Changing passwords for list: %(listname)s')
57
58 for member in mlist.getMembers():
59 randompw = Utils.MakeRandomPassword()
60 mlist.setMemberPassword(member, randompw)
61 if verbose:
62 - print _('New password for member %(member)40s: %(randompw)s')
63 + print C_('New password for member %(member)40s: %(randompw)s')
64
65 mlist.Save()
66
67 diff -ruN mailman-2.1.12-a/bin/update mailman-2.1.12-b/bin/update
68 --- mailman-2.1.12-a/bin/update 2009-02-23 22:23:35.000000000 +0100
69 +++ mailman-2.1.12-b/bin/update 2009-07-28 12:19:50.000000000 +0200
70 @@ -455,7 +455,7 @@
71 except EnvironmentError, e:
72 if e.errno <> errno.ENOTDIR:
73 raise
74 - print _('Warning! Not a directory: %(dirpath)s')
75 + print C_('Warning! Not a directory: %(dirpath)s')
76
77
78
79 @@ -538,7 +538,7 @@
80 msg = data = None
81 except EOFError:
82 # For some reason the pckfile was empty. Just delete it.
83 - print _('Warning! Deleting empty .pck file: %(pckfile)s')
84 + print C_('Warning! Deleting empty .pck file: %(pckfile)s')
85 os.unlink(pckfile)
86 finally:
87 if msgfp:
88 diff -ruN mailman-2.1.12-a/Mailman/MTA/Postfix.py mailman-2.1.12-b/Mailman/MTA/Postfix.py
89 --- mailman-2.1.12-a/Mailman/MTA/Postfix.py 2009-07-28 12:19:49.000000000 +0200
90 +++ mailman-2.1.12-b/Mailman/MTA/Postfix.py 2009-07-28 12:19:50.000000000 +0200
91 @@ -356,9 +356,9 @@
92 if stat and (stat[ST_MODE] & targetmode) <> targetmode:
93 state.ERRORS += 1
94 octmode = oct(stat[ST_MODE])
95 - print _('%(dbfile)s permissions must be 066x (got %(octmode)s)'),
96 + print C_('%(dbfile)s permissions must be 066x (got %(octmode)s)'),
97 if state.FIX:
98 - print _('(fixing)')
99 + print C_('(fixing)')
100 os.chmod(dbfile, stat[ST_MODE] | targetmode)
101 else:
102 print

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed