Translate tooltips

This commit is contained in:
James Allen 2017-02-20 11:51:06 +01:00
parent 44377ed03c
commit 637cfa2e18

View file

@ -304,7 +304,7 @@ script(type='text/ng-template', id='addCommentEntryTemplate')
.rp-entry-indicator( .rp-entry-indicator(
ng-if="!commentState.adding" ng-if="!commentState.adding"
ng-click="startNewComment(); onIndicatorClick();" ng-click="startNewComment(); onIndicatorClick();"
tooltip="Add a comment" tooltip=translate("add_comment")
tooltip-placement="{{ layoutToLeft ? 'left' : 'right' }}" tooltip-placement="{{ layoutToLeft ? 'left' : 'right' }}"
tooltip-append-to-body="true" tooltip-append-to-body="true"
) )
@ -351,7 +351,7 @@ script(type='text/ng-template', id='resolvedCommentsDropdownTemplate')
a.resolved-comments-toggle( a.resolved-comments-toggle(
href href
ng-click="toggleOpenState();" ng-click="toggleOpenState();"
tooltip="Resolved Comments" tooltip=translate("resolved_comments")
tooltip-placement="bottom" tooltip-placement="bottom"
tooltip-append-to-body="true" tooltip-append-to-body="true"
) )