From 9574ae97689c73dab0f4b36d796b6bb3f58fd5be Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 22 Apr 2023 00:53:37 -0700 Subject: [PATCH] web: when update venue, call it a "computer" rather than a "host". (should do this uniformly in user-facing web pages) --- html/user/host_venue_action.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/html/user/host_venue_action.php b/html/user/host_venue_action.php index 2d47a0162e..de3b85bd99 100644 --- a/html/user/host_venue_action.php +++ b/html/user/host_venue_action.php @@ -30,24 +30,24 @@ $hostid = get_int("hostid"); $host = BoincHost::lookup_id($hostid); if (!$host) { - error_page("No such host"); + error_page("No such computer"); } if ($host->userid != $user->id) { - error_page("Not your host"); + error_page("Not your computer"); } $retval = $host->update("venue='$venue'"); if ($retval) { - page_head(tra("Host venue updated")); + page_head(tra("Computer venue updated")); if ($venue == '') { $venue = '('.tra("none").')'; } echo " - ".tra("The venue of this host has been set to %1.", "$venue")." + ".tra("The venue of this computer has been set to %1.", "$venue")."

- ".tra("This change will take effect the next time the host communicates with this project.")." + ".tra("Preference changes will take effect when the computer communicates with this project.")."

- ".tra("Return to host page").". + ".tra("Return to computer page").". "; page_tail(); } else {