Index: content.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/cck/content.module,v
retrieving revision 1.90.2.37
diff -u -r1.90.2.37 content.module
--- content.module 25 Feb 2007 23:57:55 -0000 1.90.2.37
+++ content.module 28 Feb 2007 23:50:01 -0000
@@ -980,7 +980,7 @@
if (!empty($items_output)) {
$output .= '
';
if ($label == 'above') {
- $output .= '
'. $field['widget']['label'] .':
';
+ $output .= '
'. t($field['widget']['label']) .':
';
}
$output .= '
'. $items_output .'
';
$output .= '
';
Index: theme/template.php
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/cck/theme/template.php,v
retrieving revision 1.3.2.3
diff -u -r1.3.2.3 template.php
--- theme/template.php 20 Jan 2007 01:38:46 -0000 1.3.2.3
+++ theme/template.php 28 Feb 2007 23:52:46 -0000
@@ -17,7 +17,7 @@
'field_name' => $field['field_name'],
'field_type_css' => strtr($field['type'], '_', '-'),
'field_name_css' => strtr($field['field_name'], '_', '-'),
- 'label' => $field['widget']['label'],
+ 'label' => t($field['widget']['label']),
'label_display' => isset($field['display_settings']['label']['format']) ? $field['display_settings']['label']['format'] : 'above',
'field_empty' => $field_empty,
'items' => $items,