File tree Expand file tree Collapse file tree 11 files changed +45
-48
lines changed
ej_clusters/jinja2/ej_clusters
ej_rocketchat/jinja2/ej_rocketchat Expand file tree Collapse file tree 11 files changed +45
-48
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,10 @@ known_first_party=ej
18
18
multi_line_output =3
19
19
default_section =THIRDPARTY
20
20
21
- [* .{html,json,yml} ]
21
+ [* .{html,json,yml,jinja2 } ]
22
22
indent_style = space
23
- indent_size = 2
23
+ indent_size = 4
24
+ line_length = 150
24
25
25
26
[* .{css,scss} ]
26
27
indent_style = space
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ msgstr ""
3
3
"Project-Id-Version : ej\n "
4
4
"Report-Msgid-Bugs-To : \n "
5
5
"POT-Creation-Date : 2019-07-14 18:19-0300\n "
6
- "PO-Revision-Date : 2019-07-14 18:21 -0300\n "
6
+ "PO-Revision-Date : 2019-07-23 14:34 -0300\n "
7
7
"
Last-Translator :
Fábio Mendes <[email protected] >\n "
8
8
"Language-Team : Brazilian Portuguese\n "
9
9
"Language : pt_BR\n "
@@ -1591,7 +1591,7 @@ msgstr "EJ - Uma plataforma de participação social."
1591
1591
1592
1592
#: src/ej/templates/jinja2/pages/home.jinja2:14
1593
1593
msgid "Create opinion surveys"
1594
- msgstr "Crie consultas de opinião. "
1594
+ msgstr "Crie consultas de opinião"
1595
1595
1596
1596
#: src/ej/templates/jinja2/pages/home.jinja2:15
1597
1597
msgid "Try it now!"
@@ -2322,7 +2322,7 @@ msgstr "Participar"
2322
2322
2323
2323
#: src/ej_profiles/jinja2/ej_profiles/contributions.jinja2:71
2324
2324
msgid "Empty."
2325
- msgstr "Esvaziar ."
2325
+ msgstr "Vazio ."
2326
2326
2327
2327
#: src/ej_profiles/jinja2/ej_profiles/detail.jinja2:5
2328
2328
msgid "Info"
Original file line number Diff line number Diff line change 28
28
{% else %}
29
29
<div class =" pad-x3 rounded-3 color-negative border-1" >
30
30
<h2 class =" h3 center" >{{ _('Error') }}</h2 >
31
- <p class =" center" >{% trans %} Could not determine the opinion groups for this
32
- conversation.{% endtrans %} </p >
31
+ <p class =" center" >{{ _('Could not determine the opinion groups for this conversation.') }}</p >
33
32
</div >
34
33
{% if has_edit_perm %}
35
- <p class =" center margin-3" >{% trans link =edit_link %} You can edit the clusterization options for this
36
- conversation {{ link }}.{% endtrans %} </p >
34
+ <p class =" center margin-3" >
35
+ {% trans link =edit_link %} You can edit the clusterization options for this conversation {{ link }}.{% endtrans %}
36
+ </p >
37
37
{% endif %}
38
38
{% endif %}
39
39
{% endblock %}
Original file line number Diff line number Diff line change 5
5
<h3 >{% trans %} Ooops!{% endtrans %} </h3 >
6
6
<p >{% trans %} You reached the limit of comments in this conversation.{% endtrans %} </p >
7
7
{% else %}
8
- <p >{% trans %} Include something new and avoid similar opinions. You can post up to
9
- <span class =" text-accent" >{{ n_comments }}</span > comments.{% endtrans %} </p >
8
+ <p >{% trans %} Include something new and avoid similar opinions.{% endtrans %}
9
+ {% trans %} You can post up to <span class =" text-accent" >{{ n_comments }}</span > comments.{% endtrans %} </p >
10
10
<form method =" post" up-target =" {{ target or 'main' }}" up-transition =" move-to-right/fade-in" >
11
11
{{ csrf_input }}
12
12
<input type =" hidden" name =" action" value =" comment" >
13
- {{ form.non_field_errors()}}
13
+ {{ form.non_field_errors() }}
14
14
{{ form.content.errors }}
15
15
{{ form.content }}
16
16
<div class =" comment-form__count" ><span >0</span > / 240</div >
Original file line number Diff line number Diff line change 23
23
{# ADD COMMENTS #}
24
24
<h1 class =" h2 text-accent center" >{{ _('Initial comments') }}</h1 >
25
25
<p class =" center" >
26
- {% trans %} Add as many comments as you like (including none).{% endtrans %} {{ ' ' }}
27
- {% trans %} Remember to give a minimum context and something for other users to
28
- explore.{% endtrans %} {{ ' ' }}
29
- {% trans %} You can add as many comments as you want later.{% endtrans %}
26
+ {{ _('Add as many comments as you like (including none).') }}{{ ' ' }}
27
+ {{ _('Remember to give a minimum context and something for other users to explore.') }}{{ ' ' }}
28
+ {{ _('You can add as many comments as you want later.') }}
30
29
</p >
31
30
<input type =" hidden" name =" comments_count" value =" 3" >
32
31
<div id =" comment-list" >
Original file line number Diff line number Diff line change 14
14
{% if conversation .is_hidden %}
15
15
<div class =" color-negative margin-3 pad-x3 pad-y2 rounded-3 center" >
16
16
<h2 >{{ _('Warning!') }}</h2 >
17
- <p >{% trans here = edit_link () %} This conversation is hidden. Click {{ here }} to edit and make it visible
18
- again.{% endtrans %} </p >
17
+ <p >{% trans %} This conversation is hidden.{% endtrans %}
18
+ {% trans here = edit_link () %} Click {{ here }} to edit and make it visible again.{% endtrans %} </p >
19
19
</div >
20
20
21
21
{% else %}
Original file line number Diff line number Diff line change 4
4
5
5
{% block content %}
6
6
{{ conversation|role('balloon', actions=False) }}
7
- <p ><a href =" {{ conversation.get_absolute_url() }}" title =" {{ _('Back to conversation') }}" class =" lowercase bold text-brand" >
7
+ <p ><a href =" {{ conversation.get_absolute_url() }}" title =" {{ _('Back to conversation') }}"
8
+ class =" lowercase bold text-brand" >
8
9
<i class =" fa fa-chevron-left" ></i >{% trans %} Back to conversation{% endtrans %}
9
10
</a ></p >
10
11
<h1 class =" h2 text-accent center" >{{ _('Comments') }}</h1 >
26
27
27
28
{% if comments %}
28
29
<p class =" margin-t3" >
29
- {% trans count =n , n =n_strong %} Found {{ n }} comment.
30
- {% pluralize %} Found {{ n }} comments.{% endtrans %}
30
+ {% trans count =n , n =n_strong %} Found {{ n }} comment.{% endtrans %}
31
+ {% trans count = n , n = n_strong %} {% pluralize %} Found {{ n }} comments.{% endtrans %}
31
32
</p >
32
33
33
34
{# Rejection reason form #}
Original file line number Diff line number Diff line change 5
5
{% block content %}
6
6
<div class =" measure margin-xauto margin-t3" >
7
7
<h1 class =" h2 text-accent" >{{ _('Administrative login') }}</h1 >
8
- <p >{% trans %} Administrative users do not have user accounts in Rocket.Chat. Instead, they all control
9
- the common administrative account for Rocket.Chat.{% endtrans %} </p >
8
+ <p >{% trans %} Administrative users do not have user accounts in Rocket.Chat.{% endtrans %}
9
+ {% trans %} Instead, they all control the common administrative account for Rocket.Chat.{% endtrans %} </p >
10
10
<h2 class =" h3 text-accent" >{{ _('Login') }}</h2 >
11
11
<p >{{ _('Please type the Rocket.Chat admin password') }}</p >
12
12
<form method =" post" >
16
16
</form >
17
17
18
18
<h2 class =" h3 text-accent" >{{ _('Configuration') }}</h2 >
19
- <p >{% trans %} You can make the home page point to /talks/intro/ by copying the following fragment
20
- into Rocket.Chat's <em >Administration > Layout > Content</em > panel.{% endtrans %} </p >
19
+ <p >{{ _("You can make the home page point to <code>/talks/intro/</code> by copying the following fragment into Rocket.Chat's <em>Administration > Layout > Content</em> panel.") }}</p >
21
20
<pre ><code >{{ "".__class__(code())|e }}</code ></pre >
22
21
</div >
23
22
{% endblock %}
24
23
25
24
26
25
{% macro code () %}
27
- <!DOCTYPE html>
28
- <html lang =" pt-br" >
29
- <style >
30
- iframe {
31
- width : 100% ;
32
- height : 100vh ;
33
- }
26
+ <!DOCTYPE html>
27
+ <html lang =" pt-br" >
28
+ <style >
29
+ iframe {
30
+ width : 100% ;
31
+ height : 100vh ;
32
+ }
34
33
35
- .content {
36
- margin : 0 !important ;
37
- padding : 0 !important ;
38
- }
39
- </style >
40
- <body >
41
- <iframe src =" {{ base_url }}{{ url('rocket:intro') }}" >
42
- Bem vindos ao EJ!
43
- </iframe >
44
- </body >
45
- </html >
34
+ .content {
35
+ margin : 0 !important ;
36
+ padding : 0 !important ;
37
+ }
38
+ </style >
39
+ <body >
40
+ <iframe src =" {{ base_url }}{{ url('rocket:intro') }}" >
41
+ Bem vindos ao EJ!
42
+ </iframe >
43
+ </body >
44
+ </html >
46
45
{% endmacro %}
Original file line number Diff line number Diff line change 6
6
{% block content %}
7
7
<div class =" measure margin-xauto margin-t3" >
8
8
<h1 class =" h2 text-accent" >{{ _('Rocket.Chat user name') }}</h1 >
9
- <p >{% trans %} You need a unique username to use the Rocket.Chat panel.
10
- Please select the username and we will create an account for you.
11
- {% endtrans %} </p >
9
+ <p >{{ _('You need a unique username to use the Rocket.Chat panel. Please select the username and we will create an account for you.') }}</p >
12
10
<form method =" post" >
13
11
{{ csrf_input }}
14
12
{{ form.as_p() }}
You can’t perform that action at this time.
0 commit comments