andalugeeks / andaluh-browser-extension Goto Github PK
View Code? Open in Web Editor NEWTranslate the web content to Andalûh EPA as you browse
License: GNU Lesser General Public License v3.0
Translate the web content to Andalûh EPA as you browse
License: GNU Lesser General Public License v3.0
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.
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>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.