<?php
-
/**
* Opensearch action class.
*
* Class handler.
*
* @param array $args query arguments
- *
- * @return boolean false if user does not exist
+ *
+ * @return boolean false if user doesn't exist
*/
function handle($args)
{
$short_name = '';
if ($type == 'people') {
$type = 'peoplesearch';
+ // TRANS: ShortName in the OpenSearch interface when trying to find users.
$short_name = _('People Search');
} else {
$type = 'noticesearch';
+ // TRANS: ShortName in the OpenSearch interface when trying to find notices.
$short_name = _('Notice Search');
}
header('Content-Type: application/opensearchdescription+xml');
return true;
}
}
-