Are any of the strings from an addon's .txt file available within Lua?
Specifically, I'd love to reuse some of the strings from WritWorthy.txt:
Code:
## Title: WritWorthy 4.0.6 <-- version here
## Version 4.0.6 <-- and here
## Last Updated: 2018-05-04
## APIVersion: 100022 100023
## Description: Master Writs: calculate material costs and automate crafting.
## Author: ziggr
...
as parameters to LibAddonMenu
Lua Code:
local panelData = {
type = "panel"
, name = "WritWorthy"
, displayName = "WritWorthy"
, author = "ziggr"
, version = "4.0.6" <-- repeated here
, registerForRefresh = false
, registerForDefaults = false
}
local panel = LAM2:RegisterAddonPanel(lam_addon_id, panelData)