Git Product home page Git Product logo

andaluh-browser-extension's People

Watchers

 avatar  avatar

andaluh-browser-extension's Issues

Fallo en la extensión

Cuando transcribe una palabra en plural y tiene dos puntos (:) lo transcribe como si fuera aguda, ejemplo excluidas lo transcribe como "êccluidâh". También cuando cierra comillas deja la palabra sin transcribir si pusiera "eso lo querrás" (incluyendo las comillas) lo transcribe como "eço lo querrás".
Muchas gracias por vuestro trabajo.

Plain text between html tags aren't transliterated

The whole plain text of an element is escaped from translation when any HTML tags are found (see line 42 for src/contentScript.js):

40      for (const text of texts) {
41        // If innerText contains any HTML tags, ignore it
42        if (text.innerHTML.indexOf('<') === -1) {
43          // Translate the text
44          const translated = EPA.transcript(text.innerHTML, 'ç', 'h', true);
45          // Update the text
46          text.innerHTML = translated;
47          text.classList.add('andaluh-translated');
48        }
49      }
50    }

Hence, text elements like the following below aren't translated:

<p>
    Texto para ser transcrito 
    <a href="https://andaluh.es"> pero como hay un inner link </a> 
    pues ya no se transcribe
</p>

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.