Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/v1.7.0 #50

Merged
merged 30 commits into from
May 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
48e6e55
Fix checkVersions lua error with non hunter players
Slivo-fr May 12, 2021
93bdb54
Adds demo rotation function for recording/screenshots
Slivo-fr May 12, 2021
9d5d7d1
Adds migrateProfile doc comment
Slivo-fr May 12, 2021
5ed1ce4
Adds few function comments
Slivo-fr May 12, 2021
7dd2aee
Adds todo for translations
Slivo-fr May 12, 2021
ec8b6a5
Adds todo for translations
Slivo-fr May 12, 2021
3093e61
Tranq test is now a test mode toggle command
Slivo-fr May 12, 2021
cfd283a
Adds blind icon for users without the addon
Slivo-fr May 12, 2021
b3f57f2
Removes the comment to delete testRotation
Slivo-fr May 12, 2021
6614f1c
update readme and changelog
Slivo-fr May 12, 2021
2f7d77f
Adds tranq test to help command
Slivo-fr May 12, 2021
5996e5e
Fix another logic issue with check command and non-hunter players
Slivo-fr May 13, 2021
1ed7126
Update screenshots and gifs
Slivo-fr May 15, 2021
8c14887
Update FR translation
Slivo-fr May 15, 2021
3ebb8f8
'code quality' fix
Slivo-fr May 15, 2021
0bc1016
update init to not use self like every other place
Slivo-fr May 15, 2021
1186945
Refacto hunter registering, adds delayed re-check if data is incomplete
Slivo-fr May 15, 2021
ea0248b
Improves and simplify players addon version handling, fix some tranq …
Slivo-fr May 15, 2021
52d77c6
setHunterFrameColor is now a 'global' tranqrotate function
Slivo-fr May 15, 2021
4d425a3
Update settings screenshots
Slivo-fr May 15, 2021
1c3553c
update changelog
Slivo-fr May 15, 2021
dfc3571
Update toc version to 1.7.0
Slivo-fr May 15, 2021
d50ce72
Update zhCN.lua
T3rdW May 15, 2021
d16340a
Merge pull request #48 from T3rdW/patch-2
Slivo-fr May 15, 2021
850a024
Update ruRU.lua
FenixsRU May 15, 2021
c2a0537
Merge pull request #49 from FenixsRU/patch-4
Slivo-fr May 15, 2021
393a0ea
change readme alt texts
Slivo-fr May 17, 2021
8b7e062
rewording
Slivo-fr May 17, 2021
418afe6
Update zhCN.lua
T3rdW May 17, 2021
115d40e
Merge pull request #52 from T3rdW/patch-2
Slivo-fr May 17, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ It also allow non-hunter raid leaders to easily manage, report and watch the tra

This addon will work even if you are the only one using it in your raid. (With some combat log range limitation, see bellow)

![Screenshot](docs/screenshots/screenshot.png "ui") ![Screenshot](docs/screenshots/drag.gif "ui") ![Screenshot](docs/screenshots/rotation.gif "ui")
![Screenshot](docs/screenshots/screenshot.png "screenshot") ![Screenshot](docs/screenshots/drag.gif "drag and drop gif") ![Screenshot](docs/screenshots/rotation.gif "rotation gif")

## Feedback

I'm looking for feedback ! I've set up a small discord server to get in touch : https://discord.gg/bPFyvDe

Please report any issue using github issues : https://github.com/Slivo-fr/TranqRotate/issues
Please report any issue on github : https://github.com/Slivo-fr/TranqRotate/issues

## Features

Expand All @@ -33,6 +33,7 @@ Please report any issue using github issues : https://github.com/Slivo-fr/TranqR
- Optional automatic backup call when incapacitated
- Optional automatic timed backup call
- Prints to chat name and reason of a tranq fail (miss or resist)
- Show an indicator on hunters that does not use the addon

## Usage

Expand Down Expand Up @@ -64,7 +65,6 @@ Here is a list of feature I want to implement at some point, no specific order i
- Use raid symbols to mark hunters that need to tranq, or that need to backup a failed tranqshot
- Automatic reset of rotation when raid wipe
- Adds raid markers to tranq announces if target has one
- Show an indicator on hunters that does not use TranqRotate (So you know you have to inform them about the rotation)

## Download

