Add missing translations from files list.

This commit is contained in:
Julius Pabrinkis
2017-05-09 16:11:32 +01:00
committed by Maikel Linke
parent 5c66a2fc9d
commit ef488133e8
21 changed files with 66 additions and 34 deletions

View File

@@ -13,6 +13,6 @@
%tr
%td= result[:distributor].name
%td= result[:order_cycle].name
%td= result[:status] ? 'OK' : 'Error'
%td= result[:status] ? t(:ok) : t('.error')
%td
%pre= result[:diff].to_s(:text)

View File

@@ -1,5 +1,5 @@
%td {{ enterprise_role.user_email }}
%td manages
%td= t('admin.enterprise_roles.manages')
%td {{ enterprise_role.enterprise_name }}
%td.actions
%a.delete-enterprise-role.icon-trash.no-text{'ng-click' => 'delete(enterprise_role)'}

View File

@@ -3,7 +3,7 @@
.exchange-select-all-variants
%label
= check_box_tag 'order_cycle_incoming_exchange_{{ $parent.$index }}_select_all_variants', 1, 1, 'ng-model' => 'exchange.select_all_variants', 'ng-change' => 'setExchangeVariants(exchange, suppliedVariants(exchange.enterprise_id), exchange.select_all_variants)', 'id' => 'order_cycle_incoming_exchange_{{ $parent.$index }}_select_all_variants'
Select all
= t('admin.select_all')
.exchange-products
-# No need to scope product list based on permissions, because if an incoming exchange is visible,
@@ -23,7 +23,7 @@
%label
= check_box_tag 'order_cycle_incoming_exchange_{{ $parent.$index }}_variants_{{ product.master_id }}', 1, 1, 'ng-model' => 'exchange.variants[product.master_id]', 'ofn-sync-distributions' => '{{ product.master_id }}', 'id' => 'order_cycle_incoming_exchange_{{ $parent.$index }}_variants_{{ product.master_id }}',
'ng-disabled' => '!order_cycle.editable_variants_for_incoming_exchanges.hasOwnProperty(exchange.enterprise_id) || order_cycle.editable_variants_for_incoming_exchanges[exchange.enterprise_id].indexOf(product.master_id) < 0'
Obsolete master
= t('admin.obsolete_master')
.exchange-product-variant{'ng-repeat' => 'variant in product.variants'}
%label

View File

@@ -37,7 +37,7 @@
%th{ ng: { if: 'enterprises[exchange.enterprise_id].managed || order_cycle.viewing_as_coordinator' } }
= t('.tags')
%th= t('.delivery_details')
%th Fees
%th= t('.fees')
%th.actions
%tbody.panel-ctrl{ object: 'exchange', 'ng-repeat' => 'exchange in order_cycle.outgoing_exchanges'}
= render 'exchange_form', f: f, type: 'distributor'

View File

@@ -10,6 +10,6 @@
.four.columns.omega{ ng: { show: 'views.new.visible' } }
%button.fullwidth{ type: 'button', ng: { click: "selectView('inventory')" } }
%i.icon-chevron-left
Back to my inventory
= t('.back_to_my_inventory')
.four.columns.omega{ng: { show: 'views.inventory.visible' } }
%columns-dropdown{ action: "#{controller_name}_#{action_name}" }