anjuta r4590 - in trunk: . libanjuta plugins/cvs-plugin plugins/file-loader plugins/project-wizard plugins/search



Author: sgranjoux
Date: Thu Jan 15 18:54:58 2009
New Revision: 4590
URL: http://svn.gnome.org/viewvc/anjuta?rev=4590&view=rev

Log:
	* plugins/file-loader/plugin.c:
	Fix #567222 â Please add comments for translators

	* plugins/cvs-plugin/anjuta-cvs-plugin.glade:
	Fix #567216 â Don't leave trailing spaces

	* plugins/search/search-replace.c:
	Fix #567226 â Don't leave trailing spaces

	* libanjuta/anjuta-plugin-manager.c,
	libanjuta/anjuta-utils.c:
	Fix #567224 â Don't leave trailing spaces

	* plugins/project-wizard/anjuta-project-wizard.glade:
	Fix #567881 â Strange strings


Modified:
   trunk/ChangeLog
   trunk/libanjuta/anjuta-plugin-manager.c
   trunk/libanjuta/anjuta-utils.c
   trunk/plugins/cvs-plugin/anjuta-cvs-plugin.glade
   trunk/plugins/file-loader/plugin.c
   trunk/plugins/project-wizard/anjuta-project-wizard.glade
   trunk/plugins/search/search-replace.c

Modified: trunk/libanjuta/anjuta-plugin-manager.c
==============================================================================
--- trunk/libanjuta/anjuta-plugin-manager.c	(original)
+++ trunk/libanjuta/anjuta-plugin-manager.c	Thu Jan 15 18:54:58 2009
@@ -2474,7 +2474,8 @@
 			icon_path = g_strconcat (PACKAGE_PIXMAPS_DIR"/",
 									 icon_filename, NULL);
 			/* DEBUG_PRINT ("Icon: %s", icon_path); */
-			label = g_strconcat (_("Loaded: "), title, "...", NULL);
+			/* Avoid space in translated string */
+			label = g_strconcat (_("Loaded:"), " ", title, "...", NULL);
 			icon_pixbuf = gdk_pixbuf_new_from_file (icon_path, NULL);
 			if (!icon_pixbuf)
 				g_warning ("Plugin does not define Icon: No such file %s",

Modified: trunk/libanjuta/anjuta-utils.c
==============================================================================
--- trunk/libanjuta/anjuta-utils.c	(original)
+++ trunk/libanjuta/anjuta-utils.c	Thu Jan 15 18:54:58 2009
@@ -361,7 +361,8 @@
 	va_end (args);
 
 	if (0 != errnum) {
-		tot_mesg = g_strconcat (message, _("\nSystem: "),
+		/* Avoid space in translated string */
+		tot_mesg = g_strconcat (message, "\n", _("System:"), " ",
 								g_strerror(errnum), NULL);
 		g_free (message);
 	} else

Modified: trunk/plugins/cvs-plugin/anjuta-cvs-plugin.glade
==============================================================================
--- trunk/plugins/cvs-plugin/anjuta-cvs-plugin.glade	(original)
+++ trunk/plugins/cvs-plugin/anjuta-cvs-plugin.glade	Thu Jan 15 18:54:58 2009
@@ -456,10 +456,11 @@
                         <child>
                           <widget class="GtkHBox" id="hbox1">
                             <property name="visible">True</property>
+                            <property name="spacing">6</property>
                             <child>
                               <widget class="GtkLabel" id="label10">
                                 <property name="visible">True</property>
-                                <property name="label" translatable="yes">Revision: </property>
+                                <property name="label" translatable="yes">Revision:</property>
                               </widget>
                               <packing>
                                 <property name="expand">False</property>
@@ -698,10 +699,11 @@
                         <child>
                           <widget class="GtkHBox" id="hbox3">
                             <property name="visible">True</property>
+                            <property name="spacing">6</property>
                             <child>
                               <widget class="GtkLabel" id="label18">
                                 <property name="visible">True</property>
-                                <property name="label" translatable="yes">Use revision/tag: </property>
+                                <property name="label" translatable="yes">Use revision/tag:</property>
                               </widget>
                               <packing>
                                 <property name="expand">False</property>
@@ -1079,11 +1081,12 @@
                         </child>
                         <child>
                           <widget class="GtkHBox" id="hbox2">
-                            <property name="visible">True</property>
+                            <property name="visible">True</property> 
+                            <property name="spacing">6</property>
                             <child>
                               <widget class="GtkLabel" id="label17">
                                 <property name="visible">True</property>
-                                <property name="label" translatable="yes">Use revision: </property>
+                                <property name="label" translatable="yes">Use revision:</property>
                               </widget>
                               <packing>
                                 <property name="expand">False</property>

Modified: trunk/plugins/file-loader/plugin.c
==============================================================================
--- trunk/plugins/file-loader/plugin.c	(original)
+++ trunk/plugins/file-loader/plugin.c	Thu Jan 15 18:54:58 2009
@@ -1357,6 +1357,7 @@
 	if (g_list_length (plugin_descs) > 1)
 	{
 		gchar* basename = g_path_get_basename (uri);
+		/* %s is name of file that will be opened */ 
 		gchar* message = g_strdup_printf (_("Please select a plugin to open <b>%s</b>."), 
 										 basename);
 		plugin =

Modified: trunk/plugins/project-wizard/anjuta-project-wizard.glade
==============================================================================
--- trunk/plugins/project-wizard/anjuta-project-wizard.glade	(original)
+++ trunk/plugins/project-wizard/anjuta-project-wizard.glade	Thu Jan 15 18:54:58 2009
@@ -40,7 +40,6 @@
           <widget class="GtkLabel" id="project_book_label">
             <property name="visible">True</property>
             <property name="xpad">5</property>
-            <property name="label" translatable="yes">label49</property>
           </widget>
           <packing>
             <property name="type">tab</property>
@@ -98,7 +97,6 @@
                     <property name="visible">True</property>
                     <property name="xalign">0</property>
                     <property name="xpad">24</property>
-                    <property name="label" translatable="yes">label</property>
                     <property name="wrap">True</property>
                   </widget>
                 </child>
@@ -142,7 +140,6 @@
     <child>
       <widget class="GtkLabel" id="finish_page">
         <property name="visible">True</property>
-        <property name="label" translatable="yes">Page de confirmation</property>
         <property name="use_markup">True</property>
       </widget>
       <packing>

Modified: trunk/plugins/search/search-replace.c
==============================================================================
--- trunk/plugins/search/search-replace.c	(original)
+++ trunk/plugins/search/search-replace.c	Thu Jan 15 18:54:58 2009
@@ -315,7 +315,8 @@
 
 	if (SA_FIND_PANE == s->action)
 	{
-		gchar* name = g_strconcat(_("Find: "), s->expr.search_str, NULL);		
+		/* Avoid space in translated string */
+		gchar* name = g_strconcat(_("Find:"), " ", s->expr.search_str, NULL);		
 		AnjutaShell* shell;
 		g_object_get(G_OBJECT(sr->docman), "shell", &shell, NULL);
 		msgman = anjuta_shell_get_interface(shell, 



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