Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns localized text depending on the specified gender.
text = GetText(token [, gender, ordinal])
Arguments[]
- token
- string - Reputation index
- gender
- number - Gender ID
- ordinal
- unknown
Returns[]
- text
- string - The localized text
Example[]
- This should return
FACTION_STANDING_LABEL1
/dump GetText("FACTION_STANDING_LABEL1") -- "Hated"
- This should return
FACTION_STANDING_LABEL1_FEMALE
/dump GetText("FACTION_STANDING_LABEL1", 3) -- "Hated"
Patch changes[]
Patch 3.1.0 (2009-04-14): Added. Replaced the FrameXML/LocaleProperties.lua
implementation.