[Phpmyadmin-devel] Setup script language strings

Marc Delisle marc at infomarc.info
Sun May 30 14:02:38 CEST 2010

Piotr Przybylski a écrit :
> 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?
Ah, in this case, continue with the current mechanism.

Marc Delisle

More information about the Developers mailing list