mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Merge pull request #3769 from amers185/fix_rebase_error
Closes translation bug for enterprise fee settings
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
angular.module('admin.enterpriseFees').controller 'enterpriseFeesCtrl', ($scope, $http, $window, enterprises, tax_categories, calculators) ->
|
||||
$scope.enterprises = enterprises
|
||||
$scope.tax_categories = [{id: -1, name: "Inherit From Product"}].concat tax_categories
|
||||
$scope.tax_categories = [{id: -1, name: t('js.admin.enterprise_fees.inherit_from_product') }].concat tax_categories
|
||||
$scope.calculators = calculators
|
||||
|
||||
$scope.enterpriseFeesUrl = ->
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
= render "admin/enterprise_fees/data"
|
||||
= render :partial => 'spree/shared/error_messages', :locals => { :target => @enterprise_fee_set }
|
||||
|
||||
%input.search{'ng-model' => 'query', 'placeholder' => 'Search'}
|
||||
%input.search{'ng-model' => 'query', 'placeholder' => t('.search')}
|
||||
|
||||
%table.index#listing_enterprise_fees
|
||||
%thead
|
||||
|
||||
@@ -501,6 +501,7 @@ en:
|
||||
tax_category: Tax Category
|
||||
calculator: Calculator
|
||||
calculator_values: Calculator Values
|
||||
search: "Search"
|
||||
|
||||
enterprise_groups:
|
||||
index:
|
||||
@@ -2572,6 +2573,8 @@ See the %{link} to find out more about %{sitename}'s features and to start using
|
||||
resolve: Resolve
|
||||
new_tag_rule_dialog:
|
||||
select_rule_type: "Select a rule type:"
|
||||
enterprise_fees:
|
||||
inherit_from_product: "Inherit From Product"
|
||||
orders:
|
||||
index:
|
||||
per_page: "%{results} per page"
|
||||
|
||||
Reference in New Issue
Block a user