Commit fab1d86 1 parent cfe4369 commit fab1d86 Copy full SHA for fab1d86
File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ browser.contextMenus.create({
18
18
browser . contextMenus . onClicked . addListener ( ( info , tab ) => {
19
19
switch ( info . menuItemId ) {
20
20
case 'translate-text' :
21
- const translateURL = `${ deeplURL + defaultLang } /${ encodeURIencodeURIComponent ( info . selectionText ) } ` ;
21
+ const translateURL = `${ deeplURL + defaultLang } /${ encodeURIComponent ( info . selectionText ) } ` ;
22
22
const querying = browser . tabs . query ( { currentWindow : true , active : true } ) ;
23
23
querying . then ( ( current ) => {
24
24
if ( current . length ) {
Original file line number Diff line number Diff line change 1
1
{
2
2
"manifest_version" : 2 ,
3
3
"name" : " To DeepL" ,
4
- "version" : " 0.3.0 " ,
4
+ "version" : " 0.3.1 " ,
5
5
"description" : " Translate selected text in new tab with DeepL" ,
6
6
"homepage_url" : " https://github.com/rewkha/firefox-to-deepl" ,
7
7
"icons" : {
You can’t perform that action at this time.
0 commit comments