Quantcast

Italian locale fix

Alex Shubert [10-27-14 - 16:07]
Italian locale fix
Filename
AutoTurnIn.toc
loc/localization_DE.lua
loc/localization_EN.lua
loc/localization_FR.lua
loc/localization_IT.lua
loc/localization_RU.lua
ui/main_options.lua
diff --git a/AutoTurnIn.toc b/AutoTurnIn.toc
index e6c84cd..fd0d6f8 100644
--- a/AutoTurnIn.toc
+++ b/AutoTurnIn.toc
@@ -7,6 +7,7 @@
 ## Notes-enUS: Quest handling automation
 ## Notes-frFR: Accepte et rend automatiquement les quêtes
 ## Notes-deDE: Auto akzeptieren und komplett täglich oder alle Quests
+## Notes-itIT: Italian translators wanted!!!
 ## OptionalDeps: Ace3
 ## SavedVariablesPerCharacter: AutoTurnInCharacterDB
 ## X-Date: 2014-10-16
@@ -18,6 +19,7 @@ loc\localization_RU.lua
 loc\localization_EN.lua
 loc\localization_DE.lua
 loc\localization_FR.lua
+loc\localization_IT.lua

 rewards_const.lua
 AutoTurnIn.lua
diff --git a/loc/localization_DE.lua b/loc/localization_DE.lua
index ffbe384..4c216b4 100644
--- a/loc/localization_DE.lua
+++ b/loc/localization_DE.lua
@@ -55,7 +55,6 @@ privateTable.L = setmetatable({
 	["rewardlag"]=BUTTON_LAG_LOOT_TOOLTIP.. '. '..ERR_QUEST_MUST_CHOOSE,
 	["stopitemfound"]="Gefunden: %s. Ihr müsst eine Belohnung manuell auswählen.",
 	},
-
 	{__index = function(table, index) return index end})

 privateTable.L.quests = {
diff --git a/loc/localization_EN.lua b/loc/localization_EN.lua
index 54a0ab9..cac5a80 100644
--- a/loc/localization_EN.lua
+++ b/loc/localization_EN.lua
@@ -2,18 +2,22 @@ local addonName, privateTable = ...
 -- lua throws except if no locale provided.
 local replaceTable = {
 		["enUS"]=true,
-		["koKR"]=true,
-		["esES"]=true,
-		["esMX"]=true,
-		["zhTW"]=true,
-		["ptBR"]=true,
+		["enGB"]=true,
+		["koKR"]=true,
+		["esES"]=true,
+		["esMX"]=true,
+		["zhTW"]=true,
+		["ptBR"]=true,
 		["zhCN"]=true }

 if (replaceTable[GetLocale()])  then
 privateTable.L = setmetatable({
+	["reset"]="setting was resetted",
 	["usage1"]="'on'/'off' to enable or disable addon",
 	["usage2"]="'all'/'list' to handle any quest or just specified in a list",
 	["usage3"]="'loot' do not complete quests with a list of rewards or complete it and choose most expensive one of rewards",
+	["enabled"]="enabled",
+	["disabled"]="disabled",
 	["all"]="ready to handle every quest",
 	["list"]="only daily quests will be handled",
 	["dontlootfalse"]="loot most expensive reward",
@@ -40,7 +44,12 @@ privateTable.L = setmetatable({
 	["DarkmoonTeleLabel"]="Darkmoon: teleport to the cannon",
 	["ToDarkmoonLabel"]="Darkmoon: teleport to island",
 	["DarkmoonFaireTeleport"]="Teleportologist Fozlebub",
-	["DarkmoonAutoLabel"]="Darkmoon: start the game!",
+	["DarkmoonAutoLabel"]="Darkmoon: start the game!",
+	["Darkmoon Island"]="Darkmoon Island",
+	["Darkmoon Faire Mystic Mage"]="Darkmoon Faire Mystic Mage",
+
+	["The Jade Forest"]="The Jade Forest",
+    ["Scared Pandaren Cub"]="Scared Pandaren Cub",

 	["rewardtext"]="print quest competition text",
 	["questlevel"]="show quest level",
@@ -178,5 +187,4 @@ privateTable.L.ignoreList = {
 ["A Blue Feather for"]="",
 ["A Ruby Shard for"]="",
 }
-
 end
\ No newline at end of file
diff --git a/loc/localization_FR.lua b/loc/localization_FR.lua
index a3858b8..d007cd2 100644
--- a/loc/localization_FR.lua
+++ b/loc/localization_FR.lua
@@ -2,9 +2,12 @@
 -- translated by http://www.curse.com/users/whitelightelgringo
 if (GetLocale() == "frFR")  then
 privateTable.L = setmetatable({
+	["reset"]="setting was resetted",
 	["usage1"]="'on'/'off' pour activer/désactiver l'addon",
     ["usage2"]="'all'/'list' pour prendre en compte toutes les quêtes ou juste une liste spécifique",
     ["usage3"]="'loot' Ne pas rendre les quêtes à objets de récompense ou rendre les quêtes en choisissant l'objet de récompense le plus cher",
+	["enabled"]="enabled",
+	["disabled"]="disabled",
     ["all"]="Ready to handle every quest",
     ["list"]="only daily quests will be handled",
     ["dontlootfalse"]="Choisir la récompense la plus chère",
@@ -31,7 +34,8 @@ privateTable.L = setmetatable({
     ["DarkmoonTeleLabel"]="Sombrelune : téléporter au canon",
 	["ToDarkmoonLabel"]="Sombrelune : téléporter au île", -- darkmoon
     ["DarkmoonFaireTeleport"]="Téléportologue Mélébou",
-    ["DarkmoonAutoLabel"]="Sombrelune : Lancer le jeu!",
+    ["DarkmoonAutoLabel"]="Sombrelune : Lancer le jeu!",
+	["Darkmoon Island"]="Île de Sombrelune",
 	["Darkmoon Faire Mystic Mage"]="Mage mystique de la foire de Sombrelune",

     ["The Jade Forest"]="La forêt de Jade",
diff --git a/loc/localization_IT.lua b/loc/localization_IT.lua
new file mode 100644
index 0000000..50a539b
--- /dev/null
+++ b/loc/localization_IT.lua
@@ -0,0 +1,180 @@
+local addonName, privateTable = ...
+-- translators wanted :(
+if (GetLocale() ~= "itIT")  then
+privateTable.L = setmetatable({
+	["reset"]="setting was resetted",
+	["usage1"]="'on'/'off' to enable or disable addon",
+	["usage2"]="'all'/'list' to handle any quest or just specified in a list",
+	["usage3"]="'loot' do not complete quests with a list of rewards or complete it and choose most expensive one of rewards",
+	["enabled"]="abilitato",
+	["disabled"]="disabili",
+	["all"]="ready to handle every quest",
+	["list"]="only daily quests will be handled",
+	["dontlootfalse"]="loot most expensive reward",
+	["dontloottrue"]="do not complete quests with rewards",
+	["resetbutton"]="reset",
+
+	["questTypeLabel"] = "quests to handle",
+	["questTypeAll"] = "all",
+    ["questTypeList"] = "daily",
+    ["questTypeExceptDaily"] = "except daily",
+    ["TrivialQuests"]="Accept 'grey' quests",
+	["ShareQuestsLabel"] = "quest auto sharing",
+    ["CompleteOnly"] = "turn in only",
+
+	["lootTypeLabel"]="quests with rewards",
+	["lootTypeFalse"]="don't turn in",
+	["lootTypeGreed"]="loot most expensive reward",
+	["lootTypeNeed"]="loot by parameters",
+
+	["tournamentLabel"]="Argent Tournament",
+	["tournamentWrit"]="Champion's Writ", -- 46114
+	["tournamentPurse"]="Champion's Purse",  -- 45724
+
+	["DarkmoonTeleLabel"]="Darkmoon: teleport to the cannon",
+	["ToDarkmoonLabel"]="Darkmoon: teleport to island",
+	["DarkmoonFaireTeleport"]="Teleportologist Fozlebub",
+	["DarkmoonAutoLabel"]="Darkmoon: start the game!",
+	["Darkmoon Island"]="Darkmoon Island",
+	["Darkmoon Faire Mystic Mage"]="Darkmoon Faire Mystic Mage",
+
+	["The Jade Forest"]="The Jade Forest",
+    ["Scared Pandaren Cub"]="Scared Pandaren Cub",
+
+	["rewardtext"]="print quest competition text",
+	["questlevel"]="show quest level",
+	["watchlevel"]="show watched quest level",
+	["autoequip"]="equip received reward",
+	["togglekey"]="enable/disable key",
+
+	['Jewelry']="Jewelry",
+	["rewardlootoptions"]="Reward loot rules",
+	['greedifnothing']='Greed if nothing found',
+	["multiplefound"]="Multiple reward candidates found. "..ERR_QUEST_MUST_CHOOSE,
+	["nosuitablefound"]="No suitable reward found. "..ERR_QUEST_MUST_CHOOSE,
+	["gogreedy"]="No suitable reward found, choosing the highest value one.",
+	["rewardlag"]=BUTTON_LAG_LOOT_TOOLTIP.. '. '..ERR_QUEST_MUST_CHOOSE,
+	["stopitemfound"]="There is %s in rewards. Choose an item yourself.",
+	},
+	{__index = function(table, index) return index end})
+
+privateTable.L.quests = {
+-- Steamwheedle Cartel
+['Making Amends']={item="Runecloth", amount=40, currency=false},
+['War at Sea']={item="Mageweave Cloth", amount=40, currency=false},
+['Traitor to the Bloodsail']={item="Silk Cloth", amount=40, currency=false},
+['Mending Old Wounds']={item="Linen Cloth", amount=40, currency=false},
+-- AV both fractions
+['Empty Stables']={donotaccept=true},
+-- Alliance AV Quests
+['Crystal Cluster']={donotaccept=true},
+['Ivus the Forest Lord']={donotaccept=true},
+["Call of Air - Ichman's Fleet"]={donotaccept=true},
+["Call of Air - Slidore's Fleet"]={donotaccept=true},
+["Call of Air - Vipore's Fleet"]={donotaccept=true},
+['Armor Scraps']={donotaccept=true},
+['More Armor Scraps']={donotaccept=true},
+['Ram Riding Harnesses']={donotaccept=true},
+-- Horde AV Quests
+['A Gallon of Blood']={donotaccept=true},
+['Lokholar the Ice Lord']={donotaccept=true},
+["Call of Air - Guse's Fleet"]={donotaccept=true},
+["Call of Air - Jeztor's Fleet"]={donotaccept=true},
+["Call of Air - Mulverick's Fleet"]={donotaccept=true},
+['Enemy Booty']={donotaccept=true},
+['More Booty!']={donotaccept=true},
+['Ram Hide Harnesses']={donotaccept=true},
+-- Timbermaw Quests
+['Feathers for Grazle']={item="Deadwood Headdress Feather", amount=5, currency=false},
+['Feathers for Nafien']={item="Deadwood Headdress Feather", amount=5, currency=false},
+['More Beads for Salfa']={item="Winterfall Spirit Beads", amount=5, currency=false},
+-- Cenarion
+['Encrypted Twilight Texts']={item="Encrypted Twilight Text", amount=10, currency=false},
+['Still Believing']={item="Encrypted Twilight Text", amount=10, currency=false},
+-- Thorium Brotherhood
+['Favor Amongst the Brotherhood, Blood of the Mountain']={item="Blood of the Mountain", amount=1, currency=false},
+['Favor Amongst the Brotherhood, Core Leather']={item="Core Leather", amount=2, currency=false},
+['Favor Amongst the Brotherhood, Dark Iron Ore']={item="Dark Iron Ore", amount=10, currency=false},
+['Favor Amongst the Brotherhood, Fiery Core']={item="Fiery Core", amount=1, currency=false},
+['Favor Amongst the Brotherhood, Lava Core']={item="Lava Core", amount=1, currency=false},
+['Gaining Acceptance']={item="Dark Iron Residue", amount=4, currency=false},
+['Gaining Even More Acceptance']={item="Dark Iron Residue", amount=100, currency=false},
+
+-- Fiona's Caravan
+["Argus' Journal"]={donotaccept=true},
+["Beezil's Cog"]={donotaccept=true},
+["Fiona's Lucky Charm"]={donotaccept=true},
+["Gidwin's Weapon Oil"]={donotaccept=true},
+["Pamela's Doll"]={donotaccept=true},
+["Rimblat's Stone"]={donotaccept=true},
+["Tarenar's Talisman"]={donotaccept=true},
+["Vex'tul's Armbands"]={donotaccept=true},
+
+--[[Burning Crusade]]--
+--Lower City
+["More Feathers"]={item="Arakkoa Feather", amount=30, currency=false},
+--Aldor
+["More Marks of Kil'jaeden"]={item="Mark of Kil'jaeden", amount=10, currency=false},
+["More Marks of Sargeras"]={item="Mark of Sargeras", amount=10, currency=false},
+["Fel Armaments"]={item="Fel Armaments", amount=10, currency=false},
+["Single Mark of Kil'jaeden"]={item="Mark of Kil'jaeden", amount=1, currency=false},
+["Single Mark of Sargeras"]={item="Mark of Sargeras", amount=1, currency=false},
+["More Venom Sacs"]={item="Dreadfang Venom Sac", amount=8, currency=false},
+--Scryer
+["More Firewing Signets"]={item="Firewing Signet", amount=10, currency=false},
+["More Sunfury Signets"]={item="Sunfury Signet", amount=10, currency=false},
+["Arcane Tomes"]={item="Arcane Tome", amount=1, currency=false},
+["Single Firewing Signet"]={item="Firewing Signet", amount=1, currency=false},
+["Single Sunfury Signet"]={item="Sunfury Signet", amount=1, currency=false},
+["More Basilisk Eyes"]={item="Dampscale Basilisk Eye", amount=8, currency=false},
+--Skettis
+["More Shadow Dust"]={item="Shadow Dust", amount=6, currency=false},
+--SporeGar
+["Bring Me Another Shrubbery!"]={item="Sanguine Hibiscus", amount=5, currency=false},
+["More Fertile Spores"]={item="Fertile Spores", amount=6, currency=false},
+["More Glowcaps"]={item="Glowcap", amount=10, currency=false},
+["More Spore Sacs"]={item="Mature Spore Sac", amount=10, currency=false},
+["More Tendrils!"]={item="Bog Lord Tendril", amount=6, currency=false},
+-- Halaa
+["Oshu'gun Crystal Powder"]={item="Oshu'gun Crystal Powder Sample", amount=10, currency=false},
+
+["Hodir's Tribute"]={item="Relic of Ulduar", amount=10, currency=false},
+["Remember Everfrost!"]={item="Everfrost Chip", amount=1, currency=false},
+["Additional Armaments"]={item=416, amount=125, currency=true},
+["Calling the Ancients"]={item=416, amount=125, currency=true},
+["Filling the Moonwell"]={item=416, amount=125, currency=true},
+["Into the Fire"]={donotaccept=true},
+["The Forlorn Spire"]={donotaccept=true},
+["Fun for the Little Ones"] = {item=393, amount=15, currency=true},
+--MoP
+["Seeds of Fear"]={item="Dread Amber Shards", amount=5, currency=false},
+["A Dish for Jogu"]={item="Sauteed Carrots", amount=5, currency=false},
+
+["A Dish for Ella"]={item="Shrimp Dumplings", amount=5, currency=false},
+["Valley Stir Fry"]={item="Valley Stir Fry", amount=5, currency=false},
+["A Dish for Farmer Fung"]={item="Wildfowl Roast", amount=5, currency=false},
+["A Dish for Fish"]={item="Twin Fish Platter", amount=5, currency=false},
+["Swirling Mist Soup"]={item="Swirling Mist Soup", amount=5, currency=false},
+["A Dish for Haohan"]={item="Charbroiled Tiger Steak", amount=5, currency=false},
+["A Dish for Old Hillpaw"]={item="Braised Turtle", amount=5, currency=false},
+["A Dish for Sho"]={item="Eternal Blossom Fish", amount=5, currency=false},
+["A Dish for Tina"]={item="Fire Spirit Salmon", amount=5, currency=false},
+["Replenishing the Pantry"]={item="Bundle of Groceries", amount=1, currency=false},
+--MOP timeless Island
+['Great Turtle Meat']={item="Great Turtle Meat", amount=1, currency=false},
+['Heavy Yak Flank']={item="Heavy Yak Flank", amount=1, currency=false},
+['Meaty Crane Leg']={item="Meaty Crane Leg", amount=1, currency=false},
+['Pristine Firestorm Egg']={item="Pristine Firestorm Egg", amount=1, currency=false},
+['Thick Tiger Haunch']={item="Thick Tiger Haunch", amount=1, currency=false},
+
+}
+
+privateTable.L.ignoreList = {
+--MOP Tillers
+["A Marsh Lily for"]="",
+["A Lovely Apple for"]="",
+["A Jade Cat for"]="",
+["A Blue Feather for"]="",
+["A Ruby Shard for"]="",
+}
+end
\ No newline at end of file
diff --git a/loc/localization_RU.lua b/loc/localization_RU.lua
index ea838e0..f813824 100644
--- a/loc/localization_RU.lua
+++ b/loc/localization_RU.lua
@@ -55,7 +55,6 @@ privateTable.L = setmetatable({
 	["rewardlag"]=BUTTON_LAG_LOOT_TOOLTIP.. '. '..ERR_QUEST_MUST_CHOOSE,
 	["stopitemfound"]="Среди наград есть %s. Выберите предмет самостоятельно.",
 	},
-
 	{__index = function(table, index) return index end})

 privateTable.L.quests = {
diff --git a/ui/main_options.lua b/ui/main_options.lua
index 885952b..54eb656 100644
--- a/ui/main_options.lua
+++ b/ui/main_options.lua
@@ -179,7 +179,7 @@ OptionsPanel.okay = function()
 		end
 	else
 		if  (GetNumQuestLogEntries() > 0) then
-			AddQuestWatch(2);
+			AddQuestWatch(2);
 			RemoveQuestWatch (2);
 		end
 	end