[totem] main: Fix ngettext usage
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] main: Fix ngettext usage
- Date: Fri, 28 Feb 2014 15:27:27 +0000 (UTC)
commit f9731335152a3b8aa51b04b026e7ee965901b174
Author: Bastien Nocera <hadess hadess net>
Date: Fri Feb 28 16:25:59 2014 +0100
main: Fix ngettext usage
https://bugzilla.gnome.org/show_bug.cgi?id=725401
src/totem-main-toolbar.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/totem-main-toolbar.c b/src/totem-main-toolbar.c
index ffba46b..4fe3aff 100644
--- a/src/totem-main-toolbar.c
+++ b/src/totem-main-toolbar.c
@@ -137,7 +137,7 @@ update_toolbar_state (TotemMainToolbar *bar)
const char *format;
char *label;
- format = ngettext (N_("%d selected"), N_("%d selected"), priv->n_selected);
+ format = g_dngettext (GETTEXT_PACKAGE, "%d selected", "%d selected", priv->n_selected);
label = g_strdup_printf (format, priv->n_selected);
gtk_button_set_label (GTK_BUTTON (priv->selection_menu_button), label);
g_free (label);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]