Commit 6b3dd822 authored by William Jon McCann's avatar William Jon McCann

Use double quotes instead of ascii quotes

https://bugzilla.gnome.org/show_bug.cgi?id=681808
parent 99617ee9
......@@ -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);
}
......
......@@ -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);
}
}
......
......@@ -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,
......
......@@ -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,
......
......@@ -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);
......
......@@ -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 *
......
......@@ -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);
}
......
......@@ -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."),
......
......@@ -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;
......
......@@ -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);
......
......@@ -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."
),
<