Stop using inexistent en.order_state translations keys and use existing en.spree.order_state in haml code and new js.admin.orders.order_state in JS code

This commit is contained in:
luisramos0
2019-02-26 17:03:26 +00:00
parent b94c6c1fb6
commit 7c39c45f79
5 changed files with 7 additions and 7 deletions

View File

@@ -19,4 +19,4 @@ angular.module("admin.subscriptions").controller "OrdersPanelController", ($scop
text = if closes_at > moment() then t('js.subscriptions.closes') else t('js.subscriptions.closed')
"#{text} #{closes_at.fromNow()}"
$scope.stateText = (state) -> t("spree.order_state.#{state}")
$scope.stateText = (state) -> t("js.admin.orders.order_state.#{state}")