[evolution] Bug #325616 - Remove whitespace, add translator comments



commit 6f37596c495c9f62b911890478fbdc7623239983
Author: Milan Crha <mcrha redhat com>
Date:   Fri Apr 2 12:28:52 2010 +0200

    Bug #325616 - Remove whitespace, add translator comments

 widgets/table/e-table-group-container.c |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/widgets/table/e-table-group-container.c b/widgets/table/e-table-group-container.c
index 1f06f06..e99270b 100644
--- a/widgets/table/e-table-group-container.c
+++ b/widgets/table/e-table-group-container.c
@@ -339,12 +339,25 @@ compute_text (ETableGroupContainer *etgc, ETableGroupContainerChildNode *child_n
 	gchar *text;
 
 	if (etgc->ecol->text) {
-		text = g_strdup_printf (ngettext("%s : %s (%d item)",
-						 "%s : %s (%d items)",
+		/* Translators: This text is used as a special row when an ETable
+		   has turned on grouping on a column, which has set a title.
+		   The first %s is replaced with a column title.
+		   The second %s is replaced with an actual  group value.
+		   Finally the %d is replaced with count of items in this group.
+		   Example: "Family name: Smith (13 items)"
+		*/
+		text = g_strdup_printf (ngettext("%s: %s (%d item)",
+						 "%s: %s (%d items)",
 						 child_node->count),
 					etgc->ecol->text, child_node->string,
 					(gint) child_node->count);
 	} else {
+		/* Translators: This text is used as a special row when an ETable
+		   has turned on grouping on a column, which doesn't have set a title.
+		   The %s is replaced with an actual group value.
+		   The %d is replaced with count of items in this group.
+		   Example: "Smith (13 items)"
+		*/
 		text = g_strdup_printf (ngettext("%s (%d item)",
 						 "%s (%d items)",
 						 child_node->count),



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