diff options
author | Diego Escalante Urrelo <descalante@igalia.com> | 2011-09-05 12:03:12 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <descalante@igalia.com> | 2011-09-05 12:46:51 +0800 |
commit | 9dd70dcb02bafc7f2d54e148c0f68c9be10d07be (patch) | |
tree | cb79014b30748ff71758832ee815265190a50677 /embed | |
parent | f8cea5491cef9e01e3c46f8cc060042f3d23d08f (diff) | |
download | gsoc2013-epiphany-9dd70dcb02bafc7f2d54e148c0f68c9be10d07be.tar.gz gsoc2013-epiphany-9dd70dcb02bafc7f2d54e148c0f68c9be10d07be.tar.zst gsoc2013-epiphany-9dd70dcb02bafc7f2d54e148c0f68c9be10d07be.zip |
e-web-view: use proper html for paragraphs
Bug #314205
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-web-view.c | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index afee9a49d..7dbf2f595 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -1983,13 +1983,13 @@ ephy_web_view_load_error_page (EphyWebView *view, page_title = g_strdup_printf (_("Oops! Error loading %s"), hostname); msg_title = g_strdup (_("Oops! It was not possible to show this website")); - msg = g_strdup_printf (_("The website at <strong>%s</strong> seems " - "to be unavailable. The precise error was: " - "<br/><br/><em>%s</em>.<br/><br/>" - "The website at <strong>%s</strong> could be " + msg = g_strdup_printf (_("<p>The website at <strong>%s</strong> seems " + "to be unavailable. The precise error was:</p>" + "<p><em>%s</em></p>" + "<p>The website at <strong>%s</strong> could be " "temporarily switched off or moved to a new " - "address. Don't forget to check that your internet " - "connection is working correctly."), + "address. Don't forget to check that your " + "internet connection is working correctly.</p>"), uri, reason, hostname); button_label = g_strdup (_("Try again")); @@ -2002,11 +2002,12 @@ ephy_web_view_load_error_page (EphyWebView *view, 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.<br/>This might happen " - "again if you reload the page. If it does, " + msg = g_strdup_printf (_("<p>This page was loading when the web browser " + "closed unexpectedly.</p>" + "<p>This might happen again if you " + "reload the page. If it does, " "please report the problem to the " - "<strong>%s</strong> developers."), + "<strong>%s</strong> developers.</p>"), LSB_DISTRIBUTOR); button_label = g_strdup (_("Load again anyway")); |