From 9c71b8f7a830691ea41e80a502c248d5c3f9b2a6 Mon Sep 17 00:00:00 2001 From: Mesar Hameed Date: Wed, 18 Jan 2012 21:39:22 +0000 Subject: [PATCH] Added some further translator comments. --- source/appModules/miranda32.py | 1 + source/appModules/msimn.py | 15 +++++++++++++++ source/appModules/sndrec32.py | 5 +++++ source/brailleDisplayDrivers/alvaBC6.py | 1 + source/brailleDisplayDrivers/baum.py | 1 + source/brailleDisplayDrivers/freedomScientific.py | 3 +++ source/brailleDisplayDrivers/handyTech.py | 1 + source/brailleDisplayDrivers/lilli.py | 1 + source/brailleDisplayDrivers/noBraille.py | 1 + 9 files changed, 29 insertions(+) diff --git a/source/appModules/miranda32.py b/source/appModules/miranda32.py index efb7d7694..cd2bab079 100644 --- a/source/appModules/miranda32.py +++ b/source/appModules/miranda32.py @@ -114,6 +114,7 @@ class AppModule(appModuleHandler.AppModule): if len(self.lastMessages)>num-1: ui.message(self.lastMessages[num-1]) else: + # Translators: This is presented to inform the user that no instant message has been received. ui.message(_("No message yet")) script_readMessage.__doc__=_("Displays one of the recent messages") diff --git a/source/appModules/msimn.py b/source/appModules/msimn.py index 3f82fa1c1..b436084c1 100644 --- a/source/appModules/msimn.py +++ b/source/appModules/msimn.py @@ -16,19 +16,33 @@ import watchdog #Labels for the header fields of an email, by control ID envelopeNames={ + # Translators: This is presented in outlook or live mail to indicate email attachments. 1000:_("Attachments"), + # Translators: This is presented in outlook or live mail when creating a new email 'to:' or 'recipient:' 1001:_("To:"), + # Translators: This is presented in outlook or live mail when sending an email to a newsgroup 1002:_("Newsgroup:"), + # Translators: This is presented in outlook or live mail, email carbon copy 1003:_("CC:"), + # Translators: This is presented in outlook or live mail, email subject 1004:_("Subject:"), + # Translators: This is presented in outlook or live mail, email sender 1005:_("From:"), + # Translators: This is presented in outlook or live mail, date of email 1016:_("Date:"), + # Translators: This is presented in outlook or live mail 1018:_("Forward to:"), + # Translators: This is presented in outlook or live mail 1019:_("Answer to:"), + # Translators: This is presented in outlook or live mail 1020:_("Organisation:"), + # Translators: This is presented in outlook or live mail 1021:_("Distribution:"), + # Translators: This is presented in outlook or live mail 1022:_("Key words:"), + # Translators: This is presented in outlook or live mail, email blind carbon copy 1026:_("BCC:"), + # Translators: This is presented in outlook or live mail, email sender 1037:_("From:"), } @@ -91,6 +105,7 @@ class MessageListItem(sysListView32.ListItem): elif imageState==6: nameList.append(controlTypes.stateLabels[controlTypes.STATE_EXPANDED]) if self.isUnread: + # Translators: Displayed in outlook or live mail to indicate an email is unread nameList.append(_("unread")) name=super(MessageListItem,self).name if name: diff --git a/source/appModules/sndrec32.py b/source/appModules/sndrec32.py index a75766417..a946ef06d 100644 --- a/source/appModules/sndrec32.py +++ b/source/appModules/sndrec32.py @@ -8,10 +8,15 @@ import appModuleHandler import controlTypes mainWindowButtonNames={ + # Translators: This is the name of a button in sound recorder. 205:_("Rewind"), + # Translators: This is the name of a button in sound recorder. 206:_("Fast forward"), + # Translators: This is the name of a button in sound recorder. 207:_("Play"), + # Translators: This is the name of a button in sound recorder. 208:_("Stop"), + # Translators: This is the name of a button in sound recorder. 209:_("Record") } diff --git a/source/brailleDisplayDrivers/alvaBC6.py b/source/brailleDisplayDrivers/alvaBC6.py index 2f4a1f623..edbef3435 100644 --- a/source/brailleDisplayDrivers/alvaBC6.py +++ b/source/brailleDisplayDrivers/alvaBC6.py @@ -41,6 +41,7 @@ except: class BrailleDisplayDriver(braille.BrailleDisplayDriver): name = "alvaBC6" + # Translators: The name of a braille display. description = _("ALVA BC640/680 series") @classmethod diff --git a/source/brailleDisplayDrivers/baum.py b/source/brailleDisplayDrivers/baum.py index 15dd942d8..906ca8968 100644 --- a/source/brailleDisplayDrivers/baum.py +++ b/source/brailleDisplayDrivers/baum.py @@ -85,6 +85,7 @@ BLUETOOTH_NAMES = ( class BrailleDisplayDriver(braille.BrailleDisplayDriver): name = "baum" + # Translators: Names of braille displays. description = _("Baum/HumanWare/APH braille displays") @classmethod diff --git a/source/brailleDisplayDrivers/freedomScientific.py b/source/brailleDisplayDrivers/freedomScientific.py index c402c6b71..0f6abe6aa 100755 --- a/source/brailleDisplayDrivers/freedomScientific.py +++ b/source/brailleDisplayDrivers/freedomScientific.py @@ -87,6 +87,7 @@ nvdaFsBrlWndCls.lpszClassName=u"nvdaFsBrlWndCls" class BrailleDisplayDriver(braille.BrailleDisplayDriver,ScriptableObject): name="freedomScientific" + # Translators: Names of braille displays. description=_("Freedom Scientific Focus/PAC Mate series") @classmethod @@ -94,7 +95,9 @@ class BrailleDisplayDriver(braille.BrailleDisplayDriver,ScriptableObject): return bool(fsbLib) wizWheelActions=[ + # Translators: The name of a key on a braille display, that scrolls the display to show previous/next part of a long line. (_("display scroll"),("globalCommands","GlobalCommands","braille_scrollBack"),("globalCommands","GlobalCommands","braille_scrollForward")), + # Translators: The name of a key on a braille display, that scrolls the display to show the next/previous line.. (_("line scroll"),("globalCommands","GlobalCommands","braille_previousLine"),("globalCommands","GlobalCommands","braille_nextLine")), ] diff --git a/source/brailleDisplayDrivers/handyTech.py b/source/brailleDisplayDrivers/handyTech.py index c8889b552..e8052752d 100644 --- a/source/brailleDisplayDrivers/handyTech.py +++ b/source/brailleDisplayDrivers/handyTech.py @@ -45,6 +45,7 @@ class BrailleDisplayDriver(braille.BrailleDisplayDriver, ScriptableObject): """Handy Tech braille display driver. """ name = "handyTech" + # Translators: Names of braille displays. description = _("Handy Tech braille displays") @classmethod diff --git a/source/brailleDisplayDrivers/lilli.py b/source/brailleDisplayDrivers/lilli.py index b0c4bf93d..6a56c680c 100644 --- a/source/brailleDisplayDrivers/lilli.py +++ b/source/brailleDisplayDrivers/lilli.py @@ -40,6 +40,7 @@ def convertLilliCells(cell): class BrailleDisplayDriver(braille.BrailleDisplayDriver): name = "lilli" + # Translators: Name of a braille display. description = _("MDV Lilli") @classmethod diff --git a/source/brailleDisplayDrivers/noBraille.py b/source/brailleDisplayDrivers/noBraille.py index 4fb2a6207..55722403e 100755 --- a/source/brailleDisplayDrivers/noBraille.py +++ b/source/brailleDisplayDrivers/noBraille.py @@ -10,6 +10,7 @@ class BrailleDisplayDriver(braille.BrailleDisplayDriver): """A dummy braille display driver used to disable braille in NVDA. """ name = "noBraille" + # Translators: Is used to indicate that braille support will be disabled. description = _("No braille") @classmethod -- 2.11.0