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

List:       kde-commits
Subject:    Re: playground/utils/dolphin/src
From:       David Faure <faure () kde ! org>
Date:       2007-02-11 21:13:41
Message-ID: 200702112213.42491.faure () kde ! org
[Download RAW message or body]

On Sunday 11 February 2007, Peter Penz wrote:
>      if (fileCount == 1) {
> -        text += i18n("1 File selected (%1)",sizeText);
> +        text += i18n("1 File selected (%1)", sizeText);
>      }
>      else if (fileCount > 1) {
> -        text += i18n("%1 Files selected (%1)",fileCount,sizeText);
> +        text += i18n("%1 Files selected (%2)", fileCount, sizeText);
>      }

This is wrong (in other languages, there are more rules than ==1 or >1)
It should be 
  i18np("1 file selected (%1)", "%n files selected (%1)", fileCount, sizeText);
(see klocalizedstring.h)

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

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

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