Commit 96278a26a4c72ce3dcbeac8167703996a3a413f6

Authored by Marcos Pereira
1 parent 18589b83
Exists in stable-spb-1.5

Updating organization ratings plugin translations

- Updated PO and PT translations
plugins/organization_ratings/lib/create_organization_rating_comment.rb
... ... @@ -68,37 +68,35 @@ class CreateOrganizationRatingComment < Task
68 68 end
69 69  
70 70 def target_notification_message
71   - _("The user \"%{user}\" just made a report at %{target_class}
  71 + _("The user \"%{user}\" just made a report at
72 72 \"%{target_name}\".
73 73 You have to approve or reject it through the \"Pending Validations\"
74 74 section in your control panel.\n") %
75 75 { :user => self.requestor.name,
76   - :target_class => _(self.target.class.name.downcase),
77 76 :target_name => self.target.name }
78 77 end
79 78  
80 79 def task_created_message
81   - _("Your report at %{target_class} \"%{target}\" was
  80 + _("Your report at \"%{target}\" was
82 81 just sent. The administrator will receive it and will approve or
83 82 reject your request according to his methods and criteria.
84 83 You will be notified as soon as environment administrator has a position
85 84 about your request.") %
86   - { :target_class => _(self.target.class.name.downcase), :target => self.target.name }
  85 + { :target => self.target.name }
87 86 end
88 87  
89 88 def task_cancelled_message
90   - _("Your report at %{target_class} \"%{target}\" was
  89 + _("Your report at \"%{target}\" was
91 90 not approved by the administrator. The following explanation
92 91 was given: \n\n%{explanation}") %
93   - { :target_class => _(self.target.class.name.downcase),
94   - :target => self.target.name,
  92 + { :target => self.target.name,
95 93 :explanation => self.reject_explanation }
96 94 end
97 95  
98 96 def task_finished_message
99   - _("Your report at %{target_class} \"%{target}\" was approved.
  97 + _("Your report at \"%{target}\" was approved.
100 98 You can access %{url} to see your comment.") %
101   - { :target_class => _(self.target.class.name.downcase), :target => self.target.name, :url => ratings_url }
  99 + { :target => self.target.name, :url => ratings_url }
102 100 end
103 101  
104 102 private
... ...
plugins/organization_ratings/po/organization_ratings.pot
... ... @@ -6,10 +6,10 @@
6 6 #, fuzzy
7 7 msgid ""
8 8 msgstr ""
9   -"Project-Id-Version: 1.5\n"
  9 +"Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2016-04-19 15:00+0000\n"
12   -"PO-Revision-Date: 2016-04-19 15:00+0000\n"
  11 +"POT-Creation-Date: 2016-05-16 16:56-0300\n"
  12 +"PO-Revision-Date: 2016-05-16 16:56-0300\n"
13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14 14 "Language-Team: LANGUAGE <LL@li.org>\n"
15 15 "Language: \n"
... ... @@ -62,15 +62,15 @@ msgstr &quot;&quot;
62 62  
63 63 #: ../lib/create_organization_rating_comment.rb:71
64 64 msgid ""
65   -"User \"%{user}\" just made a report at %{target_class}\n"
  65 +"The user \"%{user}\" just made a report at\n"
66 66 " \"%{target_name}\".\n"
67 67 " You have to approve or reject it through the \"Pending Validations\"\n"
68 68 " section in your control panel.\n"
69 69 msgstr ""
70 70  
71   -#: ../lib/create_organization_rating_comment.rb:81
  71 +#: ../lib/create_organization_rating_comment.rb:80
72 72 msgid ""
73   -"Your report at %{target_class} \"%{target}\" was\n"
  73 +"Your report at \"%{target}\" was\n"
74 74 " just sent. The administrator will receive it and will approve or\n"
75 75 " reject your request according to his methods and criteria.\n"
76 76 " You will be notified as soon as environment administrator has a position"
... ... @@ -78,18 +78,18 @@ msgid &quot;&quot;
78 78 " about your request."
79 79 msgstr ""
80 80  
81   -#: ../lib/create_organization_rating_comment.rb:90
  81 +#: ../lib/create_organization_rating_comment.rb:89
82 82 msgid ""
83   -"Your report at %{target_class} \"%{target}\" was\n"
  83 +"Your report at \"%{target}\" was\n"
84 84 " not approved by the administrator. The following explanation\n"
85 85 " was given: \n"
86 86 "\n"
87 87 "%{explanation}"
88 88 msgstr ""
89 89  
90   -#: ../lib/create_organization_rating_comment.rb:99
  90 +#: ../lib/create_organization_rating_comment.rb:97
91 91 msgid ""
92   -"Your report at %{target_class} \"%{target}\" was approved.\n"
  92 +"Your report at \"%{target}\" was approved.\n"
93 93 " You can access %{url} to see your comment."
94 94 msgstr ""
95 95  
... ... @@ -106,11 +106,11 @@ msgid &quot;This block displays the organization ratings.&quot;
106 106 msgstr ""
107 107  
108 108 #: ../lib/organization_ratings_config.rb:8
109   -msgid "Best Ratings"
  109 +msgid "More Recent"
110 110 msgstr ""
111 111  
112 112 #: ../lib/organization_ratings_config.rb:8
113   -msgid "More Recent"
  113 +msgid "Best Ratings"
114 114 msgstr ""
115 115  
116 116 #: ../lib/organization_ratings_plugin.rb:9
... ...
plugins/organization_ratings/po/pt/organization_ratings.po
... ... @@ -6,11 +6,10 @@
6 6 msgid ""
7 7 msgstr ""
8 8 "Project-Id-Version: 1.3~rc2-1-ga15645d\n"
9   -"POT-Creation-Date: 2016-04-19 15:00+0000\n"
10 9 "PO-Revision-Date: 2016-02-18 14:44+0000\n"
11 10 "Last-Translator: Eduardo Vital <vitaldu@gmail.com>\n"
12   -"Language-Team: Portuguese <https://hosted.weblate.org/projects/noosfero/"
13   -"plugin-organization-ratings/pt/>\n"
  11 +"Language-Team: Portuguese <https://hosted.weblate.org/projects/noosfero/plugin"
  12 +"-organization-ratings/pt/>\n"
14 13 "Language: pt\n"
15 14 "MIME-Version: 1.0\n"
16 15 "Content-Type: text/plain; charset=UTF-8\n"
... ... @@ -18,337 +17,195 @@ msgstr &quot;&quot;
18 17 "Plural-Forms: nplurals=2; plural=n != 1;\n"
19 18 "X-Generator: Weblate 2.5-dev\n"
20 19  
21   -#: ../controllers/organization_ratings_plugin_admin_controller.rb:12
22 20 msgid "Configuration updated successfully."
23 21 msgstr "Configurações atualizadas com sucesso."
24 22  
25   -#: ../controllers/organization_ratings_plugin_admin_controller.rb:14
26 23 msgid "Configuration could not be saved."
27 24 msgstr "Configurações não puderam ser salvas."
28 25  
29   -#: ../controllers/organization_ratings_plugin_profile_controller.rb:15
30 26 msgid "You can not vote on this %s"
31 27 msgstr "Você não pode votar nesta %s"
32 28  
33   -#: ../controllers/organization_ratings_plugin_profile_controller.rb:48
34 29 msgid "%s successfully rated!"
35 30 msgstr "%s avaliado(a) com sucesso!"
36 31  
37   -#: ../controllers/organization_ratings_plugin_profile_controller.rb:50
38 32 msgid "Sorry, there were problems rating this profile."
39 33 msgstr "Desculpe, ocorreram problemas na avaliação deste perfil."
40 34  
41   -#: ../lib/average_rating_block.rb:5
42 35 msgid "Organization Average Rating"
43 36 msgstr "Média de Avaliações da Organização"
44 37  
45   -#: ../lib/average_rating_block.rb:9
46 38 msgid "This block displays the organization average rating."
47 39 msgstr "Este bloco mostra a média de avaliações da organização."
48 40  
49   -#: ../lib/create_organization_rating_comment.rb:37
50 41 msgid "New Report"
51 42 msgstr "Novo Relato"
52 43  
53   -#: ../lib/create_organization_rating_comment.rb:41
54 44 msgid ""
55   -"<a href=%{requestor_url}>%{requestor}</a> wants to leave a report about this "
56   -"%{target_class}"
  45 +"<a href=%{requestor_url}>%{requestor}</a> wants to leave a report about this %"
  46 +"{target_class}"
57 47 msgstr ""
58   -"<a href=%{requestor_url}>%{requestor}</a> deseja criar um relato sobre isto "
59   -"%{target_class}"
  48 +"<a href=%{requestor_url}>%{requestor}</a> deseja criar um relato neste(a) %{ta"
  49 +"rget_class}"
60 50  
61   -#: ../lib/create_organization_rating_comment.rb:66
62 51 msgid "%{requestor} wants to leave a report about this \"%{target}\""
63   -msgstr "%{requestor} deseja criar um relato sobre isto \"%{target}\""
  52 +msgstr "%{requestor} deseja criar um relato neste(a) \"%{target}\""
64 53  
65   -#: ../lib/create_organization_rating_comment.rb:71
66 54 msgid ""
67   -"The user \"%{user}\" just made a report at %{target_class}\n"
  55 +"The user \"%{user}\" just made a report at\n"
68 56 " \"%{target_name}\".\n"
69 57 " You have to approve or reject it through the \"Pending Validations\"\n"
70 58 " section in your control panel.\n"
71 59 msgstr ""
72   -"O usuário \"%{user}\" acabou de fazer um relato em %{target_class}\n"
  60 +"O usuário \"%{user}\" acabou de fazer um relato em \n"
73 61 " \"%{target_name}\".\n"
74 62 " Você precisa aprová-lo ou rejeitá-lo na seção \"Validações Pendentes\"\n"
75 63 " no seu painel de controle.\n"
76 64  
77   -#: ../lib/create_organization_rating_comment.rb:81
78 65 msgid ""
79   -"Your report at %{target_class} \"%{target}\" was\n"
  66 +"Your report at \"%{target}\" was\n"
80 67 " just sent. The administrator will receive it and will approve or\n"
81 68 " reject your request according to his methods and criteria.\n"
82   -" You will be notified as soon as environment administrator has a "
83   -"position\n"
  69 +" You will be notified as soon as environment administrator has a position"
  70 +"\n"
84 71 " about your request."
85 72 msgstr ""
86   -"Seu relato em %{target_class} \"%{target}\" acabou de ser\n"
  73 +"Seu relato em \"%{target}\" acabou de ser\n"
87 74 " enviado. O administrador irá recebê-lo e irá aprovar ou\n"
88 75 " rejeitar seu pedido de acordo com seus métodos e critérios.\n"
89 76 " Você será notificado assim que o administrador tenha uma posição\n"
90 77 " sobre seu pedido."
91 78  
92   -#: ../lib/create_organization_rating_comment.rb:90
93 79 msgid ""
94   -"Your report at %{target_class} \"%{target}\" was\n"
  80 +"Your report at \"%{target}\" was\n"
95 81 " not approved by the administrator. The following explanation\n"
96 82 " was given: \n"
97 83 "\n"
98 84 "%{explanation}"
99 85 msgstr ""
100   -"Seu pedido para comentar em %{target} não\n"
101   -"Seu relato em %{target_class} \"%{target}\" não\n"
  86 +"Seu relato em \"%{target}\" não\n"
102 87 " foi aprovado pelo administrador. A seguinte explicação\n"
103 88 " foi dada: \n"
104 89 "\n"
105 90 "%{explanation}"
106 91  
107   -#: ../lib/create_organization_rating_comment.rb:99
108 92 msgid ""
109   -"Your report at %{target_class} \"%{target}\" was approved.\n"
  93 +"Your report at \"%{target}\" was approved.\n"
110 94 " You can access %{url} to see your comment."
111 95 msgstr ""
112   -"Seu relato em %{target_class} \"%{target}\" foi aprovado.\n"
  96 +"Seu relato em \"%{target}\" foi aprovado.\n"
113 97 "\tVocê pode acessar %{url} para ver seu comentário."
114 98  
115   -#: ../lib/organization_rating.rb:10
116 99 msgid "must be between 1 and 5"
117 100 msgstr "deve ser entre 1 e 5"
118 101  
119   -#: ../lib/organization_ratings_block.rb:5
120 102 msgid "Organization Ratings"
121 103 msgstr "Avaliações da Organização"
122 104  
123   -#: ../lib/organization_ratings_block.rb:9
124 105 msgid "This block displays the organization ratings."
125 106 msgstr "Este bloco mostra as avaliações da organização."
126 107  
127   -#: ../lib/organization_ratings_config.rb:8
128 108 msgid "More Recent"
129 109 msgstr "Mais Recentes"
130 110  
131   -#: ../lib/organization_ratings_config.rb:8
132 111 msgid "Best Ratings"
133 112 msgstr "Melhores Avaliações"
134 113  
135   -#: ../lib/organization_ratings_plugin.rb:9
136 114 msgid "A plugin that allows you to rate a organization and comment about it."
137   -msgstr ""
138   -"Um plugin que permite que você avalie uma organização e comente sobre ela."
  115 +msgstr "Um plugin que permite que você avalie uma organização e comente sobre ela."
139 116  
140   -#: ../views/blocks/display_organization_average_rating.html.erb:4
141 117 msgid "Rating: "
142 118 msgstr "Avaliação: "
143 119  
144   -#: ../views/blocks/display_organization_average_rating.html.erb:18
145 120 msgid "Be the first to rate!"
146 121 msgstr "Seja o primeiro a avaliar!"
147 122  
148   -#: ../views/blocks/display_organization_average_rating.html.erb:23
149 123 msgid "Rate this %s"
150 124 msgstr "Avalie esta %s"
151 125  
152   -#: ../views/blocks/organization_ratings_block.html.erb:17
153 126 msgid "See more"
154 127 msgstr "Veja mais"
155 128  
156   -#: ../views/organization_ratings_plugin_admin/index.html.erb:3
157 129 msgid "Organization Rating Settings"
158 130 msgstr "Configuração para Avaliações em Organizações"
159 131  
160   -#: ../views/organization_ratings_plugin_admin/index.html.erb:10
161 132 msgid "Value"
162 133 msgstr "Valor"
163 134  
164   -#: ../views/organization_ratings_plugin_admin/index.html.erb:13
165 135 msgid "Default amount of stars marked on evaluations"
166 136 msgstr "Quantidade padrão de estrelas marcadas nas avaliações"
167 137  
168   -#: ../views/organization_ratings_plugin_admin/index.html.erb:17
169 138 msgid "Users can rate an organization only once"
170 139 msgstr "Usuários podem avaliar uma organização apenas uma vez"
171 140  
172   -#: ../views/organization_ratings_plugin_admin/index.html.erb:21
173 141 msgid "The comments are moderated"
174 142 msgstr "Os comentários são moderados"
175 143  
176   -#: ../views/organization_ratings_plugin_admin/index.html.erb:26
177 144 msgid "Time in hours between evaluations from the same user."
178 145 msgstr "Tempo em horas entre avaliações do mesmo usuário."
179 146  
180   -#: ../views/organization_ratings_plugin_admin/index.html.erb:27
181 147 msgid "To disable cooldown use zero (0) value."
182 148 msgstr "Para desabilitar o tempo de espera utilize o valor zero (0)."
183 149  
184   -#: ../views/organization_ratings_plugin_admin/index.html.erb:35
185 150 msgid "Order ratings by"
186 151 msgstr "Ordenar avaliações por"
187 152  
188   -#: ../views/organization_ratings_plugin_admin/index.html.erb:41
189 153 msgid "Ratings amount per page"
190 154 msgstr "Quantidade de avaliações por página"
191 155  
192   -#: ../views/organization_ratings_plugin_admin/index.html.erb:50
193 156 msgid "Back"
194 157 msgstr "Voltar"
195 158  
196   -#: ../views/organization_ratings_plugin_profile/_new_rating_fields.html.erb:38
197 159 msgid "Rated as"
198 160 msgstr "Avaliado em"
199 161  
200   -#: ../views/organization_ratings_plugin_profile/_new_rating_fields.html.erb:38
201 162 msgid "stars"
202 163 msgstr "estrelas"
203 164  
204   -#: ../views/organization_ratings_plugin_profile/_new_rating_fields.html.erb:45
205 165 msgid "Comment (Optional):"
206 166 msgstr "Comentário (Opcional):"
207 167  
208   -#: ../views/organization_ratings_plugin_profile/_new_rating_fields.html.erb:52
209 168 msgid "Save"
210 169 msgstr "Salvar"
211 170  
212   -#: ../views/organization_ratings_plugin_profile/_new_rating_fields.html.erb:62
213 171 msgid "Hi, %s! The administrators set that you can vote"
214 172 msgstr "Olá, %s! Os administradores configuraram que você pode votar apenas"
215 173  
216   -#: ../views/organization_ratings_plugin_profile/_new_rating_fields.html.erb:63
217 174 msgid "only once"
218 175 msgstr "uma vez"
219 176  
220   -#: ../views/organization_ratings_plugin_profile/_new_rating_fields.html.erb:64
221 177 msgid "for this %s."
222 178 msgstr "para esta %s."
223 179  
224   -#: ../views/organization_ratings_plugin_profile/_new_rating_fields.html.erb:69
225 180 msgid "Hi, %s! The administrators set the minimum time of"
226 181 msgstr "Olá, %s! Os administradores configuraram o tempo mínimo de"
227 182  
228   -#: ../views/organization_ratings_plugin_profile/_new_rating_fields.html.erb:70
229 183 msgid "%d hour(s)"
230 184 msgstr "%d hora(s)"
231 185  
232   -#: ../views/organization_ratings_plugin_profile/_new_rating_fields.html.erb:71
233 186 msgid "between each evaluation."
234 187 msgstr "entre cada avaliação."
235 188  
236   -#: ../views/shared/_make_report_block.html.erb:12
237 189 msgid "User not logged"
238 190 msgstr "Usuário não logado"
239 191  
240   -#: ../views/shared/_make_report_block.html.erb:18
241 192 msgid "Report your experiences."
242 193 msgstr "Relate suas experiências."
243 194  
244   -#: ../views/shared/_make_report_block.html.erb:25
245 195 msgid "* You must be logged in to submit a report."
246 196 msgstr "* Você precisa estar logado para enviar um relato."
247 197  
248   -#: ../views/shared/_rating_button.html.erb:3
249 198 msgid "Rate %s "
250 199 msgstr "Avaliar %s "
251 200  
252   -#: ../views/shared/_rating_button.html.erb:7
253 201 msgid "Log in"
254 202 msgstr "Entrar"
255 203  
256   -#: ../views/shared/_user_rating_container.html.erb:29
257 204 msgid "Report waiting for approval"
258 205 msgstr "Relato aguardando aprovação"
259 206  
260   -#: ../views/tasks/_create_organization_rating_comment_accept_details.html.erb:5
261 207 msgid "Description:"
262 208 msgstr "Descrição:"
263 209  
264   -#: ../views/tasks/_create_organization_rating_comment_accept_details.html.erb:9
265 210 msgid "* The rating score is not moderated."
266 211 msgstr "* A pontuação de classificação não é moderada."
267   -
268   -#: plugins/organization_ratings/lib/create_organization_rating_comment.rb:31
269   -#~ msgid "Comment waiting for approval"
270   -#~ msgstr "Comentario aguardando aprovação"
271   -
272   -#: plugins/organization_ratings/lib/create_organization_rating_comment.rb:48
273   -#~ msgid "Comment rejected"
274   -#~ msgstr "Comentário rejeitado"
275   -
276   -#: plugins/organization_ratings/lib/create_organization_rating_comment.rb:52
277   -#: plugins/organization_ratings/views/shared/_user_rating_container.html.erb:28
278   -#~ msgid "No comment"
279   -#~ msgstr "Sem comentário"
280   -
281   -#: plugins/organization_ratings/lib/create_organization_rating_comment.rb:61
282   -#~ msgid "New Comment"
283   -#~ msgstr "Novo Comentário"
284   -
285   -#: plugins/organization_ratings/lib/create_organization_rating_comment.rb:65
286   -#~ msgid ""
287   -#~ "<a href=%{requestor_url}>%{requestor}</a> wants to create a comment in "
288   -#~ "this %{target_class}"
289   -#~ msgstr ""
290   -#~ "<a href=%{requestor_url}>%{requestor}</a> deseja criar um comentário "
291   -#~ "neste(a) %{target_class}"
292   -
293   -#: plugins/organization_ratings/lib/create_organization_rating_comment.rb:90
294   -#~ msgid "%{requestor} wants to create a comment in this \"%{target}\""
295   -#~ msgstr "%{requestor} deseja criar um comentário neste(a) \"%{target}\""
296   -
297   -#: plugins/organization_ratings/lib/create_organization_rating_comment.rb:95
298   -#~ msgid ""
299   -#~ "User \"%{user}\" requested to create a comment in the %{target_class}\n"
300   -#~ " \"%{target_name}\".\n"
301   -#~ " You have to approve or reject it through the \"Pending Validations"
302   -#~ "\"\n"
303   -#~ " section in your control panel.\n"
304   -#~ msgstr ""
305   -#~ "O usuário \"%{user}\" requisitou a criação de um comentário na "
306   -#~ "%{target_class}\n"
307   -#~ " \"%{target_name}\".\n"
308   -#~ " Você deve aprová-lo ou rejeitá-lo através da seção de \"Validações "
309   -#~ "Pendentes\"\n"
310   -#~ " no seu painel de controle.\n"
311   -
312   -#: plugins/organization_ratings/lib/create_organization_rating_comment.rb:103
313   -#~ msgid ""
314   -#~ "Your request for commenting at %{target} was\n"
315   -#~ " just sent. The administrator will receive it and will approve or\n"
316   -#~ " reject your request according to his methods and criteria.\n"
317   -#~ " You will be notified as soon as environment administrator has a "
318   -#~ "position\n"
319   -#~ " about your request."
320   -#~ msgstr ""
321   -#~ "Seu pedido para comentar em %{target} foi\n"
322   -#~ " enviado. O administrador irá recebê-lo e aprovar ou\n"
323   -#~ " rejeitar seu pedido de acordo com seus métodos e critérios.\n"
324   -#~ " Você será notificado assim que o administrador tenha uma posição\n"
325   -#~ " sobre seu pedido."
326   -
327   -#: plugins/organization_ratings/lib/create_organization_rating_comment.rb:112
328   -#~ msgid ""
329   -#~ "Your request for commenting at %{target} was\n"
330   -#~ " not approved by the administrator. The following explanation\n"
331   -#~ " was given: \n"
332   -#~ "\n"
333   -#~ "%{explanation}"
334   -#~ msgstr ""
335   -#~ "Seu pedido para comentar em %{target} não\n"
336   -#~ " foi aprovado pelo administrador. A seguinte explicação\n"
337   -#~ " foi dada: \n"
338   -#~ "\n"
339   -#~ "%{explanation}"
340   -
341   -#: plugins/organization_ratings/lib/create_organization_rating_comment.rb:120
342   -#~ msgid ""
343   -#~ "Your request for commenting at %{target} was approved.\n"
344   -#~ " You can access %{url} to see your comment."
345   -#~ msgstr ""
346   -#~ "Seu pedido para comentar em %{target} foi aprovado.\n"
347   -#~ "\tVocê pode acessar %{url} para ver seu comentário."
348   -
349   -#: plugins/organization_ratings/views/tasks/_create_organization_rating_comment_accept_details.html.erb:2
350   -#~ msgid "Comment:"
351   -#~ msgstr "Comentário:"
352   -
353   -#~ msgid "community"
354   -#~ msgstr "comunidade"
... ...