Web · Wiki · Activities · Blog · Lists · Chat · Meeting · Bugs · Git · Translate · Archive · People · Donate

Commit 6e58cea588f489a66415aaa57bcc91384bc4330f

Browse by context type - many UI tweaks
app/app.py
(27 / 4)
  
6161 reply=['guid', 'type', 'title', 'description', 'keep', 'keep_impl', 'mtime'], order_by='-mtime')
6262offline_Articles = offline_client.Context.cursor(type='article', keep_impl=2,
6363 reply=['guid', 'type', 'title', 'description', 'keep', 'keep_impl', 'mtime'], order_by='-mtime')
64Files = client.Context.cursor(type='file',
65 reply=['guid', 'type', 'title', 'description', 'keep', 'keep_impl', 'mtime'], order_by='-mtime')
66offline_Files = offline_client.Context.cursor(type='file', keep_impl=2,
67 reply=['guid', 'type', 'title', 'description', 'keep', 'keep_impl', 'mtime'], order_by='-mtime')
6468autocomplete_Contexts = client.Context.cursor(
6569 reply=['guid', 'title'], order_by='-mtime')
6670autocomplete_offline_Contexts = offline_client.Context.cursor(keep_impl=2,
8181 reply=['guid', 'message', 'tags', 'author', 'user' ,'parent', 'parent_resource', 'mtime'])
8282Reviews = client.Review.cursor(type="review",
8383 reply=['guid', 'type', 'content', 'context', 'author', 'user', 'tags', 'mtime'], order_by='-mtime')
84Resources = client.Feedback.cursor(
85 reply=['guid', 'type', 'title', 'content', 'context', 'author', 'user', 'tags', 'mtime'], order_by='-mtime')
8486
8587@babel.localeselector
8688def get_locale():
137137 g.Applications = offline_Applications
138138 g.Activities= offline_Activities
139139 g.Articles = offline_Articles
140 g.Files = offline_Files
140141 g.autocomplete_Contexts = autocomplete_offline_Contexts
141142 else:
142143 g.client = client
145145 g.Applications = Applications
146146 g.Activities= Activities
147147 g.Articles = Articles
148 g.Files = Files
148149 g.autocomplete_Contexts = autocomplete_Contexts
149150
150151@app.route('/')
175175 context_cursor = g.Activities
176176 elif type in ['application']:
177177 context_cursor = g.Applications
178 elif type in ['file']:
179 context_cursor = g.Files
178180 elif type in ['article']:
179181 context_cursor = g.Articles
180 else: #type in [None, '', 'all']:
182 else:
181183 context_cursor = g.Contexts
182184 context=context_cursor[offset]
183185 else:
357357 return redirect(request.path + "?page=1")
358358
359359 if request.path=="/resource":
360 resource='questions'
360 resource='all'
361361 else:
362362 resource=split(request.path, "/")[2]
363363
364364 if resource=='search':
365 resource = session.get('last_resource') or 'questions'
365 resource = session.get('last_resource') or 'all'
366366
367367 if resource=='questions':
368368 resource_object=Questions
376376 elif resource=='reviews':
377377 resource_object=Reviews
378378 resource_label=_("reviews")
379 elif resource=='all':
380 resource_object=Resources
381 resource_label=_("resources")
382 resource='all_' # avoid chop
379383 resource_type=resource[:-1]
380384
381385 session['last_resource']=resource
435435 #except KeyError:
436436 terms = []
437437
438 type=request.args.get('type') or session.get('current_type')
438439 if query:
439440 terms.append(query)
441 type='all'
440442
441 type=request.args.get('type') or session.get('current_type')
442443 if type in ['activity']:
443444 context_cursor = g.Activities
444445 resource_label=_('activities')
449449 elif type in ['article']:
450450 context_cursor = g.Articles
451451 resource_label=_('articles')
452 elif type in ['file']:
453 context_cursor = g.Files
454 resource_label=_('files')
452455 else: # type in [None, '', 'all']:
453456 context_cursor = g.Contexts
454457 resource_label=_('contexts')
569569@app.route('/context/questions/<context_guid>')
570570@app.route('/context/ideas/<context_guid>')
571571@app.route('/context/problems/<context_guid>')
572@app.route('/context/all/<context_guid>')
572573def resource_browser(context_guid=None, query=None):
573574 """
574575 Context Resources View
590590 elif resource_type=='idea':
591591 resource_object = Ideas
592592 resource_label = _("ideas")
593 elif resource_type=='al':
594 resource_object = Resources
595 resource_label = _("resources")
596 resource_type='all'
593597
594598 try:
595599 r, total_pages, total, info = paginate(resource_object,
  
88msgstr ""
99"Project-Id-Version: PROJECT VERSION\n"
1010"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
11"POT-Creation-Date: 2012-06-27 23:00-0500\n"
11"POT-Creation-Date: 2012-07-03 03:32-0500\n"
1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414"Language-Team: LANGUAGE <LL@li.org>\n"
1717"Content-Transfer-Encoding: 8bit\n"
1818"Generated-By: Babel 0.9.6\n"
1919
20#: app.py:85
20#: app.py:103
2121msgid "MMMM d, yyyy"
2222msgstr ""
2323
24#: app.py:277
24#: app.py:116
25msgid "Home"
26msgstr ""
27
28#: app.py:118
29msgid "Library"
30msgstr ""
31
32#: app.py:330
2533msgid "zero results"
2634msgstr ""
2735
28#: app.py:279
36#: app.py:332
2937#, python-format
3038msgid "page %(page)s of %(total)s"
3139msgstr ""
3240
33#: app.py:316 app.py:509
41#: app.py:369 app.py:586
3442msgid "questions"
3543msgstr ""
3644
37#: app.py:319 app.py:512
45#: app.py:372 app.py:589
3846msgid "problems"
3947msgstr ""
4048
41#: app.py:322 app.py:515
49#: app.py:375 app.py:592
4250msgid "ideas"
4351msgstr ""
4452
45#: app.py:325 app.py:450
53#: app.py:378 app.py:526
4654msgid "reviews"
4755msgstr ""
4856
49#: app.py:338 app.py:524
57#: app.py:381 app.py:595
58msgid "resources"
59msgstr ""
60
61#: app.py:395 app.py:605
5062#, python-format
5163msgid "browsing %(total)s %(resource_label)s"
5264msgstr ""
5365
54#: app.py:354
66#: app.py:411
5567msgid "Error"
5668msgstr ""
5769
58#: app.py:356
70#: app.py:413
5971msgid "Object not found."
6072msgstr ""
6173
62#: app.py:391
74#: app.py:445
75msgid "activities"
76msgstr ""
77
78#: app.py:448
79msgid "applications"
80msgstr ""
81
82#: app.py:451
83msgid "articles"
84msgstr ""
85
86#: app.py:454
87msgid "files"
88msgstr ""
89
90#: app.py:457
91msgid "contexts"
92msgstr ""
93
94#: app.py:468
6395#, python-format
64msgid "browsing %(total)s contexts"
96msgid "browsing %(total)s %(label)s"
6597msgstr ""
6698
6799#: env.py:22
109109msgstr ""
110110
111111#: templates/_context-comment-list.html:9
112#: templates/_context-resource-list.html:31
113#: templates/_context-review-list.html:14
112#: templates/_context-resource-list.html:36
113#: templates/_context-review-list.html:21
114114#: templates/_context-solution-list.html:12
115#: templates/_context-solution-list.html:52 templates/_resource-list.html:25
115#: templates/_context-solution-list.html:52 templates/_resource-list.html:31
116116#, python-format
117117msgid "by %(author)s on %(date)s"
118118msgstr ""
121121msgid "comment"
122122msgstr ""
123123
124#: templates/_context-resource-list.html:40 templates/_resource-list.html:43
124#: templates/_context-resource-list.html:45 templates/_resource-list.html:49
125125msgid "followers"
126126msgstr ""
127127
128#: templates/_context-resource-list.html:43 templates/_resource-list.html:46
128#: templates/_context-resource-list.html:48 templates/_resource-list.html:52
129129msgid "comments"
130130msgstr ""
131131
132#: templates/_context-resource-list.html:46 templates/_resource-list.html:49
132#: templates/_context-resource-list.html:51 templates/_resource-list.html:55
133133msgid "solutions"
134134msgstr ""
135135
136#: templates/_context-resource-list.html:54
136#: templates/_context-resource-list.html:59
137137#, python-format
138138msgid ""
139139"No %(resource)s have been shared yet for this context.<br><br>Be the "
140140"first to contribute with the community!"
141141msgstr ""
142142
143#: templates/_context-review-list.html:3
143#: templates/_context-review-list.html:5
144msgid "contribute a review"
145msgstr ""
146
147#: templates/_context-review-list.html:10
144148#: templates/_context-solution-list.html:41
145149#, python-format
146150msgid ""
152152"first to share with the community!"
153153msgstr ""
154154
155#: templates/_context-review-list.html:42
156msgid "contribute a review"
155#: templates/_context-solution-list.html:89
156msgid "contribute a solution"
157157msgstr ""
158158
159#: templates/_context-solution-list.html:79
160msgid "contribute a solution"
159#: templates/base.html:4
160msgid "Welcome to Sugar Network"
161161msgstr ""
162162
163#: templates/base.html:54 templates/base.html:134
163#: templates/base.html:63 templates/base.html:218
164164#: templates/resource-form.html:5
165165msgid "Improve the system"
166166msgstr ""
167167
168#: templates/base.html:54 templates/base.html:134
168#: templates/base.html:63 templates/base.html:218
169169msgid "Sugar Network"
170170msgstr ""
171171
172#: templates/base.html:62 templates/resource-form.html:21
172#: templates/base.html:71 templates/base.html:129
173#: templates/resource-form.html:21
173174msgid "Title"
174175msgstr ""
175176
176#: templates/base.html:70 templates/resource-form.html:25
177#: templates/base.html:79
178msgid "Summary"
179msgstr ""
180
181#: templates/base.html:83 templates/base.html:130
182#: templates/resource-form.html:25
177183msgid "Details"
178184msgstr ""
179185
186#: templates/base.html:118
187msgid "Create new context"
188msgstr ""
189
190#: templates/base.html:119
191msgid "Name"
192msgstr ""
193
194#: templates/base.html:120
195msgid "Article (optional)"
196msgstr ""
197
198#: templates/base.html:171
199msgid "Edit resource"
200msgstr ""
201
180202#: templates/browser-view.html:51 templates/context-view.html:198
181203#: templates/resource-list.html:75
182204msgid "page '+new_page+' of"
209209msgstr ""
210210
211211#: templates/context-view.html:70
212msgid "Owner(s)"
212msgid "Author(s)"
213213msgstr ""
214214
215215#: templates/context-view.html:77
232232msgid "Context"
233233msgstr ""
234234
235#: templates/toolbar.html:41
235#: templates/resource-list.html:16 templates/toolbar.html:40
236#: templates/toolbar.html:68
236237msgid "Work in progress."
237238msgstr ""
238239
239#: templates/toolbar.html:50
240#: templates/toolbar.html:3
240241msgid "Atrás"
242msgstr ""
243
244#: templates/toolbar.html:38
245msgid "Applications"
246msgstr ""
247
248#: templates/toolbar.html:39
249msgid "Activities"
250msgstr ""
251
252#: templates/toolbar.html:41
253msgid "Files"
254msgstr ""
255
256#: templates/toolbar.html:42
257msgid "Articles"
258msgstr ""
259
260#: templates/toolbar.html:44 templates/toolbar.html:83
261msgid "All"
262msgstr ""
263
264#: templates/toolbar.html:78
265msgid "Questions"
266msgstr ""
267
268#: templates/toolbar.html:79
269msgid "Ideas"
270msgstr ""
271
272#: templates/toolbar.html:80
273msgid "Problems"
274msgstr ""
275
276#: templates/toolbar.html:81
277msgid "Reviews"
241278msgstr ""
  
9292 }
9393
9494ul.toolbar-bar{
95list-style: none;
96display: table-row;
97height: 55px;
98width: 100%;
95 list-style: none;
96 display: table-row;
97 height: 55px;
98 /*width: 100%;*/
99 }
100ul.toolbar-right{
101 float: right;
102 position: absolute;
103 right: 55px;
104 top: 0px;
105 margin: 0px;
99106}
100107
101108li.toolbar-items {
200200}
201201
202202#meta {
203margin-right: 300px;
204203float: right;
204line-height: 20px;
205margin-top: -20px;
205206}
206207
207208#info {
284284width: 50px;
285285margin: 1px;
286286}
287div.res_type_col {
288padding: 20px 0px 20px 10px;
289}
287290
288291div.summary-column {
289padding: 20px;
292padding: 20px 10px 20px 0px;
290293float: left;
291width: 580px;
294width: 540px;
292295height: 70px;
293296margin: 5px;
294297position: relative;
295298}
296299div.summary-column-context {
297padding: 20px;
300padding: 20px 10px 20px 0px;
298301float: left;
299width: 520px;
302width: 480px;
300303height: 70px;
301304margin: 5px;
302305position: relative;
12591259 width: 320px;
12601260 }
12611261 div.summary-column-context {
1262 width: 420px;
1262 width: 380px;
12631263 padding-top: 17px;
12641264 }
12651265 #resource-scrollable {
12701270 margin-left: 15px;
12711271 }
12721272 div.summary-column {
1273 width: 470px;
1273 width: 420px;
12741274 padding: 17px;
12751275 }
12761276 ul.browser-page {
Binary files differ
  
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<svg
3 xmlns:dc="http://purl.org/dc/elements/1.1/"
4 xmlns:cc="http://creativecommons.org/ns#"
5 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6 xmlns:svg="http://www.w3.org/2000/svg"
7 xmlns="http://www.w3.org/2000/svg"
8 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
9 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
10 enable-background="new 0 0 55 55"
11 height="34"
12 version="1.1"
13 viewBox="0 0 45 34"
14 width="45"
15 x="0px"
16 xml:space="preserve"
17 y="0px"
18 id="svg4134"
19 inkscape:version="0.48.2 r9819"
20 sodipodi:docname="button-blank.svg"><metadata
21 id="metadata4151"><rdf:RDF><cc:Work
22 rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
23 rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
24 id="defs4149">
25
26
27
28
29 </defs><sodipodi:namedview
30 pagecolor="#ffffff"
31 bordercolor="#666666"
32 borderopacity="1"
33 objecttolerance="10"
34 gridtolerance="10"
35 guidetolerance="10"
36 inkscape:pageopacity="0"
37 inkscape:pageshadow="2"
38 inkscape:window-width="1024"
39 inkscape:window-height="580"
40 id="namedview4147"
41 showgrid="false"
42 inkscape:zoom="8"
43 inkscape:cx="-4.3125"
44 inkscape:cy="21.569905"
45 inkscape:window-x="-1"
46 inkscape:window-y="0"
47 inkscape:window-maximized="1"
48 inkscape:current-layer="svg4134" /><g
49 transform="translate(-4.875,-16.25)"
50 id="g3525"
51 style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-opacity:1"><g
52 id="g3520"
53 style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-opacity:1"><line
54 style="fill:#ffffff;stroke:#ffffff;stroke-width:3.50000000000000000;display:inline;fill-opacity:1;stroke-opacity:1"
55 id="line3501"
56 y2="26.25"
57 y1="26.25"
58 x2="36.875"
59 x1="17.875"
60 display="inline" /><line
61 style="fill:#ffffff;stroke:#ffffff;stroke-width:3.50000000000000000;display:inline;fill-opacity:1;stroke-opacity:1"
62 id="line3503"
63 y2="33.25"
64 y1="33.25"
65 x2="36.875"
66 x1="17.875"
67 display="inline" /><line
68 style="fill:#ffffff;stroke:#ffffff;stroke-width:3.50000000000000000;display:inline;fill-opacity:1;stroke-opacity:1"
69 id="line3505"
70 y2="40.25"
71 y1="40.25"
72 x2="36.875"
73 x1="17.875"
74 display="inline" /></g></g></svg>
Binary files differ
  
1616 <a href="/context/gallery/{{context['guid']}}">
1717 <img class="gallery-icon" src="/static/icons/button-blank.png" />
1818 </a>
19 <a href="/context/wikiwiki/{{context['guid']}}">
20 <img class="wiki-icon" src="/static/icons/button-blank.png" />
19 <a href="/context/all/{{context['guid']}}">
20 <img class="wiki-icon" src="/static/icons/button-list.png" />
2121 </a>
2222
2323 <div class="iconbox">
  
1717 <img src="/static/icons/sugar-xo.png"/>
1818 {%- endif %}
1919 </div>
20 <div class="icon-column res_type_col">
21 <a href="/context/{{item['type']}}s/{{item['context']}}">
22 <img class="tab-button" src="/static/icons/button-{{item['type']}}.png"/>
23 </a>
24 </div>
2025 <div class="summary-column-context">
2126 <div class="resource-title">
2227 <a href="/{{resource_type}}/{{item['guid']}}"
  
1 <br /><form id="review-form" method="POST" data-guid="{{context['guid']}}" action="/submit_review">
2 <input type="hidden" name="resource_guid" value="{{context['guid']}}" />
3 <textarea id="textarea-solution" name="review"></textarea>
4 <br />
5 <input id="contribute-button" class="sugar-button" type="submit" value="{{_('contribute a review')}}" />
6 </form>
7 <br />
18 <ul class='generic-list'>
29 {%- if not result %}
310 <div class="notice">{{_('No %(resource)s have been shared yet for this context.<br><br>Be the first to share with the community!', resource=resource_label )}}
5151 </li>
5252 {%- endfor %}
5353 </ul>
54 <hr /><br />
55 <form id="review-form" method="POST" data-guid="{{context['guid']}}" action="/submit_review">
56 <input type="hidden" name="resource_guid" value="{{context['guid']}}" />
57 <textarea id="textarea-solution" name="review"></textarea>
58 <br />
59 <input id="contribute-button" class="sugar-button" type="submit" value="{{_('contribute a review')}}" />
60 </form>
  
22 {%- for item in result %}
33 <li class="resource-list">
44 <div class="icon-column">
5 <a href="/context/{{resource_type}}s/{{item['context']}}">
5 <a href="/context/all/{{item['context']}}">
66 <img src="/context/icon/{{item['context']}}"/>
77 </a>
88 </div>
1111 <img src="/static/icons/sugar-xo.png"/>
1212 {%- endif %}
1313 </div>
14 <div class="icon-column res_type_col">
15 <a href="/context/{{item['type']}}s/{{item['context']}}">
16 <img class="tab-button" src="/static/icons/button-{{item['type']}}.png"/>
17 </a>
18 </div>
1419 <div class="summary-column">
1520 {%- if resource_type!='review' %}
1621 <div class="resource-title">
17 <a href="/{{resource_type}}/{{item['guid']}}">
22 <a href="/{{item['type']}}/{{item['guid']}}">
1823 {{item['title']}}</a>
1924 </div>
2025 {%- endif %}
2126 <div class="resource-content-row">
22 {{item['content']}}
27 <a href="/{{item['type']}}/{{item['guid']}}">
28 {{item['content']}}</a>
2329 </div>
2430 <div class="resource-meta">
2531 {{_('by %(author)s on %(date)s', author=item['author'][0], date=item['mtime']|timedelta)}}
  
380380 bind_del();
381381 $( "#sn-button" ).tooltip({position:"bottom right", offset:[-3,-60], predelay:500});
382382 $( "#browser-button" ).tooltip({position:"bottom right", offset:[-3,-60], predelay:500});
383 $( "#list-button" ).tooltip({position:"bottom right", offset:[-3,-60], predelay:500});
383 /*$( "#list-button" ).tooltip({position:"bottom right", offset:[-3,-60], predelay:500});*/
384384 $( "#query" ).autocomplete({
385385 source: "/query",
386386 dataType: "json",
  
1616 <a href="/context/gallery/{{context['guid']}}">
1717 <img class="palette-tab-button {{gallery}}" src="/static/icons/button-blank.png" />
1818 </a>
19 <a href="/context/wikiwiki/{{context['guid']}}">
20 <img class="palette-tab-button {{wikiwiki}}" src="/static/icons/button-blank.png" />
19 <a href="/context/all/{{context['guid']}}">
20 <img class="palette-tab-button {{als}}" src="/static/icons/button-list.png" />
2121 </a>
2222 </div>
2323 <div class="grid-item">
3636 <a href="/context/gallery/{{context['guid']}}">
3737 <img class="gallery-icon {{gallery}}" src="/static/icons/button-blank.png" />
3838 </a>
39 <a href="/context/wikiwiki/{{context['guid']}}">
40 <img class="wiki-icon {{wikiwiki}}" src="/static/icons/button-blank.png" />
39 <a href="/context/all/{{context['guid']}}">
40 <img class="wiki-icon {{als}}" src="/static/icons/button-list.png" />
4141 </a>
4242 <div class="iconbox">
4343 <a href="/launch/{{context['guid']}}">
141141 source.onmessage = function(data) {
142142 alert(data);
143143 };*/
144 init_styles('#fff');
144 init_styles('#e5e5e5');
145145 $("#accordion").tabs(
146146 "#accordion div.pane",
147147 {tabs: 'h2', effect: 'slide', initialIndex: null}
  
1313 <a href="/resource/reviews">
1414 <img class="palette-tab-button {{reviews}}" src="/static/icons/button-review.png" />
1515 </a>
16 <a href="/resource/gallery">
16 <a href="/resource/gallery" onclick='alert("{% trans %}Work in progress.{% endtrans %}"); return false;'>
1717 <img class="palette-tab-button {{gallery}}" src="/static/icons/button-blank.png" />
1818 </a>
19 <a href="/resource/wikiwiki">
20 <img class="palette-tab-button {{wikiwiki}}" src="/static/icons/button-blank.png" />
19 <a href="/resource">
20 <img class="palette-tab-button {{all_}}" src="/static/icons/button-list.png" />
2121 </a>
2222 </div>
2323 {#<div id="resource-buttons">
  
3535 <img class="toolbar-icon" src="/static/icons/insert-table.png" />
3636 </div>
3737 <div id="browser-tooltip" class="tooltip">
38 <div class="menu-option" onclick="location='/context?type=article'">{{_('Articles')}}</div>
3938 <div class="menu-option" onclick="location='/context?type=application'">{{_('Applications')}}</div>
4039 <div class="menu-option" onclick="location='/context?type=activity'">{{_('Activities')}}</div>
40 <div class="menu-option" onclick='alert("{% trans %}Work in progress.{% endtrans %}"); return false;'
41>{{_('Files')}}</div>
42 <div class="menu-option" onclick="location='/context?type=article'">{{_('Articles')}}</div>
4143 <hr class="menu-separator"/>
4244 <div class="menu-option" onclick="location='/context?type=all'">{{_('All')}}</div>
4345 </div>
4446 </li>
4547 <li class="toolbar-items">
46 <div id="list-button" onclick="location='/resource'">
47 <img class="toolbar-icon" src="/static/icons/view-list.png" />
48 </div>
49 <div id="browser-tooltip" class="tooltip">
50 <div class="menu-option" onclick="location='/resource/questions'">{{_('Questions')}}</div>
51 <div class="menu-option" onclick="location='/resource/ideas'">{{_('Ideas')}}</div>
52 <div class="menu-option" onclick="location='/resource/problems'">{{_('Problems')}}</div>
53 <div class="menu-option" onclick="location='/resource/reviews'">{{_('Reviews')}}</div>
54 <hr class="menu-separator"/>
55 <div class="menu-option" onclick="location='/resource'">{{_('All')}}</div>
56 </div>
57 </li>
58 <li class="toolbar-items" onclick='alert("{% trans %}Work in progress.{% endtrans %}")'>
59 <div>
60 <img class="toolbar-icon" src="/static/icons/sugar-xo.png" />
61 </div>
62 </li>
63 <li class="toolbar-items">
6448 <!-- input id="search" type="text" name="terms" value="{{query or ''}}"
6549 onkeyup="onKeyPressed(event)" /-->
6650 <div class="ui-widget">
6060 <div>
6161 <img class="toolbar-icon" src="/static/icons/go-up.png" />
6262 </div>
63 </li>
64 </ul>
65 <ul class="toolbar-bar toolbar-right">
66 <li class="toolbar-items" onclick='alert("{% trans %}Work in progress.{% endtrans %}")'>
67 <div>
68 <img class="toolbar-icon" src="/static/icons/sugar-xo.png" />
69 </div>
70 </li>
71 <li class="toolbar-items right">
72 <div id="list-button" onclick="location='/resource'">
73 <img class="toolbar-icon" src="/static/icons/view-list.png" />
74 </div>
75 <!--div id="browser-tooltip" class="tooltip">
76 <div class="menu-option" onclick="location='/resource/questions'">{{_('Questions')}}</div>
77 <div class="menu-option" onclick="location='/resource/ideas'">{{_('Ideas')}}</div>
78 <div class="menu-option" onclick="location='/resource/problems'">{{_('Problems')}}</div>
79 <div class="menu-option" onclick="location='/resource/reviews'">{{_('Reviews')}}</div>
80 <hr class="menu-separator"/>
81 <div class="menu-option" onclick="location='/resource'">{{_('All')}}</div>
82 </div-->
6383 </li>
6484 </ul>
6585 </div>
  
77msgstr ""
88"Project-Id-Version: PROJECT VERSION\n"
99"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
10"POT-Creation-Date: 2012-07-01 19:01-0500\n"
10"POT-Creation-Date: 2012-07-03 03:32-0500\n"
1111"PO-Revision-Date: 2012-04-21 20:49-0500\n"
1212"Last-Translator: Sebastian Silva <sebastian@sugarlabs.org>\n"
1313"Language-Team: es <LL@li.org>\n"
1717"Content-Transfer-Encoding: 8bit\n"
1818"Generated-By: Babel 0.9.6\n"
1919
20#: app.py:85
20#: app.py:103
2121msgid "MMMM d, yyyy"
2222msgstr "d 'de' MMMM 'de' 2012"
2323
24#: app.py:98
24#: app.py:116
2525msgid "Home"
2626msgstr "Hogar"
2727
28#: app.py:100
28#: app.py:118
2929msgid "Library"
3030msgstr "Biblioteca"
3131
32#: app.py:299
32#: app.py:330
3333msgid "zero results"
3434msgstr "cero resultados"
3535
36#: app.py:301
36#: app.py:332
3737#, python-format
3838msgid "page %(page)s of %(total)s"
3939msgstr "página %(page)s de %(total)s"
4040
41#: app.py:338 app.py:530
41#: app.py:369 app.py:586
4242msgid "questions"
4343msgstr "preguntas"
4444
45#: app.py:341 app.py:533
45#: app.py:372 app.py:589
4646msgid "problems"
4747msgstr "problemas"
4848
49#: app.py:344 app.py:536
49#: app.py:375 app.py:592
5050msgid "ideas"
5151msgstr "ideas"
5252
53#: app.py:347 app.py:471
53#: app.py:378 app.py:526
5454msgid "reviews"
5555msgstr "reseñas"
5656
57#: app.py:360 app.py:545
57#: app.py:381 app.py:595
58msgid "resources"
59msgstr "recursos"
60
61#: app.py:395 app.py:605
5862#, python-format
5963msgid "browsing %(total)s %(resource_label)s"
6064msgstr "navegando por %(total)s %(resource_label)s"
6165
62#: app.py:376
66#: app.py:411
6367msgid "Error"
6468msgstr "Error"
6569
66#: app.py:378
70#: app.py:413
6771msgid "Object not found."
6872msgstr "Objeto no encontrado."
6973
70#: app.py:413
71#, python-format
72msgid "browsing %(total)s contexts"
73msgstr "navegando por %(total)s contextos"
74#: app.py:445
75msgid "activities"
76msgstr "actividades"
7477
78#: app.py:448
79msgid "applications"
80msgstr "aplicaciones"
81
82#: app.py:451
83msgid "articles"
84msgstr "artículos"
85
86#: app.py:454
87msgid "files"
88msgstr "archivos"
89
90#: app.py:457
91msgid "contexts"
92msgstr "contextos"
93
94#: app.py:468
95msgid "browsing %(total)s %(label)s"
96msgstr "navegando por %(total)s %(label)s"
97
7598#: env.py:22
7699msgid "start web application to serve Sugar Network content"
77100msgstr ""
108108msgstr ""
109109
110110#: templates/_context-comment-list.html:9
111#: templates/_context-resource-list.html:31
112#: templates/_context-review-list.html:14
111#: templates/_context-resource-list.html:36
112#: templates/_context-review-list.html:21
113113#: templates/_context-solution-list.html:12
114#: templates/_context-solution-list.html:52 templates/_resource-list.html:25
114#: templates/_context-solution-list.html:52 templates/_resource-list.html:31
115115#, python-format
116116msgid "by %(author)s on %(date)s"
117117msgstr "por %(author)s el %(date)s"
120120msgid "comment"
121121msgstr "comentar"
122122
123#: templates/_context-resource-list.html:40 templates/_resource-list.html:43
123#: templates/_context-resource-list.html:45 templates/_resource-list.html:49
124124msgid "followers"
125125msgstr "seguidores"
126126
127#: templates/_context-resource-list.html:43 templates/_resource-list.html:46
127#: templates/_context-resource-list.html:48 templates/_resource-list.html:52
128128msgid "comments"
129129msgstr "comentarios"
130130
131#: templates/_context-resource-list.html:46 templates/_resource-list.html:49
131#: templates/_context-resource-list.html:51 templates/_resource-list.html:55
132132msgid "solutions"
133133msgstr "soluciones"
134134
135#: templates/_context-resource-list.html:54
135#: templates/_context-resource-list.html:59
136136#, python-format
137137msgid ""
138138"No %(resource)s have been shared yet for this context.<br><br>Be the "
141141"Aún no se han compartido %(resource)s en este contexto.<br><br>¡Se el "
142142"primero en contribuír con la comunidad!"
143143
144#: templates/_context-review-list.html:3
144#: templates/_context-review-list.html:5
145msgid "contribute a review"
146msgstr "contribuir una reseña"
147
148#: templates/_context-review-list.html:10
145149#: templates/_context-solution-list.html:41
146150#, python-format
147151msgid ""
155155"Aún no se han compartido %(resource)s en este contexto.<br><br>¡Se el "
156156"primero en compartir con la comunidad!"
157157
158#: templates/_context-review-list.html:52
159msgid "contribute a review"
160msgstr "contribuir una reseña"
161
162158#: templates/_context-solution-list.html:89
163159msgid "contribute a solution"
164160msgstr "contribuir una solución"
163163msgid "Welcome to Sugar Network"
164164msgstr "Bienvenido(a) a Red Azúcar"
165165
166#: templates/base.html:63 templates/base.html:192
166#: templates/base.html:63 templates/base.html:218
167167#: templates/resource-form.html:5
168168msgid "Improve the system"
169169msgstr "Mejorar el sistema"
170170
171#: templates/base.html:63 templates/base.html:192
171#: templates/base.html:63 templates/base.html:218
172172msgid "Sugar Network"
173173msgstr "Red Azúcar"
174174
175#: templates/base.html:71 templates/resource-form.html:21
175#: templates/base.html:71 templates/base.html:129
176#: templates/resource-form.html:21
176177msgid "Title"
177178msgstr "Título"
178179
179#: templates/base.html:79 templates/resource-form.html:25
180#: templates/base.html:79
181msgid "Summary"
182msgstr "Resumen"
183
184#: templates/base.html:83 templates/base.html:130
185#: templates/resource-form.html:25
180186msgid "Details"
181187msgstr "Detalles"
182188
183#: templates/base.html:105
189#: templates/base.html:118
184190msgid "Create new context"
185191msgstr "Crear nuevo contexto"
186192
187#: templates/base.html:145
193#: templates/base.html:119
194msgid "Name"
195msgstr "Nombre"
196
197#: templates/base.html:120
198msgid "Article (optional)"
199msgstr "Artículo (opcional)"
200
201#: templates/base.html:171
188202msgid "Edit resource"
189203msgstr "Editar recurso"
190204
235235msgid "Context"
236236msgstr "Contexto"
237237
238#: templates/resource-list.html:16 templates/toolbar.html:40
239#: templates/toolbar.html:68
240msgid "Work in progress."
241msgstr "En construcción."
242
238243#: templates/toolbar.html:3
239244msgid "Atrás"
240245msgstr ""
241246
242#: templates/toolbar.html:43
243msgid "Work in progress."
244msgstr "En construcción."
247#: templates/toolbar.html:38
248msgid "Applications"
249msgstr "Aplicaciones"
250
251#: templates/toolbar.html:39
252msgid "Activities"
253msgstr "Actividades"
254
255#: templates/toolbar.html:41
256msgid "Files"
257msgstr "Archivos"
258
259#: templates/toolbar.html:42
260msgid "Articles"
261msgstr "Artículos"
262
263#: templates/toolbar.html:44 templates/toolbar.html:83
264msgid "All"
265msgstr "Todo"
266
267#: templates/toolbar.html:78
268msgid "Questions"
269msgstr "Preguntas"
270
271#: templates/toolbar.html:79
272msgid "Ideas"
273msgstr "Ideas"
274
275#: templates/toolbar.html:80
276msgid "Problems"
277msgstr "Problemas"
278
279#: templates/toolbar.html:81
280msgid "Reviews"
281msgstr "Reseñas"
282
283#~ msgid "browsing %(total)s contexts"
284#~ msgstr "navegando por %(total)s contextos"