[file-roller] Use Unicode in translatable strings



commit a4b806fffe8824c8eb5fb18ee404d879902529ec
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Sun Nov 6 16:23:25 2016 +0100

    Use Unicode in translatable strings
    
    See https://developer.gnome.org/hig/stable/typography.html
    
    https://bugzilla.gnome.org/show_bug.cgi?id=774008

 data/org.gnome.FileRoller.gschema.xml |    4 +-
 nautilus/nautilus-fileroller.c        |    2 +-
 src/dlg-add.c                         |    2 +-
 src/dlg-ask-password.c                |    2 +-
 src/dlg-extract.c                     |    4 +-
 src/dlg-password.c                    |    2 +-
 src/dlg-update.c                      |   12 +++---
 src/fr-application.c                  |    4 +-
 src/fr-archive.c                      |    4 +-
 src/fr-command-7z.c                   |    4 +-
 src/fr-command-rar.c                  |    6 ++--
 src/fr-command-tar.c                  |    6 ++--
 src/fr-new-archive-dialog.c           |    8 ++--
 src/fr-window.c                       |   56 ++++++++++++++++----------------
 14 files changed, 58 insertions(+), 58 deletions(-)
---
diff --git a/data/org.gnome.FileRoller.gschema.xml b/data/org.gnome.FileRoller.gschema.xml
index 5e74ca6..385d1bd 100644
--- a/data/org.gnome.FileRoller.gschema.xml
+++ b/data/org.gnome.FileRoller.gschema.xml
@@ -66,7 +66,7 @@
     <key name="list-mode" enum="org.gnome.FileRoller.ListMode">
       <default>'as-folder'</default>
       <summary>List Mode</summary>
-      <description>Use 'all-files' to view all the files in the archive in a single list, use 'as-folder' to 
navigate the archive as a folder.</description>
+      <description>Use “all-files” to view all the files in the archive in a single list, use “as-folder” to 
navigate the archive as a folder.</description>
     </key>
     <key name="show-type" type="b">
       <default>true</default>
@@ -128,7 +128,7 @@
     <key name="editors" type="as">
       <default>[]</default>
       <summary>Editors</summary>
-      <description>List of applications entered in the 'Open File' dialog and not associated with the file 
type.</description>
+      <description>List of applications entered in the “Open File” dialog and not associated with the file 
type.</description>
     </key>
     <key name="compression-level" enum="org.gnome.FileRoller.CompressionLevel">
       <default>'normal'</default>
