Use _m() instead of ngettext().

This commit is contained in:
Siebrand Mazeland 2011-04-03 22:08:50 +02:00
parent 09523a19d7
commit 7bd594e9d3
2 changed files with 4 additions and 4 deletions

View File

@ -198,7 +198,7 @@ class ApplicationEditForm extends Form
if ($maxDesc > 0) { if ($maxDesc > 0) {
// TRANS: Form input field instructions. // TRANS: Form input field instructions.
// TRANS: %d is the number of available characters for the description. // TRANS: %d is the number of available characters for the description.
$descInstr = sprintf(ngettext('Describe your application in %d character','Describe your application in %d characters',$maxDesc), $descInstr = sprintf(_m('Describe your application in %d character','Describe your application in %d characters',$maxDesc),
$maxDesc); $maxDesc);
} else { } else {
// TRANS: Form input field instructions. // TRANS: Form input field instructions.

View File

@ -824,7 +824,7 @@ class SubscriptionsCommand extends Command
// TRANS: Text shown after requesting other users a user is subscribed to. // TRANS: Text shown after requesting other users a user is subscribed to.
// TRANS: This message supports plural forms. This message is followed by a // TRANS: This message supports plural forms. This message is followed by a
// TRANS: hard coded space and a comma separated list of subscribed users. // TRANS: hard coded space and a comma separated list of subscribed users.
$out = ngettext('You are subscribed to this person:', $out = _m('You are subscribed to this person:',
'You are subscribed to these people:', 'You are subscribed to these people:',
count($nicknames)); count($nicknames));
$out .= ' '; $out .= ' ';
@ -851,7 +851,7 @@ class SubscribersCommand extends Command
// TRANS: Text shown after requesting other users that are subscribed to a user (followers). // TRANS: Text shown after requesting other users that are subscribed to a user (followers).
// TRANS: This message supports plural forms. This message is followed by a // TRANS: This message supports plural forms. This message is followed by a
// TRANS: hard coded space and a comma separated list of subscribing users. // TRANS: hard coded space and a comma separated list of subscribing users.
$out = ngettext('This person is subscribed to you:', $out = _m('This person is subscribed to you:',
'These people are subscribed to you:', 'These people are subscribed to you:',
count($nicknames)); count($nicknames));
$out .= ' '; $out .= ' ';
@ -878,7 +878,7 @@ class GroupsCommand extends Command
// TRANS: Text shown after requesting groups a user is subscribed to. // TRANS: Text shown after requesting groups a user is subscribed to.
// TRANS: This message supports plural forms. This message is followed by a // TRANS: This message supports plural forms. This message is followed by a
// TRANS: hard coded space and a comma separated list of subscribed groups. // TRANS: hard coded space and a comma separated list of subscribed groups.
$out = ngettext('You are a member of this group:', $out = _m('You are a member of this group:',
'You are a member of these groups:', 'You are a member of these groups:',
count($nicknames)); count($nicknames));
$out.=implode(', ',$groups); $out.=implode(', ',$groups);