Fix gettext domain for messages in plugins "_()" to "_m()".

Some other i18n and L10n updates, too.

i18n/L10n review not complete.
This commit is contained in:
Siebrand Mazeland
2011-03-30 22:30:23 +02:00
parent 0ac0925309
commit 14456cbbb2
67 changed files with 264 additions and 251 deletions

View File

@@ -274,7 +274,7 @@ class BookmarkPlugin extends MicroAppPlugin
$action->elementStart('li');
$action->element('a',
array('href' => common_local_url('importdelicious')),
_('Import del.icio.us bookmarks'));
_m('Import del.icio.us bookmarks'));
$action->elementEnd('li');
}
@@ -379,7 +379,7 @@ class BookmarkPlugin extends MicroAppPlugin
$relLinkEls = ActivityUtils::getLinks($bookmark->element, 'related');
if (count($relLinkEls) < 1) {
throw new ClientException(_('Expected exactly 1 link '.
throw new ClientException(_m('Expected exactly 1 link '.
'rel=related in a Bookmark.'));
}
@@ -472,7 +472,7 @@ class BookmarkPlugin extends MicroAppPlugin
$attachments = $notice->attachments();
if (count($attachments) != 1) {
throw new ServerException(_('Bookmark notice with the '.
throw new ServerException(_m('Bookmark notice with the '.
'wrong number of attachments.'));
}