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:
@@ -355,7 +355,7 @@ wxString wxFileData::GetHint() const
|
|||||||
else if (IsDrive())
|
else if (IsDrive())
|
||||||
s += _("<DRIVE>");
|
s += _("<DRIVE>");
|
||||||
else // plain file
|
else // plain file
|
||||||
s += wxString::Format(_("%ld bytes"),
|
s += wxString::Format(wxPLURAL("%ld byte", "%ld bytes", m_size),
|
||||||
wxLongLong(m_size).ToString().c_str());
|
wxLongLong(m_size).ToString().c_str());
|
||||||
|
|
||||||
s += wxT(' ');
|
s += wxT(' ');
|
||||||
|
Reference in New Issue
Block a user