mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-20 10:14:33 -04:00
fix: sharing service for mailto links for web mail services (#4680)
* fix * Update main.js * Update app/i18n/fr/gen.php Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
This commit is contained in:
1 parent
37cc854d12
commit
1f86aae415
21 files changed
+31
No files matched your search
@@ -196,6 +196,7 @@ return array(
|
||||
'clipboard' => 'Schránka',
|
||||
'diaspora' => 'Diaspora*', // IGNORE
|
||||
'email' => 'E-mail',
|
||||
'email-webmail-firefox-fix' => 'Email (webmail - fix for Firefox)', // TODO
|
||||
'facebook' => 'Facebook', // IGNORE
|
||||
'gnusocial' => 'GNU social', // IGNORE
|
||||
'jdh' => 'Journal du hacker', // IGNORE
|
||||
|
||||
@@ -196,6 +196,7 @@ return array(
|
||||
'clipboard' => 'Zwischenablage',
|
||||
'diaspora' => 'Diaspora*', // IGNORE
|
||||
'email' => 'E-Mail',
|
||||
'email-webmail-firefox-fix' => 'Email (webmail - fix for Firefox)', // TODO
|
||||
'facebook' => 'Facebook', // IGNORE
|
||||
'gnusocial' => 'GNU social', // IGNORE
|
||||
'jdh' => 'Journal du hacker', // IGNORE
|
||||
|
||||
@@ -196,6 +196,7 @@ return array(
|
||||
'clipboard' => 'Clipboard', // IGNORE
|
||||
'diaspora' => 'Diaspora*', // IGNORE
|
||||
'email' => 'Email', // IGNORE
|
||||
'email-webmail-firefox-fix' => 'Email (webmail - fix for Firefox)', // TODO
|
||||
'facebook' => 'Facebook', // IGNORE
|
||||
'gnusocial' => 'GNU social', // IGNORE
|
||||
'jdh' => 'Journal du hacker', // IGNORE
|
||||
|
||||
@@ -196,6 +196,7 @@ return array(
|
||||
'clipboard' => 'Clipboard',
|
||||
'diaspora' => 'Diaspora*',
|
||||
'email' => 'Email',
|
||||
'email-webmail-firefox-fix' => 'Email (webmail - fix for Firefox)', // TODO
|
||||
'facebook' => 'Facebook',
|
||||
'gnusocial' => 'GNU social',
|
||||
'jdh' => 'Journal du hacker',
|
||||
|
||||
@@ -196,6 +196,7 @@ return array(
|
||||
'clipboard' => 'Portapapeles',
|
||||
'diaspora' => 'Diaspora*', // IGNORE
|
||||
'email' => 'Email', // IGNORE
|
||||
'email-webmail-firefox-fix' => 'Email (webmail - fix for Firefox)', // TODO
|
||||
'facebook' => 'Facebook', // IGNORE
|
||||
'gnusocial' => 'GNU social', // IGNORE
|
||||
'jdh' => 'Journal du hacker', // IGNORE
|
||||
|
||||
@@ -196,6 +196,7 @@ return array(
|
||||
'clipboard' => 'Presse-papier',
|
||||
'diaspora' => 'Diaspora*', // IGNORE
|
||||
'email' => 'Courriel',
|
||||
'email-webmail-firefox-fix' => 'Courriel (pour Webmail avec Firefox)',
|
||||
'facebook' => 'Facebook', // IGNORE
|
||||
'gnusocial' => 'GNU social', // IGNORE
|
||||
'jdh' => 'Journal du hacker', // IGNORE
|
||||
|
||||
@@ -196,6 +196,7 @@ return array(
|
||||
'clipboard' => 'Clipboard', // TODO
|
||||
'diaspora' => 'Diaspora*', // IGNORE
|
||||
'email' => 'דואר אלקטרוני',
|
||||
'email-webmail-firefox-fix' => 'Email (webmail - fix for Firefox)', // TODO
|
||||
'facebook' => 'Facebook', // IGNORE
|
||||
'gnusocial' => 'GNU social', // IGNORE
|
||||
'jdh' => 'Journal du hacker', // IGNORE
|
||||
|
||||
@@ -196,6 +196,7 @@ return array(
|
||||
'clipboard' => 'Appunti',
|
||||
'diaspora' => 'Diaspora*', // IGNORE
|
||||
'email' => 'Email', // IGNORE
|
||||
'email-webmail-firefox-fix' => 'Email (webmail - fix for Firefox)', // TODO
|
||||
'facebook' => 'Facebook', // IGNORE
|
||||
'gnusocial' => 'GNU social', // IGNORE
|
||||
'jdh' => 'Journal du hacker', // IGNORE
|
||||
|
||||
@@ -196,6 +196,7 @@ return array(
|
||||
'clipboard' => 'クリップボード',
|
||||
'diaspora' => 'Diaspora*', // IGNORE
|
||||
'email' => 'Eメール',
|
||||
'email-webmail-firefox-fix' => 'Email (webmail - fix for Firefox)', // TODO
|
||||
'facebook' => 'Facebook', // IGNORE
|
||||
'gnusocial' => 'GNU social', // IGNORE
|
||||
'jdh' => 'Journal du hacker', // IGNORE
|
||||
|
||||
@@ -196,6 +196,7 @@ return array(
|
||||
'clipboard' => '클립보드',
|
||||
'diaspora' => 'Diaspora*', // IGNORE
|
||||
'email' => '메일',
|
||||
'email-webmail-firefox-fix' => 'Email (webmail - fix for Firefox)', // TODO
|
||||
'facebook' => 'Facebook', // IGNORE
|
||||
'gnusocial' => 'GNU social', // IGNORE
|
||||
'jdh' => 'Journal du hacker', // IGNORE
|
||||
|
||||
@@ -196,6 +196,7 @@ return array(
|
||||
'clipboard' => 'Klembord',
|
||||
'diaspora' => 'Diaspora*', // IGNORE
|
||||
'email' => 'Email', // IGNORE
|
||||
'email-webmail-firefox-fix' => 'Email (webmail - fix for Firefox)', // TODO
|
||||
'facebook' => 'Facebook', // IGNORE
|
||||
'gnusocial' => 'GNU social', // IGNORE
|
||||
'jdh' => 'Journal du hacker', // IGNORE
|
||||
|
||||
@@ -196,6 +196,7 @@ return array(
|
||||
'clipboard' => 'Quicha-papiers.',
|
||||
'diaspora' => 'Diaspora*', // IGNORE
|
||||
'email' => 'Corrièl',
|
||||
'email-webmail-firefox-fix' => 'Email (webmail - fix for Firefox)', // TODO
|
||||
'facebook' => 'Facebook', // IGNORE
|
||||
'gnusocial' => 'GNU social', // IGNORE
|
||||
'jdh' => 'Journal du hacker', // IGNORE
|
||||
|
||||
@@ -196,6 +196,7 @@ return array(
|
||||
'clipboard' => 'Schowek',
|
||||
'diaspora' => 'Diaspora*', // IGNORE
|
||||
'email' => 'E-mail',
|
||||
'email-webmail-firefox-fix' => 'Email (webmail - fix for Firefox)', // TODO
|
||||
'facebook' => 'Facebook', // IGNORE
|
||||
'gnusocial' => 'GNU social', // IGNORE
|
||||
'jdh' => 'Journal du hacker', // IGNORE
|
||||
|
||||
@@ -196,6 +196,7 @@ return array(
|
||||
'clipboard' => 'Área de transferência',
|
||||
'diaspora' => 'Diaspora*', // IGNORE
|
||||
'email' => 'E-mail',
|
||||
'email-webmail-firefox-fix' => 'Email (webmail - fix for Firefox)', // TODO
|
||||
'facebook' => 'Facebook', // IGNORE
|
||||
'gnusocial' => 'GNU social', // IGNORE
|
||||
'jdh' => 'Journal du hacker', // IGNORE
|
||||
|
||||
@@ -196,6 +196,7 @@ return array(
|
||||
'clipboard' => 'Буфер обмена',
|
||||
'diaspora' => 'Diaspora*', // IGNORE
|
||||
'email' => 'Электронная почта',
|
||||
'email-webmail-firefox-fix' => 'Email (webmail - fix for Firefox)', // TODO
|
||||
'facebook' => 'Facebook', // IGNORE
|
||||
'gnusocial' => 'GNU social', // IGNORE
|
||||
'jdh' => 'Journal du hacker', // IGNORE
|
||||
|
||||
@@ -196,6 +196,7 @@ return array(
|
||||
'clipboard' => 'Schránka',
|
||||
'diaspora' => 'Diaspora*', // IGNORE
|
||||
'email' => 'E-mail', // IGNORE
|
||||
'email-webmail-firefox-fix' => 'Email (webmail - fix for Firefox)', // TODO
|
||||
'facebook' => 'Facebook', // IGNORE
|
||||
'gnusocial' => 'GNU social', // IGNORE
|
||||
'jdh' => 'Journal du hacker', // IGNORE
|
||||
|
||||
@@ -196,6 +196,7 @@ return array(
|
||||
'clipboard' => 'Kopyala',
|
||||
'diaspora' => 'Diaspora*', // IGNORE
|
||||
'email' => 'Email', // IGNORE
|
||||
'email-webmail-firefox-fix' => 'Email (webmail - fix for Firefox)', // TODO
|
||||
'facebook' => 'Facebook', // IGNORE
|
||||
'gnusocial' => 'GNU social', // IGNORE
|
||||
'jdh' => 'Journal du hacker', // IGNORE
|
||||
|
||||
@@ -196,6 +196,7 @@ return array(
|
||||
'clipboard' => '剪贴板',
|
||||
'diaspora' => 'Diaspora*', // IGNORE
|
||||
'email' => '邮箱', // IGNORE
|
||||
'email-webmail-firefox-fix' => 'Email (webmail - fix for Firefox)', // TODO
|
||||
'facebook' => '脸书', // IGNORE
|
||||
'gnusocial' => 'GNU social', // IGNORE
|
||||
'jdh' => 'Journal du hacker', // IGNORE
|
||||
|
||||
@@ -196,6 +196,7 @@ return array(
|
||||
'clipboard' => '剪貼板',
|
||||
'diaspora' => 'Diaspora*', // IGNORE
|
||||
'email' => '郵箱', // IGNORE
|
||||
'email-webmail-firefox-fix' => 'Email (webmail - fix for Firefox)', // TODO
|
||||
'facebook' => '臉書', // IGNORE
|
||||
'gnusocial' => 'GNU social', // IGNORE
|
||||
'jdh' => 'Journal du hacker', // IGNORE
|
||||
|
||||
@@ -61,6 +61,12 @@ return array(
|
||||
'form' => 'simple',
|
||||
'method' => 'GET',
|
||||
),
|
||||
'email-webmail-firefox-fix' => array( // see https://github.com/FreshRSS/FreshRSS/issues/2666
|
||||
'url' => 'mailto:?subject=~TITLE~&body=~LINK~',
|
||||
'transform' => array('rawurlencode'),
|
||||
'form' => 'simple',
|
||||
'method' => 'GET',
|
||||
),
|
||||
'facebook' => array(
|
||||
'url' => 'https://www.facebook.com/sharer.php?u=~LINK~&t=~TITLE~',
|
||||
'transform' => array('rawurlencode'),
|
||||
|
||||
@@ -1101,6 +1101,12 @@ function init_stream(stream) {
|
||||
return false;
|
||||
}
|
||||
|
||||
el = ev.target.closest('.item.share > a[data-type="email-webmail-firefox-fix"]');
|
||||
if (el) {
|
||||
window.open(el.href);
|
||||
return false;
|
||||
}
|
||||
|
||||
el = ev.target.closest('.item.share > a[href="POST"]');
|
||||
if (el) { // Share by POST
|
||||
const f = el.parentElement.querySelector('form');
|
||||
|
||||
Reference in new issue
Block a user