X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fopensearch.php;h=c3a494be1be23d65012b0da05791a3d64c619fd5;hb=8d4cdbb430c46e34cc01cdedbbf44ff160541f2b;hp=b205d2fe27ec9fc5372c38c7d0db26f59581a09e;hpb=8e58f241739b97bd53f78035781f16e2067a31d9;p=quix0rs-gnu-social.git diff --git a/actions/opensearch.php b/actions/opensearch.php index b205d2fe27..c3a494be1b 100644 --- a/actions/opensearch.php +++ b/actions/opensearch.php @@ -1,5 +1,4 @@ trimmed('type'); $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'); @@ -84,9 +85,8 @@ class OpensearchAction extends Action $this->endXML(); } - function isReadOnly($args) + function isReadOnly(array $args=array()) { return true; } } -