diff --git a/Localization.enUS.lua b/Localization.enUS.lua index d71e238..20fee5e 100644 --- a/Localization.enUS.lua +++ b/Localization.enUS.lua @@ -22,9 +22,13 @@ PerfectRaidLocals = { ["Buff Name:"] = "Buff Name:", ["Buffs/Debuffs"] = "Buffs/Debuffs", ["Cancel"] = "Cancel", + ["Class"] = "Class", ["Color bars by class"] = "Color bars by class", ["Column Anchor Point:"] = "Column Anchor Point:", + ["Config"] = "Config", + ["Curse"] = "Curse", ["Dead"] = "Dead", + ["Disease"] = "Disease", ["Death Knight"] = "Death Knight", ["Delete"] = "Delete", ["Disable"] = "Disable", @@ -34,6 +38,7 @@ PerfectRaidLocals = { ["Divine Spirit"] = "Divine Spirit", ["Do not check this buff (Disable)"] = "Do not check this buff (Disable)", ["Down"] = "Down", + ["Drink"] = "Drink", ["Druid"] = "Druid", ["Edit"] = "Edit", ["Enable"] = "Enable", @@ -42,6 +47,7 @@ PerfectRaidLocals = { ["Frame Scale:"] = "Frame Scale:", ["Frames have been locked"] = "Frames have been locked", ["Frames have been unlocked"] = "Frames have been unlocked", + ["Food"] = "Food", ["Ghost"] = "Ghost", ["Gift of the Wild"] = "Gift of the Wild", ["Greater Blessing of Kings"] = "Greater Blessing of Kings", @@ -50,6 +56,7 @@ PerfectRaidLocals = { ["Greater Blessing of Salvation"] = "Greater Blessing of Salvation", ["Greater Blessing of Sanctuary"] = "Greater Blessing of Sanctuary", ["Greater Blessing of Wisdom"] = "Greater Blessing of Wisdom", + ["Group"] = "Group", ["Group 1"] = "Group 1", ["Group 2"] = "Group 2", ["Group 3"] = "Group 3", @@ -61,6 +68,7 @@ PerfectRaidLocals = { ["Group Buff Name:"] = "Group Buff Name:", ["Group frames by:"] = "Group frames by:", ["Hide Blizzard Party Frames"] = "Hide Blizzard Party Frames", + ["Highlight"] = "Highlight", ["Highlight on mouseover"] = "Highlight on mouseover", ["Highlight when cursed"] = "Highlight when cursed", ["Highlight when diseased"] = "Highlight when diseased", @@ -70,15 +78,19 @@ PerfectRaidLocals = { ["If you choose any of the column options, all of them become required fields. Please choose the number of columns, max units, column spacing and column anchor."] = "If you choose any of the column options, all of them become required fields. Please choose the number of columns, max units, column spacing and column anchor.", ["In-Range Alpha"] = "In-Range Alpha", ["Innervate"] = "Innervate", + ["Index"] = "Index", ["Lifebloom"] = "Lifebloom", ["Lock frames"] = "Lock frames", ["Mage"] = "Mage", + ["Magic"] = "Magic", ["Make filters strict"] = "Make filters strict", ["Mana Bar Height:"] = "Mana Bar Height:", ["Mark of the Wild"] = "Mark of the Wild", ["Max Units per Column:"] = "Max Units per Column:", ["Mortal Strike"] = "Mortal Strike", + ["Name"] = "Name", ["No filters selected"] = "No filters selected", + ["None"] = "None", ["Number of Columns:"] = "Number of Columns:", ["Offline"] = "Offline", ["Only show if this buff is missing"] = "Only show if this buff is missing", @@ -89,6 +101,7 @@ PerfectRaidLocals = { ["PerfectRaid Options"] = "PerfectRaid Options", ["Perform aggro checking"] = "Perform aggro checking", ["Perform range checking"] = "Perform range checking", + ["Poison"] = "Poison", ["Power Infusion"] = "Power Infusion", ["Power Word: Fortitude"] = "Power Word: Fortitude", ["Power Word: Shield"] = "Power Word: Shield", @@ -98,6 +111,7 @@ PerfectRaidLocals = { ["Prayer of Spirit"] = "Prayer of Spirit", ["Priest"] = "Priest", ["Raid Frames"] = "Raid Frames", + ["Range Check"] = "Range Check", ["Regrowth"] = "Regrowth", ["Rejuvenation"] = "Rejuvenation", ["Renew"] = "Renew", @@ -113,7 +127,9 @@ PerfectRaidLocals = { ["STATUS_CURSE"] = "Cu", ["STATUS_DISEASE"] = "Di", ["STATUS_DIVINESPIRIT"] = "Spi", + ["STATUS_DRINK"] = "Dr", ["STATUS_FEARWARD"] = "FW", + ["STATUS_FOOD"] = "Foo", ["STATUS_FORT"] = "F", ["STATUS_INNERVATE"] = "Inn", ["STATUS_LIFEBLOOM"] = "Lb", @@ -132,7 +148,7 @@ PerfectRaidLocals = { ["STATUS_THORNS"] = "Th", ["STATUS_WEAKENEDSOUL"] = "Ws", ["STATUS_WILD_GROWTH"] = "Wg", - ["STATUS_BATTLE_ELIXIR"] = "BE", + ["STATUS_BATTLE_ELIXIR"] = "BE", ["STATUS_GUARDIAN_ELIXIR"] = "GE", ["STATUS_FLASK"] = "Flask", ["Save"] = "Save", @@ -150,6 +166,7 @@ PerfectRaidLocals = { ["Soulstone Resurrection"] = "Soulstone Resurrection", ["Spacing between columns:"] = "Spacing between columns:", ["Thorns"] = "Thorns", + ["This frame has the following options/filters set:"] = "This frame has the following options/filters set:\n", ["Title:"] = "Title:", ["Up"] = "Up", ["Update delay"] = "Update delay", diff --git a/Localization.koKR.lua b/Localization.koKR.lua new file mode 100644 index 0000000..78b53f7 --- /dev/null +++ b/Localization.koKR.lua @@ -0,0 +1,207 @@ +--Localization.koKR.lua +if GetLocale() ~= "koKR" then return end + +PerfectRaidLocals = setmetatable({ + [" *** DISABLED ***"] = " *** 비활성화 됨 ***", + ["Add"] = "추가", + ["Adding a default raid layout to new profile \"%s\""] = "\"%s\"|1을;를; 새 프로파일에 기본 공격대 레이아웃으로 추가합니다.", + ["Adding default buffs to new profile \"%s\""] = "\"%s\"|1을;를; 새 프로파일에 기본 버프로로 추가합니다.", + ["Aggro"] = "어그로", + ["Align frames to BOTTOM"] = "프레임을 아래쪽으로 정렬", + ["Align frames to RIGHT"] = "프레임을 오른쪽으로 정렬", + ["All Classes"] = "모든 직업", + ["All Groups"] = "모든 그룹", + ["Arcane Brilliance"] = "신비한 총명함", + ["Arcane Intellect"] = "신비한 지능", + ["Auto-fill Default"] = "기본값 자동 적용", + ["Blessing of Kings"] = "왕의 축복", + ["Blessing of Light"] = "빛의 축복", + ["Blessing of Might"] = "힘의 축복", + ["Blessing of Salvation"] = "구원의 축복", + ["Blessing of Sanctuary"] = "성역의 축복", + ["Blessing of Wisdom"] = "지혜의 축복", + ["Buff Name:"] = "버프 이름:", + ["Buffs/Debuffs"] = "버프/디버프", + ["Cancel"] = "취소", + ["Class"] = "직업", + ["Color bars by class"] = "바를 직업별 색깔로 보기", + ["Column Anchor Point:"] = "컬럼 기준점 포인트:", + ["Config"] = "설정", + ["Curse"] = "저주", + ["Dead"] = "죽음", + ["Disease"] = "질병", + ["Death Knight"] = "죽음의 기사", + ["Delete"] = "삭제", + ["Disable"] = "비활성", + ["Disabled: "] = "비활성화됨: ", + ["Display Text:"] = "텍스트 표시:", + ["Display a header backdrop"] = "헤더 배경 표시", + ["Divine Spirit"] = "천상의 정신", + ["Do not check this buff (Disable)"] = "이 버프를 확인하지 않음 (비활성)", + ["Down"] = "아래로", + ["Drink"] = "음료", + ["Druid"] = "드루이드", + ["Edit"] = "편집", + ["Elixir of Accuracy"] = "적중의 비약", + ["Elixir of Armor Piercing"] = "방어구 관통의 비약", + ["Elixir of Deadly Strikes"] = "치명적인 일격의 비약", + ["Elixir of Expertise"] = "숙련 향상의 비약", + ["Elixir of Lightning Speed"] = "광속의 비약", + ["Elixir of Mighty Agility"] = "강력한 민첩의 비약", + ["Elixir of Mighty Strength"] = "강력한 힘의 비약", + ["Elixir of Mighty Defense"] = "강력한 방어의 비약", + ["Elixir of Spirit"] = "정신력의 비약", + ["Elixir of Protection"] = "보호의 비약", + ["Elixir of Mighty Thoughts"] = "강력한 사고의 비약", + ["Elixir of Mighty Mageblood"] = "강력한 마력의 비약", + ["Elixir of Mighty Fortitude"] = "강력한 인내의 비약", + ["Enable"] = "활성", + ["Enable click-casting on frames"] = "프레임에 클릭하여 시전하기 활성", + ["Fear Ward"] = "공포의 수호물", + ["Flask of Endless Rage"] = "끝없는 분노의 영약", + ["Flask of Pure Mojo"] = "순수한 모조의 영약", + ["Flask of Stoneblood"] = "완전한 피의 영약", + ["Flask of the Frost Wyrm"] = "서리 고룡의 영약", + ["Frame Scale:"] = "프레임 크기:", + ["Frames have been locked"] = "프레임이 잠겼습니다", + ["Frames have been unlocked"] = "프레임 잠금이 풀렸습니다", + ["Food"] = "음식", + ["Ghost"] = "유령", + ["Gift of the Wild"] = "야생의 선물", + ["Greater Blessing of Kings"] = "상급 왕의 축복", + ["Greater Blessing of Light"] = "상급 빛의 축복", + ["Greater Blessing of Might"] = "상급 힘의 축복", + ["Greater Blessing of Salvation"] = "상급 구원의 축복", + ["Greater Blessing of Sanctuary"] = "상급 성역의 축복", + ["Greater Blessing of Wisdom"] = "상급 지혜의 축복", + ["Group"] = "그룹", + ["Group 1"] = "그룹 1", + ["Group 2"] = "그룹 2", + ["Group 3"] = "그룹 3", + ["Group 4"] = "그룹 4", + ["Group 5"] = "그룹 5", + ["Group 6"] = "그룹 6", + ["Group 7"] = "그룹 7", + ["Group 8"] = "그룹 8", + ["Group Buff Name:"] = "그룹 버프 이름:", + ["Group frames by:"] = "그룹 프레임 순서:", + ["Guru's Elixir"] = "숙달의 비약", + ["Hide Blizzard Party Frames"] = "Blizzard 파티 프레임 숨김", + ["Highlight"] = "강조", + ["Highlight on mouseover"] = "마우스오버시 강조", + ["Highlight when cursed"] = "저주에 걸리면 강조", + ["Highlight when diseased"] = "질병에 걸리면 강조", + ["Highlight when magic debuffed"] = "마법 디버프에 걸리면 강조", + ["Highlight when poisoned"] = "독에 걸리면 강조", + ["Hunter"] = "사냥꾼", + ["If you choose any of the column options, all of them become required fields. Please choose the number of columns, max units, column spacing and column anchor."] = "어떤 컬럼 옵션을 선택했다면, 모든 입력 필드에 값이 필요합니다. 컬럼, 최대 유닛, 컬럼 간격 그리고 컬럼 기준점에 대한 값을 지정하세요.", + ["In-Range Alpha"] = "사거리 내 투명도", + ["Index"] = "인덱스", + ["Innervate"] = "정신 자극", + ["Lifebloom"] = "피어나는 생명", + ["Lock frames"] = "프레임 잠금", + ["Mage"] = "마법사", + ["Magic"] = "마법", + ["Main assists"] = "메인 지원", + ["Main tanks"] = "메인 탱크", + ["Make filters strict"] = "엄격하게 필터링", + ["Mana Bar Height:"] = "마나 바 높이:", + ["Mark of the Wild"] = "야생의 징표", + ["Max Units per Column:"] = "컬럼당 최대 유닛:", + ["Mortal Strike"] = "죽음의 일격", + ["Name"] = "이름", + ["No filters selected"] = "선택한 필터가 없음", + ["None"] = "없음", + ["Number of Columns:"] = "컬럼 갯수:", + ["Offline"] = "오프라인", + ["Only show if this buff is missing"] = "이 버프가 사라졌을 때만 보기", + ["Only show mana bar for mana users"] = "마나를 사용하는 사용자만 마나 바 보기", + ["Only show my buffs"] = "나의 버프만 보기", + ["Out-of-Range Alpha"] = "비 사거리 투명도", + ["Paladin"] = "성기사", + ["PerfectRaid Options"] = "PerfectRaid 옵션", + ["Perform aggro checking"] = "어그로 확인 실행", + ["Perform range checking"] = "거리 확인 실행", + ["Poison"] = "독", + ["Power Infusion"] = "마력 주입", + ["Power Word: Fortitude"] = "신의 권능: 인내", + ["Power Word: Shield"] = "신의 권능: 보호막", + ["Prayer of Fortitude"] = "인내의 기원", + ["Prayer of Mending"] = "회복의 기원", + ["Prayer of Shadow Protection"] = "암흑 보호의 기원", + ["Prayer of Spirit"] = "정신력의 기원", + ["Priest"] = "사제", + ["Raid Frames"] = "공격대 프레임", + ["Range Check"] = "거리 확인", + ["Regrowth"] = "재생", + ["Rejuvenation"] = "윤회", + ["Renew"] = "소생", + ["Reverse HP bars"] = "HP 바 반전", + ["Rogue"] = "도적", + ["Spellpower Elixir"] = "주문 강화의 비약", + ["STATUS_ARCANEINT"] = "지능", + ["STATUS_BLESSINGKINGS"] = "왕축", + ["STATUS_BLESSINGLIGHT"] = "빛축", + ["STATUS_BLESSINGMIGHT"] = "힘축", + ["STATUS_BLESSINGSALVATION"] = "구축", + ["STATUS_BLESSINGSANCTUARY"] = "성축", + ["STATUS_BLESSINGWISDOM"] = "지축", + ["STATUS_CURSE"] = "저주", + ["STATUS_DISEASE"] = "질병", + ["STATUS_DIVINESPIRIT"] = "천정", + ["STATUS_DRINK"] = "음료", + ["STATUS_FEARWARD"] = "공수", + ["STATUS_FOOD"] = "음식", + ["STATUS_FORT"] = "인내", + ["STATUS_INNERVATE"] = "자극", + ["STATUS_LIFEBLOOM"] = "피생", + ["STATUS_MAGIC"] = "마법", + ["STATUS_MORTALSTRIKE"] = "죽격", + ["STATUS_MOTW"] = "야징", + ["STATUS_POISON"] = "독", + ["STATUS_POWERINFUSION"] = "마주", + ["STATUS_PRAYERMEND"] = "회기", + ["STATUS_PWS"] = "보호", + ["STATUS_REGROWTH"] = "재생", + ["STATUS_REJUV"] = "윤회", + ["STATUS_RENEW"] = "소생", + ["STATUS_SHADOWPROT"] = "암보", + ["STATUS_SOULSTONE"] = "영석", + ["STATUS_THORNS"] = "가시", + ["STATUS_WEAKENEDSOUL"] = "약영", + ["STATUS_WILD_GROWTH"] = "급성", + ["STATUS_BATTLE_ELIXIR"] = "전비", + ["STATUS_GUARDIAN_ELIXIR"] = "강비", + ["STATUS_FLASK"] = "영약", + ["Save"] = "저장", + ["Shadow Protection"] = "암흑 보호의 기원", + ["Shaman"] = "주술사", + ["Show HP deficit"] = "HP 결손치 보기", + ["Show frame in raid"] = "공격대 참여시 프레임 보기", + ["Show frame when solo"] = "솔로시 프레임 보기", + ["Show frame while in party"] = "파티 중에도 프레임 보기", + ["Show group number"] = "그룹 숫자 보기", + ["Show options GUI"] = "옵션 GUI 보기", + ["Show player in frame"] = "프레임에 플레이어 보기", + ["Show unit tooltip on mouseover"] = "마우스오버시 유닛 툴팁 보기", + ["Sort Frames By:"] = "프레임 정렬 순서:", + ["Soulstone Resurrection"] = "영혼석 부활", + ["Spacing between columns:"] = "컬럼 사이의 간격:", + ["This frame has the following options/filters set:"] = "이 프레임은 다음의 옵션/필터 세트를 가지고 있습니다:\n", + ["Thorns"] = "가시", + ["Title:"] = "제목:", + ["Up"] = "위로", + ["Update delay"] = "업데이트 지연 시간", + ["Warlock"] = "흑마법사", + ["Warrior"] = "전사", + ["Weakened Soul"] = "약화된 영혼", + ["Wild Growth"] = "급속 성장", + ["Wrath Elixir"] = "격노의 비약", + ["You must select at least one class or group to display."] = "표시를 하려면 최소한 하나의 직업 또는 그룹을 선택해야 합니다.", + ["inParty"] = "inParty", + ["inRaid"] = "inRaid", + ["lock - Lock frames"] = "lock - Lock frames", + ["showPlayer"] = "showPlayer", + ["showSolo"] = "showSolo", + ["unlock - Unlock frames"] = "unlock - Unlock frames", +}, {__index=PerfectRaidLocals}) diff --git a/PerfectRaid.toc b/PerfectRaid.toc index 9619630..29ff7b8 100644 --- a/PerfectRaid.toc +++ b/PerfectRaid.toc @@ -13,6 +13,7 @@ Localization.frFR.lua Localization.deDE.lua Localization.zhCN.lua Localization.zhTW.lua +Localization.koKR.lua PerfectRaid.xml PerfectRaid.lua diff --git a/PerfectRaid_Aggro.lua b/PerfectRaid_Aggro.lua index b65094f..05a4aee 100644 --- a/PerfectRaid_Aggro.lua +++ b/PerfectRaid_Aggro.lua @@ -136,7 +136,7 @@ function Aggro:CreateOptions(opt) options = CreateFrame("Frame", "PROptions_Aggro", PROptions) options:SetScript("OnShow", function() self:OnShow() end) - opt:AddOptionsTab("Aggro", options) + opt:AddOptionsTab(L["Aggro"], options) options.widgets = {} diff --git a/PerfectRaid_Buffs.lua b/PerfectRaid_Buffs.lua index 28fd4a0..313a360 100644 --- a/PerfectRaid_Buffs.lua +++ b/PerfectRaid_Buffs.lua @@ -574,7 +574,7 @@ function Buffs:CreateEditFrame(parent) checks[19]:SetPoint("TOPLEFT", checks[13], "BOTTOMLEFT", 0, -10) checks[19]:Show() - for i=20,21 do + for i=20,22 do checks[i] = makeCheck(self.conditions[i]) checks[i]:SetPoint("TOPLEFT", checks[i-1], "TOPRIGHT", 60, 0) checks[i]:Show() @@ -1170,14 +1170,14 @@ Buffs.defaults = { }, { conds = "All", - buffname = "Food", - disptext = "Foo", + buffname = L["Food"], + disptext = L["STATUS_FOOD"], color = "d79a6d", }, { conds = "All", - buffname = "Drink", - disptext = "Dr", + buffname = L["Drink"], + disptext = L["STATUS_DRINK"], color = "00a1de", }, -- WOTLK Battle Elixirs @@ -1323,290 +1323,4 @@ Buffs.defaults = { color = "FF0000", disabled = true, }, - -- WOTLK Battle Elixirs - { - conds = "All", - buffname = L["Elixir of Accuracy"], - disptext = L["STATUS_BATTLE_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Elixir of Armor Piercing"], - disptext = L["STATUS_BATTLE_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Elixir of Deadly Strikes"], - disptext = L["STATUS_BATTLE_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Elixir of Expertise"], - disptext = L["STATUS_BATTLE_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Elixir of Lightning Speed"], - disptext = L["STATUS_BATTLE_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Elixir of Mighty Agility"], - disptext = L["STATUS_BATTLE_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Elixir of Mighty Strength"], - disptext = L["STATUS_BATTLE_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Guru's Elixir"], - disptext = L["STATUS_BATTLE_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Spellpower Elixir"], - disptext = L["STATUS_BATTLE_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Wrath Elixir"], - disptext = L["STATUS_BATTLE_ELIXIR"], - color = "FF0000", - disabled = true, - }, - -- WOTLK Guardian Elixirs - { - conds = "All", - buffname = L["Elixir of Mighty Defense"], - disptext = L["STATUS_GUARDIAN_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Elixir of Spirit"], - disptext = L["STATUS_GUARDIAN_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Elixir of Protection"], - disptext = L["STATUS_GUARDIAN_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Elixir of Mighty Thoughts"], - disptext = L["STATUS_GUARDIAN_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Elixir of Mighty Mageblood"], - disptext = L["STATUS_GUARDIAN_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Elixir of Mighty Fortitude"], - disptext = L["STATUS_GUARDIAN_ELIXIR"], - color = "FF0000", - disabled = true, - }, - -- WOTLK Flasks - { - conds = "All", - buffname = L["Flask of the Frost Wyrm"], - disptext = L["STATUS_FLASK"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Flask of Stoneblood"], - disptext = L["STATUS_FLASK"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Flask of Pure Mojo"], - disptext = L["STATUS_FLASK"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Flask of Endless Rage"], - disptext = L["STATUS_FLASK"], - color = "FF0000", - disabled = true, - }, - -- WOTLK Battle Elixirs - { - conds = "All", - buffname = L["Elixir of Accuracy"], - disptext = L["STATUS_BATTLE_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Elixir of Armor Piercing"], - disptext = L["STATUS_BATTLE_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Elixir of Deadly Strikes"], - disptext = L["STATUS_BATTLE_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Elixir of Expertise"], - disptext = L["STATUS_BATTLE_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Elixir of Lightning Speed"], - disptext = L["STATUS_BATTLE_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Elixir of Mighty Agility"], - disptext = L["STATUS_BATTLE_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Elixir of Mighty Strength"], - disptext = L["STATUS_BATTLE_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Guru's Elixir"], - disptext = L["STATUS_BATTLE_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Spellpower Elixir"], - disptext = L["STATUS_BATTLE_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Wrath Elixir"], - disptext = L["STATUS_BATTLE_ELIXIR"], - color = "FF0000", - disabled = true, - }, - -- WOTLK Guardian Elixirs - { - conds = "All", - buffname = L["Elixir of Mighty Defense"], - disptext = L["STATUS_GUARDIAN_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Elixir of Spirit"], - disptext = L["STATUS_GUARDIAN_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Elixir of Protection"], - disptext = L["STATUS_GUARDIAN_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Elixir of Mighty Thoughts"], - disptext = L["STATUS_GUARDIAN_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Elixir of Mighty Mageblood"], - disptext = L["STATUS_GUARDIAN_ELIXIR"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Elixir of Mighty Fortitude"], - disptext = L["STATUS_GUARDIAN_ELIXIR"], - color = "FF0000", - disabled = true, - }, - -- WOTLK Flasks - { - conds = "All", - buffname = L["Flask of the Frost Wyrm"], - disptext = L["STATUS_FLASK"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Flask of Stoneblood"], - disptext = L["STATUS_FLASK"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Flask of Pure Mojo"], - disptext = L["STATUS_FLASK"], - color = "FF0000", - disabled = true, - }, - { - conds = "All", - buffname = L["Flask of Endless Rage"], - disptext = L["STATUS_FLASK"], - color = "FF0000", - disabled = true, - }, } diff --git a/PerfectRaid_Config.lua b/PerfectRaid_Config.lua index 22ff289..7979b5c 100644 --- a/PerfectRaid_Config.lua +++ b/PerfectRaid_Config.lua @@ -47,7 +47,7 @@ local options function Config:CreateOptions(opt) options = CreateFrame("Frame", "PROptions_Config", PROptions) - local tab = opt:AddOptionsTab("Config", options) + local tab = opt:AddOptionsTab(L["Config"], options) options.widgets = {} diff --git a/PerfectRaid_Frames.lua b/PerfectRaid_Frames.lua index e17d80e..7cbf148 100644 --- a/PerfectRaid_Frames.lua +++ b/PerfectRaid_Frames.lua @@ -122,7 +122,7 @@ function Frames:CreateOptions(opt) display = string.format("%s%s%s", entry.disabled and L["Disabled: "] or "", flags, entry.filter or L["No filters selected"]) end - button.tooltip = "This frame has the following options/filters set:\n" .. display:gsub(",", ", ") + button.tooltip = L["This frame has the following options/filters set:"] .. display:gsub(",", ", ") button.line1:SetText(display) button:Show() @@ -207,9 +207,9 @@ function Frames:CreateEditFrame(parent) local groupByDropDown = CreateFrame("Frame", "PRFrames_GroupByDropDown", frame, "UIDropDownMenuTemplate") local clickFunc = function() UIDropDownMenu_SetSelectedValue(groupByDropDown, this.value) end groupByDropDown.Initialize = function() - UIDropDownMenu_AddButton{text = "None", value = -1, func = clickFunc} - UIDropDownMenu_AddButton{text = "Group", value = "GROUP", func = clickFunc} - UIDropDownMenu_AddButton{text = "Class", value = "CLASS", func = clickFunc} + UIDropDownMenu_AddButton{text = L["None"], value = -1, func = clickFunc} + UIDropDownMenu_AddButton{text = L["Group"], value = "GROUP", func = clickFunc} + UIDropDownMenu_AddButton{text = L["Class"], value = "CLASS", func = clickFunc} end groupByDropDown:SetScript("OnShow", function(f) UIDropDownMenu_Initialize(PRFrames_GroupByDropDown, groupByDropDown.Initialize) @@ -223,9 +223,9 @@ function Frames:CreateEditFrame(parent) local sortDropDown = CreateFrame("Frame", "PRFrames_SortDropDown", frame, "UIDropDownMenuTemplate") local clickFunc = function() UIDropDownMenu_SetSelectedValue(sortDropDown, this.value) end sortDropDown.Initialize = function() - UIDropDownMenu_AddButton{text = "None", value = -1, func = clickFunc} - UIDropDownMenu_AddButton{text = "Name", value = "NAME", func = clickFunc} - UIDropDownMenu_AddButton{text = "Index", value = "INDEX", func = clickFunc} + UIDropDownMenu_AddButton{text = L["None"], value = -1, func = clickFunc} + UIDropDownMenu_AddButton{text = L["Name"], value = "NAME", func = clickFunc} + UIDropDownMenu_AddButton{text = L["Index"], value = "INDEX", func = clickFunc} end sortDropDown:SetScript("OnShow", function(f) UIDropDownMenu_Initialize(sortDropDown, sortDropDown.Initialize) @@ -315,7 +315,7 @@ function Frames:CreateEditFrame(parent) local clickFunc = function() UIDropDownMenu_SetSelectedValue(colAnchorDropDown, this.value) end local points = {"TOP", "TOPLEFT", "TOPRIGHT", "LEFT", "RIGHT", "BOTTOM", "BOTTOMLEFT", "BOTTOMRIGHT"} colAnchorDropDown.Initialize = function() - UIDropDownMenu_AddButton{text = "None", value = -1, func = clickFunc} + UIDropDownMenu_AddButton{text = L["None"], value = -1, func = clickFunc} for k,v in pairs(points) do UIDropDownMenu_AddButton{text = v, value = v, func = clickFunc} end diff --git a/PerfectRaid_Highlight.lua b/PerfectRaid_Highlight.lua index ecc7ec5..1f126fc 100644 --- a/PerfectRaid_Highlight.lua +++ b/PerfectRaid_Highlight.lua @@ -172,7 +172,7 @@ function Highlight:CreateOptions(opt) options = CreateFrame("Frame", "PROptions_Highlight", PROptions) - opt:AddOptionsTab("Highlight", options) + opt:AddOptionsTab(L["Highlight"], options) options.widgets = {} diff --git a/PerfectRaid_Range.lua b/PerfectRaid_Range.lua index 41c965a..aa8331a 100644 --- a/PerfectRaid_Range.lua +++ b/PerfectRaid_Range.lua @@ -110,7 +110,7 @@ function Range:CreateOptions(opt) options = CreateFrame("Frame", "PROptions_Range", PROptions) options:SetScript("OnShow", function() self:OnShow() end) - opt:AddOptionsTab("Range Check", options) + opt:AddOptionsTab(L["Range Check"], options) options.widgets = {}