new translation key for products_or created

This commit is contained in:
Masha
2019-05-05 13:23:45 +01:00
committed by luisramos0
parent 94cbac00a5
commit 5470f8d758
2 changed files with 3 additions and 2 deletions

View File

@@ -45,12 +45,12 @@ Darkswarm.controller "ProductsCtrl", ($scope, $filter, $rootScope, Products, Ord
$scope.appliedTaxonsList = ->
$scope.activeTaxons.map( (taxon_id) ->
Taxons.taxons_by_id[taxon_id].name
).join(" & ") if $scope.activeTaxons?
).join(t('products_or')) if $scope.activeTaxons?
$scope.appliedPropertiesList = ->
$scope.activeProperties.map( (property_id) ->
Properties.properties_by_id[property_id].name
).join(" OR ") if $scope.activeProperties?
).join(t('products_or')) if $scope.activeProperties?
$scope.clearAll = ->
$scope.query = ""

View File

@@ -1573,6 +1573,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using
products_clear_all: Clear all
products_showing: "Showing:"
products_or: " OR "
products_with: with
products_search: "Search by product or producer"
products_loading: "Loading products..."