I did a little modification in the code of the module (1.5.2 RC) to replace part of english hardcoded version in function
function mf_get_daterange_string()
.
This change is made in order to get a correct french point of vue :
if ( $days >= 0 )
{
[b]$returnstring = 'Dans ' . round ( $days ) . ' jour(s)';[/b] //$returnstring = round ( $days ) . ' More Days';
}
else
{
[b]$returnstring = 'Il y a ' . round ( $days * -1 ) . ' jour(s)';[/b]
//$returnstring = round ( $days * -1 ) . ' Days Ago';
}
In english one says "21 more days" in french we say "dans 21 jour(s)"
(in 21 days)Perhaps should it be possible to consider that it is more correct to make difference between 1 day (no s) or 2 days (with s) and in that case to extend the if else statement (this could also take account of today, next week or next month formulas)
Anyway, this is a great job and i do this contribution to help this really interesting and professionnaly coded product.
MCZN