Expand Down
4 changes: 2 additions & 2 deletions TranqRotate.toc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
## Interface: 11307
## Title: TranqRotate |cff00aa001.6.1|r
## Title: TranqRotate |cff00aa001.7.0|r
## Notes: A tranqshot rotation assistant
## Author: Slivo
## Version: 1.6.1
## Version: 1.7.0
## SavedVariables: TranqRotateDb
## OptionalDeps: Ace3

Expand Down
8 changes: 7 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
## TranqRotate Changelog

#### v1.7.0

- Adds an icon on hunter not using the addon (You can disable it in the settings)
- Adds `/tranq test` command to toggle the test mode
- Improves and fix player addon version checks

#### v1.6.1

- Update ace3 libs for TBC prepatch
Expand Down Expand Up @@ -33,7 +39,7 @@

#### v1.4.0

- TranqRotate now play a sound when you need to tranq (You can disable it in the options)
- TranqRotate now play a sound when you need to tranq (You can disable it in the settings)
- Added an option to not show up the window each time you join a raid
- Added an option to have the window show up when you target a tranq-able boss
- Rotation will now reset when you kill the boss
Expand Down
Binary file modified docs/screenshots/drag.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/rotation.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/rotation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/settings-announces.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/settings-general.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/settings-sounds.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/status.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions locales/enUS.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ local L = {
["FEATURES_HEADER"] = "Optionals features",
["DISPLAY_BOSS_FRENZY_COOLDOWN"] = "Display frenzy cooldown progress bar",
["DISPLAY_BOSS_FRENZY_COOLDOWN_DESC"] = "A thin progress bar just under the title bar will show the progress",
["DISPLAY_BLIND_ICON"] = "Show an icon for hunter without TranqRotate",
["DISPLAY_BLIND_ICON_DESC"] = "Adds a blind icon on the hunter frame to indicate he's not using the addon. This means he will not be aware of the rotate unless you communicate with him and his tranqshot won't be synced if he's far from every other TranqRotate user.",
["DISPLAY_BLIND_ICON_TOOLTIP"] = "Show the blind icon tooltip",
["DISPLAY_BLIND_ICON_TOOLTIP_DESC"] = "You can disable this options to disable the tooltip while still having the icon",
["ENABLE_AUTOMATIC_BACKUP_ALERT_WHEN_INCAPACITATED"] = "Enable automatic backup alert when incapacitated",
["ENABLE_AUTOMATIC_BACKUP_ALERT_WHEN_INCAPACITATED_DESC"] = "TranqRotate will check for your debuffs when you should actually tranq and will call for backup if you are incapacitated for longer than the defined delay",
["INCAPACITATED_DELAY_THRESHOLD"] = "Incapacitated alert threshold",
Expand Down Expand Up @@ -94,6 +98,11 @@ local L = {
["BROADCAST_HEADER_TEXT"] = "Hunter tranqshot setup",
["BROADCAST_ROTATION_PREFIX"] = "Rotation",
["BROADCAST_BACKUP_PREFIX"] = "Backup",

--- Blind icon tooltip
["TOOLTIP_PLAYER_WITHOUT_ADDON"] = "This player does not use TranqRotate",
["TOOLTIP_MAY_RUN_OUDATED_VERSION"] = "Or runs an outdated version below 1.6.0",
["TOOLTIP_DISABLE_SETTINGS"] = "(You can disable this icon and/or this tooltip in the settings)",
}

TranqRotate.L = L
9 changes: 9 additions & 0 deletions locales/frFR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ local L = {
["FEATURES_HEADER"] = "Fonctionnalités optionnelles",
["DISPLAY_BOSS_FRENZY_COOLDOWN"] = "Afficher le cooldown de frénésie des boss",
["DISPLAY_BOSS_FRENZY_COOLDOWN_DESC"] = "Une fine barre de progression, juste sous la barre de titre, indiquera le cooldown de la frénésie",
["DISPLAY_BLIND_ICON"] = "Afficher une icone pour les chasseurs qui n'utilisent pas TranqRotate",
["DISPLAY_BLIND_ICON_DESC"] = "Ajoute une icone \"aveugle\" sur le chasseur pour indiquer qu'il n'utilise pas l'addon. Cela signifie qu'il ne connaitra pas la rotation affichée à moins de lui communiquer, ses tir tranquilisants ne seront également pas synchronisés si le joueur se retrouve loin des utilisateurs de l'addons",
["DISPLAY_BLIND_ICON_TOOLTIP"] = "Afficher l'infobulle pour l'icone \"aveugle\"",
["DISPLAY_BLIND_ICON_TOOLTIP_DESC"] = "En désactivant cette option vous désactivez l'infobulle tout en conservant l'icone",
["ENABLE_AUTOMATIC_BACKUP_ALERT_WHEN_INCAPACITATED"] = "Activer l'alerte automatique en cas d'incapacité",
["ENABLE_AUTOMATIC_BACKUP_ALERT_WHEN_INCAPACITATED_DESC"] = "TranqRotate alertera automatiquement le backup si un debuff vous empeche de tranq pendant un temps supérieur au délai configuré",
["INCAPACITATED_DELAY_THRESHOLD"] = "Délai pour l'alerte d'incapacité",
Expand Down Expand Up @@ -96,6 +100,11 @@ local L = {
["BROADCAST_HEADER_TEXT"] = "Hunter tranqshot setup",
["BROADCAST_ROTATION_PREFIX"] = "Rotation",
["BROADCAST_BACKUP_PREFIX"] = "Backup",

--- Blind icon tooltip
["TOOLTIP_PLAYER_WITHOUT_ADDON"] = "Ce joueur n'utilise pas TranqRotate",
["TOOLTIP_MAY_RUN_OUDATED_VERSION"] = "Ou possède une version obsolète inférieure à 1.6.0",
["TOOLTIP_DISABLE_SETTINGS"] = "(Il est possible de désactiver l'icone et/ou l'infobulle dans les options)",
}

TranqRotate.L = L
43 changes: 26 additions & 17 deletions locales/ruRU.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,27 @@ local L = {
["ARCANE_SHOT_TESTING_ENABLED"] = "Тестовый режим включен на 10 минут",
["ARCANE_SHOT_TESTING_DISABLED"] = "Тестовый режим выключен",

["FEATURES_HEADER"] = "Optionals features",
["DISPLAY_BOSS_FRENZY_COOLDOWN"] = "Display frenzy cooldown progress bar",
["DISPLAY_BOSS_FRENZY_COOLDOWN_DESC"] = "A thin progress bar just under the title bar will show the progress",
["ENABLE_AUTOMATIC_BACKUP_ALERT_WHEN_INCAPACITATED"] = "Enable automatic backup alert when incapacitated",
["ENABLE_AUTOMATIC_BACKUP_ALERT_WHEN_INCAPACITATED_DESC"] = "TranqRotate will check for your debuffs when you should actually tranq and will call for backup if you are incapacitated for longer than the defined delay",
["INCAPACITATED_DELAY_THRESHOLD"] = "Incapacitated alert threshold",
["INCAPACITATED_DELAY_THRESHOLD_DESC"] = "If you are incapacitated for longer than the configured delay, TranqRotate will automatically call for backup",
["ENABLE_AUTOMATIC_TIMED_BACKUP_ALERT"] = "Enable timed automatic backup alert",
["ENABLE_AUTOMATIC_TIMED_BACKUP_ALERT_DESC"] = "TranqRotate will call for backup if the boss is on frenzy for a defined delay and you should have been tranqing it",
["TIMED_DELAY_THRESHOLD"] = "Timed alert threshold",
["TIMED_DELAY_THRESHOLD_DESC"] = "TranqRotate will automatically call for backup if you do not tranq within the configured threshold",
["FEATURES_HEADER"] = "Дополнительные возможности",
["DISPLAY_BOSS_FRENZY_COOLDOWN"] = "Показывть полоску перезарядки бешенства",
["DISPLAY_BOSS_FRENZY_COOLDOWN_DESC"] = "Тонкая полоса прямо под строкой заголовка будет показывать прогресс перезарядки",
["DISPLAY_BLIND_ICON"] = "Показывать иконку для охотника без TranqRotate",
["DISPLAY_BLIND_ICON_DESC"] = "Добавляет значок в рамку охотника, показывабщий, что он не использует аддон. Это означает, что он не будет знать о ротации, если вы не сообщите ему, и его Усмеряющий выстрел не будет синхронизирован, если он находится далеко от всех остальных пользователей TranqRotate.",
["DISPLAY_BLIND_ICON_TOOLTIP"] = "Показать всплывающую подсказку для значка",
["DISPLAY_BLIND_ICON_TOOLTIP_DESC"] = "При отключить этого параметра, отключается всплывающая потказка для значка, при этом зам значок все еще отображается",
["ENABLE_AUTOMATIC_BACKUP_ALERT_WHEN_INCAPACITATED"] = "Включить автоматическое оповещение запасным при неспособности",
["ENABLE_AUTOMATIC_BACKUP_ALERT_WHEN_INCAPACITATED_DESC"] = "TranqRotate проверит ваши дебаффы, и когда вы должны будите использовать Усмиряющий выстрел, а вы не сможете его применить в отведенную очередность, он оповестит запасных",
["INCAPACITATED_DELAY_THRESHOLD"] = "Порог оповещения о неспособности",
["INCAPACITATED_DELAY_THRESHOLD_DESC"] = "Если вы потеряете способность выполнить действие дольше установленной задержки, TranqRotate автоматически оповестит запасных",
["ENABLE_AUTOMATIC_TIMED_BACKUP_ALERT"] = "Включить время автоматического оповещения запасных",
["ENABLE_AUTOMATIC_TIMED_BACKUP_ALERT_DESC"] = "TranqRotate оповестит запасных, если босс находится в бешенсте в течение оппределенного времени, а вы должны были усмирять его",
["TIMED_DELAY_THRESHOLD"] = "Время порого для оповещения",
["TIMED_DELAY_THRESHOLD_DESC"] = "TranqRotate автоматически оповестит запасных, если вы не произвели успирение в установленный порог",

--- Announces
["SETTING_ANNOUNCES"] = "Оповещения",
["ENABLE_ANNOUNCES"] = "Включить оповещения",
["ENABLE_ANNOUNCES_DESC"] = "Включить / отключить оповещения",
["YELL_SAY_DISABLED_OPEN_WORLD"] = "(Yell and say channels does not work in open world, but will inside your raids)",
["YELL_SAY_DISABLED_OPEN_WORLD"] = "(Каналы Крикнуть и Сказать работают внутри ваших рейдов, но не в открытом мире)",

---- Channels
["ANNOUNCES_CHANNEL_HEADER"] = "Канал оповещений",
Expand All @@ -69,14 +73,14 @@ local L = {
["SUCCESS_MESSAGE_LABEL"] = "При успехе сообщить",
["FAIL_MESSAGE_LABEL"] = "При промахе сообщить",
["FAIL_WHISPER_LABEL"] = "При промахе шепнуть запасным",
["UNABLE_TO_TRANQ_MESSAGE_LABEL"] = "Message whispered when you cannot tranq or call for backup",
["UNABLE_TO_TRANQ_MESSAGE_LABEL"] = "Сообщение шепота, когда вы не можете произвести усирение или оповестить запасных",

['DEFAULT_SUCCESS_ANNOUNCE_MESSAGE'] = "Усмиряющий выстрел в %s",
['DEFAULT_FAIL_ANNOUNCE_MESSAGE'] = "!!! Усмиряющий выстрел промах в %s !!!",
['DEFAULT_FAIL_WHISPER_MESSAGE'] = "!!! Усмиряющий выстрел промах !!! ! СТРЕЛЯЙ СЕЙЧАС !",
['DEFAULT_UNABLE_TO_TRANQ_MESSAGE'] = "I'M UNABLE TO TRANQ ! TRANQ NOW !",
['DEFAULT_FAIL_ANNOUNCE_MESSAGE'] = "!!! Усмиряющий выстрел промахнулся в %s !!!",
['DEFAULT_FAIL_WHISPER_MESSAGE'] = "!!! Усмиряющий выстрел промахнулся !!! ! УСМИРЯЙ СЕЙЧАС !",
['DEFAULT_UNABLE_TO_TRANQ_MESSAGE'] = "Я НЕ МОГУ УСМИРИТЬ ! УСМИРЯЙ СЕЙЧАС !",

['TRANQ_NOW_LOCAL_ALERT_MESSAGE'] = "СТРЕЛЯЙ СЕЙЧАС !",
['TRANQ_NOW_LOCAL_ALERT_MESSAGE'] = "УСМИРЯЙ СЕЙЧАС !",

["BROADCAST_MESSAGE_HEADER"] = "Объявление очередности",
["USE_MULTILINE_ROTATION_REPORT"] = "Использовать многострочный вывод при объявлении очередности",
Expand All @@ -96,6 +100,11 @@ local L = {
["BROADCAST_HEADER_TEXT"] = "Очередность Усмиряющего выстрела",
["BROADCAST_ROTATION_PREFIX"] = "Очередность",
["BROADCAST_BACKUP_PREFIX"] = "Запасные",

--- Blind icon tooltip
["TOOLTIP_PLAYER_WITHOUT_ADDON"] = "Этот игрок не использует TranqRotate",
["TOOLTIP_MAY_RUN_OUDATED_VERSION"] = "Или используется версия ниже 1.6.0",
["TOOLTIP_DISABLE_SETTINGS"] = "(Вы можете отключить этот значок и/или эту подсказку в настройках)",
}

TranqRotate.L = L
17 changes: 13 additions & 4 deletions locales/zhCN.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,24 @@ local L = {
["FEATURES_HEADER"] = "可选功能",
["DISPLAY_BOSS_FRENZY_COOLDOWN"] = "显示激怒冷却进度条",
["DISPLAY_BOSS_FRENZY_COOLDOWN_DESC"] = "标题栏下方显示一个细进度条",
["DISPLAY_BLIND_ICON"] = "显示一个没有TranqRotate插件的失明图标",
["DISPLAY_BLIND_ICON_DESC"] = "在猎人框架上添加一个失明图标,表明他没有使用此插件。这意味着他将不会意识到轮换,除非你与他交流,如果他远离其他TranqRotate用户,他的宁神射击将不会同步。",
["DISPLAY_BLIND_ICON_TOOLTIP"] = "显示失明图标的工具提示",
["DISPLAY_BLIND_ICON_TOOLTIP_DESC"] = "您可以禁用此选项来禁用工具提示,同时仍然拥有图标",
["ENABLE_AUTOMATIC_BACKUP_ALERT_WHEN_INCAPACITATED"] = "当无法工作时,启用自动替补通告",
["ENABLE_AUTOMATIC_BACKUP_ALERT_WHEN_INCAPACITATED_DESC"] = "TranqRotate会检查你的Debuff,如果轮到你宁神时,你瘫痪时间超过定义的延迟时间,则会要求替补",
["INCAPACITATED_DELAY_THRESHOLD"] = "瘫痪通告阀值",
["INCAPACITATED_DELAY_THRESHOLD_DESC"] = "如果您瘫痪时间超过配置的延迟时间,TranqRotate将自动调用替补",
["ENABLE_AUTOMATIC_TIMED_BACKUP_ALERT"] = "启用定时自动替补通告",
["ENABLE_AUTOMATIC_TIMED_BACKUP_ALERT_DESC"] = "如果BOSS在规定的延迟时间内激怒,而你已经宁神了,那么TranqRotate会要求替补",
["TIMED_DELAY_THRESHOLD"] = "定时通告阈值",
["TIMED_DELAY_THRESHOLD_DESC"] = "如果你没有在配置的阈值内进行宁神, TranqRotate将自动调用替补",
["TIMED_DELAY_THRESHOLD_DESC"] = "如果你没有在配置的阈值内进行宁神TranqRotate将自动调用替补",

--- Announces
["SETTING_ANNOUNCES"] = "通告",
["ENABLE_ANNOUNCES"] = "启用通告",
["ENABLE_ANNOUNCES_DESC"] = "启用 / 禁用通告",
["YELL_SAY_DISABLED_OPEN_WORLD"] = "(Yell and say channels does not work in open world, but will inside your raids)",
["YELL_SAY_DISABLED_OPEN_WORLD"] = "(大喊并说 频道在开放世界中不工作,但会在你的团本中工作)",

---- Channels
["ANNOUNCES_CHANNEL_HEADER"] = "通告频道",
Expand All @@ -69,12 +73,12 @@ local L = {
["SUCCESS_MESSAGE_LABEL"] = "施放成功通告信息",
["FAIL_MESSAGE_LABEL"] = "施放失败通告信息",
["FAIL_WHISPER_LABEL"] = "施放失败私聊信息",
["UNABLE_TO_TRANQ_MESSAGE_LABEL"] = "Message whispered when you cannot tranq or call for backup",
["UNABLE_TO_TRANQ_MESSAGE_LABEL"] = "当你无法宁神或呼叫替补时,这条信息就会低声传来",

['DEFAULT_SUCCESS_ANNOUNCE_MESSAGE'] = "已对 %s 施放了宁神射击!",
['DEFAULT_FAIL_ANNOUNCE_MESSAGE'] = "!!! 对 %s 宁神失败!!!",
['DEFAULT_FAIL_WHISPER_MESSAGE'] = "宁神失败 !! 赶紧补宁神!!",
['DEFAULT_UNABLE_TO_TRANQ_MESSAGE'] = "I'M UNABLE TO TRANQ ! TRANQ NOW !",
['DEFAULT_UNABLE_TO_TRANQ_MESSAGE'] = "我无法宁神射击 ! 请现在宁神 !",

['TRANQ_NOW_LOCAL_ALERT_MESSAGE'] = "立即使用宁神 !!",

Expand All @@ -96,6 +100,11 @@ local L = {
["BROADCAST_HEADER_TEXT"] = "猎人宁神顺序",
["BROADCAST_ROTATION_PREFIX"] = "循环",
["BROADCAST_BACKUP_PREFIX"] = "替补",

--- Blind icon tooltip
["TOOLTIP_PLAYER_WITHOUT_ADDON"] = "此玩家没有使用TranqRotate插件",
["TOOLTIP_MAY_RUN_OUDATED_VERSION"] = "或者运行低于1.6.0的过时版本",
["TOOLTIP_DISABLE_SETTINGS"] = "(您可以在设置中禁用此图标或此工具提示)",
}

TranqRotate.L = L
9 changes: 9 additions & 0 deletions locales/zhTW.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ local L = {
["FEATURES_HEADER"] = "Optionals features",
["DISPLAY_BOSS_FRENZY_COOLDOWN"] = "Display frenzy cooldown progress bar",
["DISPLAY_BOSS_FRENZY_COOLDOWN_DESC"] = "A thin progress bar just under the title bar will show the progress",
["DISPLAY_BLIND_ICON"] = "Show an icon for hunter without TranqRotate",
["DISPLAY_BLIND_ICON_DESC"] = "Adds a blind icon on the hunter frame to indicate he's not using the addon. This means he will not be aware of the rotate unless you communicate with him and his tranqshot won't be synced if he's far from every other TranqRotate user.",
["DISPLAY_BLIND_ICON_TOOLTIP"] = "Show the blind icon tooltip",
["DISPLAY_BLIND_ICON_TOOLTIP_DESC"] = "You can disable this options to disable the tooltip while still having the icon",
["ENABLE_AUTOMATIC_BACKUP_ALERT_WHEN_INCAPACITATED"] = "Enable automatic backup alert when incapacitated",
["ENABLE_AUTOMATIC_BACKUP_ALERT_WHEN_INCAPACITATED_DESC"] = "TranqRotate will check for your debuffs when you should actually tranq and will call for backup if you are incapacitated for longer than the defined delay",
["INCAPACITATED_DELAY_THRESHOLD"] = "Incapacitated alert threshold",
Expand Down Expand Up @@ -96,6 +100,11 @@ local L = {
["BROADCAST_HEADER_TEXT"] = "獵人寧神順序",
["BROADCAST_ROTATION_PREFIX"] = "循環",
["BROADCAST_BACKUP_PREFIX"] = "替補",

--- Blind icon tooltip
["TOOLTIP_PLAYER_WITHOUT_ADDON"] = "This player does not use TranqRotate",
["TOOLTIP_MAY_RUN_OUDATED_VERSION"] = "Or runs an outdated version below 1.6.0",
["TOOLTIP_DISABLE_SETTINGS"] = "(You can disable this icon and/or this tooltip in the settings)",
}

TranqRotate.L = L
3 changes: 3 additions & 0 deletions src/comms.lua
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ end
-- Broadcast a request for the current rotation configuration
function TranqRotate:sendBackupRequest(name)

-- todo: translation
TranqRotate:printPrefixedMessage('Sending backup request to ' .. name)

local message = {
Expand Down Expand Up @@ -153,6 +154,7 @@ function TranqRotate:receiveSyncOrder(prefix, message, channel, sender)
TranqRotate.syncVersion = (message.version)
TranqRotate.syncLastSender = sender

-- todo : translation
TranqRotate:printPrefixedMessage('Received new rotation configuration from ' .. sender)
TranqRotate:applyRotationConfiguration(message.rotation)
end
Expand All @@ -166,6 +168,7 @@ end

-- Received a backup request
function TranqRotate:receiveBackupRequest(prefix, message, channel, sender)
-- todo: translations
TranqRotate:printPrefixedMessage(sender .. ' asked for backup !')
TranqRotate:throwTranqAlert()
end
Loading