Verified Commit 9c257cd9 authored by Repooc's avatar Repooc
Browse files

Remove SquareMinimapButtons, use ProjectAzilroka for that.

parent bf5051c6
......@@ -14,8 +14,6 @@ local _CompList = {
"LootConfirm", --Module incompatible
"Mapster", --Module partially incompatible
"Pawn", --Cause armory
"SquareMinimapButtons", --Module incompatible
"SquareMinimapButtons", --Module incompatible
"SunnArt",
"TradeSkillMaster",
"WorldQuestTracker",
......@@ -54,10 +52,6 @@ function SLE:CheckIncompatible()
E:StaticPopup_Show("ENHANCED_SLE_INCOMPATIBLE")
return true
end
if SLE._Compatibility["SquareMinimapButtons"] and E.private.sle.minimap.mapicons.enable then
SLE:IncompatibleAddOn("SquareMinimapButtons", "SquareMinimapButtons", E.private.sle.minimap.mapicons, "enable")
return true
end
if SLE._Compatibility["LootConfirm"] then
E:StaticPopup_Show("LOOTCONFIRM_SLE_INCOMPATIBLE")
return true
......
......@@ -15,24 +15,12 @@ V["sle"] = {
},
--Minimap Module
["minimap"] = {
["buttons"] = {
["enable"] = true,
},
["mapicons"] = {
["enable"] = false,
["barenable"] = false,
["template"] = "Transparent",
["skindungeon"] = false,
["skinmail"] = false,
["skingarrison"] = false,
},
rectangle = false,
},
["vehicle"] = {
["enable"] = false,
["numButtons"] = 7,
},
["professions"] = {
["deconButton"] = {
["enable"] = true,
......@@ -257,7 +245,6 @@ if G["profileCopy"] then
},
["minimap"] = {
["coords"] = true,
["mapicons"] = true,
["instance"] = true,
["locPanel"] = true,
},
......
......@@ -598,15 +598,6 @@ P["sle"] = {
mail = {
hideicon = false,
},
["mapicons"] = {
["iconmouseover"] = false,
["iconsize"] = 27,
["iconperrow"] = 12,
["spacing"] = 4,
["growth_hor"] = "Right",
["growth_vert"] = "Down",
["visibility"] = "[petbattle] hide; show",
},
["instance"] = {
["enable"] = false,
["xoffset"] = -10,
......
......@@ -39,7 +39,6 @@ L["Alt-Click Invite"] = true
L["Always Compare Items"] = true
L["Amount of gold needed on a character to show it in the list"] = true
L["Amount"] = true
L["Anchor mode for displaying the minimap buttons are skinned."] = true
L["Animation time"] = true
L["Announce in chat if duel was rejected."] = true
L["Announce"] = true
......@@ -170,11 +169,8 @@ L["ELVUI_SLE_PATREON_TITLE"] = "Many thanks to our awesome patrons, who provided
L["EM_DESC"] = "This module provides different options to automatically change your equipment sets on spec change or entering certain locations. All options are character based."
L["Empty Socket"] = true
L["Enable Arrow"] = true
L["Enable Bar"] = true
L["Enable Glow"] = true
L["Enable S&L's additional features for AFK screen."] = true
L["Enable/Disable Square Minimap Bar."] = true
L["Enable/Disable Square Minimap Buttons."] = true
L["Enable/Disable Square Minimap Coords."] = true
L["Enables a different look/feel vehicle bar."] = true
L["Enables a small arrow-like indicator on the item slot. Howering over this arrow will show the item this slot is transmogged into."] = true
......@@ -273,9 +269,7 @@ L["Highlight the button of the spell with areal effect until the area is selecte
L["HK Style"] = true
L["Hold this button while clicking to allow fishing action."] = true
L["Honor Style"] = true
L["Horizontal Growth"] = true
L["HS Toys Order"] = true
L["Icons Per Row"] = true
L["Identify"] = true
L["If enabled will color durability text based on it's value."] = true
L["If enabled will start fishing even if you don't have fishing pole equipped. Will not work if you have fish key set to \"None\"."] = true
......@@ -549,12 +543,6 @@ L["Shows an icon on party or raid unitframes for people that are offline."] = tr
L["Shows icons of items looted/created near respective messages in chat. Does not affect usual messages."] = true
L["Shows the message in each chat frame containing frame's number."] = true
L["Shows you which of docked chat tabs is currently selected."] = true
L["Skin dungeon icon."] = true
L["Skin Dungeon"] = true
L["Skin garrison landing page button."] = true
L["Skin garrison"] = true
L["Skin mail icon."] = true
L["Skin Mail"] = true
L["Skinned Background"] = true
L["SLE_Advanced_Desc"] = "Following options provide access to additional customization settings in various modules. Is not recommended to new players or people not experienced in addon's configuration."
L["SLE_ADVANCED_POPUP_TEXT"] = "Do you swear that you are an experienced user,\ncan read tooltips for options and will not cry for help if you\nhorribly break your UI by utilizing additional options?\n\nIf yes, you'll be allowed to enable this option."
......@@ -637,7 +625,6 @@ L["The amount of messages to save in the editbox history.\n\n|cffFF0000Note:|r T
L["The frequency of coordinates and zonetext updates. Check will be done more often with lower values."] = true
L["The higher limit for custom roll button."] = true
L["The lower limit for custom roll button."] = true
L["The size of the minimap buttons when not anchored to the minimap."] = true
L["These options are for modifying the Shadow & Light Friends datatext."] = true
L["These options are for modifying the Shadow & Light Guild datatext."] = true
L["This hides the time remaining for your buffs."] = true
......@@ -679,7 +666,6 @@ L["Use bounce on fade in animations."] = true
L["Use ElvUI's restrictions for button presses."] = true
L["Use quick access (on right click) for this button."] = true
L["Use shadows on..."] = true
L["Vertical Growth"] = true
L["Viewport"] = true
L["Visibility State"] = true
L["Warning Only As Icons"] = true
......
......@@ -39,7 +39,6 @@ L["Alt-Click Invite"] = "Invitation Alt-click"
L["Always Compare Items"] = "Comparez toujours les articles"
L["Amount of gold needed on a character to show it in the list"] = "Quantité d'or nécessaire sur un personnage pour le faire apparaître dans la liste"
L["Amount"] = "Quantité"
L["Anchor mode for displaying the minimap buttons are skinned."] = "Le mode d'ancrage pour l'affichage des boutons de la mini-carte est dépouillé."
L["Animation time"] = "Temps d'animation"
L["Announce in chat if duel was rejected."] = "Annoncez dans le chat si le duel a été rejeté."
L["Announce"] = "Annonce"
......@@ -170,11 +169,8 @@ L["ELVUI_SLE_PATREON_TITLE"] = "Many thanks to our awesome patrons, who provided
L["EM_DESC"] = "Ce module vous permet de définir différentes préférences pour utiliser automatiquement votre équipement dans différentes situations. Tous les paramètres sont basés sur les caractères."
L["Empty Socket"] = "Base vide"
L["Enable Arrow"] = "activer la flèche"
L["Enable Bar"] = "Activer la barre"
L["Enable Glow"] = "Activer la lueur"
L["Enable S&L's additional features for AFK screen."] = "Activer les fonctionnalités supplémentaires du mode AFK de S&L."
L["Enable/Disable Square Minimap Bar."] = "Activer/désactiver la barre carrée de la Minimap."
L["Enable/Disable Square Minimap Buttons."] = "Activer/désactiver les boutons carrés de la minimap."
L["Enable/Disable Square Minimap Coords."] = "Activer/désactiver les coords carrés de la Minimap."
L["Enables a different look/feel vehicle bar."] = "Permet une barre de véhicule d'apparence et de sensation différente."
L["Enables a small arrow-like indicator on the item slot. Howering over this arrow will show the item this slot is transmogged into."] = true
......@@ -273,9 +269,7 @@ L["Highlight the button of the spell with areal effect until the area is selecte
L["HK Style"] = "Style des victoires honorables"
L["Hold this button while clicking to allow fishing action."] = "Maintenez ce bouton enfoncé pour autoriser l'action de pêche."
L["Honor Style"] = "Style d'honneur"
L["Horizontal Growth"] = "Croissance horizontale"
L["HS Toys Order"] = true
L["Icons Per Row"] = "Icônes par ligne"
L["Identify"] = "Identifier"
L["If enabled will color durability text based on it's value."] = "Si elle est activée, le texte de durabilité est coloré selon la valeur."
L["If enabled will start fishing even if you don't have fishing pole equipped. Will not work if you have fish key set to \"None\"."] = "S'il est activé, vous pourrez commencer à pêcher même si vous n'avez pas de canne à pêche équipée. Ne fonctionne pas si votre clé de pêche est réglée sur \"Aucune\"."
......@@ -549,12 +543,6 @@ L["Shows an icon on party or raid unitframes for people that are offline."] = "A
L["Shows icons of items looted/created near respective messages in chat. Does not affect usual messages."] = "Affiche une icône à côté de l'objet fabriqué/pillé dans le chat. Ne s'applique pas aux messages habituels."
L["Shows the message in each chat frame containing frame's number."] = "Affiche le message dans chaque fenêtre où le numéro s'applique."
L["Shows you which of docked chat tabs is currently selected."] = "Vous indique quel onglet du chat est actuellement sélectionné."
L["Skin dungeon icon."] = "Habillage de l'icône de donjon."
L["Skin Dungeon"] = "Habillage donjon"
L["Skin garrison landing page button."] = true
L["Skin garrison"] = true
L["Skin mail icon."] = "Habillage de l'icône de courrier."
L["Skin Mail"] = "Habillage du courrier"
L["Skinned Background"] = true
L["SLE_Advanced_Desc"] = "Les options suivantes permettent d'accéder à des paramètres supplémentaires dans différents modules. Il est déconseillé aux nouveaux joueurs ou aux joueurs qui ne sont pas familiers avec les paramètres des addons."
L["SLE_ADVANCED_POPUP_TEXT"] = "Jurez-vous que vous êtes un utilisateur expérimenté, que vous pouvez lire les infobulles pour les options et que vous ne crierez pas à l'aide si quelque chose tourne mal dans votre interface utilisateur avec ces options supplémentaires ? Si oui, vous êtes autorisé à continuer."
......@@ -637,7 +625,6 @@ L["The amount of messages to save in the editbox history.\n\n|cffFF0000Note:|r T
L["The frequency of coordinates and zonetext updates. Check will be done more often with lower values."] = "La fréquence des mises à jour des coordonnées et du texte de la zone. La vérification se fera plus souvent avec des valeurs plus faibles."
L["The higher limit for custom roll button."] = true
L["The lower limit for custom roll button."] = true
L["The size of the minimap buttons when not anchored to the minimap."] = "La taille des boutons de la minimap lorsqu'ils ne sont pas ancrés à la minimap."
L["These options are for modifying the Shadow & Light Friends datatext."] = "Ces options permettent de modifier le texte de Shadow & Light des données des Amis."
L["These options are for modifying the Shadow & Light Guild datatext."] = "Ces options permettent de modifier le texte de Shadow & Light des données de la guilde."
L["This hides the time remaining for your buffs."] = "Cela masque le temps restant pour vos buffs."
......@@ -679,7 +666,6 @@ L["Use bounce on fade in animations."] = "Utilisez le rebond sur le fondu des an
L["Use ElvUI's restrictions for button presses."] = "Utilisez les restrictions d'ElvUI pour la pression du bouton."
L["Use quick access (on right click) for this button."] = "Utilisez un accès rapide (clic droit) pour ce bouton."
L["Use shadows on..."] = "Utilisez des ombres sur ..."
L["Vertical Growth"] = "Croissance verticale"
L["Viewport"] = true
L["Visibility State"] = "État de visibilité"
L["Warning Only As Icons"] = "Avertissement uniquement sous forme d'icônes"
......
......@@ -39,7 +39,6 @@ L["Alt-Click Invite"] = "Alt-Klick Einladung"
L["Always Compare Items"] = true
L["Amount of gold needed on a character to show it in the list"] = true
L["Amount"] = "Anzahl"
L["Anchor mode for displaying the minimap buttons are skinned."] = true
L["Animation time"] = "Animationszeit"
L["Announce in chat if duel was rejected."] = true
L["Announce"] = true
......@@ -170,11 +169,8 @@ L["ELVUI_SLE_PATREON_TITLE"] = "Many thanks to our awesome patrons, who provided
L["EM_DESC"] = "Dieses Modul erlaubt dir verschiedene Einstellungen um automatisch dein Ausrüstungsset in verschiedenen Situationen zu benutzen. Alle Einstellungen sind Charakter basierend."
L["Empty Socket"] = "Leerer Sockel"
L["Enable Arrow"] = true
L["Enable Bar"] = true
L["Enable Glow"] = true
L["Enable S&L's additional features for AFK screen."] = "Aktiviere S&L zusätzliche AFK Modus Funktionalitäten."
L["Enable/Disable Square Minimap Bar."] = true
L["Enable/Disable Square Minimap Buttons."] = true
L["Enable/Disable Square Minimap Coords."] = true
L["Enables a different look/feel vehicle bar."] = true
L["Enables a small arrow-like indicator on the item slot. Howering over this arrow will show the item this slot is transmogged into."] = true
......@@ -273,9 +269,7 @@ L["Highlight the button of the spell with areal effect until the area is selecte
L["HK Style"] = "Ehrenhafte Siege Stil"
L["Hold this button while clicking to allow fishing action."] = true
L["Honor Style"] = "Ehre Stil"
L["Horizontal Growth"] = true
L["HS Toys Order"] = true
L["Icons Per Row"] = true
L["Identify"] = "Identifizieren"
L["If enabled will color durability text based on it's value."] = "Wenn aktiviert, wer der Haltbarkeitstext nach dem Wert gefärbt."
L["If enabled will start fishing even if you don't have fishing pole equipped. Will not work if you have fish key set to \"None\"."] = true
......@@ -549,12 +543,6 @@ L["Shows an icon on party or raid unitframes for people that are offline."] = tr
L["Shows icons of items looted/created near respective messages in chat. Does not affect usual messages."] = "Zeigt ein Symbol neben dem hergestellten/geplünderten Gegenstand im Chat. Wird nicht auf normale Nachrichten angewandt."
L["Shows the message in each chat frame containing frame's number."] = "Zeigt die Nachricht in jeden Fenster wo die Nummer zutrifft."
L["Shows you which of docked chat tabs is currently selected."] = "Zeigt dir welcher Chat Tab gerade ausgewählt ist."
L["Skin dungeon icon."] = true
L["Skin Dungeon"] = true
L["Skin garrison landing page button."] = true
L["Skin garrison"] = true
L["Skin mail icon."] = true
L["Skin Mail"] = true
L["Skinned Background"] = true
L["SLE_Advanced_Desc"] = "Folgende Optionen erlauben den Zugriff auf zusätzliche Einstellungen in den verschiedensten Modulen. Neuen Spielern oder Spielern die nicht vertraut mit Addon Einstellungen sind, wird nicht geraten diese zu nutzen."
L["SLE_ADVANCED_POPUP_TEXT"] = "Schwörst du, dass du ein erfahrener Benutzer bist,\ndu kannst Tooltips für Optionen lesen und wirst nicht um Hilfe schreien wenn\nirgendetwas furchtbar schief mit deinem UI passiert mit diesen zusätzlichen Optionen?\n\nFalls ja, ist es erlaubt fortzufahren."
......@@ -637,7 +625,6 @@ L["The amount of messages to save in the editbox history.\n\n|cffFF0000Note:|r T
L["The frequency of coordinates and zonetext updates. Check will be done more often with lower values."] = true
L["The higher limit for custom roll button."] = true
L["The lower limit for custom roll button."] = true
L["The size of the minimap buttons when not anchored to the minimap."] = true
L["These options are for modifying the Shadow & Light Friends datatext."] = "Diese Optionen sind zum bearbeiten des Shadow & Light Freundes-Infotexts."
L["These options are for modifying the Shadow & Light Guild datatext."] = "Diese Optionen sind zum Verändern des Shadow & Light Gilden-Infotext"
L["This hides the time remaining for your buffs."] = "Dieses wird den Timer für die Stärkungszauber verstecken."
......@@ -679,7 +666,6 @@ L["Use bounce on fade in animations."] = "Benutze springend auf verblassenden An
L["Use ElvUI's restrictions for button presses."] = "Benutze ElvUI's Beschränkungen für Tastendruck."
L["Use quick access (on right click) for this button."] = true
L["Use shadows on..."] = "Benutze Schatten auf..."
L["Vertical Growth"] = true
L["Viewport"] = true
L["Visibility State"] = "Sichtbarkeit"
L["Warning Only As Icons"] = "Warnung nur als Symbol"
......
......@@ -39,7 +39,6 @@ L["Alt-Click Invite"] = "알트+클릭 초대"
L["Always Compare Items"] = "항상 아이템 비교"
L["Amount of gold needed on a character to show it in the list"] = true
L["Amount"] = "수량"
L["Anchor mode for displaying the minimap buttons are skinned."] = true
L["Animation time"] = "움직임 시간"
L["Announce in chat if duel was rejected."] = true
L["Announce"] = true
......@@ -170,11 +169,8 @@ L["ELVUI_SLE_PATREON_TITLE"] = "Many thanks to our awesome patrons, who provided
L["EM_DESC"] = "This module provides different options to automatically change your equipment sets on spec change or entering certain locations. All options are character based."
L["Empty Socket"] = "보석 없음"
L["Enable Arrow"] = true
L["Enable Bar"] = true
L["Enable Glow"] = true
L["Enable S&L's additional features for AFK screen."] = "S&L의 추가적인 자리비움 화면 기능을 활성화합니다."
L["Enable/Disable Square Minimap Bar."] = "사각 미니맵 바를 활성화/비활성화합니다."
L["Enable/Disable Square Minimap Buttons."] = true
L["Enable/Disable Square Minimap Coords."] = true
L["Enables a different look/feel vehicle bar."] = true
L["Enables a small arrow-like indicator on the item slot. Howering over this arrow will show the item this slot is transmogged into."] = true
......@@ -273,9 +269,7 @@ L["Highlight the button of the spell with areal effect until the area is selecte
L["HK Style"] = true
L["Hold this button while clicking to allow fishing action."] = "이 키를 누름으로써 클릭하여 낚시 활동을 가능케 합니다."
L["Honor Style"] = "명예 스타일"
L["Horizontal Growth"] = "수평 성장"
L["HS Toys Order"] = true
L["Icons Per Row"] = "줄 당 아이콘"
L["Identify"] = "식별"
L["If enabled will color durability text based on it's value."] = true
L["If enabled will start fishing even if you don't have fishing pole equipped. Will not work if you have fish key set to \"None\"."] = "활성화 하면 낚시대를 착용하지 않았더라도 낚시를 시작합니다. 낚시 키를 \"없음\"으로 설정했을 때는 작용하지 않습니다."
......@@ -549,12 +543,6 @@ L["Shows an icon on party or raid unitframes for people that are offline."] = tr
L["Shows icons of items looted/created near respective messages in chat. Does not affect usual messages."] = true
L["Shows the message in each chat frame containing frame's number."] = true
L["Shows you which of docked chat tabs is currently selected."] = "어느 고정된 대화탭이 선택되었는지 표시합니다."
L["Skin dungeon icon."] = "던전 아이콘에 스킨을 입힙니다."
L["Skin Dungeon"] = "던전아이콘 스킨"
L["Skin garrison landing page button."] = "주둔지 보고서 버튼에 스킨을 입힙니다."
L["Skin garrison"] = "주둔지 스킨"
L["Skin mail icon."] = "우편 아이콘에 스킨을 입힙니다."
L["Skin Mail"] = "우편 스킨"
L["Skinned Background"] = true
L["SLE_Advanced_Desc"] = "Following options provide access to additional customization settings in various modules. Is not recommended to new players or people not experienced in addon's configuration."
L["SLE_ADVANCED_POPUP_TEXT"] = "숙련된 사용자로서 툴팁을 제대로 읽을 수 있고,\n편의를 위한 추가적인 사항 때문에 UI가 폭파되더라도\n울면서 떼쓰지 않겠다고 맹세하십니까?\n\n동의하시면, 이 설정을 활성화하여 사용하실 수 있습니다."
......@@ -637,7 +625,6 @@ L["The amount of messages to save in the editbox history.\n\n|cffFF0000Note:|r T
L["The frequency of coordinates and zonetext updates. Check will be done more often with lower values."] = true
L["The higher limit for custom roll button."] = "사용자 지정 주사위 버튼에 사용할 높은 한도입니다."
L["The lower limit for custom roll button."] = "사용자 지정 주사위 버튼에 사용할 낮은 한도입니다."
L["The size of the minimap buttons when not anchored to the minimap."] = true
L["These options are for modifying the Shadow & Light Friends datatext."] = "Shadow & Light 친구 정보문자에 대한 설정을 변경합니다."
L["These options are for modifying the Shadow & Light Guild datatext."] = "Shadow & Light 길드 정보문자에 대한 설정을 변경합니다."
L["This hides the time remaining for your buffs."] = "자신의 강화효과의 남은 지속시간을 숨깁니다."
......@@ -679,7 +666,6 @@ L["Use bounce on fade in animations."] = true
L["Use ElvUI's restrictions for button presses."] = true
L["Use quick access (on right click) for this button."] = "이 버튼에 빠른 접근(우클릭시 작동)을 사용합니다."
L["Use shadows on..."] = "그림자 사용할 곳"
L["Vertical Growth"] = "수직 성장"
L["Viewport"] = true
L["Visibility State"] = "표시 상태"
L["Warning Only As Icons"] = "경보에 아이콘만 사용"
......
......@@ -39,7 +39,6 @@ L["Alt-Click Invite"] = "Альт-клик для приглашения"
L["Always Compare Items"] = "Всегда сравнивать предметы"
L["Amount of gold needed on a character to show it in the list"] = "Кол-во золота, которое должно быть на персонаже, чтобы он отображался в списке."
L["Amount"] = "Количество"
L["Anchor mode for displaying the minimap buttons are skinned."] = "Место расположения иконок аддонов, когда они стилизованы."
L["Animation time"] = "Время анимации"
L["Announce in chat if duel was rejected."] = "Сообщать в чат, когда запрос был отклонен."
L["Announce"] = "Сообщать"
......@@ -170,11 +169,8 @@ L["ELVUI_SLE_PATREON_TITLE"] = "Огромное спасибо нашим сп
L["EM_DESC"] = "Этот модуль предоставляет различные опции для автоматической смены комплектов экипировки при переключении набора талантов или попадании в определенную локацию."
L["Empty Socket"] = "Пустой слот"
L["Enable Arrow"] = "Включить стрелку"
L["Enable Bar"] = "Включить полосу"
L["Enable Glow"] = "Включить свечение"
L["Enable S&L's additional features for AFK screen."] = "Активировать дополнительные опции для режима АФК."
L["Enable/Disable Square Minimap Bar."] = "Включить/выключить панель для иконок миникарты."
L["Enable/Disable Square Minimap Buttons."] = "Включить/выключить квадратные иконки у миникарты."
L["Enable/Disable Square Minimap Coords."] = "Включить/выключить координаты на миникарте."
L["Enables a different look/feel vehicle bar."] = "Включить специальную панель команд транспорта."
L["Enables a small arrow-like indicator on the item slot. Howering over this arrow will show the item this slot is transmogged into."] = "отображать индикатор в виде стрелки на слоте. При наведении курсора на стрелку будет показываться название предмета трансмогрификации."
......@@ -273,9 +269,7 @@ L["Highlight the button of the spell with areal effect until the area is selecte
L["HK Style"] = "Стиль почетной победы"
L["Hold this button while clicking to allow fishing action."] = "Удерживайте эту кнопку для быстрой рыбалки."
L["Honor Style"] = "Стиль чести"
L["Horizontal Growth"] = "Горизонтаьный рост"
L["HS Toys Order"] = "Порядок игрушек-камней"
L["Icons Per Row"] = "Иконок в ряду"
L["Identify"] = "Определить"
L["If enabled will color durability text based on it's value."] = "Если включено, будет окрашивать текст прочности в зависимости от его значения."
L["If enabled will start fishing even if you don't have fishing pole equipped. Will not work if you have fish key set to \"None\"."] = "При включении будет начинать рыбачить даже без надетой удочки. Не будет работать, если модификатор рыбалки выставлен на \"Нет\"."
......@@ -549,12 +543,6 @@ L["Shows an icon on party or raid unitframes for people that are offline."] = "
L["Shows icons of items looted/created near respective messages in chat. Does not affect usual messages."] = "Отображает иконки созданных/полученных предметов в соответствующих сообщениях чата. Не влияет на обычные сообщения."
L["Shows the message in each chat frame containing frame's number."] = "Оображает на каждой вкладке сообщеине с ее идентификатором."
L["Shows you which of docked chat tabs is currently selected."] = "Показывает какая из закрепленных вкладок сейчас активна."
L["Skin dungeon icon."] = "Скинить иконку поиска группы."
L["Skin Dungeon"] = "Иконка поиска"
L["Skin garrison landing page button."] = "Скинить кнопку гарнизона"
L["Skin garrison"] = "Иконка гарнизона"
L["Skin mail icon."] = "Скинить иконку письма."
L["Skin Mail"] = "Иконка почты"
L["Skinned Background"] = "Скин фона"
L["SLE_Advanced_Desc"] = "Следующие опции дают доступ к дополнительным настройкам. Не рекомендуется для использванием новичкам или людям без опыта настройки аддонов."
L["SLE_ADVANCED_POPUP_TEXT"] = "Клянетесь ли вы, что являетесь опытным пользователем,\nумеете читать подсказки и не будете разводить панику, если\nжестоким образом обезобразите интерфейс ипри помощи дополнительных опций?\n\nЕсли да, то вам дадут включить эту опцию."
......@@ -637,7 +625,6 @@ L["The amount of messages to save in the editbox history.\n\n|cffFF0000Note:|r T
L["The frequency of coordinates and zonetext updates. Check will be done more often with lower values."] = "Частота обновления координат и текста локации. Проверка проводится чаще с более низким значением."
L["The higher limit for custom roll button."] = "Верхняя граница броска при использовании собственных установок."
L["The lower limit for custom roll button."] = "Нижняя граница броска при использовании собственных установок."
L["The size of the minimap buttons when not anchored to the minimap."] = "Размер конопок миникарты, когда они не прикреплены к нейй."
L["These options are for modifying the Shadow & Light Friends datatext."] = "Опции для настройки инфо-текста S&L Friends."
L["These options are for modifying the Shadow & Light Guild datatext."] = "Опции для настройки инфо-текста S&L Guild."
L["This hides the time remaining for your buffs."] = "Скрывает оставшееся время действия баффов на вас."
......@@ -679,7 +666,6 @@ L["Use bounce on fade in animations."] = "При появлении элемен
L["Use ElvUI's restrictions for button presses."] = "Использовать ограничения Elv'а на нажатия клавиш."
L["Use quick access (on right click) for this button."] = "Функция для быстрого действия. Вызывается нажатием ПКМ на кнопке открытия списка."
L["Use shadows on..."] = "Использовать тени на..."
L["Vertical Growth"] = "Вертикальный рост"
L["Viewport"] = true
L["Visibility State"] = "Видимость"
L["Warning Only As Icons"] = "Предупреждение только иконкой"
......
<Ui xmlns="http://www.blizzard.com/wow/ui/">
<Script file='minimapcoords.lua'/>
<Script file='minimapicons.lua'/>
<Script file='instance.lua'/>
<Script file='locationbar.lua'/>
<Script file='rectminimap.lua'/>
......
local SLE, T, E, L, V, P, G = unpack(select(2, ...))
local SMB = SLE:NewModule('SquareMinimapButtons','AceHook-3.0', 'AceEvent-3.0');
--GLOBALS: CreateFrame, UIParent
local _G = _G
local RegisterStateDriver = RegisterStateDriver
local strsub, ceil = strsub, ceil
local TexCoords = { 0.1, 0.9, 0.1, 0.9 }
local HBDpins --For TomTom stuff
if E.private.sle == nil then E.private.sle = {} end
if E.private.sle.minimap == nil then E.private.sle.minimap = {} end
if E.private.sle.minimap.mapicons == nil then E.private.sle.minimap.mapicons = {} end
if E.private.sle.minimap.mapicons.enable == nil then E.private.sle.minimap.mapicons.enable = false end
if E.private.sle.minimap.mapicons.barenable == nil then E.private.sle.minimap.mapicons.barenable = false end
local UIFrameFadeIn, UIFrameFadeOut = UIFrameFadeIn, UIFrameFadeOut
local ShowUIPanel, HideUIPanel = ShowUIPanel, HideUIPanel
local GroupFinderFrame_ShowGroupFrame = GroupFinderFrame_ShowGroupFrame
local SMARTBUFF_MinimapButton_CheckPos, SMARTBUFF_MinimapButton_OnUpdate
local function OnEnter(self)
UIFrameFadeIn(SMB.bar, 0.2, SMB.bar:GetAlpha(), 1)
if self ~= SMB.bar then
self:SetBackdropBorderColor(unpack(E["media"].rgbvaluecolor))
end
end
local function OnLeave(self)
if not SMB.bar then return end
if E.db.sle.minimap.mapicons.iconmouseover then
UIFrameFadeOut(SMB.bar, 0.2, SMB.bar:GetAlpha(), 0)
end
if self ~= SMB.bar then
self:SetBackdropBorderColor(unpack(E["media"].bordercolor))
end
end
function SMB:ChangeMouseOverSetting()
if E.db.sle.minimap.mapicons.iconmouseover then
SMB.bar:SetAlpha(0)
else
SMB.bar:SetAlpha(1)
end
end
SMB.SkinnedMinimapButtons = {}
SMB.ignoreButtons = {
'BattlefieldMinimap',
'ButtonCollectFrame',
'ElvConfigToggle',
'GameTimeFrame',
'HelpOpenTicketButton',
'HelpOpenWebTicketButton',
'MiniMapTrackingButton',
'MiniMapVoiceChatFrame',
'TimeManagerClockButton',
}
SMB.GenericIgnores = {
'Archy',
'Cork',
'DugisArrowMinimapPoint',
'GatherMatePin',
'GatherNote',
'GuildInstance',
'GuildMap3Mini',
'HandyNotesPin',
'LibRockConfig-1.0_MinimapButton',
'MinimMap',
'NauticusMiniIcon',
'poiMinimap',
'Spy_MapNoteList_mini',
'WestPointer',
'ZGVMarker',
}
SMB.PartialIgnores = {
'Node',
'Note',
'Pin',
'POI',
}
SMB.WhiteList = {
'LibDBIcon',
}
SMB.AcceptedFrames = {
'BagSync_MinimapButton',
'VendomaticButtonFrame',
'MiniMapMailFrame',
}
SMB.AddButtonsToBar = {
'SmartBuff_MiniMapButton',
'QueueStatusMinimapButton',
'MiniMapMailFrame',
"ItemRackMinimapFrame",
"GarrisonLandingPageMinimapButton",
}
function SMB:SkinButton(Button)
if not Button.isSkinned then
local Name = Button:GetName()
if not Name and HBDpins and Button.icon then
for button,data in pairs(HBDpins.minimapPins) do
if Button == button then
Button.isSkinned = true
return
end
end
end
--Old way to deal with tomtom. Maybe will need it at some time in the future
--[[if TomTom and not Name and Button.icon then
local texture = Button.icon:GetTexture()
if strfind(texture, "TomTom") or strfind(texture, "WoWPro") then
Button.isSkinned = true
return
end
end]]
if Button:IsObjectType('Button') then
local ValidIcon = false
if Name then
for i = 1, #SMB.WhiteList do
if strsub(Name, 1, strlen(SMB.WhiteList[i])) == SMB.WhiteList[i] then ValidIcon = true break end
end
if not ValidIcon then
for i = 1, #SMB.ignoreButtons do
if Name == SMB.ignoreButtons[i] then return end
end
for i = 1, #SMB.GenericIgnores do
if strsub(Name, 1, strlen(SMB.GenericIgnores[i])) == SMB.GenericIgnores[i] then return end
end
for i = 1, #SMB.PartialIgnores do
if strfind(Name, SMB.PartialIgnores[i]) ~= nil then return end
end
end
end
Button:SetPushedTexture(nil)
Button:SetHighlightTexture(nil)
Button:SetDisabledTexture(nil)
if Name == "GarrisonLandingPageMinimapButton" then Button:SetScale(1) end
if Name == "GRM_MinimapButton" then GRM_MinimapButtonBorder:Hide() end
end
for i = 1, Button:GetNumRegions() do
local Region = select(i, Button:GetRegions())
if Region:GetObjectType() == 'Texture' then
local Texture = Region:GetTexture()
if Texture and (strfind(Texture, 'Border') or strfind(Texture, 'Background') or strfind(Texture, 'AlphaMask')) then
Region:SetTexture(nil)
else
if Name == 'BagSync_MinimapButton' then Region:SetTexture('Interface\\AddOns\\BagSync\\media\\icon') end
if Name == 'LibDBIcon10_DBM' then Region:SetTexture('Interface\\Icons\\INV_Helmet_87') end
if Name == 'SmartBuff_MiniMapButton' then Region:SetTexture(select(3, GetSpellInfo(12051))) end
if Name == 'MiniMapMailFrame' then
Region:ClearAllPoints()
Region:SetPoint('CENTER', Button)
end
if not (Name == 'MiniMapMailFrame' or Name == 'SmartBuff_MiniMapButton') then
Region:ClearAllPoints() --Prob dont need this as simpy said this is called when setinside is called
Region:SetInside()
Region:SetTexCoord(unpack(TexCoords))
Button:HookScript('OnLeave', function(self) Region:SetTexCoord(unpack(TexCoords)) end)
end
Region:SetDrawLayer('ARTWORK')
Region.SetPoint = function() return end
end
end
end
Button:SetFrameLevel(_G["Minimap"]:GetFrameLevel() + 5)
Button:Size(E.db.sle.minimap.mapicons.iconsize)
if Name == 'SmartBuff_MiniMapButton' then
Button:SetNormalTexture("Interface\\Icons\\Spell_Nature_Purge")
Button:GetNormalTexture():SetTexCoord(unpack(TexCoords))
Button.SetNormalTexture = function() end
Button:SetDisabledTexture("Interface\\Icons\\Spell_Nature_Purge")
Button:GetDisabledTexture():SetTexCoord(unpack(TexCoords))
elseif Name == 'VendomaticButtonFrame' then
_G["VendomaticButton"]:StripTextures()
_G["VendomaticButton"]:SetInside()
_G["VendomaticButtonIcon"]:SetTexture('Interface\\Icons\\INV_Misc_Rabbit_2')
_G["VendomaticButtonIcon"]:SetTexCoord(unpack(TexCoords))
elseif Name == 'QueueStatusMinimapButton' then
_G["QueueStatusMinimapButton"]:HookScript('OnUpdate', function(self)
_G["QueueStatusMinimapButtonIcon"]:SetFrameLevel(_G["QueueStatusMinimapButton"]:GetFrameLevel() + 1)
end)
local Frame = CreateFrame('Frame', "QueueDummyFrame", E.private.sle.minimap.mapicons.barenable and SMB.bar or Minimap)
Frame:SetTemplate()
Frame.Icon = Frame:CreateTexture(nil, 'ARTWORK')
Frame.Icon:SetInside()
Frame.Icon:SetTexture([[Interface\LFGFrame\LFG-Eye]])
Frame.Icon:SetTexCoord(0, 64 / 512, 0, 64 / 256)
Frame:SetScript('OnMouseDown', function()
if _G["PVEFrame"]:IsShown() then
HideUIPanel(_G["PVEFrame"])
else
ShowUIPanel(_G["PVEFrame"])
GroupFinderFrame_ShowGroupFrame()
end
end)
SMB.bar:HookScript('OnUpdate', function()
if E.private.sle.minimap.mapicons.skindungeon then
Frame:Show()
else
Frame:Hide()
end
end)
_G["QueueStatusMinimapButton"]:HookScript('OnShow', function()
if E.private.sle.minimap.mapicons.skindungeon then
Frame:Show()
else
Frame:Hide()
end
end)
Frame:HookScript('OnEnter', OnEnter)
Frame:HookScript('OnLeave', OnLeave)
Frame:SetScript('OnUpdate', function(self)
if _G["QueueStatusMinimapButton"]:IsShown() then
self:EnableMouse(false)
else
self:EnableMouse(true)
end
self:Size(E.db.sle.minimap.mapicons.iconsize)