mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-10 23:07:47 +00:00
Add missing translation
This commit is contained in:
@@ -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()}"
|
||||
|
||||
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user