diff options
author | Gediminas Paulauskas <menesis@delfi.lt> | 2001-04-11 05:28:40 +0800 |
---|---|---|
committer | Gediminas Paulauskas <menesis@src.gnome.org> | 2001-04-11 05:28:40 +0800 |
commit | 1991d205daa7f5b5754ba67328996c904dc26ecd (patch) | |
tree | 35e92a6b2bab029b387dbcb86aeeb30c65c6f792 /addressbook/gui/widgets | |
parent | 0b90b0b1e8ffd8a9cbed8d9618bf9e8731681a14 (diff) | |
download | gsoc2013-evolution-1991d205daa7f5b5754ba67328996c904dc26ecd.tar gsoc2013-evolution-1991d205daa7f5b5754ba67328996c904dc26ecd.tar.gz gsoc2013-evolution-1991d205daa7f5b5754ba67328996c904dc26ecd.tar.bz2 gsoc2013-evolution-1991d205daa7f5b5754ba67328996c904dc26ecd.tar.lz gsoc2013-evolution-1991d205daa7f5b5754ba67328996c904dc26ecd.tar.xz gsoc2013-evolution-1991d205daa7f5b5754ba67328996c904dc26ecd.tar.zst gsoc2013-evolution-1991d205daa7f5b5754ba67328996c904dc26ecd.zip |
i18n fixes, added missing includes.
2001-04-10 Gediminas Paulauskas <menesis@delfi.lt>
* AUTHORS: /me is a translator.
* configure.in (EVO_CHECK_LIB): fail with AC_MSG_ERROR, not echo &&
exit 1.
2001-04-10 Gediminas Paulauskas <menesis@delfi.lt>
* backend/ebook/evolution-gnomecard-importer.c: added missing #include.
* contact-editor/e-contact-editor.c (_arrow_pressed): popup menu items were
not translated after selecting one of them.
* gui/widgets/e-addressbook-view.c: mark popup menu items with N_().
Updated list[] for translators.
* gui/widgets/e-minicard.c: same.
* gui/widgets/e-minicard-view-widget.c (e_minicard_view_widget_set_arg): fix warning
for "editable" arg.
* gui/widgets/e-minicard-view.c: convert "empty_message" to utf8.
2001-04-10 Gediminas Paulauskas <menesis@delfi.lt>
* widgets/e-summary-subwindow.c: added some missing includes.
* widgets/e-summary-title-button.h: same.
2001-04-10 Gediminas Paulauskas <menesis@delfi.lt>
* menus/gal-view-menus.c: convert label to utf8.
svn path=/trunk/; revision=9215
Diffstat (limited to 'addressbook/gui/widgets')
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-view.c | 42 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-minicard-view-widget.c | 1 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-minicard-view.c | 5 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-minicard.c | 12 |
4 files changed, 36 insertions, 24 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c index 60ec90b7f9..5a340bc0a6 100644 --- a/addressbook/gui/widgets/e-addressbook-view.c +++ b/addressbook/gui/widgets/e-addressbook-view.c @@ -570,12 +570,12 @@ table_right_click(ETableScrolled *table, gint row, gint col, GdkEvent *event, EA CardAndBook *card_and_book; EPopupMenu menu[] = { - {"Save as VCard", NULL, GTK_SIGNAL_FUNC(save_as), NULL, 0}, - {"Send contact to other", NULL, GTK_SIGNAL_FUNC(send_as), NULL, 0}, - {"Send message to contact", NULL, GTK_SIGNAL_FUNC(send_to), NULL, 0}, - {"Print", NULL, GTK_SIGNAL_FUNC(print), NULL, 0}, - {"Print Envelope", NULL, GTK_SIGNAL_FUNC(print_envelope), NULL, 0}, - {"Delete", NULL, GTK_SIGNAL_FUNC(delete), NULL, 0}, + {N_("Save as VCard"), NULL, GTK_SIGNAL_FUNC(save_as), NULL, 0}, + {N_("Send contact to other"), NULL, GTK_SIGNAL_FUNC(send_as), NULL, 0}, + {N_("Send message to contact"), NULL, GTK_SIGNAL_FUNC(send_to), NULL, 0}, + {N_("Print"), NULL, GTK_SIGNAL_FUNC(print), NULL, 0}, + {N_("Print Envelope"), NULL, GTK_SIGNAL_FUNC(print_envelope), NULL, 0}, + {N_("Delete"), NULL, GTK_SIGNAL_FUNC(delete), NULL, 0}, {NULL, NULL, NULL, NULL, 0} }; @@ -639,21 +639,32 @@ status_message (GtkObject *object, const gchar *status, EAddressbookView *eav) #ifdef JUST_FOR_TRANSLATORS static char *list [] = { N_("* Click here to add a contact *"), - N_("Name"), + N_("File As"), + N_("Full Name"), N_("Email"), - N_("Primary"), - N_("Business"), - N_("Home"), + N_("Primary Phone"), + N_("Assistant Phone"), + N_("Business Phone"), + N_("Callback Phone"), + N_("Company Phone"), + N_("Home Phone"), N_("Organization"), - N_("Mobile"), - N_("Car"), + N_("Business Address"), + N_("Home Address"), + N_("Mobile Phone"), + N_("Car Phone"), N_("Business Fax"), N_("Home Fax"), - N_("Business 2"), - N_("Home 2"), + N_("Business Phone 2"), + N_("Home Phone 2"), N_("ISDN"), - N_("Other"), + N_("Other Phone"), + N_("Other Fax"), N_("Pager"), + N_("Radio"), + N_("Telex"), + N_("TTY"), + N_("Other Address"), N_("Email 2"), N_("Email 3"), N_("Web Site"), @@ -667,7 +678,6 @@ static char *list [] = { N_("Spouse"), N_("Note"), N_("Free-busy URL"), - N_("Click here to add a contact") }; #endif diff --git a/addressbook/gui/widgets/e-minicard-view-widget.c b/addressbook/gui/widgets/e-minicard-view-widget.c index d2dc57ce40..5a4e3d2d06 100644 --- a/addressbook/gui/widgets/e-minicard-view-widget.c +++ b/addressbook/gui/widgets/e-minicard-view-widget.c @@ -168,6 +168,7 @@ e_minicard_view_widget_set_arg (GtkObject *o, GtkArg *arg, guint arg_id) break; case ARG_EDITABLE: emvw->editable = GTK_VALUE_BOOL(*arg); + if (emvw->emv) gtk_object_set (GTK_OBJECT(emvw->emv), "editable", emvw->editable, NULL); diff --git a/addressbook/gui/widgets/e-minicard-view.c b/addressbook/gui/widgets/e-minicard-view.c index 115aac6128..caa7c729d4 100644 --- a/addressbook/gui/widgets/e-minicard-view.c +++ b/addressbook/gui/widgets/e-minicard-view.c @@ -162,8 +162,9 @@ e_minicard_view_init (EMinicardView *view) GTK_SIGNAL_FUNC(selection_changed), view); gtk_object_set(GTK_OBJECT(view), - "empty_message", _("\n\nThere are no items to show in this view\n\n" - "Double-click here to create a new Contact."), + "empty_message", + e_utf8_from_locale_string(_("\n\nThere are no items to show in this view\n\n" + "Double-click here to create a new Contact.")), NULL); E_REFLOW_SORTED(view)->compare_func = (GCompareFunc) e_minicard_compare; diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c index 1ca1d12aad..b5c11bd27f 100644 --- a/addressbook/gui/widgets/e-minicard.c +++ b/addressbook/gui/widgets/e-minicard.c @@ -665,12 +665,12 @@ e_minicard_event (GnomeCanvasItem *item, GdkEvent *event) return ret_val; } else if (event->button.button == 3) { MinicardAndParent *mnp = g_new(MinicardAndParent, 1); - EPopupMenu menu[] = { {"Save as VCard", NULL, GTK_SIGNAL_FUNC(save_as), NULL, 0}, - {"Send contact to other", NULL, GTK_SIGNAL_FUNC(send_as), NULL, 0}, - {"Send message to contact", NULL, GTK_SIGNAL_FUNC(send_to), NULL, 0}, - {"Print", NULL, GTK_SIGNAL_FUNC(print), NULL, 0}, - {"Print Envelope", NULL, GTK_SIGNAL_FUNC(print_envelope), NULL, 0}, - {"Delete", NULL, GTK_SIGNAL_FUNC(delete), NULL, 1}, + EPopupMenu menu[] = { {N_("Save as VCard"), NULL, GTK_SIGNAL_FUNC(save_as), NULL, 0}, + {N_("Send contact to other"), NULL, GTK_SIGNAL_FUNC(send_as), NULL, 0}, + {N_("Send message to contact"), NULL, GTK_SIGNAL_FUNC(send_to), NULL, 0}, + {N_("Print"), NULL, GTK_SIGNAL_FUNC(print), NULL, 0}, + {N_("Print Envelope"), NULL, GTK_SIGNAL_FUNC(print_envelope), NULL, 0}, + {N_("Delete"), NULL, GTK_SIGNAL_FUNC(delete), NULL, 1}, {NULL, NULL, NULL, 0}}; mnp->minicard = e_minicard; mnp->parent = item->parent; |