comparison Localisation.lua @ 5:8428fa7cf0e4

Updated the profile to use macros and rename all the variables and functions with the prefix CyborgMMO. Added a tooltip to inform the user to assign the profile.
author madcatzinc@35b17cf1-18cd-47ff-9ca3-31d6b526ef09
date Tue, 29 May 2012 10:26:40 +0000
parents d186f8cd5000
children 43f45e032db8
comparison
equal deleted inserted replaced
4:d186f8cd5000 5:8428fa7cf0e4
16 16
17 --~ You should have received a copy of the GNU General Public License 17 --~ You should have received a copy of the GNU General Public License
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 InternationalMode = { 21 CyborgMMO_InternationalMode = {
22 ["enUS"] = { 22 ["enUS"] = {
23 "ALT-CTRL-E", 23 "ALT-CTRL-E",
24 "ALT-CTRL-F", 24 "ALT-CTRL-F",
25 "ALT-CTRL-[" 25 "ALT-CTRL-["
26 }, 26 },
56 } 56 }
57 } 57 }
58 58
59 59
60 60
61 InternationalWowCommands = { 61 CyborgMMO_InternationalWowCommands = {
62 ["enUS"] = { 62 ["enUS"] = {
63 "ALT-CTRL-NUMPAD1", 63 "ALT-CTRL-NUMPAD1",
64 "ALT-CTRL-NUMPAD2", 64 "ALT-CTRL-NUMPAD2",
65 "ALT-CTRL-NUMPAD3", 65 "ALT-CTRL-NUMPAD3",
66 "ALT-CTRL-NUMPAD4", 66 "ALT-CTRL-NUMPAD4",
346 "ALT-CTRL-D", 346 "ALT-CTRL-D",
347 "ALT-CTRL-END" 347 "ALT-CTRL-END"
348 } 348 }
349 } 349 }
350 350
351 InternationalStringTable = { 351 CyborgMMO_InternationalStringTable = {
352 ["enUS"] = { 352 ["enUS"] = {
353 CyborgMMO_BindingFrameExitButton="Close", 353 CyborgMMO_BindingFrameExitButton="Close",
354 CyborgMMO_BindingFrameHeaderText="Please press the appropriate button", 354 CyborgMMO_BindingFrameHeaderText="Please press the appropriate button",
355 CyborgMMO_CurrentBinding="Current Binding", 355 CyborgMMO_CurrentBinding="Current Binding",
356 CyborgMMO_OptionPageCyborgButtonTitle="Cyborg Button", 356 CyborgMMO_OptionPageCyborgButtonTitle="Cyborg Button",
377 CyborgMMO_OptionPageTitle="Cyborg MMO7", 377 CyborgMMO_OptionPageTitle="Cyborg MMO7",
378 CyborgMMO_OptionPagePluginSizeSliderTitle="Interface Window Size", 378 CyborgMMO_OptionPagePluginSizeSliderTitle="Interface Window Size",
379 CyborgMMO_OptionPageRebindMode1="Mode 1", 379 CyborgMMO_OptionPageRebindMode1="Mode 1",
380 CyborgMMO_OptionPageRebindMode2="Mode 2", 380 CyborgMMO_OptionPageRebindMode2="Mode 2",
381 CyborgMMO_OptionPageRebindMode3="Mode 3", 381 CyborgMMO_OptionPageRebindMode3="Mode 3",
382 CyborgMMO_OptionPageRebindTitle="MMO Keybinds:-" 382 CyborgMMO_OptionPageRebindTitle="MMO Keybinds:-",
383 CyborgMMO_ToolTipLine1="Warning! If your spell assignments are not working you may not have the correct profile assigned.",
384 CyborgMMO_ToolTipLine2="To assign the correct profile:",
385 CyborgMMO_ToolTipLine3="\t1) Click on the M.M.O.7 tray icon in the Windows system tray. ",
386 CyborgMMO_ToolTipLine4="\t2) Locate the profile called MMO7_WoWAddon and left click it. ",
387 CyborgMMO_ToolTipLine5="\t3) When the M.M.O.7 tray icon turns green, the profile is active. ",
388 CyborgMMO_ToolTipLine6="Once the profile is active, reload WoW and press the Mode button on the M.M.O.7 to synchronise the device."
383 }, 389 },
384 ["frFR"] = { 390 ["frFR"] = {
385 CyborgButtonTitle="Bouton Cyborg", 391 CyborgButtonTitle="Bouton Cyborg",
386 MiniMapButtonTitle="Bouton minimap", 392 MiniMapButtonTitle="Bouton minimap",
387 OptionPageTitle="Cyborg MMO7", 393 OptionPageTitle="Cyborg MMO7",
429 CyborgSizeSliderTitle="Tamaņo de la cabeza de Cyborg", 435 CyborgSizeSliderTitle="Tamaņo de la cabeza de Cyborg",
430 PluginSizeSliderTitle="Tamaņo de la ventana de interfaz" 436 PluginSizeSliderTitle="Tamaņo de la ventana de interfaz"
431 } 437 }
432 } 438 }
433 439
434 Mode = InternationalMode[GetLocale()] 440 CyborgMMO_Mode = CyborgMMO_InternationalMode[GetLocale()]
435 WowCommands = nil 441 CyborgMMO_WowCommands = nil
436 StringTable = InternationalStringTable[GetLocale()] 442 CyborgMMO_StringTable = CyborgMMO_InternationalStringTable[GetLocale()]