summaryrefslogtreecommitdiffstats
path: root/googleanalytics.admin.inc
diff options
context:
space:
mode:
authorhass2008-05-24 20:04:14 (GMT)
committerhass2008-05-24 20:04:14 (GMT)
commitfa95131161201da3b885ef9ec73af86bcd3e7d56 (patch)
treeb03fd2ae746bfcf31e101fb2a736b133b3496d1a /googleanalytics.admin.inc
parentc26283344cd13a6c59ad0c38fc29f454ef1bef7e (diff)
Bugfix for two typos, by Takafumi
Diffstat (limited to 'googleanalytics.admin.inc')
-rw-r--r--googleanalytics.admin.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/googleanalytics.admin.inc b/googleanalytics.admin.inc
index 51cee65..77b13e8 100644
--- a/googleanalytics.admin.inc
+++ b/googleanalytics.admin.inc
@@ -126,7 +126,7 @@ function googleanalytics_admin_settings_form(&$form_state) {
$form['segmentation']['googleanalytics_segmentation'] = array(
'#type' => 'select',
'#title' => t('Add segmentation information to tracking code'),
- '#description' => t('Segment users based on different properties, additionaly to the basic IP address based tracking provided by Google Analytics.') . (!$profile_enabled ? ' '. t('<a href="@module_list">Enable the profile module</a> to be able to use profile fields for more granular tracking.', array('@module_list' => url('admin/build/modules'))) : '') .' '. t('Selecting one or more values is supported. To select multiple items, hold down CTRL while selecting fields.'),
+ '#description' => t('Segment users based on different properties, additionally to the basic IP address based tracking provided by Google Analytics.') . (!$profile_enabled ? ' '. t('<a href="@module_list">Enable the profile module</a> to be able to use profile fields for more granular tracking.', array('@module_list' => url('admin/build/modules'))) : '') .' '. t('Selecting one or more values is supported. To select multiple items, hold down CTRL while selecting fields.'),
'#default_value' => variable_get('googleanalytics_segmentation', ''),
'#options' => $fields,
'#size' => $profile_enabled ? 10 : 3,
@@ -233,7 +233,7 @@ function googleanalytics_admin_settings_form(&$form_state) {
function googleanalytics_admin_settings_form_validate($form, &$form_state) {
if (!preg_match('/^UA-\d{4,}-\d+$/', $form_state['values']['googleanalytics_account'])) {
- form_set_error('googleanalytics_account', t('A valid Google Analytics account number is case sensitive and formated like UA-xxxxxx-x.'));
+ form_set_error('googleanalytics_account', t('A valid Google Analytics account number is case sensitive and formatted like UA-xxxxxx-x.'));
}
// This is for the Newbie's who cannot read a text area description.