Commit a6c28c6118171cf907287379e56f29fb5ad6f065

Authored by Rodrigo Souto
2 parents 131144ba 251e6406

Merge branch 'ai3041' into 'stable'

Rename shopping basket configuration fields

http://noosfero.org/Development/ActionItem3041
plugins/shopping_cart/views/shopping_cart_plugin_myprofile/edit.html.erb
1 1 <h1> <%= _('Basket options') %> </h1>
2 2  
3 3 <% form_for(:settings, @settings, :url => {:action => 'edit'}, :html => {:method => 'post'}) do |f| %>
4   - <%= labelled_form_field(_('Enabled?'), f.check_box(:enabled)) %>
5   - <%= labelled_form_field(_('Delivery?'), f.check_box(:delivery)) %>
  4 + <%= labelled_form_field(_('Enable shopping basket'), f.check_box(:enabled)) %>
  5 + <%= labelled_form_field(_('Enable delivery fields on orders'), f.check_box(:delivery)) %>
6 6 <% display_delivery_settings = @settings.delivery ? 'auto' : 'none' %>
7 7 <fieldset id='delivery_settings' style="display: <%= display_delivery_settings %>"><legend><%=_('Delivery')%></legend>
8 8 <table>
... ... @@ -33,8 +33,8 @@
33 33 </tr>
34 34 </table>
35 35  
36   - <%= labelled_form_field(_('Free delivery price:'), f.text_field(:free_delivery_price)) %>
37   - <%= content_tag('small', _('Empty stands for no free delivery price.')) %>
  36 + <%= labelled_form_field(_("Order's minimum price for free delivery:"), f.text_field(:free_delivery_price)) %>
  37 + <%= content_tag('small', _('Leave empty to always charge the delivery.')) %>
38 38 </fieldset>
39 39 <br style='clear: both'/>
40 40 <br style='clear: both'/>
... ...
po/pt/noosfero.po
... ... @@ -7218,8 +7218,8 @@ msgstr &quot;Funcionalidade&quot;
7218 7218  
7219 7219 #: app/views/features/index.rhtml:16
7220 7220 #: plugins/shopping_cart/views/shopping_cart_plugin_myprofile/edit.html.erb:4
7221   -msgid "Enabled?"
7222   -msgstr "Habilitada?"
  7221 +msgid "Enable shopping basket"
  7222 +msgstr "Habilitar cesto de compras"
7223 7223  
7224 7224 #: app/views/features/index.rhtml:27
7225 7225 msgid "Configure features"
... ... @@ -12292,8 +12292,8 @@ msgid &quot;Basket options&quot;
12292 12292 msgstr "Opções do cesto"
12293 12293  
12294 12294 #: plugins/shopping_cart/views/shopping_cart_plugin_myprofile/edit.html.erb:5
12295   -msgid "Delivery?"
12296   -msgstr "Entrega?"
  12295 +msgid "Enable delivery fields on orders"
  12296 +msgstr "Ativar campos de entrega para pedidos"
12297 12297  
12298 12298 #: plugins/shopping_cart/views/shopping_cart_plugin_myprofile/edit.html.erb:10
12299 12299 msgid "Option"
... ... @@ -12310,12 +12310,12 @@ msgid &quot;ADD NEW OPTION&quot;
12310 12310 msgstr "ADCIONAR NOVA OPÇÂO"
12311 12311  
12312 12312 #: plugins/shopping_cart/views/shopping_cart_plugin_myprofile/edit.html.erb:36
12313   -msgid "Free delivery price:"
12314   -msgstr "Preço de entrega grátis:"
  12313 +msgid "Order's minimum price for free delivery:"
  12314 +msgstr "Preço mínimo do pedido para entrega grátis:"
12315 12315  
12316 12316 #: plugins/shopping_cart/views/shopping_cart_plugin_myprofile/edit.html.erb:37
12317   -msgid "Empty stands for no free delivery price."
12318   -msgstr "Vazio significa sem preço de frete grátis."
  12317 +msgid "Leave empty to always charge the delivery."
  12318 +msgstr "Deixe vazio para sempre cobrar a entrega."
12319 12319  
12320 12320 #: plugins/shopping_cart/views/shopping_cart_plugin_myprofile/reports.html.erb:1
12321 12321 msgid "Purchase Reports"
... ...