"Granted" translation in French

The “Granted” translation on Badges (ex. Autobiographer badge on Let's Encrypt Community Support ) is not correct in French:

“Granted Dec’ 20” => “Attribué le déc. 20” Not ok: it should be “Attribué en déc. 20” (dec 20 is not a date but a period)
“Granted 5d” => “Attribué le 5j” Really not ok: it should be “Attribué il y a 5j”.

I guess that today the same sentence is used, so the same translation. Maybe it should be split in two sentences, depending on the case (specific month, or number of days), as I’m sure the bug exists in other languages.