Posted by samodekleva on September 2, 2007 at 9:54pm
| Project: | Meta Theme |
| Version: | 4.7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | samodekleva |
| Status: | needs review |
Issue Summary
As it is now the "search..." text that appears in the search box can not be localised.
I recommend:
- moving the definition of DEF_VAL out of the file meta.js and
- putting the following code
<script type="text/javascript">
var DEF_VAL = '<?php echo(t("search...")); ?>';
</script>in the page.tpl.php before
<script type="text/javascript" src="<?php print base_path() . path_to_theme() ?>/js/meta.js"></script>The "search..." text can now be localised.
This is my first comment / patch so I would need some orientation regarding posting such comments. Should I check out the code from the CVS and make a patch to attach it to this comment / patch (and possible future comments / patches)?
Is there a meta mailing list?
Cheers,
Samo