Skip to content

Commit a6f2c74

Browse files
Changed the addon name to BluetoothAudioActive
1 parent 7c3beef commit a6f2c74

File tree

7 files changed

+63
-63
lines changed

7 files changed

+63
-63
lines changed

_template_addon_release.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
{
2-
"addonId": "easyAddonTech.XYZ",
2+
"addonId": "DarkoMilosevic.BlueToothAudioActive",
33
"addonVersionNumber": {
4-
"major": 21,
5-
"minor": 6,
4+
"major": 1,
5+
"minor": 0,
66
"patch": 0
77
},
8-
"addonVersionName": "21.06",
9-
"displayName": "My addon",
10-
"publisher": "easyAddonTech",
11-
"description": "Makes doing XYZ easier",
12-
"homepage": "https://github.com/nvaccess/addon-datastore",
8+
"addonVersionName": "1.00",
9+
"displayName": "Bluetooth Audio Active",
10+
"publisher": "Darko Milosevic",
11+
"description": "Play silent sound to keep the sound card active.",
12+
"homepage": "https://github.com/DarkoMilosevic86/BluetoothAudioActive",
1313
"minNVDAVersion": {
1414
"major": 2019,
1515
"minor": 3,
1616
"patch": 0
1717
},
1818
"lastTestedVersion": {
19-
"major": 2020,
19+
"major": 2024,
2020
"minor": 4,
2121
"patch": 0
2222
},
23-
"channel": "beta",
23+
"channel": "stable",
2424
"URL": "https://github.com/nvaccess/addon-datastore/releases/download/v0.1.0/myAddon.nvda-addon",
2525
"sha256": "69D84CA8899800A5575CE31798293CD4FEBAB1D734A07C2E51E56A28E0DF8C82",
26-
"sourceURL": "https://github.com/nvaccess/addon-datastore/",
26+
"sourceURL": "https://github.com/DarkoMilosevic86/BluetoothAudioActive",
2727
"license": "GPL v2",
28-
"licenseURL": "https://github.com/nvaccess/addon-datastore/license.MD"
28+
"licenseURL": "https://www.gnu.org/licenses/old-licenses/gpl-2.0.html"
2929
}

