Module:Lang: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Tag: Reverted
Line 1,372:
if args.translit then
local latn, pos, char;
local tag = (args[1] or args.code):match ('^(%a+)'):lower(); -- for romanization use only the language subtag
latn, args.translit, pos, char = is_latin (args.translit, args[1] or args.codetag);
if not latn then
return make_error_msg (substitute (cfg.lang_xx_t.translit_nonlatn, {pos, char}), args, template);