example/templates/authopenid/complete.html doesn't translate everything

Issue #31 resolved
Anonymous created an issue

Hi, some suggestions: remove <h3></h3> (line 62) mark button values (captions) with {%trans ... %}

Comments (4)

  1. Anonymous

    There is a misspelling in "An exisiting account"! One hard to spot.

    Also please replace blocktrans with just trans, because the .po file gets now bloated:

    1. : GTSite/django_authopenid/templates/authopenid/complete.html:13 msgid "" "\n" "\t<p>Your OpenID can now be associated with a new or existing membership. " "You can change the association later in your preferences.</p>\n" "\t" msgstr ""
  2. Anonymous
    Index: templates/authopenid/complete.html
    ===================================================================
    --- templates/authopenid/complete.html	()
    +++ templates/authopenid/complete.html	()
    @@ -10,14 +10,9 @@
     
     	<div id="completetxt">
     	<h1>{% trans "Your OpenID is verified! " %}</h1>
    -	{% blocktrans %}
    -	<p>Your OpenID can now be associated with a new or existing membership. You can change the association later in your preferences.</p>
    -	{% endblocktrans %}
    -	<br /><br />
    +	<p>{% trans "Your OpenID can now be associated with a new or existing membership. You can change the association later in your preferences." %}</p>
     	<h2>{% trans "Associate your OpenID" %}</h2>
    -	{% blocktrans %}
    -	<p>If you're joining <strong>Sitename</strong>, associate your OpenID with a new account. If you're already a member, associate with your existing account.</p>
    -	{% endblocktrans %}
    +	<p>{% trans "If you're joining <strong>Sitename</strong>, associate your OpenID with a new account. If you're already a member, associate with your existing account." %}</p>
     	</div>
     
     		
    @@ -50,7 +45,7 @@
     				<legend>{% trans "A new account" %}</legend>
     				<div class="form-row"><label for="id_username">{% trans "Username" %}</label><br />{{ form1.username }}</div>
     				<div class="form-row"><label for="id_email">{% trans "Email" %}</label><br />{{ form1.email }}</div>
    -				<div class="submit-row"><input type="submit" name="bnewaccount" value="Create account"></div>
    +				<div class="submit-row"><input type="submit" name="bnewaccount" value="{% trans "Create account" %}"></div>
     				<hr class="clear" />
                 	</fieldset>
     		</form>
    @@ -59,14 +54,13 @@
     	
     
     	<div class="login">
    -		<h3></h3>
             <form name="fverify" action="{% url user_register %}" method="POST">
                 <input type="hidden" name="next" value="{{ next }}" />
     			<fieldset>
    -				<legend>{% trans "An exisiting account" %}</legend>
    +				<legend>{% trans "An existing account" %}</legend>
     				<div class="form-row"><label for="id_username">{% trans "Username" %}</label><br />{{ form2.username }}</div>
     				<div class="form-row"><label for="id_passwordl">{% trans "Password" %}</label><br />{{ form2.password }}</div>
    -				<div class="submit-row"><input type="submit" name="bverify" value="Verify"></div>
    +				<div class="submit-row"><input type="submit" name="bverify" value="{% trans "Verify" %}"></div>
     			</fieldset>
     		</form>
     	</div>
    
  3. Log in to comment