Hi team
I would like to change "if ( ($val=@$lang[$key]) == null)" in http://piwigo.org/dev/browser/trunk/inc … c.php#L981 , with "if ( ($val=@$lang[$key]) === null)" : this will NOT display the key of the lang if the value is empty, but still will display the key if the lang doesn't exist.
That change would allow further customization, by allowing to not display a text by setting an empty value; currently we have to set a ' ' value, so that space doesn't mean empty for systems and is then interpreted wrongly as not empty.
I don't think that change would change anything to the work flow of translations, but I'm asking if that would be problematic
Offline
ok I will commit
Offline
Let me take a look before April 18th please :-)
Offline
I see you have commited [Subversion] r28171, I will review it.
Offline