lightbox_overlay: “Pan and Zoom” → “Pan & zoom”.

The ‘t’ helper operates on text strings, not HTML.  The ‘&’ works
fine, and is correctly escaped for output by Handlebars, like any text
string interpolated with ‘{{}}’.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2021-06-21 12:49:50 -07:00 committed by Tim Abbott
parent e231a03eff
commit b4a26bcafd
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
<div class="exit" aria-label="{{t 'Close' }}"><span aria-hidden="true">x</span></div>
<div class="image-actions">
<div class="lightbox-canvas-trigger">
<div class="title">{{t "Pan and Zoom" }}</div>
<div class="title">{{t "Pan & zoom" }}</div>
<div class="status" data-disabled="{{t 'Disabled' }}" data-enabled="{{t 'Enabled' }}"></div>
</div>
<a class="button small open" rel="noopener noreferrer" target="_blank">{{t "Open" }}</a>