comparison libpurple/protocols/oscar/oscar.c @ 31365:f71745835d15

Encryption keys were marked with the _N() translation macro (e.g. N_("Use encryption if available")), but keys were not translated with the _() macro.
author Björn Voigt <bjoern@cs.tu-berlin.de>
date Wed, 17 Nov 2010 08:12:56 +0000
parents 198375f06059
children 29b4f2c52533 61d160a4689f
comparison
equal deleted inserted replaced
31364:f8fd915ee476 31365:f71745835d15
5734 option = purple_account_option_int_new(_("Port"), "port", OSCAR_DEFAULT_LOGIN_PORT); 5734 option = purple_account_option_int_new(_("Port"), "port", OSCAR_DEFAULT_LOGIN_PORT);
5735 prpl_info->protocol_options = g_list_append(prpl_info->protocol_options, option); 5735 prpl_info->protocol_options = g_list_append(prpl_info->protocol_options, option);
5736 5736
5737 for (i = 0; encryption_keys[i]; i++) { 5737 for (i = 0; encryption_keys[i]; i++) {
5738 PurpleKeyValuePair *kvp = g_new0(PurpleKeyValuePair, 1); 5738 PurpleKeyValuePair *kvp = g_new0(PurpleKeyValuePair, 1);
5739 kvp->key = g_strdup(encryption_keys[i]); 5739 kvp->key = g_strdup(_(encryption_keys[i]));
5740 kvp->value = g_strdup(encryption_values[i]); 5740 kvp->value = g_strdup(encryption_values[i]);
5741 encryption_options = g_list_append(encryption_options, kvp); 5741 encryption_options = g_list_append(encryption_options, kvp);
5742 } 5742 }
5743 option = purple_account_option_list_new(_("Connection security"), "encryption", encryption_options); 5743 option = purple_account_option_list_new(_("Connection security"), "encryption", encryption_options);
5744 prpl_info->protocol_options = g_list_append(prpl_info->protocol_options, option); 5744 prpl_info->protocol_options = g_list_append(prpl_info->protocol_options, option);