@@ -73,9 +73,9 @@ class FirmwareController extends ApiControllerBase
...
@@ -73,9 +73,9 @@ class FirmwareController extends ApiControllerBase
$response['status']='ok';
$response['status']='ok';
if($response['updates']==1){
if($response['updates']==1){
/* keep this dynamic for template translation even though %s is always '1' */
/* keep this dynamic for template translation even though %s is always '1' */
$response['status_msg']=sprintf(gettext('There is %s update available.'),$response['updates']);
$response['status_msg']=sprintf(gettext('There is %s update available, total download size is %s.'),$response['updates'],$response['download_size']);
}else{
}else{
$response['status_msg']=sprintf(gettext('There are %s updates available.'),$response['updates']);
$response['status_msg']=sprintf(gettext('There are %s updates available, total download size is %s.'),$response['updates'],$response['download_size']);