orca r4045 - in trunk: . src/orca
- From: wwalker svn gnome org
- To: svn-commits-list gnome org
- Subject: orca r4045 - in trunk: . src/orca
- Date: Fri, 18 Jul 2008 13:20:37 +0000 (UTC)
Author: wwalker
Date: Fri Jul 18 13:20:37 2008
New Revision: 4045
URL: http://svn.gnome.org/viewvc/orca?rev=4045&view=rev
Log:
More fix for bug ##542367 - Some key names not marked for translation.
Modified:
trunk/ChangeLog
trunk/src/orca/keynames.py
Modified: trunk/src/orca/keynames.py
==============================================================================
--- trunk/src/orca/keynames.py (original)
+++ trunk/src/orca/keynames.py Fri Jul 18 13:20:37 2008
@@ -84,10 +84,34 @@
#
__keynames["Page_Up"] = _("page up")
+# Translators: this is how someone would speak the name of the page up key
+#
+__keynames["KP_Page_Up"] = _("page up")
+
+# Translators: this is how someone would speak the name of the page up key
+#
+__keynames["Prior"] = _("page up")
+
+# Translators: this is how someone would speak the name of the page up key
+#
+__keynames["KP_Prior"] = _("page up")
+
# Translators: this is how someone would speak the name of the page down key
#
__keynames["Page_Down"] = _("page down")
+# Translators: this is how someone would speak the name of the page down key
+#
+__keynames["KP_Page_Down"] = _("page down")
+
+# Translators: this is how someone would speak the name of the page down key
+#
+__keynames["Next"] = _("page down")
+
+# Translators: this is how someone would speak the name of the page down key
+#
+__keynames["KP_Next"] = _("page down")
+
# Translators: this is how someone would speak the name of the tab key
#
__keynames["Tab"] = _("tab")
@@ -116,22 +140,42 @@
#
__keynames["Return"] = _("return")
+# Translators: this is how someone would speak the name of the enter key
+#
+__keynames["KP_Enter"] = _("enter")
+
# 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 up arrow key
+#
+__keynames["KP_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 down arrow key
+#
+__keynames["KP_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 left arrow key
+#
+__keynames["KP_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 right arrow key
+#
+__keynames["KP_Right"] = _("right")
+
# Translators: this is how someone would speak the name of the left super key
#
__keynames["Super_L"] = _("left super")
@@ -164,6 +208,42 @@
#
__keynames["Escape"] = _("escape")
+# Translators: this is how someone would speak the name of the insert key
+#
+__keynames["Insert"] = _("insert")
+
+# Translators: this is how someone would speak the name of the insert key
+#
+__keynames["KP_Insert"] = _("insert")
+
+# Translators: this is how someone would speak the name of the delete key
+#
+__keynames["Delete"] = _("delete")
+
+# Translators: this is how someone would speak the name of the delete key
+#
+__keynames["KP_Delete"] = _("delete")
+
+# Translators: this is how someone would speak the name of the home key
+#
+__keynames["Home"] = _("home")
+
+# Translators: this is how someone would speak the name of the home key
+#
+__keynames["KP_Home"] = _("home")
+
+# Translators: this is how someone would speak the name of the end key
+#
+__keynames["End"] = _("end")
+
+# Translators: this is how someone would speak the name of the end key
+#
+__keynames["KP_End"] = _("end")
+
+# Translators: this is how someone would speak the name of the begin key
+#
+__keynames["KP_Begin"] = _("begin")
+
def getKeyName(key):
"""Given a keyboard key, return its name as people might refer to it
in ordinary conversation.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]