orca r4115 - in trunk: . src/orca



Author: wwalker
Date: Wed Aug 20 14:14:39 2008
New Revision: 4115
URL: http://svn.gnome.org/viewvc/orca?rev=4115&view=rev

Log:
Fix for bug #548380 - Character count message needs reordering in translation


Modified:
   trunk/ChangeLog
   trunk/src/orca/default.py

Modified: trunk/src/orca/default.py
==============================================================================
--- trunk/src/orca/default.py	(original)
+++ trunk/src/orca/default.py	Wed Aug 20 14:14:39 2008
@@ -6286,9 +6286,11 @@
                 # space characters".  The %d is the number and the %s
                 # is the spoken word for the character.
                 #
-                line += " " + ngettext("%d %s character",
-                                       "%d %s characters",
-                                       count) % (count, repeatChar)
+                line += " " \
+                     + ngettext("%(count)d %(repeatChar)s character",
+                                "%(count)d %(repeatChar)s characters",
+                                count) \
+                       % {"count" : count, "repeatChar": repeatChar}
             else:
                 line += segment
         else:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]