nautilus r13635 - in trunk: . libnautilus-private src src/file-manager



Author: alexl
Date: Tue Jan 22 10:27:35 2008
New Revision: 13635
URL: http://svn.gnome.org/viewvc/nautilus?rev=13635&view=rev

Log:
2008-01-22  Alexander Larsson  <alexl redhat com>

        * libnautilus-private/apps_nautilus_preferences.schemas.in:
        * libnautilus-private/nautilus-file-operations.c:
        * src/Nautilus_shell.server.in:
        * src/file-manager/fm-directory-view.c:
        * src/file-manager/fm-properties-window.c:
        * src/nautilus-connect-server-dialog-main.c:
        * src/nautilus-file-management-properties.glade:
        * src/nautilus-navigation-window-menus.c:
	Clean up strings for l10n. (#510327)



Modified:
   trunk/ChangeLog
   trunk/libnautilus-private/apps_nautilus_preferences.schemas.in
   trunk/libnautilus-private/nautilus-file-operations.c
   trunk/src/Nautilus_shell.server.in
   trunk/src/file-manager/fm-directory-view.c
   trunk/src/file-manager/fm-properties-window.c
   trunk/src/nautilus-connect-server-dialog-main.c
   trunk/src/nautilus-file-management-properties.glade
   trunk/src/nautilus-navigation-window-menus.c

Modified: trunk/libnautilus-private/apps_nautilus_preferences.schemas.in
==============================================================================
--- trunk/libnautilus-private/apps_nautilus_preferences.schemas.in	(original)
+++ trunk/libnautilus-private/apps_nautilus_preferences.schemas.in	Tue Jan 22 10:27:35 2008
@@ -456,7 +456,7 @@
       <type>bool</type>
       <default>false</default>
       <locale name="C">
-         <short>Custom Background Set</short>
+         <short>Custom Background</short>
          <long>Whether a custom default folder background has been set.</long>
       </locale>
     </schema>

Modified: trunk/libnautilus-private/nautilus-file-operations.c
==============================================================================
--- trunk/libnautilus-private/nautilus-file-operations.c	(original)
+++ trunk/libnautilus-private/nautilus-file-operations.c	Tue Jan 22 10:27:35 2008
@@ -1880,7 +1880,7 @@
 						    "free space on this volume "
 						    "the trash must be emptied. "
 						    "All trashed items on the volume "
-						    "will be permanently lost. "));
+						    "will be permanently lost."));
 	gtk_dialog_add_buttons (GTK_DIALOG (dialog), 
 	                        _("Don't Empty Trash"), GTK_RESPONSE_REJECT, 
 	                        GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, 
@@ -4051,7 +4051,7 @@
 	job = (CommonJob *)link_job;
 	
 	nautilus_progress_info_take_status (job->progress,
-					    f (_("Creating links in to \"%B\""),
+					    f (_("Creating links in \"%B\""),
 					       link_job->destination));
 
 	nautilus_progress_info_take_details (job->progress,

Modified: trunk/src/Nautilus_shell.server.in
==============================================================================
--- trunk/src/Nautilus_shell.server.in	(original)
+++ trunk/src/Nautilus_shell.server.in	Tue Jan 22 10:27:35 2008
@@ -13,8 +13,8 @@
     <item value="IDL:Bonobo/Unknown:1.0"/>
     <item value="IDL:Nautilus/Shell:1.0"/>
   </oaf_attribute>
-  <oaf_attribute name="name" type="string" _value="Nautilus shell"/>
-  <oaf_attribute name="description" type="string" _value="Nautilus shell operations that can be done from subsequent command-line invocations"/>
+  <oaf_attribute name="name" type="string" _value="Nautilus instance"/>
+  <oaf_attribute name="description" type="string" _value="Nautilus operations that can be done from subsequent command-line invocations"/>
 </oaf_server>
 
 <oaf_server iid="OAFIID:Nautilus_Metafile_Factory" type="factory" location="OAFIID:Nautilus_Factory">

Modified: trunk/src/file-manager/fm-directory-view.c
==============================================================================
--- trunk/src/file-manager/fm-directory-view.c	(original)
+++ trunk/src/file-manager/fm-directory-view.c	Tue Jan 22 10:27:35 2008
@@ -6214,7 +6214,7 @@
     N_("Create _Folder"), "<control><shift>N",                /* label, accelerator */
     N_("Create a new empty folder inside this folder"),                   /* tooltip */ 
     G_CALLBACK (action_new_folder_callback) },
-  { "No Templates", NULL, N_("No templates Installed") },               /* name, stock id, label */
+  { "No Templates", NULL, N_("No templates installed") },               /* name, stock id, label */
   { "New Empty File", NULL,                  /* name, stock id */
     /* translators: this is used to indicate that a file doesn't contain anything */
     N_("_Empty File"), NULL,                /* label, accelerator */

Modified: trunk/src/file-manager/fm-properties-window.c
==============================================================================
--- trunk/src/file-manager/fm-properties-window.c	(original)
+++ trunk/src/file-manager/fm-properties-window.c	Tue Jan 22 10:27:35 2008
@@ -2810,7 +2810,7 @@
 	/* Translators: "free" refers to the capacity of the filesystem */
 	free_label = gtk_label_new (g_strconcat (free, " ", _("free"), NULL));  
 
-	capacity_label = gtk_label_new (g_strconcat (_("Total capacity: "), capacity, NULL));
+	capacity_label = gtk_label_new (g_strconcat (_("Total capacity:"), " ", capacity, NULL));
 	fstype_label = gtk_label_new (NULL);
 
 	location = g_file_new_for_uri (uri);
@@ -2819,7 +2819,7 @@
 	if (info) {
 		fs_type = g_file_info_get_attribute_string (info, G_FILE_ATTRIBUTE_FILESYSTEM_TYPE);
 		if (fs_type != NULL) {
-			gtk_label_set_text (GTK_LABEL (fstype_label), g_strconcat (_("Filesystem type: "), fs_type, NULL));
+			gtk_label_set_text (GTK_LABEL (fstype_label), g_strconcat (_("Filesystem type:"), " ", fs_type, NULL));
 		}
 		
 		g_object_unref (info);
@@ -2948,7 +2948,7 @@
 		append_title_value_pair (window,
 					 table, _("Type:"), 
 					 "type",
-					 _("--"),
+					 "--",
 					 FALSE);
 	}
 
@@ -2958,24 +2958,24 @@
 	} else {
 		append_title_value_pair (window, table, _("Size:"), 
 					 "size_detail",
-					 _("--"),
+					 "--",
 					 FALSE);
 	}
 
 	append_title_and_ellipsizing_value (window, table, _("Location:"), 
 					    "where",
-					    _("--"),
+					    "--",
 					    TRUE);
 	
 	append_title_and_ellipsizing_value (window, table, 
 					    _("Volume:"), 
 					    "volume",
-					    _("--"),
+					    "--",
 					    FALSE);
 	if (should_show_free_space (window)) {
 		append_title_value_pair (window, table, _("Free space:"), 
 					 "free_space",
-					 _("--"),
+					 "--",
 					 FALSE);
 	}
 
@@ -2983,13 +2983,13 @@
 		append_title_and_ellipsizing_value (window, table, 
 						    _("Link target:"), 
 						    "link_target",
-						    _("--"),
+						    "--",
 						    FALSE);
 	}
 	if (should_show_mime_type (window)) {
 		append_title_value_pair (window, table, _("MIME type:"), 
 					 "mime_type",
-					 _("--"),
+					 "--",
 					 FALSE);
 	}				  
 	
@@ -2998,13 +2998,13 @@
 	
 	append_title_value_pair (window, table, _("Modified:"), 
 				 "date_modified",
-				 _("--"),
+				 "--",
 				 FALSE);
 	
 	if (should_show_accessed_date (window)) {
 		append_title_value_pair (window, table, _("Accessed:"), 
 					 "date_accessed",
-					 _("--"),
+					 "--",
 					 FALSE);
 	}
 	
@@ -4054,7 +4054,7 @@
 		value = attach_value_field (window, 
 				    page_table, last_row, VALUE_COLUMN,
 				    "owner",
-				    _("--"),
+				    "--",
 				    FALSE); 
 		gtk_label_set_mnemonic_widget (owner_label, value);
 	}
