[nautilus] Quote the use of file type descriptions in error messages
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] Quote the use of file type descriptions in error messages
- Date: Thu, 13 Sep 2012 15:57:51 +0000 (UTC)
commit 245c1484e7f1489899fdff50f016b520706a1f6b
Author: William Jon McCann <jmccann redhat com>
Date: Mon Sep 10 17:19:19 2012 -0400
Quote the use of file type descriptions in error messages
So that we don't have things like:
"There is no application installed for backup file files."
https://bugzilla.gnome.org/show_bug.cgi?id=683752
src/nautilus-mime-actions.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-mime-actions.c b/src/nautilus-mime-actions.c
index 455048a..13a6a21 100644
--- a/src/nautilus-mime-actions.c
+++ b/src/nautilus-mime-actions.c
@@ -1213,7 +1213,7 @@ show_unhandled_type_error (ActivateParametersInstall *parameters)
NULL);
} else {
char *text;
- text = g_strdup_printf (_("There is no application installed for %s files"), g_content_type_get_description (mime_type));
+ text = g_strdup_printf (_("There is no application installed for â%sâ files"), g_content_type_get_description (mime_type));
dialog = gtk_message_dialog_new (parameters->parent_window,
GTK_DIALOG_DESTROY_WITH_PARENT,
@@ -1385,7 +1385,7 @@ pk_proxy_appeared_cb (GObject *source,
GTK_BUTTONS_YES_NO,
"%s", error_message);
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
- _("There is no application installed for %s files.\n"
+ _("There is no application installed for â%sâ files.\n"
"Do you want to search for an application to open this file?"),
g_content_type_get_description (mime_type));
gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]