Skip to content

Commit

Permalink
added a script to update version in the buildVars.py automatically if…
Browse files Browse the repository at this point in the history
… it as not been changed but is confirmed in a commit. this can be used manually, or automatically with a post commit hook.

now *.json files are ignored.

updated sconstruct to generate the required json file for the add-on store.
updated documentation.
updated buildVars to be compatible with the new sconstruct.
added turkish language.
updated the github workflow to generate the required json for the nvda add-on store.
  • Loading branch information
davidacm committed May 2, 2023
1 parent 9ee60f0 commit fd6b77d
Show file tree
Hide file tree
Showing 8 changed files with 286 additions and 49 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/upload-on-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ jobs:
- uses: actions/upload-artifact@v3
with:
name: packaged_addon
path: ./*.nvda-addon
path: |
./*.nvda-addon
./*.json
upload_release:
runs-on: ubuntu-latest
Expand All @@ -62,6 +64,8 @@ jobs:
- name: Release
uses: softprops/action-gh-release@v1
with:
files: packaged_addon/*.nvda-addon
files: |
packaged_addon/*.nvda-addon
packaged_addon/*.json
fail_on_unmatched_files: true
prerelease: ${{ contains(github.ref, '-') }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ addon/doc/en/
*.py[co]
*.nvda-addon
.sconsign.dblite
*.code-workspace
*.json
35 changes: 35 additions & 0 deletions addon/doc/tr/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Kulaklık Bulucu NVDA Eklentisi #
Bu eklenti, sol veya sağ kulaklıktan bir bip sesi çıkaran iki komuta sahiptir. Bluetooth kulaklığınızı bulmanıza yardımcı olması için amaçlanmıştır. Ton 5 dakika çalacaktır. Tonu durdurmanız gerekirse, atanan hareketlerden herhangi birine basın. Daha fazla zamana ihtiyacınız varsa, gerekli tuşuna iki defa bsın.

Telif Hakkı (C) 2023 David CM <[email protected]>

Bu paket, GNU Genel Kamu Lisansı, sürüm 2 veya sonraki koşulları altında dağıtılmaktadır.


## Kullanım:

* Sol kulaklığı bulmak için alt + control + nvda + j tuşlarına basın.
* Sağ kulaklığı bulmak için alt + control + nvda + k tuşlarına basın.
* Bip sesini durdurmak için, basmış olduğunuz kısayol tuşuna tekrar basın.
* ton durursa ve kulaklığınızı henüz bulamadıysanız, gereken harekete iki kez basın.

## Gereksinimler:
NVDA 2018.2 veya sonrasına ihtiyacınız var.

## Kurulum:
Sadece bir NVDA eklentisi olarak kurun.

## katkılar, raporlar ve bağışlar:

Projemi beğendiyseniz veya bu yazılım günlük hayatınızda işinize yararsa ve bir şekilde katkıda bulunmak isterseniz aşağıdaki yöntemlerle bağışta bulunabilirsiniz:

* [PayPal.](https://paypal.me/davicm)
* [Ko-fi.](https://ko-fi.com/davidacm)
* [kripto para birimleri ve diğer yöntemler.](https://davidacm.github.io/donations/)

Hataları düzeltmek, sorunları bildirmek veya yeni özellikler istiyorsanız benimle <[email protected]> adresinden iletişime geçebilirsiniz.

Veya bu projenin github deposunda:
[GitHub'da Kulaklık Bulucu](https://github.com/davidacm/NVDA-HeadphoneFinder)

Bu eklentinin en son sürümünü bu depodan edinebilirsiniz.
27 changes: 27 additions & 0 deletions addon/locale/tr/LC_MESSAGES/nvda.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
msgid ""
msgstr ""
"Project-Id-Version: Kulaklık Bulucu 0.1\n"
"POT-Creation-Date: 2023-03-13 21:29+0300\n"
"PO-Revision-Date: 2023-03-13 21:30+0300\n"
"Last-Translator: Umut KORKMAZ <[email protected]>\n"
"Language-Team: Umut KORKMAZ <[email protected]>\n"
"Language: tr_TR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.2.2\n"
"X-Poedit-Basepath: ../../../globalPlugins\n"
"X-Poedit-SearchPath-0: .\n"

#: headphoneFinder.py:15
msgid "Headphone Finder"
msgstr "Kulaklık Bulucu"

#: headphoneFinder.py:31
msgid "plays a tone at the left speaker."
msgstr "sol hoparlörde bir ton çalar."

#: headphoneFinder.py:38
msgid "plays a tone at the right speaker."
msgstr "sağ hoparlörde bir ton çalar."
16 changes: 16 additions & 0 deletions buildVars.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@
"addon_lastTestedNVDAVersion" : "2023.1.0",
# Add-on update channel (default is stable or None)
"addon_updateChannel" : None,
# Add-on license such as GPL 2
"addon_license": "GPL 2",
# URL for the license document the ad-on is licensed under
"addon_licenseURL": "https://www.gnu.org/licenses/old-licenses/gpl-2.0.html",
# URL for the add-on repository where the source code can be found
"addon_sourceURL": "https://github.com/davidacm/NVDA-HeadphoneFinder",
}

from os import path
Expand All @@ -46,3 +52,13 @@
# Files that will be ignored when building the nvda-addon file
# Paths are relative to the addon directory, not to the root directory of your addon sources.
excludedFiles = []

# Base language for the NVDA add-on
baseLanguage = "en"

# Markdown extensions for add-on documentation
# Most add-ons do not require additional Markdown extensions.
# If you need to add support for markup such as tables, fill out the below list.
# Extensions string must be of the form "markdown.extensions.extensionName"
# e.g. "markdown.extensions.tables" to add tables.
markdownExtensions = []
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Copyright (C) 2023 David CM <[email protected]>
This package is distributed under the terms of the GNU General Public License, version 2 or later.

## Download.
The latest release is available to [download in this link](https://davidacm.github.io/getlatest/gh/davidacm/NVDA-HeadphoneFinder)
The latest release is available to [download in this link](https://davidacm.github.io/getlatest/gh/davidacm/NVDA-HeadphoneFinder/?index=1)

## Usage

Expand Down
Loading

0 comments on commit fd6b77d

Please sign in to comment.