gedit/missing-message.patch
Matthias Clasen 6b88b35554 2.29.9
2010-03-28 05:09:29 +00:00

19 lines
1.0 KiB
Diff

diff -up gedit-2.29.8/gedit/gedit-io-error-message-area.c.missing-message gedit-2.29.8/gedit/gedit-io-error-message-area.c
--- gedit-2.29.8/gedit/gedit-io-error-message-area.c.missing-message 2010-03-08 13:59:23.179942638 -0500
+++ gedit-2.29.8/gedit/gedit-io-error-message-area.c 2010-03-08 13:58:32.470689390 -0500
@@ -635,10 +635,14 @@ gedit_io_loading_error_message_area_new
if (is_gio_error (error, G_IO_ERROR_TOO_MANY_LINKS))
{
+ error_message = g_strdup_printf (_("There was a problem opening the file %s."),
+ uri_for_display);
message_details = g_strdup (_("The number of followed links is limited and the actual file could not be found within this limit."));
}
else if (is_gio_error (error, G_IO_ERROR_PERMISSION_DENIED))
{
+ error_message = g_strdup_printf (_("There was a problem opening the file %s."),
+ uri_for_display);
message_details = g_strdup (_("You do not have the permissions necessary to open the file."));
}
else if ((is_gio_error (error, G_IO_ERROR_INVALID_DATA) && encoding == NULL) ||