Mercurial > wow > cyborg-mmo7
comparison OptionView.lua @ 62:c22f1accec43
Fixed the parent/child relationship of the option pages.
The option category names are now localized (they actually use the same text as the corresponding frame title).
| author | madcatzinc@35b17cf1-18cd-47ff-9ca3-31d6b526ef09 | 
|---|---|
| date | Fri, 03 May 2013 23:25:03 +0000 | 
| parents | b7ee4a10eaf0 | 
| children | 
   comparison
  equal
  deleted
  inserted
  replaced
| 61:adba10dfa908 | 62:c22f1accec43 | 
|---|---|
| 18 --~ along with this program; if not, write to the Free Software | 18 --~ along with this program; if not, write to the Free Software | 
| 19 --~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 19 --~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 
| 20 | 20 | 
| 21 CyborgMMO_OptionView = { | 21 CyborgMMO_OptionView = { | 
| 22 new = function(self) | 22 new = function(self) | 
| 23 self.name = "Cyborg MMO7 Plugin" | 23 self.name = CyborgMMO_StringTable.CyborgMMO_OptionPageTitle | 
| 24 self.default = CyborgMMO_SetDefaultSettings | 24 self.default = CyborgMMO_SetDefaultSettings | 
| 25 InterfaceOptions_AddCategory(self) | 25 InterfaceOptions_AddCategory(self) | 
| 26 return self | 26 return self | 
| 27 end, | 27 end, | 
| 28 } | 28 } | 
