Ajout traduction des jobs, par Thargos
This commit is contained in:
parent
3b7b03f578
commit
c0a5897c49
@ -7,11 +7,13 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "Random Euphemisms - Noun",
|
"id": "Random Euphemisms - Noun",
|
||||||
"name": "Random Euphemisms - Noun"
|
"name": "Euphémismes aléatoires - Nom",
|
||||||
|
"results": {"6-6":"...la Saucisse de Sigmar","7-7":"...la croute des Tourtes","8-8":"...les Dingleberries","9-9":"...les Morveux","10-10":"...la tour du Sorcier","1-1":"...le Mouton","2-2":"...le Manche à balai","3-3":"...le Tromblon","4-4":"...le vieux Quinsberry","5-5":"...les Royaumes du Chaos"}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "Random Euphemisms - Participle",
|
"id": "Random Euphemisms - Participle",
|
||||||
"name": "Random Euphemisms - Participle"
|
"name": "Euphémismes aléatoires - Participe",
|
||||||
|
"results": {"1-1":"En polissant","2-2":"En visitant","3-3":"Aggravant","4-4":"En cuisinant","5-5":"En secouant","6-6":"En grignotant","7-7":"En enchantant","8-8":"En mutant","9-9":"En tirant","10-10":"En pillant"}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -10,12 +10,12 @@ local tabData = JSON.decode(strjson)
|
|||||||
|
|
||||||
local results = {}
|
local results = {}
|
||||||
for idx, row in pairs(tabData.rows) do
|
for idx, row in pairs(tabData.rows) do
|
||||||
if row.range.Participle[1] then
|
if row.range.Noun[1] then
|
||||||
local min = row.range.Participle[1]
|
local min = row.range.Noun[1]
|
||||||
local max = row.range.Participle[2]
|
local max = row.range.Noun[2]
|
||||||
local field = tostring(min).."-"..tostring(max)
|
local field = tostring(min).."-"..tostring(max)
|
||||||
--results[field] = "<b>"..row.name.."</b>:"..row.description
|
--results[field] = "<b>"..row.name.."</b>:"..row.description
|
||||||
results[field] = row.Participle.description
|
results[field] = row.Noun.description
|
||||||
print(field, row.name)
|
print(field, row.name)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user