diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 10 | ||||
-rw-r--r-- | mail/mail-config.c | 8 | ||||
-rw-r--r-- | mail/mail-send-recv.c | 8 |
3 files changed, 19 insertions, 7 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 5cf239ef66..9e278e472e 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,13 @@ +2001-09-10 Zbigniew Chyla <cyba@gnome.pl> + + * mail-config.c + (add_shortcut_entry): Marked string for translation. + (new_source_created): Ditto. + + * mail-send-recv.c + (format_url): Marked strings for translation. + (build_dialogue): Ditto. + 2001-09-10 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_new): Hide the S/MIME frame diff --git a/mail/mail-config.c b/mail/mail-config.c index fc8290948b..e539ba4078 100644 --- a/mail/mail-config.c +++ b/mail/mail-config.c @@ -48,6 +48,7 @@ #include <gal/unicode/gunicode.h> #include <e-util/e-html-utils.h> #include <e-util/e-url.h> +#include <e-util/e-unicode-i18n.h> #include "mail.h" #include "mail-config.h" #include "mail-mt.h" @@ -1474,6 +1475,7 @@ add_shortcut_entry (const char *name, const char *uri, const char *type) GNOME_Evolution_Shortcuts_Group *the_group; GNOME_Evolution_Shortcuts_Shortcut *the_shortcut; int i, group_num; + const char *group_name = U_("Evolution Shortcuts"); if (!global_shell_client) return; @@ -1501,7 +1503,7 @@ add_shortcut_entry (const char *name, const char *uri, const char *type) GNOME_Evolution_Shortcuts_Group *iter; iter = groups->_buffer + i; - if (!strcmp (iter->name, "Evolution Shortcuts")) { + if (!strcmp (iter->name, group_name)) { the_group = iter; group_num = i; break; @@ -1514,7 +1516,7 @@ add_shortcut_entry (const char *name, const char *uri, const char *type) GNOME_Evolution_Shortcuts_addGroup (shortcuts_interface, group_num, - "Evolution Shortcuts", + group_name, &ev); if (ev._major != CORBA_NO_EXCEPTION) { @@ -1605,7 +1607,7 @@ new_source_created (MailConfigAccount *account) * what shortcut to insert? */ - name = g_strdup_printf (_("%s: Inbox"), account->name); + name = g_strdup_printf (U_("%s: Inbox"), account->name); url = g_strdup_printf ("evolution:/%s/INBOX", account->name); add_shortcut_entry (name, url, "mail"); g_free (name); diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c index cdbb49b160..3cc91a6b2c 100644 --- a/mail/mail-send-recv.c +++ b/mail/mail-send-recv.c @@ -238,11 +238,11 @@ format_url(const char *internal_url) url = camel_url_new(internal_url, NULL); if (url->host) - pretty_url = g_strdup_printf("Server: %s, Type: %s", url->host, url->protocol); + pretty_url = g_strdup_printf(_("Server: %s, Type: %s"), url->host, url->protocol); else if (url->path) - pretty_url = g_strdup_printf("Path: %s, Type: %s", url->path, url->protocol); + pretty_url = g_strdup_printf(_("Path: %s, Type: %s"), url->path, url->protocol); else - pretty_url = g_strdup_printf("Type: %s", url->protocol); + pretty_url = g_strdup_printf(_("Type: %s"), url->protocol); camel_url_free(url); @@ -268,7 +268,7 @@ build_dialogue (GSList *sources, CamelFolder *outbox, const char *destination) data = setup_send_data (); gd = (GnomeDialog *)gnome_dialog_new (_("Send & Receive Mail"), NULL); - gnome_dialog_append_button_with_pixmap (gd, "Cancel All", GNOME_STOCK_BUTTON_CANCEL); + gnome_dialog_append_button_with_pixmap (gd, _("Cancel All"), GNOME_STOCK_BUTTON_CANCEL); gtk_window_set_policy (GTK_WINDOW (gd), FALSE, FALSE, FALSE); gnome_window_icon_set_from_file (GTK_WINDOW (gd), EVOLUTION_ICONSDIR "/send-receive.xpm"); |