commit/nvda: josephsl: T1410: added translator comments for MS Word.

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons-commits@xxxxxxxxxxxxx
  • Date: Thu, 06 Mar 2014 12:12:47 -0000

1 new commit in nvda:

https://bitbucket.org/nvdaaddonteam/nvda/commits/d0c3dfc803fd/
Changeset:   d0c3dfc803fd
Branch:      t1410
User:        josephsl
Date:        2014-03-06 13:10:31
Summary:     T1410: added translator comments for MS Word.

Affected #:  1 file

diff --git a/source/NVDAObjects/window/winword.py 
b/source/NVDAObjects/window/winword.py
index a247ef9..1a7667e 100755
--- a/source/NVDAObjects/window/winword.py
+++ b/source/NVDAObjects/window/winword.py
@@ -155,15 +155,25 @@ wdRevisionTypeLabels={
 }
 
 storyTypeLocalizedLabels={
+       # Translators: A Microsoft Word note type for describing text (comments 
on text placed by the author)
        wdCommentsStory:_("Comments"),
+       # Translators: A Microsoft Word note type for describing text (endnotes 
mostly used in citations)
        wdEndnotesStory:_("Endnotes"),
+       # Translators: A Microsoft Word note type for describing text (even 
pages footer text)
        wdEvenPagesFooterStory:_("Even pages footer"),
+       # Translators: A Microsoft Word note type for describing text (even 
pages header text)
        wdEvenPagesHeaderStory:_("Even pages header"),
+       # Translators: A Microsoft Word note type for describing text (first 
page footer text)
        wdFirstPageFooterStory:_("First page footer"),
+       # Translators: A Microsoft Word note type for describing text (first 
page header text)
        wdFirstPageHeaderStory:_("First page header"),
+       # Translators: A Microsoft Word note type for describing text (text is 
a footnote)
        wdFootnotesStory:_("Footnotes"),
+       # Translators: A Microsoft Word note type for describing text (primary 
footer)
        wdPrimaryFooterStory:_("Primary footer"),
+       # Translators: A Microsoft Word note type for describing texgt (primary 
header)
        wdPrimaryHeaderStory:_("Primary header"),
+       # Translators: A Microsoft Word note type for describing text (a text 
frame, a frame consisting of document text)
        wdTextFrameStory:_("Text frame"),
 }
 
@@ -364,8 +374,11 @@ class WordDocumentTextInfo(textInfos.TextInfo):
                                        author=rev.author
                                        date=rev.date
                                except COMError:
+                                       # Translators: Presented when a 
revision's author is unknown or there is no author for the revision.
                                        author=_("unknown author")
+                                       # Translators: Presented when a 
revision date is unknown or there is no date information for the revision.
                                        date=_("unknown date")
+                               # Translators: Presents revision information in 
Microsoft Word (example output: "table cell insertion by John Smith on November 
1, 2013").
                                field['revision']=_("{revisionType} by 
{revisionAuthor} on 
{revisionDate}").format(revisionType=revisionLabel,revisionAuthor=author,revisionDate=date)
                        else:
                                field['revision']=revisionLabel
@@ -591,6 +604,7 @@ class WordDocument(EditableTextWithoutAutoSelectDetection, 
Window):
                        if foundCell: break
                        curOtherIndex-=1
                if not foundCell:
+                       # Translators: Presented when the user attempts to move 
to a different cell when the cursor is at the edge of the table (example: 
attempting to move to the left cell while at the leftmost cell).
                        ui.message(_("Edge of table"))
                        return False
                
newInfo=WordDocumentTextInfo(self,textInfos.POSITION_CARET,_rangeObj=foundCell)

Repository URL: https://bitbucket.org/nvdaaddonteam/nvda/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.

Other related posts:

  • » commit/nvda: josephsl: T1410: added translator comments for MS Word. - commits-noreply