diff --git a/nautilus/nautilus-fileroller.c b/nautilus/nautilus-fileroller.c
index 4b045fc..244f150 100644
--- a/nautilus/nautilus-fileroller.c
+++ b/nautilus/nautilus-fileroller.c
@@ -276,7 +276,7 @@ nautilus_fr_get_file_items (NautilusMenuProvider *provider,
                NautilusMenuItem *item;
 
                item = nautilus_menu_item_new ("NautilusFr::extract_to",
-                                              g_dgettext ("file-roller", "Extract To..."),
+                                              g_dgettext ("file-roller", "Extract To…"),
                                               g_dgettext ("file-roller", "Extract the selected archive"),
                                               "drive-harddisk");
                g_signal_connect (item,
diff --git a/src/dlg-add.c b/src/dlg-add.c
index 37130f0..53799e9 100644
--- a/src/dlg-add.c
+++ b/src/dlg-add.c
@@ -112,7 +112,7 @@ file_selector_response_cb (GtkWidget    *widget,
                                           GTK_DIALOG_MODAL,
                                           NULL,
                                           _("Could not add the files to the archive"),
-                                          _("You don't have the right permissions to read files from folder 
\"%s\""),
+                                          _("You don’t have the right permissions to read files from folder 
“%s”"),
                                           utf8_path);
                gtk_dialog_run (GTK_DIALOG (d));
                gtk_widget_destroy (GTK_WIDGET (d));
diff --git a/src/dlg-ask-password.c b/src/dlg-ask-password.c
index d2e1ff2..76af55e 100644
--- a/src/dlg-ask-password.c
+++ b/src/dlg-ask-password.c
@@ -145,7 +145,7 @@ dlg_ask_password__common (FrWindow       *window,
 
        filename = _g_file_get_display_basename (file);
        /* Translators: %s is a filename */
-       message = g_strdup_printf (_("Password required for \"%s\""), filename);
+       message = g_strdup_printf (_("Password required for “%s”"), filename);
        gtk_label_set_label (GTK_LABEL (GET_WIDGET ("title_label")), message);
 
        _gtk_entry_use_as_password_entry (GTK_ENTRY (data->password_entry));
diff --git a/src/dlg-extract.c b/src/dlg-extract.c
index 361417d..21227a5 100644
--- a/src/dlg-extract.c
+++ b/src/dlg-extract.c
@@ -92,7 +92,7 @@ extract_cb (GtkWidget   *w,
                        char      *msg;
 
                        folder_name = _g_file_get_display_basename (destination);
-                       msg = g_strdup_printf (_("Destination folder \"%s\" does not exist.\n\nDo you want to 
create it?"), folder_name);
+                       msg = g_strdup_printf (_("Destination folder “%s” does not exist.\n\nDo you want to 
create it?"), folder_name);
                        g_free (folder_name);
 
                        d = _gtk_message_dialog_new (GTK_WINDOW (data->dialog),
@@ -164,7 +164,7 @@ extract_cb (GtkWidget   *w,
                                           GTK_DIALOG_DESTROY_WITH_PARENT,
                                           NULL,
                                           _("Extraction not performed"),
-                                          _("You don't have the right permissions to extract archives in the 
folder \"%s\""),
+                                          _("You don’t have the right permissions to extract archives in the 
folder “%s”"),
                                           utf8_path);
                gtk_dialog_run (GTK_DIALOG (d));
                gtk_widget_destroy (GTK_WIDGET (d));
diff --git a/src/dlg-password.c b/src/dlg-password.c
index 81d10f5..46f357f 100644
--- a/src/dlg-password.c
+++ b/src/dlg-password.c
@@ -106,7 +106,7 @@ dlg_password (GtkWidget *widget,
                                     GTK_STYLE_CLASS_SUGGESTED_ACTION);
 
        basename = _g_file_get_display_basename (fr_archive_get_file (window->archive));
-       title = g_strdup_printf (_("Enter a password for \"%s\""), basename);
+       title = g_strdup_printf (_("Enter a password for “%s”"), basename);
        gtk_label_set_text (GTK_LABEL (GET_WIDGET ("title_label")), title);
 
        g_free (title);
diff --git a/src/dlg-update.c b/src/dlg-update.c
index 7a5ef75..c1f5ad1 100644
--- a/src/dlg-update.c
+++ b/src/dlg-update.c
@@ -159,7 +159,7 @@ update_file_list (DialogData *data)
 
                file_name = _g_file_get_display_basename (file->extracted_file);
                archive_name = _g_file_get_display_basename (fr_window_get_archive_file (data->window));
-               label = g_markup_printf_escaped (_("Update the file \"%s\" in the archive \"%s\"?"), 
file_name, archive_name);
+               label = g_markup_printf_escaped (_("Update the file “%s” in the archive “%s”?"), file_name, 
archive_name);
                markup = g_strdup_printf ("<big><b>%s</b></big>", label);
                /*gtk_label_set_markup (GTK_LABEL (data->update_file_primary_text_label), markup);*/
                g_object_set (data->update_file_dialog , "text", markup, "use-markup", TRUE, NULL);
@@ -171,8 +171,8 @@ update_file_list (DialogData *data)
 
                /* secondary text */
 
-               label = g_strdup_printf (ngettext ("The file has been modified with an external application. 
If you don't update the file in the archive, all of your changes will be lost.",
-                                                  "%d files have been modified with an external application. 
If you don't update the files in the archive, all of your changes will be lost.",
+               label = g_strdup_printf (ngettext ("The file has been modified with an external application. 
If you don’t update the file in the archive, all of your changes will be lost.",
+                                                  "%d files have been modified with an external application. 
If you don’t update the files in the archive, all of your changes will be lost.",
                                                   n_files),
                                         n_files);
                /*gtk_label_set_text (GTK_LABEL (data->update_file_secondary_text_label), label);*/
@@ -187,7 +187,7 @@ update_file_list (DialogData *data)
                /* primary text */
 
                archive_name = _g_file_get_display_basename (fr_window_get_archive_file (data->window));
-               label = g_markup_printf_escaped (_("Update the files in the archive \"%s\"?"), archive_name);
+               label = g_markup_printf_escaped (_("Update the files in the archive “%s”?"), archive_name);
                markup = g_strdup_printf ("<big><b>%s</b></big>", label);
                gtk_label_set_markup (GTK_LABEL (data->update_files_primary_text_label), markup);
 
@@ -197,8 +197,8 @@ update_file_list (DialogData *data)
 
                /* secondary text */
 
-               label = g_strdup_printf (ngettext ("The file has been modified with an external application. 
If you don't update the file in the archive, all of your changes will be lost.",
-                                                  "%d files have been modified with an external application. 
If you don't update the files in the archive, all of your changes will be lost.",
+               label = g_strdup_printf (ngettext ("The file has been modified with an external application. 
If you don’t update the file in the archive, all of your changes will be lost.",
+                                                  "%d files have been modified with an external application. 
If you don’t update the files in the archive, all of your changes will be lost.",
                                                   n_files),
                                         n_files);
                gtk_label_set_text (GTK_LABEL (data->update_files_secondary_text_label), label);
diff --git a/src/fr-application.c b/src/fr-application.c
index 025c775..1cb52c9 100644
--- a/src/fr-application.c
+++ b/src/fr-application.c
@@ -78,7 +78,7 @@ static const GOptionEntry options[] = {
          NULL },
 
        { "default-dir", '\0', 0, G_OPTION_ARG_STRING, &arg_default_dir,
-         N_("Default folder to use for the '--add' and '--extract' commands"),
+         N_("Default folder to use for the “--add” and “--extract” commands"),
          N_("FOLDER") },
 
        { "force", '\0', 0, G_OPTION_ARG_NONE, &ForceDirectoryCreation,
@@ -482,7 +482,7 @@ fr_application_create_option_context (void)
        GOptionContext *context;
        static gsize    initialized = FALSE;
 
-       context = g_option_context_new (N_("- Create and modify an archive"));
+       context = g_option_context_new (N_("— Create and modify an archive"));
        g_option_context_set_translation_domain (context, GETTEXT_PACKAGE);
        g_option_context_add_main_entries (context, options, GETTEXT_PACKAGE);
        g_option_context_set_ignore_unknown_options (context, TRUE);
diff --git a/src/fr-archive.c b/src/fr-archive.c
index 374cc75..ee3854b 100644
--- a/src/fr-archive.c
+++ b/src/fr-archive.c
@@ -1849,7 +1849,7 @@ fr_archive_add_dropped_items (FrArchive           *archive,
        if (archive->read_only) {
                GError *error;
 
-               error = g_error_new_literal (FR_ERROR, FR_ERROR_GENERIC, ! 
archive->priv->have_write_permissions ? _("You don't have the right permissions.") : _("This archive type 
cannot be modified"));
+               error = g_error_new_literal (FR_ERROR, FR_ERROR_GENERIC, ! 
archive->priv->have_write_permissions ? _("You don’t have the right permissions.") : _("This archive type 
cannot be modified"));
                g_simple_async_result_set_from_error (result, error);
                g_simple_async_result_complete_in_idle (result);
 
@@ -1863,7 +1863,7 @@ fr_archive_add_dropped_items (FrArchive           *archive,
                if (_g_file_cmp_uris (G_FILE (scan->data), archive->priv->file) == 0) {
                        GError *error;
 
-                       error = g_error_new_literal (FR_ERROR, FR_ERROR_GENERIC, _("You can't add an archive 
to itself."));
+                       error = g_error_new_literal (FR_ERROR, FR_ERROR_GENERIC, _("You can’t add an archive 
to itself."));
                        g_simple_async_result_set_from_error (result, error);
                        g_simple_async_result_complete_in_idle (result);
 
diff --git a/src/fr-command-7z.c b/src/fr-command-7z.c
index 877d8db..ea1a1cb 100644
--- a/src/fr-command-7z.c
+++ b/src/fr-command-7z.c
@@ -294,7 +294,7 @@ process_line__add (char     *line,
        }
 
        if (fr_archive_progress_get_total_files (archive) > 0)
-               parse_progress_line (archive, "Compressing  ", _("Adding \"%s\""), line);
+               parse_progress_line (archive, "Compressing  ", _("Adding “%s”"), line);
 }
 
 
@@ -446,7 +446,7 @@ process_line__extract (char     *line,
        FrArchive *archive = FR_ARCHIVE (data);
 
        if (fr_archive_progress_get_total_files (archive) > 0)
-               parse_progress_line (archive, "Extracting  ", _("Extracting \"%s\""), line);
+               parse_progress_line (archive, "Extracting  ", _("Extracting “%s”"), line);
 }
 
 
diff --git a/src/fr-command-rar.c b/src/fr-command-rar.c
index 7c5ffb3..adfc3da 100644
--- a/src/fr-command-rar.c
+++ b/src/fr-command-rar.c
@@ -422,7 +422,7 @@ process_line__add (char     *line,
        }
 
        if (fr_archive_progress_get_total_files (archive) > 0)
-               parse_progress_line (comm, "Adding    ", _("Adding \"%s\""), line);
+               parse_progress_line (comm, "Adding    ", _("Adding “%s”"), line);
 }
 
 
@@ -503,7 +503,7 @@ process_line__delete (char     *line,
        }
 
        if (fr_archive_progress_get_total_files (FR_ARCHIVE (comm)) > 0)
-               parse_progress_line (comm, "Deleting ", _("Removing \"%s\""), line);
+               parse_progress_line (comm, "Deleting ", _("Removing “%s”"), line);
 }
 
 
@@ -554,7 +554,7 @@ process_line__extract (char     *line,
        }
 
        if (fr_archive_progress_get_total_files (FR_ARCHIVE (comm)) > 0)
-               parse_progress_line (comm, "Extracting  ", _("Extracting \"%s\""), line);
+               parse_progress_line (comm, "Extracting  ", _("Extracting “%s”"), line);
 }
 
 
diff --git a/src/fr-command-tar.c b/src/fr-command-tar.c
index 4fb250d..83108e3 100644
--- a/src/fr-command-tar.c
+++ b/src/fr-command-tar.c
@@ -304,7 +304,7 @@ process_line__add (char     *line,
                   gpointer  data)
 {
        /* Translators: %s is a filename. */
-       process_line__generic (line, data, _("Adding \"%s\""));
+       process_line__generic (line, data, _("Adding “%s”"));
 }
 
 
@@ -370,7 +370,7 @@ process_line__delete (char     *line,
                      gpointer  data)
 {
        /* Translators: %s is a filename. */
-       process_line__generic (line, data, _("Removing \"%s\""));
+       process_line__generic (line, data, _("Removing “%s”"));
 }
 
 
@@ -425,7 +425,7 @@ process_line__extract (char     *line,
                       gpointer  data)
 {
        /* Translators: %s is a filename. */
-       process_line__generic (line, data, _("Extracting \"%s\""));
+       process_line__generic (line, data, _("Extracting “%s”"));
 }
 
 
diff --git a/src/fr-new-archive-dialog.c b/src/fr-new-archive-dialog.c
index 594bf22..3c8bd7d 100644
--- a/src/fr-new-archive-dialog.c
+++ b/src/fr-new-archive-dialog.c
@@ -432,7 +432,7 @@ fr_new_archive_dialog_get_file (FrNewArchiveDialog  *self,
                                                NULL,
                                                _("Could not create the archive"),
                                                "%s",
-                                               _("You don't have permission to create an archive in this 
folder"));
+                                               _("You don’t have permission to create an archive in this 
folder"));
                gtk_dialog_run (GTK_DIALOG (dialog));
 
                gtk_widget_destroy (GTK_WIDGET (dialog));
@@ -472,7 +472,7 @@ fr_new_archive_dialog_get_file (FrNewArchiveDialog  *self,
                                                                NULL,
                                                                _("Could not create the archive"),
                                                                "%s",
-                                                               _("You can't add an archive to itself."));
+                                                               _("You can’t add an archive to itself."));
                                gtk_dialog_run (GTK_DIALOG (dialog));
 
                                gtk_widget_destroy (GTK_WIDGET (dialog));
@@ -493,8 +493,8 @@ fr_new_archive_dialog_get_file (FrNewArchiveDialog  *self,
                gboolean  overwrite;
 
                filename = _g_file_get_display_basename (file);
-               message = g_strdup_printf (_("A file named \"%s\" already exists.  Do you want to replace 
it?"), filename);
-               secondary_message = g_strdup_printf (_("The file already exists in \"%s\".  Replacing it will 
overwrite its contents."), g_file_info_get_display_name (parent_info));
+               message = g_strdup_printf (_("A file named “%s” already exists.  Do you want to replace 
it?"), filename);
+               secondary_message = g_strdup_printf (_("The file already exists in “%s”.  Replacing it will 
overwrite its contents."), g_file_info_get_display_name (parent_info));
                dialog = _gtk_message_dialog_new (GTK_WINDOW (self),
                                                  GTK_DIALOG_MODAL,
                                                  message,
diff --git a/src/fr-window.c b/src/fr-window.c
index 18453ec..978d4d6 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -2133,7 +2133,7 @@ show_folder (GtkWindow *parent_window,
                char      *message;
 
                utf8_name = _g_file_get_display_basename (folder);
-               message = g_strdup_printf (_("Could not display the folder \"%s\""), utf8_name);
+               message = g_strdup_printf (_("Could not display the folder “%s”"), utf8_name);
                g_free (utf8_name);
 
                d = _gtk_error_dialog_new (parent_window,
@@ -2306,61 +2306,61 @@ get_action_description (FrWindow *window,
        switch (action) {
        case FR_ACTION_CREATING_NEW_ARCHIVE:
                /* Translators: %s is a filename */
-               message = g_strdup_printf (_("Creating \"%s\""), basename);
+               message = g_strdup_printf (_("Creating “%s”"), basename);
                break;
        case FR_ACTION_LOADING_ARCHIVE:
                /* Translators: %s is a filename */
-               message = g_strdup_printf (_("Loading \"%s\""), basename);
+               message = g_strdup_printf (_("Loading “%s”"), basename);
                break;
        case FR_ACTION_LISTING_CONTENT:
                /* Translators: %s is a filename */
-               message = g_strdup_printf (_("Reading \"%s\""), basename);
+               message = g_strdup_printf (_("Reading “%s”"), basename);
                break;
        case FR_ACTION_DELETING_FILES:
                /* Translators: %s is a filename */
-               message = g_strdup_printf (_("Deleting the files from \"%s\""), basename);
+               message = g_strdup_printf (_("Deleting the files from “%s”"), basename);
                break;
        case FR_ACTION_TESTING_ARCHIVE:
                /* Translators: %s is a filename */
-               message = g_strdup_printf (_("Testing \"%s\""), basename);
+               message = g_strdup_printf (_("Testing “%s”"), basename);
                break;
        case FR_ACTION_GETTING_FILE_LIST:
                message = g_strdup (_("Getting the file list"));
                break;
        case FR_ACTION_COPYING_FILES_FROM_REMOTE:
                /* Translators: %s is a filename */
-               message = g_strdup_printf (_("Copying the files to add to \"%s\""), basename);
+               message = g_strdup_printf (_("Copying the files to add to “%s”"), basename);
                break;
        case FR_ACTION_ADDING_FILES:
                /* Translators: %s is a filename */
-               message = g_strdup_printf (_("Adding the files to \"%s\""), basename);
+               message = g_strdup_printf (_("Adding the files to “%s”"), basename);
                break;
        case FR_ACTION_EXTRACTING_FILES:
                /* Translators: %s is a filename */
-               message = g_strdup_printf (_("Extracting the files from \"%s\""), basename);
+               message = g_strdup_printf (_("Extracting the files from “%s”"), basename);
                break;
        case FR_ACTION_COPYING_FILES_TO_REMOTE:
                message = g_strdup (_("Copying the extracted files to the destination"));
                break;
        case FR_ACTION_CREATING_ARCHIVE:
                /* Translators: %s is a filename */
-               message = g_strdup_printf (_("Creating \"%s\""), basename);
+               message = g_strdup_printf (_("Creating “%s”"), basename);
                break;
        case FR_ACTION_SAVING_REMOTE_ARCHIVE:
        case FR_ACTION_ENCRYPTING_ARCHIVE:
                /* Translators: %s is a filename */
-               message = g_strdup_printf (_("Saving \"%s\""), basename);
+               message = g_strdup_printf (_("Saving “%s”"), basename);
                break;
        case FR_ACTION_PASTING_FILES:
                message = g_strdup (window->priv->custom_action_message);
                break;
        case FR_ACTION_RENAMING_FILES:
                /* Translators: %s is a filename */
-               message = g_strdup_printf (_("Renaming the files in \"%s\""), basename);
+               message = g_strdup_printf (_("Renaming the files in “%s”"), basename);
                break;
        case FR_ACTION_UPDATING_FILES:
                /* Translators: %s is a filename */
-               message = g_strdup_printf (_("Updating the files in \"%s\""), basename);
+               message = g_strdup_printf (_("Updating the files in “%s”"), basename);
                break;
        case FR_ACTION_NONE:
                break;
@@ -2791,7 +2791,7 @@ fr_window_show_confirmation_dialog_with_open_archive (FrWindow *window)
 
        basename = _g_file_get_display_basename (window->priv->saving_file);
        /* Translators: %s is a filename */
-       message = g_strdup_printf (_("\"%s\" created successfully"), basename);
+       message = g_strdup_printf (_("“%s” created successfully"), basename);
 
        dialog = _gtk_message_dialog_new (GTK_WINDOW (window),
                                          GTK_DIALOG_MODAL,
@@ -3011,7 +3011,7 @@ _handle_archive_operation_error (FrWindow  *window,
                case FR_ACTION_LOADING_ARCHIVE:
                        dialog_parent = window->priv->load_error_parent_window;
                        utf8_name = _g_file_get_display_basename (window->priv->archive_file);
-                       msg = g_strdup_printf (_("Could not open \"%s\""), utf8_name);
+                       msg = g_strdup_printf (_("Could not open “%s”"), utf8_name);
                        g_free (utf8_name);
                        break;
 
@@ -4615,7 +4615,7 @@ fr_window_folder_tree_drag_data_get (GtkWidget        *widget,
                char *display_name;
 
                display_name = _g_file_get_display_basename (destination_folder);
-               window->priv->drag_error = g_error_new (FR_ERROR, 0, _("You don't have the right permissions 
to extract archives in the folder \"%s\""), display_name);
+               window->priv->drag_error = g_error_new (FR_ERROR, 0, _("You don’t have the right permissions 
to extract archives in the folder “%s”"), display_name);
 
                g_free (display_name);
        }
@@ -4717,7 +4717,7 @@ fr_window_file_list_drag_data_get (FrWindow         *window,
                char *display_name;
 
                display_name = _g_file_get_display_basename (destination_folder);
-               window->priv->drag_error = g_error_new (FR_ERROR, 0, _("You don't have the right permissions 
to extract archives in the folder \"%s\""), display_name);
+               window->priv->drag_error = g_error_new (FR_ERROR, 0, _("You don’t have the right permissions 
to extract archives in the folder “%s”"), display_name);
 
                g_free (display_name);
        }
@@ -6235,7 +6235,7 @@ _fr_window_notify_creation_complete (FrWindow *window)
 
        basename = _g_file_get_display_basename (window->priv->saving_file);
        /* Translators: %s is a filename */
-       message = g_strdup_printf (_("\"%s\" created successfully"), basename);
+       message = g_strdup_printf (_("“%s” created successfully"), basename);
        notification = notify_notification_new (window->priv->batch_title, message, "file-roller");
        notify_notification_set_hint_string (notification, "desktop-entry", "file-roller");
 
@@ -6716,10 +6716,10 @@ query_info_ready_for_overwrite_dialog_cb (GObject      *source_object,
                char      *details;
                GtkWidget *d;
 
-               msg = g_strdup_printf (_("Replace file \"%s\"?"), g_file_info_get_display_name (info));
+               msg = g_strdup_printf (_("Replace file “%s”?"), g_file_info_get_display_name (info));
                parent = g_file_get_parent (destination);
                parent_name = g_file_get_parse_name (parent);
-               details = g_strdup_printf (_("Another file with the same name already exists in \"%s\"."), 
parent_name);
+               details = g_strdup_printf (_("Another file with the same name already exists in “%s”."), 
parent_name);
                d = _gtk_message_dialog_new (GTK_WINDOW (odata->window),
                                             GTK_DIALOG_MODAL,
                                             msg,
@@ -6878,7 +6878,7 @@ _fr_window_archive_extract_from_edata_maybe (FrWindow    *window,
                        char      *msg;
 
                        folder_name = _g_file_get_display_basename (edata->destination);
-                       msg = g_strdup_printf (_("Destination folder \"%s\" does not exist.\n\nDo you want to 
create it?"), folder_name);
+                       msg = g_strdup_printf (_("Destination folder “%s” does not exist.\n\nDo you want to 
create it?"), folder_name);
                        g_free (folder_name);
 
                        d = _gtk_message_dialog_new (GTK_WINDOW (window),
@@ -7601,7 +7601,7 @@ fr_window_archive_save_as (FrWindow   *window,
                char      *message;
 
                utf8_name = _g_file_get_display_basename (file);
-               message = g_strdup_printf (_("Could not save the archive \"%s\""), utf8_name);
+               message = g_strdup_printf (_("Could not save the archive “%s”"), utf8_name);
                g_free (utf8_name);
 
                d = _gtk_error_dialog_new (GTK_WINDOW (window),
@@ -7958,7 +7958,7 @@ fr_window_archive_encrypt (FrWindow   *window,
                char      *message;
 
                utf8_name = _g_file_get_display_basename (temp_new_file);
-               message = g_strdup_printf (_("Could not save the archive \"%s\""), utf8_name);
+               message = g_strdup_printf (_("Could not save the archive “%s”"), utf8_name);
                g_free (utf8_name);
 
                d = _gtk_error_dialog_new (GTK_WINDOW (window),
@@ -8285,7 +8285,7 @@ valid_name (const char  *new_name,
        }
        else if (_g_strchrs (new_name, BAD_CHARS)) {
                /* Translators: the %s references to a filename.  This message can appear when renaming a 
file. */
-               *reason = g_strdup_printf (_("Name \"%s\" is not valid because it contains at least one of 
the following characters: %s, please type other name."), utf8_new_name, BAD_CHARS);
+               *reason = g_strdup_printf (_("Name “%s” is not valid because it contains at least one of the 
following characters: %s, please type other name."), utf8_new_name, BAD_CHARS);
                retval = FALSE;
        }
 
@@ -8321,9 +8321,9 @@ name_is_present (FrWindow    *window,
                        char *utf8_name = g_filename_display_name (new_name);
 
                        if (filename[new_filename_l] == G_DIR_SEPARATOR)
-                               *reason = g_strdup_printf (_("A folder named \"%s\" already exists.\n\n%s"), 
utf8_name, _("Please use a different name."));
+                               *reason = g_strdup_printf (_("A folder named “%s” already exists.\n\n%s"), 
utf8_name, _("Please use a different name."));
                        else
-                               *reason = g_strdup_printf (_("A file named \"%s\" already exists.\n\n%s"), 
utf8_name, _("Please use a different name."));
+                               *reason = g_strdup_printf (_("A file named “%s” already exists.\n\n%s"), 
utf8_name, _("Please use a different name."));
 
                        retval = TRUE;
                        break;
@@ -8871,10 +8871,10 @@ fr_window_paste_from_clipboard_data (FrWindow        *window,
        to_archive = _g_file_get_display_basename (window->priv->archive_file);
        if (data->op == FR_CLIPBOARD_OP_CUT)
                /* Translators: %s are archive filenames */
-               window->priv->custom_action_message = g_strdup_printf (_("Moving the files from \"%s\" to 
\"%s\""), from_archive, to_archive);
+               window->priv->custom_action_message = g_strdup_printf (_("Moving the files from “%s” to 
“%s”"), from_archive, to_archive);
        else
                /* Translators: %s are archive filenames */
-               window->priv->custom_action_message = g_strdup_printf (_("Copying the files from \"%s\" to 
\"%s\""), from_archive, to_archive);
+               window->priv->custom_action_message = g_strdup_printf (_("Copying the files from “%s” to 
“%s”"), from_archive, to_archive);
        _archive_operation_started (window, FR_ACTION_PASTING_FILES);
 
        _window_started_loading_file (window, data->file);


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