[rygel] Changed _ to ngettext for 1 message
- From: Marek Černocký <mcernocky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] Changed _ to ngettext for 1 message
- Date: Sat, 25 Jul 2015 10:42:20 +0000 (UTC)
commit c8896b4c1c7c4c0b4b26009946bf43510a11d44b
Author: Marek Černocký <marek manet cz>
Date: Sat Jul 25 12:42:09 2015 +0200
Changed _ to ngettext for 1 message
.../rygel-media-export-item-factory.vala | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-item-factory.vala
b/src/plugins/media-export/rygel-media-export-item-factory.vala
index 4e1b1d2..e133309 100644
--- a/src/plugins/media-export/rygel-media-export-item-factory.vala
+++ b/src/plugins/media-export/rygel-media-export-item-factory.vala
@@ -133,7 +133,9 @@ namespace Rygel.MediaExport.ItemFactory {
var it = v.iterator ();
if (it.n_children () != 7) {
- warning (_("Invalid metadata serialisation: expected 7 children, got %d"),
+ warning (ngettext("Invalid metadata serialisation: expected 7 children, got %d",
+ "Invalid metadata serialisation: expected 7 children, got %d",
+ (int) it.n_children ()),
(int) it.n_children ());
return null;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]