[glade3] Bug 595838 — String fixes



commit 81572d93ce437b7637714edb87e793b791c64761
Author: Philip Withnall <philip tecnocode co uk>
Date:   Tue Sep 22 23:29:05 2009 +0100

    Bug 595838 â?? String fixes

 gladeui/glade-base-editor.c       |    6 +++---
 gladeui/glade-builtins.c          |    4 ++--
 gladeui/glade-editor-property.c   |    4 ++--
 gladeui/glade-project.c           |    4 ++--
 gladeui/glade-property.c          |    4 ++--
 gladeui/glade-widget-action.c     |    2 +-
 plugins/gnome/canvas.xml.in       |    8 ++++----
 plugins/gtk+/glade-gtk.c          |    2 +-
 plugins/gtk+/glade-icon-sources.c |    2 +-
 plugins/gtk+/glade-label-editor.c |    4 ++--
 plugins/gtk+/glade-store-editor.c |    4 ++--
 plugins/gtk+/gtk+.xml.in          |   24 ++++++++++++------------
 12 files changed, 34 insertions(+), 34 deletions(-)
---
diff --git a/gladeui/glade-base-editor.c b/gladeui/glade-base-editor.c
index 7f866ef..40a2b90 100644
--- a/gladeui/glade-base-editor.c
+++ b/gladeui/glade-base-editor.c
@@ -1971,7 +1971,7 @@ glade_base_editor_add_default_properties (GladeBaseEditor *editor,
 	child_class = get_children_model_for_child_type (editor, G_OBJECT_TYPE (child));
 	
 	/* Name */
-	label = gtk_label_new (_("Name :"));
+	label = gtk_label_new (_("Name:"));
 	gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.0);
 	
 	entry = gtk_entry_new ();
@@ -1983,7 +1983,7 @@ glade_base_editor_add_default_properties (GladeBaseEditor *editor,
 	if (child_class && gtk_tree_model_iter_n_children (child_class, NULL) > 1)
 	{
 		/* Type */
-		label = gtk_label_new (_("Type :"));
+		label = gtk_label_new (_("Type:"));
 		gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.0);
 		
 		entry = gtk_combo_box_new ();
@@ -2197,7 +2197,7 @@ glade_base_editor_pack_new_window (GladeBaseEditor *editor,
 			  G_CALLBACK (glade_base_editor_help),
 			  help_markup ? help_markup : 
 			  _("<big><b>Tips:</b></big>\n"
-			    "  * Right click over the treeview to add items.\n"
+			    "  * Right-click over the treeview to add items.\n"
 			    "  * Press Delete to remove the selected item.\n"
 			    "  * Drag &amp; Drop to reorder.\n"
 			    "  * Type column is editable."));
diff --git a/gladeui/glade-builtins.c b/gladeui/glade-builtins.c
index d129ddd..eab06e4 100644
--- a/gladeui/glade-builtins.c
+++ b/gladeui/glade-builtins.c
@@ -496,7 +496,7 @@ GParamSpec *
 glade_standard_pixbuf_spec (void)
 {
 	return g_param_spec_object ("pixbuf", _("Image File Name"),
-				     _("Enter a filename, relative or fullpath to "
+				     _("Enter a filename, relative path or full path to "
 				       "load the image"), GDK_TYPE_PIXBUF,
 				     G_PARAM_READWRITE);
 }
@@ -506,7 +506,7 @@ GParamSpec *
 glade_standard_gdkcolor_spec (void)
 {
 	return g_param_spec_boxed ("gdkcolor", _("GdkColor"),
-				     _("A gdk color value"), GDK_TYPE_COLOR,
+				     _("A GDK color value"), GDK_TYPE_COLOR,
 				     G_PARAM_READWRITE);
 }
 
diff --git a/gladeui/glade-editor-property.c b/gladeui/glade-editor-property.c
index 55e6aa4..691b5a8 100644
--- a/gladeui/glade-editor-property.c
+++ b/gladeui/glade-editor-property.c
@@ -1763,14 +1763,14 @@ glade_editor_property_show_i18n_dialog (GtkWidget            *parent,
 	gtk_box_pack_start (GTK_BOX (hbox), translatable_button, FALSE, FALSE, 0);
 	gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (translatable_button), *translatable);
 	gtk_widget_set_tooltip_text (translatable_button,
-				     _("Whether this property is translatable or not"));
+				     _("Whether this property is translatable"));
 	
 	/* Has Context */
 	context_button = gtk_check_button_new_with_mnemonic (_("_Has context prefix"));
 	gtk_box_pack_start (GTK_BOX (hbox), context_button, FALSE, FALSE, 0);
 	gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (context_button), *has_context);
 	gtk_widget_set_tooltip_text (context_button,
-				     _("Whether or not the translatable string has a context prefix"));
+				     _("Whether the translatable string has a context prefix"));
 	if (fmt == GLADE_PROJECT_FORMAT_LIBGLADE)
 		gtk_widget_show (context_button);
 
