45,337
edits
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
function Script:getDisplayForm() | function Script:getDisplayForm() | ||
return self:getCategoryName("nocap") | return self:getCategoryName("nocap") | ||
end | |||
--[==[Returns the text direction, if any. Currently, left-to-right scripts are unmarked, while most right-to-left scripts have direction specified as {{code|lua|"rtl"}} and Mongolian as {{code|lua|"down"}}.]==] | |||
function Script:getDirection() | |||
return self._rawData.direction | |||
end | end | ||