[gnumeric] I18N fixing



commit d19fe50e85bca4b93cf3e0ac31aba713a052a758
Author: Marek Ä?ernocký <marek manet cz>
Date:   Tue Mar 8 13:14:35 2011 +0100

    I18N fixing

 src/item-bar.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/item-bar.c b/src/item-bar.c
index ad5eb99..384dd0c 100644
--- a/src/item-bar.c
+++ b/src/item-bar.c
@@ -783,10 +783,14 @@ colrow_tip_setlabel (ItemBar *ib, gboolean const is_cols, int size_pixels)
 		char *buffer;
 		double const scale = 72. / gnm_app_display_dpi_get (!is_cols);
 		if (is_cols)
-			buffer = g_strdup_printf (_("Width: %.2f pts (%d pixels)"),
+			buffer = g_strdup_printf (ngettext ("Width: %.2f pts (%d pixel)",
+							"Width: %.2f pts (%d pixels)",
+							size_pixels),
 						  scale*size_pixels, size_pixels);
 		else
-			buffer = g_strdup_printf (_("Height: %.2f pts (%d pixels)"),
+			buffer = g_strdup_printf (ngettext ("Height: %.2f pts (%d pixel)",
+							"Height: %.2f pts (%d pixels)",
+							size_pixels),
 						  scale*size_pixels, size_pixels);
 		gtk_label_set_text (GTK_LABEL (ib->tip), buffer);
 		g_free(buffer);



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