adding translate directive to parts of components

This commit is contained in:
Jared Tabor 2017-08-18 11:45:32 -04:00
parent 4e077e2b95
commit 043523b6d2
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<label class="at-InputLabel">
<span ng-if="state.required" class="at-InputLabel-required">*</span>
<span class="at-InputLabel-name" >{{::state.label}}</span>
<span class="at-InputLabel-name" >{{::state.label | translate}}</span>
<at-popover state="state"></at-popover>
<span ng-if="state._displayHint" class="at-InputLabel-hint" translate>{{::state._hint}}</span>
<div ng-if="state._displayPromptOnLaunch" class="at-InputLabel-checkbox pull-right">

View File

@ -9,8 +9,8 @@
<i ng-if="popover.position === 'top'" class="fa fa-caret-down fa-2x"></i>
</div>
<div class="at-Popover-content">
<h4 ng-if="popover.title" class="at-Popover-title">{{ popover.title }}</h4>
<p ng-if="popover.text" class="at-Popover-text">{{ popover.text }}</p>
<h4 ng-if="popover.title" class="at-Popover-title">{{ popover.title | translate }}</h4>
<p ng-if="popover.text" class="at-Popover-text">{{ popover.text | translate}}</p>
</div>
</div>
</div>