-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
07a99eb
commit 10de479
Showing
12 changed files
with
393 additions
and
251 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
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 |
---|---|---|
|
@@ -6,9 +6,9 @@ | |
#, fuzzy | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: 'YandexTranslate' '2021.02.10'\n" | ||
"Project-Id-Version: 'YandexTranslate' '2021.10.05'\n" | ||
"Report-Msgid-Bugs-To: '[email protected]'\n" | ||
"POT-Creation-Date: 2021-02-09 23:38+0300\n" | ||
"POT-Creation-Date: 2021-10-05 08:09+0300\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
@@ -17,6 +17,19 @@ msgstr "" | |
"Content-Type: text/plain; charset=CHARSET\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
|
||
#: addon\installTasks.py:12 | ||
msgid "" | ||
"Many users reported problems with the service when others were doing well. I " | ||
"have added a new API type to the settings of this add-on. All requests to " | ||
"Yandex will go through my own server. You can disable this by still " | ||
"selecting the web or iOS API in the add-on settings. I will collect and " | ||
"analyze your requests to track and fix errors." | ||
msgstr "" | ||
|
||
#: addon\installTasks.py:12 addon\globalPlugins\yandexTranslate\__init__.py:297 | ||
msgid "Yandex Translate" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:70 | ||
msgid "Invalid API key" | ||
msgstr "" | ||
|
@@ -53,166 +66,167 @@ msgstr "" | |
msgid "Yandex Translate Settings" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:101 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:102 | ||
msgid "&API:" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:101 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:102 | ||
msgid "Web" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:101 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:102 | ||
msgid "iOS" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:105 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:102 | ||
msgid "broker1" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:106 | ||
msgid "&Source language:" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:105 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:106 | ||
msgid "&Detect language automatically" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:111 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:112 | ||
msgid "&Primary target language:" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:114 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:115 | ||
msgid "S&econdary target language:" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:117 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:118 | ||
msgid "" | ||
"&Language translation, if the language of the text coincides with the target:" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:120 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:121 | ||
msgid "&Copy translation to clipboard" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:124 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:125 | ||
msgid "&Play tones when translation waiting" | ||
msgstr "" | ||
|
||
#. self.key = settingsSizerHelper.addLabeledControl(_("&API key:"), wx.TextCtrl, value=config.conf["YandexTranslate"]["key"]) | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:130 | ||
#. self.key = settingsSizerHelper.addLabeledControl(_("&API key:"), wx.TextCtrl, value=ytc["key"]) | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:131 | ||
msgid "&Generate new API key" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:134 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:135 | ||
msgid "&Use proxy server" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:139 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:140 | ||
msgid "Proxy &protocol:" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:142 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:143 | ||
msgid "Proxy &host:" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:143 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:144 | ||
msgid "Proxy p&ort:" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:145 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:146 | ||
msgid "Proxy &login:" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:146 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:147 | ||
msgid "Proxy p&assword:" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:149 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:150 | ||
msgid "&Reset settings to the default value" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:169 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:174 | ||
msgid "A new key is created successfully" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:171 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:176 | ||
msgid "" | ||
"Failed to get a new key. Check your internet connection, wait a bit or go to " | ||
"Yandex, enter the captcha and try again." | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:174 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:190 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:179 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:195 | ||
msgid "Error saving settings" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:291 | ||
msgid "Yandex Translate" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:319 | ||
#. Creates submenu of addon | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:325 | ||
msgid "Yandex Translate Settings..." | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:347 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:363 | ||
msgid "" | ||
"Unfortunately the translation is not available. Please check your Internet " | ||
"connection" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:352 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:368 | ||
#, python-format | ||
msgid "Error: %s" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:383 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:399 | ||
msgid "Translate text from the clipboard" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:392 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:406 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:435 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:408 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:422 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:451 | ||
msgid "No text to translate" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:398 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:414 | ||
msgid "Translates the selected text." | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:412 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:428 | ||
msgid "Translates the last spoken phrase" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:422 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:438 | ||
msgid "Translates text from navigator object" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:441 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:454 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:457 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:470 | ||
msgid "Switching between the primary and secondary target language" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:461 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:477 | ||
msgid "Copy to clipboard" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:463 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:479 | ||
msgid "No translation to copy" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:464 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:480 | ||
msgid "Copy last translation to clipboard" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:469 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:485 | ||
msgid "Shows the settings dialog" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:472 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:488 | ||
msgid "Switches the function of automatic translation" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:477 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:493 | ||
msgid "Automatic translation enabled" | ||
msgstr "" | ||
|
||
#: addon\globalPlugins\yandexTranslate\__init__.py:481 | ||
#: addon\globalPlugins\yandexTranslate\__init__.py:497 | ||
msgid "Automatic translation disabled" | ||
msgstr "" | ||
|
||
|
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 |
---|---|---|
@@ -1,39 +1,42 @@ | ||
# Yandex.Translate addon for NVDA | ||
# Дополнение Яндекс.Переводчик для NVDA | ||
|
||
[Addon home page](https://github.com/alekssamos/YandexTranslate/) | ||
[Скачать версию 2021.10.05](https://github.com/alekssamos/YandexTranslate/releases/latest/download/YandexTranslate-2021.10.05.nvda-addon) | ||
|
||
After installation, go to the **NVDA menu**, **Preferences**, **Input Gestures**, | ||
assign convenient keyboard shortcuts for YandexTranslate. Or use the already pre-installed ones (below). | ||
После установки зайдите в **NVDA меню**, **Параметры**, **Жесты ввода**, | ||
назначте удобные вам сочетания клавиш для YandexTranslate. Или используйте уже предустановленные (ниже). | ||
|
||
> Other translators, such as "Translate", "InstantTranslate" and others, | ||
> if there is, it is better to disable or delete it, in order to avoid conflicts. | ||
> Другие переводчики, такие, как "Translate", "InstantTranslate" и другие, | ||
> если есть, лучше отключить или удалить, во избежании конфликтов. | ||
New: If it doesn't work, an error occurred when creating the key or something | ||
such, | ||
then open the NVDA Menu, Tools, Yandex Translate Settings | ||
and install the API on iOS. | ||
These keys are used in the iPhone app and have not changed for more than 6 months, | ||
it should work better and more stable. | ||
Новое 2: Начиная с версии от 5 октября 2021, | ||
по умолчанию запросы будут идти через мой сервер. | ||
Это должно улучшить работу сервиса для Вас, по скольку Яндекс блокирует некоторые IP адреса. | ||
Вы всегда это можете отключить в настройках, поменяв тип API на web или iOS. | ||
|
||
The addon translates the selected text fragment or content from the clipboard, there is an automatic (instant) translation of NVDA speech. | ||
Новое: Если не работает, ошибка при создании ключа или что-нибудь такое, | ||
то откройте NVDA Меню, Сервис, Настройки Yandex Translate | ||
и установите API на iOS. | ||
Эти ключи используются в приложении для iPhone и не меняются уже больше 6 месяцев, | ||
должно работать лучше и стабильней. | ||
|
||
If there is a braille display, the result will be duplicated on it as well. | ||
Дополнение переводит выделенный фрагмент текста или содержимое из буфера обмена, есть автоматический (мгновенный) перевод речи NVDA. | ||
|
||
> Doesn't translate? Set up language pairs. | ||
> Didn't help? | ||
> Change the IP address / reconnect connection to the Internet (turn off turn on the wifi router from the socket), | ||
> turn on or off airplane mode, etc. | ||
Если есть брайлевский дисплей, результат будет дублироваться и на него. | ||
|
||
The addon can be configured in the NVDA menu, Tools, Yandex Translate Settings. | ||
> Не переводит? Настройте языковые пары. | ||
> Не помогло? | ||
> Поменяйте IP адрес / переподключитесь к интернету (выключить включить wifi роутер из разетки), | ||
> включить или выключить режим полёта и т.д. | ||
The use of a proxy server is supported. | ||
Дополнение можно настроить в NVDA меню, Сервис, Настройки Yandex Translate. | ||
|
||
It is possible to work with configuration profiles, for example, there is one language pair for the Google Chrome browser, another for Unigram, and in the Notepad program you want to turn on the sound signal during translation. **NVDA menu**, **Configuration profiles...**, for each application you create, | ||
switch and configure the translator. | ||
Поддерживается использование прокси сервера. | ||
|
||
### Keyboard shortcuts | ||
* nvda+Shift+T - Translation of the selected text. | ||
* nvda+Shift+Y - Translate text from the clipboard. | ||
* nvda+Shift+U - Swap the primary and secondary target languages. | ||
* nvda+Shift+I - Automatic translation. | ||
* The gesture is not assigned - Translate the last spoken phrase | ||
Есть возможность работать с профилями конфигурации, например, для браузера Google Chrome одна языковая пара, для Unigram другая, а в программе Блокнот вы хотите включить звуковой сигнал во время перевода. **NVDA меню**, **Профили конфигурации...**, для каждого приложения создаёте, переключаетесь и настраиваете переводчик. | ||
|
||
### Горячие клавиши | ||
* nvda+Shift+T - Перевод выделенного текста. | ||
* nvda+Shift+Y - Перевод текста из буфера обмена. | ||
* nvda+Shift+U - Поменять первичный и вторичный целевые языки местами. | ||
* nvda+Shift+I - Автоматический перевод. | ||
* Жест не назначен - Перевести последнюю сказанную фразу |
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,44 @@ | ||
# Yandex.Translate addon for NVDA | ||
|
||
[Addon home page](https://github.com/alekssamos/YandexTranslate/) | ||
|
||
After installation, go to the **NVDA menu**, **Preferences**, **Input Gestures**, | ||
assign convenient keyboard shortcuts for YandexTranslate. Or use the already pre-installed ones (below). | ||
|
||
> Other translators, such as "Translate", "InstantTranslate" and others, | ||
> if there is, it is better to disable or delete it, in order to avoid conflicts. | ||
New 2: Starting with the version from October 5, 2021, | ||
by default, requests will go through my server. | ||
This should improve the service for you, since Yandex blocks some IP addresses. | ||
You can always disable this in the settings by changing the API type to web or iOS. | ||
|
||
New: If it doesn't work, an error occurred when creating the key or something | ||
such, | ||
then open the NVDA Menu, Tools, Yandex Translate Settings | ||
and install the API on iOS. | ||
These keys are used in the iPhone app and have not changed for more than 6 months, | ||
it should work better and more stable. | ||
|
||
The addon translates the selected text fragment or content from the clipboard, there is an automatic (instant) translation of NVDA speech. | ||
|
||
If there is a braille display, the result will be duplicated on it as well. | ||
|
||
> Doesn't translate? Set up language pairs. | ||
> Didn't help? | ||
> Change the IP address / reconnect connection to the Internet (turn off turn on the wifi router from the socket), | ||
> turn on or off airplane mode, etc. | ||
The addon can be configured in the NVDA menu, Tools, Yandex Translate Settings. | ||
|
||
The use of a proxy server is supported. | ||
|
||
It is possible to work with configuration profiles, for example, there is one language pair for the Google Chrome browser, another for Unigram, and in the Notepad program you want to turn on the sound signal during translation. **NVDA menu**, **Configuration profiles...**, for each application you create, | ||
switch and configure the translator. | ||
|
||
### Keyboard shortcuts | ||
* nvda+Shift+T - Translation of the selected text. | ||
* nvda+Shift+Y - Translate text from the clipboard. | ||
* nvda+Shift+U - Swap the primary and secondary target languages. | ||
* nvda+Shift+I - Automatic translation. | ||
* The gesture is not assigned - Translate the last spoken phrase |
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.