From 8e33b034a0a3db69786ccdfcfa9a9caee9828367 Mon Sep 17 00:00:00 2001 From: Tristan Olive Date: Fri, 12 Jun 2015 13:14:15 -0400 Subject: [PATCH] Replaced t() call with bts() in status message (DBOINCP-141) --- .../boinc/modules/boincwork/includes/boincwork.forms.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drupal/sites/default/boinc/modules/boincwork/includes/boincwork.forms.inc b/drupal/sites/default/boinc/modules/boincwork/includes/boincwork.forms.inc index 53aeda6065..97e927bc10 100644 --- a/drupal/sites/default/boinc/modules/boincwork/includes/boincwork.forms.inc +++ b/drupal/sites/default/boinc/modules/boincwork/includes/boincwork.forms.inc @@ -1600,7 +1600,7 @@ function communityprefs_form_submit($form, &$form_state) { global $user; $account = user_load($user->uid); $boinc_user = BoincUser::lookup_id($account->boincuser_id); - $edit= $form_state['values']; + $edit = $form_state['values']; $profile_node = $form_state['storage']['profile_node']; // Display name @@ -1647,7 +1647,7 @@ function communityprefs_form_submit($form, &$form_state) { } user_save($user, $settings); - drupal_set_message(t('Your community preferences have been updated.')); + drupal_set_message(bts('Your community preferences have been updated.')); // Form will not redirect if storage is set; not good if language changes unset($form_state['storage']);