[evolution-patches] locale fixes
- From: Radek Doulík <rodo ximian com>
- To: Patches <evolution-patches ximian com>
- Cc: Larry Ewing <lewing ximian com>
- Subject: [evolution-patches] locale fixes
- Date: Mon, 08 Sep 2003 13:09:09 +0200
attached patch marks strings for translation
Index: body.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/components/html-editor/body.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -p -r1.38 -r1.39
--- body.c 12 May 2003 20:46:48 -0000 1.38
+++ body.c 25 Jul 2003 16:49:30 -0000 1.39
@@ -119,7 +119,7 @@ fill_sample (GtkHTMLEditBodyProperties *
bg_image, lm);
body = g_strconcat (body_tag,
- "The quick brown <a href=\"mailto:fox\">fox</a> jumps over the lazy <a href=\"mailto:dog\">dog</a>.",
+ _("The quick brown <a href=\"mailto:fox\">fox</a> jumps over the lazy <a href=\"mailto:dog\">dog</a>."),
NULL);
gtk_html_load_from_string (d->sample, body, -1);
Index: paragraph.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/components/html-editor/paragraph.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -p -r1.20 -r1.21
--- paragraph.c 12 May 2003 20:46:48 -0000 1.20
+++ paragraph.c 25 Jul 2003 16:49:30 -0000 1.21
@@ -58,7 +58,7 @@ fill_sample (GtkHTMLEditParagraphPropert
body = g_strconcat (bg,
style,
align,
- "The quick brown fox jumps over the lazy dog.</div>",
+ _("The quick brown fox jumps over the lazy dog.</div>"),
NULL);
gtk_html_load_from_string (d->sample, body, -1);
Index: popup.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/components/html-editor/popup.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -p -r1.75 -r1.76
--- popup.c 12 May 2003 20:46:48 -0000 1.75
+++ popup.c 25 Jul 2003 16:49:30 -0000 1.76
@@ -377,7 +377,7 @@ insert_html (GtkWidget *mi, GtkHTMLContr
(*props) ++;
#define SUBMENU(l) \
- menuitem = gtk_menu_item_new_with_label (_(l)); \
+ menuitem = gtk_menu_item_new_with_label (l); \
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem); \
gtk_widget_show (menuitem); \
(*items)++; items_sep++; \
@@ -469,7 +469,7 @@ prepare_properties_and_menu (GtkHTMLCont
if (cd->format_html && obj) {
ADD_SEP;
- SUBMENU ("Style");
+ SUBMENU (_("Style"));
switch (HTML_OBJECT_TYPE (obj)) {
case HTML_TYPE_TEXT:
ADD_ITEM (_("Text Style..."), prop_dialog, TEXT);
@@ -513,7 +513,7 @@ prepare_properties_and_menu (GtkHTMLCont
END_SUBMENU;
ADD_SEP;
if (obj->parent && obj->parent->parent && HTML_IS_TABLE_CELL (obj->parent->parent)) {
- SUBMENU (N_("Table insert"));
+ SUBMENU (_("Table insert"));
ADD_ITEM (_("Table"), insert_table_cb, NONE);
ADD_SEP;
ADD_ITEM (_("Row above"), insert_row_above, NONE);
@@ -522,7 +522,7 @@ prepare_properties_and_menu (GtkHTMLCont
ADD_ITEM (_("Column before"), insert_column_before, NONE);
ADD_ITEM (_("Column after"), insert_column_after, NONE);
END_SUBMENU;
- SUBMENU (N_("Table delete"));
+ SUBMENU (_("Table delete"));
ADD_ITEM (_("Table"), delete_table, NONE);
ADD_ITEM (_("Row"), delete_row, NONE);
ADD_ITEM (_("Column"), delete_column, NONE);
@@ -536,12 +536,12 @@ prepare_properties_and_menu (GtkHTMLCont
gchar *spell, *word, *ignore, *add;
ADD_SEP;
- ADD_ITEM ("Check Word Spelling...", spell_check_cb, NONE);
+ ADD_ITEM (_("Check Word Spelling..."), spell_check_cb, NONE);
if (get_n_languages (cd) > 1) {
gchar *lang;
gint i;
- SUBMENU ("Add Word to");
+ SUBMENU (_("Add Word to"));
for (i = 0; i < cd->languages->_length; i ++) {
if (strstr (html_engine_get_language (cd->html->engine), cd->languages->_buffer [i].abbreviation)) {
@@ -554,13 +554,13 @@ prepare_properties_and_menu (GtkHTMLCont
END_SUBMENU;
} else {
- ADD_ITEM ("Add Word to Dictionary", spell_add, NONE);
+ ADD_ITEM (_("Add Word to Dictionary"), spell_add, NONE);
g_object_set_data (G_OBJECT (menuitem), "abbrev", (gpointer) get_language (cd));
}
- ADD_ITEM ("Ignore Misspelled Word", spell_ignore, NONE);
+ ADD_ITEM (_("Ignore Misspelled Word"), spell_ignore, NONE);
}
- SUBMENU ("Input Methods");
+ SUBMENU (_("Input Methods"));
gtk_im_multicontext_append_menuitems (GTK_IM_MULTICONTEXT (cd->html->priv->im_context),
GTK_MENU_SHELL (menu));
END_SUBMENU;
Index: template.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/components/html-editor/template.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -p -r1.15 -r1.16
--- template.c 12 May 2003 20:46:48 -0000 1.15
+++ template.c 25 Jul 2003 16:49:30 -0000 1.16
@@ -278,7 +278,7 @@ template_widget (GtkHTMLEditTemplateProp
gtk_tree_view_set_model (GTK_TREE_VIEW (d->tview_template), GTK_TREE_MODEL (d->store));
gtk_tree_view_append_column (GTK_TREE_VIEW (d->tview_template),
- gtk_tree_view_column_new_with_attributes ("Labels",
+ gtk_tree_view_column_new_with_attributes (_("Labels"),
gtk_cell_renderer_text_new (),
"text", 0, NULL));
g_signal_connect (gtk_tree_view_get_selection (GTK_TREE_VIEW (d->tview_template)), "changed",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]