@@ -82,7 +82,7 @@ InfoWin::InfoWin(BPoint p, FileInfo *f, BWindow* parent)
|
|||||||
if (f->count > 0) {
|
if (f->count > 0) {
|
||||||
// This is a directory, include file count information
|
// This is a directory, include file count information
|
||||||
static BMessageFormat format(B_TRANSLATE(
|
static BMessageFormat format(B_TRANSLATE(
|
||||||
"%size% in {0, plural, one{# file} other{# files}"));
|
"%size% in {0, plural, one{# file} other{# files}}"));
|
||||||
|
|
||||||
format.Format(name, f->count);
|
format.Format(name, f->count);
|
||||||
} else
|
} else
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ string_for_size(double size, char* string, size_t stringSize)
|
|||||||
double kib = size / 1024.0;
|
double kib = size / 1024.0;
|
||||||
if (kib < 1.0) {
|
if (kib < 1.0) {
|
||||||
const char* trKey = B_TRANSLATE_MARK(
|
const char* trKey = B_TRANSLATE_MARK(
|
||||||
"{0, plural, one{# byte} other{# bytes}");
|
"{0, plural, one{# byte} other{# bytes}}");
|
||||||
|
|
||||||
BString tmp;
|
BString tmp;
|
||||||
BMessageFormat format(
|
BMessageFormat format(
|
||||||
|
|||||||
Reference in New Issue
Block a user