Mercurial > p > roundup > code
changeset 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 | 0e04fcdd1ff2 |
| children | 69a35d164a69 |
| files | roundup/cgi/templating.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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]))
