comparison libpurple/protocols/yahoo/yahoo.c @ 27856:ea73d3aca380

localized "Away" string may fit UTF8.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Wed, 11 Jun 2008 13:37:27 +0000
parents 0e732ea68e50
children 28a7992d37b2
comparison
equal deleted inserted replaced
27855:0e732ea68e50 27856:ea73d3aca380
3811 yahoo_packet_hash_str(pkt, 97, utf8 ? "1" : 0); 3811 yahoo_packet_hash_str(pkt, 97, utf8 ? "1" : 0);
3812 yahoo_packet_hash_str(pkt, 19, msg2); // yaz: pkt may be NULL. 3812 yahoo_packet_hash_str(pkt, 19, msg2); // yaz: pkt may be NULL.
3813 } else { 3813 } else {
3814 /* get_yahoo_status_from_purple_status() returns YAHOO_STATUS_CUSTOM for 3814 /* get_yahoo_status_from_purple_status() returns YAHOO_STATUS_CUSTOM for
3815 * the generic away state (YAHOO_STATUS_TYPE_AWAY) with no message */ 3815 * the generic away state (YAHOO_STATUS_TYPE_AWAY) with no message */
3816 yahoo_packet_hash_str(pkt, 97, utf8 ? "1" : 0);
3816 yahoo_packet_hash_str(pkt, 19, _("Away")); 3817 yahoo_packet_hash_str(pkt, 19, _("Away"));
3817 } 3818 }
3818 } else { 3819 } else {
3819 yahoo_packet_hash_str(pkt, 19, ""); 3820 yahoo_packet_hash_str(pkt, 19, "");
3820 } 3821 }