OSDN Git Service

Add translator comments.
authorJames Teh <jamie@jantrid.net>
Mon, 13 Aug 2012 04:31:23 +0000 (14:31 +1000)
committerJames Teh <jamie@jantrid.net>
Mon, 13 Aug 2012 04:31:23 +0000 (14:31 +1000)
source/braille.py
source/speech.py

index 63f8891..6c63467 100644 (file)
@@ -439,6 +439,9 @@ def getBrailleTextForProperties(**propertyValues):
                indexInGroup = positionInfo.get("indexInGroup")\r
                similarItemsInGroup = positionInfo.get("similarItemsInGroup")\r
                if indexInGroup and similarItemsInGroup:\r
+                       # Translators: Brailled to indicate the position of an item in a group of items (such as a list).\r
+                       # {number} is replaced with the number of the item in the group.\r
+                       # {total} is replaced with the total number of items in the group.\r
                        textList.append(_("{number} of {total}").format(number=indexInGroup, total=similarItemsInGroup))\r
                if level is not None:\r
                        # Translators: Displayed in braille when an object (e.g. a tree view item) has a hierarchical level.\r
index 46299fe..d1c97ed 100755 (executable)
@@ -813,6 +813,9 @@ def getSpeechTextForProperties(reason=controlTypes.REASON_QUERY,**propertyValues
        indexInGroup=propertyValues.get('positionInfo_indexInGroup',0)\r
        similarItemsInGroup=propertyValues.get('positionInfo_similarItemsInGroup',0)\r
        if 0<indexInGroup<=similarItemsInGroup:\r
+               # Translators: Spoken to indicate the position of an item in a group of items (such as a list).\r
+               # {number} is replaced with the number of the item in the group.\r
+               # {total} is replaced with the total number of items in the group.\r
                textList.append(_("{number} of {total}").format(number=indexInGroup, total=similarItemsInGroup))\r
        if 'positionInfo_level' in propertyValues:\r
                level=propertyValues.get('positionInfo_level',None)\r