https://github.com/mdnsk/leo-translate
Browser extension that translates words from English to Russian using LinguaLeo API
https://github.com/mdnsk/leo-translate
chrome chrome-extension firefox firefox-extension firefox-for-android language-learning vue webextension
Last synced: 10 days ago
JSON representation
Browser extension that translates words from English to Russian using LinguaLeo API
- Host: GitHub
- URL: https://github.com/mdnsk/leo-translate
- Owner: mdnsk
- License: mit
- Created: 2017-09-14T09:00:44.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-12T16:41:59.000Z (about 2 years ago)
- Last Synced: 2025-03-28T08:41:43.504Z (28 days ago)
- Topics: chrome, chrome-extension, firefox, firefox-extension, firefox-for-android, language-learning, vue, webextension
- Language: JavaScript
- Homepage:
- Size: 3.05 MB
- Stars: 58
- Watchers: 3
- Forks: 9
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LeoTranslate
This is an add-on for the Firefox and Firefox for Android browsers that helps you translate words from English to Russian and let you add these words to the your dictionary.
## Installation
[Get the Firefox Add-on from AMO gallery](https://addons.mozilla.org/en-US/firefox/addon/leo-translate/)Also you can build the add-on by yourself. The building process is described below.
### Requirements
* [Node.js 6+](https://nodejs.org/en/)### Build the extension
All the paths are specified relatively to the root of this repository.
* First of all you need to install dependencies:
* `npm install`
* Next, you need to translate all the vue components to plain javascript code with the command:
* `npm run build`
* Next, you need to pack the extension into zip-file:
* `npm run web-ext:build`# LeoTranslate
Расширение для браузеров Firefox и Firefox for Android, которое позволяет переводить слова c Английского на Русский на web-сайтах и добавлять переводы в словарь на Lingualeo.
## Установка
[Скачать дополнение из каталога AMO](https://addons.mozilla.org/en-US/firefox/addon/leo-translate/)Также, вы можете собрать расширение самостоятельно. Ниже описан процесс сборки расширения.
### Для сборки требуется установить:
* [Node.js 6+](https://nodejs.org/en/)### Сборка
Все пути указаны относительно папки расширения.
* Сначала нужно установить зависимости:
* `npm install`
* Далее выполнить сборку js-modules и транслировать *.vue файлы в js командой:
* `npm run build`
* Далее собрать расширение в архив:
* `npm run web-ext:build`После выполнения этих команд, в `extension/web-ext-artifacts/` должен появиться файл расширения: `leo_translate-{Номер версии}.zip`
Чтобы установить расширение из файла, нужно подписать его в addons.mozilla.org или (не рекомендуется!) переключить в Firefox на странице about:config параметр `xpinstall.signatures.required` в `false`