Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog17
-rw-r--r--backend/ev-attachment.c8
-rw-r--r--backend/ev-document-factory.c2
-rw-r--r--cut-n-paste/recent-files/egg-recent-view-uimanager.c2
-rw-r--r--ps/ps-document.c8
-rw-r--r--shell/ev-metadata-manager.c4
-rw-r--r--shell/ev-password.c2
-rw-r--r--shell/ev-view.c4
-rw-r--r--shell/ev-window.c4
9 files changed, 34 insertions, 17 deletions
diff --git a/ChangeLog b/ChangeLog
index 4848a79..0b79faf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,22 @@
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):
* shell/main.c: (load_files):
diff --git a/backend/ev-attachment.c b/backend/ev-attachment.c
index 3314738..1098267 100644
--- a/backend/ev-attachment.c
+++ b/backend/ev-attachment.c
@@ -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;
diff --git a/backend/ev-document-factory.c b/backend/ev-document-factory.c
index f8a3a4b..e3f384f 100644
--- a/backend/ev-document-factory.c
+++ b/backend/ev-document-factory.c
@@ -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;
}
diff --git a/cut-n-paste/recent-files/egg-recent-view-uimanager.c b/cut-n-paste/recent-files/egg-recent-view-uimanager.c
index 006112b..2010815 100644
--- a/cut-n-paste/recent-files/egg-recent-view-uimanager.c
+++ b/cut-n-paste/recent-files/egg-recent-view-uimanager.c
@@ -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);
diff --git a/ps/ps-document.c b/ps/ps-document.c
index 2fabd26..3457967 100644
--- a/ps/ps-document.c
+++ b/ps/ps-document.c
@@ -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);
}
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);