Граф коммитов

369 Коммитов

Автор SHA1 Сообщение Дата
Andre Natal 42c2109a46
Update README.md 2022-08-17 19:56:39 -07:00
Andre Natal 36c31fe421
Revert "Remove obsolete key (applications) from manifest (#475)" (#482)
This reverts commit 4f908f4a27.
2022-08-02 04:26:13 -07:00
Tex2002ans 0685563640
Typo + Capitalization Fixes (#481) 2022-08-02 04:22:50 -07:00
Andre Natal 62de416eb2
Release 1.1.4 (#471)
* Release 1.1.4

* Update manifest changes

* Adding skip of contenteditable
2022-07-28 14:22:03 -07:00
Andre Natal 831d5ad5f4
Exclude .notranslate and [contenteditable] elements from translation (#478)
* Exclude `.notranslate` and `[contenteditable]` elements from translation

The `.notranslate` class is used by Google Translate to skip certain elements. And for obvious reasons we should not be changing the contents of elements with `contenteditable` enabled. This will fix the issue with composing tweets on Twitter.

* fix linter

Co-authored-by: Jelmer van der Linde <jelmer@ikhoefgeen.nl>
2022-07-28 12:09:13 -07:00
Andre Natal 4f908f4a27
Remove obsolete key (applications) from manifest (#475) 2022-07-28 09:25:51 -07:00
Andre Natal 4ae929cf6a
Bypass cached scripts when updating the extension (#470) 2022-07-28 09:21:24 -07:00
Andre Natal dc549ac468
Update CHANGELOG.md 2022-07-26 11:04:50 -07:00
Chris Midgley 189d31348d
Explicitly provide a charset on the changelog (#464) 2022-07-26 05:46:32 -07:00
Evgeny Pavlov 456758f2cf
Add Dutch to English (#459) 2022-07-25 13:54:55 -07:00
Andre Natal e632961d62
Updating changelog with en->nl (#454) 2022-07-19 19:34:05 -07:00
Andre Natal 04dfaf4bc1
Only display changelog when updating (#453) 2022-07-19 18:59:28 -07:00
Andre Natal cb9d0ecee6
Use textContent to update labelTranslate (#452) 2022-07-19 16:18:21 -07:00
Evgeny Pavlov a72329288a
Add English to Dutch (#448) 2022-07-18 17:24:21 -07:00
Andre Natal 4037ef2741
Do not run tests on taskcluster (#447) 2022-07-16 10:28:07 -07:00
Andre Natal 2a7bcc2d9e
Make tests pass on taskcluster (#446) 2022-07-14 23:03:13 -07:00
Andre Natal 2f24f89d79
Update README.md 2022-07-14 22:06:05 -07:00
Andre Natal 10ee2cd89a
Issue383 (#445)
* Introduces changelog display when the addon is updated

* WIP

* Incorporating changelog
2022-07-14 22:00:44 -07:00
Andre Natal e5243068f8
Update README.md 2022-07-13 22:12:28 -07:00
Andre Natal f04f8b8869
Surface error when the bgscript can't reach the tab (#443) 2022-07-12 18:03:40 -07:00
Andre Natal dc520dd839
Display translationbar when the tab is detached (#440) 2022-07-12 11:46:27 -07:00
Andre Natal b6fd7ded48
Update README.md 2022-07-06 21:26:28 -07:00
Andre Natal f92510e310
Update README.md 2022-07-06 21:10:50 -07:00
Andre Natal c51eedfc08
Add missing argument to infobar api (#435) 2022-07-06 19:11:49 -07:00
Andre Natal 18b38e0ecd
Make labelTranslate also responsive (#433)
* Make labelTranslate also responsive

* Fix tests
2022-07-06 18:02:30 -07:00
Andre Natal c5970ade50
Disables translation of forms if not supported by the model set (#432) 2022-07-06 17:41:12 -07:00
Jelmer 6ab1fe6e04
Import InPageTranslation updates (#402)
* Import InPageTranslation updates from github.com/jelmervdl/firefox-translations

* Try to make the linter happy

* Add support for translating text nodes

This seems to be necessary for supporting Youtube. It also seems to fix the issue in #385, but I still see some interaction between the Wordpress plugin and this code that should not be happening.

* Decrease translation message batch size

The changes to InPageTranslation result in at least 50% less messages per page. To make the immediately visible elements render much quicker, I reduced it further to reduce the delay.

* Reuse text nodes from page

Reuse text nodes already existing in the page if possible. This fixes issues with React pages that tend to re-add text nodes if they have been removed, showing double or untranslated text. Fixes #405.

* Improve text deletion from errornously cloned inline elements

It worked in one direction, now it works in both. Still, this scenario should almost never happen.

# Conflicts:
#	extension/view/js/InPageTranslation.js

* Let's treat `<a>` like `<span>`

# Conflicts:
#	extension/view/js/InPageTranslation.js

* Warn about text nodes that become empty after translation

# Conflicts:
#	extension/view/js/InPageTranslation.js

* Fix `removeTextNodes` call

* Make linter happy
2022-07-06 14:25:09 -07:00
Andre Natal 0fb7d9e472
Refactored infobar markup that makes it responsive (#431)
* Refactored infobar markup that makes it responsive

* Fixes tests
2022-07-05 12:28:48 -07:00
Andre Natal 4e4bf731de
Browse directly to Firefox Translations option on about:preferences on Options (#420) 2022-06-28 08:38:39 -07:00
Andre Natal c1eece9c78
Replaces "Never Translate this website" button by a checkbox (#422) 2022-06-28 17:26:42 +02:00
Andre Natal 244b1564c6
Disables close button when page is being translated. (#421)
Co-authored-by: Abhishek Aggarwal <66322306+abhi-agg@users.noreply.github.com>
2022-06-28 11:28:08 +02:00
Andre Natal 4ff61b44e0
Fix and improve language detection (#416)
* Fix and improve language detection
* Fixed linter
* Pass language defined in the html tag to bgscript
* Validate score
2022-06-28 10:58:58 +02:00
Andre Natal 5e188d5d9c
Disable statistics instead of the options button after translation has started (#423) 2022-06-28 10:51:13 +02:00
Lonnen fcea3da1c0
update readme (#418) 2022-06-26 11:47:48 -07:00
Abhishek Aggarwal ca744eab99
Default value for getBoolPref API for fxtranslations.running.mochitest (#417) 2022-06-24 12:23:58 -07:00
Evgeny Pavlov 9984ffeb53
Add French models (#415) 2022-06-23 19:33:09 -07:00
Andre Natal 5eed746bcb
Update README.md 2022-06-23 17:27:39 -07:00
Evgeny Pavlov 7dfb0260ab
Add Ukrainian models (#409)
* Update model registry

* Support two vocabs and non alpha models
2022-06-23 17:05:49 -07:00
Daniel Thorn 9ac535df31
Submit commits to Glean probe-scraper (#412)
to validate and publish metrics, per https://mozilla.github.io/glean/book/user/adding-glean-to-your-project/enable-data-ingestion.html#validate-and-publish-metrics

> After your product has been enabled, you must submit commits to probe scraper to validate and publish metrics. Metrics will only be published from branches defined in probe scraper's repositories.yaml, or the Git default branch if not explicitly configured. This should happen on every CI run to the specified branches. Nightly jobs will then automatically add published metrics to the Glean Dictionary and other data platform tools.
2022-06-23 13:50:06 -07:00
Gitoffthelawn 007f659a1f
i18n AMO link (#410)
Thank you for the useful extension!
2022-06-21 14:45:57 -07:00
Andre Natal 081c09c225
Makes notificationBox compatible with Fx versions earlier than 93 (#398)
* Makes notificationBox compatible with Fx versions earlier than 93

* Adding tests for esr91

* Run mach bootstrap

* run mach bootstrap right after cloning

* Run both tests on same action

* Set  MACH_USE_SYSTEM_PYTHON
2022-06-17 09:28:06 -07:00
Evgeny Pavlov 1d57d21bc7
Replace crypto uuid (#408) 2022-06-16 15:26:24 -07:00
Andre Natal 4be46609f4
Restrict minimum version to what's compatible with the wasm engine and report errors compiling (#399)
* Restricit minimum fx version to what's compatible with the wasm nmt engine

* Capture and report wasm compilation errors

* Remove legacy loading for services object prior to Fx 88
2022-06-13 15:50:03 -07:00
Evgeny Pavlov 3627b8cf89
Fix telemetry for manually set language (#400) 2022-06-13 13:45:19 -07:00
Andre Natal 010ffc372e
Replaces low-res png icons by a single svg (#396)
* Replaces low-res png icons by a single svg

* Adding b&w version
2022-06-13 13:44:33 -07:00
Andre Natal 61295c474e
Fix tests (AddonManager is now inside lazy on BrowserGlue.jsm) (#401) 2022-06-10 18:06:54 -07:00
Andre Natal 2479ad739e
Update README.md 2022-06-10 09:18:55 -07:00
Andre Natal 99ad251a9c
Update README.md 2022-06-07 19:46:30 -07:00
Evgeny Pavlov 08b2db0bf9
Bump version to 1.1.3 (#351) 2022-06-07 15:18:00 -07:00
Andre Natal 5a2d296d76
Update bug_report.md 2022-06-07 12:30:03 -07:00