[dev] Horde Metar Block

Jan Schneider jan at horde.org
Fri Dec 12 14:52:54 PST 2003


Zitat von Chuck Hagenbuch <chuck at horde.org>:

> Quoting Joel Vandal <jvandal at infoteck.qc.ca>:
>
> > $html .= '<br /><b>' . _('Heading:') . '</b> ' .sprintf(_("%s inches"),
> $v);
>
> That looks like the better option of the lot, BUT: never use single
> quotes with
> gettext strings. They won't be picked up.

Correct, but only because this is not a whole sentence. If it was, markup
would be acceptable inside the string.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the dev mailing list