The string "Enter a keyword." it's not translatable.

This line of the search-theme-form.tpl.php file:

$search['search_theme_form'] = '<div class="form-item" id="edit-search-theme-form-wrapper"><input type="text" maxlength="128" name="search_theme_form" id="edit-search-theme-form-1" size="15" value="Enter a keyword." title="Enter a keyword." onblur="this.value=this.value||this.defaultValue; this.style.color = \'#C6BBB3\';" onfocus="this.value=\'\'; this.style.color = \'#F1EAE5\';" class="form-text default-value" /></div>'; 

should be:

$search['search_theme_form'] = '<div class="form-item" id="edit-search-theme-form-wrapper"><input type="text" maxlength="128" name="search_theme_form" id="edit-search-theme-form-1" size="15" value="'.t('Enter a keyword.').'" title="Enter a keyword." onblur="this.value=this.value||this.defaultValue; this.style.color = \'#C6BBB3\';" onfocus="this.value=\'\'; this.style.color = \'#F1EAE5\';" class="form-text default-value" /></div>'; 

Comments

oriol_e9g’s picture

Status: Active » Needs review
oriol_e9g’s picture

More strings with the t() function missing.

In node.tpl.php

line 19:

- <span class="submitted">Posted by <?php print $name ?> on <?php print format_date($created, 'custom', 'D, j F, Y - H:i'); ?> &#8211; </span>
+ <span class="submitted"><?php print t('Posted by') . ' ' . $name . ' ' . t('on') . format_date($created, 'custom', 'D, j F, Y - H:i'); ?> &#8211; </span>

line 23:

- print '<span class="comment-count">No comments</span>';
+ print '<span class="comment-count">' . t('No comments') . '</span>';

line 25:

- print '<span class="comment-count">1 comment</span>';
+ print '<span class="comment-count">' . t('1 comment') . '</span>';

line 27:

- print '<span class="comment-count">' . $node->comment_count . ' comments</span>';
+ print '<span class="comment-count">' . $node->comment_count . ' ' . t('comments') . </span>';

line 30:

- print 'Comments disabled';
+ print t('Comments disabled');
ktleow’s picture

Status: Needs review » Fixed

Thanks oriol_e9g =D

Added t() string.

Committed the changes, please wait for Drupal to re-run the packaging script.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.