[orca] Tweak to the fix for bug 626272 -Plural forms needed for correct localization



commit 2ade16b2e78c5acddd6ef921ee46046f8b68ed16
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date:   Wed Aug 25 20:47:16 2010 -0400

    Tweak to the fix for bug 626272 -Plural forms needed for correct localization

 src/orca/structural_navigation.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/orca/structural_navigation.py b/src/orca/structural_navigation.py
index 0174f29..b1f2458 100644
--- a/src/orca/structural_navigation.py
+++ b/src/orca/structural_navigation.py
@@ -1505,7 +1505,7 @@ class StructuralNavigation:
             # within a document.  We need to announce when the cell occupies
             # or "spans" more than a single row and/or column.
             #
-            spanString = _("Cell spans %(rows)s and %(columns)s") \
+            spanString = _("Cell spans %(rows)d and %(columns)d") \
                          % {"rows" : rowString,
                             "columns" : colString}
         elif (colspan > 1):
@@ -1513,13 +1513,13 @@ class StructuralNavigation:
             # within a document.  We need to announce when the cell occupies
             # or "spans" more than a single row and/or column.
             #
-            spanString = _("Cell spans %s") % colString
+            spanString = _("Cell spans %d") % colString
         elif (rowspan > 1):
             # Translators: The cell here refers to a cell within a table
             # within a document.  We need to announce when the cell occupies
             # or "spans" more than a single row and/or column.
             #
-            spanString = _("Cell spans %s") % rowString
+            spanString = _("Cell spans %d") % rowString
 
         return spanString
 



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