|
39 | 39 | See https://github.com/adobe-type-tools/cmap-resources
|
40 | 40 | -->
|
41 | 41 | <html dir="ltr" mozdisallowselectionprint>
|
42 |
| - <head data-workersrc="<?php p($urlGenerator->linkTo('files_pdfviewer', 'js/pdfjs/build/pdf.worker.js')) ?>?v=<?php p($version) ?>" |
| 42 | + <head data-workersrc="<?php p($urlGenerator->linkTo('files_pdfviewer', 'js/pdfjs/build/pdf.worker.mjs')) ?>?v=<?php p($version) ?>" |
43 | 43 | data-enableScripting="<?php p($enableScripting ? true : false) ?>"
|
44 |
| - data-sandbox="<?php p($urlGenerator->linkTo('files_pdfviewer', 'js/pdfjs/build/pdf.sandbox.js'))?>" |
| 44 | + data-sandbox="<?php p($urlGenerator->linkTo('files_pdfviewer', 'js/pdfjs/build/pdf.sandbox.mjs'))?>" |
45 | 45 | data-cmapurl="<?php p($urlGenerator->linkTo('files_pdfviewer', 'js/pdfjs/web/cmaps/')) ?>"
|
46 | 46 | data-imageresourcespath="<?php p($urlGenerator->linkTo('files_pdfviewer', 'js/pdfjs/web/images/')) ?>">
|
47 | 47 | <meta charset="utf-8">
|
|
57 | 57 |
|
58 | 58 |
|
59 | 59 | <!-- This snippet is used in production (included from viewer.html) -->
|
60 |
| - <link rel="resource" type="application/l10n" href="<?php p($urlGenerator->linkTo('files_pdfviewer', 'js/pdfjs/web/locale/locale.properties')) ?>?v=<?php p($version) ?>"/> |
61 |
| - <script nonce="<?php p(\OC::$server->getContentSecurityPolicyNonceManager()->getNonce()) ?>" src="<?php p($urlGenerator->linkTo('files_pdfviewer', 'js/pdfjs/build/pdf.js')) ?>?v=<?php p($version) ?>"></script> |
62 |
| - <script nonce="<?php p(\OC::$server->getContentSecurityPolicyNonceManager()->getNonce()) ?>" src="<?php p($urlGenerator->linkTo('files_pdfviewer', 'js/pdfjs/web/viewer.js')) ?>?v=<?php p($version) ?>"></script> |
| 60 | + <link rel="resource" type="application/l10n" href="<?php p($urlGenerator->linkTo('files_pdfviewer', 'js/pdfjs/web/locale/locale.json')) ?>?v=<?php p($version) ?>"/> |
| 61 | + <script nonce="<?php p(\OC::$server->getContentSecurityPolicyNonceManager()->getNonce()) ?>" src="<?php p($urlGenerator->linkTo('files_pdfviewer', 'js/pdfjs/build/pdf.mjs')) ?>?v=<?php p($version) ?>" type="module"></script> |
| 62 | + <script nonce="<?php p(\OC::$server->getContentSecurityPolicyNonceManager()->getNonce()) ?>" src="<?php p($urlGenerator->linkTo('files_pdfviewer', 'js/pdfjs/web/viewer.mjs')) ?>?v=<?php p($version) ?>" type="module"></script> |
63 | 63 | <script nonce="<?php p(\OC::$server->getContentSecurityPolicyNonceManager()->getNonce()) ?>" src="<?php p($urlGenerator->linkTo('files_pdfviewer', 'js/files_pdfviewer-workersrc.js')) ?>?v=<?php p($version) ?>"></script>
|
64 | 64 | </head>
|
65 | 65 |
|
|
70 | 70 | <div id="toolbarSidebar">
|
71 | 71 | <div id="toolbarSidebarLeft">
|
72 | 72 | <div id="sidebarViewButtons" class="splitToolbarButton toggled" role="radiogroup">
|
73 |
| - <button id="viewThumbnail" class="toolbarButton toggled" title="Show Thumbnails" tabindex="2" data-l10n-id="thumbs" role="radio" aria-checked="true" aria-controls="thumbnailView"> |
74 |
| - <span data-l10n-id="thumbs_label">Thumbnails</span> |
| 73 | + <button id="viewThumbnail" class="toolbarButton toggled" title="Show Thumbnails" tabindex="2" data-l10n-id="pdfjs-thumbs-button" role="radio" aria-checked="true" aria-controls="thumbnailView"> |
| 74 | + <span data-l10n-id="pdfjs-thumbs-button-label">Thumbnails</span> |
75 | 75 | </button>
|
76 |
| - <button id="viewOutline" class="toolbarButton" title="Show Document Outline (double-click to expand/collapse all items)" tabindex="3" data-l10n-id="document_outline" role="radio" aria-checked="false" aria-controls="outlineView"> |
77 |
| - <span data-l10n-id="document_outline_label">Document Outline</span> |
| 76 | + <button id="viewOutline" class="toolbarButton" title="Show Document Outline (double-click to expand/collapse all items)" tabindex="3" data-l10n-id="pdfjs-document-outline-button" role="radio" aria-checked="false" aria-controls="outlineView"> |
| 77 | + <span data-l10n-id="pdfjs-document-outline-button-label">Document Outline</span> |
78 | 78 | </button>
|
79 |
| - <button id="viewAttachments" class="toolbarButton" title="Show Attachments" tabindex="4" data-l10n-id="attachments" role="radio" aria-checked="false" aria-controls="attachmentsView"> |
80 |
| - <span data-l10n-id="attachments_label">Attachments</span> |
| 79 | + <button id="viewAttachments" class="toolbarButton" title="Show Attachments" tabindex="4" data-l10n-id="pdfjs-attachments-button" role="radio" aria-checked="false" aria-controls="attachmentsView"> |
| 80 | + <span data-l10n-id="pdfjs-attachments-button-label">Attachments</span> |
81 | 81 | </button>
|
82 |
| - <button id="viewLayers" class="toolbarButton" title="Show Layers (double-click to reset all layers to the default state)" tabindex="5" data-l10n-id="layers" role="radio" aria-checked="false" aria-controls="layersView"> |
83 |
| - <span data-l10n-id="layers_label">Layers</span> |
| 82 | + <button id="viewLayers" class="toolbarButton" title="Show Layers (double-click to reset all layers to the default state)" tabindex="5" data-l10n-id="pdfjs-layers-button" role="radio" aria-checked="false" aria-controls="layersView"> |
| 83 | + <span data-l10n-id="pdfjs-layers-button-label">Layers</span> |
84 | 84 | </button>
|
85 | 85 | </div>
|
86 | 86 | </div>
|
|
89 | 89 | <div id="outlineOptionsContainer" class="hidden">
|
90 | 90 | <div class="verticalToolbarSeparator"></div>
|
91 | 91 |
|
92 |
| - <button id="currentOutlineItem" class="toolbarButton" disabled="disabled" title="Find Current Outline Item" tabindex="6" data-l10n-id="current_outline_item"> |
93 |
| - <span data-l10n-id="current_outline_item_label">Current Outline Item</span> |
| 92 | + <button id="currentOutlineItem" class="toolbarButton" disabled="disabled" title="Find Current Outline Item" tabindex="6" data-l10n-id="pdfjs-current-outline-item-button"> |
| 93 | + <span data-l10n-id="pdfjs-current-outline-item-button-label">Current Outline Item</span> |
94 | 94 | </button>
|
95 | 95 | </div>
|
96 | 96 | </div>
|
|
111 | 111 | <div id="mainContainer">
|
112 | 112 | <div class="findbar hidden doorHanger" id="findbar">
|
113 | 113 | <div id="findbarInputContainer">
|
114 |
| - <input id="findInput" class="toolbarField" title="Find" placeholder="Find in document…" tabindex="91" data-l10n-id="find_input" aria-invalid="false"> |
| 114 | + <input id="findInput" class="toolbarField" title="Find" placeholder="Find in document…" tabindex="91" data-l10n-id="pdfjs-find-input" aria-invalid="false"> |
115 | 115 | <div class="splitToolbarButton">
|
116 |
| - <button id="findPrevious" class="toolbarButton" title="Find the previous occurrence of the phrase" tabindex="92" data-l10n-id="find_previous"> |
117 |
| - <span data-l10n-id="find_previous_label">Previous</span> |
| 116 | + <button id="findPrevious" class="toolbarButton" title="Find the previous occurrence of the phrase" tabindex="92" data-l10n-id="pdfjs-find-previous-button"> |
| 117 | + <span data-l10n-id="pdfjs-find-previous-button-label">Previous</span> |
118 | 118 | </button>
|
119 | 119 | <div class="splitToolbarButtonSeparator"></div>
|
120 |
| - <button id="findNext" class="toolbarButton" title="Find the next occurrence of the phrase" tabindex="93" data-l10n-id="find_next"> |
121 |
| - <span data-l10n-id="find_next_label">Next</span> |
| 120 | + <button id="findNext" class="toolbarButton" title="Find the next occurrence of the phrase" tabindex="93" data-l10n-id="pdfjs-find-next-button"> |
| 121 | + <span data-l10n-id="pdfjs-find-next-button-label">Next</span> |
122 | 122 | </button>
|
123 | 123 | </div>
|
124 | 124 | </div>
|
125 | 125 |
|
126 | 126 | <div id="findbarOptionsOneContainer">
|
127 | 127 | <input type="checkbox" id="findHighlightAll" class="toolbarField" tabindex="94">
|
128 |
| - <label for="findHighlightAll" class="toolbarLabel" data-l10n-id="find_highlight">Highlight All</label> |
| 128 | + <label for="findHighlightAll" class="toolbarLabel" data-l10n-id="pdfjs-find-highlight-checkbox">Highlight All</label> |
129 | 129 | <input type="checkbox" id="findMatchCase" class="toolbarField" tabindex="95">
|
130 |
| - <label for="findMatchCase" class="toolbarLabel" data-l10n-id="find_match_case_label">Match Case</label> |
| 130 | + <label for="findMatchCase" class="toolbarLabel" data-l10n-id="pdfjs-find-match-case-checkbox-label">Match Case</label> |
131 | 131 | </div>
|
132 | 132 | <div id="findbarOptionsTwoContainer">
|
133 | 133 | <input type="checkbox" id="findMatchDiacritics" class="toolbarField" tabindex="96">
|
134 |
| - <label for="findMatchDiacritics" class="toolbarLabel" data-l10n-id="find_match_diacritics_label">Match Diacritics</label> |
| 134 | + <label for="findMatchDiacritics" class="toolbarLabel" data-l10n-id="pdfjs-find-match-diacritics-checkbox-label">Match Diacritics</label> |
135 | 135 | <input type="checkbox" id="findEntireWord" class="toolbarField" tabindex="97">
|
136 |
| - <label for="findEntireWord" class="toolbarLabel" data-l10n-id="find_entire_word_label">Whole Words</label> |
| 136 | + <label for="findEntireWord" class="toolbarLabel" data-l10n-id="pdfjs-find-entire-word-checkbox-label">Whole Words</label> |
137 | 137 | </div>
|
138 | 138 |
|
139 | 139 | <div id="findbarMessageContainer" aria-live="polite">
|
|
145 | 145 | <div class="editorParamsToolbar hidden doorHangerRight" id="editorFreeTextParamsToolbar">
|
146 | 146 | <div class="editorParamsToolbarContainer">
|
147 | 147 | <div class="editorParamsSetter">
|
148 |
| - <label for="editorFreeTextColor" class="editorParamsLabel" data-l10n-id="editor_free_text_color">Color</label> |
| 148 | + <label for="editorFreeTextColor" class="editorParamsLabel" data-l10n-id="pdfjs-editor-free-text-color-input">Color</label> |
149 | 149 | <input type="color" id="editorFreeTextColor" class="editorParamsColor" tabindex="100">
|
150 | 150 | </div>
|
151 | 151 | <div class="editorParamsSetter">
|
152 |
| - <label for="editorFreeTextFontSize" class="editorParamsLabel" data-l10n-id="editor_free_text_size">Size</label> |
| 152 | + <label for="editorFreeTextFontSize" class="editorParamsLabel" data-l10n-id="pdfjs-editor-free-text-size-input">Size</label> |
153 | 153 | <input type="range" id="editorFreeTextFontSize" class="editorParamsSlider" value="10" min="5" max="100" step="1" tabindex="101">
|
154 | 154 | </div>
|
155 | 155 | </div>
|
|
158 | 158 | <div class="editorParamsToolbar hidden doorHangerRight" id="editorInkParamsToolbar">
|
159 | 159 | <div class="editorParamsToolbarContainer">
|
160 | 160 | <div class="editorParamsSetter">
|
161 |
| - <label for="editorInkColor" class="editorParamsLabel" data-l10n-id="editor_ink_color">Color</label> |
| 161 | + <label for="editorInkColor" class="editorParamsLabel" data-l10n-id="pdfjs-editor-ink-color-input">Color</label> |
162 | 162 | <input type="color" id="editorInkColor" class="editorParamsColor" tabindex="102">
|
163 | 163 | </div>
|
164 | 164 | <div class="editorParamsSetter">
|
165 |
| - <label for="editorInkThickness" class="editorParamsLabel" data-l10n-id="editor_ink_thickness">Thickness</label> |
| 165 | + <label for="editorInkThickness" class="editorParamsLabel" data-l10n-id="pdfjs-editor-ink-thickness-input">Thickness</label> |
166 | 166 | <input type="range" id="editorInkThickness" class="editorParamsSlider" value="1" min="1" max="20" step="1" tabindex="103">
|
167 | 167 | </div>
|
168 | 168 | <div class="editorParamsSetter">
|
169 |
| - <label for="editorInkOpacity" class="editorParamsLabel" data-l10n-id="editor_ink_opacity">Opacity</label> |
| 169 | + <label for="editorInkOpacity" class="editorParamsLabel" data-l10n-id="pdfjs-editor-ink-opacity-input">Opacity</label> |
170 | 170 | <input type="range" id="editorInkOpacity" class="editorParamsSlider" value="100" min="1" max="100" step="1" tabindex="104">
|
171 | 171 | </div>
|
172 | 172 | </div>
|
173 | 173 | </div>
|
174 | 174 |
|
175 | 175 | <div class="editorParamsToolbar hidden doorHangerRight" id="editorStampParamsToolbar">
|
176 | 176 | <div class="editorParamsToolbarContainer">
|
177 |
| - <button id="editorStampAddImage" class="secondaryToolbarButton" title="Add image" tabindex="105" data-l10n-id="editor_stamp_add_image"> |
178 |
| - <span data-l10n-id="editor_stamp_add_image_label">Add image</span> |
| 177 | + <button id="editorStampAddImage" class="secondaryToolbarButton" title="Add image" tabindex="105" data-l10n-id="pdfjs-editor-stamp-add-image-button"> |
| 178 | + <span data-l10n-id="pdfjs-editor-stamp-add-image-button-label">Add image</span> |
179 | 179 | </button>
|
180 | 180 | </div>
|
181 | 181 | </div>
|
182 | 182 |
|
183 | 183 | <div id="secondaryToolbar" class="secondaryToolbar hidden doorHangerRight">
|
184 | 184 | <div id="secondaryToolbarButtonContainer">
|
185 |
| - <button id="secondaryOpenFile" class="secondaryToolbarButton visibleLargeView" title="Open File" tabindex="51" data-l10n-id="open_file" hidden="true"> |
186 |
| - <span data-l10n-id="open_file_label">Open</span> |
| 185 | + <button id="secondaryOpenFile" class="secondaryToolbarButton visibleLargeView" title="Open File" tabindex="51" data-l10n-id="pdfjs-open-file-button" hidden="true"> |
| 186 | + <span data-l10n-id="pdfjs-open-file-button-label">Open</span> |
187 | 187 | </button>
|
188 | 188 |
|
189 |
| - <button id="secondaryPrint" class="secondaryToolbarButton visibleMediumView" title="Print" tabindex="52" data-l10n-id="print"> |
190 |
| - <span data-l10n-id="print_label">Print</span> |
| 189 | + <button id="secondaryPrint" class="secondaryToolbarButton visibleMediumView" title="Print" tabindex="52" data-l10n-id="pdfjs-print-button"> |
| 190 | + <span data-l10n-id="pdfjs-print-button-label">Print</span> |
191 | 191 | </button>
|
192 | 192 |
|
193 |
| - <button id="secondaryDownload" class="secondaryToolbarButton visibleMediumView" title="Save" tabindex="53" data-l10n-id="save" hidden="true"> |
194 |
| - <span data-l10n-id="save_label">Save</span> |
| 193 | + <button id="secondaryDownload" class="secondaryToolbarButton visibleMediumView" title="Save" tabindex="53" data-l10n-id="pdfjs-save-button" hidden="true"> |
| 194 | + <span data-l10n-id="pdfjs-save-button-label">Save</span> |
195 | 195 | </button>
|
196 | 196 |
|
197 | 197 | <div class="horizontalToolbarSeparator visibleLargeView"></div>
|
198 | 198 |
|
199 |
| - <button id="presentationMode" class="secondaryToolbarButton" title="Switch to Presentation Mode" tabindex="54" data-l10n-id="presentation_mode"> |
200 |
| - <span data-l10n-id="presentation_mode_label">Presentation Mode</span> |
| 199 | + <button id="presentationMode" class="secondaryToolbarButton" title="Switch to Presentation Mode" tabindex="54" data-l10n-id="pdfjs-presentation-mode-button"> |
| 200 | + <span data-l10n-id="pdfjs-presentation-mode-button-label">Presentation Mode</span> |
201 | 201 | </button>
|
202 | 202 |
|
203 |
| - <a href="#" id="viewBookmark" class="secondaryToolbarButton" title="Current Page (View URL from Current Page)" tabindex="55" data-l10n-id="bookmark1"> |
204 |
| - <span data-l10n-id="bookmark1_label">Current Page</span> |
| 203 | + <a href="#" id="viewBookmark" class="secondaryToolbarButton" title="Current Page (View URL from Current Page)" tabindex="55" data-l10n-id="pdfjs-bookmark-button"> |
| 204 | + <span data-l10n-id="pdfjs-bookmark-button-label">Current Page</span> |
205 | 205 | </a>
|
206 | 206 |
|
207 | 207 | <div id="viewBookmarkSeparator" class="horizontalToolbarSeparator"></div>
|
208 | 208 |
|
209 |
| - <button id="firstPage" class="secondaryToolbarButton" title="Go to First Page" tabindex="56" data-l10n-id="first_page"> |
210 |
| - <span data-l10n-id="first_page_label">Go to First Page</span> |
| 209 | + <button id="firstPage" class="secondaryToolbarButton" title="Go to First Page" tabindex="56" data-l10n-id="pdfjs-first-page-button"> |
| 210 | + <span data-l10n-id="pdfjs-first-page-button-label">Go to First Page</span> |
211 | 211 | </button>
|
212 |
| - <button id="lastPage" class="secondaryToolbarButton" title="Go to Last Page" tabindex="57" data-l10n-id="last_page"> |
213 |
| - <span data-l10n-id="last_page_label">Go to Last Page</span> |
| 212 | + <button id="lastPage" class="secondaryToolbarButton" title="Go to Last Page" tabindex="57" data-l10n-id="pdfjs-last-page-button"> |
| 213 | + <span data-l10n-id="pdfjs-last-page-button-label">Go to Last Page</span> |
214 | 214 | </button>
|
215 | 215 |
|
216 | 216 | <div class="horizontalToolbarSeparator"></div>
|
217 | 217 |
|
218 |
| - <button id="pageRotateCw" class="secondaryToolbarButton" title="Rotate Clockwise" tabindex="58" data-l10n-id="page_rotate_cw"> |
219 |
| - <span data-l10n-id="page_rotate_cw_label">Rotate Clockwise</span> |
| 218 | + <button id="pageRotateCw" class="secondaryToolbarButton" title="Rotate Clockwise" tabindex="58" data-l10n-id="pdfjs-page-rotate-cw-button"> |
| 219 | + <span data-l10n-id="pdfjs-page-rotate-cw-button-label">Rotate Clockwise</span> |
220 | 220 | </button>
|
221 |
| - <button id="pageRotateCcw" class="secondaryToolbarButton" title="Rotate Counterclockwise" tabindex="59" data-l10n-id="page_rotate_ccw"> |
222 |
| - <span data-l10n-id="page_rotate_ccw_label">Rotate Counterclockwise</span> |
| 221 | + <button id="pageRotateCcw" class="secondaryToolbarButton" title="Rotate Counterclockwise" tabindex="59" data-l10n-id="pdfjs-page-rotate-ccw-button"> |
| 222 | + <span data-l10n-id="pdfjs-page-rotate-ccw-button-label">Rotate Counterclockwise</span> |
223 | 223 | </button>
|
224 | 224 |
|
225 | 225 | <div class="horizontalToolbarSeparator"></div>
|
226 | 226 |
|
227 | 227 | <div id="cursorToolButtons" role="radiogroup">
|
228 |
| - <button id="cursorSelectTool" class="secondaryToolbarButton toggled" title="Enable Text Selection Tool" tabindex="60" data-l10n-id="cursor_text_select_tool" role="radio" aria-checked="true"> |
229 |
| - <span data-l10n-id="cursor_text_select_tool_label">Text Selection Tool</span> |
| 228 | + <button id="cursorSelectTool" class="secondaryToolbarButton toggled" title="Enable Text Selection Tool" tabindex="60" data-l10n-id="pdfjs-cursor-text-select-tool-button" role="radio" aria-checked="true"> |
| 229 | + <span data-l10n-id="pdfjs-cursor-text-select-tool-button-label">Text Selection Tool</span> |
230 | 230 | </button>
|
231 |
| - <button id="cursorHandTool" class="secondaryToolbarButton" title="Enable Hand Tool" tabindex="61" data-l10n-id="cursor_hand_tool" role="radio" aria-checked="false"> |
232 |
| - <span data-l10n-id="cursor_hand_tool_label">Hand Tool</span> |
| 231 | + <button id="cursorHandTool" class="secondaryToolbarButton" title="Enable Hand Tool" tabindex="61" data-l10n-id="pdfjs-cursor-hand-tool-button" role="radio" aria-checked="false"> |
| 232 | + <span data-l10n-id="pdfjs-cursor-hand-tool-button-label">Hand Tool</span> |
233 | 233 | </button>
|
234 | 234 | </div>
|
235 | 235 |
|
236 | 236 | <div class="horizontalToolbarSeparator"></div>
|
237 | 237 |
|
238 | 238 | <div id="scrollModeButtons" role="radiogroup">
|
239 |
| - <button id="scrollPage" class="secondaryToolbarButton" title="Use Page Scrolling" tabindex="62" data-l10n-id="scroll_page" role="radio" aria-checked="false"> |
240 |
| - <span data-l10n-id="scroll_page_label">Page Scrolling</span> |
| 239 | + <button id="scrollPage" class="secondaryToolbarButton" title="Use Page Scrolling" tabindex="62" data-l10n-id="pdfjs-scroll-page-button" role="radio" aria-checked="false"> |
| 240 | + <span data-l10n-id="pdfjs-scroll-page-button-label">Page Scrolling</span> |
241 | 241 | </button>
|
242 |
| - <button id="scrollVertical" class="secondaryToolbarButton toggled" title="Use Vertical Scrolling" tabindex="63" data-l10n-id="scroll_vertical" role="radio" aria-checked="true"> |
243 |
| - <span data-l10n-id="scroll_vertical_label" >Vertical Scrolling</span> |
| 242 | + <button id="scrollVertical" class="secondaryToolbarButton toggled" title="Use Vertical Scrolling" tabindex="63" data-l10n-id="pdfjs-scroll-vertical-button" role="radio" aria-checked="true"> |
| 243 | + <span data-l10n-id="pdfjs-scroll-vertical-button-label" >Vertical Scrolling</span> |
244 | 244 | </button>
|
245 |
| - <button id="scrollHorizontal" class="secondaryToolbarButton" title="Use Horizontal Scrolling" tabindex="64" data-l10n-id="scroll_horizontal" role="radio" aria-checked="false"> |
246 |
| - <span data-l10n-id="scroll_horizontal_label">Horizontal Scrolling</span> |
| 245 | + <button id="scrollHorizontal" class="secondaryToolbarButton" title="Use Horizontal Scrolling" tabindex="64" data-l10n-id="pdfjs-scroll-horizontal-button" role="radio" aria-checked="false"> |
| 246 | + <span data-l10n-id="pdfjs-scroll-horizontal-button-label">Horizontal Scrolling</span> |
247 | 247 | </button>
|
248 |
| - <button id="scrollWrapped" class="secondaryToolbarButton" title="Use Wrapped Scrolling" tabindex="65" data-l10n-id="scroll_wrapped" role="radio" aria-checked="false"> |
249 |
| - <span data-l10n-id="scroll_wrapped_label">Wrapped Scrolling</span> |
| 248 | + <button id="scrollWrapped" class="secondaryToolbarButton" title="Use Wrapped Scrolling" tabindex="65" data-l10n-id="pdfjs-scroll-wrapped-button" role="radio" aria-checked="false"> |
| 249 | + <span data-l10n-id="pdfjs-scroll-wrapped-button-label">Wrapped Scrolling</span> |
250 | 250 | </button>
|
251 | 251 | </div>
|
252 | 252 |
|
253 | 253 | <div class="horizontalToolbarSeparator"></div>
|
254 | 254 |
|
255 | 255 | <div id="spreadModeButtons" role="radiogroup">
|
256 |
| - <button id="spreadNone" class="secondaryToolbarButton toggled" title="Do not join page spreads" tabindex="66" data-l10n-id="spread_none" role="radio" aria-checked="true"> |
257 |
| - <span data-l10n-id="spread_none_label">No Spreads</span> |
| 256 | + <button id="spreadNone" class="secondaryToolbarButton toggled" title="Do not join page spreads" tabindex="66" data-l10n-id="pdfjs-spread-none-button" role="radio" aria-checked="true"> |
| 257 | + <span data-l10n-id="pdfjs-spread-none-button-label">No Spreads</span> |
258 | 258 | </button>
|
259 |
| - <button id="spreadOdd" class="secondaryToolbarButton" title="Join page spreads starting with odd-numbered pages" tabindex="67" data-l10n-id="spread_odd" role="radio" aria-checked="false"> |
260 |
| - <span data-l10n-id="spread_odd_label">Odd Spreads</span> |
| 259 | + <button id="spreadOdd" class="secondaryToolbarButton" title="Join page spreads starting with odd-numbered pages" tabindex="67" data-l10n-id="pdfjs-spread-odd-button" role="radio" aria-checked="false"> |
| 260 | + <span data-l10n-id="pdfjs-spread-odd-button-label">Odd Spreads</span> |
261 | 261 | </button>
|
262 |
| - <button id="spreadEven" class="secondaryToolbarButton" title="Join page spreads starting with even-numbered pages" tabindex="68" data-l10n-id="spread_even" role="radio" aria-checked="false"> |
263 |
| - <span data-l10n-id="spread_even_label">Even Spreads</span> |
| 262 | + <button id="spreadEven" class="secondaryToolbarButton" title="Join page spreads starting with even-numbered pages" tabindex="68" data-l10n-id="pdfjs-spread-even-button" role="radio" aria-checked="false"> |
| 263 | + <span data-l10n-id="pdfjs-spread-even-button-label">Even Spreads</span> |
264 | 264 | </button>
|
265 | 265 | </div>
|
266 | 266 |
|
267 | 267 | <div class="horizontalToolbarSeparator"></div>
|
268 | 268 |
|
269 |
| - <button id="documentProperties" class="secondaryToolbarButton" title="Document Properties…" tabindex="69" data-l10n-id="document_properties" aria-controls="documentPropertiesDialog"> |
270 |
| - <span data-l10n-id="document_properties_label">Document Properties…</span> |
| 269 | + <button id="documentProperties" class="secondaryToolbarButton" title="Document Properties…" tabindex="69" data-l10n-id="pdfjs-document-properties-button" aria-controls="documentPropertiesDialog"> |
| 270 | + <span data-l10n-id="pdfjs-document-properties-button-label">Document Properties…</span> |
271 | 271 | </button>
|
272 | 272 | </div>
|
273 | 273 | </div> <!-- secondaryToolbar -->
|
|
276 | 276 | <div id="toolbarContainer">
|
277 | 277 | <div id="toolbarViewer">
|
278 | 278 | <div id="toolbarViewerLeft">
|
279 |
| - <button id="sidebarToggle" class="toolbarButton" title="Toggle Sidebar" tabindex="11" data-l10n-id="toggle_sidebar" aria-expanded="false" aria-controls="sidebarContainer"> |
280 |
| - <span data-l10n-id="toggle_sidebar_label">Toggle Sidebar</span> |
| 279 | + <button id="sidebarToggle" class="toolbarButton" title="Toggle Sidebar" tabindex="11" data-l10n-id="pdfjs-toggle-sidebar-button" aria-expanded="false" aria-controls="sidebarContainer"> |
| 280 | + <span data-l10n-id="pdfjs-toggle-sidebar-button-label">Toggle Sidebar</span> |
281 | 281 | </button>
|
282 | 282 | <div class="toolbarButtonSpacer"></div>
|
283 |
| - <button id="viewFind" class="toolbarButton" title="Find in Document" tabindex="12" data-l10n-id="findbar" aria-expanded="false" aria-controls="findbar"> |
284 |
| - <span data-l10n-id="findbar_label">Find</span> |
| 283 | + <button id="viewFind" class="toolbarButton" title="Find in Document" tabindex="12" data-l10n-id="pdfjs-findbar-button" aria-expanded="false" aria-controls="findbar"> |
| 284 | + <span data-l10n-id="pdfjs-findbar-button-label">Find</span> |
285 | 285 | </button>
|
286 | 286 | <div class="splitToolbarButton hiddenSmallView">
|
287 |
| - <button class="toolbarButton" title="Previous Page" id="previous" tabindex="13" data-l10n-id="previous"> |
288 |
| - <span data-l10n-id="previous_label">Previous</span> |
| 287 | + <button class="toolbarButton" title="Previous Page" id="previous" tabindex="13" data-l10n-id="pdfjs-previous-button"> |
| 288 | + <span data-l10n-id="pdfjs-previous-button-label">Previous</span> |
289 | 289 | </button>
|
290 | 290 | <div class="splitToolbarButtonSeparator"></div>
|
291 |
| - <button class="toolbarButton" title="Next Page" id="next" tabindex="14" data-l10n-id="next"> |
292 |
| - <span data-l10n-id="next_label">Next</span> |
| 291 | + <button class="toolbarButton" title="Next Page" id="next" tabindex="14" data-l10n-id="pdfjs-next-button"> |
| 292 | + <span data-l10n-id="pdfjs-next-button-label">Next</span> |
293 | 293 | </button>
|
294 | 294 | </div>
|
295 |
| - <input type="number" id="pageNumber" class="toolbarField" title="Page" value="1" min="1" tabindex="15" data-l10n-id="page" autocomplete="off"> |
| 295 | + <input type="number" id="pageNumber" class="toolbarField" title="Page" value="1" min="1" tabindex="15" data-l10n-id="pdfjs-page-input" autocomplete="off"> |
296 | 296 | <span id="numPages" class="toolbarLabel"></span>
|
297 | 297 | </div>
|
298 | 298 | <div id="toolbarViewerRight">
|
299 |
| - <button id="openFile" class="toolbarButton hiddenLargeView" title="Open File" tabindex="31" data-l10n-id="open_file" hidden="true"> |
300 |
| - <span data-l10n-id="open_file_label">Open</span> |
| 299 | + <button id="openFile" class="toolbarButton hiddenLargeView" title="Open File" tabindex="31" data-l10n-id="pdfjs-open-file-button" hidden="true"> |
| 300 | + <span data-l10n-id="pdfjs-open-file-button-label">Open</span> |
301 | 301 | </button>
|
302 | 302 |
|
303 |
| - <button id="print" class="toolbarButton hiddenMediumView" title="Print" tabindex="32" data-l10n-id="print"> |
304 |
| - <span data-l10n-id="print_label">Print</span> |
| 303 | + <button id="print" class="toolbarButton hiddenMediumView" title="Print" tabindex="32" data-l10n-id="pdfjs-print-button"> |
| 304 | + <span data-l10n-id="pdfjs-print-button-label">Print</span> |
305 | 305 | </button>
|
306 | 306 |
|
307 |
| - <button id="download" class="toolbarButton hiddenMediumView" disabled="disabled" title="Save" tabindex="33" data-l10n-id="save" hidden="true"> |
308 |
| - <span data-l10n-id="save_label">Save</span> |
| 307 | + <button id="download" class="toolbarButton hiddenMediumView" disabled="disabled" title="Save" tabindex="33" data-l10n-id="pdfjs-save-button" hidden="true"> |
| 308 | + <span data-l10n-id="pdfjs-save-button-label">Save</span> |
309 | 309 | </button>
|
310 | 310 |
|
311 | 311 | <div class="verticalToolbarSeparator hiddenMediumView"></div>
|
312 | 312 |
|
313 | 313 | <div id="editorModeButtons" class="splitToolbarButton toggled" role="radiogroup">
|
314 |
| - <button id="editorFreeText" class="toolbarButton" disabled="disabled" title="Text" role="radio" aria-checked="false" aria-controls="editorFreeTextParamsToolbar" tabindex="34" data-l10n-id="editor_free_text2"> |
315 |
| - <span data-l10n-id="editor_free_text2_label">Text</span> |
| 314 | + <button id="editorFreeText" class="toolbarButton" disabled="disabled" title="Text" role="radio" aria-checked="false" aria-controls="editorFreeTextParamsToolbar" tabindex="34" data-l10n-id="pdfjs-editor-free-text-button"> |
| 315 | + <span data-l10n-id="pdfjs-editor-free-text-button-label">Text</span> |
316 | 316 | </button>
|
317 |
| - <button id="editorInk" class="toolbarButton" disabled="disabled" title="Draw" role="radio" aria-checked="false" aria-controls="editorInkParamsToolbar" tabindex="35" data-l10n-id="editor_ink2"> |
318 |
| - <span data-l10n-id="editor_ink2_label">Draw</span> |
| 317 | + <button id="editorInk" class="toolbarButton" disabled="disabled" title="Draw" role="radio" aria-checked="false" aria-controls="editorInkParamsToolbar" tabindex="35" data-l10n-id="pdfjs-editor-ink-button"> |
| 318 | + <span data-l10n-id="pdfjs-editor-ink-button-label">Draw</span> |
319 | 319 | </button>
|
320 |
| - <button id="editorStamp" class="toolbarButton hidden" disabled="disabled" title="Add or edit images" role="radio" aria-checked="false" aria-controls="editorStampParamsToolbar" tabindex="36" data-l10n-id="editor_stamp1"> |
321 |
| - <span data-l10n-id="editor_stamp1_label">Add or edit images</span> |
| 320 | + <button id="editorStamp" class="toolbarButton" disabled="disabled" title="Add or edit images" role="radio" aria-checked="false" aria-controls="editorStampParamsToolbar" tabindex="36" data-l10n-id="pdfjs-editor-stamp-button"> |
| 321 | + <span data-l10n-id="pdfjs-editor-stamp-button-label">Add or edit images</span> |
322 | 322 | </button>
|
323 | 323 | </div>
|
324 | 324 |
|
325 | 325 | <div id="editorModeSeparator" class="verticalToolbarSeparator"></div>
|
326 | 326 |
|
327 |
| - <button id="secondaryToolbarToggle" class="toolbarButton" title="Tools" tabindex="48" data-l10n-id="tools" aria-expanded="false" aria-controls="secondaryToolbar"> |
328 |
| - <span data-l10n-id="tools_label">Tools</span> |
| 327 | + <button id="secondaryToolbarToggle" class="toolbarButton" title="Tools" tabindex="48" data-l10n-id="pdfjs-tools-button" aria-expanded="false" aria-controls="secondaryToolbar"> |
| 328 | + <span data-l10n-id="pdfjs-tools-button-label">Tools</span> |
329 | 329 | </button>
|
330 | 330 | </div>
|
331 | 331 | <div id="toolbarViewerMiddle">
|
332 | 332 | <div class="splitToolbarButton">
|
333 |
| - <button id="zoomOut" class="toolbarButton" title="Zoom Out" tabindex="21" data-l10n-id="zoom_out"> |
334 |
| - <span data-l10n-id="zoom_out_label">Zoom Out</span> |
| 333 | + <button id="zoomOut" class="toolbarButton" title="Zoom Out" tabindex="21" data-l10n-id="pdfjs-zoom-out-button"> |
| 334 | + <span data-l10n-id="pdfjs-zoom-out-button-label">Zoom Out</span> |
335 | 335 | </button>
|
336 | 336 | <div class="splitToolbarButtonSeparator"></div>
|
337 |
| - <button id="zoomIn" class="toolbarButton" title="Zoom In" tabindex="22" data-l10n-id="zoom_in"> |
338 |
| - <span data-l10n-id="zoom_in_label">Zoom In</span> |
| 337 | + <button id="zoomIn" class="toolbarButton" title="Zoom In" tabindex="22" data-l10n-id="pdfjs-zoom-in-button"> |
| 338 | + <span data-l10n-id="pdfjs-zoom-in-button-label">Zoom In</span> |
339 | 339 | </button>
|
340 | 340 | </div>
|
341 | 341 | <span id="scaleSelectContainer" class="dropdownToolbarButton">
|
342 |
| - <select id="scaleSelect" title="Zoom" tabindex="23" data-l10n-id="zoom"> |
343 |
| - <option id="pageAutoOption" title="" value="auto" selected="selected" data-l10n-id="page_scale_auto">Automatic Zoom</option> |
344 |
| - <option id="pageActualOption" title="" value="page-actual" data-l10n-id="page_scale_actual">Actual Size</option> |
345 |
| - <option id="pageFitOption" title="" value="page-fit" data-l10n-id="page_scale_fit">Page Fit</option> |
346 |
| - <option id="pageWidthOption" title="" value="page-width" data-l10n-id="page_scale_width">Page Width</option> |
347 |
| - <option id="customScaleOption" title="" value="custom" disabled="disabled" hidden="true"></option> |
348 |
| - <option title="" value="0.5" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 50 }'>50%</option> |
349 |
| - <option title="" value="0.75" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 75 }'>75%</option> |
350 |
| - <option title="" value="1" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 100 }'>100%</option> |
351 |
| - <option title="" value="1.25" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 125 }'>125%</option> |
352 |
| - <option title="" value="1.5" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 150 }'>150%</option> |
353 |
| - <option title="" value="2" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 200 }'>200%</option> |
354 |
| - <option title="" value="3" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 300 }'>300%</option> |
355 |
| - <option title="" value="4" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 400 }'>400%</option> |
| 342 | + <select id="scaleSelect" title="Zoom" tabindex="23" data-l10n-id="pdfjs-zoom-select"> |
| 343 | + <option id="pageAutoOption" title="" value="auto" selected="selected" data-l10n-id="pdfjs-page-scale-auto">Automatic Zoom</option> |
| 344 | + <option id="pageActualOption" title="" value="page-actual" data-l10n-id="pdfjs-page-scale-actual">Actual Size</option> |
| 345 | + <option id="pageFitOption" title="" value="page-fit" data-l10n-id="pdfjs-page-scale-fit">Page Fit</option> |
| 346 | + <option id="pageWidthOption" title="" value="page-width" data-l10n-id="pdfjs-page-scale-width">Page Width</option> |
| 347 | + <option id="customScaleOption" title="" value="custom" disabled="disabled" hidden="true" data-l10n-id="pdfjs-page-scale-percent" data-l10n-args='{ "scale": 0 }'>0%</option> |
| 348 | + <option title="" value="0.5" data-l10n-id="pdfjs-page-scale-percent" data-l10n-args='{ "scale": 50 }'>50%</option> |
| 349 | + <option title="" value="0.75" data-l10n-id="pdfjs-page-scale-percent" data-l10n-args='{ "scale": 75 }'>75%</option> |
| 350 | + <option title="" value="1" data-l10n-id="pdfjs-page-scale-percent" data-l10n-args='{ "scale": 100 }'>100%</option> |
| 351 | + <option title="" value="1.25" data-l10n-id="pdfjs-page-scale-percent" data-l10n-args='{ "scale": 125 }'>125%</option> |
| 352 | + <option title="" value="1.5" data-l10n-id="pdfjs-page-scale-percent" data-l10n-args='{ "scale": 150 }'>150%</option> |
| 353 | + <option title="" value="2" data-l10n-id="pdfjs-page-scale-percent" data-l10n-args='{ "scale": 200 }'>200%</option> |
| 354 | + <option title="" value="3" data-l10n-id="pdfjs-page-scale-percent" data-l10n-args='{ "scale": 300 }'>300%</option> |
| 355 | + <option title="" value="4" data-l10n-id="pdfjs-page-scale-percent" data-l10n-args='{ "scale": 400 }'>400%</option> |
356 | 356 | </select>
|
357 | 357 | </span>
|
358 | 358 | </div>
|
|
374 | 374 | <div id="dialogContainer">
|
375 | 375 | <dialog id="passwordDialog">
|
376 | 376 | <div class="row">
|
377 |
| - <label for="password" id="passwordText" data-l10n-id="password_label">Enter the password to open this PDF file:</label> |
| 377 | + <label for="password" id="passwordText" data-l10n-id="pdfjs-password-label">Enter the password to open this PDF file:</label> |
378 | 378 | </div>
|
379 | 379 | <div class="row">
|
380 | 380 | <input type="password" id="password" class="toolbarField">
|
381 | 381 | </div>
|
382 | 382 | <div class="buttonRow">
|
383 |
| - <button id="passwordCancel" class="dialogButton"><span data-l10n-id="password_cancel">Cancel</span></button> |
384 |
| - <button id="passwordSubmit" class="dialogButton"><span data-l10n-id="password_ok">OK</span></button> |
| 383 | + <button id="passwordCancel" class="dialogButton"><span data-l10n-id="pdfjs-password-cancel-button">Cancel</span></button> |
| 384 | + <button id="passwordSubmit" class="dialogButton"><span data-l10n-id="pdfjs-password-ok-button">OK</span></button> |
385 | 385 | </div>
|
386 | 386 | </dialog>
|
387 | 387 | <dialog id="documentPropertiesDialog">
|
388 | 388 | <div class="row">
|
389 |
| - <span id="fileNameLabel" data-l10n-id="document_properties_file_name">File name:</span> |
| 389 | + <span id="fileNameLabel" data-l10n-id="pdfjs-document-properties-file-name">File name:</span> |
390 | 390 | <p id="fileNameField" aria-labelledby="fileNameLabel">-</p>
|
391 | 391 | </div>
|
392 | 392 | <div class="row">
|
393 |
| - <span id="fileSizeLabel" data-l10n-id="document_properties_file_size">File size:</span> |
| 393 | + <span id="fileSizeLabel" data-l10n-id="pdfjs-document-properties-file-size">File size:</span> |
394 | 394 | <p id="fileSizeField" aria-labelledby="fileSizeLabel">-</p>
|
395 | 395 | </div>
|
396 | 396 | <div class="separator"></div>
|
397 | 397 | <div class="row">
|
398 |
| - <span id="titleLabel" data-l10n-id="document_properties_title">Title:</span> |
| 398 | + <span id="titleLabel" data-l10n-id="pdfjs-document-properties-title">Title:</span> |
399 | 399 | <p id="titleField" aria-labelledby="titleLabel">-</p>
|
400 | 400 | </div>
|
401 | 401 | <div class="row">
|
402 |
| - <span id="authorLabel" data-l10n-id="document_properties_author">Author:</span> |
| 402 | + <span id="authorLabel" data-l10n-id="pdfjs-document-properties-author">Author:</span> |
403 | 403 | <p id="authorField" aria-labelledby="authorLabel">-</p>
|
404 | 404 | </div>
|
405 | 405 | <div class="row">
|
406 |
| - <span id="subjectLabel" data-l10n-id="document_properties_subject">Subject:</span> |
| 406 | + <span id="subjectLabel" data-l10n-id="pdfjs-document-properties-subject">Subject:</span> |
407 | 407 | <p id="subjectField" aria-labelledby="subjectLabel">-</p>
|
408 | 408 | </div>
|
409 | 409 | <div class="row">
|
410 |
| - <span id="keywordsLabel" data-l10n-id="document_properties_keywords">Keywords:</span> |
| 410 | + <span id="keywordsLabel" data-l10n-id="pdfjs-document-properties-keywords">Keywords:</span> |
411 | 411 | <p id="keywordsField" aria-labelledby="keywordsLabel">-</p>
|
412 | 412 | </div>
|
413 | 413 | <div class="row">
|
414 |
| - <span id="creationDateLabel" data-l10n-id="document_properties_creation_date">Creation Date:</span> |
| 414 | + <span id="creationDateLabel" data-l10n-id="pdfjs-document-properties-creation-date">Creation Date:</span> |
415 | 415 | <p id="creationDateField" aria-labelledby="creationDateLabel">-</p>
|
416 | 416 | </div>
|
417 | 417 | <div class="row">
|
418 |
| - <span id="modificationDateLabel" data-l10n-id="document_properties_modification_date">Modification Date:</span> |
| 418 | + <span id="modificationDateLabel" data-l10n-id="pdfjs-document-properties-modification-date">Modification Date:</span> |
419 | 419 | <p id="modificationDateField" aria-labelledby="modificationDateLabel">-</p>
|
420 | 420 | </div>
|
421 | 421 | <div class="row">
|
422 |
| - <span id="creatorLabel" data-l10n-id="document_properties_creator">Creator:</span> |
| 422 | + <span id="creatorLabel" data-l10n-id="pdfjs-document-properties-creator">Creator:</span> |
423 | 423 | <p id="creatorField" aria-labelledby="creatorLabel">-</p>
|
424 | 424 | </div>
|
425 | 425 | <div class="separator"></div>
|
426 | 426 | <div class="row">
|
427 |
| - <span id="producerLabel" data-l10n-id="document_properties_producer">PDF Producer:</span> |
| 427 | + <span id="producerLabel" data-l10n-id="pdfjs-document-properties-producer">PDF Producer:</span> |
428 | 428 | <p id="producerField" aria-labelledby="producerLabel">-</p>
|
429 | 429 | </div>
|
430 | 430 | <div class="row">
|
431 |
| - <span id="versionLabel" data-l10n-id="document_properties_version">PDF Version:</span> |
| 431 | + <span id="versionLabel" data-l10n-id="pdfjs-document-properties-version">PDF Version:</span> |
432 | 432 | <p id="versionField" aria-labelledby="versionLabel">-</p>
|
433 | 433 | </div>
|
434 | 434 | <div class="row">
|
435 |
| - <span id="pageCountLabel" data-l10n-id="document_properties_page_count">Page Count:</span> |
| 435 | + <span id="pageCountLabel" data-l10n-id="pdfjs-document-properties-page-count">Page Count:</span> |
436 | 436 | <p id="pageCountField" aria-labelledby="pageCountLabel">-</p>
|
437 | 437 | </div>
|
438 | 438 | <div class="row">
|
439 |
| - <span id="pageSizeLabel" data-l10n-id="document_properties_page_size">Page Size:</span> |
| 439 | + <span id="pageSizeLabel" data-l10n-id="pdfjs-document-properties-page-size">Page Size:</span> |
440 | 440 | <p id="pageSizeField" aria-labelledby="pageSizeLabel">-</p>
|
441 | 441 | </div>
|
442 | 442 | <div class="separator"></div>
|
443 | 443 | <div class="row">
|
444 |
| - <span id="linearizedLabel" data-l10n-id="document_properties_linearized">Fast Web View:</span> |
| 444 | + <span id="linearizedLabel" data-l10n-id="pdfjs-document-properties-linearized">Fast Web View:</span> |
445 | 445 | <p id="linearizedField" aria-labelledby="linearizedLabel">-</p>
|
446 | 446 | </div>
|
447 | 447 | <div class="buttonRow">
|
448 |
| - <button id="documentPropertiesClose" class="dialogButton"><span data-l10n-id="document_properties_close">Close</span></button> |
| 448 | + <button id="documentPropertiesClose" class="dialogButton"><span data-l10n-id="pdfjs-document-properties-close-button">Close</span></button> |
449 | 449 | </div>
|
450 | 450 | </dialog>
|
451 | 451 | <dialog id="altTextDialog" aria-labelledby="dialogLabel" aria-describedby="dialogDescription">
|
452 | 452 | <div id="altTextContainer">
|
453 | 453 | <div id="overallDescription">
|
454 |
| - <span id="dialogLabel" data-l10n-id="editor_alt_text_dialog_label" class="title">Choose an option</span> |
455 |
| - <span id="dialogDescription" data-l10n-id="editor_alt_text_dialog_description"> |
| 454 | + <span id="dialogLabel" data-l10n-id="pdfjs-editor-alt-text-dialog-label" class="title">Choose an option</span> |
| 455 | + <span id="dialogDescription" data-l10n-id="pdfjs-editor-alt-text-dialog-description"> |
456 | 456 | Alt text (alternative text) helps when people can’t see the image or when it doesn’t load.
|
457 | 457 | </span>
|
458 | 458 | </div>
|
459 | 459 | <div id="addDescription">
|
460 | 460 | <div class="radio">
|
461 | 461 | <div class="radioButton">
|
462 | 462 | <input type="radio" id="descriptionButton" name="altTextOption" tabindex="0" aria-describedby="descriptionAreaLabel" checked>
|
463 |
| - <label for="descriptionButton" data-l10n-id="editor_alt_text_add_description_label">Add a description</label> |
| 463 | + <label for="descriptionButton" data-l10n-id="pdfjs-editor-alt-text-add-description-label">Add a description</label> |
464 | 464 | </div>
|
465 | 465 | <div class="radioLabel">
|
466 |
| - <span id="descriptionAreaLabel" data-l10n-id="editor_alt_text_add_description_description"> |
| 466 | + <span id="descriptionAreaLabel" data-l10n-id="pdfjs-editor-alt-text-add-description-description"> |
467 | 467 | Aim for 1-2 sentences that describe the subject, setting, or actions.
|
468 | 468 | </span>
|
469 | 469 | </div>
|
470 | 470 | </div>
|
471 | 471 | <div class="descriptionArea">
|
472 |
| - <textarea id="descriptionTextarea" placeholder="For example, “A young man sits down at a table to eat a meal”" aria-labelledby="descriptionAreaLabel" data-l10n-id="editor_alt_text_textarea" tabindex="0"></textarea> |
| 472 | + <textarea id="descriptionTextarea" placeholder="For example, “A young man sits down at a table to eat a meal”" aria-labelledby="descriptionAreaLabel" data-l10n-id="pdfjs-editor-alt-text-textarea" tabindex="0"></textarea> |
473 | 473 | </div>
|
474 | 474 | </div>
|
475 | 475 | <div id="markAsDecorative">
|
476 | 476 | <div class="radio">
|
477 | 477 | <div class="radioButton">
|
478 | 478 | <input type="radio" id="decorativeButton" name="altTextOption" aria-describedby="decorativeLabel">
|
479 |
| - <label for="decorativeButton" data-l10n-id="editor_alt_text_mark_decorative_label">Mark as decorative</label> |
| 479 | + <label for="decorativeButton" data-l10n-id="pdfjs-editor-alt-text-mark-decorative-label">Mark as decorative</label> |
480 | 480 | </div>
|
481 | 481 | <div class="radioLabel">
|
482 |
| - <span id="decorativeLabel" data-l10n-id="editor_alt_text_mark_decorative_description"> |
| 482 | + <span id="decorativeLabel" data-l10n-id="pdfjs-editor-alt-text-mark-decorative-description"> |
483 | 483 | This is used for ornamental images, like borders or watermarks.
|
484 | 484 | </span>
|
485 | 485 | </div>
|
486 | 486 | </div>
|
487 | 487 | </div>
|
488 | 488 | <div id="buttons">
|
489 |
| - <button id="altTextCancel" tabindex="0"><span data-l10n-id="editor_alt_text_cancel_button">Cancel</span></button> |
490 |
| - <button id="altTextSave" tabindex="0"><span data-l10n-id="editor_alt_text_save_button">Save</span></button> |
| 489 | + <button id="altTextCancel" tabindex="0"><span data-l10n-id="pdfjs-editor-alt-text-cancel-button">Cancel</span></button> |
| 490 | + <button id="altTextSave" tabindex="0"><span data-l10n-id="pdfjs-editor-alt-text-save-button">Save</span></button> |
491 | 491 | </div>
|
492 | 492 | </div>
|
493 | 493 | </dialog>
|
494 | 494 | <dialog id="printServiceDialog" style="min-width: 200px;">
|
495 | 495 | <div class="row">
|
496 |
| - <span data-l10n-id="print_progress_message">Preparing document for printing…</span> |
| 496 | + <span data-l10n-id="pdfjs-print-progress-message">Preparing document for printing…</span> |
497 | 497 | </div>
|
498 | 498 | <div class="row">
|
499 | 499 | <progress value="0" max="100"></progress>
|
500 |
| - <span data-l10n-id="print_progress_percent" data-l10n-args='{ "progress": 0 }' class="relative-progress">0%</span> |
| 500 | + <span data-l10n-id="pdfjs-print-progress-percent" data-l10n-args='{ "progress": 0 }' class="relative-progress">0%</span> |
501 | 501 | </div>
|
502 | 502 | <div class="buttonRow">
|
503 |
| - <button id="printCancel" class="dialogButton"><span data-l10n-id="print_progress_close">Cancel</span></button> |
| 503 | + <button id="printCancel" class="dialogButton"><span data-l10n-id="pdfjs-print-progress-close-button">Cancel</span></button> |
504 | 504 | </div>
|
505 | 505 | </dialog>
|
506 | 506 | </div> <!-- dialogContainer -->
|
|
0 commit comments