MultiLang

Форк
0
/
buildVars.py 
78 строк · 3.3 Кб
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": "MultiLang",
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": _("MultiLang"),
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": _("""Virtual speech synthesizer"""),
27
	# version
28
	"addon_version": "2024.09.02",
29
	# Author(s)
30
	"addon_author": "Kvark <kvark128@yandex.ru>",
31
	# URL for the add-on documentation support
32
	"addon_url": "https://gitverse.ru/kvark128/MultiLang",
33
	# URL for the add-on repository where the source code can be found
34
	"addon_sourceURL": None,
35
	# Documentation file name
36
	"addon_docFileName": "readme.html",
37
	# Minimum NVDA version supported (e.g. "2018.3.0", minor version is optional)
38
	"addon_minimumNVDAVersion": "2019.3",
39
	# Last NVDA version supported/tested (e.g. "2018.4.0", ideally more recent than minimum version)
40
	"addon_lastTestedNVDAVersion": "2024.2",
41
	# Add-on update channel (default is None, denoting stable releases,
42
	# and for development releases, use "dev".)
43
	# Do not change unless you know what you are doing!
44
	"addon_updateChannel": None,
45
	# Add-on license such as GPL 2
46
	"addon_license": None,
47
	# URL for the license document the ad-on is licensed under
48
	"addon_licenseURL": None,
49
}
50

51
# Define the python files that are the sources of your add-on.
52
# You can either list every file (using ""/") as a path separator,
53
# or use glob expressions.
54
# For example to include all files with a ".py" extension from the "globalPlugins" dir of your add-on
55
# the list can be written as follows:
56
# pythonSources = ["addon/globalPlugins/*.py"]
57
# For more information on SCons Glob expressions please take a look at:
58
# https://scons.org/doc/production/HTML/scons-user/apd.html
59
pythonSources = ["addon/synthDrivers/MultiLang/*.py"]
60

61
# Files that contain strings for translation. Usually your python sources
62
i18nSources = pythonSources + ["buildVars.py"]
63

64
# Files that will be ignored when building the nvda-addon file
65
# Paths are relative to the addon directory, not to the root directory of your addon sources.
66
excludedFiles = []
67

68
# Base language for the NVDA add-on
69
# If your add-on is written in a language other than english, modify this variable.
70
# For example, set baseLanguage to "es" if your add-on is primarily written in spanish.
71
baseLanguage = "ru"
72

73
# Markdown extensions for add-on documentation
74
# Most add-ons do not require additional Markdown extensions.
75
# If you need to add support for markup such as tables, fill out the below list.
76
# Extensions string must be of the form "markdown.extensions.extensionName"
77
# e.g. "markdown.extensions.tables" to add tables.
78
markdownExtensions = []
79

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.