[nautilus-actions] Fix some typos in translatable strings



commit 9b33d4157ced492f2703bbdf580b3ae22ca9281a
Author: Pierre Wieser <pwieser trychlos org>
Date:   Wed May 13 23:19:02 2009 +0200

    Fix some typos in translatable strings
---
 ChangeLog                                          |   11 +++++++++++
 .../nautilus-actions-config-gconf-private.h        |    2 +-
 .../nautilus-actions-config-schema-reader.c        |    2 +-
 libnautilus-actions/nautilus-actions-config.c      |    2 +-
 nact/nact-editor.c                                 |   11 +++++------
 5 files changed, 19 insertions(+), 9 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index db72983..1e69269 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2009-05-13 Pierre Wieser <pwieser trychlos org>
+
+	* nact/nact-editor.c:
+	* libnautilus-actions/nautilus-actions-config.c:
+	* libnautilus-actions/nautilus-actions-config-schema-reader.c:
+	Fix typos. Fixes #522605 reported by Andre Klapper <a9016009%40gmx.de>
+
+	* libnautilus-actions/nautilus-actions-config-gconf-private.h:
+	Remove a quote. Fixes #573365 reported by Sergej
+	<sergio durzu ildeposito org>.
+
 2009-05-12 Pierre Wieser <pwieser trychlos org>
 
 	* ChangeLog, ChangeLog-2008:
diff --git a/libnautilus-actions/nautilus-actions-config-gconf-private.h b/libnautilus-actions/nautilus-actions-config-gconf-private.h
index 1758e10..1aa651f 100644
--- a/libnautilus-actions/nautilus-actions-config-gconf-private.h
+++ b/libnautilus-actions/nautilus-actions-config-gconf-private.h
@@ -87,7 +87,7 @@
 #define ACTION_MATCHCASE_DESC_LONG	_("If you need to match a filename in a case-sensitive manner, set this key to 'true'. If you also want, for example '*.jpg' to match 'photo.JPG', set 'false'")
 #define ACTION_MIMETYPES_DESC_SHORT	_("The list of patterns to match the mimetypes of the selected file(s)")
 #define ACTION_MIMETYPES_DESC_LONG	_("A list of strings with joker '*' or '?' to match the mimetypes of the selected file(s). Each selected items must match at least one of the mimetype patterns for the action to appear")
-#define ACTION_ISFILE_ISDIR_COMBINAITION_DESC_LONG N_("The valid combinations are:\n\nisfile=TRUE and isdir=FALSE: the selection may hold only files\nisfile=FALSE and isdir=TRUE: the selection may hold only folders\nisfile=TRUE and isdir=TRUE': the selection may hold both files and folders\nisfile=FALSE and isdir=FALSE: this is an invalid combination (your configuration will never appear)")
+#define ACTION_ISFILE_ISDIR_COMBINAITION_DESC_LONG N_("The valid combinations are:\n\nisfile=TRUE and isdir=FALSE: the selection may hold only files\nisfile=FALSE and isdir=TRUE: the selection may hold only folders\nisfile=TRUE and isdir=TRUE: the selection may hold both files and folders\nisfile=FALSE and isdir=FALSE: this is an invalid combination (your configuration will never appear)")
 #define ACTION_ISFILE_DESC_SHORT		_("'true' if the selection can have files, 'false' otherwise")
 /* i18n notes: The last space is important if your language add a space after a period sign "." because a string is concatenated after this string */
 #define ACTION_ISFILE_DESC_LONG		N_("This setting is tied in with the 'isdir' setting. ") ACTION_ISFILE_ISDIR_COMBINAITION_DESC_LONG 