diff --git a/gladeui/glade-project.c b/gladeui/glade-project.c
index df17ecf..9be067c 100644
--- a/gladeui/glade-project.c
+++ b/gladeui/glade-project.c
@@ -832,7 +832,7 @@ glade_project_class_init (GladeProjectClass *klass)
 					 PROP_READ_ONLY,
 					 g_param_spec_boolean ("read-only",
 							       _("Read Only"),
-							       _("Whether project is read only or not"),
+							       _("Whether project is read-only"),
 							       FALSE,
 							       G_PARAM_READABLE));
 
@@ -2021,7 +2021,7 @@ glade_project_verify_dialog (GladeProject *project,
 				     saving ? GLADE_UI_YES_OR_NO : GLADE_UI_INFO,
 				     expander,
 				     saving ? 
-				     _("Project %s has errors, save anyway ?") :
+				     _("Project %s has errors. Save anyway?") :
 				     _("Project %s has deprecated widgets "
 				       "and/or version mismatches."), name);
 	g_free (name);
diff --git a/gladeui/glade-property.c b/gladeui/glade-property.c
index 6cecae8..b88a55d 100644
--- a/gladeui/glade-property.c
+++ b/gladeui/glade-property.c
@@ -589,14 +589,14 @@ glade_property_klass_init (GladePropertyKlass *prop_class)
 		(object_class, PROP_I18N_TRANSLATABLE,
 		 g_param_spec_boolean 
 		 ("i18n-translatable", _("Translatable"), 
-		  _("Whether this property is translatable or not"),
+		  _("Whether this property is translatable"),
 		  TRUE, G_PARAM_READWRITE));
 
 	g_object_class_install_property 
 		(object_class, PROP_I18N_HAS_CONTEXT,
 		 g_param_spec_boolean 
 		 ("i18n-has-context", _("Has Context"), 
-		  _("Whether or not the translatable string has a context prefix"),
+		  _("Whether the translatable string has a context prefix"),
 		  FALSE, G_PARAM_READWRITE));
 
 	g_object_class_install_property 
diff --git a/gladeui/glade-widget-action.c b/gladeui/glade-widget-action.c
index 5be7604..108dbfe 100644
--- a/gladeui/glade-widget-action.c
+++ b/gladeui/glade-widget-action.c
@@ -166,7 +166,7 @@ glade_widget_action_class_init (GladeWidgetActionClass *klass)
 	                                 PROP_SENSITIVE,
 	                                 g_param_spec_boolean ("sensitive",
 	                                                       _("Sensitive"),
-	                                                       _("Whether or not this action is sensitive"),
+	                                                       _("Whether this action is sensitive"),
 	                                                       TRUE,
 	                                                       G_PARAM_READWRITE));
 
diff --git a/plugins/gnome/canvas.xml.in b/plugins/gnome/canvas.xml.in
index 745dd98..8753198 100644
--- a/plugins/gnome/canvas.xml.in
+++ b/plugins/gnome/canvas.xml.in
@@ -9,19 +9,19 @@
       <set-property-function>glade_gnome_canvas_set_property</set-property-function>
       <properties>
         <property id="scroll-x1" _name="Min X">
-	  <_tooltip>The minimum x coordinate</_tooltip>
+	  <_tooltip>The minimum X coordinate</_tooltip>
 	  <spec>glade_standard_float_spec</spec>
 	</property>
         <property id="scroll-y1" _name="Min Y">
-	  <_tooltip>The minimum y coordinate</_tooltip>
+	  <_tooltip>The minimum Y coordinate</_tooltip>
 	  <spec>glade_standard_float_spec</spec>
 	</property>
         <property id="scroll-x2" _name="Max X">
-	  <_tooltip>The maximum x coordinate</_tooltip>
+	  <_tooltip>The maximum X coordinate</_tooltip>
 	  <spec>glade_standard_float_spec</spec>
 	</property>
         <property id="scroll-y2" _name="Max Y">
-	  <_tooltip>The maximum y coordinate</_tooltip>
+	  <_tooltip>The maximum Y coordinate</_tooltip>
 	  <spec>glade_standard_float_spec</spec>
 	</property> 
         <property id="pixels-per-unit" _name="Pixels per unit">
diff --git a/plugins/gtk+/glade-gtk.c b/plugins/gtk+/glade-gtk.c
index 0753141..3d22082 100644
--- a/plugins/gtk+/glade-gtk.c
+++ b/plugins/gtk+/glade-gtk.c
@@ -61,7 +61,7 @@
 #define MNEMONIC_INSENSITIVE_MSG   _("This property does not apply unless Use Underline is set.")
 #define NOT_SELECTED_MSG           _("Property not selected")
 #define RESPID_INSENSITIVE_MSG     _("This property is only for use in dialog action buttons")
