aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoozbeh Pournader <roozbeh@farsiweb.info>2006-05-17 19:37:31 +0800
committerRoozbeh Pournader <roozbeh@src.gnome.org>2006-05-17 19:37:31 +0800
commit428f88966a4bce11e645e6af48a21634425370c6 (patch)
treee5b9fb87254764adaed701bb882111d3ee108937
parentc1a1c70aac992824b8b77c5414c98a925fc9f80b (diff)
downloadgsoc2013-evolution-428f88966a4bce11e645e6af48a21634425370c6.tar
gsoc2013-evolution-428f88966a4bce11e645e6af48a21634425370c6.tar.gz
gsoc2013-evolution-428f88966a4bce11e645e6af48a21634425370c6.tar.bz2
gsoc2013-evolution-428f88966a4bce11e645e6af48a21634425370c6.tar.lz
gsoc2013-evolution-428f88966a4bce11e645e6af48a21634425370c6.tar.xz
gsoc2013-evolution-428f88966a4bce11e645e6af48a21634425370c6.tar.zst
gsoc2013-evolution-428f88966a4bce11e645e6af48a21634425370c6.zip
Fix for gnome bug #341931, farsiweb #562 Mark a few messages for
2006-05-17 Roozbeh Pournader <roozbeh@farsiweb.info> Fix for gnome bug #341931, farsiweb #562 * gui/contact-editor/e-contact-editor.c: Mark a few messages for translation. svn path=/trunk/; revision=31993
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c8
2 files changed, 10 insertions, 4 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 035e233b4f..2d43ef7eca 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,9 @@
+2006-05-17 Roozbeh Pournader <roozbeh@farsiweb.info>
+
+ Fix for gnome bug #341931, farsiweb #562
+ * gui/contact-editor/e-contact-editor.c: Mark a few messages for
+ translation.
+
2006-05-12 simon.zheng <simon.zheng@sun.com>
Fix for Bug 341521
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index bbd81018cf..a34b831f30 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -3061,14 +3061,14 @@ e_contact_editor_is_valid (EABEditor *editor)
widget = glade_xml_get_widget (ce->gui, "dateedit-birthday");
if (!(e_date_edit_date_is_valid (E_DATE_EDIT (widget)))) {
- g_string_append_printf (errmsg, "'%s' has an invalid format",
+ g_string_append_printf (errmsg, _("'%s' has an invalid format"),
e_contact_pretty_name (E_CONTACT_BIRTH_DATE));
validation_error = TRUE;
}
widget = glade_xml_get_widget (ce->gui, "dateedit-anniversary");
if (!(e_date_edit_date_is_valid (E_DATE_EDIT (widget)))) {
- g_string_append_printf (errmsg, "%s'%s' has an invalid format",
+ g_string_append_printf (errmsg, _("%s'%s' has an invalid format"),
validation_error ? ",\n" : "",
e_contact_pretty_name (E_CONTACT_ANNIVERSARY));
validation_error = TRUE;
@@ -3083,7 +3083,7 @@ e_contact_editor_is_valid (EABEditor *editor)
if (is_non_string_field (field_id)) {
if (e_contact_get_const (ce->contact, field_id) == NULL) {
- g_string_append_printf (errmsg, "%s'%s' is empty",
+ g_string_append_printf (errmsg, _("%s'%s' is empty"),
validation_error ? ",\n" : "",
e_contact_pretty_name (field_id));
validation_error = TRUE;
@@ -3094,7 +3094,7 @@ e_contact_editor_is_valid (EABEditor *editor)
const char *text = e_contact_get_const (ce->contact, field_id);
if (STRING_IS_EMPTY (text)) {
- g_string_append_printf (errmsg, "%s'%s' is empty",
+ g_string_append_printf (errmsg, _("%s'%s' is empty"),
validation_error ? ",\n" : "",
e_contact_pretty_name (field_id));
validation_error = TRUE;