mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 02:16:02 +00:00
updatenotify: isolate fork from upstream pfUI traffic + handle dev builds
Switches the addon-message prefix to "pfUI-brues" so we don't share an
inbound queue with upstream pfUI installs at all — they don't register
a listener for this prefix, so our broadcasts get dropped at the engine
level instead of needing branch-string filtering on their end. The
"main" branch tag stays as a tiebreaker for any future fork variant
sharing this prefix.
Source/dev installs leave the toc Version as "@project-version@" until
release tooling substitutes it. pfUI.lua now stamps those as "dev" with
major/minor/fix=0 instead of silently falling back to 1.2.0, and
updatenotify short-circuits on pfUI.version.string == "dev" before
broadcasting so dev installs don't ship a stale low version to everyone
in guild/raid. Single source of truth — the dev marker lives in pfUI.lua.
URLs centralize via the toc's X-Website. updatenotify and firstrun read
it via GetAddOnMetadata + string.format("%s"), and all eight translation
files swap their hardcoded shagu.org references for the same %s slot.
Drive-bys: groupsize math uses ClassicAPI's IsInRaid/IsInGroup; toc
Author typo "modfied" → "modified".
This commit is contained in:
Vendored
+2
-2
@@ -108,7 +108,7 @@ pfUI_translation["deDE"] = {
|
||||
["|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,
|
||||
["|cff33ffccpf|rUI: New version available! Get it at %s"] = nil,
|
||||
["|cffddddddIt's always safe to upgrade |cff33ffccpf|rUI. |cffddddddYou won't lose any of your configuration."] = nil,
|
||||
["|cffff5555EVERYTHING"] = nil,
|
||||
["Channeling Color"] = nil,
|
||||
@@ -865,7 +865,7 @@ pfUI_translation["deDE"] = {
|
||||
["Very Fast"] = nil,
|
||||
["Very Slow"] = nil,
|
||||
["Website"] = nil,
|
||||
["Welcome to |cff33ffccpf|cffffffffUI|r!\n\nI'm the first run wizard that will guide you through some basic configuration. If you're lazy, feel free to hit the \"Defaults\" button. If you wish to run this dialog again, go to the settings and hit the \"Reset Firstrun\" button.\n\nVisit |cff33ffcchttp://shagu.org|r to check for the latest version."] = nil,
|
||||
["Welcome to |cff33ffccpf|cffffffffUI|r!\n\nI'm the first run wizard that will guide you through some basic configuration. If you're lazy, feel free to hit the \"Defaults\" button. If you wish to run this dialog again, go to the settings and hit the \"Reset Firstrun\" button.\n\nVisit |cff33ffcc%s|r to check for the latest version."] = nil,
|
||||
["Whitelist"] = nil,
|
||||
["Who Search Unknown Classes (|cffffaaaaExperimental|r)"] = nil,
|
||||
["Width"] = nil,
|
||||
|
||||
Vendored
+2
-2
@@ -108,7 +108,7 @@ pfUI_translation["enUS"] = {
|
||||
["|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,
|
||||
["|cff33ffccpf|rUI: New version available! Get it at %s"] = nil,
|
||||
["|cffddddddIt's always safe to upgrade |cff33ffccpf|rUI. |cffddddddYou won't lose any of your configuration."] = nil,
|
||||
["|cffff5555EVERYTHING"] = nil,
|
||||
["Channeling Color"] = nil,
|
||||
@@ -865,7 +865,7 @@ pfUI_translation["enUS"] = {
|
||||
["Very Fast"] = nil,
|
||||
["Very Slow"] = nil,
|
||||
["Website"] = nil,
|
||||
["Welcome to |cff33ffccpf|cffffffffUI|r!\n\nI'm the first run wizard that will guide you through some basic configuration. If you're lazy, feel free to hit the \"Defaults\" button. If you wish to run this dialog again, go to the settings and hit the \"Reset Firstrun\" button.\n\nVisit |cff33ffcchttp://shagu.org|r to check for the latest version."] = nil,
|
||||
["Welcome to |cff33ffccpf|cffffffffUI|r!\n\nI'm the first run wizard that will guide you through some basic configuration. If you're lazy, feel free to hit the \"Defaults\" button. If you wish to run this dialog again, go to the settings and hit the \"Reset Firstrun\" button.\n\nVisit |cff33ffcc%s|r to check for the latest version."] = nil,
|
||||
["Whitelist"] = nil,
|
||||
["Who Search Unknown Classes (|cffffaaaaExperimental|r)"] = nil,
|
||||
["Width"] = nil,
|
||||
|
||||
Vendored
+2
-2
@@ -108,7 +108,7 @@ pfUI_translation["esES"] = {
|
||||
["|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",
|
||||
["|cff33ffccpf|rUI: New version available! Get it at %s"] = "|cff33ffccpf|rUI: ¡Nueva versión disponible! Échale un vistazo a %s",
|
||||
["|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",
|
||||
["Channeling Color"] = "Color de hechizos canalizados",
|
||||
@@ -865,7 +865,7 @@ pfUI_translation["esES"] = {
|
||||
["Very Fast"] = "Muy rápido",
|
||||
["Very Slow"] = "Muy lento",
|
||||
["Website"] = "Sitio de web",
|
||||
["Welcome to |cff33ffccpf|cffffffffUI|r!\n\nI'm the first run wizard that will guide you through some basic configuration. If you're lazy, feel free to hit the \"Defaults\" button. If you wish to run this dialog again, go to the settings and hit the \"Reset Firstrun\" button.\n\nVisit |cff33ffcchttp://shagu.org|r to check for the latest version."] = "¡Bienvenido a |cff33ffccpf|cffffffffUI|r!\n\nSoy el asistente de instalación que te guiará con la configuración básica. Si prefieres, puedes hacer clic el botón \"Predeterminado\" para cargar la configuración por defecto. Si quieres abrir este diálogo de nuevo, ve a la configuración y haz clic en el botón \"Reiniciar Primera vez\".\n\nVisita |cff33ffcchttp://shagu.org|r para descargar la última versión.",
|
||||
["Welcome to |cff33ffccpf|cffffffffUI|r!\n\nI'm the first run wizard that will guide you through some basic configuration. If you're lazy, feel free to hit the \"Defaults\" button. If you wish to run this dialog again, go to the settings and hit the \"Reset Firstrun\" button.\n\nVisit |cff33ffcc%s|r to check for the latest version."] = "¡Bienvenido a |cff33ffccpf|cffffffffUI|r!\n\nSoy el asistente de instalación que te guiará con la configuración básica. Si prefieres, puedes hacer clic el botón \"Predeterminado\" para cargar la configuración por defecto. Si quieres abrir este diálogo de nuevo, ve a la configuración y haz clic en el botón \"Reiniciar Primera vez\".\n\nVisita |cff33ffcc%s|r para descargar la última versión.",
|
||||
["Whitelist"] = "Lista blanca",
|
||||
["Who Search Unknown Classes (|cffffaaaaExperimental|r)"] = nil,
|
||||
["Width"] = "Ancho",
|
||||
|
||||
Vendored
+2
-2
@@ -108,7 +108,7 @@ pfUI_translation["frFR"] = {
|
||||
["|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"] = "|cff33ffccpf|cffffffffUI|cffcccccc Configuration",
|
||||
["|cff33ffccpf|rUI: New version available! Have a look at http://shagu.org !"] = "|cff33ffccpf|rUI: Nouvelle Version disponible ! Regardez sur http://shagu.org !",
|
||||
["|cff33ffccpf|rUI: New version available! Get it at %s"] = "|cff33ffccpf|rUI: Nouvelle Version disponible ! Récupérez-la sur %s",
|
||||
["|cffddddddIt's always safe to upgrade |cff33ffccpf|rUI. |cffddddddYou won't lose any of your configuration."] = "|cffddddddC'est toujours plus sûr de mettre à jour |cff33ffccpf|rUI. |cffddddddVous ne perdrez pas vos configurations.",
|
||||
["|cffff5555EVERYTHING"] = "|cffff5555ABSOLUMENT TOUT",
|
||||
["Channeling Color"] = "Couleur de canalisation",
|
||||
@@ -865,7 +865,7 @@ pfUI_translation["frFR"] = {
|
||||
["Very Fast"] = "Très Rapide",
|
||||
["Very Slow"] = "Très Doucement",
|
||||
["Website"] = "Site web",
|
||||
["Welcome to |cff33ffccpf|cffffffffUI|r!\n\nI'm the first run wizard that will guide you through some basic configuration. If you're lazy, feel free to hit the \"Defaults\" button. If you wish to run this dialog again, go to the settings and hit the \"Reset Firstrun\" button.\n\nVisit |cff33ffcchttp://shagu.org|r to check for the latest version."] = "Bienvenue sur l'assistant d'installation de l'interface |cff33ffccpf|cffffffffUI|r!\n\nNous allons effectuer quelques configurations de base. Si vous n'avez pas la patience, cliquer sur le bouton \"Paramètres par défaut\". Si vous souhaitez relancer cette fenêtre de dialogue, allez dans les options et cliquez sur le bouton\"Réinitialiser l'assistant d'installation\" .\n\nAllez sur |cff33ffcchttp://shagu.org|r pour télécharger la dernière version.",
|
||||
["Welcome to |cff33ffccpf|cffffffffUI|r!\n\nI'm the first run wizard that will guide you through some basic configuration. If you're lazy, feel free to hit the \"Defaults\" button. If you wish to run this dialog again, go to the settings and hit the \"Reset Firstrun\" button.\n\nVisit |cff33ffcc%s|r to check for the latest version."] = "Bienvenue sur l'assistant d'installation de l'interface |cff33ffccpf|cffffffffUI|r!\n\nNous allons effectuer quelques configurations de base. Si vous n'avez pas la patience, cliquer sur le bouton \"Paramètres par défaut\". Si vous souhaitez relancer cette fenêtre de dialogue, allez dans les options et cliquez sur le bouton\"Réinitialiser l'assistant d'installation\" .\n\nAllez sur |cff33ffcc%s|r pour télécharger la dernière version.",
|
||||
["Whitelist"] = "List blanche",
|
||||
["Who Search Unknown Classes (|cffffaaaaExperimental|r)"] = nil,
|
||||
["Width"] = "Largeur",
|
||||
|
||||
Vendored
+2
-2
@@ -108,7 +108,7 @@ pfUI_translation["koKR"] = {
|
||||
["|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,
|
||||
["|cff33ffccpf|rUI: New version available! Get it at %s"] = nil,
|
||||
["|cffddddddIt's always safe to upgrade |cff33ffccpf|rUI. |cffddddddYou won't lose any of your configuration."] = nil,
|
||||
["|cffff5555EVERYTHING"] = "|cffff5555모두(전체)",
|
||||
["Channeling Color"] = "채널링 색상",
|
||||
@@ -865,7 +865,7 @@ pfUI_translation["koKR"] = {
|
||||
["Very Fast"] = "매우 빠르게",
|
||||
["Very Slow"] = "매우 느리게",
|
||||
["Website"] = nil,
|
||||
["Welcome to |cff33ffccpf|cffffffffUI|r!\n\nI'm the first run wizard that will guide you through some basic configuration. If you're lazy, feel free to hit the \"Defaults\" button. If you wish to run this dialog again, go to the settings and hit the \"Reset Firstrun\" button.\n\nVisit |cff33ffcchttp://shagu.org|r to check for the latest version."] = "|cff33ffccpf|cffffffffUI|r에 |cff33ffcc오신걸 환영합니다.|r \n\n저는 몇 가지 기본 구성을 안내 할 첫 번째 실행 위자드입니다. 모든 단계를 건너 뛰고 싶으시면 \"기본값 사용\" 버튼을 누르십시오. 이 대화 상자를 다시 실행하려면 추후 설정으로 이동하여 \"첫단계로 재설정\" 버튼을 누르십시오.\n\n최신버전 다운로드 사이트: |cff33ffcchttp://shagu.org|r",
|
||||
["Welcome to |cff33ffccpf|cffffffffUI|r!\n\nI'm the first run wizard that will guide you through some basic configuration. If you're lazy, feel free to hit the \"Defaults\" button. If you wish to run this dialog again, go to the settings and hit the \"Reset Firstrun\" button.\n\nVisit |cff33ffcc%s|r to check for the latest version."] = "|cff33ffccpf|cffffffffUI|r에 |cff33ffcc오신걸 환영합니다.|r \n\n저는 몇 가지 기본 구성을 안내 할 첫 번째 실행 위자드입니다. 모든 단계를 건너 뛰고 싶으시면 \"기본값 사용\" 버튼을 누르십시오. 이 대화 상자를 다시 실행하려면 추후 설정으로 이동하여 \"첫단계로 재설정\" 버튼을 누르십시오.\n\n최신버전 다운로드 사이트: |cff33ffcc%s|r",
|
||||
["Whitelist"] = nil,
|
||||
["Who Search Unknown Classes (|cffffaaaaExperimental|r)"] = nil,
|
||||
["Width"] = nil,
|
||||
|
||||
Vendored
+2
-2
@@ -108,7 +108,7 @@ pfUI_translation["ruRU"] = {
|
||||
["|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 !",
|
||||
["|cff33ffccpf|rUI: New version available! Get it at %s"] = "|cff33ffccpf|rUI: Доступна новая версия! Посмотрите на %s",
|
||||
["|cffddddddIt's always safe to upgrade |cff33ffccpf|rUI. |cffddddddYou won't lose any of your configuration."] = "|cffddddddВсегда безопасно обновляйте |cff33ffccpf|rUI. |cffddddddВы не потеряете какие-либо настройки.",
|
||||
["|cffff5555EVERYTHING"] = "|cffff5555ВСЁ",
|
||||
["Channeling Color"] = "Цвет потокового произнесения",
|
||||
@@ -865,7 +865,7 @@ pfUI_translation["ruRU"] = {
|
||||
["Very Fast"] = "Очень быстро",
|
||||
["Very Slow"] = "Очень медленно",
|
||||
["Website"] = "Веб-сайт",
|
||||
["Welcome to |cff33ffccpf|cffffffffUI|r!\n\nI'm the first run wizard that will guide you through some basic configuration. If you're lazy, feel free to hit the \"Defaults\" button. If you wish to run this dialog again, go to the settings and hit the \"Reset Firstrun\" button.\n\nVisit |cff33ffcchttp://shagu.org|r to check for the latest version."] = "Добро пожаловать в |cff33ffccpf|cffffffffUI|r!\n\nЯ мастер первого запуска, который проведет вас через некоторую базовую конфигурацию. Если вы ленитесь, не стесняйтесь нажать кнопку \"По умолчанию\". Если вы хотите снова запустить этот диалог, перейдите к настройкам и нажмите кнопку \"Первый запуск\".\n\nПосетите |cff33ffcchttp://shagu.org|r, чтобы проверить последнюю версию.",
|
||||
["Welcome to |cff33ffccpf|cffffffffUI|r!\n\nI'm the first run wizard that will guide you through some basic configuration. If you're lazy, feel free to hit the \"Defaults\" button. If you wish to run this dialog again, go to the settings and hit the \"Reset Firstrun\" button.\n\nVisit |cff33ffcc%s|r to check for the latest version."] = "Добро пожаловать в |cff33ffccpf|cffffffffUI|r!\n\nЯ мастер первого запуска, который проведет вас через некоторую базовую конфигурацию. Если вы ленитесь, не стесняйтесь нажать кнопку \"По умолчанию\". Если вы хотите снова запустить этот диалог, перейдите к настройкам и нажмите кнопку \"Первый запуск\".\n\nПосетите |cff33ffcc%s|r, чтобы проверить последнюю версию.",
|
||||
["Whitelist"] = "\"Белый\" список",
|
||||
["Who Search Unknown Classes (|cffffaaaaExperimental|r)"] = nil,
|
||||
["Width"] = "Ширина",
|
||||
|
||||
Vendored
+2
-2
@@ -108,7 +108,7 @@ pfUI_translation["zhCN"] = {
|
||||
["|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 !",
|
||||
["|cff33ffccpf|rUI: New version available! Get it at %s"] = "|cff33ffccpf|rUI: 发现新版本! %s",
|
||||
["|cffddddddIt's always safe to upgrade |cff33ffccpf|rUI. |cffddddddYou won't lose any of your configuration."] = "|cffdddddd升级|cff33ffccpf|rUI总是安全的.建议升级! |cffdddddd你不会丢失任何配置.",
|
||||
["|cffff5555EVERYTHING"] = "|cffff5555全部",
|
||||
["Channeling Color"] = "引导施法读条颜色",
|
||||
@@ -866,7 +866,7 @@ pfUI_translation["zhCN"] = {
|
||||
["Very Fast"] = "非常快",
|
||||
["Very Slow"] = "非常慢",
|
||||
["Website"] = "网站",
|
||||
["Welcome to |cff33ffccpf|cffffffffUI|r!\n\nI'm the first run wizard that will guide you through some basic configuration. If you're lazy, feel free to hit the \"Defaults\" button. If you wish to run this dialog again, go to the settings and hit the \"Reset Firstrun\" button.\n\nVisit |cff33ffcchttp://shagu.org|r to check for the latest version."] = "欢迎使用 |cff33ffccpf|cffffffffUI|r! \n\n这是第一次运行向导,将引导您完成一些基本配置。 如果你想跳过所有步骤\"使用默认\"按钮。 如果您再次运行此对话框,请转到设置并点击 \"Reset Firstrun\" 按钮。\n\n访问 |cff33ffcchttp://shagu.org|r 检查最新版本。",
|
||||
["Welcome to |cff33ffccpf|cffffffffUI|r!\n\nI'm the first run wizard that will guide you through some basic configuration. If you're lazy, feel free to hit the \"Defaults\" button. If you wish to run this dialog again, go to the settings and hit the \"Reset Firstrun\" button.\n\nVisit |cff33ffcc%s|r to check for the latest version."] = "欢迎使用 |cff33ffccpf|cffffffffUI|r! \n\n这是第一次运行向导,将引导您完成一些基本配置。 如果你想跳过所有步骤\"使用默认\"按钮。 如果您再次运行此对话框,请转到设置并点击 \"Reset Firstrun\" 按钮。\n\n访问 |cff33ffcc%s|r 检查最新版本。",
|
||||
["Whitelist"] = "白名单",
|
||||
["Who Search Unknown Classes (|cffffaaaaExperimental|r)"] = nil,
|
||||
["Width"] = "宽度",
|
||||
|
||||
Vendored
+2
-2
@@ -108,7 +108,7 @@ pfUI_translation["zhTW"] = {
|
||||
["|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"] = nil,
|
||||
["|cff33ffccpf|rUI: New version available! Have a look at http://shagu.org !"] = "|cff33ffccpf|rUI: 發現新版本可用! http://shagu.org !",
|
||||
["|cff33ffccpf|rUI: New version available! Get it at %s"] = "|cff33ffccpf|rUI: 發現新版本可用! %s",
|
||||
["|cffddddddIt's always safe to upgrade |cff33ffccpf|rUI. |cffddddddYou won't lose any of your configuration."] = "|cffdddddd升級|cff33ffccpf|rUI總是安全的.建議升級! |cffdddddd你不會丟失任何配置.",
|
||||
["|cffff5555EVERYTHING"] = "|cffff5555全部",
|
||||
["Channeling Color"] = "引導施法讀條顏色",
|
||||
@@ -865,7 +865,7 @@ pfUI_translation["zhTW"] = {
|
||||
["Very Fast"] = "非常快",
|
||||
["Very Slow"] = "非常慢",
|
||||
["Website"] = nil,
|
||||
["Welcome to |cff33ffccpf|cffffffffUI|r!\n\nI'm the first run wizard that will guide you through some basic configuration. If you're lazy, feel free to hit the \"Defaults\" button. If you wish to run this dialog again, go to the settings and hit the \"Reset Firstrun\" button.\n\nVisit |cff33ffcchttp://shagu.org|r to check for the latest version."] = "歡迎使用 |cff33ffccpf|cffffffffUI|r! \n\n這是第一次運行嚮導,將引導您完成一些基本配置。 如果你想跳過所有步驟\"使用預設\"按鈕。 如果您再次運行此對話方塊,請轉到設置並點擊 \"Reset Firstrun\" 按鈕。\n\n訪問 |cff33ffcchttp://shagu.org|r 檢查最新版本。",
|
||||
["Welcome to |cff33ffccpf|cffffffffUI|r!\n\nI'm the first run wizard that will guide you through some basic configuration. If you're lazy, feel free to hit the \"Defaults\" button. If you wish to run this dialog again, go to the settings and hit the \"Reset Firstrun\" button.\n\nVisit |cff33ffcc%s|r to check for the latest version."] = "歡迎使用 |cff33ffccpf|cffffffffUI|r! \n\n這是第一次運行嚮導,將引導您完成一些基本配置。 如果你想跳過所有步驟\"使用預設\"按鈕。 如果您再次運行此對話方塊,請轉到設置並點擊 \"Reset Firstrun\" 按鈕。\n\n訪問 |cff33ffcc%s|r 檢查最新版本。",
|
||||
["Whitelist"] = "白名單",
|
||||
["Who Search Unknown Classes (|cffffaaaaExperimental|r)"] = nil,
|
||||
["Width"] = nil,
|
||||
|
||||
@@ -122,7 +122,7 @@ pfUI:RegisterModule("firstrun", function ()
|
||||
-- welcome dialog
|
||||
pfUI.firstrun:AddStep("init", function()
|
||||
local f = CreateFirstRunPage()
|
||||
f.text:SetText(T["Welcome to |cff33ffccpf|cffffffffUI|r!\n\nI'm the first run wizard that will guide you through some basic configuration. If you're lazy, feel free to hit the \"Defaults\" button. If you wish to run this dialog again, go to the settings and hit the \"Reset Firstrun\" button.\n\nVisit |cff33ffcchttp://shagu.org|r to check for the latest version."])
|
||||
f.text:SetText(string.format(T["Welcome to |cff33ffccpf|cffffffffUI|r!\n\nI'm the first run wizard that will guide you through some basic configuration. If you're lazy, feel free to hit the \"Defaults\" button. If you wish to run this dialog again, go to the settings and hit the \"Reset Firstrun\" button.\n\nVisit |cff33ffcc%s|r to check for the latest version."], GetAddOnMetadata(pfUI.name, "X-Website")))
|
||||
return f
|
||||
end)
|
||||
|
||||
|
||||
+12
-12
@@ -1,15 +1,15 @@
|
||||
pfUI:RegisterModule("updatenotify", function ()
|
||||
local alreadyshown = false
|
||||
if pfUI.version.string == "dev" then return end
|
||||
|
||||
local alreadyshown
|
||||
local localversion = tonumber(pfUI.version.major*10000 + pfUI.version.minor*100 + pfUI.version.fix)
|
||||
local remoteversion = tonumber(pfUI_init.updateavailable) or 0
|
||||
local loginchannels = { "BATTLEGROUND", "RAID", "GUILD" }
|
||||
local groupchannels = { "BATTLEGROUND", "RAID" }
|
||||
|
||||
-- Determine branch from toc version string.
|
||||
-- experiment toc has "9.x.x (experiment version)", master does not.
|
||||
-- Only notify players on the same branch about updates.
|
||||
local tocversion = GetAddOnMetadata(pfUI.name, "Version") or ""
|
||||
local localbranch = strfind(tocversion, "experiment") and "exp" or "master"
|
||||
local ADDON_PREFIX = "pfUI-brues"
|
||||
|
||||
local localbranch = "main"
|
||||
local versionmsg = "VERSION:" .. localversion .. ":" .. localbranch
|
||||
|
||||
pfUI.updater = CreateFrame("Frame")
|
||||
@@ -17,9 +17,9 @@ pfUI:RegisterModule("updatenotify", function ()
|
||||
pfUI.updater:RegisterEvent("PLAYER_ENTERING_WORLD")
|
||||
pfUI.updater:RegisterEvent("PARTY_MEMBERS_CHANGED")
|
||||
pfUI.updater:SetScript("OnEvent", function()
|
||||
if event == "CHAT_MSG_ADDON" and arg1 == "pfUI" then
|
||||
if event == "CHAT_MSG_ADDON" and arg1 == ADDON_PREFIX then
|
||||
local v, rv, branch = pfUI.api.strsplit(":", arg2)
|
||||
local rv = tonumber(rv)
|
||||
rv = tonumber(rv)
|
||||
-- only process VERSION messages from the same branch
|
||||
-- messages without a branch tag (old versions) are ignored
|
||||
if v == "VERSION" and rv and branch == localbranch then
|
||||
@@ -30,10 +30,10 @@ pfUI:RegisterModule("updatenotify", function ()
|
||||
end
|
||||
|
||||
if event == "PARTY_MEMBERS_CHANGED" then
|
||||
local groupsize = GetNumRaidMembers() > 0 and GetNumRaidMembers() or GetNumPartyMembers() > 0 and GetNumPartyMembers() or 0
|
||||
local groupsize = IsInRaid() and GetNumRaidMembers() or IsInGroup() and GetNumPartyMembers() or 0
|
||||
if ( this.group or 0 ) < groupsize then
|
||||
for _, chan in pairs(groupchannels) do
|
||||
SendAddonMessage("pfUI", versionmsg, chan)
|
||||
SendAddonMessage(ADDON_PREFIX, versionmsg, chan)
|
||||
end
|
||||
end
|
||||
this.group = groupsize
|
||||
@@ -41,14 +41,14 @@ pfUI:RegisterModule("updatenotify", function ()
|
||||
|
||||
if event == "PLAYER_ENTERING_WORLD" then
|
||||
if not alreadyshown and localversion < remoteversion then
|
||||
DEFAULT_CHAT_FRAME:AddMessage(T["|cff33ffccpf|rUI: New version available! Have a look at http://shagu.org !"])
|
||||
DEFAULT_CHAT_FRAME:AddMessage(string.format(T["|cff33ffccpf|rUI: New version available! Get it at %s"], GetAddOnMetadata(pfUI.name, "X-Website") .. "/releases"))
|
||||
DEFAULT_CHAT_FRAME:AddMessage(T["|cffddddddIt's always safe to upgrade |cff33ffccpf|rUI. |cffddddddYou won't lose any of your configuration."])
|
||||
pfUI_init.updateavailable = localversion
|
||||
alreadyshown = true
|
||||
end
|
||||
|
||||
for _, chan in pairs(loginchannels) do
|
||||
SendAddonMessage("pfUI", versionmsg, chan)
|
||||
SendAddonMessage(ADDON_PREFIX, versionmsg, chan)
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
@@ -394,12 +394,20 @@ pfUI:SetScript("OnEvent", function()
|
||||
end
|
||||
|
||||
if arg1 == pfUI.name then
|
||||
-- read pfUI version from .toc file
|
||||
local major, minor, fix = pfUI.api.strsplit(".", tostring(GetAddOnMetadata(pfUI.name, "Version")))
|
||||
pfUI.version.major = tonumber(major) or 1
|
||||
pfUI.version.minor = tonumber(minor) or 2
|
||||
pfUI.version.fix = tonumber(fix) or 0
|
||||
pfUI.version.string = pfUI.version.major .. "." .. pfUI.version.minor .. "." .. pfUI.version.fix
|
||||
-- read pfUI version from .toc file. Source/dev installs leave Version as
|
||||
-- "@project-version@" until release tooling substitutes it — mark those
|
||||
-- explicitly as "dev" instead of pretending they're a real numbered build.
|
||||
local raw = tostring(GetAddOnMetadata(pfUI.name, "Version"))
|
||||
if strfind(raw, "@") then
|
||||
pfUI.version.major, pfUI.version.minor, pfUI.version.fix = 0, 0, 0
|
||||
pfUI.version.string = "dev"
|
||||
else
|
||||
local major, minor, fix = pfUI.api.strsplit(".", raw)
|
||||
pfUI.version.major = tonumber(major) or 0
|
||||
pfUI.version.minor = tonumber(minor) or 0
|
||||
pfUI.version.fix = tonumber(fix) or 0
|
||||
pfUI.version.string = pfUI.version.major .. "." .. pfUI.version.minor .. "." .. pfUI.version.fix
|
||||
end
|
||||
|
||||
-- use "Modern" as default profile on a fresh install
|
||||
if pfUI.api.isempty(pfUI_init) and pfUI.api.isempty(pfUI_config) then
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
## Interface: 11200
|
||||
## Title: |cff33ffccpf|cffffffffUI
|
||||
## Author: Shagu - modfied by me0wg4ming & brues
|
||||
## Author: Shagu - modified by me0wg4ming & brues
|
||||
## Notes: A complete user interface replacement.
|
||||
## Notes-ruRU: Полная замена пользовательского интерфейса.
|
||||
## Version: 8.3.0
|
||||
## Version: @project-version@
|
||||
## SavedVariables: pfUI_profiles, pfUI_addon_profiles, pfUI_cache, pfUI_throttle
|
||||
## SavedVariablesPerCharacter: pfUI_config, pfUI_init, pfUI_playerDB
|
||||
## Dependencies: !!!ClassicAPI
|
||||
## X-Website: https://github.com/brues-code/pfUI
|
||||
|
||||
pfUI.lua
|
||||
|
||||
|
||||
Reference in New Issue
Block a user