orca r4038 - in trunk: . src/orca test/keystrokes/gtk-demo



Author: wwalker
Date: Thu Jul 17 14:50:44 2008
New Revision: 4038
URL: http://svn.gnome.org/viewvc/orca?rev=4038&view=rev

Log:
Fix for bug #542367 - Some key names not marked for translation.


Modified:
   trunk/ChangeLog
   trunk/src/orca/keynames.py
   trunk/test/keystrokes/gtk-demo/learn_mode.py

Modified: trunk/src/orca/keynames.py
==============================================================================
--- trunk/src/orca/keynames.py	(original)
+++ trunk/src/orca/keynames.py	Thu Jul 17 14:50:44 2008
@@ -88,6 +88,10 @@
 #
 __keynames["Page_Down"]    = _("page down")
 
+# Translators: this is how someone would speak the name of the tab key
+#
+__keynames["Tab"] = _("tab")
+
 # Translators: this is how someone would speak the name of the left tab key
 #
 __keynames["ISO_Left_Tab"] = _("left tab")
@@ -104,14 +108,62 @@
 #
 __keynames["space"] = _("space")
 
-# Translators: this is the spoken word for the BackSpace key
+# Translators: this is how someone would speak the name of the backspace key
 #
 __keynames["BackSpace"] = _("backspace")
 
-#translators: this is the spoken word for Return key
+# Translators: this is how someone would speak the name of the return key
 #
 __keynames["Return"] = _("return")
 
+# Translators: this is how someone would speak the name of the up arrow key 
+#
+__keynames["Up"] = _("up")
+
+# Translators: this is how someone would speak the name of the down arrow key 
+#
+__keynames["Down"] = _("down")
+
+# Translators: this is how someone would speak the name of the left arrow key 
+#
+__keynames["Left"] = _("left")
+
+# Translators: this is how someone would speak the name of the right arrow key 
+#
+__keynames["Right"] = _("right")
+
+# Translators: this is how someone would speak the name of the left super key 
+#
+__keynames["Super_L"] = _("left super")
+
+# Translators: this is how someone would speak the name of the right super key 
+#
+__keynames["Super_R"] = _("right super")
+
+# Translators: this is how someone would speak the name of the menu key 
+#
+__keynames["Menu"] = _("menu")
+
+# Translators: this is how someone would speak the name of the ISO shift key 
+#
+__keynames["ISO_Level3_Shift"] = _("ISO level 3 shift")
+
+# Translators: this is how someone would speak the name of the help key 
+#
+__keynames["Help"] = _("help")
+
+# Translators: this is how someone would speak the name of the multi key 
+#
+__keynames["Multi_key"] = _("multi")
+
+# Translators: this is how someone would speak the name of the mode switch key 
+#
+__keynames["Mode_switch"] = _("mode switch")
+
+# Translators: this is how someone would speak the name of the escape key 
+#
+__keynames["Escape"] = _("escape")
+
 def getKeyName(key):
     """Given a keyboard key, return its name as people might refer to it
     in ordinary conversation.

Modified: trunk/test/keystrokes/gtk-demo/learn_mode.py
==============================================================================
--- trunk/test/keystrokes/gtk-demo/learn_mode.py	(original)
+++ trunk/test/keystrokes/gtk-demo/learn_mode.py	Thu Jul 17 14:50:44 2008
@@ -77,7 +77,7 @@
      "     VISIBLE:  'Escape', cursor=0",
      "BRAILLE LINE:  'Exiting learn mode.'",
      "     VISIBLE:  'Exiting learn mode.', cursor=0",
-     "SPEECH OUTPUT: 'Escape'",
+     "SPEECH OUTPUT: 'escape'",
      "SPEECH OUTPUT: 'Exiting learn mode.'"]))
 
 # Just a little extra wait to let some events get through.



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