diff --git a/xExtension-ShareByEmail/README.md b/xExtension-ShareByEmail/README.md index d6a4c19..ba583df 100644 --- a/xExtension-ShareByEmail/README.md +++ b/xExtension-ShareByEmail/README.md @@ -2,11 +2,18 @@ This FreshRSS extension allows to share articles by email, in a more powerful way than the simple `mailto` solution. +## How to install + To install this extension, you must upload this directory in your `./extensions` directory and enable it on the extension panel in FreshRSS. -You’ll have to configure the mailing system in FreshRSS. [See the documentation](https://freshrss.github.io/FreshRSS/en/admins/05_Configuring_email_validation.html#configure-the-smtp-server) +## How to configure + +After the installation the `Email` sharing service will added to the list of available sharing services. You need to add the `Email` sharing service to your individual sharing service list before it is available in the sharing menu. + +You will have to configure the mailing system in FreshRSS. [See the documentation](https://freshrss.github.io/FreshRSS/en/admins/05_Configuring_email_validation.html#configure-the-smtp-server) ## Changelog +- 0.3.0 detail information about the mail system shown in the extension config - 0.2.3 Turkish language support added - 0.1 initial version diff --git a/xExtension-ShareByEmail/configure.phtml b/xExtension-ShareByEmail/configure.phtml new file mode 100644 index 0000000..ac30a38 --- /dev/null +++ b/xExtension-ShareByEmail/configure.phtml @@ -0,0 +1,17 @@ + + +
+ +
+ mailer) { + 'mail' => _t('shareByEmail.share.manage.mail'), + 'smtp' => _t('shareByEmail.share.manage.smtp', FreshRSS_Context::systemConf()->smtp['from']), + default => _t('shareByEmail.share.manage.error') + } ?> +

+
+
diff --git a/xExtension-ShareByEmail/i18n/de/shareByEmail.php b/xExtension-ShareByEmail/i18n/de/shareByEmail.php index 48307cf..d8961df 100755 --- a/xExtension-ShareByEmail/i18n/de/shareByEmail.php +++ b/xExtension-ShareByEmail/i18n/de/shareByEmail.php @@ -18,5 +18,12 @@ ], 'intro' => 'Diesen Artikel per Mail versenden: “%s”', 'title' => 'Einen Artikel per Mail teilen.', + 'manage' => [ + 'mailer' => 'E-Mail-Versand', + 'mail' => 'via PHP mail()', + 'smtp' => 'via SMTP (versendet von %s)', + 'error' => 'Fehler', + 'help' => 'Versand zwischen PHP mail() und SMTP in config.php wechseln: siehe Dokumentation', + ] ], ]; diff --git a/xExtension-ShareByEmail/i18n/en/shareByEmail.php b/xExtension-ShareByEmail/i18n/en/shareByEmail.php index d08a1bb..49c8784 100644 --- a/xExtension-ShareByEmail/i18n/en/shareByEmail.php +++ b/xExtension-ShareByEmail/i18n/en/shareByEmail.php @@ -18,5 +18,12 @@ ], 'intro' => 'You are about to share this article by email: “%s”', 'title' => 'Share an article by email', + 'manage' => [ + 'mailer' => 'Mailing system', + 'mail' => 'PHP mail()', + 'smtp' => 'SMTP (send from %s)', + 'error' => 'Error', + 'help' => 'Switch PHP mail()/SMTP connection in config.php: see documentation' + ], ], ]; diff --git a/xExtension-ShareByEmail/i18n/fr/shareByEmail.php b/xExtension-ShareByEmail/i18n/fr/shareByEmail.php index beb3e22..9343f35 100644 --- a/xExtension-ShareByEmail/i18n/fr/shareByEmail.php +++ b/xExtension-ShareByEmail/i18n/fr/shareByEmail.php @@ -18,5 +18,12 @@ ], 'intro' => 'Vous êtes sur le point de partager cet article par courriel : « %s »', 'title' => 'Partager un article par courriel', + 'manage' => [ + 'mailer' => 'Système de messagerie', + 'mail' => 'PHP mail()', + 'smtp' => 'SMTP (envoyer en tant que %s)', + 'error' => 'Erreur', + 'help' => 'Éditer les paramètres SMTP ou PHP mail() dans config.php : voir la documentation', + ] ], ]; diff --git a/xExtension-ShareByEmail/i18n/tr/shareByEmail.php b/xExtension-ShareByEmail/i18n/tr/shareByEmail.php index 21248e3..cc40d1b 100644 --- a/xExtension-ShareByEmail/i18n/tr/shareByEmail.php +++ b/xExtension-ShareByEmail/i18n/tr/shareByEmail.php @@ -18,5 +18,12 @@ ], 'intro' => 'Bu makaleyi e-posta yoluyla paylaşmak üzeresiniz: “%s”', 'title' => 'Bir makaleyi e-posta ile paylaşın', + 'manage' => [ + 'mailer' => 'Mailing system', // TODO + 'mail' => 'PHP mail()', // TODO + 'smtp' => 'SMTP (send from %s)', // TODO + 'error' => 'Error', // TODO + 'help' => 'Switch PHP mail()/SMTP connection in config.php: see documentation', // TODO + ] ], ]; diff --git a/xExtension-ShareByEmail/metadata.json b/xExtension-ShareByEmail/metadata.json index 265331f..963fc83 100644 --- a/xExtension-ShareByEmail/metadata.json +++ b/xExtension-ShareByEmail/metadata.json @@ -1,8 +1,8 @@ { - "name": "Share By Email", - "author": "Marien Fressinaud", - "description": "Improve the sharing by email system.", - "version": "0.2.3", - "entrypoint": "ShareByEmail", - "type": "user" + "name": "Share By Email", + "author": "Marien Fressinaud", + "description": "Improve the sharing by email system.", + "version": "0.3.0", + "entrypoint": "ShareByEmail", + "type": "user" } diff --git a/xExtension-ShareByEmail/views/shareByEmail/share.phtml b/xExtension-ShareByEmail/views/shareByEmail/share.phtml index 36edb7c..f157d8d 100644 --- a/xExtension-ShareByEmail/views/shareByEmail/share.phtml +++ b/xExtension-ShareByEmail/views/shareByEmail/share.phtml @@ -3,75 +3,75 @@ /** @var ShareByEmail\mailers\View $this */ ?>
-

+

-

- entry) ? $this->entry->title() : '') ?> -

+

+ entry) ? $this->entry->title() : '') ?> +

-
- + + -
- +
+ -
- -
-
+
+ +
+
-
- +
+ -
- -
-
+
+ +
+
-
- +
+ -
- -
-
+
+ +
+
-
-
- +
+
+ - - - -
-
- + + + +
+
+