From 5ed6347767943a9bbb49c1debc66ab1c76f0ee57 Mon Sep 17 00:00:00 2001 From: Braulio Bhavamitra Date: Tue, 16 Apr 2013 17:37:21 +0000 Subject: [PATCH] Put text into a translation context --- plugins/shopping_cart/views/shopping_cart_plugin/buy.html.erb | 2 +- po/pt/noosfero.po | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/plugins/shopping_cart/views/shopping_cart_plugin/buy.html.erb b/plugins/shopping_cart/views/shopping_cart_plugin/buy.html.erb index 66eea67..5f030d9 100644 --- a/plugins/shopping_cart/views/shopping_cart_plugin/buy.html.erb +++ b/plugins/shopping_cart/views/shopping_cart_plugin/buy.html.erb @@ -8,7 +8,7 @@ <%= labelled_form_field('* ' + _("Contact phone"), f.text_field(:contact_phone, :class => 'required') ) %> <%= labelled_form_field(_('Delivery option'), select_tag(:delivery_option, options_for_select(select_delivery_options(@settings.delivery_options, environment)), 'data-profile-identifier' => @enterprise.identifier)) unless !@settings.delivery || (@settings.free_delivery_price && get_total(@cart[:items]) >= @settings.free_delivery_price) %> <%= labelled_form_field(_('Payment'), select_tag('customer[payment]', options_for_select([[_("Money"), :money],[_('Check'), :check]]))) %> - <%= labelled_form_field(_('Change'), text_field_tag('customer[change]')) %> + <%= labelled_form_field(s_('shopping_cart|Change'), text_field_tag('customer[change]')) %> <% if @settings.delivery %>
<%=_('Delivery Address')%> diff --git a/po/pt/noosfero.po b/po/pt/noosfero.po index 2a95fe2..f2ba45c 100644 --- a/po/pt/noosfero.po +++ b/po/pt/noosfero.po @@ -11086,6 +11086,10 @@ msgstr "Tempo de tolerância para edição de comentários" msgid "Empty means unlimited and zero means right away." msgstr "Vazio significa ilimitado e zero significa imediatamente." +#: plugins/shopping_cart/views/shopping_cart_plugin/buy.html.erb:11 +msgid "shopping_cart|Change" +msgstr "Troco" + #: plugins/shopping_cart/views/cart.html.erb:2 msgid "Are you sure you want to remove this item?" msgstr "Tem certeza de que quer excluir este ítem?" @@ -11163,7 +11167,6 @@ msgstr "Pagamento" #: plugins/shopping_cart/views/shopping_cart_plugin_myprofile/_orders_list.html.erb:35 #: plugins/shopping_cart/views/shopping_cart_plugin/mailer/customer_notification.html.erb:22 #: plugins/shopping_cart/views/shopping_cart_plugin/mailer/supplier_notification.html.erb:20 -#: plugins/shopping_cart/views/shopping_cart_plugin/buy.html.erb:11 #, fuzzy msgid "Change" msgstr "Mudar imagem" -- libgit2 0.21.2