diff options
author | Mike Chen <chagel@gmail.com> | 2009-07-29 00:01:16 +0800 |
---|---|---|
committer | Mike Chen <chagel@gmail.com> | 2009-07-29 00:01:16 +0800 |
commit | b6aa7c847234ed985ec693c53633a7f0f3e2cd9c (patch) | |
tree | 0ec7772b1fa7c1a88bd60c585cc0c8a7adbccc1a /templates/authopenid/signin.html | |
parent | 0173b3d5978a81d785ec1431f09f325e45114709 (diff) | |
download | askbot-b6aa7c847234ed985ec693c53633a7f0f3e2cd9c.tar.gz askbot-b6aa7c847234ed985ec693c53633a7f0f3e2cd9c.tar.bz2 askbot-b6aa7c847234ed985ec693c53633a7f0f3e2cd9c.zip |
merge Evgeny's English and Botum's Spanish translations
Diffstat (limited to 'templates/authopenid/signin.html')
-rw-r--r-- | templates/authopenid/signin.html | 47 |
1 files changed, 23 insertions, 24 deletions
diff --git a/templates/authopenid/signin.html b/templates/authopenid/signin.html index 9c5511f2..aff2f06f 100644 --- a/templates/authopenid/signin.html +++ b/templates/authopenid/signin.html @@ -1,5 +1,6 @@ {% extends "base.html" %} -{% block title %}{% spaceless %}用户登录{% endspaceless %}{% endblock %} +{% load i18n %} +{% block title %}{% spaceless %}{% trans "User login" %}{% endspaceless %}{% endblock %} {% block forejs %} <script type="text/javascript" src="/content/js/jquery.openid.js?"></script> <script type='text/javascript' src='/content/js/jquery.validate.pack.js'></script> @@ -12,26 +13,26 @@ {% endblock %} {% block content %} <div class="headNormal"> - 用户登录 + {% trans "User login" %} </div> <div class="login"> <form name="openid_form" action="{% url user_signin %}" method="post"> {{ form2.next }} - <p style="display:none">CNProg支持<b>两种</b>登录模式。您可以使用帐号、密码登录,或者使用OpenID登录。</p> + <p style="display:none">{% trans "we support two login modes" %}</p> {% if msg %} <p class="warning">{{ msg }}</p> {% endif %} <fieldset class="fieldset"> - <legend ><strong>使用OpenID登录</strong></legend> + <legend ><strong>{% trans "Login with your OpenID" %}</strong></legend> <div id="openid_choice"> - <p>请选择您的帐号类型并完成正确的OpenID地址(如:替换“{username}”为您的对应帐号):</p> + <p>{% trans "select openid provider" %}</p> <div id="openid_btns"> </div> + <br><br><br> + <p>{% trans "verify openid link and login" %}</p> </div> - <br> - <br><br> <p> - {{ form2.openid_url }} <input id="bsignin" name="bsignin" type="submit" value="登录" class="openid-login-submit" /> + {{ form2.openid_url }} <input id="bsignin" name="bsignin" type="submit" value="{% trans "Login" %}" class="openid-login-submit" /> </p> </fieldset> </form> @@ -39,7 +40,7 @@ <br> {% if form1.errors %} <p class="errors"> - <span class="big">请注意以下错误:</span><br> + <span class="big">{% trans "Sorry, looks like we have some errors:" %}</span><br> <ul class="error-list"> {% if form1.username.errors %} <li><span class="error">{{ form1.username.errors|join:", " }}</span></li> @@ -54,11 +55,12 @@ <form name="fauth" action="{% url user_signin %}" method="post"> {{ form1.next }} <fieldset class="fieldset" > - <legend class="big">使用帐号密码登录</legend> - <div class="form-row"><label for="id_username">用户名:</label><br />{{ form1.username }}</div> - <div class="form-row"><label for="id_password">密码:</label><br />{{ form1.password }}</div> - <div class="submit-row"><input type="submit" class="submit" name="blogin" value="登录"> <a href="">忘记密码?</a> <a href="">注册新帐号</a></div> - + <legend class="big">{% trans "Use login name and password" %}</legend> + <div class="form-row"><label for="id_username">{% trans "Login name" %}:</label><br />{{ form1.username }}</div> + <div class="form-row"><label for="id_password">{% trans "Password" %}:</label><br />{{ form1.password }}</div> + <div class="submit-row"><input type="submit" class="submit" name="blogin" value="{% trans "Login" %}"> + <a href="">{% trans "Forgot your password?" %}</a> + <a href="">{% trans "Create new acccount" %}</a></div> </fieldset> </form> </div> @@ -67,28 +69,25 @@ {% block sidebar %} <div class="boxC"> - <h3 class="subtitle">为什么需要OpenID登录?</h3> + <h3 class="subtitle">{% trans "Why use OpenID?" %}</h3> <p> <ul class="list-item"> <li> - 构建在OpenID网络认证上的本系统,不需要你注册新的帐号,即可使用我们系统的所有功能 + {% trans "with openid it is easier" %} </li> <li> - 用同一个帐号可登录互联网所有激活OpenID的网站 - + {% trans "reuse openid" %} </li> <li> - 全世界有1.6亿OpenID帐号,和10,000个支持OpenID的站点 - + {% trans "openid is widely adopted" %} </li> <li> - OpenID是有开放标准,并且有相关的基金组织提供支持 - + {% trans "openid is supported open standard" %} </li> </ul> - <a href="http://openid.net/what/" target="_blank" style="float:right;position:relative">查看更多 »</a><br> - <a href="http://openid.net/get/" target="_blank" style="float:right;position:relative">获取OpenID »</a> + <a href="http://openid.net/what/" target="_blank" style="float:right;position:relative">{% trans "Find out more" %} »</a><br> + <a href="http://openid.net/get/" target="_blank" style="float:right;position:relative">{% trans "Get OpenID" %} »</a> </p> <br> </div> |