diff --git a/amadeus/locale/pt_BR/LC_MESSAGES/django.po b/amadeus/locale/pt_BR/LC_MESSAGES/django.po index 3dd7484..fb782f7 100644 --- a/amadeus/locale/pt_BR/LC_MESSAGES/django.po +++ b/amadeus/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-01-19 14:46-0300\n" +"POT-Creation-Date: 2017-01-24 15:26-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,79 +18,79 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: amadeus/templates/base.html:90 +#: amadeus/templates/base.html:82 msgid "Search for subjects and resources" msgstr "Buscar por assuntos ou recursos" -#: amadeus/templates/base.html:102 +#: amadeus/templates/base.html:94 msgid "settings" msgstr "configurações" -#: amadeus/templates/base.html:105 +#: amadeus/templates/base.html:97 msgid "Settings" msgstr "Configurações" -#: amadeus/templates/base.html:108 +#: amadeus/templates/base.html:100 msgid "Manage Users" msgstr "Gerenciar Usuários" -#: amadeus/templates/base.html:109 +#: amadeus/templates/base.html:101 msgid "Manage Categories" msgstr "Gerenciar Categorias" -#: amadeus/templates/base.html:116 +#: amadeus/templates/base.html:108 msgid "System" msgstr "Sistema" -#: amadeus/templates/base.html:123 +#: amadeus/templates/base.html:115 msgid "Mail Sender" msgstr "Remetente de Email" -#: amadeus/templates/base.html:124 +#: amadeus/templates/base.html:116 msgid "Security" msgstr "Segurança" -#: amadeus/templates/base.html:125 +#: amadeus/templates/base.html:117 msgid "Theme" msgstr "Temas" -#: amadeus/templates/base.html:142 +#: amadeus/templates/base.html:134 msgid "Profile" msgstr "Perfil" -#: amadeus/templates/base.html:143 +#: amadeus/templates/base.html:135 msgid "Edit Profile" msgstr "Editar Perfil" -#: amadeus/templates/base.html:144 +#: amadeus/templates/base.html:136 msgid "Change Password" msgstr "Alterar Senha" -#: amadeus/templates/base.html:145 +#: amadeus/templates/base.html:137 msgid "Delete Account" msgstr "Remover Conta" -#: amadeus/templates/base.html:146 +#: amadeus/templates/base.html:138 msgid "Logout" msgstr "Sair" -#: amadeus/templates/base.html:159 amadeus/templates/base.html:203 +#: amadeus/templates/base.html:151 amadeus/templates/base.html:195 msgid "Subjects" msgstr "Assuntos" -#: amadeus/templates/base.html:164 amadeus/templates/base.html:208 +#: amadeus/templates/base.html:156 amadeus/templates/base.html:200 msgid "Timeline" msgstr "Timeline" -#: amadeus/templates/base.html:167 amadeus/templates/base.html:211 +#: amadeus/templates/base.html:159 amadeus/templates/base.html:203 msgid "Messages" msgstr "Mensagens" -#: amadeus/templates/base.html:170 amadeus/templates/base.html:214 +#: amadeus/templates/base.html:162 amadeus/templates/base.html:206 msgid "Pendencias" msgstr "Pendências" -#: amadeus/templates/base.html:173 amadeus/templates/base.html:217 +#: amadeus/templates/base.html:165 amadeus/templates/base.html:209 msgid "Analytics" msgstr "Analytics" diff --git a/amadeus/static/css/base/amadeus.css b/amadeus/static/css/base/amadeus.css index 00c1667..88b8dd8 100755 --- a/amadeus/static/css/base/amadeus.css +++ b/amadeus/static/css/base/amadeus.css @@ -771,6 +771,7 @@ a.add-row { .resource_list .list-group-item .list-group-item-heading { font-weight: 500; + font-size: 16px; } .resource_list .btn-group { diff --git a/amadeus/static/js/topics.js b/amadeus/static/js/topics.js index e033d28..3fa88aa 100644 --- a/amadeus/static/js/topics.js +++ b/amadeus/static/js/topics.js @@ -76,9 +76,9 @@ function delete_topic(url) { } $(".add_resource").on('show.bs.dropdown', function () { - $(this).find('i').switchClass("fa-angle-right", "fa-angle-down", 250, "easeInOutQuad"); + $(this).find('i.fa-angle-right').switchClass("fa-angle-right", "fa-angle-down", 250, "easeInOutQuad"); }); $(".add_resource").on('hide.bs.dropdown', function () { - $(this).find('i').switchClass("fa-angle-down", "fa-angle-right", 250, "easeInOutQuad"); + $(this).find('i.fa-angle-down').switchClass("fa-angle-down", "fa-angle-right", 250, "easeInOutQuad"); }); \ No newline at end of file diff --git a/categories/locale/pt_BR/LC_MESSAGES/django.po b/categories/locale/pt_BR/LC_MESSAGES/django.po index 97b2294..23e13ac 100644 --- a/categories/locale/pt_BR/LC_MESSAGES/django.po +++ b/categories/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-01-19 14:46-0300\n" +"POT-Creation-Date: 2017-01-24 15:26-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,6 +18,10 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" +#: categories/forms.py:23 +msgid "There is another category with this name, try another one." +msgstr "" + #: categories/models.py:9 msgid "Name" msgstr "Nome" @@ -157,7 +161,7 @@ msgstr "Replicar Categoria" msgid "Category \"%s\" register successfully!" msgstr "Categoria \"%s\" foi registrada com sucesso!" -#: categories/views.py:150 +#: categories/views.py:166 msgid "" "The category cannot be removed, it contains one or more virtual enviroments " "attach." @@ -165,16 +169,16 @@ msgstr "" "A categoria não pode ser removida, ela contém um ou mais ambientes virtuais " "vinculados." -#: categories/views.py:163 +#: categories/views.py:179 #, python-format msgid "Category \"%s\" removed successfully!" msgstr "Categoria \"%s\" removida com sucesso!" -#: categories/views.py:191 +#: categories/views.py:207 #, python-format msgid "Category \"%s\" updated successfully!" msgstr "Categoria \"%s\" atualizada com sucesso!" -#: categories/views.py:208 +#: categories/views.py:224 msgid "Update Category" msgstr "Atualizar Categoria" diff --git a/log/locale/pt_BR/LC_MESSAGES/django.po b/log/locale/pt_BR/LC_MESSAGES/django.po index 6a72849..245770f 100644 --- a/log/locale/pt_BR/LC_MESSAGES/django.po +++ b/log/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-01-19 14:46-0300\n" +"POT-Creation-Date: 2017-01-24 15:26-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/mailsender/locale/pt_BR/LC_MESSAGES/django.po b/mailsender/locale/pt_BR/LC_MESSAGES/django.po index e5d2c05..af2d709 100644 --- a/mailsender/locale/pt_BR/LC_MESSAGES/django.po +++ b/mailsender/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-01-19 14:46-0300\n" +"POT-Creation-Date: 2017-01-24 15:26-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/pendencies/locale/pt_BR/LC_MESSAGES/django.po b/pendencies/locale/pt_BR/LC_MESSAGES/django.po new file mode 100644 index 0000000..2f2dd93 --- /dev/null +++ b/pendencies/locale/pt_BR/LC_MESSAGES/django.po @@ -0,0 +1,87 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-24 15:26-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#: pendencies/forms.py:38 pendencies/forms.py:41 pendencies/forms.py:44 +msgid "This field is required." +msgstr "" + +#: pendencies/forms.py:49 +msgid "This input should be filled with a date equal or before the End Date." +msgstr "" + +#: pendencies/forms.py:50 +msgid "This input should be filled with a date equal or after the Begin Date." +msgstr "" + +#: pendencies/forms.py:57 pendencies/forms.py:67 +msgid "This input should be filled with a date equal or after today's date." +msgstr "" + +#: pendencies/forms.py:60 pendencies/forms.py:70 +msgid "" +"This input should be filled with a date equal or after the subject begin " +"date." +msgstr "" + +#: pendencies/forms.py:63 +msgid "" +"This input should be filled with a date equal or after the subject end date." +msgstr "" + +#: pendencies/forms.py:73 +msgid "" +"This input should be filled with a date equal or before the subject end date." +msgstr "" + +#: pendencies/models.py:8 +msgid "Action" +msgstr "" + +#: pendencies/models.py:8 +msgid "Visualize" +msgstr "" + +#: pendencies/models.py:8 +msgid "Create" +msgstr "" + +#: pendencies/models.py:8 +msgid "Answer" +msgstr "" + +#: pendencies/models.py:8 +msgid "Access" +msgstr "" + +#: pendencies/models.py:9 +msgid "Begin Date" +msgstr "" + +#: pendencies/models.py:10 +msgid "End Date" +msgstr "" + +#: pendencies/models.py:11 +msgid "Limit Date" +msgstr "" + +#: pendencies/models.py:12 +msgid "Resource" +msgstr "" diff --git a/security/locale/pt_BR/LC_MESSAGES/django.po b/security/locale/pt_BR/LC_MESSAGES/django.po index c27f663..5661812 100644 --- a/security/locale/pt_BR/LC_MESSAGES/django.po +++ b/security/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-01-19 14:46-0300\n" +"POT-Creation-Date: 2017-01-24 15:26-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/students_group/locale/pt_BR/LC_MESSAGES/django.po b/students_group/locale/pt_BR/LC_MESSAGES/django.po index 0fb7976..4190b50 100644 --- a/students_group/locale/pt_BR/LC_MESSAGES/django.po +++ b/students_group/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-01-19 14:46-0300\n" +"POT-Creation-Date: 2017-01-24 15:26-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/subjects/locale/pt_BR/LC_MESSAGES/django.po b/subjects/locale/pt_BR/LC_MESSAGES/django.po index 59741f1..a43eb5b 100644 --- a/subjects/locale/pt_BR/LC_MESSAGES/django.po +++ b/subjects/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-01-19 14:46-0300\n" +"POT-Creation-Date: 2017-01-24 15:26-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,8 +22,12 @@ msgstr "" msgid "Tags" msgstr "Tags" -#: subjects/forms.py:78 subjects/forms.py:87 subjects/forms.py:95 -#: subjects/forms.py:103 +#: subjects/forms.py:82 +msgid "There is another subject with this name, try another one." +msgstr "" + +#: subjects/forms.py:91 subjects/forms.py:100 subjects/forms.py:108 +#: subjects/forms.py:116 msgid "this date must be today or after" msgstr "Essa data deve ser hoje ou depois disso" @@ -111,12 +115,13 @@ msgstr "Deletar" msgid "Palavras-chave mais populares" msgstr "Palavras-chave mais populares" -#: subjects/templates/subjects/initial.html:29 +#: subjects/templates/subjects/initial.html:44 msgid "Meus Assuntos" msgstr "Meus Assuntos" -#: subjects/templates/subjects/initial.html:42 -#: subjects/templates/subjects/list.html:187 +#: subjects/templates/subjects/initial.html:57 +#: subjects/templates/subjects/list.html:186 +#: subjects/templates/subjects/list_search.html:59 msgid "You still do not posses any subject in our platform" msgstr "Você ainda não possui assuntos em nossa plataforma" @@ -131,92 +136,92 @@ msgid "All subjects" msgstr "Todos os assuntos" #: subjects/templates/subjects/list.html:75 -#: subjects/templates/subjects/list.html:142 -#: subjects/templates/subjects/subject_card.html:19 -#: subjects/templates/subjects/subject_card.html:83 -#: subjects/templates/subjects/view.html:49 +#: subjects/templates/subjects/list.html:140 +#: subjects/templates/subjects/subject_card.html:29 +#: subjects/templates/subjects/view.html:51 msgid "Replicate" msgstr "Replicar" #: subjects/templates/subjects/list.html:77 -#: subjects/templates/subjects/list.html:144 -#: subjects/templates/subjects/subject_card.html:20 -#: subjects/templates/subjects/subject_card.html:84 -#: subjects/templates/subjects/view.html:50 +#: subjects/templates/subjects/list.html:142 +#: subjects/templates/subjects/subject_card.html:31 +#: subjects/templates/subjects/view.html:53 msgid "Edit" msgstr "Editar" #: subjects/templates/subjects/list.html:79 -#: subjects/templates/subjects/list.html:145 -#: subjects/templates/subjects/subject_card.html:22 -#: subjects/templates/subjects/subject_card.html:85 -#: subjects/templates/subjects/view.html:52 +#: subjects/templates/subjects/list.html:143 +#: subjects/templates/subjects/subject_card.html:33 +#: subjects/templates/subjects/view.html:55 msgid "Remove" msgstr "Remover" -#: subjects/templates/subjects/list.html:95 -#: subjects/templates/subjects/list.html:160 +#: subjects/templates/subjects/list.html:97 +#: subjects/templates/subjects/list.html:161 msgid "Coordinator(s) " msgstr "Coordenador(es) " -#: subjects/templates/subjects/list.html:99 -#: subjects/templates/subjects/list.html:164 +#: subjects/templates/subjects/list.html:101 +#: subjects/templates/subjects/list.html:165 msgid "It doesn't possess coordinators" msgstr "Não possui coordenadores" -#: subjects/templates/subjects/list.html:105 -#: subjects/templates/subjects/list.html:170 +#: subjects/templates/subjects/list.html:107 +#: subjects/templates/subjects/list.html:171 msgid "Create new subject" msgstr "Criar novo assunto" -#: subjects/templates/subjects/subject_card.html:21 -#: subjects/templates/subjects/view.html:51 +#: subjects/templates/subjects/list_search.html:33 +#: subjects/templates/subjects/list_search.html:36 subjects/views.py:527 +#: subjects/views.py:534 +#, fuzzy +#| msgid "My Subjects" +msgid "Subjects" +msgstr "Meus assuntos" + +#: subjects/templates/subjects/list_search.html:34 +#: subjects/templates/subjects/list_search.html:37 +msgid "Resources" +msgstr "" + +#: subjects/templates/subjects/list_search.html:43 +msgid "Search results" +msgstr "" + +#: subjects/templates/subjects/subject_card.html:32 +#: subjects/templates/subjects/view.html:54 msgid "Groups" msgstr "Grupos" -#: subjects/templates/subjects/subject_card.html:37 -#: subjects/templates/subjects/subject_card.html:100 -#: subjects/templates/subjects/view.html:67 +#: subjects/templates/subjects/subject_card.html:48 msgid "Professor(s) " msgstr "Professor(es) " -#: subjects/templates/subjects/subject_card.html:41 -#: subjects/templates/subjects/subject_card.html:104 -#: subjects/templates/subjects/view.html:71 +#: subjects/templates/subjects/subject_card.html:52 msgid "It doesn't possess professors" msgstr "Não possui professores" -#: subjects/templates/subjects/subject_card.html:45 -#: subjects/templates/subjects/subject_card.html:108 -#: subjects/templates/subjects/view.html:75 +#: subjects/templates/subjects/subject_card.html:56 msgid "Beginning" msgstr "Início" -#: subjects/templates/subjects/subject_card.html:48 -#: subjects/templates/subjects/subject_card.html:111 -#: subjects/templates/subjects/view.html:78 +#: subjects/templates/subjects/subject_card.html:59 msgid "End" msgstr "Fim" -#: subjects/templates/subjects/subject_card.html:58 +#: subjects/templates/subjects/subject_card.html:69 msgid "Access Subject" msgstr "Acessar Assunto" -#: subjects/templates/subjects/subject_card.html:60 +#: subjects/templates/subjects/subject_card.html:71 msgid "Subscribe to Subject" msgstr "Inscrever-se no Assunto" -#: subjects/templates/subjects/subject_card.html:119 -msgid "ACESS SUBJECT" -msgstr "Acessar assunto" - -#: subjects/templates/subjects/subject_card.html:121 -msgid "SUBSCRIBE TO SUBJECT" -msgstr "Inscrever-se no assunto" - #: subjects/templates/subjects/subscribe.html:10 -msgid "Delete Subject" -msgstr "Deletar Assunto" +#, fuzzy +#| msgid "Subscribe to Subject" +msgid "Subscribe To Subject" +msgstr "Inscrever-se no Assunto" #: subjects/templates/subjects/subscribe.html:17 msgid "Are you sure you want to subscribe to the subject" @@ -234,55 +239,55 @@ msgstr "Ok" msgid "Update: " msgstr "Editar: " -#: subjects/templates/subjects/view.html:85 +#: subjects/templates/subjects/view.html:70 msgid "Create new topic" msgstr "Criar novo tópico" -#: subjects/views.py:52 +#: subjects/views.py:55 msgid "Home" msgstr "Início" -#: subjects/views.py:119 +#: subjects/views.py:151 msgid "Page is not 'last', nor can it be converted to an int." msgstr "" "Página não é a 'última', e também não pode ser convertido para um inteiro" -#: subjects/views.py:125 +#: subjects/views.py:157 #, python-format msgid "Invalid page (%(page_number)s): %(message)s" msgstr "Página inválida (%(page_number)s): %(message)s" -#: subjects/views.py:148 +#: subjects/views.py:180 msgid "My Subjects" msgstr "Meus assuntos" -#: subjects/views.py:155 +#: subjects/views.py:187 msgid "All Subjects" msgstr "Todos os assuntos" -#: subjects/views.py:197 +#: subjects/views.py:282 msgid "Create Subject" msgstr "Criar Assunto" -#: subjects/views.py:203 +#: subjects/views.py:288 msgid "Replicate Subject" msgstr "Replicar Assunto" -#: subjects/views.py:234 +#: subjects/views.py:319 #, python-format msgid "Subject \"%s\" was registered on \"%s\" successfully!" msgstr "Assunto \"%s\" foi registrado em \"%s\" com sucesso!" -#: subjects/views.py:247 +#: subjects/views.py:351 msgid "Update Subject" msgstr "Atualizar Assunto" -#: subjects/views.py:258 +#: subjects/views.py:362 #, python-format msgid "Subject \"%s\" was updated on \"%s\" successfully!" msgstr "Assunto \"%s\" foi atualizado em \"%s\" com sucesso!" -#: subjects/views.py:275 +#: subjects/views.py:389 msgid "" "Subject can't be removed. The subject still possess students and learning " "objects associated" @@ -290,16 +295,25 @@ msgstr "" "Assunto não pode ser removido. Ele ainda possui alunos e objetos de " "aprendizado associados" -#: subjects/views.py:297 +#: subjects/views.py:411 #, fuzzy, python-format #| msgid "Subject removed successfully!" msgid "Subject \"%s\" removed successfully!" msgstr "Assunto removido com sucesso!" -#: subjects/views.py:330 +#: subjects/views.py:475 msgid "Subscription date is due!" msgstr "O período de inscrição está encerrado!" -#: subjects/views.py:334 +#: subjects/views.py:479 msgid "Subscription was successfull!" msgstr "Inscrição feita com sucesso!" + +#~ msgid "ACESS SUBJECT" +#~ msgstr "Acessar assunto" + +#~ msgid "SUBSCRIBE TO SUBJECT" +#~ msgstr "Inscrever-se no assunto" + +#~ msgid "Delete Subject" +#~ msgstr "Deletar Assunto" diff --git a/themes/locale/pt_BR/LC_MESSAGES/django.po b/themes/locale/pt_BR/LC_MESSAGES/django.po index 735359a..9e26b63 100644 --- a/themes/locale/pt_BR/LC_MESSAGES/django.po +++ b/themes/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-01-19 14:46-0300\n" +"POT-Creation-Date: 2017-01-24 15:26-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/topics/locale/pt_BR/LC_MESSAGES/django.po b/topics/locale/pt_BR/LC_MESSAGES/django.po index 575a8b2..489d4e7 100644 --- a/topics/locale/pt_BR/LC_MESSAGES/django.po +++ b/topics/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-01-19 14:46-0300\n" +"POT-Creation-Date: 2017-01-24 15:26-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -26,50 +26,92 @@ msgstr "Esse assunto já possui um repositório" msgid "This subject already has a topic with this name" msgstr "Esse assunto já possui um tópico com esse nome" -#: topics/models.py:8 +#: topics/models.py:12 topics/models.py:51 msgid "Name" msgstr "Nome" -#: topics/models.py:9 +#: topics/models.py:13 topics/models.py:52 msgid "Slug" msgstr "Slug" -#: topics/models.py:10 +#: topics/models.py:14 msgid "Description" msgstr "Descrição" -#: topics/models.py:11 +#: topics/models.py:15 msgid "Repository" msgstr "Repositório" -#: topics/models.py:12 +#: topics/models.py:16 topics/models.py:56 msgid "Visible" msgstr "Visível" -#: topics/models.py:13 +#: topics/models.py:17 msgid "Subject" msgstr "Assunto" -#: topics/models.py:14 +#: topics/models.py:18 topics/models.py:57 msgid "Order" msgstr "Ordem" -#: topics/models.py:15 +#: topics/models.py:19 topics/models.py:62 msgid "Create Date" msgstr "Data de criação" -#: topics/models.py:16 +#: topics/models.py:20 topics/models.py:63 msgid "Last Update" msgstr "Última Atualização" -#: topics/models.py:19 +#: topics/models.py:23 topics/models.py:58 msgid "Topic" msgstr "Tópico" -#: topics/models.py:20 +#: topics/models.py:24 msgid "Topics" msgstr "Tópicos" +#: topics/models.py:53 +#, fuzzy +#| msgid "Description" +msgid "Brief Description" +msgstr "Descrição" + +#: topics/models.py:54 +msgid "Show in new window" +msgstr "Exibir em nova janela" + +#: topics/models.py:55 +msgid "All Students" +msgstr "Todos os estudantes habilitados para acessar o recurso" + +#: topics/models.py:59 +msgid "Students" +msgstr "Estudantes" + +#: topics/models.py:60 +msgid "Groups" +msgstr "Grupos de Estudo" + +#: topics/models.py:61 +msgid "Markers" +msgstr "Marcadores" + +#: topics/models.py:66 +msgid "Resource" +msgstr "Recurso" + +#: topics/models.py:67 +msgid "Resources" +msgstr "Recursos" + +#: topics/templates/resources/list.html:30 topics/templates/topics/list.html:28 +msgid "Edit" +msgstr "Editar" + +#: topics/templates/resources/list.html:31 topics/templates/topics/list.html:29 +msgid "Remove" +msgstr "Remover" + #: topics/templates/topics/_form.html:21 msgid "Only one topic per subject can be a repository" msgstr "Apenas um tópico por asssunto pode ser um repositório" @@ -98,13 +140,29 @@ msgstr "Fechar" msgid "Delete" msgstr "Deletar" -#: topics/templates/topics/list.html:28 -msgid "Edit" -msgstr "Editar" +#: topics/templates/topics/list.html:49 +msgid "Add Resource" +msgstr "Adicionar Recurso" -#: topics/templates/topics/list.html:29 -msgid "Remove" -msgstr "Remover" +#: topics/templates/topics/list.html:52 +msgid "Video Embed" +msgstr "Embed de Vídeo" + +#: topics/templates/topics/list.html:53 +msgid "Forum" +msgstr "Fórum" + +#: topics/templates/topics/list.html:54 +msgid "File Link" +msgstr "Link para arquivo" + +#: topics/templates/topics/list.html:55 +msgid "Webpage" +msgstr "Página Web" + +#: topics/templates/topics/list.html:56 +msgid "Questionary" +msgstr "Questionário" #: topics/templates/topics/update.html:8 topics/views.py:103 msgid "Update Topic" @@ -120,7 +178,11 @@ msgstr "Tópico \"%s\" foi criado no ambiente virtual \"%s\" com sucesso!" msgid "Topic \"%s\" was updated on virtual enviroment \"%s\" successfully!" msgstr "Tópico \"%s\" foi atualizado no ambiente virtual \"%s\" com sucesso!" -#: topics/views.py:135 +#: topics/views.py:138 +msgid "Could not remove this topic. It has on or more resources attached." +msgstr "Não é possível remover esse tópico. Ele possui um ou mais recursos vinculados." + +#: topics/views.py:147 #, python-format msgid "Topic \"%s\" was removed from virtual enviroment \"%s\" successfully!" msgstr "Tópico \"%s\" foi removido do ambiente virtual \"%s\" com sucesso!" diff --git a/topics/templates/topics/list.html b/topics/templates/topics/list.html index e15d1ab..01db97b 100644 --- a/topics/templates/topics/list.html +++ b/topics/templates/topics/list.html @@ -49,11 +49,11 @@ {% trans 'Add Resource' %} diff --git a/users/locale/pt_BR/LC_MESSAGES/django.po b/users/locale/pt_BR/LC_MESSAGES/django.po index 6aaa10e..fdbe0d8 100644 --- a/users/locale/pt_BR/LC_MESSAGES/django.po +++ b/users/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-01-19 14:46-0300\n" +"POT-Creation-Date: 2017-01-24 15:26-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/webpage/locale/pt_BR/LC_MESSAGES/django.po b/webpage/locale/pt_BR/LC_MESSAGES/django.po new file mode 100644 index 0000000..22cda52 --- /dev/null +++ b/webpage/locale/pt_BR/LC_MESSAGES/django.po @@ -0,0 +1,128 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-24 15:26-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +#: webpage/forms.py:32 +msgid "Tags" +msgstr "Tags" + +#: webpage/forms.py:38 +msgid "Webpage name" +msgstr "Nome da Página Web" + +#: webpage/forms.py:39 +msgid "Webpage content" +msgstr "Conteúdo da Página Web" + +#: webpage/forms.py:60 +msgid "This subject already has a webpage with this name" +msgstr "Esse assunto já possui uma Página Web com esse nome" + +#: webpage/forms.py:71 +msgid "This field is required." +msgstr "Esse campo é obrigatório." + +#: webpage/models.py:8 +msgid "Webpage Content" +msgstr "Conteúdo da Página Web" + +#: webpage/models.py:11 +msgid "WebPage" +msgstr "Página Web" + +#: webpage/models.py:12 +msgid "WebPages" +msgstr "Páginas Web" + +#: webpage/templates/webpages/_form.html:49 +msgid "Common resources settings" +msgstr "Configurações comuns a todos os recursos" + +#: webpage/templates/webpages/_form.html:98 +msgid "Pendencies Notifications" +msgstr "Notificação de Pendências" + +#: webpage/templates/webpages/_form.html:118 +msgid "Action not performed by the user" +msgstr "Ação não realizada pelo usuário" + +#: webpage/templates/webpages/_form.html:144 +msgid "Wished period" +msgstr "Período desejado" + +#: webpage/templates/webpages/_form.html:241 +msgid "Attribute students to webpage" +msgstr "Atribuir estudantes à Página Web" + +#: webpage/templates/webpages/_form.html:261 +msgid "Attribute groups to webpage" +msgstr "Atribuir grupos de estudo à Página Web" + +#: webpage/templates/webpages/_form.html:330 +msgid "Save" +msgstr "Salvar" + +#: webpage/templates/webpages/_form.html:337 +msgid "Add new notification" +msgstr "Adiciona nova notificação" + +#: webpage/templates/webpages/_form.html:338 +msgid "Remove this notification" +msgstr "Remover essa notificação" + +#: webpage/templates/webpages/create.html:21 webpage/views.py:144 +msgid "Create Webpage" +msgstr "Criar Página Web" + +#: webpage/templates/webpages/delete.html:9 +msgid "Are you sure you want delete the webpage" +msgstr "Você tem certeza que deseja remover a Página Web" + +#: webpage/templates/webpages/delete.html:14 +msgid "Close" +msgstr "Fechar" + +#: webpage/templates/webpages/delete.html:17 +msgid "Delete" +msgstr "Remover" + +#: webpage/templates/webpages/update.html:21 +msgid "Edit: " +msgstr "Editar: " + +#: webpage/views.py:155 +#, python-format +msgid "" +"The Webpage \"%s\" was added to the Topic \"%s\" of the virtual environment " +"\"%s\" successfully!" +msgstr "A Página Web \"%s\" foi adicionado ao tópico \"%s\" do ambiente virtual \"%s\" com sucesso!" + +#: webpage/views.py:225 +msgid "Update Webpage" +msgstr "Atualizar Página Web" + +#: webpage/views.py:240 +#, python-format +msgid "The Webpage \"%s\" was updated successfully!" +msgstr "A Página Web \"%s\" foi atualizada com sucesso!" + +#: webpage/views.py:271 +#, python-format +msgid "" +"The webpage \"%s\" was removed successfully from virtual environment \"%s\"!" +msgstr "A Página Web \"%s\" foi removida do ambiente virtual \"%s\" com sucesso!" diff --git a/webpage/views.py b/webpage/views.py index 869e1b4..8e8291b 100644 --- a/webpage/views.py +++ b/webpage/views.py @@ -237,7 +237,7 @@ class UpdateView(LoginRequiredMixin, generic.UpdateView): return context def get_success_url(self): - messages.success(self.request, _('The Webpage "%s" was added to the Topic "%s" of the virtual environment "%s" successfully!')%(self.object.name, self.object.topic.name, self.object.topic.subject.name)) + messages.success(self.request, _('The Webpage "%s" was updated successfully!')%(self.object.name)) success_url = reverse_lazy('webpages:view', kwargs = {'slug': self.object.slug}) -- libgit2 0.21.2