From 2bcf499462c053fc077a6ed70735a4e3c491c789 Mon Sep 17 00:00:00 2001 From: Taracque Date: Fri, 31 Aug 2012 07:25:20 +0200 Subject: [PATCH] _ localized everywhere --- Change_log.txt | 9 ++++++++- Elementarist.lua | 10 ++++++---- Elementarist.toc | 2 +- 3 files changed, 15 insertions(+), 6 deletions(-) mode change 100755 => 100644 Change_log.txt mode change 100755 => 100644 Ele_GUI.lua mode change 100755 => 100644 Elementarist.lua mode change 100755 => 100644 Elementarist.toc mode change 100755 => 100644 License.txt mode change 100755 => 100644 Localization_enUS.lua diff --git a/Change_log.txt b/Change_log.txt old mode 100755 new mode 100644 index db77c3b..9a54c4d --- a/Change_log.txt +++ b/Change_log.txt @@ -1,5 +1,12 @@ +**v2.9.2** +* Bugfix: Cooldown frame size fixed. +* Bugfix: _ variable localized everywhere + +**v2.9.1** +* Bugfix: Fixed Raid detection. + **v2.9.0** -* Mists of Pandaria (5.0.4) compatibility +* Change: Mists of Pandaria (5.0.4) compatibility **v2.1.5** * Added: Option to disable misc and int frames. diff --git a/Ele_GUI.lua b/Ele_GUI.lua old mode 100755 new mode 100644 diff --git a/Elementarist.lua b/Elementarist.lua old mode 100755 new mode 100644 index 5f16a81..434f3e8 --- a/Elementarist.lua +++ b/Elementarist.lua @@ -1,5 +1,5 @@ ------------------------------------------------------------------------------- --- Elementarist 2.9.0 +-- Elementarist 2.9.2 -- -- Shows the advised spell for an elemental shaman for optimal DPS output. ------------------------------------------------------------------------------- @@ -8,7 +8,7 @@ Elementarist = {Locals = {}} local L = Elementarist.Locals -Elementarist.versionNumber = '2.9.0' +Elementarist.versionNumber = '2.9.2' Elementarist.playerName = UnitName("player") Elementarist.playerGUID = UnitGUID("player") Elementarist.targetGUID = nil @@ -269,6 +269,7 @@ end function Elementarist:detectTalent() local spec = GetSpecialization() + local _ Elementarist.isEle = (spec == 1) _, Elementarist.tier6Talent = GetTalentRowSelectionInfo(6) @@ -281,7 +282,7 @@ function Elementarist:detectTalent() end function Elementarist:PlayerInParty() - if (IsInRaid()>0) then + if (IsInRaid()) then return 2 elseif (GetNumGroupMembers()>0) then return 1 @@ -648,6 +649,7 @@ function Elementarist:NextSpell(timeshift,exspell1,exspell2) local s,d,e local name, fsExpiration, unitCaster local lastSpell + local _ if (exspell1) then if (exspell2) then @@ -841,7 +843,7 @@ function Elementarist:MiscSpell() -- Lifeblood Herbalism spell local d, e - local name, expirationTime + local name, expirationTime, _ -- Alchemy Flask of Enhancement if GetItemCount(Elementarist.CustomIDs["Alchemist's Flask Item"]) ~= 0 then diff --git a/Elementarist.toc b/Elementarist.toc old mode 100755 new mode 100644 index d5d3360..5115e13 --- a/Elementarist.toc +++ b/Elementarist.toc @@ -2,7 +2,7 @@ ## Title: Elementarist ## Notes: Elemental shaman spell rotation helper ## Author: Taracque, Felmosórongy of Arathor -## Version: 2.9.0 +## Version: 2.9.2 ## SavedVariables: ElementaristDB ## OptionalDeps: OmniCC, SpellFlash ## Dependencies: diff --git a/License.txt b/License.txt old mode 100755 new mode 100644 diff --git a/Localization_enUS.lua b/Localization_enUS.lua old mode 100755 new mode 100644 -- 1.7.9.5