web: change "ATI" to "AMD" in a few places

This commit is contained in:
David Anderson 2018-11-08 00:07:09 -08:00
parent 4a846f6256
commit 5929518231
3 changed files with 4 additions and 4 deletions

View File

@ -840,7 +840,7 @@ function resource_name($x) {
switch ($x) { switch ($x) {
case 2: return "CPU"; case 2: return "CPU";
case 3: return "NVIDIA"; case 3: return "NVIDIA";
case 4: return "ATI"; case 4: return "AMD";
} }
return "Unknown resource: $x"; return "Unknown resource: $x";
} }

View File

@ -78,8 +78,8 @@ if ($app_types->cpu) {
} }
if ($app_types->ati) { if ($app_types->ati) {
$project_pref_descs[] = new PREF_BOOL ( $project_pref_descs[] = new PREF_BOOL (
tra("Use ATI GPU"), tra("Use AMD GPU"),
"Request ATI GPU tasks from this project.", "Request AMD GPU tasks from this project.",
"no_ati", "no_ati",
false, false,
true true

View File

@ -75,7 +75,7 @@ function app_version_string($result) {
case ANON_PLATFORM_NVIDIA: case ANON_PLATFORM_NVIDIA:
return anon_platform_string($result, tra("NVIDIA GPU")); return anon_platform_string($result, tra("NVIDIA GPU"));
case ANON_PLATFORM_ATI: case ANON_PLATFORM_ATI:
return anon_platform_string($result, tra("ATI GPU")); return anon_platform_string($result, tra("AMD GPU"));
case ANON_PLATFORM_INTEL: case ANON_PLATFORM_INTEL:
return anon_platform_string($result, tra("Intel GPU")); return anon_platform_string($result, tra("Intel GPU"));
} }