--- tableofcontents.admin.inc	2009-07-13 02:33:48.000000000 -0400
+++ tableofcontents (copie).admin.inc	2009-07-18 22:12:21.000000000 -0400
@@ -32,9 +32,9 @@ function _tableofcontents_settings($form
     '#title' => t('Whether an automatic table of content should be added'),
     '#type' => 'select',
     '#options' => array(
-      0 => 'Do not automatically add a table of content',
-      1 => 'If no [toc ...], automatically add one at the top of the page',
-      2 => 'If no [toc ...], automatically add one at the bottom of the page',
+      0 => t('Do not automatically add a table of content'),
+      1 => t('If no [toc ...], automatically add one at the top of the page'),
+      2 => t('If no [toc ...], automatically add one at the bottom of the page'),
     ),
     '#default_value' => variable_get('tableofcontents_automatic_' . $format, 0),
     '#description' => t('Please, note that there is a minimum limit (see below) that needs to be reached for the table of content to be added.'),
@@ -78,7 +78,7 @@ function _tableofcontents_settings($form
     '#type' => 'textfield',
     '#size' => 64,
     '#maxlength' => 1024,
-    '#default_value' => variable_get('tableofcontents_title_' . $format, 'Table of Contents'),
+    '#default_value' => variable_get('tableofcontents_title_' . $format, t('Table of Contents')),
     '#description' => t('Enter a default title for each Table of Contents. This will be translated for each individual page.'),
   );
 
@@ -145,41 +145,41 @@ function _tableofcontents_settings($form
     '#type' => 'textfield',
     '#size' => 35,
     '#default_value' => variable_get('tableofcontents_back_to_top_' . $format, ''),
-    '#description' => 'The message to display at the bottom of each paragraph with a link back to the table of contents. Leave empty to avoid this link.',
+    '#description' => t('The message to display at the bottom of each paragraph with a link back to the table of contents. Leave empty to avoid this link.'),
   );
 
   $form['tableofcontents']['tableofcontents_numbering_' . $format] = array(
     '#title' => t('Numbering method'),
     '#type' => 'select',
     '#options' => array(
-      0 => 'No number',
-      1 => 'Numbers 1., 2., 3. (like <ol>)',
-      2 => 'Sub-numbers 1., 1.1, 1.2, 2., 2.1, 2.2, etc.',
-      3 => 'Sub-numbers with zero 1.0, 1.1, 1.2, 2.0, 2.1, 2.2, etc.',
+      0 => t('No number'),
+      1 => t('Numbers 1., 2., 3. (like <ol>)'),
+      2 => t('Sub-numbers 1., 1.1, 1.2, 2., 2.1, 2.2, etc.'),
+      3 => t('Sub-numbers with zero 1.0, 1.1, 1.2, 2.0, 2.1, 2.2, etc.'),
     ),
     '#default_value' => variable_get('tableofcontents_numbering_' . $format, 0),
-    '#description' => 'Select the type of numbering.',
+    '#description' => t('Select the type of numbering.'),
   );
 
   $form['tableofcontents']['tableofcontents_number_headers_' . $format] = array(
     '#title' => t('Add the number to the headers'),
     '#type' => 'checkbox',
     '#default_value' => variable_get('tableofcontents_number_headers_' . $format, FALSE),
-    '#description' => 'Also add the numbers shown in the table of contents to the headers.',
+    '#description' => t('Also add the numbers shown in the table of contents to the headers.'),
   );
 
   $form['tableofcontents']['tableofcontents_number_mode_' . $format] = array(
     '#title' => t('Numbering mode'),
     '#type' => 'select',
     '#options' => array(
-      0 => 'Decimal (1, 2, 3...)',
-      1 => 'Roman (I, II, III, ...)',
-      2 => 'Roman (i, ii, iii, ...)',
-      3 => 'Letters (A, B, C, ...)',
-      4 => 'Letters (a, b, c, ...)',
+      0 => t('Decimal (1, 2, 3...)'),
+      1 => t('Roman (I, II, III, ...)'),
+      2 => t('Roman (i, ii, iii, ...)'),
+      3 => t('Letters (A, B, C, ...)'),
+      4 => t('Letters (a, b, c, ...)'),
     ),
     '#default_value' => variable_get('tableofcontents_number_mode_' . $format, 0),
-    '#description' => 'Select decimal, roman, or letters.',
+    '#description' => t('Select decimal, roman, or letters.'),
   );
 
   $form['tableofcontents']['tableofcontents_number_start_letter_' . $format] = array(
@@ -187,7 +187,7 @@ function _tableofcontents_settings($form
     '#type' => 'textfield',
     '#size' => 10,
     '#default_value' => variable_get('tableofcontents_number_start_letter_' . $format, ''),
-    '#description' => 'The letters added at the start. Often used for an opening parenthesis.',
+    '#description' => t('The letters added at the start. Often used for an opening parenthesis.'),
   );
 
   $form['tableofcontents']['tableofcontents_number_separator_' . $format] = array(
@@ -195,7 +195,7 @@ function _tableofcontents_settings($form
     '#type' => 'textfield',
     '#size' => 10,
     '#default_value' => variable_get('tableofcontents_number_separator_' . $format, '.'),
-    '#description' => 'The letters added between each number.',
+    '#description' => t('The letters added between each number.'),
   );
 
   $form['tableofcontents']['tableofcontents_number_end_letter_' . $format] = array(
@@ -203,7 +203,7 @@ function _tableofcontents_settings($form
     '#type' => 'textfield',
     '#size' => 10,
     '#default_value' => variable_get('tableofcontents_number_end_letter_' . $format, '.'),
-    '#description' => 'The letters added at the end. Often used for a closing parenthesis.',
+    '#description' => t('The letters added at the end. Often used for a closing parenthesis.'),
   );
 
   return $form;
