Content deleted Content added
Found it. Doh. |
Changing order of parameters in order to allow multiple keys e.g. GB UK pointing to a same flag value |
||
Line 14:
-- 2 letter code search
if #territory.args[1] == 2 then
for
if flagParameter == territory.args[1]
commonsName =
link =
end -- FIXME this link is problematic, especially in non-English
end
Line 24:
-- 3 letter code search
if #territory.args[1] == 3 then
for
if flagParameter == territory.args[1]
commonsName =
link =
end -- FIXME this link is problematic, especially in non-English
end
end
-- Searching in
-- Full name search
flagTables = {
for k,v in ipairs(flagTables) do
for
if
commonsName =
link =
elseif commonsFile == territory.args[1] then
commonsName = commonsFile
link = flagParameter
end
end
|