-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from ibrahim-s/master
update addon template files and translation and last tested version
- Loading branch information
Showing
33 changed files
with
1,013 additions
and
154 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 |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: build addon | ||
|
||
on: | ||
push: | ||
tags: ["*"] | ||
# To build on main/master branch, uncomment the following line: | ||
branches: [ main , master ] | ||
|
||
pull_request: | ||
branches: [ main, master ] | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- run: echo -e "pre-commit\nscons\nmarkdown">requirements.txt | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.9 | ||
cache: 'pip' | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip wheel | ||
pip install -r requirements.txt | ||
sudo apt-get update -y | ||
sudo apt-get install -y gettext | ||
- name: Code checks | ||
run: export SKIP=no-commit-to-branch; pre-commit run --all | ||
|
||
- name: building addon | ||
run: scons | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: packaged_addon | ||
path: ./*.nvda-addon | ||
|
||
upload_release: | ||
runs-on: ubuntu-latest | ||
if: ${{ startsWith(github.ref, 'refs/tags/') }} | ||
needs: ["build"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: download releases files | ||
uses: actions/download-artifact@v3 | ||
- name: Display structure of downloaded files | ||
run: ls -R | ||
|
||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: packaged_addon/*.nvda-addon | ||
fail_on_unmatched_files: true | ||
prerelease: ${{ contains(github.ref, '-') }} |
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,7 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.3.0 | ||
hooks: | ||
- id: check-ast | ||
- id: check-case-conflict | ||
- id: check-yaml |
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,29 @@ | ||
{ | ||
"addonId": "easyAddonTech.XYZ", | ||
"addonVersionNumber": { | ||
"major": 21, | ||
"minor": 6, | ||
"patch": 0 | ||
}, | ||
"addonVersionName": "21.06", | ||
"displayName": "My addon", | ||
"publisher": "easyAddonTech", | ||
"description": "Makes doing XYZ easier", | ||
"homepage": "https://github.com/nvaccess/addon-datastore", | ||
"minNVDAVersion": { | ||
"major": 2019, | ||
"minor": 3, | ||
"patch": 0 | ||
}, | ||
"lastTestedVersion": { | ||
"major": 2020, | ||
"minor": 4, | ||
"patch": 0 | ||
}, | ||
"channel": "beta", | ||
"URL": "https://github.com/nvaccess/addon-datastore/releases/download/v0.1.0/myAddon.nvda-addon", | ||
"sha256": "69D84CA8899800A5575CE31798293CD4FEBAB1D734A07C2E51E56A28E0DF8C82", | ||
"sourceURL": "https://github.com/nvaccess/addon-datastore/", | ||
"license": "GPL v2", | ||
"licenseURL": "https://github.com/nvaccess/addon-datastore/license.MD" | ||
} |
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
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
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,59 @@ | ||
# Direktna poveznica (Direct Link) # | ||
|
||
* Autor: Fawaz Abdul Rahman | ||
* Verzija: 1.0 | ||
* NVDA kompatibilnost: 2019.3 i novije verzije | ||
* Preuzmi [stabilnu verziju][1] | ||
|
||
## Funkcionalnost | ||
Svrha dodatka je pretvoriti Dropbox, Google Drive ili oneDrive (osobne i | ||
poslovne) poveznice u direktnu poveznicu, nadalje, generira direktnu | ||
poveznicu na WhatsApp chat s odabranim telefonskim brojem. | ||
|
||
## Primjena | ||
* Odaberi ili kopiraj dijeljenu Dropbox, Google Drive ili oneDrive poveznicu | ||
* Pritisni alt+NVDA+l za pretvaranje poveznice. Rezultirajući URL bit će u | ||
tvom međuspremniku. | ||
* Slično za telefonski broj, kopiraj ili odaberi broj s kojim želiš | ||
razgovarati ili dijeliti i pritisni isti prečac (alt+NVDA+L). | ||
* ako želiš otvoriti rezultirajuću poveznicu u pregledniku, pritisni | ||
alt+NVDA+šift+l. | ||
|
||
## Zašto direktna poveznica? | ||
Direktna poveznica omogućuje izravno dobivanje dobro poznatog dijaloškog | ||
okvira za spremanje ako ga otvoriš u pregledniku, bez gnjavaže sa stranicom | ||
za preuzimanje hosting tvrtke i lociranja poveznice za preuzimanje. Štoviše, | ||
direktna poveznica može se koristiti za prijenos datoteke ili pregled | ||
datoteke u određenim programima kao što su media playeri (ako dolaze s | ||
podrškom za URL). Isto tako, ako je WhatsApp uobičajen u tvojoj zemlji, | ||
umjesto stvaranja novog kontakta svaki put kad s nekime želiš razgovarati, | ||
bilo da se radi o korisniku ili tehničkoj podršci, možeš jednostavno | ||
odabrati broj ili ga kopirati i odmah početi razgovarati. Čak štoviše, može | ||
dijeliti WhatsApp poveznicu svog vlastitog broja, ako te ljudi moraju | ||
kontaktirati u slučaju da radiš kao freelancer. | ||
|
||
## Napomene | ||
* Poveznica mape se ne može pretvoriti; poveznica mora usmjeravati na | ||
datoteku. | ||
* Provjeri, je li poveznica koju dijeliš javna (svatko s poveznicom može | ||
pristupiti) kako bi se uspješno pretvorila. | ||
* Prečace možeš promijeniti u NVDA izbornikau > postavke > ulazne geste. | ||
* Ako pronađeš određeni format telefonskog broja koji nije otkriven, pošalji | ||
mi e-mail s primjerom. | ||
* Određene vrste datoteka i veličina na Google disku mogu te odvesti na | ||
stranicu na kojoj piše „Google disk ne može pregledati ovu datoteku u | ||
potrazi za virusima.” U tom slučaju moraš pritisnuti poveznicu za svejedno | ||
preuzimanje. | ||
|
||
## Zahvale | ||
Puno hvala svim prijateljima. Bez njih to ne bih mogao ostvariti: | ||
|
||
* Qais Alrefaij, za testiranje dodatka i pružanju raznih materijala za | ||
testiranje, kao i na njegovim opažanjima i općoj ideji za dodatak. | ||
* Marina Amir, za prijevod dodatka na francuski, redigiranje i testiranje. | ||
* Riad Assoum, za prijevod dodatka na arapski. | ||
* svima koji su testirali dodatak. | ||
|
||
[[!tag dev stable]] | ||
|
||
[1]: https://www.nvaccess.org/addonStore/legacy?file=directlink |
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
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
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
Oops, something went wrong.