Issue 18077: Moved hard-coded text to DB messages
authorIván Perdomo <ivan.perdomo@openbravo.com>
Mon, 01 Aug 2011 19:04:47 +0200
changeset 13374 028d33772d40
parent 13373 9a1b39822915
child 13378 7a57441f53b3
Issue 18077: Moved hard-coded text to DB messages
src/org/openbravo/erpCommon/security/Login.java
--- a/src/org/openbravo/erpCommon/security/Login.java	Mon Aug 01 12:00:27 2011 +0200
+++ b/src/org/openbravo/erpCommon/security/Login.java	Mon Aug 01 19:04:47 2011 +0200
@@ -301,10 +301,14 @@
     if (showGoogleIcon) {
 
       String authServlet = "../org.openbravo.service.integration.google/auth.html";
-      String link = "<p class=\"LabelText Login_LabelText\" style=\"line-height:24px;\">Sign in using:&nbsp; <a href=\""
-          + authServlet
-          + "\" title=\"Sign in using your Google Account\" target=\"_top\" "
-          + "><img style=\"vertical-align:middle;\" src=\"../web/images/google.png\" alt=\"Sign in using your Google Account\" width=\"24\" height=\"24\" border=\"0\"/></a></p>";
+      String link = "<p class=\"LabelText Login_LabelText\" style=\"line-height:24px;\">"
+          + Utility.messageBD(this, "OBSEIG_SignIn", vars.getLanguage()) + "&nbsp; <a href=\""
+          + authServlet + "\" title=\""
+          + Utility.messageBD(this, "OBSEIG_SignInAltMsg", vars.getLanguage())
+          + "\" target=\"_top\" "
+          + "><img style=\"vertical-align:middle;\" src=\"../web/images/google.png\" alt=\""
+          + Utility.messageBD(this, "OBSEIG_SignInAltMsg", vars.getLanguage())
+          + "\" width=\"24\" height=\"24\" border=\"0\"/></a></p>";
 
       xmlDocument.setParameter("sign-in", link);
     }