Skip to content

Commit

Permalink
Add tooltip for event server and fix ts tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
pool011 committed Oct 23, 2023
1 parent 94d869a commit 6fd1f6a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion addons/optionsmenu/gui/mainMenu.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class RscDisplayMain : RscStandardDisplay {
};
class joinTS1 : joinTac2 {
text = CSTRING(joinTS1_text);
tooltip = CSTRING(joinTS1_tooltip);
tooltip = CSTRING(joinTS_tooltip);
y = "(4 * 1.5) * (pixelH * pixelGrid * 2) + (pixelH)";
onbuttonclick = "connectToServer ['75.6.53.50', 2402, ''];";
};
Expand All @@ -38,6 +38,7 @@ class RscDisplayMain : RscStandardDisplay {
};
class joinTSE : joinTS1 {
text = CSTRING(joinTSE_text);
tooltip = CSTRING(joinTSE_tooltip);
y = "(7 * 1.5) * (pixelH * pixelGrid * 2) + (pixelH)";
onbuttonclick = "connectToServer ['75.6.53.50', 2902, ''];";
};
Expand Down
5 changes: 4 additions & 1 deletion addons/optionsmenu/stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<Key ID="STR_cav_optionsmenu_joinTS1_text">
<English>Join Training Server 1</English>
</Key>
<Key ID="STR_cav_optionsmenu_joinTac1_tooltip">
<Key ID="STR_cav_optionsmenu_joinTS_tooltip">
<English>Join the member only training server!</English>
</Key>
<Key ID="STR_cav_optionsmenu_joinTS2_text">
Expand All @@ -22,6 +22,9 @@
<Key ID="STR_cav_optionsmenu_joinTSE_text">
<English>Join Event Server</English>
</Key>
<Key ID="STR_cav_optionsmenu_joinTSE_tooltip">
<English>Join the 7Cav Event Server!</English>
</Key>

<Key ID="STR_cav_optionsmenu_CavJoin_tooltip">
<English>Enlist Today!</English>
Expand Down

0 comments on commit 6fd1f6a

Please sign in to comment.