Explorar o código

converting string to ngettext. you have 1 message or you have more messages

tokul %!s(int64=21) %!d(string=hai) anos
pai
achega
584c58ec04
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      plugins/mail_fetch/fetch.php

+ 2 - 1
plugins/mail_fetch/fetch.php

@@ -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..."));