[Phpmyadmin-devel] Setup script language strings
Piotr Przybylski
piotr.prz at gmail.com
Sun May 30 13:38:07 CEST 2010
2010/5/30 Marc Delisle <marc at infomarc.info>:
> Piotr Przybylski a écrit :
>> Hi,
>>
>> I want to add a new field to the setup script, how do I add associated
>> message strings so that it is not lost in transition to gettext? Or is
>> setup/lib/messages.inc.php a final solution?
>>
>
> Hi Piotr,
> please use the new gettext format. setup/lib/messages.inc.php is
> temporary. All messages that can be removed from it will eventually be
> removed.
>
I can't simply add __('My new message string') because what I want to
do is to add a new config option, let's say "MyNewOption", meaning
that in runtime setup script will look for $strSetupMyNewOption_name,
and optionally for $strSetupMyNewOption_desc. How do I do that?
--
Piotr
More information about the Developers
mailing list