[rygel] media-export: Use ngettext for string with plurals
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] media-export: Use ngettext for string with plurals
- Date: Mon, 19 Apr 2010 23:01:41 +0000 (UTC)
commit d18e8c038d646432449517036ab20eb7a9214a4d
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Tue Apr 20 01:51:00 2010 +0300
media-export: Use ngettext for string with plurals
.../rygel-media-export-query-container.vala | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-query-container.vala b/src/plugins/media-export/rygel-media-export-query-container.vala
index fd27c85..2cb8244 100644
--- a/src/plugins/media-export/rygel-media-export-query-container.vala
+++ b/src/plugins/media-export/rygel-media-export-query-container.vala
@@ -115,7 +115,10 @@ internal class Rygel.MediaExportQueryContainer : Rygel.MediaDBContainer {
i += 2;
}
this.child_count = this.count_children ();
- debug (_("We have %u children"), this.child_count);
+ debug (ngettext ("We have %u child.",
+ "We have %u children.",
+ this.child_count),
+ this.child_count);
}
private int count_children () {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]