Anonyme

« Module:Français » : différence entre les versions

De Inkipédia
m
aucun résumé des modifications
(Traduction)
mAucun résumé des modifications
Ligne 113 : Ligne 113 :
["Recon (mode)"] = "Balade",
["Recon (mode)"] = "Balade",
}
}
local translatedMatchsChallenge = {
local translatedMatchChallenge = {
["New Season Challenge"] = "Reto inaugural de temporada",
["New Season Challenge"] = "Reto inaugural de temporada",
["Too Many Trizookas!"] = "Certamen del tintazuca triple",
["Too Many Trizookas!"] = "Certamen del tintazuca triple",
Ligne 2 145 : Ligne 2 145 :
local invertedStage = invertTable(translatedStage)
local invertedStage = invertTable(translatedStage)
local invertedMode = invertTable(translatedMode)
local invertedMode = invertTable(translatedMode)
local invertedMatchsChallenge = invertTable(translatedMatchsChallenge)
local invertedMatchChallenge = invertTable(translatedMatchChallenge)
local invertedCategorieArme = invertTable(translatedCategorieArme)
local invertedCategorieArme = invertTable(translatedCategorieArme)
local invertedArme = invertTable(translatedArme)
local invertedArme = invertTable(translatedArme)
Ligne 2 181 : Ligne 2 181 :
end
end


function p.getMatchsChallenge(valor)
function p.getMatchChallenge(valor)
     return invertedMatchsChallenge[valor] or translatedMatchsChallenge[valor] or getError("valor")
     return invertedMatchChallenge[valor] or translatedMatchChallenge[valor] or getError("valor")
end
end


Ligne 2 281 : Ligne 2 281 :
     elseif tipoNormalizado == "mode" or tipoNormalizado == "mode" then
     elseif tipoNormalizado == "mode" or tipoNormalizado == "mode" then
         return p.getMode(valor)
         return p.getMode(valor)
     elseif tipoNormalizado == "matchschallenge" or  tipoNormalizado == "matchsdechallenge" or tipoNormalizado == "challenge" then
     elseif tipoNormalizado == "matchchallenge" or  tipoNormalizado == "matchdechallenge" or tipoNormalizado == "challenge" then
         return p.getMatchsChallenge(valor)
         return p.getMatchChallenge(valor)
     elseif tipoNormalizado == "catégoriearme" or tipoNormalizado == "catégoridarme" or tipoNormalizado == "classe" or tipoNormalizado == "classearme" or tipoNormalizado == "classedarme" or tipoNormalizado == "class" or tipoNormalizado == "weaponclass" then
     elseif tipoNormalizado == "catégoriearme" or tipoNormalizado == "catégoridarme" or tipoNormalizado == "classe" or tipoNormalizado == "classearme" or tipoNormalizado == "classedarme" or tipoNormalizado == "class" or tipoNormalizado == "weaponclass" then
         return p.getCategorieArme(valor)
         return p.getCategorieArme(valor)
710

modifications