Merge lp:~ronnie.vd.c/loco-team-portal/translation-blocktrans into lp:loco-team-portal

Proposed by Ronnie
Status: Merged
Approved by: Chris Johnston
Approved revision: 405
Merged at revision: 412
Proposed branch: lp:~ronnie.vd.c/loco-team-portal/translation-blocktrans
Merge into: lp:loco-team-portal
Diff against target: 166 lines (+90/-42)
3 files modified
loco_directory/templates/about.html (+74/-38)
loco_directory/templates/about_loco.html (+13/-2)
loco_directory/templates/teams/team_detail.html (+3/-2)
To merge this branch: bzr merge lp:~ronnie.vd.c/loco-team-portal/translation-blocktrans
Reviewer Review Type Date Requested Status
Chris Johnston Approve
Ronnie (community) Needs Resubmitting
Review via email: mp+50447@code.launchpad.net

Description of the change

Splitted translations, now with blocktrans

To post a comment you must log in.
Revision history for this message
Chris Johnston (cjohnston) wrote :

There is a conflict on the team_details.html page.

review: Needs Fixing
405. By Ronnie

Pulled new version and fixed conflict in team_detail.html

Revision history for this message
Ronnie (ronnie.vd.c) :
review: Needs Resubmitting
Revision history for this message
Chris Johnston (cjohnston) wrote :

Quotes need to be removed from the text on the about page.

review: Needs Fixing
Revision history for this message
Chris Johnston (cjohnston) wrote :

Made a few minor changes and pushed.

review: Approve
Revision history for this message
Ronnie (ronnie.vd.c) wrote :

