Translate system app names
This commit is contained in:
parent
505782f224
commit
6f98ca68af
@ -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",
|
||||||
|
Reference in New Issue
Block a user