converting string to ngettext. you have 1 message or you have more messages
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 4 Oct 2004 15:04:20 +0000 (15:04 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 4 Oct 2004 15:04:20 +0000 (15:04 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8143 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/mail_fetch/fetch.php

index 6025c41464e1ed7e486fd46865fce396031ade50..b008b51fbe75c8b77640bff30e31a6cd1c6882c2 100644 (file)
@@ -210,7 +210,8 @@ sqgetGlobalVar('delimiter',  $delimiter,  SQ_SESSION);
             continue;
         } else {
             $newmsgcount = $Count - $i + 1;
-            Mail_Fetch_Status(sprintf(_("Login OK: Inbox contains %s messages"), $newmsgcount));
+            Mail_Fetch_Status(sprintf(ngettext("Login OK: Inbox contains %s message",
+                       "Login OK: Inbox contains %s messages",$newmsgcount), $newmsgcount));
         }
 
         Mail_Fetch_Status(_("Fetching UIDL..."));