diff --git a/libnautilus-actions/nautilus-actions-config-schema-reader.c b/libnautilus-actions/nautilus-actions-config-schema-reader.c
index 88cdc67..e052831 100644
--- a/libnautilus-actions/nautilus-actions-config-schema-reader.c
+++ b/libnautilus-actions/nautilus-actions-config-schema-reader.c
@@ -693,7 +693,7 @@ static gboolean nautilus_actions_config_schema_reader_action_fill (NautilusActio
 		if (g_ascii_strcasecmp (action->version, NAUTILUS_ACTIONS_CONFIG_VERSION) > 0)
 		{
 			// if the version of the file is greater than the current one, we reject the file
-			g_set_error (error, NAUTILUS_ACTIONS_SCHEMA_READER_ERROR, NAUTILUS_ACTIONS_SCHEMA_READER_ERROR_FAILED, _("This config file is more recent than this version of Nautilus-actions can support. Please upgrade Nautilus-actions to the lastest version if you want to be able to import it (File version: %s (max supported version : %s))"), action->version, NAUTILUS_ACTIONS_CONFIG_VERSION);
+			g_set_error (error, NAUTILUS_ACTIONS_SCHEMA_READER_ERROR, NAUTILUS_ACTIONS_SCHEMA_READER_ERROR_FAILED, _("This config file is more recent than this version of Nautilus-actions can support. Please upgrade Nautilus-actions to the latest version if you want to be able to import it (File version: %s (max supported version : %s))"), action->version, NAUTILUS_ACTIONS_CONFIG_VERSION);
 		}
 		else if (g_ascii_strcasecmp (action->version, "1.0") == 0 && 
 				is_profiles_ok && is_icon_ok && 
diff --git a/libnautilus-actions/nautilus-actions-config.c b/libnautilus-actions/nautilus-actions-config.c
index efe786f..7dbc8d2 100644
--- a/libnautilus-actions/nautilus-actions-config.c
+++ b/libnautilus-actions/nautilus-actions-config.c
@@ -521,7 +521,7 @@ gboolean                     nautilus_actions_config_action_rename_profile (Naut
 			else
 			{
 				// i18n notes: will be displayed in an error dialog
-				g_set_error (error, NAUTILUS_ACTIONS_CONFIG_ERROR, NAUTILUS_ACTIONS_CONFIG_ERROR_FAILED, _("Can't removed the old profile '%s'"), old_profile_name);
+				g_set_error (error, NAUTILUS_ACTIONS_CONFIG_ERROR, NAUTILUS_ACTIONS_CONFIG_ERROR_FAILED, _("Can't remove the old profile '%s'"), old_profile_name);
 			}
 		}
 	}
diff --git a/nact/nact-editor.c b/nact/nact-editor.c
index 0fb882b..872c4dc 100644
--- a/nact/nact-editor.c
+++ b/nact/nact-editor.c
@@ -470,6 +470,9 @@ paste_prof_button_clicked_cb (GtkButton *button, gpointer user_data)
 	GtkWidget *nact_prof_paste_button = nact_get_glade_widget_from ("PasteProfileButton", GLADE_EDIT_DIALOG_WIDGET);
 	NautilusActionsConfigActionProfile* action_profile = (NautilusActionsConfigActionProfile*)g_object_get_data (G_OBJECT (nact_prof_paste_button), "profile");
 
+	/* i18n notes: will be displayed in a dialog */
+	const gchar *cantpaste = _( "Can't paste action's profile '%s'!" );
+
 	printf ("profile_name : %s\n", action_profile->desc_name);
 
 	// i18n notes: this is the default name of a copied profile 
@@ -490,8 +493,7 @@ paste_prof_button_clicked_cb (GtkButton *button, gpointer user_data)
 		}
 		else
 		{
-			// i18n notes: will be displayed in a dialog
-			tmp = g_strdup_printf (_("Can't paste action's profile '%s'!"), new_profile_desc_name);
+			tmp = g_strdup_printf ( cantpaste, new_profile_desc_name);
 			nautilus_actions_display_error (tmp, error->message);
 			g_error_free (error);
 			g_free (tmp);
@@ -499,8 +501,7 @@ paste_prof_button_clicked_cb (GtkButton *button, gpointer user_data)
 	}
 	else
 	{
-		// i18n notes: will be displayed in a dialog
-		tmp = g_strdup_printf (_("Can't paste action's profile '%s' !"), new_profile_desc_name);
+		tmp = g_strdup_printf ( cantpaste, new_profile_desc_name);
 		nautilus_actions_display_error (tmp, "");
 		g_free (tmp);
 	}
@@ -761,5 +762,3 @@ nact_editor_edit_action (NautilusActionsConfigAction *action)
 {
 	return open_editor (action, FALSE);
 }
-
-// vim:ts=3:sw=3:tw=1024:cin



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