From 524e22ed1fda51027d594767def59d455aa0ffce Mon Sep 17 00:00:00 2001 From: Jamie Schembri Date: Thu, 6 Feb 2014 19:40:25 +0100 Subject: [PATCH] Added speculative localization --- core.lua | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/core.lua b/core.lua index ee46c8a..c764380 100644 --- a/core.lua +++ b/core.lua @@ -1,9 +1,16 @@ +local L = { + enUS = "Fishing Bobber", + deDE = "Angelschwimmer", + esES = "Corcho de pesca", + frFR = "Flotteur", + ruRU = "поплавок", + ptBR = "Flutador para Pesca" +} GameTooltip:HookScript("OnShow", function() local tooltipText = GameTooltipTextLeft1 - local bobberText = "Fishing Bobber" - if tooltipText and tooltipText:GetText() == bobberText then + if tooltipText and tooltipText:GetText() == L[GetLocale()] then GameTooltip:Hide() end end) -- 1.7.9.5