diff options
-rw-r--r-- | libnautilus-private/nautilus-desktop-link-monitor.c | 6 | ||||
-rw-r--r-- | libnautilus-private/nautilus-file-conflict-dialog.c | 20 | ||||
-rw-r--r-- | libnautilus-private/nautilus-file-operations.c | 80 | ||||
-rw-r--r-- | libnautilus-private/nautilus-file-utilities.c | 2 | ||||
-rw-r--r-- | libnautilus-private/nautilus-mime-application-chooser.c | 8 | ||||
-rw-r--r-- | libnautilus-private/nautilus-query.c | 2 | ||||
-rw-r--r-- | nautilus-sendto-extension/nautilus-nste.c | 2 | ||||
-rw-r--r-- | src/nautilus-autorun-software.c | 2 | ||||
-rw-r--r-- | src/nautilus-connect-server-dialog.c | 4 | ||||
-rw-r--r-- | src/nautilus-error-reporting.c | 30 | ||||
-rw-r--r-- | src/nautilus-mime-actions.c | 16 | ||||
-rw-r--r-- | src/nautilus-properties-window.c | 2 | ||||
-rw-r--r-- | src/nautilus-view.c | 32 | ||||
-rw-r--r-- | src/nautilus-window-manage-views.c | 2 | ||||
-rw-r--r-- | src/nautilus-x-content-bar.c | 2 |
15 files changed, 105 insertions, 105 deletions
diff --git a/libnautilus-private/nautilus-desktop-link-monitor.c b/libnautilus-private/nautilus-desktop-link-monitor.c index 8925ecd60..abbbe6b7f 100644 --- a/libnautilus-private/nautilus-desktop-link-monitor.c +++ b/libnautilus-private/nautilus-desktop-link-monitor.c @@ -88,7 +88,7 @@ volume_delete_dialog (GtkWidget *parent_view, if (mount != NULL) { display_name = nautilus_desktop_link_get_display_name (link); - dialog_str = g_strdup_printf (_("You cannot move the volume \"%s\" to the trash."), + dialog_str = g_strdup_printf (_("You cannot move the volume “%s” to the trash."), display_name); g_free (display_name); @@ -98,7 +98,7 @@ volume_delete_dialog (GtkWidget *parent_view, FALSE, GTK_MESSAGE_ERROR, dialog_str, - _("If you want to eject the volume, please use \"Eject\" in the " + _("If you want to eject the volume, please use Eject in the " "popup menu of the volume."), GTK_STOCK_OK, NULL); } else { @@ -107,7 +107,7 @@ volume_delete_dialog (GtkWidget *parent_view, FALSE, GTK_MESSAGE_ERROR, dialog_str, - _("If you want to unmount the volume, please use \"Unmount Volume\" in the " + _("If you want to unmount the volume, please use Unmount Volume in the " "popup menu of the volume."), GTK_STOCK_OK, NULL); } diff --git a/libnautilus-private/nautilus-file-conflict-dialog.c b/libnautilus-private/nautilus-file-conflict-dialog.c index afe7e45e7..186d9217f 100644 --- a/libnautilus-private/nautilus-file-conflict-dialog.c +++ b/libnautilus-private/nautilus-file-conflict-dialog.c @@ -138,7 +138,7 @@ file_list_ready_cb (GList *files, if (dest_is_dir) { if (source_is_dir) { primary_text = g_strdup_printf - (_("Merge folder \"%s\"?"), + (_("Merge folder “%s”?"), dest_name); message_extra = @@ -147,43 +147,43 @@ file_list_ready_cb (GList *files, if (src_mtime > dest_mtime) { message = g_strdup_printf ( - _("An older folder with the same name already exists in \"%s\"."), + _("An older folder with the same name already exists in “%s”."), dest_dir_name); } else if (src_mtime < dest_mtime) { message = g_strdup_printf ( - _("A newer folder with the same name already exists in \"%s\"."), + _("A newer folder with the same name already exists in “%s”."), dest_dir_name); } else { message = g_strdup_printf ( - _("Another folder with the same name already exists in \"%s\"."), + _("Another folder with the same name already exists in “%s”."), dest_dir_name); } } else { message_extra = _("Replacing it will remove all files in the folder."); primary_text = g_strdup_printf - (_("Replace folder \"%s\"?"), dest_name); + (_("Replace folder “%s”?"), dest_name); message = g_strdup_printf - (_("A folder with the same name already exists in \"%s\"."), + (_("A folder with the same name already exists in “%s”."), dest_dir_name); } } else { primary_text = g_strdup_printf - (_("Replace file \"%s\"?"), dest_name); + (_("Replace file “%s”?"), dest_name); message_extra = _("Replacing it will overwrite its content."); if (src_mtime > dest_mtime) { message = g_strdup_printf ( - _("An older file with the same name already exists in \"%s\"."), + _("An older file with the same name already exists in “%s”."), dest_dir_name); } else if (src_mtime < dest_mtime) { message = g_strdup_printf ( - _("A newer file with the same name already exists in \"%s\"."), + _("A newer file with the same name already exists in “%s”."), dest_dir_name); } else { message = g_strdup_printf ( - _("Another file with the same name already exists in \"%s\"."), + _("Another file with the same name already exists in “%s”."), dest_dir_name); } } diff --git a/libnautilus-private/nautilus-file-operations.c b/libnautilus-private/nautilus-file-operations.c index a7f415efe..0bc5b0a60 100644 --- a/libnautilus-private/nautilus-file-operations.c +++ b/libnautilus-private/nautilus-file-operations.c @@ -1320,7 +1320,7 @@ confirm_delete_from_trash (CommonJob *job, g_assert (file_count > 0); if (file_count == 1) { - prompt = f (_("Are you sure you want to permanently delete \"%B\" " + prompt = f (_("Are you sure you want to permanently delete “%B” " "from the trash?"), files->data); } else { prompt = f (ngettext("Are you sure you want to permanently delete " @@ -1387,7 +1387,7 @@ confirm_delete_directly (CommonJob *job, } if (file_count == 1) { - prompt = f (_("Are you sure you want to permanently delete \"%B\"?"), + prompt = f (_("Are you sure you want to permanently delete “%B”?"), files->data); } else { prompt = f (ngettext("Are you sure you want to permanently delete " @@ -1524,10 +1524,10 @@ delete_dir (CommonJob *job, GFile *dir, details = NULL; if (IS_IO_ERROR (error, PERMISSION_DENIED)) { - secondary = f (_("Files in the folder \"%B\" cannot be deleted because you do " + secondary = f (_("Files in the folder “%B” cannot be deleted because you do " "not have permissions to see them."), dir); } else { - secondary = f (_("There was an error getting information about the files in the folder \"%B\"."), dir); + secondary = f (_("There was an error getting information about the files in the folder “%B”."), dir); details = error->message; } @@ -1557,10 +1557,10 @@ delete_dir (CommonJob *job, GFile *dir, primary = f (_("Error while deleting.")); details = NULL; if (IS_IO_ERROR (error, PERMISSION_DENIED)) { - secondary = f (_("The folder \"%B\" cannot be deleted because you do not have " + secondary = f (_("The folder “%B” cannot be deleted because you do not have " "permissions to read it."), dir); } else { - secondary = f (_("There was an error reading the folder \"%B\"."), dir); + secondary = f (_("There was an error reading the folder “%B”."), dir); details = error->message; } @@ -1805,7 +1805,7 @@ trash_files (CommonJob *job, GList *files, int *files_skipped) } /* Translators: %B is a file name */ - primary = f (_("\"%B\" can't be put in the trash. Do you want to delete it immediately?"), file); + primary = f (_("“%B” can't be put in the trash. Do you want to delete it immediately?"), file); details = NULL; secondary = NULL; if (!IS_IO_ERROR (error, NOT_SUPPORTED)) { @@ -2544,10 +2544,10 @@ scan_dir (GFile *dir, details = NULL; if (IS_IO_ERROR (error, PERMISSION_DENIED)) { - secondary = f (_("Files in the folder \"%B\" cannot be handled because you do " + secondary = f (_("Files in the folder “%B” cannot be handled because you do " "not have permissions to see them."), dir); } else { - secondary = f (_("There was an error getting information about the files in the folder \"%B\"."), dir); + secondary = f (_("There was an error getting information about the files in the folder “%B”."), dir); details = error->message; } @@ -2583,10 +2583,10 @@ scan_dir (GFile *dir, details = NULL; if (IS_IO_ERROR (error, PERMISSION_DENIED)) { - secondary = f (_("The folder \"%B\" cannot be handled because you do not have " + secondary = f (_("The folder “%B” cannot be handled because you do not have " "permissions to read it."), dir); } else { - secondary = f (_("There was an error reading the folder \"%B\"."), dir); + secondary = f (_("There was an error reading the folder “%B”."), dir); details = error->message; } /* set show_all to TRUE here, as we don't know how many @@ -2660,10 +2660,10 @@ scan_file (GFile *file, details = NULL; if (IS_IO_ERROR (error, PERMISSION_DENIED)) { - secondary = f (_("The file \"%B\" cannot be handled because you do not have " + secondary = f (_("The file “%B” cannot be handled because you do not have " "permissions to read it."), file); } else { - secondary = f (_("There was an error getting information about \"%B\"."), file); + secondary = f (_("There was an error getting information about “%B”."), file); details = error->message; } /* set show_all to TRUE here, as we don't know how many @@ -2764,7 +2764,7 @@ verify_destination (CommonJob *job, return; } - primary = f (_("Error while copying to \"%B\"."), dest); + primary = f (_("Error while copying to “%B”."), dest); details = NULL; if (IS_IO_ERROR (error, PERMISSION_DENIED)) { @@ -2806,7 +2806,7 @@ verify_destination (CommonJob *job, g_object_unref (info); if (file_type != G_FILE_TYPE_DIRECTORY) { - primary = f (_("Error while copying to \"%B\"."), dest); + primary = f (_("Error while copying to “%B”."), dest); secondary = f (_("The destination is not a folder.")); run_error (job, @@ -2840,7 +2840,7 @@ verify_destination (CommonJob *job, if (free_size < required_size) { size_difference = required_size - free_size; - primary = f (_("Error while copying to \"%B\"."), dest); + primary = f (_("Error while copying to “%B”."), dest); secondary = f (_("There is not enough space on the destination. Try to remove files to make space.")); details = f (_("%S more space is required to copy to the destination."), size_difference); @@ -2870,7 +2870,7 @@ verify_destination (CommonJob *job, if (!job_aborted (job) && g_file_info_get_attribute_boolean (fsinfo, G_FILE_ATTRIBUTE_FILESYSTEM_READONLY)) { - primary = f (_("Error while copying to \"%B\"."), dest); + primary = f (_("Error while copying to “%B”."), dest); secondary = f (_("The destination is read-only.")); run_error (job, @@ -2930,15 +2930,15 @@ report_copy_progress (CopyMoveJob *copy_job, if (copy_job->destination != NULL) { nautilus_progress_info_take_status (job->progress, f (is_move ? - _("Moving \"%B\" to \"%B\""): - _("Copying \"%B\" to \"%B\""), + _("Moving “%B” to “%B”"): + _("Copying “%B” to “%B”"), copy_job->fake_display_source != NULL ? copy_job->fake_display_source : (GFile *)copy_job->files->data, copy_job->destination)); } else { nautilus_progress_info_take_status (job->progress, - f (_("Duplicating \"%B\""), + f (_("Duplicating “%B”"), (GFile *)copy_job->files->data)); } } else if (copy_job->files != NULL && @@ -2946,16 +2946,16 @@ report_copy_progress (CopyMoveJob *copy_job, if (copy_job->destination != NULL) { nautilus_progress_info_take_status (job->progress, f (is_move ? - _("Moving file %'d of %'d (in \"%B\") to \"%B\"") + _("Moving file %'d of %'d (in “%B”) to “%B”") : - _("Copying file %'d of %'d (in \"%B\") to \"%B\""), + _("Copying file %'d of %'d (in “%B”) to “%B”"), transfer_info->num_files + 1, source_info->num_files, (GFile *)copy_job->files->data, copy_job->destination)); } else { nautilus_progress_info_take_status (job->progress, - f (_("Duplicating file %'d of %'d (in \"%B\")"), + f (_("Duplicating file %'d of %'d (in “%B”)"), transfer_info->num_files + 1, source_info->num_files, (GFile *)copy_job->files->data)); @@ -2964,9 +2964,9 @@ report_copy_progress (CopyMoveJob *copy_job, if (copy_job->destination != NULL) { nautilus_progress_info_take_status (job->progress, f (is_move ? - _("Moving file %'d of %'d to \"%B\"") + _("Moving file %'d of %'d to “%B”") : - _ ("Copying file %'d of %'d to \"%B\""), + _ ("Copying file %'d of %'d to “%B”"), transfer_info->num_files + 1, source_info->num_files, copy_job->destination)); @@ -3399,10 +3399,10 @@ create_dest_dir (CommonJob *job, details = NULL; if (IS_IO_ERROR (error, PERMISSION_DENIED)) { - secondary = f (_("The folder \"%B\" cannot be copied because you do not have " + secondary = f (_("The folder “%B” cannot be copied because you do not have " "permissions to create it in the destination."), src); } else { - secondary = f (_("There was an error creating the folder \"%B\"."), src); + secondary = f (_("There was an error creating the folder “%B”."), src); details = error->message; } @@ -3532,10 +3532,10 @@ copy_move_directory (CopyMoveJob *copy_job, details = NULL; if (IS_IO_ERROR (error, PERMISSION_DENIED)) { - secondary = f (_("Files in the folder \"%B\" cannot be copied because you do " + secondary = f (_("Files in the folder “%B” cannot be copied because you do " "not have permissions to see them."), src); } else { - secondary = f (_("There was an error getting information about the files in the folder \"%B\"."), src); + secondary = f (_("There was an error getting information about the files in the folder “%B”."), src); details = error->message; } @@ -3577,10 +3577,10 @@ copy_move_directory (CopyMoveJob *copy_job, details = NULL; if (IS_IO_ERROR (error, PERMISSION_DENIED)) { - secondary = f (_("The folder \"%B\" cannot be copied because you do not have " + secondary = f (_("The folder “%B” cannot be copied because you do not have " "permissions to read it."), src); } else { - secondary = f (_("There was an error reading the folder \"%B\"."), src); + secondary = f (_("There was an error reading the folder “%B”."), src); details = error->message; } @@ -3622,7 +3622,7 @@ copy_move_directory (CopyMoveJob *copy_job, if (job->skip_all_error) { goto skip; } - primary = f (_("Error while moving \"%B\"."), src); + primary = f (_("Error while moving “%B”."), src); secondary = f (_("Could not remove the source folder.")); details = error->message; @@ -3708,7 +3708,7 @@ remove_target_recursively (CommonJob *job, goto skip1; } - primary = f (_("Error while copying \"%B\"."), src); + primary = f (_("Error while copying “%B”."), src); secondary = f (_("Could not remove files from the already existing folder %F."), file); details = error->message; @@ -3749,7 +3749,7 @@ remove_target_recursively (CommonJob *job, IS_IO_ERROR (error, CANCELLED)) { goto skip2; } - primary = f (_("Error while copying \"%B\"."), src); + primary = f (_("Error while copying “%B”."), src); secondary = f (_("Could not remove the already existing file %F."), file); details = error->message; @@ -4313,9 +4313,9 @@ copy_move_file (CopyMoveJob *copy_job, goto out; } if (copy_job->is_move) { - primary = f (_("Error while moving \"%B\"."), src); + primary = f (_("Error while moving “%B”."), src); } else { - primary = f (_("Error while copying \"%B\"."), src); + primary = f (_("Error while copying “%B”."), src); } secondary = f (_("Could not remove the already existing file with the same name in %F."), dest_dir); details = error->message; @@ -4386,7 +4386,7 @@ copy_move_file (CopyMoveJob *copy_job, g_error_free (error); goto out; } - primary = f (_("Error while copying \"%B\"."), src); + primary = f (_("Error while copying “%B”."), src); secondary = f (_("There was an error copying the file into %F."), dest_dir); details = error->message; @@ -4681,7 +4681,7 @@ report_move_progress (CopyMoveJob *move_job, int total, int left) job = (CommonJob *)move_job; nautilus_progress_info_take_status (job->progress, - f (_("Preparing to Move to \"%B\""), + f (_("Preparing to Move to “%B”"), move_job->destination)); nautilus_progress_info_take_details (job->progress, @@ -4925,7 +4925,7 @@ move_file_prepare (CopyMoveJob *move_job, if (job->skip_all_error) { goto out; } - primary = f (_("Error while moving \"%B\"."), src); + primary = f (_("Error while moving “%B”."), src); secondary = f (_("There was an error moving the file into %F."), dest_dir); details = error->message; @@ -5223,7 +5223,7 @@ report_link_progress (CopyMoveJob *link_job, int total, int left) job = (CommonJob *)link_job; nautilus_progress_info_take_status (job->progress, - f (_("Creating links in \"%B\""), + f (_("Creating links in “%B”"), link_job->destination)); nautilus_progress_info_take_details (job->progress, diff --git a/libnautilus-private/nautilus-file-utilities.c b/libnautilus-private/nautilus-file-utilities.c index db7c1fbb0..098f0e28e 100644 --- a/libnautilus-private/nautilus-file-utilities.c +++ b/libnautilus-private/nautilus-file-utilities.c @@ -879,7 +879,7 @@ nautilus_restore_files_from_trash (GList *files, for (l = unhandled_files; l != NULL; l = l->next) { file = NAUTILUS_FILE (l->data); file_name = nautilus_file_get_display_name (file); - message = g_strdup_printf (_("Could not determine original location of \"%s\" "), file_name); + message = g_strdup_printf (_("Could not determine original location of “%s” "), file_name); g_free (file_name); eel_show_warning_dialog (message, diff --git a/libnautilus-private/nautilus-mime-application-chooser.c b/libnautilus-private/nautilus-mime-application-chooser.c index 4c45859b9..0444c06f0 100644 --- a/libnautilus-private/nautilus-mime-application-chooser.c +++ b/libnautilus-private/nautilus-mime-application-chooser.c @@ -80,7 +80,7 @@ add_clicked_cb (GtkButton *button, g_app_info_set_as_last_used_for_type (info, chooser->details->content_type, &error); if (error != NULL) { - message = g_strdup_printf (_("Error while adding \"%s\": %s"), + message = g_strdup_printf (_("Error while adding “%s”: %s"), g_app_info_get_display_name (info), error->message); eel_show_error_dialog (_("Could not add application"), message, @@ -172,7 +172,7 @@ set_as_default_clicked_cb (GtkButton *button, &error); if (error != NULL) { - message = g_strdup_printf (_("Error while setting \"%s\" as default application: %s"), + message = g_strdup_printf (_("Error while setting “%s” as default application: %s"), g_app_info_get_display_name (info), error->message); eel_show_error_dialog (_("Could not set as default"), message, @@ -281,7 +281,7 @@ nautilus_mime_application_chooser_apply_labels (NautilusMimeApplicationChooser * description = g_content_type_get_description (chooser->details->content_type); } - label = g_strdup_printf (_("Open all files of type \"%s\" with"), + label = g_strdup_printf (_("Open all files of type “%s” with"), description); } else { GFile *file; @@ -301,7 +301,7 @@ nautilus_mime_application_chooser_apply_labels (NautilusMimeApplicationChooser * /* first %s is filename, second %s is mime-type description */ emname = g_strdup_printf ("<i>%s</i>", basename); - label = g_strdup_printf (_("Select an application to open %s and other files of type \"%s\""), + label = g_strdup_printf (_("Select an application to open %s and other files of type “%s”"), emname, description); g_free (emname); diff --git a/libnautilus-private/nautilus-query.c b/libnautilus-private/nautilus-query.c index 76c4e50d9..e83cdfa7a 100644 --- a/libnautilus-private/nautilus-query.c +++ b/libnautilus-private/nautilus-query.c @@ -129,7 +129,7 @@ nautilus_query_to_readable_string (NautilusQuery *query) return g_strdup (_("Search")); } - return g_strdup_printf (_("Search for \"%s\""), query->details->text); + return g_strdup_printf (_("Search for “%s”"), query->details->text); } static char * diff --git a/nautilus-sendto-extension/nautilus-nste.c b/nautilus-sendto-extension/nautilus-nste.c index beedd7324..3d0b88cda 100644 --- a/nautilus-sendto-extension/nautilus-nste.c +++ b/nautilus-sendto-extension/nautilus-nste.c @@ -47,7 +47,7 @@ sendto_callback (NautilusMenuItem *item, NautilusFileInfo *file = scan->data; uri = nautilus_file_info_get_uri (file); - g_string_append_printf (cmd, " \"%s\"", uri); + g_string_append_printf (cmd, " “%s”", uri); g_free (uri); } diff --git a/src/nautilus-autorun-software.c b/src/nautilus-autorun-software.c index 2909457e8..279406287 100644 --- a/src/nautilus-autorun-software.c +++ b/src/nautilus-autorun-software.c @@ -196,7 +196,7 @@ present_autorun_for_software_dialog (GMount *mount) GTK_BUTTONS_CANCEL, _("<big><b>This medium contains software intended to be automatically started. Would you like to run it?</b></big>")); gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), - _("The software will run directly from the medium \"%s\". " + _("The software will run directly from the medium “%s”. " "You should never run software that you don't trust.\n" "\n" "If in doubt, press Cancel."), diff --git a/src/nautilus-connect-server-dialog.c b/src/nautilus-connect-server-dialog.c index ea39cb1e4..dcbc55315 100644 --- a/src/nautilus-connect-server-dialog.c +++ b/src/nautilus-connect-server-dialog.c @@ -288,7 +288,7 @@ connect_dialog_set_info_bar_error (NautilusConnectServerDialog *dialog, case G_IO_ERROR_NOT_FOUND: folder = gtk_entry_get_text (GTK_ENTRY (dialog->details->folder_entry)); server = gtk_entry_get_text (GTK_ENTRY (dialog->details->server_entry)); - str = g_strdup_printf (_("The folder \"%s\" cannot be opened on \"%s\"."), + str = g_strdup_printf (_("The folder “%s” cannot be opened on “%s”."), folder, server); label = gtk_label_new (str); entry = dialog->details->folder_entry; @@ -298,7 +298,7 @@ connect_dialog_set_info_bar_error (NautilusConnectServerDialog *dialog, break; case G_IO_ERROR_HOST_NOT_FOUND: server = gtk_entry_get_text (GTK_ENTRY (dialog->details->server_entry)); - str = g_strdup_printf (_("The server at \"%s\" cannot be found."), server); + str = g_strdup_printf (_("The server at “%s” cannot be found."), server); label = gtk_label_new (str); entry = dialog->details->server_entry; diff --git a/src/nautilus-error-reporting.c b/src/nautilus-error-reporting.c index a39b989f8..d0f2d7ecb 100644 --- a/src/nautilus-error-reporting.c +++ b/src/nautilus-error-reporting.c @@ -65,15 +65,15 @@ nautilus_report_error_loading_directory (NautilusFile *file, if (error->domain == G_IO_ERROR) { switch (error->code) { case G_IO_ERROR_PERMISSION_DENIED: - message = g_strdup_printf (_("You do not have the permissions necessary to view the contents of \"%s\"."), + message = g_strdup_printf (_("You do not have the permissions necessary to view the contents of “%s”."), file_name); break; case G_IO_ERROR_NOT_FOUND: - message = g_strdup_printf (_("\"%s\" could not be found. Perhaps it has recently been deleted."), + message = g_strdup_printf (_("“%s” could not be found. Perhaps it has recently been deleted."), file_name); break; default: - message = g_strdup_printf (_("Sorry, could not display all the contents of \"%s\": %s"), file_name, + message = g_strdup_printf (_("Sorry, could not display all the contents of “%s”: %s"), file_name, error->message); } } else { @@ -104,7 +104,7 @@ nautilus_report_error_setting_group (NautilusFile *file, if (error->domain == G_IO_ERROR) { switch (error->code) { case G_IO_ERROR_PERMISSION_DENIED: - message = g_strdup_printf (_("You do not have the permissions necessary to change the group of \"%s\"."), + message = g_strdup_printf (_("You do not have the permissions necessary to change the group of “%s”."), file_name); break; default: @@ -117,7 +117,7 @@ nautilus_report_error_setting_group (NautilusFile *file, g_warning ("Hit unhandled case %s:%d in nautilus_report_error_setting_group", g_quark_to_string (error->domain), error->code); /* fall through */ - message = g_strdup_printf (_("Sorry, could not change the group of \"%s\": %s"), file_name, + message = g_strdup_printf (_("Sorry, could not change the group of “%s”: %s"), file_name, error->message); } @@ -142,7 +142,7 @@ nautilus_report_error_setting_owner (NautilusFile *file, file_name = nautilus_file_get_display_name (file); - message = g_strdup_printf (_("Sorry, could not change the owner of \"%s\": %s"), file_name, error->message); + message = g_strdup_printf (_("Sorry, could not change the owner of “%s”: %s"), file_name, error->message); eel_show_error_dialog (_("The owner could not be changed."), message, parent_window); @@ -164,7 +164,7 @@ nautilus_report_error_setting_permissions (NautilusFile *file, file_name = nautilus_file_get_display_name (file); - message = g_strdup_printf (_("Sorry, could not change the permissions of \"%s\": %s"), file_name, error->message); + message = g_strdup_printf (_("Sorry, could not change the permissions of “%s”: %s"), file_name, error->message); eel_show_error_dialog (_("The permissions could not be changed."), message, parent_window); @@ -201,32 +201,32 @@ nautilus_report_error_renaming_file (NautilusFile *file, if (error->domain == G_IO_ERROR) { switch (error->code) { case G_IO_ERROR_EXISTS: - message = g_strdup_printf (_("The name \"%s\" is already used in this location. " + message = g_strdup_printf (_("The name “%s” is already used in this location. " "Please use a different name."), new_name_truncated); break; case G_IO_ERROR_NOT_FOUND: - message = g_strdup_printf (_("There is no \"%s\" in this location. " + message = g_strdup_printf (_("There is no “%s” in this location. " "Perhaps it was just moved or deleted?"), original_name_truncated); break; case G_IO_ERROR_PERMISSION_DENIED: - message = g_strdup_printf (_("You do not have the permissions necessary to rename \"%s\"."), + message = g_strdup_printf (_("You do not have the permissions necessary to rename “%s”."), original_name_truncated); break; case G_IO_ERROR_INVALID_FILENAME: if (strchr (new_name, '/') != NULL) { - message = g_strdup_printf (_("The name \"%s\" is not valid because it contains the character \"/\". " + message = g_strdup_printf (_("The name “%s” is not valid because it contains the character “/”. " "Please use a different name."), new_name_truncated); } else { - message = g_strdup_printf (_("The name \"%s\" is not valid. " + message = g_strdup_printf (_("The name “%s” is not valid. " "Please use a different name."), new_name_truncated); } break; case G_IO_ERROR_FILENAME_TOO_LONG: - message = g_strdup_printf (_("The name \"%s\" is too long. " + message = g_strdup_printf (_("The name “%s” is too long. " "Please use a different name."), new_name_truncated); break; @@ -240,7 +240,7 @@ nautilus_report_error_renaming_file (NautilusFile *file, g_warning ("Hit unhandled case %s:%d in nautilus_report_error_renaming_file", g_quark_to_string (error->domain), error->code); /* fall through */ - message = g_strdup_printf (_("Sorry, could not rename \"%s\" to \"%s\": %s"), + message = g_strdup_printf (_("Sorry, could not rename “%s” to “%s”: %s"), original_name_truncated, new_name_truncated, error->message); } @@ -345,7 +345,7 @@ nautilus_rename_file (NautilusFile *file, /* Start the timed wait to cancel the rename. */ old_name = nautilus_file_get_display_name (file); - wait_message = g_strdup_printf (_("Renaming \"%s\" to \"%s\"."), + wait_message = g_strdup_printf (_("Renaming “%s” to “%s”."), old_name, new_name); g_free (old_name); diff --git a/src/nautilus-mime-actions.c b/src/nautilus-mime-actions.c index 86d2befad..2bfb4c283 100644 --- a/src/nautilus-mime-actions.c +++ b/src/nautilus-mime-actions.c @@ -623,9 +623,9 @@ report_broken_symbolic_link (GtkWindow *parent_window, NautilusFile *file) display_name = nautilus_file_get_display_name (file); if (nautilus_file_is_in_trash (file)) { - prompt = g_strdup_printf (_("The Link \"%s\" is Broken."), display_name); + prompt = g_strdup_printf (_("The Link “%s” is Broken."), display_name); } else { - prompt = g_strdup_printf (_("The Link \"%s\" is Broken. Move it to Trash?"), display_name); + prompt = g_strdup_printf (_("The Link “%s” is Broken. Move it to Trash?"), display_name); } g_free (display_name); @@ -634,7 +634,7 @@ report_broken_symbolic_link (GtkWindow *parent_window, NautilusFile *file) detail = g_strdup (_("This link cannot be used, because it has no target.")); } else { detail = g_strdup_printf (_("This link cannot be used, because its target " - "\"%s\" doesn't exist."), target_path); + "“%s” doesn't exist."), target_path); } if (nautilus_file_is_in_trash (file)) { @@ -703,9 +703,9 @@ get_executable_text_file_action (GtkWindow *parent_window, NautilusFile *file) file_name = nautilus_file_get_display_name (file); - prompt = g_strdup_printf (_("Do you want to run \"%s\", or display its contents?"), + prompt = g_strdup_printf (_("Do you want to run “%s”, or display its contents?"), file_name); - detail = g_strdup_printf (_("\"%s\" is an executable text file."), + detail = g_strdup_printf (_("“%s” is an executable text file."), file_name); g_free (file_name); @@ -1105,7 +1105,7 @@ get_application_no_mime_type_handler_message (NautilusFile *file, char *uri) * white space then the text-wrapping code is too stupid to wrap it. */ uri_for_display = eel_str_middle_truncate (name, MAX_URI_IN_DIALOG_LENGTH); - error_message = g_strdup_printf (_("Could not display \"%s\"."), uri_for_display); + error_message = g_strdup_printf (_("Could not display “%s”."), uri_for_display); g_free (uri_for_display); g_free (name); @@ -1532,7 +1532,7 @@ activate_desktop_file (ActivateParameters *parameters, primary = _("Untrusted application launcher"); display_name = nautilus_file_get_display_name (file); secondary = - g_strdup_printf (_("The application launcher \"%s\" has not been marked as trusted. " + g_strdup_printf (_("The application launcher “%s” has not been marked as trusted. " "If you do not know the source of this file, launching it may be unsafe." ), display_name); @@ -2288,7 +2288,7 @@ nautilus_mime_activate_files (GtkWindow *parent_window, file_count = g_list_length (files); if (file_count == 1) { file_name = nautilus_file_get_display_name (files->data); - parameters->timed_wait_prompt = g_strdup_printf (_("Opening \"%s\"."), file_name); + parameters->timed_wait_prompt = g_strdup_printf (_("Opening “%s”."), file_name); g_free (file_name); } else { parameters->timed_wait_prompt = g_strdup_printf (ngettext ("Opening %d item.", diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c index 3f5b39b74..70d09c33b 100644 --- a/src/nautilus-properties-window.c +++ b/src/nautilus-properties-window.c @@ -4526,7 +4526,7 @@ create_permissions_page (NautilusPropertiesWindow *window) } else { if (!is_multi_file_window (window)) { file_name = nautilus_file_get_display_name (get_target_file (window)); - prompt_text = g_strdup_printf (_("The permissions of \"%s\" could not be determined."), file_name); + prompt_text = g_strdup_printf (_("The permissions of “%s” could not be determined."), file_name); g_free (file_name); } else { prompt_text = g_strdup (_("The permissions of the selected file could not be determined.")); diff --git a/src/nautilus-view.c b/src/nautilus-view.c index 77c0b0b53..81ca9583e 100644 --- a/src/nautilus-view.c +++ b/src/nautilus-view.c @@ -2919,7 +2919,7 @@ nautilus_view_display_selection_info (NautilusView *view) if (folder_count != 0) { if (folder_count == 1 && non_folder_count == 0) { - folder_count_str = g_strdup_printf (_("\"%s\" selected"), first_item_name); + folder_count_str = g_strdup_printf (_("“%s” selected"), first_item_name); } else { folder_count_str = g_strdup_printf (ngettext("%'d folder selected", "%'d folders selected", @@ -2956,7 +2956,7 @@ nautilus_view_display_selection_info (NautilusView *view) if (folder_count == 0) { if (non_folder_count == 1) { - items_string = g_strdup_printf (_("\"%s\" selected"), + items_string = g_strdup_printf (_("“%s” selected"), first_item_name); } else { items_string = g_strdup_printf (ngettext("%'d item selected", @@ -4481,8 +4481,8 @@ add_application_to_open_with_menu (NautilusView *view, else label = g_strdup_printf (_("Open With %s"), escaped_app); - tip = g_strdup_printf (ngettext ("Use \"%s\" to open the selected item", - "Use \"%s\" to open the selected items", + tip = g_strdup_printf (ngettext ("Use “%s” to open the selected item", + "Use “%s” to open the selected items", g_list_length (files)), escaped_app); g_free (escaped_app); @@ -5195,7 +5195,7 @@ run_script_callback (GtkAction *action, gpointer callback_data) screen = gtk_widget_get_screen (GTK_WIDGET (launch_parameters->directory_view)); - DEBUG ("run_script_callback, script_path=\"%s\" (omitting script parameters)", + DEBUG ("run_script_callback, script_path=“%s” (omitting script parameters)", local_file_path); nautilus_launch_application_from_command_array (screen, quoted_path, FALSE, @@ -5228,7 +5228,7 @@ add_script_to_scripts_menus (NautilusView *directory_view, name = nautilus_file_get_display_name (file); uri = nautilus_file_get_uri (file); - tip = g_strdup_printf (_("Run \"%s\" on any selected items"), name); + tip = g_strdup_printf (_("Run “%s” on any selected items"), name); launch_parameters = script_launch_parameters_new (file, directory_view); @@ -5479,7 +5479,7 @@ add_template_to_templates_menus (NautilusView *directory_view, g_free (tmp); uri = nautilus_file_get_uri (file); - tip = g_strdup_printf (_("Create a new document from template \"%s\""), name); + tip = g_strdup_printf (_("Create a new document from template “%s”"), name); action_name = nautilus_escape_action_name (uri, "template_"); escaped_label = eel_str_double_underscores (name); @@ -6158,11 +6158,11 @@ copy_or_cut_files (NautilusView *view, if (count == 1) { name = nautilus_file_get_display_name (clipboard_contents->data); if (cut) { - status_string = g_strdup_printf (_("\"%s\" will be moved " + status_string = g_strdup_printf (_("“%s” will be moved " "if you select the Paste command"), name); } else { - status_string = g_strdup_printf (_("\"%s\" will be copied " + status_string = g_strdup_printf (_("“%s” will be copied " "if you select the Paste command"), name); } @@ -7986,11 +7986,11 @@ update_restore_from_trash_action (GtkAction *action, if (is_self) { g_assert (g_list_length (files) == 1); g_assert (original_location != NULL); - tooltip = g_strdup_printf (_("Move the open folder out of the trash to \"%s\""), original_name); + tooltip = g_strdup_printf (_("Move the open folder out of the trash to “%s”"), original_name); } else if (files_are_all_directories (files)) { if (original_name != NULL) { - tooltip = g_strdup_printf (ngettext ("Move the selected folder out of the trash to \"%s\"", - "Move the selected folders out of the trash to \"%s\"", + tooltip = g_strdup_printf (ngettext ("Move the selected folder out of the trash to “%s”", + "Move the selected folders out of the trash to “%s”", g_list_length (files)), original_name); } else { tooltip = g_strdup_printf (ngettext ("Move the selected folder out of the trash", @@ -7999,8 +7999,8 @@ update_restore_from_trash_action (GtkAction *action, } } else if (files_is_none_directory (files)) { if (original_name != NULL) { - tooltip = g_strdup_printf (ngettext ("Move the selected file out of the trash to \"%s\"", - "Move the selected files out of the trash to \"%s\"", + tooltip = g_strdup_printf (ngettext ("Move the selected file out of the trash to “%s”", + "Move the selected files out of the trash to “%s”", g_list_length (files)), original_name); } else { tooltip = g_strdup_printf (ngettext ("Move the selected file out of the trash", @@ -8009,8 +8009,8 @@ update_restore_from_trash_action (GtkAction *action, } } else { if (original_name != NULL) { - tooltip = g_strdup_printf (ngettext ("Move the selected item out of the trash to \"%s\"", - "Move the selected items out of the trash to \"%s\"", + tooltip = g_strdup_printf (ngettext ("Move the selected item out of the trash to “%s”", + "Move the selected items out of the trash to “%s”", g_list_length (files)), original_name); } else { tooltip = g_strdup_printf (ngettext ("Move the selected item out of the trash", diff --git a/src/nautilus-window-manage-views.c b/src/nautilus-window-manage-views.c index 249a60053..c54134fff 100644 --- a/src/nautilus-window-manage-views.c +++ b/src/nautilus-window-manage-views.c @@ -1653,7 +1653,7 @@ display_view_selection_failure (NautilusWindow *window, NautilusFile *file, case G_IO_ERROR_NOT_SUPPORTED: scheme_string = g_file_get_uri_scheme (location); if (scheme_string != NULL) { - detail_message = g_strdup_printf (_("\"%s\" locations are not supported."), + detail_message = g_strdup_printf (_("“%s” locations are not supported."), scheme_string); } else { detail_message = g_strdup (_("Unable to handle this kind of location.")); diff --git a/src/nautilus-x-content-bar.c b/src/nautilus-x-content-bar.c index 71efe006b..463ffc5d0 100644 --- a/src/nautilus-x-content-bar.c +++ b/src/nautilus-x-content-bar.c @@ -111,7 +111,7 @@ get_message_for_x_content_type (const char *x_content_type) message = g_strdup (_("Contains software")); } else { /* fallback to generic greeting */ - message = g_strdup_printf (_("Detected as \"%s\""), description); + message = g_strdup_printf (_("Detected as “%s”"), description); } g_free (description); |