addon/doc/sr/readme.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
# Silenzio
2-
* Silenzio je NVDA dodatak koji omogućava da zvučna kartica bude uveek aktivna, što je neophodno kod bluetooth slušalica, ili zvučnika.
1+
# Bluetooth Audio Active
2+
* Bluetooth Audio Active je NVDA dodatak koji omogućava da zvučna kartica bude uveek aktivna, što je neophodno kod bluetooth slušalica, ili zvučnika.
33
* Ovo je potrebno jer se dešava da kada koristimo bluetooth slušalice, ili zvučnike, nakon nekog vremena oni odu u režim spavanja i dolazi do prekidanja zvuka.
44
# Licenca
5-
* Silenzio je zaštićen pod [GPL 2](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html) licencom
5+
* Bluetooth Audio Active je zaštićen pod [GPL 2](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html) licencom
66
# Instalacija
7-
Silenzio možete instalirati iz NVDA prodavnice dodataka, ili sa izvorne stranice dodatka [https://github.com/DarkoMilosevic86/Silenzio](https://github.com/DarkoMilosevic86/Silenzio)
7+
Bluetooth Audio Active možete instalirati iz NVDA prodavnice dodataka, ili sa izvorne stranice dodatka [https://github.com/DarkoMilosevic86/Bluetooth Audio Active](https://github.com/DarkoMilosevic86/Bluetooth Audio Active)
88
# Korišćenje
9-
Silenzio uključujete i isključujete kombinacijom tastera Shift+NVDA+L.
10-
Svaki put kada uključite/issključite Silenzio, to će biti automatski sačuvano u Silenzio konfiguracionu datoteku, tako da ako ste na primer ostavili Silenzio uključen i ponovo pokrenuli NVDA, Silenzio će biti uključen.
11-
# Lokalizacija Silenzio doddatka
12-
Silenzio dodatak je dostupan na engleskom i srpskom jeziku.
13-
Ako želite da lokalizujete Silenzio dodatak, potrebno je da učinite sledeće:
14-
* Napravite fork repozitorija [https://github.com/DarkoMilosevic86/Silenzio](https://github.com/DarkoMilosevic86/Silenzio)
9+
Bluetooth Audio Active uključujete i isključujete kombinacijom tastera Shift+NVDA+L.
10+
Svaki put kada uključite/issključite Bluetooth Audio Active, to će biti automatski sačuvano u Bluetooth Audio Active konfiguracionu datoteku, tako da ako ste na primer ostavili Bluetooth Audio Active uključen i ponovo pokrenuli NVDA, Bluetooth Audio Active će biti uključen.
11+
# Lokalizacija Bluetooth Audio Active doddatka
12+
Bluetooth Audio Active dodatak je dostupan na engleskom i srpskom jeziku.
13+
Ako želite da lokalizujete Bluetooth Audio Active dodatak, potrebno je da učinite sledeće:
14+
* Napravite fork repozitorija [https://github.com/DarkoMilosevic86/Bluetooth Audio Active](https://github.com/DarkoMilosevic86/Bluetooth Audio Active)
1515
* Klonirajte repozitori koristeći sledeću komandu
1616
```cmd
17-
git clone https://github.com/DarkoMilosevic86/Silenzio.git
17+
git clone https://github.com/DarkoMilosevic86/Bluetooth Audio Active.git
1818
```
1919
* U folderu addon/locale se nalazi struktura za lokalizaciju, a vi dodajte željeni jezik i izvršite prevod.
2020
* dodajte promene na vašu kopiju Silenzzio repozitorija i napravitte pull request.

addon/globalPlugins/silenzio.py renamed to addon/globalPlugins/BluetoothAudioActive.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
addonHandler.initTranslation()
1818

1919
def get_json_data():
20-
json_path = os.path.join(os.path.dirname(__file__), "silenzio.json")
20+
json_path = os.path.join(os.path.dirname(__file__), "config.json")
2121
with open(json_path, "r") as file:
2222
data = json.load(file)
2323
return data
2424

2525
def set_json_data(data):
26-
json_path = os.path.join(os.path.dirname(__file__), "silenzio.json")
26+
json_path = os.path.join(os.path.dirname(__file__), "config.json")
2727
with open(json_path, "w") as file:
2828
json.dump(data, file, indent=4)
2929

@@ -63,23 +63,23 @@ def _playSound(self):
6363
sleep(0.1)
6464

6565
# Translators : Script description
66-
@script(description=_("Toggle Silenzio On/Off."))
67-
def script_toggleSilenzio(self, gesture):
66+
@script(description=_("Toggle Bluetooth Audio Active On/Off."))
67+
def script_toggleBluetoothAudioActive(self, gesture):
6868
if self.enabled:
6969
self.stopSound()
7070
set_configuration(self.enabled)
71-
# Translators: Message when Silenzio is disabled
72-
ui.message(_("Silenzio disabled"))
71+
# Translators: Message when Bluetooth Audio Active is disabled
72+
ui.message(_("Bluetooth Audio Active disabled"))
7373
else:
74-
# Translations: Message when Silenzio is enabled
75-
ui.message(_("Silenzio enabled"))
74+
# Translations: Message when Bluetooth Audio Active is enabled
75+
ui.message(_("Bluetooth Audio Active enabled"))
7676
self.startSound()
7777
set_configuration(self.enabled)
7878

7979

8080

8181
__gestures = {
82-
"kb:Shift+NVDA+l": "toggleSilenzio"
82+
"kb:Shift+NVDA+l": "toggleBluetoothAudioActive"
8383
}
8484
def terminate(self):
8585
self.stopSound()
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
msgid ""
22
msgstr ""
3-
"Project-Id-Version: Silenzio nvda-addon v1.0\n"
4-
"POT-Creation-Date: 2024-11-30 11:05+0100\n"
5-
"PO-Revision-Date: 2024-11-30 11:07+0100\n"
6-
"Last-Translator: Darko Milošević\n"
7-
"Language-Team: Darko Milošević\n"
3+
"Project-Id-Version: BluetoothAudioActive nvda-addon v1.0\n"
4+
"POT-Creation-Date: 2024-12-02 11:05+0100\n"
5+
"PO-Revision-Date: 2024-12-02 11:07+0100\n"
6+
"Last-Translator: Darko Milosevic\n"
7+
"Language-Team: Darko Milosevic\n"
88
"Language: sr_RS\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
@@ -13,13 +13,13 @@ msgstr ""
1313
"X-Poedit-Basepath: .\n"
1414
"X-Poedit-SourceCharset: UTF-8\n"
1515

16-
msgid "Silenzio enabled"
17-
msgstr "Silenzio je omogućen"
18-
msgid "Silenzio disabled"
19-
msgstr "Silenzio je onemogućen"
20-
msgid "Toggle Silenzio On/Off."
21-
msgstr "Uključuje/Isključuje Silenzio."
22-
msgid "Silenzio addon"
23-
msgstr "Silenzio dodatak"
16+
msgid "Bluetooth Audio Active enabled"
17+
msgstr "Blutut Audio Aktivan je omogućen"
18+
msgid "Bluetooth Audio Active disabled"
19+
msgstr "Blutut Audio Aktivan je onemogućen"
20+
msgid "Toggle Bluetooth Audio Active On/Off."
21+
msgstr "Uključuje/Isključuje Blutut Audio Aktivan."
22+
msgid "Bluetooth Audio Active"
23+
msgstr "Blutut Audio Aktivan"
2424
msgid "Play silent sound to keep the sound card active."
2525
msgstr "Reprodukuje nečujan zvuk kako bi zadržao zvučnu karticu aktivnom."

buildVars.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,28 +16,28 @@ def _(arg):
1616
# Add-on information variables
1717
addon_info = {
1818
# add-on Name/identifier, internal for NVDA
19-
"addon_name": "Silenzio",
19+
"addon_name": "BluetoothAudioActive",
2020
# Add-on summary, usually the user visible name of the addon.
2121
# Translators: Summary for this add-on
2222
# to be shown on installation and add-on information found in Add-ons Manager.
23-
"addon_summary": _("Silenzio addon"),
23+
"addon_summary": _("Bluetooth Audio Active"),
2424
# Add-on description
2525
# Translators: Long description to be shown for this add-on on add-on information from add-ons manager
2626
"addon_description": _("Play silent sound to keep the sound card active."),
2727
# version
2828
"addon_version": "1.0.0",
2929
# Author(s)
30-
"addon_author": "Darko Milošević <daremc86@gmail.com>",
30+
"addon_author": "Darko Milosevic <daremc86@gmail.com>",
3131
# URL for the add-on documentation support
3232
"addon_url": None,
3333
# URL for the add-on repository where the source code can be found
34-
"addon_sourceURL": "https://github.com/DarkoMilosevic86/Silenzio.git",
34+
"addon_sourceURL": "https://github.com/DarkoMilosevic86/BluetoothAudioActive",
3535
# Documentation file name
3636
"addon_docFileName": "readme.html",
3737
# Minimum NVDA version supported (e.g. "2018.3.0", minor version is optional)
38-
"addon_minimumNVDAVersion": "2019.1.1",
38+
"addon_minimumNVDAVersion": "2019.3.0",
3939
# Last NVDA version supported/tested (e.g. "2018.4.0", ideally more recent than minimum version)
40-
"addon_lastTestedNVDAVersion": "2024.4.1",
40+
"addon_lastTestedNVDAVersion": "2024.4.0",
4141
# Add-on update channel (default is None, denoting stable releases,
4242
# and for development releases, use "dev".)
4343
# Do not change unless you know what you are doing!

readme.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
# Silenzio
2-
* Silenzio is an NVDA add-on that keeps the sound card always active, which is essential for Bluetooth headphones or speakers.
1+
# Bluetooth Audio Active
2+
* Bluetooth Audio Active is an NVDA add-on that keeps the sound card always active, which is essential for Bluetooth headphones or speakers.
33
* This is necessary because Bluetooth headphones or speakers may go into sleep mode after some time, causing sound interruptions.
44

55
# License
6-
* Silenzio is protected under the [GPL 2](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html) license.
6+
* Bluetooth Audio Active is protected under the [GPL 2](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html) license.
77

88
# Installation
9-
You can install Silenzio from the NVDA add-ons store or from the add-on's source page: [https://github.com/DarkoMilosevic86/Silenzio](https://github.com/DarkoMilosevic86/Silenzio).
9+
You can install Bluetooth Audio Active from the NVDA add-ons store or from the add-on's source page: [https://github.com/DarkoMilosevic86/Bluetooth Audio Active](https://github.com/DarkoMilosevic86/Bluetooth Audio Active).
1010

1111
# Usage
12-
Silenzio can be toggled on and off using the Shift+NVDA+L key combination.
13-
Each time you enable or disable Silenzio, the setting will be automatically saved to the Silenzio configuration file. For example, if you leave Silenzio enabled and restart NVDA, it will remain enabled.
12+
Bluetooth Audio Active can be toggled on and off using the Shift+NVDA+L key combination.
13+
Each time you enable or disable Bluetooth Audio Active, the setting will be automatically saved to the Bluetooth Audio Active configuration file. For example, if you leave Bluetooth Audio Active enabled and restart NVDA, it will remain enabled.
1414

15-
# Localization of the Silenzio add-on
16-
The Silenzio add-on is available in English and Serbian.
17-
If you want to localize the Silenzio add-on, follow these steps:
18-
* Fork the repository [https://github.com/DarkoMilosevic86/Silenzio](https://github.com/DarkoMilosevic86/Silenzio).
15+
# Localization of the Bluetooth Audio Active add-on
16+
The Bluetooth Audio Active add-on is available in English and Serbian.
17+
If you want to localize the Bluetooth Audio Active add-on, follow these steps:
18+
* Fork the repository [https://github.com/DarkoMilosevic86/Bluetooth Audio Active](https://github.com/DarkoMilosevic86/Bluetooth Audio Active).
1919
* Clone the repository using the following command:
2020
```cmd
21-
git clone https://github.com/DarkoMilosevic86/Silenzio.git
21+
git clone https://github.com/DarkoMilosevic86/Bluetooth Audio Active.git
2222
```
2323
* In the addon/locale folder, you will find the localization structure. Add the desired language and perform the translation.
24-
* Push the changes to your copy of the Silenzio repository and create a pull request.
24+
* Push the changes to your copy of the Bluetooth Audio Active repository and create a pull request.

0 commit comments

Comments
 (0)