From 02c4a82a7f840290b5717edb567fe0e8375f38ba Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Wed, 17 Jan 2001 07:59:19 +0000 Subject: This fixes translations of library messages compared to application This fixes translations of library messages compared to application messages. 2001-01-17 Miguel de Icaza * po/POTFILES.in: update. * gal/widgets/color-palette.c: use e-i18n.h * gal/util/e-i18n.h: Avoid inclussion of the GNOME i18n file as we provide our own. 2001-01-17 Miguel de Icaza * e-table-header-item.c: Use e-i18n.h here. * e-table.c (et_col_spec_to_col): Use gettext here. (et_real_construct): Use gettext too. (et_col_spec_to_col): Use gettext here. * e-cell-date.c: Use e-i18n.h here. * e-table-config.c (config_sort_info_update): Simplify column grabbing code and drop item layout code. (config_group_info_update): ditto. * e-table-config.c: Get correct translation setup working. 2001-01-17 Miguel de Icaza * e-group-bar.c: Use e-i18n.h svn path=/trunk/; revision=7565 --- widgets/table/e-table.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'widgets/table/e-table.c') diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c index 5e597bdd0c..fafdaf177a 100644 --- a/widgets/table/e-table.c +++ b/widgets/table/e-table.c @@ -16,6 +16,7 @@ #include #endif #include +#include "gal/util/e-i18n.h" #include #include @@ -666,7 +667,7 @@ et_col_spec_to_col (ETable *e_table, ete, col_spec->pixbuf); if (pixbuf) { col = e_table_col_new_with_pixbuf ( - col_spec->model_col, _(col_spec->title), + col_spec->model_col, gettext (col_spec->title), pixbuf, col_spec->expansion, col_spec->minimum_width, cell, compare, col_spec->resizable); @@ -674,7 +675,7 @@ et_col_spec_to_col (ETable *e_table, } if (col == NULL && col_spec->title && *col_spec->title) { col = e_table_col_new ( - col_spec->model_col, _(col_spec->title), + col_spec->model_col, gettext (col_spec->title), col_spec->expansion, col_spec->minimum_width, cell, compare, col_spec->resizable); } @@ -897,7 +898,7 @@ et_real_construct (ETable *e_table, ETableModel *etm, ETableExtras *ete, ete = e_table_extras_new(); e_table->use_click_to_add = specification->click_to_add; - e_table->click_to_add_message = g_strdup (_(specification->click_to_add_message)); + e_table->click_to_add_message = g_strdup (gettext (specification->click_to_add_message)); e_table->draw_grid = specification->draw_grid; e_table->cursor_mode = specification->cursor_mode; e_table->full_header = et_spec_to_full_header(e_table, specification, ete); -- cgit v1.2.3