damned-lies r1278 - in trunk: . templates templates/vertimus vertimus
- From: claudep svn gnome org
- To: svn-commits-list gnome org
- Subject: damned-lies r1278 - in trunk: . templates templates/vertimus vertimus
- Date: Tue, 30 Dec 2008 20:05:44 +0000 (UTC)
Author: claudep
Date: Tue Dec 30 20:05:43 2008
New Revision: 1278
URL: http://svn.gnome.org/viewvc/damned-lies?rev=1278&view=rev
Log:
2008-12-30 Claude Paroz <claude 2xlibre net>
* templates/register.html:
* templates/vertimus/vertimus_detail.html: Translation fixes.
* vertimus/models.py: Filter out empty string from recipient_list.
Modified:
trunk/ChangeLog
trunk/templates/register.html
trunk/templates/vertimus/vertimus_detail.html
trunk/vertimus/models.py
Modified: trunk/templates/register.html
==============================================================================
--- trunk/templates/register.html (original)
+++ trunk/templates/register.html Tue Dec 30 20:05:43 2008
@@ -26,7 +26,7 @@
<table style="clear:both"><tr><td colspan="2">
<div style="clear:both">{{ form.non_field_errors }}</div>
{% if openid_path %}
- <p>Authenticate via OpenID <strong>or</strong> password:</p></td></tr><tr><td valign="bottom">
+ <p>{% trans "Authenticate via OpenID <strong>or</strong> password:" %}</p></td></tr><tr><td valign="bottom">
<div>
{{ form.openid_url.errors }}
<label for="id_openid"><img src="{{ openid_path }}logo/" alt=""> {{ form.openid_url.label }}</label> {{ form.openid_url }}
Modified: trunk/templates/vertimus/vertimus_detail.html
==============================================================================
--- trunk/templates/vertimus/vertimus_detail.html (original)
+++ trunk/templates/vertimus/vertimus_detail.html Tue Dec 30 20:05:43 2008
@@ -106,7 +106,7 @@
</table>
</form>
{% else %}
- {% blocktrans with language.team.description as team_name %}You need to be authenticated and to be member of the {{ team_name }} team.{% endblocktrans %}
+ {% blocktrans with language.team.get_description as team_name %}You need to be authenticated and to be member of the {{ team_name }} team.{% endblocktrans %}
{% endif %}
{% endblock %}
Modified: trunk/vertimus/models.py
==============================================================================
--- trunk/vertimus/models.py (original)
+++ trunk/vertimus/models.py Tue Dec 30 20:05:43 2008
@@ -338,8 +338,8 @@
return None
def send_mail_new_state(self, old_state, new_state, recipient_list):
- # Remove None items from the list
- recipient_list = filter(lambda x: x is not None, recipient_list)
+ # Remove None and empty string items from the list
+ recipient_list = filter(lambda x: x and x is not None, recipient_list)
if recipient_list:
current_site = Site.objects.get_current()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]