@@ -4087,7 +4087,7 @@
 		value = attach_value_field (window, page_table, last_row, 
 				    VALUE_COLUMN, 
 				    "group",
-				    _("--"),
+				    "--",
 				    FALSE); 
 		gtk_label_set_mnemonic_widget (group_label, value);
 	}
@@ -4260,7 +4260,7 @@
 		value = attach_value_field (window, 
 				    page_table, last_row, VALUE_COLUMN,
 				    "owner",
-				    _("--"),
+				    "--",
 				    FALSE); 
 		gtk_label_set_mnemonic_widget (owner_label, value);
 	}
@@ -4282,7 +4282,7 @@
 		attach_value_field (window, page_table, last_row, 
 				    VALUE_COLUMN, 
 				    "group",
-				    _("--"),
+				    "--",
 				    FALSE); 
 	}
 
@@ -4317,7 +4317,7 @@
 	
 	append_title_value_pair
 		(window, page_table, _("Text view:"), 
-		 "permissions", _("--"),
+		 "permissions", "--",
 		 FALSE);
 }
 
@@ -4487,11 +4487,11 @@
 	
 		append_title_value_pair
 			(window, page_table, _("SELinux context:"), 
-			 "selinux_context", _("--"),
+			 "selinux_context", "--",
 			 FALSE);
 		append_title_value_pair
 			(window, page_table, _("Last changed:"), 
-			 "date_permissions", _("--"),
+			 "date_permissions", "--",
 			 FALSE);
 	
 		if (window->details->has_recursive_apply) {

Modified: trunk/src/nautilus-connect-server-dialog-main.c
==============================================================================
--- trunk/src/nautilus-connect-server-dialog-main.c	(original)
+++ trunk/src/nautilus-connect-server-dialog-main.c	Tue Jan 22 10:27:35 2008
@@ -108,6 +108,8 @@
 	textdomain (GETTEXT_PACKAGE);
 
 	args = NULL;
+	/* Translators: This is the --help description gor the connect to server app,
+	   the initial newlines are between the command line arg and the description */
 	context = g_option_context_new (N_("\n\nAdd connect to server mount"));
 	g_option_context_add_main_entries (context, options, GETTEXT_PACKAGE);
 

Modified: trunk/src/nautilus-file-management-properties.glade
==============================================================================
--- trunk/src/nautilus-file-management-properties.glade	(original)
+++ trunk/src/nautilus-file-management-properties.glade	Tue Jan 22 10:27:35 2008
@@ -92,7 +92,7 @@
 		  <child>
 		    <widget class="GtkLabel" id="label4">
 		      <property name="visible">True</property>
-		      <property name="label" translatable="yes">&lt;span weight=&quot;bold&quot;&gt;Default View&lt;/span&gt;</property>
+		      <property name="label" translatable="yes">&lt;b&gt;Default View&lt;/b&gt;</property>
 		      <property name="use_underline">False</property>
 		      <property name="use_markup">True</property>
 		      <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -306,7 +306,7 @@
 		  <child>
 		    <widget class="GtkLabel" id="label5">
 		      <property name="visible">True</property>
-		      <property name="label" translatable="yes">&lt;span weight=&quot;bold&quot;&gt;Icon View Defaults&lt;/span&gt;</property>
+		      <property name="label" translatable="yes">&lt;b&gt;Icon View Defaults&lt;/b&gt;</property>
 		      <property name="use_underline">False</property>
 		      <property name="use_markup">True</property>
 		      <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -468,7 +468,7 @@
 		  <child>
 		    <widget class="GtkLabel" id="label6">
 		      <property name="visible">True</property>
-		      <property name="label" translatable="yes">&lt;span weight=&quot;bold&quot;&gt;List View Defaults&lt;/span&gt;</property>
+		      <property name="label" translatable="yes">&lt;b&gt;List View Defaults&lt;/b&gt;</property>
 		      <property name="use_underline">False</property>
 		      <property name="use_markup">True</property>
 		      <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -592,7 +592,7 @@
 		  <child>
 		    <widget class="GtkLabel" id="label25">
 		      <property name="visible">True</property>
-		      <property name="label" translatable="yes">&lt;span weight=&quot;bold&quot;&gt;Tree View Defaults&lt;/span&gt;</property>
+		      <property name="label" translatable="yes">&lt;b&gt;Tree View Defaults&lt;/b&gt;</property>
 		      <property name="use_underline">False</property>
 		      <property name="use_markup">True</property>
 		      <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -712,7 +712,7 @@
 		  <child>
 		    <widget class="GtkLabel" id="label10">
 		      <property name="visible">True</property>
-		      <property name="label" translatable="yes">&lt;span weight=&quot;bold&quot;&gt;Behavior&lt;/span&gt;</property>
+		      <property name="label" translatable="yes">&lt;b&gt;Behavior&lt;/b&gt;</property>
 		      <property name="use_underline">False</property>
 		      <property name="use_markup">True</property>
 		      <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -835,7 +835,7 @@
 		  <child>
 		    <widget class="GtkLabel" id="label12">
 		      <property name="visible">True</property>
-		      <property name="label" translatable="yes">&lt;span weight=&quot;bold&quot;&gt;Executable Text Files&lt;/span&gt;</property>
+		      <property name="label" translatable="yes">&lt;b&gt;Executable Text Files&lt;/b&gt;</property>
 		      <property name="use_underline">False</property>
 		      <property name="use_markup">True</property>
 		      <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -959,7 +959,7 @@
 		  <child>
 		    <widget class="GtkLabel" id="label14">
 		      <property name="visible">True</property>
-		      <property name="label" translatable="yes">&lt;span weight=&quot;bold&quot;&gt;Trash&lt;/span&gt;</property>
+		      <property name="label" translatable="yes">&lt;b&gt;Trash&lt;/b&gt;</property>
 		      <property name="use_underline">False</property>
 		      <property name="use_markup">True</property>
 		      <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -1098,7 +1098,7 @@
 		  <child>
 		    <widget class="GtkLabel" id="label28">
 		      <property name="visible">True</property>
-		      <property name="label" translatable="yes">&lt;span weight=&quot;bold&quot;&gt;Icon Captions&lt;/span&gt;</property>
+		      <property name="label" translatable="yes">&lt;b&gt;Icon Captions&lt;/b&gt;</property>
 		      <property name="use_underline">False</property>
 		      <property name="use_markup">True</property>
 		      <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -1172,7 +1172,7 @@
 			      <child>
 				<widget class="GtkLabel" id="captions_label_0">
 				  <property name="visible">True</property>
-				  <property name="label" translatable="yes"></property>
+				  <property name="label" translatable="no"></property>
 				  <property name="use_underline">False</property>
 				  <property name="use_markup">False</property>
 				  <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -1224,7 +1224,7 @@
 			      <child>
 				<widget class="GtkLabel" id="captions_label_1">
 				  <property name="visible">True</property>
-				  <property name="label" translatable="yes"></property>
+				  <property name="label" translatable="no"></property>
 				  <property name="use_underline">True</property>
 				  <property name="use_markup">False</property>
 				  <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -1276,7 +1276,7 @@
 			      <child>
 				<widget class="GtkLabel" id="captions_label_2">
 				  <property name="visible">True</property>
-				  <property name="label" translatable="yes"></property>
+				  <property name="label" translatable="no"></property>
 				  <property name="use_underline">False</property>
 				  <property name="use_markup">False</property>
 				  <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -1344,7 +1344,7 @@
 		  <child>
 		    <widget class="GtkLabel" id="label34">
 		      <property name="visible">True</property>
-		      <property name="label" translatable="yes">&lt;span weight=&quot;bold&quot;&gt;Date&lt;/span&gt;</property>
+		      <property name="label" translatable="yes">&lt;b&gt;Date&lt;/b&gt;</property>
 		      <property name="use_underline">False</property>
 		      <property name="use_markup">True</property>
 		      <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -1485,7 +1485,7 @@
 		  <child>
 		    <widget class="GtkLabel" id="label31">
 		      <property name="visible">True</property>
-		      <property name="label" translatable="yes">&lt;span weight=&quot;bold&quot;&gt;List Columns&lt;/span&gt;</property>
+		      <property name="label" translatable="yes">&lt;b&gt;List Columns&lt;/b&gt;</property>
 		      <property name="use_underline">False</property>
 		      <property name="use_markup">True</property>
 		      <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -1516,7 +1516,7 @@
 		      <child>
 			<widget class="GtkLabel" id="label32">
 			  <property name="visible">True</property>
-			  <property name="label" translatable="yes">    </property>
+			  <property name="label" translatable="no">    </property>
 			  <property name="use_underline">False</property>
 			  <property name="use_markup">False</property>
 			  <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -1639,7 +1639,7 @@
 		  <child>
 		    <widget class="GtkLabel" id="label16">
 		      <property name="visible">True</property>
-		      <property name="label" translatable="yes">&lt;span weight=&quot;bold&quot;&gt;Text Files&lt;/span&gt;</property>
+		      <property name="label" translatable="yes">&lt;b&gt;Text Files&lt;/b&gt;</property>
 		      <property name="use_underline">False</property>
 		      <property name="use_markup">True</property>
 		      <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -1759,7 +1759,7 @@
 		  <child>
 		    <widget class="GtkLabel" id="label18">
 		      <property name="visible">True</property>
-		      <property name="label" translatable="yes">&lt;span weight=&quot;bold&quot;&gt;Other Previewable Files&lt;/span&gt;</property>
+		      <property name="label" translatable="yes">&lt;b&gt;Other Previewable Files&lt;/b&gt;</property>
 		      <property name="use_underline">False</property>
 		      <property name="use_markup">True</property>
 		      <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -1939,7 +1939,7 @@
 		  <child>
 		    <widget class="GtkLabel" id="label20">
 		      <property name="visible">True</property>
-		      <property name="label" translatable="yes">&lt;span weight=&quot;bold&quot;&gt;Sound Files&lt;/span&gt;</property>
+		      <property name="label" translatable="yes">&lt;b&gt;Sound Files&lt;/b&gt;</property>
 		      <property name="use_underline">False</property>
 		      <property name="use_markup">True</property>
 		      <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -2059,7 +2059,7 @@
 		  <child>
 		    <widget class="GtkLabel" id="label22">
 		      <property name="visible">True</property>
-		      <property name="label" translatable="yes">&lt;span weight=&quot;bold&quot;&gt;Folders&lt;/span&gt;</property>
+		      <property name="label" translatable="yes">&lt;b&gt;Folders&lt;/b&gt;</property>
 		      <property name="use_underline">False</property>
 		      <property name="use_markup">True</property>
 		      <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -2221,7 +2221,7 @@
 		      <child>
 			<widget class="GtkLabel" id="label42">
 			  <property name="visible">True</property>
-			  <property name="label" translatable="yes">&lt;span weight=&quot;bold&quot;&gt;Media Handling&lt;/span&gt;</property>
+			  <property name="label" translatable="yes">&lt;b&gt;Media Handling&lt;/b&gt;</property>
 			  <property name="use_underline">False</property>
 			  <property name="use_markup">True</property>
 			  <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -2551,7 +2551,7 @@
 		      <child>
 			<widget class="GtkLabel" id="label61">
 			  <property name="visible">True</property>
-			  <property name="label" translatable="yes">&lt;span weight=&quot;bold&quot;&gt;Other Media&lt;/span&gt;</property>
+			  <property name="label" translatable="yes">&lt;b&gt;Other Media&lt;/b&gt;</property>
 			  <property name="use_underline">False</property>
 			  <property name="use_markup">True</property>
 			  <property name="justify">GTK_JUSTIFY_LEFT</property>

Modified: trunk/src/nautilus-navigation-window-menus.c
==============================================================================
--- trunk/src/nautilus-navigation-window-menus.c	(original)
+++ trunk/src/nautilus-navigation-window-menus.c	Tue Jan 22 10:27:35 2008
@@ -111,6 +111,7 @@
 		 * implemented this feature so I could use this joke. 
 		 */
 		prompt = _("Are you sure you want to forget history?");
+		/* Translators: This is part of a joke and is paired with "Are you sure you want to forget history?" */
 		detail = _("If you do, you will be doomed to repeat it.");
 	} else {
 		prompt = _("Are you sure you want to clear the list "



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