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

@@ -157,7 +157,7 @@ class UsersalmonAction extends SalmonAction
if (!empty($old)) {
// TRANS: Client exception.
throw new ClientException(_('This is already a favorite.'));
throw new ClientException(_m('This is already a favorite.'));
}
if (!Fave::addNew($profile, $notice)) {
@@ -179,7 +179,7 @@ class UsersalmonAction extends SalmonAction
'notice_id' => $notice->id));
if (empty($fave)) {
// TRANS: Client exception.
throw new ClientException(_('Notice wasn\'t favorited!'));
throw new ClientException(_m('Notice was not favorited!'));
}
$fave->delete();