Ajout traduction des jobs, par Thargos

This commit is contained in:
2021-12-28 10:47:03 +01:00
parent 3b7b03f578
commit c0a5897c49
2 changed files with 8 additions and 6 deletions

View File

@ -10,12 +10,12 @@ local tabData = JSON.decode(strjson)
local results = {}
for idx, row in pairs(tabData.rows) do
if row.range.Participle[1] then
local min = row.range.Participle[1]
local max = row.range.Participle[2]
if row.range.Noun[1] then
local min = row.range.Noun[1]
local max = row.range.Noun[2]
local field = tostring(min).."-"..tostring(max)
--results[field] = "<b>"..row.name.."</b>:"..row.description
results[field] = row.Participle.description
results[field] = row.Noun.description
print(field, row.name)
end
end