From 7c6ca73f1b3105a79bcab412babfc2ab3cffce54 Mon Sep 17 00:00:00 2001 From: James Teh Date: Wed, 12 Sep 2012 12:25:13 +1000 Subject: [PATCH] The NVDA Key Commands Quick Reference document has been renamed to Commands Quick Reference, as it now includes touch commands as well as keyboard commands. --- source/gui/__init__.py | 3 ++- source/installer.py | 8 ++++++-- user_docs/en/changes.t2t | 1 + user_docs/en/userGuide.t2t | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/source/gui/__init__.py b/source/gui/__init__.py index 34ac1f8cd..130a0cd96 100644 --- a/source/gui/__init__.py +++ b/source/gui/__init__.py @@ -342,7 +342,8 @@ class SysTrayIcon(wx.TaskBarIcon): if not globalVars.appArgs.secure: item = menu_help.Append(wx.ID_ANY, _("User Guide")) self.Bind(wx.EVT_MENU, lambda evt: os.startfile(getDocFilePath("userGuide.html")), item) - item = menu_help.Append(wx.ID_ANY, _("Keyboard Commands Quick Reference")) + # Translators: The label of a menu item to open the Commands Quick Reference document. + item = menu_help.Append(wx.ID_ANY, _("Commands &Quick Reference")) self.Bind(wx.EVT_MENU, lambda evt: os.startfile(getDocFilePath("keyCommands.html")), item) item = menu_help.Append(wx.ID_ANY, _("What's &new")) self.Bind(wx.EVT_MENU, lambda evt: os.startfile(getDocFilePath("changes.html")), item) diff --git a/source/installer.py b/source/installer.py index ddb781e06..c8e4baba0 100644 --- a/source/installer.py +++ b/source/installer.py @@ -156,8 +156,12 @@ def registerInstallation(installDir,startMenuFolder,shouldCreateDesktopShortcut, createShortcut(os.path.join(startMenuFolder,_("NVDA web site")+".lnk"),targetPath=versionInfo.url,prependSpecialFolder="AllUsersPrograms") createShortcut(os.path.join(startMenuFolder,_("Uninstall NVDA")+".lnk"),targetPath=os.path.join(installDir,"uninstall.exe"),workingDirectory=installDir,prependSpecialFolder="AllUsersPrograms") createShortcut(os.path.join(startMenuFolder,_("Explore NVDA user configuration directory")+".lnk"),targetPath=slaveExe,arguments="explore_userConfigPath",workingDirectory=installDir,prependSpecialFolder="AllUsersPrograms") - createShortcut(os.path.join(startMenuFolder,_("Documentation"),_("Keyboard Commands Quick Reference")+".lnk"),targetPath=getDocFilePath("keyCommands.html",installDir),prependSpecialFolder="AllUsersPrograms") - createShortcut(os.path.join(startMenuFolder,_("Documentation"),_("User Guide")+".lnk"),targetPath=getDocFilePath("userGuide.html",installDir),prependSpecialFolder="AllUsersPrograms") + # Translators: The label of the NVDA Documentation menu in the Start Menu. + docFolder=os.path.join(startMenuFolder,_("Documentation")) + # Translators: The label of the Start Menu item to open the Commands Quick Reference document. + createShortcut(os.path.join(docFolder,_("Commands Quick Reference")+".lnk"),targetPath=getDocFilePath("keyCommands.html",installDir),prependSpecialFolder="AllUsersPrograms") + # Translators: The label of the Start Menu item to open the User Guide. + createShortcut(os.path.join(docFolder,_("User Guide")+".lnk"),targetPath=getDocFilePath("userGuide.html",installDir),prependSpecialFolder="AllUsersPrograms") def isDesktopShortcutInstalled(): wsh=_getWSH() diff --git a/user_docs/en/changes.t2t b/user_docs/en/changes.t2t index 9e4a5912f..84b3ecfc9 100644 --- a/user_docs/en/changes.t2t +++ b/user_docs/en/changes.t2t @@ -44,6 +44,7 @@ - If installing the same or another version of a currently installed add-on, NVDA will ask if you wish to remove the old add-on first, rather than just showing an error and aborting installation. (#2501) - Object navigation commands (except the report current object command) now report with less verbosity. You can still obtain the extra information by using the report current object command. (#2560) - Updated liblouis braille translator to 2.5.0. +- The NVDA Key Commands Quick Reference document has been renamed to Commands Quick Reference, as it now includes touch commands as well as keyboard commands. == Bug Fixes == diff --git a/user_docs/en/userGuide.t2t b/user_docs/en/userGuide.t2t index 0393910df..c3b49127d 100644 --- a/user_docs/en/userGuide.t2t +++ b/user_docs/en/userGuide.t2t @@ -2,7 +2,7 @@ NVDA NVDA_VERSION User Guide %!includeconf: ../userGuide.t2tconf -%kc:title: NVDA NVDA_VERSION Keyboard Commands Quick Reference +%kc:title: NVDA NVDA_VERSION Commands Quick Reference = Table of Contents =[toc] %%toc -- 2.11.0