-#define ACTION_APPEARANCE_MSG      _("This property is set to be controled by an Action")
+#define ACTION_APPEARANCE_MSG      _("This property is set to be controlled by an Action")
 /* -------------------------------- ParamSpecs ------------------------------ */
 /*
 GtkImageMenuItem GnomeUI "stock_item" property special case:
diff --git a/plugins/gtk+/glade-icon-sources.c b/plugins/gtk+/glade-icon-sources.c
index 4015e22..db9a2c3 100644
--- a/plugins/gtk+/glade-icon-sources.c
+++ b/plugins/gtk+/glade-icon-sources.c
@@ -691,7 +691,7 @@ icon_sources_query_tooltip (GtkWidget  *widget,
 				{
 				case COLUMN_TEXT:
 					tooltip_text = 
-						g_strdup_printf (_("Enter a filname or a relative or full path for this "
+						g_strdup_printf (_("Enter a filename or a relative or full path for this "
 								   "source of '%s' (Glade will only ever load them in "
 								   "the runtime from your project directory)."), 
 								 icon_name);
diff --git a/plugins/gtk+/glade-label-editor.c b/plugins/gtk+/glade-label-editor.c
index 9578381..ccc5d18 100644
--- a/plugins/gtk+/glade-label-editor.c
+++ b/plugins/gtk+/glade-label-editor.c
@@ -283,7 +283,7 @@ markup_toggled (GtkWidget        *widget,
 
 	label_editor->modifying = TRUE;
 
-	glade_command_push_group (_("Setting %s to use a pango markup string"), label_editor->loaded_widget->name);
+	glade_command_push_group (_("Setting %s to use a Pango markup string"), label_editor->loaded_widget->name);
 
 	property = glade_widget_get_property (label_editor->loaded_widget, "pattern");
 	glade_command_set_property (property, NULL);
@@ -489,7 +489,7 @@ wrap_mode_toggled (GtkWidget        *widget,
 
 	label_editor->modifying = TRUE;
 
-	glade_command_push_group (_("Setting %s to use specific pango word wrapping"), 
+	glade_command_push_group (_("Setting %s to use specific Pango word wrapping"),
 				  label_editor->loaded_widget->name);
 
 	property = glade_widget_get_property (label_editor->loaded_widget, "single-line-mode");
diff --git a/plugins/gtk+/glade-store-editor.c b/plugins/gtk+/glade-store-editor.c
index 8b5ad0c..d27ef60 100644
--- a/plugins/gtk+/glade-store-editor.c
+++ b/plugins/gtk+/glade-store-editor.c
@@ -194,7 +194,7 @@ glade_store_editor_new (GladeWidgetAdaptor *adaptor,
 	gtk_container_add (GTK_CONTAINER (alignment), vbox);
 
 	/* Add descriptive label */
