[banshee] [Source] Culturally format the statusbar item count
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [Source] Culturally format the statusbar item count
- Date: Thu, 15 Jul 2010 02:03:10 +0000 (UTC)
commit 58da8c4d07820daca7a9898286eecbe90401224a
Author: Gabriel Burt <gabriel burt gmail com>
Date: Wed Jul 14 19:02:10 2010 -0700
[Source] Culturally format the statusbar item count
For en_US, that will put commas every 3 digits.
.../Banshee.Services/Banshee.Sources/Source.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.Services/Banshee.Sources/Source.cs b/src/Core/Banshee.Services/Banshee.Sources/Source.cs
index 15d8b4e..18d934e 100644
--- a/src/Core/Banshee.Services/Banshee.Sources/Source.cs
+++ b/src/Core/Banshee.Services/Banshee.Sources/Source.cs
@@ -762,7 +762,7 @@ namespace Banshee.Sources
return String.Empty;
}
- builder.AppendFormat (Catalog.GetPluralString ("{0} item", "{0} items", count), count);
+ builder.AppendFormat (Catalog.GetPluralString ("{0:N0} item", "{0:N0} items", count), count);
if (this is IDurationAggregator && StatusFormatsCount > 0) {
var duration = ((IDurationAggregator)this).Duration;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]