summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWilliam Jon McCann <jmccann@redhat.com>2012-08-14 00:32:56 -0400
committerWilliam Jon McCann <jmccann@redhat.com>2012-08-14 10:47:11 -0400
commit6b3dd822dc73b8966a4fbf5e23165cbd109afde9 (patch)
treed391293d5a627b58f46976e7139f49428a9f537f /src
parent99617ee9747bba2e860f73a28646e29c577ff138 (diff)
downloadnautilus-6b3dd822dc73b8966a4fbf5e23165cbd109afde9.tar.gz
Use double quotes instead of ascii quotes
https://bugzilla.gnome.org/show_bug.cgi?id=681808
Diffstat (limited to 'src')
-rw-r--r--src/nautilus-autorun-software.c2
-rw-r--r--src/nautilus-connect-server-dialog.c4
-rw-r--r--src/nautilus-error-reporting.c30
-rw-r--r--src/nautilus-mime-actions.c16
-rw-r--r--src/nautilus-properties-window.c2
-rw-r--r--src/nautilus-view.c32
-rw-r--r--src/nautilus-window-manage-views.c2
-rw-r--r--src/nautilus-x-content-bar.c2
8 files changed, 45 insertions, 45 deletions
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);