comparison plugins/log_reader.c @ 13363:ef5287de40b5

[gaim-migrate @ 15736] Emil Nowak pointed out that the names of other IM clients shouldn't be marked for translation. I did some checking and it seems the creators of those clients don't translate the names. I thought perhaps MSN Messenger would be, for example. Also, I noticed that the logout notifications should be reworded to match the string we use now in the buddy state notification plugin. This reuses an existing string, so it doesn't break the string freeze. I really need to get back to work on this plugin. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Wed, 01 Mar 2006 07:17:39 +0000
parents 3a97c65196d1
children 8921c9aa2b20
comparison
equal deleted inserted replaced
13362:f33077f19b60 13363:ef5287de40b5
1418 g_string_append(formatted, "</b>"); 1418 g_string_append(formatted, "</b>");
1419 footer = NULL; 1419 footer = NULL;
1420 } else if (strstr(line, " signed off ")) { 1420 } else if (strstr(line, " signed off ")) {
1421 if (buddy->alias) 1421 if (buddy->alias)
1422 g_string_append_printf(formatted, 1422 g_string_append_printf(formatted,
1423 _("%s logged out."), buddy->alias); 1423 _("%s has signed off."), buddy->alias);
1424 else 1424 else
1425 g_string_append_printf(formatted, 1425 g_string_append_printf(formatted,
1426 _("%s logged out."), log->name); 1426 _("%s has signed off."), log->name);
1427 line = ""; 1427 line = "";
1428 } else if (strstr(line, " signed on ")) { 1428 } else if (strstr(line, " signed on ")) {
1429 if (buddy->alias) 1429 if (buddy->alias)
1430 g_string_append(formatted, buddy->alias); 1430 g_string_append(formatted, buddy->alias);
1431 else 1431 else
1925 1925
1926 ppref = gaim_plugin_pref_new_with_label(_("Log Directory")); 1926 ppref = gaim_plugin_pref_new_with_label(_("Log Directory"));
1927 gaim_plugin_pref_frame_add(frame, ppref); 1927 gaim_plugin_pref_frame_add(frame, ppref);
1928 1928
1929 ppref = gaim_plugin_pref_new_with_name_and_label( 1929 ppref = gaim_plugin_pref_new_with_name_and_label(
1930 "/plugins/core/log_reader/adium/log_directory", _("Adium")); 1930 "/plugins/core/log_reader/adium/log_directory", "Adium");
1931 gaim_plugin_pref_frame_add(frame, ppref); 1931 gaim_plugin_pref_frame_add(frame, ppref);
1932 1932
1933 ppref = gaim_plugin_pref_new_with_name_and_label( 1933 ppref = gaim_plugin_pref_new_with_name_and_label(
1934 "/plugins/core/log_reader/fire/log_directory", _("Fire")); 1934 "/plugins/core/log_reader/fire/log_directory", "Fire");
1935 gaim_plugin_pref_frame_add(frame, ppref); 1935 gaim_plugin_pref_frame_add(frame, ppref);
1936 1936
1937 ppref = gaim_plugin_pref_new_with_name_and_label( 1937 ppref = gaim_plugin_pref_new_with_name_and_label(
1938 "/plugins/core/log_reader/messenger_plus/log_directory", _("Messenger Plus!")); 1938 "/plugins/core/log_reader/messenger_plus/log_directory", "Messenger Plus!");
1939 gaim_plugin_pref_frame_add(frame, ppref); 1939 gaim_plugin_pref_frame_add(frame, ppref);
1940 1940
1941 ppref = gaim_plugin_pref_new_with_name_and_label( 1941 ppref = gaim_plugin_pref_new_with_name_and_label(
1942 "/plugins/core/log_reader/msn/log_directory", _("MSN Messenger")); 1942 "/plugins/core/log_reader/msn/log_directory", "MSN Messenger");
1943 gaim_plugin_pref_frame_add(frame, ppref); 1943 gaim_plugin_pref_frame_add(frame, ppref);
1944 1944
1945 ppref = gaim_plugin_pref_new_with_name_and_label( 1945 ppref = gaim_plugin_pref_new_with_name_and_label(
1946 "/plugins/core/log_reader/trillian/log_directory", _("Trillian")); 1946 "/plugins/core/log_reader/trillian/log_directory", "Trillian");
1947 gaim_plugin_pref_frame_add(frame, ppref); 1947 gaim_plugin_pref_frame_add(frame, ppref);
1948 1948
1949 return frame; 1949 return frame;
1950 } 1950 }
1951 1951