diff options
| author | 2026-01-30 02:19:35 +0545 | |
|---|---|---|
| committer | 2026-01-29 21:34:35 +0100 | |
| commit | b59a2101b460200e4276a05f9b8cb4ae7a2e9b62 (patch) | |
| tree | ef2fec4a132bce5c11b35f7285ecf17ef64b09f8 /app/i18n/sk/conf.php | |
| parent | edc750fe444b6af65eccee879a048cf3e0cdd215 (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/sk/conf.php')
| -rw-r--r-- | app/i18n/sk/conf.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/i18n/sk/conf.php b/app/i18n/sk/conf.php index 93fc8681d..27e669067 100644 --- a/app/i18n/sk/conf.php +++ b/app/i18n/sk/conf.php @@ -105,6 +105,9 @@ return array( 'none' => 'None', // TODO 'small' => 'Small', // TODO ), + 'notification' => array( + 'html5_enable_notif' => 'Enable notification', // TODO + ), 'notification_timeout' => array( 'bad' => array( 'label' => 'Show warning banner', // TODO |
