aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-04-02 18:28:52 +0800
committerMilan Crha <mcrha@redhat.com>2010-04-02 18:28:52 +0800
commit6f37596c495c9f62b911890478fbdc7623239983 (patch)
treeffd3c7899d09d533ffa4c60ba4b0f9a1008c2009 /widgets/table
parentb60af969cf5c390d2aa6ca01233d6278959c0af2 (diff)
downloadgsoc2013-evolution-6f37596c495c9f62b911890478fbdc7623239983.tar
gsoc2013-evolution-6f37596c495c9f62b911890478fbdc7623239983.tar.gz
gsoc2013-evolution-6f37596c495c9f62b911890478fbdc7623239983.tar.bz2
gsoc2013-evolution-6f37596c495c9f62b911890478fbdc7623239983.tar.lz
gsoc2013-evolution-6f37596c495c9f62b911890478fbdc7623239983.tar.xz
gsoc2013-evolution-6f37596c495c9f62b911890478fbdc7623239983.tar.zst
gsoc2013-evolution-6f37596c495c9f62b911890478fbdc7623239983.zip
Bug #325616 - Remove whitespace, add translator comments
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-table-group-container.c17
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 1f06f06e3c..e99270bd4b 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),