Skip to content

Commit

Permalink
Release 3.0.3
Browse files Browse the repository at this point in the history
移除图片描述功能。
  • Loading branch information
huaiyinfeilong committed Apr 2, 2024
1 parent ec8ae69 commit 708c623
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions addon/doc/zh_CN/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@

## 升级日志

### Version 3.0.3

* 移除图片描述功能。

### Version 3.0.2

* 适配NVDA 2024.1版本。
Expand Down
4 changes: 4 additions & 0 deletions addon/globalPlugins/xyOCR/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ def terminate(self):
self.ocr.uninitRecognizer()
self.ocr = None

"""
@scriptHandler.script(
# Translators: Image description
description=_("Image description"),
Expand All @@ -210,7 +211,9 @@ def script_imageRecognize(self, gesture):
ui.message(_("Please turn off the screen curtain before recognition"))
return
recogUi.recognizeNavigatorObject(self.imageRecognizer)
""""""
"""
@scriptHandler.script(
# Translators: Clipboard image description
description=_("Clipboard image description"),
Expand All @@ -225,6 +228,7 @@ def script_clipboardImageRecognize(self, gesture):
# Translators: Recognizing
ui.message(_("Recognizing"))
self.imageRecognizer.recognize_clipboard()
""""""


class CustomRecogResultNVDAObject(recogUi.RecogResultNVDAObject):
Expand Down
2 changes: 1 addition & 1 deletion buildVars.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def _(arg):
# Translators: Long description to be shown for this add-on on add-on information from add-ons manager
"addon_description": _("Aggregating various offline and online OCR services"),
# version
"addon_version": "3.0.2",
"addon_version": "3.0.3",
# Author(s)
"addon_author": "huaiyinfeilong <huaiyinfeilong@163.com>",
# URL for the add-on documentation support
Expand Down
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ Any comments and suggestions are welcome to communicate:

## Upgrade log

### Version 3.0.3

* Remove the image description function.

### Version 3.0.2

* Adapt to NVDA 2024.1 version.
Expand Down

0 comments on commit 708c623

Please sign in to comment.