[rhythmbox] grilo: use ngettext where appropriate (bug #658801)
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] grilo: use ngettext where appropriate (bug #658801)
- Date: Tue, 13 Sep 2011 11:22:43 +0000 (UTC)
commit 61d473070a5965332e1714c0290eb32665660353
Author: Jonathan Matthew <jonathan d14n org>
Date: Mon Sep 12 21:57:26 2011 +1000
grilo: use ngettext where appropriate (bug #658801)
plugins/grilo/rb-grilo-source.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/plugins/grilo/rb-grilo-source.c b/plugins/grilo/rb-grilo-source.c
index 63e3be9..cc897b4 100644
--- a/plugins/grilo/rb-grilo-source.c
+++ b/plugins/grilo/rb-grilo-source.c
@@ -844,7 +844,9 @@ grilo_media_browse_cb (GrlMediaSource *grilo_source, guint operation_id, GrlMedi
} else {
char *text;
- text = g_strdup_printf (_("Only showing %d results"),
+ text = g_strdup_printf (ngettext ("Only showing %d result",
+ "Only showing %d results",
+ source->priv->media_browse_position),
source->priv->media_browse_position);
gtk_label_set_text (GTK_LABEL (source->priv->info_bar_label), text);
g_free (text);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]