local L = {} -- Default localization L["Custom text"] = true L["Don't show anything for items that are not known"] = true L["Don't show anything for items that cannot be sold to a vendor"] = true L["General"] = true L["Ignore unknown items"] = true L["Ignore unsellable items"] = true L["Modifier key only"] = true L["modifier.any"] = "Any" L["Only show price when a modifier key is held down"] = true L["Prices in library: %d"] = true L["Purge prices!"] = true L["Purge recorded vendor prices"] = true L["Record vendor prices"] = true L["Recorded vendor prices: %d"] = true L["Sells for"] = true L["Show price for bag slots"] = true L["Show statistics for stored prices"] = true L["Show statistics"] = true L["Specify a custom text to display instead of 'Sells for'."] = true L["Text color"] = true L["Unknown sell price"] = true L["Display style"] = true L["Select the display style"] = true L["Coins"] = true L["Text only"] = true local GameLocale = GetLocale() -- Translators, there are some unused translations from older versions. Feel free to remove them if you discover any. -- I do plan to make a script to quickly weed them out at some point. if GameLocale == "deDE" then L["Custom text"] = "Benutzerdefinierter Text" L["Don't show anything for items that are not known"] = "Zeigt nichts an wenn der Gegenstand unbekannt ist." L["Don't show anything for items that cannot be sold to a vendor"] = "Zeigt nichts an wenn der Gegenstand nicht verkauft werden kann." L["Ignore unknown items"] = "Ignoriere unbekannte Gegenstände" L["Ignore unsellable items"] = "Ignoriere unverkaufbare Gegenstände" L["Modifier key only"] = "Nur Modifikator-Taste" L["Only show price when a modifier key is held down"] = "Preise nur anzeigen, wenn eine Modifikator-Taste gedrückt wird." L["Prices in library: %d"] = "Preise in der Datenbank: %d" L["Purge prices!"] = "Preise löschen!" L["Purge recorded vendor prices"] = "Alle aufgezeichneten Händlerpreise löschen." L["Record vendor prices"] = "Händlerpreise aufzeichnen" L["Recorded vendor prices: %d"] = "Aufgezeichnete Händlerpreise: %d" L["Sells for"] = "Verkauf für" L["Show price for bag slots"] = "Den Preis für Taschenplätze anzeigen." L["Show statistics for stored prices"] = "Statistiken für gespeicherte Preise anzeigen." L["Show statistics"] = "Statistiken anzeigen" L["Text color"] = "Textfarbe" L["Unknown sell price"] = "Unbekannter Verkaufspreis" elseif GameLocale == "frFR" then L["Custom text"] = "Texte personnalis\195\169" L["Purge prices!"] = "Purge des prix!" L["Purge recorded vendor prices"] = "Purge de l'enregistrement des prix des marchands" L["Record vendor prices"] = "Enregistrer les prix des marchands" L["Sells for"] = "Vendu pour" L["Show price for bag slots"] = "Affiche le prix des sacs" L["Text color"] = "Couleur du texte" elseif GameLocale == "esES" then -- Spain... where are you? :) -- Spain is here! L["Custom text"] = "Texto personalizado" L["Don't show anything for items that are not known"] = "No mostrar nada para objetos que no son conocidos" L["Don't show anything for items that cannot be sold to a vendor"] = "No mostrar nada para objetos que no pueden ser vendidos en una tienda" L["General"] = "General" L["Ignore unknown items"] = "Ignorar objetos desconocidos" L["Ignore unsellable items"] = "Ignorar objetos que no se pueden vender" L["Modifier key only"] = "Solo clave del modificador" L["modifier.any"] = "Cualquiera" L["Only show price when a modifier key is held down"] = "Solo mostrar el precio cuando una clave de un modificador esta presionada" L["Prices in library: %d"] = "Precios en la libreria: %d" L["Purge prices!"] = "¡Borrar precios!" L["Purge recorded vendor prices"] = "¡Borrar los precios grabados de las tiendas!" L["Record vendor prices"] = "Guardar precios de las tiendas" L["Recorded vendor prices: %d"] = "Precios de las tiendas guardados: %d" L["Sells for"] = "Se vende por" L["Show price for bag slots"] = "Mostrar precio para los huecos de bolsas" L["Show statistics for stored prices"] = "Mostrar estadisticas de los precios almacenados" L["Show statistics"] = "Mostrar estadisticas" L["Specify a custom text to display instead of 'Sells for'."] = "Especificar texto personalizado para mostrar en lugar de 'Se vende por'" L["Text color"] = "Color del texto" L["Unknown sell price"] = "Precio de venta desconocido" L["Display style"] = "Estilo a mostrar" L["Select the display style"] = "Seleccione el estilo a mostrar" L["Coins"] = "Monedas" L["Text only"] = "Solo texto" elseif GameLocale == "koKR" then L["Custom text"] = "사용자 정의 글자" L["Don't show anything for items that are not known"] = "가격을 알 수 없는 아이템의 튤탑울 표시하지 않습니다." L["Don't show anything for items that cannot be sold to a vendor"] = "팔 수 없는 아이템의 툴팁을 표시하지 않습니다." L["General"] = "일반" L["Ignore unknown items"] = "가격 모르는 아이템 무시" L["Ignore unsellable items"] = "팔 수 없는 아이템 무시" L["Modifier key only"] = "기능키 사용" L["modifier.any"] = "모두" L["Only show price when a modifier key is held down"] = "기능키를 사용했을 경우에만 판매가격을 표시합니다." L["Prices in library: %d"] = "라이브러리 판매 가격 : %d" L["Purge prices!"] = "데이터 삭제" L["Purge recorded vendor prices"] = "상점 판매가격 데이터를 삭제합니다." L["Record vendor prices"] = "상점 판매가격 기록" L["Recorded vendor prices: %d"] = "저장된 판매 가격 : %d" L["Sells for"] = "판매 가격" L["Show price for bag slots"] = "가방 공간에도 판매가격을 표시합니다." L["Show statistics for stored prices"] = "저장된 금액의 통계 보기" L["Show statistics"] = "통계 보기" L["Specify a custom text to display instead of 'Sells for'."] = "'판매 가격' 대신에 원하는 문구를 넣을 수 있습니다." L["Text color"] = "글자 색상" L["Unknown sell price"] = "알 수 없음" elseif GameLocale == "zhCN" then --L["Bag slots"] = "背包栏" --L["Choose a modifier key"] = "选择一个控制键" L["Custom text"] = "自定义文字" --L["Display style"] = "显示方式" L["Modifier key only"] = "设置控制键" -- L["Modifier key"] = "控制键" L["Only show price when a modifier key is held down"] = "仅控制键按下后显示售价" L["Prices in library: %d"] = "内置的售价记录:%d" L["Purge prices!"] = "清除价格!" L["Purge recorded vendor prices"] = "清除记录的商人处售价" L["Record vendor prices"] = "记录出售价格" L["Recorded vendor prices: %d"] = "商人处售价记录:%d" L["Sells for"] = "售价" L["Show price for bag slots"] = "显示背包栏背包价格" L["Show statistics for stored prices"] = "显示所有已储存售价的数量" L["Show statistics"] = "显示售价储存数" L["Text color"] = "文字颜色" -- L["Text"] = "文字" L["Unknown sell price"] = "未知价格/无法出售" L["Don't show anything for items that are not known"] = "未知物品中不显示任何内容" L["Don't show anything for items that cannot be sold to a vendor"] = "不可出售物品中不显示任何内容" L["General"] = "基本设置" L["Ignore unknown items"] = "屏蔽未知物品" L["Ignore unsellable items"] = "屏蔽不可出售物品" L["modifier.any"] = "Any" L["Specify a custom text to display instead of 'Sells for'."] = "用自定义文本取代默认显示的 '售价'" L["Display style"] = "显示样式" L["Select the display style"] = "选择显示样式" L["Coins"] = "图标" L["Text only"] = "仅文字" elseif GameLocale == "zhTW" then L["Bag slots"] = "背包欄位" L["Choose a modifier key"] = "選擇輔助鍵" L["Custom text"] = "自訂文字" L["Display style"] = "顯示樣式" L["Don't show anything for items that are not known"] = "不顯示所有未知物品" L["Don't show anything for items that cannot be sold to a vendor"] = "不顯示所有無法售予商人的物品" L["Ignore unknown items"] = "忽略未知物品" L["Ignore unsellable items"] = "不顯示無法售出的物品" L["Modifier key only"] = "只在按下輔助鍵時" L["Modifier key"] = "輔助鍵" L["Only show price when a modifier key is held down"] = "只在按下輔助鍵時才顯示賣出價" L["Prices in library: %d"] = "ItemPrice 程式庫: %d" L["Purge prices!"] = "清除賣出價!" L["Purge recorded vendor prices"] = "清除已記錄的商人賣出價" L["Record vendor prices"] = "記錄商人賣出價" L["Recorded vendor prices: %d"] = "商人賣出價記錄: %d" L["Sells for"] = "賣出價" L["Show price for bag slots"] = "顯示背包欄位的價格" L["Show statistics for stored prices"] = "顯示賣出價記錄統計" L["Show statistics"] = "顯示統計" L["Text color"] = "文字顏色" L["Text"] = "文字" L["Unknown sell price"] = "賣出價不明" end for key, text in pairs(L) do if text == true then L[key] = key end end _G.ItemPriceTooltip_Locale = setmetatable(L, { __newindex = function() error("Attempt to write to the locale table!", 2) end, __index = function(self, key) if key == nil then error("Key was nil!", 2) end geterrorhandler()("Unknown key: "..tostring(key)) rawset(self, key, key) return key end, })