]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix Favorite button text
authorterencehill <piuntn@gmail.com>
Sat, 6 Jun 2020 08:17:36 +0000 (10:17 +0200)
committerterencehill <piuntn@gmail.com>
Sat, 6 Jun 2020 08:17:36 +0000 (10:17 +0200)
qcsrc/menu/xonotic/_mod.qh
qcsrc/menu/xonotic/serverlist.qc

index 50eabce95999675614d4700f4fbea7191adbc6b1..97c1ce9c595ec920785729eff08750a2cfd471b5 100644 (file)
@@ -19,7 +19,7 @@
 #include <menu/xonotic/demolist.qh>
 #include <menu/xonotic/dialog.qh>
 #include <menu/xonotic/dialog_credits.qh>
-#include <menu/xonotic/dialog_disconnect.qc>
+#include <menu/xonotic/dialog_disconnect.qh>
 #include <menu/xonotic/dialog_firstrun.qh>
 #include <menu/xonotic/dialog_hudpanel_ammo.qh>
 #include <menu/xonotic/dialog_hudpanel_centerprint.qh>
index caf69f34afb7e4e7e0d85a643fad1cffb7d5ed5d..578e1eca6f35c9deb4900a49caec0f01dba2ad20 100644 (file)
@@ -253,12 +253,12 @@ void ServerList_Update_favoriteButton(entity btn, entity me)
        entity e = me.favoriteButton;
        if(IsFavorite(me.ipAddressBox.text))
        {
-               e.setText(e, _("SERVER^Remove favorite"));
+               e.setText(e, ZCTX(_("SERVER^Remove favorite")));
                setZonedTooltip(e, _("Remove the currently highlighted server from bookmarks"), string_null);
        }
        else
        {
-               e.setText(e, _("SERVER^Favorite"));
+               e.setText(e, ZCTX(_("SERVER^Favorite")));
                setZonedTooltip(e, _("Bookmark the currently highlighted server so that it's faster to find in the future"), string_null);
        }
 }