comparison src/protocols/irc/irc.c @ 4834:0ed37c803503

[gaim-migrate @ 5159] Bjoern Voigt writes: "I resolved the conflicts and added a new patch in the attachment. Besides this updates | I have updated the German translation and fixed some i18n bugs. Most | interesting is, that the new Gaim main menu now can be translated. As | a quick fix I added a new item_factory_translate_func function to | buddy.c. Now there are 2 static item_factory_translate_func functions | in buddy.c and gtkconv.c. If you are interested, I can clean this next | time (only one global function in gaim.h and utils.c). | The other i18n fixed mark some strings as translatable, for instance | in the "Get Buddy Info" message boxes. I included an i18n fix for src/util.c:for sec_to_text (seconds to text)." committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Wed, 19 Mar 2003 23:07:52 +0000
parents 677d3cb193a1
children d9b6b5ae34e4
comparison
equal deleted inserted replaced
4833:a6960b4b0c9b 4834:0ed37c803503
1819 struct gaim_connection *gc = new_gaim_conn(account); 1819 struct gaim_connection *gc = new_gaim_conn(account);
1820 struct irc_data *idata = gc->proto_data = g_new0(struct irc_data, 1); 1820 struct irc_data *idata = gc->proto_data = g_new0(struct irc_data, 1);
1821 1821
1822 g_snprintf(gc->displayname, sizeof(gc->displayname), "%s", gc->username); 1822 g_snprintf(gc->displayname, sizeof(gc->displayname), "%s", gc->username);
1823 1823
1824 g_snprintf(buf, sizeof(buf), "Signon: %s", gc->username); 1824 g_snprintf(buf, sizeof(buf), _("Signon: %s"), gc->username);
1825 set_login_progress(gc, 2, buf); 1825 set_login_progress(gc, 2, buf);
1826 1826
1827 idata->chantypes = g_strdup("#&!+"); 1827 idata->chantypes = g_strdup("#&!+");
1828 idata->chanmodes = g_strdup("beI,k,lnt"); 1828 idata->chanmodes = g_strdup("beI,k,lnt");
1829 idata->nickmodes = g_strdup("ohv"); 1829 idata->nickmodes = g_strdup("ohv");