mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
open_file and text_annotation_type localized strings
This commit is contained in:
parent
fcbc684578
commit
6c04bed1ce
5 changed files with 9 additions and 4 deletions
|
@ -837,7 +837,7 @@ var PageView = function pageView(container, pdfPage, id, scale,
|
|||
var rect = viewport.convertToViewportRectangle(item.rect);
|
||||
rect = PDFJS.Util.normalizeRect(rect);
|
||||
image.src = kImageDirectory + type.toLowerCase() + '.svg';
|
||||
image.alt = '[' + type + ' Annotation]';
|
||||
image.alt = mozL10n.get('text_annotation_type', {type: type});
|
||||
var content = document.createElement('div');
|
||||
content.setAttribute('hidden', true);
|
||||
var title = document.createElement('h1');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue