[epiphany] e-web-view: use proper html for paragraphs



commit 9dd70dcb02bafc7f2d54e148c0f68c9be10d07be
Author: Diego Escalante Urrelo <descalante igalia com>
Date:   Sun Sep 4 23:03:12 2011 -0500

    e-web-view: use proper html for paragraphs
    
    Bug #314205

 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 afee9a4..7dbf2f5 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"));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]