Mercurial > hatta-flask
changeset 2369:636e5e1c442a
fix #89 typo in csv error message
| author | Radomir Dopieralski <sheep-devel@sheep.art.pl> |
|---|---|
| date | Mon, 31 Dec 2012 09:43:21 +0100 |
| parents | 687e860601ea |
| children | d000019f0e46 |
| files | hatta/page.py locale/hatta.pot |
| diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hatta/page.py Thu Nov 29 10:37:08 2012 +0100 +++ b/hatta/page.py Mon Dec 31 09:43:21 2012 +0100 @@ -558,7 +558,7 @@ except csv.Error, e: yield u'</table>' yield werkzeug.html.p(werkzeug.html( - _(u'Error parsing CSV file %{file}s on' + _(u'Error parsing CSV file %{file}s on ' u'line %{line}d: %{error}s') % {'file': html_title, 'line': reader.line_num, 'error': e})) finally:
--- a/locale/hatta.pot Thu Nov 29 10:37:08 2012 +0100 +++ b/locale/hatta.pot Mon Dec 31 09:43:21 2012 +0100 @@ -36,7 +36,7 @@ msgstr "" #: hatta/page.py:543 -msgid "Error parsing CSV file %{file}s online %{line}d: %{error}s" +msgid "Error parsing CSV file %{file}s on line %{line}d: %{error}s" msgstr "" #: hatta/storage.py:124
