Update downloader to get speeches from tolgee
This commit is contained in:
parent
5f21775771
commit
e37886072f
6 changed files with 139 additions and 31 deletions
|
@ -3,7 +3,7 @@ function CzechQuestsAddon:CreateTranslationSpeechFrame()
|
|||
|
||||
-- Speech Translation Frame
|
||||
scroll = CreateFrame("ScrollFrame", "CzechQuestsTranslationSpeechFrame", UIParent, "MinimalScrollFrameTemplate")
|
||||
scroll:SetSize(CzechQuestsAddon_Store.config.TRANSLATION_SPEECH_FRAME_WIDTH, 120)
|
||||
scroll:SetSize(CzechQuestsAddon_Store.config.TRANSLATION_SPEECH_FRAME_WIDTH, 150)
|
||||
|
||||
-- Make movable
|
||||
scroll:SetMovable(true)
|
||||
|
@ -85,7 +85,7 @@ function CzechQuestsAddon:CreateTranslationSpeechFrameMessage(message)
|
|||
frame.string:SetFont(
|
||||
CzechQuestsAddon.fontPath .. CzechQuestsAddon_Store.config.TRANSLATION_SPEECH_FRAME_TEXT_FONT_FAMILY,
|
||||
CzechQuestsAddon_Store.config.TRANSLATION_SPEECH_FRAME_TEXT_FONT_SIZE,
|
||||
"OUTLINE"
|
||||
"THICK"
|
||||
)
|
||||
|
||||
frame.string:SetText(message)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue