Quantcast

Changed code in Zerocount function

BillLive [01-30-16 - 23:39]
Changed code in Zerocount function
Signed-off-by: BillLive <bill@live.com.au>
Filename
Elementarist.lua
Localization_frFR.lua
diff --git a/Elementarist.lua b/Elementarist.lua
index 6b1a7ad..c5251a5 100755
--- a/Elementarist.lua
+++ b/Elementarist.lua
@@ -845,7 +845,7 @@ end

 -- Utility function to check if spell available, and has 0 count in list
 function Elementarist:ZeroCount(needle,...)
-	return (Elementarist:SpellAvailable(needle)) and (Elementarist:Count(needle,...))
+	return (Elementarist:SpellAvailable(needle)) and (Elementarist:Count(needle,...)==0)
 end

 function Elementarist:hasGlyph(glyph)
diff --git a/Localization_frFR.lua b/Localization_frFR.lua
index 1f91576..ad14e40 100755
--- a/Localization_frFR.lua
+++ b/Localization_frFR.lua
@@ -38,7 +38,7 @@ if GetLocale() then
 	L["THREAT_WARNING_PREFIX"] = "Général"
 	L["THREAT_WARNING_SUFFIX"] = "% de menace!"
 	L["CONFIG_DISABLE_LM_SPELL"] = "Disable Liquid Magma in rotation" -- Requires localization
-	L["CONFIG_DOFS_THRESHOLD"] = "Prioritize Buffing Flameshock with\r seconds remaining on the DOT"
-	L["CONFIG_DOFS"] = "Prioritize Buffing Flameshock when\r current DOT is not fully buffed"
+	L["CONFIG_DOFS_THRESHOLD"] = "Donnez la priorité à améliorer Flameshock\r avec les seconds restants sur le DOT"
+	L["CONFIG_DOFS"] = "Donnez la priorité à améliorer Flameshock quand \r le DOT actuel n’est pas améliorer au maximum"
 	L["CONFIG_DEBUFF_TRACKER_SHOW_BUFFS"] = "Suivi des débuffs montre buffs"
 end
\ No newline at end of file