Content deleted Content added
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 6:
fr = "La Guerre des Clans",
hu = "Harcosok Törzse",
ko = "고양이 전사들",
lt = "Klanų Kariai",
Line 24:
fr = "chat",
hu = "macska",
ko = "고양이",
lt = "katinas",
Line 42:
fr = "chef",
hu = "vezér",
ko = "지도자",
lt = "vadas",
Line 60:
fr = "Feuille de Lune",
hu = nil,
ko = nil,
lt = nil,
Line 78:
fr = "Étoile Bleue",
hu = "Kékcsillag",
ko = nil,
lt = nil,
Line 145:
local p = { }
function p.getLanguageName(
return languages(
end
Line 152:
-- with the provided language tag,
-- or nil, if no such translation is found.
function p.translate(
local term = frame.args[1]
local language = frame.args[2]
-- Bypass English.
if language == ENGLISH_TAG then return key end
Line 200 ⟶ 202:
-- Generates a table of translations of a specific English term.
-- Returns nil if no such term exists in the dictionary.
function p.translationTable(
local term = frame.args[1]
local trans = translations[term]
if trans == nil then return nil end
|