From 23228489badb03db5c6e6e7ede5b4a5ced9028e9 Mon Sep 17 00:00:00 2001 From: terencehill Date: Sat, 6 Jun 2020 10:17:36 +0200 Subject: [PATCH] Fix Favorite button text --- qcsrc/menu/xonotic/_mod.qh | 2 +- qcsrc/menu/xonotic/serverlist.qc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/qcsrc/menu/xonotic/_mod.qh b/qcsrc/menu/xonotic/_mod.qh index 50eabce95..97c1ce9c5 100644 --- a/qcsrc/menu/xonotic/_mod.qh +++ b/qcsrc/menu/xonotic/_mod.qh @@ -19,7 +19,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/qcsrc/menu/xonotic/serverlist.qc b/qcsrc/menu/xonotic/serverlist.qc index caf69f34a..578e1eca6 100644 --- a/qcsrc/menu/xonotic/serverlist.qc +++ b/qcsrc/menu/xonotic/serverlist.qc @@ -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); } } -- 2.39.2