62 737
modifications
mAucun résumé des modifications |
mAucun résumé des modifications |
||
Ligne 5 : | Ligne 5 : | ||
-------------------------------------- | -------------------------------------- | ||
function | function formatSentence(sentence, lang) | ||
if lang ~= 'fr' then | if lang ~= 'fr' then | ||
return "''" .. sentence .. "''" | return "''" .. sentence .. "''" | ||
Ligne 68 : | Ligne 68 : | ||
local sentence = args['phrase' .. i] | local sentence = args['phrase' .. i] | ||
if sentence then | if sentence then | ||
ref = ref .. '— ' .. | ref = ref .. '— ' .. formatSentence(sentence, lang) .. '<br/>' | ||
else | else | ||
break | break | ||
Ligne 78 : | Ligne 78 : | ||
local quotation = args['citation'] | local quotation = args['citation'] | ||
if quotation then | if quotation then | ||
ref = ref .. '« ' .. | ref = ref .. '« ' .. formatSentence(quotation, lang) .. ' »<br/>' | ||
end | end | ||
modifications