Content deleted Content added
No border conditional at the end |
3 letter code search |
||
Line 9:
-- Searching in the translation table.
-- 3 letter code search
if #territory.args[1] == 3 then
for english,locale in pairs(translations.threeLetter) do
if territory.args[1] == locale then commonsName = english link = locale end -- FIXME this link is problematic, especially in non-English
end end
-- Full name search
for english,locale in pairs(translations.fullName) do
if territory.args[1] == locale or territory.args[1] == english then commonsName = english link = locale end
|