aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-group-container.c
diff options
context:
space:
mode:
authorBenoît Dejean <benoit@placenet.org>2006-07-18 18:29:46 +0800
committerAndre Klapper <aklapper@src.gnome.org>2006-07-18 18:29:46 +0800
commit97f95e328d2b58266ad35847f5b066cf04f49e52 (patch)
tree2876852ed78b7c3488be970ba6ccba69a05da447 /widgets/table/e-table-group-container.c
parent9b1edd91d3d3e0071cb678841504f771550e85ba (diff)
downloadgsoc2013-evolution-97f95e328d2b58266ad35847f5b066cf04f49e52.tar.gz
gsoc2013-evolution-97f95e328d2b58266ad35847f5b066cf04f49e52.tar.zst
gsoc2013-evolution-97f95e328d2b58266ad35847f5b066cf04f49e52.zip
** Fixes bug #333041 add gettext support to some strings.
2006-07-18 Benoît Dejean <benoit@placenet.org> ** Fixes bug #333041 * e-table-group-container.c: add gettext support to some strings. svn path=/trunk/; revision=32338
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);
}