X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fbirthday.c;fp=src%2Fbirthday.c;h=bca95a7c06cf0382fd4e1ce0a8f847aa2991bfd6;hb=19417ac6d4b9954bfd267f51eda5e53e7fcb93fc;hp=26c71f91bee6e891fdf311dfc2554d619cd822d9;hpb=8d43f808e9b58a43ce65dce174d92cb36cc2ac7c;p=birthday
diff --git a/src/birthday.c b/src/birthday.c
index 26c71f9..bca95a7 100644
--- a/src/birthday.c
+++ b/src/birthday.c
@@ -453,13 +453,13 @@ create_bday_liststore (BirthdayData *priv, GList *contacts)
next_birthday = calc_next_bday(bdate, current_date);
if (next_birthday == 0)
- next_birthday_text = g_strdup_printf(_("has birthday today"));
- else if (next_birthday == 1)
- next_birthday_text = g_strdup_printf(_("will have birthday tomorrow"));
+ next_birthday_text = g_strdup_printf (_("has birthday today"));
else
- next_birthday_text = g_strdup_printf(_("will have birthday in %d days"), next_birthday);
+ next_birthday_text = g_strdup_printf (ngettext ("will have birthday tomorrow",
+ "will have birthday in %d days", next_birthday),
+ next_birthday);
- display_column = g_strdup_printf("%s (%d)\n%s, %s",
+ display_column = g_strdup_printf ("%s (%d)\n%s, %s",
fullname, text_font, text_color, age, birthday_text, next_birthday_text);
gtk_list_store_append (store, &iter);