Commit 1ba9511f772ad7a5757d927c2a6f248b6466ec46
1 parent
3e73e4fd
Exists in
master
and in
3 other branches
Fixing some translations issues in categories
Showing
2 changed files
with
53 additions
and
58 deletions
Show diff stats
categories/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-03-09 17:01-0300\n" | 11 | +"POT-Creation-Date: 2017-03-21 23:06-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
@@ -18,146 +18,144 @@ msgstr "" | @@ -18,146 +18,144 @@ msgstr "" | ||
18 | "Content-Transfer-Encoding: 8bit\n" | 18 | "Content-Transfer-Encoding: 8bit\n" |
19 | "Plural-Forms: nplurals=2; plural=(n > 1);\n" | 19 | "Plural-Forms: nplurals=2; plural=(n > 1);\n" |
20 | 20 | ||
21 | -#: categories/forms.py:23 | 21 | +#: .\forms.py:23 |
22 | msgid "There is another category with this name, try another one." | 22 | msgid "There is another category with this name, try another one." |
23 | msgstr "" | 23 | msgstr "" |
24 | 24 | ||
25 | -#: categories/models.py:9 | 25 | +#: .\models.py:9 |
26 | msgid "Name" | 26 | msgid "Name" |
27 | msgstr "Nome" | 27 | msgstr "Nome" |
28 | 28 | ||
29 | -#: categories/models.py:10 | 29 | +#: .\models.py:10 |
30 | msgid "Slug" | 30 | msgid "Slug" |
31 | msgstr "Slug" | 31 | msgstr "Slug" |
32 | 32 | ||
33 | -#: categories/models.py:11 | 33 | +#: .\models.py:11 |
34 | msgid "description" | 34 | msgid "description" |
35 | msgstr "Descrição" | 35 | msgstr "Descrição" |
36 | 36 | ||
37 | -#: categories/models.py:12 | 37 | +#: .\models.py:12 |
38 | msgid "visible" | 38 | msgid "visible" |
39 | msgstr "Visível" | 39 | msgstr "Visível" |
40 | 40 | ||
41 | -#: categories/models.py:14 | 41 | +#: .\models.py:14 |
42 | msgid "Creation Date" | 42 | msgid "Creation Date" |
43 | msgstr "Data de criação" | 43 | msgstr "Data de criação" |
44 | 44 | ||
45 | -#: categories/models.py:15 | 45 | +#: .\models.py:15 |
46 | msgid "Modified Date" | 46 | msgid "Modified Date" |
47 | msgstr "Data de modificação" | 47 | msgstr "Data de modificação" |
48 | 48 | ||
49 | -#: categories/models.py:19 | 49 | +#: .\models.py:19 |
50 | msgid "Category" | 50 | msgid "Category" |
51 | msgstr "Categoria" | 51 | msgstr "Categoria" |
52 | 52 | ||
53 | -#: categories/models.py:20 categories/views.py:49 | 53 | +#: .\models.py:20 .\views.py:49 |
54 | msgid "Categories" | 54 | msgid "Categories" |
55 | msgstr "Categorias" | 55 | msgstr "Categorias" |
56 | 56 | ||
57 | -#: categories/templates/categories/_form.html:21 | ||
58 | -msgid "Atribute coordinators role to users" | ||
59 | -msgstr "Atribuir perfil de coordenadores a usuários" | 57 | +#: .\templates\categories\_form.html:14 |
58 | +msgid "Coordinators" | ||
59 | +msgstr "Coordenadores" | ||
60 | 60 | ||
61 | -#: categories/templates/categories/_form.html:62 | 61 | +#: .\templates\categories\_form.html:21 |
62 | +msgid "Atribute coordinator role to users" | ||
63 | +msgstr "Atribua perfil de coordenador aos usuários" | ||
64 | + | ||
65 | +#: .\templates\categories\_form.html:67 | ||
62 | msgid "Save" | 66 | msgid "Save" |
63 | msgstr "Salvar" | 67 | msgstr "Salvar" |
64 | 68 | ||
65 | -#: categories/templates/categories/_form.html:68 | ||
66 | -#: categories/templates/categories/_form.html:69 | ||
67 | -msgid "try an username" | ||
68 | -msgstr "Tente um nome de usuário" | 69 | +#: .\templates\categories\_form.html:73 .\templates\categories\_form.html:74 |
70 | +msgid "search for an username" | ||
71 | +msgstr "pesquise por um nome de usuário" | ||
69 | 72 | ||
70 | -#: categories/templates/categories/category_card.html:18 | ||
71 | -#: categories/templates/categories/list.html:69 | ||
72 | -#: categories/templates/categories/list.html:114 | 73 | +#: .\templates\categories\category_card.html:18 |
74 | +#: .\templates\categories\list.html:69 .\templates\categories\list.html:114 | ||
73 | msgid "Replicate" | 75 | msgid "Replicate" |
74 | msgstr "Replicar" | 76 | msgstr "Replicar" |
75 | 77 | ||
76 | -#: categories/templates/categories/category_card.html:19 | ||
77 | -#: categories/templates/categories/home_admin_content.html:6 | ||
78 | -#: categories/templates/categories/list.html:73 | ||
79 | -#: categories/templates/categories/list.html:116 | 78 | +#: .\templates\categories\category_card.html:19 |
79 | +#: .\templates\categories\home_admin_content.html:6 | ||
80 | +#: .\templates\categories\list.html:73 .\templates\categories\list.html:116 | ||
80 | msgid "Edit" | 81 | msgid "Edit" |
81 | msgstr "Editar" | 82 | msgstr "Editar" |
82 | 83 | ||
83 | -#: categories/templates/categories/category_card.html:20 | ||
84 | -#: categories/templates/categories/list.html:74 | ||
85 | -#: categories/templates/categories/list.html:117 | 84 | +#: .\templates\categories\category_card.html:20 |
85 | +#: .\templates\categories\list.html:74 .\templates\categories\list.html:117 | ||
86 | msgid "Remove" | 86 | msgid "Remove" |
87 | msgstr "Remover" | 87 | msgstr "Remover" |
88 | 88 | ||
89 | -#: categories/templates/categories/category_card.html:26 | 89 | +#: .\templates\categories\category_card.html:26 |
90 | msgid "Are you sure you want to subscribe to this course?" | 90 | msgid "Are you sure you want to subscribe to this course?" |
91 | msgstr "Tem certeza que você deseja se inscrever neste curso?" | 91 | msgstr "Tem certeza que você deseja se inscrever neste curso?" |
92 | 92 | ||
93 | -#: categories/templates/categories/category_card.html:27 | 93 | +#: .\templates\categories\category_card.html:27 |
94 | msgid "Subscribe" | 94 | msgid "Subscribe" |
95 | msgstr "Inscrever-se" | 95 | msgstr "Inscrever-se" |
96 | 96 | ||
97 | -#: categories/templates/categories/delete.html:12 | 97 | +#: .\templates\categories\delete.html:12 |
98 | msgid "Are you sure you want to delete the category" | 98 | msgid "Are you sure you want to delete the category" |
99 | msgstr "Voce tem certeza que seja deletar esta categoria" | 99 | msgstr "Voce tem certeza que seja deletar esta categoria" |
100 | 100 | ||
101 | -#: categories/templates/categories/delete.html:12 | 101 | +#: .\templates\categories\delete.html:12 |
102 | msgid "All its data will be lost and can't be recovered" | 102 | msgid "All its data will be lost and can't be recovered" |
103 | msgstr "Todos os seus dados seråo perdido e não podem ser recuperados" | 103 | msgstr "Todos os seus dados seråo perdido e não podem ser recuperados" |
104 | 104 | ||
105 | -#: categories/templates/categories/delete.html:18 | 105 | +#: .\templates\categories\delete.html:18 |
106 | msgid "Close" | 106 | msgid "Close" |
107 | msgstr "Cancelar" | 107 | msgstr "Cancelar" |
108 | 108 | ||
109 | -#: categories/templates/categories/delete.html:19 | 109 | +#: .\templates\categories\delete.html:19 |
110 | msgid "Delete" | 110 | msgid "Delete" |
111 | msgstr "Deletar" | 111 | msgstr "Deletar" |
112 | 112 | ||
113 | -#: categories/templates/categories/home.html:26 | 113 | +#: .\templates\categories\home.html:26 |
114 | msgid "categories" | 114 | msgid "categories" |
115 | msgstr "Categorias" | 115 | msgstr "Categorias" |
116 | 116 | ||
117 | -#: categories/templates/categories/list.html:31 categories/views.py:106 | 117 | +#: .\templates\categories\list.html:31 .\views.py:106 |
118 | msgid "Create Category" | 118 | msgid "Create Category" |
119 | msgstr "Criar Categoria" | 119 | msgstr "Criar Categoria" |
120 | 120 | ||
121 | -#: categories/templates/categories/list.html:39 | 121 | +#: .\templates\categories\list.html:39 |
122 | msgid "My subjects" | 122 | msgid "My subjects" |
123 | msgstr "Meus assuntos" | 123 | msgstr "Meus assuntos" |
124 | 124 | ||
125 | -#: categories/templates/categories/list.html:40 | 125 | +#: .\templates\categories\list.html:40 |
126 | msgid "all subjects" | 126 | msgid "all subjects" |
127 | msgstr "Todos os assuntos" | 127 | msgstr "Todos os assuntos" |
128 | 128 | ||
129 | -#: categories/templates/categories/list.html:86 | ||
130 | -#: categories/templates/categories/list.html:129 | 129 | +#: .\templates\categories\list.html:86 .\templates\categories\list.html:129 |
131 | msgid "Coordinator(s) " | 130 | msgid "Coordinator(s) " |
132 | msgstr "Coordenador(es)" | 131 | msgstr "Coordenador(es)" |
133 | 132 | ||
134 | -#: categories/templates/categories/list.html:90 | ||
135 | -#: categories/templates/categories/list.html:133 | 133 | +#: .\templates\categories\list.html:90 .\templates\categories\list.html:133 |
136 | msgid "It doesn't possess coordinators" | 134 | msgid "It doesn't possess coordinators" |
137 | msgstr "Não possui coordenadores" | 135 | msgstr "Não possui coordenadores" |
138 | 136 | ||
139 | -#: categories/templates/categories/notifications_timeline.html:14 | 137 | +#: .\templates\categories\notifications_timeline.html:14 |
140 | msgid "at" | 138 | msgid "at" |
141 | msgstr "em" | 139 | msgstr "em" |
142 | 140 | ||
143 | -#: categories/templates/categories/notifications_timeline.html:15 | 141 | +#: .\templates\categories\notifications_timeline.html:15 |
144 | msgid "ago" | 142 | msgid "ago" |
145 | msgstr "atras" | 143 | msgstr "atras" |
146 | 144 | ||
147 | -#: categories/templates/categories/update.html:8 | 145 | +#: .\templates\categories\update.html:8 |
148 | msgid "Update: " | 146 | msgid "Update: " |
149 | msgstr "Editar: " | 147 | msgstr "Editar: " |
150 | 148 | ||
151 | -#: categories/views.py:104 | 149 | +#: .\views.py:104 |
152 | msgid "Replicate Category" | 150 | msgid "Replicate Category" |
153 | msgstr "Replicar Categoria" | 151 | msgstr "Replicar Categoria" |
154 | 152 | ||
155 | -#: categories/views.py:131 | 153 | +#: .\views.py:131 |
156 | #, python-format | 154 | #, python-format |
157 | msgid "Category \"%s\" register successfully!" | 155 | msgid "Category \"%s\" register successfully!" |
158 | msgstr "Categoria \"%s\" foi registrada com sucesso!" | 156 | msgstr "Categoria \"%s\" foi registrada com sucesso!" |
159 | 157 | ||
160 | -#: categories/views.py:167 | 158 | +#: .\views.py:167 |
161 | msgid "" | 159 | msgid "" |
162 | "The category cannot be removed, it contains one or more virtual enviroments " | 160 | "The category cannot be removed, it contains one or more virtual enviroments " |
163 | "attach." | 161 | "attach." |
@@ -165,19 +163,16 @@ msgstr "" | @@ -165,19 +163,16 @@ msgstr "" | ||
165 | "A categoria não pode ser removida, ela contém um ou mais ambientes virtuais " | 163 | "A categoria não pode ser removida, ela contém um ou mais ambientes virtuais " |
166 | "vinculados." | 164 | "vinculados." |
167 | 165 | ||
168 | -#: categories/views.py:180 | 166 | +#: .\views.py:180 |
169 | #, python-format | 167 | #, python-format |
170 | msgid "Category \"%s\" removed successfully!" | 168 | msgid "Category \"%s\" removed successfully!" |
171 | msgstr "Categoria \"%s\" removida com sucesso!" | 169 | msgstr "Categoria \"%s\" removida com sucesso!" |
172 | 170 | ||
173 | -#: categories/views.py:208 | 171 | +#: .\views.py:208 |
174 | #, python-format | 172 | #, python-format |
175 | msgid "Category \"%s\" updated successfully!" | 173 | msgid "Category \"%s\" updated successfully!" |
176 | msgstr "Categoria \"%s\" atualizada com sucesso!" | 174 | msgstr "Categoria \"%s\" atualizada com sucesso!" |
177 | 175 | ||
178 | -#: categories/views.py:224 | 176 | +#: .\views.py:224 |
179 | msgid "Update Category" | 177 | msgid "Update Category" |
180 | msgstr "Atualizar Categoria" | 178 | msgstr "Atualizar Categoria" |
181 | - | ||
182 | -#~ msgid "coordinators" | ||
183 | -#~ msgstr "Coordenadores" |
categories/templates/categories/_form.html
@@ -11,14 +11,14 @@ | @@ -11,14 +11,14 @@ | ||
11 | <div class="col-md-12"> | 11 | <div class="col-md-12"> |
12 | <a data-parent="#coordinators_accordion" data-toggle="collapse" href="#coords"> | 12 | <a data-parent="#coordinators_accordion" data-toggle="collapse" href="#coords"> |
13 | <h4 class="panel-title"> | 13 | <h4 class="panel-title"> |
14 | - <button class="btn btn-default btn-xs text-center cat-selector"><i class="fa fa-angle-right fa-2x" aria-hidden="true"></i></button><label for="{{ field.auto_id }}">{{ field.label }}</label> | 14 | + <button class="btn btn-default btn-xs text-center cat-selector"><i class="fa fa-angle-right fa-2x" aria-hidden="true"></i></button><label for="{{ field.auto_id }}">{% trans 'Coordinators' %}</label> |
15 | </h4> | 15 | </h4> |
16 | </a> | 16 | </a> |
17 | </div> | 17 | </div> |
18 | </div> | 18 | </div> |
19 | </div> | 19 | </div> |
20 | <div id="coords" class="panel-collapse collapse"> | 20 | <div id="coords" class="panel-collapse collapse"> |
21 | - <p><em>{% trans 'Atribute coordinators role to users' %}:</em></p> | 21 | + <p><em>{% trans 'Atribute coordinator role to users' %}:</em></p> |
22 | {% render_field field class='form-control' %} | 22 | {% render_field field class='form-control' %} |
23 | </div> | 23 | </div> |
24 | </div> | 24 | </div> |
@@ -70,8 +70,8 @@ | @@ -70,8 +70,8 @@ | ||
70 | 70 | ||
71 | <script type="text/javascript"> | 71 | <script type="text/javascript"> |
72 | $('#id_coordinators').multiSelect({ | 72 | $('#id_coordinators').multiSelect({ |
73 | - selectableHeader: "<input type='text' class='form-control search-input category-search-users' autocomplete='off' placeholder='{% trans "try an username" %} '>", | ||
74 | - selectionHeader: "<input type='text' class='form-control search-input category-search-users' autocomplete='off' placeholder='{% trans "try an username" %} '>", | 73 | + selectableHeader: "<input type='text' class='form-control search-input category-search-users' autocomplete='off' placeholder='{% trans "search for an username" %} '>", |
74 | + selectionHeader: "<input type='text' class='form-control search-input category-search-users' autocomplete='off' placeholder='{% trans "search for an username" %} '>", | ||
75 | afterInit: function(ms){ | 75 | afterInit: function(ms){ |
76 | var that = this, | 76 | var that = this, |
77 | $selectableSearch = that.$selectableUl.prev(), | 77 | $selectableSearch = that.$selectableUl.prev(), |