[gnumeric] Fixed I18N (plural forms)



commit f3dcaf509aa3d97dcdaf0bd6ed4985491a865259
Author: Marek Äernockà <marek manet cz>
Date:   Sun Oct 30 23:52:54 2011 +0100

    Fixed I18N (plural forms)

 src/print.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/print.c b/src/print.c
index fc26f2a..c1bf267 100644
--- a/src/print.c
+++ b/src/print.c
@@ -1384,8 +1384,12 @@ gnm_draw_page_cb (GtkPrintOperation *operation,
 			else
 				text = g_strdup_printf 
 					(pi->preview ? 
-					 _("Creating preview of page %3d of %3d pages") 
-					 : _("Printing page %3d of %3d pages"), 
+					 ngettext("Creating preview of page %3d of %3d page",
+					          "Creating preview of page %3d of %3d pages",
+					          pi->hfi->pages) 
+					 : ngettext("Printing page %3d of %3d page",
+					            "Printing page %3d of %3d pages",
+					            pi->hfi->pages), 
 					 page_nr, pi->hfi->pages);
 			g_object_set (G_OBJECT (pi->progress), "text", text, NULL);
 			g_free (text);



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