Skip to content

Commit 1cdad60

Browse files
committed
version 23.5.2
updated the github workflow to include the release info in a json file. added a script to update version in the buildVars.py automatically if it as not been changed but is confirmed in a commit. this can be used manually, or automatically with a post commit hook. updated sconstruct to generate the required json file for the add-on store. updated buildVars to be compatible with the new sconstruct. now *.json files are ignored. added turkish language.
1 parent d800866 commit 1cdad60

File tree

8 files changed

+343
-65
lines changed

8 files changed

+343
-65
lines changed

.github/workflows/upload-on-tag.yaml

Lines changed: 36 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,31 @@
1+
permissions:
2+
contents: write
13
name: Upload on new tags
2-
34
on:
45
push:
56
tags:
67
['*']
8+
workflow_dispatch:
79

810
jobs:
9-
buildAndUpload:
11+
build:
1012
runs-on: ubuntu-latest
1113
steps:
1214
- name: Checkout code
1315
uses: actions/checkout@v3
14-
- name: Set up Python 3.8
15-
uses: actions/setup-python@v3.1.2
16+
- run: echo -e "pre-commit\nscons\nmarkdown">requirements.txt
17+
- name: Set up Python
18+
uses: actions/setup-python@v4
1619
with:
17-
python-version: 3.8
20+
python-version: 3.9
21+
cache: 'pip'
22+
1823
- name: Install dependencies
1924
run: |
2025
pip install scons markdown
2126
sudo apt update
2227
sudo apt install gettext
28+
2329
- name: Add add-on version
2430
run: |
2531
import re
@@ -30,17 +36,36 @@ jobs:
3036
f.seek(0)
3137
f.write(text)
3238
f.truncate()
33-
shell: python
39+
shell: python
40+
3441
- name: Build add-on
3542
run: scons
3643
- name: Calculate sha256
3744
run: sha256sum *.nvda-addon >> changelog.md
45+
46+
- uses: actions/upload-artifact@v3
47+
with:
48+
name: packaged_addon
49+
path: |
50+
./*.nvda-addon
51+
./*.json
52+
53+
upload_release:
54+
runs-on: ubuntu-latest
55+
if: ${{ startsWith(github.ref, 'refs/tags/') }}
56+
needs: ["build"]
57+
steps:
58+
- uses: actions/checkout@v3
59+
- name: download releases files
60+
uses: actions/download-artifact@v3
61+
- name: Display structure of downloaded files
62+
run: ls -R
63+
3864
- name: Release
3965
uses: softprops/action-gh-release@v1
40-
env:
41-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4266
with:
4367
files: |
44-
*.nvda-addon
45-
body_path: changelog.md
46-
prerelease: ${{ endsWith(github.ref, '-dev') }}
68+
packaged_addon/*.nvda-addon
69+
packaged_addon/*.json
70+
fail_on_unmatched_files: true
71+
prerelease: ${{ contains(github.ref, '-') }}

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ addon/doc/en/
66
*.mo
77
*.py[co]
88
*.nvda-addon
9-
*.code-workspace
10-
setup.cfg
119
.sconsign.dblite
10+
*.code-workspace
11+
*.json

addon/doc/tr/readme.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Sentezleyici ayar halkaları seçici NVDA Eklentisi #
2+
3+
Bu eklenti, kullanıcının Sentezleyici ayar halkalarında hangi seçeneklerin görüneceğini seçmesine olanak tanır.
4+
5+
Telif Hakkı (C) 2019 - 2023 David CM <dhf360@gmail.com>
6+
7+
Bu paket, GNU Genel Kamu Lisansı, sürüm 2 veya sonraki koşulları altında dağıtılmaktadır.
8+
9+
## Özellikler:
10+
11+
Bu eklenti aşağıdaki özellikleri sağlar:
12+
13+
* Sentezleyici ayar halkalarına dahil etmek istediğiniz ayarları seçmek için NVDA ayarlarında bir kategori paneli.
14+
* her profil için belirli ayarları kaydedin.
15+
* sentezleyici ayar halkasında gösterilen varsayılan sentezleyici sürücüsü ayarlarını geçersiz kılar.
16+
17+
## Gereksinimler:
18+
19+
NVDA 2019.2 veya sonrasına ihtiyacınız var.
20+
21+
## Kurulum:
22+
23+
Sadece bir NVDA eklentisi olarak kurun.
24+
25+
## kullanım:
26+
27+
Dahil edilen ayarları etkinleştirmek veya devre dışı bırakmak için NVDA ayarlarına gidin ve "Sentezleyici Ayar halkaları seçici" kategorisini seçin. Bu kategoride, desteklenen tüm özellikleri bu eklenti ile yapılandırabilirsiniz.
28+
Varsayılan olarak dahil edilen ayarlar:
29+
30+
* dil.
31+
* ses.
32+
* varyant.
33+
* Oran.
34+
* oran artışı.
35+
* Ses değeri.
36+
* Perde.
37+
* sesin yükselip alçalması
38+
39+
Not: Bu iletişim kutusu, yalnızca geçerli sentezleyici tarafından desteklenen ayarları gösterir.
40+
Burada bulunmayan ayarlar, eklenti yapılandırmasında değiştirilmez.
41+
42+
## katkılar, raporlar ve bağışlar:
43+
44+
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:
45+
46+
* [PayPal.](https://paypal.me/davicm)
47+
* [Ko-fi.](https://ko-fi.com/davidacm)
48+
* [kripto para birimleri ve diğer yöntemler.](https://davidacm.github.io/donations/)
49+
50+
Hataları düzeltmek, sorunları bildirmek veya yeni özellikler istiyorsanız benimle <dhf360@gmail.com> adresinden iletişime geçebilirsiniz.
51+
52+
Veya bu projenin github deposunda:
53+
[GitHub'da Sentezleyici ayar halkaları seçici](https://github.com/davidacm/synthRingSettingsSelector)
54+
55+
Bu eklentinin en son sürümünü bu depodan edinebilirsiniz.

addon/locale/tr/LC_MESSAGES/nvda.po

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
msgid ""
2+
msgstr ""
3+
"Project-Id-Version: Sentezleyici Ayar Halkaları seçici 1.2\n"
4+
"POT-Creation-Date: 2023-04-15 13:47+0300\n"
5+
"PO-Revision-Date: 2023-04-15 13:55+0300\n"
6+
"Last-Translator: Umut KORKMAZ <umutkork@gmail.com>\n"
7+
"Language-Team: Umut KORKMAZ <umutkork@gmail.com>\n"
8+
"Language: tr_TR\n"
9+
"MIME-Version: 1.0\n"
10+
"Content-Type: text/plain; charset=UTF-8\n"
11+
"Content-Transfer-Encoding: 8bit\n"
12+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
13+
"X-Generator: Poedit 3.2.2\n"
14+
"X-Poedit-Basepath: ../../../globalPlugins\n"
15+
"X-Poedit-SearchPath-0: .\n"
16+
17+
#: synthRingSettingsSelector.py:40
18+
msgid "Synth ring settings selector"
19+
msgstr "Sentezleyici Ayar Halkaları seçici"
20+
21+
#: synthRingSettingsSelector.py:46
22+
msgid "Check the settings that you want to include in the Synth settings ring"
23+
msgstr "Sentezleyici Ayar halkalarına dahil etmek istediğiniz seçenekleri işaretleyin"
24+
25+
#: synthRingSettingsSelector.py:48
26+
msgid "Settings group"
27+
msgstr "Ayarlar grubu"

buildVars.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# Translators: Long description to be shown for this add-on on add-on information from add-ons manager
2020
"addon_description" : _("""This add-on allows the user to select which settings should appear on the synth settings ring."""),
2121
# version
22-
"addon_version" : "1.1",
22+
"addon_version" : "23.5.2",
2323
# Author(s)
2424
"addon_author" : u"David CM <dhf360@gmail.com>",
2525
# URL for the add-on documentation support
@@ -32,6 +32,12 @@
3232
"addon_lastTestedNVDAVersion" : "2023.1",
3333
# Add-on update channel (default is stable or None)
3434
"addon_updateChannel" : None,
35+
# Add-on license such as GPL 2
36+
"addon_license": "GPL 2",
37+
# URL for the license document the ad-on is licensed under
38+
"addon_licenseURL": "https://www.gnu.org/licenses/old-licenses/gpl-2.0.html",
39+
# URL for the add-on repository where the source code can be found
40+
"addon_sourceURL": "https://github.com/davidacm/synthRingSettingsSelector",
3541
}
3642

3743
from os import path
@@ -46,3 +52,13 @@
4652
# Files that will be ignored when building the nvda-addon file
4753
# Paths are relative to the addon directory, not to the root directory of your addon sources.
4854
excludedFiles = []
55+
56+
# Base language for the NVDA add-on
57+
baseLanguage = "en"
58+
59+
# Markdown extensions for add-on documentation
60+
# Most add-ons do not require additional Markdown extensions.
61+
# If you need to add support for markup such as tables, fill out the below list.
62+
# Extensions string must be of the form "markdown.extensions.extensionName"
63+
# e.g. "markdown.extensions.tables" to add tables.
64+
markdownExtensions = []

0 commit comments

Comments
 (0)