+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):
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));
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));
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));
g_set_error (error,
EV_ATTACHMENT_ERROR,
0,
- _("Couldn't open attachment '%s'"),
+ _("Couldn't open attachment “%s”"),
attachment->priv->name);
return FALSE;
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;
}
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);
/* 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);
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);
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;
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);
}
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;
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;
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);
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));
}
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);
}
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);