-	label = gtk_label_new (_("Define columns for your liststore, "
+	label = gtk_label_new (_("Define columns for your liststore; "
 				 "giving them meaningful names will help you to retrieve "
 				 "them when setting cell renderer attributes (press the "
 				 "Delete key to remove the selected column)"));
@@ -224,7 +224,7 @@ glade_store_editor_new (GladeWidgetAdaptor *adaptor,
 		gtk_container_add (GTK_CONTAINER (alignment), vbox);
 		
 		/* Add descriptive label */
-		label = gtk_label_new (_("Add remove and edit rows of data (you can optionally use CNTL-N to add "
+		label = gtk_label_new (_("Add remove and edit rows of data (you can optionally use Ctrl+N to add "
 					 "new rows and the Delete key to remove the selected row)"));
 		gtk_label_set_line_wrap (GTK_LABEL(label), TRUE);
 		gtk_label_set_line_wrap_mode (GTK_LABEL(label), PANGO_WRAP_WORD);
diff --git a/plugins/gtk+/gtk+.xml.in b/plugins/gtk+/gtk+.xml.in
index d837035..4a5f708 100644
--- a/plugins/gtk+/gtk+.xml.in
+++ b/plugins/gtk+/gtk+.xml.in
@@ -686,7 +686,7 @@ embedded in another object</_tooltip>
 
 	<!-- Virtual stock comboentry property -->
 	<property id="stock-id" visible="False" stock-icon="True" custom-layout="True">
-          <_tooltip>The stock icon displayed on the item (chose an item from gtk+ stock or from an icon factory)</_tooltip>
+          <_tooltip>The stock icon displayed on the item (choose an item from GTK+ stock or from an icon factory)</_tooltip>
 	</property>
         <property id="label" translatable="True" default="toolbutton" custom-layout="True"/>
 	<property id="label-widget" parentless-widget="True" libglade-unsupported="True" 
@@ -775,7 +775,7 @@ embedded in another object</_tooltip>
 	    <type>GParamBoxed</type>
 	    <value-type>GladeAttrGList</value-type>
 	  </parameter-spec>
-	  <_tooltip>The pango attributes for this label</_tooltip>
+	  <_tooltip>The Pango attributes for this label</_tooltip>
 	</property>
 	<property id="pattern" custom-layout="True"/>
 	<property id="use-markup" custom-layout="True"/>
@@ -896,7 +896,7 @@ embedded in another object</_tooltip>
 	  </parameter-spec>
         </property>
 
-	<property id="invisible-char-set" _name="Invisible Char Set" since="2.16">
+	<property id="invisible-char-set" _name="Invisible Character Set" since="2.16">
 	  <parameter-spec>
 	    <type>GParamBoolean</type>
 	  </parameter-spec>
@@ -2623,15 +2623,15 @@ embedded in another object</_tooltip>
 
         <property id="stretch" save="False" custom-layout="True">
   	  <displayable-values>
-	    <value id="PANGO_STRETCH_ULTRA_CONDENSED" _name="Ultra Condensed"/>
-	    <value id="PANGO_STRETCH_EXTRA_CONDENSED" _name="Extra Condensed"/>
+	    <value id="PANGO_STRETCH_ULTRA_CONDENSED" _name="Ultra-Condensed"/>
+	    <value id="PANGO_STRETCH_EXTRA_CONDENSED" _name="Extra-Condensed"/>
 	    <value id="PANGO_STRETCH_CONDENSED" _name="Condensed"/>
-	    <value id="PANGO_STRETCH_SEMI_CONDENSED" _name="Semi Condensed"/>
+	    <value id="PANGO_STRETCH_SEMI_CONDENSED" _name="Semi-Condensed"/>
 	    <value id="PANGO_STRETCH_NORMAL" _name="Normal"/>
-	    <value id="PANGO_STRETCH_SEMI_EXPANDED" _name="Semi Expanded"/>
+	    <value id="PANGO_STRETCH_SEMI_EXPANDED" _name="Semi-Expanded"/>
 	    <value id="PANGO_STRETCH_EXPANDED" _name="Expanded"/>
-	    <value id="PANGO_STRETCH_EXTRA_EXPANDED" _name="Extra Expanded"/>
-	    <value id="PANGO_STRETCH_ULTRA_EXPANDED" _name="Ultra Expanded"/>
+	    <value id="PANGO_STRETCH_EXTRA_EXPANDED" _name="Extra-Expanded"/>
+	    <value id="PANGO_STRETCH_ULTRA_EXPANDED" _name="Ultra-Expanded"/>
 	  </displayable-values>
 	</property>
 
@@ -2814,7 +2814,7 @@ embedded in another object</_tooltip>
 
         <property id="accel-mode" save="False" custom-layout="True">
   	  <displayable-values>
-	    <value id="GTK_CELL_RENDERER_ACCEL_MODE_GTK" _name="Gtk"/>
+	    <value id="GTK_CELL_RENDERER_ACCEL_MODE_GTK" _name="GTK+"/>
 	    <value id="GTK_CELL_RENDERER_ACCEL_MODE_OTHER" _name="Other"/>
 	  </displayable-values>
 	</property>
@@ -2844,7 +2844,7 @@ embedded in another object</_tooltip>
 	    <value id="GDK_BUTTON1_MASK" _name="First Mouse Button"/>
 	    <value id="GDK_BUTTON2_MASK" _name="Second Mouse Button"/>
 	    <value id="GDK_BUTTON3_MASK" _name="Third Mouse Button"/>
-	    <value id="GDK_BUTTON4_MASK" _name="Forth Mouse Button"/>
+	    <value id="GDK_BUTTON4_MASK" _name="Fourth Mouse Button"/>
 	    <value id="GDK_BUTTON5_MASK" _name="Fifth Mouse Button"/>
 	    <value id="GDK_SUPER_MASK" _name="Super Modifier"/>
 	    <value id="GDK_HYPER_MASK" _name="Hyper Modifier"/>
@@ -3447,7 +3447,7 @@ embedded in another object</_tooltip>
     <glade-widget-class-ref name="GtkGammaCurve"/>
   </glade-widget-group>
 
-  <glade-widget-group name="gtk-obsolete" _title="Gtk+ Obsolete">
+  <glade-widget-group name="gtk-obsolete" _title="GTK+ Obsolete">
 
     <default-palette-state expanded="False"/>
 



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