Make two more strings translatable

This commit is contained in:
Maikel Linke
2017-07-19 13:17:10 +10:00
parent f4b1667005
commit 71742a80b5
2 changed files with 5 additions and 3 deletions

View File

@@ -4,12 +4,12 @@
- if @order.complete?
.alpha.six.columns
%p
%b= "#{t(:distributor)}:"
%b= t('.distributor')
= @order.distributor.andand.name || t(:none)
%input{type: "hidden", id: "order_distributor_id", value: @order.distributor.andand.id}
.omega.six.columns
%p
%b= "#{t(:order_cycle)}:"
%b= t('.order_cycle')
= @order.order_cycle.andand.name || t(:none)
%input{type: "hidden", id: "order_order_cycle_id", value: @order.order_cycle.andand.id}
- else
@@ -24,7 +24,7 @@
.omega.six.columns
.field
%label{ for: "order_order_cycle_id"}= t(:order_cycle)
%label{for: "order_order_cycle_id"}= t(:order_cycle)
%input.ofn-select2.fullwidth{id: "order_order_cycle_id",
type: 'number',
name: "order[order_cycle_id]",

View File

@@ -2041,6 +2041,8 @@ Please follow the instructions there to make your enterprise visible on the Open
form:
distribution_fields:
title: Distribution
distributor: "Distributor:"
order_cycle: "Order cycle:"
overview:
order_cycles:
order_cycles: "Order Cycles"