Disabled showing the alert on missing/incomplete/not-up-to-date translation

This commit is contained in:
pezcurrel 2022-11-21 12:48:44 +01:00
parent db790d3689
commit c92137760f

View file

@ -111,7 +111,7 @@ switch($path) {
$menu['instances']['href']=null;
$menu['instances']['selected']=true;
$url='instances';
if (in_array($dlang,array('ca','es','fr'))) $needstrans=true;
if (in_array($dlang,array('ca','es'))) $needstrans=true;
break;
case '/about':
@ -255,7 +255,7 @@ echo('</head>
require($cont['fp']);
if ($needstrans) printf('<div id="transd">'._('This translation is missing, incomplete or not up-to-date. Please click <a href="/contribute/%s">here</a> if youd like to help, or <span class="transc" onclick="document.getElementById(\'transd\').style.display=\'none\'">here</span> to close this message').'</div>'.N,$dlang);
//if ($needstrans) printf('<div id="transd">'._('This translation is missing, incomplete or not up-to-date. Please click <a href="/contribute/%s">here</a> if youd like to help, or <span class="transc" onclick="document.getElementById(\'transd\').style.display=\'none\'">here</span> to close this message').'</div>'.N,$dlang);
echo('</body>
</html>'.N);