aboutsummaryrefslogtreecommitdiff
path: root/app/i18n/en/conf.php
diff options
context:
space:
mode:
authorGravatar rupak <nnew234567@gmail.com> 2026-01-30 02:19:35 +0545
committerGravatar GitHub <noreply@github.com> 2026-01-29 21:34:35 +0100
commitb59a2101b460200e4276a05f9b8cb4ae7a2e9b62 (patch)
treeef2fec4a132bce5c11b35f7285ecf17ef64b09f8 /app/i18n/en/conf.php
parentedc750fe444b6af65eccee879a048cf3e0cdd215 (diff)
Add option to enable notifications (#8458)
Closes https://github.com/FreshRSS/FreshRSS/issues/7330 - Default behavior is same - Added FreshRSS_Context::userConf()->html5_disable_notif so that, it determines weather user wants notification. (will not show any even it has permission) (i want default false so disable, so old configs get proper default values) - Added button such that checking it makes it request permission too <img width="707" height="119" alt="image" src="https://github.com/user-attachments/assets/a0fdbc4d-9f15-4644-8753-f0e6c979677f" /> - test notification actually happening (how can i trigger it, do i have to wait it), this code fixes permissions.
Diffstat (limited to 'app/i18n/en/conf.php')
-rw-r--r--app/i18n/en/conf.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/app/i18n/en/conf.php b/app/i18n/en/conf.php
index 2e4c20d32..bfc32ec3a 100644
--- a/app/i18n/en/conf.php
+++ b/app/i18n/en/conf.php
@@ -105,14 +105,17 @@ return array(
'none' => 'None',
'small' => 'Small',
),
+ 'notification' => array(
+ 'html5_enable_notif' => 'Enable notification',
+ ),
'notification_timeout' => array(
'bad' => array(
- 'label' => 'Show warning banner', // TODO
- 'seconds' => 'seconds (at least 1)', // TODO
+ 'label' => 'Show warning banner',
+ 'seconds' => 'seconds (at least 1)',
),
'good' => array(
- 'label' => 'Show acknowledgement banner', // TODO
- 'seconds' => 'seconds (0 means not shown)', // TODO
+ 'label' => 'Show acknowledgement banner',
+ 'seconds' => 'seconds (0 means not shown)',
),
),
'privacy' => array(