Modulo:Infobox/utilities/pagipadasan: Paggiddiatan a nagbaetan dagiti rebision
Content deleted Content added
Lam-ang (tungtungan | aramid) m Pinabaro manipud iti Module:Infobox/utilities/987313730 |
Lam-ang (tungtungan | aramid) m Pinabaro manipud iti Module:Infobox/utilities/1026830499 |
||
Linia 42:
local is_latn = require ("Modulo:Unicode data").is_Latin;
code = code:gsub ('^(%a+).*', '%1'); -- strip subtags from IETF tag to leave just the language subtag
if is_cjk_code (code) and not is_latn (text) then -- is_latn() is in Module:Unicode data
return 'no'; -- only case for 'no'
Line 50 ⟶ 51:
--[[--------------------------< C O M P >----------------------------------------------------------------------
compare function for result{} table descending sort
Line 124 ⟶ 126:
local result = { -- initialize; table will be sorted according to values in result[n][1]
{args[1], '% [[Dagiti Puraw
{args[2], '% [[
{args[3], '% [[Dagiti Asiano nga Amerikano|Asiano]]'},
{args[4], '% [[Dagiti Hispaniko ken Latino nga Amerikano|Hispaniko]]'},
{args[5], '% [[Dagiti Patneng nga Amerikano iti Estados Unidos|Patneng nga Amerikano]]'},
{args[6], '% [[Dagiti
{args[7], '% [[
{args[8], '% dadduma'}, -- TODO: make other always last?
};
|