GtkHTML string change announcement



Hi,

I have committed some HIG related improvements [1] in the strings of gtkhtml.

The exact changes are clearly shown in the small patch attached herewith.

Thanks for your attention.

- Kaushal

[1]: http://bugzilla.gnome.org/show_bug.cgi?id=246244
Index: components/html-editor/ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/components/html-editor/ChangeLog,v
retrieving revision 1.500
diff -p -u -5 -r1.500 ChangeLog
--- components/html-editor/ChangeLog	19 Jul 2005 08:35:42 -0000	1.500
+++ components/html-editor/ChangeLog	22 Jul 2005 08:52:18 -0000
@@ -1,5 +1,16 @@
+2005-07-22  Kaushal Kumar  <kakumar novell com>
+
+	* body.c: HIGify two template strings.
+
+	* menubar.c (format_page_cb): HIGify dialog title.
+
+	* properties.c (switch_page): HIGify title display.
+
+	Based on patch from H.A.Riyaz Ahmed.
+	Fixes bug #246244.
+
 2005-07-19  Tor Lillqvist  <tml novell com>
 
 	* Makefile.am: Use SOEXT instead of hardcoded .so. Append EXEEXT
 	to executable editor component name.
 
Index: components/html-editor/body.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/components/html-editor/body.c,v
retrieving revision 1.51
diff -p -u -5 -r1.51 body.c
--- components/html-editor/body.c	17 May 2005 14:48:59 -0000	1.51
+++ components/html-editor/body.c	22 Jul 2005 08:52:18 -0000
@@ -66,19 +66,19 @@ static BodyTemplate body_templates [TEMP
 		{0, 0, 0, 0},
 		{0, 0, 0, 0},
 		10,
 	},
 	{
-		N_("Perforated Paper"),
+		N_("Perforated paper"),
 		ICONDIR "/paper.png",
 		{0, 0xffff, 0xffff, 0xffff},
 		{0, 0, 0, 0},
 		{0, 0, 0x3380, 0x6680},
 		30,
 	},
 	{
-		N_("Blue Ink"),
+		N_("Blue ink"),
 		ICONDIR "/texture.png",
 		{0, 0xffff, 0xffff, 0xffff},
 		{0, 0x1fff, 0x1fff, 0x8fff},
 		{0, 0, 0, 0xffff},
 		10,
Index: components/html-editor/menubar.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/components/html-editor/menubar.c,v
retrieving revision 1.117
diff -p -u -5 -r1.117 menubar.c
--- components/html-editor/menubar.c	12 Jul 2005 05:23:54 -0000	1.117
+++ components/html-editor/menubar.c	22 Jul 2005 08:52:18 -0000
@@ -353,11 +353,11 @@ static void
 format_page_cb (BonoboUIComponent *uic, GtkHTMLControlData *cd, const char *cname)
 {
 	if (cd->properties_dialog)
 		gtk_html_edit_properties_dialog_close (cd->properties_dialog);
 
-	cd->properties_dialog = gtk_html_edit_properties_dialog_new (cd, _("Properties"),
+	cd->properties_dialog = gtk_html_edit_properties_dialog_new (cd, _("Format"),
 								     gnome_icon_theme_lookup_icon (cd->icon_theme, "stock_properties", 16, NULL, NULL));
 
 	gtk_html_edit_properties_dialog_add_entry (cd->properties_dialog,
 						   GTK_HTML_EDIT_PROPERTY_BODY, _("Page"),
 						   body_properties,
Index: components/html-editor/properties.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/components/html-editor/properties.c,v
retrieving revision 1.36
diff -p -u -5 -r1.36 properties.c
--- components/html-editor/properties.c	17 May 2005 14:48:59 -0000	1.36
+++ components/html-editor/properties.c	22 Jul 2005 08:52:18 -0000
@@ -64,11 +64,11 @@ switch_page (GtkWidget *w, GtkNotebookPa
 		PageData *pd;
 
 		pd = (PageData *) g_list_nth (d->page_data, num)->data;
 		if (pd) {
 			gchar *title;
-			title = g_strconcat (d->title, ": ", pd->name, NULL);
+			title = g_strconcat (d->title, " ", pd->name, NULL);
 			gtk_window_set_title (GTK_WINDOW (d->dialog), title);
 			g_free (title);
 		}
 	}
 }


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