local addonname, addon = ... local childName = addon['childName'] local child = addon[childName] local L = LibStub("AceLocale-3.0"):NewLocale(childName, "enUS", true) if L then L[childName] = childName L[format('%s Settings', childName)] = format('%s Settings', childName) L['Autorepair'] = 'Automatic repair' L['Show lowest'] = 'Show lowest' L['Show durability of your lowest item only'] = 'Show durability of your lowest item only' L['Show all slots'] = 'Show all slots' L['Show all slots in the tooltip instead of damaged only'] ='Show all slots in the tooltip instead of damaged only' L["HeadSlot"] = 'Head' L["NeckSlot"] = 'Neck' L["ShoulderSlot"] = 'Shoulder' L["BackSlot"] = 'Back' L["ChestSlot"] = 'Chest' L["ShirtSlot"] = 'Shirt' L["TabardSlot"] = 'Tabard' L["WristSlot"] = 'Wrist' L["HandsSlot"] = 'Hands' L["WaistSlot"] = 'Waist' L["LegsSlot"] = 'Legs' L["FeetSlot"] = 'Feet' L["Finger0Slot"] = 'First Ring' L["Finger1Slot"] = 'Second Ring' L["Trinket0Slot"] = 'First Trinket' L["Trinket1Slot"] = 'Second Trinket' L["MainHandSlot"] = 'Main Hand' L["SecondaryHandSlot"] = 'Offhand' L["RangedSlot"] = 'Ranged' L["AmmoSlot"] = 'Munition' L["Bag0Slot"] = 'First Bag' L["Bag1Slot"] = 'Second Bag' L["Bag2Slot"] = 'Third Bag' L["Bag3Slot"] = 'Fourth Bag' L['repaircost'] = function(r) return format("Wasted money for repairs: %s", child:MoneyString(r)) end L['repaircostgb'] = function(r) return format("Wasted guildvaults money for repairs: %s", child:MoneyString(r)) end L["Repair Charts"] = "Repair Charts" L['Allow Guildbank Repair'] = true L['Money low'] = "No fund for repair!" L['HINT3'] = "|c0000ff00Shift-Leftclick|r |c00fffffftoggles minimap icon|r" L["SellGrey"] = "Sell grey items" L['solditem'] = function(link, price) return format("%s sold for %s", link, child:MoneyString(price, true)) end L['earnedmoney'] = function(earnedMoney) return format ("Earned %s.", child:MoneyString(earnedMoney, true)) end end