Mercurial > wow > cyborg-mmo7
changeset 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 | adba10dfa908 |
children | c42cae255226 |
files | Localisation.lua OptionPage.xml OptionView.lua |
diffstat | 3 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Localisation.lua Fri May 03 23:24:58 2013 +0000 +++ b/Localisation.lua Fri May 03 23:25:03 2013 +0000 @@ -377,7 +377,7 @@ CyborgMMO_OptionPageRebindMode1="Mode 1", CyborgMMO_OptionPageRebindMode2="Mode 2", CyborgMMO_OptionPageRebindMode3="Mode 3", - CyborgMMO_OptionPageRebindTitle="MMO Keybinds:-", + CyborgMMO_OptionPageRebindTitle="Key bindings", CyborgMMO_ToolTipLine1="Warning! If your spell assignments are not working you may not have the correct profile assigned.", CyborgMMO_ToolTipLine2="To assign the correct profile:", CyborgMMO_ToolTipLine3="1) Click on the M.M.O.7 tray icon in the Windows system tray. ",
--- a/OptionPage.xml Fri May 03 23:24:58 2013 +0000 +++ b/OptionPage.xml Fri May 03 23:25:03 2013 +0000 @@ -492,8 +492,8 @@ </Frames> <Scripts> <OnLoad> - self.name = "Rebind keys" - self.parent = CyborgMMO_OptionPage + self.name = CyborgMMO_StringTable.CyborgMMO_OptionPageRebindTitle + self.parent = CyborgMMO_OptionPage.name self.default = CyborgMMO_SetDefaultKeyBindings InterfaceOptions_AddCategory(self) </OnLoad>
--- a/OptionView.lua Fri May 03 23:24:58 2013 +0000 +++ b/OptionView.lua Fri May 03 23:25:03 2013 +0000 @@ -20,7 +20,7 @@ CyborgMMO_OptionView = { new = function(self) - self.name = "Cyborg MMO7 Plugin" + self.name = CyborgMMO_StringTable.CyborgMMO_OptionPageTitle self.default = CyborgMMO_SetDefaultSettings InterfaceOptions_AddCategory(self) return self