$error=$t('The directory %directory does not exist.',array('%directory'=>$directory));
}
else{
$error=$t('The directory %directory is not writable.',array('%directory'=>$directory));
}
$requirements['file system']=array(
'value'=>$t('Not writable'),
'severity'=>REQUIREMENT_ERROR,
'description'=>$error.' '.$t('You may need to set the correct directory at the <a href="@admin-file-system">file system settings page</a> or change the current directory\'s permissions so that it is writable.',array('@admin-file-system'=>url('admin/settings/file-system'))),