unitframes: hide self in group without a group

This commit is contained in:
shagu
2019-04-10 22:36:37 +02:00
parent 710aa73fb6
commit a4e5fccbe3
10 changed files with 10 additions and 18 deletions
+1 -1
View File
@@ -1050,7 +1050,7 @@ function pfUI.uf:RefreshUnit(unit, component)
-- hide self in group if solo or hide in raid is set
elseif unit.fname == "Group0" or unit.fname == "PartyPet0" or unit.fname == "Party0Target" then
if ( C["unitframes"]["group"]["hide_in_raid"] == "1" and UnitInRaid("player") ) then
if GetNumPartyMembers() <= 0 or ( C["unitframes"]["group"]["hide_in_raid"] == "1" and UnitInRaid("player") ) then
unit:Hide()
return
end
+1 -2
View File
@@ -21,7 +21,6 @@ pfUI_translation["deDE"] = {
["Always Show Experience And Reputation Bar"] = nil,
["Always Show Extended Vendor Values"] = nil,
["Always Show Item Comparison"] = nil,
["Always Show Self In Group Frames"] = nil,
["Always Show Self In Raid Frames"] = nil,
["Always Use 2D Portraits"] = nil,
["Ammo Counter"] = nil,
@@ -82,7 +81,6 @@ pfUI_translation["deDE"] = {
["|cff33ffccChat: \"Layout\"|r\n\nDo you want me to adjust the layout of your chatframes? This would make sure, that every window is placed on its dedicated position."] = nil,
["|cff33ffccChat: \"Loot & Spam\"|r\n\nDo you want me to create and manage a specific Chatframe called \"Loot & Spam\"? This chat will display world channels, loot information and miscellaneous messages, that would otherwise clutter your main chatframe."] = nil,
["|cff33ffccKeybind Mode|r\nThis mode allows you to bind keyboard shortcuts to your actionbars.\nBy hovering a button with your cursor and pressing a key, the key will be assigned to that button.\nHit Escape on a button to remove bindings.\n\nPress Escape or click on an empty area to leave the keybind mode."] = nil,
["|cff33ffccpf|cffffffffUI|cffcccccc Config"] = nil,
["|cff33ffccpf|rUI: New version available! Have a look at http://shagu.org !"] = nil,
["|cffddddddIt's always safe to upgrade |cff33ffccpf|rUI. |cffddddddYou won't lose any of your configuration."] = nil,
["|cffff5555EVERYTHING"] = nil,
@@ -495,6 +493,7 @@ pfUI_translation["deDE"] = {
["Show PvP-Flag"] = nil,
["Show PvP Icon"] = nil,
["Show Resting"] = nil,
["Show Self In Group Frames"] = nil,
["Show Totems as Buff Indicators"] = nil,
["Shrink & Return"] = nil,
["Skin"] = nil,
+1 -2
View File
@@ -21,7 +21,6 @@ pfUI_translation["enUS"] = {
["Always Show Experience And Reputation Bar"] = nil,
["Always Show Extended Vendor Values"] = nil,
["Always Show Item Comparison"] = nil,
["Always Show Self In Group Frames"] = nil,
["Always Show Self In Raid Frames"] = nil,
["Always Use 2D Portraits"] = nil,
["Ammo Counter"] = nil,
@@ -82,7 +81,6 @@ pfUI_translation["enUS"] = {
["|cff33ffccChat: \"Layout\"|r\n\nDo you want me to adjust the layout of your chatframes? This would make sure, that every window is placed on its dedicated position."] = nil,
["|cff33ffccChat: \"Loot & Spam\"|r\n\nDo you want me to create and manage a specific Chatframe called \"Loot & Spam\"? This chat will display world channels, loot information and miscellaneous messages, that would otherwise clutter your main chatframe."] = nil,
["|cff33ffccKeybind Mode|r\nThis mode allows you to bind keyboard shortcuts to your actionbars.\nBy hovering a button with your cursor and pressing a key, the key will be assigned to that button.\nHit Escape on a button to remove bindings.\n\nPress Escape or click on an empty area to leave the keybind mode."] = nil,
["|cff33ffccpf|cffffffffUI|cffcccccc Config"] = nil,
["|cff33ffccpf|rUI: New version available! Have a look at http://shagu.org !"] = nil,
["|cffddddddIt's always safe to upgrade |cff33ffccpf|rUI. |cffddddddYou won't lose any of your configuration."] = nil,
["|cffff5555EVERYTHING"] = nil,
@@ -495,6 +493,7 @@ pfUI_translation["enUS"] = {
["Show PvP-Flag"] = nil,
["Show PvP Icon"] = nil,
["Show Resting"] = nil,
["Show Self In Group Frames"] = nil,
["Show Totems as Buff Indicators"] = nil,
["Shrink & Return"] = nil,
["Skin"] = nil,
+1 -2
View File
@@ -21,7 +21,6 @@ pfUI_translation["esES"] = {
["Always Show Experience And Reputation Bar"] = "Siempre mostrar la barra de experiencia y reputación",
["Always Show Extended Vendor Values"] = "Siempre mostrar los valores de vendedor extendidos",
["Always Show Item Comparison"] = "Siempre mostrar comparación de objetos",
["Always Show Self In Group Frames"] = nil,
["Always Show Self In Raid Frames"] = nil,
["Always Use 2D Portraits"] = "Siempre usar retratos 2D",
["Ammo Counter"] = "Contador de munición",
@@ -82,7 +81,6 @@ pfUI_translation["esES"] = {
["|cff33ffccChat: \"Layout\"|r\n\nDo you want me to adjust the layout of your chatframes? This would make sure, that every window is placed on its dedicated position."] = "|cff33ffccChat: \"Disposición\"|r\n\n¿Quieres que ajuste la disposición de los marcos de chat? De esta manera cada ventana estará en su posición correcta.",
["|cff33ffccChat: \"Loot & Spam\"|r\n\nDo you want me to create and manage a specific Chatframe called \"Loot & Spam\"? This chat will display world channels, loot information and miscellaneous messages, that would otherwise clutter your main chatframe."] = "|cff33ffccChat: \"Botín y spam\"|r\n\n¿Quieres que haga una ventana de chat llamada \"Botín y spam\"? Esta ventana muestra los canales mundiales, información del botín y otros mensajes diversos que de otro modo ensuciarían tu ventana de chat principal.",
["|cff33ffccKeybind Mode|r\nThis mode allows you to bind keyboard shortcuts to your actionbars.\nBy hovering a button with your cursor and pressing a key, the key will be assigned to that button.\nHit Escape on a button to remove bindings.\n\nPress Escape or click on an empty area to leave the keybind mode."] = "|cff33ffccModo del teclado|r\nEste modo te permite configurar las teclas de tus barras de acción.\nAl pasar el puntero del ratón sobre un botón y pulsar una tecla, dicha tecla se asignará a ese botón.\nTambién puedes pulsar Escape para eliminar la asignación de la tecla.\n\nPulsa Escape o haz clic en una área vacía para salir el modo del teclado.",
["|cff33ffccpf|cffffffffUI|cffcccccc Config"] = "|cff33ffccpf|cffffffffUI|cffcccccc Configuración",
["|cff33ffccpf|rUI: New version available! Have a look at http://shagu.org !"] = "|cff33ffccpf|rUI: ¡Nueva versión disponible! Echa un vistazo a http://shagu.org",
["|cffddddddIt's always safe to upgrade |cff33ffccpf|rUI. |cffddddddYou won't lose any of your configuration."] = "|cffddddddSiempre puedes actualizar |cff33ffccpf|rUI con seguridad. |cffddddddNo perderás tu configuración.",
["|cffff5555EVERYTHING"] = "|cffff5555TODOS",
@@ -495,6 +493,7 @@ pfUI_translation["esES"] = {
["Show PvP-Flag"] = "Mostrar bandera de JcJ",
["Show PvP Icon"] = "Mostrar icono de JcJ",
["Show Resting"] = nil,
["Show Self In Group Frames"] = nil,
["Show Totems as Buff Indicators"] = "Mostrar tótems como buffs",
["Shrink & Return"] = nil,
["Skin"] = nil,
+1 -2
View File
@@ -21,7 +21,6 @@ pfUI_translation["frFR"] = {
["Always Show Experience And Reputation Bar"] = "Toujours afficher les barres d'expérience et de réputations",
["Always Show Extended Vendor Values"] = "Toujours afficher les valeurs étendues du vendeur",
["Always Show Item Comparison"] = "Toujours afficher la comparaison d'objet",
["Always Show Self In Group Frames"] = nil,
["Always Show Self In Raid Frames"] = nil,
["Always Use 2D Portraits"] = "Toujours utiliser les portraits 2D",
["Ammo Counter"] = "Compteur de munitions",
@@ -82,7 +81,6 @@ pfUI_translation["frFR"] = {
["|cff33ffccChat: \"Layout\"|r\n\nDo you want me to adjust the layout of your chatframes? This would make sure, that every window is placed on its dedicated position."] = "|cff33ffccChat: \"Position\"|r\n\nVoulez-vous que le logiciel vous paramètre la position de la fenêtre de discussion ? Ceci permet d'optimiser et de placer correctement les fenêtres.",
["|cff33ffccChat: \"Loot & Spam\"|r\n\nDo you want me to create and manage a specific Chatframe called \"Loot & Spam\"? This chat will display world channels, loot information and miscellaneous messages, that would otherwise clutter your main chatframe."] = "|cff33ffccChat: \"Butin & Spam\"|r\n\nVoulez-vous que le logiciel vous installe une fenêtre de dialogue nommée \"Butin & Spam\"? Cette fenêtre affichera les messages du canal Monde, les informations du butin et divers messages, ceci va permettre d'alléger votre fenêtre principale de chat pour plus de lisibilité.",
["|cff33ffccKeybind Mode|r\nThis mode allows you to bind keyboard shortcuts to your actionbars.\nBy hovering a button with your cursor and pressing a key, the key will be assigned to that button.\nHit Escape on a button to remove bindings.\n\nPress Escape or click on an empty area to leave the keybind mode."] = "|cff33ffccMode Raccourcis|r\nL'activation de ce mode permet de facilement attribuer une touche de clavier ou de la souris à un sort de votre barre d'action.\n En plaçant la souris sur un sort tout en appuyant sur la touche souhaitée, vous pouvez attribuer ce dernier au sort.\nAppuyez sur Echap tout en survolant un sort pour supprimer le raccourci assigné.\n\nAppuyez sur Echap en survolant une zone vide de l'interface pour quitter le Mode Raccourcis.",
["|cff33ffccpf|cffffffffUI|cffcccccc Config"] = nil,
["|cff33ffccpf|rUI: New version available! Have a look at http://shagu.org !"] = nil,
["|cffddddddIt's always safe to upgrade |cff33ffccpf|rUI. |cffddddddYou won't lose any of your configuration."] = nil,
["|cffff5555EVERYTHING"] = "|cffff5555ABSOLUMENT TOUT",
@@ -495,6 +493,7 @@ pfUI_translation["frFR"] = {
["Show PvP-Flag"] = nil,
["Show PvP Icon"] = "Afficher l'icône JcJ",
["Show Resting"] = nil,
["Show Self In Group Frames"] = nil,
["Show Totems as Buff Indicators"] = nil,
["Shrink & Return"] = nil,
["Skin"] = "Apparence",
+1 -2
View File
@@ -21,7 +21,6 @@ pfUI_translation["koKR"] = {
["Always Show Experience And Reputation Bar"] = "항상 경험치바와 평판바 보기",
["Always Show Extended Vendor Values"] = "항상 NPC에게 판매가 표시",
["Always Show Item Comparison"] = "항상 착용 장비와 비교 표시",
["Always Show Self In Group Frames"] = nil,
["Always Show Self In Raid Frames"] = nil,
["Always Use 2D Portraits"] = "항상 2D초상화 사용",
["Ammo Counter"] = "탄약 갯수",
@@ -82,7 +81,6 @@ pfUI_translation["koKR"] = {
["|cff33ffccChat: \"Layout\"|r\n\nDo you want me to adjust the layout of your chatframes? This would make sure, that every window is placed on its dedicated position."] = "|cff33ffcc채팅: \"레이아웃\"|r\n\n채팅 프레임의 레이아웃을 조정하길 원하십니까? 이렇게하면 모든 창을 전용 위치에 배치 할 수 있습니다.",
["|cff33ffccChat: \"Loot & Spam\"|r\n\nDo you want me to create and manage a specific Chatframe called \"Loot & Spam\"? This chat will display world channels, loot information and miscellaneous messages, that would otherwise clutter your main chatframe."] = "|cff33ffcc채팅: \"룻팅 & 스팜\"|r\n\n\"룻팅 & 스팜\"이라는 특정 챗팅프레임을 만들고 관리하기를 원하십니까? 이 채팅은 월드채널, 룻팅정보 및 기타 메시지, 그렇지 않으면 메인 챗팅프레임을 혼란스럽게 할 것입니다.",
["|cff33ffccKeybind Mode|r\nThis mode allows you to bind keyboard shortcuts to your actionbars.\nBy hovering a button with your cursor and pressing a key, the key will be assigned to that button.\nHit Escape on a button to remove bindings.\n\nPress Escape or click on an empty area to leave the keybind mode."] = "|cff33ffcc단축키 설정 모드|r\n이 모드에서는 키보드 단축키를 액션바에 바인딩 할 수 있습니다.\n커서로 버튼을 가리키고 키를 누르면 해당 버튼에 키가 지정됩니다.\n바인딩을 제거하려면 버튼에서 Escape를 누르십시오.\n\nEsc키를 누르거나 빈 영역을 클릭하여 단축키 설정 모드를 종료하십시오.",
["|cff33ffccpf|cffffffffUI|cffcccccc Config"] = nil,
["|cff33ffccpf|rUI: New version available! Have a look at http://shagu.org !"] = nil,
["|cffddddddIt's always safe to upgrade |cff33ffccpf|rUI. |cffddddddYou won't lose any of your configuration."] = nil,
["|cffff5555EVERYTHING"] = "|cffff5555모두(전체)",
@@ -495,6 +493,7 @@ pfUI_translation["koKR"] = {
["Show PvP-Flag"] = nil,
["Show PvP Icon"] = "PvP아이콘 표시",
["Show Resting"] = nil,
["Show Self In Group Frames"] = nil,
["Show Totems as Buff Indicators"] = nil,
["Shrink & Return"] = nil,
["Skin"] = "스킨",
+1 -2
View File
@@ -21,7 +21,6 @@ pfUI_translation["ruRU"] = {
["Always Show Experience And Reputation Bar"] = "Всегда показывать панель опыта и репутации",
["Always Show Extended Vendor Values"] = "Всегда показывать стоимость покупки/продажи предметов",
["Always Show Item Comparison"] = "Всегда показывать сравнение предметов",
["Always Show Self In Group Frames"] = nil,
["Always Show Self In Raid Frames"] = nil,
["Always Use 2D Portraits"] = "Всегда использовать 2D портреты",
["Ammo Counter"] = "Счетчик боеприпасов",
@@ -82,7 +81,6 @@ pfUI_translation["ruRU"] = {
["|cff33ffccChat: \"Layout\"|r\n\nDo you want me to adjust the layout of your chatframes? This would make sure, that every window is placed on its dedicated position."] = "|cff33ffccЧат: \"Макет\"|r\n\nВы хотите, чтобы я скорректировал макет вашего чата? Это обеспечило бы уверенность, что каждое окно будет помещено в его выделенное положение.",
["|cff33ffccChat: \"Loot & Spam\"|r\n\nDo you want me to create and manage a specific Chatframe called \"Loot & Spam\"? This chat will display world channels, loot information and miscellaneous messages, that would otherwise clutter your main chatframe."] = "|cff33ffccЧат: \"Добыча & Спам\"|r\n\nВы хотите, чтобы я создал и управлял определенным окном чата под названием \"Добыча & Спам\"? В этом чате будут отображаться мировые каналы, информация о добыче и разные сообщения, которые в противном случае загромождали бы ваше основное окно чата.",
["|cff33ffccKeybind Mode|r\nThis mode allows you to bind keyboard shortcuts to your actionbars.\nBy hovering a button with your cursor and pressing a key, the key will be assigned to that button.\nHit Escape on a button to remove bindings.\n\nPress Escape or click on an empty area to leave the keybind mode."] = "|cff33ffccРежим назначения клавиш|r\nВ этом режиме вы можете привязывать сочетания клавиш к вашим панелям действий.\nНаведите курсор на кнопку и нажмите клавишу, клавиша будет назначена на эту кнопку.\nНажмите Escape на кнопке, чтобы удалить привязку.\n\nНажмите Escape или щелкните по пустой области, чтобы выйти из режима назначения клавиш.",
["|cff33ffccpf|cffffffffUI|cffcccccc Config"] = "|cffccccccНастройки |cff33ffccpf|cffffffffUI",
["|cff33ffccpf|rUI: New version available! Have a look at http://shagu.org !"] = "|cff33ffccpf|rUI: Доступна новая версия! Посмотрите на http://shagu.org !",
["|cffddddddIt's always safe to upgrade |cff33ffccpf|rUI. |cffddddddYou won't lose any of your configuration."] = "|cffddddddВсегда безопасно обновляйте |cff33ffccpf|rUI. |cffddddddВы не потеряете какие-либо настройки.",
["|cffff5555EVERYTHING"] = "|cffff5555ВСЁ",
@@ -495,6 +493,7 @@ pfUI_translation["ruRU"] = {
["Show PvP-Flag"] = "Показать PvP метку",
["Show PvP Icon"] = "Показать PvP иконку",
["Show Resting"] = "Показать иконку отдыха",
["Show Self In Group Frames"] = nil,
["Show Totems as Buff Indicators"] = "Показать тотемы как индикаторы баффов",
["Shrink & Return"] = "Сжатие и возврат",
["Skin"] = "оболочка",
+1 -2
View File
@@ -21,7 +21,6 @@ pfUI_translation["zhCN"] = {
["Always Show Experience And Reputation Bar"] = "总是显示经验值和声望",
["Always Show Extended Vendor Values"] = "始终显示售卖价格",
["Always Show Item Comparison"] = "始终显示装备比较(或按SHIFT键)",
["Always Show Self In Group Frames"] = nil,
["Always Show Self In Raid Frames"] = nil,
["Always Use 2D Portraits"] = "始终使用2D头像",
["Ammo Counter"] = "弹药数量",
@@ -82,7 +81,6 @@ pfUI_translation["zhCN"] = {
["|cff33ffccChat: \"Layout\"|r\n\nDo you want me to adjust the layout of your chatframes? This would make sure, that every window is placed on its dedicated position."] = "|cff33ffcc聊天框架: \"聊天窗口布局\"|r\n\n你要我调整聊天框架的布局吗? 这将确保每个窗口都放在其专用位置上。",
["|cff33ffccChat: \"Loot & Spam\"|r\n\nDo you want me to create and manage a specific Chatframe called \"Loot & Spam\"? This chat will display world channels, loot information and miscellaneous messages, that would otherwise clutter your main chatframe."] = "|cff33ffcc聊天框架: \"Loot & Spam\"|r\n\n您是否希望我创建和管理名为\"Loot & Spam\"的特定聊天框架? 此聊天将显示世界频道、战利品信息和杂项消息, 否则会干扰您的主要聊天框。",
["|cff33ffccKeybind Mode|r\nThis mode allows you to bind keyboard shortcuts to your actionbars.\nBy hovering a button with your cursor and pressing a key, the key will be assigned to that button.\nHit Escape on a button to remove bindings.\n\nPress Escape or click on an empty area to leave the keybind mode."] = "|cff33ffcc热键绑定模式|r\n这个模式允许你绑定键盘快捷方式到你的动作条。\n通过用鼠标悬停一个按钮并按下一个键,快捷键将被分配到该按钮。\n在按钮上按Esc键可以删除绑定。\n\n按Esc键或单击空白区域离开热键绑定模式。",
["|cff33ffccpf|cffffffffUI|cffcccccc Config"] = "|cff33ffccpf|cffffffffUI|cffcccccc 配置",
["|cff33ffccpf|rUI: New version available! Have a look at http://shagu.org !"] = "|cff33ffccpf|rUI: 发现新版本! http://shagu.org !",
["|cffddddddIt's always safe to upgrade |cff33ffccpf|rUI. |cffddddddYou won't lose any of your configuration."] = "|cffdddddd升级|cff33ffccpf|rUI总是安全的.建议升级! |cffdddddd你不会丢失任何配置.",
["|cffff5555EVERYTHING"] = "|cffff5555全部",
@@ -495,6 +493,7 @@ pfUI_translation["zhCN"] = {
["Show PvP-Flag"] = "显示PvP指示器",
["Show PvP Icon"] = "显示PVP图标",
["Show Resting"] = "显示休息图标",
["Show Self In Group Frames"] = nil,
["Show Totems as Buff Indicators"] = "显示图腾作为buff指示器",
["Shrink & Return"] = "收缩 & 返回",
["Skin"] = "皮肤",
+1 -2
View File
@@ -21,7 +21,6 @@ pfUI_translation["zhTW"] = {
["Always Show Experience And Reputation Bar"] = "總是顯示經驗值和聲望",
["Always Show Extended Vendor Values"] = "始終顯示售賣價格",
["Always Show Item Comparison"] = "始終顯示裝備比較",
["Always Show Self In Group Frames"] = nil,
["Always Show Self In Raid Frames"] = nil,
["Always Use 2D Portraits"] = "始終使用2D頭像",
["Ammo Counter"] = "彈藥數量",
@@ -82,7 +81,6 @@ pfUI_translation["zhTW"] = {
["|cff33ffccChat: \"Layout\"|r\n\nDo you want me to adjust the layout of your chatframes? This would make sure, that every window is placed on its dedicated position."] = "|cff33ffcc聊天框架: \"聊天視窗佈局\"|r\n\n你要我調整聊天框架的佈局嗎? 這將確保每個視窗都放在其專用位置上。",
["|cff33ffccChat: \"Loot & Spam\"|r\n\nDo you want me to create and manage a specific Chatframe called \"Loot & Spam\"? This chat will display world channels, loot information and miscellaneous messages, that would otherwise clutter your main chatframe."] = "|cff33ffcc聊天框架: \"룻팅 & 스팜\"|r\n\n您是否希望我創建和管理名為\"Loot & Spam\"的特定聊天框架? 此聊天將顯示世界頻道、戰利品資訊和雜項消息, 否則會干擾您的主要聊天框。",
["|cff33ffccKeybind Mode|r\nThis mode allows you to bind keyboard shortcuts to your actionbars.\nBy hovering a button with your cursor and pressing a key, the key will be assigned to that button.\nHit Escape on a button to remove bindings.\n\nPress Escape or click on an empty area to leave the keybind mode."] = "|cff33ffcc熱鍵綁定模式|r\n這個模式允許你綁定鍵盤快速鍵到你的動作條。\n通過用滑鼠懸停一個按鈕並按下一個鍵,快速鍵將被分配到該按鈕。\n在按鈕上按Esc鍵可以刪除綁定。\n\n按Esc鍵或按一下空白區域離開熱鍵綁定模式。",
["|cff33ffccpf|cffffffffUI|cffcccccc Config"] = "|cff33ffccpf|cffffffffUI|cffcccccc 配置",
["|cff33ffccpf|rUI: New version available! Have a look at http://shagu.org !"] = "|cff33ffccpf|rUI: 發現新版本可用! http://shagu.org !",
["|cffddddddIt's always safe to upgrade |cff33ffccpf|rUI. |cffddddddYou won't lose any of your configuration."] = "|cffdddddd升級|cff33ffccpf|rUI總是安全的.建議升級! |cffdddddd你不會丟失任何配置.",
["|cffff5555EVERYTHING"] = "|cffff5555全部",
@@ -495,6 +493,7 @@ pfUI_translation["zhTW"] = {
["Show PvP-Flag"] = "顯示PvP指示器",
["Show PvP Icon"] = "顯示PVP圖示",
["Show Resting"] = nil,
["Show Self In Group Frames"] = nil,
["Show Totems as Buff Indicators"] = "顯示圖騰作為buff指示器",
["Shrink & Return"] = nil,
["Skin"] = "皮膚",
+1 -1
View File
@@ -1427,7 +1427,7 @@ pfUI:RegisterModule("gui", 20400, function ()
CreateGUIEntry(T["Group Frames"], T["General"], function()
CreateConfig(nil, T["Use Raid Frames To Display Group Members"], C.unitframes, "raidforgroup", "checkbox")
CreateConfig(nil, T["Always Show Self In Raid Frames"], C.unitframes, "selfinraid", "checkbox")
CreateConfig(nil, T["Always Show Self In Group Frames"], C.unitframes, "selfingroup", "checkbox")
CreateConfig(nil, T["Show Self In Group Frames"], C.unitframes, "selfingroup", "checkbox")
CreateConfig(nil, T["Hide Group Frames While In Raid"], C.unitframes.group, "hide_in_raid", "checkbox")
CreateConfig(nil, T["Show Hots as Buff Indicators"], C.unitframes, "show_hots", "checkbox")
CreateConfig(nil, T["Show Hots of all Classes"], C.unitframes, "all_hots", "checkbox")