projects
/
birthday
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated next birthday text to get better translation of it.
[birthday]
/
src
/
birthday.c
diff --git
a/src/birthday.c
b/src/birthday.c
index
26c71f9
..
bca95a7
100644
(file)
--- 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 = 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
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 <span font_desc=\"%s\" foreground=\"%s\"><sup>(%d)</sup>\n%s, %s</span>",
+ display_column = g_strdup_printf ("%s <span font_desc=\"%s\" foreground=\"%s\"><sup>(%d)</sup>\n%s, %s</span>",
fullname, text_font, text_color, age, birthday_text, next_birthday_text);
gtk_list_store_append (store, &iter);
fullname, text_font, text_color, age, birthday_text, next_birthday_text);
gtk_list_store_append (store, &iter);