comparison src/protocols/jabber/buddy.c @ 13545:cfc2f7fcb3dd

[gaim-migrate @ 15922] Way more changes that I initially thought I was going to make. I apologize for the commit message spam. These changes bring a lot of consistency to our capitalization and punctuation, especially of words like "e-mail". For reference, I've used these rules (after discussing in #gaim): e-mail, a case of two words joined: "e-mail" - in the middle of a sentence caps context "E-mail" - start of text in a sentence caps context "E-Mail" - in a header (title) caps context re-enable, a single word, would be: "re-enable", "Re-enable", and "Re-enable" (respectively) The reason this changeset exploded is that, as I went through and verified these changes, I realized we were using improper capitalization (e.g. header instead of sentence) in a number of dialogs. I fixed a number of these cases before, and this corrects another pile. This looks like I've made a LOT of work for the translators, but the impact is significantly mitigated by three factors: 1) Many of these changes use strings that already exist, or change one string in many places. 2) I've used sed to correct the .po files where possible. 3) The actual changes are extremely trivial. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 21 Mar 2006 04:32:45 +0000
parents 1c2f284986b7
children 02a8424191ea
comparison
equal deleted inserted replaced
13544:46559ab11aed 13545:cfc2f7fcb3dd
256 {N_("Locality"), NULL, TRUE, TRUE, "LOCALITY", "ADR", NULL}, 256 {N_("Locality"), NULL, TRUE, TRUE, "LOCALITY", "ADR", NULL},
257 {N_("Region"), NULL, TRUE, TRUE, "REGION", "ADR", NULL}, 257 {N_("Region"), NULL, TRUE, TRUE, "REGION", "ADR", NULL},
258 {N_("Postal Code"), NULL, TRUE, TRUE, "PCODE", "ADR", NULL}, 258 {N_("Postal Code"), NULL, TRUE, TRUE, "PCODE", "ADR", NULL},
259 {N_("Country"), NULL, TRUE, TRUE, "CTRY", "ADR", NULL}, 259 {N_("Country"), NULL, TRUE, TRUE, "CTRY", "ADR", NULL},
260 {N_("Telephone"), NULL, TRUE, TRUE, "NUMBER", "TEL", NULL}, 260 {N_("Telephone"), NULL, TRUE, TRUE, "NUMBER", "TEL", NULL},
261 {N_("Email"), NULL, TRUE, TRUE, "USERID", "EMAIL", "<A HREF=\"mailto:%s\">%s</A>"}, 261 {N_("E-Mail"), NULL, TRUE, TRUE, "USERID", "EMAIL", "<A HREF=\"mailto:%s\">%s</A>"},
262 {N_("Organization Name"), NULL, TRUE, TRUE, "ORGNAME", "ORG", NULL}, 262 {N_("Organization Name"), NULL, TRUE, TRUE, "ORGNAME", "ORG", NULL},
263 {N_("Organization Unit"), NULL, TRUE, TRUE, "ORGUNIT", "ORG", NULL}, 263 {N_("Organization Unit"), NULL, TRUE, TRUE, "ORGUNIT", "ORG", NULL},
264 {N_("Title"), NULL, TRUE, TRUE, "TITLE", NULL, NULL}, 264 {N_("Title"), NULL, TRUE, TRUE, "TITLE", NULL, NULL},
265 {N_("Role"), NULL, TRUE, TRUE, "ROLE", NULL, NULL}, 265 {N_("Role"), NULL, TRUE, TRUE, "ROLE", NULL, NULL},
266 {N_("Birthday"), NULL, TRUE, TRUE, "BDAY", NULL, NULL}, 266 {N_("Birthday"), NULL, TRUE, TRUE, "BDAY", NULL, NULL},
774 /* show what kind of email it is */ 774 /* show what kind of email it is */
775 userid = xmlnode_get_data(child2); 775 userid = xmlnode_get_data(child2);
776 if(userid) { 776 if(userid) {
777 g_string_append_printf(info_text, 777 g_string_append_printf(info_text,
778 "<b>%s:</b> <a href='mailto:%s'>%s</a><br/>", 778 "<b>%s:</b> <a href='mailto:%s'>%s</a><br/>",
779 _("Email"), userid, userid); 779 _("E-Mail"), userid, userid);
780 g_free(userid); 780 g_free(userid);
781 } 781 }
782 } else if((userid = xmlnode_get_data(child))) { 782 } else if((userid = xmlnode_get_data(child))) {
783 /* lots of clients (including gaim) do this, but it's 783 /* lots of clients (including gaim) do this, but it's
784 * out of spec */ 784 * out of spec */
785 g_string_append_printf(info_text, 785 g_string_append_printf(info_text,
786 "<b>%s:</b> <a href='mailto:%s'>%s</a><br/>", 786 "<b>%s:</b> <a href='mailto:%s'>%s</a><br/>",
787 _("Email"), userid, userid); 787 _("E-Mail"), userid, userid);
788 g_free(userid); 788 g_free(userid);
789 } 789 }
790 } else if(!strcmp(child->name, "ORG")) { 790 } else if(!strcmp(child->name, "ORG")) {
791 for(child2 = child->child; child2; child2 = child2->next) 791 for(child2 = child->child; child2; child2 = child2->next)
792 { 792 {