diff --git a/phpBB/language/en/acp/board.php b/phpBB/language/en/acp/board.php
index 7a9b81ef1e..58a256bb2c 100644
--- a/phpBB/language/en/acp/board.php
+++ b/phpBB/language/en/acp/board.php
@@ -600,9 +600,9 @@ $lang = array_merge($lang, array(
));
$lang = array_merge($lang, [
- 'ACP_WEBPUSH_SETTINGS_EXPLAIN' => 'Here you can enable and control the use of Webpush for board notifications. Webpush is a simple protocol for the delivery of real-time events to user agents, more commonly known as push messages. It is supported by most modern browsers on desktop and mobile devices.',
- 'WEBPUSH_ENABLE' => 'Enable Webpush',
- 'WEBPUSH_ENABLE_EXPLAIN' => 'Allow receiving notifications via Webpush. It is required to enter or generate valid VAPID identification keys to be able to use Webpush.',
+ 'ACP_WEBPUSH_SETTINGS_EXPLAIN' => 'Here you can enable and control the use of Web Push for board notifications. Web Push is a simple protocol for the delivery of real-time events to user agents, more commonly known as push messages. It is supported by most modern browsers on desktop and mobile devices.',
+ 'WEBPUSH_ENABLE' => 'Enable Web Push',
+ 'WEBPUSH_ENABLE_EXPLAIN' => 'Allow receiving notifications via Web Push. It is required to enter or generate valid VAPID identification keys to be able to use Web Push.',
'WEBPUSH_GENERATE_VAPID_KEYS' => 'Generate Identification keys',
'WEBPUSH_VAPID_PUBLIC' => 'Server identification public key',
'WEBPUSH_VAPID_PUBLIC_EXPLAIN' => 'The Voluntary Application Server Identification (VAPID) public key will be shared to authenticate push messages sent by your site.
Warning: Changing the VAPID public key will automatically invalidate all Webpush subscriptions.',
diff --git a/phpBB/language/en/acp/common.php b/phpBB/language/en/acp/common.php
index b9e2416341..ae2b54f62f 100644
--- a/phpBB/language/en/acp/common.php
+++ b/phpBB/language/en/acp/common.php
@@ -219,7 +219,7 @@ $lang = array_merge($lang, array(
'ACP_VIEW_GLOBAL_MOD_PERMISSIONS' => 'View global moderation permissions',
'ACP_VIEW_USER_PERMISSIONS' => 'View user-based permissions',
- 'ACP_WEBPUSH_SETTINGS' => 'Webpush settings',
+ 'ACP_WEBPUSH_SETTINGS' => 'Web Push settings',
'ACP_WORDS' => 'Word censoring',
'ACTION' => 'Action',
@@ -593,7 +593,7 @@ $lang = array_merge($lang, array(
'LOG_CONFIG_SETTINGS' => 'Altered board settings',
'LOG_CONFIG_SIGNATURE' => 'Altered signature settings',
'LOG_CONFIG_VISUAL' => 'Altered anti-spambot settings',
- 'LOG_CONFIG_WEBPUSH' => 'Altered webpush settings',
+ 'LOG_CONFIG_WEBPUSH' => 'Altered Web Push settings',
'LOG_APPROVE_TOPIC' => 'Approved topic
» %s',
'LOG_BUMP_TOPIC' => 'User bumped topic
» %s',
@@ -814,8 +814,8 @@ $lang = array_merge($lang, array(
),
'LOG_WARNINGS_DELETED_ALL' => 'Deleted all user warnings
» %s',
- 'LOG_WEBPUSH_MESSAGE_FAIL' => 'WebPush message could not be sent: %s',
- 'LOG_WEBPUSH_SUBSCRIPTION_REMOVED' => 'Removed WebPush subscription:» %s',
+ 'LOG_WEBPUSH_MESSAGE_FAIL' => 'Web Push message could not be sent: %s',
+ 'LOG_WEBPUSH_SUBSCRIPTION_REMOVED' => 'Removed Web Push subscription:» %s',
'LOG_WORD_ADD' => 'Added word censor
» %s',
'LOG_WORD_DELETE' => 'Deleted word censor
» %s',
diff --git a/phpBB/language/en/ucp.php b/phpBB/language/en/ucp.php
index 19d3a2c06e..3d90f15742 100644
--- a/phpBB/language/en/ucp.php
+++ b/phpBB/language/en/ucp.php
@@ -332,7 +332,7 @@ $lang = array_merge($lang, array(
'NOTIFICATION_METHOD_BOARD' => 'Notifications',
'NOTIFICATION_METHOD_EMAIL' => 'Email',
'NOTIFICATION_METHOD_JABBER' => 'Jabber',
- 'NOTIFICATION_METHOD_WEBPUSH' => 'Web push',
+ 'NOTIFICATION_METHOD_WEBPUSH' => 'Web Push',
'NOTIFICATION_TYPE' => 'Notification type',
'NOTIFICATION_TYPE_BOOKMARK' => 'Someone replies to a topic you have bookmarked',
'NOTIFICATION_TYPE_GROUP_REQUEST' => 'Someone requests to join a group you lead',
@@ -356,7 +356,7 @@ $lang = array_merge($lang, array(
'NOTIFY_METHOD_EXPLAIN' => 'Method for sending messages sent via this board.',
'NOTIFY_METHOD_IM' => 'Jabber only',
'NOTIFY_ON_PM' => 'Notify me on new private messages',
- 'NOTIFY_WEBPUSH_ENABLE' => 'Enable receiving webpush notifications',
+ 'NOTIFY_WEBPUSH_ENABLE' => 'Enable receiving Web Push notifications',
'NOTIFY_WEBPUSH_ENABLE_EXPLAIN' => 'Enable receiving browser-based push notifications.
The notifications can be turned off at any time in your browser settings, by unsubscribing, or by disabling the push notifications below.',
'NOTIFY_WEBPUSH_SUBSCRIBE' => 'Subscribe',
'NOTIFY_WEBPUSH_UNSUBSCRIBE' => 'Unsubscribe',
diff --git a/phpBB/phpbb/notification/method/webpush.php b/phpBB/phpbb/notification/method/webpush.php
index 273ddcddd5..386dfd2525 100644
--- a/phpBB/phpbb/notification/method/webpush.php
+++ b/phpBB/phpbb/notification/method/webpush.php
@@ -24,7 +24,7 @@ use phpbb\user;
use phpbb\user_loader;
/**
-* Web push notification method class
+* Web Push notification method class
* This class handles sending push messages for notifications
*/
@@ -42,14 +42,14 @@ class webpush extends messenger_base implements extended_method_interface
/** @var user */
protected $user;
- /** @var string Notification web push table */
+ /** @var string Notification Web Push table */
protected $notification_webpush_table;
/** @var string Notification push subscriptions table */
protected $push_subscriptions_table;
/**
- * Notification Method web push constructor
+ * Notification Method Web Push constructor
*
* @param config $config
* @param driver_interface $db
@@ -147,7 +147,7 @@ class webpush extends messenger_base implements extended_method_interface
}
/**
- * Notify using web push
+ * Notify using Web Push
*
* @return void
*/
@@ -206,7 +206,7 @@ class webpush extends messenger_base implements extended_method_interface
continue;
}
- // add actual web push data
+ // Add actual Web Push data
$data = [
'item_id' => $notification->item_id,
'type_id' => $notification->notification_type_id,