Skip to content

Commit ebf9d29

Browse files
committed
updated sconstruct and github workflow to support compatibility with nvda.org add-on store.
updated readme download section to get the correct asset.
1 parent ab6c100 commit ebf9d29

File tree

9 files changed

+494
-198
lines changed

9 files changed

+494
-198
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/[email protected]
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, '-') }}

addon/doc/es/readme.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Complemento Beep Keyboard para NVDA #
2+
3+
Este complemento permite al usuario configurar NVDA para que emita pitidos con algunos eventos del teclado.
4+
5+
Copyright (C) 2019 - 2023 David CM <[email protected]>
6+
7+
Este paquete se distribuye bajo los términos de la Licencia Pública General GNU, versión 2 o posterior.
8+
9+
## Características
10+
11+
Este complemento proporciona las siguientes funciones que puedes usar para adaptar el comportamiento del teclado de NVDA:
12+
13+
* Beep para mayúsculas cuando el bloqueo de mayúsculas está activado: si esta característica está habilitada, NVDA emitirá un pitido cuando escribas caracteres y el bloqueo de mayúsculas se encuentre activado. Es útil por ejemplo, si se activó el bloqueo mayúsculas sin querer. ¡No cometas más errores con mayúsculas!
14+
* Pitido para caracteres escritos cuando se presiona shift: con esta función, NVDA emitirá un pitido si escribe un carácter con la tecla shift presionada.
15+
* Pitido para cambios de teclas de alternancia: con esta función, NVDA emitirá un pitido más alto si se activa una tecla de alternancia, y un tono más bajo si se apaga. Tenga en cuenta que Windows tiene una función de cambio de pitido keis incorporada en el Centro de facilidad de acceso. Esta característica nativa funciona bien si no utiliza la configuración de distribución del teclado de la computadora portátil.
16+
* Anunciar cambios de teclas de alternancia: justo cuando está activado el "Bip para cambios de teclas de alternancia". Puedes habilitar o deshabilitar NVDA para anunciar el estado de la tecla de alternancia.
17+
* Pitido para caracteres específicos: NVDA emitirá un pitido para todos los caracteres que configures en la configuración avanzada.
18+
* Deshabilitar el pitido en los campos de contraseña: esta función está habilitada de forma predeterminada para evitar riesgos de seguridad. Desactívelo si desea escuchar pitidos en los campos de contraseña.
19+
20+
## Requisitos
21+
Necesitas NVDA 2018.2 o posterior.
22+
23+
## Instalación
24+
Solo instálalo como un complemento de NVDA.
25+
26+
## Uso
27+
Para habilitar o deshabilitar funciones, ve a la configuración de NVDA y selecciona la categoría de teclado de pitidos. En esa categoría puede configurar todas las funciones compatibles con este complemento.
28+
29+
"Beep para mayúsculas cuando el bloqueo de mayúsculas está activado" está habilitado de forma predeterminada.
30+
Si necesita más configuraciones, abra el cuadro de diálogo de configuración avanzada que contiene las siguientes opciones:
31+
32+
* Caracteres ignorados con shift presionado: todos los caracteres aquí serán ignorados y emitirán un pitido cuando se presione shift. Las secuencias de escape están permitidas, p. "\t" para tabulador, "\r" para retorno de carro.
33+
* Pitar siempre para los siguientes caracteres: configura aquí todos los caracteres para los que quieras pitidos de NVDA. Las secuencias de escape están permitidas, p. "\t" para tabulador, "\r" para retorno de carro.
34+
* Seleccionar tono a configurar: puede configurar parámetros para todos los tonos. Seleccione uno aquí y establezca los parámetros en los siguientes cuadros de texto. Cuando cambie la selección, NVDA emitirá un pitido para el tono seleccionado actual con los parámetros actuales establecidos en el diálogo.
35+
* Tono de tono: tono de tono para el tono seleccionado actual.
36+
* Duración del tono: duración del tono para el tono seleccionado actualmente.
37+
* Volumen de tono: volumen de tono para el tono seleccionado actualmente.
38+
* Tono de prueba: este botón le permite reproducir una prueba con los parámetros establecidos actualmente.
39+
* Presione el botón OK para guardar la configuración o cancelar para descartar.
40+
41+
## contribuciones, informes y donaciones
42+
43+
Si te gusta mi proyecto o este software te es útil en tu vida diaria y te gustaría contribuir de alguna manera, puedes donar a través de los siguientes métodos:
44+
45+
* [PayPal.](https://paypal.yo/davicm)
46+
* [Ko-fi.](https://ko-fi.com/davidacm)
47+
* [criptomonedas y otros métodos.](https://davidacm.github.io/donations/)
48+
49+
Si desea corregir errores, informar problemas o nuevas funciones, puede contactarme en: <[email protected]>.
50+
51+
O en el repositorio github de este proyecto:
52+
[Beep teclado en GitHub](https://github.com/davidacm/beepKeyboard)
53+
54+
Puede obtener la última versión de este complemento en ese repositorio.

addon/doc/tr/readme.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Bip klavye NVDA Eklentisi #
2+
Bu eklenti, kullanıcının NVDA'yı bazı klavye olaylarıyla bip sesi çıkaracak şekilde yapılandırmasına olanak tanır.
3+
4+
Telif Hakkı (C) 2019 - 2023 David CM <[email protected]>
5+
6+
Bu paket, GNU Genel Kamu Lisansı, sürüm 2 veya sonraki koşulları altında dağıtılmaktadır.
7+
8+
## Özellikler:
9+
10+
Bu eklenti, NVDA klavye davranışını yapılandırmak için kullanabileceğiniz aşağıdaki özellikleri sağlar:
11+
12+
* Büyük harf kilidi açıkken büyük harfler için bip sesi: Bu özellik etkinleştirilirse, büyük harf yazdığınızda ve büyük harf kilidi açıkken NVDA bip sesi çıkarır. Daha fazla büyük harf hatası yapmayın!
13+
* Shift'e basıldığında yazılan karakterler için bip sesi: bu özellikle, shift tuşuna basılıyken bir karakter yazarsanız NVDA bip sesi çıkarır.
14+
* Geçiş tuşları değişiklikleri için bip sesi: Bu özellikle, NVDA bir geçiş tuşu açıldığında daha yüksek, kapandığında daha düşük bip sesi çıkarır. Lütfen Windows'un Erişim Kolaylığı Merkezi'nde yerleşik bir bip sesi açma/kapatma işlevine sahip olduğunu unutmayın. Bu yerel özellik, dizüstü bilgisayar klavye düzeni ayarını kullanmıyorsanız iyi çalışır.
15+
* Geçiş tuşları değişikliklerini duyur: "Geçiş tuşları değişiklikleri için bip sesi" açıkken. Geçiş anahtarı durumunu duyurmak için NVDA'yı etkinleştirebilir veya devre dışı bırakabilirsiniz.
16+
* Belirtilen karakterler için bip sesi: NVDA, gelişmiş ayarlarda belirlediğiniz tüm karakterler için bip sesi çıkarır.
17+
* Şifre alanlarında bip sesini devre dışı bırak: bu özellik, güvenlik risklerini önlemek için varsayılan olarak etkindir. Parola alanlarında bip sesleri duymak istiyorsanız devre dışı bırakın.
18+
19+
## Gereksinimler:
20+
21+
NVDA 2018.2 veya sonrasına ihtiyacınız var.
22+
23+
## Kurulum:
24+
25+
Sadece bir NVDA eklentisi olarak kurun.
26+
27+
## kullanım:
28+
29+
Özellikleri etkinleştirmek veya devre dışı bırakmak için NVDA ayarlarına gidin ve bip klavye kategorisini seçin. Bu kategoride, desteklenen tüm özellikleri bu eklenti ile yapılandırabilirsiniz.
30+
"Büyük harf kilidi açıkken büyük harfler için bip sesi" varsayılan olarak etkindir.
31+
Daha fazla ayara ihtiyacınız varsa, aşağıdaki seçenekleri içeren gelişmiş ayarlar iletişim kutusunu açın:
32+
33+
* Shift'e basıldığında yok sayılan karakterler: Shift'e basıldığında bip sesi çıkarmak için buradaki tüm karakterler yok sayılır. Kaçış Dizilerine izin verilir, örn. Sekme için "\t", satırbaşı için "\r".
34+
* Aşağıdaki karakterler için her zaman bip sesi çıkar: NVDA'nın bip sesi çıkarmasını istediğiniz tüm karakterleri burada ayarlayın. Kaçış Dizilerine izin verilir, örn. Sekme için "\t", satırbaşı için "\r".
35+
* Yapılandırılacak tonu seç: tüm tonlar için parametreleri yapılandırabilirsiniz. Burada bir tane seçin ve sonraki metin kutularında parametreleri ayarlayın. Seçimi değiştirdiğinizde, NVDA iletişim kutusunda ayarlanan geçerli parametrelerle birlikte seçili olan geçerli ton için bip sesi çıkaracaktır.
36+
* Ton perdesi: geçerli seçili ton için ton perdesi.
37+
* Ton uzunluğu: geçerli seçili ton için ton uzunluğu.
38+
* Ton ses seviyesi: mevcut seçili ton için ton ses seviyesi.
39+
* Tonu test et: bu düğme, geçerli ayarlanmış parametrelerle bir test yürütmenizi sağlar.
40+
* Ayarları kaydetmek için Tamam düğmesine, iptal için Escape veya iptal tuşuna basın.
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 <[email protected]> adresinden iletişime geçebilirsiniz.
51+
52+
Veya bu projenin github deposunda:
53+
[GitHub'da bip klavye](https://github.com/davidacm/beepKeyboard)
54+
55+
Bu eklentinin en son sürümünü bu depodan edinebilirsiniz.

addon/locale/tr/LC_MESSAGES/nvda.po

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
msgid ""
2+
msgstr ""
3+
"Project-Id-Version: Bip Klavye 1.9\n"
4+
"POT-Creation-Date: 2023-04-15 12:18+0300\n"
5+
"PO-Revision-Date: 2023-04-15 12:33+0300\n"
6+
"Last-Translator: Umut KORKMAZ <[email protected]>\n"
7+
"Language-Team: Umut KORKMAZ <[email protected]>\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+
#: beepKeyboard/__init__.py:59
18+
msgid "Beep keyboard"
19+
msgstr "Bip klavye"
20+
21+
#: beepKeyboard/__init__.py:64
22+
msgid "Beep for uppercases when &caps lock is on"
23+
msgstr "Büyük harf kilidi açıkken büyük harfler için bip sesi &çal"
24+
25+
#: beepKeyboard/__init__.py:67
26+
msgid "Beep for typed characters when &shift is pressed"
27+
msgstr "&Shift tuşuna basıldığında yazılan karakterler için bip sesi çal"
28+
29+
#: beepKeyboard/__init__.py:70
30+
msgid "Beep for &toggle keys changes"
31+
msgstr "&Geçiş tuşları değişikliği için bip sesi çal"
32+
33+
#: beepKeyboard/__init__.py:73
34+
msgid ""
35+
"&Announce toggle keys changes (if Beep for toggle keys changes is disabled "
36+
"NVDA will have the original behavior)"
37+
msgstr ""
38+
"&Geçiş tuşları değişikliklerini duyur. (geçiş tuşları değişiklikleri için "
39+
"Bip sesi devre dışı bırakılırsa, NVDA orijinal davranışa sahip olacaktır)"
40+
41+
#: beepKeyboard/__init__.py:76
42+
msgid "&disable beeping on password fields"
43+
msgstr "Şifre alanlarında bip sesini &devre dışı bırak"
44+
45+
#: beepKeyboard/__init__.py:80
46+
msgid "&Open advanced options"
47+
msgstr "Gelişmiş seçenekleri &aç"
48+
49+
#: beepKeyboard/__init__.py:97
50+
msgid "Advanced settings - Keyboard beep"
51+
msgstr "Gelişmiş ayarlar - Klavye bip sesi"
52+
53+
#: beepKeyboard/__init__.py:102
54+
msgid "&Ignored characters with shift pressed"
55+
msgstr "Shift basılıyken yok say&ılan karakterler"
56+
57+
#: beepKeyboard/__init__.py:105
58+
msgid "Beep &always for the following characters"
59+
msgstr "&Aşağıdaki karakterler için daima bip sesi"
60+
61+
#: beepKeyboard/__init__.py:109
62+
msgid "&Select tone to configure"
63+
msgstr "&Yapılandırmak için ton seç"
64+
65+
#: beepKeyboard/__init__.py:111
66+
msgid "Typed characters with shift pressed"
67+
msgstr "Shift basılıyken yazılan karakterler"
68+
69+
#: beepKeyboard/__init__.py:113
70+
msgid "Custom characters"
71+
msgstr "Özel karakterler"
72+
73+
#: beepKeyboard/__init__.py:115
74+
msgid "Typed characters when caps lock is on"
75+
msgstr "Büyük harf kilidi açıkken yazılan karakterler"
76+
77+
#: beepKeyboard/__init__.py:117
78+
msgid "Toggle key goes off"
79+
msgstr "Geçiş tuşu kapalı"
80+
81+
#: beepKeyboard/__init__.py:119
82+
msgid "Toggle key goes on"
83+
msgstr "Geçiş tuşu açık"
84+
85+
#: beepKeyboard/__init__.py:124
86+
msgid "Tone &pitch"
87+
msgstr "ton &perdesi"
88+
89+
#: beepKeyboard/__init__.py:127
90+
msgid "Tone &length"
91+
msgstr "Ton &uzunluğu"
92+
93+
#: beepKeyboard/__init__.py:130
94+
msgid "Tone &volume"
95+
msgstr "ton &ses değeri"
96+
97+
#: beepKeyboard/__init__.py:133
98+
msgid "&Test tone"
99+
msgstr "&Tonu Test Et"
100+
101+
#: beepKeyboard/__init__.py:148
102+
msgid "You entered a wrong value. Please correct it or discard changes."
103+
msgstr ""
104+
"Yanlış bir değer girdiniz. Lütfen düzeltin veya değişiklikleri iptal edin."

addonReadme.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# Beep keyboard NVDA Add-on #
2+
23
This add-on allows the user to configure NVDA to beeps with some keyboard events.
34

45
Copyright (C) 2019 - 2023 David CM <[email protected]>
56

67
This package is distributed under the terms of the GNU General Public License, version 2 or later.
78

89
## Features
10+
911
This add-on provides the following features you can use to adapt NVDA keyboard behavior:
1012

1113
* Beep for uppercases when caps lock is on: if this feature is enabled, NVDA will beep when you typing an uppercase and caps lock is on. Don't make any more uppercase mistakes!
@@ -14,16 +16,18 @@ This package is distributed under the terms of the GNU General Public License, v
1416
* Announce toggle keys changes: just when "Beep for toggle keys changes" is on. You can enable or disable NVDA to announce toggle key status.
1517
* Beep for specified characters: NVDA will beep for all characters that you set in advanced settings.
1618
* Disable beeping on password fields: this feature is enabled by default to aboid security risks. Disable it if you want to hear beeps on password fields.
19+
1720
## Requirements
1821
You need NVDA 2018.2 or later.
1922

2023
## Installation
2124
Just install it as a NVDA add-on.
2225

2326
## Usage
24-
To enable or disable features, go to NVDA settings and select beep keyboard category. In that category you can configure all supported features by this add-on.
25-
"Beep for uppercases when caps lock is on" is enabled by default.
26-
If you need more settings, open the advanced settings dialog that contains the following options:
27+
To enable or disable features, go to NVDA settings and select beep keyboard category. In that category you can configure all supported features by this add-on.
28+
29+
"Beep for uppercases when caps lock is on" is enabled by default.
30+
If you need more settings, open the advanced settings dialog that contains the following options:
2731

2832
* Ignored characters with shift pressed: all characters here will be ignored to beeping when shift is pressed. Escape Sequences are allowed, e.g. "\t" for tab, "\r" for carriage return.
2933
* Beep always for the following characters: set here all characters that you want NVDA beeps for. Escape Sequences are allowed, e.g. "\t" for tab, "\r" for carriage return.

0 commit comments

Comments
 (0)