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:
parent
9df58a28b0
commit
75575b6020
@ -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(' ');
|
||||
|
Loading…
Reference in New Issue
Block a user