Publié par Fredox
Non non, ça n'affiche rien en effet

Je suis désolé mais RIEN dans le code de MapNotesGathering n'affiche quoique ce soit sur la MiniMap.
Je viens de télécharger et de regarder la version 0.5.6.
Voici les bonnes traductions pour MapNotesGathering :
Fichier localization.lua complet :
if ( GetLocale() == "frFR" ) then -- French
MapNotesGathering_Names = {};
MapNotesGathering_Names[1] = { "Veine de cuivre" };
MapNotesGathering_Names[2] = { "Veine d'étain" };
MapNotesGathering_Names[3] = { "Dépôt de fer" };
MapNotesGathering_Names[4] = { "Veine d'argent" };
MapNotesGathering_Names[5] = { "Dépôt de vif-argent" };
MapNotesGathering_Names[6] = { "Veine d'or", "Veine d'or couverte de vase" };
MapNotesGathering_Names[7] = { "Dépôt de Mithril", "Gisement de mithril couvert de vase" };
MapNotesGathering_Names[8] = { "Petite veine de Thorium", "Veine de Thorium couverte de Limon" };
MapNotesGathering_Names[9] = { "Riche veine de Thorium", "Riche veine de Thorium couverte de Limon" };
MapNotesGathering_Names[10] = { "Feuillargent" };
MapNotesGathering_Names[11] = { "Pacifique" };
MapNotesGathering_Names[12] = { "Terrestrine" };
MapNotesGathering_Names[13] = { "Mage royal" };
MapNotesGathering_Names[14] = { "Eglantine" };
MapNotesGathering_Names[15] = { "Etouffante" };
MapNotesGathering_Names[16] = { "Doulourante" };
MapNotesGathering_Names[17] = { "Aciérite sauvage" };
MapNotesGathering_Names[18] = { "Tombeline" };
MapNotesGathering_Names[19] = { "Sang-royal" };
MapNotesGathering_Names[20] = { "Vietérule" };
MapNotesGathering_Names[21] = { "Pâlerette" };
MapNotesGathering_Names[22] = { "Dorépine" };
MapNotesGathering_Names[23] = { "Moustache de Khadgar" };
MapNotesGathering_Names[24] = { "Hivernale" };
MapNotesGathering_Names[25] = { "Fleur de feu" };
MapNotesGathering_Names[26] = { "Lotus pourpre" };
MapNotesGathering_Names[27] = { "Soleillette" };
MapNotesGathering_Names[28] = { "Sauvageonne" };
MapNotesGathering_Names[29] = { "Larme d'Arthas" };
MapNotesGathering_Names[30] = { "Aveuglette" };
MapNotesGathering_Names[31] = { "Champignon Fantôme" };
MapNotesGathering_Names[32] = { "Gromsang" };
MapNotesGathering_Names[33] = { "Sansam doré" };
MapNotesGathering_Names[34] = { "Sauge argentée des montagnes" };
MapNotesGathering_Names[35] = { "Fleur de peste" };
MapNotesGathering_Names[36] = { "Feuillerève" };
MapNotesGathering_Names[37] = { "Cap de glace" };
MapNotesGathering_Names[38] = { "Lotus noir" };
MapNotesGathering_Names[39] = { "Coffre d'alliance", "Coffre endommagé", "Large coffre endommagé", "Large coffre cerclé de fer", "Large coffre solide", "Coffre solide" };
MapNotesGathering_Names[40] = { "Palourde géante" };
MapNotesGathering_SearchHerb = "Vous exécutez Cueillette sur";
MapNotesGathering_SearchHerb_Length = 31;
MapNotesGathering_SearchOre = "Vous exécutez Minage sur";
MapNotesGathering_SearchOre_Length = 27;
MapNotesGathering_SearchChest = "Vous exécutez Ouverture sur";
MapNotesGathering_SearchChest_Length = 30;
MapNotesGathering_SearchHerb2 = "Cueillette";
MapNotesGathering_SearchOre2 = "Minage";
MapNotesGathering_SearchChest2 = "Ouverture";
MAPNOTESGATHERING_SHOWHERBS = "Montrer herbes";
MAPNOTESGATHERING_SHOWVEINS = "Montrer mines";
MAPNOTESGATHERING_SHOWCHESTS = "Montrer coffres";
MAPNOTESGATHERING_MENU = "Map Notes";
MAPNOTESGATHERING_MININOTE = "Set As MiniNote";
MAPNOTESGATHERING_NOTINLIST = "L'objet n'est pas dans la liste, ajout automatique impossible. Veuillez indiquer ce que vous cueilliez/miniez sur le Forum Officiel (avec le nom exact).";
else -- English
MapNotesGathering_Names = {};
MapNotesGathering_Names[1] = { "Copper Vein" };
MapNotesGathering_Names[2] = { "Tin Vein" };
MapNotesGathering_Names[3] = { "Iron Deposit" };
MapNotesGathering_Names[4] = { "Silver Vein" };
MapNotesGathering_Names[5] = { "Truesilver Deposit" };
MapNotesGathering_Names[6] = { "Gold Vein", "Ooze Covered Gold Vein" };
MapNotesGathering_Names[7] = { "Mithril Deposit", "Ooze Covered Mithril Deposit" };
MapNotesGathering_Names[8] = { "Small Thorium Vein", "Ooze Covered Thorium Vein" };
MapNotesGathering_Names[9] = { "Rich Thorium Vein", "Ooze Covered Rich Thorium Vein" };
MapNotesGathering_Names[10] = { "Silverleaf" };
MapNotesGathering_Names[11] = { "Peacebloom" };
MapNotesGathering_Names[12] = { "Earthroot" };
MapNotesGathering_Names[13] = { "Mageroyal" };
MapNotesGathering_Names[14] = { "Briarthorn" };
MapNotesGathering_Names[15] = { "Stranglekelp" };
MapNotesGathering_Names[16] = { "Bruiseweed" };
MapNotesGathering_Names[17] = { "Wild Steelbloom" };
MapNotesGathering_Names[18] = { "Grave Moss" };
MapNotesGathering_Names[19] = { "Kingsblood" };
MapNotesGathering_Names[20] = { "Liferoot" };
MapNotesGathering_Names[21] = { "Fadeleaf" };
MapNotesGathering_Names[22] = { "Goldthorn" };
MapNotesGathering_Names[23] = { "Khadgar's Whisker" };
MapNotesGathering_Names[24] = { "Wintersbite" };
MapNotesGathering_Names[25] = { "Firebloom" };
MapNotesGathering_Names[26] = { "Purple Lotus" };
MapNotesGathering_Names[27] = { "Sungrass" };
MapNotesGathering_Names[28] = { "Wildvine" };
MapNotesGathering_Names[29] = { "Arthas' Tears" };
MapNotesGathering_Names[30] = { "Blindweed" };
MapNotesGathering_Names[31] = { "Ghost Mushroom" };
MapNotesGathering_Names[32] = { "Gromsblood" };
MapNotesGathering_Names[33] = { "Golden Sansam" };
MapNotesGathering_Names[34] = { "Mountain Silversage" };
MapNotesGathering_Names[35] = { "Plaguebloom" };
MapNotesGathering_Names[36] = { "Dreamfoil" };
MapNotesGathering_Names[37] = { "Icecap" };
MapNotesGathering_Names[38] = { "Black Lotus" };
MapNotesGathering_Names[39] = { "Alliance Chest", "Battered Chest", "Large Battered Chest", "Large Iron Bound Chest", "Large Solid Chest", "Solid Chest" };
MapNotesGathering_Names[40] = { "Giant Clam" };
MapNotesGathering_SearchHerb = "You perform Herb Gathering on";
MapNotesGathering_SearchHerb_Length = 31;
MapNotesGathering_SearchOre = "You perform Mining on";
MapNotesGathering_SearchOre_Length = 23;
MapNotesGathering_SearchChest = "You perform Opening on";
MapNotesGathering_SearchChest_Length = 24;
MapNotesGathering_SearchHerb2 = "Herb Gathering";
MapNotesGathering_SearchOre2 = "Mining";
MapNotesGathering_SearchChest2 = "Opening";
MAPNOTESGATHERING_SHOWHERBS = "Show Herbs";
MAPNOTESGATHERING_SHOWVEINS = "Show Veins";
MAPNOTESGATHERING_SHOWCHESTS = "Show Chests";
MAPNOTESGATHERING_MENU = "Map Notes";
MAPNOTESGATHERING_MININOTE = "Set As MiniNote";
MAPNOTESGATHERING_NOTINLIST = "The herb/ore is not in the list, could not add it automatically. Please report what you tried to gather/mine in the forums (exact name).";
end;
Les caractères bizarres correspondent au codage en UTF-8 des accents et de l'apostrophe.
A sauvegarder tel-quel sinon les accents ne seront pas reconnus par WoW.
Ajout de 3 variables aussi pour que le test marche (cf ci-dessous).
Je n'ai apas pu tester (voir) les Riches veines de Thorium, la traduction de ces 2 veines est donc supposée et non vérifiée.
J'ai aussi modifié le MapNotesGathering.lua lignes 39 à 46 :
if (strfind(arg1, MapNotesGathering_SearchHerb2)) then
name = gsub(arg1, MapNotesGathering_SearchHerb, "%1", 1);
elseif (strfind(arg1, MapNotesGathering_SearchOre2)) then
name = gsub(arg1, MapNotesGathering_SearchOre, "%1", 1);
elseif (strfind(arg1, MapNotesGathering_SearchChest2)) then
name = gsub(arg1, MapNotesGathering_SearchChest, "%1", 1);
typeofobject = "chest";
end
Changées par :
if (strfind(arg1, MapNotesGathering_SearchHerb2)) then
name = strsub(arg1, MapNotesGathering_SearchHerb_Length, -2)
elseif (strfind(arg1, MapNotesGathering_SearchOre2)) then
name = strsub(arg1, MapNotesGathering_SearchOre_Length, -2)
elseif (strfind(arg1, MapNotesGathering_SearchChest2)) then
name = strsub(arg1, MapNotesGathering_SearchChest_Length, -2);
typeofobject = "chest";
end
[EDIT] mis à jour du fichier localization.lua qui a été posté à l'arrache