Mercurial > pidgin.yaz
diff src/protocols/trepia/trepia.c @ 6441:3683471e1417
[gaim-migrate @ 6949]
Bjoern Voigt writes:
"I prepared an updated German translation (file
i18n18a.patch).
i18n18a.patch contains:
- updated German translation
- src/gtkprivacy.c added to po/POTFILES.in
- marked some forgotten strings in
plugins/statenotify.c and
src/protocols/trepia/trepia.c with _()"
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Tue, 12 Aug 2003 12:38:29 +0000 |
parents | 8f94cce8faa5 |
children | fb64cc87bc96 |
line wrap: on
line diff
--- a/src/protocols/trepia/trepia.c Tue Aug 12 05:44:29 2003 +0000 +++ b/src/protocols/trepia/trepia.c Tue Aug 12 12:38:29 2003 +0000 @@ -431,7 +431,7 @@ last_name = trepia_profile_get_last_name(profile); if (first_name != NULL || last_name != NULL) { - tmp = g_strdup_printf("<b>Name:</b> %s%s%s\n", + tmp = g_strdup_printf("<b>%s:</b> %s%s%s\n",_("Name"), (first_name == NULL ? "" : first_name), (first_name == NULL ? "" : " "), (last_name == NULL ? "" : last_name)); @@ -443,7 +443,7 @@ } if ((int_value = trepia_profile_get_age(profile)) != 0) { - tmp = g_strdup_printf("<b>Age:</b> %d\n", int_value); + tmp = g_strdup_printf("<b>%s:</b> %d\n", _("Age"),int_value); tmp2 = g_strconcat(text, tmp, NULL); g_free(tmp); @@ -451,8 +451,8 @@ text = tmp2; } - tmp = g_strdup_printf("<b>Gender:</b> %s\n", - (trepia_profile_get_sex(profile) == 'F' ? "Female" : "Male")); + tmp = g_strdup_printf("<b>%s:</b> %s\n",_("Gender"), + (trepia_profile_get_sex(profile) == 'F' ? _("Female") : _("Male"))); tmp2 = g_strconcat(text, tmp, NULL); g_free(tmp); @@ -460,7 +460,7 @@ text = tmp2; if ((value = trepia_profile_get_city(profile)) != NULL) { - tmp = g_strdup_printf("<b>City:</b> %s\n", value); + tmp = g_strdup_printf("<b>%s:</b> %s\n", _("City"), value); tmp2 = g_strconcat(text, tmp, NULL); g_free(tmp); @@ -469,7 +469,7 @@ } if ((value = trepia_profile_get_state(profile)) != NULL) { - tmp = g_strdup_printf("<b>State:</b> %s\n", value); + tmp = g_strdup_printf("<b>%s:</b> %s\n", _("State"), value); tmp2 = g_strconcat(text, tmp, NULL); g_free(tmp); @@ -478,7 +478,7 @@ } if ((value = trepia_profile_get_country(profile)) != NULL) { - tmp = g_strdup_printf("<b>Country:</b> %s\n", value); + tmp = g_strdup_printf("<b>%s:</b> %s\n", _("Country"), value); tmp2 = g_strconcat(text, tmp, NULL); g_free(tmp); @@ -487,7 +487,7 @@ } if ((value = trepia_profile_get_homepage(profile)) != NULL) { - tmp = g_strdup_printf("<b>Homepage:</b> %s\n", value); + tmp = g_strdup_printf("<b>%s:</b> %s\n", _("Homepage"), value); tmp2 = g_strconcat(text, tmp, NULL); g_free(tmp); @@ -498,7 +498,7 @@ if ((value = trepia_profile_get_profile(profile)) != NULL) { char *escaped_val = g_markup_escape_text(value, -1); - tmp = g_strdup_printf("<b>Profile:</b> %s\n", escaped_val); + tmp = g_strdup_printf("<b>%s:</b> %s\n", _("Profile"), escaped_val); g_free(escaped_val);