Changed “Meta’s Threads moderation” statuses text

This commit is contained in:
pezcurrel 2023-12-25 19:53:02 +01:00
parent b5f625f856
commit d90801637b

View file

@ -583,19 +583,19 @@ while ($if<$il && $row=mysqli_fetch_assoc($res)) {
while ($rrow=mysqli_fetch_assoc($mmres)) { while ($rrow=mysqli_fetch_assoc($mmres)) {
if (preg_match('#^(threads.net|.*\.threads.net)$#i',$rrow['Domain'])==1) { if (preg_match('#^(threads.net|.*\.threads.net)$#i',$rrow['Domain'])==1) {
if ($rrow['Severity']=='suspend') if ($rrow['Severity']=='suspend')
$out.=_('Suspended'); $out.=_('Threads is suspended');
elseif ($rrow['Severity']=='silence') elseif ($rrow['Severity']=='silence')
$out.=_('Limited'); $out.=_('Threads is limited');
else else
$out.=_('Unmanaged').': «'.htmlentities($rrow['Severity']).'»'; $out.=_('Unknown value').': «'.htmlentities($rrow['Severity']).'»';
$tm=true; $tm=true;
break; break;
} }
} }
if (!$tm) if (!$tm)
$out.=_('Neither suspended nor limited'); $out.=_('Threads is neither suspended nor limited');
} else { } else {
$out.=_('Neither suspended nor limited'); $out.=_('Threads is neither suspended nor limited');
$mmres=false; $mmres=false;
} }
} else { } else {