Mercurial > pidgin
diff plugins/chkmail.c @ 5116:c081a81ee013
[gaim-migrate @ 5479]
Bjoern Voigt writes:
"I have prepared some updates and patches:
1) File i18n5-de.patch
- updated German translation
2) File i18n5.patch
- new files in po/POTFILES.in
- new strings marked for translation
3) File i18n5-accelgroup.patch
- keyboard accelerators for conversation window
4) File i18n5-gaim-remote.patch
- i18n support for gaim-remote.c
- correct handling of "--help" option"
committer: Tailor Script <tailor@pidgin.im>
| author | Luke Schierer <lschiere@pidgin.im> |
|---|---|
| date | Sat, 12 Apr 2003 23:31:41 +0000 |
| parents | ebfb80bbe1ed |
| children | a21cf07cd8e1 |
line wrap: on
line diff
--- a/plugins/chkmail.c Sat Apr 12 01:53:54 2003 +0000 +++ b/plugins/chkmail.c Sat Apr 12 23:31:41 2003 +0000 @@ -86,7 +86,7 @@ while (list) { w = (GtkWidget *)list->data; - if (!strcmp(GTK_LABEL(GTK_BIN(w)->child)->label, "Mail Server")) { + if (!strcmp(GTK_LABEL(GTK_BIN(w)->child)->label, _("Mail Server"))) { gtk_tree_remove_items(GTK_TREE(buddies), list); list = GTK_TREE(buddies)->children; if (!list) @@ -109,7 +109,7 @@ while (list) { w = (GtkWidget *)list->data; - if (!strcmp(GTK_LABEL(GTK_BIN(w)->child)->label, "Mail Server")) { + if (!strcmp(GTK_LABEL(GTK_BIN(w)->child)->label, _("Mail Server"))) { gtk_tree_remove_items(GTK_TREE(buddies), list); list = GTK_TREE(buddies)->children; if (!list) @@ -118,7 +118,7 @@ list = list->next; } - item = gtk_tree_item_new_with_label("Mail Server"); + item = gtk_tree_item_new_with_label(_("Mail Server")); tree = gtk_tree_new(); gtk_widget_show(item); gtk_widget_show(tree); @@ -128,7 +128,7 @@ buf = g_malloc(BUF_LONG); - g_snprintf(buf, BUF_LONG, "%s (%d new/%d total)", mailhost, lastnum - orig, lastnum); + g_snprintf(buf, BUF_LONG, _("%s (%d new/%d total)"), mailhost, lastnum - orig, lastnum); item = gtk_tree_item_new_with_label(buf); g_free(buf); @@ -200,9 +200,9 @@ } char *name() { - return "Check Mail"; + return _("Check Mail"); } char *description() { - return "Check email every X seconds.\n"; + return _("Check email every X seconds.\n"); }
