diff options
Diffstat (limited to 'components/emblem/nautilus-emblem-view.c')
-rw-r--r-- | components/emblem/nautilus-emblem-view.c | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/components/emblem/nautilus-emblem-view.c b/components/emblem/nautilus-emblem-view.c index a19219214..e572677a7 100644 --- a/components/emblem/nautilus-emblem-view.c +++ b/components/emblem/nautilus-emblem-view.c @@ -200,8 +200,9 @@ nautilus_emblem_view_delete_cb (GtkWidget *menu_item, if (nautilus_emblem_remove_emblem (emblem_view->details->popup_emblem_keyword)) { nautilus_emblem_view_refresh (emblem_view); } else { - error = g_strdup_printf (_("Couldn't remove emblem with name '%s'. This is probably because the emblem is a permanent one, and not one you added yourself."), emblem_view->details->popup_emblem_display_name); - eel_show_error_dialog (error, _("Couldn't remove emblem"), + error = g_strdup_printf (_("Couldn't remove emblem with name '%s'."), emblem_view->details->popup_emblem_display_name); + eel_show_error_dialog (error, _("This is probably because the emblem is a permanent one, and not one you added yourself."), + _("Couldn't Remove Emblem"), NULL); g_free (error); } @@ -235,8 +236,9 @@ rename_dialog_response_cb (GtkWidget *dialog, int response, if (nautilus_emblem_rename_emblem (keyword, name)) { nautilus_emblem_view_refresh (emblem_view); } else { - error = g_strdup_printf (_("Couldn't rename emblem with name '%s'. This is probably because the emblem is a permanent one, and not one that you added yourself."), name); - eel_show_error_dialog (error, _("Couldn't rename emblem"), + error = g_strdup_printf (_("Couldn't rename emblem with name '%s'."), name); + eel_show_error_dialog (error, _("This is probably because the emblem is a permanent one, and not one that you added yourself."), + _("Couldn't Rename Emblem"), NULL); g_free (error); } @@ -737,9 +739,9 @@ nautilus_emblem_view_drag_received_cb (GtkWidget *widget, nautilus_icon_dnd_uri_list_free_strings (uris); if (had_failure && emblems != NULL) { - eel_show_error_dialog (_("Some of the files could not be added as emblems because they did not appear to be valid images."), _("Couldn't add emblems"), NULL); + eel_show_error_dialog (_("Some of the files could not be added as emblems."), _("The emblems do not appear to be valid images."), _("Couldn't Add Emblems"), NULL); } else if (had_failure && emblems == NULL) { - eel_show_error_dialog (_("None of the files could be added as emblems because they did not appear to be valid images."), _("Couldn't add emblems"), NULL); + eel_show_error_dialog (_("None of the files could be added as emblems."), _("The emblems do not appear to be valid images."), _("Couldn't Add Emblems"), NULL); } @@ -760,7 +762,7 @@ nautilus_emblem_view_drag_received_cb (GtkWidget *widget, uri = g_strndup (data->data, data->length); if (!eel_is_valid_uri (uri)) { - eel_show_error_dialog (_("The dragged text was not a valid file location."), _("Couldn't add emblem"), NULL); + eel_show_error_dialog (_("The emblem cannot be added."), _("The dragged text was not a valid file location."), _("Couldn't Add Emblem"), NULL); break; } @@ -785,7 +787,7 @@ nautilus_emblem_view_drag_received_cb (GtkWidget *widget, } else { error = g_strdup (_("The dragged file does not appear to be a valid image.")); } - eel_show_error_dialog (error, _("Couldn't add emblem"), + eel_show_error_dialog (_("The emblem cannot be added."), error, _("Couldn't Add Emblem"), NULL); g_free (error); g_free (uri_utf8); @@ -835,7 +837,7 @@ nautilus_emblem_view_drag_received_cb (GtkWidget *widget, g_warning ("Tried to load '%s', but failed.\n", uri); error = g_strdup_printf (_("The file '%s' does not appear to be a valid image."), uri); - eel_show_error_dialog (error, _("Couldn't add emblem"), + eel_show_error_dialog (_("The emblem cannot be added."), error, _("Couldn't Add Emblem"), NULL); g_free (error); } |