[gtk+] Use dngettext instead of ngettext



commit 568feffa699b75ba16023069297ca887d18000ff
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Mar 27 19:00:31 2016 -0400

    Use dngettext instead of ngettext
    
    Since we are a library, we have to pass the domain explicitly.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=764261

 gtk/gtkplacesviewrow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkplacesviewrow.c b/gtk/gtkplacesviewrow.c
index a742ff9..8f54ee6 100644
--- a/gtk/gtkplacesviewrow.c
+++ b/gtk/gtkplacesviewrow.c
@@ -129,7 +129,7 @@ measure_available_space_finished (GObject      *object,
    * should be based on the free space available.
    * i.e. 1 GB / 24 GB available.
    */
-  label = g_strdup_printf (ngettext ("%s / %s available", "%s / %s available", plural_form),
+  label = g_strdup_printf (dngettext (GETTEXT_PACKAGE, "%s / %s available", "%s / %s available", 
plural_form),
                            formatted_free_size, formatted_total_size);
 
   gtk_label_set_label (row->available_space_label, label);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]