Mercurial > p > roundup > code
diff roundup/cgi/templating.py @ 5995:b4b5b7afacd9
issue2551007 - Selection fields are not translated
Added a FIXME to a section of code that should mark a string
as translatable, but I am not sure how to mark it that way.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 24 Dec 2019 20:44:19 -0500 |
| parents | b0940ad50f43 |
| children | b6e56d096c58 |
line wrap: on
line diff
--- a/roundup/cgi/templating.py Mon Dec 23 17:54:01 2019 -0500 +++ b/roundup/cgi/templating.py Tue Dec 24 20:44:19 2019 -0500 @@ -2479,7 +2479,7 @@ **html_kwargs)] k = linkcl.labelprop(1) - if value: + if value: # FIXME '- no selection -' mark for translation l.append('<option value="%s">- no selection -</option>' % ','.join(['-' + v for v in value]))
