]> www.fi.muni.cz Git - evince.git/commitdiff
Use consistent quoting style. Fix for the bug #320285.
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Sat, 27 May 2006 13:00:31 +0000 (13:00 +0000)
committerNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Sat, 27 May 2006 13:00:31 +0000 (13:00 +0000)
* backend/ev-attachment.c: (ev_attachment_save),
(ev_attachment_launch_app), (ev_attachment_open):
* backend/ev-document-factory.c: (get_document_from_uri):
* cut-n-paste/recent-files/egg-recent-view-uimanager.c:
(egg_recent_view_uimanager_set_list):
* ps/ps-document.c: (check_filecompressed), (document_load),
(ps_document_load):
* shell/ev-metadata-manager.c: (load_values):
* shell/ev-password.c: (ev_password_dialog_set_property):
* shell/ev-view.c: (tip_from_link):
* shell/ev-window.c: (file_save_dialog_response_cb),
(ev_window_print_dialog_response_cb):

Use consistent quoting style. Fix for the bug #320285.

ChangeLog
backend/ev-attachment.c
backend/ev-document-factory.c
cut-n-paste/recent-files/egg-recent-view-uimanager.c
ps/ps-document.c
shell/ev-metadata-manager.c
shell/ev-password.c
shell/ev-view.c
shell/ev-window.c

index 4848a7950e6d48489c59d78699438223400cd826..0b79faf00567f874e9638b0cddf12fd14c8ed748 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2006-05-27  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
+
+       * backend/ev-attachment.c: (ev_attachment_save),
+       (ev_attachment_launch_app), (ev_attachment_open):
+       * backend/ev-document-factory.c: (get_document_from_uri):
+       * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
+       (egg_recent_view_uimanager_set_list):
+       * ps/ps-document.c: (check_filecompressed), (document_load),
+       (ps_document_load):
+       * shell/ev-metadata-manager.c: (load_values):
+       * shell/ev-password.c: (ev_password_dialog_set_property):
+       * shell/ev-view.c: (tip_from_link):
+       * shell/ev-window.c: (file_save_dialog_response_cb),
+       (ev_window_print_dialog_response_cb):
+       
+       Use consistent quoting style. Fix for the bug #320285.
+
 2006-05-27  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
 
        * shell/ev-jobs.c: (ev_job_xfer_run):
