1
0
Fork 0
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:
Yury Delendik 2012-05-02 09:56:10 -05:00
parent fcbc684578
commit 6c04bed1ce
5 changed files with 9 additions and 4 deletions

View file

@ -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');