aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-group-container.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-table-group-container.c')
-rw-r--r--widgets/table/e-table-group-container.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/widgets/table/e-table-group-container.c b/widgets/table/e-table-group-container.c
index 632f998c84..86a8036450 100644
--- a/widgets/table/e-table-group-container.c
+++ b/widgets/table/e-table-group-container.c
@@ -342,15 +342,15 @@ compute_text (ETableGroupContainer *etgc, ETableGroupContainerChildNode *child_n
gchar *text;
if (etgc->ecol->text) {
- text = g_strdup_printf ((child_node->count == 1)
- ? _("%s : %s (%d item)")
- : _("%s : %s (%d 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 {
- text = g_strdup_printf ((child_node->count == 1)
- ? _("%s (%d item)")
- : _("%s (%d items)"),
+ text = g_strdup_printf (ngettext("%s (%d item)",
+ "%s (%d items)",
+ child_node->count),
child_node->string,
(gint) child_node->count);
}