X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fserverlist.qc;h=578e1eca6f35c9deb4900a49caec0f01dba2ad20;hb=06a08d0c6b573f2562297147171aff3d990fa42d;hp=21278f720cc6e37c1ed13d78dc5eca8280885c33;hpb=92ed00b08d16fb73df84c6aaf5e24cf4fe71d7c5;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/serverlist.qc b/qcsrc/menu/xonotic/serverlist.qc index 21278f720..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, _("Remove favorite")); + e.setText(e, ZCTX(_("SERVER^Remove favorite"))); setZonedTooltip(e, _("Remove the currently highlighted server from bookmarks"), string_null); } else { - e.setText(e, _("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); } } @@ -623,7 +623,7 @@ void ServerList_TypeSort_Click(entity btn, entity me) // the type was found // choose the next one flag = true; - s = MapInfo_Type_ToString(Gametypes_from(it.m_id + 1)); + s = MapInfo_Type_ToString(REGISTRY_GET(Gametypes, it.m_id + 1)); if (s == "") s = MapInfo_Type_ToString(first); break; });