Mercurial > pidgin.yaz
diff src/protocols/oscar/oscar.c @ 6308:a21cf07cd8e1
[gaim-migrate @ 6807]
Added some ngettext things. IMO, ngettext makes things really ugly.
http://sourceforge.net/tracker/?group_id=235&atid=100235&func=detail&aid=775089
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 26 Jul 2003 17:48:50 +0000 |
parents | 511003c99302 |
children | f14718d7082e |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Sat Jul 26 16:11:30 2003 +0000 +++ b/src/protocols/oscar/oscar.c Sat Jul 26 17:48:50 2003 +0000 @@ -4461,8 +4461,11 @@ if (msglen > od->rights.maxsiglen) { gchar *errstr; - errstr = g_strdup_printf(_("The maximum profile length of %d bytes has been exceeded. " - "Gaim has truncated it for you."), od->rights.maxsiglen); + errstr = g_strdup_printf(ngettext("The maximum profile length of %d byte " + "has been exceeded. Gaim has truncated it for you.", + "The maximum profile length of %d bytes " + "has been exceeded. Gaim has truncated it for you.", + od->rights.maxsiglen), od->rights.maxsiglen); gaim_notify_warning(gc, NULL, _("Profile too long."), errstr); g_free(errstr); } @@ -4523,8 +4526,11 @@ if (msglen > od->rights.maxawaymsglen) { gchar *errstr; - errstr = g_strdup_printf(_("The maximum away message length of %d bytes has been exceeded. " - "Gaim has truncated it and set you away."), od->rights.maxawaymsglen); + errstr = g_strdup_printf(ngettext("The maximum away message length of %d byte " + "has been exceeded. Gaim has truncated it for you.", + "The maximum away message length of %d bytes " + "has been exceeded. Gaim has truncated it for you.", + od->rights.maxawaymsglen), od->rights.maxawaymsglen); gaim_notify_warning(gc, NULL, _("Away message too long."), errstr); g_free(errstr); }