X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fopensearch.php;h=c3a494be1be23d65012b0da05791a3d64c619fd5;hb=1f890f03c885ce0761be80e69e678cce5f9ee46a;hp=3136380b0b3e1a7f47fc26540fc71af676c45fff;hpb=5ab709b73977131813884558bf56d97172a7aa26;p=quix0rs-gnu-social.git diff --git a/actions/opensearch.php b/actions/opensearch.php index 3136380b0b..c3a494be1b 100644 --- a/actions/opensearch.php +++ b/actions/opensearch.php @@ -1,5 +1,4 @@ trimmed('type'); $short_name = ''; if ($type == 'people') { $type = 'peoplesearch'; - $short_name = _('User Search'); + // 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; } } -