forked from GNUsocial/gnu-social
* i18n/L10n update
* translator comments added * remove superfluous whitespace
This commit is contained in:
@@ -76,7 +76,8 @@ class MagicEnvelope
|
||||
}
|
||||
}
|
||||
}
|
||||
throw new Exception('Unable to locate signer public key.');
|
||||
// TRANS: Exception.
|
||||
throw new Exception(_m('Unable to locate signer public key.'));
|
||||
}
|
||||
|
||||
|
||||
@@ -92,7 +93,6 @@ class MagicEnvelope
|
||||
'sig' => $signature_alg->sign($armored_text),
|
||||
'alg' => $signature_alg->getName()
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
public function toXML($env) {
|
||||
@@ -110,7 +110,6 @@ class MagicEnvelope
|
||||
return $string;
|
||||
}
|
||||
|
||||
|
||||
public function unfold($env)
|
||||
{
|
||||
$dom = new DOMDocument();
|
||||
@@ -218,5 +217,4 @@ class MagicEnvelope
|
||||
'sig' => preg_replace('/\s/', '', $sig_element->nodeValue),
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user