commit/instantTranslate: parkcorp: nvda compatibility fix

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons-commits@xxxxxxxxxxxxx
  • Date: Wed, 06 Feb 2019 13:19:06 +0000 (UTC)

1 new commit in instantTranslate:

https://bitbucket.org/nvdaaddonteam/instanttranslate/commits/c0b6aa34e19f/
Changeset:   c0b6aa34e19f
Branch:      master
User:        parkcorp
Date:        2019-02-06 13:18:55+00:00
Summary:     nvda compatibility fix

Affected #:  2 files

diff --git a/buildVars.py b/buildVars.py
index e5dcaff..2223aa0 100644
--- a/buildVars.py
+++ b/buildVars.py
@@ -2,10 +2,10 @@
 
 # Build customizations
 # Change this file instead of sconstruct or manifest files, whenever possible.
-
+from datetime import datetime
 # Full getext (please don't change)
 _ = lambda x : x
-
+now = datetime.now()
 # Add-on information variables
 addon_info = {
        # for previously unpublished addons, please follow the community 
guidelines at:
@@ -19,13 +19,17 @@ addon_info = {
        # Translators: Long description to be shown for this add-on on add-on 
information from add-ons manager
        "addon_description" : _("This addon translates selected or clipboard 
text using the Yandex Translate service and presents it."),
        # version
-       "addon_version" : "4.2-dev",
+       "addon_version" : "4.3-dev",
        # Author(s)
        "addon_author" : "Alexy Sadovoy aka Lex <lex@xxxxxxxxxx>, ruslan 
<ru2020slan@xxxxxxxxx>, beqa <beqaprogger@xxxxxxxxx>, Mesar Hameed 
<mhameed@xxxxxxxxxxxxx>, Alberto Buffolino <a.buffolino@xxxxxxxxx>, and other 
NVDA contributors",
        # URL for the add-on documentation support
        "addon_url" : "http://addons.nvda-project.org/";,
        # Documentation file name
-       "addon_docFileName" : "readme.html"
+       "addon_docFileName" : "readme.html",
+       # Minimum NVDA version supported
+       "addon_minimumNVDAVersion" : "2018.2.0",
+       # Last NVDA version supported/tested
+       "addon_lastTestedNVDAVersion" : 
"{major}.{minor}.0".format(major=now.year, minor=(now.month-1)//3+1)
 }
 
 import os.path

diff --git a/manifest.ini.tpl b/manifest.ini.tpl
index 7de43bf..6f7ccd6 100644
--- a/manifest.ini.tpl
+++ b/manifest.ini.tpl
@@ -5,3 +5,5 @@ author = "{addon_author}"
 url = {addon_url}
 version = {addon_version}
 docFileName = {addon_docFileName}
+minimumNVDAVersion = {addon_minimumNVDAVersion}
+lastTestedNVDAVersion = {addon_lastTestedNVDAVersion}

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

--

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/instantTranslate: parkcorp: nvda compatibility fix - commits-noreply