Re: [evolution-patches] locale fixes



On Mon, 2003-09-08 at 09:41 -0400, Dan Winship wrote:
> On Mon, 2003-09-08 at 07:09, Radek Doulík wrote:
> > attached patch marks strings for translation
> 
> You should probably put a comment above the "quick brown fox" strings
> explaining what they're used for (and that they don't have to be
> translated literally :-)

ah, good idea! attached is patch to add such comment

Radek

Index: body.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/components/html-editor/body.c,v
retrieving revision 1.39
diff -u -p -r1.39 body.c
--- body.c	25 Jul 2003 16:49:30 -0000	1.39
+++ body.c	8 Sep 2003 13:44:02 -0000
@@ -119,6 +119,7 @@ fill_sample (GtkHTMLEditBodyProperties *
 				    bg_image, lm);
 
 	body  = g_strconcat (body_tag,
+			     /* string marked for translations is sample text. you may want to translate it to common sample text in your language */
 			     _("The quick brown <a href=\"mailto:fox\";>fox</a> jumps over the lazy <a href=\"mailto:dog\";>dog</a>."),
 			     NULL);
 
Index: cell.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/components/html-editor/cell.c,v
retrieving revision 1.31
diff -u -p -r1.31 cell.c
--- cell.c	12 May 2003 20:46:48 -0000	1.31
+++ cell.c	8 Sep 2003 13:44:02 -0000
@@ -170,6 +170,7 @@ fill_sample (GtkHTMLEditCellProperties *
 				g_string_append (str, "<td>");
 
 			if (c == 1 && r == 0) {
+				/* string marked for translations is sample text. you may want to translate it to common sample text in your language */
 				g_string_append (str, _("The quick brown fox jumps over the lazy dog."));
 				g_string_append (str, " ");
 				g_string_append (str, _("The quick brown fox jumps over the lazy dog."));
Index: paragraph.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/components/html-editor/paragraph.c,v
retrieving revision 1.21
diff -u -p -r1.21 paragraph.c
--- paragraph.c	25 Jul 2003 16:49:30 -0000	1.21
+++ paragraph.c	8 Sep 2003 13:44:08 -0000
@@ -58,6 +58,7 @@ fill_sample (GtkHTMLEditParagraphPropert
 	body  = g_strconcat (bg,
 			     style,
 			     align,
+			     /* string marked for translations is sample text. you may want to translate it to common sample text in your language */
 			     _("The quick brown fox jumps over the lazy dog.</div>"),
 			     NULL);
 
Index: text.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/components/html-editor/text.c,v
retrieving revision 1.40
diff -u -p -r1.40 text.c
--- text.c	12 May 2003 20:46:48 -0000	1.40
+++ text.c	8 Sep 2003 13:44:10 -0000
@@ -105,6 +105,7 @@ fill_sample (GtkHTMLEditTextProperties *
 			     CVAL (2) ? "<u>" : "",
 			     CVAL (3) ? "<s>" : "",
 			     size, color,
+			     /* string marked for translations is sample text. you may want to translate it to common sample text in your language */
 			     _("The quick brown fox jumps over the lazy dog."), sa, NULL);
 	
 	gtk_html_load_from_string (d->sample, body, -1);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]