Skip to content

Commit 9649a7e

Browse files
author
Richard Jones
committed
allow translation of status/priority menu options [SF#1613976]
1 parent c45cb2d commit 9649a7e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Fixed:
1616
- support POP over SSL (sf patch 1597703)
1717
- clean up input field generation and quoting of values (sf bug 1615616)
1818
- allow use of roundup-server pidfile without forking (sf bug 1614753)
19+
- allow translation of status/priority menu options (sf bug 1613976)
1920

2021

2122
2006-11-11 1.3.1

roundup/cgi/templating.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2041,7 +2041,7 @@ def menu(self, size=None, height=None, showid=0, additional=[],
20412041
lab = lab + ' (%s)'%', '.join(m)
20422042

20432043
# and generate
2044-
lab = cgi.escape(lab)
2044+
lab = cgi.escape(self._(lab))
20452045
l.append('<option %svalue="%s">%s</option>'%(s, optionid,
20462046
lab))
20472047
l.append('</select>')

0 commit comments

Comments
 (0)