diff options
Diffstat (limited to 'widgets/table')
-rw-r--r-- | 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 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), |