damned-lies r1153 - in trunk: . stats stats/management/commands templates templates/languages templates/teams
- From: claudep svn gnome org
- To: svn-commits-list gnome org
- Subject: damned-lies r1153 - in trunk: . stats stats/management/commands templates templates/languages templates/teams
- Date: Sun, 9 Nov 2008 22:09:17 +0000 (UTC)
Author: claudep
Date: Sun Nov 9 22:09:16 2008
New Revision: 1153
URL: http://svn.gnome.org/viewvc/damned-lies?rev=1153&view=rev
Log:
2008-11-09 Claude Paroz <claude 2xlibre net>
* stats/management/commands/update-trans.py: Extract module.comment for
translation.
* stats/models.py: Added 'proposed' in category choices.
* templates/languages/language_list.html:
* templates/person_base.html:
* templates/teams/team_list.html: Compacted blocktrans for a more nicer
output in .po files (avoid unnecessary newlines).
* templates/module_list.html: Fixed capitalization.
Modified:
trunk/ChangeLog
trunk/stats/management/commands/update-trans.py
trunk/stats/models.py
trunk/templates/languages/language_list.html
trunk/templates/module_list.html
trunk/templates/person_base.html
trunk/templates/teams/team_list.html
Modified: trunk/stats/management/commands/update-trans.py
==============================================================================
--- trunk/stats/management/commands/update-trans.py (original)
+++ trunk/stats/management/commands/update-trans.py Sun Nov 9 22:09:16 2008
@@ -40,6 +40,7 @@
SELECT name from `language` WHERE name <> locale UNION DISTINCT
SELECT description FROM domain UNION DISTINCT
SELECT description FROM module WHERE description <> name UNION DISTINCT
+ SELECT comment FROM module WHERE comment IS NOT NULL UNION DISTINCT
SELECT description FROM `release`;"""
cursor = connection.cursor()
cursor.execute(query)
Modified: trunk/stats/models.py
==============================================================================
--- trunk/stats/models.py (original)
+++ trunk/stats/models.py Sun Nov 9 22:09:16 2008
@@ -739,7 +739,8 @@
('admin-tools', ugettext_noop('Administration Tools')),
('dev-tools', ugettext_noop('Development Tools')),
('desktop', ugettext_noop('GNOME Desktop')),
- ('dev-platform', ugettext_noop('GNOME developer platform')),
+ ('dev-platform', ugettext_noop('GNOME Developer Platform')),
+ ('proposed', ugettext_noop('New Module Proposals')),
)
class Category(models.Model):
release = models.ForeignKey(Release)
Modified: trunk/templates/languages/language_list.html
==============================================================================
--- trunk/templates/languages/language_list.html (original)
+++ trunk/templates/languages/language_list.html Sun Nov 9 22:09:16 2008
@@ -8,10 +8,8 @@
<h1>{% trans "GNOME Languages" %}</h1>
-{% blocktrans count languages|length as numb %}
-GNOME is being translated to following {{ numb }} language.
-{% plural %}
-GNOME is being translated to following {{ numb }} languages.
+{% blocktrans count languages|length as numb %}GNOME is being translated to following {{ numb }} language.
+{% plural %}GNOME is being translated to following {{ numb }} languages.
{% endblocktrans %}
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
Modified: trunk/templates/module_list.html
==============================================================================
--- trunk/templates/module_list.html (original)
+++ trunk/templates/module_list.html Sun Nov 9 22:09:16 2008
@@ -6,7 +6,7 @@
{% block content %}
<div class="mainpage">
-<h1>{% trans "GNOME modules" %}</h1>
+<h1>{% trans "GNOME Modules" %}</h1>
<p>{% trans "Select a module below to see some of the damned lies about it:" %}</p>
Modified: trunk/templates/person_base.html
==============================================================================
--- trunk/templates/person_base.html (original)
+++ trunk/templates/person_base.html Sun Nov 9 22:09:16 2008
@@ -50,9 +50,7 @@
<ul>
{% for team in person.coordinates_teams.all %}
<li>
- {% blocktrans with team.get_absolute_url as team_url and team.description as team_desc %}
- Coordinates <a href="{{ team_url }}">{{ team_desc }}</a>
- {% endblocktrans %}
+ {% blocktrans with team.get_absolute_url as team_url and team.description as team_desc %}Coordinates <a href="{{ team_url }}">{{ team_desc }}</a>{% endblocktrans %}
</li>
{% endfor %}
</ul>
Modified: trunk/templates/teams/team_list.html
==============================================================================
--- trunk/templates/teams/team_list.html (original)
+++ trunk/templates/teams/team_list.html Sun Nov 9 22:09:16 2008
@@ -21,9 +21,7 @@
{% if team.coordinator.get_absolute_url %}
<br />
<span style="font-size: 80%;">
- {% blocktrans with team.coordinator.get_absolute_url|safe as url and team.coordinator.name as name %}
- Coordinated by <a href="{{ url }}">{{ name }}</a>
- {% endblocktrans %}
+ {% blocktrans with team.coordinator.get_absolute_url|safe as url and team.coordinator.name as name %}Coordinated by <a href="{{ url }}">{{ name }}</a>{% endblocktrans %}
</span>
{% endif %}
</li>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]