summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2014-07-26 17:57:51 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2014-07-26 17:57:51 (GMT)
commit9a56649857e8c59f0b2589d8be7c77a6df55adfa (patch)
tree898d9c655e03efc528660ebb843ff023604aba1a
parent8a532743d9f6a702b73f2f0171e7379b4b2e2974 (diff)
downloadkolab-chwala-9a56649857e8c59f0b2589d8be7c77a6df55adfa.tar.gz
Update PDF viewer (1.0.277)
-rw-r--r--lib/viewers/pdf/cmaps/78-EUC-H.bcmapbin0 -> 2404 bytes
-rw-r--r--lib/viewers/pdf/cmaps/78-EUC-V.bcmapbin0 -> 173 bytes
-rw-r--r--lib/viewers/pdf/cmaps/78-H.bcmapbin0 -> 2379 bytes
-rw-r--r--lib/viewers/pdf/cmaps/78-RKSJ-H.bcmapbin0 -> 2398 bytes
-rw-r--r--lib/viewers/pdf/cmaps/78-RKSJ-V.bcmapbin0 -> 173 bytes
-rw-r--r--lib/viewers/pdf/cmaps/78-V.bcmapbin0 -> 169 bytes
-rw-r--r--lib/viewers/pdf/cmaps/78ms-RKSJ-H.bcmapbin0 -> 2651 bytes
-rw-r--r--lib/viewers/pdf/cmaps/78ms-RKSJ-V.bcmapbin0 -> 290 bytes
-rw-r--r--lib/viewers/pdf/cmaps/83pv-RKSJ-H.bcmapbin0 -> 905 bytes
-rw-r--r--lib/viewers/pdf/cmaps/90ms-RKSJ-H.bcmapbin0 -> 721 bytes
-rw-r--r--lib/viewers/pdf/cmaps/90ms-RKSJ-V.bcmapbin0 -> 290 bytes
-rw-r--r--lib/viewers/pdf/cmaps/90msp-RKSJ-H.bcmapbin0 -> 715 bytes
-rw-r--r--lib/viewers/pdf/cmaps/90msp-RKSJ-V.bcmapbin0 -> 291 bytes
-rw-r--r--lib/viewers/pdf/cmaps/90pv-RKSJ-H.bcmapbin0 -> 982 bytes
-rw-r--r--lib/viewers/pdf/cmaps/90pv-RKSJ-V.bcmapbin0 -> 260 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Add-H.bcmapbin0 -> 2419 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Add-RKSJ-H.bcmapbin0 -> 2413 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Add-RKSJ-V.bcmapbin0 -> 287 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Add-V.bcmapbin0 -> 282 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Adobe-CNS1-0.bcmapbin0 -> 317 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Adobe-CNS1-1.bcmapbin0 -> 371 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Adobe-CNS1-2.bcmapbin0 -> 376 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Adobe-CNS1-3.bcmapbin0 -> 401 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Adobe-CNS1-4.bcmapbin0 -> 405 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Adobe-CNS1-5.bcmapbin0 -> 406 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Adobe-CNS1-6.bcmapbin0 -> 406 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Adobe-CNS1-UCS2.bcmapbin0 -> 41193 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Adobe-GB1-0.bcmapbin0 -> 217 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Adobe-GB1-1.bcmapbin0 -> 250 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Adobe-GB1-2.bcmapbin0 -> 465 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Adobe-GB1-3.bcmapbin0 -> 470 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Adobe-GB1-4.bcmapbin0 -> 601 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Adobe-GB1-5.bcmapbin0 -> 625 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Adobe-GB1-UCS2.bcmapbin0 -> 33974 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Adobe-Japan1-0.bcmapbin0 -> 225 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Adobe-Japan1-1.bcmapbin0 -> 226 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Adobe-Japan1-2.bcmapbin0 -> 233 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Adobe-Japan1-3.bcmapbin0 -> 242 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Adobe-Japan1-4.bcmapbin0 -> 337 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Adobe-Japan1-5.bcmapbin0 -> 430 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Adobe-Japan1-6.bcmapbin0 -> 485 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Adobe-Japan1-UCS2.bcmapbin0 -> 40951 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Adobe-Korea1-0.bcmapbin0 -> 241 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Adobe-Korea1-1.bcmapbin0 -> 386 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Adobe-Korea1-2.bcmapbin0 -> 391 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Adobe-Korea1-UCS2.bcmapbin0 -> 23293 bytes
-rw-r--r--lib/viewers/pdf/cmaps/B5-H.bcmapbin0 -> 1086 bytes
-rw-r--r--lib/viewers/pdf/cmaps/B5-V.bcmapbin0 -> 142 bytes
-rw-r--r--lib/viewers/pdf/cmaps/B5pc-H.bcmapbin0 -> 1099 bytes
-rw-r--r--lib/viewers/pdf/cmaps/B5pc-V.bcmapbin0 -> 144 bytes
-rw-r--r--lib/viewers/pdf/cmaps/CNS-EUC-H.bcmapbin0 -> 1780 bytes
-rw-r--r--lib/viewers/pdf/cmaps/CNS-EUC-V.bcmapbin0 -> 1920 bytes
-rw-r--r--lib/viewers/pdf/cmaps/CNS1-H.bcmapbin0 -> 706 bytes
-rw-r--r--lib/viewers/pdf/cmaps/CNS1-V.bcmapbin0 -> 143 bytes
-rw-r--r--lib/viewers/pdf/cmaps/CNS2-H.bcmapbin0 -> 504 bytes
-rw-r--r--lib/viewers/pdf/cmaps/CNS2-V.bcmap3
-rw-r--r--lib/viewers/pdf/cmaps/ETHK-B5-H.bcmapbin0 -> 4426 bytes
-rw-r--r--lib/viewers/pdf/cmaps/ETHK-B5-V.bcmapbin0 -> 158 bytes
-rw-r--r--lib/viewers/pdf/cmaps/ETen-B5-H.bcmapbin0 -> 1125 bytes
-rw-r--r--lib/viewers/pdf/cmaps/ETen-B5-V.bcmapbin0 -> 158 bytes
-rw-r--r--lib/viewers/pdf/cmaps/ETenms-B5-H.bcmap3
-rw-r--r--lib/viewers/pdf/cmaps/ETenms-B5-V.bcmapbin0 -> 172 bytes
-rw-r--r--lib/viewers/pdf/cmaps/EUC-H.bcmapbin0 -> 578 bytes
-rw-r--r--lib/viewers/pdf/cmaps/EUC-V.bcmapbin0 -> 170 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Ext-H.bcmapbin0 -> 2536 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Ext-RKSJ-H.bcmapbin0 -> 2542 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Ext-RKSJ-V.bcmapbin0 -> 218 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Ext-V.bcmapbin0 -> 215 bytes
-rw-r--r--lib/viewers/pdf/cmaps/GB-EUC-H.bcmapbin0 -> 549 bytes
-rw-r--r--lib/viewers/pdf/cmaps/GB-EUC-V.bcmapbin0 -> 179 bytes
-rw-r--r--lib/viewers/pdf/cmaps/GB-H.bcmap4
-rw-r--r--lib/viewers/pdf/cmaps/GB-V.bcmapbin0 -> 175 bytes
-rw-r--r--lib/viewers/pdf/cmaps/GBK-EUC-H.bcmapbin0 -> 14692 bytes
-rw-r--r--lib/viewers/pdf/cmaps/GBK-EUC-V.bcmapbin0 -> 180 bytes
-rw-r--r--lib/viewers/pdf/cmaps/GBK2K-H.bcmapbin0 -> 19662 bytes
-rw-r--r--lib/viewers/pdf/cmaps/GBK2K-V.bcmapbin0 -> 219 bytes
-rw-r--r--lib/viewers/pdf/cmaps/GBKp-EUC-H.bcmapbin0 -> 14686 bytes
-rw-r--r--lib/viewers/pdf/cmaps/GBKp-EUC-V.bcmapbin0 -> 181 bytes
-rw-r--r--lib/viewers/pdf/cmaps/GBT-EUC-H.bcmapbin0 -> 7290 bytes
-rw-r--r--lib/viewers/pdf/cmaps/GBT-EUC-V.bcmapbin0 -> 180 bytes
-rw-r--r--lib/viewers/pdf/cmaps/GBT-H.bcmapbin0 -> 7269 bytes
-rw-r--r--lib/viewers/pdf/cmaps/GBT-V.bcmapbin0 -> 176 bytes
-rw-r--r--lib/viewers/pdf/cmaps/GBTpc-EUC-H.bcmapbin0 -> 7298 bytes
-rw-r--r--lib/viewers/pdf/cmaps/GBTpc-EUC-V.bcmapbin0 -> 182 bytes
-rw-r--r--lib/viewers/pdf/cmaps/GBpc-EUC-H.bcmapbin0 -> 557 bytes
-rw-r--r--lib/viewers/pdf/cmaps/GBpc-EUC-V.bcmapbin0 -> 181 bytes
-rw-r--r--lib/viewers/pdf/cmaps/H.bcmapbin0 -> 553 bytes
-rw-r--r--lib/viewers/pdf/cmaps/HKdla-B5-H.bcmapbin0 -> 2654 bytes
-rw-r--r--lib/viewers/pdf/cmaps/HKdla-B5-V.bcmapbin0 -> 148 bytes
-rw-r--r--lib/viewers/pdf/cmaps/HKdlb-B5-H.bcmapbin0 -> 2414 bytes
-rw-r--r--lib/viewers/pdf/cmaps/HKdlb-B5-V.bcmapbin0 -> 148 bytes
-rw-r--r--lib/viewers/pdf/cmaps/HKgccs-B5-H.bcmapbin0 -> 2292 bytes
-rw-r--r--lib/viewers/pdf/cmaps/HKgccs-B5-V.bcmapbin0 -> 149 bytes
-rw-r--r--lib/viewers/pdf/cmaps/HKm314-B5-H.bcmapbin0 -> 1772 bytes
-rw-r--r--lib/viewers/pdf/cmaps/HKm314-B5-V.bcmapbin0 -> 149 bytes
-rw-r--r--lib/viewers/pdf/cmaps/HKm471-B5-H.bcmapbin0 -> 2171 bytes
-rw-r--r--lib/viewers/pdf/cmaps/HKm471-B5-V.bcmapbin0 -> 149 bytes
-rw-r--r--lib/viewers/pdf/cmaps/HKscs-B5-H.bcmapbin0 -> 4437 bytes
-rw-r--r--lib/viewers/pdf/cmaps/HKscs-B5-V.bcmapbin0 -> 159 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Hankaku.bcmapbin0 -> 132 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Hiragana.bcmapbin0 -> 124 bytes
-rw-r--r--lib/viewers/pdf/cmaps/KSC-EUC-H.bcmapbin0 -> 1848 bytes
-rw-r--r--lib/viewers/pdf/cmaps/KSC-EUC-V.bcmapbin0 -> 164 bytes
-rw-r--r--lib/viewers/pdf/cmaps/KSC-H.bcmapbin0 -> 1831 bytes
-rw-r--r--lib/viewers/pdf/cmaps/KSC-Johab-H.bcmapbin0 -> 16791 bytes
-rw-r--r--lib/viewers/pdf/cmaps/KSC-Johab-V.bcmapbin0 -> 166 bytes
-rw-r--r--lib/viewers/pdf/cmaps/KSC-V.bcmapbin0 -> 160 bytes
-rw-r--r--lib/viewers/pdf/cmaps/KSCms-UHC-H.bcmapbin0 -> 2787 bytes
-rw-r--r--lib/viewers/pdf/cmaps/KSCms-UHC-HW-H.bcmapbin0 -> 2789 bytes
-rw-r--r--lib/viewers/pdf/cmaps/KSCms-UHC-HW-V.bcmapbin0 -> 169 bytes
-rw-r--r--lib/viewers/pdf/cmaps/KSCms-UHC-V.bcmapbin0 -> 166 bytes
-rw-r--r--lib/viewers/pdf/cmaps/KSCpc-EUC-H.bcmapbin0 -> 2024 bytes
-rw-r--r--lib/viewers/pdf/cmaps/KSCpc-EUC-V.bcmapbin0 -> 166 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Katakana.bcmapbin0 -> 100 bytes
-rw-r--r--lib/viewers/pdf/cmaps/LICENSE36
-rw-r--r--lib/viewers/pdf/cmaps/NWP-H.bcmapbin0 -> 2765 bytes
-rw-r--r--lib/viewers/pdf/cmaps/NWP-V.bcmapbin0 -> 252 bytes
-rw-r--r--lib/viewers/pdf/cmaps/RKSJ-H.bcmapbin0 -> 534 bytes
-rw-r--r--lib/viewers/pdf/cmaps/RKSJ-V.bcmapbin0 -> 170 bytes
-rw-r--r--lib/viewers/pdf/cmaps/Roman.bcmapbin0 -> 96 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniCNS-UCS2-H.bcmapbin0 -> 48280 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniCNS-UCS2-V.bcmapbin0 -> 156 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniCNS-UTF16-H.bcmapbin0 -> 50419 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniCNS-UTF16-V.bcmapbin0 -> 156 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniCNS-UTF32-H.bcmapbin0 -> 52679 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniCNS-UTF32-V.bcmapbin0 -> 160 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniCNS-UTF8-H.bcmapbin0 -> 53629 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniCNS-UTF8-V.bcmapbin0 -> 157 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniGB-UCS2-H.bcmapbin0 -> 43366 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniGB-UCS2-V.bcmapbin0 -> 193 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniGB-UTF16-H.bcmapbin0 -> 44086 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniGB-UTF16-V.bcmapbin0 -> 178 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniGB-UTF32-H.bcmapbin0 -> 45738 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniGB-UTF32-V.bcmapbin0 -> 182 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniGB-UTF8-H.bcmapbin0 -> 46837 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniGB-UTF8-V.bcmapbin0 -> 181 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniJIS-UCS2-H.bcmapbin0 -> 25439 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniJIS-UCS2-HW-H.bcmapbin0 -> 119 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniJIS-UCS2-HW-V.bcmapbin0 -> 680 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniJIS-UCS2-V.bcmapbin0 -> 664 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniJIS-UTF16-H.bcmapbin0 -> 39443 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniJIS-UTF16-V.bcmapbin0 -> 643 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniJIS-UTF32-H.bcmapbin0 -> 40539 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniJIS-UTF32-V.bcmapbin0 -> 677 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniJIS-UTF8-H.bcmapbin0 -> 41695 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniJIS-UTF8-V.bcmapbin0 -> 678 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniJIS2004-UTF16-H.bcmapbin0 -> 39534 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniJIS2004-UTF16-V.bcmapbin0 -> 647 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniJIS2004-UTF32-H.bcmapbin0 -> 40630 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniJIS2004-UTF32-V.bcmapbin0 -> 681 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniJIS2004-UTF8-H.bcmapbin0 -> 41779 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniJIS2004-UTF8-V.bcmapbin0 -> 682 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniJISPro-UCS2-HW-V.bcmapbin0 -> 705 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniJISPro-UCS2-V.bcmapbin0 -> 689 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniJISPro-UTF8-V.bcmapbin0 -> 726 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniJISX0213-UTF32-H.bcmapbin0 -> 40517 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniJISX0213-UTF32-V.bcmapbin0 -> 684 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniJISX02132004-UTF32-H.bcmapbin0 -> 40608 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniJISX02132004-UTF32-V.bcmapbin0 -> 688 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniKS-UCS2-H.bcmapbin0 -> 25783 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniKS-UCS2-V.bcmapbin0 -> 178 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniKS-UTF16-H.bcmapbin0 -> 26327 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniKS-UTF16-V.bcmapbin0 -> 164 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniKS-UTF32-H.bcmapbin0 -> 26451 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniKS-UTF32-V.bcmapbin0 -> 168 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniKS-UTF8-H.bcmapbin0 -> 27790 bytes
-rw-r--r--lib/viewers/pdf/cmaps/UniKS-UTF8-V.bcmapbin0 -> 169 bytes
-rw-r--r--lib/viewers/pdf/cmaps/V.bcmapbin0 -> 166 bytes
-rw-r--r--lib/viewers/pdf/cmaps/WP-Symbol.bcmapbin0 -> 179 bytes
-rw-r--r--lib/viewers/pdf/compatibility.js341
-rw-r--r--lib/viewers/pdf/debugger.js221
-rw-r--r--lib/viewers/pdf/images/annotation-check.svg3
-rw-r--r--lib/viewers/pdf/images/annotation-comment.svg3
-rw-r--r--lib/viewers/pdf/images/annotation-help.svg3
-rw-r--r--lib/viewers/pdf/images/annotation-insert.svg3
-rw-r--r--lib/viewers/pdf/images/annotation-key.svg3
-rw-r--r--lib/viewers/pdf/images/annotation-newparagraph.svg3
-rw-r--r--lib/viewers/pdf/images/annotation-noicon.svg7
-rw-r--r--lib/viewers/pdf/images/annotation-note.svg3
-rw-r--r--lib/viewers/pdf/images/annotation-paragraph.svg3
-rw-r--r--lib/viewers/pdf/images/findbarButton-next-rtl.pngbin371 -> 199 bytes
-rw-r--r--lib/viewers/pdf/images/findbarButton-next-rtl@2x.pngbin0 -> 304 bytes
-rw-r--r--lib/viewers/pdf/images/findbarButton-next.pngbin381 -> 193 bytes
-rw-r--r--lib/viewers/pdf/images/findbarButton-next@2x.pngbin0 -> 296 bytes
-rw-r--r--lib/viewers/pdf/images/findbarButton-previous-rtl.pngbin381 -> 193 bytes
-rw-r--r--lib/viewers/pdf/images/findbarButton-previous-rtl@2x.pngbin0 -> 296 bytes
-rw-r--r--lib/viewers/pdf/images/findbarButton-previous.pngbin371 -> 199 bytes
-rw-r--r--lib/viewers/pdf/images/findbarButton-previous@2x.pngbin0 -> 304 bytes
-rw-r--r--lib/viewers/pdf/images/grab.curbin0 -> 326 bytes
-rw-r--r--lib/viewers/pdf/images/grabbing.curbin0 -> 326 bytes
-rw-r--r--lib/viewers/pdf/images/loading-small.pngbin9025 -> 3612 bytes
-rw-r--r--lib/viewers/pdf/images/secondaryToolbarButton-documentProperties.pngbin0 -> 403 bytes
-rw-r--r--lib/viewers/pdf/images/secondaryToolbarButton-documentProperties@2x.pngbin0 -> 933 bytes
-rw-r--r--lib/viewers/pdf/images/secondaryToolbarButton-firstPage.pngbin0 -> 179 bytes
-rw-r--r--lib/viewers/pdf/images/secondaryToolbarButton-firstPage@2x.pngbin0 -> 266 bytes
-rw-r--r--lib/viewers/pdf/images/secondaryToolbarButton-handTool.pngbin0 -> 301 bytes
-rw-r--r--lib/viewers/pdf/images/secondaryToolbarButton-handTool@2x.pngbin0 -> 583 bytes
-rw-r--r--lib/viewers/pdf/images/secondaryToolbarButton-lastPage.pngbin0 -> 175 bytes
-rw-r--r--lib/viewers/pdf/images/secondaryToolbarButton-lastPage@2x.pngbin0 -> 276 bytes
-rw-r--r--lib/viewers/pdf/images/secondaryToolbarButton-rotateCcw.pngbin0 -> 360 bytes
-rw-r--r--lib/viewers/pdf/images/secondaryToolbarButton-rotateCcw@2x.pngbin0 -> 731 bytes
-rw-r--r--lib/viewers/pdf/images/secondaryToolbarButton-rotateCw.pngbin0 -> 359 bytes
-rw-r--r--lib/viewers/pdf/images/secondaryToolbarButton-rotateCw@2x.pngbin0 -> 714 bytes
-rw-r--r--lib/viewers/pdf/images/shadow.pngbin454 -> 290 bytes
-rw-r--r--lib/viewers/pdf/images/texture.pngbin2459 -> 2418 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-bookmark.pngbin244 -> 174 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-bookmark@2x.pngbin0 -> 260 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-download.pngbin512 -> 259 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-download@2x.pngbin0 -> 425 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-menuArrows.pngbin237 -> 108 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-menuArrows@2x.pngbin0 -> 152 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-openFile.pngbin417 -> 295 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-openFile@2x.pngbin0 -> 550 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-pageDown-rtl.pngbin558 -> 242 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-pageDown-rtl@2x.pngbin0 -> 398 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-pageDown.pngbin353 -> 238 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-pageDown@2x.pngbin0 -> 396 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-pageUp-rtl.pngbin426 -> 245 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-pageUp-rtl@2x.pngbin0 -> 405 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-pageUp.pngbin344 -> 246 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-pageUp@2x.pngbin0 -> 403 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-presentationMode.pngbin491 -> 321 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-presentationMode@2x.pngbin0 -> 586 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-print.pngbin474 -> 257 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-print@2x.pngbin0 -> 464 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-search.pngbin503 -> 309 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-search@2x.pngbin0 -> 653 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-secondaryToolbarToggle-rtl.pngbin0 -> 246 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-secondaryToolbarToggle-rtl@2x.pngbin0 -> 456 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-secondaryToolbarToggle.pngbin0 -> 243 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-secondaryToolbarToggle@2x.pngbin0 -> 458 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-sidebarToggle-rtl.pngbin0 -> 225 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-sidebarToggle-rtl@2x.pngbin0 -> 344 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-sidebarToggle.pngbin349 -> 225 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-sidebarToggle@2x.pngbin0 -> 331 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-viewAttachments.pngbin0 -> 384 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-viewAttachments@2x.pngbin0 -> 871 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-viewOutline-rtl.pngbin0 -> 177 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-viewOutline-rtl@2x.pngbin0 -> 394 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-viewOutline.pngbin300 -> 178 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-viewOutline@2x.pngbin0 -> 331 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-viewThumbnail.pngbin211 -> 185 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-viewThumbnail@2x.pngbin0 -> 220 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-zoomIn.pngbin228 -> 136 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-zoomIn@2x.pngbin0 -> 160 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-zoomOut.pngbin143 -> 88 bytes
-rw-r--r--lib/viewers/pdf/images/toolbarButton-zoomOut@2x.pngbin0 -> 109 bytes
-rw-r--r--lib/viewers/pdf/l10n.js266
-rw-r--r--lib/viewers/pdf/locale/ach/viewer.properties97
-rw-r--r--lib/viewers/pdf/locale/af/viewer.properties157
-rw-r--r--lib/viewers/pdf/locale/ak/viewer.properties123
-rw-r--r--lib/viewers/pdf/locale/an/viewer.properties161
-rw-r--r--lib/viewers/pdf/locale/ar/metadata.inc8
-rw-r--r--lib/viewers/pdf/locale/ar/viewer.properties153
-rw-r--r--lib/viewers/pdf/locale/as/viewer.properties163
-rw-r--r--lib/viewers/pdf/locale/ast/viewer.properties73
-rw-r--r--lib/viewers/pdf/locale/az/viewer.properties139
-rw-r--r--lib/viewers/pdf/locale/be/viewer.properties105
-rw-r--r--lib/viewers/pdf/locale/bg/viewer.properties161
-rw-r--r--lib/viewers/pdf/locale/bn-BD/viewer.properties139
-rw-r--r--lib/viewers/pdf/locale/bn-IN/viewer.properties161
-rw-r--r--lib/viewers/pdf/locale/br/viewer.properties163
-rw-r--r--lib/viewers/pdf/locale/bs/viewer.properties125
-rw-r--r--lib/viewers/pdf/locale/ca/chrome.properties18
-rw-r--r--lib/viewers/pdf/locale/ca/metadata.inc8
-rw-r--r--lib/viewers/pdf/locale/ca/viewer.properties285
-rw-r--r--lib/viewers/pdf/locale/cs/metadata.inc8
-rw-r--r--lib/viewers/pdf/locale/cs/viewer.properties181
-rw-r--r--lib/viewers/pdf/locale/csb/viewer.properties134
-rw-r--r--lib/viewers/pdf/locale/cy/viewer.properties163
-rw-r--r--lib/viewers/pdf/locale/da/chrome.properties18
-rw-r--r--lib/viewers/pdf/locale/da/metadata.inc8
-rw-r--r--lib/viewers/pdf/locale/da/viewer.properties164
-rw-r--r--lib/viewers/pdf/locale/de/metadata.inc8
-rw-r--r--lib/viewers/pdf/locale/de/viewer.properties133
-rw-r--r--lib/viewers/pdf/locale/el/viewer.properties131
-rw-r--r--lib/viewers/pdf/locale/en-GB/viewer.properties161
-rw-r--r--lib/viewers/pdf/locale/en-US/chrome.properties18
-rw-r--r--lib/viewers/pdf/locale/en-US/metadata.inc8
-rw-r--r--lib/viewers/pdf/locale/en-US/viewer.properties64
-rw-r--r--lib/viewers/pdf/locale/en-ZA/viewer.properties161
-rw-r--r--lib/viewers/pdf/locale/eo/viewer.properties163
-rw-r--r--lib/viewers/pdf/locale/es-AR/viewer.properties169
-rw-r--r--lib/viewers/pdf/locale/es-CL/viewer.properties128
-rw-r--r--lib/viewers/pdf/locale/es-ES/viewer.properties109
-rw-r--r--lib/viewers/pdf/locale/es-MX/viewer.properties161
-rw-r--r--lib/viewers/pdf/locale/es/chrome.properties18
-rw-r--r--lib/viewers/pdf/locale/es/metadata.inc8
-rw-r--r--lib/viewers/pdf/locale/et/viewer.properties161
-rw-r--r--lib/viewers/pdf/locale/eu/viewer.properties163
-rw-r--r--lib/viewers/pdf/locale/fa/viewer.properties102
-rw-r--r--lib/viewers/pdf/locale/ff/viewer.properties163
-rw-r--r--lib/viewers/pdf/locale/fi/chrome.properties18
-rw-r--r--lib/viewers/pdf/locale/fi/metadata.inc8
-rw-r--r--lib/viewers/pdf/locale/fi/viewer.properties138
-rw-r--r--lib/viewers/pdf/locale/fr/chrome.properties17
-rw-r--r--lib/viewers/pdf/locale/fr/metadata.inc7
-rw-r--r--lib/viewers/pdf/locale/fr/viewer.properties63
-rw-r--r--lib/viewers/pdf/locale/fy-NL/viewer.properties169
-rw-r--r--lib/viewers/pdf/locale/ga-IE/viewer.properties163
-rw-r--r--lib/viewers/pdf/locale/gd/viewer.properties163
-rw-r--r--lib/viewers/pdf/locale/gl/viewer.properties (renamed from lib/viewers/pdf/locale/es/viewer.properties)109
-rw-r--r--lib/viewers/pdf/locale/gu-IN/viewer.properties108
-rw-r--r--lib/viewers/pdf/locale/he/metadata.inc8
-rw-r--r--lib/viewers/pdf/locale/he/viewer.properties189
-rw-r--r--lib/viewers/pdf/locale/hi-IN/viewer.properties161
-rw-r--r--lib/viewers/pdf/locale/hr/viewer.properties163
-rw-r--r--lib/viewers/pdf/locale/hu/viewer.properties161
-rw-r--r--lib/viewers/pdf/locale/hy-AM/viewer.properties161
-rw-r--r--lib/viewers/pdf/locale/id/viewer.properties169
-rw-r--r--lib/viewers/pdf/locale/is/viewer.properties163
-rw-r--r--lib/viewers/pdf/locale/it/metadata.inc8
-rw-r--r--lib/viewers/pdf/locale/it/viewer.properties151
-rw-r--r--lib/viewers/pdf/locale/ja/chrome.properties18
-rw-r--r--lib/viewers/pdf/locale/ja/metadata.inc8
-rw-r--r--lib/viewers/pdf/locale/ja/viewer.properties284
-rw-r--r--lib/viewers/pdf/locale/ka/viewer.properties124
-rw-r--r--lib/viewers/pdf/locale/kk/viewer.properties163
-rw-r--r--lib/viewers/pdf/locale/km/viewer.properties163
-rw-r--r--lib/viewers/pdf/locale/kn/viewer.properties123
-rw-r--r--lib/viewers/pdf/locale/ko/chrome.properties18
-rw-r--r--lib/viewers/pdf/locale/ko/metadata.inc8
-rw-r--r--lib/viewers/pdf/locale/ko/viewer.properties146
-rw-r--r--lib/viewers/pdf/locale/ku/viewer.properties139
-rw-r--r--lib/viewers/pdf/locale/lg/viewer.properties103
-rw-r--r--lib/viewers/pdf/locale/lij/viewer.properties116
-rw-r--r--lib/viewers/pdf/locale/locale.properties257
-rw-r--r--lib/viewers/pdf/locale/lt/chrome.properties18
-rw-r--r--lib/viewers/pdf/locale/lt/metadata.inc8
-rw-r--r--lib/viewers/pdf/locale/lt/viewer.properties148
-rw-r--r--lib/viewers/pdf/locale/lv/viewer.properties160
-rw-r--r--lib/viewers/pdf/locale/mai/viewer.properties121
-rw-r--r--lib/viewers/pdf/locale/mk/viewer.properties126
-rw-r--r--lib/viewers/pdf/locale/ml/viewer.properties139
-rw-r--r--lib/viewers/pdf/locale/mn/viewer.properties65
-rw-r--r--lib/viewers/pdf/locale/mr/viewer.properties163
-rw-r--r--lib/viewers/pdf/locale/ms/viewer.properties161
-rw-r--r--lib/viewers/pdf/locale/my/viewer.properties163
-rw-r--r--lib/viewers/pdf/locale/nb-NO/viewer.properties161
-rw-r--r--lib/viewers/pdf/locale/nl/chrome.properties18
-rw-r--r--lib/viewers/pdf/locale/nl/metadata.inc8
-rw-r--r--lib/viewers/pdf/locale/nl/viewer.properties95
-rw-r--r--lib/viewers/pdf/locale/nn-NO/viewer.properties163
-rw-r--r--lib/viewers/pdf/locale/nso/viewer.properties123
-rw-r--r--lib/viewers/pdf/locale/oc/viewer.properties163
-rw-r--r--lib/viewers/pdf/locale/or/viewer.properties163
-rw-r--r--lib/viewers/pdf/locale/pa-IN/viewer.properties177
-rw-r--r--lib/viewers/pdf/locale/pl/chrome.properties18
-rw-r--r--lib/viewers/pdf/locale/pl/metadata.inc8
-rw-r--r--lib/viewers/pdf/locale/pl/viewer.properties152
-rw-r--r--lib/viewers/pdf/locale/pt-BR/metadata.inc8
-rw-r--r--lib/viewers/pdf/locale/pt-BR/viewer.properties153
-rw-r--r--lib/viewers/pdf/locale/pt-PT/viewer.properties166
-rw-r--r--lib/viewers/pdf/locale/rm/viewer.properties153
-rw-r--r--lib/viewers/pdf/locale/ro/metadata.inc8
-rw-r--r--lib/viewers/pdf/locale/ro/viewer.properties178
-rw-r--r--lib/viewers/pdf/locale/ru/metadata.inc8
-rw-r--r--lib/viewers/pdf/locale/ru/viewer.properties169
-rw-r--r--lib/viewers/pdf/locale/rw/viewer.properties123
-rw-r--r--lib/viewers/pdf/locale/sah/viewer.properties122
-rw-r--r--lib/viewers/pdf/locale/si/viewer.properties102
-rw-r--r--lib/viewers/pdf/locale/sk/viewer.properties163
-rw-r--r--lib/viewers/pdf/locale/sl/viewer.properties161
-rw-r--r--lib/viewers/pdf/locale/son/viewer.properties161
-rw-r--r--lib/viewers/pdf/locale/sq/viewer.properties160
-rw-r--r--lib/viewers/pdf/locale/sr/metadata.inc8
-rw-r--r--lib/viewers/pdf/locale/sr/viewer.properties174
-rw-r--r--lib/viewers/pdf/locale/sv-SE/viewer.properties (renamed from lib/viewers/pdf/locale/sv/viewer.properties)110
-rw-r--r--lib/viewers/pdf/locale/sv/chrome.properties18
-rw-r--r--lib/viewers/pdf/locale/sv/metadata.inc7
-rw-r--r--lib/viewers/pdf/locale/sw/viewer.properties121
-rw-r--r--lib/viewers/pdf/locale/ta-LK/viewer.properties50
-rw-r--r--lib/viewers/pdf/locale/ta/viewer.properties163
-rw-r--r--lib/viewers/pdf/locale/te/viewer.properties145
-rw-r--r--lib/viewers/pdf/locale/th/viewer.properties161
-rw-r--r--lib/viewers/pdf/locale/tl/viewer.properties83
-rw-r--r--lib/viewers/pdf/locale/tn/viewer.properties72
-rw-r--r--lib/viewers/pdf/locale/tr/chrome.properties18
-rw-r--r--lib/viewers/pdf/locale/tr/metadata.inc8
-rw-r--r--lib/viewers/pdf/locale/tr/viewer.properties144
-rw-r--r--lib/viewers/pdf/locale/uk/viewer.properties161
-rw-r--r--lib/viewers/pdf/locale/ur/viewer.properties161
-rw-r--r--lib/viewers/pdf/locale/vi/chrome.properties18
-rw-r--r--lib/viewers/pdf/locale/vi/metadata.inc8
-rw-r--r--lib/viewers/pdf/locale/vi/viewer.properties134
-rw-r--r--lib/viewers/pdf/locale/wo/viewer.properties116
-rw-r--r--lib/viewers/pdf/locale/xh/viewer.properties161
-rw-r--r--lib/viewers/pdf/locale/zh-CN/chrome.properties18
-rw-r--r--lib/viewers/pdf/locale/zh-CN/metadata.inc8
-rw-r--r--lib/viewers/pdf/locale/zh-CN/viewer.properties122
-rw-r--r--lib/viewers/pdf/locale/zh-TW/chrome.properties18
-rw-r--r--lib/viewers/pdf/locale/zh-TW/metadata.inc8
-rw-r--r--lib/viewers/pdf/locale/zh-TW/viewer.properties277
-rw-r--r--lib/viewers/pdf/locale/zu/viewer.properties124
-rw-r--r--lib/viewers/pdf/pdf.js1820
-rw-r--r--lib/viewers/pdf/pdf.worker.js906
-rw-r--r--lib/viewers/pdf/viewer.css942
-rw-r--r--lib/viewers/pdf/viewer.html322
-rw-r--r--lib/viewers/pdf/viewer.js5130
-rw-r--r--lib/viewers/pdf/viewer.patch153
400 files changed, 20515 insertions, 5546 deletions
diff --git a/lib/viewers/pdf/cmaps/78-EUC-H.bcmap b/lib/viewers/pdf/cmaps/78-EUC-H.bcmap
new file mode 100644
index 0000000..2655fc7
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/78-EUC-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/78-EUC-V.bcmap b/lib/viewers/pdf/cmaps/78-EUC-V.bcmap
new file mode 100644
index 0000000..f1ed853
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/78-EUC-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/78-H.bcmap b/lib/viewers/pdf/cmaps/78-H.bcmap
new file mode 100644
index 0000000..39e89d3
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/78-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/78-RKSJ-H.bcmap b/lib/viewers/pdf/cmaps/78-RKSJ-H.bcmap
new file mode 100644
index 0000000..e4167cb
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/78-RKSJ-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/78-RKSJ-V.bcmap b/lib/viewers/pdf/cmaps/78-RKSJ-V.bcmap
new file mode 100644
index 0000000..50b1646
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/78-RKSJ-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/78-V.bcmap b/lib/viewers/pdf/cmaps/78-V.bcmap
new file mode 100644
index 0000000..d7af99b
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/78-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/78ms-RKSJ-H.bcmap b/lib/viewers/pdf/cmaps/78ms-RKSJ-H.bcmap
new file mode 100644
index 0000000..37077d0
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/78ms-RKSJ-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/78ms-RKSJ-V.bcmap b/lib/viewers/pdf/cmaps/78ms-RKSJ-V.bcmap
new file mode 100644
index 0000000..acf2323
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/78ms-RKSJ-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/83pv-RKSJ-H.bcmap b/lib/viewers/pdf/cmaps/83pv-RKSJ-H.bcmap
new file mode 100644
index 0000000..2359bc5
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/83pv-RKSJ-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/90ms-RKSJ-H.bcmap b/lib/viewers/pdf/cmaps/90ms-RKSJ-H.bcmap
new file mode 100644
index 0000000..af82938
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/90ms-RKSJ-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/90ms-RKSJ-V.bcmap b/lib/viewers/pdf/cmaps/90ms-RKSJ-V.bcmap
new file mode 100644
index 0000000..780549d
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/90ms-RKSJ-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/90msp-RKSJ-H.bcmap b/lib/viewers/pdf/cmaps/90msp-RKSJ-H.bcmap
new file mode 100644
index 0000000..bfd3119
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/90msp-RKSJ-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/90msp-RKSJ-V.bcmap b/lib/viewers/pdf/cmaps/90msp-RKSJ-V.bcmap
new file mode 100644
index 0000000..25ef14a
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/90msp-RKSJ-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/90pv-RKSJ-H.bcmap b/lib/viewers/pdf/cmaps/90pv-RKSJ-H.bcmap
new file mode 100644
index 0000000..02f713b
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/90pv-RKSJ-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/90pv-RKSJ-V.bcmap b/lib/viewers/pdf/cmaps/90pv-RKSJ-V.bcmap
new file mode 100644
index 0000000..d08e0cc
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/90pv-RKSJ-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Add-H.bcmap b/lib/viewers/pdf/cmaps/Add-H.bcmap
new file mode 100644
index 0000000..59442ac
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Add-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Add-RKSJ-H.bcmap b/lib/viewers/pdf/cmaps/Add-RKSJ-H.bcmap
new file mode 100644
index 0000000..a3065e4
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Add-RKSJ-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Add-RKSJ-V.bcmap b/lib/viewers/pdf/cmaps/Add-RKSJ-V.bcmap
new file mode 100644
index 0000000..040014c
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Add-RKSJ-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Add-V.bcmap b/lib/viewers/pdf/cmaps/Add-V.bcmap
new file mode 100644
index 0000000..2f816d3
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Add-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Adobe-CNS1-0.bcmap b/lib/viewers/pdf/cmaps/Adobe-CNS1-0.bcmap
new file mode 100644
index 0000000..88ec04a
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Adobe-CNS1-0.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Adobe-CNS1-1.bcmap b/lib/viewers/pdf/cmaps/Adobe-CNS1-1.bcmap
new file mode 100644
index 0000000..03a5014
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Adobe-CNS1-1.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Adobe-CNS1-2.bcmap b/lib/viewers/pdf/cmaps/Adobe-CNS1-2.bcmap
new file mode 100644
index 0000000..2aa9514
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Adobe-CNS1-2.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Adobe-CNS1-3.bcmap b/lib/viewers/pdf/cmaps/Adobe-CNS1-3.bcmap
new file mode 100644
index 0000000..86d8b8c
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Adobe-CNS1-3.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Adobe-CNS1-4.bcmap b/lib/viewers/pdf/cmaps/Adobe-CNS1-4.bcmap
new file mode 100644
index 0000000..f50fc6c
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Adobe-CNS1-4.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Adobe-CNS1-5.bcmap b/lib/viewers/pdf/cmaps/Adobe-CNS1-5.bcmap
new file mode 100644
index 0000000..6caf4a8
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Adobe-CNS1-5.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Adobe-CNS1-6.bcmap b/lib/viewers/pdf/cmaps/Adobe-CNS1-6.bcmap
new file mode 100644
index 0000000..b77fb07
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Adobe-CNS1-6.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Adobe-CNS1-UCS2.bcmap b/lib/viewers/pdf/cmaps/Adobe-CNS1-UCS2.bcmap
new file mode 100644
index 0000000..69d79a2
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Adobe-CNS1-UCS2.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Adobe-GB1-0.bcmap b/lib/viewers/pdf/cmaps/Adobe-GB1-0.bcmap
new file mode 100644
index 0000000..3610108
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Adobe-GB1-0.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Adobe-GB1-1.bcmap b/lib/viewers/pdf/cmaps/Adobe-GB1-1.bcmap
new file mode 100644
index 0000000..707bb10
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Adobe-GB1-1.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Adobe-GB1-2.bcmap b/lib/viewers/pdf/cmaps/Adobe-GB1-2.bcmap
new file mode 100644
index 0000000..f7648cc
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Adobe-GB1-2.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Adobe-GB1-3.bcmap b/lib/viewers/pdf/cmaps/Adobe-GB1-3.bcmap
new file mode 100644
index 0000000..8521458
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Adobe-GB1-3.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Adobe-GB1-4.bcmap b/lib/viewers/pdf/cmaps/Adobe-GB1-4.bcmap
new file mode 100644
index 0000000..e40c63a
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Adobe-GB1-4.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Adobe-GB1-5.bcmap b/lib/viewers/pdf/cmaps/Adobe-GB1-5.bcmap
new file mode 100644
index 0000000..d7623b5
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Adobe-GB1-5.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Adobe-GB1-UCS2.bcmap b/lib/viewers/pdf/cmaps/Adobe-GB1-UCS2.bcmap
new file mode 100644
index 0000000..7586525
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Adobe-GB1-UCS2.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Adobe-Japan1-0.bcmap b/lib/viewers/pdf/cmaps/Adobe-Japan1-0.bcmap
new file mode 100644
index 0000000..f0e94ec
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Adobe-Japan1-0.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Adobe-Japan1-1.bcmap b/lib/viewers/pdf/cmaps/Adobe-Japan1-1.bcmap
new file mode 100644
index 0000000..dad42c5
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Adobe-Japan1-1.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Adobe-Japan1-2.bcmap b/lib/viewers/pdf/cmaps/Adobe-Japan1-2.bcmap
new file mode 100644
index 0000000..090819a
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Adobe-Japan1-2.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Adobe-Japan1-3.bcmap b/lib/viewers/pdf/cmaps/Adobe-Japan1-3.bcmap
new file mode 100644
index 0000000..087dfc1
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Adobe-Japan1-3.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Adobe-Japan1-4.bcmap b/lib/viewers/pdf/cmaps/Adobe-Japan1-4.bcmap
new file mode 100644
index 0000000..46aa9bf
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Adobe-Japan1-4.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Adobe-Japan1-5.bcmap b/lib/viewers/pdf/cmaps/Adobe-Japan1-5.bcmap
new file mode 100644
index 0000000..5b4b65c
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Adobe-Japan1-5.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Adobe-Japan1-6.bcmap b/lib/viewers/pdf/cmaps/Adobe-Japan1-6.bcmap
new file mode 100644
index 0000000..e77d699
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Adobe-Japan1-6.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Adobe-Japan1-UCS2.bcmap b/lib/viewers/pdf/cmaps/Adobe-Japan1-UCS2.bcmap
new file mode 100644
index 0000000..128a141
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Adobe-Japan1-UCS2.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Adobe-Korea1-0.bcmap b/lib/viewers/pdf/cmaps/Adobe-Korea1-0.bcmap
new file mode 100644
index 0000000..cef1a99
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Adobe-Korea1-0.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Adobe-Korea1-1.bcmap b/lib/viewers/pdf/cmaps/Adobe-Korea1-1.bcmap
new file mode 100644
index 0000000..11ffa36
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Adobe-Korea1-1.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Adobe-Korea1-2.bcmap b/lib/viewers/pdf/cmaps/Adobe-Korea1-2.bcmap
new file mode 100644
index 0000000..3172308
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Adobe-Korea1-2.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Adobe-Korea1-UCS2.bcmap b/lib/viewers/pdf/cmaps/Adobe-Korea1-UCS2.bcmap
new file mode 100644
index 0000000..f3371c0
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Adobe-Korea1-UCS2.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/B5-H.bcmap b/lib/viewers/pdf/cmaps/B5-H.bcmap
new file mode 100644
index 0000000..beb4d22
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/B5-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/B5-V.bcmap b/lib/viewers/pdf/cmaps/B5-V.bcmap
new file mode 100644
index 0000000..2d4f87d
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/B5-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/B5pc-H.bcmap b/lib/viewers/pdf/cmaps/B5pc-H.bcmap
new file mode 100644
index 0000000..ce00131
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/B5pc-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/B5pc-V.bcmap b/lib/viewers/pdf/cmaps/B5pc-V.bcmap
new file mode 100644
index 0000000..73b99ff
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/B5pc-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/CNS-EUC-H.bcmap b/lib/viewers/pdf/cmaps/CNS-EUC-H.bcmap
new file mode 100644
index 0000000..61d1d0c
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/CNS-EUC-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/CNS-EUC-V.bcmap b/lib/viewers/pdf/cmaps/CNS-EUC-V.bcmap
new file mode 100644
index 0000000..1a393a5
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/CNS-EUC-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/CNS1-H.bcmap b/lib/viewers/pdf/cmaps/CNS1-H.bcmap
new file mode 100644
index 0000000..f738e21
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/CNS1-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/CNS1-V.bcmap b/lib/viewers/pdf/cmaps/CNS1-V.bcmap
new file mode 100644
index 0000000..9c3169f
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/CNS1-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/CNS2-H.bcmap b/lib/viewers/pdf/cmaps/CNS2-H.bcmap
new file mode 100644
index 0000000..c89b352
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/CNS2-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/CNS2-V.bcmap b/lib/viewers/pdf/cmaps/CNS2-V.bcmap
new file mode 100644
index 0000000..7588cec
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/CNS2-V.bcmap
@@ -0,0 +1,3 @@
+RCopyright 1990-2009 Adobe Systems Incorporated.
+All rights reserved.
+See ./LICENSECNS2-H \ No newline at end of file
diff --git a/lib/viewers/pdf/cmaps/ETHK-B5-H.bcmap b/lib/viewers/pdf/cmaps/ETHK-B5-H.bcmap
new file mode 100644
index 0000000..cb29415
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/ETHK-B5-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/ETHK-B5-V.bcmap b/lib/viewers/pdf/cmaps/ETHK-B5-V.bcmap
new file mode 100644
index 0000000..f09aec6
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/ETHK-B5-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/ETen-B5-H.bcmap b/lib/viewers/pdf/cmaps/ETen-B5-H.bcmap
new file mode 100644
index 0000000..c2d7746
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/ETen-B5-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/ETen-B5-V.bcmap b/lib/viewers/pdf/cmaps/ETen-B5-V.bcmap
new file mode 100644
index 0000000..89bff15
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/ETen-B5-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/ETenms-B5-H.bcmap b/lib/viewers/pdf/cmaps/ETenms-B5-H.bcmap
new file mode 100644
index 0000000..a7d69db
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/ETenms-B5-H.bcmap
@@ -0,0 +1,3 @@
+RCopyright 1990-2009 Adobe Systems Incorporated.
+All rights reserved.
+See ./LICENSE ETen-B5-H` ^ \ No newline at end of file
diff --git a/lib/viewers/pdf/cmaps/ETenms-B5-V.bcmap b/lib/viewers/pdf/cmaps/ETenms-B5-V.bcmap
new file mode 100644
index 0000000..adc5d61
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/ETenms-B5-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/EUC-H.bcmap b/lib/viewers/pdf/cmaps/EUC-H.bcmap
new file mode 100644
index 0000000..e92ea5b
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/EUC-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/EUC-V.bcmap b/lib/viewers/pdf/cmaps/EUC-V.bcmap
new file mode 100644
index 0000000..7a7c183
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/EUC-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Ext-H.bcmap b/lib/viewers/pdf/cmaps/Ext-H.bcmap
new file mode 100644
index 0000000..3b5cde4
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Ext-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Ext-RKSJ-H.bcmap b/lib/viewers/pdf/cmaps/Ext-RKSJ-H.bcmap
new file mode 100644
index 0000000..ea4d2d9
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Ext-RKSJ-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Ext-RKSJ-V.bcmap b/lib/viewers/pdf/cmaps/Ext-RKSJ-V.bcmap
new file mode 100644
index 0000000..3457c27
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Ext-RKSJ-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Ext-V.bcmap b/lib/viewers/pdf/cmaps/Ext-V.bcmap
new file mode 100644
index 0000000..4999ca4
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Ext-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/GB-EUC-H.bcmap b/lib/viewers/pdf/cmaps/GB-EUC-H.bcmap
new file mode 100644
index 0000000..e39908b
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/GB-EUC-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/GB-EUC-V.bcmap b/lib/viewers/pdf/cmaps/GB-EUC-V.bcmap
new file mode 100644
index 0000000..d5be544
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/GB-EUC-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/GB-H.bcmap b/lib/viewers/pdf/cmaps/GB-H.bcmap
new file mode 100644
index 0000000..39189c5
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/GB-H.bcmap
@@ -0,0 +1,4 @@
+RCopyright 1990-2009 Adobe Systems Incorporated.
+All rights reserved.
+See ./LICENSE!!]aX!!]`21> p z$]"Rd-U7* 4%+ Z {/%<9Kb1]." `],"]
+"]h"]F"]$"]"]`"]>"]"]z"]X"]6"]"]r"]P"]."] "]j"]H"]&"]"]b"]@"]"]|"]Z"]8"]"]t"]R"]0"]"]l"]J"]("]"]d"]B"] "X~']W"]5"]"]q"]O"]-"] "]i"]G"]%"]"]a"]?"]"]{"]Y"]7"]"]s"]Q"]/"] "]k"]I"]'"]"]c"]A"]"]}"]["]9 \ No newline at end of file
diff --git a/lib/viewers/pdf/cmaps/GB-V.bcmap b/lib/viewers/pdf/cmaps/GB-V.bcmap
new file mode 100644
index 0000000..3108345
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/GB-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/GBK-EUC-H.bcmap b/lib/viewers/pdf/cmaps/GBK-EUC-H.bcmap
new file mode 100644
index 0000000..05fff7e
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/GBK-EUC-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/GBK-EUC-V.bcmap b/lib/viewers/pdf/cmaps/GBK-EUC-V.bcmap
new file mode 100644
index 0000000..0cdf6be
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/GBK-EUC-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/GBK2K-H.bcmap b/lib/viewers/pdf/cmaps/GBK2K-H.bcmap
new file mode 100644
index 0000000..46f6ba5
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/GBK2K-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/GBK2K-V.bcmap b/lib/viewers/pdf/cmaps/GBK2K-V.bcmap
new file mode 100644
index 0000000..d9a9479
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/GBK2K-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/GBKp-EUC-H.bcmap b/lib/viewers/pdf/cmaps/GBKp-EUC-H.bcmap
new file mode 100644
index 0000000..5cb0af6
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/GBKp-EUC-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/GBKp-EUC-V.bcmap b/lib/viewers/pdf/cmaps/GBKp-EUC-V.bcmap
new file mode 100644
index 0000000..bca93b8
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/GBKp-EUC-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/GBT-EUC-H.bcmap b/lib/viewers/pdf/cmaps/GBT-EUC-H.bcmap
new file mode 100644
index 0000000..4b4e2d3
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/GBT-EUC-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/GBT-EUC-V.bcmap b/lib/viewers/pdf/cmaps/GBT-EUC-V.bcmap
new file mode 100644
index 0000000..38f7066
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/GBT-EUC-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/GBT-H.bcmap b/lib/viewers/pdf/cmaps/GBT-H.bcmap
new file mode 100644
index 0000000..8437ac3
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/GBT-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/GBT-V.bcmap b/lib/viewers/pdf/cmaps/GBT-V.bcmap
new file mode 100644
index 0000000..697ab4a
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/GBT-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/GBTpc-EUC-H.bcmap b/lib/viewers/pdf/cmaps/GBTpc-EUC-H.bcmap
new file mode 100644
index 0000000..f6e50e8
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/GBTpc-EUC-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/GBTpc-EUC-V.bcmap b/lib/viewers/pdf/cmaps/GBTpc-EUC-V.bcmap
new file mode 100644
index 0000000..6c0d71a
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/GBTpc-EUC-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/GBpc-EUC-H.bcmap b/lib/viewers/pdf/cmaps/GBpc-EUC-H.bcmap
new file mode 100644
index 0000000..c9edf67
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/GBpc-EUC-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/GBpc-EUC-V.bcmap b/lib/viewers/pdf/cmaps/GBpc-EUC-V.bcmap
new file mode 100644
index 0000000..31450c9
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/GBpc-EUC-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/H.bcmap b/lib/viewers/pdf/cmaps/H.bcmap
new file mode 100644
index 0000000..7b24ea4
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/HKdla-B5-H.bcmap b/lib/viewers/pdf/cmaps/HKdla-B5-H.bcmap
new file mode 100644
index 0000000..7d30c05
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/HKdla-B5-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/HKdla-B5-V.bcmap b/lib/viewers/pdf/cmaps/HKdla-B5-V.bcmap
new file mode 100644
index 0000000..7894694
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/HKdla-B5-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/HKdlb-B5-H.bcmap b/lib/viewers/pdf/cmaps/HKdlb-B5-H.bcmap
new file mode 100644
index 0000000..d829a23
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/HKdlb-B5-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/HKdlb-B5-V.bcmap b/lib/viewers/pdf/cmaps/HKdlb-B5-V.bcmap
new file mode 100644
index 0000000..2b572b5
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/HKdlb-B5-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/HKgccs-B5-H.bcmap b/lib/viewers/pdf/cmaps/HKgccs-B5-H.bcmap
new file mode 100644
index 0000000..971a4f2
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/HKgccs-B5-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/HKgccs-B5-V.bcmap b/lib/viewers/pdf/cmaps/HKgccs-B5-V.bcmap
new file mode 100644
index 0000000..d353ca2
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/HKgccs-B5-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/HKm314-B5-H.bcmap b/lib/viewers/pdf/cmaps/HKm314-B5-H.bcmap
new file mode 100644
index 0000000..576dc01
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/HKm314-B5-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/HKm314-B5-V.bcmap b/lib/viewers/pdf/cmaps/HKm314-B5-V.bcmap
new file mode 100644
index 0000000..0e96d0e
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/HKm314-B5-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/HKm471-B5-H.bcmap b/lib/viewers/pdf/cmaps/HKm471-B5-H.bcmap
new file mode 100644
index 0000000..11d170c
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/HKm471-B5-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/HKm471-B5-V.bcmap b/lib/viewers/pdf/cmaps/HKm471-B5-V.bcmap
new file mode 100644
index 0000000..54959bf
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/HKm471-B5-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/HKscs-B5-H.bcmap b/lib/viewers/pdf/cmaps/HKscs-B5-H.bcmap
new file mode 100644
index 0000000..6ef7857
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/HKscs-B5-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/HKscs-B5-V.bcmap b/lib/viewers/pdf/cmaps/HKscs-B5-V.bcmap
new file mode 100644
index 0000000..1fb2fa2
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/HKscs-B5-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Hankaku.bcmap b/lib/viewers/pdf/cmaps/Hankaku.bcmap
new file mode 100644
index 0000000..4b8ec7f
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Hankaku.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Hiragana.bcmap b/lib/viewers/pdf/cmaps/Hiragana.bcmap
new file mode 100644
index 0000000..17e983e
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Hiragana.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/KSC-EUC-H.bcmap b/lib/viewers/pdf/cmaps/KSC-EUC-H.bcmap
new file mode 100644
index 0000000..a45c65f
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/KSC-EUC-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/KSC-EUC-V.bcmap b/lib/viewers/pdf/cmaps/KSC-EUC-V.bcmap
new file mode 100644
index 0000000..0e7b21f
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/KSC-EUC-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/KSC-H.bcmap b/lib/viewers/pdf/cmaps/KSC-H.bcmap
new file mode 100644
index 0000000..b9b22b6
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/KSC-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/KSC-Johab-H.bcmap b/lib/viewers/pdf/cmaps/KSC-Johab-H.bcmap
new file mode 100644
index 0000000..2531ffc
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/KSC-Johab-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/KSC-Johab-V.bcmap b/lib/viewers/pdf/cmaps/KSC-Johab-V.bcmap
new file mode 100644
index 0000000..367ceb2
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/KSC-Johab-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/KSC-V.bcmap b/lib/viewers/pdf/cmaps/KSC-V.bcmap
new file mode 100644
index 0000000..6ae2f0b
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/KSC-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/KSCms-UHC-H.bcmap b/lib/viewers/pdf/cmaps/KSCms-UHC-H.bcmap
new file mode 100644
index 0000000..a8d4240
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/KSCms-UHC-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/KSCms-UHC-HW-H.bcmap b/lib/viewers/pdf/cmaps/KSCms-UHC-HW-H.bcmap
new file mode 100644
index 0000000..8b4ae18
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/KSCms-UHC-HW-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/KSCms-UHC-HW-V.bcmap b/lib/viewers/pdf/cmaps/KSCms-UHC-HW-V.bcmap
new file mode 100644
index 0000000..b655dbc
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/KSCms-UHC-HW-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/KSCms-UHC-V.bcmap b/lib/viewers/pdf/cmaps/KSCms-UHC-V.bcmap
new file mode 100644
index 0000000..21f97f6
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/KSCms-UHC-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/KSCpc-EUC-H.bcmap b/lib/viewers/pdf/cmaps/KSCpc-EUC-H.bcmap
new file mode 100644
index 0000000..e06f361
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/KSCpc-EUC-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/KSCpc-EUC-V.bcmap b/lib/viewers/pdf/cmaps/KSCpc-EUC-V.bcmap
new file mode 100644
index 0000000..f3c9113
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/KSCpc-EUC-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Katakana.bcmap b/lib/viewers/pdf/cmaps/Katakana.bcmap
new file mode 100644
index 0000000..524303c
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Katakana.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/LICENSE b/lib/viewers/pdf/cmaps/LICENSE
new file mode 100644
index 0000000..b1ad168
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/LICENSE
@@ -0,0 +1,36 @@
+%%Copyright: -----------------------------------------------------------
+%%Copyright: Copyright 1990-2009 Adobe Systems Incorporated.
+%%Copyright: All rights reserved.
+%%Copyright:
+%%Copyright: Redistribution and use in source and binary forms, with or
+%%Copyright: without modification, are permitted provided that the
+%%Copyright: following conditions are met:
+%%Copyright:
+%%Copyright: Redistributions of source code must retain the above
+%%Copyright: copyright notice, this list of conditions and the following
+%%Copyright: disclaimer.
+%%Copyright:
+%%Copyright: Redistributions in binary form must reproduce the above
+%%Copyright: copyright notice, this list of conditions and the following
+%%Copyright: disclaimer in the documentation and/or other materials
+%%Copyright: provided with the distribution.
+%%Copyright:
+%%Copyright: Neither the name of Adobe Systems Incorporated nor the names
+%%Copyright: of its contributors may be used to endorse or promote
+%%Copyright: products derived from this software without specific prior
+%%Copyright: written permission.
+%%Copyright:
+%%Copyright: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
+%%Copyright: CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
+%%Copyright: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+%%Copyright: MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+%%Copyright: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+%%Copyright: CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+%%Copyright: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+%%Copyright: NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+%%Copyright: LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+%%Copyright: HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+%%Copyright: CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+%%Copyright: OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+%%Copyright: SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+%%Copyright: -----------------------------------------------------------
diff --git a/lib/viewers/pdf/cmaps/NWP-H.bcmap b/lib/viewers/pdf/cmaps/NWP-H.bcmap
new file mode 100644
index 0000000..afc5e4b
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/NWP-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/NWP-V.bcmap b/lib/viewers/pdf/cmaps/NWP-V.bcmap
new file mode 100644
index 0000000..bb5785e
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/NWP-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/RKSJ-H.bcmap b/lib/viewers/pdf/cmaps/RKSJ-H.bcmap
new file mode 100644
index 0000000..fb8d298
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/RKSJ-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/RKSJ-V.bcmap b/lib/viewers/pdf/cmaps/RKSJ-V.bcmap
new file mode 100644
index 0000000..a2555a6
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/RKSJ-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/Roman.bcmap b/lib/viewers/pdf/cmaps/Roman.bcmap
new file mode 100644
index 0000000..f896dcf
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/Roman.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniCNS-UCS2-H.bcmap b/lib/viewers/pdf/cmaps/UniCNS-UCS2-H.bcmap
new file mode 100644
index 0000000..d5db27c
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniCNS-UCS2-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniCNS-UCS2-V.bcmap b/lib/viewers/pdf/cmaps/UniCNS-UCS2-V.bcmap
new file mode 100644
index 0000000..1dc9b7a
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniCNS-UCS2-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniCNS-UTF16-H.bcmap b/lib/viewers/pdf/cmaps/UniCNS-UTF16-H.bcmap
new file mode 100644
index 0000000..961afef
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniCNS-UTF16-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniCNS-UTF16-V.bcmap b/lib/viewers/pdf/cmaps/UniCNS-UTF16-V.bcmap
new file mode 100644
index 0000000..df0cffe
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniCNS-UTF16-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniCNS-UTF32-H.bcmap b/lib/viewers/pdf/cmaps/UniCNS-UTF32-H.bcmap
new file mode 100644
index 0000000..1ab18a1
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniCNS-UTF32-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniCNS-UTF32-V.bcmap b/lib/viewers/pdf/cmaps/UniCNS-UTF32-V.bcmap
new file mode 100644
index 0000000..ad14662
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniCNS-UTF32-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniCNS-UTF8-H.bcmap b/lib/viewers/pdf/cmaps/UniCNS-UTF8-H.bcmap
new file mode 100644
index 0000000..83c6bd7
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniCNS-UTF8-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniCNS-UTF8-V.bcmap b/lib/viewers/pdf/cmaps/UniCNS-UTF8-V.bcmap
new file mode 100644
index 0000000..22a27e4
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniCNS-UTF8-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniGB-UCS2-H.bcmap b/lib/viewers/pdf/cmaps/UniGB-UCS2-H.bcmap
new file mode 100644
index 0000000..5bd6228
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniGB-UCS2-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniGB-UCS2-V.bcmap b/lib/viewers/pdf/cmaps/UniGB-UCS2-V.bcmap
new file mode 100644
index 0000000..53c534b
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniGB-UCS2-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniGB-UTF16-H.bcmap b/lib/viewers/pdf/cmaps/UniGB-UTF16-H.bcmap
new file mode 100644
index 0000000..b95045b
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniGB-UTF16-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniGB-UTF16-V.bcmap b/lib/viewers/pdf/cmaps/UniGB-UTF16-V.bcmap
new file mode 100644
index 0000000..51f023e
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniGB-UTF16-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniGB-UTF32-H.bcmap b/lib/viewers/pdf/cmaps/UniGB-UTF32-H.bcmap
new file mode 100644
index 0000000..f0dbd14
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniGB-UTF32-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniGB-UTF32-V.bcmap b/lib/viewers/pdf/cmaps/UniGB-UTF32-V.bcmap
new file mode 100644
index 0000000..ce9c30a
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniGB-UTF32-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniGB-UTF8-H.bcmap b/lib/viewers/pdf/cmaps/UniGB-UTF8-H.bcmap
new file mode 100644
index 0000000..982ca46
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniGB-UTF8-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniGB-UTF8-V.bcmap b/lib/viewers/pdf/cmaps/UniGB-UTF8-V.bcmap
new file mode 100644
index 0000000..f78020d
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniGB-UTF8-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniJIS-UCS2-H.bcmap b/lib/viewers/pdf/cmaps/UniJIS-UCS2-H.bcmap
new file mode 100644
index 0000000..7daf56a
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniJIS-UCS2-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniJIS-UCS2-HW-H.bcmap b/lib/viewers/pdf/cmaps/UniJIS-UCS2-HW-H.bcmap
new file mode 100644
index 0000000..ac9975c
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniJIS-UCS2-HW-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniJIS-UCS2-HW-V.bcmap b/lib/viewers/pdf/cmaps/UniJIS-UCS2-HW-V.bcmap
new file mode 100644
index 0000000..3da0a1c
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniJIS-UCS2-HW-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniJIS-UCS2-V.bcmap b/lib/viewers/pdf/cmaps/UniJIS-UCS2-V.bcmap
new file mode 100644
index 0000000..c50b9dd
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniJIS-UCS2-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniJIS-UTF16-H.bcmap b/lib/viewers/pdf/cmaps/UniJIS-UTF16-H.bcmap
new file mode 100644
index 0000000..6761344
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniJIS-UTF16-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniJIS-UTF16-V.bcmap b/lib/viewers/pdf/cmaps/UniJIS-UTF16-V.bcmap
new file mode 100644
index 0000000..70bf90c
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniJIS-UTF16-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniJIS-UTF32-H.bcmap b/lib/viewers/pdf/cmaps/UniJIS-UTF32-H.bcmap
new file mode 100644
index 0000000..7a83d53
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniJIS-UTF32-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniJIS-UTF32-V.bcmap b/lib/viewers/pdf/cmaps/UniJIS-UTF32-V.bcmap
new file mode 100644
index 0000000..7a87135
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniJIS-UTF32-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniJIS-UTF8-H.bcmap b/lib/viewers/pdf/cmaps/UniJIS-UTF8-H.bcmap
new file mode 100644
index 0000000..9f0334c
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniJIS-UTF8-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniJIS-UTF8-V.bcmap b/lib/viewers/pdf/cmaps/UniJIS-UTF8-V.bcmap
new file mode 100644
index 0000000..808a94f
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniJIS-UTF8-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniJIS2004-UTF16-H.bcmap b/lib/viewers/pdf/cmaps/UniJIS2004-UTF16-H.bcmap
new file mode 100644
index 0000000..d768bf8
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniJIS2004-UTF16-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniJIS2004-UTF16-V.bcmap b/lib/viewers/pdf/cmaps/UniJIS2004-UTF16-V.bcmap
new file mode 100644
index 0000000..3d5bf6f
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniJIS2004-UTF16-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniJIS2004-UTF32-H.bcmap b/lib/viewers/pdf/cmaps/UniJIS2004-UTF32-H.bcmap
new file mode 100644
index 0000000..09eee10
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniJIS2004-UTF32-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniJIS2004-UTF32-V.bcmap b/lib/viewers/pdf/cmaps/UniJIS2004-UTF32-V.bcmap
new file mode 100644
index 0000000..6c54600
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniJIS2004-UTF32-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniJIS2004-UTF8-H.bcmap b/lib/viewers/pdf/cmaps/UniJIS2004-UTF8-H.bcmap
new file mode 100644
index 0000000..1b1a64f
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniJIS2004-UTF8-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniJIS2004-UTF8-V.bcmap b/lib/viewers/pdf/cmaps/UniJIS2004-UTF8-V.bcmap
new file mode 100644
index 0000000..994aa9e
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniJIS2004-UTF8-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniJISPro-UCS2-HW-V.bcmap b/lib/viewers/pdf/cmaps/UniJISPro-UCS2-HW-V.bcmap
new file mode 100644
index 0000000..643f921
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniJISPro-UCS2-HW-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniJISPro-UCS2-V.bcmap b/lib/viewers/pdf/cmaps/UniJISPro-UCS2-V.bcmap
new file mode 100644
index 0000000..c148f67
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniJISPro-UCS2-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniJISPro-UTF8-V.bcmap b/lib/viewers/pdf/cmaps/UniJISPro-UTF8-V.bcmap
new file mode 100644
index 0000000..1849d80
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniJISPro-UTF8-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniJISX0213-UTF32-H.bcmap b/lib/viewers/pdf/cmaps/UniJISX0213-UTF32-H.bcmap
new file mode 100644
index 0000000..a83a677
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniJISX0213-UTF32-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniJISX0213-UTF32-V.bcmap b/lib/viewers/pdf/cmaps/UniJISX0213-UTF32-V.bcmap
new file mode 100644
index 0000000..f527248
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniJISX0213-UTF32-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniJISX02132004-UTF32-H.bcmap b/lib/viewers/pdf/cmaps/UniJISX02132004-UTF32-H.bcmap
new file mode 100644
index 0000000..e1a988d
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniJISX02132004-UTF32-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniJISX02132004-UTF32-V.bcmap b/lib/viewers/pdf/cmaps/UniJISX02132004-UTF32-V.bcmap
new file mode 100644
index 0000000..47e054a
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniJISX02132004-UTF32-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniKS-UCS2-H.bcmap b/lib/viewers/pdf/cmaps/UniKS-UCS2-H.bcmap
new file mode 100644
index 0000000..b5b9485
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniKS-UCS2-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniKS-UCS2-V.bcmap b/lib/viewers/pdf/cmaps/UniKS-UCS2-V.bcmap
new file mode 100644
index 0000000..026adca
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniKS-UCS2-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniKS-UTF16-H.bcmap b/lib/viewers/pdf/cmaps/UniKS-UTF16-H.bcmap
new file mode 100644
index 0000000..fd4e66e
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniKS-UTF16-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniKS-UTF16-V.bcmap b/lib/viewers/pdf/cmaps/UniKS-UTF16-V.bcmap
new file mode 100644
index 0000000..075efb7
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniKS-UTF16-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniKS-UTF32-H.bcmap b/lib/viewers/pdf/cmaps/UniKS-UTF32-H.bcmap
new file mode 100644
index 0000000..769d214
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniKS-UTF32-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniKS-UTF32-V.bcmap b/lib/viewers/pdf/cmaps/UniKS-UTF32-V.bcmap
new file mode 100644
index 0000000..bdab208
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniKS-UTF32-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniKS-UTF8-H.bcmap b/lib/viewers/pdf/cmaps/UniKS-UTF8-H.bcmap
new file mode 100644
index 0000000..6ff8674
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniKS-UTF8-H.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/UniKS-UTF8-V.bcmap b/lib/viewers/pdf/cmaps/UniKS-UTF8-V.bcmap
new file mode 100644
index 0000000..8dfa76a
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/UniKS-UTF8-V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/V.bcmap b/lib/viewers/pdf/cmaps/V.bcmap
new file mode 100644
index 0000000..fdec990
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/V.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/cmaps/WP-Symbol.bcmap b/lib/viewers/pdf/cmaps/WP-Symbol.bcmap
new file mode 100644
index 0000000..46729bb
--- /dev/null
+++ b/lib/viewers/pdf/cmaps/WP-Symbol.bcmap
Binary files differ
diff --git a/lib/viewers/pdf/compatibility.js b/lib/viewers/pdf/compatibility.js
index 0230dc5..07d26d3 100644
--- a/lib/viewers/pdf/compatibility.js
+++ b/lib/viewers/pdf/compatibility.js
@@ -14,14 +14,21 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-/* globals VBArray */
+/* globals VBArray, PDFJS */
'use strict';
+// Initializing PDFJS global object here, it case if we need to change/disable
+// some PDF.js features, e.g. range requests
+if (typeof PDFJS === 'undefined') {
+ (typeof window !== 'undefined' ? window : this).PDFJS = {};
+}
+
// Checking if the typed arrays are supported
+// Support: iOS<6.0 (subarray), IE<10, Android<4.0
(function checkTypedArrayCompatibility() {
if (typeof Uint8Array !== 'undefined') {
- // some mobile versions do not support subarray (e.g. safari 5 / iOS)
+ // Support: iOS<6.0
if (typeof Uint8Array.prototype.subarray === 'undefined') {
Uint8Array.prototype.subarray = function subarray(start, end) {
return new Uint8Array(this.slice(start, end));
@@ -31,10 +38,10 @@
};
}
- // some mobile version might not support Float64Array
- if (typeof Float64Array === 'undefined')
+ // Support: Android<4.1
+ if (typeof Float64Array === 'undefined') {
window.Float64Array = Float32Array;
-
+ }
return;
}
@@ -43,23 +50,26 @@
}
function setArrayOffset(array, offset) {
- if (arguments.length < 2)
+ if (arguments.length < 2) {
offset = 0;
- for (var i = 0, n = array.length; i < n; ++i, ++offset)
+ }
+ for (var i = 0, n = array.length; i < n; ++i, ++offset) {
this[offset] = array[i] & 0xFF;
+ }
}
function TypedArray(arg1) {
- var result;
+ var result, i, n;
if (typeof arg1 === 'number') {
result = [];
- for (var i = 0; i < arg1; ++i)
+ for (i = 0; i < arg1; ++i) {
result[i] = 0;
+ }
} else if ('slice' in arg1) {
result = arg1.slice(0);
} else {
result = [];
- for (var i = 0, n = arg1.length; i < n; ++i) {
+ for (i = 0, n = arg1.length; i < n; ++i) {
result[i] = arg1[i];
}
}
@@ -69,13 +79,14 @@
result.byteLength = result.length;
result.set = setArrayOffset;
- if (typeof arg1 === 'object' && arg1.buffer)
+ if (typeof arg1 === 'object' && arg1.buffer) {
result.buffer = arg1.buffer;
-
+ }
return result;
}
window.Uint8Array = TypedArray;
+ window.Int8Array = TypedArray;
// we don't need support for set, byteLength for 32-bit array
// so we can use the TypedArray as well
@@ -86,19 +97,16 @@
window.Float64Array = TypedArray;
})();
-// Object.create() ?
-(function checkObjectCreateCompatibility() {
- if (typeof Object.create !== 'undefined')
- return;
-
- Object.create = function objectCreate(proto) {
- function Constructor() {}
- Constructor.prototype = proto;
- return new Constructor();
- };
+// URL = URL || webkitURL
+// Support: Safari<7, Android 4.2+
+(function normalizeURLObject() {
+ if (!window.URL) {
+ window.URL = window.webkitURL;
+ }
})();
-// Object.defineProperty() ?
+// Object.defineProperty()?
+// Support: Android<4.0, Safari<5.1
(function checkObjectDefinePropertyCompatibility() {
if (typeof Object.defineProperty !== 'undefined') {
var definePropertyPossible = true;
@@ -114,15 +122,19 @@
} catch (e) {
definePropertyPossible = false;
}
- if (definePropertyPossible) return;
+ if (definePropertyPossible) {
+ return;
+ }
}
Object.defineProperty = function objectDefineProperty(obj, name, def) {
delete obj[name];
- if ('get' in def)
+ if ('get' in def) {
obj.__defineGetter__(name, def['get']);
- if ('set' in def)
+ }
+ if ('set' in def) {
obj.__defineSetter__(name, def['set']);
+ }
if ('value' in def) {
obj.__defineSetter__(name, function objectDefinePropertySetter(value) {
this.__defineGetter__(name, function objectDefinePropertyGetter() {
@@ -135,72 +147,23 @@
};
})();
-// Object.keys() ?
-(function checkObjectKeysCompatibility() {
- if (typeof Object.keys !== 'undefined')
- return;
- Object.keys = function objectKeys(obj) {
- var result = [];
- for (var i in obj) {
- if (obj.hasOwnProperty(i))
- result.push(i);
- }
- return result;
- };
-})();
-
-// No readAsArrayBuffer ?
-(function checkFileReaderReadAsArrayBuffer() {
- if (typeof FileReader === 'undefined')
- return; // FileReader is not implemented
- var frPrototype = FileReader.prototype;
- // Older versions of Firefox might not have readAsArrayBuffer
- if ('readAsArrayBuffer' in frPrototype)
- return; // readAsArrayBuffer is implemented
- Object.defineProperty(frPrototype, 'readAsArrayBuffer', {
- value: function fileReaderReadAsArrayBuffer(blob) {
- var fileReader = new FileReader();
- var originalReader = this;
- fileReader.onload = function fileReaderOnload(evt) {
- var data = evt.target.result;
- var buffer = new ArrayBuffer(data.length);
- var uint8Array = new Uint8Array(buffer);
-
- for (var i = 0, ii = data.length; i < ii; i++)
- uint8Array[i] = data.charCodeAt(i);
-
- Object.defineProperty(originalReader, 'result', {
- value: buffer,
- enumerable: true,
- writable: false,
- configurable: true
- });
-
- var event = document.createEvent('HTMLEvents');
- event.initEvent('load', false, false);
- originalReader.dispatchEvent(event);
- };
- fileReader.readAsBinaryString(blob);
- }
- });
-})();
-
-// No XMLHttpRequest.response ?
+// No XMLHttpRequest#response?
+// Support: IE<11, Android <4.0
(function checkXMLHttpRequestResponseCompatibility() {
var xhrPrototype = XMLHttpRequest.prototype;
- if (!('overrideMimeType' in xhrPrototype)) {
+ var xhr = new XMLHttpRequest();
+ if (!('overrideMimeType' in xhr)) {
// IE10 might have response, but not overrideMimeType
+ // Support: IE10
Object.defineProperty(xhrPrototype, 'overrideMimeType', {
value: function xmlHttpRequestOverrideMimeType(mimeType) {}
});
}
- if ('response' in xhrPrototype ||
- 'mozResponseArrayBuffer' in xhrPrototype ||
- 'mozResponse' in xhrPrototype ||
- 'responseArrayBuffer' in xhrPrototype)
+ if ('response' in xhr || 'responseArrayBuffer' in xhr) {
return;
- // IE9 ?
+ }
+ // Support: IE9
if (typeof VBArray !== 'undefined') {
Object.defineProperty(xhrPrototype, 'response', {
get: function xmlHttpRequestResponseGet() {
@@ -215,7 +178,7 @@
// will be only called to set "arraybuffer"
this.overrideMimeType('text/plain; charset=x-user-defined');
}
- if (typeof xhrPrototype.overrideMimeType === 'function') {
+ if (typeof xhr.overrideMimeType === 'function') {
Object.defineProperty(xhrPrototype, 'responseType',
{ set: responseTypeSetter });
}
@@ -223,17 +186,20 @@
var text = this.responseText;
var i, n = text.length;
var result = new Uint8Array(n);
- for (i = 0; i < n; ++i)
+ for (i = 0; i < n; ++i) {
result[i] = text.charCodeAt(i) & 0xFF;
+ }
return result;
}
Object.defineProperty(xhrPrototype, 'response', { get: responseGetter });
})();
// window.btoa (base64 encode function) ?
+// Support: IE<10
(function checkWindowBtoaCompatibility() {
- if ('btoa' in window)
+ if ('btoa' in window) {
return;
+ }
var digits =
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
@@ -255,69 +221,81 @@
};
})();
-// Function.prototype.bind ?
+// window.atob (base64 encode function)?
+// Support: IE<10
+(function checkWindowAtobCompatibility() {
+ if ('atob' in window) {
+ return;
+ }
+
+ // https://github.com/davidchambers/Base64.js
+ var digits =
+ 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
+ window.atob = function (input) {
+ input = input.replace(/=+$/, '');
+ if (input.length % 4 == 1) {
+ throw new Error('bad atob input');
+ }
+ for (
+ // initialize result and counters
+ var bc = 0, bs, buffer, idx = 0, output = '';
+ // get next character
+ buffer = input.charAt(idx++);
+ // character found in table?
+ // initialize bit storage and add its ascii value
+ ~buffer && (bs = bc % 4 ? bs * 64 + buffer : buffer,
+ // and if not first of each 4 characters,
+ // convert the first 8 bits to one ascii character
+ bc++ % 4) ? output += String.fromCharCode(255 & bs >> (-2 * bc & 6)) : 0
+ ) {
+ // try to find character in table (0-63, not found => -1)
+ buffer = digits.indexOf(buffer);
+ }
+ return output;
+ };
+})();
+
+// Function.prototype.bind?
+// Support: Android<4.0, iOS<6.0
(function checkFunctionPrototypeBindCompatibility() {
- if (typeof Function.prototype.bind !== 'undefined')
+ if (typeof Function.prototype.bind !== 'undefined') {
return;
+ }
Function.prototype.bind = function functionPrototypeBind(obj) {
var fn = this, headArgs = Array.prototype.slice.call(arguments, 1);
var bound = function functionPrototypeBindBound() {
- var args = Array.prototype.concat.apply(headArgs, arguments);
+ var args = headArgs.concat(Array.prototype.slice.call(arguments));
return fn.apply(obj, args);
};
return bound;
};
})();
-// IE9/10 text/html data URI
-(function checkDataURICompatibility() {
- if (!('documentMode' in document) ||
- document.documentMode !== 9 && document.documentMode !== 10)
- return;
- // overriding the src property
- var originalSrcDescriptor = Object.getOwnPropertyDescriptor(
- HTMLIFrameElement.prototype, 'src');
- Object.defineProperty(HTMLIFrameElement.prototype, 'src', {
- get: function htmlIFrameElementPrototypeSrcGet() { return this.$src; },
- set: function htmlIFrameElementPrototypeSrcSet(src) {
- this.$src = src;
- if (src.substr(0, 14) != 'data:text/html') {
- originalSrcDescriptor.set.call(this, src);
- return;
- }
- // for text/html, using blank document and then
- // document's open, write, and close operations
- originalSrcDescriptor.set.call(this, 'about:blank');
- setTimeout((function htmlIFrameElementPrototypeSrcOpenWriteClose() {
- var doc = this.contentDocument;
- doc.open('text/html');
- doc.write(src.substr(src.indexOf(',') + 1));
- doc.close();
- }).bind(this), 0);
- },
- enumerable: true
- });
-})();
-
// HTMLElement dataset property
+// Support: IE<11, Safari<5.1, Android<4.0
(function checkDatasetProperty() {
var div = document.createElement('div');
- if ('dataset' in div)
+ if ('dataset' in div) {
return; // dataset property exists
+ }
Object.defineProperty(HTMLElement.prototype, 'dataset', {
get: function() {
- if (this._dataset)
+ if (this._dataset) {
return this._dataset;
+ }
var dataset = {};
for (var j = 0, jj = this.attributes.length; j < jj; j++) {
var attribute = this.attributes[j];
- if (attribute.name.substring(0, 5) != 'data-')
+ if (attribute.name.substring(0, 5) != 'data-') {
continue;
+ }
var key = attribute.name.substring(5).replace(/\-([a-z])/g,
- function(all, ch) { return ch.toUpperCase(); });
+ function(all, ch) {
+ return ch.toUpperCase();
+ });
dataset[key] = attribute.value;
}
@@ -333,27 +311,37 @@
})();
// HTMLElement classList property
+// Support: IE<10, Android<4.0, iOS<5.0
(function checkClassListProperty() {
var div = document.createElement('div');
- if ('classList' in div)
+ if ('classList' in div) {
return; // classList property exists
+ }
function changeList(element, itemName, add, remove) {
var s = element.className || '';
var list = s.split(/\s+/g);
- if (list[0] === '') list.shift();
+ if (list[0] === '') {
+ list.shift();
+ }
var index = list.indexOf(itemName);
- if (index < 0 && add)
+ if (index < 0 && add) {
list.push(itemName);
- if (index >= 0 && remove)
+ }
+ if (index >= 0 && remove) {
list.splice(index, 1);
+ }
element.className = list.join(' ');
+ return (index >= 0);
}
var classListPrototype = {
add: function(name) {
changeList(this.element, name, true, false);
},
+ contains: function(name) {
+ return changeList(this.element, name, false, false);
+ },
remove: function(name) {
changeList(this.element, name, false, true);
},
@@ -364,8 +352,9 @@
Object.defineProperty(HTMLElement.prototype, 'classList', {
get: function() {
- if (this._classList)
+ if (this._classList) {
return this._classList;
+ }
var classList = Object.create(classListPrototype, {
element: {
@@ -385,7 +374,10 @@
});
})();
-// Check console compatability
+// Check console compatibility
+// In older IE versions the console object is not available
+// unless console is open.
+// Support: IE<10
(function checkConsoleCompatibility() {
if (!('console' in window)) {
window.console = {
@@ -408,6 +400,7 @@
})();
// Check onclick compatibility in Opera
+// Support: Opera<15
(function checkOnClickCompatibility() {
// workaround for reported Opera bug DSK-354448:
// onclick fires on disabled buttons with opaque content
@@ -425,16 +418,88 @@
}
})();
+// Checks if possible to use URL.createObjectURL()
+// Support: IE
+(function checkOnBlobSupport() {
+ // sometimes IE loosing the data created with createObjectURL(), see #3977
+ if (navigator.userAgent.indexOf('Trident') >= 0) {
+ PDFJS.disableCreateObjectURL = true;
+ }
+})();
+
// Checks if navigator.language is supported
(function checkNavigatorLanguage() {
- if ('language' in navigator)
+ if ('language' in navigator &&
+ /^[a-z]+(-[A-Z]+)?$/.test(navigator.language)) {
return;
- Object.defineProperty(navigator, 'language', {
- get: function navigatorLanguage() {
- var language = navigator.userLanguage || 'en-US';
- return language.substring(0, 2).toLowerCase() +
- language.substring(2).toUpperCase();
- },
- enumerable: true
- });
+ }
+ function formatLocale(locale) {
+ var split = locale.split(/[-_]/);
+ split[0] = split[0].toLowerCase();
+ if (split.length > 1) {
+ split[1] = split[1].toUpperCase();
+ }
+ return split.join('-');
+ }
+ var language = navigator.language || navigator.userLanguage || 'en-US';
+ PDFJS.locale = formatLocale(language);
+})();
+
+(function checkRangeRequests() {
+ // Safari has issues with cached range requests see:
+ // https://github.com/mozilla/pdf.js/issues/3260
+ // Last tested with version 6.0.4.
+ // Support: Safari 6.0+
+ var isSafari = Object.prototype.toString.call(
+ window.HTMLElement).indexOf('Constructor') > 0;
+
+ // Older versions of Android (pre 3.0) has issues with range requests, see:
+ // https://github.com/mozilla/pdf.js/issues/3381.
+ // Make sure that we only match webkit-based Android browsers,
+ // since Firefox/Fennec works as expected.
+ // Support: Android<3.0
+ var regex = /Android\s[0-2][^\d]/;
+ var isOldAndroid = regex.test(navigator.userAgent);
+
+ if (isSafari || isOldAndroid) {
+ PDFJS.disableRange = true;
+ }
+})();
+
+// Check if the browser supports manipulation of the history.
+// Support: IE<10, Android<4.2
+(function checkHistoryManipulation() {
+ // Android 2.x has so buggy pushState support that it was removed in
+ // Android 3.0 and restored as late as in Android 4.2.
+ // Support: Android 2.x
+ if (!history.pushState || navigator.userAgent.indexOf('Android 2.') >= 0) {
+ PDFJS.disableHistory = true;
+ }
+})();
+
+// TODO CanvasPixelArray is deprecated; use Uint8ClampedArray
+// once it's supported.
+(function checkSetPresenceInImageData() {
+ if (window.CanvasPixelArray) {
+ if (typeof window.CanvasPixelArray.prototype.set !== 'function') {
+ window.CanvasPixelArray.prototype.set = function(arr) {
+ for (var i = 0, ii = this.length; i < ii; i++) {
+ this[i] = arr[i];
+ }
+ };
+ }
+ }
+})();
+
+// Support: IE<10, Android<4.0, iOS<5.0
+(function checkRequestAnimationFrame() {
+ if ('requestAnimationFrame' in window) {
+ return;
+ }
+ window.requestAnimationFrame =
+ window.mozRequestAnimationFrame ||
+ window.webkitRequestAnimationFrame ||
+ (function fakeRequestAnimationFrame(callback) {
+ window.setTimeout(callback, 20);
+ });
})();
diff --git a/lib/viewers/pdf/debugger.js b/lib/viewers/pdf/debugger.js
index 2305bb7..0eed368 100644
--- a/lib/viewers/pdf/debugger.js
+++ b/lib/viewers/pdf/debugger.js
@@ -20,7 +20,6 @@
var FontInspector = (function FontInspectorClosure() {
var fonts;
- var panelWidth = 300;
var active = false;
var fontAttribute = 'data-font-name';
function removeSelection() {
@@ -46,13 +45,17 @@ var FontInspector = (function FontInspectorClosure() {
}
}
function textLayerClick(e) {
- if (!e.target.dataset.fontName || e.target.tagName.toUpperCase() !== 'DIV')
+ if (!e.target.dataset.fontName ||
+ e.target.tagName.toUpperCase() !== 'DIV') {
return;
+ }
var fontName = e.target.dataset.fontName;
var selects = document.getElementsByTagName('input');
for (var i = 0; i < selects.length; ++i) {
var select = selects[i];
- if (select.dataset.fontName != fontName) continue;
+ if (select.dataset.fontName != fontName) {
+ continue;
+ }
select.checked = !select.checked;
selectFont(fontName, select.checked);
select.scrollIntoView();
@@ -75,6 +78,9 @@ var FontInspector = (function FontInspectorClosure() {
fonts = document.createElement('div');
panel.appendChild(fonts);
},
+ cleanup: function cleanup() {
+ fonts.textContent = '';
+ },
enabled: false,
get active() {
return active;
@@ -140,8 +146,9 @@ var FontInspector = (function FontInspectorClosure() {
// Somewhat of a hack, should probably add a hook for when the text layer
// is done rendering.
setTimeout(function() {
- if (this.active)
+ if (this.active) {
resetSelection();
+ }
}.bind(this), 2000);
}
};
@@ -172,8 +179,14 @@ var StepperManager = (function StepperManagerClosure() {
stepperDiv = document.createElement('div');
this.panel.appendChild(stepperControls);
this.panel.appendChild(stepperDiv);
- if (sessionStorage.getItem('pdfjsBreakPoints'))
+ if (sessionStorage.getItem('pdfjsBreakPoints')) {
breakPoints = JSON.parse(sessionStorage.getItem('pdfjsBreakPoints'));
+ }
+ },
+ cleanup: function cleanup() {
+ stepperChooser.textContent = '';
+ stepperDiv.textContent = '';
+ steppers = [];
},
enabled: false,
active: false,
@@ -191,22 +204,26 @@ var StepperManager = (function StepperManagerClosure() {
var initBreakPoints = breakPoints[pageIndex] || [];
var stepper = new Stepper(debug, pageIndex, initBreakPoints);
steppers.push(stepper);
- if (steppers.length === 1)
+ if (steppers.length === 1) {
this.selectStepper(pageIndex, false);
+ }
return stepper;
},
selectStepper: function selectStepper(pageIndex, selectPanel) {
- if (selectPanel)
- this.manager.selectPanel(1);
- for (var i = 0; i < steppers.length; ++i) {
+ var i;
+ if (selectPanel) {
+ this.manager.selectPanel(this);
+ }
+ for (i = 0; i < steppers.length; ++i) {
var stepper = steppers[i];
- if (stepper.pageIndex == pageIndex)
+ if (stepper.pageIndex == pageIndex) {
stepper.panel.removeAttribute('hidden');
- else
+ } else {
stepper.panel.setAttribute('hidden', true);
+ }
}
var options = stepperChooser.options;
- for (var i = 0; i < options.length; ++i) {
+ for (i = 0; i < options.length; ++i) {
var option = options[i];
option.selected = option.value == pageIndex;
}
@@ -220,26 +237,56 @@ var StepperManager = (function StepperManagerClosure() {
// The stepper for each page's IRQueue.
var Stepper = (function StepperClosure() {
+ // Shorter way to create element and optionally set textContent.
+ function c(tag, textContent) {
+ var d = document.createElement(tag);
+ if (textContent) {
+ d.textContent = textContent;
+ }
+ return d;
+ }
+
+ var opMap = null;
+
+ function simplifyArgs(args) {
+ if (typeof args === 'string') {
+ var MAX_STRING_LENGTH = 75;
+ return args.length <= MAX_STRING_LENGTH ? args :
+ args.substr(0, MAX_STRING_LENGTH) + '...';
+ }
+ if (typeof args !== 'object' || args === null) {
+ return args;
+ }
+ if ('length' in args) { // array
+ var simpleArgs = [], i, ii;
+ var MAX_ITEMS = 10;
+ for (i = 0, ii = Math.min(MAX_ITEMS, args.length); i < ii; i++) {
+ simpleArgs.push(simplifyArgs(args[i]));
+ }
+ if (i < args.length) {
+ simpleArgs.push('...');
+ }
+ return simpleArgs;
+ }
+ var simpleObj = {};
+ for (var key in args) {
+ simpleObj[key] = simplifyArgs(args[key]);
+ }
+ return simpleObj;
+ }
+
function Stepper(panel, pageIndex, initialBreakPoints) {
this.panel = panel;
- this.len = 0;
this.breakPoint = 0;
this.nextBreakPoint = null;
this.pageIndex = pageIndex;
this.breakPoints = initialBreakPoints;
this.currentIdx = -1;
+ this.operatorListIdx = 0;
}
Stepper.prototype = {
- init: function init(IRQueue) {
- // Shorter way to create element and optionally set textContent.
- function c(tag, textContent) {
- var d = document.createElement(tag);
- if (textContent)
- d.textContent = textContent;
- return d;
- }
+ init: function init() {
var panel = this.panel;
- this.len = IRQueue.fnArray.length;
var content = c('div', 'c=continue, s=step');
var table = c('table');
content.appendChild(table);
@@ -250,45 +297,96 @@ var Stepper = (function StepperClosure() {
headerRow.appendChild(c('th', 'Idx'));
headerRow.appendChild(c('th', 'fn'));
headerRow.appendChild(c('th', 'args'));
-
+ panel.appendChild(content);
+ this.table = table;
+ if (!opMap) {
+ opMap = Object.create(null);
+ for (var key in PDFJS.OPS) {
+ opMap[PDFJS.OPS[key]] = key;
+ }
+ }
+ },
+ updateOperatorList: function updateOperatorList(operatorList) {
var self = this;
- for (var i = 0; i < IRQueue.fnArray.length; i++) {
+
+ function cboxOnClick() {
+ var x = +this.dataset.idx;
+ if (this.checked) {
+ self.breakPoints.push(x);
+ } else {
+ self.breakPoints.splice(self.breakPoints.indexOf(x), 1);
+ }
+ StepperManager.saveBreakPoints(self.pageIndex, self.breakPoints);
+ }
+
+ var MAX_OPERATORS_COUNT = 15000;
+ if (this.operatorListIdx > MAX_OPERATORS_COUNT) {
+ return;
+ }
+
+ var chunk = document.createDocumentFragment();
+ var operatorsToDisplay = Math.min(MAX_OPERATORS_COUNT,
+ operatorList.fnArray.length);
+ for (var i = this.operatorListIdx; i < operatorsToDisplay; i++) {
var line = c('tr');
line.className = 'line';
line.dataset.idx = i;
- table.appendChild(line);
+ chunk.appendChild(line);
var checked = this.breakPoints.indexOf(i) != -1;
- var args = IRQueue.argsArray[i] ? IRQueue.argsArray[i] : [];
+ var args = operatorList.argsArray[i] || [];
var breakCell = c('td');
var cbox = c('input');
cbox.type = 'checkbox';
cbox.className = 'points';
cbox.checked = checked;
- cbox.onclick = (function(x) {
- return function() {
- if (this.checked)
- self.breakPoints.push(x);
- else
- self.breakPoints.splice(self.breakPoints.indexOf(x), 1);
- StepperManager.saveBreakPoints(self.pageIndex, self.breakPoints);
- };
- })(i);
+ cbox.dataset.idx = i;
+ cbox.onclick = cboxOnClick;
breakCell.appendChild(cbox);
line.appendChild(breakCell);
line.appendChild(c('td', i.toString()));
- line.appendChild(c('td', IRQueue.fnArray[i]));
- line.appendChild(c('td', args.join(', ')));
+ var fn = opMap[operatorList.fnArray[i]];
+ var decArgs = args;
+ if (fn === 'showText') {
+ var glyphs = args[0];
+ var newArgs = [];
+ var str = [];
+ for (var j = 0; j < glyphs.length; j++) {
+ var glyph = glyphs[j];
+ if (typeof glyph === 'object' && glyph !== null) {
+ str.push(glyph.fontChar);
+ } else {
+ if (str.length > 0) {
+ newArgs.push(str.join(''));
+ str = [];
+ }
+ newArgs.push(glyph); // null or number
+ }
+ }
+ if (str.length > 0) {
+ newArgs.push(str.join(''));
+ }
+ decArgs = [newArgs];
+ }
+ line.appendChild(c('td', fn));
+ line.appendChild(c('td', JSON.stringify(simplifyArgs(decArgs))));
}
- panel.appendChild(content);
- var self = this;
+ if (operatorsToDisplay < operatorList.fnArray.length) {
+ line = c('tr');
+ var lastCell = c('td', '...');
+ lastCell.colspan = 4;
+ chunk.appendChild(lastCell);
+ }
+ this.operatorListIdx = operatorList.fnArray.length;
+ this.table.appendChild(chunk);
},
getNextBreakPoint: function getNextBreakPoint() {
this.breakPoints.sort(function(a, b) { return a - b; });
for (var i = 0; i < this.breakPoints.length; i++) {
- if (this.breakPoints[i] > this.currentIdx)
+ if (this.breakPoints[i] > this.currentIdx) {
return this.breakPoints[i];
+ }
}
return null;
},
@@ -336,13 +434,16 @@ var Stepper = (function StepperClosure() {
var Stats = (function Stats() {
var stats = [];
function clear(node) {
- while (node.hasChildNodes())
+ while (node.hasChildNodes()) {
node.removeChild(node.lastChild);
+ }
}
function getStatIndex(pageNumber) {
- for (var i = 0, ii = stats.length; i < ii; ++i)
- if (stats[i].pageNumber === pageNumber)
+ for (var i = 0, ii = stats.length; i < ii; ++i) {
+ if (stats[i].pageNumber === pageNumber) {
return i;
+ }
+ }
return false;
}
return {
@@ -359,8 +460,9 @@ var Stats = (function Stats() {
active: false,
// Stats specific functions.
add: function(pageNumber, stat) {
- if (!stat)
+ if (!stat) {
return;
+ }
var statsIndex = getStatIndex(pageNumber);
if (statsIndex !== false) {
var b = stats[statsIndex];
@@ -379,8 +481,13 @@ var Stats = (function Stats() {
stats.push({ pageNumber: pageNumber, div: wrapper });
stats.sort(function(a, b) { return a.pageNumber - b.pageNumber; });
clear(this.panel);
- for (var i = 0, ii = stats.length; i < ii; ++i)
+ for (var i = 0, ii = stats.length; i < ii; ++i) {
this.panel.appendChild(stats[i].div);
+ }
+ },
+ cleanup: function () {
+ stats = [];
+ clear(this.panel);
}
};
})();
@@ -399,12 +506,14 @@ var PDFBug = (function PDFBugClosure() {
],
enable: function(ids) {
var all = false, tools = this.tools;
- if (ids.length === 1 && ids[0] === 'all')
+ if (ids.length === 1 && ids[0] === 'all') {
all = true;
+ }
for (var i = 0; i < tools.length; ++i) {
var tool = tools[i];
- if (all || ids.indexOf(tool.id) !== -1)
+ if (all || ids.indexOf(tool.id) !== -1) {
tool.enabled = true;
+ }
}
if (!all) {
// Sort the tools by the order they are enabled.
@@ -460,19 +569,31 @@ var PDFBug = (function PDFBugClosure() {
panels.appendChild(panel);
tool.panel = panel;
tool.manager = this;
- if (tool.enabled)
+ if (tool.enabled) {
tool.init();
- else
+ } else {
panel.textContent = tool.name + ' is disabled. To enable add ' +
' "' + tool.id + '" to the pdfBug parameter ' +
'and refresh (seperate multiple by commas).';
+ }
buttons.push(panelButton);
}
this.selectPanel(0);
},
+ cleanup: function cleanup() {
+ for (var i = 0, ii = this.tools.length; i < ii; i++) {
+ if (this.tools[i].enabled) {
+ this.tools[i].cleanup();
+ }
+ }
+ },
selectPanel: function selectPanel(index) {
- if (index === activePanel)
+ if (typeof index !== 'number') {
+ index = this.tools.indexOf(index);
+ }
+ if (index === activePanel) {
return;
+ }
activePanel = index;
var tools = this.tools;
for (var j = 0; j < tools.length; ++j) {
diff --git a/lib/viewers/pdf/images/annotation-check.svg b/lib/viewers/pdf/images/annotation-check.svg
index f28f0e8..71cd16d 100644
--- a/lib/viewers/pdf/images/annotation-check.svg
+++ b/lib/viewers/pdf/images/annotation-check.svg
@@ -2,7 +2,8 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="40"
- height="40">
+ height="40"
+ viewBox="0 0 40 40">
<path
d="M 1.5006714,23.536225 6.8925879,18.994244 14.585721,26.037937 34.019683,4.5410479 38.499329,9.2235032 14.585721,35.458952 z"
id="path4"
diff --git a/lib/viewers/pdf/images/annotation-comment.svg b/lib/viewers/pdf/images/annotation-comment.svg
index b2aee63..86f1f17 100644
--- a/lib/viewers/pdf/images/annotation-comment.svg
+++ b/lib/viewers/pdf/images/annotation-comment.svg
@@ -2,7 +2,8 @@
<svg
xmlns="http://www.w3.org/2000/svg"
height="40"
- width="40">
+ width="40"
+ viewBox="0 0 40 40">
<rect
style="fill:#ffff00;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
width="33.76017"
diff --git a/lib/viewers/pdf/images/annotation-help.svg b/lib/viewers/pdf/images/annotation-help.svg
index 349112e..00938fe 100644
--- a/lib/viewers/pdf/images/annotation-help.svg
+++ b/lib/viewers/pdf/images/annotation-help.svg
@@ -2,7 +2,8 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="40"
- height="40">
+ height="40"
+ viewBox="0 0 40 40">
<g
transform="translate(0,-60)"
id="layer1">
diff --git a/lib/viewers/pdf/images/annotation-insert.svg b/lib/viewers/pdf/images/annotation-insert.svg
index 60fbf95..519ef68 100644
--- a/lib/viewers/pdf/images/annotation-insert.svg
+++ b/lib/viewers/pdf/images/annotation-insert.svg
@@ -2,7 +2,8 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="64"
- height="64">
+ height="64"
+ viewBox="0 0 64 64">
<path
d="M 32.003143,1.4044602 57.432701,62.632577 6.5672991,62.627924 z"
style="fill:#ffff00;fill-opacity:0.94117647;fill-rule:nonzero;stroke:#000000;stroke-width:1.00493038;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
diff --git a/lib/viewers/pdf/images/annotation-key.svg b/lib/viewers/pdf/images/annotation-key.svg
index c0bbb09..8d09d53 100644
--- a/lib/viewers/pdf/images/annotation-key.svg
+++ b/lib/viewers/pdf/images/annotation-key.svg
@@ -2,7 +2,8 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="64"
- height="64">
+ height="64"
+ viewBox="0 0 64 64">
<path
d="M 25.470843,9.4933766 C 25.30219,12.141818 30.139101,14.445969 34.704831,13.529144 40.62635,12.541995 41.398833,7.3856498 35.97505,5.777863 31.400921,4.1549155 25.157674,6.5445892 25.470843,9.4933766 z M 4.5246282,17.652051 C 4.068249,11.832873 9.2742983,5.9270407 18.437379,3.0977088 29.751911,-0.87185184 45.495663,1.4008022 53.603953,7.1104009 c 9.275765,6.1889221 7.158128,16.2079421 -3.171076,21.5939521 -1.784316,1.635815 -6.380222,1.21421 -7.068351,3.186186 -1.04003,0.972427 -1.288046,2.050158 -1.232864,3.168203 1.015111,2.000108 -3.831548,1.633216 -3.270553,3.759574 0.589477,5.264544 -0.179276,10.53738 -0.362842,15.806257 -0.492006,2.184998 1.163456,4.574232 -0.734888,6.610642 -2.482919,2.325184 -7.30604,2.189143 -9.193497,-0.274767 -2.733688,-1.740626 -8.254447,-3.615254 -6.104247,-6.339626 3.468112,-1.708686 -2.116197,-3.449897 0.431242,-5.080274 5.058402,-1.39256 -2.393215,-2.304318 -0.146889,-4.334645 3.069198,-0.977415 2.056986,-2.518352 -0.219121,-3.540397 1.876567,-1.807151 1.484149,-4.868919 -2.565455,-5.942205 0.150866,-1.805474 2.905737,-4.136876 -1.679967,-5.20493 C 10.260902,27.882167 4.6872697,22.95045 4.5245945,17.652051 z"
id="path604"
diff --git a/lib/viewers/pdf/images/annotation-newparagraph.svg b/lib/viewers/pdf/images/annotation-newparagraph.svg
index 6c179fd..38d2497 100644
--- a/lib/viewers/pdf/images/annotation-newparagraph.svg
+++ b/lib/viewers/pdf/images/annotation-newparagraph.svg
@@ -2,7 +2,8 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="64"
- height="64">
+ height="64"
+ viewBox="0 0 64 64">
<path
d="M 32.003143,10.913072 57.432701,53.086929 6.567299,53.083723 z"
id="path2985"
diff --git a/lib/viewers/pdf/images/annotation-noicon.svg b/lib/viewers/pdf/images/annotation-noicon.svg
new file mode 100644
index 0000000..c07d108
--- /dev/null
+++ b/lib/viewers/pdf/images/annotation-noicon.svg
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ width="40"
+ height="40"
+ viewBox="0 0 40 40">
+</svg>
diff --git a/lib/viewers/pdf/images/annotation-note.svg b/lib/viewers/pdf/images/annotation-note.svg
index ed16943..7017365 100644
--- a/lib/viewers/pdf/images/annotation-note.svg
+++ b/lib/viewers/pdf/images/annotation-note.svg
@@ -2,7 +2,8 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="40"
- height="40">
+ height="40"
+ viewBox="0 0 40 40">
<rect
width="36.075428"
height="31.096582"
diff --git a/lib/viewers/pdf/images/annotation-paragraph.svg b/lib/viewers/pdf/images/annotation-paragraph.svg
index 6fd90c1..6ae5212 100644
--- a/lib/viewers/pdf/images/annotation-paragraph.svg
+++ b/lib/viewers/pdf/images/annotation-paragraph.svg
@@ -2,7 +2,8 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="40"
- height="40">
+ height="40"
+ viewBox="0 0 40 40">
<rect
width="33.76017"
height="33.76017"
diff --git a/lib/viewers/pdf/images/findbarButton-next-rtl.png b/lib/viewers/pdf/images/findbarButton-next-rtl.png
index 08a2c25..bef0274 100644
--- a/lib/viewers/pdf/images/findbarButton-next-rtl.png
+++ b/lib/viewers/pdf/images/findbarButton-next-rtl.png
Binary files differ
diff --git a/lib/viewers/pdf/images/findbarButton-next-rtl@2x.png b/lib/viewers/pdf/images/findbarButton-next-rtl@2x.png
new file mode 100644
index 0000000..1da6dc9
--- /dev/null
+++ b/lib/viewers/pdf/images/findbarButton-next-rtl@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/findbarButton-next.png b/lib/viewers/pdf/images/findbarButton-next.png
index beef8cc..de1d0fc 100644
--- a/lib/viewers/pdf/images/findbarButton-next.png
+++ b/lib/viewers/pdf/images/findbarButton-next.png
Binary files differ
diff --git a/lib/viewers/pdf/images/findbarButton-next@2x.png b/lib/viewers/pdf/images/findbarButton-next@2x.png
new file mode 100644
index 0000000..0250307
--- /dev/null
+++ b/lib/viewers/pdf/images/findbarButton-next@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/findbarButton-previous-rtl.png b/lib/viewers/pdf/images/findbarButton-previous-rtl.png
index beef8cc..de1d0fc 100644
--- a/lib/viewers/pdf/images/findbarButton-previous-rtl.png
+++ b/lib/viewers/pdf/images/findbarButton-previous-rtl.png
Binary files differ
diff --git a/lib/viewers/pdf/images/findbarButton-previous-rtl@2x.png b/lib/viewers/pdf/images/findbarButton-previous-rtl@2x.png
new file mode 100644
index 0000000..0250307
--- /dev/null
+++ b/lib/viewers/pdf/images/findbarButton-previous-rtl@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/findbarButton-previous.png b/lib/viewers/pdf/images/findbarButton-previous.png
index 08a2c25..bef0274 100644
--- a/lib/viewers/pdf/images/findbarButton-previous.png
+++ b/lib/viewers/pdf/images/findbarButton-previous.png
Binary files differ
diff --git a/lib/viewers/pdf/images/findbarButton-previous@2x.png b/lib/viewers/pdf/images/findbarButton-previous@2x.png
new file mode 100644
index 0000000..1da6dc9
--- /dev/null
+++ b/lib/viewers/pdf/images/findbarButton-previous@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/grab.cur b/lib/viewers/pdf/images/grab.cur
new file mode 100644
index 0000000..db7ad5a
--- /dev/null
+++ b/lib/viewers/pdf/images/grab.cur
Binary files differ
diff --git a/lib/viewers/pdf/images/grabbing.cur b/lib/viewers/pdf/images/grabbing.cur
new file mode 100644
index 0000000..e0dfd04
--- /dev/null
+++ b/lib/viewers/pdf/images/grabbing.cur
Binary files differ
diff --git a/lib/viewers/pdf/images/loading-small.png b/lib/viewers/pdf/images/loading-small.png
index 1b2df80..51848a7 100644
--- a/lib/viewers/pdf/images/loading-small.png
+++ b/lib/viewers/pdf/images/loading-small.png
Binary files differ
diff --git a/lib/viewers/pdf/images/secondaryToolbarButton-documentProperties.png b/lib/viewers/pdf/images/secondaryToolbarButton-documentProperties.png
new file mode 100644
index 0000000..40925e2
--- /dev/null
+++ b/lib/viewers/pdf/images/secondaryToolbarButton-documentProperties.png
Binary files differ
diff --git a/lib/viewers/pdf/images/secondaryToolbarButton-documentProperties@2x.png b/lib/viewers/pdf/images/secondaryToolbarButton-documentProperties@2x.png
new file mode 100644
index 0000000..adb240e
--- /dev/null
+++ b/lib/viewers/pdf/images/secondaryToolbarButton-documentProperties@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/secondaryToolbarButton-firstPage.png b/lib/viewers/pdf/images/secondaryToolbarButton-firstPage.png
new file mode 100644
index 0000000..e68846a
--- /dev/null
+++ b/lib/viewers/pdf/images/secondaryToolbarButton-firstPage.png
Binary files differ
diff --git a/lib/viewers/pdf/images/secondaryToolbarButton-firstPage@2x.png b/lib/viewers/pdf/images/secondaryToolbarButton-firstPage@2x.png
new file mode 100644
index 0000000..3ad8af5
--- /dev/null
+++ b/lib/viewers/pdf/images/secondaryToolbarButton-firstPage@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/secondaryToolbarButton-handTool.png b/lib/viewers/pdf/images/secondaryToolbarButton-handTool.png
new file mode 100644
index 0000000..cb85a84
--- /dev/null
+++ b/lib/viewers/pdf/images/secondaryToolbarButton-handTool.png
Binary files differ
diff --git a/lib/viewers/pdf/images/secondaryToolbarButton-handTool@2x.png b/lib/viewers/pdf/images/secondaryToolbarButton-handTool@2x.png
new file mode 100644
index 0000000..5c13f77
--- /dev/null
+++ b/lib/viewers/pdf/images/secondaryToolbarButton-handTool@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/secondaryToolbarButton-lastPage.png b/lib/viewers/pdf/images/secondaryToolbarButton-lastPage.png
new file mode 100644
index 0000000..be763e0
--- /dev/null
+++ b/lib/viewers/pdf/images/secondaryToolbarButton-lastPage.png
Binary files differ
diff --git a/lib/viewers/pdf/images/secondaryToolbarButton-lastPage@2x.png b/lib/viewers/pdf/images/secondaryToolbarButton-lastPage@2x.png
new file mode 100644
index 0000000..8570984
--- /dev/null
+++ b/lib/viewers/pdf/images/secondaryToolbarButton-lastPage@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/secondaryToolbarButton-rotateCcw.png b/lib/viewers/pdf/images/secondaryToolbarButton-rotateCcw.png
new file mode 100644
index 0000000..675d6da
--- /dev/null
+++ b/lib/viewers/pdf/images/secondaryToolbarButton-rotateCcw.png
Binary files differ
diff --git a/lib/viewers/pdf/images/secondaryToolbarButton-rotateCcw@2x.png b/lib/viewers/pdf/images/secondaryToolbarButton-rotateCcw@2x.png
new file mode 100644
index 0000000..b9e7431
--- /dev/null
+++ b/lib/viewers/pdf/images/secondaryToolbarButton-rotateCcw@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/secondaryToolbarButton-rotateCw.png b/lib/viewers/pdf/images/secondaryToolbarButton-rotateCw.png
new file mode 100644
index 0000000..e1c7598
--- /dev/null
+++ b/lib/viewers/pdf/images/secondaryToolbarButton-rotateCw.png
Binary files differ
diff --git a/lib/viewers/pdf/images/secondaryToolbarButton-rotateCw@2x.png b/lib/viewers/pdf/images/secondaryToolbarButton-rotateCw@2x.png
new file mode 100644
index 0000000..cb257b4
--- /dev/null
+++ b/lib/viewers/pdf/images/secondaryToolbarButton-rotateCw@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/shadow.png b/lib/viewers/pdf/images/shadow.png
index dd009dc..31d3bdb 100644
--- a/lib/viewers/pdf/images/shadow.png
+++ b/lib/viewers/pdf/images/shadow.png
Binary files differ
diff --git a/lib/viewers/pdf/images/texture.png b/lib/viewers/pdf/images/texture.png
index df00864..eb5ccb5 100644
--- a/lib/viewers/pdf/images/texture.png
+++ b/lib/viewers/pdf/images/texture.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-bookmark.png b/lib/viewers/pdf/images/toolbarButton-bookmark.png
index 1e5259a..a187be6 100644
--- a/lib/viewers/pdf/images/toolbarButton-bookmark.png
+++ b/lib/viewers/pdf/images/toolbarButton-bookmark.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-bookmark@2x.png b/lib/viewers/pdf/images/toolbarButton-bookmark@2x.png
new file mode 100644
index 0000000..4efbaa6
--- /dev/null
+++ b/lib/viewers/pdf/images/toolbarButton-bookmark@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-download.png b/lib/viewers/pdf/images/toolbarButton-download.png
index 8676d8e..eaab35f 100644
--- a/lib/viewers/pdf/images/toolbarButton-download.png
+++ b/lib/viewers/pdf/images/toolbarButton-download.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-download@2x.png b/lib/viewers/pdf/images/toolbarButton-download@2x.png
new file mode 100644
index 0000000..896face
--- /dev/null
+++ b/lib/viewers/pdf/images/toolbarButton-download@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-menuArrows.png b/lib/viewers/pdf/images/toolbarButton-menuArrows.png
index 31b06b5..306eb43 100644
--- a/lib/viewers/pdf/images/toolbarButton-menuArrows.png
+++ b/lib/viewers/pdf/images/toolbarButton-menuArrows.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-menuArrows@2x.png b/lib/viewers/pdf/images/toolbarButton-menuArrows@2x.png
new file mode 100644
index 0000000..f7570bc
--- /dev/null
+++ b/lib/viewers/pdf/images/toolbarButton-menuArrows@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-openFile.png b/lib/viewers/pdf/images/toolbarButton-openFile.png
index fc7023f..b5cf1bd 100644
--- a/lib/viewers/pdf/images/toolbarButton-openFile.png
+++ b/lib/viewers/pdf/images/toolbarButton-openFile.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-openFile@2x.png b/lib/viewers/pdf/images/toolbarButton-openFile@2x.png
new file mode 100644
index 0000000..91ab765
--- /dev/null
+++ b/lib/viewers/pdf/images/toolbarButton-openFile@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-pageDown-rtl.png b/lib/viewers/pdf/images/toolbarButton-pageDown-rtl.png
index c0051f8..1957f79 100644
--- a/lib/viewers/pdf/images/toolbarButton-pageDown-rtl.png
+++ b/lib/viewers/pdf/images/toolbarButton-pageDown-rtl.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-pageDown-rtl@2x.png b/lib/viewers/pdf/images/toolbarButton-pageDown-rtl@2x.png
new file mode 100644
index 0000000..16ebcb8
--- /dev/null
+++ b/lib/viewers/pdf/images/toolbarButton-pageDown-rtl@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-pageDown.png b/lib/viewers/pdf/images/toolbarButton-pageDown.png
index 762ac43..8219ecf 100644
--- a/lib/viewers/pdf/images/toolbarButton-pageDown.png
+++ b/lib/viewers/pdf/images/toolbarButton-pageDown.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-pageDown@2x.png b/lib/viewers/pdf/images/toolbarButton-pageDown@2x.png
new file mode 100644
index 0000000..758c01d
--- /dev/null
+++ b/lib/viewers/pdf/images/toolbarButton-pageDown@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-pageUp-rtl.png b/lib/viewers/pdf/images/toolbarButton-pageUp-rtl.png
index 0d49d8e..98e7ce4 100644
--- a/lib/viewers/pdf/images/toolbarButton-pageUp-rtl.png
+++ b/lib/viewers/pdf/images/toolbarButton-pageUp-rtl.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-pageUp-rtl@2x.png b/lib/viewers/pdf/images/toolbarButton-pageUp-rtl@2x.png
new file mode 100644
index 0000000..a01b023
--- /dev/null
+++ b/lib/viewers/pdf/images/toolbarButton-pageUp-rtl@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-pageUp.png b/lib/viewers/pdf/images/toolbarButton-pageUp.png
index 3155b8b..fb9daa3 100644
--- a/lib/viewers/pdf/images/toolbarButton-pageUp.png
+++ b/lib/viewers/pdf/images/toolbarButton-pageUp.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-pageUp@2x.png b/lib/viewers/pdf/images/toolbarButton-pageUp@2x.png
new file mode 100644
index 0000000..a5cfd75
--- /dev/null
+++ b/lib/viewers/pdf/images/toolbarButton-pageUp@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-presentationMode.png b/lib/viewers/pdf/images/toolbarButton-presentationMode.png
index fa73095..3ac2124 100644
--- a/lib/viewers/pdf/images/toolbarButton-presentationMode.png
+++ b/lib/viewers/pdf/images/toolbarButton-presentationMode.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-presentationMode@2x.png b/lib/viewers/pdf/images/toolbarButton-presentationMode@2x.png
new file mode 100644
index 0000000..cada9e7
--- /dev/null
+++ b/lib/viewers/pdf/images/toolbarButton-presentationMode@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-print.png b/lib/viewers/pdf/images/toolbarButton-print.png
index fef84dd..51275e5 100644
--- a/lib/viewers/pdf/images/toolbarButton-print.png
+++ b/lib/viewers/pdf/images/toolbarButton-print.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-print@2x.png b/lib/viewers/pdf/images/toolbarButton-print@2x.png
new file mode 100644
index 0000000..53d18da
--- /dev/null
+++ b/lib/viewers/pdf/images/toolbarButton-print@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-search.png b/lib/viewers/pdf/images/toolbarButton-search.png
index 604e652..f9b7557 100644
--- a/lib/viewers/pdf/images/toolbarButton-search.png
+++ b/lib/viewers/pdf/images/toolbarButton-search.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-search@2x.png b/lib/viewers/pdf/images/toolbarButton-search@2x.png
new file mode 100644
index 0000000..456b133
--- /dev/null
+++ b/lib/viewers/pdf/images/toolbarButton-search@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-secondaryToolbarToggle-rtl.png b/lib/viewers/pdf/images/toolbarButton-secondaryToolbarToggle-rtl.png
new file mode 100644
index 0000000..8437095
--- /dev/null
+++ b/lib/viewers/pdf/images/toolbarButton-secondaryToolbarToggle-rtl.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-secondaryToolbarToggle-rtl@2x.png b/lib/viewers/pdf/images/toolbarButton-secondaryToolbarToggle-rtl@2x.png
new file mode 100644
index 0000000..9d9bfa4
--- /dev/null
+++ b/lib/viewers/pdf/images/toolbarButton-secondaryToolbarToggle-rtl@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-secondaryToolbarToggle.png b/lib/viewers/pdf/images/toolbarButton-secondaryToolbarToggle.png
new file mode 100644
index 0000000..1f90f83
--- /dev/null
+++ b/lib/viewers/pdf/images/toolbarButton-secondaryToolbarToggle.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-secondaryToolbarToggle@2x.png b/lib/viewers/pdf/images/toolbarButton-secondaryToolbarToggle@2x.png
new file mode 100644
index 0000000..b066fe5
--- /dev/null
+++ b/lib/viewers/pdf/images/toolbarButton-secondaryToolbarToggle@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-sidebarToggle-rtl.png b/lib/viewers/pdf/images/toolbarButton-sidebarToggle-rtl.png
new file mode 100644
index 0000000..6f85ec0
--- /dev/null
+++ b/lib/viewers/pdf/images/toolbarButton-sidebarToggle-rtl.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-sidebarToggle-rtl@2x.png b/lib/viewers/pdf/images/toolbarButton-sidebarToggle-rtl@2x.png
new file mode 100644
index 0000000..291e006
--- /dev/null
+++ b/lib/viewers/pdf/images/toolbarButton-sidebarToggle-rtl@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-sidebarToggle.png b/lib/viewers/pdf/images/toolbarButton-sidebarToggle.png
index 5a937c7..025dc90 100644
--- a/lib/viewers/pdf/images/toolbarButton-sidebarToggle.png
+++ b/lib/viewers/pdf/images/toolbarButton-sidebarToggle.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-sidebarToggle@2x.png b/lib/viewers/pdf/images/toolbarButton-sidebarToggle@2x.png
new file mode 100644
index 0000000..7f834df
--- /dev/null
+++ b/lib/viewers/pdf/images/toolbarButton-sidebarToggle@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-viewAttachments.png b/lib/viewers/pdf/images/toolbarButton-viewAttachments.png
new file mode 100644
index 0000000..fcd0b26
--- /dev/null
+++ b/lib/viewers/pdf/images/toolbarButton-viewAttachments.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-viewAttachments@2x.png b/lib/viewers/pdf/images/toolbarButton-viewAttachments@2x.png
new file mode 100644
index 0000000..b979e52
--- /dev/null
+++ b/lib/viewers/pdf/images/toolbarButton-viewAttachments@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-viewOutline-rtl.png b/lib/viewers/pdf/images/toolbarButton-viewOutline-rtl.png
new file mode 100644
index 0000000..aaa9430
--- /dev/null
+++ b/lib/viewers/pdf/images/toolbarButton-viewOutline-rtl.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-viewOutline-rtl@2x.png b/lib/viewers/pdf/images/toolbarButton-viewOutline-rtl@2x.png
new file mode 100644
index 0000000..3410f70
--- /dev/null
+++ b/lib/viewers/pdf/images/toolbarButton-viewOutline-rtl@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-viewOutline.png b/lib/viewers/pdf/images/toolbarButton-viewOutline.png
index cb3967b..976365a 100644
--- a/lib/viewers/pdf/images/toolbarButton-viewOutline.png
+++ b/lib/viewers/pdf/images/toolbarButton-viewOutline.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-viewOutline@2x.png b/lib/viewers/pdf/images/toolbarButton-viewOutline@2x.png
new file mode 100644
index 0000000..b6a197f
--- /dev/null
+++ b/lib/viewers/pdf/images/toolbarButton-viewOutline@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-viewThumbnail.png b/lib/viewers/pdf/images/toolbarButton-viewThumbnail.png
index 3a27f04..584ba55 100644
--- a/lib/viewers/pdf/images/toolbarButton-viewThumbnail.png
+++ b/lib/viewers/pdf/images/toolbarButton-viewThumbnail.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-viewThumbnail@2x.png b/lib/viewers/pdf/images/toolbarButton-viewThumbnail@2x.png
new file mode 100644
index 0000000..fb7db93
--- /dev/null
+++ b/lib/viewers/pdf/images/toolbarButton-viewThumbnail@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-zoomIn.png b/lib/viewers/pdf/images/toolbarButton-zoomIn.png
index 670acd9..513d081 100644
--- a/lib/viewers/pdf/images/toolbarButton-zoomIn.png
+++ b/lib/viewers/pdf/images/toolbarButton-zoomIn.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-zoomIn@2x.png b/lib/viewers/pdf/images/toolbarButton-zoomIn@2x.png
new file mode 100644
index 0000000..d5d49d5
--- /dev/null
+++ b/lib/viewers/pdf/images/toolbarButton-zoomIn@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-zoomOut.png b/lib/viewers/pdf/images/toolbarButton-zoomOut.png
index 810fbf9..156c26b 100644
--- a/lib/viewers/pdf/images/toolbarButton-zoomOut.png
+++ b/lib/viewers/pdf/images/toolbarButton-zoomOut.png
Binary files differ
diff --git a/lib/viewers/pdf/images/toolbarButton-zoomOut@2x.png b/lib/viewers/pdf/images/toolbarButton-zoomOut@2x.png
new file mode 100644
index 0000000..959e191
--- /dev/null
+++ b/lib/viewers/pdf/images/toolbarButton-zoomOut@2x.png
Binary files differ
diff --git a/lib/viewers/pdf/l10n.js b/lib/viewers/pdf/l10n.js
index 5435631..37f3950 100644
--- a/lib/viewers/pdf/l10n.js
+++ b/lib/viewers/pdf/l10n.js
@@ -1,31 +1,32 @@
-/** Copyright (c) 2011-2012 Fabien Cazenave, Mozilla.
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to
- * deal in the Software without restriction, including without limitation the
- * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
- * sell copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
- * IN THE SOFTWARE.
- */
+/**
+ * Copyright (c) 2011-2013 Fabien Cazenave, Mozilla.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to
+ * deal in the Software without restriction, including without limitation the
+ * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+ * sell copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ * IN THE SOFTWARE.
+ */
/*
Additional modifications for PDF.js project:
- Disables language initialization on page loading;
- - Adds fallback argument to the getL10nData;
- - Removes consoleLog and simplifies consoleWarn;
+ - Removes consoleWarn and consoleLog and use console.log/warn directly.
- Removes window._ assignment.
*/
-/*jshint browser: true, devel: true, es5: true, globalstrict: true */
+
+/*jshint browser: true, devel: true, globalstrict: true */
'use strict';
document.webL10n = (function(window, document, undefined) {
@@ -36,13 +37,21 @@ document.webL10n = (function(window, document, undefined) {
var gMacros = {};
var gReadyState = 'loading';
- // read-only setting -- we recommend to load l10n resources synchronously
- var gAsyncResourceLoading = true;
- // debug helpers
- function consoleWarn(message) {
- console.log('[l10n] ' + message);
- };
+ /**
+ * Synchronously loading l10n resources significantly minimizes flickering
+ * from displaying the app with non-localized strings and then updating the
+ * strings. Although this will block all script execution on this page, we
+ * expect that the l10n resources are available locally on flash-storage.
+ *
+ * As synchronous XHR is generally considered as a bad idea, we're still
+ * loading l10n resources asynchronously -- but we keep this in a setting,
+ * just in case... and applications using this library should hide their
+ * content until the `localized' event happens.
+ */
+
+ var gAsyncResourceLoading = true; // read-only
+
/**
* DOM helpers for the so-called "HTML API".
@@ -55,6 +64,12 @@ document.webL10n = (function(window, document, undefined) {
return document.querySelectorAll('link[type="application/l10n"]');
}
+ function getL10nDictionary() {
+ var script = document.querySelector('script[type="application/l10n"]');
+ // TODO: support multiple and external JSON dictionaries
+ return script ? JSON.parse(script.innerHTML) : null;
+ }
+
function getTranslatableChildren(element) {
return element ? element.querySelectorAll('*[data-l10n-id]') : [];
}
@@ -70,7 +85,7 @@ document.webL10n = (function(window, document, undefined) {
try {
args = JSON.parse(l10nArgs);
} catch (e) {
- consoleWarn('could not parse arguments for #' + l10nId);
+ console.warn('could not parse arguments for #' + l10nId);
}
}
return { id: l10nId, args: args };
@@ -78,9 +93,41 @@ document.webL10n = (function(window, document, undefined) {
function fireL10nReadyEvent(lang) {
var evtObject = document.createEvent('Event');
- evtObject.initEvent('localized', false, false);
+ evtObject.initEvent('localized', true, false);
evtObject.language = lang;
- window.dispatchEvent(evtObject);
+ document.dispatchEvent(evtObject);
+ }
+
+ function xhrLoadText(url, onSuccess, onFailure, asynchronous) {
+ onSuccess = onSuccess || function _onSuccess(data) {};
+ onFailure = onFailure || function _onFailure() {
+ console.warn(url + ' not found.');
+ };
+
+ var xhr = new XMLHttpRequest();
+ xhr.open('GET', url, asynchronous);
+ if (xhr.overrideMimeType) {
+ xhr.overrideMimeType('text/plain; charset=utf-8');
+ }
+ xhr.onreadystatechange = function() {
+ if (xhr.readyState == 4) {
+ if (xhr.status == 200 || xhr.status === 0) {
+ onSuccess(xhr.responseText);
+ } else {
+ onFailure();
+ }
+ }
+ };
+ xhr.onerror = onFailure;
+ xhr.ontimeout = onFailure;
+
+ // in Firefox OS with the app:// protocol, trying to XHR a non-existing
+ // URL will raise an exception here -- hence this ugly try...catch.
+ try {
+ xhr.send(null);
+ } catch (e) {
+ onFailure();
+ }
}
@@ -108,7 +155,7 @@ document.webL10n = (function(window, document, undefined) {
*/
function parseResource(href, lang, successCallback, failureCallback) {
- var baseURL = href.replace(/\/[^\/]*$/, '/');
+ var baseURL = href.replace(/[^\/]*$/, '') || './';
// handle escaped characters (backslashes) in a string
function evalString(text) {
@@ -171,16 +218,17 @@ document.webL10n = (function(window, document, undefined) {
// key-value pair
var tmp = line.match(reSplit);
- if (tmp && tmp.length == 3)
+ if (tmp && tmp.length == 3) {
dictionary[tmp[1]] = evalString(tmp[2]);
+ }
}
}
// import another *.properties file
function loadImport(url) {
- loadResource(url, function(content) {
+ xhrLoadText(url, function(content) {
parseRawLines(content, false); // don't allow recursive imports
- }, false, false); // load synchronously
+ }, null, false); // load synchronously
}
// fill the dictionary
@@ -188,29 +236,8 @@ document.webL10n = (function(window, document, undefined) {
return dictionary;
}
- // load the specified resource file
- function loadResource(url, onSuccess, onFailure, asynchronous) {
- var xhr = new XMLHttpRequest();
- xhr.open('GET', url, asynchronous);
- if (xhr.overrideMimeType) {
- xhr.overrideMimeType('text/plain; charset=utf-8');
- }
- xhr.onreadystatechange = function() {
- if (xhr.readyState == 4) {
- if (xhr.status == 200 || xhr.status === 0) {
- if (onSuccess)
- onSuccess(xhr.responseText);
- } else {
- if (onFailure)
- onFailure();
- }
- }
- };
- xhr.send(null);
- }
-
// load and parse l10n data (warning: global variables are used here)
- loadResource(href, function(response) {
+ xhrLoadText(href, function(response) {
gTextData += response; // mostly for debug
// parse *.properties text data into an l10n dictionary
@@ -233,13 +260,16 @@ document.webL10n = (function(window, document, undefined) {
}
// trigger callback
- if (successCallback)
+ if (successCallback) {
successCallback();
+ }
}, failureCallback, gAsyncResourceLoading);
- };
+ }
// load and parse all resources for the specified locale
function loadLocale(lang, callback) {
+ callback = callback || function _callback() {};
+
clear();
gLanguage = lang;
@@ -247,8 +277,17 @@ document.webL10n = (function(window, document, undefined) {
// and load the resource files
var langLinks = getL10nResourceLinks();
var langCount = langLinks.length;
- if (langCount == 0) {
- consoleWarn('no resource to load, early way out');
+ if (langCount === 0) {
+ // we might have a pre-compiled dictionary instead
+ var dict = getL10nDictionary();
+ if (dict && dict.locales && dict.default_locale) {
+ console.log('using the embedded JSON directory, early way out');
+ gL10nData = dict.locales[lang] || dict.locales[dict.default_locale];
+ callback();
+ } else {
+ console.log('no resource to load, early way out');
+ }
+ // early way out
fireL10nReadyEvent(lang);
gReadyState = 'complete';
return;
@@ -260,21 +299,20 @@ document.webL10n = (function(window, document, undefined) {
onResourceLoaded = function() {
gResourceCount++;
if (gResourceCount >= langCount) {
- if (callback) // execute the [optional] callback
- callback();
+ callback();
fireL10nReadyEvent(lang);
gReadyState = 'complete';
}
};
// load all resource files
- function l10nResourceLink(link) {
+ function L10nResourceLink(link) {
var href = link.href;
var type = link.type;
this.load = function(lang, callback) {
var applied = lang;
parseResource(href, lang, callback, function() {
- consoleWarn(href + ' not found.');
+ console.warn(href + ' not found.');
applied = '';
});
return applied; // return lang if found, an empty string if not found
@@ -282,10 +320,10 @@ document.webL10n = (function(window, document, undefined) {
}
for (var i = 0; i < langCount; i++) {
- var resource = new l10nResourceLink(langLinks[i]);
+ var resource = new L10nResourceLink(langLinks[i]);
var rv = resource.load(lang, onResourceLoaded);
if (rv != lang) { // lang not found, used default resource instead
- consoleWarn('"' + lang + '" resource not found');
+ console.warn('"' + lang + '" resource not found');
gLanguage = '';
}
}
@@ -706,7 +744,7 @@ document.webL10n = (function(window, document, undefined) {
// return a function that gives the plural form name for a given integer
var index = locales2rules[lang.replace(/-.*$/, '')];
if (!(index in pluralRules)) {
- consoleWarn('plural form unknown for [' + lang + ']');
+ console.warn('plural form unknown for [' + lang + ']');
return function() { return 'other'; };
}
return pluralRules[index];
@@ -723,8 +761,9 @@ document.webL10n = (function(window, document, undefined) {
return str;
// initialize _pluralRules
- if (!gMacros._pluralRules)
+ if (!gMacros._pluralRules) {
gMacros._pluralRules = getPluralRules(gLanguage);
+ }
var index = '[' + gMacros._pluralRules(n) + ']';
// try to find a [zero|one|two] key if it's defined
@@ -736,6 +775,8 @@ document.webL10n = (function(window, document, undefined) {
str = gL10nData[key + '[two]'][prop];
} else if ((key + index) in gL10nData) {
str = gL10nData[key + index][prop];
+ } else if ((key + '[other]') in gL10nData) {
+ str = gL10nData[key + '[other]'][prop];
}
return str;
@@ -750,7 +791,7 @@ document.webL10n = (function(window, document, undefined) {
function getL10nData(key, args, fallback) {
var data = gL10nData[key];
if (!data) {
- consoleWarn('#' + key + ' missing for [' + gLanguage + ']');
+ console.warn('#' + key + ' is undefined.');
if (!fallback) {
return null;
}
@@ -766,7 +807,7 @@ document.webL10n = (function(window, document, undefined) {
for (var prop in data) {
var str = data[prop];
str = substIndexes(str, args, key, prop);
- str = substArguments(str, args);
+ str = substArguments(str, args, key);
rv[prop] = str;
}
return rv;
@@ -799,8 +840,8 @@ document.webL10n = (function(window, document, undefined) {
}
// replace {{arguments}} with their values
- function substArguments(str, args) {
- var reArgs = /\{\{\s*([a-zA-Z\.]+)\s*\}\}/;
+ function substArguments(str, args, key) {
+ var reArgs = /\{\{\s*(.+?)\s*\}\}/;
var match = reArgs.exec(str);
while (match) {
if (!match || match.length < 2)
@@ -808,12 +849,12 @@ document.webL10n = (function(window, document, undefined) {
var arg = match[1];
var sub = '';
- if (arg in args) {
+ if (args && arg in args) {
sub = args[arg];
} else if (arg in gL10nData) {
sub = gL10nData[arg][gTextProp];
} else {
- consoleWarn('could not find argument {{' + arg + '}}');
+ console.log('argument {{' + arg + '}} for #' + key + ' is undefined.');
return str;
}
@@ -833,23 +874,21 @@ document.webL10n = (function(window, document, undefined) {
// get the related l10n object
var data = getL10nData(l10n.id, l10n.args);
if (!data) {
- consoleWarn('#' + l10n.id + ' missing for [' + gLanguage + ']');
+ console.warn('#' + l10n.id + ' is undefined.');
return;
}
// translate element (TODO: security checks?)
- // for the node content, replace the content of the first child textNode
- // and clear other child textNodes
if (data[gTextProp]) { // XXX
- if (element.children.length === 0) {
+ if (getChildElementCount(element) === 0) {
element[gTextProp] = data[gTextProp];
} else {
- var children = element.childNodes,
- found = false;
+ // this element has element children: replace the content of the first
+ // (non-empty) child textNode and clear other child textNodes
+ var children = element.childNodes;
+ var found = false;
for (var i = 0, l = children.length; i < l; i++) {
- if (children[i].nodeType === 3 &&
- /\S/.test(children[i].textContent)) { // XXX
- // using nodeValue seems cross-browser
+ if (children[i].nodeType === 3 && /\S/.test(children[i].nodeValue)) {
if (found) {
children[i].nodeValue = '';
} else {
@@ -858,8 +897,11 @@ document.webL10n = (function(window, document, undefined) {
}
}
}
+ // if no (non-empty) textNode is found, insert a textNode before the
+ // first element child.
if (!found) {
- consoleWarn('unexpected error, could not translate element content');
+ var textNode = document.createTextNode(data[gTextProp]);
+ element.insertBefore(textNode, element.firstChild);
}
}
delete data[gTextProp];
@@ -870,6 +912,21 @@ document.webL10n = (function(window, document, undefined) {
}
}
+ // webkit browsers don't currently support 'children' on SVG elements...
+ function getChildElementCount(element) {
+ if (element.children) {
+ return element.children.length;
+ }
+ if (typeof element.childElementCount !== 'undefined') {
+ return element.childElementCount;
+ }
+ var count = 0;
+ for (var i = 0; i < element.childNodes.length; i++) {
+ count += element.nodeType === 1 ? 1 : 0;
+ }
+ return count;
+ }
+
// translate an HTML subtree
function translateFragment(element) {
element = element || document.documentElement;
@@ -888,10 +945,21 @@ document.webL10n = (function(window, document, undefined) {
// cross-browser API (sorry, oldIE doesn't support getters & setters)
return {
// get a localized string
- get: function(key, args, fallback) {
- var data = getL10nData(key, args, {textContent: fallback});
- if (data) { // XXX double-check this
- return 'textContent' in data ? data.textContent : '';
+ get: function(key, args, fallbackString) {
+ var index = key.lastIndexOf('.');
+ var prop = gTextProp;
+ if (index > 0) { // An attribute has been specified
+ prop = key.substr(index + 1);
+ key = key.substring(0, index);
+ }
+ var fallback;
+ if (fallbackString) {
+ fallback = {};
+ fallback[prop] = fallbackString;
+ }
+ var data = getL10nData(key, args, fallback);
+ if (data && prop in data) {
+ return data[prop];
}
return '{{' + key + '}}';
},
@@ -916,7 +984,21 @@ document.webL10n = (function(window, document, undefined) {
translate: translateFragment,
// this can be used to prevent race conditions
- getReadyState: function() { return gReadyState; }
+ getReadyState: function() { return gReadyState; },
+ ready: function(callback) {
+ if (!callback) {
+ return;
+ } else if (gReadyState == 'complete' || gReadyState == 'interactive') {
+ window.setTimeout(callback);
+ } else if (document.addEventListener) {
+ document.addEventListener('localized', callback);
+ } else if (document.attachEvent) {
+ document.documentElement.attachEvent('onpropertychange', function(e) {
+ if (e.propertyName === 'localized') {
+ callback();
+ }
+ });
+ }
+ }
};
-
}) (window, document);
diff --git a/lib/viewers/pdf/locale/ach/viewer.properties b/lib/viewers/pdf/locale/ach/viewer.properties
new file mode 100644
index 0000000..73ebb52
--- /dev/null
+++ b/lib/viewers/pdf/locale/ach/viewer.properties
@@ -0,0 +1,97 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Pot buk Mukato
+next.title=Pot buk Malubo Kore
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Pot buk:
+page_of=pi {{pageCount}}
+
+zoom_out.title=Dwogo Woko
+zoom_out_label=Dwogo Woko
+zoom_in.title=Dwogo iyie
+zoom_in_label=Dwogo iyie
+zoom.title=Kwoti
+print.title=Goo
+print_label=Goo
+open_file.title=Yab Pwail
+open_file_label=Yabi
+download.title=Gam
+download_label=Gam
+bookmark.title=Neno matye (loki onyo yabi i dirica manyen)
+bookmark_label=Neno Matye
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+outline.title=Nyut ryeno rek pa Coc acoya
+outline_label=Ryeno rek me Coc acoya
+thumbs.title=Nyut Capa cing
+thumbs_label=Capa cing
+findbar_label=Nong
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Pot buk {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Capa cing e Pot buk {{page}}
+
+# Context menu
+
+# Find panel button title and messages
+find_previous.title=Nong en matime malubo kore pi lok
+find_next.title=Nong en matime malubo kore pi lok
+find_not_found=Phrase pe ononge
+
+# Error panel labels
+error_more_info=Ngec Mukene
+error_close=Lor
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Kwena: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Agiki onyo acaki {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Pwail: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Rek: {{line}}
+rendering_error=Bal otyeko time kun jalo pot buk.
+
+# Predefined zoom values
+page_scale_width=Bor wi Pot buk
+page_scale_fit=Pot buk Romo
+page_scale_auto=Dowogo ne matime pire kene
+page_scale_actual=Kit Mamite
+
+# Loading indicator messages
+loading_error_indicator=Bal
+loading_error=Bal otyeko time kun pango PDF.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} Lok angea manok]
+request_password=I ung otyeko gwoko PDF:
+
diff --git a/lib/viewers/pdf/locale/af/viewer.properties b/lib/viewers/pdf/locale/af/viewer.properties
new file mode 100644
index 0000000..92d9c43
--- /dev/null
+++ b/lib/viewers/pdf/locale/af/viewer.properties
@@ -0,0 +1,157 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Vorige bladsy
+previous_label=Vorige
+next.title=Volgende bladsy
+next_label=Volgende
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Bladsy:
+page_of=van {{pageCount}}
+
+zoom_out.title=Zoem uit
+zoom_out_label=Zoem uit
+zoom_in.title=Zoem in
+zoom_in_label=Zoem in
+zoom.title=Zoem
+presentation_mode.title=Wissel na voorleggingsmodus
+presentation_mode_label=Voorleggingsmodus
+open_file.title=Open lêer
+open_file_label=Open
+print.title=Druk
+print_label=Druk
+download.title=Laai af
+download_label=Laai af
+bookmark.title=Huidige aansig (kopieer of open in nuwe venster)
+bookmark_label=Huidige aansig
+
+# Secondary toolbar and context menu
+tools.title=Nutsgoed
+tools_label=Nutsgoed
+first_page.title=Gaan na eerste bladsy
+first_page.label=Gaan na eerste bladsy
+first_page_label=Gaan na eerste bladsy
+last_page.title=Gaan na laaste bladsy
+last_page.label=Gaan na laaste bladsy
+last_page_label=Gaan na laaste bladsy
+page_rotate_cw.title=Roteer kloksgewys
+page_rotate_cw.label=Roteer kloksgewys
+page_rotate_cw_label=Roteer kloksgewys
+page_rotate_ccw.title=Roteer anti-kloksgewys
+page_rotate_ccw.label=Roteer anti-kloksgewys
+page_rotate_ccw_label=Roteer anti-kloksgewys
+
+
+# Document properties dialog box
+document_properties.title=Dokumenteienskappe…
+document_properties_label=Dokumenteienskappe…
+document_properties_file_name=Lêernaam:
+document_properties_file_size=Lêergrootte:
+document_properties_kb={{size_kb}} kG ({{size_b}} grepe)
+document_properties_mb={{size_mb}} MG ({{size_b}} grepe)
+document_properties_title=Titel:
+document_properties_author=Outeur:
+document_properties_subject=Onderwerp:
+document_properties_keywords=Sleutelwoorde:
+document_properties_creation_date=Skeppingsdatum:
+document_properties_modification_date=Wysigingsdatum:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Skepper:
+document_properties_producer=PDF-vervaardiger:
+document_properties_version=PDF-weergawe:
+document_properties_page_count=Aantal bladsye:
+document_properties_close=Sluit
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Sypaneel aan/af
+toggle_sidebar_label=Sypaneel aan/af
+outline.title=Wys dokumentoorsig
+outline_label=Dokumentoorsig
+thumbs.title=Wys duimnaels
+thumbs_label=Duimnaels
+findbar.title=Soek in dokument
+findbar_label=Vind
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Bladsy {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Duimnael van bladsy {{page}}
+
+# Find panel button title and messages
+find_label=Vind:
+find_previous.title=Vind die vorige voorkoms van die frase
+find_previous_label=Vorige
+find_next.title=Vind die volgende voorkoms van die frase
+find_next_label=Volgende
+find_highlight=Verlig alle
+find_match_case_label=Kassensitief
+find_reached_top=Bokant van dokument is bereik; gaan voort van onder af
+find_reached_bottom=Einde van dokument is bereik; gaan voort van bo af
+find_not_found=Frase nie gevind nie
+
+# Error panel labels
+error_more_info=Meer inligting
+error_less_info=Minder inligting
+error_close=Sluit
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (ID: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Boodskap: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Stapel: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Lêer: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Lyn: {{line}}
+rendering_error='n Fout het voorgekom toe die bladsy weergegee is.
+
+# Predefined zoom values
+page_scale_width=Bladsywydte
+page_scale_fit=Pas bladsy
+page_scale_auto=Outomatiese zoem
+page_scale_actual=Werklike grootte
+
+# Loading indicator messages
+loading_error_indicator=Fout
+loading_error='n Fout het voorgekom met die laai van die PDF.
+invalid_file_error=Ongeldige of korrupte PDF-lêer.
+missing_file_error=PDF-lêer is weg.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}}-annotasie
+password_label=Gee die wagwoord om dié PDF-lêer mee te open.
+password_invalid=Ongeldige wagwoord. Probeer gerus weer.
+password_ok=OK
+password_cancel=Kanselleer
+
+printing_not_supported=Waarskuwing: Dié blaaier ondersteun nie drukwerk ten volle nie.
+printing_not_ready=Waarskuwing: Die PDF is nog nie volledig gelaai vir drukwerk nie.
+web_fonts_disabled=Webfonte is gedeaktiveer: kan nie PDF-fonte wat ingebed is, gebruik nie.
+document_colors_disabled=PDF-dokumente word nie toegelaat om hul eie kleure te gebruik nie: 'Laat bladsye toe om hul eie kleure te kies' is gedeaktiveer in die blaaier.
diff --git a/lib/viewers/pdf/locale/ak/viewer.properties b/lib/viewers/pdf/locale/ak/viewer.properties
new file mode 100644
index 0000000..883c2ab
--- /dev/null
+++ b/lib/viewers/pdf/locale/ak/viewer.properties
@@ -0,0 +1,123 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Krataafa baako a etwa mu
+previous_label=Ekyiri-baako
+next.title=Krataafa a edi so baako
+next_label=Dea-ɛ-di-so-baako
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Krataafa:
+page_of=wɔ {{pageCount}}
+
+zoom_out.title=Zuum pue
+zoom_out_label=Zuum ba abɔnten
+zoom_in.title=Zuum kɔ mu
+zoom_in_label=Zuum kɔ mu
+zoom.title=Zuum
+presentation_mode.title=Sesa kɔ Yɛkyerɛ Tebea mu
+presentation_mode_label=Yɛkyerɛ Tebea
+open_file.title=Bue Fael
+open_file_label=Bue
+print.title=Prente
+print_label=Prente
+download.title=Twe
+download_label=Twe
+bookmark.title=Seisei nhwɛ (fa anaaso bue wɔ tokuro foforo mu)
+bookmark_label=Seisei nhwɛ
+
+# Secondary toolbar and context menu
+
+
+# Document properties dialog box
+document_properties_title=Ti asɛm:
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Sɔ anaaso dum saedbaa
+toggle_sidebar_label=Sɔ anaaso dum saedbaa
+outline.title=Kyerɛ dɔkomɛnt bɔbea
+outline_label=Dɔkomɛnt bɔbea
+thumbs.title=Kyerɛ mfoniwaa
+thumbs_label=Mfoniwaa
+findbar.title=Hu wɔ dɔkomɛnt no mu
+findbar_label=Hu
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Krataafa {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Krataafa ne mfoniwaa {{page}}
+
+# Find panel button title and messages
+find_label=Hunu:
+find_previous.title=San hu fres wɔ ekyiri baako
+find_previous_label=Ekyiri baako
+find_next.title=San hu fres no wɔ enim baako
+find_next_label=Ndiso
+find_highlight=Hyɛ bibiara nso
+find_match_case_label=Fa susu kaase
+find_reached_top=Edu krataafa ne soro, atoa so efiri ase
+find_reached_bottom=Edu krataafa n'ewiei, atoa so efiri soro
+find_not_found=Ennhu fres
+
+# Error panel labels
+error_more_info=Infɔmehyɛn bio a wɔka ho
+error_less_info=Te infɔmehyɛn bio a wɔka ho so
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{vɛɛhyen}} (nsi: {{si}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Nkrato: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Staake: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Fael: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Laen: {{line}}
+rendering_error=Mfomso bae wɔ bere a wɔ rekyerɛ krataafa no.
+
+# Predefined zoom values
+page_scale_width=Krataafa tɛtrɛtɛ
+page_scale_fit=Krataafa ehimtwa
+page_scale_auto=Zuum otomatik
+page_scale_actual=Kɛseyɛ ankasa
+
+# Loading indicator messages
+loading_error_indicator=Mfomso
+loading_error=Mfomso bae wɔ bere a wɔreloode PDF no.
+invalid_file_error=PDF fael no nndi mu anaaso ho atɔ kyima.
+missing_file_error=PDF fael no ayera.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} Tɛkst-nyiano]
+password_ok=OK
+password_cancel=Twa-mu
+
+printing_not_supported=Kɔkɔbɔ: Brawsa yi nnhyɛ daa mma prent ho kwan.
+printing_not_ready=Kɔkɔbɔ: Wɔnntwee PDF fael no nyinara mmbaee ama wo ɛ tumi aprente.
+web_fonts_disabled=Ɔedum wɛb-mfɔnt: nntumi mmfa PDF mfɔnt a wɔhyɛ mu nndi dwuma.
+document_colors_disabled=Wɔmma ho kwan sɛ PDF adɔkomɛnt de wɔn ara wɔn ahosu bɛdi dwuma: wɔ adum 'Ma ho kwan ma nkrataafa mpaw wɔn ara wɔn ahosu' wɔ brawsa yi mu.
diff --git a/lib/viewers/pdf/locale/an/viewer.properties b/lib/viewers/pdf/locale/an/viewer.properties
new file mode 100644
index 0000000..2f31459
--- /dev/null
+++ b/lib/viewers/pdf/locale/an/viewer.properties
@@ -0,0 +1,161 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Pachina anterior
+previous_label=Anterior
+next.title=Pachina siguient
+next_label=Siguient
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Pachina:
+page_of=de {{pageCount}}
+
+zoom_out.title=Achiquir
+zoom_out_label=Achiquir
+zoom_in.title=Agrandir
+zoom_in_label=Agrandir
+zoom.title=Grandaria
+presentation_mode.title=Cambear t'o modo de presentación
+presentation_mode_label=Modo de presentación
+open_file.title=Ubrir o fichero
+open_file_label=Ubrir
+print.title=Imprentar
+print_label=Imprentar
+download.title=Descargar
+download_label=Descargar
+bookmark.title=Vista actual (copiar u ubrir en una nueva finestra)
+bookmark_label=Anvista actual
+
+# Secondary toolbar and context menu
+tools.title=Ferramientas
+tools_label=Ferramientas
+first_page.title=Ir ta la primer pachina
+first_page.label=Ir ta la primer pachina
+first_page_label=Ir ta la primer pachina
+last_page.title=Ir ta la zaguer pachina
+last_page.label=Ir ta la zaguera pachina
+last_page_label=Ir ta la zaguer pachina
+page_rotate_cw.title=Chirar enta la dreita
+page_rotate_cw.label=Chirar enta la dreita
+page_rotate_cw_label=Chira enta la dreita
+page_rotate_ccw.title=Chirar enta la zurda
+page_rotate_ccw.label=Chirar en sentiu antihorario
+page_rotate_ccw_label=Chirar enta la zurda
+
+hand_tool_enable.title=Activar a ferramienta man
+hand_tool_enable_label=Activar a ferramenta man
+hand_tool_disable.title=Desactivar a ferramienta man
+hand_tool_disable_label=Desactivar a ferramienta man
+
+# Document properties dialog box
+document_properties.title=Propiedatz d'o documento...
+document_properties_label=Propiedatz d'o documento...
+document_properties_file_name=Nombre de fichero:
+document_properties_file_size=Grandaria d'o fichero:
+document_properties_kb={{size_kb}} KB ({{size_b}} bytes)
+document_properties_mb={{size_mb}} MB ({{size_b}} bytes)
+document_properties_title=Titol:
+document_properties_author=Autor:
+document_properties_subject=Afer:
+document_properties_keywords=Parolas clau:
+document_properties_creation_date=Calendata de creyación:
+document_properties_modification_date=Calendata de modificación:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Creyador:
+document_properties_producer=Creyador de PDF:
+document_properties_version=Versión de PDF:
+document_properties_page_count=Numero de pachinas:
+document_properties_close=Zarrar
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Amostrar u amagar a barra lateral
+toggle_sidebar_label=Amostrar a barra lateral
+outline.title=Amostrar o esquema d'o documento
+outline_label=Esquema d'o documento
+thumbs.title=Amostrar as miniaturas
+thumbs_label=Miniaturas
+findbar.title=Trobar en o documento
+findbar_label=Trobar
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Pachina {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Miniatura d'a pachina {{page}}
+
+# Find panel button title and messages
+find_label=Trobar:
+find_previous.title=Trobar l'anterior coincidencia d'a frase
+find_previous_label=Anterior
+find_next.title=Trobar a siguient coincidencia d'a frase
+find_next_label=Siguient
+find_highlight=Resaltar-lo tot
+find_match_case_label=Coincidencia de mayusclas/minusclas
+find_reached_top=S'ha plegau a l'inicio d'o documento, se contina dende baixo
+find_reached_bottom=S'ha plegau a la fin d'o documento, se contina dende alto
+find_not_found=No s'ha trobau a frase
+
+# Error panel labels
+error_more_info=Mas información
+error_less_info=Menos información
+error_close=Zarrar
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Mensache: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Pila: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Fichero: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Linia: {{line}}
+rendering_error=Ha ocurriu una error en renderizar a pachina.
+
+# Predefined zoom values
+page_scale_width=Amplaria d'a pachina
+page_scale_fit=Achuste d'a pachina
+page_scale_auto=Grandaria automatica
+page_scale_actual=Grandaria actual
+
+# Loading indicator messages
+loading_error_indicator=Error
+loading_error=S'ha produciu una error en cargar o PDF.
+invalid_file_error=O PDF no ye valido u ye estorbau.
+missing_file_error=No i ha fichero PDF.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[Anotación {{type}}]
+password_label=Introduzca a clau ta ubrir iste fichero PDF.
+password_invalid=Clau invalida. Torna a intentar-lo.
+password_ok=Acceptar
+password_cancel=Cancelar
+
+printing_not_supported=Pare cuenta: Iste navegador no maneya totalment as impresions.
+printing_not_ready=Aviso: Encara no se ha cargau completament o PDF ta imprentar-lo.
+web_fonts_disabled=As fuents web son desactivadas: no se puet incrustar fichers PDF.
+document_colors_disabled=Os documentos PDF no pueden fer servir as suyas propias colors: 'Permitir que as pachinas triguen as suyas propias colors' ye desactivau en o navegador.
diff --git a/lib/viewers/pdf/locale/ar/metadata.inc b/lib/viewers/pdf/locale/ar/metadata.inc
deleted file mode 100644
index f1a7106..0000000
--- a/lib/viewers/pdf/locale/ar/metadata.inc
+++ /dev/null
@@ -1,8 +0,0 @@
- <em:localized>
- <Description>
- <em:locale>ar</em:locale>
- <em:name>عارض PDF</em:name>
- <em:description>يستخدم HTML5 لعرض ملفات PDF مباشره من خلال Firefox.</em:description>
- </Description>
- </em:localized>
-
diff --git a/lib/viewers/pdf/locale/ar/viewer.properties b/lib/viewers/pdf/locale/ar/viewer.properties
index 988abec..29da886 100644
--- a/lib/viewers/pdf/locale/ar/viewer.properties
+++ b/lib/viewers/pdf/locale/ar/viewer.properties
@@ -14,95 +14,148 @@
# Main toolbar buttons (tooltips and alt text for images)
previous.title=الصفحة السابقة
-previous_label=السابق
-next.title=الصفحة التاليه
-next_label=التالي
+previous_label=السابقة
+next.title=الصفحة التالية
+next_label=التالية
# LOCALIZATION NOTE (page_label, page_of):
# These strings are concatenated to form the "Page: X of Y" string.
# Do not translate "{{pageCount}}", it will be substituted with a number
# representing the total number of pages.
-page_label=الصفحة:
+page_label=صفحة:
page_of=من {{pageCount}}
-zoom_out.title=تصغير
-zoom_out_label=تصغير
-zoom_in.title=تكبير
-zoom_in_label=تكبير
-zoom.title=التكبير
-print.title=طباعة
-print_label=طباعة
-fullscreen.title=ملء الشاشة
-fullscreen_label=ملء الشاشة
-open_file.title=فتح الملف
-open_file_label=فتح
-download.title=تحميل
-download_label=تحميل
-bookmark.title=المشهد الحالي (نسخ أو فتح في نافذة جديدة)
-bookmark_label=المشهد الحالي
+zoom_out.title=بعّد
+zoom_out_label=بعّد
+zoom_in.title=قرّب
+zoom_in_label=قرّب
+zoom.title=التقريب
+presentation_mode.title=انتقل لوضع العرض التقديمي
+presentation_mode_label=وضع العرض التقديمي
+open_file.title=افتح ملفًا
+open_file_label=افتح
+print.title=اطبع
+print_label=اطبع
+download.title=نزّل
+download_label=نزّل
+bookmark.title=المنظور الحالي (انسخ أو افتح في نافذة جديدة)
+bookmark_label=المنظور الحالي
+
+# Secondary toolbar and context menu
+tools.title=الأدوات
+tools_label=الأدوات
+first_page.title=اذهب إلى الصفحة الأولى
+first_page.label=اذهب إلى الصفحة الأولى
+first_page_label=اذهب إلى الصفحة الأولى
+last_page.title=اذهب إلى الصفحة الأخيرة
+last_page.label=اذهب إلى الصفحة الأخيرة
+last_page_label=اذهب إلى الصفحة الأخيرة
+page_rotate_cw.title=أدر باتجاه عقارب الساعة
+page_rotate_cw.label=أدر باتجاه عقارب الساعة
+page_rotate_cw_label=أدر باتجاه عقارب الساعة
+page_rotate_ccw.title=أدر بعكس اتجاه عقارب الساعة
+page_rotate_ccw.label=أدر بعكس اتجاه عقارب الساعة
+page_rotate_ccw_label=أدر بعكس اتجاه عقارب الساعة
+
+hand_tool_enable.title=فعّل أداة اليد
+hand_tool_enable_label=فعّل أداة اليد
+hand_tool_disable.title=عطّل أداة اليد
+hand_tool_disable_label=عطّل أداة اليد
+
+# Document properties dialog box
+document_properties.title=خصائص المستند…
+document_properties_label=خصائص المستند…
+document_properties_file_name=اسم الملف:
+document_properties_file_size=حجم الملف:
+document_properties_kb={{size_kb}} ك.بايت ({{size_b}} بايت)
+document_properties_mb={{size_mb}} م.بايت ({{size_b}} بايت)
+document_properties_title=العنوان:
+document_properties_author=المؤلف:
+document_properties_subject=الموضوع:
+document_properties_keywords=الكلمات الأساسية:
+document_properties_creation_date=تاريخ الإنشاء:
+document_properties_modification_date=تاريخ التعديل:
+document_properties_date_string={{date}}، {{time}}
+document_properties_creator=المنشئ:
+document_properties_producer=منتج PDF:
+document_properties_version=إصدارة PDF:
+document_properties_page_count=عدد الصفحات:
+document_properties_close=أغلق
# Tooltips and alt text for side panel toolbar buttons
# (the _label strings are alt text for the buttons, the .title strings are
# tooltips)
-toggle_slider.title=تبديل الزلاق
-toggle_slider_label=تبديل الزلاق
-outline.title=إظهار ملخص المستند
-outline_label=ملخص المستند
-thumbs.title=إظهار الصور المصغرة
-thumbs_label=الصور المصغرة
-findbar.title=البحث في المستند
-findbar_label=بحث
+toggle_sidebar.title=بدّل الشريط الجانبي
+toggle_sidebar_label=بدّل الشريط الجانبي
+outline.title=اعرض مخطط المستند
+outline_label=مخطط المستند
+thumbs.title=اعرض مُصغرات
+thumbs_label=مُصغّرات
+findbar.title=ابحث في المستند
+findbar_label=ابحث
# Thumbnails panel item (tooltip and alt text for images)
# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
# number.
-thumb_page_title=الصفحة {{page}}
+thumb_page_title=صفحة {{page}}
# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
# number.
-thumb_page_canvas=صورة مصغرة من الصفحة {{page}}
-
-# Context menu
-page_rotate_cw.label=تدوير مع عقارب الساعة
-page_rotate_ccw.label=تدوير عكس عقارب الساعة
+thumb_page_canvas=مصغّرة صفحة {{page}}
# Find panel button title and messages
-find=بحث
-find_terms_not_found=(لا يوجد)
+find_label=ابحث:
+find_previous.title=ابحث عن التّواجد السّابق للعبارة
+find_previous_label=السابق
+find_next.title=ابحث عن التّواجد التّالي للعبارة
+find_next_label=التالي
+find_highlight=أبرِز الكل
+find_match_case_label=طابق حالة الأحرف
+find_reached_top=تابعت من الأسفل بعدما وصلت إلى بداية المستند
+find_reached_bottom=تابعت من الأعلى بعدما وصلت إلى نهاية المستند
+find_not_found=لا وجود للعبارة
# Error panel labels
-error_more_info=مزيد من المعلومات
+error_more_info=معلومات أكثر
error_less_info=معلومات أقل
-error_close=إغلاق
-# LOCALIZATION NOTE (error_build): "{{build}}" will be replaced by the PDF.JS
-# build ID.
-error_build=بناء PDF.JS: {{build}}
+error_close=أغلق
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=‏PDF.js ن{{version}} ‏(بناء: {{build}})
# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
# english string describing the error.
-error_message=رسالة: {{message}}
+error_message=الرسالة: {{message}}
# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
# trace.
-error_stack=المكدس: {{stack}}
+error_stack=الرصّة: {{stack}}
# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
error_file=الملف: {{file}}
# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
error_line=السطر: {{line}}
-rendering_error=حدث خطأ اثناء رسم الصفحة.
+rendering_error=حدث خطأ أثناء عرض الصفحة.
# Predefined zoom values
page_scale_width=عرض الصفحة
-page_scale_fit=تناسب الصفحة
+page_scale_fit=ملائمة الصفحة
page_scale_auto=تقريب تلقائي
page_scale_actual=الحجم الحقيقي
# Loading indicator messages
-loading_error_indicator=خطأ
-loading_error=حدث خطأ أثناء تحميل وثيقه الـPDF
+loading_error_indicator=عطل
+loading_error=حدث عطل أثناء تحميل ملف PDF.
+invalid_file_error=ملف PDF تالف أو غير صحيح
+missing_file_error=ملف PDF غير موجود
-# LOCALIZATION NOTE (text_annotation_type): This is used as a tooltip.
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
# "{{type}}" will be replaced with an annotation type from a list defined in
# the PDF spec (32000-1:2008 Table 169 – Annotation types).
# Some common types are e.g.: "Check", "Text", "Comment", "Note"
-text_annotation_type=[ملاحظة {{type}}]
-request_password=الـPDF محمي بكلمة مرور:
+text_annotation_type.alt=[تعليق {{type}}]
+password_label=أدخل لكلمة السر لفتح هذا الملف.
+password_invalid=كلمة سر خطأ. من فضلك أعد المحاولة.
+password_ok=حسنا
+password_cancel=ألغِ
-printing_not_supported=تحذير: الطباعة ليست مدعومة كليًا في هذا المتصفح.
+printing_not_supported=تحذير: لا يدعم هذا المتصفح الطباعة بشكل كامل.
+printing_not_ready=تحذير: ملف PDF لم يُحمّل كاملًا للطباعة.
+web_fonts_disabled=خطوط الوب مُعطّلة: تعذّر استخدام خطوط PDF المُضمّنة.
+document_colors_disabled=ليس مسموحًا لملفات PDF باستخدام ألوانها الخاصة: خيار 'اسمح للصفحات باختيار ألوانها الخاصة' ليس مُفعّلًا في المتصفح.
diff --git a/lib/viewers/pdf/locale/as/viewer.properties b/lib/viewers/pdf/locale/as/viewer.properties
new file mode 100644
index 0000000..fea0a2a
--- /dev/null
+++ b/lib/viewers/pdf/locale/as/viewer.properties
@@ -0,0 +1,163 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=পূৰ্বৱৰ্তী পৃষ্ঠা
+previous_label=পূৰ্বৱৰ্তী
+next.title=পৰৱৰ্তী পৃষ্ঠা
+next_label=পৰৱৰ্তী
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=পৃষ্ঠা:
+page_of=ৰ {{pageCount}}
+
+zoom_out.title=জুম আউট
+zoom_out_label=জুম আউট
+zoom_in.title=জুম ইন
+zoom_in_label=জুম ইন
+zoom.title=জুম কৰক
+presentation_mode.title=উপস্থাপন অৱস্থালে যাওক
+presentation_mode_label=উপস্থাপন অৱস্থা
+open_file.title=ফাইল খোলক
+open_file_label=খোলক
+print.title=প্ৰিন্ট কৰক
+print_label=প্ৰিন্ট কৰক
+download.title=ডাউনল'ড কৰক
+download_label=ডাউনল'ড কৰক
+bookmark.title=বৰ্তমান দৃশ্য (কপি কৰক অথবা নতুন উইন্ডোত খোলক)
+bookmark_label=বৰ্তমান দৃশ্য
+
+# Secondary toolbar and context menu
+tools.title=সঁজুলিসমূহ
+tools_label=সঁজুলিসমূহ
+first_page.title=প্ৰথম পৃষ্ঠাত যাওক
+first_page.label=প্ৰথম পৃষ্ঠাত যাওক
+first_page_label=প্ৰথম পৃষ্ঠাত যাওক
+last_page.title=সৰ্বশেষ পৃষ্ঠাত যাওক
+last_page.label=সৰ্বশেষ পৃষ্ঠাত যাওক
+last_page_label=সৰ্বশেষ পৃষ্ঠাত যাওক
+page_rotate_cw.title=ঘড়ীৰ দিশত ঘুৰাওক
+page_rotate_cw.label=ঘড়ীৰ দিশত ঘুৰাওক
+page_rotate_cw_label=ঘড়ীৰ দিশত ঘুৰাওক
+page_rotate_ccw.title=ঘড়ীৰ ওলোটা দিশত ঘুৰাওক
+page_rotate_ccw.label=ঘড়ীৰ ওলোটা দিশত ঘুৰাওক
+page_rotate_ccw_label=ঘড়ীৰ ওলোটা দিশত ঘুৰাওক
+
+hand_tool_enable.title=হাঁত সঁজুলি সামৰ্থবান কৰক
+hand_tool_enable_label=হাঁত সঁজুলি সামৰ্থবান কৰক
+hand_tool_disable.title=হাঁত সঁজুলি অসামৰ্থবান কৰক
+hand_tool_disable_label=হাঁত সঁজুলি অসামৰ্থবান কৰক
+
+# Document properties dialog box
+document_properties.title=দস্তাবেজৰ বৈশিষ্ট্যসমূহ…
+document_properties_label=দস্তাবেজৰ বৈশিষ্ট্যসমূহ…
+document_properties_file_name=ফাইল নাম:
+document_properties_file_size=ফাইলৰ আকাৰ:
+document_properties_kb={{size_kb}} KB ({{size_b}} bytes)
+document_properties_mb={{size_mb}} MB ({{size_b}} bytes)
+document_properties_title=শীৰ্ষক:
+document_properties_author=লেখক:
+document_properties_subject=বিষয়:
+document_properties_keywords=কিৱাৰ্ডসমূহ:
+document_properties_creation_date=সৃষ্টিৰ তাৰিখ:
+document_properties_modification_date=পৰিবৰ্তনৰ তাৰিখ:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=সৃষ্টিকৰ্তা:
+document_properties_producer=PDF উৎপাদক:
+document_properties_version=PDF সংস্কৰণ:
+document_properties_page_count=পৃষ্ঠাৰ গণনা:
+document_properties_close=বন্ধ কৰক
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=কাষবাৰ টগল কৰক
+toggle_sidebar_label=কাষবাৰ টগল কৰক
+outline.title=দস্তাবেজ আউটলাইন দেখুৱাওক
+outline_label=দস্তাবেজ আউটলাইন
+attachments.title=এটাচমেন্টসমূহ দেখুৱাওক
+attachments_label=এটাচমেন্টসমূহ
+thumbs.title=থাম্বনেইলসমূহ দেখুৱাওক
+thumbs_label=থাম্বনেইলসমূহ
+findbar.title=দস্তাবেজত সন্ধান কৰক
+findbar_label=সন্ধান কৰক
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=পৃষ্ঠা {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=পৃষ্ঠাৰ থাম্বনেইল {{page}}
+
+# Find panel button title and messages
+find_label=সন্ধান কৰক:
+find_previous.title=বাক্যাংশৰ পূৰ্বৱৰ্তী উপস্থিতি সন্ধান কৰক
+find_previous_label=পূৰ্বৱৰ্তী
+find_next.title=বাক্যাংশৰ পৰৱৰ্তী উপস্থিতি সন্ধান কৰক
+find_next_label=পৰৱৰ্তী
+find_highlight=সকলো উজ্জ্বল কৰক
+find_match_case_label=ফলা মিলাওক
+find_reached_top=তলৰ পৰা আৰম্ভ কৰি, দস্তাবেজৰ ওপৰলৈ অহা হৈছে
+find_reached_bottom=ওপৰৰ পৰা আৰম্ভ কৰি, দস্তাবেজৰ তললৈ অহা হৈছে
+find_not_found=বাক্যাংশ পোৱা নগল
+
+# Error panel labels
+error_more_info=অধিক তথ্য
+error_less_info=কম তথ্য
+error_close=বন্ধ কৰক
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=বাৰ্তা: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=স্টেক: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=ফাইল: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=শাৰী: {{line}}
+rendering_error=এই পৃষ্ঠা ৰেণ্ডাৰ কৰোতে এটা ত্ৰুটি দেখা দিলে।
+
+# Predefined zoom values
+page_scale_width=পৃষ্ঠাৰ প্ৰস্থ
+page_scale_fit=পৃষ্ঠা খাপ
+page_scale_auto=স্বচালিত জুম
+page_scale_actual=প্ৰকৃত আকাৰ
+
+# Loading indicator messages
+loading_error_indicator=ত্ৰুটি
+loading_error=PDF ল'ড কৰোতে এটা ত্ৰুটি দেখা দিলে।
+invalid_file_error=অবৈধ অথবা ক্ষতিগ্ৰস্থ PDF file।
+missing_file_error=সন্ধানহিন PDF ফাইল।
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} টোকা]
+password_label=এই PDF ফাইল খোলিবলৈ পাছৱাৰ্ড সুমুৱাওক।
+password_invalid=অবৈধ পাছৱাৰ্ড। অনুগ্ৰহ কৰি পুনৰ চেষ্টা কৰক।
+password_ok=ঠিক আছে
+password_cancel=বাতিল কৰক
+
+printing_not_supported=সতৰ্কবাৰ্তা: প্ৰিন্টিং এই ব্ৰাউছাৰ দ্বাৰা সম্পূৰ্ণভাৱে সমৰ্থিত নহয়।
+printing_not_ready=সতৰ্কবাৰ্তা: PDF প্ৰিন্টিংৰ বাবে সম্পূৰ্ণভাৱে ল'ডেড নহয়।
+web_fonts_disabled=ৱেব ফন্টসমূহ অসামৰ্থবান কৰা আছে: অন্তৰ্ভুক্ত PDF ফন্টসমূহ ব্যৱহাৰ কৰিবলে অক্ষম।
+document_colors_disabled=PDF দস্তাবেজসমূহৰ সিহতৰ নিজস্ব ৰঙ ব্যৱহাৰ কৰাৰ অনুমতি নাই: ব্ৰাউছাৰত 'পৃষ্ঠাসমূহক সিহতৰ নিজস্ব ৰঙ নিৰ্বাচন কৰাৰ অনুমতি দিয়ক' অসামৰ্থবান কৰা আছে।
diff --git a/lib/viewers/pdf/locale/ast/viewer.properties b/lib/viewers/pdf/locale/ast/viewer.properties
new file mode 100644
index 0000000..92e936f
--- /dev/null
+++ b/lib/viewers/pdf/locale/ast/viewer.properties
@@ -0,0 +1,73 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+previous.title = Páxina anterior
+previous_label = Anterior
+next.title = Páxina siguiente
+next_label = Siguiente
+page_label = Páxina:
+page_of = de {{pageCount}}
+zoom_out.title = Reducir
+zoom_out_label = Reducir
+zoom_in.title = Aumentar
+zoom_in_label = Aumentar
+zoom.title = Tamañu
+print.title = Imprentar
+print_label = Imprentar
+open_file.title = Abrir ficheru
+open_file_label = Abrir
+download.title = Descargar
+download_label = Descargar
+bookmark.title = Vista actual (copiar o abrir nuna nueva ventana)
+bookmark_label = Vista actual
+outline.title = Amosar l'esquema del documentu
+outline_label = Esquema del documentu
+thumbs.title = Amosar miniatures
+thumbs_label = Miniatures
+thumb_page_title = Páxina {{page}}
+thumb_page_canvas = Miniatura de la páxina {{page}}
+error_more_info = Más información
+error_less_info = Menos información
+error_close = Zarrar
+error_message = Mensaxe: {{message}}
+error_stack = Pila: {{stack}}
+error_file = Ficheru: {{file}}
+error_line = Llinia: {{line}}
+rendering_error = Hebo un fallu al renderizar la páxina.
+page_scale_width = Anchor de la páxina
+page_scale_fit = Axuste de la páxina
+page_scale_auto = Tamañu automáticu
+page_scale_actual = Tamañu actual
+loading_error_indicator = Fallu
+loading_error = Hebo un fallu al cargar el PDF.
+request_password = El PDF ta protexíu por una contraseña:
+printing_not_supported = Avisu: Imprentar nun tien sofitu téunicu completu nesti navegador.
+presentation_mode_label =
+presentation_mode.title =
+page_rotate_cw.label =
+page_rotate_ccw.label =
+last_page.label = Dir a la cabera páxina
+invalid_file_error = Ficheru PDF inválidu o corruptu.
+first_page.label = Dir a la primer páxina
+findbar_label = Guetar
+findbar.title = Guetar nel documentu
+find_previous_label = Anterior
+find_previous.title = Alcontrar l'anterior apaición de la fras
+find_not_found = Frase non atopada
+find_next_label = Siguiente
+find_next.title = Alcontrar la siguiente apaición d'esta fras
+find_match_case_label = Coincidencia de mayús./minús.
+find_label = Guetar:
+find_highlight = Remarcar toos
+find_reached_top=Algamóse'l principiu del documentu, siguir dende'l final
+find_reached_bottom=Algamóse'l final del documentu, siguir dende'l principiu
+web_fonts_disabled = Les fontes web tán desactivaes: ye imposible usar les fontes PDF embebíes.
+toggle_sidebar_label = Camudar barra llateral
+toggle_sidebar.title = Camudar barra llateral
+missing_file_error = Nun hai ficheru PDF.
+error_version_info = PDF.js v{{version}} (build: {{build}})
+printing_not_ready = Avisu: Esti PDF nun se cargó completamente pa poder imprentase.
+text_annotation_type.alt = [Anotación {{type}}]
+invalid_password = Contraseña non válida.
+document_colors_disabled = Los documentos PDF nun tienen permitío usar los sos propios colores: 'Permitir a les páxines elexir los sos propios colores' ta desactivao nel navegador.
diff --git a/lib/viewers/pdf/locale/az/viewer.properties b/lib/viewers/pdf/locale/az/viewer.properties
new file mode 100644
index 0000000..3a1e195
--- /dev/null
+++ b/lib/viewers/pdf/locale/az/viewer.properties
@@ -0,0 +1,139 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Əvvəlki səhifə
+previous_label=Əvvəlkini tap
+next.title=Növbəti səhifə
+next_label=İrəli
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Səhifə:
+page_of=/ {{pageCount}}
+
+zoom_out.title=Uzaqlaş
+zoom_out_label=Uzaqlaş
+zoom_in.title=Yaxınlaş
+zoom_in_label=Yaxınlaş
+zoom.title=Yaxınlaşdırma
+presentation_mode.title=Təqdimat Rejiminə Keç
+presentation_mode_label=Təqdimat Rejimi
+open_file.title=Fayl Aç
+open_file_label=Aç
+print.title=Yazdır
+print_label=Yazdır
+download.title=Yüklə
+download_label=Yüklə
+bookmark.title=Hazırkı görünüş (köçür və ya yeni pəncərədə aç)
+bookmark_label=Hazırki görünüş
+
+# Secondary toolbar and context menu
+tools.title=Alətlər
+tools_label=Alətlər
+first_page.title=İlk Səhifəyə get
+first_page.label=İlk Səhifəyə get
+first_page_label=İlk Səhifəyə get
+last_page.title=Son Səhifəyə get
+last_page.label=Son Səhifəyə get
+last_page_label=Son Səhifəyə get
+page_rotate_cw.title=Saat İstiqamətində Fırlat
+page_rotate_cw.label=Saat İstiqamətində Fırlat
+page_rotate_cw_label=Saat İstiqamətində Fırlat
+page_rotate_ccw.title=Saat İstiqamətinin Əksinə Fırlat
+page_rotate_ccw.label=Saat İstiqamətinin Əksinə Fırlat
+page_rotate_ccw_label=Saat İstiqamətinin Əksinə Fırlat
+
+
+# Document properties dialog box
+document_properties_title=Başlık:
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Yan Paneli Aç/Bağla
+toggle_sidebar_label=Yan Paneli Aç/Bağla
+outline.title=Sənəd struktunu göstər
+outline_label=Sənəd strukturu
+thumbs.title=Kiçik şəkilləri göstər
+thumbs_label=Kiçik şəkillər
+findbar.title=Sənəddə Tap
+findbar_label=Axtar
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Səhifə{{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas={{page}} səhifəsinin kiçik vəziyyəti
+
+# Find panel button title and messages
+find_label=Tap:
+find_previous.title=Bir öncəki uyğun gələn sözü tapır
+find_previous_label=Geri
+find_next.title=Bir sonrakı uyğun gələn sözü tapır
+find_next_label=İrəli
+find_highlight=İşarələ
+find_match_case_label=Böyük/kiçik hərfə həssaslıq
+find_reached_top=Sənədin yuxarısına çatdı, aşağıdan davam edir
+find_reached_bottom=Sənədin sonuna çatdı, yuxarıdan davam edir
+find_not_found=Uyğunlaşma tapılmadı
+
+# Error panel labels
+error_more_info=Daha çox məlumati
+error_less_info=Daha az məlumat
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (yığma: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=İsmarıc: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Stek: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Fayl: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Sətir: {{line}}
+rendering_error=Səhifə göstərilərkən səhv yarandı.
+
+# Predefined zoom values
+page_scale_width=Səhifə genişliyi
+page_scale_fit=Səhifəni sığdır
+page_scale_auto=Avtomatik yaxınlaşdır
+page_scale_actual=Hazırki Həcm
+
+# Loading indicator messages
+loading_error_indicator=Səhv
+loading_error=PDF yüklenərkən bir səhv yarandı.
+invalid_file_error=Səhv və ya zədələnmiş olmuş PDF fayl.
+missing_file_error=PDF fayl yoxdur.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} Annotasiyası]
+password_label=Bu PDF faylı açmaq üçün şifrəni daxil edin.
+password_invalid=Şifrə yanlışdır. Bir daha sınayın.
+password_ok=OK
+password_cancel=Ləğv et
+
+printing_not_supported=Xəbərdarlıq: Çap bu brauzer tərəfindən tam olaraq dəstəklənmir.
+printing_not_ready=Xəbərdarlıq: PDF çap üçün tam yüklənməyib.
+web_fonts_disabled=Veb Şriftlər söndürülüb: yerləşdirilmiş PDF şriftlərini istifadə etmək mümkün deyil.
+document_colors_disabled=PDF sənədlərə öz rənglərini işlətməyə icazə verilmir: 'Səhifələrə öz rənglərini istifadə etməyə icazə vermə' səyyahda söndürülüb.
diff --git a/lib/viewers/pdf/locale/be/viewer.properties b/lib/viewers/pdf/locale/be/viewer.properties
new file mode 100644
index 0000000..031b1df
--- /dev/null
+++ b/lib/viewers/pdf/locale/be/viewer.properties
@@ -0,0 +1,105 @@
+previous.title = Папярэдняя старонка
+previous_label = Папярэдняя
+next.title = Наступная старонка
+next_label = Наступная
+page_label = Старонка:
+page_of = з {{pageCount}}
+zoom_out.title = Паменшыць
+zoom_out_label = Паменшыць
+zoom_in.title = Павялічыць
+zoom_in_label = Павялічыць
+zoom.title = Павялічэнне тэксту
+presentation_mode.title = Пераключыцца ў рэжым паказу
+presentation_mode_label = Рэжым паказу
+open_file.title = Адчыніць файл
+open_file_label = Адчыніць
+print.title = Друкаваць
+print_label = Друкаваць
+download.title = Загрузка
+download_label = Загрузка
+bookmark.title = Цяперашняя праява (скапіяваць або адчыніць у новым акне)
+bookmark_label = Цяперашняя праява
+tools.title = Прылады
+tools_label = Прылады
+first_page.title = Перайсці на першую старонку
+first_page.label = Перайсці на першую старонку
+first_page_label = Перайсці на першую старонку
+last_page.title = Перайсці на апошнюю старонку
+last_page.label = Перайсці на апошнюю старонку
+last_page_label = Перайсці на апошнюю старонку
+page_rotate_cw.title = Павярнуць па гадзіннікавай стрэлцы
+page_rotate_cw.label = Павярнуць па гадзіннікавай стрэлцы
+page_rotate_cw_label = Павярнуць па гадзіннікавай стрэлцы
+page_rotate_ccw.title = Павярнуць супраць гадзіннікавай стрэлкі
+page_rotate_ccw.label = Павярнуць супраць гадзіннікавай стрэлкі
+page_rotate_ccw_label = Павярнуць супраць гадзіннікавай стрэлкі
+hand_tool_enable.title = Дазволіць ручную прыладу
+hand_tool_enable_label = Дазволіць ручную прыладу
+hand_tool_disable.title = Забараніць ручную прыладу
+hand_tool_disable_label = Забараніць ручную прыладу
+document_properties.title = Уласцівасці дакумента…
+document_properties_label = Уласцівасці дакумента…
+document_properties_file_name = Назва файла:
+document_properties_file_size = Памер файла:
+document_properties_kb = {{size_kb}} КБ ({{size_b}} байт)
+document_properties_mb = {{size_mb}} МБ ({{size_b}} байт)
+document_properties_title = Загаловак:
+document_properties_author = Аўтар:
+document_properties_subject = Тэма:
+document_properties_keywords = Ключавыя словы:
+document_properties_creation_date = Дата стварэння:
+document_properties_modification_date = Дата змянення:
+document_properties_date_string = {{date}}, {{time}}
+document_properties_creator = Стваральнік:
+document_properties_producer = Вырабнік PDF:
+document_properties_version = Версія PDF:
+document_properties_page_count = Колькасць старонак:
+document_properties_close = Зачыніць
+toggle_sidebar.title = Пераключэнне палічкі
+toggle_sidebar_label = Пераключыць палічку
+outline.title = Паказ будовы дакумента
+outline_label = Будова дакумента
+attachments.title = Паказаць далучэнні
+attachments_label = Далучэнні
+thumbs.title = Паказ накідаў
+thumbs_label = Накіды
+findbar.title = Пошук у дакуменце
+findbar_label = Знайсці
+thumb_page_title = Старонка {{page}}
+thumb_page_canvas = Накід старонкі {{page}}
+find_label = Пошук:
+find_previous.title = Знайсці папярэдні выпадак выразу
+find_previous_label = Папярэдні
+find_next.title = Знайсці наступны выпадак выразу
+find_next_label = Наступны
+find_highlight = Падфарбаваць усе
+find_match_case_label = Адрозніваць вялікія/малыя літары
+find_reached_top = Дасягнуты пачатак дакумента, працяг з канца
+find_reached_bottom = Дасягнуты канец дакумента, працяг з пачатку
+find_not_found = Выраз не знойдзены
+error_more_info = Падрабязней
+error_less_info = Сцісла
+error_close = Закрыць
+error_version_info = PDF.js в{{version}} (пабудова: {{build}})
+error_message = Паведамленне: {{message}}
+error_stack = Стос: {{stack}}
+error_file = Файл: {{file}}
+error_line = Радок: {{line}}
+rendering_error = Здарылася памылка падчас адлюстравання старонкі.
+page_scale_width = Шырыня старонкі
+page_scale_fit = Уцісненне старонкі
+page_scale_auto = Самастойнае павялічэнне
+page_scale_actual = Сапраўдны памер
+loading_error_indicator = Памылка
+loading_error = Здарылася памылка падчас загрузкі PDF.
+invalid_file_error = Няспраўны або пашкоджаны файл PDF.
+missing_file_error = Адсутны файл PDF.
+text_annotation_type.alt = [{{type}} Annotation]
+password_label = Увядзіце пароль, каб адчыніць гэты файл PDF.
+password_invalid = Крывы пароль. Паспрабуйце зноў.
+password_ok = Добра
+password_cancel = Скасаваць
+printing_not_supported = Папярэджанне: друк не падтрымлівацца цалкам гэтым азіральнікам.
+printing_not_ready = Увага: PDF не сцягнуты цалкам для друкавання.
+web_fonts_disabled = Шрыфты Сеціва забаронены: немгчыма ўжываць укладзеныя шрыфты PDF.
+document_colors_disabled = Дакументам PDF не дазволена карыстацца сваімі ўласнымі колерамі: 'Дазволіць старонкам выбіраць свае ўласныя колеры' абяздзейнена ў азіральніку.
diff --git a/lib/viewers/pdf/locale/bg/viewer.properties b/lib/viewers/pdf/locale/bg/viewer.properties
new file mode 100644
index 0000000..fdec99c
--- /dev/null
+++ b/lib/viewers/pdf/locale/bg/viewer.properties
@@ -0,0 +1,161 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Предишна страница
+previous_label=Предишна
+next.title=Следваща страница
+next_label=Следваща
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Страница:
+page_of=от {{pageCount}}
+
+zoom_out.title=Отдалечаване
+zoom_out_label=Отдалечаване
+zoom_in.title=Приближаване
+zoom_in_label=Приближаване
+zoom.title=Мащабиране
+presentation_mode.title=Превключване към режим на представяне
+presentation_mode_label=Режим на представяне
+open_file.title=Отваряне на файл
+open_file_label=Отваряне
+print.title=Отпечатване
+print_label=Отпечатване
+download.title=Изтегляне
+download_label=Изтегляне
+bookmark.title=Текущ изглед (копиране или отваряне в нов прозорец)
+bookmark_label=Текущ изглед
+
+# Secondary toolbar and context menu
+tools.title=Инструменти
+tools_label=Инструменти
+first_page.title=Към първата страница
+first_page.label=Към първата страница
+first_page_label=Към първата страница
+last_page.title=Към последната страница
+last_page.label=Към последната страница
+last_page_label=Към последната страница
+page_rotate_cw.title=Превъртане по часовниковата стрелка
+page_rotate_cw.label=Превъртане по часовниковата стрелка
+page_rotate_cw_label=Превъртане по часовниковата стрелка
+page_rotate_ccw.title=Превъртане обратно на часовниковата стрелка
+page_rotate_ccw.label=Превъртане обратно на часовниковата стрелка
+page_rotate_ccw_label=Превъртане обратно на часовниковата стрелка
+
+hand_tool_enable.title=Активиране на инструмента ръка
+hand_tool_enable_label=Активиране на инструмента ръка
+hand_tool_disable.title=Деактивиране на инструмента ръка
+hand_tool_disable_label=Деактивиране на инструмента ръка
+
+# Document properties dialog box
+document_properties.title=Свойства на документа…
+document_properties_label=Свойства на документа…
+document_properties_file_name=Име на файл:
+document_properties_file_size=Големина на файл:
+document_properties_kb={{size_kb}} KiB ({{size_b}} bytes)
+document_properties_mb={{size_mb}} MiB ({{size_b}} bytes)
+document_properties_title=Заглавие:
+document_properties_author=Автор:
+document_properties_subject=Тема:
+document_properties_keywords=Ключови думи:
+document_properties_creation_date=Дата на създаване:
+document_properties_modification_date=Дата на промяна:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Създател:
+document_properties_producer=PDF произведен от:
+document_properties_version=PDF версия:
+document_properties_page_count=Брой страници:
+document_properties_close=Затваряне
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Превключване на страничната лента
+toggle_sidebar_label=Превключване на страничната лента
+outline.title=Показване на очертанията на документа
+outline_label=Очертание на документа
+thumbs.title=Показване на миниатюрите
+thumbs_label=Миниатюри
+findbar.title=Намиране в документа
+findbar_label=Търсене
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Страница {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Миниатюра на страница {{page}}
+
+# Find panel button title and messages
+find_label=Търсене:
+find_previous.title=Намиране на предното споменаване на тази фраза
+find_previous_label=Предишна
+find_next.title=Намиране на следващото споменаване на тази фраза
+find_next_label=Следваща
+find_highlight=Маркирай всички
+find_match_case_label=Точно съвпадения
+find_reached_top=Достигнато е началото на документа. Търсенето ще продължи до края му.
+find_reached_bottom=Достигнат е края на документа. Търсенето ще продължи от началото му.
+find_not_found=Фразата не е намерена
+
+# Error panel labels
+error_more_info=Повече информация
+error_less_info=По-малко информация
+error_close=Затваряне
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js версия {{version}} (build: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Съобщение: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Стек: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Файл: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Ред: {{line}}
+rendering_error=Грешка при изчертаване на страницата.
+
+# Predefined zoom values
+page_scale_width=Ширина на страницата
+page_scale_fit=Вместване в страницата
+page_scale_auto=Автоматично мащабиране
+page_scale_actual=Действителен размер
+
+# Loading indicator messages
+loading_error_indicator=Грешка
+loading_error=Получи се грешка при зареждане на PDF-а.
+invalid_file_error=Невалиден или повреден PDF файл
+missing_file_error=Липсващ PDF файл.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[Анотация {{type}}]
+password_label=Въведете парола за отваряне на този PDF файл.
+password_invalid=Невалидна парола. Моля, опитайте отново.
+password_ok=Добре
+password_cancel=Отказ
+
+printing_not_supported=Внимание: Този браузър няма пълна поддръжка на отпечатване.
+printing_not_ready=Внимание: Този PDF файл не е напълно зареден за печат.
+web_fonts_disabled=Уеб-шрифтовете са забранени: разрешаване на използването на вградените PDF шрифтове.
+document_colors_disabled=На PDF-документите не е разрешено да използват собствени цветове: „Разрешаване на страниците да избират собствени цветове“ е деактивирано в браузъра.
diff --git a/lib/viewers/pdf/locale/bn-BD/viewer.properties b/lib/viewers/pdf/locale/bn-BD/viewer.properties
new file mode 100644
index 0000000..6577a36
--- /dev/null
+++ b/lib/viewers/pdf/locale/bn-BD/viewer.properties
@@ -0,0 +1,139 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=পূর্ববর্তী পৃষ্ঠা
+previous_label=পূর্ববর্তী
+next.title=পরবর্তী পৃষ্ঠা
+next_label=পরবর্তী
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=পৃষ্ঠা:
+page_of={{pageCount}} এর
+
+zoom_out.title=ছোট আকারে প্রদর্শন
+zoom_out_label=ছোট আকারে প্রদর্শন
+zoom_in.title=বড় আকারে প্রদর্শন
+zoom_in_label=বড় আকারে প্রদর্শন
+zoom.title=বড় আকারে প্রদর্শন
+presentation_mode.title=উপস্থাপনা মোডে স্যুইচ করুন
+presentation_mode_label=উপস্থাপনা মোড
+open_file.title=ফাইল খুলুন
+open_file_label=খুলুন
+print.title=মুদ্রণ
+print_label=মুদ্রণ
+download.title=ডাউনলোড
+download_label=ডাউনলোড
+bookmark.title=বর্তমান অবস্থা (অনুলিপি অথবা নতুন উইন্ডো তে খুলুন)
+bookmark_label=বর্তমান অবস্থা
+
+# Secondary toolbar and context menu
+tools.title=টুল
+tools_label=টুল
+first_page.title=প্রথম পাতায় যাও
+first_page.label=প্রথম পাতায় যাও
+first_page_label=প্রথম পাতায় যাও
+last_page.title=শেষ পাতায় যাও
+last_page.label=শেষ পাতায় যাও
+last_page_label=শেষ পাতায় যাও
+page_rotate_cw.title=ঘড়ির কাঁটার দিকে ঘোরাও
+page_rotate_cw.label=ঘড়ির কাঁটার দিকে ঘোরাও
+page_rotate_cw_label=ঘড়ির কাঁটার দিকে ঘোরাও
+page_rotate_ccw.title=ঘড়ির কাঁটার বিপরীতে ঘোরাও
+page_rotate_ccw.label=ঘড়ির কাঁটার বিপরীতে ঘোরাও
+page_rotate_ccw_label=ঘড়ির কাঁটার বিপরীতে ঘোরাও
+
+
+# Document properties dialog box
+document_properties_title=শিরোনাম:
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=সাইডবার টগল করুন
+toggle_sidebar_label=সাইডবার টগল করুন
+outline.title=নথির রূপরেখা প্রদর্শন করুন
+outline_label=নথির রূপরেখা
+thumbs.title=থাম্বনেইল সমূহ প্রদর্শন করুন
+thumbs_label=থাম্বনেইল সমূহ
+findbar.title=নথির মধ্যে খুঁজুন
+findbar_label=অনুসন্ধান
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=পৃষ্ঠা {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas={{page}} পৃষ্ঠার থাম্বনেইল
+
+# Find panel button title and messages
+find_label=অনুসন্ধান:
+find_previous.title=বাক্যাংশের পূর্ববর্তী উপস্থিতি অনুসন্ধান
+find_previous_label=পূর্ববর্তী
+find_next.title=বাক্যাংশের পরবর্তী উপস্থিতি অনুসন্ধান
+find_next_label=পরবর্তী
+find_highlight=সব হাইলাইট করা হবে
+find_match_case_label=অক্ষরের ছাঁদ মেলানো
+find_reached_top=পৃষ্ঠার শুরুতে পৌছে গেছে, নীচ থেকে আরম্ভ করা হয়েছে
+find_reached_bottom=পৃষ্ঠার শেষে পৌছে গেছে, উপর থেকে আরম্ভ করা হয়েছে
+find_not_found=বাক্যাংশ পাওয়া যায়নি
+
+# Error panel labels
+error_more_info=আরও তথ্য
+error_less_info=কম তথ্য
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=বার্তা: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Stack: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=নথি: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=লাইন: {{line}}
+rendering_error=পৃষ্ঠা উপস্থাপনার সময় ত্রুটি দেখা দিয়েছে।
+
+# Predefined zoom values
+page_scale_width=পৃষ্ঠার প্রস্থ
+page_scale_fit=পৃষ্ঠা ফিট করুন
+page_scale_auto=স্বয়ংক্রিয় জুম
+page_scale_actual=প্রকৃত আকার
+
+# Loading indicator messages
+loading_error_indicator=ত্রুটি
+loading_error=পিডিএফ লোড করার সময় ত্রুটি দেখা দিয়েছে।
+invalid_file_error=অকার্যকর অথবা ক্ষতিগ্রস্ত পিডিএফ ফাইল।
+missing_file_error=পিডিএফ ফাইল পাওয়া যাচ্ছে না।
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} টীকা]
+password_label=পিডিএফ ফাইলটি ওপেন করতে পাসওয়ার্ড দিন।
+password_invalid=ভুল পাসওয়ার্ড। অনুগ্রহ করে আবার চেষ্টা করুন।
+password_ok=ঠিক আছে
+password_cancel=বাতিল
+
+printing_not_supported=সতর্কতা: এই ব্রাউজারে মুদ্রণ সম্পূর্ণভাবে সমর্থিত নয়।
+printing_not_ready=সতর্কীকরণ: পিডিএফটি মুদ্রণের জন্য সম্পূর্ণ লোড হয়নি।
+web_fonts_disabled=ওয়েব ফন্ট নিষ্ক্রিয়: সংযুক্ত পিডিএফ ফন্ট ব্যবহার করা যাচ্ছে না।
+document_colors_disabled=পিডিএফ ডকুমেন্টকে তাদের নিজস্ব রঙ ব্যবহারে অনুমতি নেই: 'পাতা তাদের নিজেস্ব রঙ নির্বাচন করতে অনুমতি দিন' এই ব্রাউজারে নিষ্ক্রিয় রয়েছে।
diff --git a/lib/viewers/pdf/locale/bn-IN/viewer.properties b/lib/viewers/pdf/locale/bn-IN/viewer.properties
new file mode 100644
index 0000000..42936f4
--- /dev/null
+++ b/lib/viewers/pdf/locale/bn-IN/viewer.properties
@@ -0,0 +1,161 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=পূর্ববর্তী পৃষ্ঠা
+previous_label=পূর্ববর্তী
+next.title=পরবর্তী পৃষ্ঠা
+next_label=পরবর্তী
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=পৃষ্ঠা:
+page_of=সর্বমোট {{pageCount}}
+
+zoom_out.title=ছোট মাপে প্রদর্শন
+zoom_out_label=ছোট মাপে প্রদর্শন
+zoom_in.title=বড় মাপে প্রদর্শন
+zoom_in_label=বড় মাপে প্রদর্শন
+zoom.title=প্রদর্শনের মাপ
+presentation_mode.title=উপস্থাপনা মোড স্যুইচ করুন
+presentation_mode_label=উপস্থাপনা মোড
+open_file.title=ফাইল খুলুন
+open_file_label=খুলুন
+print.title=প্রিন্ট করুন
+print_label=প্রিন্ট করুন
+download.title=ডাউনলোড করুন
+download_label=ডাউনলোড করুন
+bookmark.title=বর্তমান প্রদর্শন (কপি করুন অথবা নতুন উইন্ডোতে খুলুন)
+bookmark_label=বর্তমান প্রদর্শন
+
+# Secondary toolbar and context menu
+tools.title=সরঞ্জাম
+tools_label=সরঞ্জাম
+first_page.title=প্রথম পৃষ্ঠায় চলুন
+first_page.label=প্রথম পৃষ্ঠায় চলুন
+first_page_label=প্রথম পৃষ্ঠায় চলুন
+last_page.title=সর্বশেষ পৃষ্ঠায় চলুন
+last_page.label=সর্বশেষ পৃষ্ঠায় চলুন
+last_page_label=সর্বশেষ পৃষ্ঠায় চলুন
+page_rotate_cw.title=ডানদিকে ঘোরানো হবে
+page_rotate_cw.label=ডানদিকে ঘোরানো হবে
+page_rotate_cw_label=ডানদিকে ঘোরানো হবে
+page_rotate_ccw.title=বাঁদিকে ঘোরানো হবে
+page_rotate_ccw.label=বাঁদিকে ঘোরানো হবে
+page_rotate_ccw_label=বাঁদিকে ঘোরানো হবে
+
+hand_tool_enable.title=হ্যান্ড টুল সক্রিয় করুন
+hand_tool_enable_label=হ্যান্ড টুল সক্রিয় করুন
+hand_tool_disable.title=হ্যান্ড টুল নিস্ক্রিয় করুন
+hand_tool_disable_label=হ্যান্ড টুল নিস্ক্রিয় করুন
+
+# Document properties dialog box
+document_properties.title=নথির বৈশিষ্ট্য…
+document_properties_label=নথির বৈশিষ্ট্য…
+document_properties_file_name=ফাইলের নাম:
+document_properties_file_size=ফাইলের মাপ:
+document_properties_kb={{size_kb}} KB ({{size_b}} bytes)
+document_properties_mb={{size_mb}} মেগাবাইট ({{size_b}} bytes)
+document_properties_title=শিরোনাম:
+document_properties_author=লেখক:
+document_properties_subject=বিষয়:
+document_properties_keywords=নির্দেশক শব্দ:
+document_properties_creation_date=নির্মাণের তারিখ:
+document_properties_modification_date=পরিবর্তনের তারিখ:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=নির্মাতা:
+document_properties_producer=PDF নির্মাতা:
+document_properties_version=PDF সংস্করণ:
+document_properties_page_count=মোট পৃষ্ঠা:
+document_properties_close=বন্ধ করুন
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=সাইডবার টগল করুন
+toggle_sidebar_label=সাইডবার টগল করুন
+outline.title=নথির রূপরেখা প্রদর্শন
+outline_label=নথির রূপরেখা প্রদর্শন
+thumbs.title=থাম্ব-নেইল প্রদর্শন
+thumbs_label=থাম্ব-নেইল প্রদর্শন
+findbar.title=নথিতে খুঁজুন
+findbar_label=অনুসন্ধান করুন
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=পৃষ্ঠা {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=পৃষ্ঠা {{page}}-র থাম্ব-নেইল
+
+# Find panel button title and messages
+find_label=অনুসন্ধান:
+find_previous.title=চিহ্নিত পংক্তির পূর্ববর্তী উপস্থিতি অনুসন্ধান করুন
+find_previous_label=পূর্ববর্তী
+find_next.title=চিহ্নিত পংক্তির পরবর্তী উপস্থিতি অনুসন্ধান করুন
+find_next_label=পরবর্তী
+find_highlight=সমগ্র উজ্জ্বল করুন
+find_match_case_label=হরফের ছাঁদ মেলানো হবে
+find_reached_top=পৃষ্ঠার প্রারম্ভে পৌছে গেছে, নীচের অংশ থেকে আরম্ভ করা হবে
+find_reached_bottom=পৃষ্ঠার অন্তিম প্রান্তে পৌছে গেছে, প্রথম অংশ থেকে আরম্ভ করা হবে
+find_not_found=পংক্তি পাওয়া যায়নি
+
+# Error panel labels
+error_more_info=অতিরিক্ত তথ্য
+error_less_info=কম তথ্য
+error_close=বন্ধ করুন
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Message: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Stack: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=File: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Line: {{line}}
+rendering_error=পৃষ্ঠা প্রদর্শনকালে একটি সমস্যা দেখা দিয়েছে।
+
+# Predefined zoom values
+page_scale_width=পৃষ্ঠার প্রস্থ অনুযায়ী
+page_scale_fit=পৃষ্ঠার মাপ অনুযায়ী
+page_scale_auto=স্বয়ংক্রিয় মাপ নির্ধারণ
+page_scale_actual=প্রকৃত মাপ
+
+# Loading indicator messages
+loading_error_indicator=ত্রুটি
+loading_error=PDF লোড করার সময় সমস্যা দেখা দিয়েছে।
+invalid_file_error=অবৈধ বা ক্ষতিগ্রস্ত পিডিএফ ফাইল।
+missing_file_error=অনুপস্থিত PDF ফাইল
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} Annotation]
+password_label=এই PDF ফাইল খোলার জন্য পাসওয়ার্ড দিন।
+password_invalid=পাসওয়ার্ড সঠিক নয়। অনুগ্রহ করে পুনরায় প্রচেষ্টা করুন।
+password_ok=OK
+password_cancel=বাতিল করুন
+
+printing_not_supported=সতর্কবার্তা: এই ব্রাউজার দ্বারা প্রিন্ট ব্যবস্থা সম্পূর্ণরূপে সমর্থিত নয়।
+printing_not_ready=সতর্কবাণী: পিডিএফ সম্পূর্ণরূপে মুদ্রণের জন্য লোড করা হয় না.
+web_fonts_disabled=ওয়েব ফন্ট নিষ্ক্রিয় করা হয়েছে: এমবেডেড পিডিএফ ফন্ট ব্যবহার করতে অক্ষম.
+document_colors_disabled=পিডিএফ নথি তাদের নিজস্ব রং ব্যবহার করার জন্য অনুমতিপ্রাপ্ত নয়: ব্রাউজারে নিষ্ক্রিয় করা হয়েছে য়েন 'পেজ তাদের নিজস্ব রং নির্বাচন করার অনুমতি প্রদান করা য়ায়।'
diff --git a/lib/viewers/pdf/locale/br/viewer.properties b/lib/viewers/pdf/locale/br/viewer.properties
new file mode 100644
index 0000000..de80639
--- /dev/null
+++ b/lib/viewers/pdf/locale/br/viewer.properties
@@ -0,0 +1,163 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Pajenn a-raok
+previous_label=A-raok
+next.title=Pajenn war-lerc'h
+next_label=War-lerc'h
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Pajenn :
+page_of=eus {{pageCount}}
+
+zoom_out.title=Zoum bihanaat
+zoom_out_label=Zoum bihanaat
+zoom_in.title=Zoum brasaat
+zoom_in_label=Zoum brasaat
+zoom.title=Zoum
+presentation_mode.title=Trec'haoliñ etrezek ar mod kinnigadenn
+presentation_mode_label=Mod kinnigadenn
+open_file.title=Digeriñ ur restr
+open_file_label=Digeriñ ur restr
+print.title=Moullañ
+print_label=Moullañ
+download.title=Pellgargañ
+download_label=Pellgargañ
+bookmark.title=Gwel bremanel (eilañ pe zigeriñ e-barzh ur prenestr nevez)
+bookmark_label=Gwel bremanel
+
+# Secondary toolbar and context menu
+tools.title=Ostilhoù
+tools_label=Ostilhoù
+first_page.title=Mont d'ar bajenn gentañ
+first_page.label=Mont d'ar bajenn gentañ
+first_page_label=Mont d'ar bajenn gentañ
+last_page.title=Mont d'ar bajenn diwezhañ
+last_page.label=Mont d'ar bajenn diwezhañ
+last_page_label=Mont d'ar bajenn diwezhañ
+page_rotate_cw.title=C'hwelañ gant roud ar bizied
+page_rotate_cw.label=C'hwelañ gant roud ar bizied
+page_rotate_cw_label=C'hwelañ gant roud ar bizied
+page_rotate_ccw.title=C'hwelañ gant roud gin ar bizied
+page_rotate_ccw.label=C'hwelañ gant roud gin ar bizied
+page_rotate_ccw_label=C'hwelañ gant roud gin ar bizied
+
+hand_tool_enable.title=Gweredekaat an ostilh "dorn"
+hand_tool_enable_label=Gweredekaat an ostilh "dorn"
+hand_tool_disable.title=Diweredekaat an ostilh "dorn"
+hand_tool_disable_label=Diweredekaat an ostilh "dorn"
+
+# Document properties dialog box
+document_properties.title=Perzhioù an teul…
+document_properties_label=Perzhioù an teul…
+document_properties_file_name=Anv restr :
+document_properties_file_size=Ment ar restr :
+document_properties_kb={{size_kb}} Ke ({{size_b}} eizhbit)
+document_properties_mb={{size_mb}} Me ({{size_b}} eizhbit)
+document_properties_title=Titl :
+document_properties_author=Aozer :
+document_properties_subject=Danvez :
+document_properties_keywords=Gerioù-alc'hwez :
+document_properties_creation_date=Deiziad krouiñ :
+document_properties_modification_date=Deiziad kemmañ :
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Krouer :
+document_properties_producer=Kenderc'her PDF :
+document_properties_version=Handelv PDF :
+document_properties_page_count=Niver a bajennoù :
+document_properties_close=Serriñ
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Diskouez/kuzhat ar varrenn gostez
+toggle_sidebar_label=Diskouez/kuzhat ar varrenn gostez
+outline.title=Diskouez ar sinedoù
+outline_label=Sinedoù an teuliad
+attachments.title=Diskouez ar c'henstagadurioù
+attachments_label=Kenstagadurioù
+thumbs.title=Diskouez ar melvennoù
+thumbs_label=Melvennoù
+findbar.title=Klask e-barzh an teuliad
+findbar_label=Klask
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Pajenn {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Melvenn ar bajenn {{page}}
+
+# Find panel button title and messages
+find_label=Kavout :
+find_previous.title=Kavout an tamm frazenn kent o klotañ ganti
+find_previous_label=Kent
+find_next.title=Kavout an tamm frazenn war-lerc'h o klotañ ganti
+find_next_label=War-lerc'h
+find_highlight=Usskediñ pep tra
+find_match_case_label=Teurel evezh ouzh ar pennlizherennoù
+find_reached_top=Tizhet eo bet derou ar bajenn, kenderc'hel diouzh an diaz
+find_reached_bottom=Tizhet eo bet dibenn ar bajenn, kenderc'hel diouzh ar c'hrec'h
+find_not_found=N'haller ket kavout ar frazenn
+
+# Error panel labels
+error_more_info=Muioc'h a ditouroù
+error_less_info=Nebeutoc'h a ditouroù
+error_close=Serriñ
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js handelv {{version}} (kempunadur : {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Kemennadenn : {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Torn : {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Restr : {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Linenn : {{line}}
+rendering_error=Degouezhet ez eus bet ur fazi e-pad skrammañ ar bajennad.
+
+# Predefined zoom values
+page_scale_width=Led ar bajenn
+page_scale_fit=Pajenn a-bezh
+page_scale_auto=Zoum emgefreek
+page_scale_actual=Ment wir
+
+# Loading indicator messages
+loading_error_indicator=Fazi
+loading_error=Degouezhet ez eus bet ur fazi e-pad kargañ ar PDF.
+invalid_file_error=Restr PDF didalvoudek pe kontronet.
+missing_file_error=Restr PDF o vankout.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} Notennañ]
+password_label=Enankit ar ger-tremen evit digeriñ ar restr PDF-mañ.
+password_invalid=Ger-tremen didalvoudek. Klaskit en-dro mar plij.
+password_ok=Mat eo
+password_cancel=Nullañ
+
+printing_not_supported=Kemenn : N'eo ket skoret penn-da-benn ar moullañ gant ar merdeer-mañ.
+printing_not_ready=Kemenn : N'hall ket bezañ moullet ar restr PDF rak n'eo ket karget penn-da-benn.
+web_fonts_disabled=Diweredekaet eo an nodrezhoù web : n'haller ket arverañ an nodrezhoù PDF enframmet.
+document_colors_disabled=N'eo ket aotreet an teuliadoù PDF da arverañ o livioù dezho : diweredekaet eo 'Aotren ar pajennoù da zibab o livioù dezho' e-barzh ar merdeer.
diff --git a/lib/viewers/pdf/locale/bs/viewer.properties b/lib/viewers/pdf/locale/bs/viewer.properties
new file mode 100644
index 0000000..a89bf7a
--- /dev/null
+++ b/lib/viewers/pdf/locale/bs/viewer.properties
@@ -0,0 +1,125 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Prethodna strana
+previous_label=Prethodna
+next.title=Sljedeća strna
+next_label=Sljedeća
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Strana:
+page_of=od {{pageCount}}
+
+zoom_out.title=Umanji
+zoom_out_label=Umanji
+zoom_in.title=Uvećaj
+zoom_in_label=Uvećaj
+zoom.title=Uvećanje
+print.title=Štampaj
+print_label=Štampaj
+presentation_mode.title=Prebaci se u prezentacijski režim
+presentation_mode_label=Prezentacijski režim
+open_file.title=Otvori fajl
+open_file_label=Otvori
+download.title=Preuzmi
+download_label=Preuzmi
+bookmark.title=Trenutni prikaz (kopiraj ili otvori u novom prozoru)
+bookmark_label=Trenutni prikaz
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Uključi/isključi bočnu traku
+toggle_sidebar_label=Uključi/isključi bočnu traku
+outline.title=Prikaži konture dokumenta
+outline_label=Konture dokumenta
+thumbs.title=Prikaži thumbnailove
+thumbs_label=Thumbnailovi
+findbar.title=Pronađi u dokumentu
+findbar_label=Pronađi
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Strana {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Thumbnail strane {{page}}
+
+# Context menu
+first_page.label=Idi na prvu stranu
+last_page.label=Idi na zadnju stranu
+page_rotate_cw.label=Rotiraj u smjeru kazaljke na satu
+page_rotate_ccw.label=Rotiraj suprotno smjeru kazaljke na satu
+
+# Find panel button title and messages
+find_label=Pronađi:
+find_previous.title=Pronađi prethodno pojavljivanje fraze
+find_previous_label=Prethodno
+find_next.title=Pronađi sljedeće pojavljivanje fraze
+find_next_label=Sljedeće
+find_highlight=Označi sve
+find_match_case_label=Osjetljivost na karaktere
+find_reached_top=Dostigao sam vrh dokumenta, nastavljam sa dna
+find_reached_bottom=Dostigao sam kraj dokumenta, nastavljam sa vrha
+find_not_found=Fraza nije pronađena
+
+# Error panel labels
+error_more_info=Više informacija
+error_less_info=Manje informacija
+error_close=Zatvori
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Poruka: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Stack: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Fajl: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Linija: {{line}}
+rendering_error=Došlo je do greške prilikom renderiranja strane.
+
+# Predefined zoom values
+page_scale_width=Širina strane
+page_scale_fit=Uklopi stranu
+page_scale_auto=Automatsko uvećanje
+page_scale_actual=Stvarna veličina
+
+# Loading indicator messages
+# LOCALIZATION NOTE (error_line): "{{[percent}}" will be replaced with a percentage
+loading_error_indicator=Greška
+loading_error=Došlo je do greške prilikom učitavanja PDF-a.
+invalid_file_error=Neispravan ili oštećen PDF fajl.
+missing_file_error=Nedostaje PDF fajl.
+
+# LOCALIZATION NOTE (text_annotation_type): This is used as a tooltip.
+# "{{[type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} pribilješka]
+request_password=PDF je zaštićen lozinkom:
+invalid_password=Pogrešna lozinka.
+
+printing_not_supported=Upozorenje: Štampanje nije u potpunosti podržano u ovom browseru.
+printing_not_ready=Upozorenje: PDF nije u potpunosti učitan za štampanje.
+web_fonts_disabled=Web fontovi su onemogućeni: nemoguće koristiti ubačene PDF fontove.
+document_colors_disabled=PDF dokumentima nije dozvoljeno da koriste vlastite boje: \'Dozvoli stranicama da izaberu vlastite boje\' je deaktivirano u browseru.
diff --git a/lib/viewers/pdf/locale/ca/chrome.properties b/lib/viewers/pdf/locale/ca/chrome.properties
deleted file mode 100644
index 2fb6413..0000000
--- a/lib/viewers/pdf/locale/ca/chrome.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-# Copyright 2012 Mozilla Foundation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Chrome notification bar messages and buttons
-unsupported_feature=No es pot visualitzar el docuement.
-open_with_different_viewer=Obri-ho amb un altre visor.
-open_with_different_viewer.accessKey=o
diff --git a/lib/viewers/pdf/locale/ca/metadata.inc b/lib/viewers/pdf/locale/ca/metadata.inc
deleted file mode 100644
index 30ca643..0000000
--- a/lib/viewers/pdf/locale/ca/metadata.inc
+++ /dev/null
@@ -1,8 +0,0 @@
- <em:localized>
- <Description>
- <em:locale>ca</em:locale>
- <em:name>Visor d'arxius PDF</em:name>
- <em:description>HTML5 per veure documents</em:description>
- </Description>
- </em:localized>
-
diff --git a/lib/viewers/pdf/locale/ca/viewer.properties b/lib/viewers/pdf/locale/ca/viewer.properties
index 84b515d..d55ef21 100644
--- a/lib/viewers/pdf/locale/ca/viewer.properties
+++ b/lib/viewers/pdf/locale/ca/viewer.properties
@@ -1,124 +1,161 @@
-# Copyright 2012 Mozilla Foundation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Main toolbar buttons (tooltips and alt text for images)
-previous.title=Pàgina anterior
-previous_label=Anterior
-next.title=Pàgina següent
-next_label=Següent
-
-# LOCALIZATION NOTE (page_label, page_of):
-# These strings are concatenated to form the "Page: X of Y" string.
-# Do not translate "{{pageCount}}", it will be substituted with a number
-# representing the total number of pages.
-page_label=Pàgina:
-page_of=de {{pageCount}}
-
-zoom_out.title=Reduir
-zoom_out_label=Reduir
-zoom_in.title=Ampliar
-zoom_in_label=Ampliar
-zoom.title=Ampliació
-print.title=Imprimir
-print_label=Imprimir
-fullscreen.title=Pantalla completa
-fullscreen_label=Pantalla completa
-presentation_mode.title=Canviar a mode de Presentació
-presentation_mode_label=Mode de Presentació
-open_file.title=Obrir arxiu
-open_file_label=Obrir
-download.title=Descarregar
-download_label=Descarregar
-bookmark.title=Vista actual (copiï o obri en una finestra nova)
-bookmark_label=Vista actual
-
-# Tooltips and alt text for side panel toolbar buttons
-# (the _label strings are alt text for the buttons, the .title strings are
-# tooltips)
-toggle_slider.title=Alternar lliscador
-toggle_slider_label=Alternar lliscador
-outline.title=Mostrar esquema del document
-outline_label=Esquema del document
-thumbs.title=Mostrar miniatures
-thumbs_label=Miniatures
-findbar.title=Cercar en el document
-findbar_label=Cercar
-
-# Thumbnails panel item (tooltip and alt text for images)
-# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
-# number.
-thumb_page_title=Pàgina {{page}}
-# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
-# number.
-thumb_page_canvas=Miniatura de la pàgina {{page}}
-
-# Find panel button title and messages
-find=Cercar
-find_terms_not_found=(No trobat)
-# Context menu
-first_page.label=Primera pàgina
-last_page.label=Darrera pàgina
-page_rotate_cw.label=Rotar sentit horari
-page_rotate_ccw.label=Rotar sentit anti-horari
-
-# Find panel button title and messages
-find_label=Cerca:
-find_previous.title=Trobar ocurrència anterior
-find_previous_label=Previ
-find_next.title=Trobar ocurrència posterior
-find_next_label=Següent
-find_highlight=Contrastar tot
-find_match_case_label=Majúscules i minúscules
-find_wrapped_to_bottom=Part superior assolida, continu a la part inferior
-find_wrapped_to_top=Final de pàgina finalitzada, continu a la part superior
-find_not_found=Frase no trobada
-
-# Error panel labels
-error_more_info=Més informació
-error_less_info=Menys informació
-error_close=Tancar
-# LOCALIZATION NOTE (error_build): "{{build}}" will be replaced by the PDF.JS
-# build ID.
-error_build=Compilació de PDF.JS: {{build}}
-# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
-# english string describing the error.
-error_message=Missatge: {{message}}
-# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
-# trace.
-error_stack=Pila: {{stack}}
-# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
-error_file=Arxiu: {{file}}
-# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
-error_line=Línia: {{line}}
-rendering_error=Ha ocurregut un error mentre es renderitzava la pàgina.
-
-# Predefined zoom values
-page_scale_width=Ample de pàgina
-page_scale_fit=Ajustar a la pàgina
-page_scale_auto=Ampliació automàtica
-page_scale_actual=Tamany real
-
-# Loading indicator messages
-loading_error_indicator=Error
-loading_error=Ha ocorregut un error mentres es carregava el PDF.
-invalid_file_error=Invàlid o fitxer PDF corrupte.
-
-# LOCALIZATION NOTE (text_annotation_type): This is used as a tooltip.
-# "{{type}}" will be replaced with an annotation type from a list defined in
-# the PDF spec (32000-1:2008 Table 169 – Annotation types).
-# Some common types are e.g.: "Check", "Text", "Comment", "Note"
-text_annotation_type=[Anotació {{type}}]
-request_password=El PDF està protegit amb una contrasenya:
-
-printing_not_supported=Avís: La impressió no és compatible totalment en aquest navegador.
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Pàgina anterior
+previous_label=Anterior
+next.title=Pàgina següent
+next_label=Següent
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Pàgina:
+page_of=de {{pageCount}}
+
+zoom_out.title=Allunya
+zoom_out_label=Allunya
+zoom_in.title=Apropa
+zoom_in_label=Apropa
+zoom.title=Escala
+presentation_mode.title=Canvia al mode de presentació
+presentation_mode_label=Mode de presentació
+open_file.title=Obre el fitxer
+open_file_label=Obre
+print.title=Imprimeix
+print_label=Imprimeix
+download.title=Baixa
+download_label=Baixa
+bookmark.title=Vista actual (copia o obre en una finestra nova)
+bookmark_label=Vista actual
+
+# Secondary toolbar and context menu
+tools.title=Eines
+tools_label=Eines
+first_page.title=Vés a la primera pàgina
+first_page.label=Vés a la primera pàgina
+first_page_label=Vés a la primera pàgina
+last_page.title=Vés a l'última pàgina
+last_page.label=Vés a l'última pàgina
+last_page_label=Vés a l'última pàgina
+page_rotate_cw.title=Gira cap a la dreta
+page_rotate_cw.label=Gira cap a la dreta
+page_rotate_cw_label=Gira cap a la dreta
+page_rotate_ccw.title=Gira cap a l'esquerra
+page_rotate_ccw.label=Gira cap a l'esquerra
+page_rotate_ccw_label=Gira cap a l'esquerra
+
+hand_tool_enable.title=Habilita l'eina de mà
+hand_tool_enable_label=Habilita l'eina de mà
+hand_tool_disable.title=Inhabilita l'eina de mà
+hand_tool_disable_label=Inhabilita l'eina de mà
+
+# Document properties dialog box
+document_properties.title=Propietats del document…
+document_properties_label=Propietats del document…
+document_properties_file_name=Nom del fitxer:
+document_properties_file_size=Mida del fitxer:
+document_properties_kb={{size_kb}} KB ({{size_b}} bytes)
+document_properties_mb={{size_mb}} MB ({{size_b}} bytes)
+document_properties_title=Títol:
+document_properties_author=Autor:
+document_properties_subject=Assumpte:
+document_properties_keywords=Paraules clau:
+document_properties_creation_date=Data de creació:
+document_properties_modification_date=Data de modificació:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Creador:
+document_properties_producer=Generador de PDF:
+document_properties_version=Versió de PDF:
+document_properties_page_count=Nombre de pàgines:
+document_properties_close=Tanca
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Mostra/amaga la barra lateral
+toggle_sidebar_label=Mostra/amaga la barra lateral
+outline.title=Mostra el contorn del document
+outline_label=Contorn del document
+thumbs.title=Mostra les miniatures
+thumbs_label=Miniatures
+findbar.title=Cerca al document
+findbar_label=Cerca
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Pàgina {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Miniatura de la pàgina {{page}}
+
+# Find panel button title and messages
+find_label=Cerca:
+find_previous.title=Cerca l'anterior coincidència de l'expressió
+find_previous_label=Anterior
+find_next.title=Cerca la següent coincidència de l'expressió
+find_next_label=Següent
+find_highlight=Ressalta-ho tot
+find_match_case_label=Distingeix entre majúscules i minúscules
+find_reached_top=S'ha arribat al principi del document, es continua pel final
+find_reached_bottom=S'ha arribat al final del document, es continua pel principi
+find_not_found=No s'ha trobat l'expressió
+
+# Error panel labels
+error_more_info=Més informació
+error_less_info=Menys informació
+error_close=Tanca
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (muntatge: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Missatge: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Pila: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Fitxer: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Línia: {{line}}
+rendering_error=S'ha produït un error mentre es renderitzava la pàgina
+
+# Predefined zoom values
+page_scale_width=Amplària de la pàgina
+page_scale_fit=Ajusta la pàgina
+page_scale_auto=Zoom automàtic
+page_scale_actual=Mida real
+
+# Loading indicator messages
+loading_error_indicator=Error
+loading_error=S'ha produït un error en carregar el PDF.
+invalid_file_error=El fitxer PDF no és vàlid o està malmès.
+missing_file_error=Falta el fitxer PDF.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[Anotació {{type}}]
+password_label=Introduïu la contrasenya per obrir aquest fitxer PDF.
+password_invalid=La contrasenya no és vàlida. Torneu-ho a provar.
+password_ok=D'acord
+password_cancel=Cancel·la
+
+printing_not_supported=Avís: la impressió no és plenament funcional en aquest navegador.
+printing_not_ready=Atenció: el PDF no s'ha acabat de carregar per imprimir-lo.
+web_fonts_disabled=Les fonts web estan inhabilitades: no es poden incrustar fitxers PDF.
+document_colors_disabled=Els documents PDF no poden usar els seus colors propis: «Permet a les pàgines triar els colors propis» es troba desactivat al navegador.
diff --git a/lib/viewers/pdf/locale/cs/metadata.inc b/lib/viewers/pdf/locale/cs/metadata.inc
deleted file mode 100644
index ed5c2a1..0000000
--- a/lib/viewers/pdf/locale/cs/metadata.inc
+++ /dev/null
@@ -1,8 +0,0 @@
- <em:localized>
- <Description>
- <em:locale>cs</em:locale>
- <em:name>PDF Viewer</em:name>
- <em:description>Používá HTML5 pro zobrazení PDF souborů přímo ve Firefoxu.</em:description>
- </Description>
- </em:localized>
-
diff --git a/lib/viewers/pdf/locale/cs/viewer.properties b/lib/viewers/pdf/locale/cs/viewer.properties
index 83f12b2..7ff9ac9 100644
--- a/lib/viewers/pdf/locale/cs/viewer.properties
+++ b/lib/viewers/pdf/locale/cs/viewer.properties
@@ -12,47 +12,152 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-bookmark.title=Aktuální zobrazení (zkopírovat nebo otevřít v novém okně)
+# Main toolbar buttons (tooltips and alt text for images)
previous.title=Předchozí stránka
+previous_label=Předchozí
next.title=Další stránka
-print.title=Tisk
-download.title=Stáhnout
-zoom_out.title=Zmenšit
-zoom_in.title=Zvětšit
+next_label=Další
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Stránka:
+page_of=z {{pageCount}}
+
+zoom_out.title=Zmenší velikost
+zoom_out_label=Zmenšit
+zoom_in.title=Zvětší velikost
+zoom_in_label=Zvětšit
+zoom.title=Nastaví velikost
+presentation_mode.title=Přepne režimu prezentace
+presentation_mode_label=Režim prezentace
+open_file.title=Otevře soubor
+open_file_label=Otevřít
+print.title=Vytiskne dokument
+print_label=Tisk
+download.title=Stáhne dokument
+download_label=Stáhnout
+bookmark.title=Aktuální pohled (kopírovat nebo otevřít v novém okně)
+bookmark_label=Aktuální pohled
+
+# Secondary toolbar and context menu
+tools.title=Nástroje
+tools_label=Nástroje
+first_page.title=Přejde na první stránku
+first_page.label=Přejít na první stránku
+first_page_label=Přejít na první stránku
+last_page.title=Přejde na poslední stránku
+last_page.label=Přejít na poslední stránku
+last_page_label=Přejít na poslední stránku
+page_rotate_cw.title=Otočí po směru hodin
+page_rotate_cw.label=Otočit po směru hodin
+page_rotate_cw_label=Otočit po směru hodin
+page_rotate_ccw.title=Otočí proti směru hodin
+page_rotate_ccw.label=Otočit proti směru hodin
+page_rotate_ccw_label=Otočit proti směru hodin
+
+hand_tool_enable.title=Povolit nástroj ručička
+hand_tool_enable_label=Povolit nástroj ručička
+hand_tool_disable.title=Zakázat nástroj ručička
+hand_tool_disable_label=Zakázat nástroj ručička
+
+# Document properties dialog box
+document_properties.title=Vlastnosti dokumentu…
+document_properties_label=Vlastnosti dokumentu…
+document_properties_file_name=Název souboru:
+document_properties_file_size=Velikost souboru:
+document_properties_kb={{size_kb}} kB ({{size_b}} bytes)
+document_properties_mb={{size_mb}} MB ({{size_b}} bytes)
+document_properties_title=Nadpis:
+document_properties_author=Autor:
+document_properties_subject=Subjekt:
+document_properties_keywords=Klíčová slova:
+document_properties_creation_date=Datum vytvoření:
+document_properties_modification_date=Datum úpravy:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Vytvořil:
+document_properties_producer=Tvůrce PDF:
+document_properties_version=Verze PDF:
+document_properties_page_count=Počet stránek:
+document_properties_close=Zavřít
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Postranní lišta
+toggle_sidebar_label=Postranní lišta
+outline.title=Zobrazí osnovu dokumentu
+outline_label=Osnova dokumentu
+attachments.title=Zobrazí přílohy
+attachments_label=Přílohy
+thumbs.title=Zobrazí náhledy
+thumbs_label=Náhledy
+findbar.title=Najde v dokumentu
+findbar_label=Najít
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Strana {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Náhled strany {{page}}
+
+# Find panel button title and messages
+find_label=Najít:
+find_previous.title=Najde předchozí výskyt hledaného spojení
+find_previous_label=Předchozí
+find_next.title=Najde další výskyt hledaného spojení
+find_next_label=Další
+find_highlight=Zvýraznit
+find_match_case_label=Rozlišovat velikost
+find_reached_top=Dosažen začátek dokumentu, pokračuje se od konce
+find_reached_bottom=Dosažen konec dokumentu, pokračuje se o začátku
+find_not_found=Hledané spojení nenalezeno
+
+# Error panel labels
error_more_info=Více informací
error_less_info=Méně informací
error_close=Zavřít
-error_build=PDF.JS Build: {{build}}
-error_message=Zpráva:{{message}}
-error_stack=Stack:{{stack}}
-error_file=Soubor:{{file}}
-error_line=Řádek:{{line}}
-page_scale_width=Šířka stránky
-page_scale_fit=Stránka
-page_scale_auto=Automatické přibližení
-page_scale_actual=Skutečná velikost
-toggle_slider.title=Přepnout posuvník
-thumbs.title=Zobrazit náhledy
-outline.title=Zobrazit osnovu dokumentu
-loading=Načítám... {{percent}}%
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (sestavení: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Zpráva: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Zásobník: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Soubor: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Řádka: {{line}}
+rendering_error=Při vykreslování stránky nastala chyba.
+
+# Predefined zoom values
+page_scale_width=Podle šířky
+page_scale_fit=Podle výšky
+page_scale_auto=Automatická velikost
+page_scale_actual=Aktuální velikost
+
+# Loading indicator messages
loading_error_indicator=Chyba
-loading_error=Došlo k chybě při načítání PDF.
-rendering_error=Došlo k chybě při vykreslování stránky.
-page_label=Stránka:
-page_of=z{{pageCount}}
-open_file.title=Otevřít soubor
-text_annotation_type=[{{type}}Anotace]
-toggle_slider_label=Přepnout posuvník
-thumbs_label=Náhledy
-outline_label=Přehled dokumentu
-bookmark_label=Aktuální zobrazení
-previous_label=Předchozí
-next_label=Další
-print_label=Tisk
-download_label=Stáhnout
-zoom_out_label=Zmenšit
-zoom_in_label=Přiblížit
-zoom.title=Zvětšit
-thumb_page_title=Stránka{{page}}
-thumb_page_canvas=Náhled stránky {{page}}
-request_password=PDF je chráněn heslem:
+loading_error=Při nahrávání PDF nastala chyba.
+invalid_file_error=Neplatný nebo chybný soubor PDF.
+missing_file_error=Chybí soubor PDF.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[Anotace typu {{type}}]
+password_label=Pro otevření PDF souboru vložte heslo.
+password_invalid=Neplatné heslo. Zkuste to znovu.
+password_ok=OK
+password_cancel=Zrušit
+
+printing_not_supported=Upozornění: Tisk není v tomto prohlížeči plně podporován.
+printing_not_ready=Upozornění: Dokument PDF není kompletně načten.
+web_fonts_disabled=Webová písma jsou zakázána, proto není možné použít vložená písma PDF.
+document_colors_disabled=PDF dokumenty nemají povoleny používání vlastních barev: volba \'Povolit stránkám používat vlastní barvy namísto výše zvolených\' je v prohlížeči deaktivována.
diff --git a/lib/viewers/pdf/locale/csb/viewer.properties b/lib/viewers/pdf/locale/csb/viewer.properties
new file mode 100644
index 0000000..293a353
--- /dev/null
+++ b/lib/viewers/pdf/locale/csb/viewer.properties
@@ -0,0 +1,134 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Pòprzédnô strona
+previous_label=Pòprzédnô
+next.title=Nôslédnô strona
+next_label=Nôslédnô
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Strona:
+page_of=z {{pageCount}}
+
+zoom_out.title=Zmniészë
+zoom_out_label=Zmniészë
+zoom_in.title=Zwikszë
+zoom_in_label=Wiôlgòsc
+zoom.title=Wiôlgòsc
+print.title=Drëkùjë
+print_label=Drëkùjë
+presentation_mode.title=Przéńdzë w trib prezentacje
+presentation_mode_label=Trib prezentacje
+open_file.title=Òtemkni lopk
+open_file_label=Òtemkni
+download.title=Zladënk
+download_label=Zladënk
+bookmark.title=Spamiãtôj wëzdrzatk (kòpérëje, abò òtemkni w nowim òknnie)
+bookmark_label=Aktualny wëzdrzatk
+
+find_label=Szëkôj:
+find_previous.title=Biéj do pòprzédnégò wënikù szëkbë
+find_previous_label=Pòprzédny
+find_next.title=Biéj do nôslédnégò wënikù szëkbë
+find_next_label=Nôslédny
+find_highlight=Pòdszkrzëni wszëtczé
+find_match_case_label=Rozeznôwôj miarã lëterów
+find_not_found=Nie nalôzł tekstu
+find_reached_bottom=Doszedł do kùńca dokùmentu, zaczinającë òd górë
+find_reached_top=Doszedł do pòczątkù dokùmentu, zaczinającë òd dołù
+
+toggle_sidebar.title=Pòsuwk wëbiérkù
+toggle_sidebar_label=Pòsuwk wëbiérkù
+
+outline.title=Wëskrzëni òbcéch dokùmentu
+outline_label=Òbcéch dokùmentu
+thumbs.title=Wëskrzëni miniaturë
+thumbs_label=Miniaturë
+findbar.title=Przeszëkôj dokùment
+findbar_label=Nalezë
+tools_label=Nôrzãdła
+first_page.title=Biéj do pierszi stronë
+first_page.label=Biéj do pierszi stronë
+last_page.label=Biéj do òstatny stronë
+invalid_file_error=Lëchi ôrt, abò pòpsëti lopk PDF.
+
+
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Strona {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Miniatura stronë {{page}}
+
+# Error panel labels
+error_more_info=Wicy infòrmacje
+error_less_info=Mni infòrmacje
+error_close=Close
+error_version_info=PDF.js v{{version}} (build: {{build}})
+
+
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Message: {{wiadło}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Stack: {{stóg}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=File: {{lopk}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Line: {{line}}
+rendering_error=Pòkôza sã fela przë renderowanim stronë.
+
+# Predefined zoom values
+page_scale_width=Szérzawa stronë
+page_scale_fit=Dopasëje stronã
+page_scale_auto=Aùtomatnô wiôlgòsc
+page_scale_actual=Naturalnô wiôlgòsc
+
+# Loading indicator messages
+# LOCALIZATION NOTE (error_line): "{{[percent}}" will be replaced with a percentage
+loading_error_indicator=Fela
+loading_error=Pòkôza sã fela przë wczëtiwanim PDFù.
+
+# LOCALIZATION NOTE (text_annotation_type): This is used as a tooltip.
+# "{{[type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+
+request_password=PDF je zabezpieczony parolą:
+printing_not_supported = Òstrzéga: przezérnik nie je do kùńca wspieróny przez drëkôrze
+
+# Context menu
+page_rotate_cw.label=Òbkrãcë w prawò
+page_rotate_ccw.label=Òbkrãcë w lewò
+
+
+last_page.title=Biéj do pòprzédny stronë
+last_page_label=Biéj do pòprzédny stronë
+page_rotate_cw.title=Òbkrãcë w prawò
+page_rotate_cw_label=Òbkrãcë w prawò
+page_rotate_ccw.title=Òbkrãcë w lewò
+page_rotate_ccw_label=Òbkrãcë w lewò
+
+
+web_fonts_disabled=Sécowé czconczi są wëłączoné: włączë je, bë móc ùżiwac òsadzonëch czconków w lopkach PDF.
+
+
+missing_file_error=Felëje lopka PDF.
+printing_not_ready = Òstrzéga: lopk mùszi sã do kùńca wczëtac zanim gò mòże drëkòwac
+
+document_colors_disabled=Dokùmentë PDF nie mògą ù swòjich farwów: \'Pòzwòlë stronóm wëbierac swòje farwë\' je wëłączoné w przezérnikù.
+invalid_password=Lëchô parola.
+text_annotation_type.alt=[Adnotacjô {{type}}]
+
+tools.title=Tools
+first_page_label=Go to First Page
+
+
diff --git a/lib/viewers/pdf/locale/cy/viewer.properties b/lib/viewers/pdf/locale/cy/viewer.properties
new file mode 100644
index 0000000..15d2656
--- /dev/null
+++ b/lib/viewers/pdf/locale/cy/viewer.properties
@@ -0,0 +1,163 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Tudalen Flaenorol
+previous_label=Blaenorol
+next.title=Tudalen Nesaf
+next_label=Nesaf
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Tudalen:
+page_of=o {{pageCount}}
+
+zoom_out.title=Chwyddo Allan
+zoom_out_label=Chwyddo Allan
+zoom_in.title=Chwyddo Mewn
+zoom_in_label=Chwyddo Mewn
+zoom.title=Chwyddo
+presentation_mode.title=Newid i'r Modd Cyflwyno
+presentation_mode_label=Modd Cyflwyno
+open_file.title=Agor Ffeil
+open_file_label=Agor
+print.title=Argraffu
+print_label=Argraffu
+download.title=Llwyth
+download_label=Llwytho i Lawr
+bookmark.title=Golwg cyfredol (copïo neu agor ffenestr newydd)
+bookmark_label=Golwg Gyfredol
+
+# Secondary toolbar and context menu
+tools.title=Offer
+tools_label=Offer
+first_page.title=Mynd i'r Dudalen Gyntaf
+first_page.label=Mynd i'r Dudalen Gyntaf
+first_page_label=Mynd i'r Dudalen Gyntaf
+last_page.title=Mynd i'r Dudalen Olaf
+last_page.label=Mynd i'r Dudalen Olaf
+last_page_label=Mynd i'r Dudalen Olaf
+page_rotate_cw.title=Cylchdroi Clocwedd
+page_rotate_cw.label=Cylchdroi Clocwedd
+page_rotate_cw_label=Cylchdroi Clocwedd
+page_rotate_ccw.title=Cylchdroi Gwrthglocwedd
+page_rotate_ccw.label=Cylchdroi Gwrthglocwedd
+page_rotate_ccw_label=Cylchdroi Gwrthglocwedd
+
+hand_tool_enable.title=Galluogi offeryn llaw
+hand_tool_enable_label=Galluogi offeryn llaw
+hand_tool_disable.title=Analluogi offeryn llaw
+hand_tool_disable_label=Analluogi offeryn llaw
+
+# Document properties dialog box
+document_properties.title=Priodweddau Dogfen…
+document_properties_label=Priodweddau Dogfen…
+document_properties_file_name=Enw ffeil:
+document_properties_file_size=Maint ffeil:
+document_properties_kb={{size_kb}} KB ({{size_b}} beit)
+document_properties_mb={{size_mb}} MB ({{size_b}} beit)
+document_properties_title=Teitl:
+document_properties_author=Awdur:
+document_properties_subject=Pwnc:
+document_properties_keywords=Allweddair:
+document_properties_creation_date=Dyddiad Creu:
+document_properties_modification_date=Dyddiad Addasu:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Crewr:
+document_properties_producer=Cynhyrchydd PDF:
+document_properties_version=Fersiwn PDF:
+document_properties_page_count=Cyfrif Tudalen:
+document_properties_close=Cau
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Toglo'r Bar Ochr
+toggle_sidebar_label=Toglo'r Bar Ochr
+outline.title=Dangos Amlinell Dogfen
+outline_label=Amlinelliad Dogfen
+attachments.title=Dangos Atodiadau
+attachments_label=Atodiadau
+thumbs.title=Dangos Lluniau Bach
+thumbs_label=Lluniau Bach
+findbar.title=Canfod yn y Ddogfen
+findbar_label=Canfod
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Tudalen {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Llun Bach Tudalen {{page}}
+
+# Find panel button title and messages
+find_label=Canfod:
+find_previous.title=Canfod enghraifft flaenorol o'r ymadrodd
+find_previous_label=Blaenorol
+find_next.title=Canfod enghraifft nesaf yr ymadrodd
+find_next_label=Nesaf
+find_highlight=Amlygu popeth
+find_match_case_label=Cydweddu maint
+find_reached_top=Wedi cyrraedd brig y dudalen, parhau o'r gwaelod
+find_reached_bottom=Wedi cyrraedd diwedd y dudalen, parhau o'r brig
+find_not_found=Heb ganfod ymadrodd
+
+# Error panel labels
+error_more_info=Rhagor o Wybodaeth
+error_less_info=Llai o wybodaeth
+error_close=Cau
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Neges: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Stac: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Ffeil: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Llinell: {{line}}
+rendering_error=Digwyddodd gwall wrth adeiladu'r dudalen.
+
+# Predefined zoom values
+page_scale_width=Lled Tudalen
+page_scale_fit=Ffit Tudalen
+page_scale_auto=Chwyddo Awtomatig
+page_scale_actual=Maint Gwirioneddol
+
+# Loading indicator messages
+loading_error_indicator=Gwall
+loading_error=Digwyddodd gwall wrth lwytho'r PDF.
+invalid_file_error=Ffeil PDF annilys neu llwgr.
+missing_file_error=Ffeil PDF coll.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[Anodiad {{type}} ]
+password_label=Rhowch gyfrinair i agor y PDF.
+password_invalid=Cyfrinair annilys. Ceisiwch eto.
+password_ok=Iawn
+password_cancel=Diddymu
+
+printing_not_supported=Rhybudd: Nid yw argraffu yn cael ei gynnal yn llawn gan y porwr.
+printing_not_ready=Rhybudd: Nid yw'r PDF wedi ei lwytho'n llawn ar gyfer argraffu.
+web_fonts_disabled=Ffontiau gwe wedi eu hanablu: methu defnyddio ffontiau PDF mewnblanedig.
+document_colors_disabled=Nid oes caniatâd i ddogfennau PDF i ddefnyddio eu lliwiau eu hunain: Mae 'Caniatáu i dudalennau ddefnyddio eu lliwiau eu hunain' wedi ei atal yn y porwr.
diff --git a/lib/viewers/pdf/locale/da/chrome.properties b/lib/viewers/pdf/locale/da/chrome.properties
deleted file mode 100644
index 24c943b..0000000
--- a/lib/viewers/pdf/locale/da/chrome.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-# Copyright 2012 Mozilla Foundation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Chrome notifikationsbar beskeder og knapper
-unsupported_feature=Denne PDF bliver måske ikke vist korrekt
-open_with_different_viewer=Åbn med en anden PDF-fremviser
-open_with_different_viewer.accessKey=o
diff --git a/lib/viewers/pdf/locale/da/metadata.inc b/lib/viewers/pdf/locale/da/metadata.inc
deleted file mode 100644
index 58b76b6..0000000
--- a/lib/viewers/pdf/locale/da/metadata.inc
+++ /dev/null
@@ -1,8 +0,0 @@
- <em:localized>
- <Description>
- <em:locale>da</em:locale>
- <em:name>PDF Viewer</em:name>
- <em:description>Benytter HTML5 til at vise PDF-filer direkte i Firefox.</em:description>
- </Description>
- </em:localized>
-
diff --git a/lib/viewers/pdf/locale/da/viewer.properties b/lib/viewers/pdf/locale/da/viewer.properties
index 376affe..1aa292a 100644
--- a/lib/viewers/pdf/locale/da/viewer.properties
+++ b/lib/viewers/pdf/locale/da/viewer.properties
@@ -12,16 +12,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-# Værktøjslinje knapper (tooltups og billedtekster)
-previous.title=Forrige
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Forrige side
previous_label=Forrige
-next.title=Næste
+next.title=Næste side
next_label=Næste
-# Oversættelsesnote:
-# Disse tekststrenge bliver sammensat i formen "Side: X af Y"
-# Oversæt ikke "{{pageCount}}", det er en variabel og vil blive erstattet
-# med det egentlig antal sider i PDF filen
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
page_label=Side:
page_of=af {{pageCount}}
@@ -30,10 +30,10 @@ zoom_out_label=Zoom ud
zoom_in.title=Zoom ind
zoom_in_label=Zoom ind
zoom.title=Zoom
-print_label=Udskriv
print.title=Udskriv
-fullscreen.title=Fuldskærm
-fullscreen_label=Fuldskærm
+print_label=Udskriv
+presentation_mode.title=Skift til præsentations-tilstand
+presentation_mode_label=Præsentations-tilstand
open_file.title=Åbn fil
open_file_label=Åbn
download.title=Hent
@@ -41,83 +41,121 @@ download_label=Hent
bookmark.title=Aktuel visning (kopier eller åbn i et nyt vindue)
bookmark_label=Aktuel visning
-# Tooltips of alternativ billedtekst til sidepanelet
-# (_label strengene er den alternative billedtekst, mens .title
-# strengene er tooltips
-toggle_slider.title=Skift slider
-toggle_slider_label=Skift slider
-outline.title=Vis dokumentoversigt
-outline_label=Dokumentoversigt
-thumbs.title=Vis thumbnails
-thumbs_label=Thumbnails
-findbar.title=Søg i dokumentet
-findbar_label=Søg
-
-# Thumbnails panelet (tooltips og alt. billedtekst)
-# Oversættelsesnote: "{{page}}" vil blive erstattet af det
-# egentlige sidetal
-thumb_page_title=Side {{page}}
-# Oversættelsesnote: "{{page}}" vil blive erstattet af det
-# egentlige sidetal
-thumb_page_canvas=Thumbnail af side {{page}}
-
-# Popup menu
+# Secondary toolbar and context menu
+tools.title=Værktøj
+tools_label=Værktøj
+first_page.title=Gå til første side
first_page.label=Gå til første side
+first_page_label=Gå til første side
+last_page.title=Gå til sidste side
last_page.label=Gå til sidste side
-page_rotate_cw.label=Rotér med uret
-page_rotate_ccw.label=Roéer mod uret
+last_page_label=Gå til sidste side
+page_rotate_cw.title=Roter med uret
+page_rotate_cw.label=Roter med uret
+page_rotate_cw_label=Roter med uret
+page_rotate_ccw.title=Roter mod uret
+page_rotate_ccw.label=Roter mod uret
+page_rotate_ccw_label=Roter mod uret
+
+hand_tool_enable.title=Aktiver håndværktøj
+hand_tool_enable_label=Aktiver håndværktøj
+hand_tool_disable.title=Deaktiver håndværktøj
+hand_tool_disable_label=Deaktiver håndværktøj
-# Søgepanelet samt knapper og beskeder
+# Document properties dialog box
+document_properties.title=Dokumentegenskaber…
+document_properties_label=Dokumentegenskaber…
+document_properties_file_name=Filnavn:
+document_properties_file_size=Filstørrelse:
+document_properties_kb={{size_kb}} KB ({{size_b}} bytes)
+document_properties_mb={{size_mb}} MB ({{size_b}} bytes)
+document_properties_title=Titel:
+document_properties_author=Forfatter:
+document_properties_subject=Emne:
+document_properties_keywords=Nøgleord:
+document_properties_creation_date=Oprettet:
+document_properties_modification_date=Redigeret:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Program:
+document_properties_producer=PDF-producent:
+document_properties_version=PDF-version:
+document_properties_page_count=Antal sider:
+document_properties_close=Luk
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Slå sidepanel til eller fra
+toggle_sidebar_label=Slå sidepanel til eller fra
+outline.title=Vis dokumentets disposition
+outline_label=Dokument-disposition
+thumbs.title=Vis miniaturer
+thumbs_label=Miniaturer
+findbar.title=Find i dokument
+findbar_label=Find
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Side {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Miniature af side {{page}}
+
+# Find panel button title and messages
find_label=Find:
find_previous.title=Find den forrige forekomst
find_previous_label=Forrige
find_next.title=Find den næste forekomst
find_next_label=Næste
-find_highlight=Fremhæv alle forekomster
+find_highlight=Fremhæv alle
find_match_case_label=Forskel på store og små bogstaver
find_reached_top=Toppen af siden blev nået, fortsatte fra bunden
find_reached_bottom=Bunden af siden blev nået, fortsatte fra toppen
find_not_found=Der blev ikke fundet noget
-# Fejlpanel
+# Error panel labels
error_more_info=Mere information
error_less_info=Mindre information
error_close=Luk
-# Oversættelsesnote: "{{version}}" og "{{build}}" vil blive erstattet af
-# PDF.JS versionen og build ID
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
error_version_info=PDF.js v{{version}} (build: {{build}})
-# Oversættelsesnote: "{{message}}" vil blive erstattet af
-# en (engelsk) fejlbesked
-error_message=Besked: {{message}}
-# Oversættelsesnote: "{{stack}}" vil blive erstattet af et stack trace
-#
-error_stack=Stak: {{stack}}
-# Oversættelsesnote: "{{file}}" vil blive erstattet af et filnavn
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Fejlmeddelelse: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Stack: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
error_file=Fil: {{file}}
-# Oversættelsesnote: "{{line}}" vil blive erstattet af et linjetal
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
error_line=Linje: {{line}}
-rendering_error=Der skete en fejl under gengivelsen af PDF-filen
+rendering_error=Der opstod en fejl ved generering af siden.
-# Prædefinerede zoom værdier
+# Predefined zoom values
page_scale_width=Sidebredde
-page_scale_fit=Helside
+page_scale_fit=Tilpas til side
page_scale_auto=Automatisk zoom
page_scale_actual=Faktisk størrelse
-# Indlæsningsindikator (load ikon)
+# Loading indicator messages
loading_error_indicator=Fejl
-loading_error=Der skete en fejl under indlæsningen af PDF-filen
-invalid_file_error=Ugyldig eller beskadiget PDF-fil
-missing_file_error=Manglende PDF-fil
+loading_error=Der opstod en fejl ved indlæsning af PDF-filen.
+invalid_file_error=PDF-filen er ugyldig eller ødelagt.
+missing_file_error=Manglende PDF-fil.
-# Oversættelsesnote: Dette vil blive brugt som et tooltip
-# "{{type}}" vil blive ersattet af en kommentar type fra en liste
-# defineret i PDF specifikationen (32000-1:2008 Table 169 – Annotation types).
-# Nogle almindelige typer er f.eks.: "Check", "Text", "Comment" og "Note"
-text_annotation_type=[{{type}} Kommentar]
-request_password=PDF filen er beskyttet med et kodeord:
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}}kommentar]
+password_label=Angiv adgangskode til at åbne denne PDF-fil.
+password_invalid=Ugyldig adgangskode. Prøv igen.
+password_ok=OK
+password_cancel=Fortryd
-printing_not_supported=Advarsel: Denne browser er ikke fuldt understøttet ved udskrift.
-printing_not_ready=Advarsel: PDF-filen er ikke helt klar til udskrivning.
-web_fonts_disabled=Web skrifttyper er slået fra: kan ikke benytte de indlejrede skrifttyper.
-web_colors_disabled=Web farver are slået fra.
+printing_not_supported=Advarsel: Udskrivning er ikke fuldt understøttet af browseren.
+printing_not_ready=Advarsel: PDF-filen er ikke fuldt indlæst til udskrivning.
+web_fonts_disabled=Webskrifttyper er deaktiverede. De indlejrede skrifttyper i PDF-filen kan ikke anvendes.
+document_colors_disabled=PDF-dokumenter må ikke bruge deres egne farver: \'Tillad sider at vælge deres egne farver\' er deaktiveret i browseren.
diff --git a/lib/viewers/pdf/locale/de/metadata.inc b/lib/viewers/pdf/locale/de/metadata.inc
deleted file mode 100644
index d934291..0000000
--- a/lib/viewers/pdf/locale/de/metadata.inc
+++ /dev/null
@@ -1,8 +0,0 @@
- <em:localized>
- <Description>
- <em:locale>de</em:locale>
- <em:name>PDF Viewer</em:name>
- <em:description>Nutzt HTML5 um PDFs direkt in Firefox anzuzeigen.</em:description>
- </Description>
- </em:localized>
-
diff --git a/lib/viewers/pdf/locale/de/viewer.properties b/lib/viewers/pdf/locale/de/viewer.properties
index d1be81f..7640b52 100644
--- a/lib/viewers/pdf/locale/de/viewer.properties
+++ b/lib/viewers/pdf/locale/de/viewer.properties
@@ -32,25 +32,68 @@ zoom_in_label=Vergrößern
zoom.title=Zoom
print.title=Drucken
print_label=Drucken
-presentation_mode.title=Zum Präsentationsmodus wechseln
-presentation_mode_label=Bildschirmpräsentation
+presentation_mode.title=In Präsentationsmodus wechseln
+presentation_mode_label=Präsentationsmodus
open_file.title=Datei öffnen
open_file_label=Öffnen
-download.title=Herunterladen
-download_label=Herunterladen
-bookmark.title=Aktuelle Ansicht (Kopieren oder in einem neuen Fenster öffnen)
+download.title=Dokument speichern
+download_label=Speichern
+bookmark.title=Aktuelle Ansicht (zum Kopieren oder Öffnen in einem neuen Fenster)
bookmark_label=Aktuelle Ansicht
+# Secondary toolbar and context menu
+tools.title=Werkzeuge
+tools_label=Werkzeuge
+first_page.title=Erste Seite anzeigen
+first_page.label=Erste Seite anzeigen
+first_page_label=Erste Seite anzeigen
+last_page.title=Letzte Seite anzeigen
+last_page.label=Letzte Seite anzeigen
+last_page_label=Letzte Seite anzeigen
+page_rotate_cw.title=Im Uhrzeigersinn drehen
+page_rotate_cw.label=Im Uhrzeigersinn drehen
+page_rotate_cw_label=Im Uhrzeigersinn drehen
+page_rotate_ccw.title=Gegen Uhrzeigersinn drehen
+page_rotate_ccw.label=Gegen Uhrzeigersinn drehen
+page_rotate_ccw_label=Gegen Uhrzeigersinn drehen
+
+hand_tool_enable.title=Hand-Werkzeug aktivieren
+hand_tool_enable_label=Hand-Werkzeug aktivieren
+hand_tool_disable.title=Hand-Werkzeug deaktivieren
+hand_tool_disable_label=Hand-Werkzeug deaktivieren
+
+# Document properties dialog box
+document_properties.title=Dokumenteigenschaften
+document_properties_label=Dokumenteigenschaften…
+document_properties_file_name=Dateiname:
+document_properties_file_size=Dateigröße:
+document_properties_kb={{size_kb}} KB ({{size_b}} Bytes)
+document_properties_mb={{size_mb}} MB ({{size_b}} Bytes)
+document_properties_title=Titel:
+document_properties_author=Autor:
+document_properties_subject=Thema:
+document_properties_keywords=Stichwörter:
+document_properties_creation_date=Erstelldatum:
+document_properties_modification_date=Bearbeitungsdatum:
+document_properties_date_string={{date}} {{time}}
+document_properties_creator=Anwendung:
+document_properties_producer=PDF erstellt mit:
+document_properties_version=PDF-Version:
+document_properties_page_count=Seitenzahl:
+document_properties_close=Schließen
+
# Tooltips and alt text for side panel toolbar buttons
# (the _label strings are alt text for the buttons, the .title strings are
# tooltips)
-toggle_slider.title=Seitenleiste anzeigen
-toggle_slider_label=Seitenleiste
-outline.title=Zeige Inhaltsverzeichnis
-outline_label=Inhaltsverzeichnis
-thumbs.title=Zeige Vorschaubilder
-thumbs_label=Vorschaubilder
-findbar.title=Im Dokument suchen
+toggle_sidebar.title=Sidebar umschalten
+toggle_sidebar_label=Sidebar umschalten
+outline.title=Dokumentstruktur anzeigen
+outline_label=Dokumentstruktur
+attachments.title=Anhänge anzeigen
+attachments_label=Anhänge
+thumbs.title=Miniaturansichten anzeigen
+thumbs_label=Miniaturansichten
+findbar.title=Dokument durchsuchen
findbar_label=Suchen
# Thumbnails panel item (tooltip and alt text for images)
@@ -59,62 +102,62 @@ findbar_label=Suchen
thumb_page_title=Seite {{page}}
# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
# number.
-thumb_page_canvas=Vorschau von Seite {{page}}
-
-# Context menu
-first_page.label=Erste Seite
-last_page.label=Letzte Seite
-page_rotate_cw.label=Im Uhrzeigersinn drehen
-page_rotate_ccw.label=Entgegen dem Uhrzeigersinn drehen
+thumb_page_canvas=Miniaturansicht von Seite {{page}}
# Find panel button title and messages
find_label=Suchen:
-find_previous.title=Das vorherige Auftreten des Ausdrucks suchen
-find_previous_label=Aufwärts
-find_next.title=Das nächste Auftreten des Ausdrucks suchen
-find_next_label=Abwärts
-find_highlight=Hervorheben
-find_match_case_label=Groß-/Kleinschreibung
-find_reached_top=Der Anfang des Dokuments wurde erreicht, Suche am Ende des Dokuments fortgesetzt
-find_reached_bottom=Das Ende des Dokuments wurde erreicht, Suche am Anfang des Dokuments fortgesetzt
-find_not_found=Ausdruck nicht gefunden
+find_previous.title=Vorheriges Auftreten des Suchbegriffs finden
+find_previous_label=Zurück
+find_next.title=Nächstes Auftreten des Suchbegriffs finden
+find_next_label=Weiter
+find_highlight=Alle hervorheben
+find_match_case_label=Groß-/Kleinschreibung beachten
+find_reached_top=Anfang des Dokuments erreicht, fahre am Ende fort
+find_reached_bottom=Ende des Dokuments erreicht, fahre am Anfang fort
+find_not_found=Suchbegriff nicht gefunden
# Error panel labels
-error_more_info=Mehr Info
-error_less_info=Weniger Info
+error_more_info=Mehr Informationen
+error_less_info=Weniger Informationen
error_close=Schließen
-# LOCALIZATION NOTE (error_build): "{{build}}" will be replaced by the PDF.JS
-# build ID.
-error_build=PDF.JS Build: {{build}}
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js Version {{version}} (build: {{build}})
# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
# english string describing the error.
error_message=Nachricht: {{message}}
# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
# trace.
-error_stack=Stack: {{stack}}
+error_stack=Aufrufliste: {{stack}}
# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
error_file=Datei: {{file}}
# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
error_line=Zeile: {{line}}
-rendering_error=Das PDF konnte nicht angezeigt werden.
+rendering_error=Beim Darstellen der Seite trat ein Fehler auf.
# Predefined zoom values
page_scale_width=Seitenbreite
-page_scale_fit=Ganze Seite
-page_scale_auto=Automatisch
-page_scale_actual=Originalgröße
+page_scale_fit=Seitengröße
+page_scale_auto=Automatischer Zoom
+page_scale_actual=Derzeitige Größe
# Loading indicator messages
loading_error_indicator=Fehler
-loading_error=Das PDF konnte nicht geladen werden.
-invalid_file_error=Ungültige oder beschädigte PDF-Datei.
+loading_error=Beim Laden der PDF-Datei trat ein Fehler auf.
+invalid_file_error=Ungültige oder beschädigte PDF-Datei
+missing_file_error=Fehlende PDF-Datei
-# LOCALIZATION NOTE (text_annotation_type): This is used as a tooltip.
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
# "{{type}}" will be replaced with an annotation type from a list defined in
# the PDF spec (32000-1:2008 Table 169 – Annotation types).
# Some common types are e.g.: "Check", "Text", "Comment", "Note"
-text_annotation_type=[{{type}} Annotation]
-request_password=Das PDF ist passwortgeschützt:
+text_annotation_type.alt=[Anlage: {{type}}]
+password_label=Geben Sie zum Öffnen der PDF-Datei deren Passwort ein.
+password_invalid=Falsches Passwort. Bitte versuchen Sie es erneut.
+password_ok=OK
+password_cancel=Abbrechen
-printing_not_supported=Warnung: Drucken wird durch diesen Browser nicht vollständig unterstützt.
-web_fonts_disabled=Webfonts sind deaktiviert: Eingebundene PDF-Schriftarten können nicht verwendet werden.
+printing_not_supported=Warnung: Die Drucken-Funktion wird durch diesen Browser nicht vollständig unterstützt.
+printing_not_ready=Warnung: Die PDF-Datei ist nicht vollständig geladen, dies ist für das Drucken aber empfohlen.
+web_fonts_disabled=Web-Schriftarten sind deaktiviert: Eingebettete PDF-Schriftarten konnten nicht geladen werden.
+document_colors_disabled=PDF-Dokumenten ist es nicht erlaubt, ihre eigenen Farben zu verwenden: \'Seiten das Verwenden von eigenen Farben erlauben\' ist im Browser deaktiviert.
diff --git a/lib/viewers/pdf/locale/el/viewer.properties b/lib/viewers/pdf/locale/el/viewer.properties
new file mode 100644
index 0000000..36723c2
--- /dev/null
+++ b/lib/viewers/pdf/locale/el/viewer.properties
@@ -0,0 +1,131 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Προηγούμενη σελίδα
+previous_label=Προηγούμενη
+next.title=Επόμενη σελίδα
+next_label=Επόμενη
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Σελίδα:
+page_of= {{pageCount}}
+
+zoom_out.title=Σμίκρυνση
+zoom_out_label=Σμίκρυνση
+zoom_in.title=Μεγέθυνση
+zoom_in_label=Μεγέθυνση
+zoom.title=Μεγέθυνση
+print.title=Εκτύπωση
+print_label=Εκτύπωση
+open_file.title=Άνοιγμα αρχείου
+open_file_label=Άνοιγμα
+download.title=Λήψη
+download_label=Λήψη
+bookmark.title=Τρέχουσα προβολή (αντίγραφο ή άνοιγμα σε νέο παράθυρο)
+bookmark_label=Τρέχουσα προβολή
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+outline.title=Προβολή διάρθρωσης κειμένου
+outline_label=Διάρθρωση κειμένου
+thumbs.title=Προβολή μικρογραφιών
+thumbs_label=Μικρογραφίες
+
+
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Σελίδα {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Μικρογραφία της σελίδας {{page}}
+
+first_page.label=Μετάβαση στην πρώτη σελίδα
+
+# Error panel labels
+error_more_info=Περισσότερες πληροφορίες
+error_less_info=Λιγότερες πληροφορίες
+error_close=Κλείσιμο
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Μήνυμα: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Stack: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Αρχείο: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Line: {{line}}
+rendering_error=Προέκυψε σφάλμα κατά την ανάλυση της σελίδας.
+
+# Predefined zoom values
+page_scale_width=Πλάτος σελίδας
+page_scale_fit=Μέγεθος σελίδας
+page_scale_auto=Αυτόματη μεγέθυνση
+page_scale_actual=Πραγματικό μέγεθος
+
+
+# Context menu
+page_rotate_cw.label=Δεξιόστροφη περιστροφή
+page_rotate_ccw.label=Αριστερόστροφη περιστροφή
+
+presentation_mode.title=Μετάβαση σε λειτουργία παρουσίασης
+presentation_mode_label=Λειτουργία παρουσίασης
+
+# Loading indicator messages
+# LOCALIZATION NOTE (error_line): "{{[percent}}" will be replaced with a percentage
+
+loading_error_indicator=Σφάλμα
+loading_error=Προέκυψε ένα σφάλμα κατά τη φόρτωση του PDF.
+
+request_password=Το PDF προστατεύεται από κωδικό:
+
+printing_not_supported=Προειδοποίηση: Η εκτύπωση δεν υποστηρίζεται πλήρως από αυτόν τον περιηγητή.
+
+
+
+findbar.title=Εύρεση στο έγγραφο
+findbar_label=Εύρεση
+
+
+# Find panel button title and messages
+find_label=Εύρεση:
+find_previous.title=Εύρεση της προηγούμενης εμφάνισης της φράσης
+find_previous_label=Προηγούμενο
+find_next.title=Εύρεση της επόμενης εμφάνισης της φράσης
+find_next_label=Επόμενο
+find_highlight=Επισήμανση όλων
+find_match_case_label=Ταίριασμα χαρακτήρα
+find_reached_top=Έλευση στην αρχή του εγγράφου, συνέχεια από το τέλος
+find_reached_bottom=Έλευση στο τέλος του εγγράφου, συνέχεια από την αρχή
+find_not_found=Η φράση δεν βρέθηκε
+
+invalid_file_error=Μη έγκυρο ή κατεστραμμένο αρχείο PDF.
+last_page.label=Μετάβαση στη τελευταία σελίδα
+
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+
+missing_file_error=Λείπει αρχείο PDF.
+
+
+toggle_sidebar.title=Εναλλαγή προβολής πλευρικής στήλης
+toggle_sidebar_label=Εναλλαγή προβολής πλευρικής στήλης
+
+web_fonts_disabled=Οι γραμματοσειρές Web απενεργοποιημένες: αδυναμία χρήσης των ενσωματωμένων γραμματοσειρών PDF.
+
+printing_not_ready=Προειδοποίηση: Το PDF δεν φορτώθηκε πλήρως για εκτύπωση.
+
+document_colors_disabled=Δεν επιτρέπεται στα έγγραφα PDF να χρησιμοποιούν τα δικά τους χρώματα: Η επιλογή \'Να επιτρέπεται η χρήση χρωμάτων της σελίδας\' δεν είναι ενεργή στην εφαρμογή.
+
+invalid_password=Μη έγκυρος κωδικός.
+text_annotation_type.alt=[{{type}} Annotation]
+
diff --git a/lib/viewers/pdf/locale/en-GB/viewer.properties b/lib/viewers/pdf/locale/en-GB/viewer.properties
new file mode 100644
index 0000000..bc408c7
--- /dev/null
+++ b/lib/viewers/pdf/locale/en-GB/viewer.properties
@@ -0,0 +1,161 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Previous Page
+previous_label=Previous
+next.title=Next Page
+next_label=Next
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Page:
+page_of=of {{pageCount}}
+
+zoom_out.title=Zoom Out
+zoom_out_label=Zoom Out
+zoom_in.title=Zoom In
+zoom_in_label=Zoom In
+zoom.title=Zoom
+print.title=Print
+print_label=Print
+presentation_mode.title=Switch to Presentation Mode
+presentation_mode_label=Presentation Mode
+open_file.title=Open File
+open_file_label=Open
+download.title=Download
+download_label=Download
+bookmark.title=Current view (copy or open in new window)
+bookmark_label=Current View
+
+# Secondary toolbar and context menu
+tools.title=Tools
+tools_label=Tools
+first_page.title=Go to First Page
+first_page.label=Go to First Page
+first_page_label=Go to First Page
+last_page.title=Go to Last Page
+last_page.label=Go to Last Page
+last_page_label=Go to Last Page
+page_rotate_cw.title=Rotate Clockwise
+page_rotate_cw.label=Rotate Clockwise
+page_rotate_cw_label=Rotate Clockwise
+page_rotate_ccw.title=Rotate Counter-Clockwise
+page_rotate_ccw.label=Rotate Counter-Clockwise
+page_rotate_ccw_label=Rotate Counter-Clockwise
+
+hand_tool_enable.title=Enable hand tool
+hand_tool_enable_label=Enable hand tool
+hand_tool_disable.title=Disable hand tool
+hand_tool_disable_label=Disable hand tool
+
+# Document properties dialog box
+document_properties.title=Document Properties…
+document_properties_label=Document Properties…
+document_properties_file_name=File name:
+document_properties_file_size=File size:
+document_properties_kb={{size_kb}} kB ({{size_b}} bytes)
+document_properties_mb={{size_mb}} MB ({{size_b}} bytes)
+document_properties_title=Title:
+document_properties_author=Author:
+document_properties_subject=Subject:
+document_properties_keywords=Keywords:
+document_properties_creation_date=Creation Date:
+document_properties_modification_date=Modification Date:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Creator:
+document_properties_producer=PDF Producer:
+document_properties_version=PDF Version:
+document_properties_page_count=Page Count:
+document_properties_close=Close
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Toggle Sidebar
+toggle_sidebar_label=Toggle Sidebar
+outline.title=Show Document Outline
+outline_label=Document Outline
+thumbs.title=Show Thumbnails
+thumbs_label=Thumbnails
+findbar.title=Find in Document
+findbar_label=Find
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Page {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Thumbnail of Page {{page}}
+
+# Find panel button title and messages
+find_label=Find:
+find_previous.title=Find the previous occurrence of the phrase
+find_previous_label=Previous
+find_next.title=Find the next occurrence of the phrase
+find_next_label=Next
+find_highlight=Highlight all
+find_match_case_label=Match case
+find_reached_top=Reached top of document, continued from bottom
+find_reached_bottom=Reached end of document, continued from top
+find_not_found=Phrase not found
+
+# Error panel labels
+error_more_info=More Information
+error_less_info=Less Information
+error_close=Close
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Message: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Stack: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=File: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Line: {{line}}
+rendering_error=An error occurred while rendering the page.
+
+# Predefined zoom values
+page_scale_width=Page Width
+page_scale_fit=Page Fit
+page_scale_auto=Automatic Zoom
+page_scale_actual=Actual Size
+
+# Loading indicator messages
+loading_error_indicator=Error
+loading_error=An error occurred while loading the PDF.
+invalid_file_error=Invalid or corrupted PDF file.
+missing_file_error=Missing PDF file.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} Annotation]
+password_label=Enter the password to open this PDF file.
+password_invalid=Invalid password. Please try again.
+password_ok=OK
+password_cancel=Cancel
+
+printing_not_supported=Warning: Printing is not fully supported by this browser.
+printing_not_ready=Warning: The PDF is not fully loaded for printing.
+web_fonts_disabled=Web fonts are disabled: unable to use embedded PDF fonts.
+document_colors_disabled=PDF documents are not allowed to use their own colours: \'Allow pages to choose their own colours\' is deactivated in the browser.
diff --git a/lib/viewers/pdf/locale/en-US/chrome.properties b/lib/viewers/pdf/locale/en-US/chrome.properties
deleted file mode 100644
index 0b46919..0000000
--- a/lib/viewers/pdf/locale/en-US/chrome.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-# Copyright 2012 Mozilla Foundation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Chrome notification bar messages and buttons
-unsupported_feature=This PDF document might not be displayed correctly.
-open_with_different_viewer=Open With Different Viewer
-open_with_different_viewer.accessKey=o
diff --git a/lib/viewers/pdf/locale/en-US/metadata.inc b/lib/viewers/pdf/locale/en-US/metadata.inc
deleted file mode 100644
index 8d9d94b..0000000
--- a/lib/viewers/pdf/locale/en-US/metadata.inc
+++ /dev/null
@@ -1,8 +0,0 @@
- <em:localized>
- <Description>
- <em:locale>en-US</em:locale>
- <em:name>PDF Viewer</em:name>
- <em:description>Uses HTML5 to display PDF files directly in Firefox.</em:description>
- </Description>
- </em:localized>
-
diff --git a/lib/viewers/pdf/locale/en-US/viewer.properties b/lib/viewers/pdf/locale/en-US/viewer.properties
index e0d25ac..dadfe41 100644
--- a/lib/viewers/pdf/locale/en-US/viewer.properties
+++ b/lib/viewers/pdf/locale/en-US/viewer.properties
@@ -30,17 +30,58 @@ zoom_out_label=Zoom Out
zoom_in.title=Zoom In
zoom_in_label=Zoom In
zoom.title=Zoom
-print.title=Print
-print_label=Print
presentation_mode.title=Switch to Presentation Mode
presentation_mode_label=Presentation Mode
open_file.title=Open File
open_file_label=Open
+print.title=Print
+print_label=Print
download.title=Download
download_label=Download
bookmark.title=Current view (copy or open in new window)
bookmark_label=Current View
+# Secondary toolbar and context menu
+tools.title=Tools
+tools_label=Tools
+first_page.title=Go to First Page
+first_page.label=Go to First Page
+first_page_label=Go to First Page
+last_page.title=Go to Last Page
+last_page.label=Go to Last Page
+last_page_label=Go to Last Page
+page_rotate_cw.title=Rotate Clockwise
+page_rotate_cw.label=Rotate Clockwise
+page_rotate_cw_label=Rotate Clockwise
+page_rotate_ccw.title=Rotate Counterclockwise
+page_rotate_ccw.label=Rotate Counterclockwise
+page_rotate_ccw_label=Rotate Counterclockwise
+
+hand_tool_enable.title=Enable hand tool
+hand_tool_enable_label=Enable hand tool
+hand_tool_disable.title=Disable hand tool
+hand_tool_disable_label=Disable hand tool
+
+# Document properties dialog box
+document_properties.title=Document Properties…
+document_properties_label=Document Properties…
+document_properties_file_name=File name:
+document_properties_file_size=File size:
+document_properties_kb={{size_kb}} KB ({{size_b}} bytes)
+document_properties_mb={{size_mb}} MB ({{size_b}} bytes)
+document_properties_title=Title:
+document_properties_author=Author:
+document_properties_subject=Subject:
+document_properties_keywords=Keywords:
+document_properties_creation_date=Creation Date:
+document_properties_modification_date=Modification Date:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Creator:
+document_properties_producer=PDF Producer:
+document_properties_version=PDF Version:
+document_properties_page_count=Page Count:
+document_properties_close=Close
+
# Tooltips and alt text for side panel toolbar buttons
# (the _label strings are alt text for the buttons, the .title strings are
# tooltips)
@@ -48,6 +89,8 @@ toggle_sidebar.title=Toggle Sidebar
toggle_sidebar_label=Toggle Sidebar
outline.title=Show Document Outline
outline_label=Document Outline
+attachments.title=Show Attachments
+attachments_label=Attachments
thumbs.title=Show Thumbnails
thumbs_label=Thumbnails
findbar.title=Find in Document
@@ -61,12 +104,6 @@ thumb_page_title=Page {{page}}
# number.
thumb_page_canvas=Thumbnail of Page {{page}}
-# Context menu
-first_page.label=Go to First Page
-last_page.label=Go to Last Page
-page_rotate_cw.label=Rotate Clockwise
-page_rotate_ccw.label=Rotate Counterclockwise
-
# Find panel button title and messages
find_label=Find:
find_previous.title=Find the previous occurrence of the phrase
@@ -110,14 +147,17 @@ loading_error=An error occurred while loading the PDF.
invalid_file_error=Invalid or corrupted PDF file.
missing_file_error=Missing PDF file.
-# LOCALIZATION NOTE (text_annotation_type): This is used as a tooltip.
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
# "{{type}}" will be replaced with an annotation type from a list defined in
# the PDF spec (32000-1:2008 Table 169 – Annotation types).
# Some common types are e.g.: "Check", "Text", "Comment", "Note"
-text_annotation_type=[{{type}} Annotation]
-request_password=PDF is protected by a password:
+text_annotation_type.alt=[{{type}} Annotation]
+password_label=Enter the password to open this PDF file.
+password_invalid=Invalid password. Please try again.
+password_ok=OK
+password_cancel=Cancel
printing_not_supported=Warning: Printing is not fully supported by this browser.
printing_not_ready=Warning: The PDF is not fully loaded for printing.
web_fonts_disabled=Web fonts are disabled: unable to use embedded PDF fonts.
-web_colors_disabled=Web colors are disabled.
+document_colors_disabled=PDF documents are not allowed to use their own colors: \'Allow pages to choose their own colors\' is deactivated in the browser.
diff --git a/lib/viewers/pdf/locale/en-ZA/viewer.properties b/lib/viewers/pdf/locale/en-ZA/viewer.properties
new file mode 100644
index 0000000..5588ff1
--- /dev/null
+++ b/lib/viewers/pdf/locale/en-ZA/viewer.properties
@@ -0,0 +1,161 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Previous Page
+previous_label=Previous
+next.title=Next Page
+next_label=Next
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Page:
+page_of=of {{pageCount}}
+
+zoom_out.title=Zoom Out
+zoom_out_label=Zoom Out
+zoom_in.title=Zoom In
+zoom_in_label=Zoom In
+zoom.title=Zoom
+presentation_mode.title=Switch to Presentation Mode
+presentation_mode_label=Presentation Mode
+open_file.title=Open File
+open_file_label=Open
+print.title=Print
+print_label=Print
+download.title=Download
+download_label=Download
+bookmark.title=Current view (copy or open in new window)
+bookmark_label=Current View
+
+# Secondary toolbar and context menu
+tools.title=Tools
+tools_label=Tools
+first_page.title=Go to First Page
+first_page.label=Go to First Page
+first_page_label=Go to First Page
+last_page.title=Go to Last Page
+last_page.label=Go to Last Page
+last_page_label=Go to Last Page
+page_rotate_cw.title=Rotate Clockwise
+page_rotate_cw.label=Rotate Clockwise
+page_rotate_cw_label=Rotate Clockwise
+page_rotate_ccw.title=Rotate Counterclockwise
+page_rotate_ccw.label=Rotate Counterclockwise
+page_rotate_ccw_label=Rotate Counterclockwise
+
+hand_tool_enable.title=Enable hand tool
+hand_tool_enable_label=Enable hand tool
+hand_tool_disable.title=Disable hand tool
+hand_tool_disable_label=Disable hand tool
+
+# Document properties dialog box
+document_properties.title=Document Properties…
+document_properties_label=Document Properties…
+document_properties_file_name=File name:
+document_properties_file_size=File size:
+document_properties_kb={{size_kb}} KB ({{size_b}} bytes)
+document_properties_mb={{size_mb}} MB ({{size_b}} bytes)
+document_properties_title=Title:
+document_properties_author=Author:
+document_properties_subject=Subject:
+document_properties_keywords=Keywords:
+document_properties_creation_date=Creation Date:
+document_properties_modification_date=Modification Date:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Creator:
+document_properties_producer=PDF Producer:
+document_properties_version=PDF Version:
+document_properties_page_count=Page Count:
+document_properties_close=Close
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Toggle Sidebar
+toggle_sidebar_label=Toggle Sidebar
+outline.title=Show Document Outline
+outline_label=Document Outline
+thumbs.title=Show Thumbnails
+thumbs_label=Thumbnails
+findbar.title=Find in Document
+findbar_label=Find
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Page {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Thumbnail of Page {{page}}
+
+# Find panel button title and messages
+find_label=Find:
+find_previous.title=Find the previous occurrence of the phrase
+find_previous_label=Previous
+find_next.title=Find the next occurrence of the phrase
+find_next_label=Next
+find_highlight=Highlight all
+find_match_case_label=Match case
+find_reached_top=Reached top of document, continued from bottom
+find_reached_bottom=Reached end of document, continued from top
+find_not_found=Phrase not found
+
+# Error panel labels
+error_more_info=More Information
+error_less_info=Less Information
+error_close=Close
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Message: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Stack: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=File: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Line: {{line}}
+rendering_error=An error occurred while rendering the page.
+
+# Predefined zoom values
+page_scale_width=Page Width
+page_scale_fit=Page Fit
+page_scale_auto=Automatic Zoom
+page_scale_actual=Actual Size
+
+# Loading indicator messages
+loading_error_indicator=Error
+loading_error=An error occurred while loading the PDF.
+invalid_file_error=Invalid or corrupted PDF file.
+missing_file_error=Missing PDF file.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} Annotation]
+password_label=Enter the password to open this PDF file.
+password_invalid=Invalid password. Please try again.
+password_ok=OK
+password_cancel=Cancel
+
+printing_not_supported=Warning: Printing is not fully supported by this browser.
+printing_not_ready=Warning: The PDF is not fully loaded for printing.
+web_fonts_disabled=Web fonts are disabled: unable to use embedded PDF fonts.
+document_colors_disabled=PDF documents are not allowed to use their own colours: 'Allow pages to choose their own colours' is deactivated in the browser.
diff --git a/lib/viewers/pdf/locale/eo/viewer.properties b/lib/viewers/pdf/locale/eo/viewer.properties
new file mode 100644
index 0000000..78b8229
--- /dev/null
+++ b/lib/viewers/pdf/locale/eo/viewer.properties
@@ -0,0 +1,163 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Antaŭa paĝo
+previous_label=Malantaŭen
+next.title=Venonta paĝo
+next_label=Antaŭen
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Paĝo:
+page_of=el {{pageCount}}
+
+zoom_out.title=Malpligrandigi
+zoom_out_label=Malpligrandigi
+zoom_in.title=Pligrandigi
+zoom_in_label=Pligrandigi
+zoom.title=Pligrandigilo
+presentation_mode.title=Iri al prezenta reĝimo
+presentation_mode_label=Prezenta reĝimo
+open_file.title=Malfermi dosieron
+open_file_label=Malfermi
+print.title=Presi
+print_label=Presi
+download.title=Elŝuti
+download_label=Elŝuti
+bookmark.title=Nuna vido (kopii aŭ malfermi en nova fenestro)
+bookmark_label=Nuna vido
+
+# Secondary toolbar and context menu
+tools.title=Iloj
+tools_label=Iloj
+first_page.title=Iri al la unua paĝo
+first_page.label=Iri al la unua paĝo
+first_page_label=Iri al la unua paĝo
+last_page.title=Iri al la lasta paĝo
+last_page.label=Iri al la lasta paĝo
+last_page_label=Iri al la lasta paĝo
+page_rotate_cw.title=Rotaciigi dekstrume
+page_rotate_cw.label=Rotaciigi dekstrume
+page_rotate_cw_label=Rotaciigi dekstrume
+page_rotate_ccw.title=Rotaciigi maldekstrume
+page_rotate_ccw.label=Rotaciigi maldekstrume
+page_rotate_ccw_label=Rotaciigi maldekstrume
+
+hand_tool_enable.title=Aktivigi manan ilon
+hand_tool_enable_label=Aktivigi manan ilon
+hand_tool_disable.title=Malaktivigi manan ilon
+hand_tool_disable_label=Malaktivigi manan ilon
+
+# Document properties dialog box
+document_properties.title=Atributoj de dokumento…
+document_properties_label=Atributoj de dokumento…
+document_properties_file_name=Nomo de dosiero:
+document_properties_file_size=Grado de dosiero:
+document_properties_kb={{size_kb}} KO ({{size_b}} oktetoj)
+document_properties_mb={{size_mb}} MO ({{size_b}} oktetoj)
+document_properties_title=Titolo:
+document_properties_author=Aŭtoro:
+document_properties_subject=Temo:
+document_properties_keywords=Ŝlosilvorto:
+document_properties_creation_date=Dato de kreado:
+document_properties_modification_date=Dato de modifo:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Kreinto:
+document_properties_producer=Produktinto de PDF:
+document_properties_version=Versio de PDF:
+document_properties_page_count=Nombro de paĝoj:
+document_properties_close=Fermi
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Montri/kaŝi flankan strion
+toggle_sidebar_label=Montri/kaŝi flankan strion
+outline.title=Montri skemon de dokumento
+outline_label=Skemo de dokumento
+attachments.title=Montri kunsendaĵojn
+attachments_label=Kunsendaĵojn
+thumbs.title=Montri miniaturojn
+thumbs_label=Miniaturoj
+findbar.title=Serĉi en dokumento
+findbar_label=Serĉi
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Paĝo {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Miniaturo de paĝo {{page}}
+
+# Find panel button title and messages
+find_label=Serĉi:
+find_previous.title=Serĉi la antaŭan aperon de la frazo
+find_previous_label=Malantaŭen
+find_next.title=Serĉi la venontan aperon de la frazo
+find_next_label=Antaŭen
+find_highlight=Elstarigi ĉiujn
+find_match_case_label=Distingi inter majuskloj kaj minuskloj
+find_reached_top=Komenco de la dokumento atingita, daŭrigado ekde la fino
+find_reached_bottom=Fino de la dokumento atingita, daŭrigado ekde la komenco
+find_not_found=Frazo ne trovita
+
+# Error panel labels
+error_more_info=Pli da informo
+error_less_info=Mapli da informo
+error_close=Fermi
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Mesaĝo: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Stako: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Dosiero: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Linio: {{line}}
+rendering_error=Okazis eraro dum la montrado de la paĝo.
+
+# Predefined zoom values
+page_scale_width=Larĝo de paĝo
+page_scale_fit=Adapti paĝon
+page_scale_auto=Aŭtomata skalo
+page_scale_actual=Reala gandeco
+
+# Loading indicator messages
+loading_error_indicator=Eraro
+loading_error=Okazis eraro dum la ŝargado de la PDF dosiero.
+invalid_file_error=Nevalida aŭ difektita PDF dosiero.
+missing_file_error=Mankas dosiero PDF.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[Prinoto: {{type}}]
+password_label=Tajpu pasvorton por malfermi tiun ĉi dosieron PDF.
+password_invalid=Nevalida pasvorto. Bonvolu provi denove.
+password_ok=Akcepti
+password_cancel=Nuligi
+
+printing_not_supported=Averto: tiu ĉi retesplorilo ne plene subtenas presadon.
+printing_not_ready=Warning: La PDF dosiero ne estas plene ŝargita por presado.
+web_fonts_disabled=Neaktivaj teksaĵaj tiparoj: ne elbas uzi enmetitajn tiparojn de PDF.
+document_colors_disabled=Dokumentoj PDF ne rajtas havi siajn proprajn kolorojn: \'Permesi al paĝoj elekti siajn proprajn kolorojn\' estas malaktiva en la retesplorilo.
diff --git a/lib/viewers/pdf/locale/es-AR/viewer.properties b/lib/viewers/pdf/locale/es-AR/viewer.properties
new file mode 100644
index 0000000..c931a10
--- /dev/null
+++ b/lib/viewers/pdf/locale/es-AR/viewer.properties
@@ -0,0 +1,169 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Página anterior
+previous_label=Anterior
+next.title=Página siguiente
+next_label=Siguiente
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Página:
+page_of=de {{pageCount}}
+
+zoom_out.title=Alejar
+zoom_out_label=Alejar
+zoom_in.title=Acercar
+zoom_in_label=Acercar
+zoom.title=Zoom
+print.title=Imprimir
+print_label=Imprimir
+presentation_mode.title=Cambiar a modo presentación
+presentation_mode_label=Modo presentación
+open_file.title=Abrir archivo
+open_file_label=Abrir
+download.title=Descargar
+download_label=Descargar
+bookmark.title=Vista actual (copiar o abrir en nueva ventana)
+bookmark_label=Vista actual
+
+# Secondary toolbar and context menu
+tools.title=Herramientas
+tools_label=Herramientas
+first_page.title=Ir a primera página
+first_page.label=Ir a primera página
+first_page_label=Ir a primera página
+last_page.title=Ir a última página
+last_page.label=Ir a última página
+last_page_label=Ir a última página
+page_rotate_cw.title=Rotar horario
+page_rotate_cw.label=Rotar horario
+page_rotate_cw_label=Rotar horario
+page_rotate_ccw.title=Rotar antihorario
+page_rotate_ccw.label=Rotar antihorario
+page_rotate_ccw_label=Rotar antihorario
+
+hand_tool_enable.title=Habilitar herramienta mano
+hand_tool_enable_label=Habilitar herramienta mano
+hand_tool_disable.title=Deshabilitar herramienta mano
+hand_tool_disable_label=Deshabilitar herramienta mano
+
+# Document properties dialog box
+document_properties.title=Propiedades del documento…
+document_properties_label=Propiedades del documento…
+document_properties_file_name=Nombre de archivo:
+document_properties_file_size=Tamaño de archovo:
+document_properties_kb={{size_kb}} KB ({{size_b}} bytes)
+document_properties_mb={{size_mb}} MB ({{size_b}} bytes)
+document_properties_title=Título:
+document_properties_author=Autor:
+document_properties_subject=Asunto:
+document_properties_keywords=Palabras clave:
+document_properties_creation_date=Fecha de creación:
+document_properties_modification_date=Fecha de modificación:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Creador:
+document_properties_producer=PDF Productor:
+document_properties_version=Versión de PDF:
+document_properties_page_count=Cantidad de páginas:
+document_properties_close=Cerrar
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Alternar barra lateral
+toggle_sidebar_label=Alternar barra lateral
+outline.title=Mostrar esquema del documento
+outline_label=Esquema del documento
+attachments.title=Mostrar adjuntos
+attachments_label=Adjuntos
+thumbs.title=Mostrar miniaturas
+thumbs_label=Miniaturas
+findbar.title=Buscar en documento
+findbar_label=Buscar
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Página {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Miniatura de página {{page}}
+
+# Context menu
+first_page.label=Ir a la primera página
+last_page.label=Ir a la última página
+page_rotate_cw.label=Rotar en sentido horario
+page_rotate_ccw.label=Rotar en sentido antihorario
+
+# Find panel button title and messages
+find_label=Buscar:
+find_previous.title=Buscar la aparición anterior de la frase
+find_previous_label=Anterior
+find_next.title=Buscar la siguiente aparición de la frase
+find_next_label=Siguiente
+find_highlight=Resaltar todo
+find_match_case_label=Coincidir mayúsculas
+find_reached_top=Inicio de documento alcanzado, continuando desde abajo
+find_reached_bottom=Fin de documento alcanzando, continuando desde arriba
+find_not_found=Frase no encontrada
+
+# Error panel labels
+error_more_info=Más información
+error_less_info=Menos información
+error_close=Cerrar
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Mensaje: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Pila: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Archivo: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Línea: {{line}}
+rendering_error=Ocurrió un error al dibujar la página.
+
+# Predefined zoom values
+page_scale_width=Ancho de página
+page_scale_fit=Ajustar página
+page_scale_auto=Zoom automático
+page_scale_actual=Tamaño real
+
+# Loading indicator messages
+loading_error_indicator=Error
+loading_error=Ocurrió un error al cargar el PDF.
+invalid_file_error=Archivo PDF no válido o cocrrupto.
+missing_file_error=Archivo PDF faltante.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} Anotación]
+password_label=Ingrese la contraseña para abrir este archivo PDF
+password_invalid=Contraseña inválida. Intente nuevamente.
+password_ok=Aceptar
+password_cancel=Cancelar
+
+printing_not_supported=Advertencia: La impresión no está totalmente soportada por este navegador.
+printing_not_ready=Advertencia: El PDF no está completamente cargado para impresión.
+web_fonts_disabled=Tipografía web deshabilitada: no se pueden usar tipos incrustados en PDF.
+document_colors_disabled=Los documentos PDF no tienen permitido usar sus propios colores: \'Permitir a las páginas elegir sus propios colores\' está desactivado en el navegador.
diff --git a/lib/viewers/pdf/locale/es-CL/viewer.properties b/lib/viewers/pdf/locale/es-CL/viewer.properties
new file mode 100644
index 0000000..a53d93c
--- /dev/null
+++ b/lib/viewers/pdf/locale/es-CL/viewer.properties
@@ -0,0 +1,128 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+previous.title = Página anterior
+previous_label = Anterior
+next.title = Página siguiente
+next_label = Siguiente
+page_label = Página:
+page_of = de {{pageCount}}
+zoom_out.title = Alejar
+zoom_out_label = Alejar
+zoom_in.title = Acercar
+zoom_in_label = Acercar
+zoom.title = Ampliación
+print.title = Imprimir
+print_label = Imprimir
+presentation_mode.title = Cambiar al modo de presentación
+presentation_mode_label = Modo de presentación
+open_file.title = Abrir archivo
+open_file_label = Abrir
+download.title = Descargar
+download_label = Descargar
+bookmark.title = Vista actual (copiar o abrir en nueva ventana)
+bookmark_label = Vista actual
+tools.title=Herramientas
+tools_label=Herramientas
+first_page.title=Ir a la primera página
+first_page.label=Ir a la primera página
+first_page_label=Ir a la primera página
+last_page.title=Ir a la última página
+last_page.label=Ir a la última página
+last_page_label=Ir a la última página
+page_rotate_cw.title=Girar a la derecha
+page_rotate_cw.label=Girar a la derecha
+page_rotate_cw_label=Girar a la derecha
+page_rotate_ccw.title=Girar a la izquierda
+page_rotate_ccw.label=Girar a la izquierda
+page_rotate_ccw_label=Girar a la izquierda
+
+hand_tool_enable.title=Activar herramienta de mano
+hand_tool_enable_label=Activar herramienta de mano
+hand_tool_disable.title=Desactivar herramienta de mano
+hand_tool_disable_label=Desactivar herramienta de mano
+
+document_properties.title=Propiedades del documento…
+document_properties_label=Propiedades del documento…
+document_properties_file_name=Nombre del archivo:
+document_properties_file_size=Tamaño del archivo:
+document_properties_kb={{size_kb}} KB ({{size_b}} bytes)
+document_properties_mb={{size_mb}} MB ({{size_b}} bytes)
+document_properties_title=Título:
+document_properties_author=Autor:
+document_properties_subject=Asunto:
+document_properties_keywords=Palabras clave:
+document_properties_creation_date=Fecha de creación:
+document_properties_modification_date=Fecha de modificación:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Creador:
+document_properties_producer=Productor del PDF:
+document_properties_version=Versión de PDF:
+document_properties_page_count=Cantidad de páginas:
+document_properties_close=Cerrar
+
+toggle_sidebar.title=Barra lateral
+toggle_sidebar_label=Mostrar u ocultar la barra lateral
+outline.title = Mostrar esquema del documento
+outline_label = Esquema del documento
+attachments.title=Mostrar adjuntos
+attachments_label=Adjuntos
+thumbs.title = Mostrar miniaturas
+thumbs_label = Miniaturas
+findbar.title = Buscar en el documento
+findbar_label = Buscar
+thumb_page_title = Página {{page}}
+thumb_page_canvas = Miniatura de la página {{page}}
+first_page.label = Ir a la primera página
+last_page.label = Ir a la última página
+page_rotate_cw.label = Rotar en sentido de los punteros del reloj
+page_rotate_ccw.label = Rotar en sentido contrario a los punteros del reloj
+find_label = Buscar:
+find_previous.title = Encontrar la aparición anterior de la frase
+find_previous_label = Previo
+find_next.title = Encontrar la siguiente aparición de la frase
+find_next_label = Siguiente
+find_highlight = Destacar todos
+find_match_case_label = Coincidir mayús./minús.
+find_reached_top=Se alcanzó el inicio del documento, continuando desde el final
+find_reached_bottom=Se alcanzó el final del documento, continuando desde el inicio
+find_not_found = Frase no encontrada
+error_more_info = Más información
+error_less_info = Menos información
+error_close = Cerrar
+error_version_info=PDF.js v{{version}} (compilación: {{build}})
+error_message = Mensaje: {{message}}
+error_stack = Pila: {{stack}}
+error_file = Archivo: {{file}}
+error_line = Línea: {{line}}
+rendering_error = Ha ocurrido un error al renderizar la página.
+page_scale_width = Ancho de página
+page_scale_fit = Ajuste de página
+page_scale_auto = Aumento automático
+page_scale_actual = Tamaño actual
+loading_error_indicator = Error
+loading_error = Ha ocurrido un error al cargar el PDF.
+invalid_file_error = Archivo PDF inválido o corrupto.
+missing_file_error=Falta el archivo PDF.
+
+text_annotation_type.alt=[{{type}} Anotación]
+password_label=Ingrese la contraseña para abrir este archivo PDF.
+password_invalid=Contraseña inválida. Por favor, vuelva a intentarlo.
+password_ok=Aceptar
+password_cancel=Cancelar
+
+printing_not_supported = Advertencia: Imprimir no está soportado completamente por este navegador.
+printing_not_ready=Advertencia: El PDF no está completamente cargado para ser impreso.
+web_fonts_disabled=Las fuentes web están desactivadas: imposible usar las fuentes PDF embebidas.
+document_colors_disabled=Los documentos PDF no tienen permitido usar sus propios colores: \'Permitir a las páginas elegir sus propios colores\' está desactivado en el navegador.
diff --git a/lib/viewers/pdf/locale/es-ES/viewer.properties b/lib/viewers/pdf/locale/es-ES/viewer.properties
new file mode 100644
index 0000000..e0db6b0
--- /dev/null
+++ b/lib/viewers/pdf/locale/es-ES/viewer.properties
@@ -0,0 +1,109 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+previous.title = Página anterior
+previous_label = Anterior
+next.title = Página siguiente
+next_label = Siguiente
+page_label = Página:
+page_of = de {{pageCount}}
+zoom_out.title = Reducir
+zoom_out_label = Reducir
+zoom_in.title = Aumentar
+zoom_in_label = Aumentar
+zoom.title = Tamaño
+presentation_mode.title = Cambiar al modo presentación
+presentation_mode_label = Modo presentación
+open_file.title = Abrir archivo
+open_file_label = Abrir
+print.title = Imprimir
+print_label = Imprimir
+download.title = Descargar
+download_label = Descargar
+bookmark.title = Vista actual (copiar o abrir en una nueva ventana)
+bookmark_label = Vista actual
+tools.title = Herramientas
+tools_label = Herramientas
+first_page.title = Ir a la primera página
+first_page.label = Ir a la primera página
+first_page_label = Ir a la primera página
+last_page.title = Ir a la última página
+last_page.label = Ir a la última página
+last_page_label = Ir a la última página
+page_rotate_cw.title = Rotar en sentido horario
+page_rotate_cw.label = Rotar en sentido horario
+page_rotate_cw_label = Rotar en sentido horario
+page_rotate_ccw.title = Rotar en sentido antihorario
+page_rotate_ccw.label = Rotar en sentido antihorario
+page_rotate_ccw_label = Rotar en sentido antihorario
+hand_tool_enable.title = Activar herramienta mano
+hand_tool_enable_label = Activar herramienta mano
+hand_tool_disable.title = Desactivar herramienta mano
+hand_tool_disable_label = Desactivar herramienta mano
+document_properties.title = Propiedades del documento…
+document_properties_label = Propiedades del documento…
+document_properties_file_name = Nombre de archivo:
+document_properties_file_size = Tamaño de archivo:
+document_properties_kb = {{size_kb}} KB ({{size_b}} bytes)
+document_properties_mb = {{size_mb}} MB ({{size_b}} bytes)
+document_properties_title = Título:
+document_properties_author = Autor:
+document_properties_subject = Asunto:
+document_properties_keywords = Palabras clave:
+document_properties_creation_date = Fecha de creación:
+document_properties_modification_date = Fecha de modificación:
+document_properties_date_string = {{date}}, {{time}}
+document_properties_creator = Creador:
+document_properties_producer = Productor PDF:
+document_properties_version = Versión PDF:
+document_properties_page_count = Número de páginas:
+document_properties_close = Cerrar
+toggle_sidebar.title = Cambiar barra lateral
+toggle_sidebar_label = Cambiar barra lateral
+outline.title = Mostrar el esquema del documento
+outline_label = Esquema del documento
+attachments.title = Mostrar adjuntos
+attachments_label = Adjuntos
+thumbs.title = Mostrar miniaturas
+thumbs_label = Miniaturas
+findbar.title = Buscar en el documento
+findbar_label = Buscar
+thumb_page_title = Página {{page}}
+thumb_page_canvas = Miniatura de la página {{page}}
+find_label = Buscar:
+find_previous.title = Encontrar la anterior aparición de la frase
+find_previous_label = Anterior
+find_next.title = Encontrar la siguiente aparición de esta frase
+find_next_label = Siguiente
+find_highlight = Resaltar todos
+find_match_case_label = Coincidencia de mayús./minús.
+find_reached_top = Se alcanzó el inicio del documento, se continúa desde el final
+find_reached_bottom = Se alcanzó el final del documento, se continúa desde el inicio
+find_not_found = Frase no encontrada
+error_more_info = Más información
+error_less_info = Menos información
+error_close = Cerrar
+error_version_info = PDF.js v{{version}} (build: {{build}})
+error_message = Mensaje: {{message}}
+error_stack = Pila: {{stack}}
+error_file = Archivo: {{file}}
+error_line = Línea: {{line}}
+rendering_error = Ocurrió un error al renderizar la página.
+page_scale_width = Anchura de la página
+page_scale_fit = Ajuste de la página
+page_scale_auto = Tamaño automático
+page_scale_actual = Tamaño actual
+loading_error_indicator = Error
+loading_error = Ocurrió un error al cargar el PDF.
+invalid_file_error = Fichero PDF no válido o corrupto.
+missing_file_error = No hay fichero PDF.
+text_annotation_type.alt = [Anotación {{type}}]
+password_label = Introduzca la contraseña para abrir este archivo PDF.
+password_invalid = Contraseña no válida. Vuelva a intentarlo.
+password_ok = Aceptar
+password_cancel = Cancelar
+printing_not_supported = Advertencia: Imprimir no está totalmente soportado por este navegador.
+printing_not_ready = Advertencia: Este PDF no se ha cargado completamente para poder imprimirse.
+web_fonts_disabled = Las tipografías web están desactivadas: es imposible usar las tipografías PDF embebidas.
+document_colors_disabled = Los documentos PDF no tienen permitido usar sus propios colores: 'Permitir a las páginas elegir sus propios colores' está desactivado en el navegador.
diff --git a/lib/viewers/pdf/locale/es-MX/viewer.properties b/lib/viewers/pdf/locale/es-MX/viewer.properties
new file mode 100644
index 0000000..a573bbf
--- /dev/null
+++ b/lib/viewers/pdf/locale/es-MX/viewer.properties
@@ -0,0 +1,161 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Página anterior
+previous_label=Anterior
+next.title=Página siguiente
+next_label=Siguiente
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Página:
+page_of=de {{pageCount}}
+
+zoom_out.title=Reducir
+zoom_out_label=Reducir
+zoom_in.title=Aumentar
+zoom_in_label=Aumentar
+zoom.title=Zoom
+presentation_mode.title=Cambiar al modo presentación
+presentation_mode_label=Modo presentación
+open_file.title=Abrir archivo
+open_file_label=Abrir
+print.title=Imprimir
+print_label=Imprimir
+download.title=Descargar
+download_label=Descargar
+bookmark.title=Vista actual (copia o abierta en ventana nueva)
+bookmark_label=Vista actual
+
+# Secondary toolbar and context menu
+tools.title=Herramientas
+tools_label=Herramientas
+first_page.title=Ir a la primera página
+first_page.label=Ir a la primera página
+first_page_label=Ir a la primera página
+last_page.title=Ir a la última página
+last_page.label=Ir a la última página
+last_page_label=Ir a la última página
+page_rotate_cw.title=Girar a la derecha
+page_rotate_cw.label=Girar a la derecha
+page_rotate_cw_label=Girar a la derecha
+page_rotate_ccw.title=Girar a la izquierda
+page_rotate_ccw.label=Girar a la izquierda
+page_rotate_ccw_label=Girar a la izquierda
+
+hand_tool_enable.title=Activar herramienta mano
+hand_tool_enable_label=Activar herramienta mano
+hand_tool_disable.title=Desactivar herramienta mano
+hand_tool_disable_label=Desactivar herramienta mano
+
+# Document properties dialog box
+document_properties.title=Propiedades del documento…
+document_properties_label=Propiedades del documento…
+document_properties_file_name=Nombre del archivo:
+document_properties_file_size=Tamaño del archivo:
+document_properties_kb={{size_kb}} KB ({{size_b}} bytes)
+document_properties_mb={{size_mb}} MB ({{size_b}} bytes)
+document_properties_title=Título:
+document_properties_author=Autor:
+document_properties_subject=Asunto:
+document_properties_keywords=Palabras claves:
+document_properties_creation_date=Fecha de creación:
+document_properties_modification_date=Fecha de modificación:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Creador:
+document_properties_producer=Productor PDF:
+document_properties_version=Versión PDF:
+document_properties_page_count=Número de páginas:
+document_properties_close=Cerrar
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Cambiar barra lateral
+toggle_sidebar_label=Cambiar barra lateral
+outline.title=Mostrar esquema del documento
+outline_label=Esquema del documento
+thumbs.title=Mostrar miniaturas
+thumbs_label=Miniaturas
+findbar.title=Buscar en el documento
+findbar_label=Buscar
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Página {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Miniatura de la página {{page}}
+
+# Find panel button title and messages
+find_label=Encontrar:
+find_previous.title=Ir a la anterior frase encontrada
+find_previous_label=Anterior
+find_next.title=Ir a la siguiente frase encontrada
+find_next_label=Siguiente
+find_highlight=Resaltar todo
+find_match_case_label=Coincidir con mayúsculas y minúsculas
+find_reached_top=Se alcanzó el inicio del documento, se buscará al final
+find_reached_bottom=Se alcanzó el final del documento, se buscará al inicio
+find_not_found=No se encontró la frase
+
+# Error panel labels
+error_more_info=Más información
+error_less_info=Menos información
+error_close=Cerrar
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Mensaje: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Pila: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Archivo: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Línea: {{line}}
+rendering_error=Un error ocurrió al renderizar la página.
+
+# Predefined zoom values
+page_scale_width=Ancho de página
+page_scale_fit=Ajustar página
+page_scale_auto=Zoom automático
+page_scale_actual=Tamaño real
+
+# Loading indicator messages
+loading_error_indicator=Error
+loading_error=Un error ocurrió al cargar el PDF.
+invalid_file_error=Archivo PDF invalido o dañado.
+missing_file_error=Archivo PDF no encontrado.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} anotación]
+password_label=Ingresa la contraseña para abrir este archivo PDF.
+password_invalid=Contraseña inválida. Por favor intenta de nuevo.
+password_ok=Aceptar
+password_cancel=Cancelar
+
+printing_not_supported=Advertencia: La impresión no esta completamente soportada por este navegador.
+printing_not_ready=Advertencia: El PDF no cargo completamente para impresión.
+web_fonts_disabled=Las fuentes web están desactivadas: es imposible usar las fuentes PDF embebidas.
+document_colors_disabled=Los documentos PDF no tienen permiso de usar sus propios colores: 'Permitir que las páginas elijan sus propios colores' esta desactivada en el navegador.
diff --git a/lib/viewers/pdf/locale/es/chrome.properties b/lib/viewers/pdf/locale/es/chrome.properties
deleted file mode 100644
index 31c3618..0000000
--- a/lib/viewers/pdf/locale/es/chrome.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-# Copyright 2012 Mozilla Foundation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Chrome notification bar messages and buttons
-unsupported_feature=Es posible que este documento PDF no se muestre correctamente.
-open_with_different_viewer=Abrir con un visor diferente
-open_with_different_viewer.accessKey=a
diff --git a/lib/viewers/pdf/locale/es/metadata.inc b/lib/viewers/pdf/locale/es/metadata.inc
deleted file mode 100644
index 9cc5ed6..0000000
--- a/lib/viewers/pdf/locale/es/metadata.inc
+++ /dev/null
@@ -1,8 +0,0 @@
- <em:localized>
- <Description>
- <em:locale>es</em:locale>
- <em:name>Visor de PDF</em:name>
- <em:description>Usa HTML5 para mostrar archivos PDF directamente en Firefox.</em:description>
- </Description>
- </em:localized>
-
diff --git a/lib/viewers/pdf/locale/et/viewer.properties b/lib/viewers/pdf/locale/et/viewer.properties
new file mode 100644
index 0000000..bc6b752
--- /dev/null
+++ b/lib/viewers/pdf/locale/et/viewer.properties
@@ -0,0 +1,161 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Eelmine lehekülg
+previous_label=Eelmine
+next.title=Järgmine lehekülg
+next_label=Järgmine
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Lehekülg:
+page_of=(kokku {{pageCount}})
+
+zoom_out.title=Vähenda
+zoom_out_label=Vähenda
+zoom_in.title=Suurenda
+zoom_in_label=Suurenda
+zoom.title=Suurendamine
+presentation_mode.title=Lülitu esitlusrežiimi
+presentation_mode_label=Esitlusrežiim
+open_file.title=Ava fail
+open_file_label=Ava
+print.title=Prindi
+print_label=Prindi
+download.title=Laadi alla
+download_label=Laadi alla
+bookmark.title=Praegune vaade (kopeeri või ava uues aknas)
+bookmark_label=Praegune vaade
+
+# Secondary toolbar and context menu
+tools.title=Tööriistad
+tools_label=Tööriistad
+first_page.title=Mine esimesele leheküljele
+first_page.label=Mine esimesele leheküljele
+first_page_label=Mine esimesele leheküljele
+last_page.title=Mine viimasele leheküljele
+last_page.label=Mine viimasele leheküljele
+last_page_label=Mine viimasele leheküljele
+page_rotate_cw.title=Pööra päripäeva
+page_rotate_cw.label=Pööra päripäeva
+page_rotate_cw_label=Pööra päripäeva
+page_rotate_ccw.title=Pööra vastupäeva
+page_rotate_ccw.label=Pööra vastupäeva
+page_rotate_ccw_label=Pööra vastupäeva
+
+hand_tool_enable.title=Luba sirvimine
+hand_tool_enable_label=Luba sirvimine
+hand_tool_disable.title=Keela sirvimine
+hand_tool_disable_label=Keela sirvimine
+
+# Document properties dialog box
+document_properties.title=Dokumendi omadused…
+document_properties_label=Dokumendi omadused…
+document_properties_file_name=Faili nimi:
+document_properties_file_size=Faili suurus:
+document_properties_kb={{size_kb}} KiB ({{size_b}} baiti)
+document_properties_mb={{size_mb}} MiB ({{size_b}} baiti)
+document_properties_title=Pealkiri:
+document_properties_author=Autor:
+document_properties_subject=Teema:
+document_properties_keywords=Märksõnad:
+document_properties_creation_date=Loodud:
+document_properties_modification_date=Muudetud:
+document_properties_date_string={{date}} {{time}}
+document_properties_creator=Looja:
+document_properties_producer=Generaator:
+document_properties_version=Generaatori versioon:
+document_properties_page_count=Lehekülgi:
+document_properties_close=Sulge
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Näita külgriba
+toggle_sidebar_label=Näita külgriba
+outline.title=Näita sisukorda
+outline_label=Näita sisukorda
+thumbs.title=Näita pisipilte
+thumbs_label=Pisipildid
+findbar.title=Leia dokumendist
+findbar_label=Leia
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title={{page}}. lehekülg
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas={{page}}. lehekülje pisipilt
+
+# Find panel button title and messages
+find_label=Leia:
+find_previous.title=Leia fraasi eelmine esinemiskoht
+find_previous_label=Eelmine
+find_next.title=Leia fraasi järgmine esinemiskoht
+find_next_label=Järgmine
+find_highlight=Too kõik esile
+find_match_case_label=Tõstutundlik
+find_reached_top=Jõuti dokumendi algusesse, jätkati lõpust
+find_reached_bottom=Jõuti dokumendi lõppu, jätkati algusest
+find_not_found=Fraasi ei leitud
+
+# Error panel labels
+error_more_info=Rohkem teavet
+error_less_info=Vähem teavet
+error_close=Sulge
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Teade: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Stack: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Fail: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Rida: {{line}}
+rendering_error=Lehe renderdamisel esines viga.
+
+# Predefined zoom values
+page_scale_width=Mahuta laiusele
+page_scale_fit=Mahuta leheküljele
+page_scale_auto=Automaatne suurendamine
+page_scale_actual=Tegelik suurus
+
+# Loading indicator messages
+loading_error_indicator=Viga
+loading_error=PDFi laadimisel esines viga.
+invalid_file_error=Vigane või rikutud PDF-fail.
+missing_file_error=PDF-fail puudub.
+
+# LOCALIZATION NOTE (text_annotation_type): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} Annotation]
+password_label=PDF-faili avamiseks sisesta parool.
+password_invalid=Vigane parool. Palun proovi uuesti.
+password_ok=Sobib
+password_cancel=Loobu
+
+printing_not_supported=Hoiatus: printimine pole selle brauseri poolt täielikult toetatud.
+printing_not_ready=Hoiatus: PDF pole printimiseks täielikult laaditud.
+web_fonts_disabled=Veebifondid on keelatud: PDFiga kaasatud fonte pole võimalik kasutada.
+document_colors_disabled=PDF-dokumentidel pole oma värvide kasutamine lubatud: \'Veebilehtedel on lubatud kasutada oma värve\' on brauseris deaktiveeritud.
diff --git a/lib/viewers/pdf/locale/eu/viewer.properties b/lib/viewers/pdf/locale/eu/viewer.properties
new file mode 100644
index 0000000..0829055
--- /dev/null
+++ b/lib/viewers/pdf/locale/eu/viewer.properties
@@ -0,0 +1,163 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Aurreko orria
+previous_label=Aurrekoa
+next.title=Hurrengo orria
+next_label=Hurrengoa
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Orria:
+page_of=/ {{pageCount}}
+
+zoom_out.title=Urrundu zooma
+zoom_out_label=Urrundu zooma
+zoom_in.title=Gerturatu zooma
+zoom_in_label=Gerturatu zooma
+zoom.title=Zooma
+presentation_mode.title=Aldatu aurkezpen modura
+presentation_mode_label=Arkezpen modua
+open_file.title=Ireki fitxategia
+open_file_label=Ireki
+print.title=Inprimatu
+print_label=Inprimatu
+download.title=Deskargatu
+download_label=Deskargatu
+bookmark.title=Uneko ikuspegia (kopiatu edo ireki leiho berrian)
+bookmark_label=Uneko ikuspegia
+
+# Secondary toolbar and context menu
+tools.title=Tresnak
+tools_label=Tresnak
+first_page.title=Joan lehen orrira
+first_page.label=Joan lehen orrira
+first_page_label=Joan lehen orrira
+last_page.title=Joan azken orrira
+last_page.label=Joan azken orrira
+last_page_label=Joan azken orrira
+page_rotate_cw.title=Biratu erlojuaren norantzan
+page_rotate_cw.label=Biratu erlojuaren norantzan
+page_rotate_cw_label=Biratu erlojuaren norantzan
+page_rotate_ccw.title=Biratu erlojuaren aurkako norantzan
+page_rotate_ccw.label=Biratu erlojuaren aurkako norantzan
+page_rotate_ccw_label=Biratu erlojuaren aurkako norantzan
+
+hand_tool_enable.title=Gaitu eskuaren tresna
+hand_tool_enable_label=Gaitu eskuaren tresna
+hand_tool_disable.title=Desgaitu eskuaren tresna
+hand_tool_disable_label=Desgaitu eskuaren tresna
+
+# Document properties dialog box
+document_properties.title=Dokumentuaren propietateak…
+document_properties_label=Dokumentuaren propietateak…
+document_properties_file_name=Fitxategi-izena:
+document_properties_file_size=Fitxategiaren tamaina:
+document_properties_kb={{size_kb}} KB ({{size_b}} byte)
+document_properties_mb={{size_mb}} MB ({{size_b}} byte)
+document_properties_title=Izenburua:
+document_properties_author=Egilea:
+document_properties_subject=Gaia:
+document_properties_keywords=Gako-hitzak:
+document_properties_creation_date=Sortze-data:
+document_properties_modification_date=Aldatze-data:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Sortzailea:
+document_properties_producer=PDFaren ekoizlea:
+document_properties_version=PDF bertsioa:
+document_properties_page_count=Orrialde kopurua:
+document_properties_close=Itxi
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Txandakatu alboko barra
+toggle_sidebar_label=Txandakatu alboko barra
+outline.title=Erakutsi dokumentuaren eskema
+outline_label=Dokumentuaren eskema
+attachments.title=Erakutsi eranskinak
+attachments_label=Eranskinak
+thumbs.title=Erakutsi koadro txikiak
+thumbs_label=Koadro txikiak
+findbar.title=Bilatu dokumentuan
+findbar_label=Bilatu
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title={{page}}. orria
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas={{page}}. orriaren koadro txikia
+
+# Find panel button title and messages
+find_label=Bilatu:
+find_previous.title=Bilatu esaldiaren aurreko parekatzea
+find_previous_label=Aurrekoa
+find_next.title=Bilatu esaldiaren hurrengo parekatzea
+find_next_label=Hurrengoa
+find_highlight=Nabarmendu guztia
+find_match_case_label=Bat etorri maiuskulekin/minuskulekin
+find_reached_top=Dokumentuaren hasierara heldu da, bukaeratik jarraitzen
+find_reached_bottom=Dokumentuaren bukaerara heldu da, hasieratik jarraitzen
+find_not_found=Esaldia ez da aurkitu
+
+# Error panel labels
+error_more_info=Informazio gehiago
+error_less_info=Informazio gutxiago
+error_close=Itxi
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (eraikuntza: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Mezua: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Pila: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Fitxategia: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Lerroa: {{line}}
+rendering_error=Errorea gertatu da orria errendatzean.
+
+# Predefined zoom values
+page_scale_width=Orriaren zabalera
+page_scale_fit=Doitu orrira
+page_scale_auto=Zoom automatikoa
+page_scale_actual=Benetako tamaina
+
+# Loading indicator messages
+loading_error_indicator=Errorea
+loading_error=Errorea gertatu da PDFa kargatzean.
+invalid_file_error=PDF fitxategi baliogabe edo hondatua.
+missing_file_error=PDF fitxategia falta da.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} ohartarazpena]
+password_label=Idatzi PDF fitxategi hau irekitzeko pasahitza.
+password_invalid=Pasahitz baliogabea. Saiatu berriro mesedez.
+password_ok=Ados
+password_cancel=Utzi
+
+printing_not_supported=Abisua: inprimatzeko euskarria ez da erabatekoa nabigatzaile honetan.
+printing_not_ready=Abisua: PDFa ez dago erabat kargatuta inprimatzeko.
+web_fonts_disabled=Webeko letra-tipoak desgaituta daude: ezin dira kapsulatutako PDF letra-tipoak erabili.
+document_colors_disabled=PDF dokumentuek ez dute beraien koloreak erabiltzeko baimenik: 'Baimendu orriak beraien letra-tipoak aukeratzea' desaktibatuta dago nabigatzailean.
diff --git a/lib/viewers/pdf/locale/fa/viewer.properties b/lib/viewers/pdf/locale/fa/viewer.properties
new file mode 100644
index 0000000..062f2c2
--- /dev/null
+++ b/lib/viewers/pdf/locale/fa/viewer.properties
@@ -0,0 +1,102 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=صفحهٔ قبلی
+next.title=صفحهٔ بعدی
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=صفحه:
+page_of=از {{pageCount}}
+
+zoom_out.title=کوچک‌نمایی
+zoom_out_label=کوچک‌نمایی
+zoom_in.title=بزرگ‌نمایی
+zoom_in_label=بزرگ‌نمایی
+zoom.title=زوم
+presentation_mode.title=تغییر به حالت ارائه
+presentation_mode_label=حالت ارائه
+open_file.title=باز کردن پرونده
+open_file_label=باز کردن
+print.title=چاپ
+print_label=چاپ
+download.title=بارگیری
+download_label=بارگیری
+bookmark.title=نمای فعلی (کپی کن، یا در پنجرۀ دیگری نشان بده)
+bookmark_label=نمای فعلی
+
+# Secondary toolbar and context menu
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+outline.title=نمایش طرح نوشتار
+outline_label=طرح نوشتار
+thumbs.title=نمایش تصاویر بندانگشتی
+thumbs_label=تصاویر بندانگشتی
+findbar_label=پیدا کردن
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=صفحه {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=تصویر بند‌ انگشتی صفحه {{page}}
+
+# Find panel button title and messages
+find_previous.title=پیدا کردن رخداد قبلی عبارت
+find_next.title=پیدا کردن رخداد بعدی عبارت
+find_not_found=عبارت پیدا نشد
+
+# Error panel labels
+error_more_info=اطلاعات بیشتر
+error_less_info=اطلاعات کمتر
+error_close=بستن
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=پیام: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=توده: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=پرونده: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=سطر: {{line}}
+rendering_error=هنگام بارگیری صفحه خطایی رخ داد.
+
+# Predefined zoom values
+page_scale_width=عرض صفحه
+page_scale_fit=اندازه کردن صفحه
+page_scale_auto=بزرگنمایی خودکار
+page_scale_actual=اندازه واقعی‌
+
+# Loading indicator messages
+loading_error_indicator=خطا
+loading_error=هنگام بارگیری پرونده (PDF) خطایی رخ داد.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} Annotation]
+password_ok=تأیید
+password_cancel=انصراف
+
+printing_not_supported=هشدار: قابلیت چاپ به‌طور کامل در این مرورگر پشتیبانی نمی‌شود.
diff --git a/lib/viewers/pdf/locale/ff/viewer.properties b/lib/viewers/pdf/locale/ff/viewer.properties
new file mode 100644
index 0000000..9720c3e
--- /dev/null
+++ b/lib/viewers/pdf/locale/ff/viewer.properties
@@ -0,0 +1,163 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Hello Ɓennungo
+previous_label=Ɓennuɗo
+next.title=Hello faango
+next_label=Yeeso
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Hello:
+page_of=e nder {{pageCount}}
+
+zoom_out.title=Lonngo Woɗɗa
+zoom_out_label=Lonngo Woɗɗa
+zoom_in.title=Lonngo Ara
+zoom_in_label=Lonngo Ara
+zoom.title=Lonngo
+presentation_mode.title=Faytu to Presentation Mode
+presentation_mode_label=Presentation Mode
+open_file.title=Uddit Fiilde
+open_file_label=Uddit
+print.title=Winndito
+print_label=Winndito
+download.title=Aawto
+download_label=Aawto
+bookmark.title=Jiytol gonangol (natto walla uddit e henorde)
+bookmark_label=Jiytol Gonangol
+
+# Secondary toolbar and context menu
+tools.title=Kuutorɗe
+tools_label=Kuutorɗe
+first_page.title=Yah to hello adanngo
+first_page.label=Yah to hello adanngo
+first_page_label=Yah to hello adanngo
+last_page.title=Yah to hello wattindiingo
+last_page.label=Yah to hello wattindiingo
+last_page_label=Yah to hello wattindiingo
+page_rotate_cw.title=Yiiltu Faya Ñaamo
+page_rotate_cw.label=Yiiltu Faya Ñaamo
+page_rotate_cw_label=Yiiltu Faya Ñaamo
+page_rotate_ccw.title=Yiiltu Faya Nano
+page_rotate_ccw.label=Yiiltu Faya Nano
+page_rotate_ccw_label=Yiiltu Faya Nano
+
+hand_tool_enable.title=Hurmin kuutorgal junngo
+hand_tool_enable_label=Hurmin kuutorgal junngo
+hand_tool_disable.title=Daaƴ kuutorgal junngo
+hand_tool_disable_label=Daaƴ kuutorgal junngo
+
+# Document properties dialog box
+document_properties.title=Keeroraaɗi Winndannde…
+document_properties_label=Keeroraaɗi Winndannde…
+document_properties_file_name=Innde fiilde:
+document_properties_file_size=Ɓetol fiilde:
+document_properties_kb={{size_kb}} KB ({{size_b}} bite)
+document_properties_mb={{size_mb}} MB ({{size_b}} bite)
+document_properties_title=Tiitoonde:
+document_properties_author=Binnduɗo:
+document_properties_subject=Toɓɓere:
+document_properties_keywords=Kelmekele jiytirɗe:
+document_properties_creation_date=Ñalnde Sosaa:
+document_properties_modification_date=Ñalnde Waylaa:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Cosɗo:
+document_properties_producer=Paggiiɗo PDF:
+document_properties_version=Yamre PDF:
+document_properties_page_count=Limoore Kelle:
+document_properties_close=Uddu
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Toggilo Palal Sawndo
+toggle_sidebar_label=Toggilo Palal Sawndo
+outline.title=Hollu Toɓɓe Fiilannde
+outline_label=Toɓɓe Fiilannde
+attachments.title=Hollu Ɗisanɗe
+attachments_label=Ɗisanɗe
+thumbs.title=Hollu Dooɓe
+thumbs_label=Dooɓe
+findbar.title=Yiylo e fiilannde
+findbar_label=Yiytu
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Hello {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Dooɓre Hello {{page}}
+
+# Find panel button title and messages
+find_label=Yiytu:
+find_previous.title=Yiylo cilol ɓennugol konngol ngol
+find_previous_label=Ɓennuɗo
+find_next.title=Yiylo cilol garowol konngol ngol
+find_next_label=Yeeso
+find_highlight=Jalbin fof
+find_match_case_label=Jaaɓnu darnde
+find_reached_top=Heɓii fuɗɗorde fiilannde, jokku faya les
+find_reached_bottom=Heɓii hoore fiilannde, jokku faya les
+find_not_found=Konngi njiyataa
+
+# Error panel labels
+error_more_info=Ɓeydu Humpito
+error_less_info=Ustu Humpito
+error_close=Uddu
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Ɓatakuure: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Stack: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Fiilde: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Gorol: {{line}}
+rendering_error=Juumre waɗii tuma nde yoŋkittoo hello.
+
+# Predefined zoom values
+page_scale_width=Njaajeendi Hello
+page_scale_fit=Keƴeendi Hello
+page_scale_auto=Loongorde Jaajol
+page_scale_actual=Ɓetol Jaati
+
+# Loading indicator messages
+loading_error_indicator=Juumre
+loading_error=Juumre waɗii tuma nde loowata PDF oo.
+invalid_file_error=Fiilde PDF moƴƴaani walla jiibii.
+missing_file_error=Fiilde PDF ena ŋakki.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} Siiftannde]
+password_label=Naatu finnde ngam uddite ndee fiilde PDF.
+password_invalid=Finnde moƴƴaani. Tiiɗno eto kadi.
+password_ok=OK
+password_cancel=Haaytu
+
+printing_not_supported=Reentino: Winnditagol tammbitaaka no feewi e ndee wanngorde.
+printing_not_ready=Reentino: PDF oo loowaaki haa timmi ngam winnditagol.
+web_fonts_disabled=Ponte geese ko daaƴaaɗe: horiima huutoraade ponte PDF coomtoraaɗe.
+document_colors_disabled=Piilanɗe PDF njamiraaka yoo kuutoro goobuuji mum'en keeriiɗi: 'Yamir kello yoo kuutoro goobuuki keeriiɗi' koko daaƴaa e wanngorde ndee.
diff --git a/lib/viewers/pdf/locale/fi/chrome.properties b/lib/viewers/pdf/locale/fi/chrome.properties
deleted file mode 100644
index 529da81..0000000
--- a/lib/viewers/pdf/locale/fi/chrome.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-# Copyright 2012 Mozilla Foundation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Chrome notification bar messages and buttons
-unsupported_feature=Tämä PDF-asiakirja ei ehkä näy oikeanlaisena.
-open_with_different_viewer=Avaa toisella ohjelmalla
-open_with_different_viewer.accessKey=o
diff --git a/lib/viewers/pdf/locale/fi/metadata.inc b/lib/viewers/pdf/locale/fi/metadata.inc
deleted file mode 100644
index 1b8d8b6..0000000
--- a/lib/viewers/pdf/locale/fi/metadata.inc
+++ /dev/null
@@ -1,8 +0,0 @@
- <em:localized>
- <Description>
- <em:locale>fi</em:locale>
- <em:name>PDF Lukuohjelma</em:name>
- <em:description>Näyttää PDF tiedostot suoraan Firefox:ssa HTML5:n avulla.</em:description>
- </Description>
- </em:localized>
-
diff --git a/lib/viewers/pdf/locale/fi/viewer.properties b/lib/viewers/pdf/locale/fi/viewer.properties
index f8cb93f..5a5a87b 100644
--- a/lib/viewers/pdf/locale/fi/viewer.properties
+++ b/lib/viewers/pdf/locale/fi/viewer.properties
@@ -1,4 +1,4 @@
-# Copyright 2012 Mozilla Foundation
+# Copyright 2012 Mozilla Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -25,32 +25,73 @@ next_label=Seuraava
page_label=Sivu:
page_of=/ {{pageCount}}
-zoom_out.title=Suurenna
-zoom_out_label=Suurenna
-zoom_in.title=Pienennä
-zoom_in_label=Pienennä
-zoom.title=Sivun suurennus
-print.title=Tulosta
-print_label=Tulosta
-presentation_mode.title=Esitystila
+zoom_out.title=Loitonna
+zoom_out_label=Loitonna
+zoom_in.title=Lähennä
+zoom_in_label=Lähennä
+zoom.title=Suurennus
+presentation_mode.title=Siirry esitystilaan
presentation_mode_label=Esitystila
open_file.title=Avaa tiedosto
open_file_label=Avaa
+print.title=Tulosta
+print_label=Tulosta
download.title=Lataa
download_label=Lataa
-bookmark.title=Nykyinen näkymä (kopioi tai avaa uuteen ikkunaan)
-bookmark_label=Nykyinen näkymä
+bookmark.title=Avoin ikkuna (kopioi tai avaa uuteen ikkunaan)
+bookmark_label=Avoin ikkuna
+
+# Secondary toolbar and context menu
+tools.title=Tools
+tools_label=Tools
+first_page.title=Siirry ensimmäiselle sivulle
+first_page.label=Siirry ensimmäiselle sivulle
+first_page_label=Siirry ensimmäiselle sivulle
+last_page.title=Siirry viimeiselle sivulle
+last_page.label=Siirry viimeiselle sivulle
+last_page_label=Siirry viimeiselle sivulle
+page_rotate_cw.title=Kierrä oikealle
+page_rotate_cw.label=Kierrä oikealle
+page_rotate_cw_label=Kierrä oikealle
+page_rotate_ccw.title=Kierrä vasemmalle
+page_rotate_ccw.label=Kierrä vasemmalle
+page_rotate_ccw_label=Kierrä vasemmalle
+
+hand_tool_enable.title=Käytä käsityökalua
+hand_tool_enable_label=Käytä käsityökalua
+hand_tool_disable.title=Poista käsityökalu käytöstä
+hand_tool_disable_label=Poista käsityökalu käytöstä
+
+# Document properties dialog box
+document_properties.title=Dokumentin ominaisuudet…
+document_properties_label=Dokumentin ominaisuudet…
+document_properties_file_name=Tiedostonimi:
+document_properties_file_size=Tiedoston koko:
+document_properties_kb={{size_kb}} kt ({{size_b}} tavua)
+document_properties_mb={{size_mb}} Mt ({{size_b}} tavua)
+document_properties_title=Otsikko:
+document_properties_author=Tekijä:
+document_properties_subject=Aihe:
+document_properties_keywords=Avainsanat:
+document_properties_creation_date=Luomispäivämäärä:
+document_properties_modification_date=Muokkauspäivämäärä:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Luoja:
+document_properties_producer=PDF-tuottaja:
+document_properties_version=PDF-versio:
+document_properties_page_count=Sivujen määrä:
+document_properties_close=Sulje
# Tooltips and alt text for side panel toolbar buttons
# (the _label strings are alt text for the buttons, the .title strings are
# tooltips)
-toggle_sidebar.title=Vaihda sivunäkymä
-toggle_sidebar_label=Vaihda sivunäkymä
-outline.title=Näytä asiakirjan jäsennys
-outline_label=Asiakirjan jäsennys
-thumbs.title=Näytä esikatselukuvat
-thumbs_label=Esikatselukuvat
-findbar.title=Etsi asiakirjasta
+toggle_sidebar.title=Näytä/piilota sivupaneeli
+toggle_sidebar_label=Näytä/piilota sivupaneeli
+outline.title=Näytä dokumentin rakenne
+outline_label=Dokumentin rakenne
+thumbs.title=Näytä pienoiskuvat
+thumbs_label=Pienoiskuvat
+findbar.title=Etsi dokumentista
findbar_label=Etsi
# Thumbnails panel item (tooltip and alt text for images)
@@ -59,63 +100,62 @@ findbar_label=Etsi
thumb_page_title=Sivu {{page}}
# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
# number.
-thumb_page_canvas=Sivun {{page}} esikatselukuva
-
-# Context menu
-first_page.label=Ensimmäinen sivu
-last_page.label=Viimeinen sivu
-page_rotate_cw.label=Kierrä myötäpäivään
-page_rotate_ccw.label=Kierrä vastapäivään
+thumb_page_canvas=Pienoiskuva sivusta {{page}}
# Find panel button title and messages
-find_label=Etsi
-find_previous.title=Etsi edellinen
+find_label=Etsi:
+find_previous.title=Etsi hakusanan edellinen osuma
find_previous_label=Edellinen
-find_next.title=Etsi seuraava
+find_next.title=Etsi hakusanan seuraava osuma
find_next_label=Seuraava
-find_highlight=Korosta kaikki hakutulokset
-find_match_case_label=Hae täysin samanlaisia
-find_reached_top=Asiakirjan alku saavutettiin, jatkettiin lopusta
-find_reached_bottom=Asiakirjan loppu saavutettiin, jatkettiin alusta
-find_not_found=Ei löytynyt
+find_highlight=Korosta kaikki
+find_match_case_label=Huomioi kirjainkoko
+find_reached_top=Päästiin dokumentin alkuun, jatketaan lopusta
+find_reached_bottom=Päästiin dokumentin loppuun, continued from top
+find_not_found=Hakusanaa ei löytynyt
# Error panel labels
-error_more_info=Enemmän tietoa
-error_less_info=Vähemmän tietoa
+error_more_info=Lisätietoja
+error_less_info=Lisätietoja
error_close=Sulje
# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
# replaced by the PDF.JS version and build ID.
-error_version_info=PDF.js v{{version}} (rakennus: {{build}})
+error_version_info=PDF.js v{{version}} (kooste: {{build}})
# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
# english string describing the error.
-error_message=Viesti: {{message}}
+error_message=Virheilmoitus: {{message}}
# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
# trace.
-error_stack=Kutsupino: {{stack}}
+error_stack=Pino: {{stack}}
# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
error_file=Tiedosto: {{file}}
# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
error_line=Rivi: {{line}}
-rendering_error=Virhe on tapahtunut sivua mallintaessa.
+rendering_error=Tapahtui virhe piirrettäessä sivua.
# Predefined zoom values
page_scale_width=Sivun leveys
-page_scale_fit=Sivun sovitus
-page_scale_auto=Automaatinen sivun suurennus
+page_scale_fit=Koko sivu
+page_scale_auto=Automaattinen suurennus
page_scale_actual=Todellinen koko
# Loading indicator messages
loading_error_indicator=Virhe
-loading_error=Virhe on tapahtunut PDF:ää ladattaessa.
-invalid_file_error=Virheellinen tai vioittunut PDF tiedosto.
-missing_file_error=PDF tiedostoa ei löytynyt.
+loading_error=Tapahtui virhe ladattaessa PDF-tiedostoa.
+invalid_file_error=Virheellinen tai vioittunut PDF-tiedosto.
+missing_file_error=Puuttuva PDF-tiedosto.
-# LOCALIZATION NOTE (text_annotation_type): This is used as a tooltip.
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
# "{{type}}" will be replaced with an annotation type from a list defined in
# the PDF spec (32000-1:2008 Table 169 – Annotation types).
# Some common types are e.g.: "Check", "Text", "Comment", "Note"
-text_annotation_type=[{{type}} Selite]
-request_password=PDF on salasanasuojattu:
+text_annotation_type.alt=[{{type}} Annotation]
+password_label=Kirjoita PDF-tiedoston salasana.
+password_invalid=Virheellinen salasana. Yritä uudestaan.
+password_ok=OK
+password_cancel=Peruuta
-printing_not_supported=Varoitus: Tämä selain ei täysin tue tulostusta.
-web_fonts_disabled=Web fontit ovat poissa käytöstä: upotettuja PDF fontteja ei voida käyttää.
+printing_not_supported=Varoitus: Selain ei tue kaikkia tulostustapoja.
+printing_not_ready=Varoitus: PDF-tiedosto ei ole vielä latautunut kokonaan, eikä sitä voi vielä tulostaa.
+web_fonts_disabled=Verkkosivujen omat kirjasinlajit on estetty: ei voida käyttää upotettuja PDF-kirjasinlajeja.
+document_colors_disabled=PDF-dokumenttien ei ole sallittua käyttää omia värejään: Asetusta \"Sivut saavat käyttää omia värejään oletusten sijaan\" ei ole valittu selaimen asetuksissa.
diff --git a/lib/viewers/pdf/locale/fr/chrome.properties b/lib/viewers/pdf/locale/fr/chrome.properties
deleted file mode 100644
index 2e354ff..0000000
--- a/lib/viewers/pdf/locale/fr/chrome.properties
+++ /dev/null
@@ -1,17 +0,0 @@
-# Copyright 2012 Mozilla Foundation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-unsupported_feature=Il est possible que ce document PDF ne s'affiche pas correctement.
-open_with_different_viewer=Ouvrir avec un autre lecteur PDF
-open_with_different_viewer.accessKey=o
diff --git a/lib/viewers/pdf/locale/fr/metadata.inc b/lib/viewers/pdf/locale/fr/metadata.inc
deleted file mode 100644
index 874e93a..0000000
--- a/lib/viewers/pdf/locale/fr/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
- <em:localized>
- <Description>
- <em:locale>fr</em:locale>
- <em:name>PDF Viewer</em:name>
- <em:description>Utilise HTML5 pour afficher les documents PDF directement dans Firefox.</em:description>
- </Description>
- </em:localized>
diff --git a/lib/viewers/pdf/locale/fr/viewer.properties b/lib/viewers/pdf/locale/fr/viewer.properties
index cdd1989..41d1860 100644
--- a/lib/viewers/pdf/locale/fr/viewer.properties
+++ b/lib/viewers/pdf/locale/fr/viewer.properties
@@ -30,17 +30,33 @@ zoom_out_label=Zoom arrière
zoom_in.title=Zoom avant
zoom_in_label=Zoom avant
zoom.title=Zoom
-print.title=Imprimer
-print_label=Imprimer
presentation_mode.title=Basculer en mode présentation
presentation_mode_label=Mode présentation
open_file.title=Ouvrir le fichier
-open_file_label=Ouvrir
+open_file_label=Ouvrir le fichier
+print.title=Imprimer
+print_label=Imprimer
download.title=Télécharger
download_label=Télécharger
bookmark.title=Affichage courant (copier ou ouvrir dans une nouvelle fenêtre)
bookmark_label=Affichage actuel
+# Secondary toolbar and context menu
+tools.title=Outils
+tools_label=Outils
+first_page.title=Aller à la première page
+first_page.label=Aller à la première page
+first_page_label=Aller à la première page
+last_page.title=Aller à la dernière page
+last_page.label=Aller à la dernière page
+last_page_label=Aller à la dernière page
+page_rotate_cw.title=Rotation horaire
+page_rotate_cw.label=Rotation horaire
+page_rotate_cw_label=Rotation horaire
+page_rotate_ccw.title=Rotation anti-horaire
+page_rotate_ccw.label=Rotation anti-horaire
+page_rotate_ccw_label=Rotation anti-horaire
+
# Tooltips and alt text for side panel toolbar buttons
# (the _label strings are alt text for the buttons, the .title strings are
# tooltips)
@@ -48,6 +64,8 @@ toggle_sidebar.title=Afficher/Masquer le panneau latéral
toggle_sidebar_label=Afficher/Masquer le panneau latéral
outline.title=Afficher les signets
outline_label=Signets du document
+attachments.title=Afficher les pièces jointes
+attachments_label=Pièces jointes
thumbs.title=Afficher les vignettes
thumbs_label=Vignettes
findbar.title=Rechercher dans le document
@@ -61,11 +79,30 @@ thumb_page_title=Page {{page}}
# number.
thumb_page_canvas=Vignette de la page {{page}}
-# Context menu
-first_page.label=Aller à la première page
-last_page.label=Aller à la dernière page
-page_rotate_cw.label=Rotation horaire
-page_rotate_ccw.label=Rotation anti-horaire
+hand_tool_enable.title=Activer l'outil main
+hand_tool_enable_label=Activer l'outil main
+hand_tool_disable.title=Désactiver l'outil main
+hand_tool_disable_label=Désactiver l'outil main
+
+# Document properties dialog box
+document_properties.title=Propriétés du document…
+document_properties_label=Propriétés du document…
+document_properties_file_name=Nom du fichier :
+document_properties_file_size=Taille du fichier :
+document_properties_kb={{size_kb}} Ko ({{size_b}} octets)
+document_properties_mb={{size_mb}} Mo ({{size_b}} octets)
+document_properties_title=Titre :
+document_properties_author=Auteur :
+document_properties_subject=Sujet :
+document_properties_keywords=Mots-clés :
+document_properties_creation_date=Date de création :
+document_properties_modification_date=Modifié le :
+document_properties_date_string={{date}} à {{time}}
+document_properties_creator=Créé par :
+document_properties_producer=Outil de conversion PDF :
+document_properties_version=Version PDF :
+document_properties_page_count=Nombre de pages :
+document_properties_close=Fermer
# Find panel button title and messages
find_label=Rechercher :
@@ -110,13 +147,17 @@ loading_error=Une erreur s'est produite lors du chargement du fichier PDF.
invalid_file_error=Fichier PDF invalide ou corrompu.
missing_file_error=Fichier PDF manquant.
-# LOCALIZATION NOTE (text_annotation_type): This is used as a tooltip.
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
# "{{type}}" will be replaced with an annotation type from a list defined in
# the PDF spec (32000-1:2008 Table 169 – Annotation types).
# Some common types are e.g.: "Check", "Text", "Comment", "Note"
-text_annotation_type=[Annotation {{type}}]
-request_password=Le PDF est protégé par un mot de passe :
+text_annotation_type.alt=[Annotation {{type}}]
+password_label=Veuillez saisir le mot de passe pour ouvrir ce fichier PDF.
+password_invalid=Mot de passe incorrect. Veuillez réessayer.
+password_ok=OK
+password_cancel=Annuler
printing_not_supported=Attention : l'impression n'est pas totalement prise en charge par ce navigateur.
printing_not_ready=Attention : le PDF n'est pas entièrement chargé pour pouvoir l'imprimer.
web_fonts_disabled=Les polices web sont désactivées : impossible d'utiliser les polices intégrées au PDF.
+document_colors_disabled=Les documents PDF ne peuvent pas utiliser leurs propres couleurs : « Autoriser les pages web à utiliser leurs propres couleurs » est désactivé dans le navigateur.
diff --git a/lib/viewers/pdf/locale/fy-NL/viewer.properties b/lib/viewers/pdf/locale/fy-NL/viewer.properties
new file mode 100644
index 0000000..8110e86
--- /dev/null
+++ b/lib/viewers/pdf/locale/fy-NL/viewer.properties
@@ -0,0 +1,169 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Foarige side
+previous_label=Foarige
+next.title=Folgjende side
+next_label=Folgjende
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=side:
+page_of=fan {{pageCount}}
+
+zoom_out.title=Utzoome
+zoom_out_label=Utzoome
+zoom_in.title=Ynzoome
+zoom_in_label=Ynzoome
+zoom.title=Zoome
+print.title=Ofdrukke
+print_label=Ofdrukke
+presentation_mode.title=Wikselje nei presintaasjemoadus
+presentation_mode_label=Presintaasjemoadus
+open_file.title=Bestân iepenje
+open_file_label=Iepenje
+download.title=Ynlade
+download_label=Ynlade
+bookmark.title=Aktuele finster (kopiearje of iepenje yn nij finster)
+bookmark_label=Aktuele finster
+
+# Secondary toolbar and context menu
+tools.title=Ark
+tools_label=Ark
+first_page.title=Gean nei earste side
+first_page.label=Gean nei earste side
+first_page_label=Gean nei earste side
+last_page.title=Gean nei lêste side
+last_page.label=Gean nei lêste side
+last_page_label=Gean nei lêste v
+page_rotate_cw.title=Rjochtsom draaie
+page_rotate_cw.label=Rjochtsom draaie
+page_rotate_cw_label=Rjochtsom draaie
+page_rotate_ccw.title=Linksom draaie
+page_rotate_ccw.label=Linksom draaie
+page_rotate_ccw_label=Linksom draaie
+
+hand_tool_enable.title=Hânark ynskeakelje
+hand_tool_enable_label=Hânark ynskeakelje
+hand_tool_disable.title=Hânark úyskeakelje
+hand_tool_disable_label=Hânark úyskeakelje
+
+# Document properties dialog box
+document_properties.title=Dokuminteigenskippen…
+document_properties_label=Dokuminteigenskippen…
+document_properties_file_name=Bestânsnamme:
+document_properties_file_size=Bestânsgrutte:
+document_properties_kb={{size_kb}} KB ({{size_b}} bytes)
+document_properties_mb={{size_mb}} MB ({{size_b}} bytes)
+document_properties_title=Titel:
+document_properties_author=Auteur:
+document_properties_subject=Underwerp:
+document_properties_keywords=Kaaiwurden:
+document_properties_creation_date=Oanmaakdatum:
+document_properties_modification_date=Bewurkingsdatum:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Makker:
+document_properties_producer=PDF-makker:
+document_properties_version=PDF-ferzje:
+document_properties_page_count=Siden:
+document_properties_close=Slute
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Sidebalke yn-/útskeakelje
+toggle_sidebar_label=Sidebalke yn-/útskeakelje
+outline.title=Dokumint ynhâldsopjefte toane
+outline_label=Dokumint ynhâldsopjefte
+attachments.title=Bylagen toane
+attachments_label=Bylagen
+thumbs.title=Foarbylden toane
+thumbs_label=Foarbylden
+findbar.title=Sykje yn dokumint
+findbar_label=Sykje
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Side {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Foarbyld fan side {{page}}
+
+# Context menu
+first_page.label=Nei earste side gean
+last_page.label=Nei lêste side gean
+page_rotate_cw.label=Rjochtsom draaie
+page_rotate_ccw.label=Linksom draaie
+
+# Find panel button title and messages
+find_label=Sykje:
+find_previous.title=It foarige foarkommen fan de tekst sykje
+find_previous_label=Foarige
+find_next.title=It folgjende foarkommen fan de tekst sykje
+find_next_label=Folgjende
+find_highlight=Alles markearje
+find_match_case_label=Haadlettergefoelich
+find_reached_top=Boppekant fan dokumint berikt, trochgien fanôf ûnderkant
+find_reached_bottom=Ein fan dokumint berikt, trochgien fanôf boppekant
+find_not_found=Tekst net fûn
+
+# Error panel labels
+error_more_info=Mear ynformaasje
+error_less_info=Minder ynformaasje
+error_close=Slute
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Berjocht: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Stack: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Bestân: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Rigel: {{line}}
+rendering_error=Der is in flater bard by it renderjen fan de side.
+
+# Predefined zoom values
+page_scale_width=Sidebreedte
+page_scale_fit=Hiele side
+page_scale_auto=Automatysk zoome
+page_scale_actual=Wurklike grutte
+
+# Loading indicator messages
+loading_error_indicator=Flater
+loading_error=Der is in flater bard by it laden fan de PDF.
+invalid_file_error=Ynfalide of korruptearre PDF-bestân.
+missing_file_error=PDF-bestân ûntbrekt.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} Annotation]
+password_label=Jou it wachtwurd om dit PDF-bestân te iepenjen.
+password_invalid=Ferkeard wachtwurd. Probearje opnij.
+password_ok=OK
+password_cancel=Annulearje
+
+printing_not_supported=Warning: Printing is net folslein stipe troch dizze browser.
+printing_not_ready=Warning: PDF is net folslein laden om ôf te drukken.
+web_fonts_disabled=Weblettertypen binne útskeakele: gebrûk fan ynsluten PDF-lettertypen is net mooglik.
+document_colors_disabled=PDF-dokuminten binne net tastien om har eigen kleuren te brûken: \'Siden tastean har eigen kleuren te kiezen\' is útskeakele yn de browser.
diff --git a/lib/viewers/pdf/locale/ga-IE/viewer.properties b/lib/viewers/pdf/locale/ga-IE/viewer.properties
new file mode 100644
index 0000000..66c4876
--- /dev/null
+++ b/lib/viewers/pdf/locale/ga-IE/viewer.properties
@@ -0,0 +1,163 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=An Leathanach Roimhe Seo
+previous_label=Roimhe Seo
+next.title=An Chéad Leathanach Eile
+next_label=Ar Aghaidh
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Leathanach:
+page_of=as {{pageCount}}
+
+zoom_out.title=Súmáil Amach
+zoom_out_label=Súmáil Amach
+zoom_in.title=Súmáil Isteach
+zoom_in_label=Súmáil Isteach
+zoom.title=Súmáil
+presentation_mode.title=Úsáid an Mód Láithreoireachta
+presentation_mode_label=Mód Láithreoireachta
+open_file.title=Oscail Comhad
+open_file_label=Oscail
+print.title=Priontáil
+print_label=Priontáil
+download.title=Íosluchtaigh
+download_label=Íosluchtaigh
+bookmark.title=An t-amharc reatha (cóipeáil nó oscail i bhfuinneog nua)
+bookmark_label=An tAmharc Reatha
+
+# Secondary toolbar and context menu
+tools.title=Uirlisí
+tools_label=Uirlisí
+first_page.title=Go dtí an chéad leathanach
+first_page.label=Go dtí an chéad leathanach
+first_page_label=Go dtí an chéad leathanach
+last_page.title=Go dtí an leathanach deiridh
+last_page.label=Go dtí an leathanach deiridh
+last_page_label=Go dtí an leathanach deiridh
+page_rotate_cw.title=Rothlaigh ar deiseal
+page_rotate_cw.label=Rothlaigh ar deiseal
+page_rotate_cw_label=Rothlaigh ar deiseal
+page_rotate_ccw.title=Rothlaigh ar tuathal
+page_rotate_ccw.label=Rothlaigh ar tuathal
+page_rotate_ccw_label=Rothlaigh ar tuathal
+
+hand_tool_enable.title=Cumasaigh uirlis láimhe
+hand_tool_enable_label=Cumasaigh uirlis láimhe
+hand_tool_disable.title=Díchumasaigh uirlis láimhe
+hand_tool_disable_label=Díchumasaigh uirlis láimhe
+
+# Document properties dialog box
+document_properties.title=Airíonna na Cáipéise…
+document_properties_label=Airíonna na Cáipéise…
+document_properties_file_name=Ainm an chomhaid:
+document_properties_file_size=Méid an chomhaid:
+document_properties_kb={{size_kb}} kB ({{size_b}} beart)
+document_properties_mb={{size_mb}} MB ({{size_b}} beart)
+document_properties_title=Teideal:
+document_properties_author=Údar:
+document_properties_subject=Ábhar:
+document_properties_keywords=Eochairfhocail:
+document_properties_creation_date=Dáta Cruthaithe:
+document_properties_modification_date=Dáta Athraithe:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Cruthaitheoir:
+document_properties_producer=Cruthaitheoir an PDF:
+document_properties_version=Leagan PDF:
+document_properties_page_count=Líon Leathanach:
+document_properties_close=Dún
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Scoránaigh an Barra Taoibh
+toggle_sidebar_label=Scoránaigh an Barra Taoibh
+outline.title=Taispeáin Creatlach na Cáipéise
+outline_label=Creatlach na Cáipéise
+attachments.title=Taispeáin Iatáin
+attachments_label=Iatáin
+thumbs.title=Taispeáin Mionsamhlacha
+thumbs_label=Mionsamhlacha
+findbar.title=Aimsigh sa Cháipéis
+findbar_label=Aimsigh
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Leathanach {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Mionsamhail Leathanaigh {{page}}
+
+# Find panel button title and messages
+find_label=Aimsigh:
+find_previous.title=Aimsigh an sampla roimhe seo den nath seo
+find_previous_label=Roimhe seo
+find_next.title=Aimsigh an chéad sampla eile den nath sin
+find_next_label=Ar aghaidh
+find_highlight=Aibhsigh uile
+find_match_case_label=Cásíogair
+find_reached_top=Ag barr na cáipéise, ag leanúint ón mbun
+find_reached_bottom=Ag bun na cáipéise, ag leanúint ón mbarr
+find_not_found=Abairtín gan aimsiú
+
+# Error panel labels
+error_more_info=Tuilleadh Eolais
+error_less_info=Níos Lú Eolais
+error_close=Dún
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Teachtaireacht: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Cruach: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Comhad: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Líne: {{line}}
+rendering_error=Tharla earráid agus an leathanach á leagan amach.
+
+# Predefined zoom values
+page_scale_width=Leithead Leathanaigh
+page_scale_fit=Laghdaigh go dtí an Leathanach
+page_scale_auto=Súmáil Uathoibríoch
+page_scale_actual=Fíormhéid
+
+# Loading indicator messages
+loading_error_indicator=Earráid
+loading_error=Tharla earráid agus an cháipéis PDF á luchtú.
+invalid_file_error=Comhad neamhbhailí nó truaillithe PDF.
+missing_file_error=Comhad PDF ar iarraidh.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[Anótáil {{type}}]
+password_label=Cuir an focal faire isteach chun an comhad PDF seo a oscailt.
+password_invalid=Focal faire mícheart. Déan iarracht eile.
+password_ok=OK
+password_cancel=Cealaigh
+
+printing_not_supported=Rabhadh: Ní thacaíonn an brabhsálaí le priontáil go hiomlán.
+printing_not_ready=Rabhadh: Ní féidir an PDF a phriontáil go dtí go mbeidh an cháipéis iomlán luchtaithe.
+web_fonts_disabled=Tá clófhoirne Gréasáin díchumasaithe: ní féidir clófhoirne leabaithe PDF a úsáid.
+document_colors_disabled=Níl cead ag cáipéisí PDF a ndathanna féin a roghnú; tá 'Tabhair cead do leathanaigh a ndathanna féin a roghnú' díchumasaithe sa mbrabhsálaí.
diff --git a/lib/viewers/pdf/locale/gd/viewer.properties b/lib/viewers/pdf/locale/gd/viewer.properties
new file mode 100644
index 0000000..f535f06
--- /dev/null
+++ b/lib/viewers/pdf/locale/gd/viewer.properties
@@ -0,0 +1,163 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=An duilleag roimhe
+previous_label=Air ais
+next.title=An ath-dhuilleag
+next_label=Air adhart
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Duilleag:
+page_of=à {{pageCount}}
+
+zoom_out.title=Sùm a-mach
+zoom_out_label=Sùm a-mach
+zoom_in.title=Sùm a-steach
+zoom_in_label=Sùm a-steach
+zoom.title=Sùm
+presentation_mode.title=Gearr leum dhan mhodh taisbeanaidh
+presentation_mode_label=Am modh taisbeanaidh
+open_file.title=Fosgail faidhle
+open_file_label=Fosgail
+print.title=Clò-bhuail
+print_label=Clò-bhuail
+download.title=Luchdaich a-nuas
+download_label=Luchdaich a-nuas
+bookmark.title=An sealladh làithreach (dèan lethbhreac no fosgail e ann an uinneag ùr)
+bookmark_label=An sealladh làithreach
+
+# Secondary toolbar and context menu
+tools.title=Innealan
+tools_label=Innealan
+first_page.title=Rach gun chiad duilleag
+first_page.label=Rach gun chiad duilleag
+first_page_label=Rach gun chiad duilleag
+last_page.title=Rach gun duilleag mu dheireadh
+last_page.label=Rach gun duilleag mu dheireadh
+last_page_label=Rach gun duilleag mu dheireadh
+page_rotate_cw.title=Cuairtich gu deiseil
+page_rotate_cw.label=Cuairtich gu deiseil
+page_rotate_cw_label=Cuairtich gu deiseil
+page_rotate_ccw.title=Cuairtich gu tuathail
+page_rotate_ccw.label=Cuairtich gu tuathail
+page_rotate_ccw_label=Cuairtich gu tuathail
+
+hand_tool_enable.title=Cuir inneal na làimhe an comas
+hand_tool_enable_label=Cuir inneal na làimhe an comas
+hand_tool_disable.title=Cuir inneal na làimhe à comas
+hand_tool_disable_label=Cuir à comas inneal na làimhe
+
+# Document properties dialog box
+document_properties.title=Roghainnean na sgrìobhainne…
+document_properties_label=Roghainnean na sgrìobhainne…
+document_properties_file_name=Ainm an fhaidhle:
+document_properties_file_size=Meud an fhaidhle:
+document_properties_kb={{size_kb}} KB ({{size_b}} bytes)
+document_properties_mb={{size_mb}} MB ({{size_b}} bytes)
+document_properties_title=Tiotal:
+document_properties_author=Ùghdar:
+document_properties_subject=Cuspair:
+document_properties_keywords=Faclan-luirg:
+document_properties_creation_date=Latha a chruthachaidh:
+document_properties_modification_date=Latha atharrachaidh:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Cruthadair:
+document_properties_producer=Saothraiche a' PDF:
+document_properties_version=Tionndadh a' PDF:
+document_properties_page_count=Àireamh de dhuilleagan:
+document_properties_close=Dùin
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Toglaich am bàr-taoibh
+toggle_sidebar_label=Toglaich am bàr-taoibh
+outline.title=Seall an sgrìobhainn far loidhne
+outline_label=Oir-loidhne na sgrìobhainne
+attachments.title=Seall na ceanglachain
+attachments_label=Ceanglachain
+thumbs.title=Seall na dealbhagan
+thumbs_label=Dealbhagan
+findbar.title=Lorg san sgrìobhainn
+findbar_label=Lorg
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Duilleag a {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Dealbhag duilleag a {{page}}
+
+# Find panel button title and messages
+find_label=Lorg:
+find_previous.title=Lorg làthair roimhe na h-abairt seo
+find_previous_label=Air ais
+find_next.title=Lorg ath-làthair na h-abairt seo
+find_next_label=Air adhart
+find_highlight=Soillsich a h-uile
+find_match_case_label=Aire do litrichean mòra is beaga
+find_reached_top=Ràinig sinn barr na duilleige, a' leantainn air adhart o bhonn na duilleige
+find_reached_bottom=Ràinig sinn bonn na duilleige, a' leantainn air adhart o bharr na duilleige
+find_not_found=Cha deach an abairt a lorg
+
+# Error panel labels
+error_more_info=Barrachd fiosrachaidh
+error_less_info=Nas lugha de dh'fhiosrachadh
+error_close=Dùin
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Teachdaireachd: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Stac: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Faidhle: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Loidhne: {{line}}
+rendering_error=Thachair mearachd rè reandaradh na duilleige.
+
+# Predefined zoom values
+page_scale_width=Leud na duilleige
+page_scale_fit=Freagair ri meud na duilleige
+page_scale_auto=Sùm fèin-obrachail
+page_scale_actual=Am fìor-mheud
+
+# Loading indicator messages
+loading_error_indicator=Mearachd
+loading_error=Thachair mearachd rè luchdadh a' PDF.
+invalid_file_error=Faidhle PDF a tha mì-dhligheach no coirbte.
+missing_file_error=Faidhle PDF a tha a dhìth.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[Nòtachadh {{type}}]
+password_label=Cuir a-steach am facal-faire gus am faidhle PDF seo fhosgladh.
+password_invalid=Tha am facal-faire cearr. Nach fheuch thu ris a-rithist?
+password_ok=Ceart ma-tha
+password_cancel=Sguir dheth
+
+printing_not_supported=Rabhadh: Chan eil am brabhsair seo a' cur làn-taic ri clò-bhualadh.
+printing_not_ready=Rabhadh: Cha deach am PDF a luchdadh gu tur airson clò-bhualadh.
+web_fonts_disabled=Tha cruthan-clò lìn à comas: Chan urrainn dhuinn cruthan-clò PDF leabaichte a chleachdadh.
+document_colors_disabled=Chan fhaod sgrìobhainnean PDF na dathan aca fhèin a chleachdadh: Tha "Leig le duilleagan na dathan aca fhèin a chleachdadh" à comas sa bhrabhsair.
diff --git a/lib/viewers/pdf/locale/es/viewer.properties b/lib/viewers/pdf/locale/gl/viewer.properties
index 059eed6..08729fe 100644
--- a/lib/viewers/pdf/locale/es/viewer.properties
+++ b/lib/viewers/pdf/locale/gl/viewer.properties
@@ -1,4 +1,4 @@
-# Copyright 2012 Mozilla Foundation
+# Copyright 2012 Mozilla Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -13,111 +13,112 @@
# limitations under the License.
# Main toolbar buttons (tooltips and alt text for images)
-previous.title=Página anterior
+previous.title=Páxina anterior
previous_label=Anterior
-next.title=Página siguiente
-next_label=Siguiente
+next.title=Seguinte páxina
+next_label=Seguinte
# LOCALIZATION NOTE (page_label, page_of):
# These strings are concatenated to form the "Page: X of Y" string.
# Do not translate "{{pageCount}}", it will be substituted with a number
# representing the total number of pages.
-page_label=Página:
+page_label=Páxina:
page_of=de {{pageCount}}
zoom_out.title=Reducir
zoom_out_label=Reducir
-zoom_in.title=Aumentar
-zoom_in_label=Aumentar
-zoom.title=Ampliación
+zoom_in.title=Ampliar
+zoom_in_label=Ampliar
+zoom.title=Zoom
print.title=Imprimir
print_label=Imprimir
-presentation_mode.title=Cambiar al modo de presentación
-presentation_mode_label=Modo de presentación
-open_file.title=Abrir un archivo
+presentation_mode.title=Cambiar ao modo presentación
+presentation_mode_label=Modo presentación
+open_file.title=Abrir ficheiro
open_file_label=Abrir
download.title=Descargar
download_label=Descargar
-bookmark.title=Vista actual (copie o abra en una ventana nueva)
+bookmark.title=Vista actual (copiar ou abrir nunha nova xanela)
bookmark_label=Vista actual
# Tooltips and alt text for side panel toolbar buttons
# (the _label strings are alt text for the buttons, the .title strings are
# tooltips)
-toggle_sidebar.title=Mostrar u ocultar la barra lateral
-toggle_sidebar_label=Conmutar la barra lateral
-outline.title=Mostrar el esquema del documento
-outline_label=Esquema del documento
-thumbs.title=Mostrar las miniaturas
+toggle_sidebar.title=Amosar/agochar a barra lateral
+toggle_sidebar_label=Amosar/agochar a barra lateral
+outline.title=Amosar esquema do documento
+outline_label=Esquema do documento
+thumbs.title=Amosar miniaturas
thumbs_label=Miniaturas
-findbar.title=Buscar en el documento
-findbar_label=Buscar
+findbar.title=Atopar no documento
+findbar_label=Atopar
+
+# Document outline messages
+no_outline=Ningún esquema dispoñíbel
# Thumbnails panel item (tooltip and alt text for images)
# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
# number.
-thumb_page_title=Página {{page}}
+thumb_page_title=Páxina {{page}}
# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
# number.
-thumb_page_canvas=Miniatura de la página {{page}}
+thumb_page_canvas=Miniatura da páxina {{page}}
# Context menu
-first_page.label=Ir a la primera página
-last_page.label=Ir a la última página
-page_rotate_cw.label=Girar a la derecha
-page_rotate_ccw.label=Girar a la izquierda
+first_page.label=Ir á primeira páxina
+last_page.label=Ir á última páxina
+page_rotate_cw.label=Rotar no sentido das agullas do reloxo
+page_rotate_ccw.label=Rotar no sentido contrario ás agullas do reloxo
# Find panel button title and messages
-find_label=Buscar:
-find_previous.title=Ir a la frase encontrada anterior
+find_label=Atopar:
+find_previous.title=Atopar a anterior aparición da frase
find_previous_label=Anterior
-find_next.title=Ir a la frase encontrada siguiente
-find_next_label=Siguiente
-find_highlight=Resaltar todo
-find_match_case_label=Coincidir mayúsculas y minúsculas
-find_reached_top=Se alcanzó el inicio del documento, se continúa desde el final
-find_reached_bottom=Se alcanzó el final del documento, se continúa desde el inicio
-find_not_found=No se encontró la frase
+find_next.title=Atopar a seguinte aparición da frase
+find_next_label=Seguinte
+find_highlight=Realzar todo
+find_match_case_label=Diferenciar maiúsculas de minúsculas
+find_reached_top=Chegouse ao inicio do documento, continuar desde o final
+find_reached_bottom=Chegouse ao final do documento, continuar desde o inicio
+find_not_found=Non se atopou a frase
# Error panel labels
-error_more_info=Más información
+error_more_info=Máis información
error_less_info=Menos información
-error_close=Cerrar
+error_close=Pechar
# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
# replaced by the PDF.JS version and build ID.
-error_version_info=PDF.js v{{version}} (compilación: {{build}})
+error_version_info=PDF.js v{{version}} (Identificador da compilación: {{build}})
# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
# english string describing the error.
-error_message=Mensaje: {{message}}
+error_message=Mensaxe: {{message}}
# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
# trace.
error_stack=Pila: {{stack}}
# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
-error_file=Archivo: {{file}}
+error_file=Ficheiro: {{file}}
# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
-error_line=Línea: {{line}}
-rendering_error=Ocurrió un error al renderizar la página.
+error_line=Liña: {{line}}
+rendering_error=Produciuse un erro ao representar a páxina.
# Predefined zoom values
-page_scale_width=Anchura de la página
-page_scale_fit=Ajustar a la página
-page_scale_auto=Ampliación automática
-page_scale_actual=Tamaño real
+page_scale_width=Largura da páxina
+page_scale_fit=Axuste de páxina
+page_scale_auto=Zoom automático
+page_scale_actual=Tamaño actual
# Loading indicator messages
-loading_error_indicator=Error
-loading_error=Ocurrió un error al cargar el PDF.
-invalid_file_error=El archivo PDF no es válido o está dañado.
-missing_file_error=Falta el archivo PDF.
+loading_error_indicator=Erro
+loading_error=Produciuse un erro ao cargar o PDF.
+invalid_file_error=Ficheiro PDF danado ou incorrecto.
+missing_file_error=Falta o ficheiro PDF.
# LOCALIZATION NOTE (text_annotation_type): This is used as a tooltip.
# "{{type}}" will be replaced with an annotation type from a list defined in
# the PDF spec (32000-1:2008 Table 169 – Annotation types).
# Some common types are e.g.: "Check", "Text", "Comment", "Note"
text_annotation_type=[Anotación {{type}}]
-request_password=El archivo PDF está protegido por una contraseña:
+request_password=O PDF está protexido por un contrasinal:
-printing_not_supported=Aviso: Este navegador no es compatible completamente con la impresión.
-printing_not_ready=Aviso: El PDF no se ha cargado completamente para su impresión.
-web_fonts_disabled=Se han desactivado los tipos de letra web: no se pueden usar los tipos de letra incrustados en el PDF.
-web_colors_disabled=Se han desactivado los colores web.
+printing_not_supported=Aviso: A impresión non é compatíbel de todo con este navegador.
+web_fonts_disabled=Desactiváronse as fontes web: foi imposíbel usar as fontes incrustadas no PDF.
diff --git a/lib/viewers/pdf/locale/gu-IN/viewer.properties b/lib/viewers/pdf/locale/gu-IN/viewer.properties
new file mode 100644
index 0000000..0ad91f0
--- /dev/null
+++ b/lib/viewers/pdf/locale/gu-IN/viewer.properties
@@ -0,0 +1,108 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=પહેલાનુ પાનું
+previous_label=પહેલાનુ
+next.title=આગળનુ પાનું
+ next_label=આગળનું
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=પાનું:
+page_of={{pageCount}} નું
+zoom_out.title=મોટુ કરો
+zoom_out_label=મોટુ કરો
+zoom_in.title=નાનું કરો
+zoom_in_label=નાનું કરો
+zoom.title=નાનું મોટુ કરો
+print.title=છાપો
+print_label=છારો
+open_file.title=ફાઇલ ખોલો
+open_file_label=ખોલો
+download.title=ડાઉનલોડ
+download_label=ડાઉનલોડ
+bookmark.title=વર્તમાન દૃશ્ય (નવી વિન્ડોમાં નકલ કરો અથવા ખોલો)
+bookmark_label=વર્તમાન દૃશ્ય
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+outline.title=દસ્તાવેજ રૂપરેખા બતાવો
+outline_label=દસ્તાવેજ રૂપરેખા
+thumbs.title=થંબનેલ્સ બતાવો
+thumbs_label=થંબનેલ્સ
+
+# Document outline messages
+
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=પાનું {{page}}
+
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=પાનાં {{page}} નું થંબનેલ્સ
+# Error panel labels
+error_more_info=વધારે જાણકારી
+error_less_info=ઓછી જાણકારી
+error_close=બંધ કરો
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=સંદેશો: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=સ્ટેક: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=ફાઇલ: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=વાક્ય: {{line}}
+rendering_error=ભૂલ ઉદ્ભવી જ્યારે પાનાંનુ રેન્ડ કરી રહ્યા હોય.
+# Predefined zoom values
+page_scale_width=પાનાની પહોળાઇ
+page_scale_fit=પાનું બંધબેસતુ
+page_scale_auto=આપમેળે નાનુંમોટુ કરો
+page_scale_actual=ચોક્કસ માપ
+# Loading indicator messages
+# LOCALIZATION NOTE (error_line): "{{[percent}}" will be replaced with a percentage
+
+loading_error_indicator=ભૂલ
+loading_error=ભૂલ ઉદ્ભવી જ્યારે PDF ને લાવી રહ્યા હોય.
+# LOCALIZATION NOTE (text_annotation_type): This is used as a tooltip.
+# "{{[type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+
+printing_not_supported=ચેતવણી: છાપવાનું આ બ્રાઉઝર દ્દારા સંપૂર્ણપણે આધારભૂત નથી.
+
+error_version_info=PDF.js v{{version}} (build: {{build}})
+find_highlight=બધુ પ્રકાશિત કરો
+find_label=શોધો:
+find_match_case_label=કેસ બંધબેસાડો
+find_next.title=શબ્દસમૂહની આગળની ઘટનાને શોધો
+find_next_label=આગળનું
+find_not_found=શબ્દસમૂહ મળ્યુ નથી
+find_previous.title=શબ્દસમૂહની પાછલી ઘટનાને શોધો
+find_previous_label=પહેલાંનુ
+find_reached_bottom=દસ્તાવેજનાં અંતે પહોંચી ગયા, ઉપરથી ચાલુ કરેલ હતુ
+find_reached_top=દસ્તાવેજનાં ટોચે પહોંચી ગયા, તળિયેથી ચાલુ કરેલ હતુ
+findbar.title=દસ્તાવેજમાં શોધો
+findbar_label=શોધો
+first_page.label=પહેલાં પાનામાં જાવ
+invalid_file_error=અયોગ્ય અથવા ભાંગેલ PDF ફાઇલ.
+last_page.label=છેલ્લા પાનામાં જાવ
+missing_file_error=ગુમ થયેલ PDF ફાઇલ.
+page_rotate_ccw.label=ઘડિયાળનાં કાંટાની ઉલટી દિશામાં ફેરવો
+page_rotate_cw.label=ઘડિયાળનાં કાંટાની જેમ ફેરવો
+presentation_mode.title=રજૂઆત સ્થિતિમાં જાવ
+presentation_mode_label=રજૂઆત સ્થિતિ
+printing_not_ready=Warning: PDF એ છાપવા માટે સંપૂર્ણપણે લાવેલ છે.
+toggle_sidebar.title=ટૉગલ બાજુપટ્ટી
+toggle_sidebar_label=ટૉગલ બાજુપટ્ટી
+web_fonts_disabled=વેબ ફોન્ટ નિષ્ક્રિય થયેલ છે: ઍમ્બેડ થયેલ PDF ફોન્ટને વાપરવાનું અસમર્થ.
+document_colors_disabled=PDF દસ્તાવેજો તેનાં પોતાના રંગોને વાપરવા પરવાનગી આપતા નથી: \'તેનાં પોતાનાં રંગોને પસંદ કરવા માટે પાનાંને પરવાનગી આપો\' બ્રાઉઝરમાં નિષ્ક્રિય થયેલ છે.
+text_annotation_type.alt=[{{type}} Annotation]
diff --git a/lib/viewers/pdf/locale/he/metadata.inc b/lib/viewers/pdf/locale/he/metadata.inc
deleted file mode 100644
index 3493c0b..0000000
--- a/lib/viewers/pdf/locale/he/metadata.inc
+++ /dev/null
@@ -1,8 +0,0 @@
- <em:localized>
- <Description>
- <em:locale>he</em:locale>
- <em:name>קורא PDF</em:name>
- <em:description>הצגת קבצי PDF ישירות ב־Firefox באמצעות HTML5.</em:description>
- </Description>
- </em:localized>
-
diff --git a/lib/viewers/pdf/locale/he/viewer.properties b/lib/viewers/pdf/locale/he/viewer.properties
index ca3741c..078d401 100644
--- a/lib/viewers/pdf/locale/he/viewer.properties
+++ b/lib/viewers/pdf/locale/he/viewer.properties
@@ -1,59 +1,150 @@
-# Copyright 2012 Mozilla Foundation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-bookmark.title=דף נוכחי (העתקה או פתיחה בחלון חדש)
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+# Main toolbar buttons (tooltips and alt text for images)
previous.title=דף קודם
+previous_label=קודם
next.title=דף הבא
-print.title=הדפסה
-download.title=הורדה
+next_label=הבא
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=עמוד:
+page_of=מתוך {{pageCount}}
+
zoom_out.title=התרחקות
+zoom_out_label=התרחקות
zoom_in.title=התקרבות
-error_more_info=יותר מידע
+zoom_in_label=התקרבות
+zoom.title=מרחק מתצוגה
+presentation_mode.title=מעבר למצב מצגת
+presentation_mode_label=מצב מצגת
+open_file.title=פתיחת קובץ
+open_file_label=פתיחה
+print.title=הדפסה
+print_label=הדפסה
+download.title=הורדה
+download_label=הורדה
+bookmark.title=תצוגה נוכחית (העתקה או פתיחה בחלון חדש)
+bookmark_label=תצוגה נוכחית
+
+# Secondary toolbar and context menu
+tools.title=כלים
+tools_label=כלים
+first_page.title=מעבר לעמוד הראשון
+first_page.label=מעבר לעמוד הראשון
+first_page_label=מעבר לעמוד הראשון
+last_page.title=מעבר לעמוד האחרון
+last_page.label=מעבר לעמוד האחרון
+last_page_label=מעבר לעמוד האחרון
+page_rotate_cw.title=הטיה עם כיוון השעון
+page_rotate_cw.label=הטיה עם כיוון השעון
+page_rotate_cw_label=הטיה עם כיוון השעון
+page_rotate_ccw.title=הטיה כנגד כיוון השעון
+page_rotate_ccw.label=הטיה כנגד כיוון השעון
+page_rotate_ccw_label=הטיה כנגד כיוון השעון
+
+hand_tool_enable.title=הפעלת כלי היד
+hand_tool_enable_label=הפעלת כלי היד
+hand_tool_disable.title=נטרול כלי היד
+hand_tool_disable_label=נטרול כלי היד
+
+# Document properties dialog box
+document_properties.title=מאפייני מסמך…
+document_properties_label=מאפייני מסמך…
+document_properties_file_name=שם קובץ:
+document_properties_file_size=גודל הקובץ:
+document_properties_kb={{size_kb}} ק״ב ({{size_b}} בתים)
+document_properties_mb={{size_mb}} מ״ב ({{size_b}} בתים)
+document_properties_title=כותרת:
+document_properties_author=מחבר:
+document_properties_subject=נושא:
+document_properties_keywords=מילות מפתח:
+document_properties_creation_date=תאריך יצירה:
+document_properties_modification_date=תאריך שינוי:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=יוצר:
+document_properties_producer=יצרן PDF:
+document_properties_version=גרסת PDF:
+document_properties_page_count=מספר דפים:
+document_properties_close=סגירה
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=הצגה/הסתרה של סרגל הצד
+toggle_sidebar_label=הצגה/הסתרה של סרגל הצד
+outline.title=הצגת מתאר מסמך
+outline_label=מתאר מסמך
+thumbs.title=הצגת תצוגה מקדימה
+thumbs_label=תצוגה מקדימה
+findbar.title=חיפוש במסמך
+findbar_label=חיפוש
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=עמוד {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=תצוגה מקדימה של עמוד {{page}}
+
+# Find panel button title and messages
+find_label=חיפוש:
+find_previous.title=חיפוש מופע קודם של הביטוי
+find_previous_label=קודם
+find_next.title=חיפוש המופע הבא של הביטוי
+find_next_label=הבא
+find_highlight=הדגשת הכול
+find_match_case_label=התאמת אותיות
+find_reached_top=הגיע לראש הדף, ממשיך מלמטה
+find_reached_bottom=הגיע לסוף הדף, ממשיך מלמעלה
+find_not_found=ביטוי לא נמצא
+
+# Error panel labels
+error_more_info=מידע נוסף
error_less_info=פחות מידע
error_close=סגירה
-error_build=בניית PDF.JS‏: {{build}}
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js גרסה {{version}} (בנייה: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
error_message=הודעה: {{message}}
-error_stack=מחסנית: {{stack}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=תוכן מחסנית: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
error_file=קובץ: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
error_line=שורה: {{line}}
-page_scale_width=רוחב דף
-page_scale_fit=גודל דף
-page_scale_auto=התקרבות אוטומטית
-page_scale_actual=גודל אמיתי
-toggle_slider.title=מתג החלקה
-thumbs.title=הצגת תמונות ממוזערות
-outline.title=הצגת מתאר מסמך
-loading=בטעינה... {{percent}}%
-loading_error_indicator=שגיאה
-loading_error=אירעה שגיאה בעת טעינת קובץ PDF.
rendering_error=אירעה שגיאה בעת עיבוד הדף.
-page_label=דף:
-page_of=מתוך {{pageCount}}
-open_file.title=פתיחת קובץ
-text_annotation_type=[{{type}} Annotation]
-toggle_slider_label=מתג החלקה
-thumbs_label=תמונות ממוזערות
-outline_label=מתאר מסמך
-bookmark_label=תצוגה נוכחית
-previous_label=קודם
-next_label=הבא
-print_label=הדפסה
-download_label=הורדה
-zoom_out_label=התרחקות
-zoom_in_label=התקרבות
-zoom.title=מרחק מתצוגה
-thumb_page_title=דף {{page}}
-thumb_page_canvas=תמונה ממוזערת של דף {{page}}
-request_password=קובץ PDF מוגן בססמה:
-open_file_label=פתיחה
+
+# Predefined zoom values
+page_scale_width=רוחב העמוד
+page_scale_fit=התאמה לעמוד
+page_scale_auto=מרחק מתצוגה אוטומטי
+page_scale_actual=גודל אמתי
+
+# Loading indicator messages
+loading_error_indicator=שגיאה
+loading_error=אירעה שגיאה בעת טעינת ה־PDF.
+invalid_file_error=קובץ PDF פגום או לא תקין.
+missing_file_error=קובץ PDF חסר.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[הערת {{type}}]
+password_label=נא להכניס את הססמה לפתיחת קובץ PDF זה.
+password_invalid=ססמה שגויה. נא לנסות שנית.
+password_ok=אישור
+password_cancel=ביטול
+
+printing_not_supported=אזהרה: הדפסה אינה נתמכת במלואה בדפדפן זה.
+printing_not_ready=אזהרה: ה־PDF לא ניתן לחלוטין עד מצב שמאפשר הדפסה.
+web_fonts_disabled=גופני רשת מנוטרלים: לא ניתן להשתמש בגופני PDF מוטבעים.
+document_colors_disabled=מסמכי PDF לא יכולים להשתמש בצבעים משלהם: האפשרות \\'לאפשר לעמודים לבחור צבעים משלהם\\' אינה פעילה בדפדפן. \ No newline at end of file
diff --git a/lib/viewers/pdf/locale/hi-IN/viewer.properties b/lib/viewers/pdf/locale/hi-IN/viewer.properties
new file mode 100644
index 0000000..6ab2e7e
--- /dev/null
+++ b/lib/viewers/pdf/locale/hi-IN/viewer.properties
@@ -0,0 +1,161 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=पिछला पृष्ठ
+previous_label=पिछला
+next.title=अगला पृष्ठ
+next_label=आगे
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=पृष्ठ:
+page_of={{pageCount}} का
+
+zoom_out.title=छोटा करें
+zoom_out_label=छोटा करें
+zoom_in.title=बड़ा करें
+zoom_in_label=बड़ा करें
+zoom.title=बड़ा-छोटा करें
+presentation_mode.title=प्रस्तुति अवस्था में जाएँ
+presentation_mode_label=प्रस्तुति अवस्था
+open_file.title=फ़ाइल खोलें
+open_file_label=खोलें
+print.title=छापें
+print_label=छापें
+download.title=डाउनलोड
+download_label=डाउनलोड
+bookmark.title=मौजूदा दृश्य (नए विंडो में नक़ल लें या खोलें)
+bookmark_label=मौजूदा दृश्य
+
+# Secondary toolbar and context menu
+tools.title=औज़ार
+tools_label=औज़ार
+first_page.title=प्रथम पृष्ठ पर जाएँ
+first_page.label=प्रथम पृष्ठ पर जाएँ
+first_page_label=प्रथम पृष्ठ पर जाएँ
+last_page.title=अंतिम पृष्ठ पर जाएँ
+last_page.label=अंतिम पृष्ठ पर जाएँ
+last_page_label=अंतिम पृष्ठ पर जाएँ
+page_rotate_cw.title=घड़ी की दिशा में घुमाएँ
+page_rotate_cw.label=घड़ी की दिशा में घुमाएँ
+page_rotate_cw_label=घड़ी की दिशा में घुमाएँ
+page_rotate_ccw.title=घड़ी की दिशा से उल्टा घुमाएँ
+page_rotate_ccw.label=घड़ी की दिशा से उल्टा घुमाएँ
+page_rotate_ccw_label=घड़ी की दिशा से उल्टा घुमाएँ
+
+hand_tool_enable.title=हाथ औजार सक्रिय करें
+hand_tool_enable_label=हाथ औजार सक्रिय करें
+hand_tool_disable.title=हाथ औजार निष्क्रिय करना
+hand_tool_disable_label=हाथ औजार निष्क्रिय करना
+
+# Document properties dialog box
+document_properties.title=दस्तावेज़ विशेषता...
+document_properties_label=दस्तावेज़ विशेषता...
+document_properties_file_name=फ़ाइल नाम:
+document_properties_file_size=फाइल आकारः
+document_properties_kb={{size_kb}} KB ({{size_b}} बाइट)
+document_properties_mb={{size_mb}} MB ({{size_b}} बाइट)
+document_properties_title=शीर्षक:
+document_properties_author=लेखकः
+document_properties_subject=विषय:
+document_properties_keywords=कुंजी-शब्द:
+document_properties_creation_date=निर्माण दिनांक:
+document_properties_modification_date=संशोधन दिनांक:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=निर्माता:
+document_properties_producer=PDF उत्पादक:
+document_properties_version=PDF संस्करण:
+document_properties_page_count=पृष्ठ गिनती:
+document_properties_close=बंद करें
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=स्लाइडर टॉगल करें
+toggle_sidebar_label=स्लाइडर टॉगल करें
+outline.title=दस्तावेज़ आउटलाइन दिखाएँ
+outline_label=दस्तावेज़ आउटलाइन
+thumbs.title=लघुछवियाँ दिखाएँ
+thumbs_label=लघु छवि
+findbar.title=दस्तावेज़ में ढूँढ़ें
+findbar_label=ढूँढ़ें
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=पृष्ठ {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=पृष्ठ {{page}} की लघु-छवि
+
+# Find panel button title and messages
+find_label=ढूंढें:
+find_previous.title=वाक्यांश की पिछली उपस्थिति ढूँढ़ें
+find_previous_label=पिछला
+find_next.title=वाक्यांश की अगली उपस्थिति ढूँढ़ें
+find_next_label=आगे
+find_highlight=सभी आलोकित करें
+find_match_case_label=मिलान स्थिति
+find_reached_top=पृष्ठ के ऊपर पहुंच गया, नीचे से जारी रखें
+find_reached_bottom=पृष्ठ के नीचे में जा पहुँचा, ऊपर से जारी
+find_not_found=वाक्यांश नहीं मिला
+
+# Error panel labels
+error_more_info=अधिक सूचना
+error_less_info=कम सूचना
+error_close=बंद करें
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=संदेश: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=स्टैक: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=फ़ाइल: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=पंक्ति: {{line}}
+rendering_error=पृष्ठ रेंडरिंग के दौरान त्रुटि आई.
+
+# Predefined zoom values
+page_scale_width=पृष्ठ चौड़ाई
+page_scale_fit=पृष्ठ फिट
+page_scale_auto=स्वचालित जूम
+page_scale_actual=वास्तविक आकार
+
+# Loading indicator messages
+loading_error_indicator=त्रुटि
+loading_error=पीडीएफ लोड करते समय एक त्रुटि हुई.
+invalid_file_error=अमान्य या भ्रष्ट PDF फ़ाइल.
+missing_file_error=अनुपस्थित PDF फ़ाइल.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} Annotation]
+password_label=इस पीडीएफ फ़ाइल को खोलने के लिए कृपया कूटशब्द भरें.
+password_invalid=अवैध कूटशब्द, कृपया फिर कोशिश करें.
+password_ok=ठीक
+password_cancel=रद्द करें
+
+printing_not_supported=चेतावनी: इस ब्राउज़र पर छपाई पूरी तरह से समर्थित नहीं है.
+printing_not_ready=चेतावनी: पीडीएफ छपाई के लिए पूरी तरह से लोड नहीं है.
+web_fonts_disabled=वेब फॉन्ट्स निष्क्रिय हैं: अंतःस्थापित PDF फॉन्टस के उपयोग में असमर्थ.
+document_colors_disabled=PDF दस्तावेज़ उनके अपने रंग को उपयोग करने के लिए अनुमति प्राप्त नहीं है: 'पृष्ठों को उनके अपने रंग को चुनने के लिए स्वीकृति दें कि वह उस ब्राउज़र में निष्क्रिय है.
diff --git a/lib/viewers/pdf/locale/hr/viewer.properties b/lib/viewers/pdf/locale/hr/viewer.properties
new file mode 100644
index 0000000..9c829b3
--- /dev/null
+++ b/lib/viewers/pdf/locale/hr/viewer.properties
@@ -0,0 +1,163 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Prethodna stranica
+previous_label=Prethodna
+next.title=Iduća stranica
+next_label=Iduća
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Stranica:
+page_of=od {{pageCount}}
+
+zoom_out.title=Uvećaj
+zoom_out_label=Smanji
+zoom_in.title=Uvaćaj
+zoom_in_label=Smanji
+zoom.title=Uvećanje
+presentation_mode.title=Prebaci u prezentacijski način rada
+presentation_mode_label=Prezentacijski način rada
+open_file.title=Otvori datoteku
+open_file_label=Otvori
+print.title=Ispis
+print_label=Ispis
+download.title=Preuzmi
+download_label=Preuzmi
+bookmark.title=Trenutni prikaz (kopiraj ili otvori u novom prozoru)
+bookmark_label=Trenutni prikaz
+
+# Secondary toolbar and context menu
+tools.title=Alati
+tools_label=Alati
+first_page.title=Idi na prvu stranicu
+first_page.label=Idi na prvu stranicu
+first_page_label=Idi na prvu stranicu
+last_page.title=Idi na posljednju stranicu
+last_page.label=Idi na posljednju stranicu
+last_page_label=Idi na posljednju stranicu
+page_rotate_cw.title=Rotiraj u smjeru kazaljke na satu
+page_rotate_cw.label=Rotiraj u smjeru kazaljke na satu
+page_rotate_cw_label=Rotiraj u smjeru kazaljke na satu
+page_rotate_ccw.title=Rotiraj obrnutno od smjera kazaljke na satu
+page_rotate_ccw.label=Rotiraj obrnutno od smjera kazaljke na satu
+page_rotate_ccw_label=Rotiraj obrnutno od smjera kazaljke na satu
+
+hand_tool_enable.title=Omogući ručni alat
+hand_tool_enable_label=Omogući ručni alat
+hand_tool_disable.title=Onemogući ručni alat
+hand_tool_disable_label=Onemogući ručni alat
+
+# Document properties dialog box
+document_properties.title=Svojstva dokumenta...
+document_properties_label=Svojstva dokumenta...
+document_properties_file_name=Naziv datoteke:
+document_properties_file_size=Veličina datoteke:
+document_properties_kb={{size_kb}} KB ({{size_b}} bajtova)
+document_properties_mb={{size_mb}} MB ({{size_b}} bajtova)
+document_properties_title=Naslov:
+document_properties_author=Autor:
+document_properties_subject=Predmet:
+document_properties_keywords=Ključne riječi:
+document_properties_creation_date=Datum stvaranja:
+document_properties_modification_date=Datum promjene:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Stvaralac:
+document_properties_producer=PDF stvaratelj:
+document_properties_version=PDF inačica:
+document_properties_page_count=Broj stranica:
+document_properties_close=Zatvori
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Prikaži/sakrij bočnu traku
+toggle_sidebar_label=Prikaži/sakrij bočnu traku
+outline.title=Prikaži obris dokumenta
+outline_label=Obris dokumenta
+attachments.title=Prikaži privitke
+attachments_label=Privitci
+thumbs.title=Prikaži sličice
+thumbs_label=Sličice
+findbar.title=Traži u dokumentu
+findbar_label=Traži
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Stranica {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Sličica stranice {{page}}
+
+# Find panel button title and messages
+find_label=Traži:
+find_previous.title=Pronađi prethodno javljanje ovog izraza
+find_previous_label=Prethodno
+find_next.title=Pronađi iduće javljanje ovog izraza
+find_next_label=Iduće
+find_highlight=Istankni sve
+find_match_case_label=Slučaj podudaranja
+find_reached_top=Dosegnut vrh dokumenta, nastavak od dna
+find_reached_bottom=Dosegnut vrh dokumenta, nastavak od vrha
+find_not_found=Izraz nije pronađen
+
+# Error panel labels
+error_more_info=Više informacija
+error_less_info=Manje informacija
+error_close=Zatvori
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Poruka: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Stog: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Datoteka: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Redak: {{line}}
+rendering_error=Došlo je do greške prilikom iscrtavanja stranice.
+
+# Predefined zoom values
+page_scale_width=Širina stranice
+page_scale_fit=Pristajanje stranici
+page_scale_auto=Automatsko uvećanje
+page_scale_actual=Prava veličina
+
+# Loading indicator messages
+loading_error_indicator=Greška
+loading_error=Došlo je do greške pri učitavanju PDF-a.
+invalid_file_error=Kriva ili oštećena PDF datoteka.
+missing_file_error=Nedostaje PDF datoteka.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} Bilješka]
+password_label=Upišite lozinku da biste otvorili ovu PDF datoteku.
+password_invalid=Neispravna lozinka. Pokušajte ponovo.
+password_ok=U redu
+password_cancel=Odustani
+
+printing_not_supported=Upozorenje: Ispisivanje nije potpuno podržano u ovom pregledniku.
+printing_not_ready=Upozorenje: PDF nije u potpunosti učitan za ispis.
+web_fonts_disabled=Web fontovi su onemogućeni: nije moguće koristiti umetnute PDF fontove.
+document_colors_disabled=PDF dokumenti nemaju dopuštene koristiti vlastite boje: opcija 'Dopusti stranicama da koriste vlastite boje' je deaktivirana.
diff --git a/lib/viewers/pdf/locale/hu/viewer.properties b/lib/viewers/pdf/locale/hu/viewer.properties
new file mode 100644
index 0000000..12a764a
--- /dev/null
+++ b/lib/viewers/pdf/locale/hu/viewer.properties
@@ -0,0 +1,161 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Előző oldal
+previous_label=Előző
+next.title=Következő oldal
+next_label=Tovább
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Oldal:
+page_of=összesen: {{pageCount}}
+
+zoom_out.title=Kicsinyítés
+zoom_out_label=Kicsinyítés
+zoom_in.title=Nagyítás
+zoom_in_label=Nagyítás
+zoom.title=Nagyítás
+presentation_mode.title=Váltás bemutató módba
+presentation_mode_label=Bemutató mód
+open_file.title=Fájl megnyitása
+open_file_label=Megnyitás
+print.title=Nyomtatás
+print_label=Nyomtatás
+download.title=Letöltés
+download_label=Letöltés
+bookmark.title=Jelenlegi nézet (másolás vagy megnyitás új ablakban)
+bookmark_label=Aktuális nézet
+
+# Secondary toolbar and context menu
+tools.title=Eszközök
+tools_label=Eszközök
+first_page.title=Ugrás az első oldalra
+first_page.label=Ugrás az első oldalra
+first_page_label=Ugrás az első oldalra
+last_page.title=Ugrás az utolsó oldalra
+last_page.label=Ugrás az utolsó oldalra
+last_page_label=Ugrás az utolsó oldalra
+page_rotate_cw.title=Forgatás az óramutató járásával egyezően
+page_rotate_cw.label=Forgatás az óramutató járásával egyezően
+page_rotate_cw_label=Forgatás az óramutató járásával egyezően
+page_rotate_ccw.title=Forgatás az óramutató járásával ellentétesen
+page_rotate_ccw.label=Forgatás az óramutató járásával ellentétesen
+page_rotate_ccw_label=Forgatás az óramutató járásával ellentétesen
+
+hand_tool_enable.title=Kéz eszköz bekapcsolása
+hand_tool_enable_label=Kéz eszköz bekapcsolása
+hand_tool_disable.title=Kéz eszköz kikapcsolása
+hand_tool_disable_label=Kéz eszköz kikapcsolása
+
+# Document properties dialog box
+document_properties.title=Dokumentum tulajdonságai…
+document_properties_label=Dokumentum tulajdonságai…
+document_properties_file_name=Fájlnév:
+document_properties_file_size=Fájlméret:
+document_properties_kb={{size_kb}} KB ({{size_b}} bájt)
+document_properties_mb={{size_mb}} MB ({{size_b}} bájt)
+document_properties_title=Cím:
+document_properties_author=Szerző:
+document_properties_subject=Tárgy:
+document_properties_keywords=Kulcsszavak:
+document_properties_creation_date=Létrehozás dátuma:
+document_properties_modification_date=Módosítás dátuma:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Létrehozta:
+document_properties_producer=PDF előállító:
+document_properties_version=PDF verzió:
+document_properties_page_count=Oldalszám:
+document_properties_close=Bezárás
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Oldalsáv be/ki
+toggle_sidebar_label=Oldalsáv be/ki
+outline.title=Dokumentumvázlat megjelenítése
+outline_label=Dokumentumvázlat
+thumbs.title=Bélyegképek megjelenítése
+thumbs_label=Bélyegképek
+findbar.title=Keresés a dokumentumban
+findbar_label=Keresés
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title={{page}}. oldal
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas={{page}}. oldal bélyegképe
+
+# Find panel button title and messages
+find_label=Keresés:
+find_previous.title=A kifejezés előző előfordulásának keresése
+find_previous_label=Előző
+find_next.title=A kifejezés következő előfordulásának keresése
+find_next_label=Tovább
+find_highlight=Összes kiemelése
+find_match_case_label=Kis- és nagybetűk megkülönböztetése
+find_reached_top=A dokumentum eleje elérve, folytatás a végétől
+find_reached_bottom=A dokumentum vége elérve, folytatás az elejétől
+find_not_found=A kifejezés nem található
+
+# Error panel labels
+error_more_info=További információ
+error_less_info=Kevesebb információ
+error_close=Bezárás
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Üzenet: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Nyomkövetés: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Fájl: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Sor: {{line}}
+rendering_error=Hiba történt az oldal feldolgozása közben.
+
+# Predefined zoom values
+page_scale_width=Oldalszélesség
+page_scale_fit=Teljes oldal
+page_scale_auto=Automatikus nagyítás
+page_scale_actual=Valódi méret
+
+# Loading indicator messages
+loading_error_indicator=Hiba
+loading_error=Hiba történt a PDF betöltésekor.
+invalid_file_error=Érvénytelen vagy sérült PDF fájl.
+missing_file_error=Hiányzó PDF fájl.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} megjegyzés]
+password_label=Adja meg a jelszót a PDF fájl megnyitásához.
+password_invalid=Helytelen jelszó. Próbálja újra.
+password_ok=OK
+password_cancel=Mégse
+
+printing_not_supported=Figyelmeztetés: Ez a böngésző nem teljesen támogatja a nyomtatást.
+printing_not_ready=Figyelmeztetés: A PDF nincs teljesen betöltve a nyomtatáshoz.
+web_fonts_disabled=Webes betűkészletek letiltva: nem használhatók a beágyazott PDF betűkészletek.
+document_colors_disabled=A PDF dokumentumok nem használhatják saját színeiket: „Az oldalak a saját maguk által kiválasztott színeket használhatják” beállítás ki van kapcsolva a böngészőben.
diff --git a/lib/viewers/pdf/locale/hy-AM/viewer.properties b/lib/viewers/pdf/locale/hy-AM/viewer.properties
new file mode 100644
index 0000000..01b8fde
--- /dev/null
+++ b/lib/viewers/pdf/locale/hy-AM/viewer.properties
@@ -0,0 +1,161 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Նախորդ էջը
+previous_label=Նախորդը
+next.title=Հաջորդ էջը
+next_label=Հաջորդը
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Էջ.
+page_of={{pageCount}}-ից
+
+zoom_out.title=Փոքրացնել
+zoom_out_label=Փոքրացնել
+zoom_in.title=Խոշորացնել
+zoom_in_label=Խոշորացնել
+zoom.title=Մասշտաբը\u0020
+presentation_mode.title=Անցնել Ներկայացման եղանակին
+presentation_mode_label=Ներկայացման եղանակ
+open_file.title=Բացել Ֆայլ
+open_file_label=Բացել
+print.title=Տպել
+print_label=Տպել
+download.title=Բեռնել
+download_label=Բեռնել
+bookmark.title=Ընթացիկ տեսքով (պատճենել կամ բացել նոր պատուհանում)
+bookmark_label=Ընթացիկ տեսքը
+
+# Secondary toolbar and context menu
+tools.title=Գործիքներ
+tools_label=Գործիքներ
+first_page.title=Անցնել առաջին էջին
+first_page.label=Անցնել առաջին էջին
+first_page_label=Անցնել առաջին էջին
+last_page.title=Անցնել վերջին էջին
+last_page.label=Անցնել վերջին էջին
+last_page_label=Անցնել վերջին էջին
+page_rotate_cw.title=Պտտել ըստ ժամացույցի սլաքի
+page_rotate_cw.label=Պտտել ըստ ժամացույցի սլաքի
+page_rotate_cw_label=Պտտել ըստ ժամացույցի սլաքի
+page_rotate_ccw.title=Պտտել հակառակ ժամացույցի սլաքի
+page_rotate_ccw.label=Պտտել հակառակ ժամացույցի սլաքի
+page_rotate_ccw_label=Պտտել հակառակ ժամացույցի սլաքի
+
+hand_tool_enable.title=Միացնել ձեռքի գործիքը
+hand_tool_enable_label=Միացնել ձեռքի գործիքը
+hand_tool_disable.title=Անջատել ձեռքի գործիքը
+hand_tool_disable_label=ԱՆջատել ձեռքի գործիքը
+
+# Document properties dialog box
+document_properties.title=Փաստաթղթի հատկությունները...
+document_properties_label=Փաստաթղթի հատկությունները...
+document_properties_file_name=Ֆայլի անունը.
+document_properties_file_size=Ֆայլի չափը.
+document_properties_kb={{size_kb}} ԿԲ ({{size_b}} բայթ)
+document_properties_mb={{size_mb}} ՄԲ ({{size_b}} բայթ)
+document_properties_title=Վերնագիր.
+document_properties_author=Հեղինակ․
+document_properties_subject=Վերնագիր.
+document_properties_keywords=Հիմնաբառ.
+document_properties_creation_date=Ստեղծելու ամսաթիվը.
+document_properties_modification_date=Փոփոխելու ամսաթիվը.
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Ստեղծող.
+document_properties_producer=PDF-ի հեղինակը.
+document_properties_version=PDF-ի տարբերակը.
+document_properties_page_count=Էջերի քանակը.
+document_properties_close=Փակել
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Բացել/Փակել Կողային վահանակը
+toggle_sidebar_label=Բացել/Փակել Կողային վահանակը
+outline.title=Ցուցադրել փաստաթղթի բովանդակությունը
+outline_label=Փաստաթղթի բովանդակությունը
+thumbs.title=Ցուցադրել Մանրապատկերը
+thumbs_label=Մանրապատկերը
+findbar.title=Գտնել փաստաթղթում
+findbar_label=Փնտրել
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Էջը {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Էջի մանրապատկերը {{page}}
+
+# Find panel button title and messages
+find_label=Գտնել`
+find_previous.title=Գտնել անրահայտության նախորդ հանդիպումը
+find_previous_label=Նախորդը
+find_next.title=Գտիր արտահայտության հաջորդ հանդիպումը
+find_next_label=Հաջորդը
+find_highlight=Նշագծել Բոլորը
+find_match_case_label=Մեծ(փոքր)ատառ հաշվի առնել
+find_reached_top=Հասել եք փաստաթղթի վերևին, կշարունակվի ներքևից
+find_reached_bottom=Հասել եք փաստաթղթի վերջին, կշարունակվի վերևից
+find_not_found=Արտահայտությունը չգտնվեց
+
+# Error panel labels
+error_more_info=Ավելի շատ տեղեկություն
+error_less_info=Քիչ տեղեկություն
+error_close=Փակել
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (կառուցումը. {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Գրությունը. {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Շեղջ. {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Ֆայլ. {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Տողը. {{line}}
+rendering_error=Սխալ՝ էջը ստեղծելիս:
+
+# Predefined zoom values
+page_scale_width=Էջի լայնքը
+page_scale_fit=Ձգել էջը
+page_scale_auto=Ինքնաշխատ
+page_scale_actual=Իրական չափը
+
+# Loading indicator messages
+loading_error_indicator=Սխալ
+loading_error=Սխալ՝ PDF ֆայլը բացելիս։
+invalid_file_error=Սխալ կամ բնասված PDF ֆայլ:
+missing_file_error=PDF ֆայլը բացակայում է:
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} Ծանոթություն]
+password_label=Մուտքագրեք PDF-ի գաղտնաբառը:
+password_invalid=Գաղտնաբառը սխալ է: Կրկին փորձեք:
+password_ok=ԼԱՎ
+password_cancel=Չեղարկել
+
+printing_not_supported=Զգուշացում. Տպելը ամբողջությամբ չի աջակցվում դիտարկիչի կողմից։
+printing_not_ready=Զգուշացում. PDF-ը ամբողջությամբ չի բեռնավորվել տպելու համար:
+web_fonts_disabled=Վեբ-տառատեսակները անջատված են. հնարավոր չէ օգտագործել ներկառուցված PDF տառատեսակները:
+document_colors_disabled=PDF փաստաթղթերին թույլատրված չէ օգտագործել իրենց սեփական գույները: 'Թույլատրել էջերին ընտրել իրենց սեփական գույները' ընտրանքը անջատված է դիտարկիչում:
diff --git a/lib/viewers/pdf/locale/id/viewer.properties b/lib/viewers/pdf/locale/id/viewer.properties
new file mode 100644
index 0000000..698a2ba
--- /dev/null
+++ b/lib/viewers/pdf/locale/id/viewer.properties
@@ -0,0 +1,169 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Laman Sebelumnya
+previous_label=Sebelumnya
+next.title=Laman Selanjutnya
+next_label=Selanjutnya
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Laman:
+page_of=dari {{pageCount}}
+
+zoom_out.title=Perkecil
+zoom_out_label=Perkecil
+zoom_in.title=Perbesar
+zoom_in_label=Perbesar
+zoom.title=Perbesaran
+print.title=Cetak
+print_label=Cetak
+presentation_mode.title=Ganti ke Mode Presentasi
+presentation_mode_label=Mode Presentasi
+open_file.title=Buka Berkas
+open_file_label=Buka
+download.title=Unduh
+download_label=Unduh
+bookmark.title=Tampilan Sekarang (salin atau buka di jendela baru)
+bookmark_label=Tampilan Sekarang
+
+# Secondary toolbar and context menu
+tools.title=Alat
+tools_label=Alat
+first_page.title=Buka Halaman Pertama
+first_page.label=Buka Halaman Pertama
+first_page_label=Buka Halaman Pertama
+last_page.title=Buka Halaman Terakhir
+last_page.label=Buka Halaman Terakhir
+last_page_label=Buka Halaman Terakhir
+page_rotate_cw.title=Putar Searah Jarum Jam
+page_rotate_cw.label=Putar Searah Jarum Jam
+page_rotate_cw_label=Putar Searah Jarum Jam
+page_rotate_ccw.title=Putar Berlawanan Arah Jarum Jam
+page_rotate_ccw.label=Putar Berlawanan Arah Jarum Jam
+page_rotate_ccw_label=Putar Berlawanan Arah Jarum Jam
+
+hand_tool_enable.title=Aktifkan alat tangan
+hand_tool_enable_label=Aktifkan alat tangan
+hand_tool_disable.title=Nonaktifkan alat tangan
+hand_tool_disable_label=Nonaktifkan alat tangan
+
+# Document properties dialog box
+document_properties.title=Properti Dokumen…
+document_properties_label=Properti Dokumen…
+document_properties_file_name=Nama berkas:
+document_properties_file_size=Ukuran berkas:
+document_properties_kb={{size_kb}} KB ({{size_b}} byte)
+document_properties_mb={{size_mb}} MB ({{size_b}} byte)
+document_properties_title=Judul:
+document_properties_author=Penyusun:
+document_properties_subject=Subjek:
+document_properties_keywords=Kata Kunci:
+document_properties_creation_date=Tanggal Dibuat:
+document_properties_modification_date=Tanggal Dimodifikasi:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Pembuat:
+document_properties_producer=Pemroduksi PDF:
+document_properties_version=Versi PDF:
+document_properties_page_count=Jumlah Halaman:
+document_properties_close=Tutup
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Aktif/Nonaktifkan Bilah Samping
+toggle_sidebar_label=Aktif/Nonaktifkan Bilah Samping
+outline.title=Buka Kerangka Dokumen
+outline_label=Kerangka Dokumen
+attachments.title=Tampilkan Lampiran
+attachments_label=Lampiran
+thumbs.title=Tampilkan Miniatur
+thumbs_label=Miniatur
+findbar.title=Temukan di Dokumen
+findbar_label=Temukan
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Laman {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Miniatur Laman {{page}}
+
+# Context menu
+first_page.label=Ke Halaman Pertama
+last_page.label=Ke Halaman Terakhir
+page_rotate_cw.label=Putar Searah Jarum Jam
+page_rotate_ccw.label=Putar Berlawanan Arah Jarum Jam
+
+# Find panel button title and messages
+find_label=Temukan:
+find_previous.title=Temukan kata sebelumnya
+find_previous_label=Sebelumnya
+find_next.title=Temukan lebih lanjut
+find_next_label=Selanjutnya
+find_highlight=Sorot semu&anya
+find_match_case_label=Cocokkan BESAR/kecil
+find_reached_top=Sampai di awal dokumen, dilanjutkan dari bawah
+find_reached_bottom=Sampai di akhir dokumen, dilanjutkan dari atas
+find_not_found=Frasa tidak ditemukan
+
+# Error panel labels
+error_more_info=Lebih Banyak Informasi
+error_less_info=Lebih Sedikit Informasi
+error_close=Tutup
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Pesan: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Stack: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Berkas: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Baris: {{line}}
+rendering_error=Galat terjadi saat merender laman.
+
+# Predefined zoom values
+page_scale_width=Lebar Laman
+page_scale_fit=Muat Laman
+page_scale_auto=Perbesaran Otomatis
+page_scale_actual=Ukuran Asli
+
+# Loading indicator messages
+loading_error_indicator=Galat
+loading_error=Galat terjadi saat memuat PDF.
+invalid_file_error=Berkas PDF tidak valid atau rusak.
+missing_file_error=Berkas PDF tidak ada.
+
+# LOCALIZATION NOTE (text_annotation_type): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[Anotasi {{type}}]
+password_label=Masukkan sandi untuk membuka berkas PDF ini.
+password_invalid=Sandi tidak valid. Silakan coba lagi.
+password_ok=Oke
+password_cancel=Batal
+
+printing_not_supported=Peringatan: Pencetakan tidak didukung secara lengkap pada peramban ini.
+printing_not_ready=Peringatan: Berkas PDF masih belum dimuat secara lengkap untuk dapat dicetak.
+web_fonts_disabled=Font web dinonaktifkan: tidak dapat menggunakan font PDF yang tersemat.
+document_colors_disabled=Dokumen PDF tidak diizinkan untuk menggunakan warnanya sendiri karena setelan \'Izinkan laman memilih warna sendiri\’ dinonaktifkan pada pengaturan.
diff --git a/lib/viewers/pdf/locale/is/viewer.properties b/lib/viewers/pdf/locale/is/viewer.properties
new file mode 100644
index 0000000..27db046
--- /dev/null
+++ b/lib/viewers/pdf/locale/is/viewer.properties
@@ -0,0 +1,163 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Fyrri síða
+previous_label=Fyrri
+next.title=Næsta síða
+next_label=Næsti
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Síða:
+page_of=af {{pageCount}}
+
+zoom_out.title=Minnka
+zoom_out_label=Minnka
+zoom_in.title=Stækka
+zoom_in_label=Stækka
+zoom.title=Aðdráttur
+presentation_mode.title=Skipta yfir á kynningarham
+presentation_mode_label=Kynningarhamur
+open_file.title=Opna skrá
+open_file_label=Opna
+print.title=Prenta
+print_label=Prenta
+download.title=Hala niður
+download_label=Hala niður
+bookmark.title=Núverandi sýn (afritaðu eða opnaðu í nýjum glugga)
+bookmark_label=Núverandi sýn
+
+# Secondary toolbar and context menu
+tools.title=Verkfæri
+tools_label=Verkfæri
+first_page.title=Fara á fyrstu síðu
+first_page.label=Fara á fyrstu síðu
+first_page_label=Fara á fyrstu síðu
+last_page.title=Fara á síðustu síðu
+last_page.label=Fara á síðustu síðu
+last_page_label=Fara á síðustu síðu
+page_rotate_cw.title=Snúa réttsælis
+page_rotate_cw.label=Snúa réttsælis
+page_rotate_cw_label=Snúa réttsælis
+page_rotate_ccw.title=Snúa rangsælis
+page_rotate_ccw.label=Snúa rangsælis
+page_rotate_ccw_label=Snúa rangsælis
+
+hand_tool_enable.title=Virkja handarverkfæri
+hand_tool_enable_label=Virkja handarverkfæri
+hand_tool_disable.title=Gera handarverkfæri óvirkt
+hand_tool_disable_label=Gera handarverkfæri óvirkt
+
+# Document properties dialog box
+document_properties.title=Eiginleikar skjals…
+document_properties_label=Eiginleikar skjals…
+document_properties_file_name=Skráarnafn:
+document_properties_file_size=Skrárstærð:
+document_properties_kb={{size_kb}} KB ({{size_b}} bytes)
+document_properties_mb={{size_mb}} MB ({{size_b}} bytes)
+document_properties_title=Titill:
+document_properties_author=Hönnuður:
+document_properties_subject=Efni:
+document_properties_keywords=Stikkorð:
+document_properties_creation_date=Búið til:
+document_properties_modification_date=Dags breytingar:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Höfundur:
+document_properties_producer=PDF framleiðandi:
+document_properties_version=PDF útgáfa:
+document_properties_page_count=Blaðsíðufjöldi:
+document_properties_close=Loka
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Víxla hliðslá
+toggle_sidebar_label=Víxla hliðslá
+outline.title=Sýna efniskipan skjals
+outline_label=Efnisskipan skjals
+attachments.title=Sýna viðhengi
+attachments_label=Viðhengi
+thumbs.title=Sýna smámyndir
+thumbs_label=Smámyndir
+findbar.title=Leita í skjali
+findbar_label=Leita
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Síða {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Smámynd af síðu {{page}}
+
+# Find panel button title and messages
+find_label=Leita:
+find_previous.title=Leita að fyrra tilfelli þessara orða
+find_previous_label=Fyrri
+find_next.title=Leita að næsta tilfelli þessara orða
+find_next_label=Næsti
+find_highlight=Lita allt
+find_match_case_label=Passa við stafstöðu
+find_reached_top=Náði efst í skjal, held áfram neðst
+find_reached_bottom=Náði enda skjals, held áfram efst
+find_not_found=Fann ekki orðið
+
+# Error panel labels
+error_more_info=Meiri upplýsingar
+error_less_info=Minni upplýsingar
+error_close=Loka
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Skilaboð: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Stafli: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Skrá: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Lína: {{line}}
+rendering_error=Upp kom villa við að birta síðuna.
+
+# Predefined zoom values
+page_scale_width=Síðubreidd
+page_scale_fit=Passa á síðu
+page_scale_auto=Sjálfvirkur aðdráttur
+page_scale_actual=Raunstærð
+
+# Loading indicator messages
+loading_error_indicator=Villa
+loading_error=Villa kom upp við að hlaða inn PDF.
+invalid_file_error=Ógild eða skemmd PDF skrá.
+missing_file_error=Vantar PDF skrá.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} Skýring]
+password_label=Sláðu inn lykilorð til að opna þessa PDF skrá.
+password_invalid=Ógilt lykilorð. Reyndu aftur.
+password_ok=Í lagi\u0020
+password_cancel=Hætta við
+
+printing_not_supported=Aðvörun: Prentun er ekki með fyllilegan stuðning á þessum vafra.
+printing_not_ready=Aðvörun: Ekki er búið að hlaða inn allri PDF skránni fyrir prentun.
+web_fonts_disabled=Vef leturgerðir eru óvirkar: get ekki notað innbyggðar PDF leturgerðir.
+document_colors_disabled=PDF skjöl hafa ekki leyfi til að nota sína eigin liti: 'Leyfa síðum að velja eigin liti' er óvirkt í vafranum.
diff --git a/lib/viewers/pdf/locale/it/metadata.inc b/lib/viewers/pdf/locale/it/metadata.inc
deleted file mode 100644
index e09d807..0000000
--- a/lib/viewers/pdf/locale/it/metadata.inc
+++ /dev/null
@@ -1,8 +0,0 @@
- <em:localized>
- <Description>
- <em:locale>it</em:locale>
- <em:name>PDF Viewer</em:name>
- <em:description>Usa HTML5 per visualizzare i file PDF direttamente in Firefox.</em:description>
- </Description>
- </em:localized>
-
diff --git a/lib/viewers/pdf/locale/it/viewer.properties b/lib/viewers/pdf/locale/it/viewer.properties
index 9622264..7457e21 100644
--- a/lib/viewers/pdf/locale/it/viewer.properties
+++ b/lib/viewers/pdf/locale/it/viewer.properties
@@ -1,44 +1,109 @@
-# Copyright 2012 Mozilla Foundation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-bookmark.title=Visualizzazione corrente (copia o apri in una nuova finestra)
-previous.title=Precedente
-next.title=Successiva
-print.title=Stampa
-download.title=Download
-zoom_out.title=Riduci Zoom
-zoom_in.title=Aumenta Zoom
-error_more_info=Pi Informazioni
-error_less_info=Meno Informazioni
-error_close=Chiudi
-error_build=PDF.JS Build: {{build}}
-error_message=Messaggio: {{message}}
-error_stack=Stack: {{stack}}
-error_file=File: {{file}}
-error_line=Linea: {{line}}
-page_scale_width=Adatta alla Larghezza
-page_scale_fit=Adatta alla Pagina
-page_scale_auto=Zoom Automatico
-page_scale_actual=Dimensione Attuale
-toggle_slider.title=Visualizza Riquadro Laterale
-thumbs.title=Mostra Miniature
-outline.title=Mostra Indice Documento
-loading=Caricamento... {{percent}}%
-loading_error_indicator=Errore
-loading_error= accaduto un errore durante il caricamento del PDF.
-rendering_error= accaduto un errore durante il rendering della pagina.
-page_label=Pagina:
-page_of=di {{pageCount}}
-open_file.title=Apri File
-text_annotation_type=[{{type}} Annotazione]
+previous.title = Pagina precedente
+previous_label = Precedente
+next.title = Pagina successiva
+next_label = Successiva
+page_label = Pagina:
+page_of = di {{pageCount}}
+zoom_out.title = Riduci zoom
+zoom_out_label = Riduci zoom
+zoom_in.title = Aumenta zoom
+zoom_in_label = Aumenta zoom
+zoom.title = Zoom
+presentation_mode.title = Passa alla modalità presentazione
+presentation_mode_label = Modalità presentazione
+open_file.title = Apri file
+open_file_label = Apri file
+print.title = Stampa
+print_label = Stampa
+download.title = Scarica questo documento
+download_label = Download
+bookmark.title = Visualizzazione corrente (copia o apri in una nuova finestra)
+bookmark_label = Visualizzazione corrente
+tools.title = Strumenti
+tools_label = Strumenti
+first_page.title = Vai alla prima pagina
+first_page.label = Vai alla prima pagina
+first_page_label = Vai alla prima pagina
+last_page.title = Vai all’ultima pagina
+last_page.label = Vai all’ultima pagina
+last_page_label = Vai all’ultima pagina
+page_rotate_cw.title = Ruota in senso orario
+page_rotate_cw.label = Ruota in senso orario
+page_rotate_cw_label = Ruota in senso orario
+page_rotate_ccw.title = Ruota in senso antiorario
+page_rotate_ccw.label = Ruota in senso antiorario
+page_rotate_ccw_label = Ruota in senso antiorario
+hand_tool_enable.title = Attiva strumento mano
+hand_tool_enable_label = Attiva strumento mano
+hand_tool_disable.title = Disattiva strumento mano
+hand_tool_disable_label = Disattiva strumento mano
+document_properties.title = Proprietà del documento…
+document_properties_label = Proprietà del documento…
+document_properties_file_name = Nome file:
+document_properties_file_size = Dimensione file:
+document_properties_kb = {{size_kb}} kB ({{size_b}} byte)
+document_properties_mb = {{size_kb}} MB ({{size_b}} byte)
+document_properties_title = Titolo:
+document_properties_author = Autore:
+document_properties_subject = Oggetto:
+document_properties_keywords = Parole chiave:
+document_properties_creation_date = Data creazione:
+document_properties_modification_date = Data modifica:
+document_properties_date_string = {{date}}, {{time}}
+document_properties_creator = Autore originale:
+document_properties_producer = Produttore PDF:
+document_properties_version = Versione PDF:
+document_properties_page_count = Conteggio pagine:
+document_properties_close = Chiudi
+toggle_sidebar.title = Attiva/disattiva barra laterale
+toggle_sidebar_label = Attiva/disattiva barra laterale
+outline.title = Visualizza la struttura del documento
+outline_label = Struttura documento
+attachments.title = Visualizza allegati
+attachments_label = Allegati
+thumbs.title = Mostra le miniature
+thumbs_label = Miniature
+findbar.title = Trova nel documento
+findbar_label = Trova
+thumb_page_title = Pagina {{page}}
+thumb_page_canvas = Miniatura della pagina {{page}}
+find_label = Trova:
+find_previous.title = Trova l’occorrenza precedente del testo da cercare
+find_previous_label = Precedente
+find_next.title = Trova l’occorrenza successiva del testo da cercare
+find_next_label = Successivo
+find_highlight = Evidenzia
+find_match_case_label = Maiuscole/minuscole
+find_reached_top = Raggiunto l’inizio della pagina, continua dalla fine
+find_reached_bottom = Raggiunta la fine della pagina, continua dall’inizio
+find_not_found = Testo non trovato
+error_more_info = Più informazioni
+error_less_info = Meno informazioni
+error_close = Chiudi
+error_version_info = PDF.js v{{version}} (build: {{build}})
+error_message = Messaggio: {{message}}
+error_stack = Stack: {{stack}}
+error_file = File: {{file}}
+error_line = Riga: {{line}}
+rendering_error = Si è verificato un errore durante il rendering della pagina.
+page_scale_width = Larghezza pagina
+page_scale_fit = Adatta a una pagina
+page_scale_auto = Zoom automatico
+page_scale_actual = Dimensioni effettive
+loading_error_indicator = Errore
+loading_error = Si è verificato un errore durante il caricamento del PDF.
+invalid_file_error = File PDF non valido o danneggiato.
+missing_file_error = File PDF non disponibile.
+text_annotation_type.alt = [Annotazione: {{type}}]
+password_label = Inserire la password per aprire questo file PDF.
+password_invalid = Password non corretta. Riprovare.
+password_ok = OK
+password_cancel = Annulla
+printing_not_supported = Attenzione: la stampa non è completamente supportata da questo browser.
+printing_not_ready = Attenzione: il PDF non è ancora stato caricato completamente per la stampa.
+web_fonts_disabled = I web font risultano disattivati: impossibile utilizzare i caratteri inclusi nel PDF.
+document_colors_disabled = Non è possibile per i documenti PDF utilizzare i propri colori: l’opzione del browser “Permetti alle pagine di scegliere i propri colori invece di quelli impostati” è disattivata.
diff --git a/lib/viewers/pdf/locale/ja/chrome.properties b/lib/viewers/pdf/locale/ja/chrome.properties
deleted file mode 100644
index e9b4a5a..0000000
--- a/lib/viewers/pdf/locale/ja/chrome.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-# Copyright 2012 Mozilla Foundation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Chrome notification bar messages and buttons
-unsupported_feature=この PDF 文書はサポートされていないため正しく表示できない可能性があります。
-open_with_different_viewer=ほかのビューアで開く
-open_with_different_viewer.accessKey=o
diff --git a/lib/viewers/pdf/locale/ja/metadata.inc b/lib/viewers/pdf/locale/ja/metadata.inc
deleted file mode 100644
index 7ca4746..0000000
--- a/lib/viewers/pdf/locale/ja/metadata.inc
+++ /dev/null
@@ -1,8 +0,0 @@
- <em:localized>
- <Description>
- <em:locale>ja</em:locale>
- <em:name>PDF Viewer</em:name>
- <em:description>HTML5を使用して、Firefoxで直接PDFファイルを表示します。</em:description>
- </Description>
- </em:localized>
-
diff --git a/lib/viewers/pdf/locale/ja/viewer.properties b/lib/viewers/pdf/locale/ja/viewer.properties
index 3a43dee..bfb46fe 100644
--- a/lib/viewers/pdf/locale/ja/viewer.properties
+++ b/lib/viewers/pdf/locale/ja/viewer.properties
@@ -1,123 +1,161 @@
-# Copyright 2012 Mozilla Foundation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Main toolbar buttons (tooltips and alt text for images)
-previous.title=前のページ
-previous_label=前へ
-next.title=次のページ
-next_label=次へ
-
-# LOCALIZATION NOTE (page_label, page_of):
-# These strings are concatenated to form the "Page: X of Y" string.
-# Do not translate "{{pageCount}}", it will be substituted with a number
-# representing the total number of pages.
-page_label=ページ:
-page_of=of {{pageCount}}
-
-zoom_out.title=縮小
-zoom_out_label=縮小
-zoom_in.title=拡大
-zoom_in_label=拡大
-zoom.title=ズーム
-print.title=印刷
-print_label=印刷
-presentation_mode.title=プレゼンテーションモードに切り替えます
-presentation_mode_label=プレゼンテーションモード
-open_file.title=ファイルを開く
-open_file_label=開く
-download.title=ダウンロード
-download_label=ダウンロード
-bookmark.title=現在のビューをブックマーク
-bookmark_label=現在のビューをブックマーク
-
-# Tooltips and alt text for side panel toolbar buttons
-# (the _label strings are alt text for the buttons, the .title strings are
-# tooltips)
-toggle_sidebar.title=サイドバーの切り替え
-toggle_sidebar_label=サイドバーの切り替え
-outline.title=文書の目次
-outline_label=文書の目次
-thumbs.title=縮小版
-thumbs_label=縮小版
-findbar.title=検索
-findbar_label=検索
-
-# Thumbnails panel item (tooltip and alt text for images)
-# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
-# number.
-thumb_page_title={{page}} ページ
-# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
-# number.
-thumb_page_canvas=ページの縮小版 {{page}}
-
-# Context menu
-first_page.label=最初のページへ移動
-last_page.label=最後のページへ移動
-page_rotate_cw.label=右回転
-page_rotate_ccw.label=左回転
-
-# Find panel button title and messages
-find_label=検索:
-find_previous.title=指定文字列に一致する 1 つ前の部分を検索します
-find_previous_label=前へ
-find_next.title=指定文字列に一致する次の部分を検索します
-find_next_label=次へ
-find_highlight=すべて強調表示
-find_match_case_label=大文字/小文字を区別
-find_reached_top=文書先頭まで検索したので末尾に戻って検索しました。
-find_reached_bottom=文書末尾まで検索したので先頭に戻って検索しました。
-find_not_found=見つかりませんでした。
-
-# Error panel labels
-error_more_info=詳細情報
-error_less_info=詳細情報の非表示
-error_close=閉じる
-# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
-# replaced by the PDF.JS version and build ID.
-error_version_info=PDF.js v{{version}} (ビルド: {{build}})
-# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
-# english string describing the error.
-error_message=メッセージ: {{message}}
-# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
-# trace.
-error_stack=スタック: {{stack}}
-# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
-error_file=ファイル: {{file}}
-# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
-error_line=ライン: {{line}}
-rendering_error=ページのレンダリング中にエラーが発生しました
-
-# Predefined zoom values
-page_scale_width=幅に合わせる
-page_scale_fit=ページのサイズに合わせる
-page_scale_auto=自動ズーム
-page_scale_actual=実際のサイズ
-
-# Loading indicator messages
-loading_error_indicator=エラー
-loading_error=PDF の読み込み中にエラーが発生しました
-invalid_file_error=無効または破損した PDF ファイル
-missing_file_error=PDF ファイルが見つかりません。
-
-# LOCALIZATION NOTE (text_annotation_type): This is used as a tooltip.
-# "{{type}}" will be replaced with an annotation type from a list defined in
-# the PDF spec (32000-1:2008 Table 169 – Annotation types).
-# Some common types are e.g.: "Check", "Text", "Comment", "Note"
-text_annotation_type=[{{type}} 注釈]
-request_password=PDF はパスワードによって保護されています
-
-printing_not_supported=警告:このブラウザでは印刷が完全にサポートされていません
-printing_not_ready=警告:PDF を印刷するための読み込みが終了していません
-web_fonts_disabled=Web フォントが無効になっています: 埋め込まれた PDF のフォントを使用することができません
-web_colors_disabled=Web カラーが無効になっています
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=前のページ
+previous_label=前へ
+next.title=次のページ
+next_label=次へ
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=ページ:
+page_of=/ {{pageCount}}
+
+zoom_out.title=縮小
+zoom_out_label=縮小
+zoom_in.title=拡大
+zoom_in_label=拡大
+zoom.title=拡大/縮小
+presentation_mode.title=プレゼンテーションモードに切り替えます
+presentation_mode_label=プレゼンテーションモード
+open_file.title=ファイルを開く
+open_file_label=開く
+print.title=印刷
+print_label=印刷
+download.title=ダウンロード
+download_label=ダウンロード
+bookmark.title=現在のビューをブックマーク
+bookmark_label=現在のビューをブックマーク
+
+# Secondary toolbar and context menu
+tools.title=ツール
+tools_label=ツール
+first_page.title=最初のページへ移動
+first_page.label=最初のページへ移動
+first_page_label=最初のページへ移動
+last_page.title=最後のページへ移動
+last_page.label=最後のページへ移動
+last_page_label=最後のページへ移動
+page_rotate_cw.title=右回転
+page_rotate_cw.label=右回転
+page_rotate_cw_label=右回転
+page_rotate_ccw.title=左回転
+page_rotate_ccw.label=左回転
+page_rotate_ccw_label=左回転
+
+hand_tool_enable.title=手のひらツールを有効にする
+hand_tool_enable_label=手のひらツールを有効にする
+hand_tool_disable.title=手のひらツールを無効にする
+hand_tool_disable_label=手のひらツールを無効にする
+
+# Document properties dialog box
+document_properties.title=文書のプロパティ...
+document_properties_label=文書のプロパティ...
+document_properties_file_name=ファイル名:
+document_properties_file_size=ファイルサイズ:
+document_properties_kb={{size_kb}} KB ({{size_b}} bytes)
+document_properties_mb={{size_mb}} MB ({{size_b}} bytes)
+document_properties_title=タイトル:
+document_properties_author=作成者:
+document_properties_subject=件名:
+document_properties_keywords=キーワード:
+document_properties_creation_date=作成日:
+document_properties_modification_date=更新日:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=アプリケーション:
+document_properties_producer=PDF 変換:
+document_properties_version=PDF のバージョン:
+document_properties_page_count=ページ数:
+document_properties_close=閉じる
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=サイドバーの切り替え
+toggle_sidebar_label=サイドバーの切り替え
+outline.title=文書の目次
+outline_label=文書の目次
+thumbs.title=縮小版
+thumbs_label=縮小版
+findbar.title=検索
+findbar_label=検索
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title={{page}} ページ
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=ページの縮小版 {{page}}
+
+# Find panel button title and messages
+find_label=検索:
+find_previous.title=指定文字列に一致する 1 つ前の部分を検索します
+find_previous_label=前へ
+find_next.title=指定文字列に一致する次の部分を検索します
+find_next_label=次へ
+find_highlight=すべて強調表示
+find_match_case_label=大文字/小文字を区別
+find_reached_top=文書先頭まで検索したので末尾に戻って検索しました。
+find_reached_bottom=文書末尾まで検索したので先頭に戻って検索しました。
+find_not_found=見つかりませんでした。
+
+# Error panel labels
+error_more_info=詳細情報
+error_less_info=詳細情報の非表示
+error_close=閉じる
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (ビルド: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=メッセージ: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=スタック: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=ファイル: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=ライン: {{line}}
+rendering_error=ページのレンダリング中にエラーが発生しました
+
+# Predefined zoom values
+page_scale_width=幅に合わせる
+page_scale_fit=ページのサイズに合わせる
+page_scale_auto=自動ズーム
+page_scale_actual=実際のサイズ
+
+# Loading indicator messages
+loading_error_indicator=エラー
+loading_error=PDF の読み込み中にエラーが発生しました
+invalid_file_error=無効または破損した PDF ファイル
+missing_file_error=PDF ファイルが見つかりません。
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} 注釈]
+password_label=この PDF ファイルを開くためのパスワードを入力してください。
+password_invalid=無効なパスワードです。もう一度やり直してください。
+password_ok=OK
+password_cancel=キャンセル
+
+printing_not_supported=警告: このブラウザでは印刷が完全にサポートされていません
+printing_not_ready=警告: PDF を印刷するための読み込みが終了していません
+web_fonts_disabled=Web フォントが無効になっています: 埋め込まれた PDF のフォントを使用することができません
+document_colors_disabled=PDF 文書は、Web ページが指定した配色を使用することができません: \'Web ページが指定した配色\' はブラウザで無効になっています。
diff --git a/lib/viewers/pdf/locale/ka/viewer.properties b/lib/viewers/pdf/locale/ka/viewer.properties
new file mode 100644
index 0000000..f6c68f5
--- /dev/null
+++ b/lib/viewers/pdf/locale/ka/viewer.properties
@@ -0,0 +1,124 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=წინა გვერდი
+previous_label=წინა
+next.title=შემდეგი გვერდი
+next_label=შემდეგი
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=გვერდი:
+page_of=of {{pageCount}}
+
+zoom_out.title=შემცირება
+zoom_out_label=გაზრდა
+zoom_in.title=შემცირება
+zoom_in_label=შემცირება
+zoom.title=მასშტაბი
+print.title=ამობეჭდვა
+print_label=ამობეჭდვა
+presentation_mode.title=გადართვა პრეზენტაციის რეჟიმზე
+presentation_mode_label=პრეზენტაციის რეჟიმი
+open_file.title=ფაილის გახსნა
+open_file_label=გახსნა
+download.title=ჩამოტვირთვა
+download_label=ჩამოტვირთვა
+bookmark.title=მიმდინარე ხედი (ასლი ან გახსნა ახალ სარკმელში)
+bookmark_label=მიმდინარე ხედი
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=სტენდის ჩვენება/დამალვა
+toggle_sidebar_label=სტენდის ჩვენება/დამალვა
+outline.title=დოკუმენტის სქემის ჩვენება
+outline_label=დოკუმენტის სქემა
+thumbs.title=მინიატურების ჩვენება
+thumbs_label=მინიატურები
+findbar.title=პოვნა დოკუმენტში
+findbar_label=პოვნა
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=გვერდი {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=მინიატურა გვერდისთვის {{page}}
+
+# Context menu
+first_page.label=გადასვლა პირველ გვერდზე
+last_page.label=გადასვლა ბოლო გვერდზე
+page_rotate_cw.label=დატრიალება
+page_rotate_ccw.label=უკუდატრიალება
+
+# Find panel button title and messages
+find_label=პოვნა:
+find_previous.title=კონტექსტის წინა თანხვედრის პოვნა
+find_previous_label=წინა
+find_next.title=კონტექსტის შემდეგი თანხვედრის პოვნა
+find_next_label=შემდეგი
+find_highlight=ყველას გამოყოფა
+find_match_case_label=მთავრულის გათვალისწინებით
+find_reached_top=დოკუმენტის თავი, გრძელდება დოკუმენტის ბოლოდან
+find_reached_bottom=დოკუმენტის ბოლო, გრძელდება დოკუმენტის თავიდან
+find_not_found=კონტექსტი ვერ მოიძებნა
+
+# Error panel labels
+error_more_info=დეტალების ჩვენება
+error_less_info=დეტალების დამალვა
+error_close=დახურვა
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (აგება: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=გზავნილი: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=მჭიდი: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=ფაილი: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=სტრიქონი: {{line}}
+rendering_error=შეცდომა გვერდის ასახვისას.
+
+# Predefined zoom values
+page_scale_width=გვერდის სიგანეზე
+page_scale_fit=გვერდის შევსება
+page_scale_auto=თვითმასშტაბი
+page_scale_actual=რეალური ზომა
+
+# Loading indicator messages
+loading_error_indicator=შეცდომა
+loading_error=შეცდომა PDF ფაილის ჩატვირთვისას.
+invalid_file_error=უმართებლო ან დაზიანებული PDF ფაილი.
+missing_file_error=მცდარი PDF ფაილი.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} ანოტაცია]
+request_password=PDF დაცულია პაროლით:
+invalid_password=პაროლი მცდარია.
+
+printing_not_supported=გაფრთხილება: ამ ბრაუზერში ამობეჭდვის მხარდაჭერა არასრულია .
+printing_not_ready=გაფრთხილება: PDF ფაილი ამოსაბეჭდად სრულად არ ჩატვირთულა.
+web_fonts_disabled=ვებ შრიფტები ამორთულია: ჩადგმული PDF შრიფტებით სარგებლობა ვერ ხერხდება.
+document_colors_disabled=PDF დოკუმენტებს ეკრძალებათ საკუთარი ფერების გამოყენება: ბრაუზერში ამორთულია პარამეტრი - «გვერდებისთვის საკუთარი ფერებით სარგებლობის უფლება».
diff --git a/lib/viewers/pdf/locale/kk/viewer.properties b/lib/viewers/pdf/locale/kk/viewer.properties
new file mode 100644
index 0000000..7d02ae5
--- /dev/null
+++ b/lib/viewers/pdf/locale/kk/viewer.properties
@@ -0,0 +1,163 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Алдыңғы парақ
+previous_label=Алдыңғысы
+next.title=Келесі парақ
+next_label=Келесі
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Парақ:
+page_of={{pageCount}} ішінен
+
+zoom_out.title=Кішірейту
+zoom_out_label=Кішірейту
+zoom_in.title=Үлкейту
+zoom_in_label=Үлкейту
+zoom.title=Масштаб
+presentation_mode.title=Презентация режиміне ауысу
+presentation_mode_label=Презентация режимі
+open_file.title=Файлды ашу
+open_file_label=Ашу
+print.title=Баспаға шығару
+print_label=Баспаға шығару
+download.title=Жүктеп алу
+download_label=Жүктеп алу
+bookmark.title=Ағымдағы көрініс (көшіру не жаңа терезеде ашу)
+bookmark_label=Ағымдағы көрініс
+
+# Secondary toolbar and context menu
+tools.title=Саймандар
+tools_label=Саймандар
+first_page.title=Алғашқы параққа өту
+first_page.label=Алғашқы параққа өту
+first_page_label=Алғашқы параққа өту
+last_page.title=Соңғы параққа өту
+last_page.label=Соңғы параққа өту
+last_page_label=Соңғы параққа өту
+page_rotate_cw.title=Сағат тілі бағытымен айналдыру
+page_rotate_cw.label=Сағат тілі бағытымен бұру
+page_rotate_cw_label=Сағат тілі бағытымен бұру
+page_rotate_ccw.title=Сағат тілі бағытына қарсы бұру
+page_rotate_ccw.label=Сағат тілі бағытына қарсы бұру
+page_rotate_ccw_label=Сағат тілі бағытына қарсы бұру
+
+hand_tool_enable.title=Қол сайманын іске қосу
+hand_tool_enable_label=Қол сайманын іске қосу
+hand_tool_disable.title=Қол сайманын сөндіру
+hand_tool_disable_label=Қол сайманын сөндіру
+
+# Document properties dialog box
+document_properties.title=Құжат қасиеттері…
+document_properties_label=Құжат қасиеттері…
+document_properties_file_name=Файл аты:
+document_properties_file_size=Файл өлшемі:
+document_properties_kb={{size_kb}} КБ ({{size_b}} байт)
+document_properties_mb={{size_mb}} МБ ({{size_b}} байт)
+document_properties_title=Тақырыбы...
+document_properties_author=Авторы:
+document_properties_subject=Тақырыбы:
+document_properties_keywords=Кілт сөздер:
+document_properties_creation_date=Жасалған күні:
+document_properties_modification_date=Түзету күні:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Жасаған:
+document_properties_producer=PDF өндірген:
+document_properties_version=PDF нұсқасы:
+document_properties_page_count=Беттер саны:
+document_properties_close=Жабу
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Бүйір панелін көрсету/жасыру
+toggle_sidebar_label=Бүйір панелін көрсету/жасыру
+outline.title=Құжат құрамасын көрсету
+outline_label=Құжат құрамасы
+attachments.title=Салынымдарды көрсету
+attachments_label=Салынымдар
+thumbs.title=Кіші көріністерді көрсету
+thumbs_label=Кіші көріністер
+findbar.title=Құжаттан табу
+findbar_label=Табу
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title={{page}} парағы
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas={{page}} парағы үшін кіші көрінісі
+
+# Find panel button title and messages
+find_label=Табу:
+find_previous.title=Осы сөздердің мәтіннен алдыңғы кездесуін табу
+find_previous_label=Алдыңғысы
+find_next.title=Осы сөздердің мәтіннен келесі кездесуін табу
+find_next_label=Келесі
+find_highlight=Барлығын түспен ерекшелеу
+find_match_case_label=Регистрді ескеру
+find_reached_top=Құжаттың басына жеттік, соңынан бастап жалғастырамыз
+find_reached_bottom=Құжаттың соңына жеттік, басынан бастап жалғастырамыз
+find_not_found=Сөз(дер) табылмады
+
+# Error panel labels
+error_more_info=Көбірек ақпарат
+error_less_info=Азырақ ақпарат
+error_close=Жабу
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (жинақ: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Хабарлама: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Стек: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Файл: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Жол: {{line}}
+rendering_error=Парақты өңдеу кезінде қате кетті.
+
+# Predefined zoom values
+page_scale_width=Парақ ені
+page_scale_fit=Парақты сыйдыру
+page_scale_auto=Автомасштабтау
+page_scale_actual=Нақты өлшемі
+
+# Loading indicator messages
+loading_error_indicator=Қате
+loading_error=PDF жүктеу кезінде қате кетті.
+invalid_file_error=Зақымдалған немесе қате PDF файл.
+missing_file_error=PDF файлы жоқ.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} аңдатпасы]
+password_label=Бұл PDF файлын ашу үшін парольді енгізіңіз.
+password_invalid=Пароль дұрыс емес. Қайталап көріңіз.
+password_ok=ОК
+password_cancel=Бас тарту
+
+printing_not_supported=Ескерту: Баспаға шығаруды бұл браузер толығымен қолдамайды.
+printing_not_ready=Ескерту: Баспаға шығару үшін, бұл PDF толығымен жүктеліп алынбады.
+web_fonts_disabled=Веб қаріптері сөндірілген: құрамына енгізілген PDF қаріптерін қолдану мүмкін емес.
+document_colors_disabled=PDF құжаттарына өздік түстерді қолдану рұқсат етілмеген: бұл браузерде 'Веб-сайттарға өздерінің түстерін қолдануға рұқсат беру' мүмкіндігі сөндірулі тұр.
diff --git a/lib/viewers/pdf/locale/km/viewer.properties b/lib/viewers/pdf/locale/km/viewer.properties
new file mode 100644
index 0000000..45acd63
--- /dev/null
+++ b/lib/viewers/pdf/locale/km/viewer.properties
@@ -0,0 +1,163 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=ទំព័រ​មុន
+previous_label=មុន
+next.title=ទំព័រ​បន្ទាប់
+next_label=បន្ទាប់
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=ទំព័រ ៖
+page_of=នៃ {{pageCount}}
+
+zoom_out.title=​បង្រួម
+zoom_out_label=​បង្រួម
+zoom_in.title=​ពង្រីក
+zoom_in_label=​ពង្រីក
+zoom.title=ពង្រីក
+presentation_mode.title=ប្ដូរ​ទៅ​របៀប​បទ​បង្ហាញ
+presentation_mode_label=របៀប​បទ​បង្ហាញ
+open_file.title=បើក​ឯកសារ
+open_file_label=បើក
+print.title=បោះពុម្ព
+print_label=បោះពុម្ព
+download.title=ទាញ​យក
+download_label=ទាញ​យក
+bookmark.title=ទិដ្ឋភាព​បច្ចុប្បន្ន (ចម្លង ឬ​បើក​នៅ​ក្នុង​បង្អួច​ថ្មី)
+bookmark_label=ទិដ្ឋភាព​បច្ចុប្បន្ន
+
+# Secondary toolbar and context menu
+tools.title=ឧបករណ៍
+tools_label=ឧបករណ៍
+first_page.title=ទៅកាន់​ទំព័រ​ដំបូង​
+first_page.label=ទៅកាន់​ទំព័រ​ដំបូង​
+first_page_label=ទៅកាន់​ទំព័រ​ដំបូង​
+last_page.title=ទៅកាន់​ទំព័រ​ចុងក្រោយ​
+last_page.label=ទៅកាន់​ទំព័រ​ចុងក្រោយ​
+last_page_label=ទៅកាន់​ទំព័រ​ចុងក្រោយ
+page_rotate_cw.title=បង្វិល​ស្រប​ទ្រនិច​នាឡិកា
+page_rotate_cw.label=បង្វិល​ស្រប​ទ្រនិច​នាឡិកា
+page_rotate_cw_label=បង្វិល​ស្រប​ទ្រនិច​នាឡិកា
+page_rotate_ccw.title=បង្វិល​ច្រាស​ទ្រនិច​នាឡិកា​​
+page_rotate_ccw.label=បង្វិល​ច្រាស​ទ្រនិច​នាឡិកា​​
+page_rotate_ccw_label=បង្វិល​ច្រាស​ទ្រនិច​នាឡិកា​​
+
+hand_tool_enable.title=បើក​ឧបករណ៍​ដោយ​ដៃ
+hand_tool_enable_label=បើក​ឧបករណ៍​ដោយ​ដៃ
+hand_tool_disable.title=បិទ​ឧបករណ៍​ប្រើ​ដៃ
+hand_tool_disable_label=បិទ​ឧបករណ៍​ប្រើ​ដៃ
+
+# Document properties dialog box
+document_properties.title=លក្ខណ​សម្បត្តិ​ឯកសារ…
+document_properties_label=លក្ខណ​សម្បត្តិ​ឯកសារ…
+document_properties_file_name=ឈ្មោះ​ឯកសារ៖
+document_properties_file_size=ទំហំ​ឯកសារ៖
+document_properties_kb={{size_kb}} KB ({{size_b}} bytes)
+document_properties_mb={{size_mb}} MB ({{size_b}} bytes)
+document_properties_title=ចំណងជើង ៖
+document_properties_author=អ្នក​និពន្ធ៖
+document_properties_subject=ប្រធានបទ៖
+document_properties_keywords=ពាក្យ​គន្លឹះ៖
+document_properties_creation_date=កាលបរិច្ឆេទ​បង្កើត៖
+document_properties_modification_date=កាលបរិច្ឆេទ​កែប្រែ៖
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=អ្នក​បង្កើត៖
+document_properties_producer=កម្មវិធី​បង្កើត PDF ៖
+document_properties_version=កំណែ PDF ៖
+document_properties_page_count=ចំនួន​ទំព័រ៖
+document_properties_close=បិទ
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=បិទ/បើក​គ្រាប់​រំកិល
+toggle_sidebar_label=បិទ/បើក​គ្រាប់​រំកិល
+outline.title=បង្ហាញ​គ្រោង​ឯកសារ
+outline_label=គ្រោង​ឯកសារ
+attachments.title=បង្ហាញ​ឯកសារ​ភ្ជាប់
+attachments_label=ឯកសារ​ភ្ជាប់
+thumbs.title=បង្ហាញ​រូបភាព​តូចៗ
+thumbs_label=រួបភាព​តូចៗ
+findbar.title=រក​នៅ​ក្នុង​ឯកសារ
+findbar_label=រក
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=ទំព័រ {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=រូបភាព​តូច​របស់​ទំព័រ {{page}}
+
+# Find panel button title and messages
+find_label=រក ៖
+find_previous.title=រក​ពាក្យ ឬ​ឃ្លា​ដែល​បាន​ជួប​មុន
+find_previous_label=មុន
+find_next.title=រក​ពាក្យ ឬ​ឃ្លា​ដែល​បាន​ជួប​បន្ទាប់
+find_next_label=បន្ទាប់
+find_highlight=បន្លិច​ទាំងអស់
+find_match_case_label=ករណី​ដំណូច
+find_reached_top=បាន​បន្ត​ពី​ខាង​ក្រោម ទៅ​ដល់​ខាង​​លើ​នៃ​ឯកសារ
+find_reached_bottom=បាន​បន្ត​ពី​ខាងលើ ទៅដល់​ចុង​​នៃ​ឯកសារ
+find_not_found=រក​មិន​ឃើញ​ពាក្យ ឬ​ឃ្លា
+
+# Error panel labels
+error_more_info=ព័ត៌មាន​បន្ថែម
+error_less_info=ព័ត៌មាន​តិចតួច
+error_close=បិទ
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=សារ ៖ {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=ជង់ ៖ {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=ឯកសារ ៖ {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=ជួរ ៖ {{line}}
+rendering_error=មាន​កំហុស​បាន​កើតឡើង​ពេល​បង្ហាញ​ទំព័រ ។
+
+# Predefined zoom values
+page_scale_width=ទទឹង​ទំព័រ
+page_scale_fit=សម​ទំព័រ
+page_scale_auto=ពង្រីក​ស្វ័យប្រវត្តិ
+page_scale_actual=ទំហំ​ជាក់ស្ដែង
+
+# Loading indicator messages
+loading_error_indicator=កំហុស
+loading_error=មាន​កំហុស​បាន​កើតឡើង​ពេល​កំពុង​ផ្ទុក PDF ។
+invalid_file_error=ឯកសារ PDF ខូច ឬ​មិន​ត្រឹមត្រូវ ។
+missing_file_error=បាត់​ឯកសារ PDF
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} ចំណារ​ពន្យល់]
+password_label=បញ្ចូល​ពាក្យសម្ងាត់​ដើម្បី​បើក​ឯកសារ PDF នេះ។
+password_invalid=ពាក្យសម្ងាត់​មិន​ត្រឹមត្រូវ។ សូម​ព្យាយាម​ម្ដងទៀត។
+password_ok=យល់​ព្រម
+password_cancel=បោះបង់
+
+printing_not_supported=ការ​ព្រមាន ៖ កា​រ​បោះពុម្ព​មិន​ត្រូវ​បាន​គាំទ្រ​ពេញលេញ​ដោយ​កម្មវិធី​រុករក​នេះ​ទេ ។
+printing_not_ready=ព្រមាន៖ PDF មិន​ត្រូវ​បាន​ផ្ទុក​ទាំងស្រុង​ដើម្បី​បោះពុម្ព​ទេ។
+web_fonts_disabled=បាន​បិទ​ពុម្ពអក្សរ​បណ្ដាញ ៖ មិន​អាច​ប្រើ​ពុម្ពអក្សរ PDF ដែល​បាន​បង្កប់​បាន​ទេ ។
+document_colors_disabled=ឯកសារ PDF មិន​ត្រូវ​បាន​អនុញ្ញាត​ឲ្យ​ប្រើ​ពណ៌​ផ្ទាល់​របស់​វា​ទេ៖ 'អនុញ្ញាត​​ឲ្យ​ទំព័រ​ជ្រើស​ពណ៌​ផ្ទាល់​ខ្លួន' ត្រូវ​បាន​ធ្វើ​ឲ្យ​អសកម្ម​ក្នុង​​កម្មវិធី​រុករក។
diff --git a/lib/viewers/pdf/locale/kn/viewer.properties b/lib/viewers/pdf/locale/kn/viewer.properties
new file mode 100644
index 0000000..b37695a
--- /dev/null
+++ b/lib/viewers/pdf/locale/kn/viewer.properties
@@ -0,0 +1,123 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=ಹಿಂದಿನ ಪುಟ
+previous_label=ಹಿಂದಿನ
+next.title=ಮುಂದಿನ ಪುಟ
+next_label=ಮುಂದಿನ
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=ಪುಟ:
+page_of={{pageCount}} ರಲ್ಲಿ
+
+zoom_out.title=ಕಿರಿದಾಗಿಸು
+zoom_out_label=ಕಿರಿದಾಗಿಸಿ
+zoom_in.title=ಹಿರಿದಾಗಿಸು
+zoom_in_label=ಹಿರಿದಾಗಿಸಿ
+zoom.title=ಗಾತ್ರಬದಲಿಸು
+presentation_mode.title=ಪ್ರಸ್ತುತಿ (ಪ್ರಸೆಂಟೇಶನ್) ಕ್ರಮಕ್ಕೆ ಬದಲಾಯಿಸು
+presentation_mode_label=ಪ್ರಸ್ತುತಿ (ಪ್ರಸೆಂಟೇಶನ್) ಕ್ರಮ
+open_file.title=ಕಡತವನ್ನು ತೆರೆ
+open_file_label=ತೆರೆಯಿರಿ
+print.title=ಮುದ್ರಿಸು
+print_label=ಮುದ್ರಿಸಿ
+download.title=ಇಳಿಸು
+download_label=ಇಳಿಸಿಕೊಳ್ಳಿ
+bookmark.title=ಪ್ರಸಕ್ತ ನೋಟ (ಪ್ರತಿ ಮಾಡು ಅಥವ ಹೊಸ ಕಿಟಕಿಯಲ್ಲಿ ತೆರೆ)
+bookmark_label=ಪ್ರಸಕ್ತ ನೋಟ
+
+# Secondary toolbar and context menu
+
+
+# Document properties dialog box
+document_properties_title=ಶೀರ್ಷಿಕೆ:
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=ಬದಿಪಟ್ಟಿಯನ್ನು ಹೊರಳಿಸು
+toggle_sidebar_label=ಬದಿಪಟ್ಟಿಯನ್ನು ಹೊರಳಿಸು
+outline.title=ದಸ್ತಾವೇಜಿನ ಹೊರರೇಖೆಯನ್ನು ತೋರಿಸು
+outline_label=ದಸ್ತಾವೇಜಿನ ಹೊರರೇಖೆ
+thumbs.title=ಚಿಕ್ಕಚಿತ್ರದಂತೆ ತೋರಿಸು
+thumbs_label=ಚಿಕ್ಕಚಿತ್ರಗಳು
+findbar.title=ದಸ್ತಾವೇಜಿನಲ್ಲಿ ಹುಡುಕು
+findbar_label=ಹುಡುಕು
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=ಪುಟ {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=ಪುಟವನ್ನು ಚಿಕ್ಕಚಿತ್ರದಂತೆ ತೋರಿಸು {{page}}
+
+# Find panel button title and messages
+find_label=ಹುಡುಕು:
+find_previous.title=ವಾಕ್ಯದ ಹಿಂದಿನ ಇರುವಿಕೆಯನ್ನು ಹುಡುಕು
+find_previous_label=ಹಿಂದಿನ
+find_next.title=ವಾಕ್ಯದ ಮುಂದಿನ ಇರುವಿಕೆಯನ್ನು ಹುಡುಕು
+find_next_label=ಮುಂದಿನ
+find_highlight=ಎಲ್ಲವನ್ನು ಹೈಲೈಟ್ ಮಾಡು
+find_match_case_label=ಕೇಸನ್ನು ಹೊಂದಿಸು
+find_reached_top=ದಸ್ತಾವೇಜಿನ ಮೇಲ್ಭಾಗವನ್ನು ತಲುಪಿದೆ, ಕೆಳಗಿನಿಂದ ಆರಂಭಿಸು
+find_reached_bottom=ದಸ್ತಾವೇಜಿನ ಕೊನೆಯನ್ನು ತಲುಪಿದೆ, ಮೇಲಿನಿಂದ ಆರಂಭಿಸು
+find_not_found=ವಾಕ್ಯವು ಕಂಡು ಬಂದಿಲ್ಲ
+
+# Error panel labels
+error_more_info=ಹೆಚ್ಚಿನ ಮಾಹಿತಿ
+error_less_info=ಕಡಿಮೆ ಮಾಹಿತಿ
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=ಸಂದೇಶ: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=ರಾಶಿ: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=ಕಡತ: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=ಸಾಲು: {{line}}
+rendering_error=ಪುಟವನ್ನು ನಿರೂಪಿಸುವಾಗ ಒಂದು ದೋಷ ಎದುರಾಗಿದೆ.
+
+# Predefined zoom values
+page_scale_width=ಪುಟದ ಅಗಲ
+page_scale_fit=ಪುಟದ ಸರಿಹೊಂದಿಕೆ
+page_scale_auto=ಸ್ವಯಂಚಾಲಿತ ಗಾತ್ರಬದಲಾವಣೆ
+page_scale_actual=ನಿಜವಾದ ಗಾತ್ರ
+
+# Loading indicator messages
+loading_error_indicator=ದೋಷ
+loading_error=PDF ಅನ್ನು ಲೋಡ್ ಮಾಡುವಾಗ ಒಂದು ದೋಷ ಎದುರಾಗಿದೆ.
+invalid_file_error=ಅಮಾನ್ಯವಾದ ಅಥವ ಹಾಳಾದ PDF ಕಡತ.
+missing_file_error=PDF ಕಡತ ಇಲ್ಲ.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} ಟಿಪ್ಪಣಿ]
+password_ok=OK
+password_cancel=ರದ್ದು ಮಾಡು
+
+printing_not_supported=ಎಚ್ಚರಿಕೆ: ಈ ಜಾಲವೀಕ್ಷಕದಲ್ಲಿ ಮುದ್ರಣಕ್ಕೆ ಸಂಪೂರ್ಣ ಬೆಂಬಲವಿಲ್ಲ.
+printing_not_ready=ಎಚ್ಚರಿಕೆ: PDF ಕಡತವು ಮುದ್ರಿಸಲು ಸಂಪೂರ್ಣವಾಗಿ ಲೋಡ್ ಆಗಿಲ್ಲ.
+web_fonts_disabled=ಜಾಲ ಅಕ್ಷರಶೈಲಿಯನ್ನು ನಿಷ್ಕ್ರಿಯಗೊಳಿಸಲಾಗಿದೆ: ಅಡಕಗೊಳಿಸಿದ PDF ಅಕ್ಷರಶೈಲಿಗಳನ್ನು ಬಳಸಲು ಸಾಧ್ಯವಾಗಿಲ್ಲ.
+document_colors_disabled=PDF ದಸ್ತಾವೇಜುಗಳು ತಮ್ಮದೆ ಆದ ಬಣ್ಣಗಳನ್ನು ಬಳಸಲು ಅನುಮತಿ ಇರುವುದಿಲ್ಲ: 'ಪುಟಗಳು ತಮ್ಮದೆ ಆದ ಬಣ್ಣವನ್ನು ಆಯ್ಕೆ ಮಾಡಲು ಅನುಮತಿಸು' ಅನ್ನು ಜಾಲವೀಕ್ಷಕದಲ್ಲಿ ನಿಷ್ಕ್ರಿಯಗೊಳಿಸಲಾಗಿರುತ್ತದೆ.
diff --git a/lib/viewers/pdf/locale/ko/chrome.properties b/lib/viewers/pdf/locale/ko/chrome.properties
deleted file mode 100644
index fcd2f8f..0000000
--- a/lib/viewers/pdf/locale/ko/chrome.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-# Copyright 2012 Mozilla Foundation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Chrome notification bar messages and buttons
-unsupported_feature=이 PDF 문서는 제대로 표시되지 않을 수 있습니다.
-open_with_different_viewer=다른 뷰어로 열기
-open_with_different_viewer.accessKey=o
diff --git a/lib/viewers/pdf/locale/ko/metadata.inc b/lib/viewers/pdf/locale/ko/metadata.inc
deleted file mode 100644
index 04a8f07..0000000
--- a/lib/viewers/pdf/locale/ko/metadata.inc
+++ /dev/null
@@ -1,8 +0,0 @@
- <em:localized>
- <Description>
- <em:locale>ko</em:locale>
- <em:name>PDF 뷰어</em:name>
- <em:description>Firefox가 PDF 파일을 HTML5를 이용하여 직접 보여줍니다.</em:description>
- </Description>
- </em:localized>
-
diff --git a/lib/viewers/pdf/locale/ko/viewer.properties b/lib/viewers/pdf/locale/ko/viewer.properties
index 240a151..f0bc908 100644
--- a/lib/viewers/pdf/locale/ko/viewer.properties
+++ b/lib/viewers/pdf/locale/ko/viewer.properties
@@ -13,79 +13,114 @@
# limitations under the License.
# Main toolbar buttons (tooltips and alt text for images)
-previous.title=이전 쪽
+previous.title=이전 페이지
previous_label=이전
-next.title=다음 쪽
+next.title=다음 페이지
next_label=다음
# LOCALIZATION NOTE (page_label, page_of):
# These strings are concatenated to form the "Page: X of Y" string.
# Do not translate "{{pageCount}}", it will be substituted with a number
# representing the total number of pages.
-page_label=쪽:
-page_of=/ {{pageCount}}
+page_label=페이지:
+page_of=/{{pageCount}}
zoom_out.title=축소
zoom_out_label=축소
zoom_in.title=확대
zoom_in_label=확대
-zoom.title=확대 비율
-print.title=출력
-print_label=출력
-presentation_mode.title=프레젠테이션 모드로 전환
-presentation_mode_label=프레젠테이션 모드
+zoom.title=크기
+print.title=인쇄
+print_label=인쇄
+presentation_mode.title=발표 모드로 전환
+presentation_mode_label=발표 모드
open_file.title=파일 열기
open_file_label=열기
-download.title=내려받기
-download_label=내려받기
-bookmark.title=현 화면 (복사하거나 새 창에서 열기)
-bookmark_label=현 화면
+download.title=다운로드
+download_label=다운로드
+bookmark.title=지금 보이는 그대로 (복사하거나 새 창에 열기)
+bookmark_label=지금 보이는 그대로
+
+# Secondary toolbar and context menu
+tools.title=도구
+tools_label=도구
+first_page.title=첫 페이지로 이동
+first_page.label=첫 페이지로 이동
+first_page_label=첫 페이지로 이동
+last_page.title=마지막 페이지로 이동
+last_page.label=마지막 페이지로 이동
+last_page_label=마지막 페이지로 이동
+page_rotate_cw.title=시계방향으로 회전
+page_rotate_cw.label=시계방향으로 회전
+page_rotate_cw_label=시계방향으로 회전
+page_rotate_ccw.title=시계 반대방향으로 회전
+page_rotate_ccw.label=시계 반대방향으로 회전
+page_rotate_ccw_label=시계 반대방향으로 회전
+
+hand_tool_enable.title=손 도구 켜기
+hand_tool_enable_label=손 도구 켜기
+hand_tool_disable.title=손 도구 끄기
+hand_tool_disable_label=손 도구 끄기
+
+# Document properties dialog box
+document_properties.title=문서 속성…
+document_properties_label=문서 속성…
+document_properties_file_name=파일 이름:
+document_properties_file_size=파일 사이즈:
+document_properties_kb={{size_kb}} KB ({{size_b}}바이트)
+document_properties_mb={{size_mb}} MB ({{size_b}}바이트)
+document_properties_title=제목:
+document_properties_author=저자:
+document_properties_subject=주제:
+document_properties_keywords=키워드:
+document_properties_creation_date=생성일:
+document_properties_modification_date=수정일:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=생성자:
+document_properties_producer=PDF 생성기:
+document_properties_version=PDF 버전:
+document_properties_page_count=총 페이지:
+document_properties_close=닫기
# Tooltips and alt text for side panel toolbar buttons
# (the _label strings are alt text for the buttons, the .title strings are
# tooltips)
-toggle_sidebar.title=사이드바 보이기/숨기기
-toggle_sidebar_label=사이드바 보이기/숨기기
-outline.title=문서 개요 보이기
+toggle_sidebar.title=탐색창 열고 닫기
+toggle_sidebar_label=탐색창 열고 닫기
+outline.title=문서 개요 보기
outline_label=문서 개요
-thumbs.title=쪽 작게 보기
-thumbs_label=쪽 작게 보기
-findbar.title=문서 내에서 찾기
-findbar_label=찾기
+thumbs.title=미리보기
+thumbs_label=미리보기
+findbar.title=검색
+findbar_label=검색
# Thumbnails panel item (tooltip and alt text for images)
# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
# number.
-thumb_page_title={{page}} 쪽
+thumb_page_title={{page}}쪽
# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
# number.
-thumb_page_canvas={{page}}쪽의 썸네일
-
-# Context menu
-first_page.label=첫 쪽으로
-last_page.label=끝 쪽으로
-page_rotate_cw.label=시계방향 회전
-page_rotate_ccw.label=반시계방향 회전
+thumb_page_canvas={{page}}쪽 미리보기
# Find panel button title and messages
-find_label=찾기:
-find_previous.title=이전 구절 찾기
+find_label=검색:
+find_previous.title=지정 문자열에 일치하는 1개 부분을 검색
find_previous_label=이전
-find_next.title=다음 구절 찾기
+find_next.title=지정 문자열에 일치하는 다음 부분을 검색
find_next_label=다음
-find_highlight=모두 강조
-find_match_case_label=대/소문자까지 정확히
-find_reached_top=문서의 처음, 끝에서부터 계속
-find_reached_bottom=문서의 끝, 처음에서부터 계속
-find_not_found=구절을 찾을 수 없습니다
+find_highlight=모두 강조 표시
+find_match_case_label=대문자/소문자 구별
+find_reached_top=문서 처음까지 검색하고 끝으로 돌아와 검색했습니다.
+find_reached_bottom=문서 끝까지 검색하고 앞으로 돌아와 검색했습니다.
+find_not_found=검색 결과 없음
# Error panel labels
-error_more_info=더 보기
-error_less_info=간략히
+error_more_info=정보 더 보기
+error_less_info=정보 간단히 보기
error_close=닫기
# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
# replaced by the PDF.JS version and build ID.
-error_version_info=PDF.js v{{version}} (build: {{build}})
+error_version_info=PDF.js v{{version}} (빌드: {{build}})
# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
# english string describing the error.
error_message=메시지: {{message}}
@@ -95,29 +130,32 @@ error_stack=스택: {{stack}}
# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
error_file=파일: {{file}}
# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
-error_line=행: {{line}}
-rendering_error=쪽 렌더링 중 오류가 발생했습니다.
+error_line=줄 번호: {{line}}
+rendering_error=페이지를 렌더링하다 오류가 났습니다.
# Predefined zoom values
-page_scale_width=너비 맞춤
-page_scale_fit=쪽 맞춤
-page_scale_auto=자동 맞춤
-page_scale_actual=실제 크기
+page_scale_width=페이지 너비에 맞춤
+page_scale_fit=페이지에 맞춤
+page_scale_auto=알아서 맞춤
+page_scale_actual=실제 크기에 맞춤
# Loading indicator messages
loading_error_indicator=오류
-loading_error=PDF를 불러오던 중 오류가 발생했습니다.
-invalid_file_error=PDF 파일이 아니거나 깨진 파일입니다.
+loading_error=PDF를 읽는 중 오류가 생겼습니다.
+invalid_file_error=유효하지 않거나 파손된 PDF 파일
missing_file_error=PDF 파일이 없습니다.
# LOCALIZATION NOTE (text_annotation_type): This is used as a tooltip.
-# "{{type}}" will be replaced with an annotation type from a list defined in
+# "{{[type}}" will be replaced with an annotation type from a list defined in
# the PDF spec (32000-1:2008 Table 169 – Annotation types).
# Some common types are e.g.: "Check", "Text", "Comment", "Note"
-text_annotation_type=[{{type}} Annotation]
-request_password=암호로 보호되는 PDF파일입니다:
+text_annotation_type.alt=[{{type}} 주석]
+password_label=이 PDF 파일을 열 수 있는 암호를 입력하십시오.
+password_invalid=잘못된 암호입니다. 다시 시도해 주십시오.
+password_ok=확인
+password_cancel=취소
-printing_not_supported=경고: 이 브라우져는 출력을 완전히는 지원하지 않습니다.
-printing_not_ready=경고: 이 PDF 파일은 완전히 적재되지 않았습니다.
-web_fonts_disabled=웹 폰트 사용이 비활성되었습니다: 내장 PDF 폰트를 사용할 수 없습니다.
-web_colors_disabled=웹 컬러가 비활성되었습니다.
+printing_not_supported=경고: 이 브라우저는 인쇄를 완전히 지원하지 않습니다.
+printing_not_ready=경고: 이 PDF를 인쇄를 할 수 있을 정도로 읽어들이지 못했습니다.
+web_fonts_disabled=웹 폰트가 꺼져있음: 내장된 PDF 글꼴을 쓸 수 없습니다.
+document_colors_disabled=PDF 문서의 색상을 쓰지 못하게 되어 있음: \'웹 페이지 자체 색상 사용 허용\'이 브라우저에서 꺼져 있습니다.
diff --git a/lib/viewers/pdf/locale/ku/viewer.properties b/lib/viewers/pdf/locale/ku/viewer.properties
new file mode 100644
index 0000000..c614fa1
--- /dev/null
+++ b/lib/viewers/pdf/locale/ku/viewer.properties
@@ -0,0 +1,139 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Rûpela berê
+previous_label=Paşve
+next.title=Rûpela pêş
+next_label=Pêş
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Rûpel:
+page_of=/ {{pageCount}}
+
+zoom_out.title=Dûr bike
+zoom_out_label=Dûr bike
+zoom_in.title=Nêzîk bike
+zoom_in_label=Nêzîk bike
+zoom.title=Nêzîk Bike
+presentation_mode.title=Derbasî mûda pêşkêşkariyê bibe
+presentation_mode_label=Moda Pêşkêşkariyê
+open_file.title=Pelî veke
+open_file_label=Veke
+print.title=Çap bike
+print_label=Çap bike
+download.title=Jêbar bike
+download_label=Jêbar bike
+bookmark.title=Xuyakirina niha (kopî yan jî di pencereyeke nû de veke)
+bookmark_label=Xuyakirina niha
+
+# Secondary toolbar and context menu
+tools.title=Amûr
+tools_label=Amûr
+first_page.title=Here rûpela yekemîn
+first_page.label=Here rûpela yekemîn
+first_page_label=Here rûpela yekemîn
+last_page.title=Here rûpela dawîn
+last_page.label=Here rûpela dawîn
+last_page_label=Here rûpela dawîn
+page_rotate_cw.title=Bi aliyê saetê ve bizivirîne
+page_rotate_cw.label=Bi aliyê saetê ve bizivirîne
+page_rotate_cw_label=Bi aliyê saetê ve bizivirîne
+page_rotate_ccw.title=Berevajî aliyê saetê ve bizivirîne
+page_rotate_ccw.label=Berevajî aliyê saetê ve bizivirîne
+page_rotate_ccw_label=Berevajî aliyê saetê ve bizivirîne
+
+
+# Document properties dialog box
+document_properties_title=Sernav:
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Darikê kêlekê veke/bigire
+toggle_sidebar_label=Darikê kêlekê veke/bigire
+outline.title=Şemaya belgeyê nîşan bide
+outline_label=Şemaya belgeyê
+thumbs.title=Wênekokan nîşan bide
+thumbs_label=Wênekok
+findbar.title=Di belgeyê de bibîne
+findbar_label=Bibîne
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Rûpel {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Wênekoka rûpelê {{page}}
+
+# Find panel button title and messages
+find_label=Bibîne:
+find_previous.title=Peyva berê bibîne
+find_previous_label=Paşve
+find_next.title=Peyya pêş bibîne
+find_next_label=Pêşve
+find_highlight=Tevî beloq bike
+find_match_case_label=Ji bo tîpên hûrdek-girdek bihîstyar
+find_reached_top=Gihîşt serê rûpelê, ji dawiya rûpelê bidomîne
+find_reached_bottom=Gihîşt dawiya rûpelê, ji serê rûpelê bidomîne
+find_not_found=Peyv nehat dîtin
+
+# Error panel labels
+error_more_info=Zêdetir agahî
+error_less_info=Zêdetir agahî
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js versiyon {{version}} (avanî: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Peyam: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Komik: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Pel: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Rêzik: {{line}}
+rendering_error=Di vehûrandina rûpelê de çewtî çêbû.
+
+# Predefined zoom values
+page_scale_width=Firehiya rûpelê
+page_scale_fit=Di rûpelê de bicî bike
+page_scale_auto=Xweber nêzîk bike
+page_scale_actual=Mezinahiya rastîn
+
+# Loading indicator messages
+loading_error_indicator=Xeletî
+loading_error=Dema ku PDF dihat barkirin çewtiyek çêbû.
+invalid_file_error=Pelê PDFê nederbasdar yan jî xirabe ye.
+missing_file_error=Pelê PDFê kêm e.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[Nîşaneya {{type}}ê]
+password_label=Ji bo PDFê vekî şîfreyê binivîse.
+password_invalid=Şîfre çewt e. Tika ye dîsa biceribîne.
+password_ok=Temam
+password_cancel=Betal
+
+printing_not_supported=Hişyarî: Çapkirin ji hêla vê gerokê ve bi temamî nayê destekirin.
+printing_not_ready=Hişyarî: PDF bi temamî nehat barkirin û ji bo çapê ne amade ye.
+web_fonts_disabled=Fontên Webê neçalak in: Fontên PDFê yên veşartî nayên bikaranîn.
+document_colors_disabled=Destûr tune ye ku belgeyên PDFê rengên xwe bi kar bînin: Di gerokê de 'destûrê bide rûpelan ku rengên xwe bi kar bînin' nehatiye çalakirin.
diff --git a/lib/viewers/pdf/locale/lg/viewer.properties b/lib/viewers/pdf/locale/lg/viewer.properties
new file mode 100644
index 0000000..5c88487
--- /dev/null
+++ b/lib/viewers/pdf/locale/lg/viewer.properties
@@ -0,0 +1,103 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Omuko Ogubadewo
+next.title=Omuko Oguddako
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Omuko:
+page_of=ku {{pageCount}}
+
+zoom_out.title=Zimbulukusa
+zoom_out_label=Zimbulukusa
+zoom_in.title=Funza Munda
+zoom_in_label=Funza Munda
+zoom.title=Gezzamu
+open_file.title=Bikula Fayiro
+open_file_label=Ggulawo
+print.title=Fulumya
+print_label=Fulumya
+download.title=Tikula
+download_label=Tikula
+bookmark.title=Endabika eriwo (koppa oba gulawo mu diriisa epya)
+bookmark_label=Endabika Eriwo
+
+# Secondary toolbar and context menu
+
+
+# Document properties dialog box
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+outline.title=Laga Ensalo ze Kiwandiko
+outline_label=Ensalo ze Ekiwandiko
+thumbs.title=Laga Ekifanyi Mubufunze
+thumbs_label=Ekifanyi Mubufunze
+findbar_label=Zuula
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Omuko {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Ekifananyi kyo Omuko Mubufunze {{page}}
+
+# Find panel button title and messages
+find_previous.title=Zuula awayise mukweddamu mumiteddera
+find_next.title=Zuula ekidako mukweddamu mumiteddera
+find_highlight=Londa byonna
+find_not_found=Emiteddera tezuuliddwa
+
+# Error panel labels
+error_more_info=Ebisingawo
+error_less_info=Mubumpimpi
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Obubaaka: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Ebipangiddwa: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Fayiro {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Layini: {{line}}
+rendering_error=Wabadewo ensobi muku tekawo omuko.
+
+# Predefined zoom values
+page_scale_width=Obugazi bwo Omuko
+page_scale_fit=Okutuka kwo Omuko
+page_scale_auto=Okwefunza no Kwegeza
+page_scale_actual=Obunene Obutufu
+
+# Loading indicator messages
+loading_error_indicator=Ensobi
+loading_error=Wabadewo ensobi mukutika PDF.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} Enyonyola]
+password_ok=OK
+password_cancel=Sazaamu
+
+printing_not_supported=Okulaabula: Okulumya empapula tekuwagirwa enonyeso enno.
diff --git a/lib/viewers/pdf/locale/lij/viewer.properties b/lib/viewers/pdf/locale/lij/viewer.properties
new file mode 100644
index 0000000..dbab0a7
--- /dev/null
+++ b/lib/viewers/pdf/locale/lij/viewer.properties
@@ -0,0 +1,116 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+previous.title = Pàgina precedénte
+previous_label = Precedénte
+next.title = Pàgina dòppo
+next_label = Pròscima
+page_label = Pàgina:
+page_of = de {{pageCount}}
+zoom_out.title = Diminoìsci zoom
+zoom_out_label = Diminoìsci zoom
+zoom_in.title = Aoménta zoom
+zoom_in_label = Aoménta zoom
+zoom.title = Zoom
+print.title = Stànpa
+print_label = Stànpa
+open_file.title = Àrvi file
+open_file_label = Àrvi
+download.title = Descaregaménto
+download_label = Descaregaménto
+bookmark.title = Vixón corénte (còpia ò àrvi inte 'n nêuvo barcón)
+bookmark_label = Vixón corénte
+outline.title = Véddi strutûa documénto
+outline_label = Strutûa documénto
+thumbs.title = Móstra miniatûe
+thumbs_label = Miniatûe
+thumb_page_title = Pàgina {{page}}
+thumb_page_canvas = Miniatûa da pàgina {{page}}
+error_more_info = Ciù informaçioìn
+error_less_info = Mêno informaçioìn
+error_version_info = PDF.js v{{version}} (build: {{build}})
+error_close = Særa
+missing_file_error = O file PDF o no gh'é.
+toggle_sidebar.title = Atîva/dizatîva bâra de sciànco
+toggle_sidebar_label = Atîva/dizatîva bâra de sciànco
+error_message = Mesàggio: {{message}}
+error_stack = Stack: {{stack}}
+error_file = File: {{file}}
+error_line = Lìnia: {{line}}
+rendering_error = Gh'é stæto 'n'erô itno rendering da pàgina.
+page_scale_width = Larghéssa pàgina
+page_scale_fit = Adàtta a una pàgina
+page_scale_auto = Zoom aotomàtico
+page_scale_actual = Dimenscioìn efetîve
+loading_error_indicator = Erô
+loading_error = S'é verificòu 'n'erô itno caregaménto do PDF.
+printing_not_supported = Atençión: a stànpa a no l'é conpletaménte soportâ da sto navegatô.
+
+# Context menu
+page_rotate_cw.label=Gîa in sénso do reléuio
+page_rotate_ccw.label=Gîa in sénso do reléuio a-a revèrsa
+
+presentation_mode.title=Vànni into mòddo de prezentaçión
+presentation_mode_label=Mòddo de prezentaçión
+
+find_label = Trêuva:
+find_previous.title = Trêuva a ripetiçión precedénte do tèsto da çercâ
+find_previous_label = Precedénte
+find_next.title = Trêuva a ripetiçión dòppo do tèsto da çercâ
+find_next_label = Segoénte
+find_highlight = Evidénçia
+find_match_case_label = Maióscole/minóscole
+find_reached_bottom = Razónto l'inìçio da pàgina, contìnoa da-a fìn
+find_reached_top = Razónto a fìn da pàgina, contìnoa da l'inìçio
+find_not_found = Tèsto no trovòu
+findbar.title = Trêuva into documénto
+findbar_label = Trêuva
+first_page.label = Vànni a-a prìmma pàgina
+last_page.label = Vànni a l'ùrtima pàgina
+invalid_file_error = O file PDF o l'é no vàlido ò aroinòu.
+
+web_fonts_disabled = I font do web én dizativæ: inposcìbile adêuviâ i caràteri do PDF.
+printing_not_ready = Atençión: o PDF o no l'é ancón caregòu conpletaménte pe-a stànpa.
+
+document_colors_disabled = No l'é poscìbile adêuviâ i pròpi coî pe-i documénti PDF: l'opçión do navegatô 'Permètti a-e pàgine de çèrne i pròpi coî in càngio de quélli inpostæ' a l'é dizativâ.
+text_annotation_type.alt = [Anotaçión: {{type}}]
+
+first_page.title = Vànni a-a prìmma pàgina
+first_page_label = Vànni a-a prìmma pàgina
+last_page.title = Vànni a l'ùrtima pàgina
+last_page_label = Vànni a l'ùrtima pàgina
+page_rotate_ccw.title = Gîa into vèrso antiorâio
+page_rotate_ccw_label = Gîa into vèrso antiorâio
+page_rotate_cw.title = Gîa into vèrso orâio
+page_rotate_cw_label = Gîa into vèrso orâio
+tools.title = Struménti
+tools_label = Struménti
+password_label = Dìmme a paròlla segrêta pe arvî sto file PDF.
+password_invalid = Paròlla segrêta sbaliâ. Prêuva tórna.
+password_ok = Va bén
+password_cancel = Anùlla
+
+document_properties.title = Propietæ do documénto…
+document_properties_label = Propietæ do documénto…
+document_properties_file_name = Nómme file:
+document_properties_file_size = Dimensción file:
+document_properties_kb = {{size_kb}} kB ({{size_b}} byte)
+document_properties_mb = {{size_kb}} MB ({{size_b}} byte)
+document_properties_title = Tìtolo:
+document_properties_author = Aotô:
+document_properties_subject = Ogétto:
+document_properties_keywords = Paròlle ciâve:
+document_properties_creation_date = Dæta creaçión:
+document_properties_modification_date = Dæta cangiaménto:
+document_properties_date_string = {{date}}, {{time}}
+document_properties_creator = Aotô originâle:
+document_properties_producer = Produtô PDF:
+document_properties_version = Versción PDF:
+document_properties_page_count = Contézzo pàgine:
+document_properties_close = Særa
+
+hand_tool_enable.title = Atîva struménto màn
+hand_tool_enable_label = Atîva struménto màn
+hand_tool_disable.title = Dizatîva struménto màn
+hand_tool_disable_label = Dizatîva struménto màn
diff --git a/lib/viewers/pdf/locale/locale.properties b/lib/viewers/pdf/locale/locale.properties
index 1e50dab..9aded1b 100644
--- a/lib/viewers/pdf/locale/locale.properties
+++ b/lib/viewers/pdf/locale/locale.properties
@@ -1,23 +1,101 @@
+[ach]
+@import url(ach/viewer.properties)
+
+[af]
+@import url(af/viewer.properties)
+
+[ak]
+@import url(ak/viewer.properties)
+
+[an]
+@import url(an/viewer.properties)
+
[ar]
@import url(ar/viewer.properties)
+[as]
+@import url(as/viewer.properties)
+
+[ast]
+@import url(ast/viewer.properties)
+
+[az]
+@import url(az/viewer.properties)
+
+[be]
+@import url(be/viewer.properties)
+
+[bg]
+@import url(bg/viewer.properties)
+
+[bn-BD]
+@import url(bn-BD/viewer.properties)
+
+[bn-IN]
+@import url(bn-IN/viewer.properties)
+
+[br]
+@import url(br/viewer.properties)
+
+[bs]
+@import url(bs/viewer.properties)
+
[ca]
@import url(ca/viewer.properties)
[cs]
@import url(cs/viewer.properties)
+[csb]
+@import url(csb/viewer.properties)
+
+[cy]
+@import url(cy/viewer.properties)
+
[da]
@import url(da/viewer.properties)
[de]
@import url(de/viewer.properties)
+[el]
+@import url(el/viewer.properties)
+
+[en-GB]
+@import url(en-GB/viewer.properties)
+
[en-US]
@import url(en-US/viewer.properties)
-[es]
-@import url(es/viewer.properties)
+[en-ZA]
+@import url(en-ZA/viewer.properties)
+
+[eo]
+@import url(eo/viewer.properties)
+
+[es-AR]
+@import url(es-AR/viewer.properties)
+
+[es-CL]
+@import url(es-CL/viewer.properties)
+
+[es-ES]
+@import url(es-ES/viewer.properties)
+
+[es-MX]
+@import url(es-MX/viewer.properties)
+
+[et]
+@import url(et/viewer.properties)
+
+[eu]
+@import url(eu/viewer.properties)
+
+[fa]
+@import url(fa/viewer.properties)
+
+[ff]
+@import url(ff/viewer.properties)
[fi]
@import url(fi/viewer.properties)
@@ -25,35 +103,203 @@
[fr]
@import url(fr/viewer.properties)
+[fy-NL]
+@import url(fy-NL/viewer.properties)
+
+[ga-IE]
+@import url(ga-IE/viewer.properties)
+
+[gd]
+@import url(gd/viewer.properties)
+
+[gl]
+@import url(gl/viewer.properties)
+
+[gu-IN]
+@import url(gu-IN/viewer.properties)
+
[he]
@import url(he/viewer.properties)
+[hi-IN]
+@import url(hi-IN/viewer.properties)
+
+[hr]
+@import url(hr/viewer.properties)
+
+[hu]
+@import url(hu/viewer.properties)
+
+[hy-AM]
+@import url(hy-AM/viewer.properties)
+
+[id]
+@import url(id/viewer.properties)
+
+[is]
+@import url(is/viewer.properties)
+
[it]
@import url(it/viewer.properties)
[ja]
@import url(ja/viewer.properties)
+[ka]
+@import url(ka/viewer.properties)
+
+[kk]
+@import url(kk/viewer.properties)
+
+[km]
+@import url(km/viewer.properties)
+
+[kn]
+@import url(kn/viewer.properties)
+
+[ko]
+@import url(ko/viewer.properties)
+
+[ku]
+@import url(ku/viewer.properties)
+
+[lg]
+@import url(lg/viewer.properties)
+
+[lij]
+@import url(lij/viewer.properties)
+
+[lt]
+@import url(lt/viewer.properties)
+
+[lv]
+@import url(lv/viewer.properties)
+
+[mai]
+@import url(mai/viewer.properties)
+
+[mk]
+@import url(mk/viewer.properties)
+
+[ml]
+@import url(ml/viewer.properties)
+
+[mn]
+@import url(mn/viewer.properties)
+
+[mr]
+@import url(mr/viewer.properties)
+
+[ms]
+@import url(ms/viewer.properties)
+
+[my]
+@import url(my/viewer.properties)
+
+[nb-NO]
+@import url(nb-NO/viewer.properties)
+
[nl]
@import url(nl/viewer.properties)
+[nn-NO]
+@import url(nn-NO/viewer.properties)
+
+[nso]
+@import url(nso/viewer.properties)
+
+[oc]
+@import url(oc/viewer.properties)
+
+[or]
+@import url(or/viewer.properties)
+
+[pa-IN]
+@import url(pa-IN/viewer.properties)
+
[pl]
@import url(pl/viewer.properties)
[pt-BR]
@import url(pt-BR/viewer.properties)
+[pt-PT]
+@import url(pt-PT/viewer.properties)
+
+[rm]
+@import url(rm/viewer.properties)
+
[ro]
@import url(ro/viewer.properties)
[ru]
@import url(ru/viewer.properties)
+[rw]
+@import url(rw/viewer.properties)
+
+[sah]
+@import url(sah/viewer.properties)
+
+[si]
+@import url(si/viewer.properties)
+
+[sk]
+@import url(sk/viewer.properties)
+
+[sl]
+@import url(sl/viewer.properties)
+
+[son]
+@import url(son/viewer.properties)
+
+[sq]
+@import url(sq/viewer.properties)
+
[sr]
@import url(sr/viewer.properties)
-[sv]
-@import url(sv/viewer.properties)
+[sv-SE]
+@import url(sv-SE/viewer.properties)
+
+[sw]
+@import url(sw/viewer.properties)
+
+[ta]
+@import url(ta/viewer.properties)
+
+[ta-LK]
+@import url(ta-LK/viewer.properties)
+
+[te]
+@import url(te/viewer.properties)
+
+[th]
+@import url(th/viewer.properties)
+
+[tl]
+@import url(tl/viewer.properties)
+
+[tn]
+@import url(tn/viewer.properties)
+
+[tr]
+@import url(tr/viewer.properties)
+
+[uk]
+@import url(uk/viewer.properties)
+
+[ur]
+@import url(ur/viewer.properties)
+
+[vi]
+@import url(vi/viewer.properties)
+
+[wo]
+@import url(wo/viewer.properties)
+
+[xh]
+@import url(xh/viewer.properties)
[zh-CN]
@import url(zh-CN/viewer.properties)
@@ -61,3 +307,6 @@
[zh-TW]
@import url(zh-TW/viewer.properties)
+[zu]
+@import url(zu/viewer.properties)
+
diff --git a/lib/viewers/pdf/locale/lt/chrome.properties b/lib/viewers/pdf/locale/lt/chrome.properties
deleted file mode 100644
index 228012b..0000000
--- a/lib/viewers/pdf/locale/lt/chrome.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-# Copyright 2012 Mozilla Foundation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Chrome notification bar messages and buttons
-unsupported_feature=PDF dokumentas gali būti atvaizduojamas neteisingai.
-open_with_different_viewer=Atidaryti su kita programa
-open_with_different_viewer.accessKey=o
diff --git a/lib/viewers/pdf/locale/lt/metadata.inc b/lib/viewers/pdf/locale/lt/metadata.inc
deleted file mode 100644
index e084157..0000000
--- a/lib/viewers/pdf/locale/lt/metadata.inc
+++ /dev/null
@@ -1,8 +0,0 @@
- <em:localized>
- <Description>
- <em:locale>lt</em:locale>
- <em:name>PDF peržiūros programa</em:name>
- <em:description>PDF bylos vaizduojamos tiesiogiai, naudojant HTML5 Firefox naršyklėje.</em:description>
- </Description>
- </em:localized>
-
diff --git a/lib/viewers/pdf/locale/lt/viewer.properties b/lib/viewers/pdf/locale/lt/viewer.properties
index 2ad6406..fefb159 100644
--- a/lib/viewers/pdf/locale/lt/viewer.properties
+++ b/lib/viewers/pdf/locale/lt/viewer.properties
@@ -15,8 +15,8 @@
# Main toolbar buttons (tooltips and alt text for images)
previous.title=Ankstesnis puslapis
previous_label=Ankstesnis
-next.title=Sekantis puslapis
-next_label=Sekantis
+next.title=Kitas puslapis
+next_label=Kitas
# LOCALIZATION NOTE (page_label, page_of):
# These strings are concatenated to form the "Page: X of Y" string.
@@ -25,97 +25,137 @@ next_label=Sekantis
page_label=Puslapis:
page_of=iš {{pageCount}}
-zoom_out.title=Mažinti
-zoom_out_label=Mažinti
-zoom_in.title=Didinti
-zoom_in_label=Didinti
+zoom_out.title=Sumažinti
+zoom_out_label=Sumažinti
+zoom_in.title=Padidinti
+zoom_in_label=Padidinti
zoom.title=Mastelis
print.title=Spausdinti
print_label=Spausdinti
-presentation_mode.title=Įjungti pateikimo būseną
-presentation_mode_label=Pateikimo būsena
-open_file.title=Atverti bylą
+presentation_mode.title=Pereiti į pateikties veikseną
+presentation_mode_label=Pateikties veiksena
+open_file.title=Atverti failą
open_file_label=Atverti
-download.title=Atsiųsti
-download_label=Atsiųsti
-bookmark.title=Dabartinis rodymas (kopijuoti arba atidaryti naudojame lange)
-bookmark_label=Dabartinis rodymas
+download.title=Parsiųsti
+download_label=Parsiųsti
+bookmark.title=Esamojo rodinio saitas (kopijavimui ar atvėrimui kitame lange)
+bookmark_label=Esamasis rodinys
+
+# Secondary toolbar and context menu
+tools.title=Priemonės
+tools_label=Priemonės
+first_page.title=Eiti į pirmą puslapį
+first_page.label=Eiti į pirmą puslapį
+first_page_label=Eiti į pirmą puslapį
+last_page.title=Eiti į paskutinį puslapį
+last_page.label=Eiti į paskutinį puslapį
+last_page_label=Eiti į paskutinį puslapį
+page_rotate_cw.title=Pasukti pagal laikrodžio rodyklę
+page_rotate_cw.label=Pasukti pagal laikrodžio rodyklę
+page_rotate_cw_label=Pasukti pagal laikrodžio rodyklę
+page_rotate_ccw.title=Pasukti prieš laikrodžio rodyklę
+page_rotate_ccw.label=Pasukti prieš laikrodžio rodyklę
+page_rotate_ccw_label=Pasukti prieš laikrodžio rodyklę
+
+hand_tool_enable.title=Įgalinti vilkimo veikseną
+hand_tool_enable_label=Įgalinti vilkimo veikseną
+hand_tool_disable.title=Išjungti vilkimo veikseną
+hand_tool_disable_label=Išjungti vilkimo veikseną
+
+# Document properties dialog box
+document_properties.title=Dokumento savybės…
+document_properties_label=Dokumento savybės…
+document_properties_file_name=Failo vardas:
+document_properties_file_size=Failo dydis:
+document_properties_kb={{size_kb}} KB ({{size_b}} B)
+document_properties_mb={{size_mb}} MB ({{size_b}} B)
+document_properties_title=Antraštė:
+document_properties_author=Autorius:
+document_properties_subject=Tema:
+document_properties_keywords=Reikšminiai žodžiai:
+document_properties_creation_date=Sukūrimo data:
+document_properties_modification_date=Modifikavimo data:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Kūrėjas:
+document_properties_producer=PDF generatorius:
+document_properties_version=PDF versija:
+document_properties_page_count=Puslapių skaičius:
+document_properties_close=Užverti
# Tooltips and alt text for side panel toolbar buttons
# (the _label strings are alt text for the buttons, the .title strings are
# tooltips)
-toggle_sidebar.title=Perjungti šoninę juostą
-toggle_sidebar_label=Perjungti šoninę juostą
-outline.title=Rodyti dokumento turinį
-outline_label=Dokumento turinys
-thumbs.title=Rodyti miniatiūras
+toggle_sidebar.title=Rodyti / slėpti šoninį polangį
+toggle_sidebar_label=Šoninis polangis
+outline.title=Rodyti dokumento metmenis
+outline_label=Dokumento metmenys
+thumbs.title=Rodyti puslapių miniatiūras
thumbs_label=Miniatiūros
-findbar.title=Paieška dokumente
-findbar_label=Paieška
+findbar.title=Ieškoti dokumente
+findbar_label=Ieškoti
# Thumbnails panel item (tooltip and alt text for images)
# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
# number.
-thumb_page_title=Puslapis {{page}}
+thumb_page_title={{page}} puslapis
# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
# number.
-thumb_page_canvas=Miniatūra iš {{page}} puslapio
-
-# Context menu
-first_page.label=Nukreipimas į pirmą puslapį
-last_page.label=Nukreipimas į paskutinį puslapį
-page_rotate_cw.label=Sukimas pagal laikrodžio rodyklę
-page_rotate_ccw.label=Sukimas prieš laikrodžio rodyklę
+thumb_page_canvas={{page}} puslapio miniatiūra
# Find panel button title and messages
-find_label=Paieška:
-find_previous.title=Ankstesnis paieškos atitikmuo
+find_label=Ieškoti:
+find_previous.title=Ieškoti ankstesnio frazės egzemplioriaus
find_previous_label=Ankstesnis
-find_next.title=Sekantis paieškos atitikmuo
-find_next_label=Sekantis
-find_highlight=Pažymėti visus
+find_next.title=Ieškoti tolesnio frazės egzemplioriaus
+find_next_label=Tolesnis
+find_highlight=Viską paryškinti
find_match_case_label=Skirti didžiąsias ir mažąsias raides
-find_reached_top=Pasiektas dokumento viršus, pradėti nuo apačios
-find_reached_bottom=Pasiekta dokumento apačia, pradėti nuo viršaus
-find_not_found=Paieškos rezultatų nėra
+find_reached_top=Pasiekus dokumento pradžią, paieška pratęsta nuo pabaigos
+find_reached_bottom=Pasiekus dokumento pabaigą, paieška pratęsta nuo pradžios
+find_not_found=Ieškoma frazė nerasta
# Error panel labels
-error_more_info=Daugiau informacijos
-error_less_info=Mažiau informacijos
-error_close=Uždaryti
+error_more_info=Išsamiau
+error_less_info=Glausčiau
+error_close=Užverti
# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
# replaced by the PDF.JS version and build ID.
-error_version_info=PDF.js v{{version}} (build: {{build}})
+error_version_info=PDF.js v. {{version}} (darinys: {{build}})
# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
# english string describing the error.
-error_message=Žinutė: {{message}}
+error_message=Pranešimas: {{message}}
# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
# trace.
error_stack=Dėklas: {{stack}}
# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
-error_file=Byla: {{file}}
+error_file=Failas: {{file}}
# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
error_line=Eilutė: {{line}}
-rendering_error=Įvyko klaida atvaizduojant puslapį.
+rendering_error=Atvaizduojant puslapį, įvyko klaida.
# Predefined zoom values
-page_scale_width=Puslapio plotis
-page_scale_fit=Puslapio priderinimas
+page_scale_width=Priderinti prie lapo pločio
+page_scale_fit=Pritaikyti prie lapo dydžio
page_scale_auto=Automatinis mastelis
-page_scale_actual=Numatytas dydis
+page_scale_actual=Tikras dydis
# Loading indicator messages
loading_error_indicator=Klaida
-loading_error=PDF bylos įkelimo metu įvyko klaida.
-invalid_file_error=Neteisinga arba pažeista PDF byla.
-missing_file_error=Trūksta PDF bylos.
+loading_error=Įkeliant PDF failą, įvyko klaida.
+invalid_file_error=Tai nėra PDF failas arba jis yra sugadintas.
+missing_file_error=PDF failas nerastas.
-# LOCALIZATION NOTE (text_annotation_type): This is used as a tooltip.
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
# "{{type}}" will be replaced with an annotation type from a list defined in
# the PDF spec (32000-1:2008 Table 169 – Annotation types).
# Some common types are e.g.: "Check", "Text", "Comment", "Note"
-text_annotation_type=[{{type}} Pastaba]
-request_password=PDF byla yra apsaugota slaptažodžiu:
+text_annotation_type.alt=[„{{type}}“ tipo anotacija]
+password_label=Įveskite slaptažodį šiam PDF failui atverti.
+password_invalid=Slaptažodis neteisingas. Bandykite dar kartą.
+password_ok=Gerai
+password_cancel=Atsisakyti
-printing_not_supported=Dėmesio: Naršyklė pilnai nepalaiko spausdinimo.
-web_fonts_disabled=Yra išjungti žiniatinklio šriftai: naudoti įterpus PDF šriftus nėra galima.
+printing_not_supported=Dėmesio! Spausdinimas šioje naršyklėje nėra pilnai realizuotas.
+printing_not_ready=Dėmesio! PDF failas dar nėra pilnai įkeltas spausdinimui.
+web_fonts_disabled=Neįgalinti saityno šriftai – šiame PDF faile esančių šriftų naudoti negalima.
+document_colors_disabled=PDF dokumentams neleidžiama nurodyti savo spalvų, nes išjungta naršyklės nuostata „Leisti tinklalapiams nurodyti spalvas“.
diff --git a/lib/viewers/pdf/locale/lv/viewer.properties b/lib/viewers/pdf/locale/lv/viewer.properties
new file mode 100644
index 0000000..f46f136
--- /dev/null
+++ b/lib/viewers/pdf/locale/lv/viewer.properties
@@ -0,0 +1,160 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Iepriekšējā lapa
+previous_label=Iepriekšējā
+next.title=Nākamā lapa
+next_label=Nākamā
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Lapa:
+page_of=no {{pageCount}}
+
+zoom_out.title=Attālināt
+zoom_out_label=Attālināt
+zoom_in.title=Pietuvināt
+zoom_in_label=Pietuvināt
+zoom.title=Palielinājums
+print.title=Drukāšana
+print_label=Drukāt
+presentation_mode.title=Pārslēgties uz Prezentācijas režīmu
+presentation_mode_label=Prezentācijas režīms
+open_file.title=Atvērt failu
+open_file_label=Atvērt
+download.title=Lejupielāde
+download_label=Lejupielādēt
+bookmark.title=Pašreizējais skats (kopēt vai atvērt jaunā logā)
+bookmark_label=Pašreizējais skats
+findbar.title=Meklēt dokumentā
+findbar_label=Meklēt
+attachments.title=Rādīt pielikumus
+attachments_label=Pielikumi
+
+
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Pārslēgt sānu joslu
+toggle_sidebar_label=Pārslēgt sānu joslu
+outline.title=Parādīt dokumenta saturu
+outline_label=Dokumenta saturs
+thumbs.title=Parādīt sīktēlus
+thumbs_label=Sīktēli
+
+# Find panel button title and messages
+find_label=Meklēt:
+find_previous.title=Atrast iepriekšējo
+find_previous_label=Iepriekšējā
+find_next.title=Atrast nākamo
+find_next_label=Nākamā
+find_highlight=Iekrāsot visas
+find_match_case_label=Lielo, mazo burtu jutīgs
+find_reached_top=Sasniegts dokumenta sākums, turpinām no beigām
+find_reached_bottom=Sasniegtas dokumenta beigas, turpinām no sākuma
+find_not_found=Frāze nav atrasta
+first_page.title=Iet uz pirmo lapu
+first_page.label=Iet uz pirmo lapu
+first_page_label=Iet uz pirmo lapu
+last_page.title=Iet uz pēdējo lapu
+last_page.label=Iet uz pēdējo lapu
+last_page_label=Iet uz pēdējo lapu
+tools.title=Rīki
+tools_label=Rīki
+page_rotate_cw.title=Pagriezt pa pulksteni
+page_rotate_cw.label=Pagriezt pa pulksteni
+page_rotate_cw_label=Pagriezt pa pulksteni
+page_rotate_ccw.title=Pagriezt pret pulksteni
+page_rotate_ccw.label=Pagriezt pret pulksteni
+page_rotate_ccw_label=Pagriezt pret pulksteni
+
+# Document properties dialog box
+document_properties.title=Dokumenta iestatījumi…
+document_properties_label=Dokumenta iestatījumi…
+document_properties_file_name=Faila nosaukums:
+document_properties_file_size=Faila izmērs:
+document_properties_kb={{size_kb}} KB ({{size_b}} biti)
+document_properties_mb={{size_mb}} MB ({{size_b}} biti)
+document_properties_title=Nosaukums:
+document_properties_author=Autors:
+document_properties_subject=Tēma:
+document_properties_keywords=Atslēgas vārdi:
+document_properties_creation_date=Izveides datums:
+document_properties_modification_date=LAbošanas datums:
+document_properties_date_string={{date}}, {{time}}
+document_properties_creator=Radītājs:
+document_properties_producer=PDF producents:
+document_properties_version=PDF versija:
+document_properties_page_count=Lapu skaits:
+document_properties_close=Aizvērt
+
+hand_tool_enable.title=Aktivēt rokas rīku
+hand_tool_enable_label=Aktivēt rokas rīku
+hand_tool_disable.title=Deaktivēt rokas rīku
+hand_tool_disable_label=Deaktivēt rokas rīku
+
+invalid_file_error=Nederīgs vai bojāts PDF fails.
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Lapa {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Lapas {{page}} sīktēls
+
+# Error panel labels
+error_more_info=Vairāk informācijas
+error_less_info=MAzāk informācijas
+error_close=Close
+
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Ziņojums: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Steks: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=File: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Rindiņa: {{line}}
+rendering_error=Attēlojot lapu radās kļūda
+missing_file_error=PDF fails nav atrasts.
+
+# Predefined zoom values
+page_scale_width=Lapas platumā
+page_scale_fit=Ietilpinot lapu
+page_scale_auto=Automātiskais izmērs
+page_scale_actual=Patiesais izmērs
+
+# Loading indicator messages
+# LOCALIZATION NOTE (error_line): "{{[percent}}" will be replaced with a percentage
+loading_error_indicator=Kļūda
+loading_error=Ielādējot PDF notika kļūda.
+
+# LOCALIZATION NOTE (text_annotation_type): This is used as a tooltip.
+# "{{[type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} anotācija]
+
+text_annotation_type.alt=[{{type}} Anotācija]
+password_label=Ievadiet paroli, lai atvērtu PDF failu.
+password_invalid=Nepareiza parole, mēģiniet vēlreiz.
+password_ok=Labi
+password_cancel=Atcelt
+
+
+printing_not_supported=Uzmanību: Drukāšana no šī pārlūka darbojas tikai daļēji.
+web_fonts_disabled=Tīmekļa fonti nav aktivizēti: Nevar iegult PDF fontus.
+printing_not_ready=Uzmanību: PDF nav pilnībā ielādēts drukāšanai.
+document_colors_disabled=PDF dokumentiem nav atļauts izmantot pašiem savas krāsas: \'Atļaut lapām izvēlēties pašām savas krāsas\' ir deaktivēts pārlūkā.
+
diff --git a/lib/viewers/pdf/locale/mai/viewer.properties b/lib/viewers/pdf/locale/mai/viewer.properties
new file mode 100644
index 0000000..05d6c20
--- /dev/null
+++ b/lib/viewers/pdf/locale/mai/viewer.properties
@@ -0,0 +1,121 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=पछिला पृष्ठ
+previous_label=पछिला
+next.title=अगिला पृष्ठ
+next_label=आगाँ
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=पृष्ठ:
+page_of={{pageCount}} क
+
+zoom_out.title=छोट करू
+zoom_out_label=छोट करू
+zoom_in.title=पैघ करू
+zoom_in_label=जूम इन
+zoom.title=छोट-पैघ करू
+presentation_mode.title=प्रस्तुति अवस्थामे जाउ
+presentation_mode_label=प्रस्तुति अवस्था
+open_file.title=फाइल खोलू
+open_file_label=खोलू
+print.title=छापू
+print_label=छापू
+download.title=डाउनलोड
+download_label=डाउनलोड
+bookmark.title=मोजुदा दृश्य (नव विंडोमे नकल लिअ अथवा खोलू)
+bookmark_label=वर्तमान दृश्य
+
+# Secondary toolbar and context menu
+
+
+# Document properties dialog box
+document_properties_title=शीर्षक:
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=स्लाइडर टागल
+toggle_sidebar_label=स्लाइडर टागल
+outline.title=दस्तावेज आउटलाइन देखाउ
+outline_label=दस्तावेज खाका
+thumbs.title=लघु-छवि देखाउ
+thumbs_label=लघु छवि
+findbar.title=दस्तावेजमे ढूँढू
+findbar_label=ताकू
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=पृष्ठ {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=पृष्ठ {{page}} का लघु-चित्र
+
+# Find panel button title and messages
+find_label=ताकू:
+find_previous.title=खोजक पछिला उपस्थिति ताकू
+find_previous_label=पछिला
+find_next.title=खोजक अगिला उपस्थिति ताकू
+find_next_label=आगाँ
+find_highlight=सभटा आलोकित करू
+find_match_case_label=मिलान स्थिति
+find_reached_top=पृष्ठक शीर्ष जाए पहुँचल, तल सँ जारी
+find_reached_bottom=पृष्ठक तल मे जाए पहुँचल, शीर्ष सँ जारी
+find_not_found=वाकींश नहि भेटल
+
+# Error panel labels
+error_more_info=बेसी सूचना
+error_less_info=कम सूचना
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=संदेश: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=स्टैक: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=फ़ाइल: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=पंक्ति: {{line}}
+rendering_error=पृष्ठ रेंडरिंगक समय त्रुटि आएल.
+
+# Predefined zoom values
+page_scale_width=पृष्ठ चओड़ाइ
+page_scale_fit=पृष्ठ फिट
+page_scale_auto=स्वचालित जूम
+page_scale_actual=सही आकार
+
+# Loading indicator messages
+loading_error_indicator=त्रुटि
+loading_error=पीडीएफ लोड करैत समय एकटा त्रुटि भेल.
+invalid_file_error=अमान्य अथवा भ्रष्ट PDF फाइल.
+missing_file_error=अनुपस्थित PDF फाइल.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} Annotation]
+password_cancel=रद्द करू
+
+printing_not_supported=चेतावनी: ई ब्राउजर पर छपाइ पूर्ण तरह सँ समर्थित नहि अछि.
+printing_not_ready=चेतावनी: पीडीएफ छपाइक लेल पूर्ण तरह सँ लोड नहि अछि.
+web_fonts_disabled=वेब फॉन्ट्स निष्क्रिय अछि: अंतःस्थापित PDF फान्टसक उपयोगमे असमर्थ.
diff --git a/lib/viewers/pdf/locale/mk/viewer.properties b/lib/viewers/pdf/locale/mk/viewer.properties
new file mode 100644
index 0000000..18ded89
--- /dev/null
+++ b/lib/viewers/pdf/locale/mk/viewer.properties
@@ -0,0 +1,126 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=Претходна страница
+previous_label=Претходна
+next.title=Следна страница
+next_label=Следна
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=Страница:
+page_of=од {{pageCount}}
+
+zoom_out.title=Намалување
+zoom_out_label=Намали
+zoom_in.title=Зголемување
+zoom_in_label=Зголеми
+zoom.title=Променување на големина
+print.title=Печатење
+print_label=Печати
+open_file.title=Отварање датотека
+open_file_label=Отвори
+download.title=Преземање
+download_label=Преземи
+bookmark.title=Овој преглед (копирај или отвори во нов прозорец)
+bookmark_label=Овој преглед
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_slider.title=Вклучување на лизгач
+toggle_slider_label=Вклучи лизгач
+outline.title=Прикажување на содржина на документот
+outline_label=Содржина на документот
+thumbs.title=Прикажување на икони
+thumbs_label=Икони
+
+# Document outline messages
+no_outline=Нема содржина
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=Страница {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas=Икона од страница {{page}}
+
+# Error panel labels
+error_more_info=Повеќе информации
+error_less_info=Помалку информации
+error_close=Затвори
+# LOCALIZATION NOTE (error_build): "{{build}}" will be replaced by the PDF.JS
+# build ID.
+error_build=PDF.JS Build: {{build}}
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=Порака: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=Stack: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=Датотека: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=Линија: {{line}}
+rendering_error=Настана грешка при прикажувањето на страницата.
+
+# Predefined zoom values
+page_scale_width=Ширина на страница
+page_scale_fit=Цела страница
+page_scale_auto=Автоматска големина
+page_scale_actual=Вистинска големина
+
+loading_error_indicator=Грешка
+loading_error=Настана грешка при вчитувањето на PDF-от.
+
+# LOCALIZATION NOTE (text_annotation_type): This is used as a tooltip.
+# "{{[type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type=[{{type}} Забелешка]
+request_password=PDF-от е заштитен со лозинка:
+
+
+printing_not_supported=Предупредување: Печатењето не е целосно поддржано во овој прелистувач.
+
+find_highlight=Означи сѐ
+
+# Find panel button title and messages
+find_label=Најди:
+find_match_case_label=Токму така
+find_next.title=Најди ја следната појава на фразата
+find_next_label=Следно
+find_not_found=Фразата не е пронајдена
+find_previous.title=Најди ја предходната појава на фразата
+find_previous_label=Претходно
+find_reached_bottom=Барањето стигна до крајот на документот и почнува од почеток
+find_reached_top=Барањето стигна до почетокот на документот и почнува од крајот
+findbar.title=Најди во документот
+findbar_label=Најди
+
+# Context menu
+first_page.label=Оди до првата страница
+invalid_file_error=Невалидна или корумпирана PDF датотека.
+last_page.label=Оди до последната страница
+page_rotate_ccw.label=Ротирај спротивно од стрелките на часовникот
+page_rotate_cw.label=Ротирај по стрелките на часовникот
+presentation_mode.title=Премини во презентациски режим
+presentation_mode_label=Презентациски режим
+
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+missing_file_error=Недостасува PDF документ.
+printing_not_ready=Предупредување: PDF документот не е целосно вчитан за печатење.
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=Вклучи странична лента
+toggle_sidebar_label=Вклучи странична лента
+web_fonts_disabled=Интернет фонтовите се оневозможени: не може да се користат вградените PDF фонтови.
diff --git a/lib/viewers/pdf/locale/ml/viewer.properties b/lib/viewers/pdf/locale/ml/viewer.properties
new file mode 100644
index 0000000..b92a8e2
--- /dev/null
+++ b/lib/viewers/pdf/locale/ml/viewer.properties
@@ -0,0 +1,139 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+previous.title=മുമ്പുള്ള താള്‍
+previous_label=മുമ്പു്
+next.title=അടുത്ത താള്‍
+next_label=അടുത്തതു്
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+page_label=താള്‍:
+page_of={{pageCount}}
+
+zoom_out.title=ചെറുതാക്കുക
+zoom_out_label=ചെറുതാക്കുക
+zoom_in.title=വലുതാക്കുക
+zoom_in_label=വലുതാക്കുക
+zoom.title=വ്യാപ്തി മാറ്റുക
+presentation_mode.title=പ്രസന്റേഷന്‍ രീതിയിലേക്കു് മാറ്റുക
+presentation_mode_label=പ്രസന്റേഷന്‍ രീതി
+open_file.title=ഫയല്‍ തുറക്കുക
+open_file_label=തുറക്കുക
+print.title=പ്രിന്റ് ചെയ്യുക
+print_label=പ്രിന്റ് ചെയ്യുക
+download.title=ഡൌണ്‍ലോഡ് ചെയ്യുക
+download_label=ഡൌണ്‍ലോഡ് ചെയ്യുക
+bookmark.title=നിലവിലുള്ള കാഴ്ച (പുതിയ ജാലകത്തില്‍ പകര്‍ത്തുക അല്ലെങ്കില്‍ തുറക്കുക)
+bookmark_label=നിലവിലുള്ള കാഴ്ച
+
+# Secondary toolbar and context menu
+tools.title=ഉപകരണങ്ങള്‍
+tools_label=ഉപകരണങ്ങള്‍
+first_page.title=ആദ്യത്തെ താളിലേയ്ക്കു് പോകുക
+first_page.label=ആദ്യത്തെ താളിലേയ്ക്കു് പോകുക
+first_page_label=ആദ്യത്തെ താളിലേയ്ക്കു് പോകുക
+last_page.title=അവസാന താളിലേയ്ക്കു് പോകുക
+last_page.label=അവസാന താളിലേയ്ക്കു് പോകുക
+last_page_label=അവസാന താളിലേയ്ക്കു് പോകുക
+page_rotate_cw.title=ഘടികാരദിശയില്‍ കറക്കുക
+page_rotate_cw.label=ഘടികാരദിശയില്‍ കറക്കുക
+page_rotate_cw_label=ഘടികാരദിശയില്‍ കറക്കുക
+page_rotate_ccw.title=ഘടികാര ദിശയ്ക്കു് വിപരീതമായി കറക്കുക
+page_rotate_ccw.label=ഘടികാര ദിശയ്ക്കു് വിപരീതമായി കറക്കുക
+page_rotate_ccw_label=ഘടികാര ദിശയ്ക്കു് വിപരീതമായി കറക്കുക
+
+
+# Document properties dialog box
+document_properties_title=തലക്കെട്ട്‌
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+toggle_sidebar.title=സൈഡ് ബാറിലേക്കു് മാറ്റുക
+toggle_sidebar_label=സൈഡ് ബാറിലേക്കു് മാറ്റുക
+outline.title=രേഖയുടെ ഔട്ട്ലൈന്‍ കാണിയ്ക്കുക
+outline_label=രേഖയുടെ ഔട്ട്ലൈന്‍
+thumbs.title=തംബ്നെയിലുകള്‍ കാണിയ്ക്കുക
+thumbs_label=തംബ്നെയിലുകള്‍
+findbar.title=രേഖയില്‍ കണ്ടുപിടിയ്ക്കുക
+findbar_label=കണ്ടെത്തുക
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+thumb_page_title=താള്‍ {{page}}
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+thumb_page_canvas={{page}} താളിനുള്ള തംബ്നെയില്‍
+
+# Find panel button title and messages
+find_label=കണ്ടെത്തുക
+find_previous.title=വാചകം ഇതിനു മുന്‍പ്‌ ആവര്‍ത്തിച്ചത്‌ കണ്ടെത്തുക
+find_previous_label=മുമ്പു്
+find_next.title=വാചകം വീണ്ടും ആവര്‍ത്തിക്കുന്നത്‌ കണ്ടെത്തുക
+find_next_label=അടുത്തതു്
+find_highlight=എല്ലാം എടുത്തുകാണിയ്ക്കുക
+find_match_case_label=അക്ഷരങ്ങള്‍ ഒത്തുനോക്കുക
+find_reached_top=രേഖയുടെ മുകളില്‍ എത്തിയിരിക്കുന്നു, താഴെ നിന്നും തുടരുന്നു
+find_reached_bottom=രേഖയുടെ അവസാനം വരെ എത്തിയിരിക്കുന്നു, മുകളില്‍ നിന്നും തുടരുന്നു
+find_not_found=വാചകം കണ്ടെത്താനായില്ല
+
+# Error panel labels
+error_more_info=കൂടുതല്‍ വിവരം
+error_less_info=കുറച്ച് വിവരം
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+error_version_info=PDF.js v{{version}} (build: {{build}})
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+error_message=സന്ദേശം: {{message}}
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+error_stack=സ്റ്റാക്ക്: {{stack}}
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+error_file=ഫയല്‍: {{file}}
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+error_line=വരി: {{line}}
+rendering_error=താള്‍ റെണ്ടര്‍ ചെയ്യുമ്പോള്‍‌ പിശകുണ്ടായിരിയ്ക്കുന്നു.
+
+# Predefined zoom values
+page_scale_width=താളിന്റെ വീതി
+page_scale_fit=താള്‍ പാകത്തിനാക്കുക
+page_scale_auto=സ്വയമായി വലുതാക്കുക
+page_scale_actual=യഥാര്‍ത്ഥ വ്യാപ്തി
+
+# Loading indicator messages
+loading_error_indicator=പിശക്
+loading_error=പിഡിഎഫ് ലഭ്യമാക്കുമ്പോള്‍ പിശക് ഉണ്ടായിരിയ്ക്കുന്നു.
+invalid_file_error=തെറ്റായ അല്ലെങ്കില്‍ തകരാറുള്ള പിഡിഎഫ് ഫയല്‍.
+missing_file_error=പിഡിഎഫ് ഫയല്‍ ലഭ്യമല്ല.
+
+# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
+# "{{type}}" will be replaced with an annotation type from a list defined in
+# the PDF spec (32000-1:2008 Table 169 – Annotation types).
+# Some common types are e.g.: "Check", "Text", "Comment", "Note"
+text_annotation_type.alt=[{{type}} Annotation]
+password_label=ഈ പിഡിഎഫ് ഫയല്‍ തുറക്കുന്നതിനു് രഹസ്യവാക്ക് നല്‍കുക.
+password_invalid=തെറ്റായ രഹസ്യവാക്ക്, ദയവായി വീണ്ടും ശ്രമിയ്ക്കുക.
+password_ok=ശരി
+password_cancel=റദ്ദാക്കുക
+
+printing_not_supported=മുന്നറിയിപ്പു്: ഈ ബ്രൌസര്‍ പൂര്‍ണ്ണമായി പ്രിന്റിങ് പിന്തുണയ്ക്കുന്നില്ല.
+printing_not_ready=മുന്നറിയിപ്പു്: പ്രിന്റ് ചെയ്യുന്നതിനു് പിഡിഎഫ് പൂര്‍ണ്ണമായി ലഭ്യമല്ല.
+web_fonts_disabled=വെബിനുള്ള അക്ഷരസഞ്ചയങ്ങള്‍ പ്രവര്‍ത്തന രഹിതം: എംബഡ്ഡ് ചെയ്ത പിഡിഎഫ് അക്ഷരസഞ്ചയങ്ങള്‍ ഉപയോഗിയ്ക്കുവാന്‍ സാധ്യമല്ല.
+document_colors_disabled=സ്വന്തം നിറങ്ങള്‍ ഉപയോഗിയ്ക്കുവാന്‍ പിഡിഎഫ് രേഖകള്‍ക്കു് അനുവാദമില്ല: 'സ്വന്തം നിറങ്ങള്‍ ഉപയോഗിയ്ക്കുവാന്‍ താളുകളെ അനുവദിയ്ക്കുക' എന്നതു് ബ്രൌസറില്‍ നിര്‍ജീവമാണു്.
diff --git a/lib/viewers/pdf/locale/mn/viewer.properties b/lib/viewers/pdf/locale/mn/viewer.properties
new file mode 100644
index 0000000..f036644
--- /dev/null
+++ b/lib/viewers/pdf/locale/mn/viewer.properties
@@ -0,0 +1,65 @@
+# Copyright 2012 Mozilla Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Main toolbar buttons (tooltips and alt text for images)
+
+# LOCALIZATION NOTE (page_label, page_of):
+# These strings are concatenated to form the "Page: X of Y" string.
+# Do not translate "{{pageCount}}", it will be substituted with a number
+# representing the total number of pages.
+
+zoom.title=Тэлэлт
+open_file.title=Файл нээ
+open_file_label=Нээ
+
+# Secondary toolbar and context menu
+
+# Tooltips and alt text for side panel toolbar buttons
+# (the _label strings are alt text for the buttons, the .title strings are
+# tooltips)
+findbar_label=Ол
+
+# Thumbnails panel item (tooltip and alt text for images)
+# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
+# number.
+# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
+# number.
+
+# Find panel button title and messages
+find_previous.title=Хайлтын өмнөх олдцыг харуулна
+find_next.title=Хайлтын дараагийн олдцыг харуулна
+find_not_found=Олдсонгүй
+
+# Error panel labels
+error_more_info=Нэмэлт мэдээлэл
+error_close=Хаа
+# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
+# replaced by the PDF.JS version and build ID.
+# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
+# english string describing the error.
+# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
+# trace.
+# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
+# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
+
+# Predefined zoom values