diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-12-26 11:19:49 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-12-26 11:19:49 +0000 |
commit | 53872d2396f15260a1e7748f477f320296c6eacc (patch) | |
tree | 1a08bb33a3e7561b3fe1c219953aa7112f2b8f48 | |
parent | 30e9e056425397805153d1fb508290da55db4458 (diff) | |
download | brdo-53872d2396f15260a1e7748f477f320296c6eacc.tar.gz brdo-53872d2396f15260a1e7748f477f320296c6eacc.tar.bz2 |
- Patch #42341 by wulff: added missing t() function.
-rw-r--r-- | modules/contact.module | 2 | ||||
-rw-r--r-- | modules/contact/contact.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/contact.module b/modules/contact.module index 70d680504..244acad7c 100644 --- a/modules/contact.module +++ b/modules/contact.module @@ -121,7 +121,7 @@ function contact_mail_user() { $form['to'] = array('#type' => 'item', '#title' => t('To'), '#value' => $account->name); $form['subject'] = array('#type' => 'textfield', '#title' => t('Subject'), '#maxlength' => 50, '#required' => TRUE); $form['message'] = array('#type' => 'textarea', '#title' => t('Message'), '#rows' => 15, '#required' => TRUE); - $form['copy'] = array('#type' => 'checkbox', '#title' => ('Send me a copy.')); + $form['copy'] = array('#type' => 'checkbox', '#title' => t('Send me a copy.')); $form['submit'] = array('#type' => 'submit', '#value' => t('Send e-mail')); $output = drupal_get_form('contact_user_mail', $form); } diff --git a/modules/contact/contact.module b/modules/contact/contact.module index 70d680504..244acad7c 100644 --- a/modules/contact/contact.module +++ b/modules/contact/contact.module @@ -121,7 +121,7 @@ function contact_mail_user() { $form['to'] = array('#type' => 'item', '#title' => t('To'), '#value' => $account->name); $form['subject'] = array('#type' => 'textfield', '#title' => t('Subject'), '#maxlength' => 50, '#required' => TRUE); $form['message'] = array('#type' => 'textarea', '#title' => t('Message'), '#rows' => 15, '#required' => TRUE); - $form['copy'] = array('#type' => 'checkbox', '#title' => ('Send me a copy.')); + $form['copy'] = array('#type' => 'checkbox', '#title' => t('Send me a copy.')); $form['submit'] = array('#type' => 'submit', '#value' => t('Send e-mail')); $output = drupal_get_form('contact_user_mail', $form); } |