From 2bcc090622c0e62dbff94e52bb6892a51b40ba2a Mon Sep 17 00:00:00 2001 From: maTh <1645099+math-GH@users.noreply.github.com> Date: Wed, 1 Oct 2025 10:48:07 +0200 Subject: configurable notification timeout (#7942) Ref #7931 Ref #5466 Ref #6409 added configuration in "Display" grafik * i18n: fr * Update app/i18n/pl/conf.php Co-authored-by: Inverle * make fix-all * max() * Minor whitespace (I am not a fan of excessive vertical indenting) --------- Co-authored-by: Alexandre Alapetite Co-authored-by: Inverle --- docs/en/developers/Minz/index.md | 2 +- docs/fr/developers/Minz/index.md | 2 +- docs/i18n/flags/gen/es.svg | 2 +- docs/i18n/flags/gen/fa.svg | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/en/developers/Minz/index.md b/docs/en/developers/Minz/index.md index 05fbfdaef..dadf38eed 100644 --- a/docs/en/developers/Minz/index.md +++ b/docs/en/developers/Minz/index.md @@ -173,7 +173,7 @@ $url_array = [ $feedback_good = 'All went well!'; $feedback_bad = 'Oops, something went wrong.'; -Minz_Request::good($feedback_good, $url_array); +Minz_Request::good($feedback_good, $url_array, showNotification: FreshRSS_Context::userConf()->good_notification_timeout > 0); // or diff --git a/docs/fr/developers/Minz/index.md b/docs/fr/developers/Minz/index.md index 3cdb692f3..f89686f1c 100644 --- a/docs/fr/developers/Minz/index.md +++ b/docs/fr/developers/Minz/index.md @@ -229,7 +229,7 @@ $url_array = [ $feedback_good = 'Tout s’est bien passé !'; $feedback_bad = 'Oups, quelque chose n’a pas marché.'; -Minz_Request::good($feedback_good, $url_array); +Minz_Request::good($feedback_good, $url_array, showNotification: FreshRSS_Context::userConf()->good_notification_timeout > 0); // ou diff --git a/docs/i18n/flags/gen/es.svg b/docs/i18n/flags/gen/es.svg index 6d976bfc8..e9ed3f3e7 100644 --- a/docs/i18n/flags/gen/es.svg +++ b/docs/i18n/flags/gen/es.svg @@ -2,6 +2,6 @@ - 🇪🇸 92% + 🇪🇸 91% \ No newline at end of file diff --git a/docs/i18n/flags/gen/fa.svg b/docs/i18n/flags/gen/fa.svg index 0870a09f7..f9a273509 100644 --- a/docs/i18n/flags/gen/fa.svg +++ b/docs/i18n/flags/gen/fa.svg @@ -2,6 +2,6 @@ - 🇮🇷 98% + 🇮🇷 97% \ No newline at end of file -- cgit v1.2.3