Commit 33b19a450fd1460bd3f24d380b6107fb7ef2407a
1 parent
6b44b1e6
Exists in
master
and in
3 other branches
Ajustes na web conferencia
Showing
6 changed files
with
22 additions
and
21 deletions
Show diff stats
amadeus/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-22 17:37-0300\n" | 11 | +"POT-Creation-Date: 2017-03-23 13:53-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" |
@@ -87,8 +87,10 @@ msgid "Theme" | @@ -87,8 +87,10 @@ msgid "Theme" | ||
87 | msgstr "Temas" | 87 | msgstr "Temas" |
88 | 88 | ||
89 | #: amadeus/templates/base.html:179 | 89 | #: amadeus/templates/base.html:179 |
90 | -msgid "Web Conference Settings" | ||
91 | -msgstr "Configurações da Web conferência" | 90 | +#, fuzzy |
91 | +#| msgid "Web Conference Settings" | ||
92 | +msgid "Web Conference" | ||
93 | +msgstr "Web conferência" | ||
92 | 94 | ||
93 | #: amadeus/templates/base.html:199 amadeus/templates/base.html:254 | 95 | #: amadeus/templates/base.html:199 amadeus/templates/base.html:254 |
94 | msgid "Subjects" | 96 | msgid "Subjects" |
amadeus/templates/base.html
@@ -176,7 +176,7 @@ | @@ -176,7 +176,7 @@ | ||
176 | <li><a href="{% url 'mailsender:update' %}">{% trans 'Mail Sender' %}</a></li> | 176 | <li><a href="{% url 'mailsender:update' %}">{% trans 'Mail Sender' %}</a></li> |
177 | <li><a href="{% url 'security:update' %}">{% trans 'Security' %}</a></li> | 177 | <li><a href="{% url 'security:update' %}">{% trans 'Security' %}</a></li> |
178 | <li><a href="{% url 'themes:manage' %}">{% trans 'Theme' %}</a></li> | 178 | <li><a href="{% url 'themes:manage' %}">{% trans 'Theme' %}</a></li> |
179 | - <li><a href="{% url 'webconferences:settings' %}">{% trans 'Web Conference Settings' %}</a></li> | 179 | + <li><a href="{% url 'webconferences:settings' %}">{% trans 'Web Conference' %}</a></li> |
180 | </ul> | 180 | </ul> |
181 | </div> | 181 | </div> |
182 | </div> | 182 | </div> |
webconference/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-22 17:37-0300\n" | 11 | +"POT-Creation-Date: 2017-03-23 13:53-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" |
@@ -62,7 +62,6 @@ msgid "End date/hour" | @@ -62,7 +62,6 @@ msgid "End date/hour" | ||
62 | msgstr "Data/hora de termino" | 62 | msgstr "Data/hora de termino" |
63 | 63 | ||
64 | #: webconference/models.py:13 | 64 | #: webconference/models.py:13 |
65 | -#: webconference/templates/webconference/jitsi.html:6 | ||
66 | msgid "Web Conference" | 65 | msgid "Web Conference" |
67 | msgstr "Web Conferência" | 66 | msgstr "Web Conferência" |
68 | 67 | ||
@@ -122,7 +121,7 @@ msgid "Settings: Conference" | @@ -122,7 +121,7 @@ msgid "Settings: Conference" | ||
122 | msgstr "Configurações: Web Conferência" | 121 | msgstr "Configurações: Web Conferência" |
123 | 122 | ||
124 | #: webconference/templates/webconference/create.html:20 | 123 | #: webconference/templates/webconference/create.html:20 |
125 | -#: webconference/views.py:246 | 124 | +#: webconference/views.py:319 |
126 | msgid "Create Web Conference" | 125 | msgid "Create Web Conference" |
127 | msgstr "Criar Web Conferência" | 126 | msgstr "Criar Web Conferência" |
128 | 127 | ||
@@ -135,18 +134,18 @@ msgstr "Editar: " | @@ -135,18 +134,18 @@ msgstr "Editar: " | ||
135 | msgid "Participate" | 134 | msgid "Participate" |
136 | msgstr "Participar" | 135 | msgstr "Participar" |
137 | 136 | ||
138 | -#: webconference/views.py:49 | 137 | +#: webconference/views.py:48 webconference/views.py:93 |
139 | #, python-format | 138 | #, python-format |
140 | msgid "%s - Web Conference" | 139 | msgid "%s - Web Conference" |
141 | msgstr "%s - Web Conferência" | 140 | msgstr "%s - Web Conferência" |
142 | 141 | ||
143 | -#: webconference/views.py:175 webconference/views.py:187 | ||
144 | -#: webconference/views.py:306 webconference/views.py:308 | ||
145 | -#: webconference/views.py:324 webconference/views.py:326 | 142 | +#: webconference/views.py:247 webconference/views.py:259 |
143 | +#: webconference/views.py:377 webconference/views.py:379 | ||
144 | +#: webconference/views.py:395 webconference/views.py:397 | ||
146 | msgid "Visualize" | 145 | msgid "Visualize" |
147 | msgstr "Visualizar" | 146 | msgstr "Visualizar" |
148 | 147 | ||
149 | -#: webconference/views.py:257 | 148 | +#: webconference/views.py:330 |
150 | #, fuzzy, python-format | 149 | #, fuzzy, python-format |
151 | #| msgid "" | 150 | #| msgid "" |
152 | #| "The Web conference '%s' was added to the Topic '%s' of the virtual " | 151 | #| "The Web conference '%s' was added to the Topic '%s' of the virtual " |
@@ -158,17 +157,17 @@ msgstr "" | @@ -158,17 +157,17 @@ msgstr "" | ||
158 | "A web conferência '%s' foi adicionada ao tópico '%s' do ambiente virtual " | 157 | "A web conferência '%s' foi adicionada ao tópico '%s' do ambiente virtual " |
159 | "'%s' com sucesso!" | 158 | "'%s' com sucesso!" |
160 | 159 | ||
161 | -#: webconference/views.py:370 | 160 | +#: webconference/views.py:441 |
162 | msgid "Update Web Conference" | 161 | msgid "Update Web Conference" |
163 | msgstr "Atualizar a web conferência" | 162 | msgstr "Atualizar a web conferência" |
164 | 163 | ||
165 | -#: webconference/views.py:381 | 164 | +#: webconference/views.py:452 |
166 | #, fuzzy, python-format | 165 | #, fuzzy, python-format |
167 | #| msgid "Security settings updated successfully!" | 166 | #| msgid "Security settings updated successfully!" |
168 | msgid "The Web conference \"%s\" was updated successfully!" | 167 | msgid "The Web conference \"%s\" was updated successfully!" |
169 | msgstr "A web conferência '%s' foi atualizada com sucesso!" | 168 | msgstr "A web conferência '%s' foi atualizada com sucesso!" |
170 | 169 | ||
171 | -#: webconference/views.py:419 | 170 | +#: webconference/views.py:488 |
172 | #, python-format | 171 | #, python-format |
173 | msgid "" | 172 | msgid "" |
174 | "The web conference \"%s\" was removed successfully from virtual environment " | 173 | "The web conference \"%s\" was removed successfully from virtual environment " |
@@ -176,13 +175,13 @@ msgid "" | @@ -176,13 +175,13 @@ msgid "" | ||
176 | msgstr "" | 175 | msgstr "" |
177 | "A web conferência '%s' foi removida com sucesso do ambiente virtual '%s'!" | 176 | "A web conferência '%s' foi removida com sucesso do ambiente virtual '%s'!" |
178 | 177 | ||
179 | -#: webconference/views.py:453 | 178 | +#: webconference/views.py:522 |
180 | #, fuzzy | 179 | #, fuzzy |
181 | #| msgid "Security settings updated successfully!" | 180 | #| msgid "Security settings updated successfully!" |
182 | msgid "Conference settings updated successfully!" | 181 | msgid "Conference settings updated successfully!" |
183 | msgstr "Configurações de segurança atualizadas com sucesso!" | 182 | msgstr "Configurações de segurança atualizadas com sucesso!" |
184 | 183 | ||
185 | -#: webconference/views.py:460 | 184 | +#: webconference/views.py:529 |
186 | #, fuzzy | 185 | #, fuzzy |
187 | #| msgid "Conference Setting" | 186 | #| msgid "Conference Setting" |
188 | msgid "Web Conference Settings" | 187 | msgid "Web Conference Settings" |
webconference/templates/webconference/jitsi.html
@@ -60,7 +60,7 @@ | @@ -60,7 +60,7 @@ | ||
60 | var repeater = setInterval(function () { | 60 | var repeater = setInterval(function () { |
61 | $.ajax({ | 61 | $.ajax({ |
62 | method: "GET", | 62 | method: "GET", |
63 | - url: "{% url 'webconferences:participando'%}", | 63 | + url: "{% url 'webconferences:participating'%}", |
64 | dataType: 'json', | 64 | dataType: 'json', |
65 | data: {'slug':'{{name_room}}'}, | 65 | data: {'slug':'{{name_room}}'}, |
66 | success: function(response) { | 66 | success: function(response) { |
webconference/urls.py
@@ -12,6 +12,6 @@ urlpatterns = [ | @@ -12,6 +12,6 @@ urlpatterns = [ | ||
12 | url(r'^view/(?P<slug>[\w_-]+)/$', views.InsideView.as_view(), name = 'view'), | 12 | url(r'^view/(?P<slug>[\w_-]+)/$', views.InsideView.as_view(), name = 'view'), |
13 | url(r'^conference/(?P<slug>[\w_-]+)/$',views.Conference.as_view(), name = 'conference'), | 13 | url(r'^conference/(?P<slug>[\w_-]+)/$',views.Conference.as_view(), name = 'conference'), |
14 | url(r'^finish/$',views.finish, name = 'exit'), | 14 | url(r'^finish/$',views.finish, name = 'exit'), |
15 | - url(r'^participando/$',views.participando, name = 'participando'), | 15 | + url(r'^participating/$',views.participating, name = 'participating'), |
16 | url(r'^settings/$', views.ConferenceSettings.as_view(), name = 'settings'), | 16 | url(r'^settings/$', views.ConferenceSettings.as_view(), name = 'settings'), |
17 | ] | 17 | ] |
webconference/views.py
@@ -120,8 +120,8 @@ class Conference(LoginRequiredMixin,LogMixin,generic.TemplateView): | @@ -120,8 +120,8 @@ class Conference(LoginRequiredMixin,LogMixin,generic.TemplateView): | ||
120 | 120 | ||
121 | return context | 121 | return context |
122 | 122 | ||
123 | -@log_decorator('resources', 'participando', 'webconference') | ||
124 | -def participando(request): | 123 | +@log_decorator('resources', 'participating', 'webconference') |
124 | +def participating(request): | ||
125 | webconference = get_object_or_404(Webconference, slug = request.GET['slug']) | 125 | webconference = get_object_or_404(Webconference, slug = request.GET['slug']) |
126 | log_context = {} | 126 | log_context = {} |
127 | log_context['category_id'] = webconference.topic.subject.category.id | 127 | log_context['category_id'] = webconference.topic.subject.category.id |