Skip to content

Commit 2d96332

Browse files
author
Danstiv
committed
Initial commit
0 parents  commit 2d96332

File tree

12 files changed

+477
-0
lines changed

12 files changed

+477
-0
lines changed

.gitattributes

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Set default behaviour, in case users don't have core.autocrlf set.
2+
* text=auto
3+
4+
# Try to ensure that po files in the repo does not include
5+
# source code line numbers.
6+
# Every person expected to commit po files should change their personal config file as described here:
7+
# https://mail.gnome.org/archives/kupfer-list/2010-June/msg00002.html
8+
*.po filter=cleanpo

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
addon/doc/*.css
2+
addon/doc/en/
3+
*_docHandler.py
4+
*.html
5+
*.ini
6+
*.mo
7+
*.pot
8+
*.py[co]
9+
*.nvda-addon
10+
.sconsign.dblite

addon/appModules/bvssh.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import appModuleHandler
2+
import NVDAObjects.IAccessible.sysListView32
3+
class AppModule(appModuleHandler.AppModule):
4+
def event_NVDAObject_init(self, obj):
5+
if isinstance(obj, NVDAObjects.IAccessible.sysListView32.List) and obj.name=='List1':
6+
obj.name = obj.parent.next.name

addon/doc/ru/readme.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Bitvise helper
2+
3+
Улучшает доступность программы Bitvise SSH Client.<br/>
4+
5+
1. Подписаны списки "Local Files" и "Remote Files".
6+
7+
# Журнал изменений
8+
9+
## 0.2
10+
11+
Добавлен перевод и документация.

addon/locale/ru/LC_MESSAGES/nvda.po

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3+
# This file is distributed under the same license as the bitviseHelper package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5+
#
6+
msgid ""
7+
msgstr ""
8+
"Project-Id-Version: bitviseHelper 0.2\n"
9+
"Report-Msgid-Bugs-To: [email protected]\n"
10+
"POT-Creation-Date: 2021-07-14 14:00+0700\n"
11+
"PO-Revision-Date: 2021-07-14 14:03+0700\n"
12+
"Language-Team: \n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: 8bit\n"
16+
"X-Generator: Poedit 2.4.3\n"
17+
"Last-Translator: Danstiv <[email protected]>\n"
18+
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
19+
"Language: ru\n"
20+
21+
#. Add-on summary, usually the user visible name of the addon.
22+
#. Translators: Summary for this add-on
23+
#. to be shown on installation and add-on information found in Add-ons Manager.
24+
msgid "Bitvise helper"
25+
msgstr "Bitvise helper"
26+
27+
#. Add-on description
28+
#. Translators: Long description to be shown for this add-on on add-on information from add-ons manager
29+
msgid "Improves accessibility of Bitvise SSH Client program."
30+
msgstr "Улучшает доступность программы Bitvise SSH Client."

buildVars.py

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# -*- coding: UTF-8 -*-
2+
3+
# Build customizations
4+
# Change this file instead of sconstruct or manifest files, whenever possible.
5+
6+
7+
# Since some strings in `addon_info` are translatable,
8+
# we need to include them in the .po files.
9+
# Gettext recognizes only strings given as parameters to the `_` function.
10+
# To avoid initializing translations in this module we simply roll our own "fake" `_` function
11+
# which returns whatever is given to it as an argument.
12+
def _(arg):
13+
return arg
14+
15+
16+
# Add-on information variables
17+
addon_info = {
18+
# add-on Name/identifier, internal for NVDA
19+
"addon_name": "bitviseHelper",
20+
# Add-on summary, usually the user visible name of the addon.
21+
# Translators: Summary for this add-on
22+
# to be shown on installation and add-on information found in Add-ons Manager.
23+
"addon_summary": _("Bitvise helper"),
24+
# Add-on description
25+
# Translators: Long description to be shown for this add-on on add-on information from add-ons manager
26+
"addon_description": _("""Improves accessibility of Bitvise SSH Client program."""),
27+
# version
28+
"addon_version": "0.2",
29+
# Author(s)
30+
"addon_author": "Danstiv <[email protected]>",
31+
# URL for the add-on documentation support
32+
"addon_url": "https://github.com/danstiv/bitviseHelper",
33+
# Documentation file name
34+
"addon_docFileName": "readme.html",
35+
# Minimum NVDA version supported (e.g. "2018.3.0", minor version is optional)
36+
"addon_minimumNVDAVersion": None,
37+
# Last NVDA version supported/tested (e.g. "2018.4.0", ideally more recent than minimum version)
38+
"addon_lastTestedNVDAVersion": 2021.1,
39+
# Add-on update channel (default is None, denoting stable releases,
40+
# and for development releases, use "dev".)
41+
# Do not change unless you know what you are doing!
42+
"addon_updateChannel": None,
43+
}
44+
45+
# Define the python files that are the sources of your add-on.
46+
# You can either list every file (using ""/") as a path separator,
47+
# or use glob expressions.
48+
# For example to include all files with a ".py" extension from the "globalPlugins" dir of your add-on
49+
# the list can be written as follows:
50+
# pythonSources = ["addon/globalPlugins/*.py"]
51+
# For more information on SCons Glob expressions please take a look at:
52+
# https://scons.org/doc/production/HTML/scons-user/apd.html
53+
pythonSources = ['addon/appModules/bitviseHelper/*.py']
54+
55+
# Files that contain strings for translation. Usually your python sources
56+
i18nSources = pythonSources + ["buildVars.py"]
57+
58+
# Files that will be ignored when building the nvda-addon file
59+
# Paths are relative to the addon directory, not to the root directory of your addon sources.
60+
excludedFiles = []
61+
62+
# Base language for the NVDA add-on
63+
# If your add-on is written in a language other than english, modify this variable.
64+
# For example, set baseLanguage to "es" if your add-on is primarily written in spanish.
65+
baseLanguage = "en"
66+
67+
# Markdown extensions for add-on documentation
68+
# Most add-ons do not require additional Markdown extensions.
69+
# If you need to add support for markup such as tables, fill out the below list.
70+
# Extensions string must be of the form "markdown.extensions.extensionName"
71+
# e.g. "markdown.extensions.tables" to add tables.
72+
markdownExtensions = []

manifest-translated.ini.tpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
summary = "{addon_summary}"
2+
description = """{addon_description}"""

manifest.ini.tpl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name = {addon_name}
2+
summary = "{addon_summary}"
3+
description = """{addon_description}"""
4+
author = "{addon_author}"
5+
url = {addon_url}
6+
version = {addon_version}
7+
docFileName = {addon_docFileName}
8+
minimumNVDAVersion = {addon_minimumNVDAVersion}
9+
lastTestedNVDAVersion = {addon_lastTestedNVDAVersion}
10+
updateChannel = {addon_updateChannel}

readme.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Bitvise helper
2+
3+
Improves accessibility of Bitvise SSH Client program.<br/>
4+
5+
1. Labeled "Local Files" and "Remote Files" lists.
6+
7+
# Change log
8+
9+
## 0.2
10+
11+
Added translation and documentation.

0 commit comments

Comments
 (0)