From: terencehill Date: Sat, 6 Jun 2020 08:17:36 +0000 (+0200) Subject: Fix Favorite button text X-Git-Tag: xonotic-v0.8.5~940 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=23228489badb03db5c6e6e7ede5b4a5ced9028e9;p=xonotic%2Fxonotic-data.pk3dir.git Fix Favorite button text --- 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); } }