From b039f0ceb3f93569bc36b602a598c05e0cfc0269 Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Sun, 4 Sep 2011 17:08:24 -0500 Subject: e-web-view: better messages in error pages Use better words to describe the situation, avoid techie terms. Bug #637903 --- embed/ephy-web-view.c | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'embed/ephy-web-view.c') diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index 89eb5eb6a..afee9a49d 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -1982,8 +1982,14 @@ ephy_web_view_load_error_page (EphyWebView *view, case EPHY_WEB_VIEW_ERROR_PAGE_NETWORK_ERROR: page_title = g_strdup_printf (_("Oops! Error loading %s"), hostname); - msg_title = g_strdup (_("Oops! It was impossible to load this website")); - msg = g_strdup_printf (_("The website at %s is probably unavailable, the precise error was:

%s.

If this persists you might want to check your internet connection or if the website at %s is working correctly."), + msg_title = g_strdup (_("Oops! It was not possible to show this website")); + msg = g_strdup_printf (_("The website at %s seems " + "to be unavailable. The precise error was: " + "

%s.

" + "The website at %s could be " + "temporarily switched off or moved to a new " + "address. Don't forget to check that your internet " + "connection is working correctly."), uri, reason, hostname); button_label = g_strdup (_("Try again")); @@ -1994,8 +2000,13 @@ ephy_web_view_load_error_page (EphyWebView *view, case EPHY_WEB_VIEW_ERROR_PAGE_CRASH: page_title = g_strdup_printf (_("Oops! Error loading %s"), hostname); - msg_title = g_strdup (_("Oops! This site might have caused Epiphany to close unexpectedly")); - msg = g_strdup_printf (_("This page was loading when the web browser closed unexpectedly.
This might happen again if you reload the page. If it does, please report the problem to the %s developers."), + msg_title = g_strdup (_("Oops! This site might have caused the web " + "browser to close unexpectedly")); + msg = g_strdup_printf (_("This page was loading when the web browser " + "closed unexpectedly.
This might happen " + "again if you reload the page. If it does, " + "please report the problem to the " + "%s developers."), LSB_DISTRIBUTOR); button_label = g_strdup (_("Load again anyway")); -- cgit