GithubHelp home page GithubHelp logo

abdel792 / verbs Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 4.27 MB

This add-on for NVDA screen reader allows you to display the conjugation of a French verb, as well as the list of English irregular verbs using the site: https://www.capeutservir.com

License: GNU General Public License v2.0

Python 95.39% Smarty 2.04% CSS 2.56%

verbs's Introduction

Verbs

This add-on allows you to display the conjugation of a French verb, as well as the list of English irregular verbs using the site: "https://www.capeutservir.com".

It adds a menu to the NVDA Tools menu named "Verbs".

Validating on this element will display the following submenus:

  • An item named "Conjugaison", which allows you to open a dialog box to enter a French verb of our choice to conjugate;
  • An item named "English irregular verbs", which allows you to display the list of English irregular verbs.

The "Conjugaison" submenu

When you validate on the "Conjugaison" item, you obtain a dialog box composed of the following elements:

  • An input field to type your verb to be conjugated; {: #promptToEnterAVerb }
  • An "OK" button to display an html page containing your conjugation;
  • A "Cancel" button to close the dialog box.

The "English irregular verbs" submenu

When you validate on the "English irregular verbs" item, The complete list of English irregular verbs should be displayed, with the following indications for each verb:

  • Infinitive, to know the infinitive of the verb;
  • Preterite, to know its preterite;
  • Past participle, to know its past participle;
  • French translation, to know its translation into French.

Add-on settings ## {: #verbsSettings }

In the add-on's settings panel, you should find the following:

  • Display conjugation mode which allows to define the display mode of the conjugation;
  • Display irregular verbs mode which allows to define the display mode of the irregular verbs;
  • Each of these 2 display modes offers the following 3 choices:
    • Display in an HTML message, which allows you to display the result in a browseable HTML message (this is the default choice);
    • Display in a simple message, which allows you to display the result in a simple browseable message, without HTML formatting;
    • Display in default browser, to display the result in your default browser.
  • An "OK" button to save your configuration;
  • A "Cancel" button to cancel and close the dialog box.
  • An "Apply" button to apply your configuration;

Notes

  • By default, the "control + F5" gesture is assigned to the script which displays the dialog inviting the user to enter a verb to conjugate;
  • By default, the "control + Shift + F5" gesture is assigned to the script which displays the list of English irregular verbs;
  • A script without an assigned gesture allows you to open the add-on settings panel;
  • You can assign new gestures to run this scripts in the "Input gestures" menu and, more precisely, in the "Verbs" category;
  • If you are using nvda-2021.1 or later, you will be able to access the help from the input field of the verb to be conjugated, as well as from the add-on settings panel by simply pressing the "F1" key. as soon as the focus is on one of these 2 controls.

Compatibility

  • This add-on is compatible with NVDA 2019.3 and beyond.

Changes for version 23.10.24

  • Renamed the add-on from "Conjugaison" to "Verbs";
  • Added display of English irregular verbs.

Changes for version 23.10.20

  • Removed the use of the "requests_html" library and used the built-in "urllib" module instead;
  • Added support for Latin characters when entering the verb to conjugate in the prompt.

Changes for version 21.08.1

  • Reduced the size of the add-on and included the download and installation of the external libraries from the "installTasks.py" module.

Changes for version 21.08

  • Initial version.

    [[!tag dev stable]]

verbs's People

Contributors

abdel792 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.