Use wxPLURAL to allow for singular "%ld bytes" version. Noticed by Priit Laes.

This is the first usage of wxPLURAL inside the library itself. We surely have more singular/plural strings than
one?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mart Raudsepp 2006-07-27 11:40:15 +00:00
parent 9df58a28b0
commit 75575b6020

View File

@ -355,7 +355,7 @@ wxString wxFileData::GetHint() const
else if (IsDrive())
s += _("<DRIVE>");
else // plain file
s += wxString::Format(_("%ld bytes"),
s += wxString::Format(wxPLURAL("%ld byte", "%ld bytes", m_size),
wxLongLong(m_size).ToString().c_str());
s += wxT(' ');