Module:Lang: Difference between revisions

Content deleted Content added
No edit summary
sync from sandbox;
Line 1,323:
end
 
if args.translit andthen
local latn, pos not= is_latin (args.translit, nil, true) then;
if not latn then
return make_error_msg (substitute (cfg.lang_xx_t.translit_nonlatn, {pos}), args, template);
end
end
 
Line 1,843 ⟶ 1,846:
end
 
iflocal notlatn, pos = is_latin (args.text, nil, true);
if not latn then -- text is not latn
return make_error_msg (substitute (cfg.lang_xx_t.translit_nonlatn, {pos}), args, cfg.templates_t.transliteration);
end