forked from GNUsocial/gnu-social
Add translator hint.
This commit is contained in:
@@ -38,6 +38,7 @@ class SalmonAction extends Action
|
||||
parent::prepare($args);
|
||||
|
||||
if ($_SERVER['REQUEST_METHOD'] != 'POST') {
|
||||
// TRANS: POST is a HTTP command. It should not be translated.
|
||||
$this->clientError(_m('This method requires a POST.'));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user