]> git.openstreetmap.org Git - osqa.git/commitdiff
Fixes for http://jira.osqa.net/browse/OSQA-187
authormatt <matt@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Sat, 8 May 2010 19:10:17 +0000 (19:10 +0000)
committermatt <matt@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Sat, 8 May 2010 19:10:17 +0000 (19:10 +0000)
Localizes the pieces of the login page that weren't localized.

git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@180 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum_modules/localauth/templates/loginform.html
forum_modules/openidauth/templates/openidurl.html

index 87d98502474862132778589031961bd3d5c0e2b7..e66f3402f13778dbd05e42571ad43a81f96117b3 100644 (file)
@@ -1,11 +1,11 @@
 {% load i18n %}\r
 \r
 <fieldset id='local_login_fs'>\r
 {% load i18n %}\r
 \r
 <fieldset id='local_login_fs'>\r
-  <p><span class='big strong'>Enter your local user name and password</span><br/><span class='grey'>(or select your external provider above)</span></p>\r
+  <p><span class='big strong'>{% trans 'Enter your local user name and password' %}</span><br/><span class='grey'>({% trans 'or select your external provider above' %})</span></p>\r
   <table>\r
     <tr>\r
         <td>\r
   <table>\r
     <tr>\r
         <td>\r
-             <label for="id_username">Login name</label>\r
+             <label for="id_username">{% trans 'Login name' %}</label>\r
         </td>\r
         <td>\r
              <input id="id_username" type="text" class="required login" name="username" maxlength="30" />\r
         </td>\r
         <td>\r
              <input id="id_username" type="text" class="required login" name="username" maxlength="30" />\r
@@ -13,7 +13,7 @@
     </tr>\r
     <tr>\r
         <td>\r
     </tr>\r
     <tr>\r
         <td>\r
-              <label for="id_password">Password</label>\r
+              <label for="id_password">{% trans 'Password' %}</label>\r
         </td>\r
         <td>\r
              <input id="id_password" type="password" class="required login" name="password" maxlength="128" />\r
         </td>\r
         <td>\r
              <input id="id_password" type="password" class="required login" name="password" maxlength="128" />\r
     </tr>\r
     <tr>\r
         <td>\r
     </tr>\r
     <tr>\r
         <td>\r
-            <input id="blogin" name="blogin" type="submit" value="Login" />\r
+            <input id="blogin" name="blogin" type="submit" value="{% trans 'Login' %}" />\r
         </td>\r
         <td>\r
         </td>\r
         <td>\r
-              <a href="{% url auth_local_register %}">Create account</a><span>&nbsp;|&nbsp;</span><a href="{% url auth_request_tempsignin %}">Forgot your password?</a>\r
+              <a href="{% url auth_local_register %}">{% trans 'Create account' %}</a><span>&nbsp;|&nbsp;</span><a href="{% url auth_request_tempsignin %}">{% trans 'Forgot your password?' %}</a>\r
         </td>\r
     </tr>\r
   </table>\r
         </td>\r
     </tr>\r
   </table>\r
index cd4e77dc3d31ff28de291b31028a95dcb612cbd9..8659f5ae9288cb68b9f82f306caeb7b0e801a8d2 100644 (file)
@@ -12,7 +12,7 @@
             style="width: 500px; background: url('{% media provider.icon %}') no-repeat left center" />\r
         </td>\r
         <td>\r
             style="width: 500px; background: url('{% media provider.icon %}') no-repeat left center" />\r
         </td>\r
         <td>\r
-            <input type="submit" name="ssignin" value="Login" />\r
+            <input type="submit" name="ssignin" value="{% trans 'Login' %}" />\r
         </td>\r
     </tr>\r
     </table>\r
         </td>\r
     </tr>\r
     </table>\r