Modulo:Criteri cancellazione immediata/sandbox: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
+ |
fix |
||
Riga 114:
end
if type(props.testo
if type(props.testo.singolare) == 'string' then
criterion:setText(props.testo.singolare, ns, 'singolare')
elseif type(props.testi['messaggio di sistema']) == 'string' then▼
criterion:setText(props.testi['messaggio di sistema'], ns, 'singolare')▼
end
if type(props.testo.plurale) == 'string' then
criterion:setText(props.testo.plurale, ns, 'plurale')
end
elseif type(props.testi.definizione) == 'string' then▼
elseif type(props.testi) == 'table' then
▲ criterion:setText(props.testi['messaggio di sistema'], ns, 'singolare')
end
criterion:setText(props.testi.definizione, ns, 'plurale')
end
|