Merge branch 'dev' into 'dev'
Translate system app names See merge request hubzilla/core!1286
This commit is contained in:
commit
f17261020d
@ -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