From 9e1498b952cca989661f5ed072b842b5289f7a5b Mon Sep 17 00:00:00 2001 From: Chyla Zbigniew Date: Mon, 10 Sep 2001 23:17:25 +0000 Subject: Marked string for translation. (new_source_created): Ditto. * 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. svn path=/trunk/; revision=12752 --- mail/mail-config.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'mail/mail-config.c') 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 #include #include +#include #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); -- cgit