From 7bd594e9d3f479ed0f1b7be9e872c4ce9540701c Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Sun, 3 Apr 2011 22:08:50 +0200 Subject: [PATCH] Use _m() instead of ngettext(). --- lib/applicationeditform.php | 2 +- lib/command.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/applicationeditform.php b/lib/applicationeditform.php index ec6702cd64..dda61dbb69 100644 --- a/lib/applicationeditform.php +++ b/lib/applicationeditform.php @@ -198,7 +198,7 @@ class ApplicationEditForm extends Form if ($maxDesc > 0) { // TRANS: Form input field instructions. // 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); } else { // TRANS: Form input field instructions. diff --git a/lib/command.php b/lib/command.php index aaad577761..abc9e22b45 100644 --- a/lib/command.php +++ b/lib/command.php @@ -824,7 +824,7 @@ class SubscriptionsCommand extends Command // 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: 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:', count($nicknames)); $out .= ' '; @@ -851,7 +851,7 @@ class SubscribersCommand extends Command // 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: 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:', count($nicknames)); $out .= ' '; @@ -878,7 +878,7 @@ class GroupsCommand extends Command // TRANS: Text shown after requesting groups a user is subscribed to. // TRANS: This message supports plural forms. This message is followed by a // 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:', count($nicknames)); $out.=implode(', ',$groups);