[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    i18n call ignored
From:       Michael =?iso-8859-1?q?H=E4ckel?= <Michael () Haeckel ! Net>
Date:       2001-04-21 19:49:53
[Download RAW message or body]

Hi,

has anyone an idea, why in the code below the first two i18n calls are not 
found and inserted in the kmail.po file. The third one is found. In other 
parts of KMail this plural handling also works.

Am I doing something wrong here, or is this a gettext bug?

BTW, since we just recieved a bug report: It is now possible for the 
translator to cause application crashes by not inserting the correct number 
of "\n"'s in such a string.

Regards,
Michael Häckel


void KMHeaders::setFolderInfoStatus ()
{
  QString str;
  str = i18n("%n message, %1.", "%n messages, %1.", mFolder->count())
    .arg(i18n("%n unread", "%n unread", mFolder->countUnread()));
  if (mFolder->isReadOnly()) str += i18n("Folder is read-only.");
  mOwner->statusMsg(str);
}

_______________________________________________
Kmail Developers mailing list
Kmail@master.kde.org
http://master.kde.org/mailman/listinfo/kmail

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic