This repository has been archived by the owner on Sep 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c28e164
commit f7edc8b
Showing
10 changed files
with
112 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,3 +82,6 @@ dmypy.json | |
.pyre/ | ||
.sconsign.dblite | ||
*.html | ||
msgfmt.exe | ||
xgettext.exe | ||
unspokenPy3-0.3.nvda-addon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import addonHandler, gui, wx | ||
|
||
addonHandler.initTranslation() | ||
|
||
def onInstall(): | ||
for addon in addonHandler.getAvailableAddons(): | ||
if addon.manifest['name'] == "Unspoken Py3": | ||
askToRemove(addon) | ||
break | ||
|
||
def askToRemove(addon): | ||
if gui.messageBox( | ||
# Translators: the label of a message box dialog. | ||
_("You have installed an old and incompatible version of this addon. Do you want to uninstall the old version?"), | ||
# Translators: the title of a message box dialog. | ||
_("Uninstall incompatible add-on"), | ||
wx.YES|wx.NO|wx.ICON_WARNING) == wx.YES: | ||
addon.requestRemove() |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# SOME DESCRIPTIVE TITLE. | ||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | ||
# This file is distributed under the same license as the PACKAGE package. | ||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: 'unspokenPy3' '0.3'\n" | ||
"Report-Msgid-Bugs-To: '[email protected]'\n" | ||
"POT-Creation-Date: 2020-05-03 21:59+0300\n" | ||
"PO-Revision-Date: 2020-05-03 22:03+0300\n" | ||
"Language-Team: Sean <[email protected]>\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"X-Generator: Poedit 1.8.11\n" | ||
"Last-Translator: \n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
"Language: tr_TR\n" | ||
"X-Poedit-SourceCharset: UTF-8\n" | ||
|
||
#: buildVars.py:9 | ||
msgid "Unspoken" | ||
msgstr "Sözsüz" | ||
|
||
#: buildVars.py:10 | ||
msgid "" | ||
"Removes names like unspoken, link, button. It plays different sounds instead " | ||
"of informations." | ||
msgstr "" | ||
"Sözsüz, bağlantı, düğme gibi adları kaldırır. Bilgiler yerine farklı sesler " | ||
"çalar." | ||
|
||
#. Translators: the label of a message box dialog. | ||
#: addon\installTasks.py:14 | ||
msgid "" | ||
"You have installed an old and incompatible version of this addon. Do you " | ||
"want to uninstall the old version?" | ||
msgstr "" | ||
"Bu eklentinin eski ve uyumsuz bir sürümü kurulu. Eski sürümü kaldırmak " | ||
"istiyor musunuz?" | ||
|
||
#. Translators: the title of a message box dialog. | ||
#: addon\installTasks.py:16 | ||
msgid "Uninstall incompatible add-on" | ||
msgstr "Uyumsuz Eklenti: Kaldır " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
summary = "Sözsüz" | ||
description = """Sözsüz, bağlantı, düğme gibi adları kaldırır. Bilgiler yerine farklı sesler çalar.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = unspokenPy3 | ||
summary = "Unspoken" | ||
description = """Removes names like unspoken, link, button. It plays different sounds instead of informations.""" | ||
author = "Sean: [email protected]" | ||
author = "Camlorn (main developer): [email protected], Bryan Smart: NoMail, Sean (ported python3): [email protected]" | ||
url = None | ||
version = 0.3 | ||
docFileName = readme.html | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# SOME DESCRIPTIVE TITLE. | ||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | ||
# This file is distributed under the same license as the PACKAGE package. | ||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | ||
# | ||
#, fuzzy | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: 'unspokenPy3' '0.3'\n" | ||
"Report-Msgid-Bugs-To: '[email protected]'\n" | ||
"POT-Creation-Date: 2020-05-03 22:04+0300\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
"Language: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=CHARSET\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
|
||
#: buildVars.py:9 | ||
msgid "Unspoken" | ||
msgstr "" | ||
|
||
#: buildVars.py:10 | ||
msgid "" | ||
"Removes names like unspoken, link, button. It plays different sounds instead " | ||
"of informations." | ||
msgstr "" | ||
|
||
#. Translators: the label of a message box dialog. | ||
#: addon\installTasks.py:14 | ||
msgid "" | ||
"You have installed an old and incompatible version of this addon. Do you " | ||
"want to uninstall the old version?" | ||
msgstr "" | ||
|
||
#. Translators: the title of a message box dialog. | ||
#: addon\installTasks.py:16 | ||
msgid "Uninstall incompatible add-on" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
"addon_summary" : _("Unspoken"), | ||
"addon_description" : _("""Removes names like unspoken, link, button. It plays different sounds instead of informations."""), | ||
"addon_version" : "0.3", | ||
"addon_author" : u"Sean: [email protected]", | ||
"addon_author" : u"Camlorn (main developer): [email protected], Bryan Smart: NoMail, Sean (ported python3): [email protected]", | ||
"addon_url" : None, | ||
"addon_docFileName" : "readme.html", | ||
"addon_minimumNVDAVersion" : 2019.3, | ||
|
@@ -21,6 +21,6 @@ | |
|
||
pythonSources = list(Path.cwd().joinpath("addon", "globalPlugins").rglob("*.py")) | ||
|
||
i18nSources = pythonSources + ["buildVars.py"] | ||
i18nSources = pythonSources + ["buildVars.py", "addon\\installTasks.py"] | ||
|
||
excludedFiles = [] |