Mercurial > pidgin
comparison src/protocols/yahoo/yahoo.c @ 6657:7e2d2c8e88a8
[gaim-migrate @ 7182]
Nathan Poznick writes:
"I was checking over the translation changes that Bjoern submitted
+for
my Yahoo/MSN get user info patch, and I found that several strings
+were
improperly marked to be translated.
For instance, consider the line:
info_extract_field(stripped, url_text, "My Email", 5, "\n", 0, _("Private"), _("Email"), 0, NULL);
In this case, "Private" should not be translated, since that function argument
is used in the parsing, not in the displaying. There were instances of this
in yahoo.c, and 6 instances in msn.c. The attached patches simply remove the
_() from around those strings.
I know 0.68 is supposed to be released tomorrow, so I hope these small changes
can make it in - otherwise, it will mean that fetching an english profile will
not work as designed, if gaim is running under a different locale."
(11:20:50) faceprint: anyone look at the too-many-translated-strings thing on gaim-devel?
(11:21:12) LSchiere: that's what i was just about to ask about
(11:21:48) faceprint: looks kosher to me
(11:21:51) LSchiere: yeah
(11:23:30) SeanEgan: agreed
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sun, 31 Aug 2003 15:35:32 +0000 |
parents | 889279abb909 |
children | 0b286eace44c |
comparison
equal
deleted
inserted
replaced
6656:dd9e0bd6488e | 6657:7e2d2c8e88a8 |
---|---|
1469 info_extract_field(stripped, url_text, "Yahoo! ID:", 2, "\n", 0, | 1469 info_extract_field(stripped, url_text, "Yahoo! ID:", 2, "\n", 0, |
1470 NULL, _("Yahoo! ID"), 0, NULL); | 1470 NULL, _("Yahoo! ID"), 0, NULL); |
1471 | 1471 |
1472 /* extract their Email address and put it in */ | 1472 /* extract their Email address and put it in */ |
1473 info_extract_field(stripped, url_text, "My Email", 5, "\n", 0, | 1473 info_extract_field(stripped, url_text, "My Email", 5, "\n", 0, |
1474 _("Private"), _("Email"), 0, NULL); | 1474 "Private", _("Email"), 0, NULL); |
1475 | 1475 |
1476 /* extract the Nickname if it exists */ | 1476 /* extract the Nickname if it exists */ |
1477 info_extract_field(stripped, url_text, "Nickname:", 1, "\n", '\n', | 1477 info_extract_field(stripped, url_text, "Nickname:", 1, "\n", '\n', |
1478 NULL, _("Nickname"), 0, NULL); | 1478 NULL, _("Nickname"), 0, NULL); |
1479 | 1479 |
1489 info_extract_field(stripped, url_text, "Age:", 3, "\n", '\n', | 1489 info_extract_field(stripped, url_text, "Age:", 3, "\n", '\n', |
1490 NULL, _("Age"), 0, NULL); | 1490 NULL, _("Age"), 0, NULL); |
1491 | 1491 |
1492 /* extract their MaritalStatus and put it in */ | 1492 /* extract their MaritalStatus and put it in */ |
1493 info_extract_field(stripped, url_text, "MaritalStatus:", 3, "\n", '\n', | 1493 info_extract_field(stripped, url_text, "MaritalStatus:", 3, "\n", '\n', |
1494 _("No Answer"), _("Marital Status"), 0, NULL); | 1494 "No Answer", _("Marital Status"), 0, NULL); |
1495 | 1495 |
1496 /* extract their Gender and put it in */ | 1496 /* extract their Gender and put it in */ |
1497 info_extract_field(stripped, url_text, "Gender:", 3, "\n", '\n', | 1497 info_extract_field(stripped, url_text, "Gender:", 3, "\n", '\n', |
1498 _("No Answer"), _("Gender"), 0, NULL); | 1498 "No Answer", _("Gender"), 0, NULL); |
1499 | 1499 |
1500 /* extract their Occupation and put it in */ | 1500 /* extract their Occupation and put it in */ |
1501 info_extract_field(stripped, url_text, "Occupation:", 2, "\n", '\n', | 1501 info_extract_field(stripped, url_text, "Occupation:", 2, "\n", '\n', |
1502 NULL, _("Occupation"), 0, NULL); | 1502 NULL, _("Occupation"), 0, NULL); |
1503 | 1503 |