Skip to content

Commit 5606b85

Browse files
committed
Update lang vars
Signed-off-by: Matt Friedman <maf675@gmail.com>
1 parent ad18c14 commit 5606b85

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

language/en/webpushnotifications_module_ucp.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
'NOTIFY_WEBPUSH_NOTIFICATIONS' => 'Web push notifications',
4343
'NOTIFY_WEBPUSH_DISABLE' => 'Disable push notifications',
4444
'NOTIFY_WEBPUSH_ENABLE' => 'Enable push notifications',
45+
'NOTIFY_WEBPUSH_ENABLE_SLIDER' => 'Enable push notifications',
4546
'NOTIFY_WEBPUSH_ENABLE_EXPLAIN' => 'Enabling push notifications will activate them on this device only. You can turn off notifications at any time through your browser settings or by clicking the button above. Additionally, if no web push notification types are selected below, you will not receive any web push notifications.',
4647
'NOTIFY_WEBPUSH_SUBSCRIBE' => 'Enable to subscribe',
4748
'NOTIFY_WEBPUSH_UNSUBSCRIBE' => 'Disable to unsubscribe',

language/ru/webpushnotifications_module_ucp.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
'NOTIFY_WEBPUSH_NOTIFICATIONS' => 'Браузерные push—уведомления',
4343
'NOTIFY_WEBPUSH_DISABLE' => 'Отключить',
4444
'NOTIFY_WEBPUSH_ENABLE' => 'Включить',
45+
'NOTIFY_WEBPUSH_ENABLE_SLIDER' => 'Браузерные уведомления',
4546
'NOTIFY_WEBPUSH_ENABLE_EXPLAIN' => 'Включение браузерных push—уведомлений активирует их только на данном устройстве. Вы сможете отключить их в любое время через настройки браузера или с помощью кнопки «Отключить» выше, которая появится после включения браузерных push—уведомлений. Если не выбран ни один из типов уведомлений в категории «Браузерные» ниже, вы также не будете получать браузерные push—уведомления.',
4647
'NOTIFY_WEBPUSH_SUBSCRIBE' => 'Подписаться',
4748
'NOTIFY_WEBPUSH_UNSUBSCRIBE' => 'Отписаться',

styles/all/template/event/notification_dropdown_footer_after.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% if NOTIFICATIONS_WEBPUSH_ENABLE and notification_types is not defined %}
22
<div class="wpn-notification-dropdown-footer" title="{{ lang('NOTIFY_WEBPUSH_DROPDOWN_TITLE') }}">
3-
<span class="ellipsis-text">{{ lang('NOTIFY_WEBPUSH_ENABLE') ~ lang('COLON') }}</span>
3+
<span class="ellipsis-text">{{ lang('NOTIFY_WEBPUSH_ENABLE_SLIDER') ~ lang('COLON') }}</span>
44
<button id="subscribe_webpush" name="subscribe_webpush" data-l-err="{{ lang('INFORMATION') }}" data-l-msg="{{ lang('NOTIFY_WEBPUSH_DENIED') }}">
55
<i class="icon fa-toggle-off fa-fw icon-lightgray" aria-hidden="true" title="{{ lang('NOTIFY_WEBPUSH_SUBSCRIBE') }}"><span class="sr-only">{{ lang('NOTIFY_WEBPUSH_SUBSCRIBE') }}</span></i>
66
</button>

0 commit comments

Comments
 (0)