vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | -- Title, version string, etc |
2 | SimpleTip_Name = "SimpleTip (redux)"; |
||
3 | SimpleTip_Ver = "v1.7"; |
||
4 | SimpleTip_Title = string.format("Skeev's %s %s", SimpleTip_Name, SimpleTip_Ver); |
||
5 | |||
6 | -- English (default) |
||
7 | SimpleTip_Load_Txt = SimpleTip_Title.." loaded."; |
||
8 | |||
9 | -- command words (and equivalents) |
||
10 | SimpleTip_Cmd_Help = {"help", "usage", "?"}; |
||
11 | SimpleTip_Cmd_About = {"about", "credit", "credits"}; |
||
12 | SimpleTip_Cmd_MoveTo = {"moveto", "anchor"}; |
||
13 | SimpleTip_Cmd_NoMove = {"nomove", "noanchor"}; |
||
14 | SimpleTip_Cmd_Offset = {"offset", "xy"}; |
||
15 | SimpleTip_Cmd_Status = {"status", "show", "info"}; |
||
16 | SimpleTip_Cmd_PvP = {"pvp"}; |
||
17 | |||
18 | -- position words |
||
19 | SimpleTip_Pos_Anchor = {"topleft", "top", "topright", "left", "center", "right", "bottomleft", "bottom", "bottomright"}; |
||
20 | SimpleTip_Pos_Pointer = {"pointer", "mouse", "cursor"}; |
||
21 | |||
22 | -- display text |
||
23 | -- NOTE: <white> <grey> <yellow> become text color shifts |
||
24 | -- \n is a linebreak |
||
25 | -- %s and %.1f are replaced with values at runtime |
||
26 | SimpleTip_Pointer_Txt = "pointer"; |
||
27 | SimpleTip_MoveTo_Txt = "Tooltip position is set to <grey>%s<yellow>."; |
||
28 | SimpleTip_NoMove_Txt = "Tooltip repositioning disabled."; |
||
29 | SimpleTip_Offset_Txt = "Tooltip offset is set to <grey>%.1f<yellow>, <grey>%.1f<yellow>."; |
||
30 | SimpleTip_PointerOffset_Txt = "Offset cannot be changed when tooltips are anchored to the pointer."; |
||
31 | |||
32 | SimpleTip_Help_Txt = "SimpleTip usage:\n /simpletip {moveto | nomove | offset | pvp | status | help | about }"; |
||
33 | SimpleTip_MoveToHelp_Txt = "Set SimpleTip position:\n /simpletip moveto {topleft | top | topright | left | center | right | bottomleft | bottom | bottomright}"; |
||
34 | SimpleTip_NoMoveHelp_Txt = "Use default position:\n /simpletip nomove"; |
||
35 | SimpleTip_OffsetHelp_Txt = "Fine-tune position:\n /simpletip offset <grey>x<white>, <grey>y"; |
||
36 | SimpleTip_OffsetHelp2_Txt = " (Horizontal: <white>- <grey>left<yellow>, <white>+ <grey>right<yellow>; Vertical: <white>- <grey>down<yellow>, <white>+ <grey>up<yellow>)" |
||
37 | |||
38 | SimpleTip_Credits1_Txt = SimpleTip_Title.." credits:"; |
||
39 | SimpleTip_Credits2_Txt = "Coder, English trans --> <grey>Skeev of Proudmoore (North America)"; |
||
40 | SimpleTip_Credits3_Txt = "French translation --> <white>(translator needed!)"; |
||
41 | SimpleTip_Credits4_Txt = "German translation --> <white>(translator needed!)"; |
||
42 | SimpleTip_Credits5_Txt = "Patch 1500 modifications --> Ayradyss"; |
||
43 | |||
44 | SimpleTip_PvP_Help = "Show or hide PvP tooltip line:\n /simpletip pvp {show | hide}"; |
||
45 | SimpleTip_PvP_Status = "%s PvP tooltip line." |
||
46 | |||
47 | |||
48 | -- German |
||
49 | if (GetLocale() == "deDE") then |
||
50 | |||
51 | -- French |
||
52 | elseif (GetLocale() == "frFR") then |
||
53 | |||
54 | -- Korean |
||
55 | elseif (GetLocale() == "koKR") then |
||
56 | |||
57 | end |