Module:Lang: Difference between revisions

Content deleted Content added
remove ambiguous references to "transl" and "_transl" and cleanup comments
No edit summary
 
(One intermediate revision by one other user not shown)
Line 83:
local category_link = ((0 == namespace or 10 == namespace) and not args_t.nocat) and substitute ('[[Category:$1]]', {category}) or '';
return substitute ('[$1] <span style="color:#d33">$2: {&#x7B;{$3}}: $4 ([[:Category:$5|$6]])</span>$7', -- &#x7B; prevents template name from being treated as a template call in certain situations
{
text or cfg.make_error_msg_t.undefined,
Line 2,012:
name_from_tag = name_from_tag, -- used for template documentation; possible use in ISO 639 name from code templates
xlit = xlit, -- entry point for {{transliteration}}
transl = xlit, -- compatible entry point for {{transliteration}}; TODO track and remove at some point
_category_from_tag = _category_from_tag, -- API entry points when this module is require()d into other modules
Line 2,024 ⟶ 2,023:
_name_from_tag = _name_from_tag,
_xlit = _xlit,
_transl = _xlit, -- compatible entry point for transliteration; TODO track and remove at some point
_translation_make = translation_make,
};