* i18n/L10n update

* translator comments added
* remove superfluous whitespace
This commit is contained in:
Siebrand Mazeland
2010-09-19 15:17:36 +02:00
parent 07cd52afc7
commit 5a6f616206
26 changed files with 236 additions and 194 deletions

View File

@@ -27,7 +27,6 @@
* @link http://status.net/
*/
class XRD
{
const XML_NS = 'http://www.w3.org/2000/xmlns/';
@@ -61,11 +60,13 @@ class XRD
error_reporting($old);
if (!$ok) {
throw new Exception("Invalid XML.");
// TRANS: Exception.
throw new Exception(_m('Invalid XML.'));
}
$xrd_element = $dom->getElementsByTagName('XRD')->item(0);
if (!$xrd_element) {
throw new Exception("Invalid XML, missing XRD root.");
// TRANS: Exception.
throw new Exception(_m('Invalid XML, missing XRD root.'));
}
// Check for host-meta host