index 331473814f3a8cc95bcbe76c5bae0edf22cb6f0e..10982676644b615db56eb46d913e236670ed144d 100644 (file)
@@ -300,7 +300,7 @@ ev_attachment_save (EvAttachment *attachment,
                g_set_error (error,
                             EV_ATTACHMENT_ERROR, 
                             (gint) result,
-                            _("Couldn't save attachment '%s': %s"),
+                            _("Couldn't save attachment “%s”: %s"),
                             uri, 
                             gnome_vfs_result_to_string (result));
                
@@ -313,7 +313,7 @@ ev_attachment_save (EvAttachment *attachment,
                g_set_error (error,
                             EV_ATTACHMENT_ERROR,
                             (gint) result,
-                            _("Couldn't save attachment '%s': %s"),
+                            _("Couldn't save attachment “%s”: %s"),
                             uri,
                             gnome_vfs_result_to_string (result));
                
@@ -345,7 +345,7 @@ ev_attachment_launch_app (EvAttachment *attachment,
                g_set_error (error,
                             EV_ATTACHMENT_ERROR,
                             (gint) result,
-                            _("Couldn't open attachment '%s': %s"),
+                            _("Couldn't open attachment “%s”: %s"),
                             attachment->priv->name,
                             gnome_vfs_result_to_string (result));
 
@@ -378,7 +378,7 @@ ev_attachment_open (EvAttachment *attachment,
                g_set_error (error,
                             EV_ATTACHMENT_ERROR,
                             0,
-                            _("Couldn't open attachment '%s'"),
+                            _("Couldn't open attachment “%s”"),
                             attachment->priv->name);
                
                return FALSE;
index f8a3a4b8f7584496e144f464fa228c8c90d72d6e..e3f384f9b864a0b121289e672a0cf3b9e87ccfc1 100644 (file)
@@ -266,7 +266,7 @@ get_document_from_uri (const char *uri, gboolean slow, GError **error)
                g_set_error (error,
                             EV_DOCUMENT_ERROR, 
                             0,
-                            _("Unhandled MIME type: '%s'"), info->mime_type);
+                            _("Unhandled MIME type: “%s”"), info->mime_type);
                gnome_vfs_file_info_unref (info);
                return NULL;
        }                       
index 006112bd2b304ead05a1ada4d588a7145e762d9d..2010815b4ff4cc0430f4c660e540ded2e828f53a 100644 (file)
@@ -202,7 +202,7 @@ egg_recent_view_uimanager_set_list (EggRecentViewUIManager *view, GList *list)
                        tooltip = (*view->tooltip_func) (item, view->tooltip_func_data);
 
                if (!tooltip)
-                       tooltip = g_strdup_printf (_("Open '%s'"), uri);
+                       tooltip = g_strdup_printf (_("Open “%s”"), uri);
 
                basename = egg_recent_item_get_short_name (item);
                escaped = egg_recent_util_escape_underlines (basename);
index 2fabd2613347e094508b0a2a836b75839bc7e171..34579674c302add2e07d0964c4e537ee323c0638 100644 (file)
@@ -897,7 +897,7 @@ check_filecompressed (PSDocument * gs)
 
                /* report error */
                filename_dsp = g_filename_display_name (gs->gs_filename);
-               msg = g_strdup_printf (_("Error while decompressing file %s:\n"), filename_dsp);
+               msg = g_strdup_printf (_("Error while decompressing file “%s”:\n"), filename_dsp);
                g_free (filename_dsp);
                
                interpreter_failed (gs, msg);
@@ -957,7 +957,7 @@ document_load (PSDocument *gs, const gchar *fname)
                        gchar *msg;
 
                        filename_dsp = g_filename_display_name (fname);
-                       msg = g_strdup_printf (_("Cannot open file %s.\n"), filename_dsp);
+                       msg = g_strdup_printf (_("Cannot open file “%s”.\n"), filename_dsp);
                        g_free (filename_dsp);
                        
                        interpreter_failed (gs, msg);
@@ -1079,7 +1079,7 @@ ps_document_load (EvDocument  *document,
                    g_set_error(error,
                                G_FILE_ERROR,
                                G_FILE_ERROR_NOENT,
-                               _("Failed to load document '%s'. Ghostscript interpreter was not found in path"),
+                               _("Failed to load document “%s”. Ghostscript interpreter was not found in path"),
                                filename);
                    g_free (filename_dsp);
                    result = FALSE;     
@@ -1091,7 +1091,7 @@ ps_document_load (EvDocument  *document,
                        
                        g_set_error (error, G_FILE_ERROR,
                                     G_FILE_ERROR_FAILED,
-                                    _("Failed to load document '%s'"),
+                                    _("Failed to load document “%s”"),
                                     filename_dsp);
                        g_free (filename_dsp);
                }
index f5ab0407b62fee42f21ea874c5f60e745f05a628..e6c5202fc41e06890d34570680555f2ef4a2cb44 100644 (file)
@@ -268,7 +268,7 @@ load_values ()
        cur = xmlDocGetRootElement (doc);
        if (cur == NULL) 
        {
-               g_message ("The metadata file '%s' is empty", METADATA_FILE);
+               g_message ("The metadata file “%s” is empty", METADATA_FILE);
                xmlFreeDoc (doc);
        
                return FALSE;
@@ -276,7 +276,7 @@ load_values ()
 
        if (xmlStrcmp (cur->name, (const xmlChar *) "metadata")) 
        {
-               g_message ("File '%s' is of the wrong type", METADATA_FILE);
+               g_message ("File “%s” is of the wrong type", METADATA_FILE);
                xmlFreeDoc (doc);
                
                return FALSE;
index e9a57ba848b4399f7ec810ff34cd86d6a17f3baa..b6298f38493b22763e9ef561a5ad3367822ceff3 100644 (file)
@@ -81,7 +81,7 @@ ev_password_dialog_set_property (GObject      *object,
                base_name = g_path_get_basename (file_name);
                format = g_strdup_printf ("<span size=\"larger\" weight=\"bold\">%s</span>\n\n%s",
                                          _("Password required"),
-                                         _("The document <i>%s</i> is locked and requires a password before it can be opened."));
+                                         _("The document “%s” is locked and requires a password before it can be opened."));
                markup = g_markup_printf_escaped (format, base_name);
 
                gtk_label_set_markup (GTK_LABEL (dialog->priv->label), markup);
index 32ba7c3ee28f8161f07d91978c66b7af1da1ee55..3c2090dbbe0398a4912bc69e27b5edf52d7041f3 100644 (file)
@@ -1379,10 +1379,10 @@ tip_from_link (EvView *view, EvLink *link)
                        break;
                case EV_LINK_ACTION_TYPE_GOTO_REMOTE:
                        if (title) {
-                               msg = g_strdup_printf (_("Go to %s on file %s"), title,
+                               msg = g_strdup_printf (_("Go to %s on file “%s”"), title,
                                                       ev_link_action_get_filename (action));
                        } else {
-                               msg = g_strdup_printf (_("Go to file %s"),
+                               msg = g_strdup_printf (_("Go to file “%s”"),
                                                       ev_link_action_get_filename (action));
                        }
                        
index 1131b35ceeec7210e45c38b87f00d956c185044d..8a6cf43ee40a4d4203f0b2d79276d09bc5553c7c 100644 (file)
@@ -1137,7 +1137,7 @@ file_save_dialog_response_cb (GtkWidget *fc,
 
                if (err) {
                        gchar *msg;
-                       msg = g_strdup_printf (_("The file could not be saved as \"%s\"."), uri);
+                       msg = g_strdup_printf (_("The file could not be saved as “%s”."), uri);
                        ev_window_error_dialog (GTK_WINDOW (fc), msg, err);
                        g_free (msg);
                }
@@ -1230,7 +1230,7 @@ ev_window_print_dialog_response_cb (GtkDialog *print_dialog, gint response, gpoi
                                             GTK_MESSAGE_ERROR, GTK_BUTTONS_OK,
                                             _("Printing is not supported on this printer."));
            gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
-                                                    _("You were trying to print to a printer using the \"%s\" driver. This program requires a PostScript printer driver."),
+                                                    _("You were trying to print to a printer using the “%s” driver. This program requires a PostScript printer driver."),
                                                     gnome_print_config_get (config, (guchar *)"Settings.Engine.Backend.Driver"));
            gtk_dialog_run (GTK_DIALOG (dialog));
            gtk_widget_destroy (dialog);