Skip to content

Commit 3462d0f

Browse files
authored
Merge pull request #39 from Puresyn/development
Development
2 parents e691346 + 9c205a5 commit 3462d0f

File tree

7 files changed

+25
-18
lines changed

7 files changed

+25
-18
lines changed

Core/Localization/Localization.zhTW.lua

+9-9
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ KM_Localization_zhTW = {}
22
local L = KM_Localization_zhTW
33

44
-- Localization file for "zhTW": 正體中文 (Taiwan)
5-
-- Translated by: 三皈依 and Google Translate
5+
-- Translated by: 三皈依
66

77
--[[Notes for Translators: In many locations throughout Key Master, line space is limited. This can cause
88
overlapping or strange text display. Where possible, try to keep the overall length of the string comparable or shorter
@@ -85,7 +85,7 @@ L.INSTANCETIMER = "副本訊息"
8585
L.VAULTINFORMATION = "傳奇+ 寶庫進度"
8686
L.TIMELIMIT = "時間限制"
8787
L.SEASON = "賽季"
88-
L.COMBATMESSAGE = { errormsg = "關鍵大師在戰鬥中不可用", chatmsg = "一旦退出戰鬥,該介面就會打開"}
88+
L.COMBATMESSAGE = { errormsg = "Key Master無法在戰鬥中使用", chatmsg = "介面將會在您離開戰鬥後開啟"}
8989

9090
L.COMMANDLINE = {} -- translate whatever in this section would be standard of an addon in the language. i.e. /km show, /km XXXX, or /XX XXXX It will work just fine.
9191
L.COMMANDLINE["/km"] = { name = "/km", text = "/km"}
@@ -120,7 +120,7 @@ L.PLAYERFRAME["New"] = { name = "新", text = "你完成此鑰石+1後的評分
120120
L.PLAYERFRAME["RatingCalculator"] = { name = "評分計算", text = "計算潛在評分收益。"}
121121
L.PLAYERFRAME["EnterKeyLevel"] = { name = "輸入鑰石層數", text = "輸入一個鑰石層數來觀看"}
122122
L.PLAYERFRAME["YourBaseRating"] = { name = "基礎評分收益", text = "你的基礎評分收益預測。"}
123-
L.PLAYERFRAME["Characters"] = "人物"
123+
L.PLAYERFRAME["Characters"] = "角色"
124124

125125
L.CHARACTERINFO = {}
126126
L.CHARACTERINFO["NoKeyFound"] = { name = "未找到鑰石", text = "未找到鑰石"}
@@ -140,19 +140,19 @@ L.CONFIGURATIONFRAME["DiagnosticSettings"] = { name = "診斷設定", text = "
140140
L.CONFIGURATIONFRAME["DisplayErrorMessages"] = { name = "顯示錯誤", text = "顯示錯誤訊息。"}
141141
L.CONFIGURATIONFRAME["DisplayDebugMessages"] = { name = "顯示偵錯", text = "顯示偵錯訊息。"}
142142
L.CONFIGURATIONFRAME["DiagnosticsAdvanced"] = { name = "進階診斷", text="注意: 這些僅用於診斷目的。 如果啟用,他們可能會洗您的聊天視窗!"}
143-
L.CONFIGURATIONFRAME["CharacterSettings"] = { name="字元列表過濾器", text = "備用字元清單過濾器選項" }
144-
L.CONFIGURATIONFRAME["FilterByServer"] = { name = "目前伺服器", text = "只顯示目前伺服器" }
145-
L.CONFIGURATIONFRAME["FilterByNoRating"] = { name = "無評級", text = "僅顯示具有評級的角色" }
146-
L.CONFIGURATIONFRAME["FilterByNoKey"] = { name = "無鑰石", text = "只顯示帶有鍵的字元" }
147-
L.CONFIGURATIONFRAME["Purge"] = { present = "清除", past = "远离" }
143+
L.CONFIGURATIONFRAME["CharacterSettings"] = { name="角色清單過濾", text = "分身角色清單過濾選項" }
144+
L.CONFIGURATIONFRAME["FilterByServer"] = { name = "當前伺服器", text = "僅顯示當前伺服器" }
145+
L.CONFIGURATIONFRAME["FilterByNoRating"] = { name = "無評分", text = "僅顯示有評分的角色" }
146+
L.CONFIGURATIONFRAME["FilterByNoKey"] = { name = "無鑰石No Key", text = "僅顯示有鑰石的角色" }
147+
L.CONFIGURATIONFRAME["Purge"] = { present = "清除", past = "已清除" }
148148

149149
L.ABOUTFRAME = {}
150150
L.ABOUTFRAME["AboutGeneral"] = { name = "Key Master 資訊", text = "Key Master 資訊"}
151151
L.ABOUTFRAME["AboutAuthors"] = { name = "作者", text = "作者"}
152152
L.ABOUTFRAME["AboutSpecialThanks"] = { name = "特別感謝", text = "特別感謝"}
153153
L.ABOUTFRAME["AboutContributors"] = { name = "貢獻者", text = "貢獻者"}
154154
L.ABOUTFRAME["Translators"] = { text = "翻譯者" }
155-
L.ABOUTFRAME["WhatsNew"] = { text = "显示补丁说明"}
155+
L.ABOUTFRAME["WhatsNew"] = { text = "顯示更新的訊息"}
156156

157157
L.SYSTEMMESSAGE = {}
158158
L.SYSTEMMESSAGE["NOTICE"] = { text = "注意: 巨龍崛起第4賽季評分計算仍待驗證。"}

Core/UI/PartyFrame.lua

+3-3
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,13 @@ local function createPartyDungeonHeader(anchorFrame, mapId)
164164

165165
if (portalSpellId) then -- if the player has the portal, make the dungeon image clickable to cast it if clicked.
166166
local pButton = CreateFrame("Button","portal_button"..mapId,temp_frame,"SecureActionButtonTemplate")
167+
pButton:SetFrameLevel(10)
167168
pButton:SetAttribute("type", "spell")
168-
pButton:SetAttribute("spell", portalSpellName)
169-
pButton:RegisterForClicks("AnyDown")
169+
pButton:SetAttribute("spell", portalSpellId)
170+
pButton:RegisterForClicks("AnyUp", "AnyDown") -- OPie rewrites the CVAR that handles mouse clicks. Added "AnyUp" to conditional.
170171
pButton:SetWidth(pButton:GetParent():GetWidth())
171172
pButton:SetHeight(pButton:GetParent():GetWidth())
172173
pButton:SetPoint("TOPLEFT", temp_frame, "TOPLEFT", 0, 0)
173-
pButton:SetScript("OnMouseDown", portalButton_buttonevent)
174174
pButton:SetScript("OnEnter", portalButton_mouseover)
175175
pButton:SetScript("OnLeave", portalButton_mouseoout)
176176

Core/UI/WhatsNew.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ local function setWhatsNewContent(parent)
5252
<p>Clicking on the Key Master Notice frame now dismisses the message until next reload/relog.</p>
5353
<br/>
5454
<h2>|cff]]..h2Color..[[Fixes:|r</h2>
55+
<p>Fixed portal click issue (FINALLY!) This was due to a CVAR setting from OPie(?) or any addon that changes the way mouse-clicks happen in WoW...</p>
56+
<br/>
5557
<p>Fixed a bug when receiving a new or updated keystone under certain conditions, your key information didn't update in real-time without a reload or relog.</p>
5658
<br/>
5759
<p>Fixed a bug where non-English client keys were sometimes not updating real-time.</p>
@@ -60,8 +62,6 @@ local function setWhatsNewContent(parent)
6062
<br/>
6163
<p>Removed empty quotation marks in specialization on the player page header when a player does not have a current active specialization or it is otherwise unknown.</p>
6264
<br/>
63-
<p>Fixed issue where some clients were not able to use the portal icons.</p>
64-
<br/>
6565
<h2>|cff]]..h2Color..[[Open Items:|r</h2>
6666
<p>Still validating season 4 rating calculations (We are cautiously optimistic that the ratings are accurate.)</p>
6767
<br/>

KeyMaster.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ local PartyFrame = KeyMaster.PartyFrame
1616

1717
-- Global Variables
1818
KM_ADDON_NAME = KeyMasterLocals.ADDONNAME
19-
KM_AUTOVERSION = '1.1.3'
19+
KM_AUTOVERSION = '1.1.4'
2020
KM_VERSION_STATUS = KeyMasterLocals.BUILDRELEASE -- BUILDALPHA BUILDBETA BUILDRELEASE - for display and update notification purposes
2121

2222
--------------------------------

KeyMaster.toc

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
## X-Max-Interface: 100206
33
## X-Min-Interface: 100205
44

5-
## Version: 1.1.3
5+
## Version: 1.1.4
66
## Title: |cffb09c60Key Master|r
77
## Title-ptBR: |cffb09c60Key Master|r
88
## Title-ruRU: |cffb09c60Key Master|r [|cffe6b080Мастер ключей|r]

Libs/Internal/KMFactory.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ local function createItem(p, name, value, callback)
7373

7474
if callback then
7575
menuListItem:SetScript("OnClick", callback)
76-
menuListItem:RegisterForClicks("AnyDown") -- , "AnyUp"
76+
menuListItem:RegisterForClicks("AnyDown", "AnyUp")
7777
end
7878
return menuListItem
7979
end

PatchNotes.txt

+8-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ Key Master AddOn for World of Warcraft
22
(c) 2024 – Released under the GNU General Public License
33

44
PATCH NOTES:
5+
--------------------------------------------------
6+
Key Master v1.1.4
7+
--------------------------------------------------
8+
- Fixed portal click issue (FINALLY!) This was due to a CVAR setting from OPie
9+
(or any addon that changes the way mouse-clicks happen in WoW)..
10+
- Updates to TW localization.
11+
512
--------------------------------------------------
613
Key Master v1.1.3
714
--------------------------------------------------
@@ -36,7 +43,7 @@ Fixes:
3643
- Fixed issue where some clients were not able to use the portal icons.
3744

3845
Open Items:
39-
- Still validating season 4 rating calculation (We are cautiously optimistic that the scores are accurate.)
46+
- Still validating season 4 rating calculation (We are cautiously optimistic that the ratings are accurate.)
4047

4148
If you experience any other issues, please report them with as much detail as possible in the
4249
Key Master Issues GitHub. https://github.com/Puresyn/KeyMaster/issues or visit us on Discord.

0 commit comments

Comments
 (0)