[gimp] file-png: Display a readable string when error message is unavailable
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] file-png: Display a readable string when error message is unavailable
- Date: Tue, 6 Dec 2011 15:18:25 +0000 (UTC)
commit e78ea68f69402a956993007d90afde692d8e607b
Author: Mukund Sivaraman <muks banu com>
Date: Tue Dec 6 20:48:09 2011 +0530
file-png: Display a readable string when error message is unavailable
plug-ins/common/file-png.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/common/file-png.c b/plug-ins/common/file-png.c
index 157ff7a..ad678c6 100644
--- a/plug-ins/common/file-png.c
+++ b/plug-ins/common/file-png.c
@@ -1893,7 +1893,7 @@ save_dialog (gint32 image_ID,
gchar *display_name = g_filename_display_name (ui_file);
g_printerr (_("Error loading UI file '%s': %s"),
- display_name, error ? error->message : "???");
+ display_name, error ? error->message : _("Unknown error"));
g_free (display_name);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]