NVDA with Japanese branch
Révision | c118f1a60ee80756a15356ef6cdd960e346ad9a0 (tree) |
---|---|
l'heure | 2013-10-22 10:56:47 |
Auteur | Takuya Nishimoto <nishimotz@gmai...> |
Commiter | Takuya Nishimoto |
Merge branch 'jpbranch' into jpnext
@@ -341,8 +341,11 @@ roleLabels={ | ||
341 | 341 | ROLE_PAGE:_("page"), |
342 | 342 | # Translators: Identifies a radio menu item. |
343 | 343 | ROLE_RADIOMENUITEM:_("radio menu item"), |
344 | + # Translators: Identifies a layered pane. | |
344 | 345 | ROLE_LAYEREDPANE:_("layered pane"), |
346 | + # Translators: Identifies a redundant object. | |
345 | 347 | ROLE_REDUNDANTOBJECT:_("redundant object"), |
348 | + # Translators: Identifies a root pane. | |
346 | 349 | ROLE_ROOTPANE:_("root pane"), |
347 | 350 | # Translators: May be reported for an editable text object in a toolbar. |
348 | 351 | # This is deprecated and is not often (if ever) used. |
@@ -351,6 +354,7 @@ roleLabels={ | ||
351 | 354 | ROLE_TERMINAL:_("terminal"), |
352 | 355 | # Translators: Identifies a rich edit box (an edit box which allows entering formatting commands in addition to text; encountered on webpages and NvDA log viewer). |
353 | 356 | ROLE_RICHEDIT:_("rich edit"), |
357 | + # Translators: Identifies a ruler object (commonly seen on some webpages and in some Office programs). | |
354 | 358 | ROLE_RULER:_("ruler"), |
355 | 359 | # Translators: Identifies a scroll pane. |
356 | 360 | ROLE_SCROLLPANE:_("scroll pane"), |
@@ -373,22 +377,33 @@ roleLabels={ | ||
373 | 377 | # Translators: Identifies a toggle button (a button used to toggle something). |
374 | 378 | ROLE_TOGGLEBUTTON:_("toggle button"), |
375 | 379 | ROLE_BORDER:_("border"), |
380 | + # Translators: Identifies a caret object. | |
376 | 381 | ROLE_CARET:_("caret"), |
382 | + # Translators: Identifies a character field (should not be confused with edit fields). | |
377 | 383 | ROLE_CHARACTER:_("character"), |
384 | + # Translators: Identifies a chart (commonly seen on some websites and in some Office documents). | |
378 | 385 | ROLE_CHART:_("chart"), |
386 | + # Translators: Identifies a cursor object. | |
379 | 387 | ROLE_CURSOR:_("cursor"), |
388 | + # Translators: Identifies a diagram (seen on some websites and on Office documents). | |
380 | 389 | ROLE_DIAGRAM:_("diagram"), |
390 | + # Translators: Identifies a dial object. | |
381 | 391 | ROLE_DIAL:_("dial"), |
392 | + # Translators: Identifies a drop list. | |
382 | 393 | ROLE_DROPLIST:_("drop list"), |
394 | + # Translators: Identifies a split button (a control which performs different actions when different parts are clicked). | |
383 | 395 | ROLE_SPLITBUTTON:_("split button"), |
396 | + # Translators: Identifies a menu button (a button which opens a menu of items). | |
384 | 397 | ROLE_MENUBUTTON:_("menu button"), |
385 | 398 | # Translators: Reported for a button which expands a grid when it is pressed. |
386 | 399 | ROLE_DROPDOWNBUTTONGRID:_("drop down button grid"), |
387 | 400 | # Translators: Identifies an equation. |
388 | 401 | ROLE_EQUATION:_("equation"), |
402 | + # Translators: Identifies a grip control. | |
389 | 403 | ROLE_GRIP:_("grip"), |
390 | 404 | # Translators: Identifies a hot key field (a field where one can enter a hot key for something, such as assigning shortcut for icons on the desktop). |
391 | 405 | ROLE_HOTKEYFIELD:_("hot key field"), |
406 | + # Translators: Identifies an indicator control. | |
392 | 407 | ROLE_INDICATOR:_("indicator"), |
393 | 408 | # Translators: Identifies a spin button (a button used to go through options in a spinning fashion). |
394 | 409 | ROLE_SPINBUTTON:_("spin button"), |
@@ -404,18 +419,24 @@ roleLabels={ | ||
404 | 419 | ROLE_DESKTOPICON:_("desktop icon"), |
405 | 420 | # Translators: Identifies an alert message such as file download alert in Internet explorer 9 and above. |
406 | 421 | ROLE_ALERT:_("alert"), |
422 | + # Translators: Identifies an internal frame (commonly called iframe; usually seen when browsing some sites with Internet Explorer). | |
407 | 423 | ROLE_INTERNALFRAME:_("IFrame"), |
408 | 424 | # Translators: Identifies desktop pane (the desktop window). |
409 | 425 | ROLE_DESKTOPPANE:_("desktop pane"), |
426 | + # Translators: Identifies an option pane. | |
410 | 427 | ROLE_OPTIONPANE:_("option pane"), |
428 | + # Translators: Identifies a color chooser. | |
411 | 429 | ROLE_COLORCHOOSER:_("color chooser"), |
430 | + # Translators: Identifies a file chooser (to select a file or groups of files from a list). | |
412 | 431 | ROLE_FILECHOOSER:_("file chooser"), |
413 | 432 | ROLE_FILLER:_("filler"), |
414 | 433 | # Translators: Identifies a menu such as file menu. |
415 | 434 | ROLE_MENU:_("menu"), |
435 | + # Translators: Identifies a panel control for grouping related options. | |
416 | 436 | ROLE_PANEL:_("panel"), |
417 | 437 | # Translators: Identifies a password field (a protected edit field for entering passwords such as when logging into web-based email sites). |
418 | 438 | ROLE_PASSWORDEDIT:_("password edit"), |
439 | + # Translators: Identifies a font chooser. | |
419 | 440 | ROLE_FONTCHOOSER:_("font chooser"), |
420 | 441 | ROLE_LINE:_("line"), |
421 | 442 | # Translators: Identifies a font name. |
@@ -444,9 +465,11 @@ roleLabels={ | ||
444 | 465 | ROLE_ALIGNMENT:_("alignment"), |
445 | 466 | # Translators: Identifies an alert window or bar (usually on Internet Explorer 9 and above for alerts such as file downloads or pop-up blocker). |
446 | 467 | ROLE_ALERT:_("alert"), |
468 | + # Translators: Identifies a data grid control (a grid which displays data). | |
447 | 469 | ROLE_DATAGRID:_("data grid"), |
448 | 470 | ROLE_DATAITEM:_("data item"), |
449 | 471 | ROLE_HEADERITEM:_("header item"), |
472 | + # Translators: Identifies a thumb control (a button-like control for changing options). | |
450 | 473 | ROLE_THUMB:_("thumb control"), |
451 | 474 | ROLE_CALENDAR:_("calendar"), |
452 | 475 | } |
@@ -515,7 +538,7 @@ stateLabels={ | ||
515 | 538 | STATE_SORTED_DESCENDING:_("sorted descending"), |
516 | 539 | # Translators: a state that denotes that an object (usually a graphic) has a long description. |
517 | 540 | STATE_HASLONGDESC:_("has long description"), |
518 | - # Translators: a state that denotes that an object is pinned in its current location | |
541 | + # Translators: a state that denotes that an object is pinned in its current location | |
519 | 542 | STATE_PINNED:_("pinned"), |
520 | 543 | } |
521 | 544 |
@@ -261,6 +261,7 @@ class CursorManager(baseObject.ScriptableObject): | ||
261 | 261 | def script_copyToClipboard(self,gesture): |
262 | 262 | info=self.makeTextInfo(textInfos.POSITION_SELECTION) |
263 | 263 | if info.isCollapsed: |
264 | + # Translators: Reported when there is no text selected (for copying). | |
264 | 265 | speech.speakMessage(_("no selection")) |
265 | 266 | return |
266 | 267 | if info.copyToClipboard(): |
@@ -357,6 +357,7 @@ class GlobalCommands(ScriptableObject): | ||
357 | 357 | else: |
358 | 358 | # Translators: reported when there are no other available review modes for this object |
359 | 359 | ui.message(_("No next review mode")) |
360 | + # Translators: Script help message for next review mode command. | |
360 | 361 | script_reviewMode_next.__doc__=_("Switches to the next review mode (e.g. object, document or screen) and positions the review position at the point of the navigator object") |
361 | 362 | script_reviewMode_next.category=SCRCAT_TEXTREVIEW |
362 | 363 |
@@ -370,6 +371,7 @@ class GlobalCommands(ScriptableObject): | ||
370 | 371 | else: |
371 | 372 | # Translators: reported when there are no other available review modes for this object |
372 | 373 | ui.message(_("No previous review mode")) |
374 | + # Translators: Script help message for previous review mode command. | |
373 | 375 | script_reviewMode_previous.__doc__=_("Switches to the previous review mode (e.g. object, document or screen) and positions the review position at the point of the navigator object") |
374 | 376 | script_reviewMode_previous.category=SCRCAT_TEXTREVIEW |
375 | 377 |
@@ -1235,9 +1237,11 @@ class GlobalCommands(ScriptableObject): | ||
1235 | 1237 | def script_braille_toggleTether(self, gesture): |
1236 | 1238 | if braille.handler.tether == braille.handler.TETHER_FOCUS: |
1237 | 1239 | braille.handler.tether = braille.handler.TETHER_REVIEW |
1240 | + # Translators: One of the options for tethering braille (see the comment on "braille tethered to" message for more information). | |
1238 | 1241 | tetherMsg = _("review") |
1239 | 1242 | else: |
1240 | 1243 | braille.handler.tether = braille.handler.TETHER_FOCUS |
1244 | + # Translators: One of the options for tethering braille (see the comment on "braille tethered to" message for more information). | |
1241 | 1245 | tetherMsg = _("focus") |
1242 | 1246 | # Translators: Reports which position braille is tethered to (braille can be tethered to either focus or review position). |
1243 | 1247 | ui.message(_("Braille tethered to %s") % tetherMsg) |
@@ -1394,6 +1398,7 @@ class GlobalCommands(ScriptableObject): | ||
1394 | 1398 | index=(index+1)%len(touchHandler.availableTouchModes) |
1395 | 1399 | newMode=touchHandler.availableTouchModes[index] |
1396 | 1400 | touchHandler.handler._curTouchMode=newMode |
1401 | + # Translators: Cycles through available touch modes (a group of related touch gestures; example output: "object mode"; see the user guide for more information on touch modes). | |
1397 | 1402 | ui.message(_("%s mode")%newMode) |
1398 | 1403 | # Translators: Input help mode message for a touchscreen gesture. |
1399 | 1404 | script_touch_changeMode.__doc__=_("cycles between available touch modes") |
@@ -64,9 +64,10 @@ class ProfilesDialog(wx.Dialog): | ||
64 | 64 | sizer.Add(item) |
65 | 65 | mainSizer.Add(sizer) |
66 | 66 | |
67 | + sizer = wx.BoxSizer(wx.HORIZONTAL) | |
67 | 68 | # Translators: The label of a button to manage triggers |
68 | 69 | # in the Configuration Profiles dialog. |
69 | - sizer = wx.BoxSizer(wx.HORIZONTAL) | |
70 | + # See the Configuration Profiles section of the User Guide for details. | |
70 | 71 | triggersButton = wx.Button(self, label=_("&Triggers...")) |
71 | 72 | triggersButton.Bind(wx.EVT_BUTTON, self.onTriggers) |
72 | 73 | sizer.Add(triggersButton) |
@@ -145,7 +146,7 @@ class ProfilesDialog(wx.Dialog): | ||
145 | 146 | try: |
146 | 147 | config.conf.manualActivateProfile(profile) |
147 | 148 | except: |
148 | - # Translators: An error displayed when activating a profile fails. | |
149 | + # Translators: An error displayed when activating a configuration profile fails. | |
149 | 150 | gui.messageBox(_("Error activating profile."), |
150 | 151 | _("Error"), wx.OK | wx.ICON_ERROR, self) |
151 | 152 | return |
@@ -170,6 +171,7 @@ class ProfilesDialog(wx.Dialog): | ||
170 | 171 | config.conf.deleteProfile(name) |
171 | 172 | except: |
172 | 173 | log.debugWarning("", exc_info=True) |
174 | + # Translators: An error displayed when deleting a configuration profile fails. | |
173 | 175 | gui.messageBox(_("Error deleting profile."), |
174 | 176 | _("Error"), wx.OK | wx.ICON_ERROR, self) |
175 | 177 | return |
@@ -212,6 +214,8 @@ class ProfilesDialog(wx.Dialog): | ||
212 | 214 | try: |
213 | 215 | config.conf.renameProfile(oldName, newName) |
214 | 216 | except ValueError: |
217 | + # Translators: An error displayed when renaming a configuration profile | |
218 | + # and a profile with the new name already exists. | |
215 | 219 | gui.messageBox(_("That profile already exists. Please choose a different name."), |
216 | 220 | _("Error"), wx.OK | wx.ICON_ERROR, self) |
217 | 221 | return |
@@ -65,8 +65,11 @@ def getScreenPosition(obj): | ||
65 | 65 | return pos,pos.obj |
66 | 66 | |
67 | 67 | modes=[ |
68 | + # Translators: One of the review modes. | |
68 | 69 | ('object',_("Object review"),getObjectPosition), |
70 | + # Translators: One of the review modes. | |
69 | 71 | ('document',_("Document review"),getDocumentPosition), |
72 | + # Translators: One of the review modes. | |
70 | 73 | ('screen',_("Screen review"),getScreenPosition), |
71 | 74 | ] |
72 | 75 |