Translate system app names

This commit is contained in:
M.Dent 2018-09-27 13:37:15 -04:00
parent 505782f224
commit 6f98ca68af

View File

@ -763,6 +763,7 @@ class Apps {
call_hooks('app_list',$hookinfo); call_hooks('app_list',$hookinfo);
$r = $hookinfo['apps']; $r = $hookinfo['apps'];
for($x = 0; $x < count($r); $x ++) { for($x = 0; $x < count($r); $x ++) {
$r[$x]['app_name']=t(trim($r[$x]['app_name']));
if(! $r[$x]['app_system']) if(! $r[$x]['app_system'])
$r[$x]['type'] = 'personal'; $r[$x]['type'] = 'personal';
$r[$x]['term'] = q("select * from term where otype = %d and oid = %d", $r[$x]['term'] = q("select * from term where otype = %d and oid = %d",