Update translator documentation.

i18n fixes.
Whitespace updates.
This commit is contained in:
Siebrand Mazeland
2011-04-21 20:26:58 +02:00
parent 98cc1da7b5
commit 5e97047f8f
6 changed files with 16 additions and 16 deletions

View File

@@ -165,7 +165,8 @@ class EventPlugin extends MicroappPlugin
function saveNoticeFromActivity($activity, $actor, $options=array())
{
if (count($activity->objects) != 1) {
throw new Exception(_('Too many activity objects.'));
// TRANS: Exception thrown when there are too many activity objects.
throw new Exception(_m('Too many activity objects.'));
}
$happeningObj = $activity->objects[0];