Module:Crh: Difference between revisions

Content deleted Content added
m removed unused error code
added Arabic script formatting
Line 79:
table.insert(parts, cyrillicText)
end
if arabicText then
local formattedArabic = "<span lang=\"crh-Arab\" dir=\"rtl\">" .. arabicText .. "</span>"
 
if arabicText and not labelOnly and link then
table.insert(parts, "[[Arabic script|Arabic]]: " .. arabicTextformattedArabic)
elseif arabicText and not labelOnly and not link then
table.insert(parts, "Arabic: " .. arabicTextformattedArabic)
elseif arabicText and labelOnly then
table.insert(parts, arabicTextformattedArabic)
end
end
 
if literalTranslation and link then