Mercurial > pidgin
comparison src/protocols/oscar/oscar.c @ 7129:8246bd3141ae
[gaim-migrate @ 7696]
"I have updated the German translation and fixed some little i18n
problems.
i18n31.patch contains:
- Updated German translation
(the translation contains lots of changes from Christian Weyer
<cw@centerwave.de>)
- updated po/POTFILES.in
- small string fixes in
src/gtkprefs.c
src/protocols/oscar/oscar.c
and src/protocols/yahoo/yahoo.c
" -- Bjoern Voigt
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Fri, 03 Oct 2003 11:27:54 +0000 |
parents | 208cb260d7a7 |
children | af8ac078d4c2 |
comparison
equal
deleted
inserted
replaced
7128:43e8430a4469 | 7129:8246bd3141ae |
---|---|
3159 g_string_append_printf(text, _("Idle: <b>Active</b>")); | 3159 g_string_append_printf(text, _("Idle: <b>Active</b>")); |
3160 | 3160 |
3161 if ((userinfo->flags & AIM_FLAG_AWAY) && (userinfo->away_len > 0) && (userinfo->away != NULL) && (userinfo->away_encoding != NULL)) { | 3161 if ((userinfo->flags & AIM_FLAG_AWAY) && (userinfo->away_len > 0) && (userinfo->away != NULL) && (userinfo->away_encoding != NULL)) { |
3162 away_utf8 = oscar_encoding_to_utf8(userinfo->away_encoding, userinfo->away, userinfo->away_len); | 3162 away_utf8 = oscar_encoding_to_utf8(userinfo->away_encoding, userinfo->away, userinfo->away_len); |
3163 if (away_utf8 != NULL) { | 3163 if (away_utf8 != NULL) { |
3164 g_string_append_printf(text, _("<hr>%s"), away_utf8); | 3164 g_string_append_printf(text, "<hr>%s", away_utf8); |
3165 g_free(away_utf8); | 3165 g_free(away_utf8); |
3166 } | 3166 } |
3167 } | 3167 } |
3168 | 3168 |
3169 if ((userinfo->info_len > 0) && (userinfo->info != NULL) && (userinfo->info_encoding != NULL)) { | 3169 if ((userinfo->info_len > 0) && (userinfo->info != NULL) && (userinfo->info_encoding != NULL)) { |
3170 info_utf8 = oscar_encoding_to_utf8(userinfo->info_encoding, userinfo->info, userinfo->info_len); | 3170 info_utf8 = oscar_encoding_to_utf8(userinfo->info_encoding, userinfo->info, userinfo->info_len); |
3171 if (info_utf8 != NULL) { | 3171 if (info_utf8 != NULL) { |
3172 g_string_append_printf(text, _("<hr>%s"), info_utf8); | 3172 g_string_append_printf(text, "<hr>%s", info_utf8); |
3173 g_free(info_utf8); | 3173 g_free(info_utf8); |
3174 } | 3174 } |
3175 } | 3175 } |
3176 | 3176 |
3177 final = gaim_str_sub_away_formatters(text->str, gaim_connection_get_display_name(gc)); | 3177 final = gaim_str_sub_away_formatters(text->str, gaim_connection_get_display_name(gc)); |