[dev] Another translation problem

Jan Kuipers jrkuipers@lauwerscollege.nl
Wed, 23 May 2001 18:23:11 +0200 (CEST)


Aanhalen Chuck Hagenbuch <chuck@horde.org>:

> What do you mean by copy a string to the top of the file? Sorry if I'm
> being 
> slow... still on the first cup of coffee.

P.e.
in sourceselect.inc
-----<snip>----
</script>

<?= _("Choose the order of addressbooks to search when expanding addresses.") ?><br />
<input type="hidden" name="search_sources" value="<?= implode("\t", $selected) ?>" />
<table>
-----<snip>-----

The gettextstring is not translated here. But when you copy it to the beginning of the code,
then it is translated ok. P.e.

<?php // $Horde: imp/templates/prefs/sourceselect.inc,v 1.1 2001/05/20 06:31:46 max Exp $ ?>
<?= _("Choose the order of addressbooks to search when expanding addresses.") ?>
----<snip>-----

Jan Kuipers
Systeembeheer Lauwers College