forked from GNUsocial/gnu-social
Fix L10n/i18n.
Some remaining people tag -> list. Favor -> like Update translator documentation. Whitespace updates.
This commit is contained in:
@@ -59,9 +59,9 @@ class Salmon
|
||||
common_log(LOG_ERR, "Salmon unable to sign: " . $e->getMessage());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
$headers = array('Content-Type: application/magic-envelope+xml');
|
||||
|
||||
|
||||
try {
|
||||
$client = new HTTPClient();
|
||||
$client->setBody($envelope);
|
||||
|
||||
@@ -44,7 +44,7 @@ class SalmonAction extends Action
|
||||
}
|
||||
|
||||
if (empty($_SERVER['CONTENT_TYPE']) || $_SERVER['CONTENT_TYPE'] != 'application/magic-envelope+xml') {
|
||||
// TRANS: Client error. Do not translate "application/magic-envelope+xml"
|
||||
// TRANS: Client error. Do not translate "application/magic-envelope+xml".
|
||||
$this->clientError(_m('Salmon requires "application/magic-envelope+xml".'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user