$parse($scope.crmUiWizard).assign($scope.$parent, this);
}
},
- link: function (scope, element, attrs) {}
+ link: function (scope, element, attrs) {
+ scope.ts = CRM.ts(null);
+ }
};
})
</ul>
<div class="crm-wizard-body" ng-transclude/>
<div class="crm-wizard-buttons">
- <button crm-icon="triangle-1-w" ng-click="crmUiWizardCtrl.previous()" ng-show="!crmUiWizardCtrl.$first()"></button>
- <button crm-icon="triangle-1-e" ng-click="crmUiWizardCtrl.next()" ng-show="!crmUiWizardCtrl.$last()" ng-disabled="!crmUiWizardCtrl.$validStep()"></button>
+ <button crm-icon="triangle-1-w" ng-click="crmUiWizardCtrl.previous()" ng-show="!crmUiWizardCtrl.$first()">{{ts('Previous')}}</button>
+ <button crm-icon="triangle-1-e" ng-click="crmUiWizardCtrl.next()" ng-show="!crmUiWizardCtrl.$last()" ng-disabled="!crmUiWizardCtrl.$validStep()">{{ts('Next')}}</button>
</div>
</div>