I guess am an hour too late ;)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'loco_directory/templates/about.html'
2--- loco_directory/templates/about.html 2010-11-27 03:08:29 +0000
3+++ loco_directory/templates/about.html 2011-03-02 22:38:10 +0000
4@@ -8,42 +8,78 @@
5
6 <article class="main-content leading">
7 <h2>{% trans "What is the LoCo Team Directory?" %}</h2>
8- <p>{% trans "The LoCo Team Directory is a place where you can find information regarding LoCo Teams. It was originally developed by <a href='https://launchpad.net/~nixternal'>Richard Johnson</a> and further development has been made possible by the <a href='https://launchpad.net/~loco-directory-dev'>The LoCo Team Directory Developers</a>." %} {% trans "The LoCo Team Directory is made available under the <a href='http://www.gnu.org/licenses/gpl-3.0-standalone.html'>GNU GPL v3</a>." %}
9- </p>
10-</article>
11-
12-<hr class="divide" />
13-
14-<article class="minor-content">
15-<h2>{% trans "The Directory Data" %}</h2>
16-<p>{% trans "The LoCo Team Directory comes from two sources, <a href='https://launchpad.net/'>Launchpad</a> and its <a href='https://help.launchpad.net/API/launchpadlib'>APIs</a>. The data that the LoCo Team Directory gathers is also made available as <a href='/data/xml'>XML</a> format to interoperate with other web apps and for possible mashups." %}
17-{% trans "The LoCo Team Directory is made available under the <a href='http://www.gnu.org/licenses/gpl-3.0-standalone.html'>GNU GPL v3</a> and the Code is available in <a href='https://code.launchpad.net/loco-directory'>Launchpad Code Hosting</a>." %}
18-</p>
19-</article>
20-<article class="minor-content">
21-<h2>{% trans "Contribute to the LoCo Team Directory!" %}</h2>
22-<p>{% trans "You can make it better:" %}
23-<ul>
24-<li>{% trans "Have an Idea?" %} <a href='https://blueprints.launchpad.net/loco-directory'>{% trans "Write a blueprint!" %}</a></li>
25-<li> {% trans "Help <a href='https://translations.launchpad.net/loco-directory'>Translate!</a>" %}</li>
26-<li> {% trans "Found a bug?" %} <a href='https://bugs.launchpad.net/loco-directory'>{% trans "Report it!" %}</a></li>
27-<li> {% trans "Help with code:" %} <a href='https://code.launchpad.net/loco-directory'>{% trans "Get the code!" %}</a></li>
28-<li> {% trans "Discuss:" %} <a href='https://lists.ubuntu.com/mailman/listinfo/loco-directory'>{% trans "LoCo Directory Mailing List" %}</a> {% trans "or send an email to" %} loco-directory at lists.ubuntu.com </li>
29-</ul>
30-</p>
31-<p>{% trans "Need to know more," %} <a href='https://answers.launchpad.net/loco-directory'>{% trans "just ask!" %}</a></p>
32-
33-<hr class="divide" />
34-
35-</article>
36- <article class="minor-content">
37- <h2>{% trans "Coming Soon!" %}</h2>
38- <p>
39- {% trans "Future additions to this site will include:" %}
40- <ul>
41- <li>Team Collaboration</li>
42- <li>Various mashups</li>
43- </ul>
44- </p>
45- </article>
46+ {% with '</a>' as link_end %}
47+ {% with '<a href="https://launchpad.net/~nixternal">' as link_developer %}
48+ {% with '<a href="https://launchpad.net/~loco-directory-dev">' as link_loco-directory-dev %}
49+ {% with '<a href="http://www.gnu.org/licenses/gpl-3.0-standalone.html">' as link_gpl-3.0 %}
50+ <p>{% blocktrans %}"The LoCo Team Directory is a place where you can find information regarding LoCo Teams. It was originally developed by {{ link_developer }}Richard Johnson{{ link_end }} and further development has been made possible by the {{ link_loco-directory-dev }}The LoCo Team Directory Developers{{ link_end }}."{% endblocktrans %} {% blocktrans %}"The LoCo Team Directory is made available under the {{ link_gpl-3.0 }}GNU GPL v3{{ link_end }}."{% endblocktrans %}
51+ </p>
52+ {% endwith %}
53+ {% endwith %}
54+ {% endwith %}
55+ {% endwith %}
56+</article>
57+
58+<hr class="divide" />
59+
60+<article class="minor-content">
61+ <h2>{% trans "The Directory Data" %}</h2>
62+ {% with '</a>' as link_end %}
63+ {% with '<a href="https://launchpad.net/">' as link_launchpad %}
64+ {% with '<a href="https://help.launchpad.net/API/launchpadlib">' as link_launchpadlib %}
65+ {% with '<a href="/data/xml/">' as link_xml %}
66+ {% with '<a href="http://www.gnu.org/licenses/gpl-3.0-standalone.html">' as link_gpl-3.0 %}
67+ {% with '<a href="https://code.launchpad.net/loco-directory">' as link_ld %}
68+ <p>
69+ {% blocktrans %}"The LoCo Team Directory comes from two sources, {{ link_launchpad }}Launchpad{{ link_end }} and its {{ link_launchpadlib }}APIs{{ link_end }}. The data that the LoCo Team Directory gathers is also made available as {{ link_xml }}XML{{ link_end }} format to interoperate with other web apps and for possible mashups."{% endblocktrans %}
70+ {% blocktrans %}"The LoCo Team Directory is made available under the {{ link_gpl-3.0 }}GNU GPL v3{{ link_end }} and the Code is available in {{ link_ld }}Launchpad Code Hosting{{ link_end }}."{% endblocktrans %}
71+ </p>
72+ {% endwith %}
73+ {% endwith %}
74+ {% endwith %}
75+ {% endwith %}
76+ {% endwith %}
77+ {% endwith %}
78+</article>
79+
80+<article class="minor-content">
81+ <h2>{% trans "Contribute to the LoCo Team Directory!" %}</h2>
82+ {% with '</a>' as link_end %}
83+ <p>{% trans "You can make it better:" %}
84+ <ul>
85+ {% with '<a href="https://blueprints.launchpad.net/loco-directory">' as link_blueprint %}
86+ {% with '<a href="https://translations.launchpad.net/loco-directory">' as link_trans %}
87+ {% with '<a href="https://bugs.launchpad.net/loco-directory">' as link_bugs %}
88+ {% with '<a href="https://code.launchpad.net/loco-directory">' as link_code %}
89+ {% with '<a href="https://lists.ubuntu.com/mailman/listinfo/loco-directory">' as link_mail %}
90+ <li>{% blocktrans %}Have an Idea? {{ link_blueprint }}Write a blueprint!{{ link_end }}{% endblocktrans %}</li>
91+ <li>{% blocktrans %}Help {{ link_trans }}Translate!{{ link_end }}{% endblocktrans %}</li>
92+ <li>{% blocktrans %}Found a bug? {{ link_bugs }}Report it!{{ link_end }}{% endblocktrans %}</li>
93+ <li>{% blocktrans %}Help with code: {{ link_code }}Get the code!{{ link_end }}{% endblocktrans %}</li>
94+ <li>{% blocktrans %}Discuss: {{ link_mail }}LoCo Directory Mailing List{{ link_end }} or send an email to loco-directory at lists.ubuntu.com{% endblocktrans %}</li>
95+ {% endwith %}
96+ {% endwith %}
97+ {% endwith %}
98+ {% endwith %}
99+ {% endwith %}
100+ </ul>
101+ </p>
102+ {% with '<a href="https://answers.launchpad.net/loco-directory">' as link_ld %}
103+ <p>{% blocktrans %}Need to know more, {{ link_ld }}just ask!{{ link_end }}{% endblocktrans %}</p>
104+ {% endwith %}
105+ {% endwith %}
106+
107+ <hr class="divide" />
108+</article>
109+
110+<article class="minor-content">
111+ <h2>{% trans "Coming Soon!" %}</h2>
112+ <p>
113+ {% trans "Future additions to this site will include:" %}
114+ <ul>
115+ <li>Team Collaboration</li>
116+ <li>Various mashups</li>
117+ </ul>
118+ </p>
119+</article>
120 {% endblock %}
121
122=== modified file 'loco_directory/templates/about_loco.html'
123--- loco_directory/templates/about_loco.html 2010-11-20 17:25:50 +0000
124+++ loco_directory/templates/about_loco.html 2011-03-02 22:38:10 +0000
125@@ -13,8 +13,19 @@
126 <article class="main-content">
127 <h3>{% trans "Joining a LoCo Team" %}</h3>
128 <ul>
129- <li>{% trans "Do you want to join a LoCo Team? It's easy! Just " %}<a title="{% trans "See All LoCo Teams" %}" href="{% url team-list %}">{% trans "find a team" %}</a> {% trans "in your area and click the 'Join This Team!' link at the top of their page." %}</li>
130- <li>{% trans "If you are not able to find a LoCo Team in your area and want to create one, take a look at the " %}<a href="https://wiki.ubuntu.com/LoCoTeamHowto" title="{% trans "LoCo Team HowTo" %}">{% trans "LoCo Team HowTo" %}</a>{% trans " for more information on setting up a LoCo Team." %}</li>
131+ {% with '</a>' as link_end %}
132+ {% with '<a title="' as start_link_title %}
133+ {% with '" href="' as start_link_href %}
134+ {% url team-list as url_team_list %}
135+ {% with '">' as end_link_href %}
136+ {% with 'https://wiki.ubuntu.com/LoCoTeamHowto' as url_locohowto %}
137+ <li>{% blocktrans %}Do you want to join a LoCo Team? It's easy! Just {{ start_link_title }}See All LoCo Teams{{ start_link_href }}{{ url_team_list }}{{ end_link_href }}find a team{{ link_end }} in your area and click the 'Join This Team!' link at the top of their page.{% endblocktrans %}</li>
138+ <li>{% blocktrans %}If you are not able to find a LoCo Team in your area and want to create one, take a look at the {{ start_link_title }}LoCo Team HowTo{{ start_link_href }}{{ url_locohowto }}{{ end_link_href }}LoCo Team HowTo{{ link_end }} for more information on setting up a LoCo Team.{% endblocktrans %}</li>
139+ {% endwith %}
140+ {% endwith %}
141+ {% endwith %}
142+ {% endwith %}
143+ {% endwith %}
144 </ul>
145 </article>
146
147
148=== modified file 'loco_directory/templates/teams/team_detail.html'
149--- loco_directory/templates/teams/team_detail.html 2011-02-19 14:16:30 +0000
150+++ loco_directory/templates/teams/team_detail.html 2011-03-02 22:38:10 +0000
151@@ -226,12 +226,13 @@
152
153 {% if team.flickr_id or team.picasa_id or team.pixie_id %}
154 <article class="main-content">
155- <h2>{% trans "Photos from" %} {{ team.name }}</h2>
156+ {% with team.name as team_name %}
157+ <h2>{% blocktrans %}Photos from {{ team_name }}{% endblocktrans %}</h2>
158+ {% endwith %}
159 <div style="width:100%;" id="flickr"> </div>
160 <div style="width:100%;" id="picasa"> </div>
161 <div style="width:100%;" id="pixie"> </div>
162 </article>
163 {% endif %}
164
165-
166 {% endblock %}

Subscribers

People subscribed via source and target branches