Skip to content

Commit

Permalink
Improve phpBB4 compatibility warning message
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Friedman <[email protected]>
  • Loading branch information
iMattPro committed Jan 4, 2024
1 parent 12175b5 commit 20c5f6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions adm/style/event/acp_main_notice_after.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% if S_WPN_COMPATIBILITY_NOTICE %}
<div class="errorbox">
<h3>{{ lang('ACP_WEBPUSH_REMOVE_WARNING') }}</h3>
<p>{{ lang('ACP_WEBPUSH_REMOVE_NOTICE') }}</p>
</div>
{% endif %}
3 changes: 2 additions & 1 deletion language/en/info_acp_webpushnotifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@

$lang = array_merge($lang, [
'ACP_WEBPUSH_SETTINGS' => 'Web Push settings',
'ACP_WEBPUSH_REMOVE_NOTICE' => 'Web Push Notifications are now built-in to phpBB.<br>The extension “phpBB Browser Push Notifications” is no longer needed and should be uninstalled.<br>All settings and user preferences associated with the extension will be migrated into phpBB‘s built-in push notifications when you uninstall the extension.',
'ACP_WEBPUSH_REMOVE_WARNING' => 'Web Push Notifications are now built-in to phpBB',
'ACP_WEBPUSH_REMOVE_NOTICE' => 'The extension “phpBB Browser Push Notifications” is no longer needed and should be uninstalled.<br>All settings and user preferences associated with the extension will be migrated into phpBB‘s built-in push notifications when you uninstall the extension.',
'LOG_CONFIG_WEBPUSH' => '<strong>Altered Web Push settings</strong>',
'LOG_WEBPUSH_MESSAGE_FAIL' => '<strong>Web Push message could not be sent:</strong> %s',
'LOG_WEBPUSH_SUBSCRIPTION_REMOVED' => '<strong>Removed Web Push subscription:</strong>» %s',
Expand Down

0 comments on commit 20c5f6e

Please sign in to comment.