[dev] Prefs question about translation

Joel Vandal jvandal at infoteck.qc.ca
Sat Nov 22 11:07:47 PST 2003


Hi,

I check on the imp/config/prefs.php.dist file, and you can see :

// How should we attribute quoted lines in a reply
$_prefs['attrib_text'] = array(
    'value' => _("Quoting") . ' %f:',
    'locked' => false,
    'shared' => false,
    'type' => 'text',
    'desc' => _("How to attribute quoted lines in a reply"),
    'help' => 'prefs-attrib_text');

But the value is loaded only when the user log on the system so the default value will not be translated, it's true ? so, the following line must be change 

from  :
'value' => _("Quoting") . ' %f:',
to :
'value' => 'Quoting %f:',

It's ok or I'm wrong ?

-- 
Joel Vandal                                    Infoteck Internet
http://www.infoteck.qc.ca            Tel.  819-370-3232
jvandal at infoteck.qc.ca                 Fax. 819-370-3624


More information about the dev mailing list