diff --git a/private_message.module b/private_message.module index 487bda2e45766e6bf26cdfc8bb3102467a66b40d..3fac37c84885066ba78e36d6fecd9135f7abe1e2 100644 --- a/private_message.module +++ b/private_message.module @@ -405,7 +405,7 @@ function private_message_form_user_form_alter(array &$form, FormStateInterface $ $form['private_messages']['receive_notification'] = [ '#type' => 'checkbox', - '#title' => t('Receive notification of private messages'), + '#title' => t('Receive email notification of private messages'), '#default_value' => $default_value, ]; if (!empty($user_data)) { @@ -415,13 +415,13 @@ function private_message_form_user_form_alter(array &$form, FormStateInterface $ $default_value = is_null($user_setting) ? $config->get('notify_when_using') : $user_setting; $form['private_messages']['notify_when_using'] = [ '#type' => 'radios', - '#title' => t('Send notifications of new messages in a thread'), + '#title' => t('Send email notifications of new messages in a thread'), '#options' => [ 'yes' => t('For every private message'), 'no' => t('Only when not viewing the thread'), ], '#default_value' => $default_value, - '#description' => t('Whether or not notifications should be sent when you are viewing a thread'), + '#description' => t('Whether or not email notifications should be sent when you are viewing a thread'), '#states' => [ 'visible' => [ ':input[name="private_messages[receive_notification]"]' => ['checked' => TRUE], @@ -453,7 +453,7 @@ function private_message_form_user_form_alter(array &$form, FormStateInterface $ $default_value = isset($options[$default_value]) ? $default_value : 300; $form['private_messages']['number_of_seconds_considered_away'] = [ '#type' => 'select', - '#title' => t('Amount of time after leaving a thread that the system starts sending notifications of new messages'), + '#title' => t('Amount of time after leaving a thread that the system starts sending email notifications of new messages'), '#options' => $options, '#default_value' => $default_value, '#states' => [