<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -262,8 +262,8 @@ def handle_suggestions(request, translation_project, file_path, item):
                 response[&quot;del_ids&quot;].append((int(item), sugg[&quot;id&quot;]))
                 accept_count += 1
             except ValueError:
-                # TODO: provide fine-grained error message from the exception
-                response[&quot;message&quot;] = _(&quot;This is an error message.&quot;)
+                # l10n: ValueError refers to the Python exception name
+                response[&quot;message&quot;] = _(&quot;Error: ValueError exception raised.&quot;)
 
 
         for sugg in reversed(rejects):
@@ -275,8 +275,8 @@ def handle_suggestions(request, translation_project, file_path, item):
                 response[&quot;del_ids&quot;].append((int(item), sugg[&quot;id&quot;]))
                 pending = getpendingsuggestions(int(item))
             except ValueError:
-                # TODO: provide fine-grained error message from the exception
-                response[&quot;message&quot;] = _(&quot;This is an error message.&quot;)
+                # l10n: ValueError refers to the Python exception name
+                response[&quot;message&quot;] = _(&quot;Error: ValueError exception raised.&quot;)
 
         response[&quot;status&quot;] = (reject_candidates == reject_count and
                               accept_candidates == accept_count) and \
@@ -286,9 +286,9 @@ def handle_suggestions(request, translation_project, file_path, item):
             amsg = &quot;&quot;
             rmsg = &quot;&quot;
             if accept_candidates != 0:
-                amsg = _(&quot;Suggestion accepted&quot;)
+                amsg = _(&quot;Suggestion accepted.&quot;)
             if reject_candidates != 0:
-                rmsg = _N(&quot;Suggestion rejected&quot;,
+                rmsg = _N(&quot;Suggestion rejected.&quot;,
                           &quot;%d suggestions rejected.&quot;, reject_count)
             response[&quot;message&quot;] = amsg + rmsg
 </diff>
      <filename>local_apps/pootle_app/views/language/view.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>77830122fb19a8d956c05d033fa355787e671a3f</id>
    </parent>
  </parents>
  <author>
    <name>murgilduta</name>
    <email>murgilduta@54714841-351b-0410-a198-e36a94b762f5</email>
  </author>
  <url>http://github.com/translateorgza/pootle/commit/a04ced811149e66b9c415360446db409b086d96d</url>
  <id>a04ced811149e66b9c415360446db409b086d96d</id>
  <committed-date>2009-10-13T08:20:46-07:00</committed-date>
  <authored-date>2009-10-13T08:20:46-07:00</authored-date>
  <message>Small changes in response messages.

git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@12368 54714841-351b-0410-a198-e36a94b762f5</message>
  <tree>17b6eda9f69f1dbb9dac69d64367f3e43e5df8d5</tree>
  <committer>
    <name>murgilduta</name>
    <email>murgilduta@54714841-351b-0410-a198-e36a94b762f5</email>
  </committer>
</commit>
