comparison libpurple/protocols/jabber/buddy.c @ 29231:b8d47ed6ceb1

This string is already translated; so it need not be translated again. Also, I'm not sure how translators would expect to handle "%s".
author Paul Aurich <paul@darkrain42.org>
date Tue, 05 Jan 2010 21:04:26 +0000
parents 516e53916962
children 4e7fd81a39c6
comparison
equal deleted inserted replaced
29230:ca87541a1b33 29231:b8d47ed6ceb1
821 char *last = purple_str_seconds_to_string(jbi->last_seconds); 821 char *last = purple_str_seconds_to_string(jbi->last_seconds);
822 gchar *message = NULL; 822 gchar *message = NULL;
823 const gchar *title = NULL; 823 const gchar *title = NULL;
824 if (is_domain) { 824 if (is_domain) {
825 title = _("Uptime"); 825 title = _("Uptime");
826 message = g_strdup_printf(_("%s"), last); 826 message = last;
827 last = NULL;
827 } else { 828 } else {
828 title = _("Logged Off"); 829 title = _("Logged Off");
829 message = g_strdup_printf(_("%s ago"), last); 830 message = g_strdup_printf(_("%s ago"), last);
830 } 831 }
831 purple_notify_user_info_prepend_pair(user_info, title, message); 832 purple_notify_user_info_prepend_pair(user_info, title, message);