diff options
author | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2006-05-27 13:00:31 (GMT) |
---|---|---|
committer | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2006-05-27 13:00:31 (GMT) |
commit | d18bf1f949a0d4fb15b3bbd6daa6b8a59ebdc3f2 (patch) | |
tree | 515c4dfca0d8ab4c2ca0035f5c6916bfb1cf5f76 /shell | |
parent | 75e184c10b9d8f1f52ebcde19660e45c5244f9a0 (diff) |
Use consistent quoting style. Fix for the bug #320285.
* 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.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ev-metadata-manager.c | 4 | ||||
-rw-r--r-- | shell/ev-password.c | 2 | ||||
-rw-r--r-- | shell/ev-view.c | 4 | ||||
-rw-r--r-- | shell/ev-window.c | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/shell/ev-metadata-manager.c b/shell/ev-metadata-manager.c index f5ab040..e6c5202 100644 --- a/shell/ev-metadata-manager.c +++ b/shell/ev-metadata-manager.c @@ -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; diff --git a/shell/ev-password.c b/shell/ev-password.c index e9a57ba..b6298f3 100644 --- a/shell/ev-password.c +++ b/shell/ev-password.c @@ -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); diff --git a/shell/ev-view.c b/shell/ev-view.c index 32ba7c3..3c2090d 100644 --- a/shell/ev-view.c +++ b/shell/ev-view.c @@ -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)); } diff --git a/shell/ev-window.c b/shell/ev-window.c index 1131b35..8a6cf43 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -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); |