diff --git a/app/views/productions/show.html.erb b/app/views/productions/show.html.erb index 8ed6c7cb..b4e9a756 100644 --- a/app/views/productions/show.html.erb +++ b/app/views/productions/show.html.erb @@ -10,8 +10,8 @@
- <%= link_to 'Download Service Order PDF', service_order_pdf_production_path(@production), class: 'btn btn-primary', target: '_blank' %> - <%= link_to 'Download Payment Order PDF', payment_order_pdf_production_path(@production), class: 'btn btn-success', target: '_blank' %> + <%= link_to t('.download_service_order_pdf'), service_order_pdf_production_path(@production), class: 'btn btn-primary', target: '_blank' %> + <%= link_to t('.download_payment_order_pdf'), payment_order_pdf_production_path(@production), class: 'btn btn-success', target: '_blank' %>
diff --git a/config/locales/pt-BR.models.productions.yml b/config/locales/pt-BR.models.productions.yml index 77ad1bcf..4d73877b 100644 --- a/config/locales/pt-BR.models.productions.yml +++ b/config/locales/pt-BR.models.productions.yml @@ -142,6 +142,8 @@ pt-BR: payments: "Pagamentos" total_paid: "Total Pago" remaining_balance: "Saldo Restante" + download_service_order_pdf: "Baixar PDF da Ordem de Serviço" + download_payment_order_pdf: "Baixar PDF da Ordem de Pagamento" new: title: "Nova Produção" new_production: "Criar Nova Produção"