From 02f005fe5f932d3cf7677842d724cf3da76817b1 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Fri, 14 Jan 2011 21:53:39 +0100 Subject: [PATCH] * L10n updates * translator documentation added --- lib/atom10feed.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/atom10feed.php b/lib/atom10feed.php index 881df6605f..8d4b66d8b8 100644 --- a/lib/atom10feed.php +++ b/lib/atom10feed.php @@ -108,8 +108,9 @@ class Atom10Feed extends XMLStringer if (!empty($name)) { $xs->element('name', null, $name); } else { + // TRANS: Atom feed exception thrown when an author element does not contain a name element. throw new Atom10FeedException( - _('author element must contain a name element.') + _('Author element must contain a name element.') ); } @@ -155,7 +156,8 @@ class Atom10Feed extends XMLStringer function setActivitySubject($xmlSubject) { - throw new ServerException(_('Don\'t use this method!')); + // TRANS: Server exception thrown when using the method setActivitySubject() in the class Atom10Feed. + throw new ServerException(_('Do not use this method!')); } function getNamespaces()