diff --git a/plugins/organization_ratings/lib/create_organization_rating_comment.rb b/plugins/organization_ratings/lib/create_organization_rating_comment.rb index 98e632a..fdeb20a 100644 --- a/plugins/organization_ratings/lib/create_organization_rating_comment.rb +++ b/plugins/organization_ratings/lib/create_organization_rating_comment.rb @@ -68,37 +68,35 @@ class CreateOrganizationRatingComment < Task end def target_notification_message - _("The user \"%{user}\" just made a report at %{target_class} + _("The user \"%{user}\" just made a report at \"%{target_name}\". You have to approve or reject it through the \"Pending Validations\" section in your control panel.\n") % { :user => self.requestor.name, - :target_class => _(self.target.class.name.downcase), :target_name => self.target.name } end def task_created_message - _("Your report at %{target_class} \"%{target}\" was + _("Your report at \"%{target}\" was just sent. The administrator will receive it and will approve or reject your request according to his methods and criteria. You will be notified as soon as environment administrator has a position about your request.") % - { :target_class => _(self.target.class.name.downcase), :target => self.target.name } + { :target => self.target.name } end def task_cancelled_message - _("Your report at %{target_class} \"%{target}\" was + _("Your report at \"%{target}\" was not approved by the administrator. The following explanation was given: \n\n%{explanation}") % - { :target_class => _(self.target.class.name.downcase), - :target => self.target.name, + { :target => self.target.name, :explanation => self.reject_explanation } end def task_finished_message - _("Your report at %{target_class} \"%{target}\" was approved. + _("Your report at \"%{target}\" was approved. You can access %{url} to see your comment.") % - { :target_class => _(self.target.class.name.downcase), :target => self.target.name, :url => ratings_url } + { :target => self.target.name, :url => ratings_url } end private diff --git a/plugins/organization_ratings/po/organization_ratings.pot b/plugins/organization_ratings/po/organization_ratings.pot index eca2af8..09be9e0 100644 --- a/plugins/organization_ratings/po/organization_ratings.pot +++ b/plugins/organization_ratings/po/organization_ratings.pot @@ -6,10 +6,10 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: 1.5\n" +"Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-04-19 15:00+0000\n" -"PO-Revision-Date: 2016-04-19 15:00+0000\n" +"POT-Creation-Date: 2016-05-16 16:56-0300\n" +"PO-Revision-Date: 2016-05-16 16:56-0300\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" @@ -62,15 +62,15 @@ msgstr "" #: ../lib/create_organization_rating_comment.rb:71 msgid "" -"User \"%{user}\" just made a report at %{target_class}\n" +"The user \"%{user}\" just made a report at\n" " \"%{target_name}\".\n" " You have to approve or reject it through the \"Pending Validations\"\n" " section in your control panel.\n" msgstr "" -#: ../lib/create_organization_rating_comment.rb:81 +#: ../lib/create_organization_rating_comment.rb:80 msgid "" -"Your report at %{target_class} \"%{target}\" was\n" +"Your report at \"%{target}\" was\n" " just sent. The administrator will receive it and will approve or\n" " reject your request according to his methods and criteria.\n" " You will be notified as soon as environment administrator has a position" @@ -78,18 +78,18 @@ msgid "" " about your request." msgstr "" -#: ../lib/create_organization_rating_comment.rb:90 +#: ../lib/create_organization_rating_comment.rb:89 msgid "" -"Your report at %{target_class} \"%{target}\" was\n" +"Your report at \"%{target}\" was\n" " not approved by the administrator. The following explanation\n" " was given: \n" "\n" "%{explanation}" msgstr "" -#: ../lib/create_organization_rating_comment.rb:99 +#: ../lib/create_organization_rating_comment.rb:97 msgid "" -"Your report at %{target_class} \"%{target}\" was approved.\n" +"Your report at \"%{target}\" was approved.\n" " You can access %{url} to see your comment." msgstr "" @@ -106,11 +106,11 @@ msgid "This block displays the organization ratings." msgstr "" #: ../lib/organization_ratings_config.rb:8 -msgid "Best Ratings" +msgid "More Recent" msgstr "" #: ../lib/organization_ratings_config.rb:8 -msgid "More Recent" +msgid "Best Ratings" msgstr "" #: ../lib/organization_ratings_plugin.rb:9 diff --git a/plugins/organization_ratings/po/pt/organization_ratings.po b/plugins/organization_ratings/po/pt/organization_ratings.po index f3ad4a1..e4d507f 100644 --- a/plugins/organization_ratings/po/pt/organization_ratings.po +++ b/plugins/organization_ratings/po/pt/organization_ratings.po @@ -6,11 +6,10 @@ msgid "" msgstr "" "Project-Id-Version: 1.3~rc2-1-ga15645d\n" -"POT-Creation-Date: 2016-04-19 15:00+0000\n" "PO-Revision-Date: 2016-02-18 14:44+0000\n" "Last-Translator: Eduardo Vital \n" -"Language-Team: Portuguese \n" +"Language-Team: Portuguese \n" "Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -18,337 +17,195 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 2.5-dev\n" -#: ../controllers/organization_ratings_plugin_admin_controller.rb:12 msgid "Configuration updated successfully." msgstr "Configurações atualizadas com sucesso." -#: ../controllers/organization_ratings_plugin_admin_controller.rb:14 msgid "Configuration could not be saved." msgstr "Configurações não puderam ser salvas." -#: ../controllers/organization_ratings_plugin_profile_controller.rb:15 msgid "You can not vote on this %s" msgstr "Você não pode votar nesta %s" -#: ../controllers/organization_ratings_plugin_profile_controller.rb:48 msgid "%s successfully rated!" msgstr "%s avaliado(a) com sucesso!" -#: ../controllers/organization_ratings_plugin_profile_controller.rb:50 msgid "Sorry, there were problems rating this profile." msgstr "Desculpe, ocorreram problemas na avaliação deste perfil." -#: ../lib/average_rating_block.rb:5 msgid "Organization Average Rating" msgstr "Média de Avaliações da Organização" -#: ../lib/average_rating_block.rb:9 msgid "This block displays the organization average rating." msgstr "Este bloco mostra a média de avaliações da organização." -#: ../lib/create_organization_rating_comment.rb:37 msgid "New Report" msgstr "Novo Relato" -#: ../lib/create_organization_rating_comment.rb:41 msgid "" -"%{requestor} wants to leave a report about this " -"%{target_class}" +"%{requestor} wants to leave a report about this %" +"{target_class}" msgstr "" -"%{requestor} deseja criar um relato sobre isto " -"%{target_class}" +"%{requestor} deseja criar um relato neste(a) %{ta" +"rget_class}" -#: ../lib/create_organization_rating_comment.rb:66 msgid "%{requestor} wants to leave a report about this \"%{target}\"" -msgstr "%{requestor} deseja criar um relato sobre isto \"%{target}\"" +msgstr "%{requestor} deseja criar um relato neste(a) \"%{target}\"" -#: ../lib/create_organization_rating_comment.rb:71 msgid "" -"The user \"%{user}\" just made a report at %{target_class}\n" +"The user \"%{user}\" just made a report at\n" " \"%{target_name}\".\n" " You have to approve or reject it through the \"Pending Validations\"\n" " section in your control panel.\n" msgstr "" -"O usuário \"%{user}\" acabou de fazer um relato em %{target_class}\n" +"O usuário \"%{user}\" acabou de fazer um relato em \n" " \"%{target_name}\".\n" " Você precisa aprová-lo ou rejeitá-lo na seção \"Validações Pendentes\"\n" " no seu painel de controle.\n" -#: ../lib/create_organization_rating_comment.rb:81 msgid "" -"Your report at %{target_class} \"%{target}\" was\n" +"Your report at \"%{target}\" was\n" " just sent. The administrator will receive it and will approve or\n" " reject your request according to his methods and criteria.\n" -" You will be notified as soon as environment administrator has a " -"position\n" +" You will be notified as soon as environment administrator has a position" +"\n" " about your request." msgstr "" -"Seu relato em %{target_class} \"%{target}\" acabou de ser\n" +"Seu relato em \"%{target}\" acabou de ser\n" " enviado. O administrador irá recebê-lo e irá aprovar ou\n" " rejeitar seu pedido de acordo com seus métodos e critérios.\n" " Você será notificado assim que o administrador tenha uma posição\n" " sobre seu pedido." -#: ../lib/create_organization_rating_comment.rb:90 msgid "" -"Your report at %{target_class} \"%{target}\" was\n" +"Your report at \"%{target}\" was\n" " not approved by the administrator. The following explanation\n" " was given: \n" "\n" "%{explanation}" msgstr "" -"Seu pedido para comentar em %{target} não\n" -"Seu relato em %{target_class} \"%{target}\" não\n" +"Seu relato em \"%{target}\" não\n" " foi aprovado pelo administrador. A seguinte explicação\n" " foi dada: \n" "\n" "%{explanation}" -#: ../lib/create_organization_rating_comment.rb:99 msgid "" -"Your report at %{target_class} \"%{target}\" was approved.\n" +"Your report at \"%{target}\" was approved.\n" " You can access %{url} to see your comment." msgstr "" -"Seu relato em %{target_class} \"%{target}\" foi aprovado.\n" +"Seu relato em \"%{target}\" foi aprovado.\n" "\tVocê pode acessar %{url} para ver seu comentário." -#: ../lib/organization_rating.rb:10 msgid "must be between 1 and 5" msgstr "deve ser entre 1 e 5" -#: ../lib/organization_ratings_block.rb:5 msgid "Organization Ratings" msgstr "Avaliações da Organização" -#: ../lib/organization_ratings_block.rb:9 msgid "This block displays the organization ratings." msgstr "Este bloco mostra as avaliações da organização." -#: ../lib/organization_ratings_config.rb:8 msgid "More Recent" msgstr "Mais Recentes" -#: ../lib/organization_ratings_config.rb:8 msgid "Best Ratings" msgstr "Melhores Avaliações" -#: ../lib/organization_ratings_plugin.rb:9 msgid "A plugin that allows you to rate a organization and comment about it." -msgstr "" -"Um plugin que permite que você avalie uma organização e comente sobre ela." +msgstr "Um plugin que permite que você avalie uma organização e comente sobre ela." -#: ../views/blocks/display_organization_average_rating.html.erb:4 msgid "Rating: " msgstr "Avaliação: " -#: ../views/blocks/display_organization_average_rating.html.erb:18 msgid "Be the first to rate!" msgstr "Seja o primeiro a avaliar!" -#: ../views/blocks/display_organization_average_rating.html.erb:23 msgid "Rate this %s" msgstr "Avalie esta %s" -#: ../views/blocks/organization_ratings_block.html.erb:17 msgid "See more" msgstr "Veja mais" -#: ../views/organization_ratings_plugin_admin/index.html.erb:3 msgid "Organization Rating Settings" msgstr "Configuração para Avaliações em Organizações" -#: ../views/organization_ratings_plugin_admin/index.html.erb:10 msgid "Value" msgstr "Valor" -#: ../views/organization_ratings_plugin_admin/index.html.erb:13 msgid "Default amount of stars marked on evaluations" msgstr "Quantidade padrão de estrelas marcadas nas avaliações" -#: ../views/organization_ratings_plugin_admin/index.html.erb:17 msgid "Users can rate an organization only once" msgstr "Usuários podem avaliar uma organização apenas uma vez" -#: ../views/organization_ratings_plugin_admin/index.html.erb:21 msgid "The comments are moderated" msgstr "Os comentários são moderados" -#: ../views/organization_ratings_plugin_admin/index.html.erb:26 msgid "Time in hours between evaluations from the same user." msgstr "Tempo em horas entre avaliações do mesmo usuário." -#: ../views/organization_ratings_plugin_admin/index.html.erb:27 msgid "To disable cooldown use zero (0) value." msgstr "Para desabilitar o tempo de espera utilize o valor zero (0)." -#: ../views/organization_ratings_plugin_admin/index.html.erb:35 msgid "Order ratings by" msgstr "Ordenar avaliações por" -#: ../views/organization_ratings_plugin_admin/index.html.erb:41 msgid "Ratings amount per page" msgstr "Quantidade de avaliações por página" -#: ../views/organization_ratings_plugin_admin/index.html.erb:50 msgid "Back" msgstr "Voltar" -#: ../views/organization_ratings_plugin_profile/_new_rating_fields.html.erb:38 msgid "Rated as" msgstr "Avaliado em" -#: ../views/organization_ratings_plugin_profile/_new_rating_fields.html.erb:38 msgid "stars" msgstr "estrelas" -#: ../views/organization_ratings_plugin_profile/_new_rating_fields.html.erb:45 msgid "Comment (Optional):" msgstr "Comentário (Opcional):" -#: ../views/organization_ratings_plugin_profile/_new_rating_fields.html.erb:52 msgid "Save" msgstr "Salvar" -#: ../views/organization_ratings_plugin_profile/_new_rating_fields.html.erb:62 msgid "Hi, %s! The administrators set that you can vote" msgstr "Olá, %s! Os administradores configuraram que você pode votar apenas" -#: ../views/organization_ratings_plugin_profile/_new_rating_fields.html.erb:63 msgid "only once" msgstr "uma vez" -#: ../views/organization_ratings_plugin_profile/_new_rating_fields.html.erb:64 msgid "for this %s." msgstr "para esta %s." -#: ../views/organization_ratings_plugin_profile/_new_rating_fields.html.erb:69 msgid "Hi, %s! The administrators set the minimum time of" msgstr "Olá, %s! Os administradores configuraram o tempo mínimo de" -#: ../views/organization_ratings_plugin_profile/_new_rating_fields.html.erb:70 msgid "%d hour(s)" msgstr "%d hora(s)" -#: ../views/organization_ratings_plugin_profile/_new_rating_fields.html.erb:71 msgid "between each evaluation." msgstr "entre cada avaliação." -#: ../views/shared/_make_report_block.html.erb:12 msgid "User not logged" msgstr "Usuário não logado" -#: ../views/shared/_make_report_block.html.erb:18 msgid "Report your experiences." msgstr "Relate suas experiências." -#: ../views/shared/_make_report_block.html.erb:25 msgid "* You must be logged in to submit a report." msgstr "* Você precisa estar logado para enviar um relato." -#: ../views/shared/_rating_button.html.erb:3 msgid "Rate %s " msgstr "Avaliar %s " -#: ../views/shared/_rating_button.html.erb:7 msgid "Log in" msgstr "Entrar" -#: ../views/shared/_user_rating_container.html.erb:29 msgid "Report waiting for approval" msgstr "Relato aguardando aprovação" -#: ../views/tasks/_create_organization_rating_comment_accept_details.html.erb:5 msgid "Description:" msgstr "Descrição:" -#: ../views/tasks/_create_organization_rating_comment_accept_details.html.erb:9 msgid "* The rating score is not moderated." msgstr "* A pontuação de classificação não é moderada." - -#: plugins/organization_ratings/lib/create_organization_rating_comment.rb:31 -#~ msgid "Comment waiting for approval" -#~ msgstr "Comentario aguardando aprovação" - -#: plugins/organization_ratings/lib/create_organization_rating_comment.rb:48 -#~ msgid "Comment rejected" -#~ msgstr "Comentário rejeitado" - -#: plugins/organization_ratings/lib/create_organization_rating_comment.rb:52 -#: plugins/organization_ratings/views/shared/_user_rating_container.html.erb:28 -#~ msgid "No comment" -#~ msgstr "Sem comentário" - -#: plugins/organization_ratings/lib/create_organization_rating_comment.rb:61 -#~ msgid "New Comment" -#~ msgstr "Novo Comentário" - -#: plugins/organization_ratings/lib/create_organization_rating_comment.rb:65 -#~ msgid "" -#~ "%{requestor} wants to create a comment in " -#~ "this %{target_class}" -#~ msgstr "" -#~ "%{requestor} deseja criar um comentário " -#~ "neste(a) %{target_class}" - -#: plugins/organization_ratings/lib/create_organization_rating_comment.rb:90 -#~ msgid "%{requestor} wants to create a comment in this \"%{target}\"" -#~ msgstr "%{requestor} deseja criar um comentário neste(a) \"%{target}\"" - -#: plugins/organization_ratings/lib/create_organization_rating_comment.rb:95 -#~ msgid "" -#~ "User \"%{user}\" requested to create a comment in the %{target_class}\n" -#~ " \"%{target_name}\".\n" -#~ " You have to approve or reject it through the \"Pending Validations" -#~ "\"\n" -#~ " section in your control panel.\n" -#~ msgstr "" -#~ "O usuário \"%{user}\" requisitou a criação de um comentário na " -#~ "%{target_class}\n" -#~ " \"%{target_name}\".\n" -#~ " Você deve aprová-lo ou rejeitá-lo através da seção de \"Validações " -#~ "Pendentes\"\n" -#~ " no seu painel de controle.\n" - -#: plugins/organization_ratings/lib/create_organization_rating_comment.rb:103 -#~ msgid "" -#~ "Your request for commenting at %{target} was\n" -#~ " just sent. The administrator will receive it and will approve or\n" -#~ " reject your request according to his methods and criteria.\n" -#~ " You will be notified as soon as environment administrator has a " -#~ "position\n" -#~ " about your request." -#~ msgstr "" -#~ "Seu pedido para comentar em %{target} foi\n" -#~ " enviado. O administrador irá recebê-lo e aprovar ou\n" -#~ " rejeitar seu pedido de acordo com seus métodos e critérios.\n" -#~ " Você será notificado assim que o administrador tenha uma posição\n" -#~ " sobre seu pedido." - -#: plugins/organization_ratings/lib/create_organization_rating_comment.rb:112 -#~ msgid "" -#~ "Your request for commenting at %{target} was\n" -#~ " not approved by the administrator. The following explanation\n" -#~ " was given: \n" -#~ "\n" -#~ "%{explanation}" -#~ msgstr "" -#~ "Seu pedido para comentar em %{target} não\n" -#~ " foi aprovado pelo administrador. A seguinte explicação\n" -#~ " foi dada: \n" -#~ "\n" -#~ "%{explanation}" - -#: plugins/organization_ratings/lib/create_organization_rating_comment.rb:120 -#~ msgid "" -#~ "Your request for commenting at %{target} was approved.\n" -#~ " You can access %{url} to see your comment." -#~ msgstr "" -#~ "Seu pedido para comentar em %{target} foi aprovado.\n" -#~ "\tVocê pode acessar %{url} para ver seu comentário." - -#: plugins/organization_ratings/views/tasks/_create_organization_rating_comment_accept_details.html.erb:2 -#~ msgid "Comment:" -#~ msgstr "Comentário:" - -#~ msgid "community" -#~ msgstr "comunidade" -- libgit2 0.21.2