aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
authorChyla Zbigniew <chyla@src.gnome.org>2001-09-11 07:17:25 +0800
committerChyla Zbigniew <chyla@src.gnome.org>2001-09-11 07:17:25 +0800
commit9e1498b952cca989661f5ed072b842b5289f7a5b (patch)
tree5d22fabb24200762b34c11683ed84835d5548a75 /mail/mail-config.c
parent0f464193fe82b5dea993048d7d91881baa828780 (diff)
downloadgsoc2013-evolution-9e1498b952cca989661f5ed072b842b5289f7a5b.tar.gz
gsoc2013-evolution-9e1498b952cca989661f5ed072b842b5289f7a5b.tar.zst
gsoc2013-evolution-9e1498b952cca989661f5ed072b842b5289f7a5b.zip
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
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r--mail/mail-config.c8
1 files changed, 5 insertions, 3 deletions
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);