]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Improve Quit button tooltips
authorterencehill <piuntn@gmail.com>
Sat, 5 Jun 2021 20:26:44 +0000 (22:26 +0200)
committerterencehill <piuntn@gmail.com>
Sat, 5 Jun 2021 20:26:44 +0000 (22:26 +0200)
qcsrc/menu/xonotic/quitbutton.qc

index 757f086c706ce9b0a6a4267d2f72fc6785579196..0e535cf891e6f9febbcbfccf01d3e55d3cbde8c3 100644 (file)
@@ -23,11 +23,11 @@ string quitGameButton_getTooltip(entity me)
        if (me.disabled)
                return "-";
        else if(cvar("g_campaign"))
-               return "-";
+               return _("Quit current campaign level");
        else if (cvar_string("net_address") == "127.0.0.1" && cvar_string("net_address_ipv6") == "::1")
-               return "-";
+               return _("Quit current singleplayer match");
        else
-               return _("Quit multiplayer / Disconnect from the server");
+               return _("Quit current multiplayer match / Disconnect from the server");
 }
 
 entity makeXonoticQuitButton(vector theColor, int theFlags)