From 9d21e9a60f0b08344afe3901bf3db652fe5327c2 Mon Sep 17 00:00:00 2001 From: Polite Kiwi Date: Sun, 8 Dec 2019 19:14:16 -0500 Subject: [PATCH] Added The Following... - Updated to version 2.3.2 - Fixed bugs - Line 877 crash due to indexing null - Translation - Sped up the Locale.lua - Function L is now a table - Fallback function added - Command.lua /kiwiii - Now uses Fallback - You can now use English for commands - You can now use translated commands - Fixed a missed translation string - Translations should all be working - Ran thru each of the locales testing - Checked all thru my addons features - Revalued TOOLTIP_EX_AGI_CRIT - Item Compare updated - Now displays stat change calcs - Basic Stats show +x attack power - Basic Stats show crit chance - Resistances show % increase - etc - Shows % of stat on equipped items - Translated in all languages - zhCN incomplete - Some abbreviations may be incorrect - Some words can be incorrect - Some sentence structure may be incorrect - Command /kiwiii without args shows settings frame - Customize the plugin using this - Please respect the formatting - Failure to coop could break it - Only relevant to strings - Added variable item_compare_extra - Controls basic stat changes calcs - For you to turn off Item Compare on specifically --- Locale/deDE/deDE.lua | 2 +- Locale/enUS/enUS.lua | 2 +- Locale/esES/esES.lua | 2 +- Locale/frFR/frFR.lua | 2 +- Locale/itIT/itIT.lua | 2 +- Locale/koKR/koKR.lua | 2 +- Locale/ptBR/ptBR.lua | 2 +- Locale/ruRU/ruRU.lua | 2 +- Locale/zhCN/zhCN.lua | 2 +- Locale/zhTW/zhTW.lua | 2 +- Tooltip.lua | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Locale/deDE/deDE.lua b/Locale/deDE/deDE.lua index 3812796..d150b0f 100644 --- a/Locale/deDE/deDE.lua +++ b/Locale/deDE/deDE.lua @@ -59,7 +59,7 @@ KiwiItemInfo.Locale["deDE"] = { ["TOOLTIP_ITEM_CONTRIB"] = "Stat Beitrag:", ["TOOLTIP_EX_AGI_M_AP"] = "Beweglichkeit N. AS: ", ["TOOLTIP_EX_AGI_R_AP"] = "Beweglichkeit R. AS: ", - ["TOOLTIP_EX_AGI_CRIT"] = "Beweglichkeit N. Krit: ", + ["TOOLTIP_EX_AGI_CRIT"] = "Beweglichkeit Krit: ", ["TOOLTIP_EX_AGI_DODGE"] = "Beweglichkeit Ausweichen: ", ["TOOLTIP_EX_AGI_AR"] = "Beweglichkeit Rüstung: ", ["TOOLTIP_EX_AGI_M_CAT_AP"] = "Beweglichkeit Katzenform AS: ", diff --git a/Locale/enUS/enUS.lua b/Locale/enUS/enUS.lua index 58f1a3d..684b449 100644 --- a/Locale/enUS/enUS.lua +++ b/Locale/enUS/enUS.lua @@ -59,7 +59,7 @@ KiwiItemInfo.Locale["enUS"] = { ["TOOLTIP_ITEM_CONTRIB"] = "Stat Contribution:", ["TOOLTIP_EX_AGI_M_AP"] = "Agility M. AP: ", ["TOOLTIP_EX_AGI_R_AP"] = "Agility R. AP: ", - ["TOOLTIP_EX_AGI_CRIT"] = "Agility M. Crit: ", + ["TOOLTIP_EX_AGI_CRIT"] = "Agility Crit: ", ["TOOLTIP_EX_AGI_DODGE"] = "Agility Dodge: ", ["TOOLTIP_EX_AGI_AR"] = "Agility Armor: ", ["TOOLTIP_EX_AGI_M_CAT_AP"] = "Agility Catform AP: ", diff --git a/Locale/esES/esES.lua b/Locale/esES/esES.lua index 5b313a7..0a607e6 100644 --- a/Locale/esES/esES.lua +++ b/Locale/esES/esES.lua @@ -59,7 +59,7 @@ KiwiItemInfo.Locale["esES"] = { ["TOOLTIP_ITEM_CONTRIB"] = "Contribución estadística:", ["TOOLTIP_EX_AGI_M_AP"] = "Agilidad M. PA: ", ["TOOLTIP_EX_AGI_R_AP"] = "Agilidad D. PA: ", - ["TOOLTIP_EX_AGI_CRIT"] = "Agilidad M. Crít: ", + ["TOOLTIP_EX_AGI_CRIT"] = "Agilidad Crít: ", ["TOOLTIP_EX_AGI_DODGE"] = "Agilidad Esquivar: ", ["TOOLTIP_EX_AGI_AR"] = "Agilidad Armadura: ", ["TOOLTIP_EX_AGI_M_CAT_AP"] = "Agilidad GatoForma PA: ", diff --git a/Locale/frFR/frFR.lua b/Locale/frFR/frFR.lua index 5c46a29..df108b5 100644 --- a/Locale/frFR/frFR.lua +++ b/Locale/frFR/frFR.lua @@ -59,7 +59,7 @@ KiwiItemInfo.Locale["frFR"] = { ["TOOLTIP_ITEM_CONTRIB"] = "Contribution statistique :", ["TOOLTIP_EX_AGI_M_AP"] = "Agilité M. PA : ", ["TOOLTIP_EX_AGI_R_AP"] = "Agilité R. PA : ", - ["TOOLTIP_EX_AGI_CRIT"] = "Agilité M. Crit : ", + ["TOOLTIP_EX_AGI_CRIT"] = "Agilité Crit : ", ["TOOLTIP_EX_AGI_DODGE"] = "Agilité Esquive : ", ["TOOLTIP_EX_AGI_AR"] = "Agilité Armure : ", ["TOOLTIP_EX_AGI_M_CAT_AP"] = "Agilité FormeChat PA: ", diff --git a/Locale/itIT/itIT.lua b/Locale/itIT/itIT.lua index e5e3d1d..fcfe247 100644 --- a/Locale/itIT/itIT.lua +++ b/Locale/itIT/itIT.lua @@ -59,7 +59,7 @@ KiwiItemInfo.Locale["itIT"] = { ["TOOLTIP_ITEM_CONTRIB"] = "Contributo stat:", ["TOOLTIP_EX_AGI_M_AP"] = "Agilità M. AP: ", ["TOOLTIP_EX_AGI_R_AP"] = "Agilità S. AP: ", - ["TOOLTIP_EX_AGI_CRIT"] = "Agilità M. Crit: ", + ["TOOLTIP_EX_AGI_CRIT"] = "Agilità Crit: ", ["TOOLTIP_EX_AGI_DODGE"] = "Agilità Schivata: ", ["TOOLTIP_EX_AGI_AR"] = "Agilità Armatura: ", ["TOOLTIP_EX_AGI_M_CAT_AP"] = "Agilità GattoForma AP: ", diff --git a/Locale/koKR/koKR.lua b/Locale/koKR/koKR.lua index 43f2618..6c7439a 100644 --- a/Locale/koKR/koKR.lua +++ b/Locale/koKR/koKR.lua @@ -59,7 +59,7 @@ KiwiItemInfo.Locale["koKR"] = { ["TOOLTIP_ITEM_CONTRIB"] = "Stat Contribution:", ["TOOLTIP_EX_AGI_M_AP"] = "Agility M. AP: ", ["TOOLTIP_EX_AGI_R_AP"] = "Agility R. AP: ", - ["TOOLTIP_EX_AGI_CRIT"] = "Agility M. Crit: ", + ["TOOLTIP_EX_AGI_CRIT"] = "Agility Crit: ", ["TOOLTIP_EX_AGI_DODGE"] = "Agility Dodge: ", ["TOOLTIP_EX_AGI_AR"] = "Agility Armor: ", ["TOOLTIP_EX_AGI_M_CAT_AP"] = "Agility Catform AP: ", diff --git a/Locale/ptBR/ptBR.lua b/Locale/ptBR/ptBR.lua index 4a1a3da..f9e7c5d 100644 --- a/Locale/ptBR/ptBR.lua +++ b/Locale/ptBR/ptBR.lua @@ -59,7 +59,7 @@ KiwiItemInfo.Locale["ptBR"] = { ["TOOLTIP_ITEM_CONTRIB"] = "Contribuição Stat:", ["TOOLTIP_EX_AGI_M_AP"] = "Agilidade C. AP: ", ["TOOLTIP_EX_AGI_R_AP"] = "Agilidade D. AP: ", - ["TOOLTIP_EX_AGI_CRIT"] = "Agilidade C. Crit: ", + ["TOOLTIP_EX_AGI_CRIT"] = "Agilidade Crit: ", ["TOOLTIP_EX_AGI_DODGE"] = "Agilidade Esquiva: ", ["TOOLTIP_EX_AGI_AR"] = "Agilidade Armadura: ", ["TOOLTIP_EX_AGI_M_CAT_AP"] = "Agilidade GatoForma AP: ", diff --git a/Locale/ruRU/ruRU.lua b/Locale/ruRU/ruRU.lua index 25b29d5..0d0bccf 100644 --- a/Locale/ruRU/ruRU.lua +++ b/Locale/ruRU/ruRU.lua @@ -59,7 +59,7 @@ KiwiItemInfo.Locale["ruRU"] = { ["TOOLTIP_ITEM_CONTRIB"] = "Вклад Стат:", ["TOOLTIP_EX_AGI_M_AP"] = "Ловкости РУ. СА: ", ["TOOLTIP_EX_AGI_R_AP"] = "Ловкости СТ. СА: ", - ["TOOLTIP_EX_AGI_CRIT"] = "Ловкости РУ. Критика: ", + ["TOOLTIP_EX_AGI_CRIT"] = "Ловкости Критика: ", ["TOOLTIP_EX_AGI_DODGE"] = "Ловкости Рейтингу Уклонения: ", ["TOOLTIP_EX_AGI_AR"] = "Ловкости Броня: ", ["TOOLTIP_EX_AGI_M_CAT_AP"] = "Ловкости Форма-Кошки СА: ", diff --git a/Locale/zhCN/zhCN.lua b/Locale/zhCN/zhCN.lua index 571834b..ea1d801 100644 --- a/Locale/zhCN/zhCN.lua +++ b/Locale/zhCN/zhCN.lua @@ -59,7 +59,7 @@ KiwiItemInfo.Locale["zhCN"] = { ["TOOLTIP_ITEM_CONTRIB"] = "统计贡献:", ["TOOLTIP_EX_AGI_M_AP"] = "敏捷 M. AP: ", ["TOOLTIP_EX_AGI_R_AP"] = "敏捷 R. AP: ", - ["TOOLTIP_EX_AGI_CRIT"] = "敏捷 M. Crit: ", + ["TOOLTIP_EX_AGI_CRIT"] = "敏捷 Crit: ", ["TOOLTIP_EX_AGI_DODGE"] = "敏捷 Dodge: ", ["TOOLTIP_EX_AGI_AR"] = "敏捷 Armor: ", ["TOOLTIP_EX_AGI_M_CAT_AP"] = "敏捷 Catform AP: ", diff --git a/Locale/zhTW/zhTW.lua b/Locale/zhTW/zhTW.lua index b495b2f..2d53b50 100644 --- a/Locale/zhTW/zhTW.lua +++ b/Locale/zhTW/zhTW.lua @@ -59,7 +59,7 @@ KiwiItemInfo.Locale["zhTW"] = { ["TOOLTIP_ITEM_CONTRIB"] = "Stat Contribution:", ["TOOLTIP_EX_AGI_M_AP"] = "Agility M. AP: ", ["TOOLTIP_EX_AGI_R_AP"] = "Agility R. AP: ", - ["TOOLTIP_EX_AGI_CRIT"] = "Agility M. Crit: ", + ["TOOLTIP_EX_AGI_CRIT"] = "Agility Crit: ", ["TOOLTIP_EX_AGI_DODGE"] = "Agility Dodge: ", ["TOOLTIP_EX_AGI_AR"] = "Agility Armor: ", ["TOOLTIP_EX_AGI_M_CAT_AP"] = "Agility Catform AP: ", diff --git a/Tooltip.lua b/Tooltip.lua index 0630501..0388675 100644 --- a/Tooltip.lua +++ b/Tooltip.lua @@ -863,7 +863,7 @@ KiwiItemInfo.DisplayItemCompare = function(base_tooltip, tooltip, sel) local selection = GetMouseFocus() if(selection ~= nil) then local name = selection:GetName() - if(name:find("Character") == 1 and name:find("Slot")) then + if(name and name:find("Character") == 1 and name:find("Slot")) then return end end