From 75575b6020b5501bdbd4b54346f409fce8347278 Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Thu, 27 Jul 2006 11:40:15 +0000 Subject: [PATCH] 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 --- src/generic/filedlgg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/filedlgg.cpp b/src/generic/filedlgg.cpp index 072c6072c6..d513ec1281 100644 --- a/src/generic/filedlgg.cpp +++ b/src/generic/filedlgg.cpp @@ -355,7 +355,7 @@ wxString wxFileData::GetHint() const else if (IsDrive()) s += _(""); 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(' '); -- 2.45.2