fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed #716: empty theme error
[wolnelektury.git]
/
wolnelektury
/
templates
/
auth
/
login.html
diff --git
a/wolnelektury/templates/auth/login.html
b/wolnelektury/templates/auth/login.html
index
6db94aa
..
a168ff7
100644
(file)
--- a/
wolnelektury/templates/auth/login.html
+++ b/
wolnelektury/templates/auth/login.html
@@
-1,24
+1,25
@@
{% extends "base.html" %}
{% extends "base.html" %}
+{% load i18n %}
-{% block title %}
Zaloguj / Zarejestruj się w
WolneLektury.pl{% endblock %}
+{% block title %}
{% trans "Sign in" %} / {% trans "Register on"%}
WolneLektury.pl{% endblock %}
{% block body %}
{% block body %}
- <h1>
Zaloguj się / Załóż konto
</h1>
+ <h1>
{% trans "Sign in" %} / {% trans "Register"%}
</h1>
<form action="." method="get" accept-charset="utf-8" id="search-form">
<form action="." method="get" accept-charset="utf-8" id="search-form">
- <p><li>{{ search_form.q }} <input type="submit" value="
Szukaj" /></li> <strong>lub</strong> <a href="{% url main_page %}">wróć do strony głównej
</a></p>
+ <p><li>{{ search_form.q }} <input type="submit" value="
{% trans "Search" %}" /></li> <strong>{% trans "or" %}</strong> <a href="{% url main_page %}">{% trans "return to main page" %}
</a></p>
</form>
<form method="post" action="." id="login-form" class="cuteform">
</form>
<form method="post" action="." id="login-form" class="cuteform">
- <h2>
Zaloguj się
</h2>
+ <h2>
{% trans "Sign in" %}
</h2>
<ol>
{{ form.as_ul }}
<ol>
{{ form.as_ul }}
- <li><input type="submit" value="
Zaloguj się
" /></li>
+ <li><input type="submit" value="
{% trans "Sign in" %}
" /></li>
</ol>
<p><input type="hidden" name="next" value="{{ next }}" /></p>
</form>
</ol>
<p><input type="hidden" name="next" value="{{ next }}" /></p>
</form>
-
+
<form action="." method="post" accept-charset="utf-8" id="registration-form">
<form action="." method="post" accept-charset="utf-8" id="registration-form">
- <h2>
Załóż konto
</h2>
+ <h2>
{% trans "Register" %}
</h2>
- <p><input type="submit" value="
Załóż konto
"/></p>
+ <p><input type="submit" value="
{% trans "Register" %}
"/></p>
</form>
{% endblock %}
</form>
{% endblock %}