Commit 1991d205 authored by Gediminas Paulauskas's avatar Gediminas Paulauskas Committed by Gediminas Paulauskas

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
parent 0b90b0b1
......@@ -51,6 +51,7 @@ Translations
Arjan Scherpenisse <acscherp@wins.uva.nl>
Clara Tattoni <clara.tattoni@libero.it>
Fatih Demir <kabalak@gmx.net>
Gediminas Paulauskas <menesis@delfi.lt>
GNOME PL Team <gnomepl@pandora.info.bielsko.pl>
Gustavo Maciel Dias Vieira <gdvieira@zaz.com.br>
Hctor Garca Alvarez <hector@scouts-es.org>
......
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 Jeffrey Stedfast <fejj@ximian.com>
* configure.in (EVOLUTION_DIR): create the makefile in
......
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-09 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-component.c (remove_folder): stubbed,
......
......@@ -3,6 +3,7 @@
#include <stdio.h>
#include <liboaf/liboaf.h>
#include <bonobo/bonobo-context.h>
#include <bonobo/bonobo-generic-factory.h>
#include <bonobo/bonobo-main.h>
......
......@@ -1197,7 +1197,7 @@ _arrow_pressed (GtkWidget *widget, GdkEventButton *button, EContactEditor *edito
GtkWidget *label_widget = glade_xml_get_widget(editor->gui, label);
if (label_widget && GTK_IS_LABEL(label_widget)) {
gtk_object_set(GTK_OBJECT(label_widget),
"label", g_list_nth_data(*list, menu_item),
"label", _(g_list_nth_data(*list, menu_item)),
NULL);
}
#if 0
......
......@@ -1197,7 +1197,7 @@ _arrow_pressed (GtkWidget *widget, GdkEventButton *button, EContactEditor *edito
GtkWidget *label_widget = glade_xml_get_widget(editor->gui, label);
if (label_widget && GTK_IS_LABEL(label_widget)) {
gtk_object_set(GTK_OBJECT(label_widget),
"label", g_list_nth_data(*list, menu_item),
"label", _(g_list_nth_data(*list, menu_item)),
NULL);
}
#if 0
......
......@@ -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
......
......@@ -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);
......
......@@ -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;
......
......@@ -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;
......
......@@ -27,10 +27,10 @@ AC_DEFUN(EVO_CHECK_LIB, [
pkgvers=`echo $pkgvers | awk -F. '{ print $[]1 * 1000000 + $[]2 * 10000 + $[]3 * 100 + $[]4;}'`
if test "$pkgvers" -lt $cmpvers; then
echo ""
echo "You need $dispname $dispvers or later to build Evolution" 1>&2
echo "(If you think you already have this installed, consult the README.)" 1>&2
exit 1
AC_MSG_ERROR([
""
"You need $dispname $dispvers or later to build Evolution"
"If you think you already have this installed, consult the README."])
fi
])
......
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-04 Gediminas Paulauskas <menesis@delfi.lt>
* component/component-factory.c: last time I've broken shortcut view.
......
......@@ -25,10 +25,12 @@
#include <config.h>
#endif
#include <gtk/gtkframe.h>
#include <gal/util/e-util.h>
#include <gal/widgets/e-font.h>
#include <gal/e-text/e-text.h>
#include <libgnomeui/gnome-canvas.h>
#include <libgnomeui/gnome-canvas-widget.h>
#include "e-summary-subwindow.h"
#include "e-summary-titlebar.h"
......
......@@ -26,6 +26,7 @@
#include <gtk/gtksignal.h>
#include <libgnomeui/gnome-canvas.h>
#include <libgnomeui/gnome-canvas-rect-ellipse.h>
#define E_SUMMARY_TITLE_BUTTON_TYPE (e_summary_title_button_get_type ())
#define E_SUMMARY_TITLE_BUTTON(obj) (GTK_CHECK_CAST ((obj), E_SUMMARY_TITLE_BUTTON_TYPE, ESummaryTitleButton))
......
2001-04-10 Gediminas Paulauskas <menesis@delfi.lt>
* menus/gal-view-menus.c: convert label to utf8.
2001-04-04 Kjartan Maraas <kmaraas@gnome.org>
* menus/gal-view-menus.c: Fix headers.
......
......@@ -20,6 +20,7 @@
#include <gal/util/e-util.h>
#include <gal/util/e-xml-utils.h>
#include <gal/menus/gal-define-views-dialog.h>
#include <gal/widgets/e-unicode.h>
struct _GalViewMenusPrivate {
GalViewCollection *collection;
......@@ -193,7 +194,8 @@ build_menus(GalViewMenus *menus)
menuitem = bonobo_ui_node_new_child(submenu, "menuitem");
bonobo_ui_node_set_attr(menuitem, "name", "DefineViews");
bonobo_ui_node_set_attr(menuitem, "_label", "Define Views");
bonobo_ui_node_set_attr(menuitem, "_label",
e_utf8_from_locale_string(_("Define Views")));
bonobo_ui_node_set_attr(menuitem, "verb", "DefineViews");
string = bonobo_ui_node_to_string(root, TRUE);
......
......@@ -27,19 +27,20 @@
#include <config.h>
#include <stdio.h> /* printf */
#include <glib.h>
#include <gtk/gtkdrawingarea.h>
#include <gtk/gtkeventbox.h>
#include <gtk/gtkmenuitem.h>
#include <gtk/gtkoptionmenu.h>
#include <gal/widgets/e-unicode.h>
#include <gal/widgets/e-gui-utils.h>
#include <libgnome/gnome-defs.h>
#include <libgnome/gnome-i18n.h>
#include "e-search-bar.h"
#include "e-dropdown-button.h"
#include <gal/widgets/e-unicode.h>
#include <gal/widgets/e-gui-utils.h>
enum {
QUERY_CHANGED,
......
......@@ -30,8 +30,6 @@
#include <config.h>
#endif
#include <gtk/gtkbox.h>
#include <gtk/gtkdnd.h>
#include <gtk/gtkmain.h>
#include <gtk/gtkvbox.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment