Commit bb9c597153568c545bf63cf8555eba06fbef3d35

Authored by Tallys Martins
1 parent b3611741

Some minor fixes for Organization Ratings Plugin

Signed-off-by: Simiao Carvalho <simiaosims@gmail.com>
Signed-off-by: Tallys Martins <tallysmartins@gmail.com>
plugins/organization_ratings/po/pt/organization_ratings.po
@@ -6,8 +6,8 @@ @@ -6,8 +6,8 @@
6 #, fuzzy 6 #, fuzzy
7 msgid "" 7 msgid ""
8 msgstr "" 8 msgstr ""
9 -"Project-Id-Version: 1.2-478-gee4ad04\n"  
10 -"POT-Creation-Date: 2015-09-11 18:11-0300\n" 9 +"Project-Id-Version: 1.2.1+spb4-1-g4767db4\n"
  10 +"POT-Creation-Date: 2015-09-14 14:09-0300\n"
11 "PO-Revision-Date: 2015-09-11 18:56-0000\n" 11 "PO-Revision-Date: 2015-09-11 18:56-0000\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <LL@li.org>\n" 13 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -196,7 +196,7 @@ msgstr &quot;Tempo em horas entre avaliações do mesmo usuário.&quot; @@ -196,7 +196,7 @@ msgstr &quot;Tempo em horas entre avaliações do mesmo usuário.&quot;
196 196
197 #: plugins/organization_ratings/views/organization_ratings_plugin_admin/index.html.erb:27 197 #: plugins/organization_ratings/views/organization_ratings_plugin_admin/index.html.erb:27
198 msgid "To disable cooldown use zero (0) value." 198 msgid "To disable cooldown use zero (0) value."
199 -msgstr "Bara desabilitar o tempo de espera utilize o valor zero (0)." 199 +msgstr "Para desabilitar o tempo de espera utilize o valor zero (0)."
200 200
201 #: plugins/organization_ratings/views/organization_ratings_plugin_admin/index.html.erb:35 201 #: plugins/organization_ratings/views/organization_ratings_plugin_admin/index.html.erb:35
202 msgid "Order ratings by" 202 msgid "Order ratings by"
plugins/organization_ratings/views/blocks/display_organization_average_rating.html.erb
@@ -20,6 +20,6 @@ @@ -20,6 +20,6 @@
20 <% end %> 20 <% end %>
21 21
22 <div class="rate-this-organization"> 22 <div class="rate-this-organization">
23 - <%= link_to _("Rate this %s" % _(profile.class.name)), url_for(:controller => "organization_ratings_plugin_profile", :action => "new_rating", :profile=>profile_identifier) %> 23 + <%= link_to _("Rate this %s") % _(profile.class.name), url_for(:controller => "organization_ratings_plugin_profile", :action => "new_rating", :profile=>profile_identifier) %>
24 </div> 24 </div>
25 </div> 25 </div>
26 \ No newline at end of file 26 \ No newline at end of file
plugins/organization_ratings/views/organization_ratings_plugin_profile/_new_rating_fields.html.erb
@@ -53,7 +53,7 @@ @@ -53,7 +53,7 @@
53 <%= submit_button(:save, _('Save'), :cancel => {controller: 'profile', action: 'index'}) %> 53 <%= submit_button(:save, _('Save'), :cancel => {controller: 'profile', action: 'index'}) %>
54 </div> 54 </div>
55 55
56 - <input type="hidden" id="selected-star-rate" name="organization_rating_value" value="<%= @default_rate %>"> 56 + <input type="hidden" id="selected-star-rate" name="organization_rating_value" value="<%= default_rating %>">
57 <input type="hidden" id="minimum_stars" name="organization_rating_min_value" value="<%= min_rate %>"> 57 <input type="hidden" id="minimum_stars" name="organization_rating_min_value" value="<%= min_rate %>">
58 <% end %> 58 <% end %>
59 </div> 59 </div>