Closed (fixed)
Project:
Agregado
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Nov 2008 at 13:20 UTC
Updated:
26 Nov 2008 at 14:32 UTC
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
Comment #1
oriol_e9gComment #2
oriol_e9gMore strings with the t() function missing.
In node.tpl.php
line 19:
line 23:
line 25:
line 27:
line 30:
Comment #3
ktleow commentedThanks oriol_e9g =D
Added
t()string.Committed the changes, please wait for Drupal to re-run the packaging script.