Mòdul:llengua: diferència entre les revisions
Contingut suprimit Contingut afegit
loadData /taula i llengua.script |
corr. |
||
Línia 12:
return 'Cap codi'
end
local
if llenguaTaula then
return nom▼
nom = llenguaTaula.nom
else▼
end
nom = mw.language.fetchLanguageName(codi, 'ca') -- ca = nom en català
end
▲ if (nom ~= nil and nom ~= '') then
if nom == nil or nom == ""
▲ else
end
end
Linha 32 ⟶ 34:
return dir
else
alfabet =
if scriptRtl[alfabet] then
return 'rtl'
Linha 43 ⟶ 45:
function llengua.script(frame)
local codi = frame.args[1]
local script = nil
if llenguaTaula then
script = llenguaTaula.script
end
if script ~= nil and script ~= "" then
end
return ""
end
|