mdnsk / leo-translate

Browser extension that translates words from English to Russian using LinguaLeo API
MIT License
58 stars 9 forks source link
chrome chrome-extension firefox firefox-extension firefox-for-android language-learning vue webextension

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

Also you can build the add-on by yourself. The building process is described below.

Requirements

Build the extension

All the paths are specified relatively to the root of this repository.

LeoTranslate

Расширение для браузеров Firefox и Firefox for Android, которое позволяет переводить слова c Английского на Русский на web-сайтах и добавлять переводы в словарь на Lingualeo.

Установка

Скачать дополнение из каталога AMO

Также, вы можете собрать расширение самостоятельно. Ниже описан процесс сборки расширения.

Для сборки требуется установить:

Сборка

Все пути указаны относительно папки расширения.

После выполнения этих команд, в extension/web-ext-artifacts/ должен появиться файл расширения: leo_translate-{Номер версии}.zip

Чтобы установить расширение из файла, нужно подписать его в addons.mozilla.org или (не рекомендуется!) переключить в Firefox на странице about:config параметр xpinstall.signatures.required в false