Add missing translation

This commit is contained in:
Rob Harrington
2018-02-19 12:32:51 +11:00
committed by Rob H
parent c4a81bdc48
commit cec5fddf6a
3 changed files with 4 additions and 2 deletions

View File

@@ -6,5 +6,5 @@ angular.module("admin.subscriptions").controller "OrderUpdateIssuesController",
$scope.orderCycleCloses = (id) ->
closes_at = moment(OrderCycles.byID[id].orders_close_at)
text = if closes_at > moment() then t('closes') else t('closed')
text = if closes_at > moment() then t('js.closes') else t('js.closed')
"#{text} #{closes_at.fromNow()}"

View File

@@ -14,7 +14,7 @@ angular.module("admin.subscriptions").controller "OrdersPanelController", ($scop
$scope.orderCycleCloses = (id) ->
closes_at = moment(OrderCycles.byID[id].orders_close_at)
text = if closes_at > moment() then t('closes') else t('closed')
text = if closes_at > moment() then t('js.closes') else t('js.closed')
"#{text} #{closes_at.fromNow()}"
$scope.stateText = (state) -> t("spree.order_state.#{state}")

View File

@@ -2204,6 +2204,8 @@ See the %{link} to find out more about %{sitename}'s features and to start using
choose: Choose
resolve_errors: Please resolve the following errors
more_items: "+ %{count} More"
closes: closes
closed: closed
admin:
modals:
got_it: Got it