diff --git a/NKC_WF/NKC_WF.csproj b/NKC_WF/NKC_WF.csproj index 4308a39..0cff7d5 100644 --- a/NKC_WF/NKC_WF.csproj +++ b/NKC_WF/NKC_WF.csproj @@ -268,6 +268,98 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1326,6 +1418,286 @@ Always + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Web.config diff --git a/NKC_WF/Scripts/pdf.js/LICENSE b/NKC_WF/Scripts/pdf.js/LICENSE new file mode 100644 index 0000000..f433b1a --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/LICENSE @@ -0,0 +1,177 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/78-EUC-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/78-EUC-H.bcmap new file mode 100644 index 0000000..2655fc7 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/78-EUC-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/78-EUC-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/78-EUC-V.bcmap new file mode 100644 index 0000000..f1ed853 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/78-EUC-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/78-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/78-H.bcmap new file mode 100644 index 0000000..39e89d3 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/78-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/78-RKSJ-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/78-RKSJ-H.bcmap new file mode 100644 index 0000000..e4167cb Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/78-RKSJ-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/78-RKSJ-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/78-RKSJ-V.bcmap new file mode 100644 index 0000000..50b1646 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/78-RKSJ-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/78-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/78-V.bcmap new file mode 100644 index 0000000..d7af99b Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/78-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/78ms-RKSJ-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/78ms-RKSJ-H.bcmap new file mode 100644 index 0000000..37077d0 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/78ms-RKSJ-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/78ms-RKSJ-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/78ms-RKSJ-V.bcmap new file mode 100644 index 0000000..acf2323 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/78ms-RKSJ-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/83pv-RKSJ-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/83pv-RKSJ-H.bcmap new file mode 100644 index 0000000..2359bc5 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/83pv-RKSJ-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/90ms-RKSJ-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/90ms-RKSJ-H.bcmap new file mode 100644 index 0000000..af82938 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/90ms-RKSJ-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/90ms-RKSJ-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/90ms-RKSJ-V.bcmap new file mode 100644 index 0000000..780549d Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/90ms-RKSJ-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/90msp-RKSJ-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/90msp-RKSJ-H.bcmap new file mode 100644 index 0000000..bfd3119 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/90msp-RKSJ-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/90msp-RKSJ-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/90msp-RKSJ-V.bcmap new file mode 100644 index 0000000..25ef14a Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/90msp-RKSJ-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/90pv-RKSJ-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/90pv-RKSJ-H.bcmap new file mode 100644 index 0000000..02f713b Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/90pv-RKSJ-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/90pv-RKSJ-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/90pv-RKSJ-V.bcmap new file mode 100644 index 0000000..d08e0cc Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/90pv-RKSJ-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Add-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Add-H.bcmap new file mode 100644 index 0000000..59442ac Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Add-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Add-RKSJ-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Add-RKSJ-H.bcmap new file mode 100644 index 0000000..a3065e4 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Add-RKSJ-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Add-RKSJ-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Add-RKSJ-V.bcmap new file mode 100644 index 0000000..040014c Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Add-RKSJ-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Add-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Add-V.bcmap new file mode 100644 index 0000000..2f816d3 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Add-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-CNS1-0.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-CNS1-0.bcmap new file mode 100644 index 0000000..88ec04a Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-CNS1-0.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-CNS1-1.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-CNS1-1.bcmap new file mode 100644 index 0000000..03a5014 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-CNS1-1.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-CNS1-2.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-CNS1-2.bcmap new file mode 100644 index 0000000..2aa9514 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-CNS1-2.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-CNS1-3.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-CNS1-3.bcmap new file mode 100644 index 0000000..86d8b8c Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-CNS1-3.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-CNS1-4.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-CNS1-4.bcmap new file mode 100644 index 0000000..f50fc6c Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-CNS1-4.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-CNS1-5.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-CNS1-5.bcmap new file mode 100644 index 0000000..6caf4a8 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-CNS1-5.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-CNS1-6.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-CNS1-6.bcmap new file mode 100644 index 0000000..b77fb07 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-CNS1-6.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-CNS1-UCS2.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-CNS1-UCS2.bcmap new file mode 100644 index 0000000..69d79a2 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-CNS1-UCS2.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-GB1-0.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-GB1-0.bcmap new file mode 100644 index 0000000..3610108 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-GB1-0.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-GB1-1.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-GB1-1.bcmap new file mode 100644 index 0000000..707bb10 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-GB1-1.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-GB1-2.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-GB1-2.bcmap new file mode 100644 index 0000000..f7648cc Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-GB1-2.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-GB1-3.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-GB1-3.bcmap new file mode 100644 index 0000000..8521458 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-GB1-3.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-GB1-4.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-GB1-4.bcmap new file mode 100644 index 0000000..e40c63a Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-GB1-4.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-GB1-5.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-GB1-5.bcmap new file mode 100644 index 0000000..d7623b5 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-GB1-5.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-GB1-UCS2.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-GB1-UCS2.bcmap new file mode 100644 index 0000000..7586525 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-GB1-UCS2.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Japan1-0.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Japan1-0.bcmap new file mode 100644 index 0000000..f0e94ec Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Japan1-0.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Japan1-1.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Japan1-1.bcmap new file mode 100644 index 0000000..dad42c5 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Japan1-1.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Japan1-2.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Japan1-2.bcmap new file mode 100644 index 0000000..090819a Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Japan1-2.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Japan1-3.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Japan1-3.bcmap new file mode 100644 index 0000000..087dfc1 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Japan1-3.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Japan1-4.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Japan1-4.bcmap new file mode 100644 index 0000000..46aa9bf Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Japan1-4.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Japan1-5.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Japan1-5.bcmap new file mode 100644 index 0000000..5b4b65c Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Japan1-5.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Japan1-6.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Japan1-6.bcmap new file mode 100644 index 0000000..e77d699 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Japan1-6.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Japan1-UCS2.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Japan1-UCS2.bcmap new file mode 100644 index 0000000..128a141 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Japan1-UCS2.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Korea1-0.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Korea1-0.bcmap new file mode 100644 index 0000000..cef1a99 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Korea1-0.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Korea1-1.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Korea1-1.bcmap new file mode 100644 index 0000000..11ffa36 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Korea1-1.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Korea1-2.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Korea1-2.bcmap new file mode 100644 index 0000000..3172308 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Korea1-2.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Korea1-UCS2.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Korea1-UCS2.bcmap new file mode 100644 index 0000000..f3371c0 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Adobe-Korea1-UCS2.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/B5-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/B5-H.bcmap new file mode 100644 index 0000000..beb4d22 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/B5-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/B5-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/B5-V.bcmap new file mode 100644 index 0000000..2d4f87d Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/B5-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/B5pc-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/B5pc-H.bcmap new file mode 100644 index 0000000..ce00131 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/B5pc-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/B5pc-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/B5pc-V.bcmap new file mode 100644 index 0000000..73b99ff Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/B5pc-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/CNS-EUC-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/CNS-EUC-H.bcmap new file mode 100644 index 0000000..61d1d0c Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/CNS-EUC-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/CNS-EUC-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/CNS-EUC-V.bcmap new file mode 100644 index 0000000..1a393a5 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/CNS-EUC-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/CNS1-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/CNS1-H.bcmap new file mode 100644 index 0000000..f738e21 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/CNS1-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/CNS1-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/CNS1-V.bcmap new file mode 100644 index 0000000..9c3169f Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/CNS1-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/CNS2-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/CNS2-H.bcmap new file mode 100644 index 0000000..c89b352 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/CNS2-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/CNS2-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/CNS2-V.bcmap new file mode 100644 index 0000000..7588cec --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/cmaps/CNS2-V.bcmap @@ -0,0 +1,3 @@ +เRCopyright 1990-2009 Adobe Systems Incorporated. +All rights reserved. +See ./LICENSEแCNS2-H \ No newline at end of file diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/ETHK-B5-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/ETHK-B5-H.bcmap new file mode 100644 index 0000000..cb29415 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/ETHK-B5-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/ETHK-B5-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/ETHK-B5-V.bcmap new file mode 100644 index 0000000..f09aec6 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/ETHK-B5-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/ETen-B5-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/ETen-B5-H.bcmap new file mode 100644 index 0000000..c2d7746 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/ETen-B5-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/ETen-B5-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/ETen-B5-V.bcmap new file mode 100644 index 0000000..89bff15 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/ETen-B5-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/ETenms-B5-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/ETenms-B5-H.bcmap new file mode 100644 index 0000000..a7d69db --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/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/NKC_WF/Scripts/pdf.js/web/cmaps/ETenms-B5-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/ETenms-B5-V.bcmap new file mode 100644 index 0000000..adc5d61 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/ETenms-B5-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/EUC-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/EUC-H.bcmap new file mode 100644 index 0000000..e92ea5b Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/EUC-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/EUC-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/EUC-V.bcmap new file mode 100644 index 0000000..7a7c183 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/EUC-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Ext-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Ext-H.bcmap new file mode 100644 index 0000000..3b5cde4 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Ext-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Ext-RKSJ-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Ext-RKSJ-H.bcmap new file mode 100644 index 0000000..ea4d2d9 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Ext-RKSJ-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Ext-RKSJ-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Ext-RKSJ-V.bcmap new file mode 100644 index 0000000..3457c27 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Ext-RKSJ-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Ext-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Ext-V.bcmap new file mode 100644 index 0000000..4999ca4 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Ext-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/GB-EUC-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/GB-EUC-H.bcmap new file mode 100644 index 0000000..e39908b Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/GB-EUC-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/GB-EUC-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/GB-EUC-V.bcmap new file mode 100644 index 0000000..d5be544 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/GB-EUC-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/GB-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/GB-H.bcmap new file mode 100644 index 0000000..39189c5 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/cmaps/GB-H.bcmap @@ -0,0 +1,4 @@ +เRCopyright 1990-2009 Adobe Systems Incorporated. +All rights reserved. +See ./LICENSE!!บ]aX!!]`21> p z$]‚"R‚d-Uƒ7*„ 4„%+ „Z „{/…%…<9K…b1]†."‡ ‰`]‡,"]ˆ +"]ˆ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/NKC_WF/Scripts/pdf.js/web/cmaps/GB-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/GB-V.bcmap new file mode 100644 index 0000000..3108345 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/GB-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/GBK-EUC-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/GBK-EUC-H.bcmap new file mode 100644 index 0000000..05fff7e Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/GBK-EUC-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/GBK-EUC-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/GBK-EUC-V.bcmap new file mode 100644 index 0000000..0cdf6be Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/GBK-EUC-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/GBK2K-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/GBK2K-H.bcmap new file mode 100644 index 0000000..46f6ba5 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/GBK2K-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/GBK2K-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/GBK2K-V.bcmap new file mode 100644 index 0000000..d9a9479 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/GBK2K-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/GBKp-EUC-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/GBKp-EUC-H.bcmap new file mode 100644 index 0000000..5cb0af6 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/GBKp-EUC-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/GBKp-EUC-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/GBKp-EUC-V.bcmap new file mode 100644 index 0000000..bca93b8 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/GBKp-EUC-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/GBT-EUC-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/GBT-EUC-H.bcmap new file mode 100644 index 0000000..4b4e2d3 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/GBT-EUC-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/GBT-EUC-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/GBT-EUC-V.bcmap new file mode 100644 index 0000000..38f7066 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/GBT-EUC-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/GBT-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/GBT-H.bcmap new file mode 100644 index 0000000..8437ac3 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/GBT-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/GBT-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/GBT-V.bcmap new file mode 100644 index 0000000..697ab4a Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/GBT-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/GBTpc-EUC-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/GBTpc-EUC-H.bcmap new file mode 100644 index 0000000..f6e50e8 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/GBTpc-EUC-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/GBTpc-EUC-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/GBTpc-EUC-V.bcmap new file mode 100644 index 0000000..6c0d71a Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/GBTpc-EUC-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/GBpc-EUC-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/GBpc-EUC-H.bcmap new file mode 100644 index 0000000..c9edf67 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/GBpc-EUC-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/GBpc-EUC-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/GBpc-EUC-V.bcmap new file mode 100644 index 0000000..31450c9 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/GBpc-EUC-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/H.bcmap new file mode 100644 index 0000000..7b24ea4 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/HKdla-B5-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/HKdla-B5-H.bcmap new file mode 100644 index 0000000..7d30c05 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/HKdla-B5-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/HKdla-B5-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/HKdla-B5-V.bcmap new file mode 100644 index 0000000..7894694 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/HKdla-B5-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/HKdlb-B5-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/HKdlb-B5-H.bcmap new file mode 100644 index 0000000..d829a23 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/HKdlb-B5-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/HKdlb-B5-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/HKdlb-B5-V.bcmap new file mode 100644 index 0000000..2b572b5 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/HKdlb-B5-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/HKgccs-B5-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/HKgccs-B5-H.bcmap new file mode 100644 index 0000000..971a4f2 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/HKgccs-B5-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/HKgccs-B5-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/HKgccs-B5-V.bcmap new file mode 100644 index 0000000..d353ca2 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/HKgccs-B5-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/HKm314-B5-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/HKm314-B5-H.bcmap new file mode 100644 index 0000000..576dc01 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/HKm314-B5-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/HKm314-B5-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/HKm314-B5-V.bcmap new file mode 100644 index 0000000..0e96d0e Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/HKm314-B5-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/HKm471-B5-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/HKm471-B5-H.bcmap new file mode 100644 index 0000000..11d170c Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/HKm471-B5-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/HKm471-B5-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/HKm471-B5-V.bcmap new file mode 100644 index 0000000..54959bf Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/HKm471-B5-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/HKscs-B5-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/HKscs-B5-H.bcmap new file mode 100644 index 0000000..6ef7857 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/HKscs-B5-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/HKscs-B5-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/HKscs-B5-V.bcmap new file mode 100644 index 0000000..1fb2fa2 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/HKscs-B5-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Hankaku.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Hankaku.bcmap new file mode 100644 index 0000000..4b8ec7f Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Hankaku.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Hiragana.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Hiragana.bcmap new file mode 100644 index 0000000..17e983e Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Hiragana.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/KSC-EUC-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/KSC-EUC-H.bcmap new file mode 100644 index 0000000..a45c65f Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/KSC-EUC-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/KSC-EUC-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/KSC-EUC-V.bcmap new file mode 100644 index 0000000..0e7b21f Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/KSC-EUC-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/KSC-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/KSC-H.bcmap new file mode 100644 index 0000000..b9b22b6 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/KSC-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/KSC-Johab-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/KSC-Johab-H.bcmap new file mode 100644 index 0000000..2531ffc Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/KSC-Johab-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/KSC-Johab-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/KSC-Johab-V.bcmap new file mode 100644 index 0000000..367ceb2 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/KSC-Johab-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/KSC-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/KSC-V.bcmap new file mode 100644 index 0000000..6ae2f0b Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/KSC-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/KSCms-UHC-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/KSCms-UHC-H.bcmap new file mode 100644 index 0000000..a8d4240 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/KSCms-UHC-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/KSCms-UHC-HW-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/KSCms-UHC-HW-H.bcmap new file mode 100644 index 0000000..8b4ae18 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/KSCms-UHC-HW-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/KSCms-UHC-HW-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/KSCms-UHC-HW-V.bcmap new file mode 100644 index 0000000..b655dbc Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/KSCms-UHC-HW-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/KSCms-UHC-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/KSCms-UHC-V.bcmap new file mode 100644 index 0000000..21f97f6 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/KSCms-UHC-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/KSCpc-EUC-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/KSCpc-EUC-H.bcmap new file mode 100644 index 0000000..e06f361 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/KSCpc-EUC-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/KSCpc-EUC-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/KSCpc-EUC-V.bcmap new file mode 100644 index 0000000..f3c9113 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/KSCpc-EUC-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Katakana.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Katakana.bcmap new file mode 100644 index 0000000..524303c Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Katakana.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/LICENSE b/NKC_WF/Scripts/pdf.js/web/cmaps/LICENSE new file mode 100644 index 0000000..b1ad168 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/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/NKC_WF/Scripts/pdf.js/web/cmaps/NWP-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/NWP-H.bcmap new file mode 100644 index 0000000..afc5e4b Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/NWP-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/NWP-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/NWP-V.bcmap new file mode 100644 index 0000000..bb5785e Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/NWP-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/RKSJ-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/RKSJ-H.bcmap new file mode 100644 index 0000000..fb8d298 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/RKSJ-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/RKSJ-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/RKSJ-V.bcmap new file mode 100644 index 0000000..a2555a6 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/RKSJ-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/Roman.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/Roman.bcmap new file mode 100644 index 0000000..f896dcf Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/Roman.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniCNS-UCS2-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniCNS-UCS2-H.bcmap new file mode 100644 index 0000000..d5db27c Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniCNS-UCS2-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniCNS-UCS2-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniCNS-UCS2-V.bcmap new file mode 100644 index 0000000..1dc9b7a Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniCNS-UCS2-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniCNS-UTF16-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniCNS-UTF16-H.bcmap new file mode 100644 index 0000000..961afef Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniCNS-UTF16-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniCNS-UTF16-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniCNS-UTF16-V.bcmap new file mode 100644 index 0000000..df0cffe Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniCNS-UTF16-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniCNS-UTF32-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniCNS-UTF32-H.bcmap new file mode 100644 index 0000000..1ab18a1 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniCNS-UTF32-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniCNS-UTF32-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniCNS-UTF32-V.bcmap new file mode 100644 index 0000000..ad14662 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniCNS-UTF32-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniCNS-UTF8-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniCNS-UTF8-H.bcmap new file mode 100644 index 0000000..83c6bd7 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniCNS-UTF8-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniCNS-UTF8-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniCNS-UTF8-V.bcmap new file mode 100644 index 0000000..22a27e4 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniCNS-UTF8-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniGB-UCS2-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniGB-UCS2-H.bcmap new file mode 100644 index 0000000..5bd6228 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniGB-UCS2-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniGB-UCS2-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniGB-UCS2-V.bcmap new file mode 100644 index 0000000..53c534b Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniGB-UCS2-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniGB-UTF16-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniGB-UTF16-H.bcmap new file mode 100644 index 0000000..b95045b Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniGB-UTF16-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniGB-UTF16-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniGB-UTF16-V.bcmap new file mode 100644 index 0000000..51f023e Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniGB-UTF16-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniGB-UTF32-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniGB-UTF32-H.bcmap new file mode 100644 index 0000000..f0dbd14 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniGB-UTF32-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniGB-UTF32-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniGB-UTF32-V.bcmap new file mode 100644 index 0000000..ce9c30a Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniGB-UTF32-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniGB-UTF8-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniGB-UTF8-H.bcmap new file mode 100644 index 0000000..982ca46 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniGB-UTF8-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniGB-UTF8-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniGB-UTF8-V.bcmap new file mode 100644 index 0000000..f78020d Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniGB-UTF8-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UCS2-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UCS2-H.bcmap new file mode 100644 index 0000000..7daf56a Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UCS2-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UCS2-HW-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UCS2-HW-H.bcmap new file mode 100644 index 0000000..ac9975c Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UCS2-HW-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UCS2-HW-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UCS2-HW-V.bcmap new file mode 100644 index 0000000..3da0a1c Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UCS2-HW-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UCS2-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UCS2-V.bcmap new file mode 100644 index 0000000..c50b9dd Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UCS2-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UTF16-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UTF16-H.bcmap new file mode 100644 index 0000000..6761344 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UTF16-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UTF16-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UTF16-V.bcmap new file mode 100644 index 0000000..70bf90c Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UTF16-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UTF32-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UTF32-H.bcmap new file mode 100644 index 0000000..7a83d53 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UTF32-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UTF32-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UTF32-V.bcmap new file mode 100644 index 0000000..7a87135 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UTF32-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UTF8-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UTF8-H.bcmap new file mode 100644 index 0000000..9f0334c Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UTF8-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UTF8-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UTF8-V.bcmap new file mode 100644 index 0000000..808a94f Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS-UTF8-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS2004-UTF16-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS2004-UTF16-H.bcmap new file mode 100644 index 0000000..d768bf8 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS2004-UTF16-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS2004-UTF16-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS2004-UTF16-V.bcmap new file mode 100644 index 0000000..3d5bf6f Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS2004-UTF16-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS2004-UTF32-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS2004-UTF32-H.bcmap new file mode 100644 index 0000000..09eee10 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS2004-UTF32-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS2004-UTF32-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS2004-UTF32-V.bcmap new file mode 100644 index 0000000..6c54600 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS2004-UTF32-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS2004-UTF8-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS2004-UTF8-H.bcmap new file mode 100644 index 0000000..1b1a64f Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS2004-UTF8-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS2004-UTF8-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS2004-UTF8-V.bcmap new file mode 100644 index 0000000..994aa9e Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJIS2004-UTF8-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniJISPro-UCS2-HW-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJISPro-UCS2-HW-V.bcmap new file mode 100644 index 0000000..643f921 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJISPro-UCS2-HW-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniJISPro-UCS2-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJISPro-UCS2-V.bcmap new file mode 100644 index 0000000..c148f67 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJISPro-UCS2-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniJISPro-UTF8-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJISPro-UTF8-V.bcmap new file mode 100644 index 0000000..1849d80 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJISPro-UTF8-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniJISX0213-UTF32-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJISX0213-UTF32-H.bcmap new file mode 100644 index 0000000..a83a677 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJISX0213-UTF32-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniJISX0213-UTF32-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJISX0213-UTF32-V.bcmap new file mode 100644 index 0000000..f527248 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJISX0213-UTF32-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniJISX02132004-UTF32-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJISX02132004-UTF32-H.bcmap new file mode 100644 index 0000000..e1a988d Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJISX02132004-UTF32-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniJISX02132004-UTF32-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJISX02132004-UTF32-V.bcmap new file mode 100644 index 0000000..47e054a Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniJISX02132004-UTF32-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniKS-UCS2-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniKS-UCS2-H.bcmap new file mode 100644 index 0000000..b5b9485 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniKS-UCS2-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniKS-UCS2-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniKS-UCS2-V.bcmap new file mode 100644 index 0000000..026adca Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniKS-UCS2-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniKS-UTF16-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniKS-UTF16-H.bcmap new file mode 100644 index 0000000..fd4e66e Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniKS-UTF16-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniKS-UTF16-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniKS-UTF16-V.bcmap new file mode 100644 index 0000000..075efb7 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniKS-UTF16-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniKS-UTF32-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniKS-UTF32-H.bcmap new file mode 100644 index 0000000..769d214 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniKS-UTF32-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniKS-UTF32-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniKS-UTF32-V.bcmap new file mode 100644 index 0000000..bdab208 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniKS-UTF32-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniKS-UTF8-H.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniKS-UTF8-H.bcmap new file mode 100644 index 0000000..6ff8674 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniKS-UTF8-H.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/UniKS-UTF8-V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/UniKS-UTF8-V.bcmap new file mode 100644 index 0000000..8dfa76a Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/UniKS-UTF8-V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/V.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/V.bcmap new file mode 100644 index 0000000..fdec990 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/V.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/cmaps/WP-Symbol.bcmap b/NKC_WF/Scripts/pdf.js/web/cmaps/WP-Symbol.bcmap new file mode 100644 index 0000000..46729bb Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/cmaps/WP-Symbol.bcmap differ diff --git a/NKC_WF/Scripts/pdf.js/web/compressed.tracemonkey-pldi-09.pdf b/NKC_WF/Scripts/pdf.js/web/compressed.tracemonkey-pldi-09.pdf new file mode 100644 index 0000000..6557018 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/compressed.tracemonkey-pldi-09.pdf differ diff --git a/NKC_WF/Scripts/pdf.js/web/debugger.js b/NKC_WF/Scripts/pdf.js/web/debugger.js new file mode 100644 index 0000000..925c32f --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/debugger.js @@ -0,0 +1,620 @@ +/* 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. + */ + +'use strict'; + +var FontInspector = (function FontInspectorClosure() { + var fonts; + var active = false; + var fontAttribute = 'data-font-name'; + function removeSelection() { + var divs = document.querySelectorAll('div[' + fontAttribute + ']'); + for (var i = 0, ii = divs.length; i < ii; ++i) { + var div = divs[i]; + div.className = ''; + } + } + function resetSelection() { + var divs = document.querySelectorAll('div[' + fontAttribute + ']'); + for (var i = 0, ii = divs.length; i < ii; ++i) { + var div = divs[i]; + div.className = 'debuggerHideText'; + } + } + function selectFont(fontName, show) { + var divs = document.querySelectorAll('div[' + fontAttribute + '=' + + fontName + ']'); + for (var i = 0, ii = divs.length; i < ii; ++i) { + var div = divs[i]; + div.className = show ? 'debuggerShowText' : 'debuggerHideText'; + } + } + function textLayerClick(e) { + 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; + } + select.checked = !select.checked; + selectFont(fontName, select.checked); + select.scrollIntoView(); + } + } + return { + // Properties/functions needed by PDFBug. + id: 'FontInspector', + name: 'Font Inspector', + panel: null, + manager: null, + init: function init(pdfjsLib) { + var panel = this.panel; + panel.setAttribute('style', 'padding: 5px;'); + var tmp = document.createElement('button'); + tmp.addEventListener('click', resetSelection); + tmp.textContent = 'Refresh'; + panel.appendChild(tmp); + + fonts = document.createElement('div'); + panel.appendChild(fonts); + }, + cleanup: function cleanup() { + fonts.textContent = ''; + }, + enabled: false, + get active() { + return active; + }, + set active(value) { + active = value; + if (active) { + document.body.addEventListener('click', textLayerClick, true); + resetSelection(); + } else { + document.body.removeEventListener('click', textLayerClick, true); + removeSelection(); + } + }, + // FontInspector specific functions. + fontAdded: function fontAdded(fontObj, url) { + function properties(obj, list) { + var moreInfo = document.createElement('table'); + for (var i = 0; i < list.length; i++) { + var tr = document.createElement('tr'); + var td1 = document.createElement('td'); + td1.textContent = list[i]; + tr.appendChild(td1); + var td2 = document.createElement('td'); + td2.textContent = obj[list[i]].toString(); + tr.appendChild(td2); + moreInfo.appendChild(tr); + } + return moreInfo; + } + var moreInfo = properties(fontObj, ['name', 'type']); + var fontName = fontObj.loadedName; + var font = document.createElement('div'); + var name = document.createElement('span'); + name.textContent = fontName; + var download = document.createElement('a'); + if (url) { + url = /url\(['"]?([^\)"']+)/.exec(url); + download.href = url[1]; + } else if (fontObj.data) { + url = URL.createObjectURL(new Blob([fontObj.data], { + type: fontObj.mimeType, + })); + download.href = url; + } + download.textContent = 'Download'; + var logIt = document.createElement('a'); + logIt.href = ''; + logIt.textContent = 'Log'; + logIt.addEventListener('click', function(event) { + event.preventDefault(); + console.log(fontObj); + }); + var select = document.createElement('input'); + select.setAttribute('type', 'checkbox'); + select.dataset.fontName = fontName; + select.addEventListener('click', (function(select, fontName) { + return (function() { + selectFont(fontName, select.checked); + }); + })(select, fontName)); + font.appendChild(select); + font.appendChild(name); + font.appendChild(document.createTextNode(' ')); + font.appendChild(download); + font.appendChild(document.createTextNode(' ')); + font.appendChild(logIt); + font.appendChild(moreInfo); + fonts.appendChild(font); + // Somewhat of a hack, should probably add a hook for when the text layer + // is done rendering. + setTimeout(() => { + if (this.active) { + resetSelection(); + } + }, 2000); + }, + }; +})(); + +var opMap; + +// Manages all the page steppers. +var StepperManager = (function StepperManagerClosure() { + var steppers = []; + var stepperDiv = null; + var stepperControls = null; + var stepperChooser = null; + var breakPoints = Object.create(null); + return { + // Properties/functions needed by PDFBug. + id: 'Stepper', + name: 'Stepper', + panel: null, + manager: null, + init: function init(pdfjsLib) { + var self = this; + this.panel.setAttribute('style', 'padding: 5px;'); + stepperControls = document.createElement('div'); + stepperChooser = document.createElement('select'); + stepperChooser.addEventListener('change', function(event) { + self.selectStepper(this.value); + }); + stepperControls.appendChild(stepperChooser); + stepperDiv = document.createElement('div'); + this.panel.appendChild(stepperControls); + this.panel.appendChild(stepperDiv); + if (sessionStorage.getItem('pdfjsBreakPoints')) { + breakPoints = JSON.parse(sessionStorage.getItem('pdfjsBreakPoints')); + } + + opMap = Object.create(null); + for (var key in pdfjsLib.OPS) { + opMap[pdfjsLib.OPS[key]] = key; + } + }, + cleanup: function cleanup() { + stepperChooser.textContent = ''; + stepperDiv.textContent = ''; + steppers = []; + }, + enabled: false, + active: false, + // Stepper specific functions. + create: function create(pageIndex) { + var debug = document.createElement('div'); + debug.id = 'stepper' + pageIndex; + debug.setAttribute('hidden', true); + debug.className = 'stepper'; + stepperDiv.appendChild(debug); + var b = document.createElement('option'); + b.textContent = 'Page ' + (pageIndex + 1); + b.value = pageIndex; + stepperChooser.appendChild(b); + var initBreakPoints = breakPoints[pageIndex] || []; + var stepper = new Stepper(debug, pageIndex, initBreakPoints); + steppers.push(stepper); + if (steppers.length === 1) { + this.selectStepper(pageIndex, false); + } + return stepper; + }, + selectStepper: function selectStepper(pageIndex, selectPanel) { + var i; + pageIndex = pageIndex | 0; + if (selectPanel) { + this.manager.selectPanel(this); + } + for (i = 0; i < steppers.length; ++i) { + var stepper = steppers[i]; + if (stepper.pageIndex === pageIndex) { + stepper.panel.removeAttribute('hidden'); + } else { + stepper.panel.setAttribute('hidden', true); + } + } + var options = stepperChooser.options; + for (i = 0; i < options.length; ++i) { + var option = options[i]; + option.selected = (option.value | 0) === pageIndex; + } + }, + saveBreakPoints: function saveBreakPoints(pageIndex, bps) { + breakPoints[pageIndex] = bps; + sessionStorage.setItem('pdfjsBreakPoints', JSON.stringify(breakPoints)); + }, + }; +})(); + +// 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; + } + + 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.breakPoint = 0; + this.nextBreakPoint = null; + this.pageIndex = pageIndex; + this.breakPoints = initialBreakPoints; + this.currentIdx = -1; + this.operatorListIdx = 0; + } + Stepper.prototype = { + init: function init(operatorList) { + var panel = this.panel; + var content = c('div', 'c=continue, s=step'); + var table = c('table'); + content.appendChild(table); + table.cellSpacing = 0; + var headerRow = c('tr'); + table.appendChild(headerRow); + headerRow.appendChild(c('th', 'Break')); + headerRow.appendChild(c('th', 'Idx')); + headerRow.appendChild(c('th', 'fn')); + headerRow.appendChild(c('th', 'args')); + panel.appendChild(content); + this.table = table; + this.updateOperatorList(operatorList); + }, + updateOperatorList: function updateOperatorList(operatorList) { + var self = this; + + 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; + chunk.appendChild(line); + var checked = this.breakPoints.indexOf(i) !== -1; + var args = operatorList.argsArray[i] || []; + + var breakCell = c('td'); + var cbox = c('input'); + cbox.type = 'checkbox'; + cbox.className = 'points'; + cbox.checked = checked; + cbox.dataset.idx = i; + cbox.onclick = cboxOnClick; + + breakCell.appendChild(cbox); + line.appendChild(breakCell); + line.appendChild(c('td', i.toString())); + 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)))); + } + 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) { + return this.breakPoints[i]; + } + } + return null; + }, + breakIt: function breakIt(idx, callback) { + StepperManager.selectStepper(this.pageIndex, true); + var self = this; + var dom = document; + self.currentIdx = idx; + var listener = function(e) { + switch (e.keyCode) { + case 83: // step + dom.removeEventListener('keydown', listener); + self.nextBreakPoint = self.currentIdx + 1; + self.goTo(-1); + callback(); + break; + case 67: // continue + dom.removeEventListener('keydown', listener); + var breakPoint = self.getNextBreakPoint(); + self.nextBreakPoint = breakPoint; + self.goTo(-1); + callback(); + break; + } + }; + dom.addEventListener('keydown', listener); + self.goTo(idx); + }, + goTo: function goTo(idx) { + var allRows = this.panel.getElementsByClassName('line'); + for (var x = 0, xx = allRows.length; x < xx; ++x) { + var row = allRows[x]; + if ((row.dataset.idx | 0) === idx) { + row.style.backgroundColor = 'rgb(251,250,207)'; + row.scrollIntoView(); + } else { + row.style.backgroundColor = null; + } + } + }, + }; + return Stepper; +})(); + +var Stats = (function Stats() { + var stats = []; + function clear(node) { + 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) { + return i; + } + } + return false; + } + return { + // Properties/functions needed by PDFBug. + id: 'Stats', + name: 'Stats', + panel: null, + manager: null, + init(pdfjsLib) { + this.panel.setAttribute('style', 'padding: 5px;'); + pdfjsLib.PDFJS.enableStats = true; + }, + enabled: false, + active: false, + // Stats specific functions. + add(pageNumber, stat) { + if (!stat) { + return; + } + var statsIndex = getStatIndex(pageNumber); + if (statsIndex !== false) { + var b = stats[statsIndex]; + this.panel.removeChild(b.div); + stats.splice(statsIndex, 1); + } + var wrapper = document.createElement('div'); + wrapper.className = 'stats'; + var title = document.createElement('div'); + title.className = 'title'; + title.textContent = 'Page: ' + pageNumber; + var statsDiv = document.createElement('div'); + statsDiv.textContent = stat.toString(); + wrapper.appendChild(title); + wrapper.appendChild(statsDiv); + stats.push({ 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) { + this.panel.appendChild(stats[i].div); + } + }, + cleanup() { + stats = []; + clear(this.panel); + }, + }; +})(); + +// Manages all the debugging tools. +window.PDFBug = (function PDFBugClosure() { + var panelWidth = 300; + var buttons = []; + var activePanel = null; + + return { + tools: [ + FontInspector, + StepperManager, + Stats + ], + enable(ids) { + var all = false, tools = this.tools; + 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) { + tool.enabled = true; + } + } + if (!all) { + // Sort the tools by the order they are enabled. + tools.sort(function(a, b) { + var indexA = ids.indexOf(a.id); + indexA = indexA < 0 ? tools.length : indexA; + var indexB = ids.indexOf(b.id); + indexB = indexB < 0 ? tools.length : indexB; + return indexA - indexB; + }); + } + }, + init(pdfjsLib, container) { + /* + * Basic Layout: + * PDFBug + * Controls + * Panels + * Panel + * Panel + * ... + */ + var ui = document.createElement('div'); + ui.id = 'PDFBug'; + + var controls = document.createElement('div'); + controls.setAttribute('class', 'controls'); + ui.appendChild(controls); + + var panels = document.createElement('div'); + panels.setAttribute('class', 'panels'); + ui.appendChild(panels); + + container.appendChild(ui); + container.style.right = panelWidth + 'px'; + + // Initialize all the debugging tools. + var tools = this.tools; + var self = this; + for (var i = 0; i < tools.length; ++i) { + var tool = tools[i]; + var panel = document.createElement('div'); + var panelButton = document.createElement('button'); + panelButton.textContent = tool.name; + panelButton.addEventListener('click', (function(selected) { + return function(event) { + event.preventDefault(); + self.selectPanel(selected); + }; + })(i)); + controls.appendChild(panelButton); + panels.appendChild(panel); + tool.panel = panel; + tool.manager = this; + if (tool.enabled) { + tool.init(pdfjsLib); + } else { + panel.textContent = tool.name + ' is disabled. To enable add ' + + ' "' + tool.id + '" to the pdfBug parameter ' + + 'and refresh (separate multiple by commas).'; + } + buttons.push(panelButton); + } + this.selectPanel(0); + }, + cleanup() { + for (var i = 0, ii = this.tools.length; i < ii; i++) { + if (this.tools[i].enabled) { + this.tools[i].cleanup(); + } + } + }, + selectPanel(index) { + 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) { + if (j === index) { + buttons[j].setAttribute('class', 'active'); + tools[j].active = true; + tools[j].panel.removeAttribute('hidden'); + } else { + buttons[j].setAttribute('class', ''); + tools[j].active = false; + tools[j].panel.setAttribute('hidden', 'true'); + } + } + }, + }; +})(); diff --git a/NKC_WF/Scripts/pdf.js/web/images/annotation-check.svg b/NKC_WF/Scripts/pdf.js/web/images/annotation-check.svg new file mode 100644 index 0000000..71cd16d --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/images/annotation-check.svg @@ -0,0 +1,11 @@ + + + + diff --git a/NKC_WF/Scripts/pdf.js/web/images/annotation-comment.svg b/NKC_WF/Scripts/pdf.js/web/images/annotation-comment.svg new file mode 100644 index 0000000..86f1f17 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/images/annotation-comment.svg @@ -0,0 +1,16 @@ + + + + + diff --git a/NKC_WF/Scripts/pdf.js/web/images/annotation-help.svg b/NKC_WF/Scripts/pdf.js/web/images/annotation-help.svg new file mode 100644 index 0000000..00938fe --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/images/annotation-help.svg @@ -0,0 +1,26 @@ + + + + + + + + + + diff --git a/NKC_WF/Scripts/pdf.js/web/images/annotation-insert.svg b/NKC_WF/Scripts/pdf.js/web/images/annotation-insert.svg new file mode 100644 index 0000000..519ef68 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/images/annotation-insert.svg @@ -0,0 +1,10 @@ + + + + diff --git a/NKC_WF/Scripts/pdf.js/web/images/annotation-key.svg b/NKC_WF/Scripts/pdf.js/web/images/annotation-key.svg new file mode 100644 index 0000000..8d09d53 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/images/annotation-key.svg @@ -0,0 +1,11 @@ + + + + diff --git a/NKC_WF/Scripts/pdf.js/web/images/annotation-newparagraph.svg b/NKC_WF/Scripts/pdf.js/web/images/annotation-newparagraph.svg new file mode 100644 index 0000000..38d2497 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/images/annotation-newparagraph.svg @@ -0,0 +1,11 @@ + + + + diff --git a/NKC_WF/Scripts/pdf.js/web/images/annotation-noicon.svg b/NKC_WF/Scripts/pdf.js/web/images/annotation-noicon.svg new file mode 100644 index 0000000..c07d108 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/images/annotation-noicon.svg @@ -0,0 +1,7 @@ + + + diff --git a/NKC_WF/Scripts/pdf.js/web/images/annotation-note.svg b/NKC_WF/Scripts/pdf.js/web/images/annotation-note.svg new file mode 100644 index 0000000..7017365 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/images/annotation-note.svg @@ -0,0 +1,42 @@ + + + + + + + + diff --git a/NKC_WF/Scripts/pdf.js/web/images/annotation-paragraph.svg b/NKC_WF/Scripts/pdf.js/web/images/annotation-paragraph.svg new file mode 100644 index 0000000..6ae5212 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/images/annotation-paragraph.svg @@ -0,0 +1,16 @@ + + + + + diff --git a/NKC_WF/Scripts/pdf.js/web/images/findbarButton-next-rtl.png b/NKC_WF/Scripts/pdf.js/web/images/findbarButton-next-rtl.png new file mode 100644 index 0000000..bef0274 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/findbarButton-next-rtl.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/findbarButton-next-rtl@2x.png b/NKC_WF/Scripts/pdf.js/web/images/findbarButton-next-rtl@2x.png new file mode 100644 index 0000000..1da6dc9 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/findbarButton-next-rtl@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/findbarButton-next.png b/NKC_WF/Scripts/pdf.js/web/images/findbarButton-next.png new file mode 100644 index 0000000..de1d0fc Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/findbarButton-next.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/findbarButton-next@2x.png b/NKC_WF/Scripts/pdf.js/web/images/findbarButton-next@2x.png new file mode 100644 index 0000000..0250307 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/findbarButton-next@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/findbarButton-previous-rtl.png b/NKC_WF/Scripts/pdf.js/web/images/findbarButton-previous-rtl.png new file mode 100644 index 0000000..de1d0fc Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/findbarButton-previous-rtl.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/findbarButton-previous-rtl@2x.png b/NKC_WF/Scripts/pdf.js/web/images/findbarButton-previous-rtl@2x.png new file mode 100644 index 0000000..0250307 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/findbarButton-previous-rtl@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/findbarButton-previous.png b/NKC_WF/Scripts/pdf.js/web/images/findbarButton-previous.png new file mode 100644 index 0000000..bef0274 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/findbarButton-previous.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/findbarButton-previous@2x.png b/NKC_WF/Scripts/pdf.js/web/images/findbarButton-previous@2x.png new file mode 100644 index 0000000..1da6dc9 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/findbarButton-previous@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/grab.cur b/NKC_WF/Scripts/pdf.js/web/images/grab.cur new file mode 100644 index 0000000..db7ad5a Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/grab.cur differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/grabbing.cur b/NKC_WF/Scripts/pdf.js/web/images/grabbing.cur new file mode 100644 index 0000000..e0dfd04 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/grabbing.cur differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/loading-icon.gif b/NKC_WF/Scripts/pdf.js/web/images/loading-icon.gif new file mode 100644 index 0000000..1c72ebb Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/loading-icon.gif differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/loading-small.png b/NKC_WF/Scripts/pdf.js/web/images/loading-small.png new file mode 100644 index 0000000..8831a80 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/loading-small.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/loading-small@2x.png b/NKC_WF/Scripts/pdf.js/web/images/loading-small@2x.png new file mode 100644 index 0000000..b25b445 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/loading-small@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-documentProperties.png b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-documentProperties.png new file mode 100644 index 0000000..40925e2 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-documentProperties.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-documentProperties@2x.png b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-documentProperties@2x.png new file mode 100644 index 0000000..adb240e Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-documentProperties@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-firstPage.png b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-firstPage.png new file mode 100644 index 0000000..e68846a Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-firstPage.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-firstPage@2x.png b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-firstPage@2x.png new file mode 100644 index 0000000..3ad8af5 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-firstPage@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-handTool.png b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-handTool.png new file mode 100644 index 0000000..cb85a84 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-handTool.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-handTool@2x.png b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-handTool@2x.png new file mode 100644 index 0000000..5c13f77 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-handTool@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-lastPage.png b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-lastPage.png new file mode 100644 index 0000000..be763e0 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-lastPage.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-lastPage@2x.png b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-lastPage@2x.png new file mode 100644 index 0000000..8570984 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-lastPage@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-rotateCcw.png b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-rotateCcw.png new file mode 100644 index 0000000..675d6da Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-rotateCcw.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-rotateCcw@2x.png b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-rotateCcw@2x.png new file mode 100644 index 0000000..b9e7431 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-rotateCcw@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-rotateCw.png b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-rotateCw.png new file mode 100644 index 0000000..e1c7598 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-rotateCw.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-rotateCw@2x.png b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-rotateCw@2x.png new file mode 100644 index 0000000..cb257b4 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-rotateCw@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-selectTool.png b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-selectTool.png new file mode 100644 index 0000000..25520a6 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-selectTool.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-selectTool@2x.png b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-selectTool@2x.png new file mode 100644 index 0000000..a58aaef Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/secondaryToolbarButton-selectTool@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/shadow.png b/NKC_WF/Scripts/pdf.js/web/images/shadow.png new file mode 100644 index 0000000..31d3bdb Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/shadow.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/texture.png b/NKC_WF/Scripts/pdf.js/web/images/texture.png new file mode 100644 index 0000000..12bae83 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/texture.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-bookmark.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-bookmark.png new file mode 100644 index 0000000..a187be6 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-bookmark.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-bookmark@2x.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-bookmark@2x.png new file mode 100644 index 0000000..4efbaa6 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-bookmark@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-download.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-download.png new file mode 100644 index 0000000..eaab35f Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-download.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-download@2x.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-download@2x.png new file mode 100644 index 0000000..896face Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-download@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-menuArrows.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-menuArrows.png new file mode 100644 index 0000000..e50ca4e Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-menuArrows.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-menuArrows@2x.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-menuArrows@2x.png new file mode 100644 index 0000000..f7570bc Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-menuArrows@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-openFile.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-openFile.png new file mode 100644 index 0000000..b5cf1bd Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-openFile.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-openFile@2x.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-openFile@2x.png new file mode 100644 index 0000000..91ab765 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-openFile@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-pageDown-rtl.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-pageDown-rtl.png new file mode 100644 index 0000000..1957f79 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-pageDown-rtl.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-pageDown-rtl@2x.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-pageDown-rtl@2x.png new file mode 100644 index 0000000..16ebcb8 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-pageDown-rtl@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-pageDown.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-pageDown.png new file mode 100644 index 0000000..8219ecf Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-pageDown.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-pageDown@2x.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-pageDown@2x.png new file mode 100644 index 0000000..758c01d Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-pageDown@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-pageUp-rtl.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-pageUp-rtl.png new file mode 100644 index 0000000..98e7ce4 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-pageUp-rtl.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-pageUp-rtl@2x.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-pageUp-rtl@2x.png new file mode 100644 index 0000000..a01b023 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-pageUp-rtl@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-pageUp.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-pageUp.png new file mode 100644 index 0000000..fb9daa3 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-pageUp.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-pageUp@2x.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-pageUp@2x.png new file mode 100644 index 0000000..a5cfd75 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-pageUp@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-presentationMode.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-presentationMode.png new file mode 100644 index 0000000..3ac2124 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-presentationMode.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-presentationMode@2x.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-presentationMode@2x.png new file mode 100644 index 0000000..cada9e7 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-presentationMode@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-print.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-print.png new file mode 100644 index 0000000..51275e5 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-print.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-print@2x.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-print@2x.png new file mode 100644 index 0000000..53d18da Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-print@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-search.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-search.png new file mode 100644 index 0000000..f9b7557 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-search.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-search@2x.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-search@2x.png new file mode 100644 index 0000000..456b133 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-search@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-secondaryToolbarToggle-rtl.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-secondaryToolbarToggle-rtl.png new file mode 100644 index 0000000..8437095 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-secondaryToolbarToggle-rtl.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-secondaryToolbarToggle-rtl@2x.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-secondaryToolbarToggle-rtl@2x.png new file mode 100644 index 0000000..9d9bfa4 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-secondaryToolbarToggle-rtl@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-secondaryToolbarToggle.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-secondaryToolbarToggle.png new file mode 100644 index 0000000..1f90f83 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-secondaryToolbarToggle.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-secondaryToolbarToggle@2x.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-secondaryToolbarToggle@2x.png new file mode 100644 index 0000000..b066fe5 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-secondaryToolbarToggle@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-sidebarToggle-rtl.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-sidebarToggle-rtl.png new file mode 100644 index 0000000..6f85ec0 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-sidebarToggle-rtl.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-sidebarToggle-rtl@2x.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-sidebarToggle-rtl@2x.png new file mode 100644 index 0000000..291e006 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-sidebarToggle-rtl@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-sidebarToggle.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-sidebarToggle.png new file mode 100644 index 0000000..025dc90 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-sidebarToggle.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-sidebarToggle@2x.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-sidebarToggle@2x.png new file mode 100644 index 0000000..7f834df Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-sidebarToggle@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-viewAttachments.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-viewAttachments.png new file mode 100644 index 0000000..fcd0b26 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-viewAttachments.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-viewAttachments@2x.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-viewAttachments@2x.png new file mode 100644 index 0000000..4a5e2b8 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-viewAttachments@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-viewOutline-rtl.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-viewOutline-rtl.png new file mode 100644 index 0000000..aaa9430 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-viewOutline-rtl.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-viewOutline-rtl@2x.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-viewOutline-rtl@2x.png new file mode 100644 index 0000000..3410f70 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-viewOutline-rtl@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-viewOutline.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-viewOutline.png new file mode 100644 index 0000000..976365a Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-viewOutline.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-viewOutline@2x.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-viewOutline@2x.png new file mode 100644 index 0000000..b6a197f Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-viewOutline@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-viewThumbnail.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-viewThumbnail.png new file mode 100644 index 0000000..584ba55 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-viewThumbnail.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-viewThumbnail@2x.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-viewThumbnail@2x.png new file mode 100644 index 0000000..a0208b4 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-viewThumbnail@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-zoomIn.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-zoomIn.png new file mode 100644 index 0000000..513d081 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-zoomIn.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-zoomIn@2x.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-zoomIn@2x.png new file mode 100644 index 0000000..d5d49d5 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-zoomIn@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-zoomOut.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-zoomOut.png new file mode 100644 index 0000000..156c26b Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-zoomOut.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-zoomOut@2x.png b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-zoomOut@2x.png new file mode 100644 index 0000000..959e191 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/toolbarButton-zoomOut@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/treeitem-collapsed-rtl.png b/NKC_WF/Scripts/pdf.js/web/images/treeitem-collapsed-rtl.png new file mode 100644 index 0000000..0496b35 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/treeitem-collapsed-rtl.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/treeitem-collapsed-rtl@2x.png b/NKC_WF/Scripts/pdf.js/web/images/treeitem-collapsed-rtl@2x.png new file mode 100644 index 0000000..6ad9ebc Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/treeitem-collapsed-rtl@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/treeitem-collapsed.png b/NKC_WF/Scripts/pdf.js/web/images/treeitem-collapsed.png new file mode 100644 index 0000000..06d4d37 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/treeitem-collapsed.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/treeitem-collapsed@2x.png b/NKC_WF/Scripts/pdf.js/web/images/treeitem-collapsed@2x.png new file mode 100644 index 0000000..eec1e58 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/treeitem-collapsed@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/treeitem-expanded.png b/NKC_WF/Scripts/pdf.js/web/images/treeitem-expanded.png new file mode 100644 index 0000000..c8d5573 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/treeitem-expanded.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/images/treeitem-expanded@2x.png b/NKC_WF/Scripts/pdf.js/web/images/treeitem-expanded@2x.png new file mode 100644 index 0000000..3b3b610 Binary files /dev/null and b/NKC_WF/Scripts/pdf.js/web/images/treeitem-expanded@2x.png differ diff --git a/NKC_WF/Scripts/pdf.js/web/locale/ach/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/ach/viewer.properties new file mode 100644 index 0000000..fd5c1d0 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/ach/viewer.properties @@ -0,0 +1,179 @@ +# 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 +previous_label=Mukato +next.title=Pot buk malubo +next_label=Malubo + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Pot buk +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=pi {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} me {{pagesCount}}) + +zoom_out.title=Jwik Matidi +zoom_out_label=Jwik Matidi +zoom_in.title=Kwot Madit +zoom_in_label=Kwot Madit +zoom.title=Kwoti +presentation_mode.title=Lokke i kit me tyer +presentation_mode_label=Kit me tyer +open_file.title=Yab Pwail +open_file_label=Yab +print.title=Go +print_label=Go +download.title=Gam +download_label=Gam +bookmark.title=Neno ma kombedi (lok onyo yab i dirica manyen) +bookmark_label=Neno ma kombedi + +# Secondary toolbar and context menu +tools.title=Gintic +tools_label=Gintic +first_page.title=Cit i pot buk mukwongo +first_page.label=Cit i pot buk mukwongo +first_page_label=Cit i pot buk mukwongo +last_page.title=Cit i pot buk magiko +last_page.label=Cit i pot buk magiko +last_page_label=Cit i pot buk magiko +page_rotate_cw.title=Wire i tung lacuc +page_rotate_cw.label=Wire i tung lacuc +page_rotate_cw_label=Wire i tung lacuc +page_rotate_ccw.title=Wire i tung lacam +page_rotate_ccw.label=Wire i tung lacam +page_rotate_ccw_label=Wire i tung lacam + +cursor_hand_tool.title=Cak gitic me cing + +# Document properties dialog box +document_properties.title=Jami me gin acoyaโ€ฆ +document_properties_label=Jami me gin acoyaโ€ฆ +document_properties_file_name=Nying pwail: +document_properties_file_size=Dit pa pwail: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Wiye: +document_properties_author=Ngat mucoyo: +document_properties_subject=Subjek: +document_properties_keywords=Lok mapire tek: +document_properties_creation_date=Nino dwe me cwec: +document_properties_modification_date=Nino dwe me yub: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Lacwec: +document_properties_producer=Layub PDF: +document_properties_version=Kit PDF: +document_properties_page_count=Kwan me pot buk: +document_properties_close=Lor + +print_progress_message=Yubo coc me agoyaโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Juki + +# 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=Lok gintic ma inget +toggle_sidebar_label=Lok gintic ma inget +document_outline_label=Pek pa gin acoya +attachments.title=Nyut twec +attachments_label=Twec +thumbs.title=Nyut cal +thumbs_label=Cal +findbar.title=Nong iye gin acoya +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=Cal me pot buk {{page}} + +# Find panel button title and messages +find_input.title=Nong +find_input.placeholder=Nong i dokumenโ€ฆ +find_previous.title=Nong timme pa lok mukato +find_previous_label=Mukato +find_next.title=Nong timme pa lok malubo +find_next_label=Malubo +find_highlight=Wer weng +find_match_case_label=Lok marwate +find_reached_top=Oo iwi gin acoya, omede ki i tere +find_reached_bottom=Oo i agiki me gin acoya, omede ki iwiye +find_not_found=Lok pe ononge + +# Error panel labels +error_more_info=Ngec Mukene +error_less_info=Ngec Manok +error_close=Lor +# 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=Kwena: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Can kikore {{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 otime i kare me nyuto pot buk. + +# Predefined zoom values +page_scale_width=Lac me iye pot buk +page_scale_fit=Porre me pot buk +page_scale_auto=Kwot pire kene +page_scale_actual=Dite kikome +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=Bal +loading_error=Bal otime kun cano PDF. +invalid_file_error=Pwail me PDF ma pe atir onyo obale woko. +missing_file_error=Pwail me PDF tye ka rem. +unexpected_response_error=Lagam mape kigeno pa lapok tic. + +# 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] +password_label=Ket mung me donyo me yabo pwail me PDF man. +password_invalid=Mung me donyo pe atir. Tim ber i tem doki. +password_ok=OK +password_cancel=Juki + +printing_not_supported=Ciko: Layeny ma pe teno goyo liweng. +printing_not_ready=Ciko: PDF pe ocane weng me agoya. +web_fonts_disabled=Kijuko dit pa coc me kakube woko: pe romo tic ki dit pa coc me PDF ma kiketo i kine. +document_colors_not_allowed=Pe ki yee ki gin acoya me PDF me tic ki rangi gi kengi: Kijuko woko โ€œYee pot buk me yero rangi mamegi kengiโ€ ki i layeny. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/af/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/af/viewer.properties new file mode 100644 index 0000000..8cf0880 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/af/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=Bladsy +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=van {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} van {{pagesCount}}) + +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 + +cursor_text_select_tool.title=Aktiveer gereedskap om teks te merk +cursor_text_select_tool_label=Teksmerkgereedskap +cursor_hand_tool.title=Aktiveer handjie +cursor_hand_tool_label=Handjie + +# Document properties dialog box +document_properties.title=Dokumenteienskappeโ€ฆ +document_properties_label=Dokumenteienskappeโ€ฆ +document_properties_file_name=Lรชernaam: +document_properties_file_size=Lรชergrootte: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} kG ({{size_b}} grepe) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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 + +print_progress_message=Berei tans dokument voor om te drukโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Kanselleer + +# 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_notification.title=Sypaneel aan/af (dokument bevat skema/aanhegsels) +toggle_sidebar_label=Sypaneel aan/af +document_outline.title=Wys dokumentskema (dubbelklik om alle items oop/toe te vou) +document_outline_label=Dokumentoorsig +attachments.title=Wys aanhegsels +attachments_label=Aanhegsels +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_input.title=Vind +find_input.placeholder=Soek in dokumentโ€ฆ +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 almal +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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# 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. +unexpected_response_error=Onverwagse antwoord van bediener. + +# 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_not_allowed=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/NKC_WF/Scripts/pdf.js/web/locale/ak/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/ak/viewer.properties new file mode 100644 index 0000000..25dc62e --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/ak/viewer.properties @@ -0,0 +1,130 @@ +# 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.title): The tooltip for the pageNumber input. +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. + +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 +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_title=Ti asษ›m: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. + +# 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 +document_outline_label=Dษ”komษ›nt bษ”bea +thumbs.title=Kyerษ› mfoniwaa +thumbs_label=Mfoniwaa +findbar.title=Hu wษ” dษ”komษ›nt no mu + +# 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_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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. + +# 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 + +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_not_allowed=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/NKC_WF/Scripts/pdf.js/web/locale/an/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/an/viewer.properties new file mode 100644 index 0000000..3576134 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/an/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=Pachina +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=de {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} de {{pagesCount}}) + +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 + +cursor_text_select_tool.title=Activar la ferramienta de selecciรณn de texto +cursor_text_select_tool_label=Ferramienta de selecciรณn de texto +cursor_hand_tool.title=Activar la ferramienta man +cursor_hand_tool_label=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: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in 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: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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 + +print_progress_message=Se ye preparando la documentaciรณn pa imprentarโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Cancelar + +# 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_notification.title=Cambiar barra lateral (lo documento contiene esquema/adchuntos) +toggle_sidebar_label=Amostrar a barra lateral +document_outline.title=Amostrar esquema d'o documento (fer doble clic pa expandir/compactar totz los items) +document_outline_label=Esquema d'o documento +attachments.title=Amostrar os adchuntos +attachments_label=Adchuntos +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_input.title=Trobar +find_input.placeholder=Trobar en o documentoโ€ฆ +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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# 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. +unexpected_response_error=Respuesta a lo servicio inasperada. + +# 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_not_allowed=Los documentos PDF no pueden fer servir las suyas propias colors: 'Permitir que as pachinas triguen as suyas propias colors' ye desactivau en o navegador. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/ar/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/ar/viewer.properties new file mode 100644 index 0000000..93dbc9b --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/ar/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=ุตูุญุฉ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=ู…ู† {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} ู…ู† {{pagesCount}}) + +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=ุฃุฏุฑ ุจุนูƒุณ ุงุชุฌุงู‡ ุนู‚ุงุฑุจ ุงู„ุณุงุนุฉ + +cursor_text_select_tool.title=ูุนู‘ู„ ุฃุฏุงุฉ ุงุฎุชูŠุงุฑ ุงู„ู†ุต +cursor_text_select_tool_label=ุฃุฏุงุฉ ุงุฎุชูŠุงุฑ ุงู„ู†ุต +cursor_hand_tool.title=ูุนู‘ู„ ุฃุฏุงุฉ ุงู„ูŠุฏ +cursor_hand_tool_label=ุฃุฏุงุฉ ุงู„ูŠุฏ + +# Document properties dialog box +document_properties.title=ุฎุตุงุฆุต ุงู„ู…ุณุชู†ุฏโ€ฆ +document_properties_label=ุฎุตุงุฆุต ุงู„ู…ุณุชู†ุฏโ€ฆ +document_properties_file_name=ุงุณู… ุงู„ู…ู„ู: +document_properties_file_size=ุญุฌู… ุงู„ู…ู„ู: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} ูƒ.ุจุงูŠุช ({{size_b}} ุจุงูŠุช) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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=ุชุงุฑูŠุฎ ุงู„ุชุนุฏูŠู„: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}ุŒ {{time}} +document_properties_creator=ุงู„ู…ู†ุดุฆ: +document_properties_producer=ู…ู†ุชุฌ PDF: +document_properties_version=ุฅุตุฏุงุฑุฉ PDF: +document_properties_page_count=ุนุฏุฏ ุงู„ุตูุญุงุช: +document_properties_close=ุฃุบู„ู‚ + +print_progress_message=ูŠูุญุถู‘ุฑ ุงู„ู…ุณุชู†ุฏ ู„ู„ุทุจุงุนุฉโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}ูช +print_progress_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_notification.title=ุจุฏู‘ู„ ุธู‡ูˆุฑ ุงู„ุดุฑูŠุท ุงู„ุฌุงู†ุจูŠ (ูŠุญุชูˆูŠ ุงู„ู…ุณุชู†ุฏ ุนู„ู‰ ู…ุฎุทุท ุฃูˆ ู…ุฑูู‚ุงุช) +toggle_sidebar_label=ุจุฏู‘ู„ ุธู‡ูˆุฑ ุงู„ุดุฑูŠุท ุงู„ุฌุงู†ุจูŠ +document_outline.title=ุงุนุฑุถ ูู‡ุฑุณ ุงู„ู…ุณุชู†ุฏ (ู†ู‚ุฑ ู…ุฒุฏูˆุฌ ู„ุชู…ุฏูŠุฏ ุฃูˆ ุชู‚ู„ูŠุต ูƒู„ ุงู„ุนู†ุงุตุฑ) +document_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_input.title=ุงุจุญุซ +find_input.placeholder=ุงุจุญุซ ููŠ ุงู„ู…ุณุชู†ุฏโ€ฆ +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}}) +# 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=ุงู„ุญุฌู… ุงู„ุญู‚ูŠู‚ูŠ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}ูช + +# Loading indicator messages +loading_error_indicator=ุนุทู„ +loading_error=ุญุฏุซ ุนุทู„ ุฃุซู†ุงุก ุชุญู…ูŠู„ ู…ู„ู PDF. +invalid_file_error=ู…ู„ู PDF ุชุงู„ู ุฃูˆ ุบูŠุฑ ุตุญูŠุญ. +missing_file_error=ู…ู„ู PDF ุบูŠุฑ ู…ูˆุฌูˆุฏ. +unexpected_response_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=ุชุญุฐูŠุฑ: ู…ู„ู PDF ู„ู… ูŠูุญู…ู‘ู„ ูƒุงู…ู„ู‹ุง ู„ู„ุทุจุงุนุฉ. +web_fonts_disabled=ุฎุทูˆุท ุงู„ูˆุจ ู…ูุนุทู‘ู„ุฉ: ุชุนุฐู‘ุฑ ุงุณุชุฎุฏุงู… ุฎุทูˆุท PDF ุงู„ู…ูุถู…ู‘ู†ุฉ. +document_colors_not_allowed=ู„ูŠุณ ู…ุณู…ูˆุญู‹ุง ู„ู…ู„ูุงุช PDF ุจุงุณุชุฎุฏุงู… ุฃู„ูˆุงู†ู‡ุง ุงู„ุฎุงุตุฉ: ุฎูŠุงุฑ โ€ุงุณู…ุญ ู„ู„ุตูุญุงุช ุจุงุฎุชูŠุงุฑ ุฃู„ูˆุงู†ู‡ุง ุงู„ุฎุงุตุฉโ€œ ู„ูŠุณ ู…ููุนู‘ู„ู‹ุง ููŠ ุงู„ู…ุชุตูุญ. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/as/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/as/viewer.properties new file mode 100644 index 0000000..ea3ecc7 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/as/viewer.properties @@ -0,0 +1,167 @@ +# 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.title): The tooltip for the pageNumber input. +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. + +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=เฆฆเฆธเงเฆคเฆพเฆฌเง‡เฆœเงฐ เฆฌเงˆเฆถเฆฟเฆทเงเฆŸเงเฆฏเฆธเฆฎเง‚เฆนโ€ฆ +document_properties_label=เฆฆเฆธเงเฆคเฆพเฆฌเง‡เฆœเงฐ เฆฌเงˆเฆถเฆฟเฆทเงเฆŸเงเฆฏเฆธเฆฎเง‚เฆนโ€ฆ +document_properties_file_name=เฆซเฆพเฆ‡เฆฒ เฆจเฆพเฆฎ: +document_properties_file_size=เฆซเฆพเฆ‡เฆฒเงฐ เฆ†เฆ•เฆพเงฐ: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in 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=เฆชเงฐเฆฟเฆฌเงฐเงเฆคเฆจเงฐ เฆคเฆพเงฐเฆฟเฆ–: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=เฆธเงƒเฆทเงเฆŸเฆฟเฆ•เงฐเงเฆคเฆพ: +document_properties_producer=PDF เฆ‰เงŽเฆชเฆพเฆฆเฆ•: +document_properties_version=PDF เฆธเฆ‚เฆธเงเฆ•เงฐเฆฃ: +document_properties_page_count=เฆชเงƒเฆทเงเฆ เฆพเงฐ เฆ—เฆฃเฆจเฆพ: +document_properties_close=เฆฌเฆจเงเฆง เฆ•เงฐเฆ• + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. + +# 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=เฆ•เฆพเฆทเฆฌเฆพเงฐ เฆŸเฆ—เฆฒ เฆ•เงฐเฆ• +document_outline_label=เฆฆเฆธเงเฆคเฆพเฆฌเง‡เฆœ เฆ†เฆ‰เฆŸเฆฒเฆพเฆ‡เฆจ +attachments.title=เฆเฆŸเฆพเฆšเฆฎเง‡เฆจเงเฆŸเฆธเฆฎเง‚เฆน เฆฆเง‡เฆ–เงเงฑเฆพเฆ“เฆ• +attachments_label=เฆเฆŸเฆพเฆšเฆฎเง‡เฆจเงเฆŸเฆธเฆฎเง‚เฆน +thumbs.title=เฆฅเฆพเฆฎเงเฆฌเฆจเง‡เฆ‡เฆฒเฆธเฆฎเง‚เฆน เฆฆเง‡เฆ–เงเงฑเฆพเฆ“เฆ• +thumbs_label=เฆฅเฆพเฆฎเงเฆฌเฆจเง‡เฆ‡เฆฒเฆธเฆฎเง‚เฆน +findbar.title=เฆฆเฆธเงเฆคเฆพเฆฌเง‡เฆœเฆค เฆธเฆจเงเฆงเฆพเฆจ เฆ•เงฐเฆ• + +# 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_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=เฆชเงเงฐเฆ•เงƒเฆค เฆ†เฆ•เฆพเงฐ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. + +# Loading indicator messages +loading_error_indicator=เฆคเงเงฐเงเฆŸเฆฟ +loading_error=PDF เฆฒ'เฆก เฆ•เงฐเง‹เฆคเง‡ เฆเฆŸเฆพ เฆคเงเงฐเงเฆŸเฆฟ เฆฆเง‡เฆ–เฆพ เฆฆเฆฟเฆฒเง‡เฅค +invalid_file_error=เฆ…เฆฌเงˆเฆง เฆ…เฆฅเฆฌเฆพ เฆ•เงเฆทเฆคเฆฟเฆ—เงเงฐเฆธเงเฆฅ PDF fileเฅค +missing_file_error=เฆธเฆจเงเฆงเฆพเฆจเฆนเฆฟเฆจ PDF เฆซเฆพเฆ‡เฆฒเฅค +unexpected_response_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=เฆเฆ‡ PDF เฆซเฆพเฆ‡เฆฒ เฆ–เง‹เฆฒเฆฟเฆฌเฆฒเงˆ เฆชเฆพเฆ›เงฑเงฐเงเฆก เฆธเงเฆฎเงเงฑเฆพเฆ“เฆ•เฅค +password_invalid=เฆ…เฆฌเงˆเฆง เฆชเฆพเฆ›เงฑเงฐเงเฆกเฅค เฆ…เฆจเงเฆ—เงเงฐเฆน เฆ•เงฐเฆฟ เฆชเงเฆจเงฐ เฆšเง‡เฆทเงเฆŸเฆพ เฆ•เงฐเฆ•เฅค +password_ok=เฆ เฆฟเฆ• เฆ†เฆ›เง‡ + +printing_not_supported=เฆธเฆคเงฐเงเฆ•เฆฌเฆพเงฐเงเฆคเฆพ: เฆชเงเงฐเฆฟเฆจเงเฆŸเฆฟเฆ‚ เฆเฆ‡ เฆฌเงเงฐเฆพเฆ‰เฆ›เฆพเงฐ เฆฆเงเฆฌเฆพเงฐเฆพ เฆธเฆฎเงเฆชเง‚เงฐเงเฆฃเฆญเฆพเงฑเง‡ เฆธเฆฎเงฐเงเฆฅเฆฟเฆค เฆจเฆนเงŸเฅค +printing_not_ready=เฆธเฆคเงฐเงเฆ•เฆฌเฆพเงฐเงเฆคเฆพ: PDF เฆชเงเงฐเฆฟเฆจเงเฆŸเฆฟเฆ‚เงฐ เฆฌเฆพเฆฌเง‡ เฆธเฆฎเงเฆชเง‚เงฐเงเฆฃเฆญเฆพเงฑเง‡ เฆฒ'เฆกเง‡เฆก เฆจเฆนเงŸเฅค +web_fonts_disabled=เงฑเง‡เฆฌ เฆซเฆจเงเฆŸเฆธเฆฎเง‚เฆน เฆ…เฆธเฆพเฆฎเงฐเงเฆฅเฆฌเฆพเฆจ เฆ•เงฐเฆพ เฆ†เฆ›เง‡: เฆ…เฆจเงเฆคเงฐเงเฆญเงเฆ•เงเฆค PDF เฆซเฆจเงเฆŸเฆธเฆฎเง‚เฆน เฆฌเงเฆฏเงฑเฆนเฆพเงฐ เฆ•เงฐเฆฟเฆฌเฆฒเง‡ เฆ…เฆ•เงเฆทเฆฎเฅค +document_colors_not_allowed=PDF เฆฆเฆธเงเฆคเฆพเฆฌเง‡เฆœเฆธเฆฎเง‚เฆนเงฐ เฆธเฆฟเฆนเฆคเงฐ เฆจเฆฟเฆœเฆธเงเฆฌ เงฐเฆ™ เฆฌเงเฆฏเงฑเฆนเฆพเงฐ เฆ•เงฐเฆพเงฐ เฆ…เฆจเงเฆฎเฆคเฆฟ เฆจเฆพเฆ‡: เฆฌเงเงฐเฆพเฆ‰เฆ›เฆพเงฐเฆค 'เฆชเงƒเฆทเงเฆ เฆพเฆธเฆฎเง‚เฆนเฆ• เฆธเฆฟเฆนเฆคเงฐ เฆจเฆฟเฆœเฆธเงเฆฌ เงฐเฆ™ เฆจเฆฟเงฐเงเฆฌเฆพเฆšเฆจ เฆ•เงฐเฆพเงฐ เฆ…เฆจเงเฆฎเฆคเฆฟ เฆฆเฆฟเงŸเฆ•' เฆ…เฆธเฆพเฆฎเงฐเงเฆฅเฆฌเฆพเฆจ เฆ•เงฐเฆพ เฆ†เฆ›เง‡เฅค diff --git a/NKC_WF/Scripts/pdf.js/web/locale/ast/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/ast/viewer.properties new file mode 100644 index 0000000..e57fc4a --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/ast/viewer.properties @@ -0,0 +1,177 @@ +# 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รกxina anterior +previous_label=Anterior +next.title=Pรกxina siguiente +next_label=Siguiente + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Pรกxina +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=de {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} de {{pagesCount}}) + +zoom_out.title=Reducir +zoom_out_label=Reducir +zoom_in.title=Aumentar +zoom_in_label=Aumentar +zoom.title=Tamaรฑu +presentation_mode.title= +presentation_mode_label= +open_file.title=Abrir ficheru +open_file_label=Abrir +print.title=Imprentar +print_label=Imprentar +download.title=Descargar +download_label=Descargar +bookmark.title=Vista actual (copiar o abrir nuna nueva ventana) +bookmark_label=Vista actual + +# Secondary toolbar and context menu +tools.title=Ferramientes +tools_label=Ferramientes +first_page.title=Dir a la primer pรกxina +first_page.label=Dir a la primer pรกxina +first_page_label=Dir a la primer pรกxina +last_page.title=Dir a la postrer pรกxina +last_page.label=Dir a la cabera pรกxina +last_page_label=Dir a la postrer pรกxina +page_rotate_cw.title=Xirar en sen horariu +page_rotate_cw.label= +page_rotate_cw_label=Xirar en sen horariu +page_rotate_ccw.title=Xirar en sen antihorariu +page_rotate_ccw.label= +page_rotate_ccw_label=Xirar en sen antihorariu + + +# Document properties dialog box +document_properties.title=Propiedaes del documentuโ€ฆ +document_properties_label=Propiedaes del documentuโ€ฆ +document_properties_file_name=Nome de ficheru: +document_properties_file_size=Tamaรฑu de ficheru: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Tรญtulu: +document_properties_author=Autor: +document_properties_subject=Asuntu: +document_properties_keywords=Pallabres clave: +document_properties_creation_date=Data de creaciรณn: +document_properties_modification_date=Data de modificaciรณn: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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รบmberu de pรกxines: +document_properties_close=Zarrar + +print_progress_message=Tresnando documentu pa imprentarโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Encaboxar + +# 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=Camudar barra llateral +toggle_sidebar_label=Camudar barra llateral +document_outline.title=Amosar esquema del documentu (duble clic pa espander/contrayer tolos elementos) +document_outline_label=Esquema del documentu +attachments.title=Amosar axuntos +attachments_label=Axuntos +thumbs.title=Amosar miniatures +thumbs_label=Miniatures +findbar.title=Guetar nel documentu +findbar_label=Guetar + +# 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รกxina {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatura de la pรกxina {{page}} + +# Find panel button title and messages +find_previous.title=Alcontrar l'anterior apaiciรณn de la fras +find_previous_label=Anterior +find_next.title=Alcontrar la siguiente apaiciรณn d'esta fras +find_next_label=Siguiente +find_highlight=Remarcar toos +find_match_case_label=Coincidencia de mayรบs./minรบs. +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 +find_not_found=Frase non atopada + +# Error panel labels +error_more_info=Mรกs 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=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=Ficheru: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Llinia: {{line}} +rendering_error=Hebo un fallu al renderizar la pรกxina. + +# Predefined zoom values +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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=Fallu +loading_error=Hebo un fallu al cargar el PDF. +invalid_file_error=Ficheru PDF invรกlidu o corruptu. +missing_file_error=Nun hai ficheru PDF. +unexpected_response_error=Rempuesta inesperada del sirvidor. + +# 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=Introduz la contraseรฑa p'abrir esti ficheru PDF +password_invalid=Contraseรฑa non vรกlida. Vuelvi a intentalo. +password_ok=Aceutar +password_cancel=Encaboxar + +printing_not_supported=Alvertencia: La imprentaciรณn entรก nun ta sofitada dafechu nesti restolador. +printing_not_ready=Avisu: Esti PDF nun se cargรณ completamente pa poder imprentase. +web_fonts_disabled=Les fontes web tรกn desactivaes: ye imposible usar les fontes PDF embebรญes. +document_colors_not_allowed=Los documentos PDF nun tienen permisu pa usar les sos colores: ยซPermitir que les pรกxines escueyan les sos coloresยป ta desactivao nel restolador. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/az/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/az/viewer.properties new file mode 100644 index 0000000..be878d3 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/az/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=Sษ™hifษ™ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=/ {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} / {{pagesCount}}) + +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 + +cursor_text_select_tool.title=Yazฤฑ seรงmษ™ alษ™tini aktivlษ™ลŸdir +cursor_text_select_tool_label=Yazฤฑ seรงmษ™ alษ™ti +cursor_hand_tool.title=ฦl alษ™tini aktivlษ™ลŸdir +cursor_hand_tool_label=ฦl alษ™ti + +# Document properties dialog box +document_properties.title=Sษ™nษ™d xรผsusiyyษ™tlษ™riโ€ฆ +document_properties_label=Sษ™nษ™d xรผsusiyyษ™tlษ™riโ€ฆ +document_properties_file_name=Fayl adฤฑ: +document_properties_file_size=Fayl รถlรงรผsรผ: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bayt) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bayt) +document_properties_title=BaลŸlฤฑk: +document_properties_author=Mรผษ™llif: +document_properties_subject=Mรถvzu: +document_properties_keywords=Aรงar sรถzlษ™r: +document_properties_creation_date=YaradฤฑlฤฑลŸ Tarixi : +document_properties_modification_date=Dษ™yiลŸdirilmษ™ Tarixi : +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Yaradan: +document_properties_producer=PDF yaradฤฑcฤฑsฤฑ: +document_properties_version=PDF versiyasฤฑ: +document_properties_page_count=Sษ™hifษ™ sayฤฑ: +document_properties_close=Qapat + +print_progress_message=Sษ™nษ™d รงap รผรงรผn hazฤฑrlanฤฑrโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Lษ™ฤŸv et + +# 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_notification.title=Yan paneli รงevir (sษ™nษ™ddษ™ icmal/baฤŸlama var) +toggle_sidebar_label=Yan Paneli Aรง/BaฤŸla +document_outline.title=Sษ™nษ™din eskizini gรถstษ™r (bรผtรผn bษ™ndlษ™ri aรงmaq/yฤฑฤŸmaq รผรงรผn iki dษ™fษ™ kliklษ™yin) +document_outline_label=Sษ™nษ™d strukturu +attachments.title=BaฤŸlamalarฤฑ gรถstษ™r +attachments_label=BaฤŸlamalar +thumbs.title=Kiรงik ลŸษ™killษ™ri gรถstษ™r +thumbs_label=Kiรงik ลŸษ™killษ™r +findbar.title=Sษ™nษ™ddษ™ Tap +findbar_label=Tap + +# 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_input.title=Tap +find_input.placeholder=Sษ™nษ™ddษ™ 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 +error_close=Qapat +# 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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# 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. +unexpected_response_error=Gรถzlษ™nilmษ™z server cavabฤฑ. + +# 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=Tamam +password_cancel=Lษ™ฤŸv et + +printing_not_supported=Xษ™bษ™rdarlฤฑq: ร‡ap bu sษ™yyah 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=Web ลžriftlษ™r sรถndรผrรผlรผb: yerlษ™ลŸdirilmiลŸ PDF ลŸriftlษ™rini istifadษ™ etmษ™k mรผmkรผn deyil. +document_colors_not_allowed=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ษ™ verโ€mษ™ sษ™yyahda sรถndรผrรผlรผb. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/be/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/be/viewer.properties new file mode 100644 index 0000000..f0e3fa2 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/be/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=ะกั‚ะฐั€ะพะฝะบะฐ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=ะท {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} ะท {{pagesCount}}) + +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=ะŸะฐะฒัั€ะฝัƒั†ัŒ ััƒะฟั€ะฐั†ัŒ ัะพะฝั†ะฐ + +cursor_text_select_tool.title=ะฃะบะปัŽั‡ั‹ั†ัŒ ะฟั€ั‹ะปะฐะดัƒ ะฒั‹ะฑะฐั€ัƒ ั‚ัะบัั‚ัƒ +cursor_text_select_tool_label=ะŸั€ั‹ะปะฐะดะฐ ะฒั‹ะฑะฐั€ัƒ ั‚ัะบัั‚ัƒ +cursor_hand_tool.title=ะฃะบะปัŽั‡ั‹ั†ัŒ ั€ัƒั‡ะฝัƒัŽ ะฟั€ั‹ะปะฐะดัƒ +cursor_hand_tool_label=ะ ัƒั‡ะฝะฐั ะฟั€ั‹ะปะฐะดะฐ + +# Document properties dialog box +document_properties.title=ะฃะปะฐัั†ั–ะฒะฐัั†ั– ะดะฐะบัƒะผะตะฝั‚ะฐโ€ฆ +document_properties_label=ะฃะปะฐัั†ั–ะฒะฐัั†ั– ะดะฐะบัƒะผะตะฝั‚ะฐโ€ฆ +document_properties_file_name=ะะฐะทะฒะฐ ั„ะฐะนะปะฐ: +document_properties_file_size=ะŸะฐะผะตั€ ั„ะฐะนะปะฐ: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} ะšะ‘ ({{size_b}} ะฑะฐะนั‚) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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=ะ”ะฐั‚ะฐ ะทะผัะฝะตะฝะฝั: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=ะกั‚ะฒะฐั€ะฐะปัŒะฝั–ะบ: +document_properties_producer=ะ’ั‹ั€ะฐะฑะฝั–ะบ PDF: +document_properties_version=ะ’ะตั€ัั–ั PDF: +document_properties_page_count=ะšะพะปัŒะบะฐัั†ัŒ ัั‚ะฐั€ะพะฝะฐะบ: +document_properties_close=ะ—ะฐะบั€ั‹ั†ัŒ + +print_progress_message=ะŸะฐะดั€ั‹ั…ั‚ะพัžะบะฐ ะดะฐะบัƒะผะตะฝั‚ะฐ ะดะฐ ะดั€ัƒะบัƒโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_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_notification.title=ะŸะฐะบะฐะทะฐั†ัŒ/ัั…ะฐะฒะฐั†ัŒ ะฑะฐะบะฐะฒัƒัŽ ะฟะฐะฝัะปัŒ (ะดะฐะบัƒะผะตะฝั‚ ะผะฐะต ะทะผะตัั‚/ัƒะบะปะฐะดะฐะฝะฝั–) +toggle_sidebar_label=ะŸะฐะบะฐะทะฐั†ัŒ/ัั…ะฐะฒะฐั†ัŒ ะฑะฐะบะฐะฒัƒัŽ ะฟะฐะฝัะปัŒ +document_outline.title=ะŸะฐะบะฐะทะฐั†ัŒ ัั‚ั€ัƒะบั‚ัƒั€ัƒ ะดะฐะบัƒะผะตะฝั‚ะฐ (ะดะฒะฐะนะฝะฐั ะฟัั‚ั€ั‹ั‡ะบะฐ, ะบะฐะฑ ั€ะฐะทะณะฐั€ะฝัƒั†ัŒ /ะทะณะฐั€ะฝัƒั†ัŒ ัƒัะต ัะปะตะผะตะฝั‚ั‹) +document_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_input.title=ะจัƒะบะฐั†ัŒ +find_input.placeholder=ะจัƒะบะฐั†ัŒ ัƒ ะดะฐะบัƒะผะตะฝั†ะตโ€ฆ +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}}) +# 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=ะกะฐะฟั€ะฐัžะดะฝั‹ ะฟะฐะผะตั€ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=ะŸะฐะผั‹ะปะบะฐ +loading_error=ะ—ะดะฐั€ั‹ะปะฐัั ะฟะฐะผั‹ะปะบะฐ ะฟะฐะดั‡ะฐั ะทะฐะณั€ัƒะทะบั– PDF. +invalid_file_error=ะััะฟั€ะฐัžะฝั‹ ะฐะฑะพ ะฟะฐัˆะบะพะดะถะฐะฝั‹ ั„ะฐะนะป PDF. +missing_file_error=ะะดััƒั‚ะฝั‹ ั„ะฐะนะป PDF. +unexpected_response_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=ะฃะฒัะดะทั–ั†ะต ะฟะฐั€ะพะปัŒ, ะบะฐะฑ ะฐะดะบั€ั‹ั†ัŒ ะณัั‚ั‹ ั„ะฐะนะป PDF. +password_invalid=ะัะดะทะตะนัะฝั‹ ะฟะฐั€ะพะปัŒ. ะŸะฐัะฟั€ะฐะฑัƒะนั†ะต ะทะฝะพัž. +password_ok=ะ”ะพะฑั€ะฐ +password_cancel=ะกะบะฐัะฐะฒะฐั†ัŒ + +printing_not_supported=ะŸะฐะฟัั€ัะดะถะฐะฝะฝะต: ะดั€ัƒะบ ะฝะต ะฟะฐะดั‚ั€ั‹ะผะปั–ะฒะฐะตั†ั†ะฐ ั†ะฐะปะบะฐะผ ะณัั‚ั‹ะผ ะฑั€ะฐัžะทะตั€ะฐะผ. +printing_not_ready=ะฃะฒะฐะณะฐ: PDF ะฝะต ัั†ัะณะฝัƒั‚ั‹ ั†ะฐะปะบะฐะผ ะดะปั ะดั€ัƒะบะฐะฒะฐะฝะฝั. +web_fonts_disabled=ะจั€ั‹ั„ั‚ั‹ ะกะตั†ั–ะฒะฐ ะทะฐะฑะฐั€ะพะฝะตะฝั‹: ะฝะตะผะฐะณั‡ั‹ะผะฐ ัžะถั‹ะฒะฐั†ัŒ ัƒะบะปะฐะดะทะตะฝั‹ั ัˆั€ั‹ั„ั‚ั‹ PDF. +document_colors_not_allowed=PDF-ะดะฐะบัƒะผะตะฝั‚ะฐะผ ะฝะต ะดะฐะทะฒะพะปะตะฝะฐ ะฒั‹ะบะฐั€ั‹ัั‚ะพัžะฒะฐั†ัŒ ัะฒะฐะต ะบะพะปะตั€ั‹: ัƒ ะฑั€ะฐัžะทะตั€ั‹ ะฐะดะบะปัŽั‡ะฐะฝั‹ ะฟะฐั€ะฐะผะตั‚ั€ "ะ”ะฐะทะฒะพะปั–ั†ัŒ ะฒัะฑ-ัะฐะนั‚ะฐะผ ะฒั‹ะบะฐั€ั‹ัั‚ะพัžะฒะฐั†ัŒ ัะฒะฐะต ะบะพะปะตั€ั‹". diff --git a/NKC_WF/Scripts/pdf.js/web/locale/bg/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/bg/viewer.properties new file mode 100644 index 0000000..a6928a8 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/bg/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=ะกั‚ั€ะฐะฝะธั†ะฐ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=ะพั‚ {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} ะพั‚ {{pagesCount}}) + +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=ะ—ะฐะฒัŠั€ั‚ะฐะฝะต ะพะฑั€ะฐั‚ะฝะพ ะฝะฐ ั‡ะฐัะพะฒะฝะธะบะพะฒะฐั‚ะฐ ัั‚ั€ะตะปะบะฐ + +cursor_text_select_tool.title=ะ’ะบะปัŽั‡ะฒะฐะฝะต ะฝะฐ ะธะฝัั‚ั€ัƒะผะตะฝั‚ะฐ ะทะฐ ะธะทะฑะพั€ ะฝะฐ ั‚ะตะบัั‚ +cursor_text_select_tool_label=ะ˜ะฝัั‚ั€ัƒะผะตะฝั‚ ะทะฐ ะธะทะฑะพั€ ะฝะฐ ั‚ะตะบัั‚ +cursor_hand_tool.title=ะ’ะบะปัŽั‡ะฒะฐะฝะต ะฝะฐ ะธะฝัั‚ั€ัƒะผะตะฝั‚ะฐ ั€ัŠะบะฐ +cursor_hand_tool_label=ะ˜ะฝัั‚ั€ัƒะผะตะฝั‚ ั€ัŠะบะฐ + +# Document properties dialog box +document_properties.title=ะกะฒะพะนัั‚ะฒะฐ ะฝะฐ ะดะพะบัƒะผะตะฝั‚ะฐโ€ฆ +document_properties_label=ะกะฒะพะนัั‚ะฒะฐ ะฝะฐ ะดะพะบัƒะผะตะฝั‚ะฐโ€ฆ +document_properties_file_name=ะ˜ะผะต ะฝะฐ ั„ะฐะนะป: +document_properties_file_size=ะ“ะพะปะตะผะธะฝะฐ ะฝะฐ ั„ะฐะนะป: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} ะšะ‘ ({{size_b}} ะฑะฐะนั‚ะฐ) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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=ะ”ะฐั‚ะฐ ะฝะฐ ะฟั€ะพะผัะฝะฐ: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=ะกัŠะทะดะฐั‚ะตะป: +document_properties_producer=PDF ะฟั€ะพะธะทะฒะตะดะตะฝ ะพั‚: +document_properties_version=PDF ะฒะตั€ัะธั: +document_properties_page_count=ะ‘ั€ะพะน ัั‚ั€ะฐะฝะธั†ะธ: +document_properties_close=ะ—ะฐั‚ะฒะฐั€ัะฝะต + +print_progress_message=ะŸะพะดะณะพั‚ะฒัะฝะต ะฝะฐ ะดะพะบัƒะผะตะฝั‚ะฐ ะทะฐ ะพั‚ะฟะตั‡ะฐั‚ะฒะฐะฝะตโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_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_notification.title=ะŸั€ะตะฒะบะปัŽั‡ะฒะฐะฝะต ะฝะฐ ัั‚ั€ะฐะฝะธั‡ะฝะฐั‚ะฐ ะปะตะฝั‚ะฐ (ะดะพะบัƒะผะตะฝั‚ะธ ััŠั ัั‚ั€ัƒะบั‚ัƒั€ะฐ/ะฟั€ะธะบะฐั‡ะตะฝะธ ั„ะฐะนะปะพะฒะต) +toggle_sidebar_label=ะŸั€ะตะฒะบะปัŽั‡ะฒะฐะฝะต ะฝะฐ ัั‚ั€ะฐะฝะธั‡ะฝะฐั‚ะฐ ะปะตะฝั‚ะฐ +document_outline.title=ะŸะพะบะฐะทะฒะฐะฝะต ะฝะฐ ัั‚ั€ัƒะบั‚ัƒั€ะฐั‚ะฐ ะฝะฐ ะดะพะบัƒะผะตะฝั‚ะฐ (ะดะฒัƒะบั€ะฐั‚ะฝะพ ั‰ั€ะฐะบะฒะฐะฝะต ะทะฐ ัะฒะธะฒะฐะฝะต/ั€ะฐะทะณัŠะฒะฐะฝะต ะฝะฐ ะฒัะธั‡ะบะพ) +document_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_input.title=ะขัŠั€ัะตะฝะต +find_input.placeholder=ะขัŠั€ัะตะฝะต ะฒ ะดะพะบัƒะผะตะฝั‚ะฐโ€ฆ +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=ะ”ะตะนัั‚ะฒะธั‚ะตะปะตะฝ ั€ะฐะทะผะตั€ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=ะ“ั€ะตัˆะบะฐ +loading_error=ะŸะพะปัƒั‡ะธ ัะต ะณั€ะตัˆะบะฐ ะฟั€ะธ ะทะฐั€ะตะถะดะฐะฝะต ะฝะฐ PDF-ะฐ. +invalid_file_error=ะะตะฒะฐะปะธะดะตะฝ ะธะปะธ ะฟะพะฒั€ะตะดะตะฝ PDF ั„ะฐะนะป. +missing_file_error=ะ›ะธะฟัะฒะฐั‰ PDF ั„ะฐะนะป. +unexpected_response_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=ะ’ัŠะฒะตะดะตั‚ะต ะฟะฐั€ะพะปะฐ ะทะฐ ะพั‚ะฒะฐั€ัะฝะต ะฝะฐ ั‚ะพะทะธ PDF ั„ะฐะนะป. +password_invalid=ะะตะฒะฐะปะธะดะฝะฐ ะฟะฐั€ะพะปะฐ. ะœะพะปั, ะพะฟะธั‚ะฐะนั‚ะต ะพั‚ะฝะพะฒะพ. +password_ok=ะ”ะพะฑั€ะต +password_cancel=ะžั‚ะบะฐะท + +printing_not_supported=ะ’ะฝะธะผะฐะฝะธะต: ะขะพะทะธ ะฑั€ะฐัƒะทัŠั€ ะฝัะผะฐ ะฟัŠะปะฝะฐ ะฟะพะดะดั€ัŠะถะบะฐ ะฝะฐ ะพั‚ะฟะตั‡ะฐั‚ะฒะฐะฝะต. +printing_not_ready=ะ’ะฝะธะผะฐะฝะธะต: ะขะพะทะธ PDF ั„ะฐะนะป ะฝะต ะต ะฝะฐะฟัŠะปะฝะพ ะทะฐั€ะตะดะตะฝ ะทะฐ ะฟะตั‡ะฐั‚. +web_fonts_disabled=ะฃะตะฑ-ัˆั€ะธั„ั‚ะพะฒะตั‚ะต ัะฐ ะทะฐะฑั€ะฐะฝะตะฝะธ: ั€ะฐะทั€ะตัˆะฐะฒะฐะฝะต ะฝะฐ ะธะทะฟะพะปะทะฒะฐะฝะตั‚ะพ ะฝะฐ ะฒะณั€ะฐะดะตะฝะธั‚ะต PDF ัˆั€ะธั„ั‚ะพะฒะต. +document_colors_not_allowed=ะะฐ PDF-ะดะพะบัƒะผะตะฝั‚ะธั‚ะต ะฝะต ะต ั€ะฐะทั€ะตัˆะตะฝะพ ะดะฐ ะธะทะฟะพะปะทะฒะฐั‚ ัะพะฑัั‚ะฒะตะฝะธ ั†ะฒะตั‚ะพะฒะต: โ€žะ ะฐะทั€ะตัˆะฐะฒะฐะฝะต ะฝะฐ ัั‚ั€ะฐะฝะธั†ะธั‚ะต ะดะฐ ะธะทะฑะธั€ะฐั‚ ัะพะฑัั‚ะฒะตะฝะธ ั†ะฒะตั‚ะพะฒะตโ€œ ะต ะธะทะบะปัŽั‡ะตะฝะพ ะฒ ะฑั€ะฐัƒะทัŠั€ะฐ. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/bn-BD/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/bn-BD/viewer.properties new file mode 100644 index 0000000..87ad77b --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/bn-BD/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=เฆชเฆพเฆคเฆพ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}} เฆเฆฐ +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pagesCount}} เฆเฆฐ {{pageNumber}}) + +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=เฆ˜เฆกเฆผเฆฟเฆฐ เฆ•เฆพเฆเฆŸเฆพเฆฐ เฆฌเฆฟเฆชเฆฐเง€เฆคเง‡ เฆ˜เง‹เฆฐเฆพเฆ“ + +cursor_text_select_tool.title=เฆฒเง‡เฆ–เฆพ เฆจเฆฟเฆฐเงเฆฌเฆพเฆšเฆ• เฆŸเงเฆฒ เฆธเฆ•เงเฆฐเฆฟเงŸ เฆ•เฆฐเงเฆจ +cursor_text_select_tool_label=เฆฒเง‡เฆ–เฆพ เฆจเฆฟเฆฐเงเฆฌเฆพเฆšเฆ• เฆŸเงเฆฒ +cursor_hand_tool.title=เฆนเงเฆฏเฆพเฆจเงเฆก เฆŸเงเฆฒ เฆธเฆ•เงเฆฐเฆฟเฆฏเฆผ เฆ•เฆฐเงเฆจ +cursor_hand_tool_label=เฆนเงเฆฏเฆพเฆจเงเฆก เฆŸเงเฆฒ + +# Document properties dialog box +document_properties.title=เฆจเฆฅเฆฟ เฆฌเงˆเฆถเฆฟเฆทเงเฆŸเงเฆฏโ€ฆ +document_properties_label=เฆจเฆฅเฆฟ เฆฌเงˆเฆถเฆฟเฆทเงเฆŸเงเฆฏโ€ฆ +document_properties_file_name=เฆซเฆพเฆ‡เฆฒเง‡เฆฐ เฆจเฆพเฆฎ: +document_properties_file_size=เฆซเฆพเฆ‡เฆฒเง‡เฆฐ เฆ†เฆ•เฆพเฆฐ: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} เฆ•เง‡เฆฌเฆฟ ({{size_b}} เฆฌเฆพเฆ‡เฆŸ) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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=เฆชเฆฐเฆฟเฆฌเฆฐเงเฆคเฆจเง‡เฆฐ เฆคเฆพเฆฐเฆฟเฆ–: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=เฆชเงเฆฐเฆธเงเฆคเงเฆคเฆ•เฆพเฆฐเฆ•: +document_properties_producer=เฆชเฆฟเฆกเฆฟเฆเฆซ เฆชเงเฆฐเฆธเงเฆคเงเฆคเฆ•เฆพเฆฐเฆ•: +document_properties_version=เฆชเฆฟเฆกเฆฟเฆเฆซ เฆธเฆ‚เฆทเงเฆ•เฆฐเฆฃ: +document_properties_page_count=เฆฎเง‹เฆŸ เฆชเฆพเฆคเฆพ: +document_properties_close=เฆฌเฆจเงเฆง + +print_progress_message=เฆฎเงเฆฆเงเฆฐเฆฃเง‡เฆฐ เฆœเฆจเงเฆฏ เฆจเฆฅเฆฟ เฆชเงเฆฐเฆธเงเฆคเงเฆค เฆ•เฆฐเฆพ เฆนเฆšเงเฆ›เง‡โ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_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_notification.title=เฆธเฆพเฆ‡เฆกเฆฌเฆพเฆฐ เฆŸเฆ—เฆฒ (เฆจเฆฅเฆฟเฆคเง‡ เฆ†เฆ‰เฆŸเฆฒเฆพเฆ‡เฆจ/เฆเฆŸเฆพเฆšเฆฎเง‡เฆจเงเฆŸ เฆฐเฆฏเฆผเง‡เฆ›เง‡) +toggle_sidebar_label=เฆธเฆพเฆ‡เฆกเฆฌเฆพเฆฐ เฆŸเฆ—เฆฒ เฆ•เฆฐเงเฆจ +document_outline.title=เฆจเฆฅเฆฟเฆฐ เฆ†เฆ‰เฆŸเฆฒเฆพเฆ‡เฆจ เฆฆเง‡เฆ–เฆพเฆ“ (เฆธเฆฌ เฆ†เฆ‡เฆŸเง‡เฆฎ เฆชเงเฆฐเฆธเฆพเฆฐเฆฟเฆค/เฆธเฆ™เงเฆ•เงเฆšเฆฟเฆค เฆ•เฆฐเฆคเง‡ เฆกเฆฌเฆฒ เฆ•เงเฆฒเฆฟเฆ• เฆ•เฆฐเงเฆจ) +document_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_input.title=เฆ–เงเฆเฆœเงเฆจ +find_input.placeholder=เฆจเฆฅเฆฟเฆฐ เฆฎเฆงเงเฆฏเง‡ เฆ–เงเฆเฆœเงเฆจโ€ฆ +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: {{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=เฆชเงเฆฐเฆ•เงƒเฆค เฆ†เฆ•เฆพเฆฐ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=เฆคเงเฆฐเงเฆŸเฆฟ +loading_error=เฆชเฆฟเฆกเฆฟเฆเฆซ เฆฒเง‹เฆก เฆ•เฆฐเฆพเฆฐ เฆธเฆฎเงŸ เฆคเงเฆฐเงเฆŸเฆฟ เฆฆเง‡เฆ–เฆพ เฆฆเฆฟเงŸเง‡เฆ›เง‡เฅค +invalid_file_error=เฆ…เฆ•เฆพเฆฐเงเฆฏเฆ•เฆฐ เฆ…เฆฅเฆฌเฆพ เฆ•เงเฆทเฆคเฆฟเฆ—เงเฆฐเฆธเงเฆค เฆชเฆฟเฆกเฆฟเฆเฆซ เฆซเฆพเฆ‡เฆฒเฅค +missing_file_error=เฆจเฆฟเฆ–เง‹เฆเฆœ PDF เฆซเฆพเฆ‡เฆฒเฅค +unexpected_response_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_not_allowed=เฆชเฆฟเฆกเฆฟเฆเฆซ เฆกเฆ•เงเฆฎเง‡เฆจเงเฆŸเฆ•เง‡ เฆคเฆพเฆฆเง‡เฆฐ เฆจเฆฟเฆœเฆธเงเฆฌ เฆฐเฆ™ เฆฌเงเฆฏเฆฌเฆนเฆพเฆฐเง‡ เฆ…เฆจเงเฆฎเฆคเฆฟ เฆจเง‡เฆ‡: 'เฆชเฆพเฆคเฆพ เฆคเฆพเฆฆเง‡เฆฐ เฆจเฆฟเฆœเง‡เฆธเงเฆฌ เฆฐเฆ™ เฆจเฆฟเฆฐเงเฆฌเฆพเฆšเฆจ เฆ•เฆฐเฆคเง‡ เฆ…เฆจเงเฆฎเฆคเฆฟ เฆฆเฆฟเฆจ' เฆเฆ‡ เฆฌเงเฆฐเฆพเฆ‰เฆœเฆพเฆฐเง‡ เฆจเฆฟเฆทเงเฆ•เงเฆฐเฆฟเงŸ เฆฐเงŸเง‡เฆ›เง‡เฅค diff --git a/NKC_WF/Scripts/pdf.js/web/locale/bn-IN/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/bn-IN/viewer.properties new file mode 100644 index 0000000..4e22923 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/bn-IN/viewer.properties @@ -0,0 +1,177 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=เฆชเง‡เฆœ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pagesCount}} เฆเฆฐ {{pageNumber}}) + +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=เฆจเฆฅเฆฟเฆฐ เฆฌเงˆเฆถเฆฟเฆทเงเฆŸเงเฆฏโ€ฆ +document_properties_label=เฆจเฆฅเฆฟเฆฐ เฆฌเงˆเฆถเฆฟเฆทเงเฆŸเงเฆฏโ€ฆ +document_properties_file_name=เฆซเฆพเฆ‡เฆฒเง‡เฆฐ เฆจเฆพเฆฎ: +document_properties_file_size=เฆซเฆพเฆ‡เฆฒเง‡เฆฐ เฆฎเฆพเฆช: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in 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=เฆชเฆฐเฆฟเฆฌเฆฐเงเฆคเฆจเง‡เฆฐ เฆคเฆพเฆฐเฆฟเฆ–: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=เฆจเฆฟเฆฐเงเฆฎเฆพเฆคเฆพ: +document_properties_producer=PDF เฆจเฆฟเฆฐเงเฆฎเฆพเฆคเฆพ: +document_properties_version=PDF เฆธเฆ‚เฆธเงเฆ•เฆฐเฆฃ: +document_properties_page_count=เฆฎเง‹เฆŸ เฆชเงƒเฆทเงเฆ เฆพ: +document_properties_close=เฆฌเฆจเงเฆง เฆ•เฆฐเงเฆจ + +print_progress_message=เฆกเฆ•เงเฆฎเง‡เฆจเงเฆŸ เฆชเงเฆฐเฆฟเฆจเงเฆŸเฆฟเฆ‚-เฆฐ เฆœเฆจเงเฆฏ เฆคเงˆเฆฐเฆฟ เฆ•เฆฐเฆพ เฆนเฆšเงเฆ›เง‡... +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_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=เฆธเฆพเฆ‡เฆกเฆฌเฆพเฆฐ เฆŸเฆ—เฆฒ เฆ•เฆฐเงเฆจ +document_outline.title=เฆกเฆ•เงเฆฎเง‡เฆจเงเฆŸ เฆ†เฆ‰เฆŸเฆฒเฆพเฆ‡เฆจ เฆฆเง‡เฆ–เฆพเฆจ (เฆฆเงเฆฌเฆพเฆฐ เฆ•เงเฆฒเฆฟเฆ• เฆ•เฆฐเงเฆจ เฆฌเฆพเงœเฆพเฆคเง‡//collapse เฆธเฆฎเฆธเงเฆค เฆ†เฆ‡เฆŸเง‡เฆฎ) +document_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_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=เฆชเงเฆฐเฆ•เงƒเฆค เฆฎเฆพเฆช +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=เฆคเงเฆฐเงเฆŸเฆฟ +loading_error=PDF เฆฒเง‹เฆก เฆ•เฆฐเฆพเฆฐ เฆธเฆฎเงŸ เฆธเฆฎเฆธเงเฆฏเฆพ เฆฆเง‡เฆ–เฆพ เฆฆเฆฟเงŸเง‡เฆ›เง‡เฅค +invalid_file_error=เฆ…เฆฌเงˆเฆง เฆฌเฆพ เฆ•เงเฆทเฆคเฆฟเฆ—เงเฆฐเฆธเงเฆค เฆชเฆฟเฆกเฆฟเฆเฆซ เฆซเฆพเฆ‡เฆฒเฅค +missing_file_error=เฆ…เฆจเงเฆชเฆธเงเฆฅเฆฟเฆค PDF เฆซเฆพเฆ‡เฆฒ +unexpected_response_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=เฆเฆ‡ PDF เฆซเฆพเฆ‡เฆฒ เฆ–เง‹เฆฒเฆพเฆฐ เฆœเฆจเงเฆฏ เฆชเฆพเฆธเฆ“เฆฏเฆผเฆพเฆฐเงเฆก เฆฆเฆฟเฆจเฅค +password_invalid=เฆชเฆพเฆธเฆ“เงŸเฆพเฆฐเงเฆก เฆธเฆ เฆฟเฆ• เฆจเงŸเฅค เฆ…เฆจเงเฆ—เงเฆฐเฆน เฆ•เฆฐเง‡ เฆชเงเฆจเฆฐเฆพเงŸ เฆชเงเฆฐเฆšเง‡เฆทเงเฆŸเฆพ เฆ•เฆฐเงเฆจเฅค +password_ok=OK +password_cancel=เฆฌเฆพเฆคเฆฟเฆฒ เฆ•เฆฐเงเฆจ + +printing_not_supported=เฆธเฆคเฆฐเงเฆ•เฆฌเฆพเฆฐเงเฆคเฆพ: เฆเฆ‡ เฆฌเงเฆฐเฆพเฆ‰เฆœเฆพเฆฐ เฆฆเงเฆฌเฆพเฆฐเฆพ เฆชเงเฆฐเฆฟเฆจเงเฆŸ เฆฌเงเฆฏเฆฌเฆธเงเฆฅเฆพ เฆธเฆฎเงเฆชเง‚เฆฐเงเฆฃเฆฐเง‚เฆชเง‡ เฆธเฆฎเฆฐเงเฆฅเฆฟเฆค เฆจเงŸเฅค +printing_not_ready=เฆธเฆคเฆฐเงเฆ•เฆฌเฆพเฆฃเง€: เฆชเฆฟเฆกเฆฟเฆเฆซ เฆธเฆฎเงเฆชเง‚เฆฐเงเฆฃเฆฐเง‚เฆชเง‡ เฆฎเงเฆฆเงเฆฐเฆฃเง‡เฆฐ เฆœเฆจเงเฆฏ เฆฒเง‹เฆก เฆ•เฆฐเฆพ เฆนเฆฏเฆผ เฆจเฆพ. +web_fonts_disabled=เฆ“เฆฏเฆผเง‡เฆฌ เฆซเฆจเงเฆŸ เฆจเฆฟเฆทเงเฆ•เงเฆฐเฆฟเฆฏเฆผ เฆ•เฆฐเฆพ เฆนเฆฏเฆผเง‡เฆ›เง‡: เฆเฆฎเฆฌเง‡เฆกเง‡เฆก เฆชเฆฟเฆกเฆฟเฆเฆซ เฆซเฆจเงเฆŸ เฆฌเงเฆฏเฆฌเฆนเฆพเฆฐ เฆ•เฆฐเฆคเง‡ เฆ…เฆ•เงเฆทเฆฎ. +document_colors_not_allowed=เฆชเฆฟเฆกเฆฟเฆเฆซ เฆจเฆฅเฆฟ เฆคเฆพเฆฆเง‡เฆฐ เฆจเฆฟเฆœเฆธเงเฆฌ เฆฐเฆ‚ เฆฌเงเฆฏเฆฌเฆนเฆพเฆฐ เฆ•เฆฐเฆพเฆฐ เฆœเฆจเงเฆฏ เฆ…เฆจเงเฆฎเฆคเฆฟเฆชเงเฆฐเฆพเฆชเงเฆค เฆจเฆฏเฆผ: เฆฌเงเฆฐเฆพเฆ‰เฆœเฆพเฆฐเง‡ เฆจเฆฟเฆทเงเฆ•เงเฆฐเฆฟเฆฏเฆผ เฆ•เฆฐเฆพ เฆนเฆฏเฆผเง‡เฆ›เง‡ เงŸเง‡เฆจ 'เฆชเง‡เฆœ เฆคเฆพเฆฆเง‡เฆฐ เฆจเฆฟเฆœเฆธเงเฆฌ เฆฐเฆ‚ เฆจเฆฟเฆฐเงเฆฌเฆพเฆšเฆจ เฆ•เฆฐเฆพเฆฐ เฆ…เฆจเงเฆฎเฆคเฆฟ เฆชเงเฆฐเฆฆเฆพเฆจ เฆ•เฆฐเฆพ เงŸเฆพเงŸเฅค' diff --git a/NKC_WF/Scripts/pdf.js/web/locale/br/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/br/viewer.properties new file mode 100644 index 0000000..94dac29 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/br/viewer.properties @@ -0,0 +1,180 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=Pajenn +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=eus {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} war {{pagesCount}}) + +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 + + +# 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 : +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} Ke ({{size_b}} eizhbit) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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รฑ : +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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รฑ + +print_progress_message=O prientiรฑ an teul evit moullaรฑ... +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Nullaรฑ + +# 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_notification.title=Trec'haoliรฑ ar verrenn-gostez (ur steuรฑv pe stagadennoรน a zo en teul) +toggle_sidebar_label=Diskouez/kuzhat ar varrenn gostez +document_outline.title=Diskouez steuรฑv an teul (daouglikit evit brasaat/bihanaat an holl elfennoรน) +document_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_input.title=Klask +find_input.placeholder=Klask e-barzh an teuliad +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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# 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. +unexpected_response_error=Respont dic'hortoz a-berzh an dafariad + +# 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_not_allowed=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/NKC_WF/Scripts/pdf.js/web/locale/bs/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/bs/viewer.properties new file mode 100644 index 0000000..92a415a --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/bs/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=Strana +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=od {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} od {{pagesCount}}) + +zoom_out.title=Umanji +zoom_out_label=Umanji +zoom_in.title=Uveฤ‡aj +zoom_in_label=Uveฤ‡aj +zoom.title=Uveฤ‡anje +presentation_mode.title=Prebaci se u prezentacijski reลพim +presentation_mode_label=Prezentacijski reลพim +open_file.title=Otvori fajl +open_file_label=Otvori +print.title=ล tampaj +print_label=ล tampaj +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 stranu +first_page.label=Idi na prvu stranu +first_page_label=Idi na prvu stranu +last_page.title=Idi na zadnju stranu +last_page.label=Idi na zadnju stranu +last_page_label=Idi na zadnju stranu +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 suprotno smjeru kazaljke na satu +page_rotate_ccw.label=Rotiraj suprotno smjeru kazaljke na satu +page_rotate_ccw_label=Rotiraj suprotno smjeru kazaljke na satu + +cursor_text_select_tool.title=Omoguฤ‡i alat za oznaฤavanje teksta +cursor_text_select_tool_label=Alat za oznaฤavanje teksta +cursor_hand_tool.title=Omoguฤ‡i ruฤni alat +cursor_hand_tool_label=Ruฤni alat + +# Document properties dialog box +document_properties.title=Svojstva dokumenta... +document_properties_label=Svojstva dokumenta... +document_properties_file_name=Naziv fajla: +document_properties_file_size=Veliฤina fajla: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bajta) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bajta) +document_properties_title=Naslov: +document_properties_author=Autor: +document_properties_subject=Predmet: +document_properties_keywords=Kljuฤne rijeฤi: +document_properties_creation_date=Datum kreiranja: +document_properties_modification_date=Datum promjene: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Kreator: +document_properties_producer=PDF stvaratelj: +document_properties_version=PDF verzija: +document_properties_page_count=Broj stranica: +document_properties_close=Zatvori + +print_progress_message=Pripremam dokument za ลกtampuโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Otkaลพi + +# 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_notification.title=Ukljuฤi/iskljuฤi sidebar (dokument sadrลพi outline/priloge) +toggle_sidebar_label=Ukljuฤi/iskljuฤi boฤnu traku +document_outline.title=Prikaลพi outline dokumenta (dvoklik za skupljanje/ลกirenje svih stavki) +document_outline_label=Konture dokumenta +attachments.title=Prikaลพi priloge +attachments_label=Prilozi +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}} + +# Find panel button title and messages +find_input.title=Pronaฤ‘i +find_input.placeholder=Pronaฤ‘i u dokumentuโ€ฆ +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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +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. +unexpected_response_error=Neoฤekivani odgovor servera. + +# 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}} pribiljeลกka] +password_label=Upiลกite lozinku da biste otvorili ovaj PDF fajl. +password_invalid=Pogreลกna lozinka. Pokuลกajte ponovo. +password_ok=OK +password_cancel=Otkaลพi + +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_not_allowed=PDF dokumentima nije dozvoljeno da koriste vlastite boje: 'Dozvoli stranicama da izaberu vlastite boje' je deaktivirano u browseru. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/ca/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/ca/viewer.properties new file mode 100644 index 0000000..2bc7ffa --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/ca/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=Pร gina +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=de {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} de {{pagesCount}}) + +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 + +cursor_text_select_tool.title=Habilita l'eina de selecciรณ de text +cursor_text_select_tool_label=Eina de selecciรณ de text +cursor_hand_tool.title=Habilita l'eina de mร  +cursor_hand_tool_label=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: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in 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รณ: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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 + +print_progress_message=S'estร  preparant la impressiรณ del documentโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Cancelยทla + +# 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_notification.title=Mostra/amaga la barra lateral (el document contรฉ un esquema o adjuncions) +toggle_sidebar_label=Mostra/amaga la barra lateral +document_outline.title=Mostra l'esquema del document (doble clic per ampliar/reduir tots els elements) +document_outline_label=Contorn del document +attachments.title=Mostra les adjuncions +attachments_label=Adjuncions +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_input.title=Cerca +find_input.placeholder=Cerca al documentโ€ฆ +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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# 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. +unexpected_response_error=Resposta inesperada del servidor. + +# 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=Els tipus de lletra web estan desactivats: no es poden utilitzar els tipus de lletra incrustats al PDF. +document_colors_not_allowed=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/NKC_WF/Scripts/pdf.js/web/locale/cs/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/cs/viewer.properties new file mode 100644 index 0000000..13b36fc --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/cs/viewer.properties @@ -0,0 +1,184 @@ +# 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ล™ejde na pล™edchozรญ strรกnku +previous_label=Pล™edchozรญ +next.title=Pล™ejde na nรกsledujรญcรญ strรกnku +next_label=Dalลกรญ + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Strรกnka +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=z {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} z {{pagesCount}}) + +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 do 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=Souฤasnรฝ pohled (kopรญrovat nebo otevล™รญt v novรฉm oknฤ›) +bookmark_label=Souฤasnรฝ 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 + +cursor_text_select_tool.title=Povolรญ vรฝbฤ›r textu +cursor_text_select_tool_label=Vรฝbฤ›r textu +cursor_hand_tool.title=Povolรญ nรกstroj ruฤiฤka +cursor_hand_tool_label=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: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bajtลฏ) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bajtลฏ) +document_properties_title=Nadpis: +document_properties_author=Autor: +document_properties_subject=Pล™edmฤ›t: +document_properties_keywords=Klรญฤovรก slova: +document_properties_creation_date=Datum vytvoล™enรญ: +document_properties_modification_date=Datum รบpravy: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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 + +print_progress_message=Pล™รญprava dokumentu pro tiskโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}} % +print_progress_close=Zruลกit + +# 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_notification.title=Pล™epne postrannรญ liลกtu (dokument obsahuje osnovu/pล™รญlohy) +toggle_sidebar_label=Postrannรญ liลกta +document_outline.title=Zobrazรญ osnovu dokumentu (dvojitรฉ klepnutรญ rozbalรญ/sbalรญ vลกechny poloลพky) +document_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_input.title=Najรญt +find_input.placeholder=Najรญt v dokumentuโ€ฆ +find_previous.title=Najde pล™edchozรญ vรฝskyt hledanรฉho textu +find_previous_label=Pล™edchozรญ +find_next.title=Najde dalลกรญ vรฝskyt hledanรฉho textu +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 od zaฤรกtku +find_not_found=Hledanรฝ text nenalezen + +# Error panel labels +error_more_info=Vรญce informacรญ +error_less_info=Mรฉnฤ› informacรญ +error_close=Zavล™รญt +# 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=ล˜รกdek: {{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=Skuteฤnรก velikost +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=Chyba +loading_error=Pล™i nahrรกvรกnรญ PDF nastala chyba. +invalid_file_error=Neplatnรฝ nebo chybnรฝ soubor PDF. +missing_file_error=Chybรญ soubor PDF. +unexpected_response_error=Neoฤekรกvanรก odpovฤ›ฤ serveru. + +# 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_not_allowed=PDF dokumenty nemajรญ povoleno pouลพรญvat vlastnรญ barvy: volba 'Povolit strรกnkรกm pouลพรญvat vlastnรญ barvy' je v prohlรญลพeฤi deaktivovรกna. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/csb/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/csb/viewer.properties new file mode 100644 index 0000000..293a353 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/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/NKC_WF/Scripts/pdf.js/web/locale/cy/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/cy/viewer.properties new file mode 100644 index 0000000..193768b --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/cy/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=Tudalen +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=o {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} o {{pagesCount}}) + +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 + +cursor_text_select_tool.title=Galluogi Dewis Offeryn Testun +cursor_text_select_tool_label=Offeryn Dewis Testun +cursor_hand_tool.title=Galluogi Offeryn Llaw +cursor_hand_tool_label=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: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} beit) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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 + +print_progress_message=Paratoi dogfen ar gyfer ei hargraffuโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Diddymu + +# 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_notification.title=Toglo'r Bar Ochr (mae'r ddogfen yn cynnwys outline/attachments) +toggle_sidebar_label=Toglo'r Bar Ochr +document_outline.title=Dangos Amlinell Dogfen (clic dwbl i ymestyn/cau pob eitem) +document_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_input.title=Canfod +find_input.placeholder=Canfod yn y ddogfenโ€ฆ +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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# 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. +unexpected_response_error=Ymateb annisgwyl gan y gweinydd. + +# 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 hanalluogi: methu defnyddio ffontiau PDF mewnblanedig. +document_colors_not_allowed=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/NKC_WF/Scripts/pdf.js/web/locale/da/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/da/viewer.properties new file mode 100644 index 0000000..765d6a7 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/da/viewer.properties @@ -0,0 +1,184 @@ +# 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=Forrige side +previous_label=Forrige +next.title=Nรฆste side +next_label=Nรฆste + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Side +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=af {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} af {{pagesCount}}) + +zoom_out.title=Zoom ud +zoom_out_label=Zoom ud +zoom_in.title=Zoom ind +zoom_in_label=Zoom ind +zoom.title=Zoom +print.title=Udskriv +print_label=Udskriv +presentation_mode.title=Skift til fuldskรฆrmsvisning +presentation_mode_label=Fuldskรฆrmsvisning +open_file.title=ร…bn fil +open_file_label=ร…bn +download.title=Hent +download_label=Hent +bookmark.title=Aktuel visning (kopier eller รฅbn i et nyt vindue) +bookmark_label=Aktuel visning + +# Secondary toolbar and context menu +tools.title=Funktioner +tools_label=Funktioner +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 +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 + +cursor_text_select_tool.title=Aktiver markeringsvรฆrktรธj +cursor_text_select_tool_label=Markeringsvรฆrktรธj +cursor_hand_tool.title=Aktiver hรฅndvรฆrktรธj +cursor_hand_tool_label=Hรฅndvรฆrktรธj + +# Document properties dialog box +document_properties.title=Dokumentegenskaberโ€ฆ +document_properties_label=Dokumentegenskaberโ€ฆ +document_properties_file_name=Filnavn: +document_properties_file_size=Filstรธrrelse: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in 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: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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 + +print_progress_message=Forbereder dokument til udskrivningโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Annuller + +# 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_notification.title=Slรฅ sidepanel til eller fra (dokumentet indeholder disposition/vedhรฆftede filer) +toggle_sidebar_label=Slรฅ sidepanel til eller fra +document_outline.title=Vis dokumentets disposition (dobbeltklik for at vise/skjule alle elementer) +document_outline_label=Dokument-disposition +attachments.title=Vis vedhรฆftede filer +attachments_label=Vedhรฆftede filer +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_input.title=Find +find_input.placeholder=Find i dokumentโ€ฆ +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 +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 + +# Error panel labels +error_more_info=Mere information +error_less_info=Mindre information +error_close=Luk +# 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=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}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Linje: {{line}} +rendering_error=Der opstod en fejl ved generering af siden. + +# Predefined zoom values +page_scale_width=Sidebredde +page_scale_fit=Tilpas til side +page_scale_auto=Automatisk zoom +page_scale_actual=Faktisk stรธrrelse +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=Fejl +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. +unexpected_response_error=Uventet svar fra serveren. + +# 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: 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_not_allowed=PDF-dokumenter mรฅ ikke bruge deres egne farver: 'Tillad sider at vรฆlge deres egne farver' er deaktiveret i browseren. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/de/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/de/viewer.properties new file mode 100644 index 0000000..3f5a4e2 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/de/viewer.properties @@ -0,0 +1,184 @@ +# 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=Eine Seite zurรผck +previous_label=Zurรผck +next.title=Eine Seite vor +next_label=Vor + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Seite +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=von {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} von {{pagesCount}}) + +zoom_out.title=Verkleinern +zoom_out_label=Verkleinern +zoom_in.title=VergrรถรŸern +zoom_in_label=VergrรถรŸern +zoom.title=Zoom +print.title=Drucken +print_label=Drucken +presentation_mode.title=In Prรคsentationsmodus wechseln +presentation_mode_label=Prรคsentationsmodus +open_file.title=Datei รถffnen +open_file_label=ร–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 + +cursor_text_select_tool.title=Textauswahl-Werkzeug aktivieren +cursor_text_select_tool_label=Textauswahl-Werkzeug +cursor_hand_tool.title=Hand-Werkzeug aktivieren +cursor_hand_tool_label=Hand-Werkzeug + +# Document properties dialog box +document_properties.title=Dokumenteigenschaften +document_properties_label=Dokumenteigenschaftenโ€ฆ +document_properties_file_name=Dateiname: +document_properties_file_size=DateigrรถรŸe: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} Bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in 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: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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 + +print_progress_message=Dokument wird fรผr Drucken vorbereitetโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Abbrechen + +# 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=Sidebar umschalten +toggle_sidebar_notification.title=Sidebar umschalten (Dokument enthรคlt Dokumentstruktur/Anhรคnge) +toggle_sidebar_label=Sidebar umschalten +document_outline.title=Dokumentstruktur anzeigen (Doppelklicken, um alle Eintrรคge aus- bzw. einzuklappen) +document_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) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Seite {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniaturansicht von Seite {{page}} + +# Find panel button title and messages +find_input.title=Suchen +find_input.placeholder=Im Dokument suchenโ€ฆ +find_previous.title=Vorheriges Vorkommen des Suchbegriffs finden +find_previous_label=Zurรผck +find_next.title=Nรคchstes Vorkommen 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 Informationen +error_less_info=Weniger Informationen +error_close=SchlieรŸen +# 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=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=Beim Darstellen der Seite trat ein Fehler auf. + +# Predefined zoom values +page_scale_width=Seitenbreite +page_scale_fit=SeitengrรถรŸe +page_scale_auto=Automatischer Zoom +page_scale_actual=OriginalgrรถรŸe +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=Fehler +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 +unexpected_response_error=Unerwartete Antwort des Servers + +# 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=[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: 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_not_allowed=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/NKC_WF/Scripts/pdf.js/web/locale/el/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/el/viewer.properties new file mode 100644 index 0000000..5e3f6ee --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/el/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=ฮฃฮตฮปฮฏฮดฮฑ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=ฮฑฯ€ฯŒ {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} ฮฑฯ€ฯŒ {{pagesCount}}) + +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=ฮ‘ฯฮนฯƒฯ„ฮตฯฯŒฯƒฯ„ฯฮฟฯ†ฮท ฯ€ฮตฯฮนฯƒฯ„ฯฮฟฯ†ฮฎ + +cursor_text_select_tool.title=ฮ•ฮฝฮตฯฮณฮฟฯ€ฮฟฮฏฮทฯƒฮท ฮตฯฮณฮฑฮปฮตฮฏฮฟฯ… ฮตฯ€ฮนฮปฮฟฮณฮฎฯ‚ ฮบฮตฮนฮผฮญฮฝฮฟฯ… +cursor_text_select_tool_label=ฮ•ฯฮณฮฑฮปฮตฮฏฮฟ ฮตฯ€ฮนฮปฮฟฮณฮฎฯ‚ ฮบฮตฮนฮผฮญฮฝฮฟฯ… +cursor_hand_tool.title=ฮ•ฮฝฮตฯฮณฮฟฯ€ฮฟฮฏฮทฯƒฮท ฮตฯฮณฮฑฮปฮตฮฏฮฟฯ… ฯ‡ฮตฯฮนฮฟฯ +cursor_hand_tool_label=ฮ•ฯฮณฮฑฮปฮตฮฏฮฟ ฯ‡ฮตฯฮนฮฟฯ + +# Document properties dialog box +document_properties.title=ฮ™ฮดฮนฯŒฯ„ฮทฯ„ฮตฯ‚ ฮตฮณฮณฯฮฌฯ†ฮฟฯ…โ€ฆ +document_properties_label=ฮ™ฮดฮนฯŒฯ„ฮทฯ„ฮตฯ‚ ฮตฮณฮณฯฮฌฯ†ฮฟฯ…โ€ฆ +document_properties_file_name=ฮŒฮฝฮฟฮผฮฑ ฮฑฯฯ‡ฮตฮฏฮฟฯ…: +document_properties_file_size=ฮœฮญฮณฮตฮธฮฟฯ‚ ฮฑฯฯ‡ฮตฮฏฮฟฯ…: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in 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=ฮ—ฮผฮตฯฮฟฮผฮทฮฝฮฏฮฑ ฯ„ฯฮฟฯ€ฮฟฯ€ฮฟฮฏฮทฯƒฮทฯ‚: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=ฮ”ฮทฮผฮนฮฟฯ…ฯฮณฯŒฯ‚: +document_properties_producer=ฮ ฮฑฯฮฑฮณฯ‰ฮณฯŒฯ‚ PDF: +document_properties_version=ฮˆฮบฮดฮฟฯƒฮท PDF: +document_properties_page_count=ฮ‘ฯฮนฮธฮผฯŒฯ‚ ฯƒฮตฮปฮฏฮดฯ‰ฮฝ: +document_properties_close=ฮšฮปฮตฮฏฯƒฮนฮผฮฟ + +print_progress_message=ฮ ฯฮฟฮตฯ„ฮฟฮนฮผฮฑฯƒฮฏฮฑ ฯ„ฮฟฯ… ฮตฮณฮณฯฮฌฯ†ฮฟฯ… ฮณฮนฮฑ ฮตฮบฯ„ฯฯ€ฯ‰ฯƒฮทโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_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_notification.title=(ฮ‘ฯ€)ฮตฮฝฮตฯฮณฮฟฯ€ฮฟฮฏฮทฯƒฮท ฯ€ฮปฮตฯ…ฯฮนฮบฮฎฯ‚ ฯƒฯ„ฮฎฮปฮทฯ‚ (ฯ„ฮฟ ฮญฮณฮณฯฮฑฯ†ฮฟ ฯ€ฮตฯฮนฮญฯ‡ฮตฮน ฯ€ฮตฯฮฏฮณฯฮฑฮผฮผฮฑ/ฯƒฯ…ฮฝฮทฮผฮผฮญฮฝฮฑ) +toggle_sidebar_label=(ฮ‘ฯ€)ฮตฮฝฮตฯฮณฮฟฯ€ฮฟฮฏฮทฯƒฮท ฯ€ฮปฮตฯ…ฯฮนฮบฮฎฯ‚ ฯƒฯ„ฮฎฮปฮทฯ‚ +document_outline.title=ฮ•ฮผฯ†ฮฌฮฝฮนฯƒฮท ฮดฮนฮฌฯฮธฯฯ‰ฯƒฮทฯ‚ ฮตฮณฮณฯฮฌฯ†ฮฟฯ… (ฮดฮนฯ€ฮปฯŒ ฮบฮปฮนฮบ ฮณฮนฮฑ ฮฑฮฝฮฌฯ€ฯ„ฯ…ฮพฮท/ฯƒฯฮผฯ€ฯ„ฯ…ฮพฮท ฯŒฮปฯ‰ฮฝ ฯ„ฯ‰ฮฝ ฯƒฯ„ฮฟฮนฯ‡ฮตฮฏฯ‰ฮฝ) +document_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_input.title=ฮ•ฯฯฮตฯƒฮท +find_input.placeholder=ฮ•ฯฯฮตฯƒฮท ฯƒฯ„ฮฟ ฮญฮณฮณฯฮฑฯ†ฮฟโ€ฆ +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=ฮ ฯฮฑฮณฮผฮฑฯ„ฮนฮบฯŒ ฮผฮญฮณฮตฮธฮฟฯ‚ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=ฮฃฯ†ฮฌฮปฮผฮฑ +loading_error=ฮ ฯฮฟฮญฮบฯ…ฯˆฮต ฮญฮฝฮฑ ฯƒฯ†ฮฌฮปฮผฮฑ ฮบฮฑฯ„ฮฌ ฯ„ฮท ฯ†ฯŒฯฯ„ฯ‰ฯƒฮท ฯ„ฮฟฯ… PDF. +invalid_file_error=ฮœฮท ฮญฮณฮบฯ…ฯฮฟ ฮฎ ฮบฮฑฯ„ฮตฯƒฯ„ฯฮฑฮผฮผฮญฮฝฮฟ ฮฑฯฯ‡ฮตฮฏฮฟ PDF. +missing_file_error=ฮ›ฮตฮฏฯ€ฮตฮน ฮฑฯฯ‡ฮตฮฏฮฟ PDF. +unexpected_response_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=ฮ•ฮนฯƒฮฑฮณฯ‰ฮณฮฎ ฮบฯ‰ฮดฮนฮบฮฟฯ ฮณฮนฮฑ ฯ„ฮฟ ฮฌฮฝฮฟฮนฮณฮผฮฑ ฯ„ฮฟฯ… PDF ฮฑฯฯ‡ฮตฮฏฮฟฯ…. +password_invalid=ฮœฮท ฮญฮณฮบฯ…ฯฮฟฯ‚ ฮบฯ‰ฮดฮนฮบฯŒฯ‚. ฮ ฯฮฟฯƒฯ€ฮฑฮธฮตฮฏฯƒฯ„ฮต ฮพฮฑฮฝฮฌ. +password_ok=ฮŸฮš +password_cancel=ฮ‘ฮบฯฯฯ‰ฯƒฮท + +printing_not_supported=ฮ ฯฮฟฮตฮนฮดฮฟฯ€ฮฟฮฏฮทฯƒฮท: ฮ— ฮตฮบฯ„ฯฯ€ฯ‰ฯƒฮท ฮดฮตฮฝ ฯ…ฯ€ฮฟฯƒฯ„ฮทฯฮฏฮถฮตฯ„ฮฑฮน ฯ€ฮปฮฎฯฯ‰ฯ‚ ฮฑฯ€ฯŒ ฮฑฯ…ฯ„ฯŒฮฝ ฯ„ฮฟฮฝ ฯ€ฮตฯฮนฮทฮณฮทฯ„ฮฎ. +printing_not_ready=ฮ ฯฮฟฮตฮนฮดฮฟฯ€ฮฟฮฏฮทฯƒฮท: ฮคฮฟ PDF ฮดฮตฮฝ ฯ†ฮฟฯฯ„ฯŽฮธฮทฮบฮต ฯ€ฮปฮฎฯฯ‰ฯ‚ ฮณฮนฮฑ ฮตฮบฯ„ฯฯ€ฯ‰ฯƒฮท. +web_fonts_disabled=ฮŸฮน ฮณฯฮฑฮผฮผฮฑฯ„ฮฟฯƒฮตฮนฯฮญฯ‚ Web ฮฑฯ€ฮตฮฝฮตฯฮณฮฟฯ€ฮฟฮนฮทฮผฮญฮฝฮตฯ‚: ฮฑฮดฯ…ฮฝฮฑฮผฮฏฮฑ ฯ‡ฯฮฎฯƒฮทฯ‚ ฯ„ฯ‰ฮฝ ฮตฮฝฯƒฯ‰ฮผฮฑฯ„ฯ‰ฮผฮญฮฝฯ‰ฮฝ ฮณฯฮฑฮผฮผฮฑฯ„ฮฟฯƒฮตฮนฯฯŽฮฝ PDF. +document_colors_not_allowed=ฮฃฯ„ฮฑ PDF ฮญฮณฮณฯฮฑฯ†ฮฑ ฮดฮตฮฝ ฮตฯ€ฮนฯ„ฯฮญฯ€ฮตฯ„ฮฑฮน ฮฝฮฑ ฯ‡ฯฮทฯƒฮนฮผฮฟฯ€ฮฟฮนฮฟฯฮฝ ฯ„ฮฑ ฮดฮนฮบฮฌ ฯ„ฮฟฯ…ฯ‚ ฯ‡ฯฯŽฮผฮฑฯ„ฮฑ: ฮคฮฟ โ€œฮฮฑ ฮตฯ€ฮนฯ„ฯฮญฯ€ฮตฯ„ฮฑฮน ฯƒฯ„ฮนฯ‚ ฯƒฮตฮปฮฏฮดฮตฯ‚ ฮฝฮฑ ฮตฯ€ฮนฮปฮญฮณฮฟฯ…ฮฝ ฯ„ฮฑ ฮดฮนฮบฮฌ ฯ„ฮฟฯ…ฯ‚ ฯ‡ฯฯŽฮผฮฑฯ„ฮฑโ€ ฮตฮฏฮฝฮฑฮน ฮฑฯ€ฮตฮฝฮตฯฮณฮฟฯ€ฮฟฮนฮทฮผฮญฮฝฮฟ ฯƒฯ„ฮฟฮฝ ฯ€ฮตฯฮนฮทฮณฮทฯ„ฮฎ. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/en-GB/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/en-GB/viewer.properties new file mode 100644 index 0000000..a3e0bab --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/en-GB/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=Page +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=of {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} of {{pagesCount}}) + +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 Anti-Clockwise +page_rotate_ccw.label=Rotate Anti-Clockwise +page_rotate_ccw_label=Rotate Anti-Clockwise + +cursor_text_select_tool.title=Enable Text Selection Tool +cursor_text_select_tool_label=Text Selection Tool +cursor_hand_tool.title=Enable Hand Tool +cursor_hand_tool_label=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: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} kB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in 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: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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 + +print_progress_message=Preparing document for printingโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Cancel + +# 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_notification.title=Toggle Sidebar (document contains outline/attachments) +toggle_sidebar_label=Toggle Sidebar +document_outline.title=Show Document Outline (double-click to expand/collapse all items) +document_outline_label=Document Outline +attachments.title=Show Attachments +attachments_label=Attachments +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_input.title=Find +find_input.placeholder=Find in documentโ€ฆ +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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# 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. +unexpected_response_error=Unexpected server response. + +# 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_not_allowed=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/NKC_WF/Scripts/pdf.js/web/locale/en-US/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/en-US/viewer.properties new file mode 100644 index 0000000..f1c5054 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/en-US/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=Page +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=of {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} of {{pagesCount}}) + +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 + +cursor_text_select_tool.title=Enable Text Selection Tool +cursor_text_select_tool_label=Text Selection Tool +cursor_hand_tool.title=Enable Hand Tool +cursor_hand_tool_label=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: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in 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: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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 + +print_progress_message=Preparing document for printingโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Cancel + +# 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_notification.title=Toggle Sidebar (document contains outline/attachments) +toggle_sidebar_label=Toggle Sidebar +document_outline.title=Show Document Outline (double-click to expand/collapse all items) +document_outline_label=Document Outline +attachments.title=Show Attachments +attachments_label=Attachments +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_input.title=Find +find_input.placeholder=Find in documentโ€ฆ +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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# 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. +unexpected_response_error=Unexpected server response. + +# 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_not_allowed=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/NKC_WF/Scripts/pdf.js/web/locale/en-ZA/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/en-ZA/viewer.properties new file mode 100644 index 0000000..832d558 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/en-ZA/viewer.properties @@ -0,0 +1,170 @@ +# 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.title): The tooltip for the pageNumber input. +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=of {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. + +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 + + +# 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: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in 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: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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 + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. + +# 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 +document_outline.title=Show Document Outline (double-click to expand/collapse all items) +document_outline_label=Document Outline +attachments.title=Show Attachments +attachments_label=Attachments +thumbs.title=Show Thumbnails +thumbs_label=Thumbnails +findbar.title=Find in Document + +# 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_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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# 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. +unexpected_response_error=Unexpected server response. + +# 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 + +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_not_allowed=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/NKC_WF/Scripts/pdf.js/web/locale/eo/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/eo/viewer.properties new file mode 100644 index 0000000..aaea4a5 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/eo/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=Paฤo +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=el {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} el {{pagesCount}}) + +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 + +cursor_text_select_tool.title=Aktivigi tekstan elektilon +cursor_text_select_tool_label=Teksta elektilo +cursor_hand_tool.title=Aktivigi ilon de mano +cursor_hand_tool_label=Ilo de mano + +# 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=Grando de dosiero: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KO ({{size_b}} oktetoj) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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 + +print_progress_message=Preparo de dokumento por presi ฤin โ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Nuligi + +# 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_notification.title=Montri/kaลi flankan strion (la dokumento enhavas konturon/aneksaฤตojn) +toggle_sidebar_label=Montri/kaลi flankan strion +document_outline.title=Montri la konturon de dokumento (alklaku duoble por faldi/malfaldi ฤ‰iujn elementojn) +document_outline_label=Konturo 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_input.title=Serฤ‰i +find_input.placeholder=Serฤ‰i en dokumentoโ€ฆ +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=Malpli 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 grando +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# 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. +unexpected_response_error=Neatendita respondo de servilo. + +# 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 retumilo ne plene subtenas presadon. +printing_not_ready=Averto: 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_not_allowed=PDF dokumentoj ne rajtas uzi siajn proprajn kolorojn: 'Permesi al paฤoj uzi siajn proprajn kolorojn' ne estas aktiva en la retumilo. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/es-AR/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/es-AR/viewer.properties new file mode 100644 index 0000000..970de09 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/es-AR/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=Pรกgina +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=de {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=( {{pageNumber}} de {{pagesCount}} ) + +zoom_out.title=Alejar +zoom_out_label=Alejar +zoom_in.title=Acercar +zoom_in_label=Acercar +zoom.title=Zoom +presentation_mode.title=Cambiar a 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 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 + +cursor_text_select_tool.title=Habilitar herramienta de selecciรณn de texto +cursor_text_select_tool_label=Herramienta de selecciรณn de texto +cursor_hand_tool.title=Habilitar herramienta mano +cursor_hand_tool_label=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: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in 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: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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 + +print_progress_message=Preparando documento para imprimirโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Cancelar + +# 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_notification.title=Intercambiar barra lateral (el documento contiene esquema/adjuntos) +toggle_sidebar_label=Alternar barra lateral +document_outline.title=Mostrar esquema del documento (doble clic para expandir/colapsar todos los รญtems) +document_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}} + +# Find panel button title and messages +find_input.title=Buscar +find_input.placeholder=Buscar en documentoโ€ฆ +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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# 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. +unexpected_response_error=Respuesta del servidor inesperada. + +# 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_not_allowed=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/NKC_WF/Scripts/pdf.js/web/locale/es-CL/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/es-CL/viewer.properties new file mode 100644 index 0000000..3bafb7f --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/es-CL/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=Pรกgina +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=de {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} de {{pagesCount}}) + +zoom_out.title=Alejar +zoom_out_label=Alejar +zoom_in.title=Acercar +zoom_in_label=Acercar +zoom.title=Ampliaciรณn +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 +print.title=Imprimir +print_label=Imprimir +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 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 + +cursor_text_select_tool.title=Activar la herramienta de selecciรณn de texto +cursor_text_select_tool_label=Herramienta de selecciรณn de texto +cursor_hand_tool.title=Activar la herramienta de mano +cursor_hand_tool_label=Herramienta de 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 del archivo: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in 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: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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 + +print_progress_message=Preparando documento para impresiรณnโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Cancelar + +# 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=Barra lateral +toggle_sidebar_notification.title=Cambiar barra lateral (รญndice de contenidos del documento/adjuntos) +toggle_sidebar_label=Mostrar u ocultar la barra lateral +document_outline.title=Mostrar esquema del documento (doble clic para expandir/contraer todos los elementos) +document_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 + +# 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_input.title=Encontrar +find_input.placeholder=Encontrar en el documentoโ€ฆ +find_previous.title=Buscar la apariciรณn anterior de la frase +find_previous_label=Previo +find_next.title=Buscar 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 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}} (compilaciรณn: {{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=Ha ocurrido un error al renderizar la pรกgina. + +# Predefined zoom values +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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +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. +unexpected_response_error=Respuesta del servidor inesperada. + +# 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. Por favor, vuelve 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 tipografรญas web estรกn desactivadas: imposible usar las fuentes PDF embebidas. +document_colors_not_allowed=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/NKC_WF/Scripts/pdf.js/web/locale/es-ES/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/es-ES/viewer.properties new file mode 100644 index 0000000..9505b3a --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/es-ES/viewer.properties @@ -0,0 +1,117 @@ +# 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.title = Pรกgina +of_pages = de {{pagesCount}} +page_of_pages = ({{pageNumber}} de {{pagesCount}}) +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 +cursor_text_select_tool.title = Activar herramienta de selecciรณn de texto +cursor_text_select_tool_label = Herramienta de selecciรณn de texto +cursor_hand_tool.title = Activar herramienta de mano +cursor_hand_tool_label = Herramienta de 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 +print_progress_message = Preparando documento para impresiรณnโ€ฆ +print_progress_percent = {{progress}}% +print_progress_close = Cancelar +toggle_sidebar.title = Cambiar barra lateral +toggle_sidebar_notification.title = Alternar panel lateral (el documento contiene un esquema o adjuntos) +toggle_sidebar_label = Cambiar barra lateral +document_outline.title = Mostrar resumen del documento (doble clic para expandir/contraer todos los elementos) +document_outline_label = Resumen de 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_input.title = Buscar +find_input.placeholder = Buscar en el documentoโ€ฆ +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 real +page_scale_percent = {{scale}}% +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. +unexpected_response_error = Respuesta inesperada del servidor. +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_not_allowed = 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/NKC_WF/Scripts/pdf.js/web/locale/es-MX/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/es-MX/viewer.properties new file mode 100644 index 0000000..6d36e92 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/es-MX/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=Pรกgina +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=de {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} de {{pagesCount}}) + +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 (copiar o abrir en una nueva ventana) +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 + +cursor_text_select_tool.title=Activar la herramienta de selecciรณn de texto +cursor_text_select_tool_label=Herramienta de selecciรณn de texto +cursor_hand_tool.title=Activar la herramienta de mano +cursor_hand_tool_label=Herramienta de 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: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in 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: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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 + +print_progress_message=Preparando documento para impresiรณnโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Cancelar + +# 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_notification.title=Cambiar barra lateral (รญndice de contenidos del documento/adjuntos) +toggle_sidebar_label=Cambiar barra lateral +document_outline.title=Mostrar esquema del documento (doble clic para expandir/contraer todos los elementos) +document_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 + +# 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_input.title=Buscar +find_input.placeholder=Buscar en el documentoโ€ฆ +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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# 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. +unexpected_response_error=Respuesta inesperada del servidor. + +# 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_not_allowed=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/NKC_WF/Scripts/pdf.js/web/locale/et/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/et/viewer.properties new file mode 100644 index 0000000..448e60a --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/et/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=Leht +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=/ {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}}/{{pagesCount}}) + +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 + +cursor_text_select_tool.title=Luba teksti valimise tรถรถriist +cursor_text_select_tool_label=Teksti valimise tรถรถriist +cursor_hand_tool.title=Luba sirvimistรถรถriist +cursor_hand_tool_label=Sirvimistรถรถriist + +# 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: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KiB ({{size_b}} baiti) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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 + +print_progress_message=Dokumendi ettevalmistamine printimiseksโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Loobu + +# 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_notification.title=Nรคita kรผlgriba (dokument sisaldab sisukorda/manuseid) +toggle_sidebar_label=Nรคita kรผlgriba +document_outline.title=Nรคita sisukorda (kรตigi punktide laiendamiseks/ahendamiseks topeltklรตpsa) +document_outline_label=Nรคita sisukorda +attachments.title=Nรคita manuseid +attachments_label=Manused +thumbs.title=Nรคita pisipilte +thumbs_label=Pisipildid +findbar.title=Otsi dokumendist +findbar_label=Otsi + +# 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_input.title=Otsi +find_input.placeholder=Otsi dokumendistโ€ฆ +find_previous.title=Otsi fraasi eelmine esinemiskoht +find_previous_label=Eelmine +find_next.title=Otsi 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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# 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. +unexpected_response_error=Ootamatu vastus serverilt. + +# 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-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_not_allowed=PDF-dokumentidel pole oma vรคrvide kasutamine lubatud: โ€œVeebilehtedel on lubatud kasutada oma vรคrveโ€ on brauseris deaktiveeritud. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/eu/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/eu/viewer.properties new file mode 100644 index 0000000..ac1216f --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/eu/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=Orria +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=/ {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages={{pagesCount}}/{{pageNumber}} + +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 + +cursor_text_select_tool.title=Gaitu testuaren hautapen tresna +cursor_text_select_tool_label=Testuaren hautapen tresna +cursor_hand_tool.title=Gaitu eskuaren tresna +cursor_hand_tool_label=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: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} byte) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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 + +print_progress_message=Dokumentua inprimatzeko prestatzenโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent=%{{progress}} +print_progress_close=Utzi + +# 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_notification.title=Txandakatu alboko barra (dokumentuak eskema/eranskinak ditu) +toggle_sidebar_label=Txandakatu alboko barra +document_outline.title=Erakutsi dokumentuaren eskema (klik bikoitza elementu guztiak zabaltzeko/tolesteko) +document_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_input.title=Bilatu +find_input.placeholder=Bilatu dokumentuanโ€ฆ +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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent=%{{scale}} + +# 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. +unexpected_response_error=Espero gabeko zerbitzariaren erantzuna. + +# 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_not_allowed=PDF dokumentuek ez dute beraien koloreak erabiltzeko baimenik: 'Baimendu orriak beraien letra-tipoak aukeratzea' desaktibatuta dago nabigatzailean. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/fa/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/fa/viewer.properties new file mode 100644 index 0000000..577a4e1 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/fa/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=ุตูุญู‡ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=ุงุฒ {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}}ุงุฒ {{pagesCount}}) + +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=ฺ†ุฑุฎุด ูพุงุฏ ุณุงุนุชฺฏุฑุฏ + +cursor_text_select_tool.title=ูุนุงู„ ฺฉุฑุฏู† ุงุจุฒุงุฑู ุงู†ุชุฎุงุจู ู…ุชู† +cursor_text_select_tool_label=ุงุจุฒุงุฑู ุงู†ุชุฎุงุจู ู…ุชู† +cursor_hand_tool.title=ูุนุงู„ ฺฉุฑุฏู† ุงุจุฒุงุฑู ุฏุณุช +cursor_hand_tool_label=ุงุจุฒุงุฑ ุฏุณุช + +# Document properties dialog box +document_properties.title=ุฎุตูˆุตŒุงุช ุณู†ุฏ... +document_properties_label=ุฎุตูˆุตŒุงุช ุณู†ุฏ... +document_properties_file_name=ู†ุงู… ูุงŒู„: +document_properties_file_size=ุญุฌู… ูพุฑูˆู†ุฏู‡: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} ฺฉŒู„ูˆุจุงŒุช ({{size_b}} ุจุงŒุช) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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=ุชุงุฑŒุฎ ูˆŒุฑุงŒุด: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}ุŒ {{time}} +document_properties_creator=ุงŒุฌุงุฏ ฺฉู†ู†ุฏู‡: +document_properties_producer=ุงŒุฌุงุฏ ฺฉู†ู†ุฏู‡ PDF: +document_properties_version=ู†ุณุฎู‡ PDF: +document_properties_page_count=ุชุนุฏุงุฏ ุตูุญุงุช: +document_properties_close=ุจุณุชู† + +print_progress_message=ุขู…ุงุฏู‡ ุณุงุฒŒ ู…ุฏุงุฑฺฉ ุจุฑุงŒ ฺ†ุงูพ ฺฉุฑุฏู†โ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_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_notification.title=ุชุบŒŒุฑ ูˆุถุนŒุช ู†ูˆุงุฑ ฺฉู†ุงุฑŒ (ุณู†ุฏ ุญุงูˆŒ ุทุฑุญ/ูพŒูˆุณุช ุงุณุช) +toggle_sidebar_label=ุชุบŒŒุฑุญุงู„ุช ู†ูˆุงุฑฺฉู†ุงุฑŒ +document_outline.title=ู†ู…ุงŒุด ุฑุฆูˆุณ ู…ุทุงู„ุจ ู…ุฏุงุฑฺฉ(ุจุฑุงŒ ุจุงุฒุดุฏู†/ุฌู…ุน ุดุฏู† ู‡ู…ู‡ ู…ูˆุงุฑุฏ ุฏูˆุจุงุฑ ฺฉู„Œฺฉ ฺฉู†Œุฏ) +document_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_input.title=ูพŒุฏุง ฺฉุฑุฏู† +find_input.placeholder=ูพŒุฏุง ฺฉุฑุฏู† ุฏุฑ ุณู†ุฏโ€ฆ +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}}) +# 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=ุงู†ุฏุงุฒู‡ ูˆุงู‚ุนŒโ€Œ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=ุฎุทุง +loading_error=ู‡ู†ฺฏุงู… ุจุงุฑฺฏŒุฑŒ ูพุฑูˆู†ุฏู‡ PDF ุฎุทุงŒŒ ุฑุฎ ุฏุงุฏ. +invalid_file_error=ูพุฑูˆู†ุฏู‡ PDF ู†ุงู…ุนุชุจุฑ Œุงู…ุนŒูˆุจ ู…Œโ€Œุจุงุดุฏ. +missing_file_error=ูพุฑูˆู†ุฏู‡ PDF Œุงูุช ู†ุดุฏ. +unexpected_response_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=ุฌู‡ุช ุจุงุฒ ฺฉุฑุฏู† ูพุฑูˆู†ุฏู‡ PDF ฺฏุฐุฑูˆุงฺ˜ู‡ ุฑุง ูˆุงุฑุฏ ู†ู…ุงุฆŒุฏ. +password_invalid=ฺฏุฐุฑูˆุงฺ˜ู‡ ู†ุงู…ุนุชุจุฑ. ู„ุทูุง ู…ุฌุฏุฏุง ุชู„ุงุด ฺฉู†Œุฏ. +password_ok=ุชุฃŒŒุฏ +password_cancel=ู„ุบูˆ + +printing_not_supported=ู‡ุดุฏุงุฑ: ู‚ุงุจู„Œุช ฺ†ุงูพ ุจู‡โ€Œุทูˆุฑ ฺฉุงู…ู„ ุฏุฑ ุงŒู† ู…ุฑูˆุฑฺฏุฑ ูพุดุชŒุจุงู†Œ ู†ู…Œโ€Œุดูˆุฏ. +printing_not_ready=ุงุฎุทุงุฑ: ูพุฑูˆู†ุฏู‡ PDF ุจุทูˆุฑ ฺฉุงู…ู„ ุจุงุฑฺฏŒุฑŒ ู†ุดุฏู‡ ูˆ ุงู…ฺฉุงู† ฺ†ุงูพ ูˆุฌูˆุฏ ู†ุฏุงุฑุฏ. +web_fonts_disabled=ููˆู†ุช ู‡ุงŒ ุชุญุช ูˆุจ ุบŒุฑ ูุนุงู„ ุดุฏู‡ ุงู†ุฏ: ุงู…ฺฉุงู† ุงุณุชูุงุฏู‡ ุงุฒ ู†ู…ุงŒุด ุฏู‡ู†ุฏู‡ ุฏุงุฎู„Œ PDF ูˆุฌูˆุฏ ู†ุฏุงุฑุฏ. +document_colors_not_allowed=ูุงŒู„ู‡ุงŒ PDF ุงุฌุงุฒู‡ ู†ุฏุงุฑู†ุฏ ุชุง ุงุฒ ุฑู†ฺฏโ€Œู‡ุงŒ ุฎูˆุฏ ุงุณุชูุงุฏู‡ ฺฉู†ู†ุฏ: ฺฏุฒŒู†ู‡ ยซุจู‡ ุตูุญุงุช ุงุฌุงุฒู‡ ุจุฏู‡ ุชุง ุงุฒ ุฑู†ฺฏโ€Œู‡ุงŒ ุฎูˆุฏ ุงุณุชูุงุฏู‡ ฺฉู†ู†ุฏยป ุฏุฑ ู…ุฑูˆุฑฺฏุฑ ุบŒุฑ ูุนุงู„ ุงุณุช. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/ff/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/ff/viewer.properties new file mode 100644 index 0000000..23d3b49 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/ff/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=Hello +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=e nder {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} of {{pagesCount}}) + +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 + +cursor_text_select_tool.title=Gollin kaษ“irgel cuษ“irgel binndi +cursor_text_select_tool_label=Kaษ“irgel cuษ“irgel binndi +cursor_hand_tool.title=Hurmin kuutorgal junngo +cursor_hand_tool_label=Kaษ“irgel 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: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bite) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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 + +print_progress_message=Nana heboo winnditaade fiilanndeโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Haaytu + +# 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_notification.title=Palal sawndo (dokimaa oo ina waษ—i taarngo/cinnde) +toggle_sidebar_label=Toggilo Palal Sawndo +document_outline.title=Hollu ฦณiyal Fiilannde (dobdobo ngam wertude/taggude teme fof) +document_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_input.title=Yiytu +find_input.placeholder=Yiylo nder dokimaa +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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# 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. +unexpected_response_error=Jaabtol sarworde tijjinooka. + +# 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_not_allowed=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/NKC_WF/Scripts/pdf.js/web/locale/fi/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/fi/viewer.properties new file mode 100644 index 0000000..241d5af --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/fi/viewer.properties @@ -0,0 +1,184 @@ +# 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=Edellinen sivu +previous_label=Edellinen +next.title=Seuraava sivu +next_label=Seuraava + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Sivu +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=/ {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} / {{pagesCount}}) + +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=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 + +cursor_text_select_tool.title=Kรคytรค tekstinvalintatyรถkalua +cursor_text_select_tool_label=Tekstinvalintatyรถkalu +cursor_hand_tool.title=Kรคytรค kรคsityรถkalua +cursor_hand_tool_label=Kรคsityรถkalu + +# 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: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} kt ({{size_b}} tavua) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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รค: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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 + +print_progress_message=Valmistellaan dokumenttia tulostamista vartenโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}ย % +print_progress_close=Peruuta + +# 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รคytรค/piilota sivupaneeli +toggle_sidebar_notification.title=Nรคytรค/piilota sivupaneeli (dokumentissa on sisรคllys tai liitteitรค) +toggle_sidebar_label=Nรคytรค/piilota sivupaneeli +document_outline.title=Nรคytรค dokumentin sisรคllys (laajenna tai kutista kohdat kaksoisnapsauttamalla) +document_outline_label=Dokumentin sisรคllys +attachments.title=Nรคytรค liitteet +attachments_label=Liitteet +thumbs.title=Nรคytรค pienoiskuvat +thumbs_label=Pienoiskuvat +findbar.title=Etsi dokumentista +findbar_label=Etsi + +# 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=Sivu {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Pienoiskuva sivusta {{page}} + +# Find panel button title and messages +find_input.title=Etsi +find_input.placeholder=Etsi dokumentistaโ€ฆ +find_previous.title=Etsi hakusanan edellinen osuma +find_previous_label=Edellinen +find_next.title=Etsi hakusanan seuraava osuma +find_next_label=Seuraava +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=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}} (kooste: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Virheilmoitus: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +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=Tapahtui virhe piirrettรคessรค sivua. + +# Predefined zoom values +page_scale_width=Sivun leveys +page_scale_fit=Koko sivu +page_scale_auto=Automaattinen suurennus +page_scale_actual=Todellinen koko +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}} % + +# Loading indicator messages +loading_error_indicator=Virhe +loading_error=Tapahtui virhe ladattaessa PDF-tiedostoa. +invalid_file_error=Virheellinen tai vioittunut PDF-tiedosto. +missing_file_error=Puuttuva PDF-tiedosto. +unexpected_response_error=Odottamaton vastaus palvelimelta. + +# 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=Kirjoita PDF-tiedoston salasana. +password_invalid=Virheellinen salasana. Yritรค uudestaan. +password_ok=OK +password_cancel=Peruuta + +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_not_allowed=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/NKC_WF/Scripts/pdf.js/web/locale/fr/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/fr/viewer.properties new file mode 100644 index 0000000..2c0f0ff --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/fr/viewer.properties @@ -0,0 +1,184 @@ +# 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=Page prรฉcรฉdente +previous_label=Prรฉcรฉdent +next.title=Page suivante +next_label=Suivant + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Page +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=sur {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} sur {{pagesCount}}) + +zoom_out.title=Zoom arriรจre +zoom_out_label=Zoom arriรจre +zoom_in.title=Zoom avant +zoom_in_label=Zoom avant +zoom.title=Zoom +presentation_mode.title=Basculer en mode prรฉsentation +presentation_mode_label=Mode prรฉsentation +open_file.title=Ouvrir le fichier +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 + +cursor_text_select_tool.title=Activer lโ€™outil de sรฉlection de texte +cursor_text_select_tool_label=Outil de sรฉlection de texte +cursor_hand_tool.title=Activer lโ€™outil main +cursor_hand_tool_label=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ย : +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}}ย Ko ({{size_b}} octets) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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ย : +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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 + +print_progress_message=Prรฉparation du document pour lโ€™impressionโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}ย % +print_progress_close=Annuler + +# 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=Afficher/Masquer le panneau latรฉral +toggle_sidebar_notification.title=Afficher/Masquer le panneau latรฉral (le document contient des signets/piรจces jointes) +toggle_sidebar_label=Afficher/Masquer le panneau latรฉral +document_outline.title=Afficher les signets du document (double-cliquer pour dรฉvelopper/rรฉduire tous les รฉlรฉments) +document_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 +findbar_label=Rechercher + +# 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=Vignette de la page {{page}} + +# Find panel button title and messages +find_input.title=Rechercher +find_input.placeholder=Rechercher dans le documentโ€ฆ +find_previous.title=Trouver lโ€™occurrence prรฉcรฉdente de la phrase +find_previous_label=Prรฉcรฉdent +find_next.title=Trouver la prochaine occurrence de la phrase +find_next_label=Suivant +find_highlight=Tout surligner +find_match_case_label=Respecter la casse +find_reached_top=Haut de la page atteint, poursuite depuis la fin +find_reached_bottom=Bas de la page atteint, poursuite au dรฉbut +find_not_found=Phrase introuvable + +# Error panel labels +error_more_info=Plus dโ€™informations +error_less_info=Moins dโ€™informations +error_close=Fermer +# 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}} (identifiant de compilationย : {{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=Pileย : {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Fichierย : {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Ligneย : {{line}} +rendering_error=Une erreur sโ€™est produite lors de lโ€™affichage de la page. + +# Predefined zoom values +page_scale_width=Pleine largeur +page_scale_fit=Page entiรจre +page_scale_auto=Zoom automatique +page_scale_actual=Taille rรฉelle +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}ย % + +# Loading indicator messages +loading_error_indicator=Erreur +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. +unexpected_response_error=Rรฉponse inattendue du serveur. + +# 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=[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_not_allowed=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/NKC_WF/Scripts/pdf.js/web/locale/fy-NL/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/fy-NL/viewer.properties new file mode 100644 index 0000000..5f04144 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/fy-NL/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=Side +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=fa {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} fan {{pagesCount}}) + +zoom_out.title=Utzoome +zoom_out_label=Utzoome +zoom_in.title=Ynzoome +zoom_in_label=Ynzoome +zoom.title=Zoome +presentation_mode.title=Wikselje nei presintaasjemodus +presentation_mode_label=Presintaasjemodus +open_file.title=Bestรขn iepenje +open_file_label=Iepenje +print.title=Ofdrukke +print_label=Ofdrukke +download.title=Downloade +download_label=Downloade +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=Nei earste side gean +first_page_label=Gean nei earste side +last_page.title=Gean nei lรชste side +last_page.label=Nei lรชste side gean +last_page_label=Gean nei lรชste side +page_rotate_cw.title=Rjochtsom draaie +page_rotate_cw.label=Rjochtsom draaie +page_rotate_cw_label=Rjochtsom draaie +page_rotate_ccw.title=Loftsom draaie +page_rotate_ccw.label=Loftsom draaie +page_rotate_ccw_label=Loftsom draaie + +cursor_text_select_tool.title=Tekstseleksjehelpmiddel ynskeakelje +cursor_text_select_tool_label=Tekstseleksjehelpmiddel +cursor_hand_tool.title=Hรขnhelpmiddel ynskeakelje +cursor_hand_tool_label=Hรขnhelpmiddel + +# Document properties dialog box +document_properties.title=Dokuminteigenskippenโ€ฆ +document_properties_label=Dokuminteigenskippenโ€ฆ +document_properties_file_name=Bestรขnsnamme: +document_properties_file_size=Bestรขnsgrutte: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in 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: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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 + +print_progress_message=Dokumint tariede oar รดfdrukkenโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Annulearje + +# 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_notification.title=Sidebalke yn-/รบtskeakelje (dokumint befettet outline/bylagen) +toggle_sidebar_label=Sidebalke yn-/รบtskeakelje +document_outline.title=Dokumintoersjoch toane (dรปbelklik om alle items รบt/yn te klappen) +document_outline_label=Dokumintoersjoch +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}} + +# Find panel button title and messages +find_input.title=Sykje +find_input.placeholder=Sykje yn dokumintโ€ฆ +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 รปnder รดf +find_reached_bottom=Ein fan dokumint berikt, trochgien fan boppe รดf +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 f{{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=Werklike grutte +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# 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. +unexpected_response_error=Unferwacht serverantwurd. + +# 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}}-annotaasje] +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: Printen 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_not_allowed=PDF-dokuminten meie harren eigen kleuren net brรปke: โ€˜Siden tastean om harren eigen kleuren te kiezenโ€™ is รบtskeakele yn de browser. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/ga-IE/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/ga-IE/viewer.properties new file mode 100644 index 0000000..62f1a55 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/ga-IE/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=Leathanach +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=as {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} as {{pagesCount}}) + +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=รoslรณdรกil +download_label=รoslรณdรกil +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 + +cursor_text_select_tool.title=Cumasaigh an Uirlis Roghnaithe Tรฉacs +cursor_text_select_tool_label=Uirlis Roghnaithe Tรฉacs +cursor_hand_tool.title=Cumasaigh an Uirlis Lรกimhe +cursor_hand_tool_label=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: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} kB ({{size_b}} beart) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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 + +print_progress_message=Cรกipรฉis รก hullmhรบ le priontรกilโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Cealaigh + +# 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_notification.title=Scorรกnaigh an Barra Taoibh (achoimre/iatรกin sa chรกipรฉis) +toggle_sidebar_label=Scorรกnaigh an Barra Taoibh +document_outline.title=Taispeรกin Imlรญne na Cรกipรฉise (dรฉchliceรกil chun chuile rud a leathnรบ nรณ a laghdรบ) +document_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_input.title=Aimsigh +find_input.placeholder=Aimsigh sa chรกipรฉisโ€ฆ +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=Frรกsa 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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=Earrรกid +loading_error=Tharla earrรกid agus an chรกipรฉis PDF รก lรณdรกil. +invalid_file_error=Comhad neamhbhailรญ nรณ truaillithe PDF. +missing_file_error=Comhad PDF ar iarraidh. +unexpected_response_error=Freagra รณn bhfreastalaรญ nach rabhthas ag sรบil leis. + +# 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 lรณdรกilte. +web_fonts_disabled=Tรก clรณfhoirne Grรฉasรกin dรญchumasaithe: nรญ fรฉidir clรณfhoirne leabaithe PDF a รบsรกid. +document_colors_not_allowed=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/NKC_WF/Scripts/pdf.js/web/locale/gd/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/gd/viewer.properties new file mode 100644 index 0000000..ad752b8 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/gd/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=Duilleag +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=ร  {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} ร  {{pagesCount}}) + +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 + +cursor_text_select_tool.title=Cuir an comas inneal taghadh an teacsa +cursor_text_select_tool_label=Inneal taghadh an teacsa +cursor_hand_tool.title=Cuir inneal na lร imhe an comas +cursor_hand_tool_label=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: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in 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: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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 + +print_progress_message=Ag ullachadh na sgrรฌobhainn airson clรฒ-bhualadhโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Sguir dheth + +# 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_notification.title=Toglaich am bร r-taoibh (tha oir-loidhne/ceanglachain aig an sgrรฌobhainn) +toggle_sidebar_label=Toglaich am bร r-taoibh +document_outline.title=Seall oir-loidhne na sgrรฌobhainn (dรจan briogadh dรนbailte airson a h-uile nรฌ a leudachadh/a cho-theannadh) +document_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_input.title=Lorg +find_input.placeholder=Lorg san sgrรฌobhainn... +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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# 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. +unexpected_response_error=Freagairt on fhrithealaiche ris nach robh dรนil. + +# 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_not_allowed=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/NKC_WF/Scripts/pdf.js/web/locale/gl/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/gl/viewer.properties new file mode 100644 index 0000000..f393fca --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/gl/viewer.properties @@ -0,0 +1,168 @@ +# 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รกxina anterior +previous_label=Anterior +next.title=Seguinte pรกxina +next_label=Seguinte + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. + +zoom_out.title=Reducir +zoom_out_label=Reducir +zoom_in.title=Ampliar +zoom_in_label=Ampliar +zoom.title=Zoom +presentation_mode.title=Cambiar ao modo presentaciรณn +presentation_mode_label=Modo presentaciรณn +open_file.title=Abrir ficheiro +open_file_label=Abrir +print.title=Imprimir +print_label=Imprimir +download.title=Descargar +download_label=Descargar +bookmark.title=Vista actual (copiar ou abrir nunha nova xanela) +bookmark_label=Vista actual + +# Secondary toolbar and context menu +tools.title=Ferramentas +tools_label=Ferramentas +first_page.title=Ir รก primeira pรกxina +first_page.label=Ir รก primeira pรกxina +first_page_label=Ir รก primeira pรกxina +last_page.title=Ir รก รบltima pรกxina +last_page.label=Ir รก รบltima pรกxina +last_page_label=Ir รก รบltima pรกxina +page_rotate_cw.title=Rotar no sentido das agullas do reloxo +page_rotate_cw.label=Rotar no sentido das agullas do reloxo +page_rotate_cw_label=Rotar no sentido das agullas do reloxo +page_rotate_ccw.title=Rotar no sentido contrario รกs agullas do reloxo +page_rotate_ccw.label=Rotar no sentido contrario รกs agullas do reloxo +page_rotate_ccw_label=Rotar no sentido contrario รกs agullas do reloxo + + +# Document properties dialog box +document_properties.title=Propiedades do documentoโ€ฆ +document_properties_label=Propiedades do documentoโ€ฆ +document_properties_file_name=Nome do ficheiro: +document_properties_file_size=Tamaรฑo do ficheiro: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in 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=Data de creaciรณn: +document_properties_modification_date=Data de modificaciรณn: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Creado por: +document_properties_producer=Xenerador do PDF: +document_properties_version=Versiรณn de PDF: +document_properties_page_count=Nรบmero de pรกxinas: +document_properties_close=Pechar + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. + +# 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=Amosar/agochar a barra lateral +toggle_sidebar_label=Amosar/agochar a barra lateral +attachments.title=Amosar anexos +attachments_label=Anexos +thumbs.title=Amosar miniaturas +thumbs_label=Miniaturas +findbar.title=Atopar no documento +findbar_label=Atopar + +# 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รกxina {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatura da pรกxina {{page}} + +# Find panel button title and messages +find_previous.title=Atopar a anterior apariciรณn da frase +find_previous_label=Anterior +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รกis informaciรณn +error_less_info=Menos informaciรณn +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}} (Identificador da compilaciรณn: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +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=Ficheiro: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Liรฑa: {{line}} +rendering_error=Produciuse un erro ao representar a pรกxina. + +# Predefined zoom values +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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +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. +unexpected_response_error=Resposta inesperada do servidor. + +# 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=Escriba o contrasinal para abrir este ficheiro PDF. +password_invalid=Contrasinal incorrecto. Tente de novo. +password_ok=Aceptar +password_cancel=Cancelar + +printing_not_supported=Aviso: A impresiรณn non รฉ compatรญbel de todo con este navegador. +printing_not_ready=Aviso: O PDF non se cargou completamente para imprimirse. +web_fonts_disabled=Desactivรกronse as fontes web: foi imposรญbel usar as fontes incrustadas no PDF. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/gu-IN/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/gu-IN/viewer.properties new file mode 100644 index 0000000..3c8fc3f --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/gu-IN/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=เชชเชพเชจเซเช‚ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=เชจเซ‹ {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} เชจเซ‹ {{pagesCount}}) + +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=เช˜เชกเชฟเชฏเชพเชณเชจเชพเช‚ เช•เชพเช‚เชŸเชพเชจเซ€ เชตเชฟเชฐเซเชฆเซเชฆ เชซเซ‡เชฐเชตเซ‹ + +cursor_text_select_tool.title=เชŸเซ‡เช•เซเชธเซเชŸ เชชเชธเช‚เชฆเช—เซ€ เชŸเซ‚เชฒ เชธเช•เซเชทเชฎ เช•เชฐเซ‹ +cursor_text_select_tool_label=เชŸเซ‡เช•เซเชธเซเชŸ เชชเชธเช‚เชฆเช—เซ€ เชŸเซ‚เชฒ +cursor_hand_tool.title=เชนเชพเชฅเชจเชพเช‚ เชธเชพเชงเชจเชจเซ‡ เชธเช•เซเชฐเชฟเชฏ เช•เชฐเซ‹ +cursor_hand_tool_label=เชนเซ‡เชจเซเชก เชŸเซ‚เชฒ + +# Document properties dialog box +document_properties.title=เชฆเชธเซเชคเชพเชตเซ‡เชœ เช—เซเชฃเชงเชฐเซเชฎเซ‹โ€ฆ +document_properties_label=เชฆเชธเซเชคเชพเชตเซ‡เชœ เช—เซเชฃเชงเชฐเซเชฎเซ‹โ€ฆ +document_properties_file_name=เชซเชพเช‡เชฒ เชจเชพเชฎ: +document_properties_file_size=เชซเชพเช‡เชฒ เชฎเชพเชช: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} เชฌเชพเช‡เชŸ) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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=เชซเซ‡เชฐเชซเชพเชฐ เชคเชพเชฐเซ€เช–: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=เชจเชฟเชฐเซเชฎเชพเชคเชพ: +document_properties_producer=PDF เชจเชฟเชฐเซเชฎเชพเชคเชพ: +document_properties_version=PDF เช†เชตเซƒเชคเซเชคเชฟ: +document_properties_page_count=เชชเชพเชจเชพเช‚ เช—เชฃเชคเชฐเซ€: +document_properties_close=เชฌเช‚เชง เช•เชฐเซ‹ + +print_progress_message=เช›เชพเชชเช•เชพเชฎ เชฎเชพเชŸเซ‡ เชฆเชธเซเชคเชพเชตเซ‡เชœ เชคเซˆเชฏเชพเชฐ เช•เชฐเซ€ เชฐเชนเซเชฏเชพ เช›เซ‡โ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_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_notification.title=เชธเชพเช‡เชกเชฌเชพเชฐเชจเซ‡ เชŸเซ‰เช—เชฒ เช•เชฐเซ‹(เชฆเชธเซเชคเชพเชตเซ‡เชœเชจเซ€ เชฐเซ‚เชชเชฐเซ‡เช–เชพ/เชœเซ‹เชกเชพเชฃเซ‹ เชถเชพเชฎเซ‡เชฒ เช›เซ‡) +toggle_sidebar_label=เชŸเซ‰เช—เชฒ เชฌเชพเชœเซเชชเชŸเซเชŸเซ€ +document_outline.title=เชฆเชธเซเชคเชพเชตเซ‡เชœเชจเซ€ เชฐเซ‚เชชเชฐเซ‡เช–เชพ เชฌเชคเชพเชตเซ‹(เชฌเชงเซ€ เช†เช‡เชŸเชฎเซเชธเชจเซ‡ เชตเชฟเชธเซเชคเซƒเชค/เชธเช‚เช•เซเชšเชฟเชค เช•เชฐเชตเชพ เชฎเชพเชŸเซ‡ เชกเชฌเชฒ-เช•เซเชฒเชฟเช• เช•เชฐเซ‹) +document_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_input.title=เชถเซ‹เชงเซ‹ +find_input.placeholder=เชฆเชธเซเชคเชพเชตเซ‡เชœเชฎเชพเช‚ เชถเซ‹เชงเซ‹โ€ฆ +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=เชšเซ‹เช•เซเช•เชธ เชฎเชพเชช +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=เชญเซ‚เชฒ +loading_error=เชญเซ‚เชฒ เช‰เชฆเซเชญเชตเซ€ เชœเซเชฏเชพเชฐเซ‡ PDF เชจเซ‡ เชฒเชพเชตเซ€ เชฐเชนเซเชฏเชพ เชนเซ‹เชฏ. +invalid_file_error=เช…เชฏเซ‹เช—เซเชฏ เช…เชฅเชตเชพ เชญเชพเช‚เช—เซ‡เชฒ PDF เชซเชพเช‡เชฒ. +missing_file_error=เช—เซเชฎ เชฅเชฏเซ‡เชฒ PDF เชซเชพเช‡เชฒ. +unexpected_response_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=เช† PDF เชซเชพเช‡เชฒเชจเซ‡ เช–เซ‹เชฒเชตเชพ เชชเชพเชธเชตเชฐเซเชกเชจเซ‡ เชฆเชพเช–เชฒ เช•เชฐเซ‹. +password_invalid=เช…เชฏเซ‹เช—เซเชฏ เชชเชพเชธเชตเชฐเซเชก. เชฎเชนเซ‡เชฐเชฌเชพเชจเซ€ เช•เชฐเซ€เชจเซ‡ เชซเชฐเซ€ เชชเซเชฐเชฏเชคเซเชจ เช•เชฐเซ‹. +password_ok=เชฌเชฐเชพเชฌเชฐ +password_cancel=เชฐเชฆ เช•เชฐเซ‹ + +printing_not_supported=เชšเซ‡เชคเชตเชฃเซ€: เช›เชพเชชเชตเชพเชจเซเช‚ เช† เชฌเซเชฐเชพเช‰เชเชฐ เชฆเซเชฆเชพเชฐเชพ เชธเช‚เชชเซ‚เชฐเซเชฃเชชเชฃเซ‡ เช†เชงเชพเชฐเชญเซ‚เชค เชจเชฅเซ€. +printing_not_ready=Warning: PDF เช เช›เชพเชชเชตเชพ เชฎเชพเชŸเซ‡ เชธเช‚เชชเซ‚เชฐเซเชฃเชชเชฃเซ‡ เชฒเชพเชตเซ‡เชฒ เช›เซ‡. +web_fonts_disabled=เชตเซ‡เชฌ เชซเซ‹เชจเซเชŸ เชจเชฟเชทเซเช•เซเชฐเชฟเชฏ เชฅเชฏเซ‡เชฒ เช›เซ‡: เชเชฎเซเชฌเซ‡เชก เชฅเชฏเซ‡เชฒ PDF เชซเซ‹เชจเซเชŸเชจเซ‡ เชตเชพเชชเชฐเชตเชพเชจเซเช‚ เช…เชธเชฎเชฐเซเชฅ. +document_colors_not_allowed=PDF เชฆเชธเซเชคเชพเชตเซ‡เชœเซ‹ เชคเซ‡เชจเชพเช‚ เชชเซ‹เชคเชพเชจเชพ เชฐเช‚เช—เซ‹เชจเซ‡ เชตเชพเชชเชฐเชตเชพ เชชเชฐเชตเชพเชจเช—เซ€ เช†เชชเชคเชพ เชจเชฅเซ€: 'เชคเซ‡เชจเชพเช‚ เชชเซ‹เชคเชพเชจเชพเช‚ เชฐเช‚เช—เซ‹เชจเซ‡ เชชเชธเช‚เชฆ เช•เชฐเชตเชพ เชฎเชพเชŸเซ‡ เชชเชพเชจเชพเช‚เชจเซ‡ เชชเชฐเชตเชพเชจเช—เซ€ เช†เชชเซ‹' เชฌเซเชฐเชพเช‰เชเชฐเชฎเชพเช‚ เชจเชฟเชทเซเช•เซเชฐเชฟเชฏ เชฅเชฏเซ‡เชฒ เช›เซ‡. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/he/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/he/viewer.properties new file mode 100644 index 0000000..070bbde --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/he/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=ื“ืฃ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=ืžืชื•ืš {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} ืžืชื•ืš {{pagesCount}}) + +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=ื”ื˜ื™ื” ื›ื ื’ื“ ื›ื™ื•ื•ืŸ ื”ืฉืขื•ืŸ + +cursor_text_select_tool.title=ื”ืคืขืœืช ื›ืœื™ ื‘ื—ื™ืจืช ื˜ืงืกื˜ +cursor_text_select_tool_label=ื›ืœื™ ื‘ื—ื™ืจืช ื˜ืงืกื˜ +cursor_hand_tool.title=ื”ืคืขืœืช ื›ืœื™ ื”ื™ื“ +cursor_hand_tool_label=ื›ืœื™ ื™ื“ + +# Document properties dialog box +document_properties.title=ืžืืคื™ื™ื ื™ ืžืกืžืšโ€ฆ +document_properties_label=ืžืืคื™ื™ื ื™ ืžืกืžืšโ€ฆ +document_properties_file_name=ืฉื ืงื•ื‘ืฅ: +document_properties_file_size=ื’ื•ื“ืœ ื”ืงื•ื‘ืฅ: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} ืงืดื‘ ({{size_b}} ื‘ืชื™ื) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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=ืชืืจื™ืš ืฉื™ื ื•ื™: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=ื™ื•ืฆืจ: +document_properties_producer=ื™ืฆืจืŸ PDF: +document_properties_version=ื’ืจืกืช PDF: +document_properties_page_count=ืžืกืคืจ ื“ืคื™ื: +document_properties_close=ืกื’ื™ืจื” + +print_progress_message=ืžืกืžืš ื‘ื”ื›ื ื” ืœื”ื“ืคืกื”โ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_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_notification.title=ื”ื—ืœืคืช ืชืฆื•ื’ืช ืกืจื’ืœ ืฆื“ (ืžืกืžืš ืฉืžื›ื™ืœ ืžืชืืจ/ืฆืจื•ืคื•ืช) +toggle_sidebar_label=ื”ืฆื’ื”/ื”ืกืชืจื” ืฉืœ ืกืจื’ืœ ื”ืฆื“ +document_outline.title=ื”ืฆื’ืช ืžืชืืจ ืžืกืžืš (ืœื—ื™ืฆื” ื›ืคื•ืœื” ื›ื“ื™ ืœื”ืจื—ื™ื‘ ืื• ืœืฆืžืฆื ืืช ื›ืœ ื”ืคืจื™ื˜ื™ื) +document_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_input.title=ื—ื™ืคื•ืฉ +find_input.placeholder=ื—ื™ืคื•ืฉ ื‘ืžืกืžืšโ€ฆ +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}}) +# 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=ื’ื•ื“ืœ ืืžืชื™ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=ืฉื’ื™ืื” +loading_error=ืื™ืจืขื” ืฉื’ื™ืื” ื‘ืขืช ื˜ืขื™ื ืช ื”ึพPDF. +invalid_file_error=ืงื•ื‘ืฅ PDF ืคื’ื•ื ืื• ืœื ืชืงื™ืŸ. +missing_file_error=ืงื•ื‘ืฅ PDF ื—ืกืจ. +unexpected_response_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=ื ื ืœื”ื›ื ื™ืก ืืช ื”ืกืกืžื” ืœืคืชื™ื—ืช ืงื•ื‘ืฅ PDF ื–ื”. +password_invalid=ืกืกืžื” ืฉื’ื•ื™ื”. ื ื ืœื ืกื•ืช ืฉื ื™ืช. +password_ok=ืื™ืฉื•ืจ +password_cancel=ื‘ื™ื˜ื•ืœ + +printing_not_supported=ืื–ื”ืจื”: ื”ื“ืคืกื” ืื™ื ื” ื ืชืžื›ืช ื‘ืžืœื•ืื” ื‘ื“ืคื“ืคืŸ ื–ื”. +printing_not_ready=ืื–ื”ืจื”: ื”ึพPDF ืœื ื ื™ืชืŸ ืœื—ืœื•ื˜ื™ืŸ ืขื“ ืžืฆื‘ ืฉืžืืคืฉืจ ื”ื“ืคืกื”. +web_fonts_disabled=ื’ื•ืคื ื™ ืจืฉืช ืžื ื•ื˜ืจืœื™ื: ืœื ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ื’ื•ืคื ื™ PDF ืžื•ื˜ื‘ืขื™ื. +document_colors_not_allowed=ืžืกืžื›ื™ PDF ืื™ื ื ืžื•ืจืฉื™ื ืœื”ืฉืชืžืฉ ื‘ืฆื‘ืขื™ื ืžืฉืœื”ื: ื”ืืคืฉืจื•ืช โ€žืืคืฉืจ ืœืขืžื•ื“ื™ื ืœื‘ื—ื•ืจ ืฆื‘ืขื™ื ืžืฉืœื”ืโ€ ืื™ื ื” ืคืขื™ืœื” ื‘ื“ืคื“ืคืŸ. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/hi-IN/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/hi-IN/viewer.properties new file mode 100644 index 0000000..cbed501 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/hi-IN/viewer.properties @@ -0,0 +1,183 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=เคชเฅƒเคทเฅเค : +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}} เค•เคพ +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} of {{pagesCount}}) + +zoom_out.title=\u0020เค›เฅ‹เคŸเคพ เค•เคฐเฅ‡เค‚ +zoom_out_label=\u0020เค›เฅ‹เคŸเคพ เค•เคฐเฅ‡เค‚ +zoom_in.title=เคฌเคกเคผเคพ เค•เคฐเฅ‡เค‚ +zoom_in_label=เคฌเคกเคผเคพ เค•เคฐเฅ‡เค‚ +zoom.title=เคฌเคกเคผเคพ-เค›เฅ‹เคŸเคพ เค•เคฐเฅ‡เค‚ +presentation_mode.title=เคชเฅเคฐเคธเฅเคคเฅเคคเคฟ เค…เคตเคธเฅเคฅเคพ เคฎเฅ‡เค‚ เคœเคพเคเค +presentation_mode_label=\u0020เคชเฅเคฐเคธเฅเคคเฅเคคเคฟ เค…เคตเคธเฅเคฅเคพ +open_file.title=เคซเคผเคพเค‡เคฒ เค–เฅ‹เคฒเฅ‡เค‚ +open_file_label=\u0020เค–เฅ‹เคฒเฅ‡เค‚ +print.title=เค›เคพเคชเฅ‡เค‚ +print_label=\u0020เค›เคพเคชเฅ‡เค‚ +download.title=เคกเคพเค‰เคจเคฒเฅ‹เคก +download_label=เคกเคพเค‰เคจเคฒเฅ‹เคก +bookmark.title=เคฎเฅŒเคœเฅ‚เคฆเคพ เคฆเฅƒเคถเฅเคฏ (เคจเค เคตเคฟเค‚เคกเฅ‹ เคฎเฅ‡เค‚ เคจเค•เคผเคฒ เคฒเฅ‡เค‚ เคฏเคพ เค–เฅ‹เคฒเฅ‡เค‚) +bookmark_label=\u0020เคฎเฅŒเคœเฅ‚เคฆเคพ เคฆเฅƒเคถเฅเคฏ + +# Secondary toolbar and context menu +tools.title=เค”เคœเคผเคพเคฐ +tools_label=เค”เคœเคผเคพเคฐ +first_page.title=เคชเฅเคฐเคฅเคฎ เคชเฅƒเคทเฅเค  เคชเคฐ เคœเคพเคเค +first_page.label=\u0020เคชเฅเคฐเคฅเคฎ เคชเฅƒเคทเฅเค  เคชเคฐ เคœเคพเคเค +first_page_label=เคชเฅเคฐเคฅเคฎ เคชเฅƒเคทเฅเค  เคชเคฐ เคœเคพเคเค +last_page.title=เค…เค‚เคคเคฟเคฎ เคชเฅƒเคทเฅเค  เคชเคฐ เคœเคพเคเค +last_page.label=\u0020เค…เค‚เคคเคฟเคฎ เคชเฅƒเคทเฅเค  เคชเคฐ เคœเคพเคเค +last_page_label=\u0020เค…เค‚เคคเคฟเคฎ เคชเฅƒเคทเฅเค  เคชเคฐ เคœเคพเคเค +page_rotate_cw.title=เค˜เคกเคผเฅ€ เค•เฅ€ เคฆเคฟเคถเคพ เคฎเฅ‡เค‚ เค˜เฅเคฎเคพเคเค +page_rotate_cw.label=เค˜เคกเคผเฅ€ เค•เฅ€ เคฆเคฟเคถเคพ เคฎเฅ‡เค‚ เค˜เฅเคฎเคพเคเค +page_rotate_cw_label=เค˜เคกเคผเฅ€ เค•เฅ€ เคฆเคฟเคถเคพ เคฎเฅ‡เค‚ เค˜เฅเคฎเคพเคเค +page_rotate_ccw.title=เค˜เคกเคผเฅ€ เค•เฅ€ เคฆเคฟเคถเคพ เคธเฅ‡ เค‰เคฒเฅเคŸเคพ เค˜เฅเคฎเคพเคเค +page_rotate_ccw.label=เค˜เคกเคผเฅ€ เค•เฅ€ เคฆเคฟเคถเคพ เคธเฅ‡ เค‰เคฒเฅเคŸเคพ เค˜เฅเคฎเคพเคเค +page_rotate_ccw_label=\u0020เค˜เคกเคผเฅ€ เค•เฅ€ เคฆเคฟเคถเคพ เคธเฅ‡ เค‰เคฒเฅเคŸเคพ เค˜เฅเคฎเคพเคเค + +cursor_text_select_tool.title=เคชเคพเค  เคšเคฏเคจ เค‰เคชเค•เคฐเคฃ เคธเค•เฅเคทเคฎ เค•เคฐเฅ‡เค‚ +cursor_text_select_tool_label=เคชเคพเค  เคšเคฏเคจ เค‰เคชเค•เคฐเคฃ +cursor_hand_tool.title=เคนเคธเฅเคค เค‰เคชเค•เคฐเคฃ เคธเค•เฅเคทเคฎ เค•เคฐเฅ‡เค‚ +cursor_hand_tool_label=เคนเคธเฅเคค เค‰เคชเค•เคฐเคฃ + +# Document properties dialog box +document_properties.title=เคฆเคธเฅเคคเคพเคตเฅ‡เคœเคผ เคตเคฟเคถเฅ‡เคทเคคเคพ... +document_properties_label=เคฆเคธเฅเคคเคพเคตเฅ‡เคœเคผ เคตเคฟเคถเฅ‡เคทเคคเคพ... +document_properties_file_name=เคซเคผเคพเค‡เคฒ เคจเคพเคฎ: +document_properties_file_size=เคซเคพเค‡เคฒ เค†เค•เคพเคฐเคƒ +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in 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=เคธเค‚เคถเฅ‹เคงเคจ เคฆเคฟเคจเคพเค‚เค•: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=เคจเคฟเคฐเฅเคฎเคพเคคเคพ: +document_properties_producer=PDF เค‰เคคเฅเคชเคพเคฆเค•: +document_properties_version=PDF เคธเค‚เคธเฅเค•เคฐเคฃ: +document_properties_page_count=เคชเฅƒเคทเฅเค  เค—เคฟเคจเคคเฅ€: +document_properties_close=เคฌเค‚เคฆ เค•เคฐเฅ‡เค‚ + +print_progress_message=เค›เคชเคพเคˆ เค•เฅ‡ เคฒเคฟเค เคฆเคธเฅเคคเคพเคตเฅ‡เคœเคผ เค•เฅ‹ เคคเฅˆเคฏเคพเคฐ เค•เคฟเคฏเคพ เคœเคพ เคฐเคนเคพ เคนเฅˆ... +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_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=\u0020เคธเฅเคฒเคพเค‡เคกเคฐ เคŸเฅ‰เค—เคฒ เค•เคฐเฅ‡เค‚ +toggle_sidebar_label=เคธเฅเคฒเคพเค‡เคกเคฐ เคŸเฅ‰เค—เคฒ เค•เคฐเฅ‡เค‚ +document_outline.title=เคฆเคธเฅเคคเคพเคตเฅ‡เคœเคผ เค•เฅ€ เคฐเฅ‚เคชเคฐเฅ‡เค–เคพ เคฆเคฟเค–เคพเค‡เค (เคธเคพเคฐเฅ€ เคตเคธเฅเคคเฅเค“เค‚ เค•เฅ‹ เคซเคฒเคจเฅ‡ เค…เคฅเคตเคพ เคธเคฎเฅ‡เคŸเคจเฅ‡ เค•เฅ‡ เคฒเคฟเค เคฆเฅ‹ เคฌเคพเคฐ เค•เฅเคฒเคฟเค• เค•เคฐเฅ‡เค‚) +document_outline_label=เคฆเคธเฅเคคเคพเคตเฅ‡เคœเคผ เค†เค‰เคŸเคฒเคพเค‡เคจ +attachments.title=เคธเค‚เคฒเค—เฅเคจเค• เคฆเคฟเค–เคพเคฏเฅ‡เค‚ +attachments_label=เคธเค‚เคฒเค—เฅเคจเค• +thumbs.title=เคฒเค˜เฅเค›เคตเคฟเคฏเคพเค เคฆเคฟเค–เคพเคเค +thumbs_label=เคฒเค˜เฅ เค›เคตเคฟ +findbar.title=\u0020เคฆเคธเฅเคคเคพเคตเฅ‡เคœเคผ เคฎเฅ‡เค‚ เคขเฅ‚เคเคขเคผเฅ‡เค‚ +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_input.title=เคขเฅ‚เคเคขเฅ‡เค‚ +find_input.placeholder=เคฆเคธเฅเคคเคพเคตเฅ‡เคœเคผ เคฎเฅ‡เค‚ เค–เฅ‹เคœเฅ‡เค‚... +find_previous.title=เคตเคพเค•เฅเคฏเคพเค‚เคถ เค•เฅ€ เคชเคฟเค›เคฒเฅ€ เค‰เคชเคธเฅเคฅเคฟเคคเคฟ เคขเฅ‚เคเคขเคผเฅ‡เค‚ +find_previous_label=เคชเคฟเค›เคฒเคพ +find_next.title=เคตเคพเค•เฅเคฏเคพเค‚เคถ เค•เฅ€ เค…เค—เคฒเฅ€ เค‰เคชเคธเฅเคฅเคฟเคคเคฟ เคขเฅ‚เคเคขเคผเฅ‡เค‚ +find_next_label=เค†เค—เฅ‡ +find_highlight=\u0020เคธเคญเฅ€ เค†เคฒเฅ‹เค•เคฟเคค เค•เคฐเฅ‡เค‚ +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=\u0020เคธเค‚เคฆเฅ‡เคถ: {{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=\u0020เคชเฅƒเคทเฅเค  เคšเฅŒเคกเคผเคพเคˆ +page_scale_fit=เคชเฅƒเคทเฅเค  เคซเคฟเคŸ +page_scale_auto=เคธเฅเคตเคšเคพเคฒเคฟเคค เคœเฅ‚เคฎ +page_scale_actual=เคตเคพเคธเฅเคคเคตเคฟเค• เค†เค•เคพเคฐ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=เคคเฅเคฐเฅเคŸเคฟ +loading_error=PDF เคฒเฅ‹เคก เค•เคฐเคคเฅ‡ เคธเคฎเคฏ เคเค• เคคเฅเคฐเฅเคŸเคฟ เคนเฅเคˆ. +invalid_file_error=เค…เคฎเคพเคจเฅเคฏ เคฏเคพ เคญเฅเคฐเคทเฅเคŸ PDF เคซเคผเคพเค‡เคฒ. +missing_file_error=\u0020เค…เคจเฅเคชเคธเฅเคฅเคฟเคค PDF เคซเคผเคพเค‡เคฒ. +unexpected_response_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=\u0020[{{type}} Annotation] +password_label=เค‡เคธ PDF เคซเคผเคพเค‡เคฒ เค•เฅ‹ เค–เฅ‹เคฒเคจเฅ‡ เค•เฅ‡ เคฒเคฟเค เค•เฅƒเคชเคฏเคพ เค•เฅ‚เคŸเคถเคฌเฅเคฆ เคญเคฐเฅ‡เค‚. +password_invalid=เค…เคตเฅˆเคง เค•เฅ‚เคŸเคถเคฌเฅเคฆ, เค•เฅƒเคชเคฏเคพ เคซเคฟเคฐ เค•เฅ‹เคถเคฟเคถ เค•เคฐเฅ‡เค‚. +password_ok=OK +password_cancel=เคฐเคฆเฅเคฆ เค•เคฐเฅ‡เค‚ + +printing_not_supported=เคšเฅ‡เคคเคพเคตเคจเฅ€: เค‡เคธ เคฌเฅเคฐเคพเค‰เคœเคผเคฐ เคชเคฐ เค›เคชเคพเคˆ เคชเฅ‚เคฐเฅ€ เคคเคฐเคน เคธเฅ‡ เคธเคฎเคฐเฅเคฅเคฟเคค เคจเคนเฅ€เค‚ เคนเฅˆ. +printing_not_ready=เคšเฅ‡เคคเคพเคตเคจเฅ€: PDF เค›เคชเคพเคˆ เค•เฅ‡ เคฒเคฟเค เคชเฅ‚เคฐเฅ€ เคคเคฐเคน เคธเฅ‡ เคฒเฅ‹เคก เคจเคนเฅ€เค‚ เคนเฅˆ. +web_fonts_disabled=เคตเฅ‡เคฌ เคซเฅ‰เคจเฅเคŸเฅเคธ เคจเคฟเคทเฅเค•เฅเคฐเคฟเคฏ เคนเฅˆเค‚: เค…เค‚เคคเคƒเคธเฅเคฅเคพเคชเคฟเคค PDF เคซเฅ‰เคจเฅเคŸเคธ เค•เฅ‡ เค‰เคชเคฏเฅ‹เค— เคฎเฅ‡เค‚ เค…เคธเคฎเคฐเฅเคฅ. +document_colors_not_allowed=PDF เคฆเคธเฅเคคเคพเคตเฅ‡เคœเคผ เค‰เคจเค•เฅ‡ เค…เคชเคจเฅ‡ เคฐเค‚เค— เค•เฅ‹ เค‰เคชเคฏเฅ‹เค— เค•เคฐเคจเฅ‡ เค•เฅ‡ เคฒเคฟเค เค…เคจเฅเคฎเคคเคฟ เคชเฅเคฐเคพเคชเฅเคค เคจเคนเฅ€เค‚ เคนเฅˆ: "เคชเฅƒเคทเฅเค เฅ‹เค‚ เค•เฅ‹ เค‰เคจเค•เฅ‡ เค…เคชเคจเฅ‡ เคฐเค‚เค— เค•เฅ‹ เคšเฅเคจเคจเฅ‡ เค•เฅ‡ เคฒเคฟเค เคธเฅเคตเฅ€เค•เฅƒเคคเคฟ เคฆเฅ‡เค‚" เค•เคฟ เคตเคน เค‰เคธ เคฌเฅเคฐเคพเค‰เคœเคผเคฐ เคฎเฅ‡เค‚ เคจเคฟเคทเฅเค•เฅเคฐเคฟเคฏ เคนเฅˆ. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/hr/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/hr/viewer.properties new file mode 100644 index 0000000..ca39552 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/hr/viewer.properties @@ -0,0 +1,184 @@ +# 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=Sljedeฤ‡a stranica +next_label=Sljedeฤ‡a + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Stranica +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=od {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} od {{pagesCount}}) + +zoom_out.title=Uveฤ‡aj +zoom_out_label=Smanji +zoom_in.title=Uveฤ‡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 + +cursor_text_select_tool.title=Omoguฤ‡i alat za oznaฤavanje teksta +cursor_text_select_tool_label=Alat za oznaฤavanje teksta +cursor_hand_tool.title=Omoguฤ‡i ruฤni alat +cursor_hand_tool_label=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: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bajtova) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Stvaratelj: +document_properties_producer=PDF stvaratelj: +document_properties_version=PDF inaฤica: +document_properties_page_count=Broj stranica: +document_properties_close=Zatvori + +print_progress_message=Pripremanje dokumenta za ispisโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Odustani + +# 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_notification.title=Prikazivanje i sklanjanje boฤne trake (dokument sadrลพi konturu/privitke) +toggle_sidebar_label=Prikaลพi/sakrij boฤnu traku +document_outline.title=Prikaลพi obris dokumenta (dvostruki klik za proลกirivanje/skupljanje svih stavki) +document_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_input.title=Traลพi +find_input.placeholder=Traลพi u dokumentuโ€ฆ +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=Sljedeฤ‡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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# 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. +unexpected_response_error=Neoฤekivani odgovor posluลพitelja. + +# 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_not_allowed=PDF dokumenti nemaju dopuลกtene koristiti vlastite boje: opcija 'Dopusti stranicama da koriste vlastite boje' je deaktivirana. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/hu/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/hu/viewer.properties new file mode 100644 index 0000000..03990af --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/hu/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=Oldal +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=รถsszesen: {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} / {{pagesCount}}) + +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 + +cursor_text_select_tool.title=Szรถvegkijelรถlล‘ eszkรถz bekapcsolรกsa +cursor_text_select_tool_label=Szรถvegkijelรถlล‘ eszkรถz +cursor_hand_tool.title=Kรฉz eszkรถz bekapcsolรกsa +cursor_hand_tool_label=Kรฉz eszkรถz + +# 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: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bรกjt) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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 + +print_progress_message=Dokumentum elล‘kรฉszรญtรฉse nyomtatรกshozโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Mรฉgse + +# 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_notification.title=Oldalsรกv be/ki (a dokumentum vรกzlatot/mellรฉkleteket tartalmaz) +toggle_sidebar_label=Oldalsรกv be/ki +document_outline.title=Dokumentum megjelenรญtรฉse online (dupla kattintรกs minden elem kinyitรกsรกhoz/รถsszecsukรกsรกhoz) +document_outline_label=Dokumentumvรกzlat +attachments.title=Mellรฉkletek megjelenรญtรฉse +attachments_label=Van mellรฉklet +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_input.title=Keresรฉs +find_input.placeholder=Keresรฉs a dokumentumbanโ€ฆ +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 tudnivalรณk +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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# 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. +unexpected_response_error=Vรกratlan kiszolgรกlรณvรกlasz. + +# 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_not_allowed=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/NKC_WF/Scripts/pdf.js/web/locale/hy-AM/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/hy-AM/viewer.properties new file mode 100644 index 0000000..424a95d --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/hy-AM/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=ิทีป. +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}}-ีซึ\u0020 +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}}-ีจ {{pagesCount}})-ีซึ + +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=ีŠีฟีฟีฅีฌ ีฐีกีฏีกีผีกีฏ ีชีกีดีกึีธึ‚ีตึีซ ีฝีฌีกึ„ีซ + +cursor_text_select_tool.title=ี„ีซีกึีถีฅีฌ ีีฅึ„ีฝีฟีจ ีจีถีฟึ€ีฅีฌีธึ‚ ีฃีธึ€ีฎีซึ„ีจ +cursor_text_select_tool_label=ีีฅึ„ีฝีฟีจ ีจีถีฟึ€ีฅีฌีธึ‚ ีฃีธึ€ีฎีซึ„ +cursor_hand_tool.title=ี„ีซีกึีถีฅีฌ ีีฅีผึ„ีซ ีฃีธึ€ีฎีซึ„ีจ +cursor_hand_tool_label=ีีฅีผึ„ีซ ีฃีธึ€ีฎีซึ„ + +# Document properties dialog box +document_properties.title=ี“ีกีฝีฟีกีฉีฒีฉีซ ีฐีกีฟีฏีธึ‚ีฉีตีธึ‚ีถีถีฅึ€ีจ... +document_properties_label=ี“ีกีฝีฟีกีฉีฒีฉีซ ีฐีกีฟีฏีธึ‚ีฉีตีธึ‚ีถีถีฅึ€ีจ... +document_properties_file_name=ี–ีกีตีฌีซ ีกีถีธึ‚ีถีจ. +document_properties_file_size=ี–ีกีตีฌีซ ีนีกึƒีจ. +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} ิฟิฒ ({{size_b}} ีขีกีตีฉ) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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=ี“ีธึƒีธีญีฅีฌีธึ‚ ีกีดีฝีกีฉีซีพีจ. +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=ีีฟีฅีฒีฎีธีฒ. +document_properties_producer=PDF-ีซ ีฐีฅีฒีซีถีกีฏีจ. +document_properties_version=PDF-ีซ ีฟีกึ€ีขีฅึ€ีกีฏีจ. +document_properties_page_count=ิทีปีฅึ€ีซ ึ„ีกีถีกีฏีจ. +document_properties_close=ี“ีกีฏีฅีฌ + +print_progress_message=ี†ีกีญีกีบีกีฟึ€ีกีฝีฟีธึ‚ีด ีง ึƒีกีฝีฟีกีฉีธึ‚ีฒีฉีจ ีฟีบีฅีฌีธึ‚ีถ... +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_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_notification.title=ี“ีธีญีกีถีปีกีฟีฅีฌ ิฟีธีฒีกีตีซีถ ีฃีธีฟีซีถ (ึƒีกีฝีฟีกีฉีธึ‚ีฒีฉีจ ีบีกึ€ีธึ‚ีถีกีฏีธึ‚ีด ีง ีธึ‚ึ€ีพีกีฃีซีฎ/ีฏึีธึ€ีค) +toggle_sidebar_label=ิฒีกึีฅีฌ/ี“ีกีฏีฅีฌ ิฟีธีฒีกีตีซีถ ีพีกีฐีกีถีกีฏีจ +document_outline.title=ี‘ีธึ‚ึีกีคึ€ีฅีฌ ึƒีกีฝีฟีกีฉีฒีฉีซ ีธึ‚ึ€ีพีกีฃีซีฎีจ (ีฏึ€ีฏีถีกีฏีซ ีฝีฅีฒีดีฅึ„ี ีดีซีธึ‚ีตีฉีถีฅึ€ีจ ีจีถีคีกึ€ีฑีกีฏีฅีฌีธึ‚/ีฏีธีฎีฏีฅีฌีธึ‚ ีฐีกีดีกึ€) +document_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_input.title=ีˆึ€ีธีถีธึ‚ีด +find_input.placeholder=ิณีฟีถีฅีฌ ึƒีกีฝีฟีกีฉีฒีฉีธึ‚ีด... +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=ิปึ€ีกีฏีกีถ ีนีกึƒีจ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=ีีญีกีฌ +loading_error=ีีญีกีฌี PDF ึ†ีกีตีฌีจ ีขีกึีฅีฌีซีฝึ‰ +invalid_file_error=ีีญีกีฌ ีฏีกีด ีขีถีกีฝีพีกีฎ PDF ึ†ีกีตีฌ: +missing_file_error=PDF ึ†ีกีตีฌีจ ีขีกึีกีฏีกีตีธึ‚ีด ีง: +unexpected_response_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=ี„ีธึ‚ีฟึ„ีกีฃึ€ีฅึ„ PDF-ีซ ีฃีกีฒีฟีถีกีขีกีผีจ: +password_invalid=ิณีกีฒีฟีถีกีขีกีผีจ ีฝีญีกีฌ ีง: ิฟึ€ีฏีซีถ ึƒีธึ€ีฑีฅึ„: +password_ok=ิผีกีพ +password_cancel=ี‰ีฅีฒีกึ€ีฏีฅีฌ + +printing_not_supported=ิถีฃีธึ‚ีทีกึีธึ‚ีด. ีีบีฅีฌีจ ีกีดีขีธีฒีปีธึ‚ีฉีตีกีดีข ีนีซ ีกีปีกีฏึีพีธึ‚ีด ีคีซีฟีกึ€ีฏีซีนีซ ีฏีธีฒีดีซึึ‰ +printing_not_ready=ิถีฃีธึ‚ีทีกึีธึ‚ีด. PDF-ีจ ีกีดีขีธีฒีปีธึ‚ีฉีตีกีดีข ีนีซ ีขีฅีผีถีกีพีธึ€ีพีฅีฌ ีฟีบีฅีฌีธึ‚ ีฐีกีดีกึ€: +web_fonts_disabled=ีŽีฅีข-ีฟีกีผีกีฟีฅีฝีกีฏีถีฅึ€ีจ ีกีถีปีกีฟีพีกีฎ ีฅีถ. ีฐีถีกึ€ีกีพีธึ€ ีนีง ึ…ีฃีฟีกีฃีธึ€ีฎีฅีฌ ีถีฅึ€ีฏีกีผีธึ‚ึีพีกีฎ PDF ีฟีกีผีกีฟีฅีฝีกีฏีถีฅึ€ีจ: +document_colors_not_allowed=PDF ึƒีกีฝีฟีกีฉีฒีฉีฅึ€ีซีถ ีฉีธึ‚ีตีฌีกีฟึ€ีพีกีฎ ีนีง ึ…ีฃีฟีกีฃีธึ€ีฎีฅีฌ ีซึ€ีฅีถึ ีฝีฅึƒีกีฏีกีถ ีฃีธึ‚ีตีถีฅึ€ีจ: โ€œินีธึ‚ีตีฌีกีฟึ€ีฅีฌ ีงีปีฅึ€ีซีถ ีจีถีฟึ€ีฅีฌ ีซึ€ีฅีถึ ีฝีฅึƒีกีฏีกีถ ีฃีธึ‚ีตีถีฅึ€ีจโ€œ ีจีถีฟึ€ีกีถึ„ีจ ีกีถีปีกีฟีพีกีฎ ีง ีคีซีฟีกึ€ีฏีซีนีธึ‚ีด: diff --git a/NKC_WF/Scripts/pdf.js/web/locale/id/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/id/viewer.properties new file mode 100644 index 0000000..fa847e2 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/id/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=Halaman +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=dari {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} dari {{pagesCount}}) + +zoom_out.title=Perkecil +zoom_out_label=Perkecil +zoom_in.title=Perbesar +zoom_in_label=Perbesar +zoom.title=Perbesaran +presentation_mode.title=Ganti ke Mode Presentasi +presentation_mode_label=Mode Presentasi +open_file.title=Buka Berkas +open_file_label=Buka +print.title=Cetak +print_label=Cetak +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=Ke Halaman Pertama +first_page_label=Buka Halaman Pertama +last_page.title=Buka Halaman Terakhir +last_page.label=Ke 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 + +cursor_text_select_tool.title=Aktifkan Alat Seleksi Teks +cursor_text_select_tool_label=Alat Seleksi Teks +cursor_hand_tool.title=Aktifkan Alat Tangan +cursor_hand_tool_label=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: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} byte) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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 + +print_progress_message=Menyiapkan dokumen untuk pencetakanโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Batalkan + +# 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_notification.title=Aktif/Nonaktifkan Bilah Samping (dokumen berisi kerangka/lampiran) +toggle_sidebar_label=Aktif/Nonaktifkan Bilah Samping +document_outline.title=Tampilkan Kerangka Dokumen (klik ganda untuk membentangkan/menciutkan semua item) +document_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}} + +# Find panel button title and messages +find_input.title=Temukan +find_input.placeholder=Temukan di dokumenโ€ฆ +find_previous.title=Temukan kata sebelumnya +find_previous_label=Sebelumnya +find_next.title=Temukan lebih lanjut +find_next_label=Selanjutnya +find_highlight=Sorot semuanya +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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# 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. +unexpected_response_error=Balasan server yang tidak diharapkan. + +# 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=[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_not_allowed=Dokumen PDF tidak diizinkan untuk menggunakan warnanya sendiri karena setelan 'Izinkan laman memilih warna sendiri' dinonaktifkan pada pengaturan. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/is/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/is/viewer.properties new file mode 100644 index 0000000..2cfd266 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/is/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=Sรญรฐa +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=af {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} af {{pagesCount}}) + +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 + +cursor_text_select_tool.title=Virkja textavalsรกhald +cursor_text_select_tool_label=Textavalsรกhald +cursor_hand_tool.title=Virkja handarverkfรฆri +cursor_hand_tool_label=Handarverkfรฆri + +# 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รฐ: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in 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: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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 + +print_progress_message=Undirbรฝ skjal fyrir prentunโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Hรฆtta viรฐ + +# 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_notification.title=Vรญxla hliรฐarslรก (skjal inniheldur yfirlit/viรฐhengi) +toggle_sidebar_label=Vรญxla hliรฐslรก +document_outline.title=Sรฝna yfirlit skjals (tvรญsmelltu til aรฐ opna/loka รถllum hlutum) +document_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_input.title=Leita +find_input.placeholder=Leita รญ skjaliโ€ฆ +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รฐ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# 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รก. +unexpected_response_error=ร“vรฆnt svar frรก netรพjรณni. + +# 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 +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_not_allowed=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/NKC_WF/Scripts/pdf.js/web/locale/it/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/it/viewer.properties new file mode 100644 index 0000000..f385aa8 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/it/viewer.properties @@ -0,0 +1,117 @@ +# 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 = Pagina precedente +previous_label = Precedente +next.title = Pagina successiva +next_label = Successiva +page.title = Pagina +of_pages = di {{pagesCount}} +page_of_pages = ({{pageNumber}} di {{pagesCount}}) +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 +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 +cursor_text_select_tool.title = Attiva strumento di selezione testo +cursor_text_select_tool_label = Strumento di selezione testo +cursor_hand_tool.title = Attiva strumento mano +cursor_hand_tool_label = 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_mb}} 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 +print_progress_message = Preparazione documento per la stampaโ€ฆ +print_progress_percent = {{progress}}% +print_progress_close = Annulla +toggle_sidebar.title = Attiva/disattiva barra laterale +toggle_sidebar_notification.title = Attiva/disattiva barra laterale (il documento contiene struttura/allegati) +toggle_sidebar_label = Attiva/disattiva barra laterale +document_outline.title = Visualizza la struttura del documento (doppio clic per visualizzare/nascondere tutti gli elementi) +document_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_input.title = Trova +find_input.placeholder = Trova nel documentoโ€ฆ +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 = Ulteriori informazioni +error_less_info = Nascondi dettagli +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 +page_scale_percent = {{scale}}% +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. +unexpected_response_error = Risposta imprevista del server +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_not_allowed = Non รจ possibile visualizzare i colori originali definiti nel file PDF: lโ€™opzione del browser โ€œConsenti alle pagine di scegliere i propri colori invece di quelli impostatiโ€ รจ disattivata. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/ja/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/ja/viewer.properties new file mode 100644 index 0000000..4149d9e --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/ja/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=ใƒšใƒผใ‚ธ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=/ {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} / {{pagesCount}}) + +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=็พๅœจใฎใƒ“ใƒฅใƒผใฎ URL ใงใ™ (ใ‚ณใƒ”ใƒผใพใŸใฏๆ–ฐใ—ใ„ใ‚ฆใ‚ฃใƒณใƒ‰ใ‚ฆใซ้–‹ใ) +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=ๅทฆๅ›ž่ปข + +cursor_text_select_tool.title=ใƒ†ใ‚ญใ‚นใƒˆ้ธๆŠžใƒ„ใƒผใƒซใ‚’ๆœ‰ๅŠนใซใ™ใ‚‹ +cursor_text_select_tool_label=ใƒ†ใ‚ญใ‚นใƒˆ้ธๆŠžใƒ„ใƒผใƒซ +cursor_hand_tool.title=ๆ‰‹ใฎใฒใ‚‰ใƒ„ใƒผใƒซใ‚’ๆœ‰ๅŠนใซใ™ใ‚‹ +cursor_hand_tool_label=ๆ‰‹ใฎใฒใ‚‰ใƒ„ใƒผใƒซ + +# Document properties dialog box +document_properties.title=ๆ–‡ๆ›ธใฎใƒ—ใƒญใƒ‘ใƒ†ใ‚ฃ... +document_properties_label=ๆ–‡ๆ›ธใฎใƒ—ใƒญใƒ‘ใƒ†ใ‚ฃ... +document_properties_file_name=ใƒ•ใ‚กใ‚คใƒซๅ: +document_properties_file_size=ใƒ•ใ‚กใ‚คใƒซใ‚ตใ‚คใ‚บ: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in 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=ๆ›ดๆ–ฐๆ—ฅ: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=ใ‚ขใƒ—ใƒชใ‚ฑใƒผใ‚ทใƒงใƒณ: +document_properties_producer=PDF ไฝœๆˆ: +document_properties_version=PDF ใฎใƒใƒผใ‚ธใƒงใƒณ: +document_properties_page_count=ใƒšใƒผใ‚ธๆ•ฐ: +document_properties_close=้–‰ใ˜ใ‚‹ + +print_progress_message=ๆ–‡ๆ›ธใฎๅฐๅˆทใ‚’ๆบ–ๅ‚™ใ—ใฆใ„ใพใ™... +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_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_notification.title=ใ‚ตใ‚คใƒ‰ใƒใƒผ่กจ็คบใ‚’ๅˆ‡ใ‚Šๆ›ฟใˆใพใ™ (ๆ–‡ๆ›ธใซๅซใพใ‚Œใ‚‹ใ‚ขใ‚ฆใƒˆใƒฉใ‚คใƒณ / ๆทปไป˜) +toggle_sidebar_label=ใ‚ตใ‚คใƒ‰ใƒใƒผใฎๅˆ‡ใ‚Šๆ›ฟใˆ +document_outline.title=ๆ–‡ๆ›ธใฎ็›ฎๆฌกใ‚’่กจ็คบใ—ใพใ™ (ใƒ€ใƒ–ใƒซใ‚ฏใƒชใƒƒใ‚ฏใง้ …็›ฎใ‚’้–‹้–‰ใ—ใพใ™) +document_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_input.title=ๆคœ็ดข +find_input.placeholder=ๆ–‡ๆ›ธๅ†…ใ‚’ๆคœ็ดข... +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=ๅฎŸ้š›ใฎใ‚ตใ‚คใ‚บ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=ใ‚จใƒฉใƒผ +loading_error=PDF ใฎ่ชญใฟ่พผใฟไธญใซใ‚จใƒฉใƒผใŒ็™บ็”Ÿใ—ใพใ—ใŸใ€‚ +invalid_file_error=็„กๅŠนใพใŸใฏ็ ดๆใ—ใŸ PDF ใƒ•ใ‚กใ‚คใƒซใ€‚ +missing_file_error=PDF ใƒ•ใ‚กใ‚คใƒซใŒ่ฆ‹ใคใ‹ใ‚Šใพใ›ใ‚“ใ€‚ +unexpected_response_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=ใ“ใฎ PDF ใƒ•ใ‚กใ‚คใƒซใ‚’้–‹ใใŸใ‚ใฎใƒ‘ใ‚นใƒฏใƒผใƒ‰ใ‚’ๅ…ฅๅŠ›ใ—ใฆใใ ใ•ใ„ใ€‚ +password_invalid=็„กๅŠนใชใƒ‘ใ‚นใƒฏใƒผใƒ‰ใงใ™ใ€‚ใ‚‚ใ†ไธ€ๅบฆใ‚„ใ‚Š็›ดใ—ใฆใใ ใ•ใ„ใ€‚ +password_ok=OK +password_cancel=ใ‚ญใƒฃใƒณใ‚ปใƒซ + +printing_not_supported=่ญฆๅ‘Š: ใ“ใฎใƒ–ใƒฉใ‚ฆใ‚ถใƒผใงใฏๅฐๅˆทใŒๅฎŒๅ…จใซใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ +printing_not_ready=่ญฆๅ‘Š: PDF ใ‚’ๅฐๅˆทใ™ใ‚‹ใŸใ‚ใฎ่ชญใฟ่พผใฟใŒ็ต‚ไบ†ใ—ใฆใ„ใพใ›ใ‚“ใ€‚ +web_fonts_disabled=ใ‚ฆใ‚งใƒ–ใƒ•ใ‚ฉใƒณใƒˆใŒ็„กๅŠนใซใชใฃใฆใ„ใพใ™: ๅŸ‹ใ‚่พผใพใ‚ŒใŸ PDF ใฎใƒ•ใ‚ฉใƒณใƒˆใ‚’ไฝฟ็”จใงใใพใ›ใ‚“ใ€‚ +document_colors_not_allowed=PDF ๆ–‡ๆ›ธใฏใ€ใ‚ฆใ‚งใƒ–ใƒšใƒผใ‚ธใŒๆŒ‡ๅฎšใ—ใŸ้…่‰ฒใ‚’ไฝฟ็”จใ™ใ‚‹ใ“ใจใŒใงใใพใ›ใ‚“: 'ใ‚ฆใ‚งใƒ–ใƒšใƒผใ‚ธใŒๆŒ‡ๅฎšใ—ใŸ้…่‰ฒ' ใฏใƒ–ใƒฉใ‚ฆใ‚ถใƒผใง็„กๅŠนใซใชใฃใฆใ„ใพใ™ใ€‚ diff --git a/NKC_WF/Scripts/pdf.js/web/locale/ka/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/ka/viewer.properties new file mode 100644 index 0000000..0a651e4 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/ka/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=แƒ’แƒ•แƒ”แƒ แƒ“แƒ˜ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}}-แƒ“แƒแƒœ +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} {{pagesCount}}-แƒ“แƒแƒœ) + +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=แƒกแƒแƒแƒ—แƒ˜แƒก แƒ˜แƒกแƒ แƒ˜แƒก แƒกแƒแƒžแƒ˜แƒ แƒ˜แƒกแƒžแƒ˜แƒ แƒแƒ“ แƒจแƒ”แƒ‘แƒ แƒฃแƒœแƒ”แƒ‘แƒ + +cursor_text_select_tool.title=แƒ›แƒแƒกแƒแƒœแƒ˜แƒจแƒœแƒ˜ แƒ›แƒแƒฉแƒ•แƒ”แƒœแƒ”แƒ‘แƒšแƒ˜แƒก แƒฉแƒแƒ แƒ—แƒ•แƒ +cursor_text_select_tool_label=แƒ›แƒแƒกแƒแƒœแƒ˜แƒจแƒœแƒ˜ แƒ›แƒแƒฉแƒ•แƒ”แƒœแƒ”แƒ‘แƒ”แƒšแƒ˜ +cursor_hand_tool.title=แƒ’แƒแƒ“แƒแƒกแƒแƒแƒ“แƒ’แƒ˜แƒšแƒ”แƒ‘แƒ”แƒšแƒ˜ แƒ›แƒแƒฉแƒ•แƒ”แƒœแƒ”แƒ‘แƒšแƒ˜แƒก แƒฉแƒแƒ แƒ—แƒ•แƒ +cursor_hand_tool_label=แƒ’แƒแƒ“แƒแƒกแƒแƒแƒ“แƒ’แƒ˜แƒšแƒ”แƒ‘แƒ”แƒšแƒ˜ แƒ›แƒแƒฉแƒ•แƒ”แƒœแƒ”แƒ‘แƒ”แƒšแƒ˜ + +# Document properties dialog box +document_properties.title=แƒ“แƒแƒ™แƒฃแƒ›แƒ”แƒœแƒขแƒ˜แƒก แƒจแƒ”แƒกแƒแƒฎแƒ”แƒ‘โ€ฆ +document_properties_label=แƒ“แƒแƒ™แƒฃแƒ›แƒ”แƒœแƒขแƒ˜แƒก แƒจแƒ”แƒกแƒแƒฎแƒ”แƒ‘โ€ฆ +document_properties_file_name=แƒคแƒแƒ˜แƒšแƒ˜แƒก แƒกแƒแƒฎแƒ”แƒšแƒ˜: +document_properties_file_size=แƒคแƒแƒ˜แƒšแƒ˜แƒก แƒ–แƒแƒ›แƒ: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} แƒ™แƒ‘ ({{size_b}} แƒ‘แƒแƒ˜แƒขแƒ˜) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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=แƒฉแƒแƒกแƒฌแƒแƒ แƒ”แƒ‘แƒ˜แƒก แƒ—แƒแƒ แƒ˜แƒฆแƒ˜: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=แƒจแƒ”แƒ›แƒฅแƒ›แƒœแƒ”แƒšแƒ˜: +document_properties_producer=PDF แƒ›แƒฌแƒแƒ แƒ›แƒแƒ”แƒ‘แƒ”แƒšแƒ˜: +document_properties_version=PDF แƒ•แƒ”แƒ แƒกแƒ˜แƒ: +document_properties_page_count=แƒ’แƒ•แƒ”แƒ แƒ“แƒ”แƒ‘แƒ˜แƒก แƒ แƒแƒแƒ“แƒ”แƒœแƒแƒ‘แƒ: +document_properties_close=แƒ“แƒแƒฎแƒฃแƒ แƒ•แƒ + +print_progress_message=แƒ“แƒแƒ™แƒฃแƒ›แƒ”แƒœแƒขแƒ˜ แƒ›แƒ–แƒแƒ“แƒ“แƒ”แƒ‘แƒ แƒแƒ›แƒแƒกแƒแƒ‘แƒ”แƒญแƒ“แƒแƒ“โ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_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_notification.title=แƒ’แƒ•แƒ”แƒ แƒ“แƒ˜แƒ—แƒ แƒ–แƒแƒšแƒ˜แƒก แƒฉแƒแƒ แƒ—แƒ•แƒ/แƒ’แƒแƒ›แƒแƒ แƒ—แƒ•แƒ (แƒ“แƒแƒ™แƒฃแƒ›แƒ”แƒœแƒขแƒ˜ แƒจแƒ”แƒ˜แƒชแƒแƒ•แƒก แƒกแƒแƒ แƒฉแƒ”แƒ•แƒก/แƒ“แƒแƒœแƒแƒ แƒ—แƒก) +toggle_sidebar_label=แƒ’แƒ•แƒ”แƒ แƒ“แƒ˜แƒ—แƒ แƒ–แƒแƒšแƒ˜แƒก แƒ’แƒแƒ›แƒแƒฉแƒ”แƒœแƒ/แƒ“แƒแƒ›แƒแƒšแƒ•แƒ +document_outline.title=แƒ“แƒแƒ™แƒฃแƒ›แƒ”แƒœแƒขแƒ˜แƒก แƒกแƒแƒ แƒฉแƒ”แƒ•แƒ˜แƒก แƒฉแƒ•แƒ”แƒœแƒ”แƒ‘แƒ (แƒแƒ แƒฏแƒ”แƒ  แƒ“แƒแƒฌแƒ™แƒแƒžแƒ”แƒ‘แƒ˜แƒ— แƒงแƒ•แƒ”แƒšแƒ แƒ”แƒšแƒ”แƒ›แƒ”แƒœแƒขแƒ˜แƒก แƒฉแƒแƒ›แƒแƒจแƒšแƒ/แƒแƒ™แƒ”แƒชแƒ•แƒ) +document_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_input.title=แƒซแƒ˜แƒ”แƒ‘แƒ +find_input.placeholder=แƒซแƒ˜แƒ”แƒ‘แƒ แƒ“แƒแƒ™แƒฃแƒ›แƒ”แƒœแƒขแƒจแƒ˜โ€ฆ +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=แƒœแƒแƒ›แƒ“แƒ•แƒ˜แƒšแƒ˜ แƒ–แƒแƒ›แƒ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=แƒจแƒ”แƒชแƒ“แƒแƒ›แƒ +loading_error=PDF-แƒ˜แƒก แƒฉแƒแƒขแƒ•แƒ˜แƒ แƒ—แƒ•แƒ˜แƒกแƒแƒก แƒ“แƒแƒคแƒ˜แƒฅแƒกแƒ˜แƒ แƒ“แƒ แƒจแƒ”แƒชแƒ“แƒแƒ›แƒ. +invalid_file_error=แƒแƒ แƒแƒ›แƒแƒ แƒ—แƒ”แƒ‘แƒฃแƒšแƒ˜ แƒแƒœ แƒ“แƒแƒ–แƒ˜แƒแƒœแƒ”แƒ‘แƒฃแƒšแƒ˜ PDF แƒคแƒแƒ˜แƒšแƒ˜. +missing_file_error=แƒœแƒแƒ™แƒšแƒฃแƒšแƒ˜ PDF แƒคแƒแƒ˜แƒšแƒ˜. +unexpected_response_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=แƒจแƒ”แƒ˜แƒงแƒ•แƒแƒœแƒ”แƒ— แƒžแƒแƒ แƒแƒšแƒ˜, แƒ แƒแƒ—แƒ แƒ’แƒแƒฎแƒกแƒœแƒแƒ— แƒ”แƒก PDF แƒคแƒแƒ˜แƒšแƒ˜. +password_invalid=แƒแƒ แƒแƒกแƒฌแƒแƒ แƒ˜ แƒžแƒแƒ แƒแƒšแƒ˜. แƒ’แƒ—แƒฎแƒแƒ•แƒ—, แƒกแƒชแƒแƒ“แƒแƒ— แƒฎแƒ”แƒšแƒแƒฎแƒšแƒ. +password_ok=แƒ™แƒแƒ แƒ’แƒ˜ +password_cancel=แƒ’แƒแƒฃแƒฅแƒ›แƒ”แƒ‘แƒ + +printing_not_supported=แƒ’แƒแƒคแƒ แƒ—แƒฎแƒ˜แƒšแƒ”แƒ‘แƒ: แƒแƒ›แƒแƒ‘แƒ”แƒญแƒ“แƒ•แƒ แƒแƒ› แƒ‘แƒ แƒแƒฃแƒ–แƒ”แƒ แƒจแƒ˜ แƒแƒ แƒแƒ แƒกแƒ แƒฃแƒšแƒแƒ“ แƒ›แƒฎแƒแƒ แƒ“แƒแƒญแƒ”แƒ แƒ˜แƒšแƒ˜. +printing_not_ready=แƒ’แƒแƒคแƒ แƒ—แƒฎแƒ˜แƒšแƒ”แƒ‘แƒ: PDF แƒกแƒ แƒฃแƒšแƒแƒ“ แƒฉแƒแƒขแƒ•แƒ˜แƒ แƒ—แƒฃแƒšแƒ˜ แƒแƒ แƒแƒ, แƒแƒ›แƒแƒ‘แƒ”แƒญแƒ“แƒ•แƒ˜แƒก แƒ“แƒแƒกแƒแƒฌแƒงแƒ”แƒ‘แƒแƒ“. +web_fonts_disabled=แƒ•แƒ”แƒ‘แƒจแƒ แƒ˜แƒคแƒขแƒ”แƒ‘แƒ˜ แƒ’แƒแƒ›แƒแƒ แƒ—แƒฃแƒšแƒ˜แƒ: แƒฉแƒแƒจแƒ”แƒœแƒ”แƒ‘แƒฃแƒšแƒ˜ PDF แƒจแƒ แƒ˜แƒคแƒขแƒ”แƒ‘แƒ˜แƒก แƒ’แƒแƒ›แƒแƒงแƒ”แƒœแƒ”แƒ‘แƒ แƒ•แƒ”แƒ  แƒฎแƒ”แƒ แƒฎแƒ“แƒ”แƒ‘แƒ. +document_colors_not_allowed=PDF แƒ“แƒแƒ™แƒฃแƒ›แƒ”แƒœแƒขแƒ”แƒ‘แƒก แƒแƒ  แƒแƒฅแƒ•แƒ— แƒกแƒแƒ™แƒฃแƒ—แƒแƒ แƒ˜ แƒคแƒ”แƒ แƒ”แƒ‘แƒ˜แƒก แƒ’แƒแƒ›แƒแƒงแƒ”แƒœแƒ”แƒ‘แƒ˜แƒก แƒœแƒ”แƒ‘แƒแƒ แƒ—แƒ•แƒ: แƒ‘แƒ แƒแƒฃแƒ–แƒ”แƒ แƒจแƒ˜ แƒ’แƒแƒ›แƒแƒ แƒ—แƒฃแƒšแƒ˜แƒ "แƒ’แƒ•แƒ”แƒ แƒ“แƒ”แƒ‘แƒ˜แƒกแƒ—แƒ•แƒ˜แƒก แƒกแƒแƒ™แƒฃแƒ—แƒแƒ แƒ˜ แƒคแƒ”แƒ แƒ”แƒ‘แƒ˜แƒก แƒ’แƒแƒ›แƒแƒงแƒ”แƒœแƒ”แƒ‘แƒ˜แƒก แƒฃแƒคแƒšแƒ”แƒ‘แƒ". diff --git a/NKC_WF/Scripts/pdf.js/web/locale/kk/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/kk/viewer.properties new file mode 100644 index 0000000..f31e1a2 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/kk/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=ะŸะฐั€ะฐา› +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}} ั–ัˆั–ะฝะตะฝ +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=(ะฟะฐั€ะฐา› {{pageNumber}}, {{pagesCount}} ั–ัˆั–ะฝะตะฝ) + +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=ะกะฐา“ะฐั‚ ั‚ั–ะปั– ะฑะฐา“ั‹ั‚ั‹ะฝะฐ า›ะฐั€ัั‹ ะฑาฑั€ัƒ + +cursor_text_select_tool.title=ะœำ™ั‚ั–ะฝะดั– ั‚ะฐาฃะดะฐัƒ า›าฑั€ะฐะปั‹ะฝ ั–ัะบะต า›ะพััƒ +cursor_text_select_tool_label=ะœำ™ั‚ั–ะฝะดั– ั‚ะฐาฃะดะฐัƒ า›าฑั€ะฐะปั‹ +cursor_hand_tool.title=าšะพะป า›าฑั€ะฐะปั‹ะฝ ั–ัะบะต า›ะพััƒ +cursor_hand_tool_label=าšะพะป า›าฑั€ะฐะปั‹ + +# Document properties dialog box +document_properties.title=าšาฑะถะฐั‚ า›ะฐัะธะตั‚ั‚ะตั€ั–โ€ฆ +document_properties_label=าšาฑะถะฐั‚ า›ะฐัะธะตั‚ั‚ะตั€ั–โ€ฆ +document_properties_file_name=ะคะฐะนะป ะฐั‚ั‹: +document_properties_file_size=ะคะฐะนะป ำฉะปัˆะตะผั–: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} ะšะ‘ ({{size_b}} ะฑะฐะนั‚) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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=ะขาฏะทะตั‚ัƒ ะบาฏะฝั–: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=ะ–ะฐัะฐา“ะฐะฝ: +document_properties_producer=PDF ำฉะฝะดั–ั€ะณะตะฝ: +document_properties_version=PDF ะฝาฑัา›ะฐัั‹: +document_properties_page_count=ะ‘ะตั‚ั‚ะตั€ ัะฐะฝั‹: +document_properties_close=ะ–ะฐะฑัƒ + +print_progress_message=าšาฑะถะฐั‚ั‚ั‹ ะฑะฐัะฟะฐา“ะฐ ัˆั‹า“ะฐั€ัƒ าฏัˆั–ะฝ ะดะฐะนั‹ะฝะดะฐัƒโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_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_notification.title=ะ‘าฏะนั–ั€ ะฟะฐะฝะตะปั–ะฝ ะบำฉั€ัะตั‚ัƒ/ะถะฐัั‹ั€ัƒ (า›าฑะถะฐั‚ั‚ะฐ า›าฑั€ั‹ะปั‹ะผั‹/ัะฐะปั‹ะฝั‹ะผะดะฐั€ ะฑะฐั€) +toggle_sidebar_label=ะ‘าฏะนั–ั€ ะฟะฐะฝะตะปั–ะฝ ะบำฉั€ัะตั‚ัƒ/ะถะฐัั‹ั€ัƒ +document_outline.title=าšาฑะถะฐั‚ า›าฑั€ั‹ะปั‹ะผั‹ะฝ ะบำฉั€ัะตั‚ัƒ (ะฑะฐั€ะปั‹า› ะฝำ™ั€ัะตะปะตั€ะดั– ะถะฐะทั‹า› า›ั‹ะปัƒ/ะถะธะฝะฐัƒ าฏัˆั–ะฝ า›ะพั ัˆะตั€ั‚ัƒ ะบะตั€ะตะบ) +document_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_input.title=ะขะฐะฑัƒ +find_input.placeholder=าšาฑะถะฐั‚ั‚ะฐะฝ ั‚ะฐะฑัƒโ€ฆ +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=ะะฐา›ั‚ั‹ ำฉะปัˆะตะผั– +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=าšะฐั‚ะต +loading_error=PDF ะถาฏะบั‚ะตัƒ ะบะตะทั–ะฝะดะต า›ะฐั‚ะต ะบะตั‚ั‚ั–. +invalid_file_error=ะ—ะฐา›ั‹ะผะดะฐะปา“ะฐะฝ ะฝะตะผะตัะต า›ะฐั‚ะต PDF ั„ะฐะนะป. +missing_file_error=PDF ั„ะฐะนะปั‹ ะถะพา›. +unexpected_response_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=ะ‘าฑะป PDF ั„ะฐะนะปั‹ะฝ ะฐัˆัƒ าฏัˆั–ะฝ ะฟะฐั€ะพะปัŒะดั– ะตะฝะณั–ะทั–าฃั–ะท. +password_invalid=ะŸะฐั€ะพะปัŒ ะดาฑั€ั‹ั ะตะผะตั. าšะฐะนั‚ะฐะปะฐะฟ ะบำฉั€ั–าฃั–ะท. +password_ok=ะžะš +password_cancel=ะ‘ะฐั ั‚ะฐั€ั‚ัƒ + +printing_not_supported=ะ•ัะบะตั€ั‚ัƒ: ะ‘ะฐัะฟะฐา“ะฐ ัˆั‹า“ะฐั€ัƒะดั‹ ะฑาฑะป ะฑั€ะฐัƒะทะตั€ ั‚ะพะปั‹า“ั‹ะผะตะฝ า›ะพะปะดะฐะผะฐะนะดั‹. +printing_not_ready=ะ•ัะบะตั€ั‚ัƒ: ะ‘ะฐัะฟะฐา“ะฐ ัˆั‹า“ะฐั€ัƒ าฏัˆั–ะฝ, ะฑาฑะป PDF ั‚ะพะปั‹า“ั‹ะผะตะฝ ะถาฏะบั‚ะตะปั–ะฟ ะฐะปั‹ะฝะฑะฐะดั‹. +web_fonts_disabled=ะ’ะตะฑ า›ะฐั€ั–ะฟั‚ะตั€ั– ัำฉะฝะดั–ั€ั–ะปะณะตะฝ: า›าฑั€ะฐะผั‹ะฝะฐ ะตะฝะณั–ะทั–ะปะณะตะฝ PDF า›ะฐั€ั–ะฟั‚ะตั€ั–ะฝ า›ะพะปะดะฐะฝัƒ ะผาฏะผะบั–ะฝ ะตะผะตั. +document_colors_not_allowed=PDF า›าฑะถะฐั‚ั‚ะฐั€ั‹ะฝะฐ ำฉะทะดั–ะบ ั‚าฏัั‚ะตั€ะดั– า›ะพะปะดะฐะฝัƒ ั€าฑา›ัะฐั‚ ะตั‚ั–ะปะผะตะณะตะฝ: ะฑาฑะป ะฑั€ะฐัƒะทะตั€ะดะต 'ะ’ะตะฑ-ัะฐะนั‚ั‚ะฐั€า“ะฐ ำฉะทะดะตั€ั–ะฝั–าฃ ั‚าฏัั‚ะตั€ั–ะฝ า›ะพะปะดะฐะฝัƒา“ะฐ ั€าฑา›ัะฐั‚ ะฑะตั€ัƒ' ะผาฏะผะบั–ะฝะดั–ะณั– ัำฉะฝะดั–ั€ัƒะปั– ั‚าฑั€. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/km/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/km/viewer.properties new file mode 100644 index 0000000..e5403cc --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/km/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=แž‘แŸ†แž–แŸแžš +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=แž“แŸƒ {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} แž“แŸƒ {{pagesCount}}) + +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=แž”แž„แŸ’แžœแžทแž›โ€‹แž…แŸ’แžšแžถแžŸโ€‹แž‘แŸ’แžšแž“แžทแž…โ€‹แž“แžถแžกแžทแž€แžถโ€‹โ€‹ + +cursor_text_select_tool.title=แž”แžพแž€โ€‹แžงแž”แž€แžšแžŽแŸโ€‹แž‡แŸ’แžšแžพแžŸโ€‹แžขแžแŸ’แžแž”แž‘ +cursor_text_select_tool_label=แžงแž”แž€แžšแžŽแŸโ€‹แž‡แŸ’แžšแžพแžŸโ€‹แžขแžแŸ’แžแž”แž‘ +cursor_hand_tool.title=แž”แžพแž€โ€‹แžงแž”แž€แžšแžŽแŸโ€‹แžŠแŸƒ +cursor_hand_tool_label=แžงแž”แž€แžšแžŽแŸโ€‹แžŠแŸƒ + +# Document properties dialog box +document_properties.title=แž›แž€แŸ’แžแžŽโ€‹แžŸแž˜แŸ’แž”แžแŸ’แžแžทโ€‹แžฏแž€แžŸแžถแžšโ€ฆ +document_properties_label=แž›แž€แŸ’แžแžŽโ€‹แžŸแž˜แŸ’แž”แžแŸ’แžแžทโ€‹แžฏแž€แžŸแžถแžšโ€ฆ +document_properties_file_name=แžˆแŸ’แž˜แŸ„แŸ‡โ€‹แžฏแž€แžŸแžถแžšแŸ– +document_properties_file_size=แž‘แŸ†แž แŸ†โ€‹แžฏแž€แžŸแžถแžšแŸ– +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} แž”แŸƒ) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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=แž€แžถแž›แž”แžšแžทแž…แŸ’แž†แŸแž‘โ€‹แž€แŸ‚แž”แŸ’แžšแŸ‚แŸ– +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=แžขแŸ’แž“แž€โ€‹แž”แž„แŸ’แž€แžพแžแŸ– +document_properties_producer=แž€แž˜แŸ’แž˜แžœแžทแž’แžธโ€‹แž”แž„แŸ’แž€แžพแž PDF แŸ– +document_properties_version=แž€แŸ†แžŽแŸ‚ PDF แŸ– +document_properties_page_count=แž…แŸ†แž“แžฝแž“โ€‹แž‘แŸ†แž–แŸแžšแŸ– +document_properties_close=แž”แžทแž‘ + +print_progress_message=แž€แŸ†แž–แžปแž„โ€‹แžšแŸ€แž”แž…แŸ†โ€‹แžฏแž€แžŸแžถแžšโ€‹แžŸแž˜แŸ’แžšแžถแž”แŸ‹โ€‹แž”แŸ„แŸ‡แž–แžปแž˜แŸ’แž–โ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_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_notification.title=แž”แžทแž‘/แž”แžพแž€โ€‹แžšแž”แžถแžšโ€‹แž…แŸ†แž แŸ€แž„ (แžฏแž€แžŸแžถแžšโ€‹แž˜แžถแž“โ€‹แž˜แžถแžแžทแž€แžถโ€‹แž“แŸ…โ€‹แž€แŸ’แžšแŸ…/attachments) +toggle_sidebar_label=แž”แžทแž‘/แž”แžพแž€โ€‹แž‚แŸ’แžšแžถแž”แŸ‹โ€‹แžšแŸ†แž€แžทแž› +document_outline.title=แž”แž„แŸ’แž แžถแž‰โ€‹แž‚แŸ’แžšแŸ„แž„โ€‹แžฏแž€แžŸแžถแžš (แž…แžปแž…โ€‹แž‘แŸ’แžœแŸโ€‹แžŠแž„โ€‹แžŠแžพแž˜แŸ’แž”แžธโ€‹แž–แž„แŸ’แžšแžธแž€/แž”แž„แŸ’แžšแžฝแž˜โ€‹แž’แžถแžแžปโ€‹แž‘แžถแŸ†แž„แžขแžŸแŸ‹) +document_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_input.title=แžšแž€ +find_input.placeholder=แžšแž€โ€‹แž“แŸ…โ€‹แž€แŸ’แž“แžปแž„โ€‹แžฏแž€แžŸแžถแžš... +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=แž‘แŸ†แž แŸ†โ€‹แž‡แžถแž€แŸ‹แžŸแŸ’แžŠแŸ‚แž„ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=แž€แŸ†แž แžปแžŸ +loading_error=แž˜แžถแž“โ€‹แž€แŸ†แž แžปแžŸโ€‹แž”แžถแž“โ€‹แž€แžพแžแžกแžพแž„โ€‹แž–แŸแž›โ€‹แž€แŸ†แž–แžปแž„โ€‹แž•แŸ’แž‘แžปแž€ PDFย แŸ” +invalid_file_error=แžฏแž€แžŸแžถแžš PDF แžแžผแž… แžฌโ€‹แž˜แžทแž“โ€‹แžแŸ’แžšแžนแž˜แžแŸ’แžšแžผแžœย แŸ” +missing_file_error=แž”แžถแžแŸ‹โ€‹แžฏแž€แžŸแžถแžš PDF +unexpected_response_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=แž”แž‰แŸ’แž…แžผแž›โ€‹แž–แžถแž€แŸ’แž™แžŸแž˜แŸ’แž„แžถแžแŸ‹โ€‹แžŠแžพแž˜แŸ’แž”แžธโ€‹แž”แžพแž€โ€‹แžฏแž€แžŸแžถแžš PDF แž“แŸแŸ‡แŸ” +password_invalid=แž–แžถแž€แŸ’แž™แžŸแž˜แŸ’แž„แžถแžแŸ‹โ€‹แž˜แžทแž“โ€‹แžแŸ’แžšแžนแž˜แžแŸ’แžšแžผแžœแŸ” แžŸแžผแž˜โ€‹แž–แŸ’แž™แžถแž™แžถแž˜โ€‹แž˜แŸ’แžŠแž„แž‘แŸ€แžแŸ” +password_ok=แž™แž›แŸ‹โ€‹แž–แŸ’แžšแž˜ +password_cancel=แž”แŸ„แŸ‡แž”แž„แŸ‹ + +printing_not_supported=แž€แžถแžšโ€‹แž–แŸ’แžšแž˜แžถแž“ย แŸ– แž€แžถโ€‹แžšโ€‹แž”แŸ„แŸ‡แž–แžปแž˜แŸ’แž–โ€‹แž˜แžทแž“โ€‹แžแŸ’แžšแžผแžœโ€‹แž”แžถแž“โ€‹แž‚แžถแŸ†แž‘แŸ’แžšโ€‹แž–แŸแž‰แž›แŸแž‰โ€‹แžŠแŸ„แž™โ€‹แž€แž˜แŸ’แž˜แžœแžทแž’แžธโ€‹แžšแžปแž€แžšแž€โ€‹แž“แŸแŸ‡โ€‹แž‘แŸย แŸ” +printing_not_ready=แž–แŸ’แžšแž˜แžถแž“แŸ– PDF แž˜แžทแž“โ€‹แžแŸ’แžšแžผแžœโ€‹แž”แžถแž“โ€‹แž•แŸ’แž‘แžปแž€โ€‹แž‘แžถแŸ†แž„แžŸแŸ’แžšแžปแž„โ€‹แžŠแžพแž˜แŸ’แž”แžธโ€‹แž”แŸ„แŸ‡แž–แžปแž˜แŸ’แž–โ€‹แž‘แŸแŸ” +web_fonts_disabled=แž”แžถแž“โ€‹แž”แžทแž‘โ€‹แž–แžปแž˜แŸ’แž–แžขแž€แŸ’แžŸแžšโ€‹แž”แžŽแŸ’แžŠแžถแž‰ย แŸ– แž˜แžทแž“โ€‹แžขแžถแž…โ€‹แž”แŸ’แžšแžพโ€‹แž–แžปแž˜แŸ’แž–แžขแž€แŸ’แžŸแžš PDF แžŠแŸ‚แž›โ€‹แž”แžถแž“โ€‹แž”แž„แŸ’แž€แž”แŸ‹โ€‹แž”แžถแž“โ€‹แž‘แŸย แŸ” +document_colors_not_allowed=แžฏแž€แžŸแžถแžš PDF แž˜แžทแž“โ€‹แžแŸ’แžšแžผแžœโ€‹แž”แžถแž“โ€‹แžขแž“แžปแž‰แŸ’แž‰แžถแžโ€‹แžฒแŸ’แž™โ€‹แž”แŸ’แžšแžพโ€‹แž–แžŽแŸŒโ€‹แž•แŸ’แž‘แžถแž›แŸ‹โ€‹แžšแž”แžŸแŸ‹โ€‹แžœแžถโ€‹แž‘แŸแŸ– 'แžขแž“แžปแž‰แŸ’แž‰แžถแžโ€‹โ€‹แžฒแŸ’แž™โ€‹แž‘แŸ†แž–แŸแžšโ€‹แž‡แŸ’แžšแžพแžŸโ€‹แž–แžŽแŸŒโ€‹แž•แŸ’แž‘แžถแž›แŸ‹โ€‹แžแŸ’แž›แžฝแž“' แžแŸ’แžšแžผแžœโ€‹แž”แžถแž“โ€‹แž’แŸ’แžœแžพโ€‹แžฒแŸ’แž™โ€‹แžขแžŸแž€แž˜แŸ’แž˜โ€‹แž€แŸ’แž“แžปแž„โ€‹โ€‹แž€แž˜แŸ’แž˜แžœแžทแž’แžธโ€‹แžšแžปแž€แžšแž€แŸ” diff --git a/NKC_WF/Scripts/pdf.js/web/locale/kn/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/kn/viewer.properties new file mode 100644 index 0000000..f3a378b --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/kn/viewer.properties @@ -0,0 +1,182 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=เฒชเณเฒŸ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}} เฒฐเฒฒเณเฒฒเฒฟ +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pagesCount}} เฒฐเฒฒเณเฒฒเฒฟ {{pageNumber}}) + +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=เฒ…เฒชเณเฒฐเฒฆเฒ•เณเฒทเฒฟเฒฃเณ†เฒฏเฒฒเณเฒฒเฒฟ เฒคเฒฟเฒฐเณเฒ—เฒฟเฒธเณ + +cursor_text_select_tool.title=เฒชเฒ เณเฒฏ เฒ†เฒฏเณเฒ•เณ† เฒ‰เฒชเฒ•เฒฐเฒฃเฒตเฒจเณเฒจเณ เฒธเฒ•เณเฒฐเฒฟเฒฏเฒ—เณŠเฒณเฒฟเฒธเฒฟ +cursor_text_select_tool_label=เฒชเฒ เณเฒฏ เฒ†เฒฏเณเฒ•เณ†เฒฏ เฒ‰เฒชเฒ•เฒฐเฒฃ +cursor_hand_tool.title=เฒ•เณˆ เฒ‰เฒชเฒ•เฒฐเฒฃเฒตเฒจเณเฒจเณ เฒธเฒ•เณเฒฐเฒฟเฒฏเฒ—เณŠเฒณเฒฟเฒธเฒฟ +cursor_hand_tool_label=เฒ•เณˆ เฒ‰เฒชเฒ•เฒฐเฒฃ + +# Document properties dialog box +document_properties.title=เฒกเฒพเฒ•เณเฒฏเณเฒฎเณ†เฒ‚เฒŸเณโ€Œ เฒ—เณเฒฃเฒ—เฒณเณ... +document_properties_label=เฒกเฒพเฒ•เณเฒฏเณเฒฎเณ†เฒ‚เฒŸเณโ€Œ เฒ—เณเฒฃเฒ—เฒณเณ... +document_properties_file_name=เฒ•เฒกเฒคเฒฆ เฒนเณ†เฒธเฒฐเณ: +document_properties_file_size=เฒ•เฒกเฒคเฒฆ เฒ—เฒพเฒคเณเฒฐ: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} เฒฌเณˆเฒŸเณโ€เฒ—เฒณเณ) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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=เฒฎเฒพเฒฐเณเฒชเฒกเฒฟเฒธเฒฒเฒพเฒฆ เฒฆเฒฟเฒจเฒพเฒ‚เฒ•: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=เฒฐเฒšเฒฟเฒธเฒฟเฒฆเฒตเฒฐเณ: +document_properties_producer=PDF เฒ‰เฒคเณเฒชเฒพเฒฆเฒ•: +document_properties_version=PDF เฒ†เฒตเณƒเฒคเณเฒคเฒฟ: +document_properties_page_count=เฒชเณเฒŸเฒฆ เฒŽเฒฃเฒฟเฒ•เณ†: +document_properties_close=เฒฎเณเฒšเณเฒšเณ + +print_progress_message=เฒฎเณเฒฆเณเฒฐเฒฟเฒธเณเฒตเณเฒฆเฒ•เณเฒ•เฒพเฒ—เฒฟ เฒฆเฒธเณเฒคเฒพเฒตเณ‡เฒœเฒจเณเฒจเณ เฒธเฒฟเฒฆเณเฒงเฒ—เณŠเฒณเฒฟเฒธเฒฒเฒพเฒ—เณเฒคเณเฒคเฒฟเฒฆเณ†โ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_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=เฒฌเฒฆเฒฟเฒชเฒŸเณเฒŸเฒฟเฒฏเฒจเณเฒจเณ เฒนเณŠเฒฐเฒณเฒฟเฒธเณ +document_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_input.title=เฒนเณเฒกเณเฒ•เณ +find_input.placeholder=เฒฆเฒธเณเฒคเฒพเฒตเณ‡เฒœเฒฟเฒจเฒฒเณเฒฒเฒฟ เฒนเณเฒกเณเฒ•เณโ€ฆ +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=เฒจเฒฟเฒœเฒตเฒพเฒฆ เฒ—เฒพเฒคเณเฒฐ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=เฒฆเณ‹เฒท +loading_error=PDF เฒ…เฒจเณเฒจเณ เฒฒเณ‹เฒกเณ เฒฎเฒพเฒกเณเฒตเฒพเฒ— เฒ’เฒ‚เฒฆเณ เฒฆเณ‹เฒท เฒŽเฒฆเณเฒฐเฒพเฒ—เฒฟเฒฆเณ†. +invalid_file_error=เฒ…เฒฎเฒพเฒจเณเฒฏเฒตเฒพเฒฆ เฒ…เฒฅเฒต เฒนเฒพเฒณเฒพเฒฆ PDF เฒ•เฒกเฒค. +missing_file_error=PDF เฒ•เฒกเฒค เฒ‡เฒฒเณเฒฒ. +unexpected_response_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=PDF เฒ…เฒจเณเฒจเณ เฒคเณ†เฒฐเณ†เฒฏเฒฒเณ เฒ—เณเฒชเณเฒคเฒชเฒฆเฒตเฒจเณเฒจเณ เฒจเฒฎเณ‚เฒฆเฒฟเฒธเฒฟ. +password_invalid=เฒ…เฒฎเฒพเฒจเณเฒฏเฒตเฒพเฒฆ เฒ—เณเฒชเณเฒคเฒชเฒฆ, เฒฆเฒฏเฒตเฒฟเฒŸเณเฒŸเณ เฒ‡เฒจเณเฒจเณŠเฒฎเณเฒฎเณ† เฒชเณเฒฐเฒฏเฒคเณเฒจเฒฟเฒธเฒฟ. +password_ok=OK +password_cancel=เฒฐเฒฆเณเฒฆเณ เฒฎเฒพเฒกเณ + +printing_not_supported=เฒŽเฒšเณเฒšเฒฐเฒฟเฒ•เณ†: เฒˆ เฒœเฒพเฒฒเฒตเณ€เฒ•เณเฒทเฒ•เฒฆเฒฒเณเฒฒเฒฟ เฒฎเณเฒฆเณเฒฐเฒฃเฒ•เณเฒ•เณ† เฒธเฒ‚เฒชเณ‚เฒฐเณเฒฃ เฒฌเณ†เฒ‚เฒฌเฒฒเฒตเฒฟเฒฒเณเฒฒ. +printing_not_ready=เฒŽเฒšเณเฒšเฒฐเฒฟเฒ•เณ†: PDF เฒ•เฒกเฒคเฒตเณ เฒฎเณเฒฆเณเฒฐเฒฟเฒธเฒฒเณ เฒธเฒ‚เฒชเณ‚เฒฐเณเฒฃเฒตเฒพเฒ—เฒฟ เฒฒเณ‹เฒกเณ เฒ†เฒ—เฒฟเฒฒเณเฒฒ. +web_fonts_disabled=เฒœเฒพเฒฒ เฒ…เฒ•เณเฒทเฒฐเฒถเณˆเฒฒเฒฟเฒฏเฒจเณเฒจเณ เฒจเฒฟเฒทเณเฒ•เณเฒฐเฒฟเฒฏเฒ—เณŠเฒณเฒฟเฒธเฒฒเฒพเฒ—เฒฟเฒฆเณ†: เฒ…เฒกเฒ•เฒ—เณŠเฒณเฒฟเฒธเฒฟเฒฆ PDF เฒ…เฒ•เณเฒทเฒฐเฒถเณˆเฒฒเฒฟเฒ—เฒณเฒจเณเฒจเณ เฒฌเฒณเฒธเฒฒเณ เฒธเฒพเฒงเณเฒฏเฒตเฒพเฒ—เฒฟเฒฒเณเฒฒ. +document_colors_not_allowed=PDF เฒฆเฒธเณเฒคเฒพเฒตเณ‡เฒœเณเฒ—เฒณเณ เฒคเฒฎเณเฒฎเฒฆเณ† เฒ†เฒฆ เฒฌเฒฃเณเฒฃเฒ—เฒณเฒจเณเฒจเณ เฒฌเฒณเฒธเฒฒเณ เฒ…เฒจเณเฒฎเฒคเฒฟ เฒ‡เฒฐเณเฒตเณเฒฆเฒฟเฒฒเณเฒฒ: 'เฒชเณเฒŸเฒ—เฒณเณ เฒคเฒฎเณเฒฎเฒฆเณ† เฒ†เฒฆ เฒฌเฒฃเณเฒฃเฒตเฒจเณเฒจเณ เฒ†เฒฏเณเฒ•เณ† เฒฎเฒพเฒกเฒฒเณ เฒ…เฒจเณเฒฎเฒคเฒฟเฒธเณ' เฒ…เฒจเณเฒจเณ เฒœเฒพเฒฒเฒตเณ€เฒ•เณเฒทเฒ•เฒฆเฒฒเณเฒฒเฒฟ เฒจเฒฟเฒทเณเฒ•เณเฒฐเฒฟเฒฏเฒ—เณŠเฒณเฒฟเฒธเฒฒเฒพเฒ—เฒฟเฒฐเณเฒคเณเฒคเฒฆเณ†. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/ko/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/ko/viewer.properties new file mode 100644 index 0000000..ea3732b --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/ko/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=ํŽ˜์ด์ง€ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=์ „์ฒด {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pagesCount}} ์ค‘ {{pageNumber}}) + +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=์‹œ๊ณ„ ๋ฐ˜๋Œ€๋ฐฉํ–ฅ์œผ๋กœ ํšŒ์ „ + +cursor_text_select_tool.title=ํ…์ŠคํŠธ ์„ ํƒ ๋„๊ตฌ ํ™œ์„ฑํ™” +cursor_text_select_tool_label=ํ…์ŠคํŠธ ์„ ํƒ ๋„๊ตฌ +cursor_hand_tool.title=์† ๋„๊ตฌ ํ™œ์„ฑํ™” +cursor_hand_tool_label=์† ๋„๊ตฌ + +# Document properties dialog box +document_properties.title=๋ฌธ์„œ ์†์„ฑโ€ฆ +document_properties_label=๋ฌธ์„œ ์†์„ฑโ€ฆ +document_properties_file_name=ํŒŒ์ผ ์ด๋ฆ„: +document_properties_file_size=ํŒŒ์ผ ์‚ฌ์ด์ฆˆ: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}}๋ฐ”์ดํŠธ) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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=์ˆ˜์ •์ผ: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=์ƒ์„ฑ์ž: +document_properties_producer=PDF ์ƒ์„ฑ๊ธฐ: +document_properties_version=PDF ๋ฒ„์ „: +document_properties_page_count=์ด ํŽ˜์ด์ง€: +document_properties_close=๋‹ซ๊ธฐ + +print_progress_message=๋ฌธ์„œ ์ถœ๋ ฅ ์ค€๋น„์ค‘โ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_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_notification.title=ํƒ์ƒ‰์ฐฝ ์—ด๊ณ  ๋‹ซ๊ธฐ (๋ฌธ์„œ์— ์•„์›ƒ๋ผ์ธ์ด๋‚˜ ์ฒจ๋ถ€ํŒŒ์ผ์ด ๋“ค์–ด์žˆ์Œ) +toggle_sidebar_label=ํƒ์ƒ‰์ฐฝ ์—ด๊ณ  ๋‹ซ๊ธฐ +document_outline.title=๋ฌธ์„œ ์•„์›ƒ๋ผ์ธ ๋ณด๊ธฐ(๋”๋ธ” ํด๋ฆญํ•ด์„œ ๋ชจ๋“  ํ•ญ๋ชฉ ์—ด๊ณ  ๋‹ซ๊ธฐ) +document_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_input.title=์ฐพ๊ธฐ +find_input.placeholder=๋ฌธ์„œ์—์„œ ์ฐพ๊ธฐโ€ฆ +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=์‹ค์ œ ํฌ๊ธฐ์— ๋งž์ถค +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=์˜ค๋ฅ˜ +loading_error=PDF๋ฅผ ์ฝ๋Š” ์ค‘ ์˜ค๋ฅ˜๊ฐ€ ์ƒ๊ฒผ์Šต๋‹ˆ๋‹ค. +invalid_file_error=์œ ํšจํ•˜์ง€ ์•Š๊ฑฐ๋‚˜ ํŒŒ์†๋œ PDF ํŒŒ์ผ +missing_file_error=PDF ํŒŒ์ผ์ด ์—†์Šต๋‹ˆ๋‹ค. +unexpected_response_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=์ด PDF ํŒŒ์ผ์„ ์—ด ์ˆ˜ ์žˆ๋Š” ์•”ํ˜ธ๋ฅผ ์ž…๋ ฅํ•˜์‹ญ์‹œ์˜ค. +password_invalid=์ž˜๋ชป๋œ ์•”ํ˜ธ์ž…๋‹ˆ๋‹ค. ๋‹ค์‹œ ์‹œ๋„ํ•ด ์ฃผ์‹ญ์‹œ์˜ค. +password_ok=ํ™•์ธ +password_cancel=์ทจ์†Œ + +printing_not_supported=๊ฒฝ๊ณ : ์ด ๋ธŒ๋ผ์šฐ์ €๋Š” ์ธ์‡„๋ฅผ ์™„์ „ํžˆ ์ง€์›ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. +printing_not_ready=๊ฒฝ๊ณ : ์ด PDF๋ฅผ ์ธ์‡„๋ฅผ ํ•  ์ˆ˜ ์žˆ์„ ์ •๋„๋กœ ์ฝ์–ด๋“ค์ด์ง€ ๋ชปํ–ˆ์Šต๋‹ˆ๋‹ค. +web_fonts_disabled=์›น ํฐํŠธ๊ฐ€ ๊บผ์ ธ์žˆ์Œ: ๋‚ด์žฅ๋œ PDF ๊ธ€๊ผด์„ ์“ธ ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. +document_colors_not_allowed=PDF ๋ฌธ์„œ์˜ ์ƒ‰์ƒ์„ ์“ฐ์ง€ ๋ชปํ•˜๊ฒŒ ๋˜์–ด ์žˆ์Œ: '์›น ํŽ˜์ด์ง€ ์ž์ฒด ์ƒ‰์ƒ ์‚ฌ์šฉ ํ—ˆ์šฉ'์ด ๋ธŒ๋ผ์šฐ์ €์—์„œ ๊บผ์ ธ ์žˆ์Šต๋‹ˆ๋‹ค. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/ku/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/ku/viewer.properties new file mode 100644 index 0000000..c3462f6 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/ku/viewer.properties @@ -0,0 +1,146 @@ +# 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.title): The tooltip for the pageNumber input. +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. + +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 +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_title=Sernav: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. + +# 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 +document_outline_label=ลžemaya belgeyรช +thumbs.title=Wรชnekokan nรฎลŸan bide +thumbs_label=Wรชnekok +findbar.title=Di belgeyรช de 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_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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. + +# 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 + +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_not_allowed=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/NKC_WF/Scripts/pdf.js/web/locale/lg/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/lg/viewer.properties new file mode 100644 index 0000000..5658d54 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/lg/viewer.properties @@ -0,0 +1,112 @@ +# 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.title): The tooltip for the pageNumber input. +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=ku {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. + +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 +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +document_outline_label=Ensalo ze Ekiwandiko +thumbs.title=Laga Ekifanyi Mubufunze +thumbs_label=Ekifanyi Mubufunze + +# 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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. + +# 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 + +printing_not_supported=Okulaabula: Okulumya empapula tekuwagirwa enonyeso enno. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/lij/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/lij/viewer.properties new file mode 100644 index 0000000..06bdfd0 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/lij/viewer.properties @@ -0,0 +1,180 @@ +# 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=Pagina primma +previous_label=Precedente +next.title=Pagina dรฒppo +next_label=Prรฒscima + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Pagina +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=de {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} de {{pagesCount}}) + +zoom_out.title=Diminoisci zoom +zoom_out_label=Diminoisci zoom +zoom_in.title=Aomenta zoom +zoom_in_label=Aomenta zoom +zoom.title=Zoom +presentation_mode.title=Vanni into mรฒddo de prezentaรงion +presentation_mode_label=Mรฒddo de prezentaรงion +open_file.title=Arvi file +open_file_label=Arvi +print.title=Stanpa +print_label=Stanpa +download.title=Descaregamento +download_label=Descaregamento +bookmark.title=Vixon corente (cรฒpia รฒ arvi inte 'n neuvo barcon) +bookmark_label=Vixon corente + +# Secondary toolbar and context menu +tools.title=Strumenti +tools_label=Strumenti +first_page.title=Vanni a-a primma pagina +first_page.label=Vanni a-a primma pagina +first_page_label=Vanni a-a primma pagina +last_page.title=Vanni a l'urtima pagina +last_page.label=Vanni a l'urtima pagina +last_page_label=Vanni a l'urtima pagina +page_rotate_cw.title=Gia into verso oraio +page_rotate_cw.label=Gia in senso do releuio +page_rotate_cw_label=Gia into verso oraio +page_rotate_ccw.title=Gia into verso antioraio +page_rotate_ccw.label=Gia in senso do releuio a-a reversa +page_rotate_ccw_label=Gia into verso antioraio + + +# Document properties dialog box +document_properties.title=Propietรฆ do documentoโ€ฆ +document_properties_label=Propietรฆ do documentoโ€ฆ +document_properties_file_name=Nomme file: +document_properties_file_size=Dimenscion file: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} kB ({{size_b}} byte) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_kb}} MB ({{size_b}} byte) +document_properties_title=Titolo: +document_properties_author=Aoto: +document_properties_subject=Ogetto: +document_properties_keywords=Parรฒlle ciave: +document_properties_creation_date=Dรฆta creaรงion: +document_properties_modification_date=Dรฆta cangiamento: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Aotรด originale: +document_properties_producer=Produtรด PDF: +document_properties_version=Verscion PDF: +document_properties_page_count=Contezzo pagine: +document_properties_close=Sรฆra + +print_progress_message=Praparo o documento pe-a stanpaโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Anulla + +# 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=Ativa/dizativa bara de scianco +toggle_sidebar_notification.title=Cangia bara de lรถo (o documento o contegne di alegรฆ) +toggle_sidebar_label=Ativa/dizativa bara de scianco +document_outline.title=Fanni vedde o contorno do documento (scicca doggio pe espande/ridue tutti i elementi) +document_outline_label=Contorno do documento +attachments.title=Fanni vedde alegรฆ +attachments_label=Alegรฆ +thumbs.title=Mostra miniatue +thumbs_label=Miniatue +findbar.title=Treuva into documento +findbar_label=Treuva + +# 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=Pagina {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatua da pagina {{page}} + +# Find panel button title and messages +find_input.title=Treuva +find_input.placeholder=Treuva into documentoโ€ฆ +find_previous.title=Treuva a ripetiรงion precedente do testo da รงercรข +find_previous_label=Precedente +find_next.title=Treuva a ripetiรงion dรฒppo do testo da รงercรข +find_next_label=Segoente +find_highlight=Evidenรงia +find_match_case_label=Maioscole/minoscole +find_reached_top=Razonto a fin da pagina, continoa da l'iniรงio +find_reached_bottom=Razonto l'iniรงio da pagina, continoa da-a fin +find_not_found=Testo no trovou + +# Error panel labels +error_more_info=Ciรน informaรงioin +error_less_info=Meno informaรงioin +error_close=Sรฆra +# 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=Mesaggio: {{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=Linia: {{line}} +rendering_error=Gh'รฉ stรฆto 'n'erรด itno rendering da pagina. + +# Predefined zoom values +page_scale_width=Larghessa pagina +page_scale_fit=Adatta a una pagina +page_scale_auto=Zoom aotomatico +page_scale_actual=Dimenscioin efetive +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=Erรด +loading_error=S'รฉ verificou 'n'erรด itno caregamento do PDF. +invalid_file_error=O file PDF o l'รฉ no valido รฒ aroinou. +missing_file_error=O file PDF o no gh'รฉ. +unexpected_response_error=Risposta inprevista do-u server + +# 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=[Anotaรงion: {{type}}] +password_label=Dimme a parรฒlla segreta pe arvรฎ sto file PDF. +password_invalid=Parรฒlla segreta sbalia. Preuva torna. +password_ok=Va ben +password_cancel=Anulla + +printing_not_supported=Atenรงion: a stanpa a no l'รฉ conpletamente soportรข da sto navegatรด. +printing_not_ready=Atenรงion: o PDF o no l'รฉ ancon caregou conpletamente pe-a stanpa. +web_fonts_disabled=I font do web en dizativรฆ: inposcibile adeuviรข i carateri do PDF. +document_colors_not_allowed=No l'รฉ poscibile adeuviรข i prรฒpi coรฎ pe-i documenti PDF: l'opรงion do navegatรด โ€œPermetti a-e pagine de รงerne i prรฒpi coรฎ in cangio de quelli inpostรฆโ€ a l'รฉ dizativรข. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/locale.properties b/NKC_WF/Scripts/pdf.js/web/locale/locale.properties new file mode 100644 index 0000000..9aded1b --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/locale.properties @@ -0,0 +1,312 @@ +[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) + +[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) + +[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-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) + +[zh-TW] +@import url(zh-TW/viewer.properties) + +[zu] +@import url(zu/viewer.properties) + diff --git a/NKC_WF/Scripts/pdf.js/web/locale/lt/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/lt/viewer.properties new file mode 100644 index 0000000..e2ad07b --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/lt/viewer.properties @@ -0,0 +1,184 @@ +# 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=Ankstesnis puslapis +previous_label=Ankstesnis +next.title=Kitas puslapis +next_label=Kitas + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Puslapis +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=iลก {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} iลก {{pagesCount}}) + +zoom_out.title=Sumaลพinti +zoom_out_label=Sumaลพinti +zoom_in.title=Padidinti +zoom_in_label=Padidinti +zoom.title=Mastelis +presentation_mode.title=Pereiti ฤฏ pateikties veiksenฤ… +presentation_mode_label=Pateikties veiksena +open_file.title=Atverti failฤ… +open_file_label=Atverti +print.title=Spausdinti +print_label=Spausdinti +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ฤ™ + +cursor_text_select_tool.title=ฤฎjungti teksto ลพymฤ—jimo ฤฏrankฤฏ +cursor_text_select_tool_label=Teksto ลพymฤ—jimo ฤฏrankis +cursor_hand_tool.title=ฤฎjungti vilkimo ฤฏrankฤฏ +cursor_hand_tool_label=Vilkimo ฤฏrankis + +# 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: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} B) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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 + +print_progress_message=Dokumentas ruoลกiamas spausdinimuiโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Atsisakyti + +# 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=Rodyti / slฤ—pti ลกoninฤฏ polangฤฏ +toggle_sidebar_notification.title=Parankinฤ— (dokumentas turi struktลซrฤ… / priedลณ) +toggle_sidebar_label=ล oninis polangis +document_outline.title=Rodyti dokumento struktลซrฤ… (spustelฤ—kite dukart norฤ—dami iลกplฤ—sti/suskleisti visus elementus) +document_outline_label=Dokumento struktลซra +attachments.title=Rodyti priedus +attachments_label=Priedai +thumbs.title=Rodyti puslapiลณ miniatiลซras +thumbs_label=Miniatiลซros +findbar.title=Ieลกkoti dokumente +findbar_label=Rasti + +# 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}} puslapis +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas={{page}} puslapio miniatiลซra + +# Find panel button title and messages +find_input.title=Rasti +find_input.placeholder=Rasti dokumenteโ€ฆ +find_previous.title=Ieลกkoti ankstesnio frazฤ—s egzemplioriaus +find_previous_label=Ankstesnis +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=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=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}} (darinys: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +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=Failas: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Eilutฤ—: {{line}} +rendering_error=Atvaizduojant puslapฤฏ ฤฏvyko klaida. + +# Predefined zoom values +page_scale_width=Priderinti prie lapo ploฤio +page_scale_fit=Pritaikyti prie lapo dydลพio +page_scale_auto=Automatinis mastelis +page_scale_actual=Tikras dydis +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=Klaida +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. +unexpected_response_error=Netikฤ—tas serverio atsakas. + +# 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}}โ€œ 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! 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=Saityno ลกriftai iลกjungti โ€“ PDF faile esanฤiลณ ลกriftลณ naudoti negalima. +document_colors_not_allowed=PDF dokumentams neleidลพiama nurodyti savo spalvลณ, nes iลกjungta narลกyklฤ—s nuostata โ€žLeisti tinklalapiams nurodyti spalvasโ€œ. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/lv/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/lv/viewer.properties new file mode 100644 index 0000000..f94bf41 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/lv/viewer.properties @@ -0,0 +1,184 @@ +# 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=Iepriekลกฤ“jฤ lapa +previous_label=Iepriekลกฤ“jฤ +next.title=Nฤkamฤ lapa +next_label=Nฤkamฤ + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Lapa +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=no {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} no {{pagesCount}}) + +zoom_out.title=Attฤlinฤt\u0020 +zoom_out_label=Attฤlinฤt +zoom_in.title=Pietuvinฤt +zoom_in_label=Pietuvinฤt +zoom.title=Palielinฤjums +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 +print.title=Drukฤลกana +print_label=Drukฤt +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 + +# Secondary toolbar and context menu +tools.title=Rฤซki +tools_label=Rฤซki +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 +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 + +cursor_text_select_tool.title=Aktivizฤ“t teksta izvฤ“les rฤซku +cursor_text_select_tool_label=Teksta izvฤ“les rฤซks +cursor_hand_tool.title=Aktivฤ“t rokas rฤซku +cursor_hand_tool_label=Rokas rฤซks + +# 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: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} biti) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +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 + +print_progress_message=Gatavo dokumentu drukฤลกanai... +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Atcelt + +# 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_notification.title=Pฤrslฤ“gt sฤnu joslu (dokumenta saturu un pielikumus) +toggle_sidebar_label=Pฤrslฤ“gt sฤnu joslu +document_outline.title=Rฤdฤซt dokumenta struktลซru (veiciet dubultklikลกฤทi lai izvฤ“rstu/sakฤผautu visus vienumus) +document_outline_label=Dokumenta saturs +attachments.title=Rฤdฤซt pielikumus +attachments_label=Pielikumi +thumbs.title=Parฤdฤซt sฤซktฤ“lus +thumbs_label=Sฤซktฤ“li +findbar.title=Meklฤ“t dokumentฤ +findbar_label=Meklฤ“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=Lapa {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Lapas {{page}} sฤซktฤ“ls + +# Find panel button title and messages +find_input.title=Meklฤ“t +find_input.placeholder=Meklฤ“t dokumentฤโ€ฆ +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 + +# 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 + +# 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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=Kฤผลซda +loading_error=Ielฤdฤ“jot PDF notika kฤผลซda. +invalid_file_error=Nederฤซgs vai bojฤts PDF fails. +missing_file_error=PDF fails nav atrasts. +unexpected_response_error=Negaidฤซa servera atbilde. + +# 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}} 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. +printing_not_ready=Uzmanฤซbu: PDF nav pilnฤซbฤ ielฤdฤ“ts drukฤลกanai. +web_fonts_disabled=Tฤซmekฤผa fonti nav aktivizฤ“ti: Nevar iegult PDF fontus. +document_colors_not_allowed=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/NKC_WF/Scripts/pdf.js/web/locale/mai/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/mai/viewer.properties new file mode 100644 index 0000000..356223f --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/mai/viewer.properties @@ -0,0 +1,168 @@ +# 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.title): The tooltip for the pageNumber input. +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. + +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=เค˜เคกเคผเฅ€เค• เคฆเคฟเคถเคพ เคธเค เค‰เคจเคŸเคพ เค˜เฅเคฎเคพเค‰ + + +# Document properties dialog box +document_properties.title=เคฆเคธเฅเคคเคพเคตเฅ‡เคœเคผ เคตเคฟเคถเฅ‡เคทเคคเคพ... +document_properties_label=เคฆเคธเฅเคคเคพเคตเฅ‡เคœเคผ เคตเคฟเคถเฅ‡เคทเคคเคพ... +document_properties_file_name=เคซเคพเค‡เคฒ เคจเคพเคฎ: +document_properties_file_size=เคซเคผเคพเค‡เคฒ เค†เค•เคพเคฐ: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} เคฌเคพเค‡เคŸ) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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=เคธเค‚เคถเฅ‹เคงเคจ เคฆเคฟเคจเคพเค‚เค•: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=เคธเฅƒเคœเค•: +document_properties_producer=PDF เค‰เคคเฅเคชเคพเคฆเค•: +document_properties_version=PDF เคธเค‚เคธเฅเค•เคฐเคฃ: +document_properties_page_count=เคชเฅƒเคทเฅเค  เค—เคฟเคจเคคเฅ€: +document_properties_close=เคฌเคจเฅเคจ เค•เคฐเฅ‚ + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. + +# 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=เคธเฅเคฒเคพเค‡เคกเคฐ เคŸเคพเค—เคฒ +document_outline_label=เคฆเคธเฅเคคเคพเคตเฅ‡เคœ เค–เคพเค•เคพ +attachments.title=เคธเค‚เคฒเค—เฅเคจเค• เคฆเฅ‡เค–เคพเคฌเฅ‚ +attachments_label=เคธเค‚เคฒเค—เฅเคจเค• +thumbs.title=เคฒเค˜เฅ-เค›เคตเคฟ เคฆเฅ‡เค–เคพเค‰ +thumbs_label=เคฒเค˜เฅ เค›เคตเคฟ +findbar.title=เคฆเคธเฅเคคเคพเคตเฅ‡เคœเคฎเฅ‡ เคขเฅ‚เคเคขเฅ‚ + +# 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_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=เคธเคนเฅ€ เค†เค•เคพเคฐ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=เคคเฅเคฐเฅเคŸเคฟ +loading_error=เคชเฅ€เคกเฅ€เคเคซ เคฒเฅ‹เคก เค•เคฐเฅˆเคค เคธเคฎเคฏ เคเค•เคŸเคพ เคคเฅเคฐเฅเคŸเคฟ เคญเฅ‡เคฒ. +invalid_file_error=เค…เคฎเคพเคจเฅเคฏ เค…เคฅเคตเคพ เคญเฅเคฐเคทเฅเคŸ PDF เคซเคพเค‡เคฒ. +missing_file_error=เค…เคจเฅเคชเคธเฅเคฅเคฟเคค PDF เคซเคพเค‡เคฒ. +unexpected_response_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=เคฌเฅ‡เคธ + +printing_not_supported=เคšเฅ‡เคคเคพเคตเคจเฅ€: เคˆ เคฌเฅเคฐเคพเค‰เคœเคฐ เคชเคฐ เค›เคชเคพเค‡ เคชเฅ‚เคฐเฅเคฃ เคคเคฐเคน เคธเค เคธเคฎเคฐเฅเคฅเคฟเคค เคจเคนเคฟ เค…เค›เคฟ. +printing_not_ready=เคšเฅ‡เคคเคพเคตเคจเฅ€: เคชเฅ€เคกเฅ€เคเคซ เค›เคชเคพเค‡เค• เคฒเฅ‡เคฒ เคชเฅ‚เคฐเฅเคฃ เคคเคฐเคน เคธเค เคฒเฅ‹เคก เคจเคนเคฟ เค…เค›เคฟ. +web_fonts_disabled=เคตเฅ‡เคฌ เคซเฅ‰เคจเฅเคŸเฅเคธ เคจเคฟเคทเฅเค•เฅเคฐเคฟเคฏ เค…เค›เคฟ: เค…เค‚เคคเคƒเคธเฅเคฅเคพเคชเคฟเคค PDF เคซเคพเคจเฅเคŸเคธเค• เค‰เคชเคฏเฅ‹เค—เคฎเฅ‡ เค…เคธเคฎเคฐเฅเคฅ. +document_colors_not_allowed=PDF เคฆเคธเฅเคคเคพเคตเฅ‡เคœเคผ เคนเฅเค•เคฐ เค…เคชเคจ เคฐเค‚เค— เค•เฅ‡เค เค‰เคชเคฏเฅ‹เค— เค•เคฐเคฌเคพเค• เคฒเฅ‡เคฒ เค…เคจเฅเคฎเคคเคฟ เคชเฅเคฐเคพเคชเฅเคค เคจเคนเคฟ เค…เค›เคฟ: 'เคชเฅƒเคทเฅเค  เค•เฅ‡เค เคนเฅเค•เคฐ เค…เคชเคจ เคฐเค‚เค— เค•เฅ‡เค เคšเฅเคจเคฌเคพเค• เคฒเฅ‡เคฒ เคธเฅเคตเฅ€เค•เฅƒเคคเคฟ เคฆเคฟเค… เคœเฅ‡ เค“ เค“เคนเคฟ เคฌเฅเคฐเคพเค‰เคœเคผเคฐ เคฎเฅ‡ เคจเคฟเคทเฅเค•เฅเคฐเคฟเคฏ เค…เค›เคฟ. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/mk/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/mk/viewer.properties new file mode 100644 index 0000000..094ef76 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/mk/viewer.properties @@ -0,0 +1,133 @@ +# 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.title): The tooltip for the pageNumber input. +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. + +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=ะะปะฐั‚ะบะธ +first_page.label=ะžะดะธ ะดะพ ะฟั€ะฒะฐั‚ะฐ ัั‚ั€ะฐะฝะธั†ะฐ +last_page.label=ะžะดะธ ะดะพ ะฟะพัะปะตะดะฝะฐั‚ะฐ ัั‚ั€ะฐะฝะธั†ะฐ +page_rotate_cw.label=ะ ะพั‚ะธั€ะฐั˜ ะฟะพ ัั‚ั€ะตะปะบะธั‚ะต ะฝะฐ ั‡ะฐัะพะฒะฝะธะบะพั‚ +page_rotate_ccw.label=ะ ะพั‚ะธั€ะฐั˜ ัะฟั€ะพั‚ะธะฒะฝะพ ะพะด ัั‚ั€ะตะปะบะธั‚ะต ะฝะฐ ั‡ะฐัะพะฒะฝะธะบะพั‚ + + +# Document properties dialog box +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. + +# 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=ะ’ะบะปัƒั‡ะธ ัั‚ั€ะฐะฝะธั‡ะฝะฐ ะปะตะฝั‚ะฐ +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_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: {{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=ะ’ะธัั‚ะธะฝัะบะฐ ะณะพะปะตะผะธะฝะฐ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. + +# 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" + +printing_not_supported=ะŸั€ะตะดัƒะฟั€ะตะดัƒะฒะฐัšะต: ะŸะตั‡ะฐั‚ะตัšะตั‚ะพ ะฝะต ะต ั†ะตะปะพัะฝะพ ะฟะพะดะดั€ะถะฐะฝะพ ะฒะพ ะพะฒะพั˜ ะฟั€ะตะปะธัั‚ัƒะฒะฐั‡. +printing_not_ready=ะŸั€ะตะดัƒะฟั€ะตะดัƒะฒะฐัšะต: PDF ะดะพะบัƒะผะตะฝั‚ะพั‚ ะฝะต ะต ั†ะตะปะพัะฝะพ ะฒั‡ะธั‚ะฐะฝ ะทะฐ ะฟะตั‡ะฐั‚ะตัšะต. +web_fonts_disabled=ะ˜ะฝั‚ะตั€ะฝะตั‚ ั„ะพะฝั‚ะพะฒะธั‚ะต ัะต ะพะฝะตะฒะพะทะผะพะถะตะฝะธ: ะฝะต ะผะพะถะต ะดะฐ ัะต ะบะพั€ะธัั‚ะฐั‚ ะฒะณั€ะฐะดะตะฝะธั‚ะต PDF ั„ะพะฝั‚ะพะฒะธ. +document_colors_not_allowed=PDF-ะดะพะบัƒะผะตะฝั‚ะธั‚ะต ะฝะตะผะฐะฐั‚ ะดะพะทะฒะพะปะฐ ะดะฐ ะบะพั€ะธัั‚ะฐั‚ ัะพะฟัั‚ะฒะตะฝะธ ะฑะพะธ: ะŸะพัั‚ะฐะฒะบะฐั‚ะฐ โ€žะ”ะพะทะฒะพะปะธ ัั‚ั€ะฐะฝะธั†ะธั‚ะต ัะฐะผะธ ะดะฐ ะณะธ ะธะทะฑะธั€ะฐะฐั‚ ัะฒะพะธั‚ะต ะฑะพะธโ€œ ะต ะดะตะฐะบั‚ะธะฒะธั€ะฐะฝะฐ ะพะด ะฟั€ะตะปะธัั‚ัƒะฒะฐั‡ะพั‚. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/ml/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/ml/viewer.properties new file mode 100644 index 0000000..20c124d --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/ml/viewer.properties @@ -0,0 +1,168 @@ +# 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.title): The tooltip for the pageNumber input. +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. + +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=เดฐเต‡เด–เดฏเตเดŸเต† เดตเดฟเดถเต‡เดทเดคเด•เดณเตโ€... +document_properties_label=เดฐเต‡เด–เดฏเตเดŸเต† เดตเดฟเดถเต‡เดทเดคเด•เดณเตโ€... +document_properties_file_name=เดซเดฏเดฒเดฟเดจเตเดฑเต† เดชเต‡เดฐเตโ€Œ: +document_properties_file_size=เดซเดฏเดฒเดฟเดจเตเดฑเต† เดตเดฒเดฟเดชเตเดชเด‚:โ€Œโ€Œ +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} เด•เต†เดฌเดฟ ({{size_b}} เดฌเตˆเดฑเตเดฑเตเด•เดณเตโ€) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} เดŽเด‚เดฌเดฟ ({{size_b}} เดฌเตˆเดฑเตเดฑเตเด•เดณเตโ€) +document_properties_title=เดคเดฒเด•เตเด•เต†เดŸเตเดŸเตโ€Œ\u0020 +document_properties_author=เดฐเดšเดฏเดฟเดคเดพเดตเต: +document_properties_subject=เดตเดฟเดทเดฏเด‚: +document_properties_keywords=เด•เต€เดตเต‡เดฐเตโ€เดกเตเด•เดณเตโ€: +document_properties_creation_date=เดชเต‚เดฐเตโ€เดคเตเดคเดฟเดฏเดพเด•เตเดจเตเดจ เดคเต€เดฏเดคเดฟ: +document_properties_modification_date=เดฎเดพเดฑเตเดฑเด‚ เดตเดฐเตเดคเตเดคเดฟเดฏ เดคเต€เดฏเดคเดฟ: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=เดธเตƒเดทเตเดŸเดฟเด•เดฐเตโ€เดคเตเดคเดพเดตเต: +document_properties_producer=เดชเดฟเดกเดฟเดŽเดซเต เดชเตเดฐเตŠเดกเตเดฏเต‚เดธเดฐเตโ€: +document_properties_version=เดชเดฟเดกเดฟเดŽเดซเต เดชเดคเดฟเดชเตเดชเต: +document_properties_page_count=เดคเดพเดณเดฟเดจเตเดฑเต† เดŽเดฃเตเดฃเด‚: +document_properties_close=เด…เดŸเดฏเตเด•เตเด•เตเด• + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. + +# 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=เดธเตˆเดกเต เดฌเดพเดฑเดฟเดฒเต‡เด•เตเด•เตเต เดฎเดพเดฑเตเดฑเตเด• +document_outline_label=เดฐเต‡เด–เดฏเตเดŸเต† เด”เดŸเตเดŸเตเดฒเตˆเดจเตโ€ +attachments.title=เด…เดฑเตเดฑเดพเดšเตเดฎเต†เดจเตเดฑเตเด•เดณเตโ€ เด•เดพเดฃเดฟเดฏเตเด•เตเด•เตเด• +attachments_label=เด…เดฑเตเดฑเดพเดšเตเดฎเต†เดจเตเดฑเตเด•เดณเตโ€ +thumbs.title=เดคเด‚เดฌเตเดจเต†เดฏเดฟเดฒเตเด•เดณเตโ€ เด•เดพเดฃเดฟเดฏเตเด•เตเด•เตเด• +thumbs_label=เดคเด‚เดฌเตเดจเต†เดฏเดฟเดฒเตเด•เดณเตโ€ +findbar.title=เดฐเต‡เด–เดฏเดฟเดฒเตโ€ เด•เดฃเตเดŸเตเดชเดฟเดŸเดฟเดฏเตเด•เตเด•เตเด• + +# 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=เดตเดพเดšเด•เด‚ เด‡เดคเดฟเดจเต เดฎเตเดจเตโ€เดชเตโ€Œ เด†เดตเดฐเตโ€เดคเตเดคเดฟเดšเตเดšเดคเตโ€Œ เด•เดฃเตเดŸเต†เดคเตเดคเตเด•\u0020 +find_previous_label=เดฎเตเดฎเตเดชเตเต +find_next.title=เดตเดพเดšเด•เด‚ เดตเต€เดฃเตเดŸเตเด‚ เด†เดตเดฐเตโ€เดคเตเดคเดฟเด•เตเด•เตเดจเตเดจเดคเตโ€Œ เด•เดฃเตเดŸเต†เดคเตเดคเตเด•\u0020 +find_next_label=เด…เดŸเตเดคเตเดคเดคเตเต +find_highlight=เดŽเดฒเตเดฒเดพเด‚ เดŽเดŸเตเดคเตเดคเตเด•เดพเดฃเดฟเดฏเตเด•เตเด•เตเด• +find_match_case_label=เด…เด•เตเดทเดฐเด™เตเด™เดณเตโ€ เด’เดคเตเดคเตเดจเต‹เด•เตเด•เตเด• +find_reached_top=เดฐเต‡เด–เดฏเตเดŸเต† เดฎเตเด•เดณเดฟเดฒเตโ€ เดŽเดคเตเดคเดฟเดฏเดฟเดฐเดฟเด•เตเด•เตเดจเตเดจเต, เดคเดพเดดเต† เดจเดฟเดจเตเดจเตเด‚ เดคเตเดŸเดฐเตเดจเตเดจเต +find_reached_bottom=เดฐเต‡เด–เดฏเตเดŸเต† เด…เดตเดธเดพเดจเด‚ เดตเดฐเต† เดŽเดคเตเดคเดฟเดฏเดฟเดฐเดฟเด•เตเด•เตเดจเตเดจเต, เดฎเตเด•เดณเดฟเดฒเตโ€ เดจเดฟเดจเตเดจเตเด‚ เดคเตเดŸเดฐเตเดจเตเดจเต\u0020 +find_not_found=เดตเดพเดšเด•เด‚ เด•เดฃเตเดŸเต†เดคเตเดคเดพเดจเดพเดฏเดฟเดฒเตเดฒ\u0020 + +# 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=เดฏเดฅเดพเดฐเตโ€เดคเตเดฅ เดตเตเดฏเดพเดชเตเดคเดฟ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=เดชเดฟเดถเด•เต +loading_error=เดชเดฟเดกเดฟเดŽเดซเต เดฒเดญเตเดฏเดฎเดพเด•เตเด•เตเดฎเตเดชเต‹เดณเตโ€ เดชเดฟเดถเด•เต เด‰เดฃเตเดŸเดพเดฏเดฟเดฐเดฟเดฏเตเด•เตเด•เตเดจเตเดจเต. +invalid_file_error=เดคเต†เดฑเตเดฑเดพเดฏ เด…เดฒเตเดฒเต†เด™เตเด•เดฟเดฒเตโ€ เดคเด•เดฐเดพเดฑเตเดณเตเดณ เดชเดฟเดกเดฟเดŽเดซเต เดซเดฏเดฒเตโ€. +missing_file_error=เดชเดฟเดกเดฟเดŽเดซเต เดซเดฏเดฒเตโ€ เดฒเดญเตเดฏเดฎเดฒเตเดฒ. +unexpected_response_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=เดถเดฐเดฟ + +printing_not_supported=เดฎเตเดจเตเดจเดฑเดฟเดฏเดฟเดชเตเดชเตเต: เดˆ เดฌเตเดฐเตŒเดธเดฐเตโ€ เดชเต‚เดฐเตโ€เดฃเตเดฃเดฎเดพเดฏเดฟ เดชเตเดฐเดฟเดจเตเดฑเดฟเด™เต เดชเดฟเดจเตเดคเตเดฃเดฏเตเด•เตเด•เตเดจเตเดจเดฟเดฒเตเดฒ. +printing_not_ready=เดฎเตเดจเตเดจเดฑเดฟเดฏเดฟเดชเตเดชเตเต: เดชเตเดฐเดฟเดจเตเดฑเต เดšเต†เดฏเตเดฏเตเดจเตเดจเดคเดฟเดจเตเต เดชเดฟเดกเดฟเดŽเดซเต เดชเต‚เดฐเตโ€เดฃเตเดฃเดฎเดพเดฏเดฟ เดฒเดญเตเดฏเดฎเดฒเตเดฒ. +web_fonts_disabled=เดตเต†เดฌเดฟเดจเตเดณเตเดณ เด…เด•เตเดทเดฐเดธเดžเตเดšเดฏเด™เตเด™เดณเตโ€ เดชเตเดฐเดตเดฐเตโ€เดคเตเดคเดจ เดฐเดนเดฟเดคเด‚: เดŽเด‚เดฌเดกเตเดกเต เดšเต†เดฏเตเดค เดชเดฟเดกเดฟเดŽเดซเต เด…เด•เตเดทเดฐเดธเดžเตเดšเดฏเด™เตเด™เดณเตโ€ เด‰เดชเดฏเต‹เด—เดฟเดฏเตเด•เตเด•เตเดตเดพเดจเตโ€ เดธเดพเดงเตเดฏเดฎเดฒเตเดฒ. +document_colors_not_allowed=เดธเตเดตเดจเตเดคเด‚ เดจเดฟเดฑเด™เตเด™เดณเตโ€ เด‰เดชเดฏเต‹เด—เดฟเดฏเตเด•เตเด•เตเดตเดพเดจเตโ€ เดชเดฟเดกเดฟเดŽเดซเต เดฐเต‡เด–เด•เดณเตโ€เด•เตเด•เตเต เด…เดจเตเดตเดพเดฆเดฎเดฟเดฒเตเดฒ: 'เดธเตเดตเดจเตเดคเด‚ เดจเดฟเดฑเด™เตเด™เดณเตโ€ เด‰เดชเดฏเต‹เด—เดฟเดฏเตเด•เตเด•เตเดตเดพเดจเตโ€ เดคเดพเดณเตเด•เดณเต† เด…เดจเตเดตเดฆเดฟเดฏเตเด•เตเด•เตเด•' เดŽเดจเตเดจเดคเตเต เดฌเตเดฐเตŒเดธเดฑเดฟเดฒเตโ€ เดจเดฟเดฐเตโ€เดœเต€เดตเดฎเดพเดฃเตเต. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/mn/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/mn/viewer.properties new file mode 100644 index 0000000..39edeb2 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/mn/viewer.properties @@ -0,0 +1,82 @@ +# 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.title): The tooltip for the pageNumber input. +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. + +zoom.title=ะขัะปัะปั‚ +open_file.title=ะคะฐะนะป ะฝัั +open_file_label=ะัั + +# Secondary toolbar and context menu + + +# Document properties dialog box +document_properties_file_name=ะคะฐะนะปั‹ะฝ ะฝัั€: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_title=ะ“ะฐั€ั‡ะธะณ: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) + +# 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=ะัะผัะปั‚ ะผัะดััะปัะป +# 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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. + +# Loading indicator messages +loading_error_indicator=ะะปะดะฐะฐ + +# 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" +password_ok=OK + diff --git a/NKC_WF/Scripts/pdf.js/web/locale/mr/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/mr/viewer.properties new file mode 100644 index 0000000..38d3565 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/mr/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=เคชเฅƒเคทเฅเค  +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pageCount}}เคชเฅˆเค•เฅ€ +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pagesCount}} เคชเฅˆเค•เฅ€ {{pageNumber}}) + +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=เค˜เคกเฅเคฏเคพเคณเคพเคšเฅเคฏเคพ เค•เคพเคŸเฅเคฏเคพเคšเฅเคฏเคพ เค‰เคฒเคŸ เคฆเคฟเคถเฅ‡เคจเฅ‡ เคซเคฟเคฐเคตเคพ + +cursor_text_select_tool.title=เคฎเคœเค•เฅ‚เคฐ เคจเคฟเคตเคก เคธเคพเคงเคจ เค•เคพเคฐเฅเคฏเคพเคจเฅเคตเคฏเฅ€เคค เค•เคฐเคพ +cursor_text_select_tool_label=เคฎเคœเค•เฅ‚เคฐ เคจเคฟเคตเคก เคธเคพเคงเคจ +cursor_hand_tool.title=เคนเคพเคค เคธเคพเคงเคจ เค•เคพเคฐเฅเคฏเคพเคจเฅเคตเคฟเคค เค•เคฐเคพ +cursor_hand_tool_label=เคนเคธเฅเคค เคธเคพเคงเคจ + +# Document properties dialog box +document_properties.title=เคฆเคธเฅเคคเคเคตเคœ เค—เฅเคฃเคงเคฐเฅเคฎโ€ฆ +document_properties_label=เคฆเคธเฅเคคเคเคตเคœ เค—เฅเคฃเคงเคฐเฅเคฎโ€ฆ +document_properties_file_name=เคซเคพเค‡เคฒเคšเฅ‡ เคจเคพเคต: +document_properties_file_size=เคซเคพเค‡เคฒ เค†เค•เคพเคฐ: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} เคฌเคพเค‡เคŸเฅเคธ) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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=เคฆเฅเคฐเฅ‚เคธเฅเคคเฅ€ เคฆเคฟเคจเคพเค‚เค•: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=เคจเคฟเคฐเฅเคฎเคพเคคเคพ: +document_properties_producer=PDF เคจเคฟเคฐเฅเคฎเคพเคคเคพ: +document_properties_version=PDF เค†เคตเฅƒเคคเฅเคคเฅ€: +document_properties_page_count=เคชเฅƒเคทเฅเค  เคธเค‚เค–เฅเคฏเคพ: +document_properties_close=เคฌเค‚เคฆ เค•เคฐเคพ + +print_progress_message=เค›เคชเคพเคˆ เค•เคฐเฅ€เคคเคพ เคชเฅƒเคทเฅเค  เคคเคฏเคพเคฐ เค•เคฐเฅ€เคค เค†เคนเฅ‡โ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_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_notification.title=เคฌเคพเคœเฅ‚เคšเฅ€ เคชเคŸเฅเคŸเฅ€ เคŸเฅ‰เค—เคฒ เค•เคฐเคพ (เคฆเคธเฅเคคเคเคตเคœเคพเคฎเคงเฅเคฏเฅ‡ เคฐเฅเคชเคฐเฅ‡เคทเคพ/เคœเฅ‹เคกเคฃเฅเคฏเคพ เค†เคนเฅ‡เคค) +toggle_sidebar_label=เคฌเคพเคœเฅ‚เคšเฅ€เคชเคŸเฅเคŸเฅ€ เคŸเฅ‰เค—เคฒ เค•เคฐเคพ +document_outline.title=เคฆเคธเฅเคคเคเคตเคœ เคฌเคพเคนเฅเคฏเคฐเฅ‡เค–เคพ เคฆเคฐเฅเคถเคตเคพ (เคตเคฟเคธเฅเคคเฅƒเคค เค•เคฐเคฃเฅเคฏเคพเคธเคพเค เฅ€ เคฆเฅ‹เคจเคตเฅ‡เคณเคพ เค•เฅเคฒเคฟเค• เค•เคฐเคพ /เคธเคฐเฅเคต เค˜เคŸเค• เคฆเคพเค–เคตเคพ) +document_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_input.title=เคถเฅ‹เคงเคพ +find_input.placeholder=เคฆเคธเฅเคคเคเคตเคœเคพเคค เคถเฅ‹เคงเคพโ€ฆ +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=เคชเฅเคฐเคคเฅเคฏเค•เฅเคท เค†เค•เคพเคฐ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=เคคเฅเคฐเฅเคŸเฅ€ +loading_error=PDF เคฒเฅ‹เคก เค•เคฐเคคเฅ‡เคตเฅ‡เคณเฅ€ เคคเฅเคฐเฅเคŸเฅ€ เค†เคขเคณเคฒเฅ€. +invalid_file_error=เค…เคตเฅˆเคง เค•เคฟเค‚เคตเคพ เคฆเฅ‹เคทเฅ€เคค PDF เคซเคพเค‡เคฒ. +missing_file_error=เคจ เค†เคขเคณเคฃเคพเคฐเฅ€ PDF เคซเคพเค‡เคฒ. +unexpected_response_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=เคนเฅ€ PDF เคซเคพเค‡เคฒ เค‰เค˜เคกเคฃเฅเคฏเคพเค•เคฐเคฟเคคเคพ เคชเคพเคธเคตเคฐเฅเคก เคฆเฅเคฏเคพ. +password_invalid=เค…เคตเฅˆเคง เคชเคพเคธเคตเคฐเฅเคก. เค•เฅƒเคชเคฏเคพ เคชเฅเคจเฅเคนเคพ เคชเฅเคฐเคฏเคคเฅเคจ เค•เคฐเคพ. +password_ok=เค เฅ€เค• เค†เคนเฅ‡ +password_cancel=เคฐเคฆเฅเคฆ เค•เคฐเคพ + +printing_not_supported=เคธเคพเคตเคงเคพเคจเคคเคพ: เคฏเคพ เคฌเฅเคฐเคพเค‰เคเคฐเคคเคฐเฅเคซเฅ‡ เค›เคชเคพเค‡ เคชเฅ‚เคฐเฅเคฃเคชเคฃเฅ‡ เคธเคฎเคฐเฅเคฅเฅ€เคค เคจเคพเคนเฅ€. +printing_not_ready=เคธเคพเคตเคงเคพเคจเคคเคพ: เค›เคชเคพเคˆเค•เคฐเคฟเคคเคพ PDF เคชเฅ‚เคฐเฅเคฃเคคเคฏเคพ เคฒเฅ‹เคก เคเคพเคฒเฅ‡ เคจเคพเคนเฅ€. +web_fonts_disabled=เคตเฅ‡เคฌ เคŸเค‚เค• เค…เคธเคฎเคฐเฅเคฅเฅ€เคค เค†เคนเฅ‡เคค: เคเคฎเฅเคฌเฅ‡เคกเฅ‡เคก PDF เคŸเค‚เค• เคตเคพเคชเคฐ เค…เคถเค•เฅเคฏ. +document_colors_not_allowed=PDF เคฆเคธเฅเคคเคเคตเคœเคพเค‚เคจเคพ เคคเฅเคฏเคพเค‚เคšเฅ‡ เคฐเค‚เค— เคตเคพเคชเคฐเคฃเฅเคฏเคพเคธ เค…เคจเฅเคฎเคคเฅ€ เคจเคพเคนเฅ€: เคฌเฅเคฐเคพเค‰เคเคฐเคฎเคงเฅเคฏเฅ‡ ' เคชเฅƒเคทเฅเค เคพเค‚เคจเคพ เคคเฅเคฏเคพเค‚เคšเฅ‡ เคฐเค‚เค— เคจเคฟเคตเคกเคฃเฅเคฏเคพเคธ เค…เคจเฅเคฎเคคเฅ€ เคฆเฅเคฏเคพ' เคฌเค‚เคฆ เค•เฅ‡เคฒเฅ‡ เค†เคนเฅ‡. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/ms/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/ms/viewer.properties new file mode 100644 index 0000000..98911c6 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/ms/viewer.properties @@ -0,0 +1,184 @@ +# 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=Halaman Dahulu +previous_label=Dahulu +next.title=Halaman Berikut +next_label=Berikut + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Halaman +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=daripada {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} daripada {{pagesCount}}) + +zoom_out.title=Zum Keluar +zoom_out_label=Zum Keluar +zoom_in.title=Zum Masuk +zoom_in_label=Zum Masuk +zoom.title=Zum +presentation_mode.title=Tukar ke Mod Persembahan +presentation_mode_label=Mod Persembahan +open_file.title=Buka Fail +open_file_label=Buka +print.title=Cetak +print_label=Cetak +download.title=Muat turun +download_label=Muat turun +bookmark.title=Paparan semasa (salin atau buka dalam tetingkap baru) +bookmark_label=Paparan Semasa + +# Secondary toolbar and context menu +tools.title=Alatan +tools_label=Alatan +first_page.title=Pergi ke Halaman Pertama +first_page.label=Pergi ke Halaman Pertama +first_page_label=Pergi ke Halaman Pertama +last_page.title=Pergi ke Halaman Terakhir +last_page.label=Pergi ke Halaman Terakhir +last_page_label=Pergi ke Halaman Terakhir +page_rotate_cw.title=Berputar ikut arah Jam +page_rotate_cw.label=Berputar ikut arah Jam +page_rotate_cw_label=Berputar ikut arah Jam +page_rotate_ccw.title=Pusing berlawan arah jam +page_rotate_ccw.label=Pusing berlawan arah jam +page_rotate_ccw_label=Pusing berlawan arah jam + +cursor_text_select_tool.title=Dayakan Alatan Pilihan Teks +cursor_text_select_tool_label=Alatan Pilihan Teks +cursor_hand_tool.title=Dayakan Alatan Tangan +cursor_hand_tool_label=Alatan Tangan + +# Document properties dialog box +document_properties.title=Sifat Dokumenโ€ฆ +document_properties_label=Sifat Dokumenโ€ฆ +document_properties_file_name=Nama fail: +document_properties_file_size=Saiz fail: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bait) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bait) +document_properties_title=Tajuk: +document_properties_author=Pengarang: +document_properties_subject=Subjek: +document_properties_keywords=Kata kunci: +document_properties_creation_date=Masa Dicipta: +document_properties_modification_date=Tarikh Ubahsuai: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Pencipta: +document_properties_producer=Pengeluar PDF: +document_properties_version=Versi PDF: +document_properties_page_count=Kiraan Laman: +document_properties_close=Tutup + +print_progress_message=Menyediakan dokumen untuk dicetakโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Batal + +# 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=Togol Bar Sisi +toggle_sidebar_notification.title=Togol Sidebar (dokumen mengandungi rangka/attachments) +toggle_sidebar_label=Togol Bar Sisi +document_outline.title=Papar Rangka Dokumen (klik-dua-kali untuk kembangkan/kolaps semua item) +document_outline_label=Rangka Dokumen +attachments.title=Papar Lampiran +attachments_label=Lampiran +thumbs.title=Papar Thumbnails +thumbs_label=Imej kecil +findbar.title=Cari didalam Dokumen +findbar_label=Cari + +# 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=Halaman {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Halaman Imej kecil {{page}} + +# Find panel button title and messages +find_input.title=Cari +find_input.placeholder=Cari dalam dokumenโ€ฆ +find_previous.title=Cari teks frasa berkenaan yang terdahulu +find_previous_label=Dahulu +find_next.title=Cari teks frasa berkenaan yang berikut +find_next_label=Berikut +find_highlight=Serlahkan semua +find_match_case_label=Huruf sepadan +find_reached_top=Mencapai teratas daripada dokumen, sambungan daripada bawah +find_reached_bottom=Mencapai terakhir daripada dokumen, sambungan daripada atas +find_not_found=Frasa tidak ditemui + +# Error panel labels +error_more_info=Maklumat Lanjut +error_less_info=Kurang 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=Mesej: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Timbun: {{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=Garis: {{line}} +rendering_error=Ralat berlaku ketika memberikan halaman. + +# Predefined zoom values +page_scale_width=Lebar Halaman +page_scale_fit=Muat Halaman +page_scale_auto=Zoom Automatik +page_scale_actual=Saiz Sebenar +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=Ralat +loading_error=Masalah berlaku semasa menuatkan sebuah PDF. +invalid_file_error=Tidak sah atau fail PDF rosak. +missing_file_error=Fail PDF Hilang. +unexpected_response_error=Respon pelayan yang tidak dijangka. + +# 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}} Anotasi] +password_label=Masukan kata kunci untuk membuka fail PDF ini. +password_invalid=Kata laluan salah. Cuba lagi. +password_ok=OK +password_cancel=Batal + +printing_not_supported=Amaran: Cetakan ini tidak sepenuhnya disokong oleh pelayar ini. +printing_not_ready=Amaran: PDF tidak sepenuhnya dimuatkan untuk dicetak. +web_fonts_disabled=Fon web dinyahdayakan: tidak dapat menggunakan fon terbenam PDF. +document_colors_not_allowed=Dokumen PDF tidak dibenarkan untuk menggunakan warna sendiri: โ€œIzinkan halaman untuk memilih warna sendiriโ€ telah dinyahaktifkan dalam pelayar. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/my/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/my/viewer.properties new file mode 100644 index 0000000..ff9f5e2 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/my/viewer.properties @@ -0,0 +1,180 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=แ€…แ€ฌแ€™แ€ปแ€€แ€บแ€”แ€พแ€ฌ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}} แ +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pagesCount}} แ {{pageNumber}}) + +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=แ€™แ€พแ€แ€บแ€แ€™แ€บแ€ธแ€™แ€พแ€แ€บแ€›แ€ฌ แ€‚แ€ฏแ€แ€บแ€žแ€แ€นแ€แ€ญแ€™แ€ปแ€ฌแ€ธ +document_properties_label=แ€™แ€พแ€แ€บแ€แ€™แ€บแ€ธแ€™แ€พแ€แ€บแ€›แ€ฌ แ€‚แ€ฏแ€แ€บแ€žแ€แ€นแ€แ€ญแ€™แ€ปแ€ฌแ€ธ +document_properties_file_name=แ€–แ€ญแ€ฏแ€„แ€บ : +document_properties_file_size=แ€–แ€ญแ€ฏแ€„แ€บแ€†แ€ญแ€ฏแ€’แ€บ : +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} แ€€แ€ฎแ€œแ€ญแ€ฏแ€˜แ€ญแ€ฏแ€แ€บ ({size_kb}}แ€˜แ€ญแ€ฏแ€แ€บ) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=แ€แ€ฑแ€ซแ€„แ€บแ€ธแ€…แ€‰แ€บโ€Œ - +document_properties_author=แ€›แ€ฑแ€ธแ€žแ€ฌแ€ธแ€žแ€ฐ: +document_properties_subject=แ€กแ€€แ€ผแ€ฑแ€ฌแ€„แ€บแ€ธแ€กแ€›แ€ฌ:\u0020 +document_properties_keywords=แ€žแ€ฑแ€ฌแ€ทแ€แ€ปแ€€แ€บ แ€…แ€ฌแ€œแ€ฏแ€ถแ€ธ: +document_properties_creation_date=แ€‘แ€ฏแ€แ€บแ€œแ€ฏแ€•แ€บแ€›แ€€แ€บแ€…แ€ฝแ€ฒ: +document_properties_modification_date=แ€•แ€ผแ€„แ€บแ€†แ€„แ€บแ€›แ€€แ€บแ€…แ€ฝแ€ฒ: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=แ€–แ€”แ€บแ€แ€ฎแ€ธแ€žแ€ฐ: +document_properties_producer=PDF แ€‘แ€ฏแ€แ€บแ€œแ€ฏแ€•แ€บแ€žแ€ฐ: +document_properties_version=PDF แ€—แ€ฌแ€ธแ€›แ€พแ€„แ€บแ€ธ: +document_properties_page_count=แ€…แ€ฌแ€™แ€ปแ€€แ€บแ€”แ€พแ€ฌแ€กแ€›แ€ฑแ€กแ€แ€ฝแ€€แ€บ: +document_properties_close=แ€•แ€ญแ€แ€บ + +print_progress_message=Preparing document for printingโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_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_notification.title=แ€˜แ€ฑแ€ธแ€˜แ€ฌแ€ธแ€แ€”แ€บแ€ธแ€€แ€ญแ€ฏ แ€กแ€–แ€ฝแ€„แ€ทแ€บ/แ€กแ€•แ€ญแ€แ€บ แ€œแ€ฏแ€•แ€บแ€›แ€”แ€บ (แ€…แ€ฌแ€แ€™แ€บแ€ธแ€แ€ฝแ€„แ€บ outline/attachments แ€•แ€ซแ€แ€„แ€บแ€”แ€ญแ€ฏแ€„แ€บแ€žแ€Šแ€บ) +toggle_sidebar_label=แ€–แ€ฝแ€„แ€บแ€ทแ€•แ€ญแ€แ€บ แ€†แ€œแ€ญแ€ฏแ€€แ€บแ€’แ€ซ +document_outline.title=แ€…แ€ฌแ€แ€™แ€บแ€ธแ€กแ€€แ€ปแ€‰แ€บแ€ธแ€แ€ปแ€ฏแ€•แ€บแ€€แ€ญแ€ฏ แ€•แ€ผแ€•แ€ซ (แ€…แ€ฌแ€›แ€„แ€บแ€ธแ€กแ€ฌแ€ธแ€œแ€ฏแ€ถแ€ธแ€€แ€ญแ€ฏ แ€แ€ปแ€ฏแ€ถแ€ท/แ€แ€ปแ€ฒแ€ทแ€›แ€”แ€บ แ€€แ€œแ€…แ€บแ€”แ€พแ€…แ€บแ€แ€ปแ€€แ€บแ€”แ€พแ€ญแ€•แ€บแ€•แ€ซ) +document_outline_label=แ€…แ€ฌแ€แ€™แ€บแ€ธแ€กแ€€แ€ปแ€‰แ€บแ€ธแ€แ€ปแ€ฏแ€•แ€บ +attachments.title=แ€แ€ฝแ€ฒแ€แ€ปแ€€แ€บแ€™แ€ปแ€ฌแ€ธ แ€•แ€ผแ€•แ€ซ +attachments_label=แ€แ€ฝแ€ฒแ€‘แ€ฌแ€ธแ€แ€ปแ€€แ€บแ€™แ€ปแ€ฌแ€ธ +thumbs.title=แ€•แ€ฏแ€ถแ€›แ€ญแ€•แ€บแ€„แ€šแ€บแ€™แ€ปแ€ฌแ€ธแ€€แ€ญแ€ฏ แ€•แ€ผแ€•แ€ซ +thumbs_label=แ€•แ€ฏแ€ถแ€›แ€ญแ€•แ€บแ€„แ€šแ€บแ€™แ€ปแ€ฌแ€ธ +findbar.title=Find in Document +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_input.title=แ€›แ€พแ€ฌแ€–แ€ฝแ€ฑแ€•แ€ซ +find_input.placeholder=แ€…แ€ฌแ€แ€™แ€บแ€ธแ€‘แ€ฒแ€แ€ฝแ€„แ€บ แ€›แ€พแ€ฌแ€–แ€ฝแ€ฑแ€›แ€”แ€บโ€ฆ +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=แ€กแ€™แ€พแ€”แ€บแ€แ€€แ€šแ€บแ€›แ€พแ€ญแ€แ€ฒแ€ท แ€กแ€›แ€ฝแ€šแ€บ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=แ€กแ€™แ€พแ€ฌแ€ธ +loading_error=PDF แ€–แ€ญแ€ฏแ€„แ€บ แ€€แ€ญแ€ฏแ€†แ€ฝแ€ฒแ€แ€„แ€บแ€”แ€ฑแ€แ€ปแ€ญแ€”แ€บแ€™แ€พแ€ฌ แ€กแ€™แ€พแ€ฌแ€ธแ€แ€…แ€บแ€แ€ฏแ€แ€ฝแ€ฑแ€ทแ€›แ€•แ€ซแ€แ€šแ€บแ‹ +invalid_file_error=แ€™แ€›แ€žแ€ฑแ€ฌ แ€žแ€ญแ€ฏแ€ท แ€•แ€ปแ€€แ€บแ€”แ€ฑแ€žแ€ฑแ€ฌ PDF แ€–แ€ญแ€ฏแ€„แ€บ +missing_file_error=PDF แ€•แ€ปแ€ฑแ€ฌแ€€แ€บแ€†แ€ฏแ€ถแ€ธ +unexpected_response_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=PDF แ€กแ€ฌแ€ธแ€–แ€ฝแ€„แ€บแ€ทแ€›แ€”แ€บ แ€•แ€แ€บแ€…แ€บแ€แ€แ€บแ€กแ€ฌแ€ธแ€‘แ€Šแ€บแ€ทแ€•แ€ซ +password_invalid=แ€…แ€ฌแ€แ€พแ€€แ€บ แ€™แ€พแ€ฌแ€ธแ€žแ€Šแ€บแ‹ แ€‘แ€•แ€บแ€€แ€ผแ€ญแ€ฏแ€ธแ€…แ€ฌแ€ธแ€€แ€ผแ€Šแ€ทแ€บแ€•แ€ซแ‹ +password_ok=OK +password_cancel=แ€•แ€šแ€บโ€‹แ€–แ€ปแ€€แ€บแ€•แ€ซ + +printing_not_supported=แ€žแ€แ€ญแ€•แ€ฑแ€ธแ€แ€ปแ€€แ€บแŠแ€•แ€›แ€„แ€ทแ€บแ€‘แ€ฏแ€แ€บแ€แ€ผแ€„แ€บแ€ธแ€€แ€ญแ€ฏแ€คแ€˜แ€šแ€ฑแ€ฌแ€€แ€บแ€†แ€ฌแ€žแ€Šแ€บ แ€•แ€ผแ€Šแ€ทแ€บแ€แ€…แ€ฝแ€ฌแ€‘แ€ฑแ€ฌแ€€แ€บแ€•แ€ถแ€ทแ€™แ€‘แ€ฌแ€ธแ€•แ€ซ แ‹ +printing_not_ready=แ€žแ€แ€ญแ€•แ€ฑแ€ธแ€แ€ปแ€€แ€บ: แ€šแ€แ€ฏ PDF แ€–แ€ญแ€ฏแ€„แ€บแ€žแ€Šแ€บ แ€•แ€ฏแ€ถแ€”แ€พแ€ญแ€•แ€บแ€›แ€”แ€บ แ€™แ€•แ€ผแ€Šแ€ทแ€บแ€…แ€ฏแ€ถแ€•แ€ซ +web_fonts_disabled=Web fonts are disabled: unable to use embedded PDF fonts. +document_colors_not_allowed=PDF แ€–แ€ญแ€ฏแ€„แ€บแ€กแ€ฌแ€ธ แŽแ€„แ€บแ€ธแ€ค แ€€แ€ญแ€ฏแ€šแ€บแ€•แ€ญแ€ฏแ€„แ€บแ€กแ€›แ€ฑแ€ฌแ€„แ€บแ€™แ€ปแ€ฌแ€ธแ€€แ€ญแ€ฏ แ€กแ€žแ€ฏแ€ถแ€ธแ€•แ€ผแ€ฏแ€แ€ฝแ€„แ€บแ€ทแ€™แ€•แ€ฑแ€ธแ€‘แ€ฌแ€ธแ€•แ€ซ แ‹ 'แ€…แ€ฌแ€™แ€ปแ€€แ€บแ€”แ€พแ€ฌแ€กแ€ฌแ€ธแ€œแ€ฏแ€ถแ€ธแ€กแ€ฌแ€ธแ€กแ€›แ€ฑแ€ฌแ€„แ€บแ€›แ€ฝแ€ฑแ€ธแ€แ€ปแ€šแ€บแ€แ€ฝแ€„แ€บแ€ท' แ€กแ€ฌแ€ธ แ€šแ€แ€ฏ แ€˜แ€šแ€ฑแ€ฌแ€€แ€บแ€†แ€ฌแ€แ€ฝแ€„แ€บ แ€•แ€ญแ€แ€บแ€‘แ€ฌแ€ธแ€แ€ผแ€„แ€บแ€ธแ€€แ€ผแ€ฑแ€ฌแ€„แ€บแ€ทแ€–แ€ผแ€…แ€บ แ€žแ€พแ€บ diff --git a/NKC_WF/Scripts/pdf.js/web/locale/nb-NO/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/nb-NO/viewer.properties new file mode 100644 index 0000000..a04a57a --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/nb-NO/viewer.properties @@ -0,0 +1,184 @@ +# 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=Forrige side +previous_label=Forrige +next.title=Neste side +next_label=Neste + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Side +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=av {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} av {{pagesCount}}) + +zoom_out.title=Zoom ut +zoom_out_label=Zoom ut +zoom_in.title=Zoom inn +zoom_in_label=Zoom inn +zoom.title=Zoom +presentation_mode.title=Bytt til presentasjonsmodus +presentation_mode_label=Presentasjonsmodus +open_file.title=ร…pne fil +open_file_label=ร…pne +print.title=Skriv ut +print_label=Skriv ut +download.title=Last ned +download_label=Last ned +bookmark.title=Nรฅvรฆrende visning (kopier eller รฅpne i et nytt vindu) +bookmark_label=Nรฅvรฆrende visning + +# Secondary toolbar and context menu +tools.title=Verktรธy +tools_label=Verktรธy +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 siste side +last_page.label=Gรฅ til siste side +last_page_label=Gรฅ til siste side +page_rotate_cw.title=Roter med klokken +page_rotate_cw.label=Roter med klokken +page_rotate_cw_label=Roter med klokken +page_rotate_ccw.title=Roter mot klokken +page_rotate_ccw.label=Roter mot klokken +page_rotate_ccw_label=Roter mot klokken + +cursor_text_select_tool.title=Aktiver tekstmarkeringsverktรธy +cursor_text_select_tool_label=Tekstmarkeringsverktรธy +cursor_hand_tool.title=Aktiver handverktรธy +cursor_hand_tool_label=Handverktรธy + +# Document properties dialog box +document_properties.title=Dokumentegenskaper โ€ฆ +document_properties_label=Dokumentegenskaper โ€ฆ +document_properties_file_name=Filnavn: +document_properties_file_size=Filstรธrrelse: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Dokumentegenskaper โ€ฆ +document_properties_author=Forfatter: +document_properties_subject=Emne: +document_properties_keywords=Nรธkkelord: +document_properties_creation_date=Opprettet dato: +document_properties_modification_date=Endret dato: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Opprettet av: +document_properties_producer=PDF-verktรธy: +document_properties_version=PDF-versjon: +document_properties_page_count=Sideantall: +document_properties_close=Lukk + +print_progress_message=Forbereder dokument for utskrift โ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Avbryt + +# 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รฅ av/pรฅ sidestolpe +toggle_sidebar_notification.title=Vis/gjem sidestolpe (dokumentet inneholder oversikt/vedlegg) +toggle_sidebar_label=Slรฅ av/pรฅ sidestolpe +document_outline.title=Vis dokumentdisposisjonen (dobbeltklikk for รฅ utvide/skjule alle elementer) +document_outline_label=Dokumentdisposisjon +attachments.title=Vis vedlegg +attachments_label=Vedlegg +thumbs.title=Vis miniatyrbilde +thumbs_label=Miniatyrbilde +findbar.title=Finn i dokumentet +findbar_label=Finn + +# 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=Miniatyrbilde av side {{page}} + +# Find panel button title and messages +find_input.title=Sรธk +find_input.placeholder=Sรธk i dokumentโ€ฆ +find_previous.title=Finn forrige forekomst av frasen +find_previous_label=Forrige +find_next.title=Finn neste forekomst av frasen +find_next_label=Neste +find_highlight=Uthev alle +find_match_case_label=Skill store/smรฅ bokstaver +find_reached_top=Nรฅdde toppen av dokumentet, fortsetter fra bunnen +find_reached_bottom=Nรฅdde bunnen av dokumentet, fortsetter fra toppen +find_not_found=Fant ikke teksten + +# Error panel labels +error_more_info=Mer info +error_less_info=Mindre info +error_close=Lukk +# 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}} (bygg: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Melding: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stakk: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Fil: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Linje: {{line}} +rendering_error=En feil oppstod ved opptegning av siden. + +# Predefined zoom values +page_scale_width=Sidebredde +page_scale_fit=Tilpass til siden +page_scale_auto=Automatisk zoom +page_scale_actual=Virkelig stรธrrelse +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}} % + +# Loading indicator messages +loading_error_indicator=Feil +loading_error=En feil oppstod ved lasting av PDF. +invalid_file_error=Ugyldig eller skadet PDF-fil. +missing_file_error=Manglende PDF-fil. +unexpected_response_error=Uventet serverrespons. + +# 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}} annotasjon] +password_label=Skriv inn passordet for รฅ รฅpne denne PDF-filen. +password_invalid=Ugyldig passord. Prรธv igjen. +password_ok=OK +password_cancel=Avbryt + +printing_not_supported=Advarsel: Utskrift er ikke fullstendig stรธttet av denne nettleseren. +printing_not_ready=Advarsel: PDF er ikke fullstendig innlastet for utskrift. +web_fonts_disabled=Web-fonter er avslรฅtt: Kan ikke bruke innbundne PDF-fonter. +document_colors_not_allowed=PDF-dokumenter tillates ikke รฅ bruke deres egne farger: "Tillat sider รฅ velge egne farger" er deaktivert i nettleseren. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/nl/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/nl/viewer.properties new file mode 100644 index 0000000..c66d035 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/nl/viewer.properties @@ -0,0 +1,184 @@ +# 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 pagina +previous_label=Vorige +next.title=Volgende pagina +next_label=Volgende + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Pagina +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=van {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} van {{pagesCount}}) + +zoom_out.title=Uitzoomen +zoom_out_label=Uitzoomen +zoom_in.title=Inzoomen +zoom_in_label=Inzoomen +zoom.title=Zoomen +presentation_mode.title=Wisselen naar presentatiemodus +presentation_mode_label=Presentatiemodus +open_file.title=Bestand openen +open_file_label=Openen +print.title=Afdrukken +print_label=Afdrukken +download.title=Downloaden +download_label=Downloaden +bookmark.title=Huidige weergave (kopiรซren of openen in nieuw venster) +bookmark_label=Huidige weergave + +# Secondary toolbar and context menu +tools.title=Hulpmiddelen +tools_label=Hulpmiddelen +first_page.title=Naar eerste pagina gaan +first_page.label=Naar eerste pagina gaan +first_page_label=Naar eerste pagina gaan +last_page.title=Naar laatste pagina gaan +last_page.label=Naar laatste pagina gaan +last_page_label=Naar laatste pagina gaan +page_rotate_cw.title=Rechtsom draaien +page_rotate_cw.label=Rechtsom draaien +page_rotate_cw_label=Rechtsom draaien +page_rotate_ccw.title=Linksom draaien +page_rotate_ccw.label=Linksom draaien +page_rotate_ccw_label=Linksom draaien + +cursor_text_select_tool.title=Tekstselectiehulpmiddel inschakelen +cursor_text_select_tool_label=Tekstselectiehulpmiddel +cursor_hand_tool.title=Handhulpmiddel inschakelen +cursor_hand_tool_label=Handhulpmiddel + +# Document properties dialog box +document_properties.title=Documenteigenschappenโ€ฆ +document_properties_label=Documenteigenschappenโ€ฆ +document_properties_file_name=Bestandsnaam: +document_properties_file_size=Bestandsgrootte: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Titel: +document_properties_author=Auteur: +document_properties_subject=Onderwerp: +document_properties_keywords=Trefwoorden: +document_properties_creation_date=Aanmaakdatum: +document_properties_modification_date=Wijzigingsdatum: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Auteur: +document_properties_producer=PDF-producent: +document_properties_version=PDF-versie: +document_properties_page_count=Aantal paginaโ€™s: +document_properties_close=Sluiten + +print_progress_message=Document voorbereiden voor afdrukkenโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Annuleren + +# 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=Zijbalk in-/uitschakelen +toggle_sidebar_notification.title=Zijbalk in-/uitschakelen (document bevat overzicht/bijlagen) +toggle_sidebar_label=Zijbalk in-/uitschakelen +document_outline.title=Documentoverzicht tonen (dubbelklik om alle items uit/samen te vouwen) +document_outline_label=Documentoverzicht +attachments.title=Bijlagen tonen +attachments_label=Bijlagen +thumbs.title=Miniaturen tonen +thumbs_label=Miniaturen +findbar.title=Zoeken in document +findbar_label=Zoeken + +# 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=Pagina {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatuur van pagina {{page}} + +# Find panel button title and messages +find_input.title=Zoeken +find_input.placeholder=Zoeken in documentโ€ฆ +find_previous.title=De vorige overeenkomst van de tekst zoeken +find_previous_label=Vorige +find_next.title=De volgende overeenkomst van de tekst zoeken +find_next_label=Volgende +find_highlight=Alles markeren +find_match_case_label=Hoofdlettergevoelig +find_reached_top=Bovenkant van document bereikt, doorgegaan vanaf onderkant +find_reached_bottom=Onderkant van document bereikt, doorgegaan vanaf bovenkant +find_not_found=Tekst niet gevonden + +# Error panel labels +error_more_info=Meer informatie +error_less_info=Minder informatie +error_close=Sluiten +# 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=Bericht: {{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=Bestand: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Regel: {{line}} +rendering_error=Er is een fout opgetreden bij het weergeven van de pagina. + +# Predefined zoom values +page_scale_width=Paginabreedte +page_scale_fit=Hele pagina +page_scale_auto=Automatisch zoomen +page_scale_actual=Werkelijke grootte +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=Fout +loading_error=Er is een fout opgetreden bij het laden van de PDF. +invalid_file_error=Ongeldig of beschadigd PDF-bestand. +missing_file_error=PDF-bestand ontbreekt. +unexpected_response_error=Onverwacht serverantwoord. + +# 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}}-aantekening] +password_label=Voer het wachtwoord in om dit PDF-bestand te openen. +password_invalid=Ongeldig wachtwoord. Probeer het opnieuw. +password_ok=OK +password_cancel=Annuleren + +printing_not_supported=Waarschuwing: afdrukken wordt niet volledig ondersteund door deze browser. +printing_not_ready=Waarschuwing: de PDF is niet volledig geladen voor afdrukken. +web_fonts_disabled=Weblettertypen zijn uitgeschakeld: gebruik van ingebedde PDF-lettertypen is niet mogelijk. +document_colors_not_allowed=PDF-documenten mogen hun eigen kleuren niet gebruiken: โ€˜Paginaโ€™s toestaan om hun eigen kleuren te kiezenโ€™ is uitgeschakeld in de browser. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/nn-NO/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/nn-NO/viewer.properties new file mode 100644 index 0000000..a3efab8 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/nn-NO/viewer.properties @@ -0,0 +1,184 @@ +# 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=Fรธregรฅande side +previous_label=Fรธregรฅande +next.title=Neste side +next_label=Neste + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Side +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=av {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} av {{pagesCount}}) + +zoom_out.title=Zoom ut +zoom_out_label=Zoom ut +zoom_in.title=Zoom inn +zoom_in_label=Zoom inn +zoom.title=Zoom +presentation_mode.title=Byt til presentasjonsmodus +presentation_mode_label=Presentasjonsmodus +open_file.title=Opne fil +open_file_label=Opne +print.title=Skriv ut +print_label=Skriv ut +download.title=Last ned +download_label=Last ned +bookmark.title=Gjeldande vising (kopier eller opne i nytt vindauge) +bookmark_label=Gjeldande vising + +# Secondary toolbar and context menu +tools.title=Verktรธy +tools_label=Verktรธy +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 siste side +last_page.label=Gรฅ til siste side +last_page_label=Gรฅ til siste side +page_rotate_cw.title=Roter med klokka +page_rotate_cw.label=Roter med klokka +page_rotate_cw_label=Roter med klokka +page_rotate_ccw.title=Roter mot klokka +page_rotate_ccw.label=Roter mot klokka +page_rotate_ccw_label=Roter mot klokka + +cursor_text_select_tool.title=Aktiver tekstmarkeringsverktรธy +cursor_text_select_tool_label=Tekstmarkeringsverktรธy +cursor_hand_tool.title=Aktiver handverktรธy +cursor_hand_tool_label=Handverktรธy + +# Document properties dialog box +document_properties.title=Dokumenteigenskaparโ€ฆ +document_properties_label=Dokumenteigenskaparโ€ฆ +document_properties_file_name=Filnamn: +document_properties_file_size=Filstorleik: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Tittel: +document_properties_author=Forfattar: +document_properties_subject=Emne: +document_properties_keywords=Stikkord: +document_properties_creation_date=Dato oppretta: +document_properties_modification_date=Dato endra: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Oppretta av: +document_properties_producer=PDF-verktรธy: +document_properties_version=PDF-versjon: +document_properties_page_count=Sidetal: +document_properties_close=Lat att + +print_progress_message=Fรธrebur dokumentet for utskriftโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Avbryt + +# 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รฅ av/pรฅ sidestolpe +toggle_sidebar_notification.title=Vis/gรธym sidestolpen (dokumentet inneheld oversikt/vedlegg) +toggle_sidebar_label=Slรฅ av/pรฅ sidestolpe +document_outline.title=Vis dokumentdisposisjonen (dobbelklikk for รฅ utvide/gรธyme alle elementa) +document_outline_label=Dokumentdisposisjon +attachments.title=Vis vedlegg +attachments_label=Vedlegg +thumbs.title=Vis miniatyrbilde +thumbs_label=Miniatyrbilde +findbar.title=Finn i dokumentet +findbar_label=Finn + +# 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=Miniatyrbilde av side {{page}} + +# Find panel button title and messages +find_input.title=Sรธk +find_input.placeholder=Sรธk i dokumentโ€ฆ +find_previous.title=Finn fรธrre fรธrekomst av frasen +find_previous_label=Fรธrre +find_next.title=Finn neste fรธrekomst av frasen +find_next_label=Neste +find_highlight=Uthev alle +find_match_case_label=Skil store/smรฅ bokstavar +find_reached_top=Nรฅdde toppen av dokumentet, fortset frรฅ botnen +find_reached_bottom=Nรฅdde botnen av dokumentet, fortset frรฅ toppen +find_not_found=Fann ikkje teksten + +# Error panel labels +error_more_info=Meir info +error_less_info=Mindre info +error_close=Lat att +# 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}} (bygg: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Melding: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stakk: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Fil: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Linje: {{line}} +rendering_error=Ein feil oppstod under vising av sida. + +# Predefined zoom values +page_scale_width=Sidebreidde +page_scale_fit=Tilpass til sida +page_scale_auto=Automatisk skalering +page_scale_actual=Verkeleg storleik +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=Feil +loading_error=Ein feil oppstod ved lasting av PDF. +invalid_file_error=Ugyldig eller korrupt PDF-fil. +missing_file_error=Manglande PDF-fil. +unexpected_response_error=Uventa tenarrespons. + +# 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}} annotasjon] +password_label=Skriv inn passordet for รฅ opne denne PDF-fila. +password_invalid=Ugyldig passord. Prรธv igjen. +password_ok=OK +password_cancel=Avbryt + +printing_not_supported=ร…tvaring: Utskrift er ikkje fullstendig stรธtta av denne nettlesaren. +printing_not_ready=ร…tvaring: PDF ikkje fullstendig innlasta for utskrift. +web_fonts_disabled=Web-skrifter er slรฅtt av: Kan ikkje bruke innbundne PDF-skrifter. +document_colors_not_allowed=PDF-dokument kan ikkje bruke eigne fargar: ยซTillat sider รฅ velje eigne fargarยป er deaktivert i nettlesaren. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/nso/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/nso/viewer.properties new file mode 100644 index 0000000..d95406c --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/nso/viewer.properties @@ -0,0 +1,130 @@ +# 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=Letlakala le fetilego +previous_label=Fetilego +next.title=Letlakala le latelago +next_label=Latelago + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. + +zoom_out.title=Buลกetลกa ka gare +zoom_out_label=Buลกetลกa ka gare +zoom_in.title=Godiลกetลกa ka ntle +zoom_in_label=Godiลกetลกa ka ntle +zoom.title=Godiลกa +presentation_mode.title=Fetogela go mokgwa wa tlhagiลกo +presentation_mode_label=Mokgwa wa tlhagiลกo +open_file.title=Bula faele +open_file_label=Bula +print.title=Gatiลกa +print_label=Gatiลกa +download.title=Laolla +download_label=Laolla +bookmark.title=Pono ya bjale (kopiลกa le go bula lefasetereng le leswa) +bookmark_label=Tebelelo ya gona bjale + +# Secondary toolbar and context menu + + +# Document properties dialog box +document_properties_file_name=Leina la faele: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_title=Thaetlele: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. + +# 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=ล ielanya para ya ka thoko +toggle_sidebar_label=ล ielanya para ya ka thoko +document_outline_label=Kakaretลกo ya tokumente +thumbs.title=Laetลกa dikhutลกofatลกo +thumbs_label=Dikhutลกofatลกo +findbar.title=Hwetลกa go tokumente + +# 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=Letlakala {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Khutลกofatลกo ya letlakala {{page}} + +# Find panel button title and messages +find_previous.title=Hwetลกa tiragalo e fetilego ya sekafoko +find_previous_label=Fetilego +find_next.title=Hwetลกa tiragalo e latelago ya sekafoko +find_next_label=Latelago +find_highlight=Bonagatลกa tลกohle +find_match_case_label=Swantลกha kheisi +find_reached_top=Fihlile godimo ga tokumente, go tลกwetลกwe pele go tloga tlase +find_reached_bottom=Fihlile mafelelong a tokumente, go tลกwetลกwe pele go tloga godimo +find_not_found=Sekafoko ga sa hwetลกwa + +# Error panel labels +error_more_info=Tshedimoลกo e oketลกegilego +error_less_info=Tshedimoลกo ya tlasana +# 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=Molaetลกa: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Mokgobo: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Faele: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Mothaladi: {{line}} +rendering_error=Go diregile phoลกo ge go be go gafelwa letlakala. + +# Predefined zoom values +page_scale_width=Bophara bja letlakala +page_scale_fit=Go lekana ga letlakala +page_scale_auto=Kgodiลกo ya maitiriลกo +page_scale_actual=Bogolo bja kgonthe +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. + +# Loading indicator messages +loading_error_indicator=Phoลกo +loading_error=Go diregile phoลกo ge go hlahlelwa PDF. +invalid_file_error=Faele ye e sa ลกomego goba e senyegilego ya PDF. +missing_file_error=Faele yeo e sego gona ya 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}} Tlhaloso] +password_ok=LOKILE + +printing_not_supported=Temoลกo: Go gatiลกa ga go thekgwe ke praosara ye ka botlalo. +printing_not_ready=Temoลกo: PDF ga ya hlahlelwa ka botlalo bakeng sa go gatiลกwa. +web_fonts_disabled=Difonte tลกa wepe di ลกitiลกitลกwe: ga e kgone go diriลกa difonte tลกa PDF tลกe khutiลกitลกwego. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/oc/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/oc/viewer.properties new file mode 100644 index 0000000..029e211 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/oc/viewer.properties @@ -0,0 +1,184 @@ +# 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=Pagina precedenta +previous_label=Precedent +next.title=Pagina seguenta +next_label=Seguent + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Pagina +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=sus {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} sus {{pagesCount}}) + +zoom_out.title=Zoom arriรจr +zoom_out_label=Zoom arriรจr +zoom_in.title=Zoom avant +zoom_in_label=Zoom avant +zoom.title=Zoom +presentation_mode.title=Bascular en mรฒde presentacion +presentation_mode_label=Mรฒde Presentacion +open_file.title=Dobrir lo fichiรจr +open_file_label=Dobrir +print.title=Imprimir +print_label=Imprimir +download.title=Telecargar +download_label=Telecargar +bookmark.title=Afichatge corrent (copiar o dobrir dins una fenรจstra novรจla) +bookmark_label=Afichatge actual + +# Secondary toolbar and context menu +tools.title=Aisinas +tools_label=Aisinas +first_page.title=Anar a la primiรจra pagina +first_page.label=Anar a la primiรจra pagina +first_page_label=Anar a la primiรจra pagina +last_page.title=Anar a la darriรจra pagina +last_page.label=Anar a la darriรจra pagina +last_page_label=Anar a la darriรจra pagina +page_rotate_cw.title=Rotacion orร ria +page_rotate_cw.label=Rotacion orร ria +page_rotate_cw_label=Rotacion orร ria +page_rotate_ccw.title=Rotacion antiorร ria +page_rotate_ccw.label=Rotacion antiorร ria +page_rotate_ccw_label=Rotacion antiorร ria + +cursor_text_select_tool.title=Activar l'aisina de seleccion de tรจxte +cursor_text_select_tool_label=Aisina de seleccion de tรจxte +cursor_hand_tool.title=Activar lโ€™aisina man +cursor_hand_tool_label=Aisina man + +# Document properties dialog box +document_properties.title=Proprietats del document... +document_properties_label=Proprietats del document... +document_properties_file_name=Nom del fichiรจrย : +document_properties_file_size=Talha del fichiรจr : +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} Ko ({{size_b}} octets) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} Mo ({{size_b}} octets) +document_properties_title=Tรญtolย : +document_properties_author=Autor : +document_properties_subject=Subjรจcte : +document_properties_keywords=Mots clausย : +document_properties_creation_date=Data de creacion : +document_properties_modification_date=Data de modificacion : +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Creator : +document_properties_producer=Aisina de conversion PDF : +document_properties_version=Version PDF : +document_properties_page_count=Nombre de paginas : +document_properties_close=Tampar + +print_progress_message=Preparacion del document per lโ€™impressionโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Anullar + +# 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=Afichar/amagar lo panรจl lateral +toggle_sidebar_notification.title=Afichar/amagar lo panรจl lateral (lo document conten esquรจmas/pรจรงas juntas) +toggle_sidebar_label=Afichar/amagar lo panรจl lateral +document_outline.title=Mostrar los esquรจmas del document (dobleclicar per espandre/reduire totes los elements) +document_outline_label=Marcapaginas del document +attachments.title=Visualizar las pรจรงas juntas +attachments_label=Pรจรงas juntas +thumbs.title=Afichar las vinhetas +thumbs_label=Vinhetas +findbar.title=Trobar dins lo document +findbar_label=Recercar + +# 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=Pagina {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Vinheta de la pagina {{page}} + +# Find panel button title and messages +find_input.title=Recercar +find_input.placeholder=Cercar dins lo documentโ€ฆ +find_previous.title=Trรฒba l'ocurrรฉncia precedenta de la frasa +find_previous_label=Precedent +find_next.title=Trรฒba l'ocurrรฉncia venenta de la frasa +find_next_label=Seguent +find_highlight=Suslinhar tot +find_match_case_label=Respectar la cassa +find_reached_top=Naut de la pagina atench, perseguida dempuรจi lo bas +find_reached_bottom=Bas de la pagina atench, perseguida al comenรงament +find_not_found=Frasa pas trobada + +# Error panel labels +error_more_info=Mai de detalhs +error_less_info=Mens d'informacions +error_close=Tampar +# 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}} (identificant de compilacionย : {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Messatgeย : {{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=Fichiรจrย : {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Linhaย : {{line}} +rendering_error=Una error s'es produita pendent l'afichatge de la pagina. + +# Predefined zoom values +page_scale_width=Largor plena +page_scale_fit=Pagina entiรจra +page_scale_auto=Zoom automatic +page_scale_actual=Talha vertadiรจra +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=Error +loading_error=Una error s'es produita pendent lo cargament del fichiรจr PDF. +invalid_file_error=Fichiรจr PDF invalid o corromput. +missing_file_error=Fichiรจr PDF mancant. +unexpected_response_error=Responsa de servidor imprevista. + +# 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=[Anotacion {{type}}] +password_label=Picatz lo senhal per dobrir aqueste fichiรจr PDF. +password_invalid=Senhal incorrรจcte. Tornatz ensajar. +password_ok=D'acรฒrdi +password_cancel=Anullar + +printing_not_supported=Atencion : l'impression es pas completament gerit per aqueste navigador. +printing_not_ready=Atencion : lo PDF es pas entiรจrament cargat per lo poder imprimir. +web_fonts_disabled=Las poliรงas web son desactivadasย : impossible d'utilizar las poliรงas integradas al PDF. +document_colors_not_allowed=Los documents PDF pรฒdon pas utilizar lors prรฒprias colors : ยซ Autorizar las paginas web d'utilizar lors prรฒprias colors ยป es desactivat dins lo navigador. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/or/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/or/viewer.properties new file mode 100644 index 0000000..831eace --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/or/viewer.properties @@ -0,0 +1,167 @@ +# 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.title): The tooltip for the pageNumber input. +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. + +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=เฌฆเฌฒเฌฟเฌฒ เฌ—เญเฌฃเฌงเฌฐเญเฌฎโ€ฆ +document_properties_label=เฌฆเฌฒเฌฟเฌฒ เฌ—เญเฌฃเฌงเฌฐเญเฌฎโ€ฆ +document_properties_file_name=เฌซเฌพเฌ‡เฌฒ เฌจเฌพเฌฎ: +document_properties_file_size=เฌซเฌพเฌ‡เฌฒ เฌ†เฌ•เฌพเฌฐ: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in 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=เฌชเฌฐเฌฟเฌฌเฌฐเญเฌคเญเฌคเฌจ เฌคเฌพเฌฐเฌฟเฌ–: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=เฌจเฌฟเฌฐเญเฌฎเฌพเฌคเฌพ: +document_properties_producer=PDF เฌชเญเฌฐเฌฏเญ‹เฌœเฌ•: +document_properties_version=PDF เฌธเฌ‚เฌธเญเฌ•เฌฐเฌฃ: +document_properties_page_count=เฌชเญƒเฌทเญเฌ เฌพ เฌ—เฌฃเฌจเฌพ: +document_properties_close=เฌฌเฌจเญเฌฆ เฌ•เฌฐเฌจเญเฌคเญ + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. + +# 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=เฌชเฌพเฌฐเญเฌถเญเญฑเฌชเฌŸเฌฟเฌ•เญ เฌ†เฌ—เฌชเฌ› เฌ•เฌฐเฌจเญเฌคเญ +document_outline_label=เฌฆเฌฒเฌฟเฌฒ เฌธเฌพเฌฐเฌพเฌ‚เฌถ +attachments.title=เฌธเฌ‚เฌฒเฌ—เญเฌจเฌ•เฌ—เญเฌกเฌผเฌฟเฌ•เญ เฌฆเฌฐเญเฌถเฌพเฌจเญเฌคเญ +attachments_label=เฌธเฌฒเฌ—เญเฌจเฌ•เฌ—เญเฌกเฌฟเฌ• +thumbs.title=เฌธเฌ‚เฌ•เญเฌทเฌฟเฌชเญเฌค เฌฌเฌฟเฌฌเฌฐเฌฃเญ€ เฌฆเฌฐเญเฌถเฌพเฌจเญเฌคเญ +thumbs_label=เฌธเฌ‚เฌ•เญเฌทเฌฟเฌชเญเฌค เฌฌเฌฟเฌฌเฌฐเฌฃเญ€ +findbar.title=เฌฆเฌฒเฌฟเฌฒเฌฐเญ‡ เฌ–เญ‹เฌœเฌจเญเฌคเญ + +# 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_previous_label=เฌชเญ‚เฌฐเญเฌฌเฌฌเฌฐเญเฌคเญเฌคเญ€ +find_next.title=เฌเฌนเฌฟ เฌฌเฌพเฌ•เญเญŸเฌพเฌ‚เฌถเฌฐ เฌชเฌฐเฌฌเฌฐเญเฌคเญเฌคเญ€ เฌ‰เฌชเฌธเญเฌฅเฌฟเฌคเฌฟเฌ•เญ เฌ–เญ‹เฌœเฌจเญเฌคเญ +find_next_label=เฌชเฌฐเฌฌเฌฐเญเฌคเญเฌคเญ€\u0020 +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=เฌชเญเฌฐเฌ•เญƒเฌค เฌ†เฌ•เฌพเฌฐ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. + +# Loading indicator messages +loading_error_indicator=เฌคเญเฌฐเญเฌŸเฌฟ +loading_error=PDF เฌงเฌพเฌฐเฌฃ เฌ•เฌฐเฌฟเฌฌเฌพ เฌธเฌฎเญŸเฌฐเญ‡ เฌเฌ• เฌคเญเฌฐเญเฌŸเฌฟ เฌ˜เฌŸเฌฟเฌฒเฌพเฅค +invalid_file_error=เฌ…เฌฌเญˆเฌง เฌ•เฌฟเฌฎเญเฌฌเฌพ เฌคเญเฌฐเญเฌŸเฌฟเฌฏเญเฌ•เญเฌค PDF เฌซเฌพเฌ‡เฌฒเฅค +missing_file_error=เฌนเฌœเฌฟเฌฏเฌพเฌ‡เฌฅเฌฟเฌฌเฌพ PDF เฌซเฌพเฌ‡เฌฒเฅค +unexpected_response_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=เฌเฌนเฌฟ PDF เฌซเฌพเฌ‡เฌฒเฌ•เญ เฌ–เญ‹เฌฒเฌฟเฌฌเฌพ เฌชเฌพเฌ‡เฌ เฌชเญเฌฐเฌฌเญ‡เฌถ เฌธเฌ‚เฌ•เญ‡เฌค เฌญเฌฐเฌฃ เฌ•เฌฐเฌจเญเฌคเญเฅค +password_invalid=เฌญเญเฌฒ เฌชเญเฌฐเฌฌเญ‡เฌถ เฌธเฌ‚เฌ•เญ‡เฌคเฅค เฌฆเญŸเฌพเฌ•เฌฐเฌฟ เฌชเญเฌฃเฌฟ เฌšเญ‡เฌทเญเฌŸเฌพ เฌ•เฌฐเฌจเญเฌคเญเฅค +password_ok=เฌ เฌฟเฌ• เฌ…เฌ›เฌฟ + +printing_not_supported=เฌšเญ‡เฌคเฌพเฌฌเฌจเญ€: เฌเฌนเฌฟ เฌฌเญเฌฐเฌพเฌ‰เฌœเฌฐ เฌฆเญเญฑเฌพเฌฐเฌพ เฌฎเญเฌฆเญเฌฐเฌฃ เฌ•เญเฌฐเฌฟเญŸเฌพ เฌธเฌฎเญเฌชเญ‚เฌฐเญเฌฃเญเฌฃ เฌญเฌพเฌฌเฌฐเญ‡ เฌธเฌนเฌพเญŸเฌคเฌพ เฌชเญเฌฐเฌพเฌชเญเฌค เฌจเญเฌนเฌเฅค +printing_not_ready=เฌšเญ‡เฌคเฌพเฌฌเฌจเญ€: PDF เฌŸเฌฟ เฌฎเญเฌฆเญเฌฐเฌฃ เฌชเฌพเฌ‡เฌ เฌธเฌฎเญเฌชเญ‚เฌฐเญเฌฃเญเฌฃ เฌญเฌพเฌฌเฌฐเญ‡ เฌงเฌพเฌฐเฌฃ เฌนเญ‹เฌ‡ เฌจเฌพเฌนเฌฟเฌเฅค +web_fonts_disabled=เญฑเญ‡เฌฌ เฌ…เฌ•เญเฌทเฌฐเฌฐเญ‚เฌชเฌ—เญเฌกเฌผเฌฟเฌ•เญ เฌจเฌฟเฌทเญเฌ•เญเฌฐเฌฟเญŸ เฌ•เฌฐเฌพเฌฏเฌพเฌ‡เฌ›เฌฟ: เฌธเฌจเญเฌจเฌฟเฌนเฌฟเฌค PDF เฌ…เฌ•เญเฌทเฌฐเฌฐเญ‚เฌชเฌ—เญเฌกเฌผเฌฟเฌ•เญ เฌฌเญเญŸเฌฌเฌนเฌพเฌฐ เฌ•เฌฐเฌฟเฌฌเฌพเฌฐเญ‡ เฌ…เฌธเฌฎเฌฐเญเฌฅเฅค +document_colors_not_allowed=PDF เฌฆเฌฒเฌฟเฌฒเฌ—เญเฌกเฌผเฌฟเฌ• เฌธเญ‡เฌฎเฌพเฌจเฌ™เญเฌ•เฌฐ เฌจเฌฟเฌœเฌฐ เฌฐเฌ™เญเฌ— เฌฌเญเญŸเฌฌเฌนเฌพเฌฐ เฌ•เฌฐเฌฟเฌฌเฌพ เฌชเฌพเฌ‡เฌ เฌ…เฌจเญเฌฎเฌคเฌฟ เฌชเญเฌฐเฌพเฌชเญเฌค เฌจเญเฌนเฌ: 'เฌธเญ‡เฌฎเฌพเฌจเฌ™เญเฌ•เฌฐ เฌจเฌฟเฌœ เฌฐเฌ™เญเฌ— เฌฌเฌพเฌ›เฌฟเฌฌเฌพ เฌชเฌพเฌ‡เฌ เฌชเญƒเฌทเญเฌ เฌพเฌ—เญเฌกเฌผเฌฟเฌ•เญ เฌ…เฌจเญเฌฎเฌคเฌฟ เฌฆเฌฟเฌ…เฌจเญเฌคเญ' เฌ•เญ เฌฌเญเฌฐเฌพเฌ‰เฌœเฌฐเฌฐเญ‡ เฌจเฌฟเฌทเญเฌ•เญเฌฐเฌฟเญŸ เฌ•เฌฐเฌพเฌฏเฌพเฌ‡เฌ›เฌฟเฅค diff --git a/NKC_WF/Scripts/pdf.js/web/locale/pa-IN/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/pa-IN/viewer.properties new file mode 100644 index 0000000..155f5e8 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/pa-IN/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=เจธเจซเจผเจพ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}} เจตเจฟเฉฑเจšเฉ‹เจ‚ +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages={{pagesCount}}) เจตเจฟเฉฑเจšเฉ‹เจ‚ ({{pageNumber}} + +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=เจ–เฉฑเจฌเฉ‡ เจฆเจพเจ… เจ˜เฉเฉฐเจฎเจพเจ“ + +cursor_text_select_tool.title=เจฒเจฟเจ–เจค เจšเฉ‹เจฃ เจŸเฉ‚เจฒ เจธเจฎเจฐเฉฑเจฅ เจ•เจฐเฉ‹ +cursor_text_select_tool_label=เจฒเจฟเจ–เจค เจšเฉ‹เจฃ เจŸเฉ‚เจฒ +cursor_hand_tool.title=เจนเฉฑเจฅ เจŸเฉ‚เจฒ เจธเจฎเจฐเฉฑเจฅ เจ•เจฐเฉ‹ +cursor_hand_tool_label=เจนเฉฑเจฅ เจŸเฉ‚เจฒ + +# Document properties dialog box +document_properties.title=โ€ฆเจฆเจธเจคเจพเจตเฉ‡เฉ› เจฆเฉ€ เจตเจฟเจถเฉ‡เจถเจคเจพ +document_properties_label=โ€ฆเจฆเจธเจคเจพเจตเฉ‡เฉ› เจฆเฉ€ เจตเจฟเจถเฉ‡เจถเจคเจพ +document_properties_file_name=เจซเจพเจˆเจฒ เจฆเจพ เจจเจพเจ‚: +document_properties_file_size=เจซเจพเจˆเจฒ เจฆเจพ เจ†เจ•เจพเจฐ: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} เจฌเจพเจˆเจŸ) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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=เจธเฉ‹เจง เจฆเฉ€ เจฎเจฟเจคเฉ€: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=เจจเจฟเจฐเจฎเจพเจคเจพ: +document_properties_producer=PDF เจชเฉเจฐเฉ‹เจกเจฟเจŠเจธเจฐ: +document_properties_version=PDF เจตเจฐเจœเจจ: +document_properties_page_count=เจธเจซเจผเฉ‡ เจฆเฉ€ เจ—เจฟเจฃเจคเฉ€: +document_properties_close=เจฌเฉฐเจฆ เจ•เจฐเฉ‹ + +print_progress_message=โ€ฆเจชเจฐเจฟเฉฐเจŸ เจ•เจฐเจจ เจฒเจˆ เจฆเจธเจคเจพเจตเฉ‡เฉ› เจจเฉ‚เฉฐ เจคเจฟเจ†เจฐ เจ•เฉ€เจคเจพ เจœเจพ เจฐเจฟเจนเจพ เจนเฉˆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_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_notification.title=เจฌเจพเจนเฉ€ เจจเฉ‚เฉฐ เจฌเจฆเจฒเฉ‹ (เจฆเจธเจคเจพเจตเฉ‡เฉ› เจ–เจพเจ•เจพ/เจ…เจŸเฉˆเจšเจฎเฉˆเจ‚เจŸเจพเจ‚ เจฐเฉฑเจ–เจฆเจพ เจนเฉˆ) +toggle_sidebar_label=เจฌเจพเจนเฉ€ เจฌเจฆเจฒเฉ‹ +document_outline.title=เจฆเจธเจคเจพเจตเฉ‡เฉ› เจ–เจพเจ•เจพ เจฆเจฟเจ–เจพเจ“ (เจธเจพเจฐเฉ€เจ†เจ‚ เจ†เจˆเจŸเจฎเจพเจ‚ เจจเฉ‚เฉฐ เจซเฉˆเจฒเจพเจ‰เจฃ/เจธเจฎเฉ‡เจŸเจฃ เจฒเจˆ เจฆเฉ‹ เจตเจพเจฐ เจ•เจฒเจฟเฉฑเจ• เจ•เจฐเฉ‹) +document_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_input.title=เจฒเฉฑเจญเฉ‹ +find_input.placeholder=โ€ฆเจฆเจธเจคเจพเจตเฉ‡เฉ› 'เจš เจฒเฉฑเจญเฉ‹ +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=เจ†เจŸเฉ‹เจฎเฉˆเจŸเจฟเจ• เจ†เจ•เจพเจฐ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=เจ—เจฒเจคเฉ€ +loading_error=PDF เจฒเฉ‹เจก เจ•เจฐเจจ เจฆเฉ‡ เจฆเฉŒเจฐเจพเจจ เจ—เจฒเจคเฉ€ เจ†เจˆ เจนเฉˆเฅค +invalid_file_error=เจ—เจฒเจค เจœเจพเจ‚ เจจเจฟเจ•เจพเจฐเจพ PDF เจซเจพเจˆเจฒ เจนเฉˆเฅค +missing_file_error=เจจเจพ-เจฎเฉŒเจœเฉ‚เจฆ PDF เจซเจพเจˆเจฒเฅค +unexpected_response_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=เจ‡เจน PDF เจซเจพเจˆเจฒ เจจเฉ‚เฉฐ เจ–เฉ‹เจฒเฉเจนเจฃ เจฒเจˆ เจชเจพเจธเจตเจฐเจก เจฆเจฟเจ‰เฅค +password_invalid=เจ—เจฒเจค เจชเจพเจธเจตเจฐเจกเฅค เจซเฉ‡เจฐ เจ•เฉ‹เจถเจฟเจถ เจ•เจฐเฉ‹ เจœเฉ€เฅค +password_ok=เจ เฉ€เจ• เจนเฉˆ +password_cancel=เจฐเฉฑเจฆ เจ•เจฐเฉ‹ + +printing_not_supported=เจธเจพเจตเจงเจพเจจ: เจ‡เจน เจฌเจฐเจพเจŠเฉ›เจฐ เจชเจฐเจฟเฉฐเจŸ เจ•เจฐเจจ เจฒเจˆ เจชเฉ‚เจฐเฉ€ เจคเจฐเฉเจนเจพเจ‚ เจธเจนเจพเจ‡เจ• เจจเจนเฉ€เจ‚ เจนเฉˆเฅค +printing_not_ready=เจธเจพเจตเจงเจพเจจ: PDF เจจเฉ‚เฉฐ เจชเจฐเจฟเฉฐเจŸ เจ•เจฐเจจ เจฒเจˆ เจชเฉ‚เจฐเฉ€ เจคเจฐเฉเจนเจพเจ‚ เจฒเฉ‹เจก เจจเจนเฉ€เจ‚ เจนเฉˆเฅค +web_fonts_disabled=เจตเฉˆเจฌ เจซเฉ‹เจ‚เจŸ เจฌเฉฐเจฆ เจนเจจ: เจ‡เฉฐเจฌเฉˆเจก PDF เจซเฉ‹เจ‚เจŸ เจจเฉ‚เฉฐ เจตเจฐเจคเจฃ เจฒเจˆ เจ…เจธเจฎเจฐเฉฑเจฅ เจนเฉˆเฅค +document_colors_not_allowed=PDF เจฆเจธเจคเจพเจตเฉ‡เฉ›เจพเจ‚ เจจเฉ‚เฉฐ เจ†เจชเจฃเฉ‡ เจฐเฉฐเจ— เจตเจฐเจคเจฃ เจฆเฉ€ เจ‡เฉ›เจพเฉ›เจค เจจเจนเฉ€เจ‚ เจนเฉˆเฅค: เจฌเจฐเจพเจŠเฉ›เจฐ เจตเจฟเฉฑเจš โ€œเจธเฉžเจฟเจ†เจ‚ เจจเฉ‚เฉฐ เจ†เจชเจฃเฉ‡ เจฐเฉฐเจ— เจšเฉเจฃเจจ เจฆเฉ€ เจ‡เฉ›เจพเฉ›เจค เจฆเจฟเจ“โ€ เจจเจพ-เจธเจฐเจ—เจฐเจฎ เจนเฉˆเฅค diff --git a/NKC_WF/Scripts/pdf.js/web/locale/pl/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/pl/viewer.properties new file mode 100644 index 0000000..fc26be8 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/pl/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/. + +previous.title=Poprzednia strona +previous_label=Poprzednia +next.title=Nastฤ™pna strona +next_label=Nastฤ™pna + +page.title==Strona: +of_pages=zย {{pagesCount}} +page_of_pages=({{pageNumber}}ย zย {{pagesCount}}) + +zoom_out.title=Pomniejszenie +zoom_out_label=Pomniejsz +zoom_in.title=Powiฤ™kszenie +zoom_in_label=Powiฤ™ksz +zoom.title=Skala +presentation_mode.title=Przeล‚ฤ…cz na tryb prezentacji +presentation_mode_label=Tryb prezentacji +open_file.title=Otwieranie pliku +open_file_label=Otwรณrz +print.title=Drukowanie +print_label=Drukuj +download.title=Pobieranie +download_label=Pobierz +bookmark.title=Bieลผฤ…ca pozycja (skopiuj lub otwรณrz jako odnoล›nik wย nowym oknie) +bookmark_label=Bieลผฤ…ca pozycja + +tools.title=Narzฤ™dzia +tools_label=Narzฤ™dzia +first_page.title=Przechodzenie do pierwszej strony +first_page.label=Przejdลบ do pierwszej strony +first_page_label=Przejdลบ do pierwszej strony +last_page.title=Przechodzenie do ostatniej strony +last_page.label=Przejdลบ do ostatniej strony +last_page_label=Przejdลบ do ostatniej strony +page_rotate_cw.title=Obracanie zgodnie zย ruchem wskazรณwek zegara +page_rotate_cw.label=Obrรณฤ‡ zgodnie zย ruchem wskazรณwek zegara +page_rotate_cw_label=Obrรณฤ‡ zgodnie zย ruchem wskazรณwek zegara +page_rotate_ccw.title=Obracanie przeciwnie do ruchu wskazรณwek zegara +page_rotate_ccw.label=Obrรณฤ‡ przeciwnie do ruchu wskazรณwek zegara +page_rotate_ccw_label=Obrรณฤ‡ przeciwnie do ruchu wskazรณwek zegara + +cursor_text_select_tool.title=Wล‚ฤ…cza narzฤ™dzie zaznaczania tekstu +cursor_text_select_tool_label=Narzฤ™dzie zaznaczania tekstu +cursor_hand_tool.title=Wล‚ฤ…cza narzฤ™dzie rฤ…czka +cursor_hand_tool_label=Narzฤ™dzie rฤ…czka + +document_properties.title=Wล‚aล›ciwoล›ci dokumentuโ€ฆ +document_properties_label=Wล‚aล›ciwoล›ci dokumentuโ€ฆ +document_properties_file_name=Nazwa pliku: +document_properties_file_size=Rozmiar pliku: +document_properties_kb={{size_kb}} KB ({{size_b}} b) +document_properties_mb={{size_mb}} MB ({{size_b}} b) +document_properties_title=Tytuล‚: +document_properties_author=Autor: +document_properties_subject=Temat: +document_properties_keywords=Sล‚owa kluczowe: +document_properties_creation_date=Data utworzenia: +document_properties_modification_date=Data modyfikacji: +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Utworzony przez: +document_properties_producer=PDF wyprodukowany przez: +document_properties_version=Wersja PDF: +document_properties_page_count=Liczba stron: +document_properties_close=Zamknij + +print_progress_message=Przygotowywanie dokumentu do drukuโ€ฆ +print_progress_percent={{progress}}% +print_progress_close=Anuluj + +toggle_sidebar.title=Przeล‚ฤ…czanie panelu bocznego +toggle_sidebar_notification.title=Przeล‚ฤ…czanie panelu bocznego (dokument zawiera konspekt/zaล‚ฤ…czniki) +toggle_sidebar_label=Przeล‚ฤ…cz panel boczny +document_outline.title=Wyล›wietlanie zarysu dokumentu (podwรณjne klikniฤ™cie rozwija lub zwija wszystkie pozycje) +document_outline_label=Zarys dokumentu +attachments.title=Wyล›wietlanie zaล‚ฤ…cznikรณw +attachments_label=Zaล‚ฤ…czniki +thumbs.title=Wyล›wietlanie miniaturek +thumbs_label=Miniaturki +findbar.title=Znajdลบ wย dokumencie +findbar_label=Znajdลบ + +thumb_page_title=Strona {{page}} +thumb_page_canvas=Miniaturka strony {{page}} + +find_input.title=Wyszukiwanie +find_input.placeholder=Szukaj wย dokumencieโ€ฆ +find_previous.title=Znajdลบ poprzednie wystฤ…pienie tekstu +find_previous_label=Poprzednie +find_next.title=Znajdลบ nastฤ™pne wystฤ…pienie tekstu +find_next_label=Nastฤ™pne +find_highlight=Podล›wietl wszystkie +find_match_case_label=Rozrรณลผniaj wielkoล›ฤ‡ znakรณw +find_reached_top=Osiฤ…gniฤ™to poczฤ…tek dokumentu, kontynuacja od koล„ca +find_reached_bottom=Osiฤ…gniฤ™to koniec dokumentu, kontynuacja od poczฤ…tku +find_not_found=Tekst nieznaleziony + +error_more_info=Wiฤ™cej informacji +error_less_info=Mniej informacji +error_close=Zamknij +error_version_info=PDF.js v{{version}} (kompilacja: {{build}}) +error_message=Wiadomoล›ฤ‡: {{message}} +error_stack=Stos: {{stack}} +error_file=Plik: {{file}} +error_line=Wiersz: {{line}} +rendering_error=Podczas renderowania strony wystฤ…piล‚ bล‚ฤ…d. + +page_scale_width=Szerokoล›ฤ‡ strony +page_scale_fit=Dopasowanie strony +page_scale_auto=Skala automatyczna +page_scale_actual=Rozmiar rzeczywisty +page_scale_percent={{scale}}% + +loading_error_indicator=Bล‚ฤ…d +loading_error=Podczas wczytywania dokumentu PDF wystฤ…piล‚ bล‚ฤ…d. +invalid_file_error=Nieprawidล‚owy lub uszkodzony plik PDF. +missing_file_error=Brak pliku PDF. +unexpected_response_error=Nieoczekiwana odpowiedลบ serwera. + +text_annotation_type.alt=[Adnotacja: {{type}}] +password_label=Wprowadลบ hasล‚o, aby otworzyฤ‡ ten dokument PDF. +password_invalid=Nieprawidล‚owe hasล‚o. Proszฤ™ sprรณbowaฤ‡ ponownie. +password_ok=OK +password_cancel=Anuluj + +printing_not_supported=Ostrzeลผenie: Drukowanie nie jest wย peล‚ni obsล‚ugiwane przez przeglฤ…darkฤ™. +printing_not_ready=Ostrzeลผenie: Dokument PDF nie jest caล‚kowicie wczytany, wiฤ™c nie moลผna go wydrukowaฤ‡. +web_fonts_disabled=Czcionki sieciowe sฤ… wyล‚ฤ…czone: nie moลผna uลผyฤ‡ osadzonych czcionek PDF. +document_colors_not_allowed=Dokumenty PDF nie mogฤ… uลผywaฤ‡ wล‚asnych kolorรณw: Opcja โ€žPozwalaj stronom stosowaฤ‡ inne koloryโ€ wย przeglฤ…darce jest nieaktywna. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/pt-BR/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/pt-BR/viewer.properties new file mode 100644 index 0000000..c2371c4 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/pt-BR/viewer.properties @@ -0,0 +1,184 @@ +# 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=Prรณxima pรกgina +next_label=Prรณxima + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Pรกgina +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=de {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} de {{pagesCount}}) + +zoom_out.title=Reduzir +zoom_out_label=Reduzir +zoom_in.title=Ampliar +zoom_in_label=Ampliar +zoom.title=Zoom +presentation_mode.title=Alternar para o modo de apresentaรงรฃo +presentation_mode_label=Modo de apresentaรงรฃo +open_file.title=Abrir arquivo +open_file_label=Abrir +print.title=Imprimir +print_label=Imprimir +download.title=Download +download_label=Download +bookmark.title=Visualizaรงรฃo atual (copiar ou abrir em uma nova janela) +bookmark_label=Visualizaรงรฃo atual + +# Secondary toolbar and context menu +tools.title=Ferramentas +tools_label=Ferramentas +first_page.title=Ir para a primeira pรกgina +first_page.label=Ir para a primeira pรกgina +first_page_label=Ir para a primeira pรกgina +last_page.title=Ir para a รบltima pรกgina +last_page.label=Ir para a รบltima pรกgina +last_page_label=Ir para a รบltima pรกgina +page_rotate_cw.title=Girar no sentido horรกrio +page_rotate_cw.label=Girar no sentido horรกrio +page_rotate_cw_label=Girar no sentido horรกrio +page_rotate_ccw.title=Girar no sentido anti-horรกrio +page_rotate_ccw.label=Girar no sentido anti-horรกrio +page_rotate_ccw_label=Girar no sentido anti-horรกrio + +cursor_text_select_tool.title=Habilitar a ferramenta de seleรงรฃo de texto +cursor_text_select_tool_label=Ferramenta de seleรงรฃo de texto +cursor_hand_tool.title=Habilitar ferramenta de mรฃo +cursor_hand_tool_label=Ferramenta de mรฃo + +# Document properties dialog box +document_properties.title=Propriedades do documentoโ€ฆ +document_properties_label=Propriedades do documentoโ€ฆ +document_properties_file_name=Nome do arquivo: +document_properties_file_size=Tamanho do arquivo: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}}โ€ฏKB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}}โ€ฏMB ({{size_b}} bytes) +document_properties_title=Tรญtulo: +document_properties_author=Autor: +document_properties_subject=Assunto: +document_properties_keywords=Palavras-chave: +document_properties_creation_date=Data da criaรงรฃo: +document_properties_modification_date=Data da modificaรงรฃo: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Criaรงรฃo: +document_properties_producer=Criador do PDF: +document_properties_version=Versรฃo do PDF: +document_properties_page_count=Nรบmero de pรกginas: +document_properties_close=Fechar + +print_progress_message=Preparando documento para impressรฃoโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}} % +print_progress_close=Cancelar + +# 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 painel +toggle_sidebar_notification.title=Alternar o painel (documento contรฉm marcadores e anexos) +toggle_sidebar_label=Alternar painel +document_outline.title=Mostrar a estrutura do documento (duplo-clique para expandir/recolher todos os รญtens) +document_outline_label=Estrutura do documento +attachments.title=Mostrar anexos +attachments_label=Anexos +thumbs.title=Mostrar miniaturas +thumbs_label=Miniaturas +findbar.title=Localizar no documento +findbar_label=Localizar + +# 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 da pรกgina {{page}} + +# Find panel button title and messages +find_input.title=Localizar +find_input.placeholder=Localizar no documentoโ€ฆ +find_previous.title=Localizar a ocorrรชncia anterior da frase +find_previous_label=Anterior +find_next.title=Localizar a prรณxima ocorrรชncia da frase +find_next_label=Prรณxima +find_highlight=Realรงar tudo +find_match_case_label=Diferenciar maiรบsculas/minรบsculas +find_reached_top=Inรญcio do documento alcanรงado, continuando do fim +find_reached_bottom=Fim do documento alcanรงado, continuando do inรญcio +find_not_found=Frase nรฃo encontrada + +# Error panel labels +error_more_info=Mais informaรงรตes +error_less_info=Menos informaรงรตes +error_close=Fechar +# 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}} (compilaรงรฃo: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Mensagem: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Pilha: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Arquivo: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Linha: {{line}} +rendering_error=Ocorreu um erro ao renderizar a pรกgina. + +# Predefined zoom values +page_scale_width=Largura da pรกgina +page_scale_fit=Ajustar ร  janela +page_scale_auto=Zoom automรกtico +page_scale_actual=Tamanho real +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=Erro +loading_error=Ocorreu um erro ao carregar o PDF. +invalid_file_error=Arquivo PDF corrompido ou invรกlido. +missing_file_error=Arquivo PDF ausente. +unexpected_response_error=Resposta inesperada do servidor. + +# 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=[Anotaรงรฃo {{type}}] +password_label=Forneรงa a senha para abrir este arquivo PDF. +password_invalid=Senha invรกlida. Por favor, tentar de novo. +password_ok=OK +password_cancel=Cancelar + +printing_not_supported=Aviso: a impressรฃo nรฃo รฉ totalmente suportada neste navegador. +printing_not_ready=Aviso: o PDF nรฃo estรก totalmente carregado para impressรฃo. +web_fonts_disabled=As fontes web estรฃo desabilitadas: nรฃo foi possรญvel usar fontes incorporadas do PDF. +document_colors_not_allowed=Os documentos em PDF nรฃo estรฃo autorizados a usar suas prรณprias cores: โ€œPermitir que as pรกginas escolham suas prรณprias coresโ€ estรก desabilitado no navegador. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/pt-PT/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/pt-PT/viewer.properties new file mode 100644 index 0000000..6ae8bea --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/pt-PT/viewer.properties @@ -0,0 +1,184 @@ +# 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 seguinte +next_label=Seguinte + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Pรกgina +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=de {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} de {{pagesCount}}) + +zoom_out.title=Reduzir +zoom_out_label=Reduzir +zoom_in.title=Ampliar +zoom_in_label=Ampliar +zoom.title=Zoom +presentation_mode.title=Trocar para o modo de apresentaรงรฃo +presentation_mode_label=Modo de apresentaรงรฃo +open_file.title=Abrir ficheiro +open_file_label=Abrir +print.title=Imprimir +print_label=Imprimir +download.title=Descarregar +download_label=Descarregar +bookmark.title=Visรฃo atual (copiar ou abrir em nova janela) +bookmark_label=Visรฃo atual + +# Secondary toolbar and context menu +tools.title=Ferramentas +tools_label=Ferramentas +first_page.title=Ir para a primeira pรกgina +first_page.label=Ir para a primeira pรกgina +first_page_label=Ir para a primeira pรกgina +last_page.title=Ir para a รบltima pรกgina +last_page.label=Ir para a รบltima pรกgina +last_page_label=Ir para a รบltima pรกgina +page_rotate_cw.title=Rodar ร  direita +page_rotate_cw.label=Rodar ร  direita +page_rotate_cw_label=Rodar ร  direita +page_rotate_ccw.title=Rodar ร  esquerda +page_rotate_ccw.label=Rodar ร  esquerda +page_rotate_ccw_label=Rodar ร  esquerda + +cursor_text_select_tool.title=Ativar ferramenta de seleรงรฃo de texto +cursor_text_select_tool_label=Ferramenta de seleรงรฃo de texto +cursor_hand_tool.title=Ativar ferramenta de mรฃo +cursor_hand_tool_label=Ferramenta de mรฃo + +# Document properties dialog box +document_properties.title=Propriedades do documentoโ€ฆ +document_properties_label=Propriedades do documentoโ€ฆ +document_properties_file_name=Nome do ficheiro: +document_properties_file_size=Tamanho do ficheiro: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Tรญtulo: +document_properties_author=Autor: +document_properties_subject=Assunto: +document_properties_keywords=Palavras-chave: +document_properties_creation_date=Data de criaรงรฃo: +document_properties_modification_date=Data de modificaรงรฃo: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Criador: +document_properties_producer=Produtor de PDF: +document_properties_version=Versรฃo do PDF: +document_properties_page_count=N.ยบ de pรกginas: +document_properties_close=Fechar + +print_progress_message=A preparar o documento para impressรฃoโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Cancelar + +# 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_notification.title=Alternar barra lateral (documento contรฉm contorno/anexos) +toggle_sidebar_label=Alternar barra lateral +document_outline.title=Mostrar esquema do documento (duplo clique para expandir/colapsar todos os itens) +document_outline_label=Estrutura do documento +attachments.title=Mostrar anexos +attachments_label=Anexos +thumbs.title=Mostrar miniaturas +thumbs_label=Miniaturas +findbar.title=Localizar no documento +findbar_label=Localizar + +# 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 da pรกgina {{page}} + +# Find panel button title and messages +find_input.title=Localizar +find_input.placeholder=Localizar no documentoโ€ฆ +find_previous.title=Localizar ocorrรชncia anterior da frase +find_previous_label=Anterior +find_next.title=Localizar ocorrรชncia seguinte da frase +find_next_label=Seguinte +find_highlight=Destacar tudo +find_match_case_label=Correspondรชncia +find_reached_top=Topo do documento atingido, a continuar a partir do fundo +find_reached_bottom=Fim do documento atingido, a continuar a partir do topo +find_not_found=Frase nรฃo encontrada + +# Error panel labels +error_more_info=Mais informaรงรฃo +error_less_info=Menos informaรงรฃo +error_close=Fechar +# 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}} (compilaรงรฃo: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Mensagem: {{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=Ficheiro: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Linha: {{line}} +rendering_error=Ocorreu um erro ao processar a pรกgina. + +# Predefined zoom values +page_scale_width=Ajustar ร  largura +page_scale_fit=Ajustar ร  pรกgina +page_scale_auto=Zoom automรกtico +page_scale_actual=Tamanho real +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=Erro +loading_error=Ocorreu um erro ao carregar o PDF. +invalid_file_error=Ficheiro PDF invรกlido ou danificado. +missing_file_error=Ficheiro PDF inexistente. +unexpected_response_error=Resposta inesperada do servidor. + +# 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=[Anotaรงรฃo {{type}}] +password_label=Digite a palavra-passe para abrir este ficheiro PDF. +password_invalid=Palavra-passe invรกlida. Por favor, tente novamente. +password_ok=OK +password_cancel=Cancelar + +printing_not_supported=Aviso: a impressรฃo nรฃo รฉ totalmente suportada por este navegador. +printing_not_ready=Aviso: o PDF ainda nรฃo estรก totalmente carregado. +web_fonts_disabled=Os tipos de letra web estรฃo desativados: nรฃo รฉ possรญvel utilizar os tipos de letra PDF incorporados. +document_colors_not_allowed=Os documentos PDF nรฃo permitem a utilizaรงรฃo das suas prรณprias cores: โ€œPermitir ร s pรกginas escolher as suas prรณprias coresโ€ estรก desativado no navegador. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/rm/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/rm/viewer.properties new file mode 100644 index 0000000..d9eb524 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/rm/viewer.properties @@ -0,0 +1,184 @@ +# 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=Pagina precedenta +previous_label=Enavos +next.title=Proxima pagina +next_label=Enavant + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Pagina +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=da {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} da {{pagesCount}}) + +zoom_out.title=Empitschnir +zoom_out_label=Empitschnir +zoom_in.title=Engrondir +zoom_in_label=Engrondir +zoom.title=Zoom +presentation_mode.title=Midar en il modus da preschentaziun +presentation_mode_label=Modus da preschentaziun +open_file.title=Avrir datoteca +open_file_label=Avrir +print.title=Stampar +print_label=Stampar +download.title=Telechargiar +download_label=Telechargiar +bookmark.title=Vista actuala (copiar u avrir en ina nova fanestra) +bookmark_label=Vista actuala + +# Secondary toolbar and context menu +tools.title=Utensils +tools_label=Utensils +first_page.title=Siglir a l'emprima pagina +first_page.label=Siglir a l'emprima pagina +first_page_label=Siglir a l'emprima pagina +last_page.title=Siglir a la davosa pagina +last_page.label=Siglir a la davosa pagina +last_page_label=Siglir a la davosa pagina +page_rotate_cw.title=Rotar en direcziun da l'ura +page_rotate_cw.label=Rotar en direcziun da l'ura +page_rotate_cw_label=Rotar en direcziun da l'ura +page_rotate_ccw.title=Rotar en direcziun cuntraria a l'ura +page_rotate_ccw.label=Rotar en direcziun cuntraria a l'ura +page_rotate_ccw_label=Rotar en direcziun cuntraria a l'ura + +cursor_text_select_tool.title=Activar l'utensil per selecziunar text +cursor_text_select_tool_label=Utensil per selecziunar text +cursor_hand_tool.title=Activar l'utensil da maun +cursor_hand_tool_label=Utensil da maun + +# Document properties dialog box +document_properties.title=Caracteristicas dal documentโ€ฆ +document_properties_label=Caracteristicas dal documentโ€ฆ +document_properties_file_name=Num da la datoteca: +document_properties_file_size=Grondezza da la datoteca: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Titel: +document_properties_author=Autur: +document_properties_subject=Tema: +document_properties_keywords=Chavazzins: +document_properties_creation_date=Data da creaziun: +document_properties_modification_date=Data da modificaziun: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}} {{time}} +document_properties_creator=Creร  da: +document_properties_producer=Creร  il PDF cun: +document_properties_version=Versiun da PDF: +document_properties_page_count=Dumber da paginas: +document_properties_close=Serrar + +print_progress_message=Preparar il document per stamparโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Interrumper + +# 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=Activar/deactivar la trav laterala +toggle_sidebar_notification.title=Activar/deactivar la trav laterala (structura dal document/agiuntas) +toggle_sidebar_label=Activar/deactivar la trav laterala +document_outline.title=Mussar la structura dal document (cliccar duas giadas per extender/cumprimer tut ils elements) +document_outline_label=Structura dal document +attachments.title=Mussar agiuntas +attachments_label=Agiuntas +thumbs.title=Mussar las miniaturas +thumbs_label=Miniaturas +findbar.title=Tschertgar en il document +findbar_label=Tschertgar + +# 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=Pagina {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatura da la pagina {{page}} + +# Find panel button title and messages +find_input.title=Tschertgar +find_input.placeholder=Tschertgar en il documentโ€ฆ +find_previous.title=Tschertgar la posiziun precedenta da l'expressiun +find_previous_label=Enavos +find_next.title=Tschertgar la proxima posiziun da l'expressiun +find_next_label=Enavant +find_highlight=Relevar tuts +find_match_case_label=Resguardar maiusclas/minusclas +find_reached_top=Il cumenzament dal document รจ cuntanschรฌ, la tschertga cuntinuescha a la fin dal document +find_reached_bottom=La fin dal document รจ cuntanschรฌ, la tschertga cuntinuescha al cumenzament dal document +find_not_found=Impussibel da chattar l'expressiun + +# Error panel labels +error_more_info=Dapli infurmaziuns +error_less_info=Damain infurmaziuns +error_close=Serrar +# 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=Messadi: {{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=Datoteca: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Lingia: {{line}} +rendering_error=Ina errur รจ cumparida cun visualisar questa pagina. + +# Predefined zoom values +page_scale_width=Ladezza da la pagina +page_scale_fit=Entira pagina +page_scale_auto=Zoom automatic +page_scale_actual=Grondezza actuala +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=Errur +loading_error=Ina errur รจ cumparida cun chargiar il PDF. +invalid_file_error=Datoteca PDF nunvalida u donnegiada. +missing_file_error=Datoteca PDF manconta. +unexpected_response_error=Resposta nunspetgada dal server. + +# 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=[Annotaziun da {{type}}] +password_label=Endatescha il pled-clav per avrir questa datoteca da PDF. +password_invalid=Pled-clav nunvalid. Emprova anc ina giada. +password_ok=OK +password_cancel=Interrumper + +printing_not_supported=Attenziun: Il stampar na funcziunescha anc betg dal tut en quest navigatur. +printing_not_ready=Attenziun: Il PDF n'รจ betg chargiร  cumplettamain per stampar. +web_fonts_disabled=Scrittiras dal web รจn deactivadas: impussibel dad utilisar las scrittiras integradas en il PDF. +document_colors_not_allowed=Documents da PDF na dastgan betg duvrar las atgnas colurs: 'Permetter a paginas da tscherner lur atgna colur' รจ deactivร  en il navigatur. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/ro/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/ro/viewer.properties new file mode 100644 index 0000000..24f1a9a --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/ro/viewer.properties @@ -0,0 +1,184 @@ +# 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=Pagina precedentฤƒ +previous_label=รŽnapoi +next.title=Pagina urmฤƒtoare +next_label=รŽnainte + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Pagina +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=din {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} din {{pagesCount}}) + +zoom_out.title=Micศ™oreazฤƒ +zoom_out_label=Micศ™oreazฤƒ +zoom_in.title=Mฤƒreศ™te +zoom_in_label=Mฤƒreศ™te +zoom.title=Zoom +presentation_mode.title=Schimbฤƒ la modul de prezentare +presentation_mode_label=Mod de prezentare +open_file.title=Deschide un fiศ™ier +open_file_label=Deschide +print.title=Tipฤƒreศ™te +print_label=Tipฤƒreศ™te +download.title=Descarcฤƒ +download_label=Descarcฤƒ +bookmark.title=Vizualizare actualฤƒ (copiaศ›i sau deschideศ›i รฎntr-o fereastrฤƒ nouฤƒ) +bookmark_label=Vizualizare actualฤƒ + +# Secondary toolbar and context menu +tools.title=Unelte +tools_label=Unelte +first_page.title=Mergi la prima paginฤƒ +first_page.label=Mergi la prima paginฤƒ +first_page_label=Mergi la prima paginฤƒ +last_page.title=Mergi la ultima paginฤƒ +last_page.label=Mergi la ultima paginฤƒ +last_page_label=Mergi la ultima paginฤƒ +page_rotate_cw.title=Roteศ™te รฎn sensul acelor de ceasornic +page_rotate_cw.label=Roteศ™te รฎn sensul acelor de ceasornic +page_rotate_cw_label=Roteศ™te รฎn sensul acelor de ceasornic +page_rotate_ccw.title=Roteศ™te รฎn sens invers al acelor de ceasornic +page_rotate_ccw.label=Roteศ™te รฎn sens invers al acelor de ceasornic +page_rotate_ccw_label=Roteศ™te รฎn sens invers al acelor de ceasornic + +cursor_text_select_tool.title=Porneศ™te instrumentul de selecศ›ie a textului +cursor_text_select_tool_label=Instrumentul de selecลฃie a textului +cursor_hand_tool.title=Porneศ™te unealta mรขnฤƒ +cursor_hand_tool_label=Unealta mรขnฤƒ + +# Document properties dialog box +document_properties.title=Proprietฤƒศ›ile documentuluiโ€ฆ +document_properties_label=Proprietฤƒศ›ile documentuluiโ€ฆ +document_properties_file_name=Numele fiศ™ierului: +document_properties_file_size=Dimensiunea fiศ™ierului: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} byศ›i) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} byศ›i) +document_properties_title=Titlu: +document_properties_author=Autor: +document_properties_subject=Subiect: +document_properties_keywords=Cuvinte cheie: +document_properties_creation_date=Data creฤƒrii: +document_properties_modification_date=Data modificฤƒrii: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Autor: +document_properties_producer=Producฤƒtor PDF: +document_properties_version=Versiune PDF: +document_properties_page_count=Numฤƒr de pagini: +document_properties_close=รŽnchide + +print_progress_message=Se pregฤƒteศ™te documentul pentru imprimareโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Renunศ›ฤƒ + +# 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=Comutฤƒ bara lateralฤƒ +toggle_sidebar_notification.title=Comutฤƒ bara lateralฤƒ (documentul conศ›ine schiศ›e/ataศ™amente) +toggle_sidebar_label=Comutฤƒ bara lateralฤƒ +document_outline.title=Aratฤƒ schiศ›a documentului (dublu-clic pentru a expanda/colapsa toate elementele +document_outline_label=Schiศ›ฤƒ document +attachments.title=Afiศ™eazฤƒ ataศ™amentele +attachments_label=Ataศ™amente +thumbs.title=Aratฤƒ miniaturi +thumbs_label=Miniaturi +findbar.title=Gฤƒseศ™te รฎn document +findbar_label=Cautฤƒ + +# 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=Pagina {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatura paginii {{page}} + +# Find panel button title and messages +find_input.title=Cautฤƒ +find_input.placeholder=Cautฤƒ รฎn documentโ€ฆ +find_previous.title=Gฤƒseศ™te instanศ›a anterioarฤƒ รฎn frazฤƒ +find_previous_label=Anterior +find_next.title=Gฤƒseศ™te instanศ›a urmฤƒtoare รฎn frazฤƒ +find_next_label=Urmฤƒtor +find_highlight=Evidenศ›iazฤƒ apariศ›iile +find_match_case_label=Potriveศ™te literele mari ศ™i mici +find_reached_top=Am ajuns la รฎnceputul documentului, continuฤƒ de la sfรขrศ™it +find_reached_bottom=Am ajuns la sfรขrศ™itul documentului, continuฤƒ de la รฎnceput +find_not_found=Nu s-a gฤƒsit textul + +# Error panel labels +error_more_info=Mai multe informaศ›ii +error_less_info=Mai puศ›ine informaศ›ii +error_close=รŽnchide +# 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}} (varianta: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Mesaj: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stivฤƒ: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Fiศ™ier: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Linie: {{line}} +rendering_error=A intervenit o eroare la afiศ™area paginii. + +# Predefined zoom values +page_scale_width=Lฤƒศ›ime paginฤƒ +page_scale_fit=Potrivire la paginฤƒ +page_scale_auto=Zoom automat +page_scale_actual=Dimensiune realฤƒ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=Eroare +loading_error=A intervenit o eroare la รฎncฤƒrcarea fiศ™ierului PDF. +invalid_file_error=Fiศ™ier PDF invalid sau deteriorat. +missing_file_error=Fiศ™ier PDF lipsฤƒ. +unexpected_response_error=Rฤƒspuns neaศ™teptat de la server. + +# 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}} Adnotare] +password_label=Introdu parola pentru a deschide acest fiศ™ier PDF. +password_invalid=Parolฤƒ greศ™itฤƒ. Te rugฤƒm sฤƒ รฎncerci din nou. +password_ok=Ok +password_cancel=Renunศ›ฤƒ + +printing_not_supported=Avertisment: Tipฤƒrirea nu este suportatฤƒ รฎn totalitate de acest browser. +printing_not_ready=Avertisment: Fiศ™ierul PDF nu este รฎncฤƒrcat complet pentru tipฤƒrire. +web_fonts_disabled=Fonturile web sunt dezactivate: nu pot utiliza fonturile PDF รฎncorporate. +document_colors_not_allowed=Documentele PDF nu sunt autorizate sฤƒ foloseascฤƒ propriile culori: 'Permite paginilor sฤƒ aleagฤƒ propriile culori' este dezactivatฤƒ รฎn browser. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/ru/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/ru/viewer.properties new file mode 100644 index 0000000..47a322b --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/ru/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=ะกั‚ั€ะฐะฝะธั†ะฐ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=ะธะท {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} ะธะท {{pagesCount}}) + +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=ะŸะพะฒะตั€ะฝัƒั‚ัŒ ะฟั€ะพั‚ะธะฒ ั‡ะฐัะพะฒะพะน ัั‚ั€ะตะปะบะธ + +cursor_text_select_tool.title=ะ’ะบะปัŽั‡ะธั‚ัŒ ะ˜ะฝัั‚ั€ัƒะผะตะฝั‚ ยซะ’ั‹ะดะตะปะตะฝะธะต ั‚ะตะบัั‚ะฐยป +cursor_text_select_tool_label=ะ˜ะฝัั‚ั€ัƒะผะตะฝั‚ ยซะ’ั‹ะดะตะปะตะฝะธะต ั‚ะตะบัั‚ะฐยป +cursor_hand_tool.title=ะ’ะบะปัŽั‡ะธั‚ัŒ ะ˜ะฝัั‚ั€ัƒะผะตะฝั‚ ยซะ ัƒะบะฐยป +cursor_hand_tool_label=ะ˜ะฝัั‚ั€ัƒะผะตะฝั‚ ยซะ ัƒะบะฐยป + +# Document properties dialog box +document_properties.title=ะกะฒะพะนัั‚ะฒะฐ ะดะพะบัƒะผะตะฝั‚ะฐโ€ฆ +document_properties_label=ะกะฒะพะนัั‚ะฒะฐ ะดะพะบัƒะผะตะฝั‚ะฐโ€ฆ +document_properties_file_name=ะ˜ะผั ั„ะฐะนะปะฐ: +document_properties_file_size=ะ ะฐะทะผะตั€ ั„ะฐะนะปะฐ: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} ะšะ‘ ({{size_b}} ะฑะฐะนั‚) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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=ะ”ะฐั‚ะฐ ะธะทะผะตะฝะตะฝะธั: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=ะŸั€ะธะปะพะถะตะฝะธะต: +document_properties_producer=ะŸั€ะพะธะทะฒะพะดะธั‚ะตะปัŒ PDF: +document_properties_version=ะ’ะตั€ัะธั PDF: +document_properties_page_count=ะงะธัะปะพ ัั‚ั€ะฐะฝะธั†: +document_properties_close=ะ—ะฐะบั€ั‹ั‚ัŒ + +print_progress_message=ะŸะพะดะณะพั‚ะพะฒะบะฐ ะดะพะบัƒะผะตะฝั‚ะฐ ะบ ะฟะตั‡ะฐั‚ะธโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_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_notification.title=ะŸะพะบะฐะทะฐั‚ัŒ/ัะบั€ั‹ั‚ัŒ ะฑะพะบะพะฒัƒัŽ ะฟะฐะฝะตะปัŒ (ะดะพะบัƒะผะตะฝั‚ ะธะผะตะตั‚ ัะพะดะตั€ะถะฐะฝะธะต/ะฒะปะพะถะตะฝะธั) +toggle_sidebar_label=ะŸะพะบะฐะทะฐั‚ัŒ/ัะบั€ั‹ั‚ัŒ ะฑะพะบะพะฒัƒัŽ ะฟะฐะฝะตะปัŒ +document_outline.title=ะŸะพะบะฐะทะฐั‚ัŒ ัะพะดะตั€ะถะฐะฝะธะต ะดะพะบัƒะผะตะฝั‚ะฐ (ะดะฒะพะนะฝะพะน ั‰ะตะปั‡ะพะบ, ั‡ั‚ะพะฑั‹ ั€ะฐะทะฒะตั€ะฝัƒั‚ัŒ/ัะฒะตั€ะฝัƒั‚ัŒ ะฒัะต ัะปะตะผะตะฝั‚ั‹) +document_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_input.title=ะะฐะนั‚ะธ +find_input.placeholder=ะะฐะนั‚ะธ ะฒ ะดะพะบัƒะผะตะฝั‚ะตโ€ฆ +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=ะกั‚eะบ: {{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=ะ ะตะฐะปัŒะฝั‹ะน ั€ะฐะทะผะตั€ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=ะžัˆะธะฑะบะฐ +loading_error=ะŸั€ะธ ะทะฐะณั€ัƒะทะบะต PDF ะฟั€ะพะธะทะพัˆะปะฐ ะพัˆะธะฑะบะฐ. +invalid_file_error=ะะตะบะพั€ั€ะตะบั‚ะฝั‹ะน ะธะปะธ ะฟะพะฒั€ะตะถะดั‘ะฝะฝั‹ะน PDF-ั„ะฐะนะป. +missing_file_error=PDF-ั„ะฐะนะป ะพั‚ััƒั‚ัั‚ะฒัƒะตั‚. +unexpected_response_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=ะ’ะฒะตะดะธั‚ะต ะฟะฐั€ะพะปัŒ, ั‡ั‚ะพะฑั‹ ะพั‚ะบั€ั‹ั‚ัŒ ัั‚ะพั‚ PDF-ั„ะฐะนะป. +password_invalid=ะะตะฒะตั€ะฝั‹ะน ะฟะฐั€ะพะปัŒ. ะŸะพะถะฐะปัƒะนัั‚ะฐ, ะฟะพะฟั€ะพะฑัƒะนั‚ะต ัะฝะพะฒะฐ. +password_ok=OK +password_cancel=ะžั‚ะผะตะฝะฐ + +printing_not_supported=ะŸั€ะตะดัƒะฟั€ะตะถะดะตะฝะธะต: ะ’ ัั‚ะพะผ ะฑั€ะฐัƒะทะตั€ะต ะฝะต ะฟะพะปะฝะพัั‚ัŒัŽ ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั ะฟะตั‡ะฐั‚ัŒ. +printing_not_ready=ะŸั€ะตะดัƒะฟั€ะตะถะดะตะฝะธะต: PDF ะฝะต ะฟะพะปะฝะพัั‚ัŒัŽ ะทะฐะณั€ัƒะถะตะฝ ะดะปั ะฟะตั‡ะฐั‚ะธ. +web_fonts_disabled=ะ’ะตะฑ-ัˆั€ะธั„ั‚ั‹ ะพั‚ะบะปัŽั‡ะตะฝั‹: ะฝะตะฒะพะทะผะพะถะฝะพ ะธัะฟะพะปัŒะทะพะฒะฐั‚ัŒ ะฒัั‚ั€ะพะตะฝะฝั‹ะต PDF-ัˆั€ะธั„ั‚ั‹. +document_colors_not_allowed=PDF-ะดะพะบัƒะผะตะฝั‚ะฐะผ ะฝะต ั€ะฐะทั€ะตัˆะตะฝะพ ะธัะฟะพะปัŒะทะพะฒะฐั‚ัŒ ัะฒะพะธ ั†ะฒะตั‚ะฐ: ะฒ ะฑั€ะฐัƒะทะตั€ะต ะพั‚ะบะปัŽั‡ั‘ะฝ ะฟะฐั€ะฐะผะตั‚ั€ ยซะ ะฐะทั€ะตัˆะธั‚ัŒ ะฒะตะฑ-ัะฐะนั‚ะฐะผ ะธัะฟะพะปัŒะทะพะฒะฐั‚ัŒ ัะฒะพะธ ั†ะฒะตั‚ะฐยป. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/rw/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/rw/viewer.properties new file mode 100644 index 0000000..68a893d --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/rw/viewer.properties @@ -0,0 +1,81 @@ +# 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.title): The tooltip for the pageNumber input. +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. + +zoom.title=Ihindurangano +open_file.title=Gufungura Dosiye +open_file_label=Gufungura + +# Secondary toolbar and context menu + + +# Document properties dialog box +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_title=Umutwe: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) + +# 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=Gushaka aho uyu murongo ugaruka mbere y'aha +find_next.title=Gushaka aho uyu murongo wongera kugaruka +find_not_found=Umurongo ntubonetse + +# Error panel labels +# 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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. + +# Loading indicator messages +loading_error_indicator=Ikosa + +# 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" +password_invalid=Ijambo ry'ibanga ridahari. Wakongera ukagerageza +password_ok=YEGO + diff --git a/NKC_WF/Scripts/pdf.js/web/locale/sah/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/sah/viewer.properties new file mode 100644 index 0000000..1786c40 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/sah/viewer.properties @@ -0,0 +1,166 @@ +# 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.title): The tooltip for the pageNumber input. +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. + +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=ะ”ะพะบัƒะผัƒะพะฝ ั‚ัƒั€ัƒะพั€ัƒัƒะปะฐั€ะฐ... +document_properties_label=ะ”ะพะบัƒะผัƒะพะฝ ั‚ัƒั€ัƒะพั€ัƒัƒะปะฐั€ะฐ...\u0020 +document_properties_file_name=ะ‘ะธะปั ะฐะฐั‚ะฐ: +document_properties_file_size=ะ‘ะธะปั ะบััะผัะนั: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} ะšะ‘ ({{size_b}} ะฑะฐะฐะนั‚) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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=ะฃะปะฐั€ั‹ั‚ั‹ะปะปั‹ะฑั‹ั‚ ะบัะผั: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_producer=PDF ะพาฅะพั€ะพะพั‡ั‡ัƒ: +document_properties_version=PDF ะฑะฐั€ั‹ะปะฐ: +document_properties_page_count=ะกะธั€ัะน ะฐั…ัะฐะฐะฝะฐ: +document_properties_close=ะกะฐะฟ + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. + +# 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=ะžะนะพา•ะพั ั…ะฐะฟั‚ะฐะปั‹ ะฐั€ั‹ะน/ัะฐะฟ +document_outline_label=ะ”ำฉะบาฏะผาฏำฉะฝ ะธาปะธะฝััา•ะธั‚ั +attachments.title=ะšั‹ะฑั‹ั‚ั‹ะบั‚ะฐั€ั‹ ะบำฉั€ะดำฉั€ +attachments_label=ะšั‹ะฑั‹ั‚ั‹ะบ +thumbs.title=ะžะนัƒัƒั‡ะฐะฐะฝะฝะฐั€ั‹ ะบำฉั€ะดำฉั€ +thumbs_label=ะžะนัƒัƒั‡ะฐะฐะฝะฝะฐั€ +findbar.title=ะ”ำฉะบาฏะผาฏำฉะฝั‚ัะฝ ะฑัƒะป + +# 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_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=ะกั‚eะบ: {{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=ะ”ัŒะธาฅะฝััั… ะบััะผัะนั +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. + +# Loading indicator messages +loading_error_indicator=ะะปา•ะฐั +loading_error=PDF-ะฑะธะปัะฝะธ ั…ะฐั‡ะฐะนะดั‹ั‹ั€ะณะฐ ะฐะปา•ะฐั ั‚ะฐา•ั‹ัั‚ะฐ. +invalid_file_error=ะขัƒะพั… ัั€ั ะฐะปา•ะฐัั‚ะฐะฐั… ัะฑัั‚ัั€ ะฐะปะดัŒะฐะผะผั‹ั‚ PDF-ะฑะธะปั. +missing_file_error=PDF-ะฑะธะปั ััƒะพั…. +unexpected_response_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=ะ‘ัƒ PDF-ะฑะธะปัะฝะธ ะฐั€ั‹ะนะฐั€ะณะฐ ะบำฉะผาฏัะบัะป ั‚ั‹ะปั‹ ะบะธะปะปัั€ะธัั…ั‚ััั…ะธะฝ. +password_invalid=ะšะธะธั€ะธะธ ั‚ั‹ะป ะฐะปา•ะฐัั‚ะฐะฐั…. ะ‘ัƒะบะฐ ะดะธัะฝ, ั…ะฐั‚ั‹ะปะฐะฐะฝ ะบำฉั€. +password_ok=ะกำจะŸ + +printing_not_supported=ะกัั€ัั‚ะธะธ: ะ‘ัƒ ะฑั€ะฐัƒะทะตั€ ะฑัั‡ััั‚ั‚ะธะธั€ะธ ั‚ะพะปะพั€ัƒ ำฉะนำฉำฉะฑำฉั‚. +printing_not_ready=ะกัั€ัั‚ะธะธ: PDF ะฑัั‡ััั‚ั‚ะธะธั€ะณั ั‚ะพะปะพั€ัƒ ั…ะฐั‡ะฐะนะดะฐะฝะฐ ะธะปะธะบ. +web_fonts_disabled=ะกะธั‚ะธะผ-ะฑะธั‡ะธะบั‚ัั€ ะฐั€ะฐะฐั€ั‹ะปะปั‹ะฐั…ั‚ะฐั€ะฐ: PDF ะฑะธั‡ะธะบั‚ัั€ั ะบั‹ะฐะนะฐะฝ ะบำฉัั‚าฏะฑัั‚ั‚ัั€. +document_colors_not_allowed=PDF-ะดำฉะบาฏะผาฏำฉาฏะฝะฝัั€ะณั ะฑัะนัะปัั€ะธะฝ ำฉาฅะฝำฉั€าฏะฝ ั‚ัƒั‚ั‚ะฐั€ ะบำฉาฅาฏะปะปัะผะผัั‚ั: "ะกะธั‚ะธะผ-ัะธั€ะดัั€ ะฑัะนัะปัั€ะธะฝ ำฉาฅะฝำฉั€าฏะฝ ั‚ัƒั‚ั‚ะฐะปะปะฐั€ั‹ะฝ ะบำฉาฅาฏะปะปาฏาฏั€ะณั" ะดะธัะฝ ะฑั€ะฐัƒะทะตั€ะณะฐ ะฐั€ะฐั…ัะฐ ัั‹ะปะดัŒะฐั€ ัะฑะธั‚. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/si/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/si/viewer.properties new file mode 100644 index 0000000..4137ec1 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/si/viewer.properties @@ -0,0 +1,171 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=เถดเท’เถงเท”เท€ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. + +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=เถฝเทšเถ›เถฑ เท€เถญเทŠเถšเถธเทŠ... +document_properties_label=เถฝเทšเถ›เถฑ เท€เถญเทŠเถšเถธเทŠ... +document_properties_file_name=เถœเทœเถฑเท” เถฑเถธ: +document_properties_file_size=เถœเทœเถฑเท” เถดเทŠโ€เถปเถธเทเถซเถบ: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} เถถเถบเท’เถง) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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=เท€เท™เถฑเทƒเทŠเถšเถฝ เถฏเท’เถฑเถบ: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=เถฑเท’เถปเทŠเถธเทเถดเถš: +document_properties_producer=PDF เถฑเท’เทเทŠเถดเทเถฏเถš: +document_properties_version=PDF เถฑเท’เถšเท”เถญเท”เท€: +document_properties_page_count=เถดเท’เถงเท” เถœเถซเถฑ: +document_properties_close=เท€เทƒเถฑเทŠเถฑ + +print_progress_message=เถฝเทšเถ›เถฑเถบ เถธเท”เถฏเทŠโ€เถปเถซเถบ เทƒเถณเท„เท เทƒเท–เถฏเทเถฑเถธเทŠ เถšเถปเถธเท’เถฑเทŠโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_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=เถดเทเถญเท’ เถญเท“เถปเท”เท€เถง เถธเทเถปเท”เท€เถฑเทŠเถฑ +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_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: {{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=เถฑเท’เถบเถธเท’เถญ เถดเทŠโ€เถปเถธเทเถซเถบ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=เถฏเทเท‚เถบ +loading_error=PDF เถดเท–เถปเถซเถบ เท€เท’เถธเทšเถฏเท’ เถฏเทเท‚เถบเถšเทŠ เท„เถง เถœเทเถฑเท”เถซเท’. +invalid_file_error=เถฏเท–เทเท’เถญ เท„เท เทƒเทเท€เถฏเทŠโ€เถบ PDF เถœเทœเถฑเท”เท€. +missing_file_error=เถฑเทเถญเท’เท€เท– PDF เถœเทœเถฑเท”เท€. +unexpected_response_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=เถธเท™เถธ PDF เถœเทœเถฑเท”เท€ เท€เท’เท€เท˜เถญ เถšเท’เถปเท“เถธเถง เถธเท”เถปเถดเถฏเถบ เถ‡เถญเท”เท…เถญเทŠ เถšเถปเถฑเทŠเถฑ. +password_invalid=เท€เทเถปเถฏเท’ เถธเท”เถปเถดเถฏเถบเถšเทŠ. เถšเถปเท”เถซเทเถšเถป เถฑเทเท€เถญ เถ‹เถญเทŠเทƒเท„ เถšเถปเถฑเทŠเถฑ. +password_ok=เท„เถปเท’ +password_cancel=เถ‘เถดเท + +printing_not_supported=เถ…เท€เท€เทเถฏเถบเถบเท’: เถธเท™เถธ เถœเท€เทšเทเถšเถบ เถธเท”เถฏเทŠโ€เถปเถซเถบ เทƒเถณเท„เท เทƒเถธเทŠเถดเท–เถปเทŠเถซเถบเท™เถฑเทŠ เทƒเท„เถบ เถฑเทœเถฏเถšเทŠเท€เถบเท’. +printing_not_ready=เถ…เท€เท€เทเถฏเถบเถบเท’: เถธเท”เถฏเทŠโ€เถปเถซเถบ เทƒเถณเท„เท PDF เทƒเถธเทŠเถดเท–เถปเทŠเถซเถบเท™เถฑเทŠ เถดเท–เถปเทŠเถซเถบ เท€เท“ เถฑเทœเถธเทเถญ. +web_fonts_disabled=เถขเทเถฝ เถ…เถšเท”เถปเท” เถ…เถšเทŠโ€เถปเท“เถบเถบเท’: เถญเท’เท…เทเถฝเท’ PDF เถ…เถšเท”เถปเท” เถทเทเท€เท’เถญ เถšเท… เถฑเทœเท„เทเถš. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/sk/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/sk/viewer.properties new file mode 100644 index 0000000..57a621d --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/sk/viewer.properties @@ -0,0 +1,184 @@ +# 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=Predchรกdzajรบca strana +previous_label=Predchรกdzajรบca +next.title=Nasledujรบca strana +next_label=Nasledujรบca + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Strana +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=z {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} z {{pagesCount}}) + +zoom_out.title=Vzdialiลฅ +zoom_out_label=Vzdialiลฅ +zoom_in.title=Priblรญลพiลฅ +zoom_in_label=Priblรญลพiลฅ +zoom.title=Lupa +presentation_mode.title=Prepnรบลฅ na reลพim Prezentรกcia +presentation_mode_label=Reลพim Prezentรกcia +open_file.title=Otvoriลฅ sรบbor +open_file_label=Otvoriลฅ +print.title=Tlaฤiลฅ +print_label=Tlaฤiลฅ +download.title=Prevziaลฅ +download_label=Prevziaลฅ +bookmark.title=Aktuรกlne zobrazenie (kopรญrovaลฅ alebo otvoriลฅ v novom okne) +bookmark_label=Aktuรกlne zobrazenie + +# Secondary toolbar and context menu +tools.title=Nรกstroje +tools_label=Nรกstroje +first_page.title=Prejsลฅ na prvรบ stranu +first_page.label=Prejsลฅ na prvรบ stranu +first_page_label=Prejsลฅ na prvรบ stranu +last_page.title=Prejsลฅ na poslednรบ stranu +last_page.label=Prejsลฅ na poslednรบ stranu +last_page_label=Prejsลฅ na poslednรบ stranu +page_rotate_cw.title=Otoฤiลฅ v smere hodinovรฝch ruฤiฤiek +page_rotate_cw.label=Otoฤiลฅ v smere hodinovรฝch ruฤiฤiek +page_rotate_cw_label=Otoฤiลฅ v smere hodinovรฝch ruฤiฤiek +page_rotate_ccw.title=Otoฤiลฅ proti smeru hodinovรฝch ruฤiฤiek +page_rotate_ccw.label=Otoฤiลฅ proti smeru hodinovรฝch ruฤiฤiek +page_rotate_ccw_label=Otoฤiลฅ proti smeru hodinovรฝch ruฤiฤiek + +cursor_text_select_tool.title=Povoliลฅ vรฝber textu +cursor_text_select_tool_label=Vรฝber textu +cursor_hand_tool.title=Povoliลฅ nรกstroj ruka +cursor_hand_tool_label=Nรกstroj ruka + +# Document properties dialog box +document_properties.title=Vlastnosti dokumentuโ€ฆ +document_properties_label=Vlastnosti dokumentuโ€ฆ +document_properties_file_name=Nรกzov sรบboru: +document_properties_file_size=Veฤพkosลฅ sรบboru: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} kB ({{size_b}} bajtov) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bajtov) +document_properties_title=Nรกzov: +document_properties_author=Autor: +document_properties_subject=Predmet: +document_properties_keywords=Kฤพรบฤovรฉ slovรก: +document_properties_creation_date=Dรกtum vytvorenia: +document_properties_modification_date=Dรกtum รบpravy: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Vytvoril: +document_properties_producer=Tvorca PDF: +document_properties_version=Verzia PDF: +document_properties_page_count=Poฤet strรกn: +document_properties_close=Zavrieลฅ + +print_progress_message=Prรญprava dokumentu na tlaฤโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Zruลกiลฅ + +# 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=Prepnรบลฅ boฤnรฝ panel +toggle_sidebar_notification.title=Prepnรบลฅ boฤnรฝ panel (dokument obsahuje osnovu/prรญlohy) +toggle_sidebar_label=Prepnรบลฅ boฤnรฝ panel +document_outline.title=Zobraziลฅ prehฤพad dokumentu (dvojitรฝm kliknutรญm rozbalรญte/zbalรญte vลกetky poloลพky) +document_outline_label=Prehฤพad dokumentu +attachments.title=Zobraziลฅ prรญlohy +attachments_label=Prรญlohy +thumbs.title=Zobraziลฅ miniatรบry +thumbs_label=Miniatรบry +findbar.title=Hฤพadaลฅ v dokumente +findbar_label=Hฤพadaลฅ + +# 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=Miniatรบra strany {{page}} + +# Find panel button title and messages +find_input.title=Hฤพadaลฅ +find_input.placeholder=Hฤพadaลฅ v dokumenteโ€ฆ +find_previous.title=Vyhฤพadaลฅ predchรกdzajรบci vรฝskyt reลฅazca +find_previous_label=Predchรกdzajรบce +find_next.title=Vyhฤพadaลฅ ฤalลกรญ vรฝskyt reลฅazca +find_next_label=ฤŽalลกie +find_highlight=Zvรฝrazniลฅ vลกetky +find_match_case_label=Rozliลกovaลฅ malรฉ/veฤพkรฉ pรญsmenรก +find_reached_top=Bol dosiahnutรฝ zaฤiatok strรกnky, pokraฤuje sa od konca +find_reached_bottom=Bol dosiahnutรฝ koniec strรกnky, pokraฤuje sa od zaฤiatku +find_not_found=Vรฝraz nebol nรกjdenรฝ + +# Error panel labels +error_more_info=Viac informรกciรญ +error_less_info=Menej informรกciรญ +error_close=Zavrieลฅ +# 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}} (zostavenie: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Sprรก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=Sรบbor: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Riadok: {{line}} +rendering_error=Pri vykresฤพovanรญ strรกnky sa vyskytla chyba. + +# Predefined zoom values +page_scale_width=Na ลกรญrku strany +page_scale_fit=Na veฤพkosลฅ strany +page_scale_auto=Automatickรก veฤพkosลฅ +page_scale_actual=Skutoฤnรก veฤพkosลฅ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=Chyba +loading_error=Poฤas naฤรญtavania dokumentu PDF sa vyskytla chyba. +invalid_file_error=Neplatnรฝ alebo poลกkodenรฝ sรบbor PDF. +missing_file_error=Chรฝbajรบci sรบbor PDF. +unexpected_response_error=Neoฤakรกvanรก odpoveฤ zo servera. + +# 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=[Anotรกcia typu {{type}}] +password_label=Ak chcete otvoriลฅ tento sรบbor PDF, zadajte jeho heslo. +password_invalid=Heslo nie je platnรฉ. Skรบste to znova. +password_ok=OK +password_cancel=Zruลกiลฅ + +printing_not_supported=Upozornenie: tlaฤ nie je v tomto prehliadaฤi plne podporovanรก. +printing_not_ready=Upozornenie: sรบbor PDF nie je plne naฤรญtanรฝ pre tlaฤ. +web_fonts_disabled=Webovรฉ pรญsma sรบ vypnutรฉ: nie je moลพnรฉ pouลพiลฅ pรญsma vloลพenรฉ do sรบboru PDF. +document_colors_not_allowed=Dokumenty PDF nemajรบ povolenรฉ pouลพรญvaลฅ vlastnรฉ farby, pretoลพe voฤพba "Povoliลฅ strรกnkam pouลพรญvaลฅ vlastnรฉ farby" je v nastaveniach prehliadaฤa vypnutรก. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/sl/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/sl/viewer.properties new file mode 100644 index 0000000..0000a9b --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/sl/viewer.properties @@ -0,0 +1,184 @@ +# 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=Prejลกnja stran +previous_label=Nazaj +next.title=Naslednja stran +next_label=Naprej + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Stran +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=od {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} od {{pagesCount}}) + +zoom_out.title=Pomanjลกaj +zoom_out_label=Pomanjลกaj +zoom_in.title=Poveฤaj +zoom_in_label=Poveฤaj +zoom.title=Poveฤava +presentation_mode.title=Preklopi v naฤin predstavitve +presentation_mode_label=Naฤin predstavitve +open_file.title=Odpri datoteko +open_file_label=Odpri +print.title=Natisni +print_label=Natisni +download.title=Prenesi +download_label=Prenesi +bookmark.title=Trenutni pogled (kopiraj ali odpri v novem oknu) +bookmark_label=Trenutni pogled + +# Secondary toolbar and context menu +tools.title=Orodja +tools_label=Orodja +first_page.title=Pojdi na prvo stran +first_page.label=Pojdi na prvo stran +first_page_label=Pojdi na prvo stran +last_page.title=Pojdi na zadnjo stran +last_page.label=Pojdi na zadnjo stran +last_page_label=Pojdi na zadnjo stran +page_rotate_cw.title=Zavrti v smeri urninega kazalca +page_rotate_cw.label=Zavrti v smeri urninega kazalca +page_rotate_cw_label=Zavrti v smeri urninega kazalca +page_rotate_ccw.title=Zavrti v nasprotni smeri urninega kazalca +page_rotate_ccw.label=Zavrti v nasprotni smeri urninega kazalca +page_rotate_ccw_label=Zavrti v nasprotni smeri urninega kazalca + +cursor_text_select_tool.title=Omogoฤi orodje za izbor besedila +cursor_text_select_tool_label=Orodje za izbor besedila +cursor_hand_tool.title=Omogoฤi roko +cursor_hand_tool_label=Roka + +# Document properties dialog box +document_properties.title=Lastnosti dokumenta โ€ฆ +document_properties_label=Lastnosti dokumenta โ€ฆ +document_properties_file_name=Ime datoteke: +document_properties_file_size=Velikost datoteke: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bajtov) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bajtov) +document_properties_title=Ime: +document_properties_author=Avtor: +document_properties_subject=Tema: +document_properties_keywords=Kljuฤne besede: +document_properties_creation_date=Datum nastanka: +document_properties_modification_date=Datum spremembe: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Ustvaril: +document_properties_producer=Izdelovalec PDF: +document_properties_version=Razliฤica PDF: +document_properties_page_count=ล tevilo strani: +document_properties_close=Zapri + +print_progress_message=Priprava dokumenta na tiskanje โ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}} % +print_progress_close=Prekliฤi + +# 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=Preklopi stransko vrstico +toggle_sidebar_notification.title=Preklopi stransko vrstico (dokument vsebuje oris/priponke) +toggle_sidebar_label=Preklopi stransko vrstico +document_outline.title=Prikaลพi oris dokumenta (dvokliknite za razลกiritev/strnitev vseh predmetov) +document_outline_label=Oris dokumenta +attachments.title=Prikaลพi priponke +attachments_label=Priponke +thumbs.title=Prikaลพi sliฤice +thumbs_label=Sliฤice +findbar.title=Iskanje po dokumentu +findbar_label=Najdi + +# 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=Stran {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Sliฤica strani {{page}} + +# Find panel button title and messages +find_input.title=Najdi +find_input.placeholder=Najdi v dokumentu โ€ฆ +find_previous.title=Najdi prejลกnjo ponovitev iskanega +find_previous_label=Najdi nazaj +find_next.title=Najdi naslednjo ponovitev iskanega +find_next_label=Najdi naprej +find_highlight=Oznaฤi vse +find_match_case_label=Razlikuj velike/male ฤrke +find_reached_top=Doseลพen zaฤetek dokumenta iz smeri konca +find_reached_bottom=Doseลพeno konec dokumenta iz smeri zaฤetka +find_not_found=Iskanega ni mogoฤe najti + +# Error panel labels +error_more_info=Veฤ informacij +error_less_info=Manj informacij +error_close=Zapri +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js r{{version}} (graditev: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Sporoฤilo: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Sklad: {{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=Vrstica: {{line}} +rendering_error=Med pripravljanjem strani je priลกlo do napake! + +# Predefined zoom values +page_scale_width=ล irina strani +page_scale_fit=Prilagodi stran +page_scale_auto=Samodejno +page_scale_actual=Dejanska velikost +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}} % + +# Loading indicator messages +loading_error_indicator=Napaka +loading_error=Med nalaganjem datoteke PDF je priลกlo do napake. +invalid_file_error=Neveljavna ali pokvarjena datoteka PDF. +missing_file_error=Ni datoteke PDF. +unexpected_response_error=Nepriฤakovan odgovor streลพnika. + +# 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=[Opomba vrste {{type}}] +password_label=Vnesite geslo za odpiranje te datoteke PDF. +password_invalid=Neveljavno geslo. Poskusite znova. +password_ok=V redu +password_cancel=Prekliฤi + +printing_not_supported=Opozorilo: ta brskalnik ne podpira vseh moลพnosti tiskanja. +printing_not_ready=Opozorilo: PDF ni v celoti naloลพen za tiskanje. +web_fonts_disabled=Spletne pisave so onemogoฤene: vgradnih pisav za PDF ni mogoฤe uporabiti. +document_colors_not_allowed=Dokumenti PDF ne smejo uporabljati svojih lastnih barv: moลพnost 'Dovoli stranem uporabo lastnih barv' je v brskalniku onemogoฤena. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/son/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/son/viewer.properties new file mode 100644 index 0000000..f5c1b46 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/son/viewer.properties @@ -0,0 +1,180 @@ +# 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=Moo bisante +previous_label=Bisante +next.title=Jinehere moo +next_label=Jine + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Moo +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}} ra +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} ka hun {{pagesCount}}) ra + +zoom_out.title=Nakasandi +zoom_out_label=Nakasandi +zoom_in.title=Bebbeerandi +zoom_in_label=Bebbeerandi +zoom.title=Bebbeerandi +presentation_mode.title=Bere cebeyan alhaali +presentation_mode_label=Cebeyan alhaali +open_file.title=Tuku feeri +open_file_label=Feeri +print.title=Kar +print_label=Kar +download.title=Zumandi +download_label=Zumandi +bookmark.title=Sohรต gunarro (bere wala feeri zanfun taaga ra) +bookmark_label=Sohรต gunaroo + +# Secondary toolbar and context menu +tools.title=Goyjinawey +tools_label=Goyjinawey +first_page.title=Koy moo jinaa ga +first_page.label=Koy moo jinaa ga +first_page_label=Koy moo jinaa ga +last_page.title=Koy moo koraa ga +last_page.label=Koy moo koraa ga +last_page_label=Koy moo koraa ga +page_rotate_cw.title=Kuubi kanbe guma here +page_rotate_cw.label=Kuubi kanbe guma here +page_rotate_cw_label=Kuubi kanbe guma here +page_rotate_ccw.title=Kuubi kanbe wowa here +page_rotate_ccw.label=Kuubi kanbe wowa here +page_rotate_ccw_label=Kuubi kanbe wowa here + + +# Document properties dialog box +document_properties.title=Takadda mayraweyโ€ฆ +document_properties_label=Takadda mayraweyโ€ฆ +document_properties_file_name=Tuku maa: +document_properties_file_size=Tuku adadu: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb=KB {{size_kb}} (cebsu-ize {{size_b}}) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb=MB {{size_mb}} (cebsu-ize {{size_b}}) +document_properties_title=Tiiramaa: +document_properties_author=Hantumkaw: +document_properties_subject=Dalil: +document_properties_keywords=Kufalkalimawey: +document_properties_creation_date=Teeyan han: +document_properties_modification_date=Barmayan han: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Teekaw: +document_properties_producer=PDF berandikaw: +document_properties_version=PDF dumi: +document_properties_page_count=Moo hinna: +document_properties_close=Daabu + +print_progress_message=Goo ma takaddaa soolu k'a kar seโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Naล‹ + +# 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=Kanjari ceraw zuu +toggle_sidebar_notification.title=Kanjari ceraw-zuu (takaddaa goo nda filla-boล‹/hangandiyaล‹) +toggle_sidebar_label=Kanjari ceraw zuu +document_outline.title=Takaddaa korfur alhaaloo cebe (naagu cee hinka ka haya-izey kul hayandi/kankamandi) +document_outline_label=Takadda filla-boล‹ +attachments.title=Hangarey cebe +attachments_label=Hangarey +thumbs.title=Kabeboy biyey cebe +thumbs_label=Kabeboy biyey +findbar.title=Ceeci takaddaa ra +findbar_label=Ceeci + +# 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}} moo +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Kabeboy bii {{page}} moo ลกe + +# Find panel button title and messages +find_input.title=Ceeci +find_input.placeholder=Ceeci takaddaa raโ€ฆ +find_previous.title=Kalimaษฒaล‹oo bangayri bisantaa ceeci +find_previous_label=Bisante +find_next.title=Kalimaษฒaล‹oo hiino bangayroo ceeci +find_next_label=Jine +find_highlight=Ikul ลกilbay +find_match_case_label=Harfu-beeriyan hawgay +find_reached_top=A too moล‹oo boล‹oo, koy jine ka ลกinitin nda cewoo +find_reached_bottom=A too moษฒoo cewoo, koy jine ลกintioo ga +find_not_found=Kalimaษฒaa mana duwandi + +# Error panel labels +error_more_info=Alhabar tontoni +error_less_info=Alhabar tontoni +error_close=Daabu +# 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=Alhabar: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Dekeri: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Tuku: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=ลฝeeri: {{line}} +rendering_error=Firka bangay kaล‹ moษฒoo goo ma willandi. + +# Predefined zoom values +page_scale_width=Mooo hayyan +page_scale_fit=Moo sawayan +page_scale_auto=Boล‹ลกe azzaati barmayyan +page_scale_actual=Adadu cimi +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=Firka +loading_error=Firka bangay kaล‹ PDF goo ma zumandi. +invalid_file_error=PDF tuku laala wala laybante. +missing_file_error=PDF tuku kumante. +unexpected_response_error=Manti ferลกikaw tuuruyan maatante. + +# 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}} maasa-caw] +password_label=ล ennikufal dam ka PDF tukoo woo feeri. +password_invalid=ล ennikufal laalo. Ceeci koyne taare. +password_ok=Ayyo +password_cancel=Naล‹ + +printing_not_supported=Yaamar: Karyan ลกi tee ka timme nda ceecikaa woo. +printing_not_ready=Yaamar: PDF ลกi zunbu ka timme karyan ลกe. +web_fonts_disabled=Interneti ลกigirawey kay: ลกi hin ka goy nda PDF ลกigira hurantey. +document_colors_not_allowed=PDF takaddawey ลกi duu fondo ka ngey boล‹ noonawey zaa: โ€œNaล‹ moษฒey ma ngey boล‹ noonawey suubaโ€ ลกi dira ceecikaa ga. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/sq/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/sq/viewer.properties new file mode 100644 index 0000000..2f6561d --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/sq/viewer.properties @@ -0,0 +1,184 @@ +# 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=Faqja e Mรซparshme +previous_label=E mรซparshmja +next.title=Faqja Pasuese +next_label=Pasuesja + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Faqe +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=nga {{pagesCount}} gjithsej +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} nga {{pagesCount}}) + +zoom_out.title=Zmadhim +zoom_out_label=Zmadhoji +zoom_in.title=Zvogรซlim +zoom_in_label=Zvogรซloji +zoom.title=Zoom +presentation_mode.title=Kalo te Mรซnyra Paraqitje +presentation_mode_label=Mรซnyra Paraqitje +open_file.title=Hapni Kartelรซ +open_file_label=Hape +print.title=Shtypje +print_label=Shtype +download.title=Shkarkim +download_label=Shkarkoje +bookmark.title=Pamja e tanishme (kopjojeni ose hapeni nรซ dritare tรซ re) +bookmark_label=Pamja e Tanishme + +# Secondary toolbar and context menu +tools.title=Mjete +tools_label=Mjete +first_page.title=Kaloni te Faqja e Parรซ +first_page.label=Kalo te Faqja e Parรซ +first_page_label=Kalo te Faqja e Parรซ +last_page.title=Kaloni te Faqja e Fundit +last_page.label=Kalo te Faqja e Fundit +last_page_label=Kalo te Faqja e Fundit +page_rotate_cw.title=Rrotullojeni Nรซ Kahun Orar +page_rotate_cw.label=Rrotulloje Nรซ Kahun Orar +page_rotate_cw_label=Rrotulloje Nรซ Kahun Orar +page_rotate_ccw.title=Rrotullojeni Nรซ Kahun Kundรซrorar +page_rotate_ccw.label=Rrotulloje Nรซ Kahun Kundรซrorar +page_rotate_ccw_label=Rrotulloje Nรซ Kahun Kundรซrorar + +cursor_text_select_tool.title=Aktivizo Mjet Pรซrzgjedhjeje Teksti +cursor_text_select_tool_label=Mjet Pรซrzgjedhjeje Teksti +cursor_hand_tool.title=Aktivizo Mjetin Dorรซ +cursor_hand_tool_label=Mjeti Dorรซ + +# Document properties dialog box +document_properties.title=Veti Dokumentiโ€ฆ +document_properties_label=Veti Dokumentiโ€ฆ +document_properties_file_name=Emรซr kartele: +document_properties_file_size=Madhรซsi kartele: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bajte) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bajte) +document_properties_title=Titull: +document_properties_author=Autor: +document_properties_subject=Subjekt: +document_properties_keywords=Fjalรซkyรงe: +document_properties_creation_date=Datรซ Krijimi: +document_properties_modification_date=Datรซ Ndryshimi: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Krijues: +document_properties_producer=Prodhues PDF-je: +document_properties_version=Version PDF-je: +document_properties_page_count=Numรซr Faqesh: +document_properties_close=Mbylle + +print_progress_message=Po pรซrgatitet dokumenti pรซr shtypjeโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Anuloje + +# 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=Shfaqni/Fshihni Anรซshtyllรซn +toggle_sidebar_notification.title=Shfaqni Anรซshtyllรซn (dokumenti pรซrmban pรซrvijim/bashkรซngjitje) +toggle_sidebar_label=Shfaq/Fshih Anรซshtyllรซn +document_outline.title=Shfaqni Pรซrvijim Dokumenti (dyklikoni qรซ tรซ shfaqen/fshihen krejt elementรซt) +document_outline_label=Pรซrvijim Dokumenti +attachments.title=Shfaqni Bashkรซngjitje +attachments_label=Bashkรซngjitje +thumbs.title=Shfaqni Miniatura +thumbs_label=Miniatura +findbar.title=Gjeni nรซ Dokument +findbar_label=Gjej + +# 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=Faqja {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniaturรซ e Faqes {{page}} + +# Find panel button title and messages +find_input.title=Gjeje +find_input.placeholder=Gjeni nรซ dokumentโ€ฆ +find_previous.title=Gjeni hasjen e mรซparshme tรซ togfjalรซshit +find_previous_label=E mรซparshmja +find_next.title=Gjeni hasjen pasuese tรซ togfjalรซshit +find_next_label=Pasuesja +find_highlight=Theksoji tรซ tรซra +find_match_case_label=Siรง รซshtรซ shkruar +find_reached_top=U mbรซrrit nรซ krye tรซ dokumentit, vazhduar prej fundit +find_reached_bottom=U mbรซrrit nรซ fund tรซ dokumentit, vazhduar prej kreut +find_not_found=Togfjalรซsh qรซ sโ€™gjendet + +# Error panel labels +error_more_info=Mรซ Tepรซr tรซ Dhรซna +error_less_info=Mรซ Pak tรซ Dhรซna +error_close=Mbylle +# 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=Mesazh: {{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=Kartelรซ: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Rresht: {{line}} +rendering_error=Ndodhi njรซ gabim gjatรซ riprodhimit tรซ faqes. + +# Predefined zoom values +page_scale_width=Gjerรซsi Faqeje +page_scale_fit=Sa Nxรซ Faqja +page_scale_auto=Zoom i Vetvetishรซm +page_scale_actual=Madhรซsia Faktike +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=Gabim +loading_error=Ndodhi njรซ gabim gjatรซ ngarkimit tรซ PDF-sรซ. +invalid_file_error=Kartelรซ PDF e pavlefshme ose e dรซmtuar. +missing_file_error=Kartelรซ PDF qรซ mungon. +unexpected_response_error=Pรซrgjigje shรซrbyesi e papritur. + +# 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รซnvizim {{type}}] +password_label=Jepni fjalรซkalimin qรซ tรซ hapet kjo kartelรซ PDF. +password_invalid=Fjalรซkalim i pavlefshรซm. Ju lutemi, riprovoni. +password_ok=OK +password_cancel=Anuloje + +printing_not_supported=Kujdes: Shtypja sโ€™mbulohet plotรซsisht nga ky shfletues. +printing_not_ready=Kujdes: PDF-ja sโ€™รซshtรซ ngarkuar plotรซsisht qรซ ta shtypni. +web_fonts_disabled=Shkronjat Web janรซ tรซ รงaktivizuara: sโ€™arrihet tรซ pรซrdoren shkronja tรซ trupรซzuara nรซ PDF. +document_colors_not_allowed=Dokumenteve PDF sโ€™u lejohet tรซ pรซrdorin ngjyrat e tyre: 'Lejoji faqet tโ€™i zgjedhin vetรซ ngjyrat' รซshtรซ e รงaktivizuar te shfletuesi. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/sr/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/sr/viewer.properties new file mode 100644 index 0000000..754d9c4 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/sr/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=ะกั‚ั€ะฐะฝะธั†ะฐ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=ะพะด {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} ะพะด {{pagesCount}}) + +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=ะ ะพั‚ะธั€ะฐั˜ ัƒ ัะผะตั€ัƒ ััƒะฟั€ะพั‚ะฝะพะผ ะพะด ะบะฐะทะฐั™ะบะต ะฝะฐ ัะฐั‚ัƒ + +cursor_text_select_tool.title=ะžะผะพะณัƒั›ะธ ะฐะปะฐั‚ ะทะฐ ัะตะปะตะบั‚ะพะฒะฐัšะต ั‚ะตะบัั‚ะฐ +cursor_text_select_tool_label=ะะปะฐั‚ ะทะฐ ัะตะปะตะบั‚ะพะฒะฐัšะต ั‚ะตะบัั‚ะฐ +cursor_hand_tool.title=ะžะผะพะณัƒั›ะธ ะฐะปะฐั‚ ะทะฐ ะฟะพะผะตั€ะฐัšะต +cursor_hand_tool_label=ะะปะฐั‚ ะทะฐ ะฟะพะผะตั€ะฐัšะต + +# Document properties dialog box +document_properties.title=ะŸะฐั€ะฐะผะตั‚ั€ะธ ะดะพะบัƒะผะตะฝั‚ะฐโ€ฆ +document_properties_label=ะŸะฐั€ะฐะผะตั‚ั€ะธ ะดะพะบัƒะผะตะฝั‚ะฐโ€ฆ +document_properties_file_name=ะ˜ะผะต ะดะฐั‚ะพั‚ะตะบะต: +document_properties_file_size=ะ’ะตะปะธั‡ะธะฝะฐ ะดะฐั‚ะพั‚ะตะบะต: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} B) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} B) +document_properties_title=ะะฐัะปะพะฒ: +document_properties_author=ะัƒั‚ะพั€: +document_properties_subject=ะขะตะผะฐ: +document_properties_keywords=ะšั™ัƒั‡ะฝะต ั€ะตั‡ะธ: +document_properties_creation_date=ะ”ะฐั‚ัƒะผ ะบั€ะตะธั€ะฐัšะฐ: +document_properties_modification_date=ะ”ะฐั‚ัƒะผ ะผะพะดะธั„ะธะบะฐั†ะธั˜ะต: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=ะกั‚ะฒะฐั€ะฐะปะฐั†: +document_properties_producer=PDF ะฟั€ะพะธะทะฒะพั’ะฐั‡: +document_properties_version=PDF ะฒะตั€ะทะธั˜ะฐ: +document_properties_page_count=ะ‘ั€ะพั˜ ัั‚ั€ะฐะฝะธั†ะฐ: +document_properties_close=ะ—ะฐั‚ะฒะพั€ะธ + +print_progress_message=ะŸั€ะธะฟั€ะตะผะฐะผ ะดะพะบัƒะผะตะฝั‚ ะทะฐ ัˆั‚ะฐะผะฟะฐัšะตโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_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_notification.title=ะŸั€ะธะบะฐะถะธ ะดะพะดะฐั‚ะฝัƒ ั‚ั€ะฐะบัƒ (ะดะพะบัƒะผะตะฝะฐั‚ ัะฐะดั€ะถะธ ะพะบะฒะธั€ะต/ะฟั€ะธะปะพะณะต) +toggle_sidebar_label=ะŸั€ะธะบะฐะถะธ ะดะพะดะฐั‚ะฝัƒ ะฟะฐะปะตั‚ัƒ +document_outline.title=ะŸั€ะธะบะฐะถะธ ะบะพะฝั‚ัƒั€ัƒ ะดะพะบัƒะผะตะฝั‚ะฐ (ะดัƒะฟะปะธ ะบะปะธะบ ะทะฐ ะฟั€ะพัˆะธั€ะตัšะต/ัะบัƒะฟั™ะฐัšะต ะตะปะตะผะตะฝะฐั‚ะฐ) +document_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_input.title=ะŸั€ะพะฝะฐั’ะธ +find_input.placeholder=ะŸั€ะพะฝะฐั’ะธ ัƒ ะดะพะบัƒะผะตะฝั‚ัƒโ€ฆ +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=ะกั‚ะฒะฐั€ะฝะฐ ะฒะตะปะธั‡ะธะฝะฐ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=ะ“ั€ะตัˆะบะฐ +loading_error=ะ”ะพัˆะปะพ ั˜ะต ะดะพ ะณั€ะตัˆะบะต ะฟั€ะธะปะธะบะพะผ ัƒั‡ะธั‚ะฐะฒะฐัšะฐ PDF-ะฐ. +invalid_file_error=PDF ะดะฐั‚ะพั‚ะตะบะฐ ั˜ะต ะพัˆั‚ะตั›ะตะฝะฐ ะธะปะธ ั˜ะต ะฝะตะธัะฟั€ะฐะฒะฝะฐ. +missing_file_error=PDF ะดะฐั‚ะพั‚ะตะบะฐ ะฝะธั˜ะต ะฟั€ะพะฝะฐั’ะตะฝะฐ. +unexpected_response_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=ะฃะฝะตัะธั‚ะต ะปะพะทะธะฝะบัƒ ะดะฐ ะฑะธัั‚ะต ะพั‚ะฒะพั€ะธะปะธ ะพะฒะฐั˜ PDF ะดะพะบัƒะผะตะฝะฐั‚. +password_invalid=ะะตะธัะฟั€ะฐะฒะฝะฐ ะปะพะทะธะฝะบะฐ. ะŸะพะบัƒัˆะฐั˜ั‚ะต ะฟะพะฝะพะฒะพ. +password_ok=ะฃ ั€ะตะดัƒ +password_cancel=ะžั‚ะบะฐะถะธ + +printing_not_supported=ะฃะฟะพะทะพั€ะตัšะต: ะจั‚ะฐะผะฟะฐัšะต ะฝะธั˜ะต ัƒ ะฟะพั‚ะฟัƒะฝะพัั‚ะธ ะฟะพะดั€ะถะฐะฝะพ ัƒ ะพะฒะพะผ ะฟั€ะตะณะปะตะดะฐั‡ัƒ. +printing_not_ready=ะฃะฟะพะทะพั€ะตัšะต: PDF ะฝะธั˜ะต ัƒ ะฟะพั‚ะฟัƒะฝะพัั‚ะธ ัƒั‡ะธั‚ะฐะฝ ะทะฐ ัˆั‚ะฐะผะฟัƒ. +web_fonts_disabled=ะ’ะตะฑ ั„ะพะฝั‚ะพะฒะธ ััƒ ะพะฝะตะผะพะณัƒั›ะตะฝะธ: ะฝะต ะผะพะณัƒ ะบะพั€ะธัั‚ะธั‚ะธ ัƒะณั€ะฐั’ะตะฝะต PDF ั„ะพะฝั‚ะพะฒะต. +document_colors_not_allowed=PDF ะดะพะบัƒะผะตะฝั‚ะธ ะฝะต ะผะพะณัƒ ะดะฐ ะบะพั€ะธัั‚ะต ัะพะฟัั‚ะฒะตะฝะต ะฑะพั˜ะต: โ€œะ”ะพะทะฒะพะปะธ ัั‚ั€ะฐะฝะธั†ะฐะผะฐ ะดะฐ ะธะทะฐะฑะตั€ัƒ ัะฒะพั˜ะต ะฑะพั˜ะตโ€ ั˜ะต ะดะตะฐะบั‚ะธะฒะธั€ะฐะฝะพ ัƒ ะฟั€ะตะณะปะตะดะฐั‡ัƒ. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/sv-SE/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/sv-SE/viewer.properties new file mode 100644 index 0000000..412b765 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/sv-SE/viewer.properties @@ -0,0 +1,184 @@ +# 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=Fรถregรฅende sida +previous_label=Fรถregรฅende +next.title=Nรคsta sida +next_label=Nรคsta + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Sida +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=av {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} av {{pagesCount}}) + +zoom_out.title=Zooma ut +zoom_out_label=Zooma ut +zoom_in.title=Zooma in +zoom_in_label=Zooma in +zoom.title=Zoom +presentation_mode.title=Byt till presentationslรคge +presentation_mode_label=Presentationslรคge +open_file.title=ร–ppna fil +open_file_label=ร–ppna +print.title=Skriv ut +print_label=Skriv ut +download.title=Hรคmta +download_label=Hรคmta +bookmark.title=Aktuell vy (kopiera eller รถppna i nytt fรถnster) +bookmark_label=Aktuell vy + +# Secondary toolbar and context menu +tools.title=Verktyg +tools_label=Verktyg +first_page.title=Gรฅ till fรถrsta sidan +first_page.label=Gรฅ till fรถrsta sidan +first_page_label=Gรฅ till fรถrsta sidan +last_page.title=Gรฅ till sista sidan +last_page.label=Gรฅ till sista sidan +last_page_label=Gรฅ till sista sidan +page_rotate_cw.title=Rotera medurs +page_rotate_cw.label=Rotera medurs +page_rotate_cw_label=Rotera medurs +page_rotate_ccw.title=Rotera moturs +page_rotate_ccw.label=Rotera moturs +page_rotate_ccw_label=Rotera moturs + +cursor_text_select_tool.title=Aktivera textmarkeringsverktyg +cursor_text_select_tool_label=Textmarkeringsverktyg +cursor_hand_tool.title=Aktivera handverktyg +cursor_hand_tool_label=Handverktyg + +# Document properties dialog box +document_properties.title=Dokumentegenskaperโ€ฆ +document_properties_label=Dokumentegenskaperโ€ฆ +document_properties_file_name=Filnamn: +document_properties_file_size=Filstorlek: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} kB ({{size_b}} byte) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} byte) +document_properties_title=Titel: +document_properties_author=Fรถrfattare: +document_properties_subject=ร„mne: +document_properties_keywords=Nyckelord: +document_properties_creation_date=Skapades: +document_properties_modification_date=ร„ndrades: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Skapare: +document_properties_producer=PDF-producent: +document_properties_version=PDF-version: +document_properties_page_count=Sidantal: +document_properties_close=Stรคng + +print_progress_message=Fรถrbereder sidor fรถr utskriftโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Avbryt + +# 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=Visa/dรถlj sidofรคlt +toggle_sidebar_notification.title=Visa/dรถlj sidofรคlt (dokument innehรฅller รถversikt/bilagor) +toggle_sidebar_label=Visa/dรถlj sidofรคlt +document_outline.title=Visa dokumentdisposition (dubbelklicka fรถr att expandera/komprimera alla objekt) +document_outline_label=Dokumentรถversikt +attachments.title=Visa Bilagor +attachments_label=Bilagor +thumbs.title=Visa miniatyrer +thumbs_label=Miniatyrer +findbar.title=Sรถk i dokument +findbar_label=Sรถk + +# 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=Sida {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatyr av sida {{page}} + +# Find panel button title and messages +find_input.title=Sรถk +find_input.placeholder=Sรถk i dokumentโ€ฆ +find_previous.title=Hitta fรถregรฅende fรถrekomst av frasen +find_previous_label=Fรถregรฅende +find_next.title=Hitta nรคsta fรถrekomst av frasen +find_next_label=Nรคsta +find_highlight=Markera alla +find_match_case_label=Matcha versal/gemen +find_reached_top=Nรฅdde bรถrjan av dokumentet, bรถrjade frรฅn slutet +find_reached_bottom=Nรฅdde slutet pรฅ dokumentet, bรถrjade frรฅn bรถrjan +find_not_found=Frasen hittades inte + +# Error panel labels +error_more_info=Mer information +error_less_info=Mindre information +error_close=Stรคng +# 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=Meddelande: {{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}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Rad: {{line}} +rendering_error=Ett fel uppstod vid visning av sidan. + +# Predefined zoom values +page_scale_width=Sidbredd +page_scale_fit=Anpassa sida +page_scale_auto=Automatisk zoom +page_scale_actual=Verklig storlek +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=Fel +loading_error=Ett fel uppstod vid laddning av PDF-filen. +invalid_file_error=Ogiltig eller korrupt PDF-fil. +missing_file_error=Saknad PDF-fil. +unexpected_response_error=Ovรคntat svar frรฅn servern. + +# 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}}-annotering] +password_label=Skriv in lรถsenordet fรถr att รถppna PDF-filen. +password_invalid=Ogiltigt lรถsenord. Fรถrsรถk igen. +password_ok=OK +password_cancel=Avbryt + +printing_not_supported=Varning: Utskrifter stรถds inte helt av den hรคr webblรคsaren. +printing_not_ready=Varning: PDF:en รคr inte klar fรถr utskrift. +web_fonts_disabled=Webbtypsnitt รคr inaktiverade: kan inte anvรคnda inbรคddade PDF-typsnitt. +document_colors_not_allowed=PDF-dokument tillรฅts inte anvรคnda egna fรคrger: โ€œLรฅt sidor anvรคnda egna fรคrgerโ€ รคr inaktiverat i webblรคsaren. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/sw/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/sw/viewer.properties new file mode 100644 index 0000000..9ec4e21 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/sw/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. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Ukurasa Uliotangulia +previous_label=Iliyotangulia +next.title=Ukurasa Ufuatao +next_label=Ifuatayo + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. + +zoom_out.title=Kuza Nje +zoom_out_label=Kuza Nje +zoom_in.title=Kuza Ndani +zoom_in_label=Kuza Ndani +zoom.title=Kuza +presentation_mode.title=Badili kwa Hali ya Uwasilishaji +presentation_mode_label=Hali ya Uwasilishaji +open_file.title=Fungua Faili +open_file_label=Fungua +print.title=Chapisha +print_label=Chapisha +download.title=Pakua +download_label=Pakua +bookmark.title=Mwonekano wa sasa (nakili au ufungue katika dirisha mpya) +bookmark_label=Mwonekano wa Sasa + +# Secondary toolbar and context menu + + +# Document properties dialog box +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_title=Kichwa: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. + +# 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=Kibiano cha Upau wa Kando +toggle_sidebar_label=Kibiano cha Upau wa Kando +document_outline_label=Ufupisho wa Waraka +thumbs.title=Onyesha Kijipicha +thumbs_label=Vijipicha +findbar.title=Pata katika Waraka + +# 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=Ukurasa {{ukurasa}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Kijipicha cha ukurasa {{ukurasa}} + +# Find panel button title and messages +find_previous.title=Tafuta tukio kabla ya msemo huu +find_previous_label=Iliyotangulia +find_next.title=Tafuta tukio linalofuata la msemo +find_next_label=Ifuatayo +find_highlight=Angazia yote +find_match_case_label=Linganisha herufi +find_reached_top=Imefika juu ya waraka, imeendelea kutoka chini +find_reached_bottom=Imefika mwisho wa waraka, imeendelea kutoka juu +find_not_found=Msemo hukupatikana + +# Error panel labels +error_more_info=Maelezo Zaidi +error_less_info=Maelezo Kidogo +# 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}} (jenga: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Ujumbe: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Panganya: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Faili: {{faili}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Laini: {{laini}} +rendering_error=Hitilafu lilitokea wajati wa kutoa ukurasa + +# Predefined zoom values +page_scale_width=Upana wa Ukurasa +page_scale_fit=Usawa wa Ukurasa +page_scale_auto=Ukuzaji wa Kiotomatiki +page_scale_actual=Ukubwa Halisi +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. + +# Loading indicator messages +loading_error_indicator=Hitilafu +loading_error=Hitilafu lilitokea wakati wa kupakia PDF. +invalid_file_error=Faili ya PDF isiyohalali au potofu. +missing_file_error=Faili ya PDF isiyopo. + +# 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}} Ufafanuzi] +password_ok=SAWA + +printing_not_supported=Onyo: Uchapishaji hauauniwi kabisa kwa kivinjari hiki. +web_fonts_disabled=Fonti za tovuti zimelemazwa: haziwezi kutumia fonti za PDF zilizopachikwa. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/ta-LK/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/ta-LK/viewer.properties new file mode 100644 index 0000000..f0b1f43 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/ta-LK/viewer.properties @@ -0,0 +1,77 @@ +# 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.title): The tooltip for the pageNumber input. +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. + +zoom.title=เฎ…เฎณเฎตเฏ +open_file.title=เฎ•เฏ‹เฎชเฏเฎชเฎฟเฎฉเฏˆเฎคเฏ เฎคเฎฟเฎฑเฎ•เฏเฎ• +open_file_label=เฎคเฎฟเฎฑเฎ•เฏเฎ• + +# Secondary toolbar and context menu + + +# Document properties dialog box +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) + +# 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=เฎ‡เฎจเฏเฎค เฎšเฏŠเฎฑเฏเฎฑเฏŠเฎŸเฎฐเฎฟเฎฉเฏ เฎ…เฎŸเฏเฎคเฏเฎค เฎจเฎฟเฎ•เฎดเฏเฎตเฏˆเฎคเฏ เฎคเฏ‡เฎŸเฏ + +# Error panel labels +# 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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. + +# Loading indicator messages + +# 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" +password_ok=เฎ†เฎฎเฏ + diff --git a/NKC_WF/Scripts/pdf.js/web/locale/ta/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/ta/viewer.properties new file mode 100644 index 0000000..2e216ea --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/ta/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=เฎชเฎ•เฏเฎ•เฎฎเฏ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}} เฎ‡เฎฒเฏ +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages={{pagesCount}}) เฎ‡เฎฒเฏ ({{pageNumber}} + +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=เฎ‡เฎŸเฎžเฏเฎšเฏเฎดเฎฟเฎฏเฎพเฎ• เฎšเฏเฎดเฎฑเฏเฎฑเฏ + +cursor_text_select_tool.title=เฎ‰เฎฐเฏˆเฎคเฏ เฎคเฏ†เฎฐเฎฟเฎตเฏ เฎ•เฎฐเฏเฎตเฎฟเฎฏเฏˆเฎšเฏ เฎšเฏ†เฎฏเฎฒเฏเฎชเฎŸเฏเฎคเฏเฎคเฏ +cursor_text_select_tool_label=เฎ‰เฎฐเฏˆเฎคเฏ เฎคเฏ†เฎฐเฎฟเฎตเฏ เฎ•เฎฐเฏเฎตเฎฟ +cursor_hand_tool.title=เฎ•เฏˆเฎ•เฏ เฎ•เฎฐเฏเฎตเฎฟเฎ•เฏเฎšเฏ เฎšเฏ†เฎฏเฎฑเฏเฎชเฎŸเฏเฎคเฏเฎคเฏ +cursor_hand_tool_label=เฎ•เฏˆเฎ•เฏเฎ•เฏเฎฐเฏเฎตเฎฟ + +# Document properties dialog box +document_properties.title=เฎ†เฎตเฎฃ เฎชเฎฃเฏเฎชเฏเฎ•เฎณเฏ... +document_properties_label=เฎ†เฎตเฎฃ เฎชเฎฃเฏเฎชเฏเฎ•เฎณเฏ... +document_properties_file_name=เฎ•เฏ‹เฎชเฏเฎชเฏ เฎชเฏ†เฎฏเฎฐเฏ: +document_properties_file_size=เฎ•เฏ‹เฎชเฏเฎชเฎฟเฎฉเฏ เฎ…เฎณเฎตเฏ: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} เฎ•เฎฟเฎชเฏˆ ({{size_b}} เฎชเฏˆเฎŸเฏเฎŸเฏเฎ•เฎณเฏ) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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=เฎคเฎฟเฎฐเฏเฎคเฏเฎคเฎฟเฎฏ เฎคเฏ‡เฎคเฎฟ: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=เฎ‰เฎฐเฏเฎตเฎพเฎ•เฏเฎ•เฏเฎชเฎตเฎฐเฏ: +document_properties_producer=เฎชเฎฟเฎŸเฎฟเฎŽเฎƒเฎชเฏ เฎคเฎฏเฎพเฎฐเฎฟเฎชเฏเฎชเฎพเฎณเฎฐเฏ: +document_properties_version=PDF เฎชเฎคเฎฟเฎชเฏเฎชเฏ: +document_properties_page_count=เฎชเฎ•เฏเฎ• เฎŽเฎฃเฏเฎฃเฎฟเฎ•เฏเฎ•เฏˆ: +document_properties_close=เฎฎเฏ‚เฎŸเฏเฎ• + +print_progress_message=เฎ…เฎšเฏเฎšเฎฟเฎŸเฏเฎตเฎคเฎฑเฏเฎ•เฎพเฎฉ เฎ†เฎตเฎฃเฎฎเฏ เฎคเฎฏเฎพเฎฐเฎพเฎ•เฎฟเฎฑเฎคเฏ... +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_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_notification.title=เฎชเฎ•เฏเฎ•เฎชเฏเฎชเฎŸเฏเฎŸเฏˆเฎฏเฏˆ เฎจเฎฟเฎฒเฏˆเฎฎเฎพเฎฑเฏเฎฑเฏ (เฎตเฏ†เฎณเฎฟเฎ•เฏเฎ•เฏ‹เฎŸเฏ/เฎ‡เฎฃเฏˆเฎชเฏเฎชเฏเฎ•เฎณเฏˆ เฎ†เฎตเฎฃเฎฎเฏ เฎ•เฏŠเฎฃเฏเฎŸเฏเฎณเฏเฎณเฎคเฏ) +toggle_sidebar_label=เฎชเฎ•เฏเฎ•เฎชเฏ เฎชเฎŸเฏเฎŸเฎฟเฎฏเฏˆ เฎจเฎฟเฎฒเฏˆเฎฎเฎพเฎฑเฏเฎฑเฏ +document_outline.title=เฎ†เฎตเฎฃ เฎ…เฎŸเฎ•เฏเฎ•เฎคเฏเฎคเฏˆเฎ•เฏ เฎ•เฎพเฎŸเฏเฎŸเฏ (เฎ‡เฎฐเฏเฎฎเฏเฎฑเฏˆเฎšเฏ เฎšเฏŠเฎŸเฏเฎ•เฏเฎ•เฎฟ เฎ…เฎฉเฏˆเฎคเฏเฎคเฏ เฎ‰เฎฑเฏเฎชเฏเฎชเฎฟเฎŸเฎฟเฎ•เฎณเฏˆเฎฏเฏเฎฎเฏ เฎตเฎฟเฎฐเฎฟ/เฎšเฏ‡เฎฐเฏ) +document_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_input.title=เฎ•เฎฃเฏเฎŸเฏเฎชเฎฟเฎŸเฎฟ +find_input.placeholder=เฎ†เฎตเฎฃเฎคเฏเฎคเฎฟเฎฒเฏ เฎ•เฎฃเฏเฎŸเฎฑเฎฟโ€ฆ +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=เฎ‰เฎฃเฏเฎฎเฏˆเฎฏเฎพเฎฉ เฎ…เฎณเฎตเฏ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=เฎชเฎฟเฎดเฏˆ +loading_error=PDF เฎ เฎเฎฑเฏเฎฑเฏเฎฎเฏ เฎชเฏ‹เฎคเฏ เฎ’เฎฐเฏ เฎชเฎฟเฎดเฏˆ เฎเฎฑเฏเฎชเฎŸเฏเฎŸเฎคเฏ. +invalid_file_error=เฎšเฏ†เฎฒเฏเฎฒเฏเฎชเฎŸเฎฟเฎฏเฎพเฎ•เฎพเฎค เฎ…เฎฒเฏเฎฒเฎคเฏ เฎšเฎฟเฎคเฏˆเฎจเฏเฎค PDF เฎ•เฏ‹เฎชเฏเฎชเฏ. +missing_file_error=PDF เฎ•เฏ‹เฎชเฏเฎชเฏ เฎ•เฎพเฎฃเฎตเฎฟเฎฒเฏเฎฒเฏˆ. +unexpected_response_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=เฎ‡เฎจเฏเฎค PDF เฎ•เฏ‡เฎพเฎชเฏเฎชเฏˆ เฎคเฎฟเฎฑเฎ•เฏเฎ• เฎ•เฎŸเฎตเฏเฎšเฏเฎšเฏ†เฎพเฎฒเฏเฎฒเฏˆ เฎ‰เฎณเฏเฎณเฎฟเฎŸเฎตเฏเฎฎเฏ. +password_invalid=เฎšเฏ†เฎฒเฏเฎฒเฏเฎชเฎŸเฎฟเฎฏเฎพเฎ•เฎพเฎค เฎ•เฎŸเฎตเฏเฎšเฏเฎšเฏŠเฎฒเฏ, เฎคเฎฏเฏˆ เฎšเฏ†เฎฏเฏเฎคเฏ เฎฎเฏ€เฎฃเฏเฎŸเฏเฎฎเฏ เฎฎเฏเฎฏเฎฑเฏเฎšเฎฟ เฎšเฏ†เฎฏเฏเฎ•. +password_ok=เฎšเฎฐเฎฟ +password_cancel=เฎฐเฎคเฏเฎคเฏ + +printing_not_supported=เฎŽเฎšเฏเฎšเฎฐเฎฟเฎ•เฏเฎ•เฏˆ: เฎ‡เฎจเฏเฎค เฎ‰เฎฒเฎพเฎตเฎฟ เฎ…เฎšเฏเฎšเฎฟเฎŸเฏเฎคเฎฒเฏˆ เฎฎเฏเฎดเฏเฎฎเฏˆเฎฏเฎพเฎ• เฎ†เฎคเฎฐเฎฟเฎ•เฏเฎ•เฎตเฎฟเฎฒเฏเฎฒเฏˆ. +printing_not_ready=เฎŽเฎšเฏเฎšเฎฐเฎฟเฎ•เฏเฎ•เฏˆ: PDF เฎ…เฎšเฏเฎšเฎฟเฎŸ เฎฎเฏเฎดเฏเฎตเฎคเฏเฎฎเฎพเฎ• เฎเฎฑเฏเฎฑเฎชเฏเฎชเฎŸเฎตเฎฟเฎฒเฏเฎฒเฏˆ. +web_fonts_disabled=เฎตเฎฒเฏˆ เฎŽเฎดเฏเฎคเฏเฎคเฏเฎฐเฏเฎ•เฏเฎ•เฎณเฏ เฎฎเฏเฎŸเฎ•เฏเฎ•เฎชเฏเฎชเฎŸเฏเฎŸเฏเฎณเฏเฎณเฎฉ: เฎ‰เฎŸเฏเฎชเฏŠเฎคเฎฟเฎ•เฏเฎ•เฎชเฏเฎชเฎŸเฏเฎŸ PDF เฎŽเฎดเฏเฎคเฏเฎคเฏเฎฐเฏเฎ•เฏเฎ•เฎณเฏˆเฎชเฏ เฎชเฎฏเฎฉเฏเฎชเฎŸเฏเฎคเฏเฎค เฎฎเฏเฎŸเฎฟเฎฏเฎตเฎฟเฎฒเฏเฎฒเฏˆ. +document_colors_not_allowed=PDF เฎ†เฎตเฎฃเฎ™เฏเฎ•เฎณเฏเฎ•เฏเฎ•เฏเฎšเฏ เฎšเฏŠเฎจเฏเฎค เฎจเฎฟเฎฑเฎ™เฏเฎ•เฎณเฏˆเฎชเฏ เฎชเฎฏเฎฉเฏเฎชเฎŸเฏเฎคเฏเฎค เฎ…เฎฉเฏเฎฎเฎคเฎฟเฎฏเฎฟเฎฒเฏเฎฒเฏˆ: เฎ‰เฎฒเฎพเฎตเฎฟเฎฏเฎฟเฎฒเฏ "เฎชเฎ•เฏเฎ•เฎ™เฏเฎ•เฎณเฏ เฎคเฎ™เฏเฎ•เฎณเฏ เฎšเฏŠเฎจเฏเฎค เฎจเฎฟเฎฑเฎ™เฏเฎ•เฎณเฏˆเฎคเฏ เฎคเฏ‡เฎฐเฏเฎตเฏ เฎšเฏ†เฎฏเฏเฎคเฏเฎ•เฏŠเฎณเฏเฎณ เฎ…เฎฉเฏเฎฎเฎคเฎฟ" เฎŽเฎฉเฏเฎฉเฏเฎฎเฏ เฎตเฎฟเฎฐเฏเฎชเฏเฎชเฎฎเฏ เฎฎเฏเฎŸเฎ•เฏเฎ•เฎชเฏเฎชเฎŸเฏเฎŸเฏเฎณเฏเฎณเฎคเฏ. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/te/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/te/viewer.properties new file mode 100644 index 0000000..77d7f26 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/te/viewer.properties @@ -0,0 +1,183 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=เฐชเฑ‡เฐœเฑ€ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=เฐฎเฑŠเฐคเฑเฐคเฐ‚ {{pagesCount}} เฐฒเฑ‹ +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=(เฐฎเฑŠเฐคเฑเฐคเฐ‚ {{pagesCount}} เฐฒเฑ‹ {{pageNumber}}เฐตเฐฆเฐฟ) + +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=เฐ…เฐชเฐธเฐตเฑเฐฏเฐฆเฐฟเฐถเฐฒเฑ‹ เฐคเฐฟเฐชเฑเฐชเฑ + +cursor_text_select_tool.title=เฐŸเฑ†เฐ•เฑเฐธเฑเฐŸเฑ เฐŽเฐ‚เฐชเฐฟเฐ• เฐธเฐพเฐงเฐจเฐพเฐจเฑเฐจเฐฟ เฐชเฑเฐฐเฐพเฐฐเฐ‚เฐญเฐฟเฐ‚เฐšเฐ‚เฐกเฐฟ +cursor_text_select_tool_label=เฐŸเฑ†เฐ•เฑเฐธเฑเฐŸเฑ เฐŽเฐ‚เฐชเฐฟเฐ• เฐธเฐพเฐงเฐจเฐ‚ +cursor_hand_tool.title=เฐšเฑ‡เฐคเฐฟ เฐธเฐพเฐงเฐจเฐ‚ เฐšเฑ‡เฐคเฐจเฐฟเฐ‚เฐšเฑ +cursor_hand_tool_label=เฐšเฑ‡เฐคเฐฟ เฐธเฐพเฐงเฐจเฐ‚ + +# Document properties dialog box +document_properties.title=เฐชเฐคเฑเฐฐเฐฎเฑ เฐฒเฐ•เฑเฐทเฐฃเฐพเฐฒเฑ... +document_properties_label=เฐชเฐคเฑเฐฐเฐฎเฑ เฐฒเฐ•เฑเฐทเฐฃเฐพเฐฒเฑ... +document_properties_file_name=เฐฆเฐธเฑเฐคเฑเฐฐเฐ‚ เฐชเฑ‡เฐฐเฑ: +document_properties_file_size=เฐฆเฐธเฑเฐคเฑเฐฐเฐ‚ เฐชเฐฐเฐฟเฐฎเฐพเฐฃเฐ‚: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in 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=เฐธเฐตเฐฐเฐฟเฐ‚เฐšเฐฟเฐจ เฐคเฑ‡เฐฆเฑ€: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=เฐธเฑƒเฐทเฑเฐŸเฐฟเฐ•เฐฐเฑเฐค: +document_properties_producer=PDF เฐ‰เฐคเฑเฐชเฐพเฐฆเฐ•เฐฟ: +document_properties_version=PDF เฐตเฐฐเฑเฐทเฐจเฑ: +document_properties_page_count=เฐชเฑ‡เฐœเฑ€เฐฒ เฐธเฐ‚เฐ–เฑเฐฏ: +document_properties_close=เฐฎเฑ‚เฐธเฐฟเฐตเฑ‡เฐฏเฐฟ + +print_progress_message=เฐฎเฑเฐฆเฑเฐฐเฐฟเฐ‚เฐšเฐกเฐพเฐจเฐฟเฐ•เฐฟ เฐชเฐคเฑเฐฐเฐฎเฑ เฐธเฐฟเฐฆเฑเฐงเฐฎเฐตเฑเฐคเฑเฐจเฑเฐจเฐฆเฐฟโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_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=เฐชเฐ•เฑเฐ•เฐชเฐŸเฑเฐŸเฑ€ เฐฎเฐพเฐฐเฑเฐšเฑ +document_outline.title=เฐชเฐคเฑเฐฐเฐฎเฑ เฐฐเฑ‚เฐชเฐฎเฑ เฐšเฑ‚เฐชเฐฟเฐ‚เฐšเฑ (เฐกเฐฌเฑเฐฒเฑ เฐ•เฑเฐฒเฐฟเฐ•เฑ เฐšเฑ‡เฐธเฐฟ เฐ…เฐจเฑเฐจเฐฟ เฐ…เฐ‚เฐถเฐพเฐฒเฐจเฑ เฐตเฐฟเฐธเฑเฐคเฐฐเฐฟเฐ‚เฐšเฑ/เฐ•เฑ‚เฐฒเฑเฐšเฑ) +document_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_input.title=เฐ•เฐจเฑเฐ—เฑŠเฐจเฑ +find_input.placeholder=เฐชเฐคเฑเฐฐเฐฎเฑเฐฒเฑ‹ เฐ•เฐจเฑเฐ—เฑŠเฐจเฑโ€ฆ +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=เฐฏเฐฅเฐพเฐฐเฑเฐง เฐชเฐฐเฐฟเฐฎเฐพเฐฃเฐ‚ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=เฐฆเฑ‹เฐทเฐ‚ +loading_error=PDF เฐฒเฑ‹เฐกเฐตเฑเฐšเฑเฐจเฑเฐจเฐชเฑเฐชเฑเฐกเฑ เฐ’เฐ• เฐฆเฑ‹เฐทเฐ‚ เฐŽเฐฆเฑเฐฐเฑˆเฐ‚เฐฆเฐฟ. +invalid_file_error=เฐšเฑ†เฐฒเฑเฐฒเฐจเฐฟ เฐฒเฑ‡เฐฆเฐพ เฐชเฐพเฐกเฑˆเฐจ PDF เฐซเฑˆเฐฒเฑ. +missing_file_error=เฐฆเฑŠเฐฐเฐ•เฐจเฐฟ PDF เฐซเฑˆเฐฒเฑ. +unexpected_response_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=เฐˆ PDF เฐซเฑˆเฐฒเฑ เฐคเฑ†เฐฐเฑเฐšเฑเฐŸเฐ•เฑ เฐธเฐ‚เฐ•เฑ‡เฐคเฐชเฐฆเฐ‚ เฐชเฑเฐฐเฐตเฑ‡เฐถเฐชเฑ†เฐŸเฑเฐŸเฑเฐฎเฑ. +password_invalid=เฐธเฐ‚เฐ•เฑ‡เฐคเฐชเฐฆเฐ‚ เฐšเฑ†เฐฒเฑเฐฒเฐฆเฑ. เฐฆเฐฏเฐšเฑ‡เฐธเฐฟ เฐฎเฐณเฑเฐณเฑ€ เฐชเฑเฐฐเฐฏเฐคเฑเฐจเฐฟเฐ‚เฐšเฐ‚เฐกเฐฟ. +password_ok=เฐธเฐฐเฑ‡ +password_cancel=เฐฐเฐฆเฑเฐฆเฑเฐšเฑ‡เฐฏเฐฟ + +printing_not_supported=เฐนเฑ†เฐšเฑเฐšเฐฐเฐฟเฐ•: เฐˆ เฐตเฐฟเฐนเฐพเฐฐเฐฟเฐฃเฐฟ เฐšเฑ‡เฐค เฐฎเฑเฐฆเฑเฐฐเฐฃ เฐชเฑ‚เฐฐเฑเฐคเฐฟเฐ—เฐพ เฐคเฑ‹เฐกเฑเฐชเฐพเฐŸเฑ เฐฒเฑ‡เฐฆเฑ. +printing_not_ready=เฐนเฑ†เฐšเฑเฐšเฐฐเฐฟเฐ•: เฐฎเฑเฐฆเฑเฐฐเฐฃ เฐ•เฑŠเฐฐเฐ•เฑ เฐˆ PDF เฐชเฑ‚เฐฐเฑเฐคเฐฟเฐ—เฐพ เฐฒเฑ‹เฐกเฐตเฐฒเฑ‡เฐฆเฑ. +web_fonts_disabled=เฐตเฑ†เฐฌเฑ เฐซเฐพเฐ‚เฐŸเฑเฐฒเฑ เฐ…เฐšเฑ‡เฐคเฐจเฐฟเฐ‚เฐšเฐฌเฐกเฑ†เฐจเฑ: เฐŽเฐ‚เฐฌเฑ†เฐกเฑ†เฐกเฑ PDF เฐซเฐพเฐ‚เฐŸเฑเฐฒเฑ เฐ‰เฐชเฐฏเฑ‹เฐ—เฐฟเฐ‚เฐšเฐฒเฑ‡เฐ• เฐชเฑ‹เฐฏเฐฟเฐ‚เฐฆเฐฟ. +document_colors_not_allowed=PDF เฐชเฐคเฑเฐฐเฐพเฐฒเฑ เฐตเฐพเฐŸเฐฟ เฐธเฑเฐตเฐ‚เฐค เฐฐเฐ‚เฐ—เฑเฐฒเฐจเฑ เฐ‰เฐชเฐฏเฑ‹เฐ—เฐฟเฐ‚เฐšเฑเฐ•เฑŠเฐจเฑเฐŸเฐ•เฑ เฐ…เฐจเฑเฐฎเฐคเฐฟเฐ‚เฐšเฐฌเฐกเฐตเฑ: เฐตเฐฟเฐนเฐฐเฐฃเฐฟ เฐจเฐ‚เฐฆเฑ โ€œเฐชเฑ‡เฐœเฑ€เฐฒเฐจเฑ เฐตเฐพเฐŸเฐฟ เฐธเฑเฐตเฐ‚เฐค เฐฐเฐ‚เฐ—เฑเฐฒเฐจเฑ เฐŽเฐ‚เฐšเฑเฐ•เฑŠเฐจเฑเฐŸเฐ•เฑ เฐ…เฐจเฑเฐฎเฐคเฐฟเฐ‚เฐšเฑโ€ เฐ…เฐšเฑ‡เฐคเฐจเฐ‚ เฐšเฑ‡เฐฏเฐฌเฐกเฐฟเฐตเฑเฐ‚เฐฆเฐฟ. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/th/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/th/viewer.properties new file mode 100644 index 0000000..d244d0b --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/th/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=เธซเธ™เน‰เธฒ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=เธˆเธฒเธ {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} เธˆเธฒเธ {{pagesCount}}) + +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=เธซเธกเธธเธ™เธ—เธงเธ™เน€เธ‚เน‡เธกเธ™เธฒเธฌเธดเธเธฒ + +cursor_text_select_tool.title=เน€เธ›เธดเธ”เนƒเธŠเน‰เธ‡เธฒเธ™เน€เธ„เธฃเธทเนˆเธญเธ‡เธกเธทเธญเธเธฒเธฃเน€เธฅเธทเธญเธเธ‚เน‰เธญเธ„เธงเธฒเธก +cursor_text_select_tool_label=เน€เธ„เธฃเธทเนˆเธญเธ‡เธกเธทเธญเธเธฒเธฃเน€เธฅเธทเธญเธเธ‚เน‰เธญเธ„เธงเธฒเธก +cursor_hand_tool.title=เน€เธ›เธดเธ”เนƒเธŠเน‰เธ‡เธฒเธ™เน€เธ„เธฃเธทเนˆเธญเธ‡เธกเธทเธญเธกเธทเธญ +cursor_hand_tool_label=เน€เธ„เธฃเธทเนˆเธญเธ‡เธกเธทเธญเธกเธทเธญ + +# Document properties dialog box +document_properties.title=เธ„เธธเธ“เธชเธกเธšเธฑเธ•เธดเน€เธญเธเธชเธฒเธฃโ€ฆ +document_properties_label=เธ„เธธเธ“เธชเธกเธšเธฑเธ•เธดเน€เธญเธเธชเธฒเธฃโ€ฆ +document_properties_file_name=เธŠเธทเนˆเธญเน„เธŸเธฅเนŒ: +document_properties_file_size=เธ‚เธ™เธฒเธ”เน„เธŸเธฅเนŒ: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} เธเธดเน‚เธฅเน„เธšเธ•เนŒ ({{size_b}} เน„เธšเธ•เนŒ) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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=เธงเธฑเธ™เธ—เธตเนˆเนเธเน‰เน„เธ‚: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=เธœเธนเน‰เธชเธฃเน‰เธฒเธ‡: +document_properties_producer=เธœเธนเน‰เธœเธฅเธดเธ• PDF: +document_properties_version=เธฃเธธเนˆเธ™ PDF: +document_properties_page_count=เธˆเธณเธ™เธงเธ™เธซเธ™เน‰เธฒ: +document_properties_close=เธ›เธดเธ” + +print_progress_message=เธเธณเธฅเธฑเธ‡เน€เธ•เธฃเธตเธขเธกเน€เธญเธเธชเธฒเธฃเธชเธณเธซเธฃเธฑเธšเธเธฒเธฃเธžเธดเธกเธžเนŒโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_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_notification.title=เน€เธ›เธดเธ”/เธ›เธดเธ”เนเธ–เธšเธ‚เน‰เธฒเธ‡ (เน€เธญเธเธชเธฒเธฃเธกเธตเน€เธ„เน‰เธฒเธฃเนˆเธฒเธ‡/เน„เธŸเธฅเนŒเนเธ™เธš) +toggle_sidebar_label=เน€เธ›เธดเธ”/เธ›เธดเธ”เนเธ–เธšเธ‚เน‰เธฒเธ‡ +document_outline.title=เนเธชเธ”เธ‡เน€เธ„เน‰เธฒเธฃเนˆเธฒเธ‡เน€เธญเธเธชเธฒเธฃ (เธ„เธฅเธดเธเธชเธญเธ‡เธ„เธฃเธฑเน‰เธ‡เน€เธžเธทเนˆเธญเธ‚เธขเธฒเธข/เธขเธธเธšเธฃเธฒเธขเธเธฒเธฃเธ—เธฑเน‰เธ‡เธซเธกเธ”) +document_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_input.title=เธ„เน‰เธ™เธซเธฒ +find_input.placeholder=เธ„เน‰เธ™เธซเธฒเนƒเธ™เน€เธญเธเธชเธฒเธฃโ€ฆ +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=เธ‚เธ™เธฒเธ”เธˆเธฃเธดเธ‡ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=เธ‚เน‰เธญเธœเธดเธ”เธžเธฅเธฒเธ” +loading_error=เน€เธเธดเธ”เธ‚เน‰เธญเธœเธดเธ”เธžเธฅเธฒเธ”เธ‚เธ“เธฐเธเธณเธฅเธฑเธ‡เน‚เธซเธฅเธ” PDF +invalid_file_error=เน„เธŸเธฅเนŒ PDF เน„เธกเนˆเธ–เธนเธเธ•เน‰เธญเธ‡เธซเธฃเธทเธญเน€เธชเธตเธขเธซเธฒเธข +missing_file_error=เน„เธŸเธฅเนŒ PDF เธ‚เธฒเธ”เธซเธฒเธข +unexpected_response_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=เธ›เน‰เธญเธ™เธฃเธซเธฑเธชเธœเนˆเธฒเธ™เน€เธžเธทเนˆเธญเน€เธ›เธดเธ”เน„เธŸเธฅเนŒ PDF เธ™เธตเน‰ +password_invalid=เธฃเธซเธฑเธชเธœเนˆเธฒเธ™เน„เธกเนˆเธ–เธนเธเธ•เน‰เธญเธ‡ เน‚เธ›เธฃเธ”เธฅเธญเธ‡เธญเธตเธเธ„เธฃเธฑเน‰เธ‡ +password_ok=เธ•เธเธฅเธ‡ +password_cancel=เธขเธเน€เธฅเธดเธ + +printing_not_supported=เธ„เธณเน€เธ•เธทเธญเธ™: เน€เธšเธฃเธฒเธงเนŒเน€เธ‹เธญเธฃเนŒเธ™เธตเน‰เน„เธกเนˆเน„เธ”เน‰เธชเธ™เธฑเธšเธชเธ™เธธเธ™เธเธฒเธฃเธžเธดเธกเธžเนŒเธญเธขเนˆเธฒเธ‡เน€เธ•เน‡เธกเธ—เธตเนˆ +printing_not_ready=เธ„เธณเน€เธ•เธทเธญเธ™: PDF เน„เธกเนˆเน„เธ”เน‰เธฃเธฑเธšเธเธฒเธฃเน‚เธซเธฅเธ”เธญเธขเนˆเธฒเธ‡เน€เธ•เน‡เธกเธ—เธตเนˆเธชเธณเธซเธฃเธฑเธšเธเธฒเธฃเธžเธดเธกเธžเนŒ +web_fonts_disabled=เนเธšเธšเธญเธฑเธเธฉเธฃเน€เธงเน‡เธšเธ–เธนเธเธ›เธดเธ”เนƒเธŠเน‰เธ‡เธฒเธ™: เน„เธกเนˆเธชเธฒเธกเธฒเธฃเธ–เนƒเธŠเน‰เนเธšเธšเธญเธฑเธเธฉเธฃ PDF เธเธฑเธ‡เธ•เธฑเธง +document_colors_not_allowed=เน€เธญเธเธชเธฒเธฃ PDF เน„เธกเนˆเน„เธ”เน‰เธฃเธฑเธšเธญเธ™เธธเธเธฒเธ•เนƒเธซเน‰เนƒเธŠเน‰เธชเธตเธ‚เธญเธ‡เธ•เธฑเธงเน€เธญเธ‡: "เธญเธ™เธธเธเธฒเธ•เนƒเธซเน‰เธซเธ™เน‰เธฒเน€เธญเธเธชเธฒเธฃเธชเธฒเธกเธฒเธฃเธ–เน€เธฅเธทเธญเธเธชเธตเธ‚เธญเธ‡เธ•เธฑเธงเน€เธญเธ‡" เธ–เธนเธเธ›เธดเธ”เนƒเธŠเน‰เธ‡เธฒเธ™เนƒเธ™เน€เธšเธฃเธฒเธงเนŒเน€เธ‹เธญเธฃเนŒ diff --git a/NKC_WF/Scripts/pdf.js/web/locale/tl/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/tl/viewer.properties new file mode 100644 index 0000000..0eeb1bc --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/tl/viewer.properties @@ -0,0 +1,113 @@ +# 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=Naunang Pahina +next.title=Sunod na Pahina + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Pahina +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=ng {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} ng {{pagesCount}}) + +zoom_out.title=Mag-zom Out +open_file.title=Magbukas ng file +open_file_label=Buksan +print.title=i-Print +print_label=i-Print +download.title=Download +download_label=Download +bookmark.title=Kasalukuyang tingin (kopyahin o buksan sa bagong window) +bookmark_label=Kasalukuyang tingin + +# Secondary toolbar and context menu +tools.title=Mga Tool +tools_label=Mga Tool + + +# Document properties dialog box +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Pamagat: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Kanselahin + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +thumbs.title=Ipakita ang mga Thumbnails +findbar_label=Hanapin + +# 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=Pahina {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Thumbnail ng Pahina {{page}} + +# Find panel button title and messages +find_highlight=I-highlight lahat + +# Error panel labels +error_more_info=Maraming Inpormasyon +error_less_info=Maikling Inpormasyon +# 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=Mensahe: {{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=Linya: {{line}} +rendering_error=May naganap na pagkakamali habang pagsasalin sa pahina. + +# Predefined zoom values +page_scale_width=Haba ng Pahina +page_scale_fit=ang pahina ay angkop +page_scale_auto=awtomatikong pag-imbulog +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error=May maling nangyari habang kinakarga ang 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=OK +password_cancel=Kanselahin + diff --git a/NKC_WF/Scripts/pdf.js/web/locale/tn/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/tn/viewer.properties new file mode 100644 index 0000000..eda077c --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/tn/viewer.properties @@ -0,0 +1,83 @@ +# 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.title): The tooltip for the pageNumber input. +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. + +zoom.title=Zuma/gogela +open_file.title=Bula Faele +open_file_label=Bula + +# Secondary toolbar and context menu + + +# Document properties dialog box +document_properties_file_name=Leina la faele: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_title=Leina: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) + +# 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=Batla tiragalo e e fetileng ya setlhopha sa mafoko +find_next.title=Batla tiragalo e e latelang ya setlhopha sa mafoko +find_not_found=Setlhopha sa mafoko ga se a bonwa + +# Error panel labels +error_more_info=Tshedimosetso e Nngwe +# 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 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. + +# Loading indicator messages +loading_error_indicator=Phoso + +# 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" +password_ok=Siame + +web_fonts_disabled=Mefutatlhaka ya Webo ga e dire: ga e kgone go dirisa mofutatlhaka wa PDF o tsentsweng. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/tr/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/tr/viewer.properties new file mode 100644 index 0000000..089bfe9 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/tr/viewer.properties @@ -0,0 +1,184 @@ +# 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=ร–nceki sayfa +previous_label=ร–nceki +next.title=Sonraki sayfa +next_label=Sonraki + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Sayfa +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=/ {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} / {{pagesCount}}) + +zoom_out.title=UzaklaลŸtฤฑr +zoom_out_label=UzaklaลŸtฤฑr +zoom_in.title=YaklaลŸtฤฑr +zoom_in_label=YaklaลŸtฤฑr +zoom.title=YakฤฑnlaลŸtฤฑrma +presentation_mode.title=Sunum moduna geรง +presentation_mode_label=Sunum Modu +open_file.title=Dosya aรง +open_file_label=Aรง +print.title=Yazdฤฑr +print_label=Yazdฤฑr +download.title=ฤฐndir +download_label=ฤฐndir +bookmark.title=Geรงerli gรถrรผnรผm (kopyala veya yeni pencerede aรง) +bookmark_label=Geรงerli gรถrรผnรผm + +# Secondary toolbar and context menu +tools.title=Araรงlar +tools_label=Araรงlar +first_page.title=ฤฐlk sayfaya git +first_page.label=ฤฐlk sayfaya git +first_page_label=ฤฐlk sayfaya git +last_page.title=Son sayfaya git +last_page.label=Son sayfaya git +last_page_label=Son sayfaya git +page_rotate_cw.title=Saat yรถnรผnde dรถndรผr +page_rotate_cw.label=Saat yรถnรผnde dรถndรผr +page_rotate_cw_label=Saat yรถnรผnde dรถndรผr +page_rotate_ccw.title=Saat yรถnรผnรผn tersine dรถndรผr +page_rotate_ccw.label=Saat yรถnรผnรผn tersine dรถndรผr +page_rotate_ccw_label=Saat yรถnรผnรผn tersine dรถndรผr + +cursor_text_select_tool.title=Metin seรงme aracฤฑnฤฑ etkinleลŸtir +cursor_text_select_tool_label=Metin seรงme aracฤฑ +cursor_hand_tool.title=El aracฤฑnฤฑ etkinleลŸtir +cursor_hand_tool_label=El aracฤฑ + +# Document properties dialog box +document_properties.title=Belge รถzellikleriโ€ฆ +document_properties_label=Belge รถzellikleriโ€ฆ +document_properties_file_name=Dosya adฤฑ: +document_properties_file_size=Dosya boyutu: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bayt) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bayt) +document_properties_title=BaลŸlฤฑk: +document_properties_author=Yazar: +document_properties_subject=Konu: +document_properties_keywords=Anahtar kelimeler: +document_properties_creation_date=Oluturma tarihi: +document_properties_modification_date=DeฤŸiลŸtirme tarihi: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}} {{time}} +document_properties_creator=OluลŸturan: +document_properties_producer=PDF รผreticisi: +document_properties_version=PDF sรผrรผmรผ: +document_properties_page_count=Sayfa sayฤฑsฤฑ: +document_properties_close=Kapat + +print_progress_message=Belge yazdฤฑrฤฑlmaya hazฤฑrlanฤฑyorโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent=%{{progress}} +print_progress_close=ฤฐptal + +# 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=Kenar รงubuฤŸunu aรง/kapat +toggle_sidebar_notification.title=Kenar รงubuฤŸunu aรง/kapat (Belge anahat/ekler iรงeriyor) +toggle_sidebar_label=Kenar รงubuฤŸunu aรง/kapat +document_outline.title=Belge ลŸemasฤฑnฤฑ gรถster (Tรผm รถฤŸeleri geniลŸletmek/daraltmak iรงin รงift tฤฑklayฤฑn) +document_outline_label=Belge ลŸemasฤฑ +attachments.title=Ekleri gรถster +attachments_label=Ekler +thumbs.title=Kรผรงรผk resimleri gรถster +thumbs_label=Kรผรงรผk resimler +findbar.title=Belgede bul +findbar_label=Bul + +# 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=Sayfa {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas={{page}}. sayfanฤฑn kรผรงรผk hรขli + +# Find panel button title and messages +find_input.title=Bul +find_input.placeholder=Belgede bulโ€ฆ +find_previous.title=ร–nceki eลŸleลŸmeyi bul +find_previous_label=ร–nceki +find_next.title=Sonraki eลŸleลŸmeyi bul +find_next_label=Sonraki +find_highlight=Tรผmรผnรผ vurgula +find_match_case_label=Bรผyรผk-kรผรงรผk harfe duyarlฤฑ +find_reached_top=Belgenin baลŸฤฑna ulaลŸฤฑldฤฑ, sonundan devam edildi +find_reached_bottom=Belgenin sonuna ulaลŸฤฑldฤฑ, baลŸฤฑndan devam edildi +find_not_found=EลŸleลŸme bulunamadฤฑ + +# Error panel labels +error_more_info=Daha fazla bilgi al +error_less_info=Daha az bilgi +error_close=Kapat +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js sรผrรผm {{version}} (yapฤฑ: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=ฤฐleti: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=YฤฑฤŸฤฑn: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Dosya: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Satฤฑr: {{line}} +rendering_error=Sayfa yorumlanฤฑrken bir hata oluลŸtu. + +# Predefined zoom values +page_scale_width=Sayfa geniลŸliฤŸi +page_scale_fit=Sayfayฤฑ sฤฑฤŸdฤฑr +page_scale_auto=Otomatik yakฤฑnlaลŸtฤฑr +page_scale_actual=Gerรงek boyut +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent=%{{scale}} + +# Loading indicator messages +loading_error_indicator=Hata +loading_error=PDF yรผklenirken bir hata oluลŸtu. +invalid_file_error=Geรงersiz veya bozulmuลŸ PDF dosyasฤฑ. +missing_file_error=PDF dosyasฤฑ eksik. +unexpected_response_error=Beklenmeyen sunucu yanฤฑtฤฑ. + +# 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}} iลŸareti] +password_label=Bu PDF dosyasฤฑnฤฑ aรงmak iรงin parolasฤฑnฤฑ yazฤฑn. +password_invalid=Geรงersiz parola. Lรผtfen tekrar deneyin. +password_ok=Tamam +password_cancel=ฤฐptal + +printing_not_supported=Uyarฤฑ: Yazdฤฑrma bu tarayฤฑcฤฑ tarafฤฑndan tam olarak desteklenmemektedir. +printing_not_ready=Uyarฤฑ: PDF tamamen yรผklenmedi ve yazdฤฑrmaya hazฤฑr deฤŸil. +web_fonts_disabled=Web fontlarฤฑ devre dฤฑลŸฤฑ: Gรถmรผlรผ PDF fontlarฤฑ kullanฤฑlamฤฑyor. +document_colors_not_allowed=PDF belgelerinin kendi renklerini kullanmasฤฑ iรงin izin verilmiyor: โ€œSayfalara kendi renklerini seรงmesi iรงin izin verโ€ tarayฤฑcฤฑda etkinleลŸtirilmemiลŸ. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/uk/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/uk/viewer.properties new file mode 100644 index 0000000..b2eda93 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/uk/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=ะกั‚ะพั€ั–ะฝะบะฐ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=ั–ะท {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} ั–ะท {{pagesCount}}) + +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=ะŸะพะฒะตั€ะฝัƒั‚ะธ ะฟั€ะพั‚ะธ ะณะพะดะธะฝะฝะธะบะพะฒะพั— ัั‚ั€ั–ะปะบะธ + +cursor_text_select_tool.title=ะฃะฒั–ะผะบะฝัƒั‚ะธ ั–ะฝัั‚ั€ัƒะผะตะฝั‚ ะฒะธะฑะพั€ัƒ ั‚ะตะบัั‚ัƒ +cursor_text_select_tool_label=ะ†ะฝัั‚ั€ัƒะผะตะฝั‚ ะฒะธะฑะพั€ัƒ ั‚ะตะบัั‚ัƒ +cursor_hand_tool.title=ะฃะฒั–ะผะบะฝัƒั‚ะธ ั–ะฝัั‚ั€ัƒะผะตะฝั‚ ยซะ ัƒะบะฐยป +cursor_hand_tool_label=ะ†ะฝัั‚ั€ัƒะผะตะฝั‚ ยซะ ัƒะบะฐยป + +# Document properties dialog box +document_properties.title=ะ’ะปะฐัั‚ะธะฒะพัั‚ั– ะดะพะบัƒะผะตะฝั‚ะฐโ€ฆ +document_properties_label=ะ’ะปะฐัั‚ะธะฒะพัั‚ั– ะดะพะบัƒะผะตะฝั‚ะฐโ€ฆ +document_properties_file_name=ะะฐะทะฒะฐ ั„ะฐะนะปะฐ: +document_properties_file_size=ะ ะพะทะผั–ั€ ั„ะฐะนะปะฐ: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} ะšะ‘ ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in 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=ะ”ะฐั‚ะฐ ะทะผั–ะฝะธ: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=ะกั‚ะฒะพั€ะตะฝะพ: +document_properties_producer=ะ’ะธั€ะพะฑะฝะธะบ PDF: +document_properties_version=ะ’ะตั€ัั–ั PDF: +document_properties_page_count=ะšั–ะปัŒะบั–ัั‚ัŒ ัั‚ะพั€ั–ะฝะพะบ: +document_properties_close=ะ—ะฐะบั€ะธั‚ะธ + +print_progress_message=ะŸั–ะดะณะพั‚ะพะฒะบะฐ ะดะพะบัƒะผะตะฝั‚ัƒ ะดะพ ะดั€ัƒะบัƒโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_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_notification.title=ะŸะตั€ะตะผะบะฝัƒั‚ะธ ะฑั–ั‡ะฝัƒ ะฟะฐะฝะตะปัŒ (ะดะพะบัƒะผะตะฝั‚ ะผะฐั” ะฒะผั–ัั‚/ะฒะบะปะฐะดะตะฝะฝั) +toggle_sidebar_label=ะŸะตั€ะตะผะบะฝัƒั‚ะธ ะฑั–ั‡ะฝัƒ ะฟะฐะฝะตะปัŒ +document_outline.title=ะŸะพะบะฐะทะฐั‚ะธ ัั…ะตะผัƒ ะดะพะบัƒะผะตะฝั‚ัƒ (ะฟะพะดะฒั–ะนะฝะธะน ะบะปั–ะบ ะดะปั ั€ะพะทะณะพั€ั‚ะฐะฝะฝั/ะทะณะพั€ั‚ะฐะฝะฝั ะตะปะตะผะตะฝั‚ั–ะฒ) +document_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_input.title=ะ—ะฝะฐะนั‚ะธ +find_input.placeholder=ะ—ะฝะฐะนั‚ะธ ะฒ ะดะพะบัƒะผะตะฝั‚ั–โ€ฆ +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=ะ”ั–ะนัะฝะธะน ั€ะพะทะผั–ั€ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=ะŸะพะผะธะปะบะฐ +loading_error=ะŸั–ะด ั‡ะฐั ะทะฐะฒะฐะฝั‚ะฐะถะตะฝะฝั PDF ัั‚ะฐะปะฐัั ะฟะพะผะธะปะบะฐ. +invalid_file_error=ะะตะดั–ะนัะฝะธะน ะฐะฑะพ ะฟะพัˆะบะพะดะถะตะฝะธะน PDF-ั„ะฐะนะป. +missing_file_error=ะ’ั–ะดััƒั‚ะฝั–ะน PDF-ั„ะฐะนะป. +unexpected_response_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=ะ’ะฒะตะดั–ั‚ัŒ ะฟะฐั€ะพะปัŒ ะดะปั ะฒั–ะดะบั€ะธั‚ั‚ั ั†ัŒะพะณะพ PDF-ั„ะฐะนะปะฐ. +password_invalid=ะะตะฒั–ั€ะฝะธะน ะฟะฐั€ะพะปัŒ. ะกะฟั€ะพะฑัƒะนั‚ะต ั‰ะต. +password_ok=ะ“ะฐั€ะฐะทะด +password_cancel=ะกะบะฐััƒะฒะฐั‚ะธ + +printing_not_supported=ะŸะพะฟะตั€ะตะดะถะตะฝะฝั: ะฆะตะน ะฑั€ะฐัƒะทะตั€ ะฝะต ะฟะพะฒะฝั–ัั‚ัŽ ะฟั–ะดั‚ั€ะธะผัƒั” ะดั€ัƒะบ. +printing_not_ready=ะŸะพะฟะตั€ะตะดะถะตะฝะฝั: PDF ะฝะต ะฟะพะฒะฝั–ัั‚ัŽ ะทะฐะฒะฐะฝั‚ะฐะถะตะฝะธะน ะดะปั ะดั€ัƒะบัƒ. +web_fonts_disabled=ะ’ะตะฑ-ัˆั€ะธั„ั‚ะธ ะฒะธะผะบะฝะตะฝะพ: ะฝะตะผะพะถะปะธะฒะพ ะฒะธะบะพั€ะธัั‚ะฐั‚ะธ ะฒะฑัƒะดะพะฒะฐะฝั– ัƒ PDF ัˆั€ะธั„ั‚ะธ. +document_colors_not_allowed=PDF-ะดะพะบัƒะผะตะฝั‚ะฐะผ ะฝะต ะดะพะทะฒะพะปะตะฝะพ ะฒะธะบะพั€ะธัั‚ะพะฒัƒะฒะฐั‚ะธ ะฒะปะฐัะฝั– ะบะพะปัŒะพั€ะธ: ะฒ ะฑั€ะฐัƒะทะตั€ั– ะฒะธะผะบะฝะตะฝะพ ะฟะฐั€ะฐะผะตั‚ั€ ยซะ”ะพะทะฒะพะปะธั‚ะธ ัั‚ะพั€ั–ะฝะบะฐะผ ะฒะธะบะพั€ะธัั‚ะพะฒัƒะฒะฐั‚ะธ ะฒะปะฐัะฝั– ะบะพะปัŒะพั€ะธยป. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/ur/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/ur/viewer.properties new file mode 100644 index 0000000..7cdd01b --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/ur/viewer.properties @@ -0,0 +1,178 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=ุตูุญ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}} ฺฉุง +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} ฺฉุง {{pagesCount}}) + +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=ุฏุณุชุงูˆŒุฒ ุฎูˆุงุตโ€ฆ +document_properties_label=ุฏุณุชุงูˆŒุฒ ุฎูˆุงุตโ€ฆ\u0020 +document_properties_file_name=ู†ุงู… ู…ุณู„: +document_properties_file_size=ู…ุณู„ ุณุงุฆุฒ: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in 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=ุชุฑู…Œู… ฺฉŒ ุชุงุฑŒุฎ: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}ุŒ {{time}} +document_properties_creator=ุชุฎู„Œู‚ ฺฉุงุฑ: +document_properties_producer=PDF ูพŒุฏุง ฺฉุงุฑ: +document_properties_version=PDF ูˆุฑฺ˜ู†: +document_properties_page_count=ุตูุญ ุดู…ุงุฑ: +document_properties_close=ุจู†ุฏ ฺฉุฑŒฺบ + +print_progress_message=ฺ†ฺพุงูพู†’ ฺฉุฑู†’ ฺฉ’ ู„Œ’ ุฏุณุชุงูˆŒุฒ ุชŒุงุฑ ฺฉŒ’ ุฌุง ุฑฺพ’ ฺพŒฺบ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent=*{{progress}}%* +print_progress_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=ุณู„ุงุฆŒฺˆ ูนูˆฺฏู„ ฺฉุฑŒฺบ +document_outline.title=ุฏุณุชุงูˆŒุฒ ฺฉŒ ุณุฑุฎŒุงฺบ ุฏฺฉฺพุงŒฺบ (ุชู…ุงู… ุงุดŒุงุก ูˆุณŒุน / ุบุงุฆุจ ฺฉุฑู†’ ฺฉ’ ู„Œ’ ฺˆุจู„ ฺฉู„ฺฉ ฺฉุฑŒฺบ) +document_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_input.title=ฺˆฺพูˆู†ฺˆŒฺบ +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=ุงุตู„ ุณุงุฆุฒ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=ู†ู‚ุต +loading_error=PDF ู„ูˆฺˆ ฺฉุฑุช’ ูˆู‚ุช ู†ู‚ุต ุข ฺฏŒุง” +invalid_file_error=ู†ุงุฌุงุฆุฒ Œุง ุฎุฑุงุจ PDF ู…ุณู„ +missing_file_error=PDF ู…ุณู„ ุบุงุฆุจ ’” +unexpected_response_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=PDF ู…ุณู„ ฺฉฺพูˆู„ู†’ ฺฉ’ ู„Œ’ ูพุงุณ ูˆุฑฺˆ ุฏุงุฎู„ ฺฉุฑŒฺบ. +password_invalid=ู†ุงุฌุงุฆุฒ ูพุงุณ ูˆุฑฺˆ. ุจุฑุง’ุ‘ ฺฉุฑู… ุฏูˆุจุงุฑ ฺฉูˆุดุด ฺฉุฑŒฺบ. +password_ok=ุณŒ +password_cancel=ู…ู†ุณูˆุฎ ฺฉุฑŒฺบ + +printing_not_supported=ุชู†ุจŒ:ฺ†ฺพุงูพู†ุง ุงุณ ุจุฑุงุคุฒุฑ ูพุฑ ูพูˆุฑŒ ุทุฑุญ ู…ุนุงูˆู†ุช ุดุฏ ู†Œฺบ ’” +printing_not_ready=ุชู†ุจŒ: PDF ฺ†ฺพูพุงุฆŒ ฺฉ’ ู„Œ’ ูพูˆุฑŒ ุทุฑุญ ู„ูˆฺˆ ู†Œฺบ ูˆุฆŒ” +web_fonts_disabled=ูˆŒุจ ูุงู†ูน ู†ุง ุงู„ Œฺบ: ุดุงู…ู„ PDF ูุงู†ูน ุงุณุชุนู…ุงู„ ฺฉุฑู†’ ู…Œฺบ ู†ุงฺฉุงู…” +document_colors_not_allowed=PDF ุฏุณุชุงูˆŒุฒุงุช ฺฉูˆ ุงูพู†’ ุฑู†ฺฏ ุงุณุชุนู…ุงู„ ฺฉุฑู†’ ฺฉŒ ุงุฌุงุฒุช ู†Œฺบ: 'ุตูุญุงุช ฺฉูˆ ุงูพู†’ ุฑู†ฺฏ ฺ†ู†Œฺบ' ฺฉŒ ุงูุฌุงุฒุช ุจุฑุงุคุฒุฑ ู…Œฺบ ุจ’ ุนู…ู„ ’” diff --git a/NKC_WF/Scripts/pdf.js/web/locale/vi/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/vi/viewer.properties new file mode 100644 index 0000000..19fdb7e --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/vi/viewer.properties @@ -0,0 +1,184 @@ +# 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=Trang Trฦฐแป›c +previous_label=Trฦฐแป›c +next.title=Trang Sau +next_label=Tiแบฟp + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Trang +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=trรชn {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} trรชn {{pagesCount}}) + +zoom_out.title=Thu nhแป +zoom_out_label=Thu nhแป +zoom_in.title=Phรณng to +zoom_in_label=Phรณng to +zoom.title=Chแป‰nh kรญch thฦฐแป›c +presentation_mode.title=Chuyแปƒn sang chแบฟ ฤ‘แป™ trรฌnh chiแบฟu +presentation_mode_label=Chแบฟ ฤ‘แป™ trรฌnh chiแบฟu +open_file.title=MแปŸ tแบญp tin +open_file_label=MแปŸ tแบญp tin +print.title=In +print_label=In +download.title=Tแบฃi xuแป‘ng +download_label=Tแบฃi xuแป‘ng +bookmark.title=Gรณc nhรฌn hiแป‡n tแบกi (copy hoแบทc mแปŸ trong cแปญa sแป• mแป›i) +bookmark_label=Chแบฟ ฤ‘แป™ xem hiแป‡n tแบกi + +# Secondary toolbar and context menu +tools.title=Cรดng cแปฅ +tools_label=Cรดng cแปฅ +first_page.title=Vแป trang ฤ‘แบงu +first_page.label=Vแป trang ฤ‘แบงu +first_page_label=Vแป trang ฤ‘แบงu +last_page.title=ฤแบฟn trang cuแป‘i +last_page.label=ฤแบฟn trang cuแป‘i +last_page_label=ฤแบฟn trang cuแป‘i +page_rotate_cw.title=Xoay theo chiแปu kim ฤ‘แป“ng hแป“ +page_rotate_cw.label=Xoay theo chiแปu kim ฤ‘แป“ng hแป“ +page_rotate_cw_label=Xoay theo chiแปu kim ฤ‘แป“ng hแป“ +page_rotate_ccw.title=Xoay ngฦฐแปฃc chiแปu kim ฤ‘แป“ng hแป“ +page_rotate_ccw.label=Xoay ngฦฐแปฃc chiแปu kim ฤ‘แป“ng hแป“ +page_rotate_ccw_label=Xoay ngฦฐแปฃc chiแปu kim ฤ‘แป“ng hแป“ + +cursor_text_select_tool.title=Bแบญt cรดng cแปฅ chแปn vรนng vฤƒn bแบฃn +cursor_text_select_tool_label=Cรดng cแปฅ chแปn vรนng vฤƒn bแบฃn +cursor_hand_tool.title=Bแบญt cรดng cแปฅ con trแป +cursor_hand_tool_label=Cรดng cแปฅ con trแป + +# Document properties dialog box +document_properties.title=Thuแป™c tรญnh cแปงa tร i liแป‡uโ€ฆ +document_properties_label=Thuแป™c tรญnh cแปงa tร i liแป‡uโ€ฆ +document_properties_file_name=Tรชn tแบญp tin: +document_properties_file_size=Kรญch thฦฐแป›c: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} byte) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} byte) +document_properties_title=Tiรชu ฤ‘แป: +document_properties_author=Tรกc giแบฃ: +document_properties_subject=Chแปง ฤ‘แป: +document_properties_keywords=Tแปซ khรณa: +document_properties_creation_date=Ngร y tแบกo: +document_properties_modification_date=Ngร y sแปญa ฤ‘แป•i: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Ngฦฐแปi tแบกo: +document_properties_producer=Phแบงn mแปm tแบกo PDF: +document_properties_version=Phiรชn bแบฃn PDF: +document_properties_page_count=Tแป•ng sแป‘ trang: +document_properties_close=รรณng + +print_progress_message=Chuแบฉn bแป‹ trang ฤ‘แปƒ inโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Hแปงy bแป + +# 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=Bแบญt/Tแบฏt thanh lแป +toggle_sidebar_notification.title=Bแบญt tแบฏt thanh lแป (tร i liแป‡u bao gแป“m bแบฃn phรกc thแบฃo/tแบญp tin ฤ‘รญnh kรจm) +toggle_sidebar_label=Bแบญt/Tแบฏt thanh lแป +document_outline.title=Hiแป‡n tร i liแป‡u phรกc thแบฃo (nhแบฅp ฤ‘รบp vร o ฤ‘แปƒ mแปŸ rแป™ng/thu gแปn tแบฅt cแบฃ cรกc mแปฅc) +document_outline_label=Bแบฃn phรกc tร i liแป‡u +attachments.title=Hiแป‡n nแป™i dung ฤ‘รญnh kรจm +attachments_label=Nแป™i dung ฤ‘รญnh kรจm +thumbs.title=Hiแปƒn thแป‹ แบฃnh thu nhแป +thumbs_label=แบขnh thu nhแป +findbar.title=Tรฌm trong tร i liแป‡u +findbar_label=Tรฌm + +# 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=Trang {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=แบขnh thu nhแป cแปงa trang {{page}} + +# Find panel button title and messages +find_input.title=Tรฌm +find_input.placeholder=Tรฌm trong tร i liแป‡uโ€ฆ +find_previous.title=Tรฌm cแปฅm tแปซ แปŸ phแบงn trฦฐแป›c +find_previous_label=Trฦฐแป›c +find_next.title=Tรฌm cแปฅm tแปซ แปŸ phแบงn sau +find_next_label=Tiแบฟp +find_highlight=Tรด sรกng tแบฅt cแบฃ +find_match_case_label=Phรขn biแป‡t hoa, thฦฐแปng +find_reached_top=ฤรฃ ฤ‘แบฟn phแบงn ฤ‘แบงu tร i liแป‡u, quay trแปŸ lแบกi tแปซ cuแป‘i +find_reached_bottom=ฤรฃ ฤ‘แบฟn phแบงn cuแป‘i cแปงa tร i liแป‡u, quay trแปŸ lแบกi tแปซ ฤ‘แบงu +find_not_found=Khรดng tรฌm thแบฅy cแปฅm tแปซ nร y + +# Error panel labels +error_more_info=Thรดng tin thรชm +error_less_info=Hiแปƒn thแป‹ รญt thรดng tin hฦกn +error_close=ฤรณng +# 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=Thรดng ฤ‘iแป‡p: {{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=Tแบญp tin: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Dรฒng: {{line}} +rendering_error=Lแป—i khi hiแปƒn thแป‹ trang. + +# Predefined zoom values +page_scale_width=Vแปซa chiแปu rแป™ng +page_scale_fit=Vแปซa chiแปu cao +page_scale_auto=Tแปฑ ฤ‘แป™ng chแปn kรญch thฦฐแป›c +page_scale_actual=Kรญch thฦฐแป›c thแปฑc +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=Lแป—i +loading_error=Lแป—i khi tแบฃi tร i liแป‡u PDF. +invalid_file_error=Tแบญp tin PDF hแปng hoแบทc khรดng hแปฃp lแป‡. +missing_file_error=Thiแบฟu tแบญp tin PDF. +unexpected_response_error=Mรกy chแปง cรณ phแบฃn hแป“i lแบก. + +# 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}} Chรบ thรญch] +password_label=Nhแบญp mแบญt khแบฉu ฤ‘แปƒ mแปŸ tแบญp tin PDF nร y. +password_invalid=Mแบญt khแบฉu khรดng ฤ‘รบng. Vui lรฒng thแปญ lแบกi. +password_ok=OK +password_cancel=Hแปงy bแป + +printing_not_supported=Cแบฃnh bรกo: In แบฅn khรดng ฤ‘ฦฐแปฃc hแป— trแปฃ ฤ‘แบงy ฤ‘แปง แปŸ trรฌnh duyแป‡t nร y. +printing_not_ready=Cแบฃnh bรกo: PDF chฦฐa ฤ‘ฦฐแปฃc tแบฃi hแบฟt ฤ‘แปƒ in. +web_fonts_disabled=Phรดng chแปฏ Web bแป‹ vรด hiแป‡u hรณa: khรดng thแปƒ sแปญ dแปฅng cรกc phรดng chแปฏ PDF ฤ‘ฦฐแปฃc nhรบng. +document_colors_not_allowed=Tร i liแป‡u PDF khรดng ฤ‘ฦฐแปฃc cho phรฉp dรนng mร u riรชng: 'Cho phรฉp trang chแปn mร u riรชng' ฤ‘รฃ bแป‹ tแบฏt trรชn trรฌnh duyแป‡t. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/wo/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/wo/viewer.properties new file mode 100644 index 0000000..38c7bc1 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/wo/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=Xรซt wi jiitu +previous_label=Bi jiitu +next.title=Xรซt wi ci topp +next_label=Bi ci topp + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. + +zoom_out.title=Wร รฑรฑi +zoom_out_label=Wร รฑรฑi +zoom_in.title=Yaatal +zoom_in_label=Yaatal +zoom.title=Yambalaล‹ +presentation_mode.title=Waรฑarรฑil ci anamu wone +presentation_mode_label=Anamu Wone +open_file.title=Ubbi benn dencukaay +open_file_label=Ubbi +print.title=Mรณol +print_label=Mรณol +download.title=Yeb yi +download_label=Yeb yi +bookmark.title=Wone bi taxaw (duppi walla ubbi palanteer bu bees) +bookmark_label=Wone bi feeรฑ + +# Secondary toolbar and context menu + + +# Document properties dialog box +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_title=Bopp: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +thumbs.title=Wone nataal yu ndaw yi +thumbs_label=Nataal yu ndaw yi +findbar.title=Gis ci biir jukki bi +findbar_label=Wut + +# 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=Xรซt {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Wiรฑet bu xรซt {{page}} + +# Find panel button title and messages +find_previous.title=Seet beneen kaddu bu ni mel te jiitu +find_previous_label=Bi jiitu +find_next.title=Seet beneen kaddu bu ni mel +find_next_label=Bi ci topp +find_highlight=Melaxal lรฉpp +find_match_case_label=Sร mm jรซmmalin wi +find_reached_top=Jot naรฑu ndorteel xรซt wi, kontine dale ko ci suuf +find_reached_bottom=Jot naรฑu jeexitalu xรซt wi, kontine ci ndorte +find_not_found=Gisiรฑu kaddu gi + +# Error panel labels +error_more_info=Xibaar yu gรซn bari +error_less_info=Xibaar yu gรซn bari +# 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=Bataaxal: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Juug: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Dencukaay: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Rรซddย : {{line}} +rendering_error=Am njumte bu am bi xรซt bi di wonewu. + +# Predefined zoom values +page_scale_width=Yaatuwaay bu mรซt +page_scale_fit=Xรซt lรซmm +page_scale_auto=Yambalaล‹ ci saa si +page_scale_actual=Dayo bi am +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. + +# Loading indicator messages +loading_error_indicator=Njumte +loading_error=Am na njumte ci yebum dencukaay PDF bi. +invalid_file_error=Dencukaay PDF bi baaxul walla mu sankar. + +# 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=[Karmat {{type}}] +password_ok=OK +password_cancel=Neenal + +printing_not_supported=Artu: Joowkat bii nanguwul lool mool. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/xh/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/xh/viewer.properties new file mode 100644 index 0000000..1fa394b --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/xh/viewer.properties @@ -0,0 +1,184 @@ +# 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=Iphepha langaphambili +previous_label=Okwangaphambili +next.title=Iphepha elilandelayo +next_label=Okulandelayo + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Iphepha +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=kwali- {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} kwali {{pagesCount}}) + +zoom_out.title=Bhekelisela Kudana +zoom_out_label=Bhekelisela Kudana +zoom_in.title=Sondeza Kufuphi +zoom_in_label=Sondeza Kufuphi +zoom.title=Yandisa / Nciphisa +presentation_mode.title=Tshintshela kwimo yonikezelo +presentation_mode_label=Imo yonikezelo +open_file.title=Vula Ifayile +open_file_label=Vula +print.title=Printa +print_label=Printa +download.title=Khuphela +download_label=Khuphela +bookmark.title=Imbonakalo ekhoyo (kopa okanye vula kwifestile entsha) +bookmark_label=Imbonakalo ekhoyo + +# Secondary toolbar and context menu +tools.title=Izixhobo zemiyalelo +tools_label=Izixhobo zemiyalelo +first_page.title=Yiya kwiphepha lokuqala +first_page.label=Yiya kwiphepha lokuqala +first_page_label=Yiya kwiphepha lokuqala +last_page.title=Yiya kwiphepha lokugqibela +last_page.label=Yiya kwiphepha lokugqibela +last_page_label=Yiya kwiphepha lokugqibela +page_rotate_cw.title=Jikelisa ngasekunene +page_rotate_cw.label=Jikelisa ngasekunene +page_rotate_cw_label=Jikelisa ngasekunene +page_rotate_ccw.title=Jikelisa ngasekhohlo +page_rotate_ccw.label=Jikelisa ngasekhohlo +page_rotate_ccw_label=Jikelisa ngasekhohlo + +cursor_text_select_tool.title=Vumela iSixhobo sokuKhetha iTeksti +cursor_text_select_tool_label=ISixhobo sokuKhetha iTeksti +cursor_hand_tool.title=Yenza iSixhobo seSandla siSebenze +cursor_hand_tool_label=ISixhobo seSandla + +# Document properties dialog box +document_properties.title=Iipropati zoxwebhuโ€ฆ +document_properties_label=Iipropati zoxwebhuโ€ฆ +document_properties_file_name=Igama lefayile: +document_properties_file_size=Isayizi yefayile: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB (iibhayiti{{size_b}}) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB (iibhayithi{{size_b}}) +document_properties_title=Umxholo: +document_properties_author=Umbhali: +document_properties_subject=Umbandela: +document_properties_keywords=Amagama aphambili: +document_properties_creation_date=Umhla wokwenziwa kwayo: +document_properties_modification_date=Umhla wokulungiswa kwayo: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Umntu oyenzileyo: +document_properties_producer=Umvelisi we-PDF: +document_properties_version=Uhlelo lwe-PDF: +document_properties_page_count=Inani lamaphepha: +document_properties_close=Vala + +print_progress_message=Ilungisa uxwebhu ukuze iprinteโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Rhoxisa + +# 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=Togola ngebha eseCaleni +toggle_sidebar_notification.title=ISidebar yeQhosha (uxwebhu lunolwandlalo/iziqhotyoshelwa) +toggle_sidebar_label=Togola ngebha eseCaleni +document_outline.title=Bonisa uLwandlalo loXwebhu (cofa kabini ukuze wandise/diliza zonke izinto) +document_outline_label=Isishwankathelo soxwebhu +attachments.title=Bonisa iziqhotyoshelwa +attachments_label=Iziqhoboshelo +thumbs.title=Bonisa ukrobiso kumfanekiso +thumbs_label=Ukrobiso kumfanekiso +findbar.title=Fumana kuXwebhu +findbar_label=Fumana + +# 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=Iphepha {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Ukrobiso kumfanekiso wephepha {{page}} + +# Find panel button title and messages +find_input.title=Fumana +find_input.placeholder=Fumana kuXwebhuโ€ฆ +find_previous.title=Fumanisa isenzeko sangaphambili sebinzana lamagama +find_previous_label=Okwangaphambili +find_next.title=Fumanisa isenzeko esilandelayo sebinzana lamagama +find_next_label=Okulandelayo +find_highlight=Qaqambisa konke +find_match_case_label=Tshatisa ngobukhulu bukanobumba +find_reached_top=Ufike ngaphezulu ephepheni, kusukwa ngezantsi +find_reached_bottom=Ufike ekupheleni kwephepha, kusukwa ngaphezulu +find_not_found=Ibinzana alifunyenwanga + +# Error panel labels +error_more_info=Inkcazelo Engakumbi +error_less_info=Inkcazelo Encinane +error_close=Vala +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=I-PDF.js v{{version}} (yakha: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Umyalezo: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Imfumba: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Ifayile: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Umgca: {{line}} +rendering_error=Imposiso yenzekile xa bekunikezelwa iphepha. + +# Predefined zoom values +page_scale_width=Ububanzi bephepha +page_scale_fit=Ukulinganiswa kwephepha +page_scale_auto=Ukwandisa/Ukunciphisa Ngokwayo +page_scale_actual=Ubungakanani bokwenene +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=Imposiso +loading_error=Imposiso yenzekile xa kulayishwa i-PDF. +invalid_file_error=Ifayile ye-PDF engeyiyo okanye eyonakalisiweyo. +missing_file_error=Ifayile ye-PDF edukileyo. +unexpected_response_error=Impendulo yeseva engalindelekanga. + +# 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}} Ubhalo-nqaku] +password_label=Faka ipasiwedi ukuze uvule le fayile yePDF. +password_invalid=Ipasiwedi ayisebenzi. Nceda uzame kwakhona. +password_ok=KULUNGILE +password_cancel=Rhoxisa + +printing_not_supported=Isilumkiso: Ukuprinta akuxhaswa ngokupheleleyo yile bhrawuza. +printing_not_ready=Isilumkiso: IPDF ayihlohlwanga ngokupheleleyo ukwenzela ukuprinta. +web_fonts_disabled=Iifonti zewebhu ziqhwalelisiwe: ayikwazi ukusebenzisa iifonti ze-PDF ezincanyathelisiweyo. +document_colors_not_allowed=Amaxwebhu ePDF akavumelekanga ukuba asebenzise imibala yawo: 'Ukuvumela amaphepha ukuba asebenzise eyawo imibala' kuvaliwe ukuba kungasebenzi kwibhrawuza. diff --git a/NKC_WF/Scripts/pdf.js/web/locale/zh-CN/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/zh-CN/viewer.properties new file mode 100644 index 0000000..5140824 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/zh-CN/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=้กต้ข +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=/ {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} / {{pagesCount}}) + +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=้€†ๆ—ถ้’ˆๆ—‹่ฝฌ + +cursor_text_select_tool.title=ๅฏ็”จๆ–‡ๆœฌ้€‰ๆ‹ฉๅทฅๅ…ท +cursor_text_select_tool_label=ๆ–‡ๆœฌ้€‰ๆ‹ฉๅทฅๅ…ท +cursor_hand_tool.title=ๅฏ็”จๆ‰‹ๅฝขๅทฅๅ…ท +cursor_hand_tool_label=ๆ‰‹ๅฝขๅทฅๅ…ท + +# Document properties dialog box +document_properties.title=ๆ–‡ๆกฃๅฑžๆ€งโ€ฆ +document_properties_label=ๆ–‡ๆกฃๅฑžๆ€งโ€ฆ +document_properties_file_name=ๆ–‡ไปถๅ: +document_properties_file_size=ๆ–‡ไปถๅคงๅฐ: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} ๅญ—่Š‚) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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=ไฟฎๆ”นๆ—ฅๆœŸ: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=ๅˆ›ๅปบ่€…: +document_properties_producer=PDF ๅˆถไฝœ่€…: +document_properties_version=PDF ็‰ˆๆœฌ: +document_properties_page_count=้กตๆ•ฐ: +document_properties_close=ๅ…ณ้—ญ + +print_progress_message=ๆญฃๅœจๅ‡†ๅค‡ๆ‰“ๅฐๆ–‡ๆกฃโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_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_notification.title=ๅˆ‡ๆขไพงๆ ๏ผˆๆ–‡ๆกฃๆ‰€ๅซ็š„ๅคง็บฒ/้™„ไปถ๏ผ‰ +toggle_sidebar_label=ๅˆ‡ๆขไพงๆ  +document_outline.title=ๆ˜พ็คบๆ–‡ๆกฃๅคง็บฒ๏ผˆๅŒๅ‡ปๅฑ•ๅผ€/ๆŠ˜ๅ ๆ‰€ๆœ‰้กน๏ผ‰ +document_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_input.title=ๆŸฅๆ‰พ +find_input.placeholder=ๅœจๆ–‡ๆกฃไธญๆŸฅๆ‰พโ€ฆ +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=ๅฎž้™…ๅคงๅฐ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=้”™่ฏฏ +loading_error=่ฝฝๅ…ฅPDFๆ—ถๅ‘็”Ÿ้”™่ฏฏใ€‚ +invalid_file_error=ๆ— ๆ•ˆๆˆ–ๆŸๅ็š„PDFๆ–‡ไปถใ€‚ +missing_file_error=็ผบๅฐ‘PDFๆ–‡ไปถใ€‚ +unexpected_response_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=่พ“ๅ…ฅๅฏ†็ ไปฅๆ‰“ๅผ€ๆญค PDF ๆ–‡ไปถใ€‚ +password_invalid=ๅฏ†็ ๆ— ๆ•ˆใ€‚่ฏท้‡่ฏ•ใ€‚ +password_ok=็กฎๅฎš +password_cancel=ๅ–ๆถˆ + +printing_not_supported=่ญฆๅ‘Š๏ผšๆญคๆต่งˆๅ™จๅฐšๆœชๅฎŒๆ•ดๆ”ฏๆŒๆ‰“ๅฐๅŠŸ่ƒฝใ€‚ +printing_not_ready=่ญฆๅ‘Š๏ผš่ฏฅ PDF ๆœชๅฎŒๅ…จ่ฝฝๅ…ฅไปฅไพ›ๆ‰“ๅฐใ€‚ +web_fonts_disabled=Web ๅญ—ไฝ“ๅทฒ่ขซ็ฆ็”จ๏ผšๆ— ๆณ•ไฝฟ็”จๅตŒๅ…ฅ็š„PDFๅญ—ไฝ“ใ€‚ +document_colors_not_allowed=ไธๅ…่ฎธ PDF ๆ–‡ๆกฃไฝฟ็”จ่‡ชๅทฑ็š„้ขœ่‰ฒ๏ผšๆต่งˆๅ™จไธญโ€œๅ…่ฎธ้กต้ข้€‰ๆ‹ฉ่‡ชๅทฑ็š„้ขœ่‰ฒโ€็š„้€‰้กนๅทฒๅœ็”จใ€‚ diff --git a/NKC_WF/Scripts/pdf.js/web/locale/zh-TW/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/zh-TW/viewer.properties new file mode 100644 index 0000000..67f6425 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/zh-TW/viewer.properties @@ -0,0 +1,184 @@ +# 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.title): The tooltip for the pageNumber input. +page.title=็ฌฌ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=้ ๏ผŒๅ…ฑ {{pagesCount}} ้  +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=๏ผˆ็ฌฌ {{pageNumber}} ้ ๏ผŒๅ…ฑ {{pagesCount}} ้ ๏ผ‰ + +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=้€†ๆ™‚้‡ๆ—‹่ฝ‰ + +cursor_text_select_tool.title=้–‹ๅ•Ÿๆ–‡ๅญ—้ธๆ“‡ๅทฅๅ…ท +cursor_text_select_tool_label=ๆ–‡ๅญ—้ธๆ“‡ๅทฅๅ…ท +cursor_hand_tool.title=้–‹ๅ•Ÿ้ ้ข็งปๅ‹•ๅทฅๅ…ท +cursor_hand_tool_label=้ ้ข็งปๅ‹•ๅทฅๅ…ท + +# Document properties dialog box +document_properties.title=ๆ–‡ไปถๅ…งๅฎนโ€ฆ +document_properties_label=ๆ–‡ไปถๅ…งๅฎนโ€ฆ +document_properties_file_name=ๆช”ๆกˆๅ็จฑ: +document_properties_file_size=ๆช”ๆกˆๅคงๅฐ: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB๏ผˆ{{size_b}} ไฝๅ…ƒ็ต„๏ผ‰ +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +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=ไฟฎๆ”นๆ—ฅๆœŸ: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=ๅปบ็ซ‹่€…: +document_properties_producer=PDF ็”ข็”Ÿๅ™จ: +document_properties_version=PDF ็‰ˆๆœฌ: +document_properties_page_count=้ ๆ•ธ: +document_properties_close=้—œ้–‰ + +print_progress_message=ๆญฃๅœจๆบ–ๅ‚™ๅˆ—ๅฐๆ–‡ไปถโ€ฆ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_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_notification.title=ๅˆ‡ๆ›ๅด้‚Šๆ””๏ผˆๆ–‡ไปถๅŒ…ๅซๅคง็ถฑๆˆ–้™„ไปถ๏ผ‰ +toggle_sidebar_label=ๅˆ‡ๆ›ๅด้‚Šๆฌ„ +document_outline.title=้กฏ็คบๆ–‡ไปถๅคง็ถฑ๏ผˆ้›™ๆ“Šๅฑ•้–‹/ๆ‘บ็–Šๆ‰€ๆœ‰้ …็›ฎ๏ผ‰ +document_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_input.title=ๆœๅฐ‹ +find_input.placeholder=ๅœจๆ–‡ไปถไธญๆœๅฐ‹โ€ฆ +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=ๅฏฆ้š›ๅคงๅฐ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error_indicator=้Œฏ่ชค +loading_error=่ผ‰ๅ…ฅ PDF ๆ™‚็™ผ็”Ÿ้Œฏ่ชคใ€‚ +invalid_file_error=็„กๆ•ˆๆˆ–ๆฏ€ๆ็š„ PDF ๆช”ๆกˆใ€‚ +missing_file_error=ๆ‰พไธๅˆฐ PDF ๆช”ๆกˆใ€‚ +unexpected_response_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=่ซ‹่ผธๅ…ฅ็”จไพ†้–‹ๅ•Ÿๆญค PDF ๆช”ๆกˆ็š„ๅฏ†็ขผใ€‚ +password_invalid=ๅฏ†็ขผไธๆญฃ็ขบ๏ผŒ่ซ‹ๅ†่ฉฆไธ€ๆฌกใ€‚ +password_ok=็ขบๅฎš +password_cancel=ๅ–ๆถˆ + +printing_not_supported=่ญฆๅ‘Š: ๆญค็€่ฆฝๅ™จๆœชๅฎŒๆ•ดๆ”ฏๆดๅˆ—ๅฐๅŠŸ่ƒฝใ€‚ +printing_not_ready=่ญฆๅ‘Š: ๆญค PDF ๆœชๅฎŒๆˆไธ‹่ผ‰ไปฅไพ›ๅˆ—ๅฐใ€‚ +web_fonts_disabled=ๅทฒๅœ็”จ็ถฒ่ทฏๅญ—ๅž‹ (Web fonts): ็„กๆณ•ไฝฟ็”จ PDF ๅ…งๅตŒๅญ—ๅž‹ใ€‚ +document_colors_not_allowed=็€่ฆฝๅ™จ็š„ใ€Œๅ„ชๅ…ˆไฝฟ็”จ็ถฒ้ ๆŒ‡ๅฎš็š„่‰ฒๅฝฉใ€ๆœช่ขซๅ‹พ้ธ๏ผŒPDF ๆ–‡ไปถ็„กๆณ•ไฝฟ็”จ่‡ชๅทฑ็š„่‰ฒๅฝฉใ€‚ diff --git a/NKC_WF/Scripts/pdf.js/web/locale/zu/viewer.properties b/NKC_WF/Scripts/pdf.js/web/locale/zu/viewer.properties new file mode 100644 index 0000000..8fc77f2 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/locale/zu/viewer.properties @@ -0,0 +1,131 @@ +# 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=Ikhasi eledlule +previous_label=Okudlule +next.title=Ikhasi elilandelayo +next_label=Okulandelayo + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. + +zoom_out.title=Hlehlisela emuva +zoom_out_label=Hlehlisela emuva +zoom_in.title=Sondeza eduze +zoom_in_label=Sondeza eduze +zoom.title=Lwiza +presentation_mode.title=Guqulela kwindlela yesethulo +presentation_mode_label=Indlelo yesethulo +open_file.title=Vula ifayela +open_file_label=Vula +print.title=Phrinta +print_label=Phrinta +download.title=Landa +download_label=Landa +bookmark.title=Ukubuka kwamanje (kopisha noma vula kwifasitela elisha) +bookmark_label=Ukubuka kwamanje + +# Secondary toolbar and context menu + + +# Document properties dialog box +document_properties_file_name=Igama lefayela: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_title=Isihloko: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. + +# 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=I-toggle yebha yaseceleni +toggle_sidebar_label=i-toggle yebha yaseceleni +document_outline_label=Umugqa waseceleni wedokhumenti +thumbs.title=Bonisa izithombe ezincane +thumbs_label=Izithonjana +findbar.title=Thola kwidokhumenti + +# 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=Ikhasi {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Isithonjana sekhasi {{page}} + +# Find panel button title and messages +find_previous.title=Thola indawo eyandulelayo okuvela kuyo lomshwana +find_previous_label=Okudlulile +find_next.title=Thola enye indawo okuvela kuyo lomshwana +find_next_label=Okulandelayo +find_highlight=Gqamisa konke +find_match_case_label=Fanisa ikheyisi +find_reached_top=Finyelele phezulu kwidokhumenti, qhubeka kusukaphansi +find_reached_bottom=Ifinyelele ekupheleni kwedokhumenti, qhubeka kusukaphezulu +find_not_found=Umshwana awutholakali + +# Error panel labels +error_more_info=Ukwaziswa Okwengeziwe +error_less_info=Ukwazi okuncane +# 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=Umlayezo: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Isitaki: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Ifayela: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Umugqa: {{line}} +rendering_error=Iphutha lenzekile uma kunikwa ikhasi. + +# Predefined zoom values +page_scale_width=Ububanzi bekhasi +page_scale_fit=Ukulingana kwekhasi +page_scale_auto=Ukulwiza okuzenzekalelayo +page_scale_actual=Usayizi Wangempela +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. + +# Loading indicator messages +loading_error_indicator=Iphutha +loading_error=Kwenzeke iphutha uma kulayishwa i-PDF. +invalid_file_error=Ifayela le-PDF elingavumelekile noma elonakele. +missing_file_error=Ifayela le-PDF elilahlekile. + +# 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=[Amazwibela e-{{type}}] +password_ok=Kulungile + +printing_not_supported=Isixwayiso: Ukuphrinta akuxhasiwe yilesisiphequluli ngokugcwele. +printing_not_ready=Isixwayiso: I-PDF ayikalayishwa ngokuphelele yiPhrinta. +web_fonts_disabled=Amafonti e-webhu akutshaziwe: ayikwazi ukusebenzisa amafonti abekiwe e-PDF.\u0020 +document_colors_not_allowed=Amadokhumenti we-PDF awavumelekile ukusebenzisa imibalo yayo: 'Vumela amakhasi ukukhetha imibala yayo' ayisebenzi kusiphequluli. diff --git a/NKC_WF/Scripts/pdf.js/web/viewer.css b/NKC_WF/Scripts/pdf.js/web/viewer.css new file mode 100644 index 0000000..3c45976 --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/viewer.css @@ -0,0 +1,2276 @@ +/* Copyright 2014 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. + */ + +.textLayer { + position: absolute; + left: 0; + top: 0; + right: 0; + bottom: 0; + overflow: hidden; + opacity: 0.2; + line-height: 1.0; +} + +.textLayer > div { + color: transparent; + position: absolute; + white-space: pre; + cursor: text; + -webkit-transform-origin: 0% 0%; + -moz-transform-origin: 0% 0%; + -o-transform-origin: 0% 0%; + -ms-transform-origin: 0% 0%; + transform-origin: 0% 0%; +} + +.textLayer .highlight { + margin: -1px; + padding: 1px; + + background-color: rgb(180, 0, 170); + border-radius: 4px; +} + +.textLayer .highlight.begin { + border-radius: 4px 0px 0px 4px; +} + +.textLayer .highlight.end { + border-radius: 0px 4px 4px 0px; +} + +.textLayer .highlight.middle { + border-radius: 0px; +} + +.textLayer .highlight.selected { + background-color: rgb(0, 100, 0); +} + +.textLayer ::selection { background: rgb(0,0,255); } +.textLayer ::-moz-selection { background: rgb(0,0,255); } + +.textLayer .endOfContent { + display: block; + position: absolute; + left: 0px; + top: 100%; + right: 0px; + bottom: 0px; + z-index: -1; + cursor: default; + -webkit-user-select: none; + -ms-user-select: none; + -moz-user-select: none; +} + +.textLayer .endOfContent.active { + top: 0px; +} + + +.annotationLayer section { + position: absolute; +} + +.annotationLayer .linkAnnotation > a { + position: absolute; + font-size: 1em; + top: 0; + left: 0; + width: 100%; + height: 100%; +} + +.annotationLayer .linkAnnotation > a /* -ms-a */ { + background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7") 0 0 repeat; +} + +.annotationLayer .linkAnnotation > a:hover { + opacity: 0.2; + background: #ff0; + box-shadow: 0px 2px 10px #ff0; +} + +.annotationLayer .textAnnotation img { + position: absolute; + cursor: pointer; +} + +.annotationLayer .textWidgetAnnotation input, +.annotationLayer .textWidgetAnnotation textarea, +.annotationLayer .choiceWidgetAnnotation select, +.annotationLayer .buttonWidgetAnnotation.checkBox input, +.annotationLayer .buttonWidgetAnnotation.radioButton input { + background-color: rgba(0, 54, 255, 0.13); + border: 1px solid transparent; + box-sizing: border-box; + font-size: 9px; + height: 100%; + margin: 0; + padding: 0 3px; + vertical-align: top; + width: 100%; +} + +.annotationLayer .choiceWidgetAnnotation select option { + padding: 0; +} + +.annotationLayer .buttonWidgetAnnotation.radioButton input { + border-radius: 50%; +} + +.annotationLayer .textWidgetAnnotation textarea { + font: message-box; + font-size: 9px; + resize: none; +} + +.annotationLayer .textWidgetAnnotation input[disabled], +.annotationLayer .textWidgetAnnotation textarea[disabled], +.annotationLayer .choiceWidgetAnnotation select[disabled], +.annotationLayer .buttonWidgetAnnotation.checkBox input[disabled], +.annotationLayer .buttonWidgetAnnotation.radioButton input[disabled] { + background: none; + border: 1px solid transparent; + cursor: not-allowed; +} + +.annotationLayer .textWidgetAnnotation input:hover, +.annotationLayer .textWidgetAnnotation textarea:hover, +.annotationLayer .choiceWidgetAnnotation select:hover, +.annotationLayer .buttonWidgetAnnotation.checkBox input:hover, +.annotationLayer .buttonWidgetAnnotation.radioButton input:hover { + border: 1px solid #000; +} + +.annotationLayer .textWidgetAnnotation input:focus, +.annotationLayer .textWidgetAnnotation textarea:focus, +.annotationLayer .choiceWidgetAnnotation select:focus { + background: none; + border: 1px solid transparent; +} + +.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before, +.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after, +.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before { + background-color: #000; + content: ''; + display: block; + position: absolute; +} + +.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before, +.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after { + height: 80%; + left: 45%; + width: 1px; +} + +.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before { + transform: rotate(45deg); +} + +.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after { + transform: rotate(-45deg); +} + +.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before { + border-radius: 50%; + height: 50%; + left: 30%; + top: 20%; + width: 50%; +} + +.annotationLayer .textWidgetAnnotation input.comb { + font-family: monospace; + padding-left: 2px; + padding-right: 0; +} + +.annotationLayer .textWidgetAnnotation input.comb:focus { + /* + * Letter spacing is placed on the right side of each character. Hence, the + * letter spacing of the last character may be placed outside the visible + * area, causing horizontal scrolling. We avoid this by extending the width + * when the element has focus and revert this when it loses focus. + */ + width: 115%; +} + +.annotationLayer .buttonWidgetAnnotation.checkBox input, +.annotationLayer .buttonWidgetAnnotation.radioButton input { + -webkit-appearance: none; + -moz-appearance: none; + -ms-appearance: none; + appearance: none; + padding: 0; +} + +.annotationLayer .popupWrapper { + position: absolute; + width: 20em; +} + +.annotationLayer .popup { + position: absolute; + z-index: 200; + max-width: 20em; + background-color: #FFFF99; + box-shadow: 0px 2px 5px #333; + border-radius: 2px; + padding: 0.6em; + margin-left: 5px; + cursor: pointer; + font: message-box; + word-wrap: break-word; +} + +.annotationLayer .popup h1 { + font-size: 1em; + border-bottom: 1px solid #000000; + margin: 0; + padding-bottom: 0.2em; +} + +.annotationLayer .popup p { + margin: 0; + padding-top: 0.2em; +} + +.annotationLayer .highlightAnnotation, +.annotationLayer .underlineAnnotation, +.annotationLayer .squigglyAnnotation, +.annotationLayer .strikeoutAnnotation, +.annotationLayer .lineAnnotation svg line, +.annotationLayer .squareAnnotation svg rect, +.annotationLayer .circleAnnotation svg ellipse, +.annotationLayer .polylineAnnotation svg polyline, +.annotationLayer .polygonAnnotation svg polygon, +.annotationLayer .stampAnnotation, +.annotationLayer .fileAttachmentAnnotation { + cursor: pointer; +} + +.pdfViewer .canvasWrapper { + overflow: hidden; +} + +.pdfViewer .page { + direction: ltr; + width: 816px; + height: 1056px; + margin: 1px auto -8px auto; + position: relative; + overflow: visible; + border: 9px solid transparent; + background-clip: content-box; + border-image: url(images/shadow.png) 9 9 repeat; + background-color: white; +} + +.pdfViewer.removePageBorders .page { + margin: 0px auto 10px auto; + border: none; +} + +.pdfViewer.singlePageView { + display: inline-block; +} + +.pdfViewer.singlePageView .page { + margin: 0; + border: none; +} + +.pdfViewer .page canvas { + margin: 0; + display: block; +} + +.pdfViewer .page canvas[hidden] { + display: none; +} + +.pdfViewer .page .loadingIcon { + position: absolute; + display: block; + left: 0; + top: 0; + right: 0; + bottom: 0; + background: url('images/loading-icon.gif') center no-repeat; +} + +.pdfPresentationMode:-webkit-full-screen .pdfViewer .page { + margin-bottom: 100%; + border: 0; +} + +.pdfPresentationMode:-moz-full-screen .pdfViewer .page { + margin-bottom: 100%; + border: 0; +} + +.pdfPresentationMode:-ms-fullscreen .pdfViewer .page { + margin-bottom: 100% !important; + border: 0; +} + +.pdfPresentationMode:fullscreen .pdfViewer .page { + margin-bottom: 100%; + border: 0; +} + +* { + padding: 0; + margin: 0; +} + +html { + height: 100%; + width: 100%; + /* Font size is needed to make the activity bar the correct size. */ + font-size: 10px; +} + +body { + height: 100%; + width: 100%; + background-color: #404040; + background-image: url(images/texture.png); +} + +body, +input, +button, +select { + font: message-box; + outline: none; +} + +.hidden { + display: none !important; +} +[hidden] { + display: none !important; +} + +#viewerContainer.pdfPresentationMode:-webkit-full-screen { + top: 0px; + border-top: 2px solid transparent; + background-color: #000; + width: 100%; + height: 100%; + overflow: hidden; + cursor: none; + -webkit-user-select: none; +} + +#viewerContainer.pdfPresentationMode:-moz-full-screen { + top: 0px; + border-top: 2px solid transparent; + background-color: #000; + width: 100%; + height: 100%; + overflow: hidden; + cursor: none; + -moz-user-select: none; +} + +#viewerContainer.pdfPresentationMode:-ms-fullscreen { + top: 0px !important; + border-top: 2px solid transparent; + width: 100%; + height: 100%; + overflow: hidden !important; + cursor: none; + -ms-user-select: none; +} + +#viewerContainer.pdfPresentationMode:-ms-fullscreen::-ms-backdrop { + background-color: #000; +} + +#viewerContainer.pdfPresentationMode:fullscreen { + top: 0px; + border-top: 2px solid transparent; + background-color: #000; + width: 100%; + height: 100%; + overflow: hidden; + cursor: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; +} + +.pdfPresentationMode:-webkit-full-screen a:not(.internalLink) { + display: none; +} + +.pdfPresentationMode:-moz-full-screen a:not(.internalLink) { + display: none; +} + +.pdfPresentationMode:-ms-fullscreen a:not(.internalLink) { + display: none !important; +} + +.pdfPresentationMode:fullscreen a:not(.internalLink) { + display: none; +} + +.pdfPresentationMode:-webkit-full-screen .textLayer > div { + cursor: none; +} + +.pdfPresentationMode:-moz-full-screen .textLayer > div { + cursor: none; +} + +.pdfPresentationMode:-ms-fullscreen .textLayer > div { + cursor: none; +} + +.pdfPresentationMode:fullscreen .textLayer > div { + cursor: none; +} + +.pdfPresentationMode.pdfPresentationModeControls > *, +.pdfPresentationMode.pdfPresentationModeControls .textLayer > div { + cursor: default; +} + +#outerContainer { + width: 100%; + height: 100%; + position: relative; +} + +#sidebarContainer { + position: absolute; + top: 0; + bottom: 0; + width: 200px; + visibility: hidden; + -webkit-transition-duration: 200ms; + -webkit-transition-timing-function: ease; + transition-duration: 200ms; + transition-timing-function: ease; + +} +html[dir='ltr'] #sidebarContainer { + -webkit-transition-property: left; + transition-property: left; + left: -200px; +} +html[dir='rtl'] #sidebarContainer { + -webkit-transition-property: right; + transition-property: right; + right: -200px; +} + +#outerContainer.sidebarMoving > #sidebarContainer, +#outerContainer.sidebarOpen > #sidebarContainer { + visibility: visible; +} +html[dir='ltr'] #outerContainer.sidebarOpen > #sidebarContainer { + left: 0px; +} +html[dir='rtl'] #outerContainer.sidebarOpen > #sidebarContainer { + right: 0px; +} + +#mainContainer { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + min-width: 320px; + -webkit-transition-duration: 200ms; + -webkit-transition-timing-function: ease; + transition-duration: 200ms; + transition-timing-function: ease; +} +html[dir='ltr'] #outerContainer.sidebarOpen > #mainContainer { + -webkit-transition-property: left; + transition-property: left; + left: 200px; +} +html[dir='rtl'] #outerContainer.sidebarOpen > #mainContainer { + -webkit-transition-property: right; + transition-property: right; + right: 200px; +} + +#sidebarContent { + top: 32px; + bottom: 0; + overflow: auto; + -webkit-overflow-scrolling: touch; + position: absolute; + width: 200px; + background-color: hsla(0,0%,0%,.1); +} +html[dir='ltr'] #sidebarContent { + left: 0; + box-shadow: inset -1px 0 0 hsla(0,0%,0%,.25); +} +html[dir='rtl'] #sidebarContent { + right: 0; + box-shadow: inset 1px 0 0 hsla(0,0%,0%,.25); +} + +#viewerContainer { + overflow: auto; + -webkit-overflow-scrolling: touch; + position: absolute; + top: 32px; + right: 0; + bottom: 0; + left: 0; + outline: none; +} +html[dir='ltr'] #viewerContainer { + box-shadow: inset 1px 0 0 hsla(0,0%,100%,.05); +} +html[dir='rtl'] #viewerContainer { + box-shadow: inset -1px 0 0 hsla(0,0%,100%,.05); +} + +.toolbar { + position: relative; + left: 0; + right: 0; + z-index: 9999; + cursor: default; +} + +#toolbarContainer { + width: 100%; +} + +#toolbarSidebar { + width: 200px; + height: 32px; + background-color: #424242; /* fallback */ + background-image: url(images/texture.png), + linear-gradient(hsla(0,0%,30%,.99), hsla(0,0%,25%,.95)); +} +html[dir='ltr'] #toolbarSidebar { + box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.25), + inset 0 -1px 0 hsla(0,0%,100%,.05), + 0 1px 0 hsla(0,0%,0%,.15), + 0 0 1px hsla(0,0%,0%,.1); +} +html[dir='rtl'] #toolbarSidebar { + box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.25), + inset 0 1px 0 hsla(0,0%,100%,.05), + 0 1px 0 hsla(0,0%,0%,.15), + 0 0 1px hsla(0,0%,0%,.1); +} + +#toolbarContainer, .findbar, .secondaryToolbar { + position: relative; + height: 32px; + background-color: #474747; /* fallback */ + background-image: url(images/texture.png), + linear-gradient(hsla(0,0%,32%,.99), hsla(0,0%,27%,.95)); +} +html[dir='ltr'] #toolbarContainer, .findbar, .secondaryToolbar { + box-shadow: inset 1px 0 0 hsla(0,0%,100%,.08), + inset 0 1px 1px hsla(0,0%,0%,.15), + inset 0 -1px 0 hsla(0,0%,100%,.05), + 0 1px 0 hsla(0,0%,0%,.15), + 0 1px 1px hsla(0,0%,0%,.1); +} +html[dir='rtl'] #toolbarContainer, .findbar, .secondaryToolbar { + box-shadow: inset -1px 0 0 hsla(0,0%,100%,.08), + inset 0 1px 1px hsla(0,0%,0%,.15), + inset 0 -1px 0 hsla(0,0%,100%,.05), + 0 1px 0 hsla(0,0%,0%,.15), + 0 1px 1px hsla(0,0%,0%,.1); +} + +#toolbarViewer { + height: 32px; +} + +#loadingBar { + position: relative; + width: 100%; + height: 4px; + background-color: #333; + border-bottom: 1px solid #333; +} + +#loadingBar .progress { + position: absolute; + top: 0; + left: 0; + width: 0%; + height: 100%; + background-color: #ddd; + overflow: hidden; + -webkit-transition: width 200ms; + transition: width 200ms; +} + +@-webkit-keyframes progressIndeterminate { + 0% { left: -142px; } + 100% { left: 0; } +} + +@keyframes progressIndeterminate { + 0% { left: -142px; } + 100% { left: 0; } +} + +#loadingBar .progress.indeterminate { + background-color: #999; + -webkit-transition: none; + transition: none; +} + +#loadingBar .progress.indeterminate .glimmer { + position: absolute; + top: 0; + left: 0; + height: 100%; + width: calc(100% + 150px); + + background: repeating-linear-gradient(135deg, + #bbb 0, #999 5px, + #999 45px, #ddd 55px, + #ddd 95px, #bbb 100px); + + -webkit-animation: progressIndeterminate 950ms linear infinite; + animation: progressIndeterminate 950ms linear infinite; +} + +.findbar, .secondaryToolbar { + top: 32px; + position: absolute; + z-index: 10000; + height: auto; + min-width: 16px; + padding: 0px 6px 0px 6px; + margin: 4px 2px 4px 2px; + color: hsl(0,0%,85%); + font-size: 12px; + line-height: 14px; + text-align: left; + cursor: default; +} + +.findbar { + min-width: 300px; +} +.findbar > div { + height: 32px; +} +.findbar.wrapContainers > div { + clear: both; +} +.findbar.wrapContainers > div#findbarMessageContainer { + height: auto; +} +html[dir='ltr'] .findbar { + left: 68px; +} +html[dir='rtl'] .findbar { + right: 68px; +} + +.findbar label { + -webkit-user-select: none; + -moz-user-select: none; +} + +#findInput { + width: 200px; +} +#findInput::-webkit-input-placeholder { + font-style: italic; +} +#findInput::-moz-placeholder { + font-style: italic; +} +#findInput:-ms-input-placeholder { + font-style: italic; +} +#findInput::placeholder { + font-style: italic; +} +#findInput[data-status="pending"] { + background-image: url(images/loading-small.png); + background-repeat: no-repeat; + background-position: right; +} +html[dir='rtl'] #findInput[data-status="pending"] { + background-position: left; +} + +.secondaryToolbar { + padding: 6px; + height: auto; + z-index: 30000; +} +html[dir='ltr'] .secondaryToolbar { + right: 4px; +} +html[dir='rtl'] .secondaryToolbar { + left: 4px; +} + +#secondaryToolbarButtonContainer { + max-width: 200px; + max-height: 400px; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + margin-bottom: -4px; +} + +.doorHanger, +.doorHangerRight { + border: 1px solid hsla(0,0%,0%,.5); + border-radius: 2px; + box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); +} +.doorHanger:after, .doorHanger:before, +.doorHangerRight:after, .doorHangerRight:before { + bottom: 100%; + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; + pointer-events: none; +} +.doorHanger:after, +.doorHangerRight:after { + border-bottom-color: hsla(0,0%,32%,.99); + border-width: 8px; +} +.doorHanger:before, +.doorHangerRight:before { + border-bottom-color: hsla(0,0%,0%,.5); + border-width: 9px; +} + +html[dir='ltr'] .doorHanger:after, +html[dir='rtl'] .doorHangerRight:after { + left: 13px; + margin-left: -8px; +} + +html[dir='ltr'] .doorHanger:before, +html[dir='rtl'] .doorHangerRight:before { + left: 13px; + margin-left: -9px; +} + +html[dir='rtl'] .doorHanger:after, +html[dir='ltr'] .doorHangerRight:after { + right: 13px; + margin-right: -8px; +} + +html[dir='rtl'] .doorHanger:before, +html[dir='ltr'] .doorHangerRight:before { + right: 13px; + margin-right: -9px; +} + +#findResultsCount { + background-color: hsl(0, 0%, 85%); + color: hsl(0, 0%, 32%); + text-align: center; + padding: 3px 4px; +} + +#findMsg { + font-style: italic; + color: #A6B7D0; +} +#findMsg:empty { + display: none; +} + +#findInput.notFound { + background-color: rgb(255, 102, 102); +} + +#toolbarViewerMiddle { + position: absolute; + left: 50%; + transform: translateX(-50%); +} + +html[dir='ltr'] #toolbarViewerLeft, +html[dir='rtl'] #toolbarViewerRight { + float: left; +} +html[dir='ltr'] #toolbarViewerRight, +html[dir='rtl'] #toolbarViewerLeft { + float: right; +} +html[dir='ltr'] #toolbarViewerLeft > *, +html[dir='ltr'] #toolbarViewerMiddle > *, +html[dir='ltr'] #toolbarViewerRight > *, +html[dir='ltr'] .findbar * { + position: relative; + float: left; +} +html[dir='rtl'] #toolbarViewerLeft > *, +html[dir='rtl'] #toolbarViewerMiddle > *, +html[dir='rtl'] #toolbarViewerRight > *, +html[dir='rtl'] .findbar * { + position: relative; + float: right; +} + +html[dir='ltr'] .splitToolbarButton { + margin: 3px 2px 4px 0; + display: inline-block; +} +html[dir='rtl'] .splitToolbarButton { + margin: 3px 0 4px 2px; + display: inline-block; +} +html[dir='ltr'] .splitToolbarButton > .toolbarButton { + border-radius: 0; + float: left; +} +html[dir='rtl'] .splitToolbarButton > .toolbarButton { + border-radius: 0; + float: right; +} + +.toolbarButton, +.secondaryToolbarButton, +.overlayButton { + border: 0 none; + background: none; + width: 32px; + height: 25px; +} + +.toolbarButton > span { + display: inline-block; + width: 0; + height: 0; + overflow: hidden; +} + +.toolbarButton[disabled], +.secondaryToolbarButton[disabled], +.overlayButton[disabled] { + opacity: .5; +} + +.splitToolbarButton.toggled .toolbarButton { + margin: 0; +} + +.splitToolbarButton:hover > .toolbarButton, +.splitToolbarButton:focus > .toolbarButton, +.splitToolbarButton.toggled > .toolbarButton, +.toolbarButton.textButton { + background-color: hsla(0,0%,0%,.12); + background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0)); + background-clip: padding-box; + border: 1px solid hsla(0,0%,0%,.35); + border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42); + box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset, + 0 0 1px hsla(0,0%,100%,.15) inset, + 0 1px 0 hsla(0,0%,100%,.05); + -webkit-transition-property: background-color, border-color, box-shadow; + -webkit-transition-duration: 150ms; + -webkit-transition-timing-function: ease; + transition-property: background-color, border-color, box-shadow; + transition-duration: 150ms; + transition-timing-function: ease; + +} +.splitToolbarButton > .toolbarButton:hover, +.splitToolbarButton > .toolbarButton:focus, +.dropdownToolbarButton:hover, +.overlayButton:hover, +.overlayButton:focus, +.toolbarButton.textButton:hover, +.toolbarButton.textButton:focus { + background-color: hsla(0,0%,0%,.2); + box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset, + 0 0 1px hsla(0,0%,100%,.15) inset, + 0 0 1px hsla(0,0%,0%,.05); + z-index: 199; +} +.splitToolbarButton > .toolbarButton { + position: relative; +} +html[dir='ltr'] .splitToolbarButton > .toolbarButton:first-child, +html[dir='rtl'] .splitToolbarButton > .toolbarButton:last-child { + position: relative; + margin: 0; + margin-right: -1px; + border-top-left-radius: 2px; + border-bottom-left-radius: 2px; + border-right-color: transparent; +} +html[dir='ltr'] .splitToolbarButton > .toolbarButton:last-child, +html[dir='rtl'] .splitToolbarButton > .toolbarButton:first-child { + position: relative; + margin: 0; + margin-left: -1px; + border-top-right-radius: 2px; + border-bottom-right-radius: 2px; + border-left-color: transparent; +} +.splitToolbarButtonSeparator { + padding: 8px 0; + width: 1px; + background-color: hsla(0,0%,0%,.5); + z-index: 99; + box-shadow: 0 0 0 1px hsla(0,0%,100%,.08); + display: inline-block; + margin: 5px 0; +} +html[dir='ltr'] .splitToolbarButtonSeparator { + float: left; +} +html[dir='rtl'] .splitToolbarButtonSeparator { + float: right; +} +.splitToolbarButton:hover > .splitToolbarButtonSeparator, +.splitToolbarButton.toggled > .splitToolbarButtonSeparator { + padding: 12px 0; + margin: 1px 0; + box-shadow: 0 0 0 1px hsla(0,0%,100%,.03); + -webkit-transition-property: padding; + -webkit-transition-duration: 10ms; + -webkit-transition-timing-function: ease; + transition-property: padding; + transition-duration: 10ms; + transition-timing-function: ease; +} + +.toolbarButton, +.dropdownToolbarButton, +.secondaryToolbarButton, +.overlayButton { + min-width: 16px; + padding: 2px 6px 0; + border: 1px solid transparent; + border-radius: 2px; + color: hsla(0,0%,100%,.8); + font-size: 12px; + line-height: 14px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + /* Opera does not support user-select, use <... unselectable="on"> instead */ + cursor: default; + -webkit-transition-property: background-color, border-color, box-shadow; + -webkit-transition-duration: 150ms; + -webkit-transition-timing-function: ease; + transition-property: background-color, border-color, box-shadow; + transition-duration: 150ms; + transition-timing-function: ease; +} + +html[dir='ltr'] .toolbarButton, +html[dir='ltr'] .overlayButton, +html[dir='ltr'] .dropdownToolbarButton { + margin: 3px 2px 4px 0; +} +html[dir='rtl'] .toolbarButton, +html[dir='rtl'] .overlayButton, +html[dir='rtl'] .dropdownToolbarButton { + margin: 3px 0 4px 2px; +} + +.toolbarButton:hover, +.toolbarButton:focus, +.dropdownToolbarButton, +.overlayButton, +.secondaryToolbarButton:hover, +.secondaryToolbarButton:focus { + background-color: hsla(0,0%,0%,.12); + background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0)); + background-clip: padding-box; + border: 1px solid hsla(0,0%,0%,.35); + border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42); + box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset, + 0 0 1px hsla(0,0%,100%,.15) inset, + 0 1px 0 hsla(0,0%,100%,.05); +} + +.toolbarButton:hover:active, +.overlayButton:hover:active, +.dropdownToolbarButton:hover:active, +.secondaryToolbarButton:hover:active { + background-color: hsla(0,0%,0%,.2); + background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0)); + border-color: hsla(0,0%,0%,.35) hsla(0,0%,0%,.4) hsla(0,0%,0%,.45); + box-shadow: 0 1px 1px hsla(0,0%,0%,.1) inset, + 0 0 1px hsla(0,0%,0%,.2) inset, + 0 1px 0 hsla(0,0%,100%,.05); + -webkit-transition-property: background-color, border-color, box-shadow; + -webkit-transition-duration: 10ms; + -webkit-transition-timing-function: linear; + transition-property: background-color, border-color, box-shadow; + transition-duration: 10ms; + transition-timing-function: linear; +} + +.toolbarButton.toggled, +.splitToolbarButton.toggled > .toolbarButton.toggled, +.secondaryToolbarButton.toggled { + background-color: hsla(0,0%,0%,.3); + background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0)); + border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.45) hsla(0,0%,0%,.5); + box-shadow: 0 1px 1px hsla(0,0%,0%,.1) inset, + 0 0 1px hsla(0,0%,0%,.2) inset, + 0 1px 0 hsla(0,0%,100%,.05); + -webkit-transition-property: background-color, border-color, box-shadow; + -webkit-transition-duration: 10ms; + -webkit-transition-timing-function: linear; + transition-property: background-color, border-color, box-shadow; + transition-duration: 10ms; + transition-timing-function: linear; +} + +.toolbarButton.toggled:hover:active, +.splitToolbarButton.toggled > .toolbarButton.toggled:hover:active, +.secondaryToolbarButton.toggled:hover:active { + background-color: hsla(0,0%,0%,.4); + border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.5) hsla(0,0%,0%,.55); + box-shadow: 0 1px 1px hsla(0,0%,0%,.2) inset, + 0 0 1px hsla(0,0%,0%,.3) inset, + 0 1px 0 hsla(0,0%,100%,.05); +} + +.dropdownToolbarButton { + width: 120px; + max-width: 120px; + padding: 0; + overflow: hidden; + background: url(images/toolbarButton-menuArrows.png) no-repeat; +} +html[dir='ltr'] .dropdownToolbarButton { + background-position: 95%; +} +html[dir='rtl'] .dropdownToolbarButton { + background-position: 5%; +} + +.dropdownToolbarButton > select { + min-width: 140px; + font-size: 12px; + color: hsl(0,0%,95%); + margin: 0; + padding: 3px 2px 2px; + border: none; + background: rgba(0,0,0,0); /* Opera does not support 'transparent' +
+ +
+ +
+ + +
+ + + + + +
+ +
+ +
+ + + + +
+
+
+
+ +
+ +
+ +
+ +
+ + +
+
+ + + + + + + + + Current View + + +
+ + +
+
+
+ +
+ +
+ + + +
+
+
+
+
+
+
+
+
+
+ + + + + + + + +
+
+
+ + + + + + + +
+ + + diff --git a/NKC_WF/Scripts/pdf.js/web/viewer.js b/NKC_WF/Scripts/pdf.js/web/viewer.js new file mode 100644 index 0000000..f07c39c --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/viewer.js @@ -0,0 +1,10486 @@ +/* Copyright 2017 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. + */ + +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { +/******/ configurable: false, +/******/ enumerable: true, +/******/ get: getter +/******/ }); +/******/ } +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 8); +/******/ }) +/************************************************************************/ +/******/ ([ +/* 0 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.waitOnEventOrTimeout = exports.WaitOnType = exports.localized = exports.animationStarted = exports.normalizeWheelEventDelta = exports.binarySearchFirstItem = exports.watchScroll = exports.scrollIntoView = exports.getOutputScale = exports.approximateFraction = exports.roundToDivide = exports.getVisibleElements = exports.parseQueryString = exports.noContextMenuHandler = exports.getPDFFileNameFromURL = exports.ProgressBar = exports.EventBus = exports.NullL10n = exports.mozL10n = exports.RendererType = exports.PresentationModeState = exports.cloneObj = exports.isValidRotation = exports.VERTICAL_PADDING = exports.SCROLLBAR_PADDING = exports.MAX_AUTO_SCALE = exports.UNKNOWN_SCALE = exports.MAX_SCALE = exports.MIN_SCALE = exports.DEFAULT_SCALE = exports.DEFAULT_SCALE_VALUE = exports.CSS_UNITS = undefined; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + +var _pdfjsLib = __webpack_require__(1); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var CSS_UNITS = 96.0 / 72.0; +var DEFAULT_SCALE_VALUE = 'auto'; +var DEFAULT_SCALE = 1.0; +var MIN_SCALE = 0.25; +var MAX_SCALE = 10.0; +var UNKNOWN_SCALE = 0; +var MAX_AUTO_SCALE = 1.25; +var SCROLLBAR_PADDING = 40; +var VERTICAL_PADDING = 5; +var PresentationModeState = { + UNKNOWN: 0, + NORMAL: 1, + CHANGING: 2, + FULLSCREEN: 3 +}; +var RendererType = { + CANVAS: 'canvas', + SVG: 'svg' +}; +function formatL10nValue(text, args) { + if (!args) { + return text; + } + return text.replace(/\{\{\s*(\w+)\s*\}\}/g, function (all, name) { + return name in args ? args[name] : '{{' + name + '}}'; + }); +} +var NullL10n = { + get: function get(property, args, fallback) { + return Promise.resolve(formatL10nValue(fallback, args)); + }, + translate: function translate(element) { + return Promise.resolve(); + } +}; +_pdfjsLib.PDFJS.disableFullscreen = _pdfjsLib.PDFJS.disableFullscreen === undefined ? false : _pdfjsLib.PDFJS.disableFullscreen; +_pdfjsLib.PDFJS.useOnlyCssZoom = _pdfjsLib.PDFJS.useOnlyCssZoom === undefined ? false : _pdfjsLib.PDFJS.useOnlyCssZoom; +_pdfjsLib.PDFJS.maxCanvasPixels = _pdfjsLib.PDFJS.maxCanvasPixels === undefined ? 16777216 : _pdfjsLib.PDFJS.maxCanvasPixels; +_pdfjsLib.PDFJS.disableHistory = _pdfjsLib.PDFJS.disableHistory === undefined ? false : _pdfjsLib.PDFJS.disableHistory; +_pdfjsLib.PDFJS.disableTextLayer = _pdfjsLib.PDFJS.disableTextLayer === undefined ? false : _pdfjsLib.PDFJS.disableTextLayer; +_pdfjsLib.PDFJS.ignoreCurrentPositionOnZoom = _pdfjsLib.PDFJS.ignoreCurrentPositionOnZoom === undefined ? false : _pdfjsLib.PDFJS.ignoreCurrentPositionOnZoom; +{ + _pdfjsLib.PDFJS.locale = _pdfjsLib.PDFJS.locale === undefined && typeof navigator !== 'undefined' ? navigator.language : _pdfjsLib.PDFJS.locale; +} +function getOutputScale(ctx) { + var devicePixelRatio = window.devicePixelRatio || 1; + var backingStoreRatio = ctx.webkitBackingStorePixelRatio || ctx.mozBackingStorePixelRatio || ctx.msBackingStorePixelRatio || ctx.oBackingStorePixelRatio || ctx.backingStorePixelRatio || 1; + var pixelRatio = devicePixelRatio / backingStoreRatio; + return { + sx: pixelRatio, + sy: pixelRatio, + scaled: pixelRatio !== 1 + }; +} +function scrollIntoView(element, spot) { + var skipOverflowHiddenElements = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; + + var parent = element.offsetParent; + if (!parent) { + console.error('offsetParent is not set -- cannot scroll'); + return; + } + var offsetY = element.offsetTop + element.clientTop; + var offsetX = element.offsetLeft + element.clientLeft; + while (parent.clientHeight === parent.scrollHeight || skipOverflowHiddenElements && getComputedStyle(parent).overflow === 'hidden') { + if (parent.dataset._scaleY) { + offsetY /= parent.dataset._scaleY; + offsetX /= parent.dataset._scaleX; + } + offsetY += parent.offsetTop; + offsetX += parent.offsetLeft; + parent = parent.offsetParent; + if (!parent) { + return; + } + } + if (spot) { + if (spot.top !== undefined) { + offsetY += spot.top; + } + if (spot.left !== undefined) { + offsetX += spot.left; + parent.scrollLeft = offsetX; + } + } + parent.scrollTop = offsetY; +} +function watchScroll(viewAreaElement, callback) { + var debounceScroll = function debounceScroll(evt) { + if (rAF) { + return; + } + rAF = window.requestAnimationFrame(function viewAreaElementScrolled() { + rAF = null; + var currentY = viewAreaElement.scrollTop; + var lastY = state.lastY; + if (currentY !== lastY) { + state.down = currentY > lastY; + } + state.lastY = currentY; + callback(state); + }); + }; + var state = { + down: true, + lastY: viewAreaElement.scrollTop, + _eventHandler: debounceScroll + }; + var rAF = null; + viewAreaElement.addEventListener('scroll', debounceScroll, true); + return state; +} +function parseQueryString(query) { + var parts = query.split('&'); + var params = Object.create(null); + for (var i = 0, ii = parts.length; i < ii; ++i) { + var param = parts[i].split('='); + var key = param[0].toLowerCase(); + var value = param.length > 1 ? param[1] : null; + params[decodeURIComponent(key)] = decodeURIComponent(value); + } + return params; +} +function binarySearchFirstItem(items, condition) { + var minIndex = 0; + var maxIndex = items.length - 1; + if (items.length === 0 || !condition(items[maxIndex])) { + return items.length; + } + if (condition(items[minIndex])) { + return minIndex; + } + while (minIndex < maxIndex) { + var currentIndex = minIndex + maxIndex >> 1; + var currentItem = items[currentIndex]; + if (condition(currentItem)) { + maxIndex = currentIndex; + } else { + minIndex = currentIndex + 1; + } + } + return minIndex; +} +function approximateFraction(x) { + if (Math.floor(x) === x) { + return [x, 1]; + } + var xinv = 1 / x; + var limit = 8; + if (xinv > limit) { + return [1, limit]; + } else if (Math.floor(xinv) === xinv) { + return [1, xinv]; + } + var x_ = x > 1 ? xinv : x; + var a = 0, + b = 1, + c = 1, + d = 1; + while (true) { + var p = a + c, + q = b + d; + if (q > limit) { + break; + } + if (x_ <= p / q) { + c = p; + d = q; + } else { + a = p; + b = q; + } + } + var result = void 0; + if (x_ - a / b < c / d - x_) { + result = x_ === x ? [a, b] : [b, a]; + } else { + result = x_ === x ? [c, d] : [d, c]; + } + return result; +} +function roundToDivide(x, div) { + var r = x % div; + return r === 0 ? x : Math.round(x - r + div); +} +function getVisibleElements(scrollEl, views) { + var sortByVisibility = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; + + var top = scrollEl.scrollTop, + bottom = top + scrollEl.clientHeight; + var left = scrollEl.scrollLeft, + right = left + scrollEl.clientWidth; + function isElementBottomBelowViewTop(view) { + var element = view.div; + var elementBottom = element.offsetTop + element.clientTop + element.clientHeight; + return elementBottom > top; + } + var visible = [], + view = void 0, + element = void 0; + var currentHeight = void 0, + viewHeight = void 0, + hiddenHeight = void 0, + percentHeight = void 0; + var currentWidth = void 0, + viewWidth = void 0; + var firstVisibleElementInd = views.length === 0 ? 0 : binarySearchFirstItem(views, isElementBottomBelowViewTop); + for (var i = firstVisibleElementInd, ii = views.length; i < ii; i++) { + view = views[i]; + element = view.div; + currentHeight = element.offsetTop + element.clientTop; + viewHeight = element.clientHeight; + if (currentHeight > bottom) { + break; + } + currentWidth = element.offsetLeft + element.clientLeft; + viewWidth = element.clientWidth; + if (currentWidth + viewWidth < left || currentWidth > right) { + continue; + } + hiddenHeight = Math.max(0, top - currentHeight) + Math.max(0, currentHeight + viewHeight - bottom); + percentHeight = (viewHeight - hiddenHeight) * 100 / viewHeight | 0; + visible.push({ + id: view.id, + x: currentWidth, + y: currentHeight, + view: view, + percent: percentHeight + }); + } + var first = visible[0]; + var last = visible[visible.length - 1]; + if (sortByVisibility) { + visible.sort(function (a, b) { + var pc = a.percent - b.percent; + if (Math.abs(pc) > 0.001) { + return -pc; + } + return a.id - b.id; + }); + } + return { + first: first, + last: last, + views: visible + }; +} +function noContextMenuHandler(evt) { + evt.preventDefault(); +} +function isDataSchema(url) { + var i = 0, + ii = url.length; + while (i < ii && url[i].trim() === '') { + i++; + } + return url.substr(i, 5).toLowerCase() === 'data:'; +} +function getPDFFileNameFromURL(url) { + var defaultFilename = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'document.pdf'; + + if (isDataSchema(url)) { + console.warn('getPDFFileNameFromURL: ' + 'ignoring "data:" URL for performance reasons.'); + return defaultFilename; + } + var reURI = /^(?:(?:[^:]+:)?\/\/[^\/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/; + var reFilename = /[^\/?#=]+\.pdf\b(?!.*\.pdf\b)/i; + var splitURI = reURI.exec(url); + var suggestedFilename = reFilename.exec(splitURI[1]) || reFilename.exec(splitURI[2]) || reFilename.exec(splitURI[3]); + if (suggestedFilename) { + suggestedFilename = suggestedFilename[0]; + if (suggestedFilename.indexOf('%') !== -1) { + try { + suggestedFilename = reFilename.exec(decodeURIComponent(suggestedFilename))[0]; + } catch (ex) {} + } + } + return suggestedFilename || defaultFilename; +} +function normalizeWheelEventDelta(evt) { + var delta = Math.sqrt(evt.deltaX * evt.deltaX + evt.deltaY * evt.deltaY); + var angle = Math.atan2(evt.deltaY, evt.deltaX); + if (-0.25 * Math.PI < angle && angle < 0.75 * Math.PI) { + delta = -delta; + } + var MOUSE_DOM_DELTA_PIXEL_MODE = 0; + var MOUSE_DOM_DELTA_LINE_MODE = 1; + var MOUSE_PIXELS_PER_LINE = 30; + var MOUSE_LINES_PER_PAGE = 30; + if (evt.deltaMode === MOUSE_DOM_DELTA_PIXEL_MODE) { + delta /= MOUSE_PIXELS_PER_LINE * MOUSE_LINES_PER_PAGE; + } else if (evt.deltaMode === MOUSE_DOM_DELTA_LINE_MODE) { + delta /= MOUSE_LINES_PER_PAGE; + } + return delta; +} +function isValidRotation(angle) { + return Number.isInteger(angle) && angle % 90 === 0; +} +function cloneObj(obj) { + var result = Object.create(null); + for (var i in obj) { + if (Object.prototype.hasOwnProperty.call(obj, i)) { + result[i] = obj[i]; + } + } + return result; +} +var WaitOnType = { + EVENT: 'event', + TIMEOUT: 'timeout' +}; +function waitOnEventOrTimeout(_ref) { + var target = _ref.target, + name = _ref.name, + _ref$delay = _ref.delay, + delay = _ref$delay === undefined ? 0 : _ref$delay; + + if ((typeof target === 'undefined' ? 'undefined' : _typeof(target)) !== 'object' || !(name && typeof name === 'string') || !(Number.isInteger(delay) && delay >= 0)) { + return Promise.reject(new Error('waitOnEventOrTimeout - invalid paramaters.')); + } + var capability = (0, _pdfjsLib.createPromiseCapability)(); + function handler(type) { + if (target instanceof EventBus) { + target.off(name, eventHandler); + } else { + target.removeEventListener(name, eventHandler); + } + if (timeout) { + clearTimeout(timeout); + } + capability.resolve(type); + } + var eventHandler = handler.bind(null, WaitOnType.EVENT); + if (target instanceof EventBus) { + target.on(name, eventHandler); + } else { + target.addEventListener(name, eventHandler); + } + var timeoutHandler = handler.bind(null, WaitOnType.TIMEOUT); + var timeout = setTimeout(timeoutHandler, delay); + return capability.promise; +} +var animationStarted = new Promise(function (resolve) { + window.requestAnimationFrame(resolve); +}); +var mozL10n = void 0; +var localized = Promise.resolve(); + +var EventBus = function () { + function EventBus() { + _classCallCheck(this, EventBus); + + this._listeners = Object.create(null); + } + + _createClass(EventBus, [{ + key: 'on', + value: function on(eventName, listener) { + var eventListeners = this._listeners[eventName]; + if (!eventListeners) { + eventListeners = []; + this._listeners[eventName] = eventListeners; + } + eventListeners.push(listener); + } + }, { + key: 'off', + value: function off(eventName, listener) { + var eventListeners = this._listeners[eventName]; + var i = void 0; + if (!eventListeners || (i = eventListeners.indexOf(listener)) < 0) { + return; + } + eventListeners.splice(i, 1); + } + }, { + key: 'dispatch', + value: function dispatch(eventName) { + var eventListeners = this._listeners[eventName]; + if (!eventListeners || eventListeners.length === 0) { + return; + } + var args = Array.prototype.slice.call(arguments, 1); + eventListeners.slice(0).forEach(function (listener) { + listener.apply(null, args); + }); + } + }]); + + return EventBus; +}(); + +function clamp(v, min, max) { + return Math.min(Math.max(v, min), max); +} + +var ProgressBar = function () { + function ProgressBar(id) { + var _ref2 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, + height = _ref2.height, + width = _ref2.width, + units = _ref2.units; + + _classCallCheck(this, ProgressBar); + + this.visible = true; + this.div = document.querySelector(id + ' .progress'); + this.bar = this.div.parentNode; + this.height = height || 100; + this.width = width || 100; + this.units = units || '%'; + this.div.style.height = this.height + this.units; + this.percent = 0; + } + + _createClass(ProgressBar, [{ + key: '_updateBar', + value: function _updateBar() { + if (this._indeterminate) { + this.div.classList.add('indeterminate'); + this.div.style.width = this.width + this.units; + return; + } + this.div.classList.remove('indeterminate'); + var progressSize = this.width * this._percent / 100; + this.div.style.width = progressSize + this.units; + } + }, { + key: 'setWidth', + value: function setWidth(viewer) { + if (!viewer) { + return; + } + var container = viewer.parentNode; + var scrollbarWidth = container.offsetWidth - viewer.offsetWidth; + if (scrollbarWidth > 0) { + this.bar.setAttribute('style', 'width: calc(100% - ' + scrollbarWidth + 'px);'); + } + } + }, { + key: 'hide', + value: function hide() { + if (!this.visible) { + return; + } + this.visible = false; + this.bar.classList.add('hidden'); + document.body.classList.remove('loadingInProgress'); + } + }, { + key: 'show', + value: function show() { + if (this.visible) { + return; + } + this.visible = true; + document.body.classList.add('loadingInProgress'); + this.bar.classList.remove('hidden'); + } + }, { + key: 'percent', + get: function get() { + return this._percent; + }, + set: function set(val) { + this._indeterminate = isNaN(val); + this._percent = clamp(val, 0, 100); + this._updateBar(); + } + }]); + + return ProgressBar; +}(); + +exports.CSS_UNITS = CSS_UNITS; +exports.DEFAULT_SCALE_VALUE = DEFAULT_SCALE_VALUE; +exports.DEFAULT_SCALE = DEFAULT_SCALE; +exports.MIN_SCALE = MIN_SCALE; +exports.MAX_SCALE = MAX_SCALE; +exports.UNKNOWN_SCALE = UNKNOWN_SCALE; +exports.MAX_AUTO_SCALE = MAX_AUTO_SCALE; +exports.SCROLLBAR_PADDING = SCROLLBAR_PADDING; +exports.VERTICAL_PADDING = VERTICAL_PADDING; +exports.isValidRotation = isValidRotation; +exports.cloneObj = cloneObj; +exports.PresentationModeState = PresentationModeState; +exports.RendererType = RendererType; +exports.mozL10n = mozL10n; +exports.NullL10n = NullL10n; +exports.EventBus = EventBus; +exports.ProgressBar = ProgressBar; +exports.getPDFFileNameFromURL = getPDFFileNameFromURL; +exports.noContextMenuHandler = noContextMenuHandler; +exports.parseQueryString = parseQueryString; +exports.getVisibleElements = getVisibleElements; +exports.roundToDivide = roundToDivide; +exports.approximateFraction = approximateFraction; +exports.getOutputScale = getOutputScale; +exports.scrollIntoView = scrollIntoView; +exports.watchScroll = watchScroll; +exports.binarySearchFirstItem = binarySearchFirstItem; +exports.normalizeWheelEventDelta = normalizeWheelEventDelta; +exports.animationStarted = animationStarted; +exports.localized = localized; +exports.WaitOnType = WaitOnType; +exports.waitOnEventOrTimeout = waitOnEventOrTimeout; + +/***/ }), +/* 1 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var pdfjsLib; +if (typeof window !== 'undefined' && window['pdfjs-dist/build/pdf']) { + pdfjsLib = window['pdfjs-dist/build/pdf']; +} else { + pdfjsLib = require('../build/pdf.js'); +} +module.exports = pdfjsLib; + +/***/ }), +/* 2 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.getGlobalEventBus = exports.attachDOMEventsToEventBus = undefined; + +var _ui_utils = __webpack_require__(0); + +function attachDOMEventsToEventBus(eventBus) { + eventBus.on('documentload', function () { + var event = document.createEvent('CustomEvent'); + event.initCustomEvent('documentload', true, true, {}); + window.dispatchEvent(event); + }); + eventBus.on('pagerendered', function (evt) { + var event = document.createEvent('CustomEvent'); + event.initCustomEvent('pagerendered', true, true, { + pageNumber: evt.pageNumber, + cssTransform: evt.cssTransform + }); + evt.source.div.dispatchEvent(event); + }); + eventBus.on('textlayerrendered', function (evt) { + var event = document.createEvent('CustomEvent'); + event.initCustomEvent('textlayerrendered', true, true, { pageNumber: evt.pageNumber }); + evt.source.textLayerDiv.dispatchEvent(event); + }); + eventBus.on('pagechange', function (evt) { + var event = document.createEvent('UIEvents'); + event.initUIEvent('pagechange', true, true, window, 0); + event.pageNumber = evt.pageNumber; + evt.source.container.dispatchEvent(event); + }); + eventBus.on('pagesinit', function (evt) { + var event = document.createEvent('CustomEvent'); + event.initCustomEvent('pagesinit', true, true, null); + evt.source.container.dispatchEvent(event); + }); + eventBus.on('pagesloaded', function (evt) { + var event = document.createEvent('CustomEvent'); + event.initCustomEvent('pagesloaded', true, true, { pagesCount: evt.pagesCount }); + evt.source.container.dispatchEvent(event); + }); + eventBus.on('scalechange', function (evt) { + var event = document.createEvent('UIEvents'); + event.initUIEvent('scalechange', true, true, window, 0); + event.scale = evt.scale; + event.presetValue = evt.presetValue; + evt.source.container.dispatchEvent(event); + }); + eventBus.on('updateviewarea', function (evt) { + var event = document.createEvent('UIEvents'); + event.initUIEvent('updateviewarea', true, true, window, 0); + event.location = evt.location; + evt.source.container.dispatchEvent(event); + }); + eventBus.on('find', function (evt) { + if (evt.source === window) { + return; + } + var event = document.createEvent('CustomEvent'); + event.initCustomEvent('find' + evt.type, true, true, { + query: evt.query, + phraseSearch: evt.phraseSearch, + caseSensitive: evt.caseSensitive, + highlightAll: evt.highlightAll, + findPrevious: evt.findPrevious + }); + window.dispatchEvent(event); + }); + eventBus.on('attachmentsloaded', function (evt) { + var event = document.createEvent('CustomEvent'); + event.initCustomEvent('attachmentsloaded', true, true, { attachmentsCount: evt.attachmentsCount }); + evt.source.container.dispatchEvent(event); + }); + eventBus.on('sidebarviewchanged', function (evt) { + var event = document.createEvent('CustomEvent'); + event.initCustomEvent('sidebarviewchanged', true, true, { view: evt.view }); + evt.source.outerContainer.dispatchEvent(event); + }); + eventBus.on('pagemode', function (evt) { + var event = document.createEvent('CustomEvent'); + event.initCustomEvent('pagemode', true, true, { mode: evt.mode }); + evt.source.pdfViewer.container.dispatchEvent(event); + }); + eventBus.on('namedaction', function (evt) { + var event = document.createEvent('CustomEvent'); + event.initCustomEvent('namedaction', true, true, { action: evt.action }); + evt.source.pdfViewer.container.dispatchEvent(event); + }); + eventBus.on('presentationmodechanged', function (evt) { + var event = document.createEvent('CustomEvent'); + event.initCustomEvent('presentationmodechanged', true, true, { + active: evt.active, + switchInProgress: evt.switchInProgress + }); + window.dispatchEvent(event); + }); + eventBus.on('outlineloaded', function (evt) { + var event = document.createEvent('CustomEvent'); + event.initCustomEvent('outlineloaded', true, true, { outlineCount: evt.outlineCount }); + evt.source.container.dispatchEvent(event); + }); +} +var globalEventBus = null; +function getGlobalEventBus() { + if (globalEventBus) { + return globalEventBus; + } + globalEventBus = new _ui_utils.EventBus(); + attachDOMEventsToEventBus(globalEventBus); + return globalEventBus; +} +exports.attachDOMEventsToEventBus = attachDOMEventsToEventBus; +exports.getGlobalEventBus = getGlobalEventBus; + +/***/ }), +/* 3 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var CLEANUP_TIMEOUT = 30000; +var RenderingStates = { + INITIAL: 0, + RUNNING: 1, + PAUSED: 2, + FINISHED: 3 +}; + +var PDFRenderingQueue = function () { + function PDFRenderingQueue() { + _classCallCheck(this, PDFRenderingQueue); + + this.pdfViewer = null; + this.pdfThumbnailViewer = null; + this.onIdle = null; + this.highestPriorityPage = null; + this.idleTimeout = null; + this.printing = false; + this.isThumbnailViewEnabled = false; + } + + _createClass(PDFRenderingQueue, [{ + key: "setViewer", + value: function setViewer(pdfViewer) { + this.pdfViewer = pdfViewer; + } + }, { + key: "setThumbnailViewer", + value: function setThumbnailViewer(pdfThumbnailViewer) { + this.pdfThumbnailViewer = pdfThumbnailViewer; + } + }, { + key: "isHighestPriority", + value: function isHighestPriority(view) { + return this.highestPriorityPage === view.renderingId; + } + }, { + key: "renderHighestPriority", + value: function renderHighestPriority(currentlyVisiblePages) { + if (this.idleTimeout) { + clearTimeout(this.idleTimeout); + this.idleTimeout = null; + } + if (this.pdfViewer.forceRendering(currentlyVisiblePages)) { + return; + } + if (this.pdfThumbnailViewer && this.isThumbnailViewEnabled) { + if (this.pdfThumbnailViewer.forceRendering()) { + return; + } + } + if (this.printing) { + return; + } + if (this.onIdle) { + this.idleTimeout = setTimeout(this.onIdle.bind(this), CLEANUP_TIMEOUT); + } + } + }, { + key: "getHighestPriority", + value: function getHighestPriority(visible, views, scrolledDown) { + var visibleViews = visible.views; + var numVisible = visibleViews.length; + if (numVisible === 0) { + return false; + } + for (var i = 0; i < numVisible; ++i) { + var view = visibleViews[i].view; + if (!this.isViewFinished(view)) { + return view; + } + } + if (scrolledDown) { + var nextPageIndex = visible.last.id; + if (views[nextPageIndex] && !this.isViewFinished(views[nextPageIndex])) { + return views[nextPageIndex]; + } + } else { + var previousPageIndex = visible.first.id - 2; + if (views[previousPageIndex] && !this.isViewFinished(views[previousPageIndex])) { + return views[previousPageIndex]; + } + } + return null; + } + }, { + key: "isViewFinished", + value: function isViewFinished(view) { + return view.renderingState === RenderingStates.FINISHED; + } + }, { + key: "renderView", + value: function renderView(view) { + var _this = this; + + switch (view.renderingState) { + case RenderingStates.FINISHED: + return false; + case RenderingStates.PAUSED: + this.highestPriorityPage = view.renderingId; + view.resume(); + break; + case RenderingStates.RUNNING: + this.highestPriorityPage = view.renderingId; + break; + case RenderingStates.INITIAL: + this.highestPriorityPage = view.renderingId; + var continueRendering = function continueRendering() { + _this.renderHighestPriority(); + }; + view.draw().then(continueRendering, continueRendering); + break; + } + return true; + } + }]); + + return PDFRenderingQueue; +}(); + +exports.RenderingStates = RenderingStates; +exports.PDFRenderingQueue = PDFRenderingQueue; + +/***/ }), +/* 4 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.PDFPrintServiceFactory = exports.DefaultExternalServices = exports.PDFViewerApplication = undefined; + +var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }(); + +var _ui_utils = __webpack_require__(0); + +var _pdfjsLib = __webpack_require__(1); + +var _pdf_cursor_tools = __webpack_require__(6); + +var _pdf_rendering_queue = __webpack_require__(3); + +var _pdf_sidebar = __webpack_require__(10); + +var _dom_events = __webpack_require__(2); + +var _overlay_manager = __webpack_require__(11); + +var _password_prompt = __webpack_require__(12); + +var _pdf_attachment_viewer = __webpack_require__(13); + +var _pdf_document_properties = __webpack_require__(14); + +var _pdf_find_bar = __webpack_require__(15); + +var _pdf_find_controller = __webpack_require__(7); + +var _pdf_history = __webpack_require__(16); + +var _pdf_link_service = __webpack_require__(5); + +var _pdf_outline_viewer = __webpack_require__(17); + +var _pdf_presentation_mode = __webpack_require__(18); + +var _pdf_thumbnail_viewer = __webpack_require__(19); + +var _pdf_viewer = __webpack_require__(21); + +var _secondary_toolbar = __webpack_require__(26); + +var _toolbar = __webpack_require__(27); + +var _view_history = __webpack_require__(28); + +var DEFAULT_SCALE_DELTA = 1.1; +var DISABLE_AUTO_FETCH_LOADING_BAR_TIMEOUT = 5000; +function configure(PDFJS) { + PDFJS.imageResourcesPath = './images/'; + PDFJS.workerSrc = '../build/pdf.worker.js'; + PDFJS.cMapUrl = '../web/cmaps/'; + PDFJS.cMapPacked = true; +} +var DefaultExternalServices = { + updateFindControlState: function updateFindControlState(data) {}, + initPassiveLoading: function initPassiveLoading(callbacks) {}, + fallback: function fallback(data, callback) {}, + reportTelemetry: function reportTelemetry(data) {}, + createDownloadManager: function createDownloadManager() { + throw new Error('Not implemented: createDownloadManager'); + }, + createPreferences: function createPreferences() { + throw new Error('Not implemented: createPreferences'); + }, + createL10n: function createL10n() { + throw new Error('Not implemented: createL10n'); + }, + + supportsIntegratedFind: false, + supportsDocumentFonts: true, + supportsDocumentColors: true, + supportedMouseWheelZoomModifierKeys: { + ctrlKey: true, + metaKey: true + } +}; +var PDFViewerApplication = { + initialBookmark: document.location.hash.substring(1), + initialized: false, + fellback: false, + appConfig: null, + pdfDocument: null, + pdfLoadingTask: null, + printService: null, + pdfViewer: null, + pdfThumbnailViewer: null, + pdfRenderingQueue: null, + pdfPresentationMode: null, + pdfDocumentProperties: null, + pdfLinkService: null, + pdfHistory: null, + pdfSidebar: null, + pdfOutlineViewer: null, + pdfAttachmentViewer: null, + pdfCursorTools: null, + store: null, + downloadManager: null, + overlayManager: null, + preferences: null, + toolbar: null, + secondaryToolbar: null, + eventBus: null, + l10n: null, + isInitialViewSet: false, + downloadComplete: false, + viewerPrefs: { + sidebarViewOnLoad: _pdf_sidebar.SidebarView.NONE, + pdfBugEnabled: false, + showPreviousViewOnLoad: true, + defaultZoomValue: '', + disablePageMode: false, + disablePageLabels: false, + renderer: 'canvas', + enhanceTextSelection: false, + renderInteractiveForms: false, + enablePrintAutoRotate: false + }, + isViewerEmbedded: window.parent !== window, + url: '', + baseUrl: '', + externalServices: DefaultExternalServices, + _boundEvents: {}, + initialize: function initialize(appConfig) { + var _this = this; + + this.preferences = this.externalServices.createPreferences(); + configure(_pdfjsLib.PDFJS); + this.appConfig = appConfig; + return this._readPreferences().then(function () { + return _this._initializeL10n(); + }).then(function () { + return _this._initializeViewerComponents(); + }).then(function () { + _this.bindEvents(); + _this.bindWindowEvents(); + var appContainer = appConfig.appContainer || document.documentElement; + _this.l10n.translate(appContainer).then(function () { + _this.eventBus.dispatch('localized'); + }); + if (_this.isViewerEmbedded && !_pdfjsLib.PDFJS.isExternalLinkTargetSet()) { + _pdfjsLib.PDFJS.externalLinkTarget = _pdfjsLib.PDFJS.LinkTarget.TOP; + } + _this.initialized = true; + }); + }, + _readPreferences: function _readPreferences() { + var preferences = this.preferences, + viewerPrefs = this.viewerPrefs; + + return Promise.all([preferences.get('enableWebGL').then(function resolved(value) { + _pdfjsLib.PDFJS.disableWebGL = !value; + }), preferences.get('sidebarViewOnLoad').then(function resolved(value) { + viewerPrefs['sidebarViewOnLoad'] = value; + }), preferences.get('pdfBugEnabled').then(function resolved(value) { + viewerPrefs['pdfBugEnabled'] = value; + }), preferences.get('showPreviousViewOnLoad').then(function resolved(value) { + viewerPrefs['showPreviousViewOnLoad'] = value; + }), preferences.get('defaultZoomValue').then(function resolved(value) { + viewerPrefs['defaultZoomValue'] = value; + }), preferences.get('enhanceTextSelection').then(function resolved(value) { + viewerPrefs['enhanceTextSelection'] = value; + }), preferences.get('disableTextLayer').then(function resolved(value) { + if (_pdfjsLib.PDFJS.disableTextLayer === true) { + return; + } + _pdfjsLib.PDFJS.disableTextLayer = value; + }), preferences.get('disableRange').then(function resolved(value) { + if (_pdfjsLib.PDFJS.disableRange === true) { + return; + } + _pdfjsLib.PDFJS.disableRange = value; + }), preferences.get('disableStream').then(function resolved(value) { + if (_pdfjsLib.PDFJS.disableStream === true) { + return; + } + _pdfjsLib.PDFJS.disableStream = value; + }), preferences.get('disableAutoFetch').then(function resolved(value) { + _pdfjsLib.PDFJS.disableAutoFetch = value; + }), preferences.get('disableFontFace').then(function resolved(value) { + if (_pdfjsLib.PDFJS.disableFontFace === true) { + return; + } + _pdfjsLib.PDFJS.disableFontFace = value; + }), preferences.get('useOnlyCssZoom').then(function resolved(value) { + _pdfjsLib.PDFJS.useOnlyCssZoom = value; + }), preferences.get('externalLinkTarget').then(function resolved(value) { + if (_pdfjsLib.PDFJS.isExternalLinkTargetSet()) { + return; + } + _pdfjsLib.PDFJS.externalLinkTarget = value; + }), preferences.get('renderer').then(function resolved(value) { + viewerPrefs['renderer'] = value; + }), preferences.get('renderInteractiveForms').then(function resolved(value) { + viewerPrefs['renderInteractiveForms'] = value; + }), preferences.get('disablePageMode').then(function resolved(value) { + viewerPrefs['disablePageMode'] = value; + }), preferences.get('disablePageLabels').then(function resolved(value) { + viewerPrefs['disablePageLabels'] = value; + }), preferences.get('enablePrintAutoRotate').then(function resolved(value) { + viewerPrefs['enablePrintAutoRotate'] = value; + })]).catch(function (reason) {}); + }, + _initializeL10n: function _initializeL10n() { + if (this.viewerPrefs['pdfBugEnabled']) { + var hash = document.location.hash.substring(1); + var hashParams = (0, _ui_utils.parseQueryString)(hash); + if ('locale' in hashParams) { + _pdfjsLib.PDFJS.locale = hashParams['locale']; + } + } + this.l10n = this.externalServices.createL10n(); + return this.l10n.getDirection().then(function (dir) { + document.getElementsByTagName('html')[0].dir = dir; + }); + }, + _initializeViewerComponents: function _initializeViewerComponents() { + var _this2 = this; + + var appConfig = this.appConfig; + return new Promise(function (resolve, reject) { + _this2.overlayManager = new _overlay_manager.OverlayManager(); + var eventBus = appConfig.eventBus || (0, _dom_events.getGlobalEventBus)(); + _this2.eventBus = eventBus; + var pdfRenderingQueue = new _pdf_rendering_queue.PDFRenderingQueue(); + pdfRenderingQueue.onIdle = _this2.cleanup.bind(_this2); + _this2.pdfRenderingQueue = pdfRenderingQueue; + var pdfLinkService = new _pdf_link_service.PDFLinkService({ eventBus: eventBus }); + _this2.pdfLinkService = pdfLinkService; + var downloadManager = _this2.externalServices.createDownloadManager(); + _this2.downloadManager = downloadManager; + var container = appConfig.mainContainer; + var viewer = appConfig.viewerContainer; + _this2.pdfViewer = new _pdf_viewer.PDFViewer({ + container: container, + viewer: viewer, + eventBus: eventBus, + renderingQueue: pdfRenderingQueue, + linkService: pdfLinkService, + downloadManager: downloadManager, + renderer: _this2.viewerPrefs['renderer'], + l10n: _this2.l10n, + enhanceTextSelection: _this2.viewerPrefs['enhanceTextSelection'], + renderInteractiveForms: _this2.viewerPrefs['renderInteractiveForms'], + enablePrintAutoRotate: _this2.viewerPrefs['enablePrintAutoRotate'] + }); + pdfRenderingQueue.setViewer(_this2.pdfViewer); + pdfLinkService.setViewer(_this2.pdfViewer); + var thumbnailContainer = appConfig.sidebar.thumbnailView; + _this2.pdfThumbnailViewer = new _pdf_thumbnail_viewer.PDFThumbnailViewer({ + container: thumbnailContainer, + renderingQueue: pdfRenderingQueue, + linkService: pdfLinkService, + l10n: _this2.l10n + }); + pdfRenderingQueue.setThumbnailViewer(_this2.pdfThumbnailViewer); + _this2.pdfHistory = new _pdf_history.PDFHistory({ + linkService: pdfLinkService, + eventBus: eventBus + }); + pdfLinkService.setHistory(_this2.pdfHistory); + _this2.findController = new _pdf_find_controller.PDFFindController({ pdfViewer: _this2.pdfViewer }); + _this2.findController.onUpdateResultsCount = function (matchCount) { + if (_this2.supportsIntegratedFind) { + return; + } + _this2.findBar.updateResultsCount(matchCount); + }; + _this2.findController.onUpdateState = function (state, previous, matchCount) { + if (_this2.supportsIntegratedFind) { + _this2.externalServices.updateFindControlState({ + result: state, + findPrevious: previous + }); + } else { + _this2.findBar.updateUIState(state, previous, matchCount); + } + }; + _this2.pdfViewer.setFindController(_this2.findController); + var findBarConfig = Object.create(appConfig.findBar); + findBarConfig.findController = _this2.findController; + findBarConfig.eventBus = eventBus; + _this2.findBar = new _pdf_find_bar.PDFFindBar(findBarConfig, _this2.l10n); + _this2.pdfDocumentProperties = new _pdf_document_properties.PDFDocumentProperties(appConfig.documentProperties, _this2.overlayManager, _this2.l10n); + _this2.pdfCursorTools = new _pdf_cursor_tools.PDFCursorTools({ + container: container, + eventBus: eventBus, + preferences: _this2.preferences + }); + _this2.toolbar = new _toolbar.Toolbar(appConfig.toolbar, container, eventBus, _this2.l10n); + _this2.secondaryToolbar = new _secondary_toolbar.SecondaryToolbar(appConfig.secondaryToolbar, container, eventBus); + if (_this2.supportsFullscreen) { + _this2.pdfPresentationMode = new _pdf_presentation_mode.PDFPresentationMode({ + container: container, + viewer: viewer, + pdfViewer: _this2.pdfViewer, + eventBus: eventBus, + contextMenuItems: appConfig.fullscreen + }); + } + _this2.passwordPrompt = new _password_prompt.PasswordPrompt(appConfig.passwordOverlay, _this2.overlayManager, _this2.l10n); + _this2.pdfOutlineViewer = new _pdf_outline_viewer.PDFOutlineViewer({ + container: appConfig.sidebar.outlineView, + eventBus: eventBus, + linkService: pdfLinkService + }); + _this2.pdfAttachmentViewer = new _pdf_attachment_viewer.PDFAttachmentViewer({ + container: appConfig.sidebar.attachmentsView, + eventBus: eventBus, + downloadManager: downloadManager + }); + var sidebarConfig = Object.create(appConfig.sidebar); + sidebarConfig.pdfViewer = _this2.pdfViewer; + sidebarConfig.pdfThumbnailViewer = _this2.pdfThumbnailViewer; + sidebarConfig.pdfOutlineViewer = _this2.pdfOutlineViewer; + sidebarConfig.eventBus = eventBus; + _this2.pdfSidebar = new _pdf_sidebar.PDFSidebar(sidebarConfig, _this2.l10n); + _this2.pdfSidebar.onToggled = _this2.forceRendering.bind(_this2); + resolve(undefined); + }); + }, + run: function run(config) { + this.initialize(config).then(webViewerInitialized); + }, + zoomIn: function zoomIn(ticks) { + var newScale = this.pdfViewer.currentScale; + do { + newScale = (newScale * DEFAULT_SCALE_DELTA).toFixed(2); + newScale = Math.ceil(newScale * 10) / 10; + newScale = Math.min(_ui_utils.MAX_SCALE, newScale); + } while (--ticks > 0 && newScale < _ui_utils.MAX_SCALE); + this.pdfViewer.currentScaleValue = newScale; + }, + zoomOut: function zoomOut(ticks) { + var newScale = this.pdfViewer.currentScale; + do { + newScale = (newScale / DEFAULT_SCALE_DELTA).toFixed(2); + newScale = Math.floor(newScale * 10) / 10; + newScale = Math.max(_ui_utils.MIN_SCALE, newScale); + } while (--ticks > 0 && newScale > _ui_utils.MIN_SCALE); + this.pdfViewer.currentScaleValue = newScale; + }, + + get pagesCount() { + return this.pdfDocument ? this.pdfDocument.numPages : 0; + }, + get pageRotation() { + return this.pdfViewer.pagesRotation; + }, + set page(val) { + this.pdfViewer.currentPageNumber = val; + }, + get page() { + return this.pdfViewer.currentPageNumber; + }, + get printing() { + return !!this.printService; + }, + get supportsPrinting() { + return PDFPrintServiceFactory.instance.supportsPrinting; + }, + get supportsFullscreen() { + var support = void 0; + var doc = document.documentElement; + support = !!(doc.requestFullscreen || doc.mozRequestFullScreen || doc.webkitRequestFullScreen || doc.msRequestFullscreen); + if (document.fullscreenEnabled === false || document.mozFullScreenEnabled === false || document.webkitFullscreenEnabled === false || document.msFullscreenEnabled === false) { + support = false; + } + if (support && _pdfjsLib.PDFJS.disableFullscreen === true) { + support = false; + } + return (0, _pdfjsLib.shadow)(this, 'supportsFullscreen', support); + }, + get supportsIntegratedFind() { + return this.externalServices.supportsIntegratedFind; + }, + get supportsDocumentFonts() { + return this.externalServices.supportsDocumentFonts; + }, + get supportsDocumentColors() { + return this.externalServices.supportsDocumentColors; + }, + get loadingBar() { + var bar = new _ui_utils.ProgressBar('#loadingBar'); + return (0, _pdfjsLib.shadow)(this, 'loadingBar', bar); + }, + get supportedMouseWheelZoomModifierKeys() { + return this.externalServices.supportedMouseWheelZoomModifierKeys; + }, + initPassiveLoading: function initPassiveLoading() { + throw new Error('Not implemented: initPassiveLoading'); + }, + setTitleUsingUrl: function setTitleUsingUrl(url) { + this.url = url; + this.baseUrl = url.split('#')[0]; + var title = (0, _ui_utils.getPDFFileNameFromURL)(url, ''); + if (!title) { + try { + title = decodeURIComponent((0, _pdfjsLib.getFilenameFromUrl)(url)) || url; + } catch (ex) { + title = url; + } + } + this.setTitle(title); + }, + setTitle: function setTitle(title) { + if (this.isViewerEmbedded) { + return; + } + document.title = title; + }, + close: function close() { + var errorWrapper = this.appConfig.errorWrapper.container; + errorWrapper.setAttribute('hidden', 'true'); + if (!this.pdfLoadingTask) { + return Promise.resolve(); + } + var promise = this.pdfLoadingTask.destroy(); + this.pdfLoadingTask = null; + if (this.pdfDocument) { + this.pdfDocument = null; + this.pdfThumbnailViewer.setDocument(null); + this.pdfViewer.setDocument(null); + this.pdfLinkService.setDocument(null, null); + this.pdfDocumentProperties.setDocument(null, null); + } + this.store = null; + this.isInitialViewSet = false; + this.downloadComplete = false; + this.pdfSidebar.reset(); + this.pdfOutlineViewer.reset(); + this.pdfAttachmentViewer.reset(); + this.findController.reset(); + this.findBar.reset(); + this.toolbar.reset(); + this.secondaryToolbar.reset(); + if (typeof PDFBug !== 'undefined') { + PDFBug.cleanup(); + } + return promise; + }, + open: function open(file, args) { + var _this3 = this; + + if (arguments.length > 2 || typeof args === 'number') { + return Promise.reject(new Error('Call of open() with obsolete signature.')); + } + if (this.pdfLoadingTask) { + return this.close().then(function () { + _this3.preferences.reload(); + return _this3.open(file, args); + }); + } + var parameters = Object.create(null); + if (typeof file === 'string') { + this.setTitleUsingUrl(file); + parameters.url = file; + } else if (file && 'byteLength' in file) { + parameters.data = file; + } else if (file.url && file.originalUrl) { + this.setTitleUsingUrl(file.originalUrl); + parameters.url = file.url; + } + if (args) { + for (var prop in args) { + if (!_pdfjsLib.PDFJS.pdfjsNext && prop === 'scale') { + console.error('Call of open() with obsolete "scale" argument, ' + 'please use the "defaultZoomValue" preference instead.'); + continue; + } else if (prop === 'length') { + this.pdfDocumentProperties.setFileSize(args[prop]); + } + parameters[prop] = args[prop]; + } + } + var loadingTask = (0, _pdfjsLib.getDocument)(parameters); + this.pdfLoadingTask = loadingTask; + loadingTask.onPassword = function (updateCallback, reason) { + _this3.passwordPrompt.setUpdateCallback(updateCallback, reason); + _this3.passwordPrompt.open(); + }; + loadingTask.onProgress = function (_ref) { + var loaded = _ref.loaded, + total = _ref.total; + + _this3.progress(loaded / total); + }; + loadingTask.onUnsupportedFeature = this.fallback.bind(this); + return loadingTask.promise.then(function (pdfDocument) { + _this3.load(pdfDocument); + }, function (exception) { + var message = exception && exception.message; + var loadingErrorMessage = void 0; + if (exception instanceof _pdfjsLib.InvalidPDFException) { + loadingErrorMessage = _this3.l10n.get('invalid_file_error', null, 'Invalid or corrupted PDF file.'); + } else if (exception instanceof _pdfjsLib.MissingPDFException) { + loadingErrorMessage = _this3.l10n.get('missing_file_error', null, 'Missing PDF file.'); + } else if (exception instanceof _pdfjsLib.UnexpectedResponseException) { + loadingErrorMessage = _this3.l10n.get('unexpected_response_error', null, 'Unexpected server response.'); + } else { + loadingErrorMessage = _this3.l10n.get('loading_error', null, 'An error occurred while loading the PDF.'); + } + return loadingErrorMessage.then(function (msg) { + _this3.error(msg, { message: message }); + throw new Error(msg); + }); + }); + }, + download: function download() { + var _this4 = this; + + function downloadByUrl() { + downloadManager.downloadUrl(url, filename); + } + var url = this.baseUrl; + var filename = (0, _ui_utils.getPDFFileNameFromURL)(this.url); + var downloadManager = this.downloadManager; + downloadManager.onerror = function (err) { + _this4.error('PDF failed to download: ' + err); + }; + if (!this.pdfDocument || !this.downloadComplete) { + downloadByUrl(); + return; + } + this.pdfDocument.getData().then(function (data) { + var blob = (0, _pdfjsLib.createBlob)(data, 'application/pdf'); + downloadManager.download(blob, url, filename); + }).catch(downloadByUrl); + }, + fallback: function fallback(featureId) {}, + error: function error(message, moreInfo) { + var moreInfoText = [this.l10n.get('error_version_info', { + version: _pdfjsLib.version || '?', + build: _pdfjsLib.build || '?' + }, 'PDF.js v{{version}} (build: {{build}})')]; + if (moreInfo) { + moreInfoText.push(this.l10n.get('error_message', { message: moreInfo.message }, 'Message: {{message}}')); + if (moreInfo.stack) { + moreInfoText.push(this.l10n.get('error_stack', { stack: moreInfo.stack }, 'Stack: {{stack}}')); + } else { + if (moreInfo.filename) { + moreInfoText.push(this.l10n.get('error_file', { file: moreInfo.filename }, 'File: {{file}}')); + } + if (moreInfo.lineNumber) { + moreInfoText.push(this.l10n.get('error_line', { line: moreInfo.lineNumber }, 'Line: {{line}}')); + } + } + } + var errorWrapperConfig = this.appConfig.errorWrapper; + var errorWrapper = errorWrapperConfig.container; + errorWrapper.removeAttribute('hidden'); + var errorMessage = errorWrapperConfig.errorMessage; + errorMessage.textContent = message; + var closeButton = errorWrapperConfig.closeButton; + closeButton.onclick = function () { + errorWrapper.setAttribute('hidden', 'true'); + }; + var errorMoreInfo = errorWrapperConfig.errorMoreInfo; + var moreInfoButton = errorWrapperConfig.moreInfoButton; + var lessInfoButton = errorWrapperConfig.lessInfoButton; + moreInfoButton.onclick = function () { + errorMoreInfo.removeAttribute('hidden'); + moreInfoButton.setAttribute('hidden', 'true'); + lessInfoButton.removeAttribute('hidden'); + errorMoreInfo.style.height = errorMoreInfo.scrollHeight + 'px'; + }; + lessInfoButton.onclick = function () { + errorMoreInfo.setAttribute('hidden', 'true'); + moreInfoButton.removeAttribute('hidden'); + lessInfoButton.setAttribute('hidden', 'true'); + }; + moreInfoButton.oncontextmenu = _ui_utils.noContextMenuHandler; + lessInfoButton.oncontextmenu = _ui_utils.noContextMenuHandler; + closeButton.oncontextmenu = _ui_utils.noContextMenuHandler; + moreInfoButton.removeAttribute('hidden'); + lessInfoButton.setAttribute('hidden', 'true'); + Promise.all(moreInfoText).then(function (parts) { + errorMoreInfo.value = parts.join('\n'); + }); + }, + progress: function progress(level) { + var _this5 = this; + + if (this.downloadComplete) { + return; + } + var percent = Math.round(level * 100); + if (percent > this.loadingBar.percent || isNaN(percent)) { + this.loadingBar.percent = percent; + if (_pdfjsLib.PDFJS.disableAutoFetch && percent) { + if (this.disableAutoFetchLoadingBarTimeout) { + clearTimeout(this.disableAutoFetchLoadingBarTimeout); + this.disableAutoFetchLoadingBarTimeout = null; + } + this.loadingBar.show(); + this.disableAutoFetchLoadingBarTimeout = setTimeout(function () { + _this5.loadingBar.hide(); + _this5.disableAutoFetchLoadingBarTimeout = null; + }, DISABLE_AUTO_FETCH_LOADING_BAR_TIMEOUT); + } + } + }, + load: function load(pdfDocument) { + var _this6 = this; + + this.pdfDocument = pdfDocument; + pdfDocument.getDownloadInfo().then(function () { + _this6.downloadComplete = true; + _this6.loadingBar.hide(); + firstPagePromise.then(function () { + _this6.eventBus.dispatch('documentload', { source: _this6 }); + }); + }); + var pageModePromise = pdfDocument.getPageMode().catch(function () {}); + this.toolbar.setPagesCount(pdfDocument.numPages, false); + this.secondaryToolbar.setPagesCount(pdfDocument.numPages); + var id = this.documentFingerprint = pdfDocument.fingerprint; + var store = this.store = new _view_history.ViewHistory(id); + var baseDocumentUrl = void 0; + baseDocumentUrl = null; + this.pdfLinkService.setDocument(pdfDocument, baseDocumentUrl); + this.pdfDocumentProperties.setDocument(pdfDocument, this.url); + var pdfViewer = this.pdfViewer; + pdfViewer.setDocument(pdfDocument); + var firstPagePromise = pdfViewer.firstPagePromise; + var pagesPromise = pdfViewer.pagesPromise; + var onePageRendered = pdfViewer.onePageRendered; + var pdfThumbnailViewer = this.pdfThumbnailViewer; + pdfThumbnailViewer.setDocument(pdfDocument); + firstPagePromise.then(function (pdfPage) { + _this6.loadingBar.setWidth(_this6.appConfig.viewerContainer); + if (!_pdfjsLib.PDFJS.disableHistory && !_this6.isViewerEmbedded) { + var resetHistory = !_this6.viewerPrefs['showPreviousViewOnLoad']; + _this6.pdfHistory.initialize(id, resetHistory); + if (_this6.pdfHistory.initialBookmark) { + _this6.initialBookmark = _this6.pdfHistory.initialBookmark; + _this6.initialRotation = _this6.pdfHistory.initialRotation; + } + } + var initialParams = { + bookmark: null, + hash: null + }; + var storePromise = store.getMultiple({ + exists: false, + page: '1', + zoom: _ui_utils.DEFAULT_SCALE_VALUE, + scrollLeft: '0', + scrollTop: '0', + rotation: null, + sidebarView: _pdf_sidebar.SidebarView.NONE + }).catch(function () {}); + Promise.all([storePromise, pageModePromise]).then(function (_ref2) { + var _ref3 = _slicedToArray(_ref2, 2), + _ref3$ = _ref3[0], + values = _ref3$ === undefined ? {} : _ref3$, + pageMode = _ref3[1]; + + var hash = _this6.viewerPrefs['defaultZoomValue'] ? 'zoom=' + _this6.viewerPrefs['defaultZoomValue'] : null; + var rotation = null; + var sidebarView = _this6.viewerPrefs['sidebarViewOnLoad']; + if (values.exists && _this6.viewerPrefs['showPreviousViewOnLoad']) { + hash = 'page=' + values.page + '&zoom=' + (_this6.viewerPrefs['defaultZoomValue'] || values.zoom) + ',' + values.scrollLeft + ',' + values.scrollTop; + rotation = parseInt(values.rotation, 10); + sidebarView = sidebarView || values.sidebarView | 0; + } + if (pageMode && !_this6.viewerPrefs['disablePageMode']) { + sidebarView = sidebarView || apiPageModeToSidebarView(pageMode); + } + return { + hash: hash, + rotation: rotation, + sidebarView: sidebarView + }; + }).then(function (_ref4) { + var hash = _ref4.hash, + rotation = _ref4.rotation, + sidebarView = _ref4.sidebarView; + + initialParams.bookmark = _this6.initialBookmark; + initialParams.hash = hash; + _this6.setInitialView(hash, { + rotation: rotation, + sidebarView: sidebarView + }); + if (!_this6.isViewerEmbedded) { + pdfViewer.focus(); + } + return pagesPromise; + }).then(function () { + if (!initialParams.bookmark && !initialParams.hash) { + return; + } + if (pdfViewer.hasEqualPageSizes) { + return; + } + _this6.initialBookmark = initialParams.bookmark; + pdfViewer.currentScaleValue = pdfViewer.currentScaleValue; + _this6.setInitialView(initialParams.hash); + }).then(function () { + pdfViewer.update(); + }); + }); + pdfDocument.getPageLabels().then(function (labels) { + if (!labels || _this6.viewerPrefs['disablePageLabels']) { + return; + } + var i = 0, + numLabels = labels.length; + if (numLabels !== _this6.pagesCount) { + console.error('The number of Page Labels does not match ' + 'the number of pages in the document.'); + return; + } + while (i < numLabels && labels[i] === (i + 1).toString()) { + i++; + } + if (i === numLabels) { + return; + } + pdfViewer.setPageLabels(labels); + pdfThumbnailViewer.setPageLabels(labels); + _this6.toolbar.setPagesCount(pdfDocument.numPages, true); + _this6.toolbar.setPageNumber(pdfViewer.currentPageNumber, pdfViewer.currentPageLabel); + }); + pagesPromise.then(function () { + if (!_this6.supportsPrinting) { + return; + } + pdfDocument.getJavaScript().then(function (javaScript) { + if (javaScript.length === 0) { + return; + } + javaScript.some(function (js) { + if (!js) { + return false; + } + console.warn('Warning: JavaScript is not supported'); + _this6.fallback(_pdfjsLib.UNSUPPORTED_FEATURES.javaScript); + return true; + }); + var regex = /\bprint\s*\(/; + for (var i = 0, ii = javaScript.length; i < ii; i++) { + var js = javaScript[i]; + if (js && regex.test(js)) { + setTimeout(function () { + window.print(); + }); + return; + } + } + }); + }); + Promise.all([onePageRendered, _ui_utils.animationStarted]).then(function () { + pdfDocument.getOutline().then(function (outline) { + _this6.pdfOutlineViewer.render({ outline: outline }); + }); + pdfDocument.getAttachments().then(function (attachments) { + _this6.pdfAttachmentViewer.render({ attachments: attachments }); + }); + }); + pdfDocument.getMetadata().then(function (_ref5) { + var info = _ref5.info, + metadata = _ref5.metadata; + + _this6.documentInfo = info; + _this6.metadata = metadata; + console.log('PDF ' + pdfDocument.fingerprint + ' [' + info.PDFFormatVersion + ' ' + (info.Producer || '-').trim() + ' / ' + (info.Creator || '-').trim() + ']' + ' (PDF.js: ' + (_pdfjsLib.version || '-') + (!_pdfjsLib.PDFJS.disableWebGL ? ' [WebGL]' : '') + ')'); + var pdfTitle = void 0; + if (metadata && metadata.has('dc:title')) { + var title = metadata.get('dc:title'); + if (title !== 'Untitled') { + pdfTitle = title; + } + } + if (!pdfTitle && info && info['Title']) { + pdfTitle = info['Title']; + } + if (pdfTitle) { + _this6.setTitle(pdfTitle + ' - ' + document.title); + } + if (info.IsAcroFormPresent) { + console.warn('Warning: AcroForm/XFA is not supported'); + _this6.fallback(_pdfjsLib.UNSUPPORTED_FEATURES.forms); + } + }); + }, + setInitialView: function setInitialView(storedHash) { + var _this7 = this; + + var _ref6 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, + rotation = _ref6.rotation, + sidebarView = _ref6.sidebarView; + + var setRotation = function setRotation(angle) { + if ((0, _ui_utils.isValidRotation)(angle)) { + _this7.pdfViewer.pagesRotation = angle; + } + }; + this.isInitialViewSet = true; + this.pdfSidebar.setInitialView(sidebarView); + if (this.initialBookmark) { + setRotation(this.initialRotation); + delete this.initialRotation; + this.pdfLinkService.setHash(this.initialBookmark); + this.initialBookmark = null; + } else if (storedHash) { + setRotation(rotation); + this.pdfLinkService.setHash(storedHash); + } + this.toolbar.setPageNumber(this.pdfViewer.currentPageNumber, this.pdfViewer.currentPageLabel); + this.secondaryToolbar.setPageNumber(this.pdfViewer.currentPageNumber); + if (!this.pdfViewer.currentScaleValue) { + this.pdfViewer.currentScaleValue = _ui_utils.DEFAULT_SCALE_VALUE; + } + }, + cleanup: function cleanup() { + if (!this.pdfDocument) { + return; + } + this.pdfViewer.cleanup(); + this.pdfThumbnailViewer.cleanup(); + if (this.pdfViewer.renderer !== _ui_utils.RendererType.SVG) { + this.pdfDocument.cleanup(); + } + }, + forceRendering: function forceRendering() { + this.pdfRenderingQueue.printing = this.printing; + this.pdfRenderingQueue.isThumbnailViewEnabled = this.pdfSidebar.isThumbnailViewVisible; + this.pdfRenderingQueue.renderHighestPriority(); + }, + beforePrint: function beforePrint() { + var _this8 = this; + + if (this.printService) { + return; + } + if (!this.supportsPrinting) { + this.l10n.get('printing_not_supported', null, 'Warning: Printing is not fully supported by ' + 'this browser.').then(function (printMessage) { + _this8.error(printMessage); + }); + return; + } + if (!this.pdfViewer.pageViewsReady) { + this.l10n.get('printing_not_ready', null, 'Warning: The PDF is not fully loaded for printing.').then(function (notReadyMessage) { + window.alert(notReadyMessage); + }); + return; + } + var pagesOverview = this.pdfViewer.getPagesOverview(); + var printContainer = this.appConfig.printContainer; + var printService = PDFPrintServiceFactory.instance.createPrintService(this.pdfDocument, pagesOverview, printContainer, this.l10n); + this.printService = printService; + this.forceRendering(); + printService.layout(); + }, + + afterPrint: function pdfViewSetupAfterPrint() { + if (this.printService) { + this.printService.destroy(); + this.printService = null; + } + this.forceRendering(); + }, + rotatePages: function rotatePages(delta) { + if (!this.pdfDocument) { + return; + } + var newRotation = (this.pdfViewer.pagesRotation + 360 + delta) % 360; + this.pdfViewer.pagesRotation = newRotation; + }, + requestPresentationMode: function requestPresentationMode() { + if (!this.pdfPresentationMode) { + return; + } + this.pdfPresentationMode.request(); + }, + bindEvents: function bindEvents() { + var eventBus = this.eventBus, + _boundEvents = this._boundEvents; + + _boundEvents.beforePrint = this.beforePrint.bind(this); + _boundEvents.afterPrint = this.afterPrint.bind(this); + eventBus.on('resize', webViewerResize); + eventBus.on('hashchange', webViewerHashchange); + eventBus.on('beforeprint', _boundEvents.beforePrint); + eventBus.on('afterprint', _boundEvents.afterPrint); + eventBus.on('pagerendered', webViewerPageRendered); + eventBus.on('textlayerrendered', webViewerTextLayerRendered); + eventBus.on('updateviewarea', webViewerUpdateViewarea); + eventBus.on('pagechanging', webViewerPageChanging); + eventBus.on('scalechanging', webViewerScaleChanging); + eventBus.on('rotationchanging', webViewerRotationChanging); + eventBus.on('sidebarviewchanged', webViewerSidebarViewChanged); + eventBus.on('pagemode', webViewerPageMode); + eventBus.on('namedaction', webViewerNamedAction); + eventBus.on('presentationmodechanged', webViewerPresentationModeChanged); + eventBus.on('presentationmode', webViewerPresentationMode); + eventBus.on('openfile', webViewerOpenFile); + eventBus.on('print', webViewerPrint); + eventBus.on('download', webViewerDownload); + eventBus.on('firstpage', webViewerFirstPage); + eventBus.on('lastpage', webViewerLastPage); + eventBus.on('nextpage', webViewerNextPage); + eventBus.on('previouspage', webViewerPreviousPage); + eventBus.on('zoomin', webViewerZoomIn); + eventBus.on('zoomout', webViewerZoomOut); + eventBus.on('pagenumberchanged', webViewerPageNumberChanged); + eventBus.on('scalechanged', webViewerScaleChanged); + eventBus.on('rotatecw', webViewerRotateCw); + eventBus.on('rotateccw', webViewerRotateCcw); + eventBus.on('documentproperties', webViewerDocumentProperties); + eventBus.on('find', webViewerFind); + eventBus.on('findfromurlhash', webViewerFindFromUrlHash); + eventBus.on('fileinputchange', webViewerFileInputChange); + }, + bindWindowEvents: function bindWindowEvents() { + var eventBus = this.eventBus, + _boundEvents = this._boundEvents; + + _boundEvents.windowResize = function () { + eventBus.dispatch('resize'); + }; + _boundEvents.windowHashChange = function () { + eventBus.dispatch('hashchange', { hash: document.location.hash.substring(1) }); + }; + _boundEvents.windowBeforePrint = function () { + eventBus.dispatch('beforeprint'); + }; + _boundEvents.windowAfterPrint = function () { + eventBus.dispatch('afterprint'); + }; + window.addEventListener('wheel', webViewerWheel); + window.addEventListener('click', webViewerClick); + window.addEventListener('keydown', webViewerKeyDown); + window.addEventListener('resize', _boundEvents.windowResize); + window.addEventListener('hashchange', _boundEvents.windowHashChange); + window.addEventListener('beforeprint', _boundEvents.windowBeforePrint); + window.addEventListener('afterprint', _boundEvents.windowAfterPrint); + }, + unbindEvents: function unbindEvents() { + var eventBus = this.eventBus, + _boundEvents = this._boundEvents; + + eventBus.off('resize', webViewerResize); + eventBus.off('hashchange', webViewerHashchange); + eventBus.off('beforeprint', _boundEvents.beforePrint); + eventBus.off('afterprint', _boundEvents.afterPrint); + eventBus.off('pagerendered', webViewerPageRendered); + eventBus.off('textlayerrendered', webViewerTextLayerRendered); + eventBus.off('updateviewarea', webViewerUpdateViewarea); + eventBus.off('pagechanging', webViewerPageChanging); + eventBus.off('scalechanging', webViewerScaleChanging); + eventBus.off('rotationchanging', webViewerRotationChanging); + eventBus.off('sidebarviewchanged', webViewerSidebarViewChanged); + eventBus.off('pagemode', webViewerPageMode); + eventBus.off('namedaction', webViewerNamedAction); + eventBus.off('presentationmodechanged', webViewerPresentationModeChanged); + eventBus.off('presentationmode', webViewerPresentationMode); + eventBus.off('openfile', webViewerOpenFile); + eventBus.off('print', webViewerPrint); + eventBus.off('download', webViewerDownload); + eventBus.off('firstpage', webViewerFirstPage); + eventBus.off('lastpage', webViewerLastPage); + eventBus.off('nextpage', webViewerNextPage); + eventBus.off('previouspage', webViewerPreviousPage); + eventBus.off('zoomin', webViewerZoomIn); + eventBus.off('zoomout', webViewerZoomOut); + eventBus.off('pagenumberchanged', webViewerPageNumberChanged); + eventBus.off('scalechanged', webViewerScaleChanged); + eventBus.off('rotatecw', webViewerRotateCw); + eventBus.off('rotateccw', webViewerRotateCcw); + eventBus.off('documentproperties', webViewerDocumentProperties); + eventBus.off('find', webViewerFind); + eventBus.off('findfromurlhash', webViewerFindFromUrlHash); + eventBus.off('fileinputchange', webViewerFileInputChange); + _boundEvents.beforePrint = null; + _boundEvents.afterPrint = null; + }, + unbindWindowEvents: function unbindWindowEvents() { + var _boundEvents = this._boundEvents; + + window.removeEventListener('wheel', webViewerWheel); + window.removeEventListener('click', webViewerClick); + window.removeEventListener('keydown', webViewerKeyDown); + window.removeEventListener('resize', _boundEvents.windowResize); + window.removeEventListener('hashchange', _boundEvents.windowHashChange); + window.removeEventListener('beforeprint', _boundEvents.windowBeforePrint); + window.removeEventListener('afterprint', _boundEvents.windowAfterPrint); + _boundEvents.windowResize = null; + _boundEvents.windowHashChange = null; + _boundEvents.windowBeforePrint = null; + _boundEvents.windowAfterPrint = null; + } +}; +var validateFileURL = void 0; +{ + var HOSTED_VIEWER_ORIGINS = ['null', 'http://mozilla.github.io', 'https://mozilla.github.io']; + validateFileURL = function validateFileURL(file) { + if (file === undefined) { + return; + } + try { + var viewerOrigin = new URL(window.location.href).origin || 'null'; + if (HOSTED_VIEWER_ORIGINS.indexOf(viewerOrigin) >= 0) { + return; + } + var fileOrigin = new URL(file, window.location.href).origin; + if (fileOrigin !== viewerOrigin) { + throw new Error('file origin does not match viewer\'s'); + } + } catch (ex) { + var message = ex && ex.message; + PDFViewerApplication.l10n.get('loading_error', null, 'An error occurred while loading the PDF.').then(function (loadingErrorMessage) { + PDFViewerApplication.error(loadingErrorMessage, { message: message }); + }); + throw ex; + } + }; +} +function loadAndEnablePDFBug(enabledTabs) { + return new Promise(function (resolve, reject) { + var appConfig = PDFViewerApplication.appConfig; + var script = document.createElement('script'); + script.src = appConfig.debuggerScriptPath; + script.onload = function () { + PDFBug.enable(enabledTabs); + PDFBug.init({ + PDFJS: _pdfjsLib.PDFJS, + OPS: _pdfjsLib.OPS + }, appConfig.mainContainer); + resolve(); + }; + script.onerror = function () { + reject(new Error('Cannot load debugger at ' + script.src)); + }; + (document.getElementsByTagName('head')[0] || document.body).appendChild(script); + }); +} +function webViewerInitialized() { + var appConfig = PDFViewerApplication.appConfig; + var file = void 0; + var queryString = document.location.search.substring(1); + var params = (0, _ui_utils.parseQueryString)(queryString); + file = 'file' in params ? params.file : appConfig.defaultUrl; + validateFileURL(file); + var waitForBeforeOpening = []; + var fileInput = document.createElement('input'); + fileInput.id = appConfig.openFileInputName; + fileInput.className = 'fileInput'; + fileInput.setAttribute('type', 'file'); + fileInput.oncontextmenu = _ui_utils.noContextMenuHandler; + document.body.appendChild(fileInput); + if (!window.File || !window.FileReader || !window.FileList || !window.Blob) { + appConfig.toolbar.openFile.setAttribute('hidden', 'true'); + appConfig.secondaryToolbar.openFileButton.setAttribute('hidden', 'true'); + } else { + fileInput.value = null; + } + fileInput.addEventListener('change', function (evt) { + var files = evt.target.files; + if (!files || files.length === 0) { + return; + } + PDFViewerApplication.eventBus.dispatch('fileinputchange', { fileInput: evt.target }); + }); + if (PDFViewerApplication.viewerPrefs['pdfBugEnabled']) { + var hash = document.location.hash.substring(1); + var hashParams = (0, _ui_utils.parseQueryString)(hash); + if ('disableworker' in hashParams) { + _pdfjsLib.PDFJS.disableWorker = hashParams['disableworker'] === 'true'; + } + if ('disablerange' in hashParams) { + _pdfjsLib.PDFJS.disableRange = hashParams['disablerange'] === 'true'; + } + if ('disablestream' in hashParams) { + _pdfjsLib.PDFJS.disableStream = hashParams['disablestream'] === 'true'; + } + if ('disableautofetch' in hashParams) { + _pdfjsLib.PDFJS.disableAutoFetch = hashParams['disableautofetch'] === 'true'; + } + if ('disablefontface' in hashParams) { + _pdfjsLib.PDFJS.disableFontFace = hashParams['disablefontface'] === 'true'; + } + if ('disablehistory' in hashParams) { + _pdfjsLib.PDFJS.disableHistory = hashParams['disablehistory'] === 'true'; + } + if ('webgl' in hashParams) { + _pdfjsLib.PDFJS.disableWebGL = hashParams['webgl'] !== 'true'; + } + if ('useonlycsszoom' in hashParams) { + _pdfjsLib.PDFJS.useOnlyCssZoom = hashParams['useonlycsszoom'] === 'true'; + } + if ('verbosity' in hashParams) { + _pdfjsLib.PDFJS.verbosity = hashParams['verbosity'] | 0; + } + if ('ignorecurrentpositiononzoom' in hashParams) { + _pdfjsLib.PDFJS.ignoreCurrentPositionOnZoom = hashParams['ignorecurrentpositiononzoom'] === 'true'; + } + if ('textlayer' in hashParams) { + switch (hashParams['textlayer']) { + case 'off': + _pdfjsLib.PDFJS.disableTextLayer = true; + break; + case 'visible': + case 'shadow': + case 'hover': + var viewer = appConfig.viewerContainer; + viewer.classList.add('textLayer-' + hashParams['textlayer']); + break; + } + } + if ('pdfbug' in hashParams) { + _pdfjsLib.PDFJS.pdfBug = true; + var pdfBug = hashParams['pdfbug']; + var enabled = pdfBug.split(','); + waitForBeforeOpening.push(loadAndEnablePDFBug(enabled)); + } + } + if (!PDFViewerApplication.supportsPrinting) { + appConfig.toolbar.print.classList.add('hidden'); + appConfig.secondaryToolbar.printButton.classList.add('hidden'); + } + if (!PDFViewerApplication.supportsFullscreen) { + appConfig.toolbar.presentationModeButton.classList.add('hidden'); + appConfig.secondaryToolbar.presentationModeButton.classList.add('hidden'); + } + if (PDFViewerApplication.supportsIntegratedFind) { + appConfig.toolbar.viewFind.classList.add('hidden'); + } + appConfig.sidebar.mainContainer.addEventListener('transitionend', function (evt) { + if (evt.target === this) { + PDFViewerApplication.eventBus.dispatch('resize'); + } + }, true); + appConfig.sidebar.toggleButton.addEventListener('click', function () { + PDFViewerApplication.pdfSidebar.toggle(); + }); + Promise.all(waitForBeforeOpening).then(function () { + webViewerOpenFileViaURL(file); + }).catch(function (reason) { + PDFViewerApplication.l10n.get('loading_error', null, 'An error occurred while opening.').then(function (msg) { + PDFViewerApplication.error(msg, reason); + }); + }); +} +var webViewerOpenFileViaURL = void 0; +{ + webViewerOpenFileViaURL = function webViewerOpenFileViaURL(file) { + if (file && file.lastIndexOf('file:', 0) === 0) { + PDFViewerApplication.setTitleUsingUrl(file); + var xhr = new XMLHttpRequest(); + xhr.onload = function () { + PDFViewerApplication.open(new Uint8Array(xhr.response)); + }; + try { + xhr.open('GET', file); + xhr.responseType = 'arraybuffer'; + xhr.send(); + } catch (ex) { + PDFViewerApplication.l10n.get('loading_error', null, 'An error occurred while loading the PDF.').then(function (msg) { + PDFViewerApplication.error(msg, ex); + }); + } + return; + } + if (file) { + PDFViewerApplication.open(file); + } + }; +} +function webViewerPageRendered(evt) { + var pageNumber = evt.pageNumber; + var pageIndex = pageNumber - 1; + var pageView = PDFViewerApplication.pdfViewer.getPageView(pageIndex); + if (pageNumber === PDFViewerApplication.page) { + PDFViewerApplication.toolbar.updateLoadingIndicatorState(false); + } + if (!pageView) { + return; + } + if (PDFViewerApplication.pdfSidebar.isThumbnailViewVisible) { + var thumbnailView = PDFViewerApplication.pdfThumbnailViewer.getThumbnail(pageIndex); + thumbnailView.setImage(pageView); + } + if (_pdfjsLib.PDFJS.pdfBug && Stats.enabled && pageView.stats) { + Stats.add(pageNumber, pageView.stats); + } + if (pageView.error) { + PDFViewerApplication.l10n.get('rendering_error', null, 'An error occurred while rendering the page.').then(function (msg) { + PDFViewerApplication.error(msg, pageView.error); + }); + } +} +function webViewerTextLayerRendered(evt) {} +function webViewerPageMode(evt) { + var mode = evt.mode, + view = void 0; + switch (mode) { + case 'thumbs': + view = _pdf_sidebar.SidebarView.THUMBS; + break; + case 'bookmarks': + case 'outline': + view = _pdf_sidebar.SidebarView.OUTLINE; + break; + case 'attachments': + view = _pdf_sidebar.SidebarView.ATTACHMENTS; + break; + case 'none': + view = _pdf_sidebar.SidebarView.NONE; + break; + default: + console.error('Invalid "pagemode" hash parameter: ' + mode); + return; + } + PDFViewerApplication.pdfSidebar.switchView(view, true); +} +function webViewerNamedAction(evt) { + var action = evt.action; + switch (action) { + case 'GoToPage': + PDFViewerApplication.appConfig.toolbar.pageNumber.select(); + break; + case 'Find': + if (!PDFViewerApplication.supportsIntegratedFind) { + PDFViewerApplication.findBar.toggle(); + } + break; + } +} +function webViewerPresentationModeChanged(evt) { + var active = evt.active, + switchInProgress = evt.switchInProgress; + + PDFViewerApplication.pdfViewer.presentationModeState = switchInProgress ? _ui_utils.PresentationModeState.CHANGING : active ? _ui_utils.PresentationModeState.FULLSCREEN : _ui_utils.PresentationModeState.NORMAL; +} +function webViewerSidebarViewChanged(evt) { + PDFViewerApplication.pdfRenderingQueue.isThumbnailViewEnabled = PDFViewerApplication.pdfSidebar.isThumbnailViewVisible; + var store = PDFViewerApplication.store; + if (store && PDFViewerApplication.isInitialViewSet) { + store.set('sidebarView', evt.view).catch(function () {}); + } +} +function webViewerUpdateViewarea(evt) { + var location = evt.location, + store = PDFViewerApplication.store; + if (store && PDFViewerApplication.isInitialViewSet) { + store.setMultiple({ + 'exists': true, + 'page': location.pageNumber, + 'zoom': location.scale, + 'scrollLeft': location.left, + 'scrollTop': location.top, + 'rotation': location.rotation + }).catch(function () {}); + } + var href = PDFViewerApplication.pdfLinkService.getAnchorUrl(location.pdfOpenParams); + PDFViewerApplication.appConfig.toolbar.viewBookmark.href = href; + PDFViewerApplication.appConfig.secondaryToolbar.viewBookmarkButton.href = href; + var currentPage = PDFViewerApplication.pdfViewer.getPageView(PDFViewerApplication.page - 1); + var loading = currentPage.renderingState !== _pdf_rendering_queue.RenderingStates.FINISHED; + PDFViewerApplication.toolbar.updateLoadingIndicatorState(loading); +} +function webViewerResize() { + var pdfDocument = PDFViewerApplication.pdfDocument, + pdfViewer = PDFViewerApplication.pdfViewer; + + if (!pdfDocument) { + return; + } + var currentScaleValue = pdfViewer.currentScaleValue; + if (currentScaleValue === 'auto' || currentScaleValue === 'page-fit' || currentScaleValue === 'page-width') { + pdfViewer.currentScaleValue = currentScaleValue; + } + pdfViewer.update(); +} +function webViewerHashchange(evt) { + var hash = evt.hash; + if (!hash) { + return; + } + if (!PDFViewerApplication.isInitialViewSet) { + PDFViewerApplication.initialBookmark = hash; + } else if (!PDFViewerApplication.pdfHistory.popStateInProgress) { + PDFViewerApplication.pdfLinkService.setHash(hash); + } +} +var webViewerFileInputChange = void 0; +{ + webViewerFileInputChange = function webViewerFileInputChange(evt) { + var file = evt.fileInput.files[0]; + if (!_pdfjsLib.PDFJS.disableCreateObjectURL && URL.createObjectURL) { + PDFViewerApplication.open(URL.createObjectURL(file)); + } else { + var fileReader = new FileReader(); + fileReader.onload = function webViewerChangeFileReaderOnload(evt) { + var buffer = evt.target.result; + PDFViewerApplication.open(new Uint8Array(buffer)); + }; + fileReader.readAsArrayBuffer(file); + } + PDFViewerApplication.setTitleUsingUrl(file.name); + var appConfig = PDFViewerApplication.appConfig; + appConfig.toolbar.viewBookmark.setAttribute('hidden', 'true'); + appConfig.secondaryToolbar.viewBookmarkButton.setAttribute('hidden', 'true'); + appConfig.toolbar.download.setAttribute('hidden', 'true'); + appConfig.secondaryToolbar.downloadButton.setAttribute('hidden', 'true'); + }; +} +function webViewerPresentationMode() { + PDFViewerApplication.requestPresentationMode(); +} +function webViewerOpenFile() { + var openFileInputName = PDFViewerApplication.appConfig.openFileInputName; + document.getElementById(openFileInputName).click(); +} +function webViewerPrint() { + window.print(); +} +function webViewerDownload() { + PDFViewerApplication.download(); +} +function webViewerFirstPage() { + if (PDFViewerApplication.pdfDocument) { + PDFViewerApplication.page = 1; + } +} +function webViewerLastPage() { + if (PDFViewerApplication.pdfDocument) { + PDFViewerApplication.page = PDFViewerApplication.pagesCount; + } +} +function webViewerNextPage() { + PDFViewerApplication.page++; +} +function webViewerPreviousPage() { + PDFViewerApplication.page--; +} +function webViewerZoomIn() { + PDFViewerApplication.zoomIn(); +} +function webViewerZoomOut() { + PDFViewerApplication.zoomOut(); +} +function webViewerPageNumberChanged(evt) { + var pdfViewer = PDFViewerApplication.pdfViewer; + pdfViewer.currentPageLabel = evt.value; + if (evt.value !== pdfViewer.currentPageNumber.toString() && evt.value !== pdfViewer.currentPageLabel) { + PDFViewerApplication.toolbar.setPageNumber(pdfViewer.currentPageNumber, pdfViewer.currentPageLabel); + } +} +function webViewerScaleChanged(evt) { + PDFViewerApplication.pdfViewer.currentScaleValue = evt.value; +} +function webViewerRotateCw() { + PDFViewerApplication.rotatePages(90); +} +function webViewerRotateCcw() { + PDFViewerApplication.rotatePages(-90); +} +function webViewerDocumentProperties() { + PDFViewerApplication.pdfDocumentProperties.open(); +} +function webViewerFind(evt) { + PDFViewerApplication.findController.executeCommand('find' + evt.type, { + query: evt.query, + phraseSearch: evt.phraseSearch, + caseSensitive: evt.caseSensitive, + highlightAll: evt.highlightAll, + findPrevious: evt.findPrevious + }); +} +function webViewerFindFromUrlHash(evt) { + PDFViewerApplication.findController.executeCommand('find', { + query: evt.query, + phraseSearch: evt.phraseSearch, + caseSensitive: false, + highlightAll: true, + findPrevious: false + }); +} +function webViewerScaleChanging(evt) { + PDFViewerApplication.toolbar.setPageScale(evt.presetValue, evt.scale); + PDFViewerApplication.pdfViewer.update(); +} +function webViewerRotationChanging(evt) { + PDFViewerApplication.pdfThumbnailViewer.pagesRotation = evt.pagesRotation; + PDFViewerApplication.forceRendering(); + PDFViewerApplication.pdfViewer.currentPageNumber = evt.pageNumber; +} +function webViewerPageChanging(evt) { + var page = evt.pageNumber; + PDFViewerApplication.toolbar.setPageNumber(page, evt.pageLabel || null); + PDFViewerApplication.secondaryToolbar.setPageNumber(page); + if (PDFViewerApplication.pdfSidebar.isThumbnailViewVisible) { + PDFViewerApplication.pdfThumbnailViewer.scrollThumbnailIntoView(page); + } + if (_pdfjsLib.PDFJS.pdfBug && Stats.enabled) { + var pageView = PDFViewerApplication.pdfViewer.getPageView(page - 1); + if (pageView.stats) { + Stats.add(page, pageView.stats); + } + } +} +var zoomDisabled = false, + zoomDisabledTimeout = void 0; +function webViewerWheel(evt) { + var pdfViewer = PDFViewerApplication.pdfViewer; + if (pdfViewer.isInPresentationMode) { + return; + } + if (evt.ctrlKey || evt.metaKey) { + var support = PDFViewerApplication.supportedMouseWheelZoomModifierKeys; + if (evt.ctrlKey && !support.ctrlKey || evt.metaKey && !support.metaKey) { + return; + } + evt.preventDefault(); + if (zoomDisabled) { + return; + } + var previousScale = pdfViewer.currentScale; + var delta = (0, _ui_utils.normalizeWheelEventDelta)(evt); + var MOUSE_WHEEL_DELTA_PER_PAGE_SCALE = 3.0; + var ticks = delta * MOUSE_WHEEL_DELTA_PER_PAGE_SCALE; + if (ticks < 0) { + PDFViewerApplication.zoomOut(-ticks); + } else { + PDFViewerApplication.zoomIn(ticks); + } + var currentScale = pdfViewer.currentScale; + if (previousScale !== currentScale) { + var scaleCorrectionFactor = currentScale / previousScale - 1; + var rect = pdfViewer.container.getBoundingClientRect(); + var dx = evt.clientX - rect.left; + var dy = evt.clientY - rect.top; + pdfViewer.container.scrollLeft += dx * scaleCorrectionFactor; + pdfViewer.container.scrollTop += dy * scaleCorrectionFactor; + } + } else { + zoomDisabled = true; + clearTimeout(zoomDisabledTimeout); + zoomDisabledTimeout = setTimeout(function () { + zoomDisabled = false; + }, 1000); + } +} +function webViewerClick(evt) { + if (!PDFViewerApplication.secondaryToolbar.isOpen) { + return; + } + var appConfig = PDFViewerApplication.appConfig; + if (PDFViewerApplication.pdfViewer.containsElement(evt.target) || appConfig.toolbar.container.contains(evt.target) && evt.target !== appConfig.secondaryToolbar.toggleButton) { + PDFViewerApplication.secondaryToolbar.close(); + } +} +function webViewerKeyDown(evt) { + if (PDFViewerApplication.overlayManager.active) { + return; + } + var handled = false, + ensureViewerFocused = false; + var cmd = (evt.ctrlKey ? 1 : 0) | (evt.altKey ? 2 : 0) | (evt.shiftKey ? 4 : 0) | (evt.metaKey ? 8 : 0); + var pdfViewer = PDFViewerApplication.pdfViewer; + var isViewerInPresentationMode = pdfViewer && pdfViewer.isInPresentationMode; + if (cmd === 1 || cmd === 8 || cmd === 5 || cmd === 12) { + switch (evt.keyCode) { + case 70: + if (!PDFViewerApplication.supportsIntegratedFind) { + PDFViewerApplication.findBar.open(); + handled = true; + } + break; + case 71: + if (!PDFViewerApplication.supportsIntegratedFind) { + var findState = PDFViewerApplication.findController.state; + if (findState) { + PDFViewerApplication.findController.executeCommand('findagain', { + query: findState.query, + phraseSearch: findState.phraseSearch, + caseSensitive: findState.caseSensitive, + highlightAll: findState.highlightAll, + findPrevious: cmd === 5 || cmd === 12 + }); + } + handled = true; + } + break; + case 61: + case 107: + case 187: + case 171: + if (!isViewerInPresentationMode) { + PDFViewerApplication.zoomIn(); + } + handled = true; + break; + case 173: + case 109: + case 189: + if (!isViewerInPresentationMode) { + PDFViewerApplication.zoomOut(); + } + handled = true; + break; + case 48: + case 96: + if (!isViewerInPresentationMode) { + setTimeout(function () { + pdfViewer.currentScaleValue = _ui_utils.DEFAULT_SCALE_VALUE; + }); + handled = false; + } + break; + case 38: + if (isViewerInPresentationMode || PDFViewerApplication.page > 1) { + PDFViewerApplication.page = 1; + handled = true; + ensureViewerFocused = true; + } + break; + case 40: + if (isViewerInPresentationMode || PDFViewerApplication.page < PDFViewerApplication.pagesCount) { + PDFViewerApplication.page = PDFViewerApplication.pagesCount; + handled = true; + ensureViewerFocused = true; + } + break; + } + } + if (cmd === 1 || cmd === 8) { + switch (evt.keyCode) { + case 83: + PDFViewerApplication.download(); + handled = true; + break; + } + } + if (cmd === 3 || cmd === 10) { + switch (evt.keyCode) { + case 80: + PDFViewerApplication.requestPresentationMode(); + handled = true; + break; + case 71: + PDFViewerApplication.appConfig.toolbar.pageNumber.select(); + handled = true; + break; + } + } + if (handled) { + if (ensureViewerFocused && !isViewerInPresentationMode) { + pdfViewer.focus(); + } + evt.preventDefault(); + return; + } + var curElement = document.activeElement || document.querySelector(':focus'); + var curElementTagName = curElement && curElement.tagName.toUpperCase(); + if (curElementTagName === 'INPUT' || curElementTagName === 'TEXTAREA' || curElementTagName === 'SELECT') { + if (evt.keyCode !== 27) { + return; + } + } + if (cmd === 0) { + switch (evt.keyCode) { + case 38: + case 33: + case 8: + if (!isViewerInPresentationMode && pdfViewer.currentScaleValue !== 'page-fit') { + break; + } + case 37: + if (pdfViewer.isHorizontalScrollbarEnabled) { + break; + } + case 75: + case 80: + if (PDFViewerApplication.page > 1) { + PDFViewerApplication.page--; + } + handled = true; + break; + case 27: + if (PDFViewerApplication.secondaryToolbar.isOpen) { + PDFViewerApplication.secondaryToolbar.close(); + handled = true; + } + if (!PDFViewerApplication.supportsIntegratedFind && PDFViewerApplication.findBar.opened) { + PDFViewerApplication.findBar.close(); + handled = true; + } + break; + case 40: + case 34: + case 32: + if (!isViewerInPresentationMode && pdfViewer.currentScaleValue !== 'page-fit') { + break; + } + case 39: + if (pdfViewer.isHorizontalScrollbarEnabled) { + break; + } + case 74: + case 78: + if (PDFViewerApplication.page < PDFViewerApplication.pagesCount) { + PDFViewerApplication.page++; + } + handled = true; + break; + case 36: + if (isViewerInPresentationMode || PDFViewerApplication.page > 1) { + PDFViewerApplication.page = 1; + handled = true; + ensureViewerFocused = true; + } + break; + case 35: + if (isViewerInPresentationMode || PDFViewerApplication.page < PDFViewerApplication.pagesCount) { + PDFViewerApplication.page = PDFViewerApplication.pagesCount; + handled = true; + ensureViewerFocused = true; + } + break; + case 83: + PDFViewerApplication.pdfCursorTools.switchTool(_pdf_cursor_tools.CursorTool.SELECT); + break; + case 72: + PDFViewerApplication.pdfCursorTools.switchTool(_pdf_cursor_tools.CursorTool.HAND); + break; + case 82: + PDFViewerApplication.rotatePages(90); + break; + } + } + if (cmd === 4) { + switch (evt.keyCode) { + case 32: + if (!isViewerInPresentationMode && pdfViewer.currentScaleValue !== 'page-fit') { + break; + } + if (PDFViewerApplication.page > 1) { + PDFViewerApplication.page--; + } + handled = true; + break; + case 82: + PDFViewerApplication.rotatePages(-90); + break; + } + } + if (!handled && !isViewerInPresentationMode) { + if (evt.keyCode >= 33 && evt.keyCode <= 40 || evt.keyCode === 32 && curElementTagName !== 'BUTTON') { + ensureViewerFocused = true; + } + } + if (ensureViewerFocused && !pdfViewer.containsElement(curElement)) { + pdfViewer.focus(); + } + if (handled) { + evt.preventDefault(); + } +} +function apiPageModeToSidebarView(mode) { + switch (mode) { + case 'UseNone': + return _pdf_sidebar.SidebarView.NONE; + case 'UseThumbs': + return _pdf_sidebar.SidebarView.THUMBS; + case 'UseOutlines': + return _pdf_sidebar.SidebarView.OUTLINE; + case 'UseAttachments': + return _pdf_sidebar.SidebarView.ATTACHMENTS; + case 'UseOC': + } + return _pdf_sidebar.SidebarView.NONE; +} +var PDFPrintServiceFactory = { + instance: { + supportsPrinting: false, + createPrintService: function createPrintService() { + throw new Error('Not implemented: createPrintService'); + } + } +}; +exports.PDFViewerApplication = PDFViewerApplication; +exports.DefaultExternalServices = DefaultExternalServices; +exports.PDFPrintServiceFactory = PDFPrintServiceFactory; + +/***/ }), +/* 5 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.SimpleLinkService = exports.PDFLinkService = undefined; + +var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _dom_events = __webpack_require__(2); + +var _ui_utils = __webpack_require__(0); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var PDFLinkService = function () { + function PDFLinkService() { + var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + eventBus = _ref.eventBus; + + _classCallCheck(this, PDFLinkService); + + this.eventBus = eventBus || (0, _dom_events.getGlobalEventBus)(); + this.baseUrl = null; + this.pdfDocument = null; + this.pdfViewer = null; + this.pdfHistory = null; + this._pagesRefCache = null; + } + + _createClass(PDFLinkService, [{ + key: 'setDocument', + value: function setDocument(pdfDocument, baseUrl) { + this.baseUrl = baseUrl; + this.pdfDocument = pdfDocument; + this._pagesRefCache = Object.create(null); + } + }, { + key: 'setViewer', + value: function setViewer(pdfViewer) { + this.pdfViewer = pdfViewer; + } + }, { + key: 'setHistory', + value: function setHistory(pdfHistory) { + this.pdfHistory = pdfHistory; + } + }, { + key: 'navigateTo', + value: function navigateTo(dest) { + var _this = this; + + var goToDestination = function goToDestination(_ref2) { + var namedDest = _ref2.namedDest, + explicitDest = _ref2.explicitDest; + + var destRef = explicitDest[0], + pageNumber = void 0; + if (destRef instanceof Object) { + pageNumber = _this._cachedPageNumber(destRef); + if (pageNumber === null) { + _this.pdfDocument.getPageIndex(destRef).then(function (pageIndex) { + _this.cachePageRef(pageIndex + 1, destRef); + goToDestination({ + namedDest: namedDest, + explicitDest: explicitDest + }); + }).catch(function () { + console.error('PDFLinkService.navigateTo: "' + destRef + '" is not ' + ('a valid page reference, for dest="' + dest + '".')); + }); + return; + } + } else if (Number.isInteger(destRef)) { + pageNumber = destRef + 1; + } else { + console.error('PDFLinkService.navigateTo: "' + destRef + '" is not ' + ('a valid destination reference, for dest="' + dest + '".')); + return; + } + if (!pageNumber || pageNumber < 1 || pageNumber > _this.pagesCount) { + console.error('PDFLinkService.navigateTo: "' + pageNumber + '" is not ' + ('a valid page number, for dest="' + dest + '".')); + return; + } + if (_this.pdfHistory) { + _this.pdfHistory.pushCurrentPosition(); + _this.pdfHistory.push({ + namedDest: namedDest, + explicitDest: explicitDest, + pageNumber: pageNumber + }); + } + _this.pdfViewer.scrollPageIntoView({ + pageNumber: pageNumber, + destArray: explicitDest + }); + }; + new Promise(function (resolve, reject) { + if (typeof dest === 'string') { + _this.pdfDocument.getDestination(dest).then(function (destArray) { + resolve({ + namedDest: dest, + explicitDest: destArray + }); + }); + return; + } + resolve({ + namedDest: '', + explicitDest: dest + }); + }).then(function (data) { + if (!(data.explicitDest instanceof Array)) { + console.error('PDFLinkService.navigateTo: "' + data.explicitDest + '" is' + (' not a valid destination array, for dest="' + dest + '".')); + return; + } + goToDestination(data); + }); + } + }, { + key: 'getDestinationHash', + value: function getDestinationHash(dest) { + if (typeof dest === 'string') { + return this.getAnchorUrl('#' + escape(dest)); + } + if (dest instanceof Array) { + var str = JSON.stringify(dest); + return this.getAnchorUrl('#' + escape(str)); + } + return this.getAnchorUrl(''); + } + }, { + key: 'getAnchorUrl', + value: function getAnchorUrl(anchor) { + return (this.baseUrl || '') + anchor; + } + }, { + key: 'setHash', + value: function setHash(hash) { + var pageNumber = void 0, + dest = void 0; + if (hash.indexOf('=') >= 0) { + var params = (0, _ui_utils.parseQueryString)(hash); + if ('search' in params) { + this.eventBus.dispatch('findfromurlhash', { + source: this, + query: params['search'].replace(/"/g, ''), + phraseSearch: params['phrase'] === 'true' + }); + } + if ('nameddest' in params) { + this.navigateTo(params.nameddest); + return; + } + if ('page' in params) { + pageNumber = params.page | 0 || 1; + } + if ('zoom' in params) { + var zoomArgs = params.zoom.split(','); + var zoomArg = zoomArgs[0]; + var zoomArgNumber = parseFloat(zoomArg); + if (zoomArg.indexOf('Fit') === -1) { + dest = [null, { name: 'XYZ' }, zoomArgs.length > 1 ? zoomArgs[1] | 0 : null, zoomArgs.length > 2 ? zoomArgs[2] | 0 : null, zoomArgNumber ? zoomArgNumber / 100 : zoomArg]; + } else { + if (zoomArg === 'Fit' || zoomArg === 'FitB') { + dest = [null, { name: zoomArg }]; + } else if (zoomArg === 'FitH' || zoomArg === 'FitBH' || zoomArg === 'FitV' || zoomArg === 'FitBV') { + dest = [null, { name: zoomArg }, zoomArgs.length > 1 ? zoomArgs[1] | 0 : null]; + } else if (zoomArg === 'FitR') { + if (zoomArgs.length !== 5) { + console.error('PDFLinkService.setHash: Not enough parameters for "FitR".'); + } else { + dest = [null, { name: zoomArg }, zoomArgs[1] | 0, zoomArgs[2] | 0, zoomArgs[3] | 0, zoomArgs[4] | 0]; + } + } else { + console.error('PDFLinkService.setHash: "' + zoomArg + '" is not ' + 'a valid zoom value.'); + } + } + } + if (dest) { + this.pdfViewer.scrollPageIntoView({ + pageNumber: pageNumber || this.page, + destArray: dest, + allowNegativeOffset: true + }); + } else if (pageNumber) { + this.page = pageNumber; + } + if ('pagemode' in params) { + this.eventBus.dispatch('pagemode', { + source: this, + mode: params.pagemode + }); + } + } else { + if (/^\d+$/.test(hash) && hash <= this.pagesCount) { + console.warn('PDFLinkService_setHash: specifying a page number ' + 'directly after the hash symbol (#) is deprecated, ' + ('please use the "#page=' + hash + '" form instead.')); + this.page = hash | 0; + } + dest = unescape(hash); + try { + dest = JSON.parse(dest); + if (!(dest instanceof Array)) { + dest = dest.toString(); + } + } catch (ex) {} + if (typeof dest === 'string' || isValidExplicitDestination(dest)) { + this.navigateTo(dest); + return; + } + console.error('PDFLinkService.setHash: "' + unescape(hash) + '" is not ' + 'a valid destination.'); + } + } + }, { + key: 'executeNamedAction', + value: function executeNamedAction(action) { + switch (action) { + case 'GoBack': + if (this.pdfHistory) { + this.pdfHistory.back(); + } + break; + case 'GoForward': + if (this.pdfHistory) { + this.pdfHistory.forward(); + } + break; + case 'NextPage': + if (this.page < this.pagesCount) { + this.page++; + } + break; + case 'PrevPage': + if (this.page > 1) { + this.page--; + } + break; + case 'LastPage': + this.page = this.pagesCount; + break; + case 'FirstPage': + this.page = 1; + break; + default: + break; + } + this.eventBus.dispatch('namedaction', { + source: this, + action: action + }); + } + }, { + key: 'onFileAttachmentAnnotation', + value: function onFileAttachmentAnnotation(_ref3) { + var id = _ref3.id, + filename = _ref3.filename, + content = _ref3.content; + + this.eventBus.dispatch('fileattachmentannotation', { + source: this, + id: id, + filename: filename, + content: content + }); + } + }, { + key: 'cachePageRef', + value: function cachePageRef(pageNum, pageRef) { + var refStr = pageRef.num + ' ' + pageRef.gen + ' R'; + this._pagesRefCache[refStr] = pageNum; + } + }, { + key: '_cachedPageNumber', + value: function _cachedPageNumber(pageRef) { + var refStr = pageRef.num + ' ' + pageRef.gen + ' R'; + return this._pagesRefCache && this._pagesRefCache[refStr] || null; + } + }, { + key: 'pagesCount', + get: function get() { + return this.pdfDocument ? this.pdfDocument.numPages : 0; + } + }, { + key: 'page', + get: function get() { + return this.pdfViewer.currentPageNumber; + }, + set: function set(value) { + this.pdfViewer.currentPageNumber = value; + } + }, { + key: 'rotation', + get: function get() { + return this.pdfViewer.pagesRotation; + }, + set: function set(value) { + this.pdfViewer.pagesRotation = value; + } + }]); + + return PDFLinkService; +}(); + +function isValidExplicitDestination(dest) { + if (!(dest instanceof Array)) { + return false; + } + var destLength = dest.length, + allowNull = true; + if (destLength < 2) { + return false; + } + var page = dest[0]; + if (!((typeof page === 'undefined' ? 'undefined' : _typeof(page)) === 'object' && Number.isInteger(page.num) && Number.isInteger(page.gen)) && !(Number.isInteger(page) && page >= 0)) { + return false; + } + var zoom = dest[1]; + if (!((typeof zoom === 'undefined' ? 'undefined' : _typeof(zoom)) === 'object' && typeof zoom.name === 'string')) { + return false; + } + switch (zoom.name) { + case 'XYZ': + if (destLength !== 5) { + return false; + } + break; + case 'Fit': + case 'FitB': + return destLength === 2; + case 'FitH': + case 'FitBH': + case 'FitV': + case 'FitBV': + if (destLength !== 3) { + return false; + } + break; + case 'FitR': + if (destLength !== 6) { + return false; + } + allowNull = false; + break; + default: + return false; + } + for (var i = 2; i < destLength; i++) { + var param = dest[i]; + if (!(typeof param === 'number' || allowNull && param === null)) { + return false; + } + } + return true; +} + +var SimpleLinkService = function () { + function SimpleLinkService() { + _classCallCheck(this, SimpleLinkService); + } + + _createClass(SimpleLinkService, [{ + key: 'navigateTo', + value: function navigateTo(dest) {} + }, { + key: 'getDestinationHash', + value: function getDestinationHash(dest) { + return '#'; + } + }, { + key: 'getAnchorUrl', + value: function getAnchorUrl(hash) { + return '#'; + } + }, { + key: 'setHash', + value: function setHash(hash) {} + }, { + key: 'executeNamedAction', + value: function executeNamedAction(action) {} + }, { + key: 'onFileAttachmentAnnotation', + value: function onFileAttachmentAnnotation(_ref4) { + var id = _ref4.id, + filename = _ref4.filename, + content = _ref4.content; + } + }, { + key: 'cachePageRef', + value: function cachePageRef(pageNum, pageRef) {} + }, { + key: 'page', + get: function get() { + return 0; + }, + set: function set(value) {} + }, { + key: 'rotation', + get: function get() { + return 0; + }, + set: function set(value) {} + }]); + + return SimpleLinkService; +}(); + +exports.PDFLinkService = PDFLinkService; +exports.SimpleLinkService = SimpleLinkService; + +/***/ }), +/* 6 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.PDFCursorTools = exports.CursorTool = undefined; + +var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }(); + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _grab_to_pan = __webpack_require__(9); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var CursorTool = { + SELECT: 0, + HAND: 1, + ZOOM: 2 +}; + +var PDFCursorTools = function () { + function PDFCursorTools(_ref) { + var _this = this; + + var container = _ref.container, + eventBus = _ref.eventBus, + preferences = _ref.preferences; + + _classCallCheck(this, PDFCursorTools); + + this.container = container; + this.eventBus = eventBus; + this.active = CursorTool.SELECT; + this.activeBeforePresentationMode = null; + this.handTool = new _grab_to_pan.GrabToPan({ element: this.container }); + this._addEventListeners(); + Promise.all([preferences.get('cursorToolOnLoad'), preferences.get('enableHandToolOnLoad')]).then(function (_ref2) { + var _ref3 = _slicedToArray(_ref2, 2), + cursorToolPref = _ref3[0], + handToolPref = _ref3[1]; + + if (handToolPref === true) { + preferences.set('enableHandToolOnLoad', false); + if (cursorToolPref === CursorTool.SELECT) { + cursorToolPref = CursorTool.HAND; + preferences.set('cursorToolOnLoad', cursorToolPref).catch(function () {}); + } + } + _this.switchTool(cursorToolPref); + }).catch(function () {}); + } + + _createClass(PDFCursorTools, [{ + key: 'switchTool', + value: function switchTool(tool) { + var _this2 = this; + + if (this.activeBeforePresentationMode !== null) { + return; + } + if (tool === this.active) { + return; + } + var disableActiveTool = function disableActiveTool() { + switch (_this2.active) { + case CursorTool.SELECT: + break; + case CursorTool.HAND: + _this2.handTool.deactivate(); + break; + case CursorTool.ZOOM: + } + }; + switch (tool) { + case CursorTool.SELECT: + disableActiveTool(); + break; + case CursorTool.HAND: + disableActiveTool(); + this.handTool.activate(); + break; + case CursorTool.ZOOM: + default: + console.error('switchTool: "' + tool + '" is an unsupported value.'); + return; + } + this.active = tool; + this._dispatchEvent(); + } + }, { + key: '_dispatchEvent', + value: function _dispatchEvent() { + this.eventBus.dispatch('cursortoolchanged', { + source: this, + tool: this.active + }); + } + }, { + key: '_addEventListeners', + value: function _addEventListeners() { + var _this3 = this; + + this.eventBus.on('switchcursortool', function (evt) { + _this3.switchTool(evt.tool); + }); + this.eventBus.on('presentationmodechanged', function (evt) { + if (evt.switchInProgress) { + return; + } + var previouslyActive = void 0; + if (evt.active) { + previouslyActive = _this3.active; + _this3.switchTool(CursorTool.SELECT); + _this3.activeBeforePresentationMode = previouslyActive; + } else { + previouslyActive = _this3.activeBeforePresentationMode; + _this3.activeBeforePresentationMode = null; + _this3.switchTool(previouslyActive); + } + }); + } + }, { + key: 'activeTool', + get: function get() { + return this.active; + } + }]); + + return PDFCursorTools; +}(); + +exports.CursorTool = CursorTool; +exports.PDFCursorTools = PDFCursorTools; + +/***/ }), +/* 7 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.PDFFindController = exports.FindState = undefined; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _pdfjsLib = __webpack_require__(1); + +var _ui_utils = __webpack_require__(0); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var FindState = { + FOUND: 0, + NOT_FOUND: 1, + WRAPPED: 2, + PENDING: 3 +}; +var FIND_SCROLL_OFFSET_TOP = -50; +var FIND_SCROLL_OFFSET_LEFT = -400; +var FIND_TIMEOUT = 250; +var CHARACTERS_TO_NORMALIZE = { + '\u2018': '\'', + '\u2019': '\'', + '\u201A': '\'', + '\u201B': '\'', + '\u201C': '"', + '\u201D': '"', + '\u201E': '"', + '\u201F': '"', + '\xBC': '1/4', + '\xBD': '1/2', + '\xBE': '3/4' +}; + +var PDFFindController = function () { + function PDFFindController(_ref) { + var pdfViewer = _ref.pdfViewer; + + _classCallCheck(this, PDFFindController); + + this.pdfViewer = pdfViewer; + this.onUpdateResultsCount = null; + this.onUpdateState = null; + this.reset(); + var replace = Object.keys(CHARACTERS_TO_NORMALIZE).join(''); + this.normalizationRegex = new RegExp('[' + replace + ']', 'g'); + } + + _createClass(PDFFindController, [{ + key: 'reset', + value: function reset() { + var _this = this; + + this.startedTextExtraction = false; + this.extractTextPromises = []; + this.pendingFindMatches = Object.create(null); + this.active = false; + this.pageContents = []; + this.pageMatches = []; + this.pageMatchesLength = null; + this.matchCount = 0; + this.selected = { + pageIdx: -1, + matchIdx: -1 + }; + this.offset = { + pageIdx: null, + matchIdx: null + }; + this.pagesToSearch = null; + this.resumePageIdx = null; + this.state = null; + this.dirtyMatch = false; + this.findTimeout = null; + this._firstPagePromise = new Promise(function (resolve) { + _this.resolveFirstPage = resolve; + }); + } + }, { + key: 'normalize', + value: function normalize(text) { + return text.replace(this.normalizationRegex, function (ch) { + return CHARACTERS_TO_NORMALIZE[ch]; + }); + } + }, { + key: '_prepareMatches', + value: function _prepareMatches(matchesWithLength, matches, matchesLength) { + function isSubTerm(matchesWithLength, currentIndex) { + var currentElem = matchesWithLength[currentIndex]; + var nextElem = matchesWithLength[currentIndex + 1]; + if (currentIndex < matchesWithLength.length - 1 && currentElem.match === nextElem.match) { + currentElem.skipped = true; + return true; + } + for (var i = currentIndex - 1; i >= 0; i--) { + var prevElem = matchesWithLength[i]; + if (prevElem.skipped) { + continue; + } + if (prevElem.match + prevElem.matchLength < currentElem.match) { + break; + } + if (prevElem.match + prevElem.matchLength >= currentElem.match + currentElem.matchLength) { + currentElem.skipped = true; + return true; + } + } + return false; + } + matchesWithLength.sort(function (a, b) { + return a.match === b.match ? a.matchLength - b.matchLength : a.match - b.match; + }); + for (var i = 0, len = matchesWithLength.length; i < len; i++) { + if (isSubTerm(matchesWithLength, i)) { + continue; + } + matches.push(matchesWithLength[i].match); + matchesLength.push(matchesWithLength[i].matchLength); + } + } + }, { + key: 'calcFindPhraseMatch', + value: function calcFindPhraseMatch(query, pageIndex, pageContent) { + var matches = []; + var queryLen = query.length; + var matchIdx = -queryLen; + while (true) { + matchIdx = pageContent.indexOf(query, matchIdx + queryLen); + if (matchIdx === -1) { + break; + } + matches.push(matchIdx); + } + this.pageMatches[pageIndex] = matches; + } + }, { + key: 'calcFindWordMatch', + value: function calcFindWordMatch(query, pageIndex, pageContent) { + var matchesWithLength = []; + var queryArray = query.match(/\S+/g); + for (var i = 0, len = queryArray.length; i < len; i++) { + var subquery = queryArray[i]; + var subqueryLen = subquery.length; + var matchIdx = -subqueryLen; + while (true) { + matchIdx = pageContent.indexOf(subquery, matchIdx + subqueryLen); + if (matchIdx === -1) { + break; + } + matchesWithLength.push({ + match: matchIdx, + matchLength: subqueryLen, + skipped: false + }); + } + } + if (!this.pageMatchesLength) { + this.pageMatchesLength = []; + } + this.pageMatchesLength[pageIndex] = []; + this.pageMatches[pageIndex] = []; + this._prepareMatches(matchesWithLength, this.pageMatches[pageIndex], this.pageMatchesLength[pageIndex]); + } + }, { + key: 'calcFindMatch', + value: function calcFindMatch(pageIndex) { + var pageContent = this.normalize(this.pageContents[pageIndex]); + var query = this.normalize(this.state.query); + var caseSensitive = this.state.caseSensitive; + var phraseSearch = this.state.phraseSearch; + var queryLen = query.length; + if (queryLen === 0) { + return; + } + if (!caseSensitive) { + pageContent = pageContent.toLowerCase(); + query = query.toLowerCase(); + } + if (phraseSearch) { + this.calcFindPhraseMatch(query, pageIndex, pageContent); + } else { + this.calcFindWordMatch(query, pageIndex, pageContent); + } + this.updatePage(pageIndex); + if (this.resumePageIdx === pageIndex) { + this.resumePageIdx = null; + this.nextPageMatch(); + } + if (this.pageMatches[pageIndex].length > 0) { + this.matchCount += this.pageMatches[pageIndex].length; + this.updateUIResultsCount(); + } + } + }, { + key: 'extractText', + value: function extractText() { + var _this2 = this; + + if (this.startedTextExtraction) { + return; + } + this.startedTextExtraction = true; + this.pageContents.length = 0; + var promise = Promise.resolve(); + + var _loop = function _loop(i, ii) { + var extractTextCapability = (0, _pdfjsLib.createPromiseCapability)(); + _this2.extractTextPromises[i] = extractTextCapability.promise; + promise = promise.then(function () { + return _this2.pdfViewer.getPageTextContent(i).then(function (textContent) { + var textItems = textContent.items; + var strBuf = []; + for (var j = 0, jj = textItems.length; j < jj; j++) { + strBuf.push(textItems[j].str); + } + _this2.pageContents[i] = strBuf.join(''); + extractTextCapability.resolve(i); + }, function (reason) { + console.error('Unable to get page ' + (i + 1) + ' text content', reason); + _this2.pageContents[i] = ''; + extractTextCapability.resolve(i); + }); + }); + }; + + for (var i = 0, ii = this.pdfViewer.pagesCount; i < ii; i++) { + _loop(i, ii); + } + } + }, { + key: 'executeCommand', + value: function executeCommand(cmd, state) { + var _this3 = this; + + if (this.state === null || cmd !== 'findagain') { + this.dirtyMatch = true; + } + this.state = state; + this.updateUIState(FindState.PENDING); + this._firstPagePromise.then(function () { + _this3.extractText(); + clearTimeout(_this3.findTimeout); + if (cmd === 'find') { + _this3.findTimeout = setTimeout(_this3.nextMatch.bind(_this3), FIND_TIMEOUT); + } else { + _this3.nextMatch(); + } + }); + } + }, { + key: 'updatePage', + value: function updatePage(index) { + if (this.selected.pageIdx === index) { + this.pdfViewer.currentPageNumber = index + 1; + } + var page = this.pdfViewer.getPageView(index); + if (page.textLayer) { + page.textLayer.updateMatches(); + } + } + }, { + key: 'nextMatch', + value: function nextMatch() { + var _this4 = this; + + var previous = this.state.findPrevious; + var currentPageIndex = this.pdfViewer.currentPageNumber - 1; + var numPages = this.pdfViewer.pagesCount; + this.active = true; + if (this.dirtyMatch) { + this.dirtyMatch = false; + this.selected.pageIdx = this.selected.matchIdx = -1; + this.offset.pageIdx = currentPageIndex; + this.offset.matchIdx = null; + this.hadMatch = false; + this.resumePageIdx = null; + this.pageMatches = []; + this.matchCount = 0; + this.pageMatchesLength = null; + for (var i = 0; i < numPages; i++) { + this.updatePage(i); + if (!(i in this.pendingFindMatches)) { + this.pendingFindMatches[i] = true; + this.extractTextPromises[i].then(function (pageIdx) { + delete _this4.pendingFindMatches[pageIdx]; + _this4.calcFindMatch(pageIdx); + }); + } + } + } + if (this.state.query === '') { + this.updateUIState(FindState.FOUND); + return; + } + if (this.resumePageIdx) { + return; + } + var offset = this.offset; + this.pagesToSearch = numPages; + if (offset.matchIdx !== null) { + var numPageMatches = this.pageMatches[offset.pageIdx].length; + if (!previous && offset.matchIdx + 1 < numPageMatches || previous && offset.matchIdx > 0) { + this.hadMatch = true; + offset.matchIdx = previous ? offset.matchIdx - 1 : offset.matchIdx + 1; + this.updateMatch(true); + return; + } + this.advanceOffsetPage(previous); + } + this.nextPageMatch(); + } + }, { + key: 'matchesReady', + value: function matchesReady(matches) { + var offset = this.offset; + var numMatches = matches.length; + var previous = this.state.findPrevious; + if (numMatches) { + this.hadMatch = true; + offset.matchIdx = previous ? numMatches - 1 : 0; + this.updateMatch(true); + return true; + } + this.advanceOffsetPage(previous); + if (offset.wrapped) { + offset.matchIdx = null; + if (this.pagesToSearch < 0) { + this.updateMatch(false); + return true; + } + } + return false; + } + }, { + key: 'updateMatchPosition', + value: function updateMatchPosition(pageIndex, matchIndex, elements, beginIdx) { + if (this.selected.matchIdx === matchIndex && this.selected.pageIdx === pageIndex) { + var spot = { + top: FIND_SCROLL_OFFSET_TOP, + left: FIND_SCROLL_OFFSET_LEFT + }; + (0, _ui_utils.scrollIntoView)(elements[beginIdx], spot, true); + } + } + }, { + key: 'nextPageMatch', + value: function nextPageMatch() { + if (this.resumePageIdx !== null) { + console.error('There can only be one pending page.'); + } + var matches = null; + do { + var pageIdx = this.offset.pageIdx; + matches = this.pageMatches[pageIdx]; + if (!matches) { + this.resumePageIdx = pageIdx; + break; + } + } while (!this.matchesReady(matches)); + } + }, { + key: 'advanceOffsetPage', + value: function advanceOffsetPage(previous) { + var offset = this.offset; + var numPages = this.extractTextPromises.length; + offset.pageIdx = previous ? offset.pageIdx - 1 : offset.pageIdx + 1; + offset.matchIdx = null; + this.pagesToSearch--; + if (offset.pageIdx >= numPages || offset.pageIdx < 0) { + offset.pageIdx = previous ? numPages - 1 : 0; + offset.wrapped = true; + } + } + }, { + key: 'updateMatch', + value: function updateMatch() { + var found = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; + + var state = FindState.NOT_FOUND; + var wrapped = this.offset.wrapped; + this.offset.wrapped = false; + if (found) { + var previousPage = this.selected.pageIdx; + this.selected.pageIdx = this.offset.pageIdx; + this.selected.matchIdx = this.offset.matchIdx; + state = wrapped ? FindState.WRAPPED : FindState.FOUND; + if (previousPage !== -1 && previousPage !== this.selected.pageIdx) { + this.updatePage(previousPage); + } + } + this.updateUIState(state, this.state.findPrevious); + if (this.selected.pageIdx !== -1) { + this.updatePage(this.selected.pageIdx); + } + } + }, { + key: 'updateUIResultsCount', + value: function updateUIResultsCount() { + if (this.onUpdateResultsCount) { + this.onUpdateResultsCount(this.matchCount); + } + } + }, { + key: 'updateUIState', + value: function updateUIState(state, previous) { + if (this.onUpdateState) { + this.onUpdateState(state, previous, this.matchCount); + } + } + }]); + + return PDFFindController; +}(); + +exports.FindState = FindState; +exports.PDFFindController = PDFFindController; + +/***/ }), +/* 8 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var DEFAULT_URL = 'compressed.tracemonkey-pldi-09.pdf'; +; +var pdfjsWebApp = void 0; +{ + pdfjsWebApp = __webpack_require__(4); +} +; +{ + __webpack_require__(29); +} +; +{ + __webpack_require__(34); +} +function getViewerConfiguration() { + return { + appContainer: document.body, + mainContainer: document.getElementById('viewerContainer'), + viewerContainer: document.getElementById('viewer'), + eventBus: null, + toolbar: { + container: document.getElementById('toolbarViewer'), + numPages: document.getElementById('numPages'), + pageNumber: document.getElementById('pageNumber'), + scaleSelectContainer: document.getElementById('scaleSelectContainer'), + scaleSelect: document.getElementById('scaleSelect'), + customScaleOption: document.getElementById('customScaleOption'), + previous: document.getElementById('previous'), + next: document.getElementById('next'), + zoomIn: document.getElementById('zoomIn'), + zoomOut: document.getElementById('zoomOut'), + viewFind: document.getElementById('viewFind'), + openFile: document.getElementById('openFile'), + print: document.getElementById('print'), + presentationModeButton: document.getElementById('presentationMode'), + download: document.getElementById('download'), + viewBookmark: document.getElementById('viewBookmark') + }, + secondaryToolbar: { + toolbar: document.getElementById('secondaryToolbar'), + toggleButton: document.getElementById('secondaryToolbarToggle'), + toolbarButtonContainer: document.getElementById('secondaryToolbarButtonContainer'), + presentationModeButton: document.getElementById('secondaryPresentationMode'), + openFileButton: document.getElementById('secondaryOpenFile'), + printButton: document.getElementById('secondaryPrint'), + downloadButton: document.getElementById('secondaryDownload'), + viewBookmarkButton: document.getElementById('secondaryViewBookmark'), + firstPageButton: document.getElementById('firstPage'), + lastPageButton: document.getElementById('lastPage'), + pageRotateCwButton: document.getElementById('pageRotateCw'), + pageRotateCcwButton: document.getElementById('pageRotateCcw'), + cursorSelectToolButton: document.getElementById('cursorSelectTool'), + cursorHandToolButton: document.getElementById('cursorHandTool'), + documentPropertiesButton: document.getElementById('documentProperties') + }, + fullscreen: { + contextFirstPage: document.getElementById('contextFirstPage'), + contextLastPage: document.getElementById('contextLastPage'), + contextPageRotateCw: document.getElementById('contextPageRotateCw'), + contextPageRotateCcw: document.getElementById('contextPageRotateCcw') + }, + sidebar: { + mainContainer: document.getElementById('mainContainer'), + outerContainer: document.getElementById('outerContainer'), + toggleButton: document.getElementById('sidebarToggle'), + thumbnailButton: document.getElementById('viewThumbnail'), + outlineButton: document.getElementById('viewOutline'), + attachmentsButton: document.getElementById('viewAttachments'), + thumbnailView: document.getElementById('thumbnailView'), + outlineView: document.getElementById('outlineView'), + attachmentsView: document.getElementById('attachmentsView') + }, + findBar: { + bar: document.getElementById('findbar'), + toggleButton: document.getElementById('viewFind'), + findField: document.getElementById('findInput'), + highlightAllCheckbox: document.getElementById('findHighlightAll'), + caseSensitiveCheckbox: document.getElementById('findMatchCase'), + findMsg: document.getElementById('findMsg'), + findResultsCount: document.getElementById('findResultsCount'), + findStatusIcon: document.getElementById('findStatusIcon'), + findPreviousButton: document.getElementById('findPrevious'), + findNextButton: document.getElementById('findNext') + }, + passwordOverlay: { + overlayName: 'passwordOverlay', + container: document.getElementById('passwordOverlay'), + label: document.getElementById('passwordText'), + input: document.getElementById('password'), + submitButton: document.getElementById('passwordSubmit'), + cancelButton: document.getElementById('passwordCancel') + }, + documentProperties: { + overlayName: 'documentPropertiesOverlay', + container: document.getElementById('documentPropertiesOverlay'), + closeButton: document.getElementById('documentPropertiesClose'), + fields: { + 'fileName': document.getElementById('fileNameField'), + 'fileSize': document.getElementById('fileSizeField'), + 'title': document.getElementById('titleField'), + 'author': document.getElementById('authorField'), + 'subject': document.getElementById('subjectField'), + 'keywords': document.getElementById('keywordsField'), + 'creationDate': document.getElementById('creationDateField'), + 'modificationDate': document.getElementById('modificationDateField'), + 'creator': document.getElementById('creatorField'), + 'producer': document.getElementById('producerField'), + 'version': document.getElementById('versionField'), + 'pageCount': document.getElementById('pageCountField') + } + }, + errorWrapper: { + container: document.getElementById('errorWrapper'), + errorMessage: document.getElementById('errorMessage'), + closeButton: document.getElementById('errorClose'), + errorMoreInfo: document.getElementById('errorMoreInfo'), + moreInfoButton: document.getElementById('errorShowMore'), + lessInfoButton: document.getElementById('errorShowLess') + }, + printContainer: document.getElementById('printContainer'), + openFileInputName: 'fileInput', + debuggerScriptPath: './debugger.js', + defaultUrl: DEFAULT_URL + }; +} +function webViewerLoad() { + var config = getViewerConfiguration(); + window.PDFViewerApplication = pdfjsWebApp.PDFViewerApplication; + pdfjsWebApp.PDFViewerApplication.run(config); +} +if (document.readyState === 'interactive' || document.readyState === 'complete') { + webViewerLoad(); +} else { + document.addEventListener('DOMContentLoaded', webViewerLoad, true); +} + +/***/ }), +/* 9 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +function GrabToPan(options) { + this.element = options.element; + this.document = options.element.ownerDocument; + if (typeof options.ignoreTarget === 'function') { + this.ignoreTarget = options.ignoreTarget; + } + this.onActiveChanged = options.onActiveChanged; + this.activate = this.activate.bind(this); + this.deactivate = this.deactivate.bind(this); + this.toggle = this.toggle.bind(this); + this._onmousedown = this._onmousedown.bind(this); + this._onmousemove = this._onmousemove.bind(this); + this._endPan = this._endPan.bind(this); + var overlay = this.overlay = document.createElement('div'); + overlay.className = 'grab-to-pan-grabbing'; +} +GrabToPan.prototype = { + CSS_CLASS_GRAB: 'grab-to-pan-grab', + activate: function GrabToPan_activate() { + if (!this.active) { + this.active = true; + this.element.addEventListener('mousedown', this._onmousedown, true); + this.element.classList.add(this.CSS_CLASS_GRAB); + if (this.onActiveChanged) { + this.onActiveChanged(true); + } + } + }, + deactivate: function GrabToPan_deactivate() { + if (this.active) { + this.active = false; + this.element.removeEventListener('mousedown', this._onmousedown, true); + this._endPan(); + this.element.classList.remove(this.CSS_CLASS_GRAB); + if (this.onActiveChanged) { + this.onActiveChanged(false); + } + } + }, + toggle: function GrabToPan_toggle() { + if (this.active) { + this.deactivate(); + } else { + this.activate(); + } + }, + ignoreTarget: function GrabToPan_ignoreTarget(node) { + return node[matchesSelector]('a[href], a[href] *, input, textarea, button, button *, select, option'); + }, + _onmousedown: function GrabToPan__onmousedown(event) { + if (event.button !== 0 || this.ignoreTarget(event.target)) { + return; + } + if (event.originalTarget) { + try { + event.originalTarget.tagName; + } catch (e) { + return; + } + } + this.scrollLeftStart = this.element.scrollLeft; + this.scrollTopStart = this.element.scrollTop; + this.clientXStart = event.clientX; + this.clientYStart = event.clientY; + this.document.addEventListener('mousemove', this._onmousemove, true); + this.document.addEventListener('mouseup', this._endPan, true); + this.element.addEventListener('scroll', this._endPan, true); + event.preventDefault(); + event.stopPropagation(); + var focusedElement = document.activeElement; + if (focusedElement && !focusedElement.contains(event.target)) { + focusedElement.blur(); + } + }, + _onmousemove: function GrabToPan__onmousemove(event) { + this.element.removeEventListener('scroll', this._endPan, true); + if (isLeftMouseReleased(event)) { + this._endPan(); + return; + } + var xDiff = event.clientX - this.clientXStart; + var yDiff = event.clientY - this.clientYStart; + var scrollTop = this.scrollTopStart - yDiff; + var scrollLeft = this.scrollLeftStart - xDiff; + if (this.element.scrollTo) { + this.element.scrollTo({ + top: scrollTop, + left: scrollLeft, + behavior: 'instant' + }); + } else { + this.element.scrollTop = scrollTop; + this.element.scrollLeft = scrollLeft; + } + if (!this.overlay.parentNode) { + document.body.appendChild(this.overlay); + } + }, + _endPan: function GrabToPan__endPan() { + this.element.removeEventListener('scroll', this._endPan, true); + this.document.removeEventListener('mousemove', this._onmousemove, true); + this.document.removeEventListener('mouseup', this._endPan, true); + this.overlay.remove(); + } +}; +var matchesSelector; +['webkitM', 'mozM', 'msM', 'oM', 'm'].some(function (prefix) { + var name = prefix + 'atches'; + if (name in document.documentElement) { + matchesSelector = name; + } + name += 'Selector'; + if (name in document.documentElement) { + matchesSelector = name; + } + return matchesSelector; +}); +var isNotIEorIsIE10plus = !document.documentMode || document.documentMode > 9; +var chrome = window.chrome; +var isChrome15OrOpera15plus = chrome && (chrome.webstore || chrome.app); +var isSafari6plus = /Apple/.test(navigator.vendor) && /Version\/([6-9]\d*|[1-5]\d+)/.test(navigator.userAgent); +function isLeftMouseReleased(event) { + if ('buttons' in event && isNotIEorIsIE10plus) { + return !(event.buttons & 1); + } + if (isChrome15OrOpera15plus || isSafari6plus) { + return event.which === 0; + } +} +exports.GrabToPan = GrabToPan; + +/***/ }), +/* 10 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.PDFSidebar = exports.SidebarView = undefined; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _ui_utils = __webpack_require__(0); + +var _pdf_rendering_queue = __webpack_require__(3); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var UI_NOTIFICATION_CLASS = 'pdfSidebarNotification'; +var SidebarView = { + NONE: 0, + THUMBS: 1, + OUTLINE: 2, + ATTACHMENTS: 3 +}; + +var PDFSidebar = function () { + function PDFSidebar(options) { + var l10n = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _ui_utils.NullL10n; + + _classCallCheck(this, PDFSidebar); + + this.isOpen = false; + this.active = SidebarView.THUMBS; + this.isInitialViewSet = false; + this.onToggled = null; + this.pdfViewer = options.pdfViewer; + this.pdfThumbnailViewer = options.pdfThumbnailViewer; + this.pdfOutlineViewer = options.pdfOutlineViewer; + this.mainContainer = options.mainContainer; + this.outerContainer = options.outerContainer; + this.eventBus = options.eventBus; + this.toggleButton = options.toggleButton; + this.thumbnailButton = options.thumbnailButton; + this.outlineButton = options.outlineButton; + this.attachmentsButton = options.attachmentsButton; + this.thumbnailView = options.thumbnailView; + this.outlineView = options.outlineView; + this.attachmentsView = options.attachmentsView; + this.disableNotification = options.disableNotification || false; + this.l10n = l10n; + this._addEventListeners(); + } + + _createClass(PDFSidebar, [{ + key: 'reset', + value: function reset() { + this.isInitialViewSet = false; + this._hideUINotification(null); + this.switchView(SidebarView.THUMBS); + this.outlineButton.disabled = false; + this.attachmentsButton.disabled = false; + } + }, { + key: 'setInitialView', + value: function setInitialView() { + var view = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : SidebarView.NONE; + + if (this.isInitialViewSet) { + return; + } + this.isInitialViewSet = true; + if (this.isOpen && view === SidebarView.NONE) { + this._dispatchEvent(); + return; + } + var isViewPreserved = view === this.visibleView; + this.switchView(view, true); + if (isViewPreserved) { + this._dispatchEvent(); + } + } + }, { + key: 'switchView', + value: function switchView(view) { + var forceOpen = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + + if (view === SidebarView.NONE) { + this.close(); + return; + } + var isViewChanged = view !== this.active; + var shouldForceRendering = false; + switch (view) { + case SidebarView.THUMBS: + this.thumbnailButton.classList.add('toggled'); + this.outlineButton.classList.remove('toggled'); + this.attachmentsButton.classList.remove('toggled'); + this.thumbnailView.classList.remove('hidden'); + this.outlineView.classList.add('hidden'); + this.attachmentsView.classList.add('hidden'); + if (this.isOpen && isViewChanged) { + this._updateThumbnailViewer(); + shouldForceRendering = true; + } + break; + case SidebarView.OUTLINE: + if (this.outlineButton.disabled) { + return; + } + this.thumbnailButton.classList.remove('toggled'); + this.outlineButton.classList.add('toggled'); + this.attachmentsButton.classList.remove('toggled'); + this.thumbnailView.classList.add('hidden'); + this.outlineView.classList.remove('hidden'); + this.attachmentsView.classList.add('hidden'); + break; + case SidebarView.ATTACHMENTS: + if (this.attachmentsButton.disabled) { + return; + } + this.thumbnailButton.classList.remove('toggled'); + this.outlineButton.classList.remove('toggled'); + this.attachmentsButton.classList.add('toggled'); + this.thumbnailView.classList.add('hidden'); + this.outlineView.classList.add('hidden'); + this.attachmentsView.classList.remove('hidden'); + break; + default: + console.error('PDFSidebar_switchView: "' + view + '" is an unsupported value.'); + return; + } + this.active = view | 0; + if (forceOpen && !this.isOpen) { + this.open(); + return; + } + if (shouldForceRendering) { + this._forceRendering(); + } + if (isViewChanged) { + this._dispatchEvent(); + } + this._hideUINotification(this.active); + } + }, { + key: 'open', + value: function open() { + if (this.isOpen) { + return; + } + this.isOpen = true; + this.toggleButton.classList.add('toggled'); + this.outerContainer.classList.add('sidebarMoving'); + this.outerContainer.classList.add('sidebarOpen'); + if (this.active === SidebarView.THUMBS) { + this._updateThumbnailViewer(); + } + this._forceRendering(); + this._dispatchEvent(); + this._hideUINotification(this.active); + } + }, { + key: 'close', + value: function close() { + if (!this.isOpen) { + return; + } + this.isOpen = false; + this.toggleButton.classList.remove('toggled'); + this.outerContainer.classList.add('sidebarMoving'); + this.outerContainer.classList.remove('sidebarOpen'); + this._forceRendering(); + this._dispatchEvent(); + } + }, { + key: 'toggle', + value: function toggle() { + if (this.isOpen) { + this.close(); + } else { + this.open(); + } + } + }, { + key: '_dispatchEvent', + value: function _dispatchEvent() { + this.eventBus.dispatch('sidebarviewchanged', { + source: this, + view: this.visibleView + }); + } + }, { + key: '_forceRendering', + value: function _forceRendering() { + if (this.onToggled) { + this.onToggled(); + } else { + this.pdfViewer.forceRendering(); + this.pdfThumbnailViewer.forceRendering(); + } + } + }, { + key: '_updateThumbnailViewer', + value: function _updateThumbnailViewer() { + var pdfViewer = this.pdfViewer, + pdfThumbnailViewer = this.pdfThumbnailViewer; + + var pagesCount = pdfViewer.pagesCount; + for (var pageIndex = 0; pageIndex < pagesCount; pageIndex++) { + var pageView = pdfViewer.getPageView(pageIndex); + if (pageView && pageView.renderingState === _pdf_rendering_queue.RenderingStates.FINISHED) { + var thumbnailView = pdfThumbnailViewer.getThumbnail(pageIndex); + thumbnailView.setImage(pageView); + } + } + pdfThumbnailViewer.scrollThumbnailIntoView(pdfViewer.currentPageNumber); + } + }, { + key: '_showUINotification', + value: function _showUINotification(view) { + var _this = this; + + if (this.disableNotification) { + return; + } + this.l10n.get('toggle_sidebar_notification.title', null, 'Toggle Sidebar (document contains outline/attachments)').then(function (msg) { + _this.toggleButton.title = msg; + }); + if (!this.isOpen) { + this.toggleButton.classList.add(UI_NOTIFICATION_CLASS); + } else if (view === this.active) { + return; + } + switch (view) { + case SidebarView.OUTLINE: + this.outlineButton.classList.add(UI_NOTIFICATION_CLASS); + break; + case SidebarView.ATTACHMENTS: + this.attachmentsButton.classList.add(UI_NOTIFICATION_CLASS); + break; + } + } + }, { + key: '_hideUINotification', + value: function _hideUINotification(view) { + var _this2 = this; + + if (this.disableNotification) { + return; + } + var removeNotification = function removeNotification(view) { + switch (view) { + case SidebarView.OUTLINE: + _this2.outlineButton.classList.remove(UI_NOTIFICATION_CLASS); + break; + case SidebarView.ATTACHMENTS: + _this2.attachmentsButton.classList.remove(UI_NOTIFICATION_CLASS); + break; + } + }; + if (!this.isOpen && view !== null) { + return; + } + this.toggleButton.classList.remove(UI_NOTIFICATION_CLASS); + if (view !== null) { + removeNotification(view); + return; + } + for (view in SidebarView) { + removeNotification(SidebarView[view]); + } + this.l10n.get('toggle_sidebar.title', null, 'Toggle Sidebar').then(function (msg) { + _this2.toggleButton.title = msg; + }); + } + }, { + key: '_addEventListeners', + value: function _addEventListeners() { + var _this3 = this; + + this.mainContainer.addEventListener('transitionend', function (evt) { + if (evt.target === _this3.mainContainer) { + _this3.outerContainer.classList.remove('sidebarMoving'); + } + }); + this.thumbnailButton.addEventListener('click', function () { + _this3.switchView(SidebarView.THUMBS); + }); + this.outlineButton.addEventListener('click', function () { + _this3.switchView(SidebarView.OUTLINE); + }); + this.outlineButton.addEventListener('dblclick', function () { + _this3.pdfOutlineViewer.toggleOutlineTree(); + }); + this.attachmentsButton.addEventListener('click', function () { + _this3.switchView(SidebarView.ATTACHMENTS); + }); + this.eventBus.on('outlineloaded', function (evt) { + var outlineCount = evt.outlineCount; + _this3.outlineButton.disabled = !outlineCount; + if (outlineCount) { + _this3._showUINotification(SidebarView.OUTLINE); + } else if (_this3.active === SidebarView.OUTLINE) { + _this3.switchView(SidebarView.THUMBS); + } + }); + this.eventBus.on('attachmentsloaded', function (evt) { + if (evt.attachmentsCount) { + _this3.attachmentsButton.disabled = false; + _this3._showUINotification(SidebarView.ATTACHMENTS); + return; + } + Promise.resolve().then(function () { + if (_this3.attachmentsView.hasChildNodes()) { + return; + } + _this3.attachmentsButton.disabled = true; + if (_this3.active === SidebarView.ATTACHMENTS) { + _this3.switchView(SidebarView.THUMBS); + } + }); + }); + this.eventBus.on('presentationmodechanged', function (evt) { + if (!evt.active && !evt.switchInProgress && _this3.isThumbnailViewVisible) { + _this3._updateThumbnailViewer(); + } + }); + } + }, { + key: 'visibleView', + get: function get() { + return this.isOpen ? this.active : SidebarView.NONE; + } + }, { + key: 'isThumbnailViewVisible', + get: function get() { + return this.isOpen && this.active === SidebarView.THUMBS; + } + }, { + key: 'isOutlineViewVisible', + get: function get() { + return this.isOpen && this.active === SidebarView.OUTLINE; + } + }, { + key: 'isAttachmentsViewVisible', + get: function get() { + return this.isOpen && this.active === SidebarView.ATTACHMENTS; + } + }]); + + return PDFSidebar; +}(); + +exports.SidebarView = SidebarView; +exports.PDFSidebar = PDFSidebar; + +/***/ }), +/* 11 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var OverlayManager = function () { + function OverlayManager() { + _classCallCheck(this, OverlayManager); + + this._overlays = {}; + this._active = null; + this._keyDownBound = this._keyDown.bind(this); + } + + _createClass(OverlayManager, [{ + key: 'register', + value: function register(name, element) { + var _this = this; + + var callerCloseMethod = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; + var canForceClose = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false; + + return new Promise(function (resolve) { + var container = void 0; + if (!name || !element || !(container = element.parentNode)) { + throw new Error('Not enough parameters.'); + } else if (_this._overlays[name]) { + throw new Error('The overlay is already registered.'); + } + _this._overlays[name] = { + element: element, + container: container, + callerCloseMethod: callerCloseMethod, + canForceClose: canForceClose + }; + resolve(); + }); + } + }, { + key: 'unregister', + value: function unregister(name) { + var _this2 = this; + + return new Promise(function (resolve) { + if (!_this2._overlays[name]) { + throw new Error('The overlay does not exist.'); + } else if (_this2._active === name) { + throw new Error('The overlay cannot be removed while it is active.'); + } + delete _this2._overlays[name]; + resolve(); + }); + } + }, { + key: 'open', + value: function open(name) { + var _this3 = this; + + return new Promise(function (resolve) { + if (!_this3._overlays[name]) { + throw new Error('The overlay does not exist.'); + } else if (_this3._active) { + if (_this3._overlays[name].canForceClose) { + _this3._closeThroughCaller(); + } else if (_this3._active === name) { + throw new Error('The overlay is already active.'); + } else { + throw new Error('Another overlay is currently active.'); + } + } + _this3._active = name; + _this3._overlays[_this3._active].element.classList.remove('hidden'); + _this3._overlays[_this3._active].container.classList.remove('hidden'); + window.addEventListener('keydown', _this3._keyDownBound); + resolve(); + }); + } + }, { + key: 'close', + value: function close(name) { + var _this4 = this; + + return new Promise(function (resolve) { + if (!_this4._overlays[name]) { + throw new Error('The overlay does not exist.'); + } else if (!_this4._active) { + throw new Error('The overlay is currently not active.'); + } else if (_this4._active !== name) { + throw new Error('Another overlay is currently active.'); + } + _this4._overlays[_this4._active].container.classList.add('hidden'); + _this4._overlays[_this4._active].element.classList.add('hidden'); + _this4._active = null; + window.removeEventListener('keydown', _this4._keyDownBound); + resolve(); + }); + } + }, { + key: '_keyDown', + value: function _keyDown(evt) { + if (this._active && evt.keyCode === 27) { + this._closeThroughCaller(); + evt.preventDefault(); + } + } + }, { + key: '_closeThroughCaller', + value: function _closeThroughCaller() { + if (this._overlays[this._active].callerCloseMethod) { + this._overlays[this._active].callerCloseMethod(); + } + if (this._active) { + this.close(this._active); + } + } + }, { + key: 'active', + get: function get() { + return this._active; + } + }]); + + return OverlayManager; +}(); + +exports.OverlayManager = OverlayManager; + +/***/ }), +/* 12 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.PasswordPrompt = undefined; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _ui_utils = __webpack_require__(0); + +var _pdfjsLib = __webpack_require__(1); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var PasswordPrompt = function () { + function PasswordPrompt(options, overlayManager) { + var _this = this; + + var l10n = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _ui_utils.NullL10n; + + _classCallCheck(this, PasswordPrompt); + + this.overlayName = options.overlayName; + this.container = options.container; + this.label = options.label; + this.input = options.input; + this.submitButton = options.submitButton; + this.cancelButton = options.cancelButton; + this.overlayManager = overlayManager; + this.l10n = l10n; + this.updateCallback = null; + this.reason = null; + this.submitButton.addEventListener('click', this.verify.bind(this)); + this.cancelButton.addEventListener('click', this.close.bind(this)); + this.input.addEventListener('keydown', function (e) { + if (e.keyCode === 13) { + _this.verify(); + } + }); + this.overlayManager.register(this.overlayName, this.container, this.close.bind(this), true); + } + + _createClass(PasswordPrompt, [{ + key: 'open', + value: function open() { + var _this2 = this; + + this.overlayManager.open(this.overlayName).then(function () { + _this2.input.focus(); + var promptString = void 0; + if (_this2.reason === _pdfjsLib.PasswordResponses.INCORRECT_PASSWORD) { + promptString = _this2.l10n.get('password_invalid', null, 'Invalid password. Please try again.'); + } else { + promptString = _this2.l10n.get('password_label', null, 'Enter the password to open this PDF file.'); + } + promptString.then(function (msg) { + _this2.label.textContent = msg; + }); + }); + } + }, { + key: 'close', + value: function close() { + var _this3 = this; + + this.overlayManager.close(this.overlayName).then(function () { + _this3.input.value = ''; + }); + } + }, { + key: 'verify', + value: function verify() { + var password = this.input.value; + if (password && password.length > 0) { + this.close(); + return this.updateCallback(password); + } + } + }, { + key: 'setUpdateCallback', + value: function setUpdateCallback(updateCallback, reason) { + this.updateCallback = updateCallback; + this.reason = reason; + } + }]); + + return PasswordPrompt; +}(); + +exports.PasswordPrompt = PasswordPrompt; + +/***/ }), +/* 13 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.PDFAttachmentViewer = undefined; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _pdfjsLib = __webpack_require__(1); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var PDFAttachmentViewer = function () { + function PDFAttachmentViewer(_ref) { + var container = _ref.container, + eventBus = _ref.eventBus, + downloadManager = _ref.downloadManager; + + _classCallCheck(this, PDFAttachmentViewer); + + this.container = container; + this.eventBus = eventBus; + this.downloadManager = downloadManager; + this.reset(); + this.eventBus.on('fileattachmentannotation', this._appendAttachment.bind(this)); + } + + _createClass(PDFAttachmentViewer, [{ + key: 'reset', + value: function reset() { + var keepRenderedCapability = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; + + this.attachments = null; + this.container.textContent = ''; + if (!keepRenderedCapability) { + this._renderedCapability = (0, _pdfjsLib.createPromiseCapability)(); + } + } + }, { + key: '_dispatchEvent', + value: function _dispatchEvent(attachmentsCount) { + this._renderedCapability.resolve(); + this.eventBus.dispatch('attachmentsloaded', { + source: this, + attachmentsCount: attachmentsCount + }); + } + }, { + key: '_bindPdfLink', + value: function _bindPdfLink(button, content, filename) { + if (_pdfjsLib.PDFJS.disableCreateObjectURL) { + throw new Error('bindPdfLink: ' + 'Unsupported "PDFJS.disableCreateObjectURL" value.'); + } + var blobUrl = void 0; + button.onclick = function () { + if (!blobUrl) { + blobUrl = (0, _pdfjsLib.createObjectURL)(content, 'application/pdf'); + } + var viewerUrl = void 0; + viewerUrl = '?file=' + encodeURIComponent(blobUrl + '#' + filename); + window.open(viewerUrl); + return false; + }; + } + }, { + key: '_bindLink', + value: function _bindLink(button, content, filename) { + var _this = this; + + button.onclick = function () { + _this.downloadManager.downloadData(content, filename, ''); + return false; + }; + } + }, { + key: 'render', + value: function render(_ref2) { + var attachments = _ref2.attachments, + _ref2$keepRenderedCap = _ref2.keepRenderedCapability, + keepRenderedCapability = _ref2$keepRenderedCap === undefined ? false : _ref2$keepRenderedCap; + + var attachmentsCount = 0; + if (this.attachments) { + this.reset(keepRenderedCapability === true); + } + this.attachments = attachments || null; + if (!attachments) { + this._dispatchEvent(attachmentsCount); + return; + } + var names = Object.keys(attachments).sort(function (a, b) { + return a.toLowerCase().localeCompare(b.toLowerCase()); + }); + attachmentsCount = names.length; + for (var i = 0; i < attachmentsCount; i++) { + var item = attachments[names[i]]; + var filename = (0, _pdfjsLib.removeNullCharacters)((0, _pdfjsLib.getFilenameFromUrl)(item.filename)); + var div = document.createElement('div'); + div.className = 'attachmentsItem'; + var button = document.createElement('button'); + button.textContent = filename; + if (/\.pdf$/i.test(filename) && !_pdfjsLib.PDFJS.disableCreateObjectURL) { + this._bindPdfLink(button, item.content, filename); + } else { + this._bindLink(button, item.content, filename); + } + div.appendChild(button); + this.container.appendChild(div); + } + this._dispatchEvent(attachmentsCount); + } + }, { + key: '_appendAttachment', + value: function _appendAttachment(_ref3) { + var _this2 = this; + + var id = _ref3.id, + filename = _ref3.filename, + content = _ref3.content; + + this._renderedCapability.promise.then(function () { + var attachments = _this2.attachments; + if (!attachments) { + attachments = Object.create(null); + } else { + for (var name in attachments) { + if (id === name) { + return; + } + } + } + attachments[id] = { + filename: filename, + content: content + }; + _this2.render({ + attachments: attachments, + keepRenderedCapability: true + }); + }); + } + }]); + + return PDFAttachmentViewer; +}(); + +exports.PDFAttachmentViewer = PDFAttachmentViewer; + +/***/ }), +/* 14 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.PDFDocumentProperties = undefined; + +var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }(); + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _ui_utils = __webpack_require__(0); + +var _pdfjsLib = __webpack_require__(1); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var DEFAULT_FIELD_CONTENT = '-'; + +var PDFDocumentProperties = function () { + function PDFDocumentProperties(_ref, overlayManager) { + var overlayName = _ref.overlayName, + fields = _ref.fields, + container = _ref.container, + closeButton = _ref.closeButton; + var l10n = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _ui_utils.NullL10n; + + _classCallCheck(this, PDFDocumentProperties); + + this.overlayName = overlayName; + this.fields = fields; + this.container = container; + this.overlayManager = overlayManager; + this.l10n = l10n; + this._reset(); + if (closeButton) { + closeButton.addEventListener('click', this.close.bind(this)); + } + this.overlayManager.register(this.overlayName, this.container, this.close.bind(this)); + } + + _createClass(PDFDocumentProperties, [{ + key: 'open', + value: function open() { + var _this = this; + + var freezeFieldData = function freezeFieldData(data) { + Object.defineProperty(_this, 'fieldData', { + value: Object.freeze(data), + writable: false, + enumerable: true, + configurable: true + }); + }; + Promise.all([this.overlayManager.open(this.overlayName), this._dataAvailableCapability.promise]).then(function () { + if (_this.fieldData) { + _this._updateUI(); + return; + } + _this.pdfDocument.getMetadata().then(function (_ref2) { + var info = _ref2.info, + metadata = _ref2.metadata; + + return Promise.all([info, metadata, _this._parseFileSize(_this.maybeFileSize), _this._parseDate(info.CreationDate), _this._parseDate(info.ModDate)]); + }).then(function (_ref3) { + var _ref4 = _slicedToArray(_ref3, 5), + info = _ref4[0], + metadata = _ref4[1], + fileSize = _ref4[2], + creationDate = _ref4[3], + modificationDate = _ref4[4]; + + freezeFieldData({ + 'fileName': (0, _ui_utils.getPDFFileNameFromURL)(_this.url), + 'fileSize': fileSize, + 'title': info.Title, + 'author': info.Author, + 'subject': info.Subject, + 'keywords': info.Keywords, + 'creationDate': creationDate, + 'modificationDate': modificationDate, + 'creator': info.Creator, + 'producer': info.Producer, + 'version': info.PDFFormatVersion, + 'pageCount': _this.pdfDocument.numPages + }); + _this._updateUI(); + return _this.pdfDocument.getDownloadInfo(); + }).then(function (_ref5) { + var length = _ref5.length; + + return _this._parseFileSize(length); + }).then(function (fileSize) { + var data = (0, _ui_utils.cloneObj)(_this.fieldData); + data['fileSize'] = fileSize; + freezeFieldData(data); + _this._updateUI(); + }); + }); + } + }, { + key: 'close', + value: function close() { + this.overlayManager.close(this.overlayName); + } + }, { + key: 'setDocument', + value: function setDocument(pdfDocument, url) { + if (this.pdfDocument) { + this._reset(); + this._updateUI(true); + } + if (!pdfDocument) { + return; + } + this.pdfDocument = pdfDocument; + this.url = url; + this._dataAvailableCapability.resolve(); + } + }, { + key: 'setFileSize', + value: function setFileSize(fileSize) { + if (typeof fileSize === 'number' && fileSize > 0) { + this.maybeFileSize = fileSize; + } + } + }, { + key: '_reset', + value: function _reset() { + this.pdfDocument = null; + this.url = null; + this.maybeFileSize = 0; + delete this.fieldData; + this._dataAvailableCapability = (0, _pdfjsLib.createPromiseCapability)(); + } + }, { + key: '_updateUI', + value: function _updateUI() { + var reset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; + + if (reset || !this.fieldData) { + for (var id in this.fields) { + this.fields[id].textContent = DEFAULT_FIELD_CONTENT; + } + return; + } + if (this.overlayManager.active !== this.overlayName) { + return; + } + for (var _id in this.fields) { + var content = this.fieldData[_id]; + this.fields[_id].textContent = content || content === 0 ? content : DEFAULT_FIELD_CONTENT; + } + } + }, { + key: '_parseFileSize', + value: function _parseFileSize() { + var fileSize = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; + + var kb = fileSize / 1024; + if (!kb) { + return Promise.resolve(undefined); + } else if (kb < 1024) { + return this.l10n.get('document_properties_kb', { + size_kb: (+kb.toPrecision(3)).toLocaleString(), + size_b: fileSize.toLocaleString() + }, '{{size_kb}} KB ({{size_b}} bytes)'); + } + return this.l10n.get('document_properties_mb', { + size_mb: (+(kb / 1024).toPrecision(3)).toLocaleString(), + size_b: fileSize.toLocaleString() + }, '{{size_mb}} MB ({{size_b}} bytes)'); + } + }, { + key: '_parseDate', + value: function _parseDate(inputDate) { + if (!inputDate) { + return; + } + var dateToParse = inputDate; + if (dateToParse.substring(0, 2) === 'D:') { + dateToParse = dateToParse.substring(2); + } + var year = parseInt(dateToParse.substring(0, 4), 10); + var month = parseInt(dateToParse.substring(4, 6), 10) - 1; + var day = parseInt(dateToParse.substring(6, 8), 10); + var hours = parseInt(dateToParse.substring(8, 10), 10); + var minutes = parseInt(dateToParse.substring(10, 12), 10); + var seconds = parseInt(dateToParse.substring(12, 14), 10); + var utRel = dateToParse.substring(14, 15); + var offsetHours = parseInt(dateToParse.substring(15, 17), 10); + var offsetMinutes = parseInt(dateToParse.substring(18, 20), 10); + if (utRel === '-') { + hours += offsetHours; + minutes += offsetMinutes; + } else if (utRel === '+') { + hours -= offsetHours; + minutes -= offsetMinutes; + } + var date = new Date(Date.UTC(year, month, day, hours, minutes, seconds)); + var dateString = date.toLocaleDateString(); + var timeString = date.toLocaleTimeString(); + return this.l10n.get('document_properties_date_string', { + date: dateString, + time: timeString + }, '{{date}}, {{time}}'); + } + }]); + + return PDFDocumentProperties; +}(); + +exports.PDFDocumentProperties = PDFDocumentProperties; + +/***/ }), +/* 15 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.PDFFindBar = undefined; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _pdf_find_controller = __webpack_require__(7); + +var _ui_utils = __webpack_require__(0); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var PDFFindBar = function () { + function PDFFindBar(options) { + var _this = this; + + var l10n = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _ui_utils.NullL10n; + + _classCallCheck(this, PDFFindBar); + + this.opened = false; + this.bar = options.bar || null; + this.toggleButton = options.toggleButton || null; + this.findField = options.findField || null; + this.highlightAll = options.highlightAllCheckbox || null; + this.caseSensitive = options.caseSensitiveCheckbox || null; + this.findMsg = options.findMsg || null; + this.findResultsCount = options.findResultsCount || null; + this.findStatusIcon = options.findStatusIcon || null; + this.findPreviousButton = options.findPreviousButton || null; + this.findNextButton = options.findNextButton || null; + this.findController = options.findController || null; + this.eventBus = options.eventBus; + this.l10n = l10n; + if (this.findController === null) { + throw new Error('PDFFindBar cannot be used without a ' + 'PDFFindController instance.'); + } + this.toggleButton.addEventListener('click', function () { + _this.toggle(); + }); + this.findField.addEventListener('input', function () { + _this.dispatchEvent(''); + }); + this.bar.addEventListener('keydown', function (e) { + switch (e.keyCode) { + case 13: + if (e.target === _this.findField) { + _this.dispatchEvent('again', e.shiftKey); + } + break; + case 27: + _this.close(); + break; + } + }); + this.findPreviousButton.addEventListener('click', function () { + _this.dispatchEvent('again', true); + }); + this.findNextButton.addEventListener('click', function () { + _this.dispatchEvent('again', false); + }); + this.highlightAll.addEventListener('click', function () { + _this.dispatchEvent('highlightallchange'); + }); + this.caseSensitive.addEventListener('click', function () { + _this.dispatchEvent('casesensitivitychange'); + }); + this.eventBus.on('resize', this._adjustWidth.bind(this)); + } + + _createClass(PDFFindBar, [{ + key: 'reset', + value: function reset() { + this.updateUIState(); + } + }, { + key: 'dispatchEvent', + value: function dispatchEvent(type, findPrev) { + this.eventBus.dispatch('find', { + source: this, + type: type, + query: this.findField.value, + caseSensitive: this.caseSensitive.checked, + phraseSearch: true, + highlightAll: this.highlightAll.checked, + findPrevious: findPrev + }); + } + }, { + key: 'updateUIState', + value: function updateUIState(state, previous, matchCount) { + var _this2 = this; + + var notFound = false; + var findMsg = ''; + var status = ''; + switch (state) { + case _pdf_find_controller.FindState.FOUND: + break; + case _pdf_find_controller.FindState.PENDING: + status = 'pending'; + break; + case _pdf_find_controller.FindState.NOT_FOUND: + findMsg = this.l10n.get('find_not_found', null, 'Phrase not found'); + notFound = true; + break; + case _pdf_find_controller.FindState.WRAPPED: + if (previous) { + findMsg = this.l10n.get('find_reached_top', null, 'Reached top of document, continued from bottom'); + } else { + findMsg = this.l10n.get('find_reached_bottom', null, 'Reached end of document, continued from top'); + } + break; + } + if (notFound) { + this.findField.classList.add('notFound'); + } else { + this.findField.classList.remove('notFound'); + } + this.findField.setAttribute('data-status', status); + Promise.resolve(findMsg).then(function (msg) { + _this2.findMsg.textContent = msg; + _this2._adjustWidth(); + }); + this.updateResultsCount(matchCount); + } + }, { + key: 'updateResultsCount', + value: function updateResultsCount(matchCount) { + if (!this.findResultsCount) { + return; + } + if (!matchCount) { + this.findResultsCount.classList.add('hidden'); + this.findResultsCount.textContent = ''; + } else { + this.findResultsCount.textContent = matchCount.toLocaleString(); + this.findResultsCount.classList.remove('hidden'); + } + this._adjustWidth(); + } + }, { + key: 'open', + value: function open() { + if (!this.opened) { + this.opened = true; + this.toggleButton.classList.add('toggled'); + this.bar.classList.remove('hidden'); + } + this.findField.select(); + this.findField.focus(); + this._adjustWidth(); + } + }, { + key: 'close', + value: function close() { + if (!this.opened) { + return; + } + this.opened = false; + this.toggleButton.classList.remove('toggled'); + this.bar.classList.add('hidden'); + this.findController.active = false; + } + }, { + key: 'toggle', + value: function toggle() { + if (this.opened) { + this.close(); + } else { + this.open(); + } + } + }, { + key: '_adjustWidth', + value: function _adjustWidth() { + if (!this.opened) { + return; + } + this.bar.classList.remove('wrapContainers'); + var findbarHeight = this.bar.clientHeight; + var inputContainerHeight = this.bar.firstElementChild.clientHeight; + if (findbarHeight > inputContainerHeight) { + this.bar.classList.add('wrapContainers'); + } + } + }]); + + return PDFFindBar; +}(); + +exports.PDFFindBar = PDFFindBar; + +/***/ }), +/* 16 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.isDestArraysEqual = exports.isDestHashesEqual = exports.PDFHistory = undefined; + +var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _ui_utils = __webpack_require__(0); + +var _dom_events = __webpack_require__(2); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var HASH_CHANGE_TIMEOUT = 1000; +var POSITION_UPDATED_THRESHOLD = 50; +var UPDATE_VIEWAREA_TIMEOUT = 1000; +function getCurrentHash() { + return document.location.hash; +} +function parseCurrentHash(linkService) { + var hash = unescape(getCurrentHash()).substring(1); + var params = (0, _ui_utils.parseQueryString)(hash); + var page = params.page | 0; + if (!(Number.isInteger(page) && page > 0 && page <= linkService.pagesCount)) { + page = null; + } + return { + hash: hash, + page: page, + rotation: linkService.rotation + }; +} + +var PDFHistory = function () { + function PDFHistory(_ref) { + var _this = this; + + var linkService = _ref.linkService, + eventBus = _ref.eventBus; + + _classCallCheck(this, PDFHistory); + + this.linkService = linkService; + this.eventBus = eventBus || (0, _dom_events.getGlobalEventBus)(); + this.initialized = false; + this.initialBookmark = null; + this.initialRotation = null; + this._boundEvents = Object.create(null); + this._isViewerInPresentationMode = false; + this._isPagesLoaded = false; + this.eventBus.on('presentationmodechanged', function (evt) { + _this._isViewerInPresentationMode = evt.active || evt.switchInProgress; + }); + this.eventBus.on('pagesloaded', function (evt) { + _this._isPagesLoaded = !!evt.pagesCount; + }); + } + + _createClass(PDFHistory, [{ + key: 'initialize', + value: function initialize(fingerprint) { + var resetHistory = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + + if (!fingerprint || typeof fingerprint !== 'string') { + console.error('PDFHistory.initialize: The "fingerprint" must be a non-empty string.'); + return; + } + var reInitialized = this.initialized && this.fingerprint !== fingerprint; + this.fingerprint = fingerprint; + if (!this.initialized) { + this._bindEvents(); + } + var state = window.history.state; + this.initialized = true; + this.initialBookmark = null; + this.initialRotation = null; + this._popStateInProgress = false; + this._blockHashChange = 0; + this._currentHash = getCurrentHash(); + this._numPositionUpdates = 0; + this._uid = this._maxUid = 0; + this._destination = null; + this._position = null; + if (!this._isValidState(state) || resetHistory) { + var _parseCurrentHash = parseCurrentHash(this.linkService), + hash = _parseCurrentHash.hash, + page = _parseCurrentHash.page, + rotation = _parseCurrentHash.rotation; + + if (!hash || reInitialized || resetHistory) { + this._pushOrReplaceState(null, true); + return; + } + this._pushOrReplaceState({ + hash: hash, + page: page, + rotation: rotation + }, true); + return; + } + var destination = state.destination; + this._updateInternalState(destination, state.uid, true); + if (destination.rotation !== undefined) { + this.initialRotation = destination.rotation; + } + if (destination.dest) { + this.initialBookmark = JSON.stringify(destination.dest); + this._destination.page = null; + } else if (destination.hash) { + this.initialBookmark = destination.hash; + } else if (destination.page) { + this.initialBookmark = 'page=' + destination.page; + } + } + }, { + key: 'push', + value: function push(_ref2) { + var _this2 = this; + + var namedDest = _ref2.namedDest, + explicitDest = _ref2.explicitDest, + pageNumber = _ref2.pageNumber; + + if (!this.initialized) { + return; + } + if (namedDest && typeof namedDest !== 'string' || !(explicitDest instanceof Array) || !(Number.isInteger(pageNumber) && pageNumber > 0 && pageNumber <= this.linkService.pagesCount)) { + console.error('PDFHistory.push: Invalid parameters.'); + return; + } + var hash = namedDest || JSON.stringify(explicitDest); + if (!hash) { + return; + } + var forceReplace = false; + if (this._destination && (isDestHashesEqual(this._destination.hash, hash) || isDestArraysEqual(this._destination.dest, explicitDest))) { + if (this._destination.page) { + return; + } + forceReplace = true; + } + if (this._popStateInProgress && !forceReplace) { + return; + } + this._pushOrReplaceState({ + dest: explicitDest, + hash: hash, + page: pageNumber, + rotation: this.linkService.rotation + }, forceReplace); + if (!this._popStateInProgress) { + this._popStateInProgress = true; + Promise.resolve().then(function () { + _this2._popStateInProgress = false; + }); + } + } + }, { + key: 'pushCurrentPosition', + value: function pushCurrentPosition() { + if (!this.initialized || this._popStateInProgress) { + return; + } + this._tryPushCurrentPosition(); + } + }, { + key: 'back', + value: function back() { + if (!this.initialized || this._popStateInProgress) { + return; + } + var state = window.history.state; + if (this._isValidState(state) && state.uid > 0) { + window.history.back(); + } + } + }, { + key: 'forward', + value: function forward() { + if (!this.initialized || this._popStateInProgress) { + return; + } + var state = window.history.state; + if (this._isValidState(state) && state.uid < this._maxUid) { + window.history.forward(); + } + } + }, { + key: '_pushOrReplaceState', + value: function _pushOrReplaceState(destination) { + var forceReplace = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + + var shouldReplace = forceReplace || !this._destination; + var newState = { + fingerprint: this.fingerprint, + uid: shouldReplace ? this._uid : this._uid + 1, + destination: destination + }; + this._updateInternalState(destination, newState.uid); + if (shouldReplace) { + window.history.replaceState(newState, '', document.URL); + } else { + this._maxUid = this._uid; + window.history.pushState(newState, '', document.URL); + } + } + }, { + key: '_tryPushCurrentPosition', + value: function _tryPushCurrentPosition() { + var temporary = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; + + if (!this._position) { + return; + } + var position = this._position; + if (temporary) { + position = (0, _ui_utils.cloneObj)(this._position); + position.temporary = true; + } + if (!this._destination) { + this._pushOrReplaceState(position); + return; + } + if (this._destination.temporary) { + this._pushOrReplaceState(position, true); + return; + } + if (this._destination.hash === position.hash) { + return; + } + if (!this._destination.page && (POSITION_UPDATED_THRESHOLD <= 0 || this._numPositionUpdates <= POSITION_UPDATED_THRESHOLD)) { + return; + } + var forceReplace = false; + if (this._destination.page === position.first || this._destination.page === position.page) { + if (this._destination.dest || !this._destination.first) { + return; + } + forceReplace = true; + } + this._pushOrReplaceState(position, forceReplace); + } + }, { + key: '_isValidState', + value: function _isValidState(state) { + if (!state) { + return false; + } + if (state.fingerprint !== this.fingerprint) { + return false; + } + if (!Number.isInteger(state.uid) || state.uid < 0) { + return false; + } + if (state.destination === null || _typeof(state.destination) !== 'object') { + return false; + } + return true; + } + }, { + key: '_updateInternalState', + value: function _updateInternalState(destination, uid) { + var removeTemporary = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; + + if (this._updateViewareaTimeout) { + clearTimeout(this._updateViewareaTimeout); + this._updateViewareaTimeout = null; + } + if (removeTemporary && destination && destination.temporary) { + delete destination.temporary; + } + this._destination = destination; + this._uid = uid; + this._numPositionUpdates = 0; + } + }, { + key: '_updateViewarea', + value: function _updateViewarea(_ref3) { + var _this3 = this; + + var location = _ref3.location; + + if (this._updateViewareaTimeout) { + clearTimeout(this._updateViewareaTimeout); + this._updateViewareaTimeout = null; + } + this._position = { + hash: this._isViewerInPresentationMode ? 'page=' + location.pageNumber : location.pdfOpenParams.substring(1), + page: this.linkService.page, + first: location.pageNumber, + rotation: location.rotation + }; + if (this._popStateInProgress) { + return; + } + if (POSITION_UPDATED_THRESHOLD > 0 && this._isPagesLoaded && this._destination && !this._destination.page) { + this._numPositionUpdates++; + } + if (UPDATE_VIEWAREA_TIMEOUT > 0) { + this._updateViewareaTimeout = setTimeout(function () { + if (!_this3._popStateInProgress) { + _this3._tryPushCurrentPosition(true); + } + _this3._updateViewareaTimeout = null; + }, UPDATE_VIEWAREA_TIMEOUT); + } + } + }, { + key: '_popState', + value: function _popState(_ref4) { + var _this4 = this; + + var state = _ref4.state; + + var newHash = getCurrentHash(), + hashChanged = this._currentHash !== newHash; + this._currentHash = newHash; + if (!state || false) { + this._uid++; + + var _parseCurrentHash2 = parseCurrentHash(this.linkService), + hash = _parseCurrentHash2.hash, + page = _parseCurrentHash2.page, + rotation = _parseCurrentHash2.rotation; + + this._pushOrReplaceState({ + hash: hash, + page: page, + rotation: rotation + }, true); + return; + } + if (!this._isValidState(state)) { + return; + } + this._popStateInProgress = true; + if (hashChanged) { + this._blockHashChange++; + (0, _ui_utils.waitOnEventOrTimeout)({ + target: window, + name: 'hashchange', + delay: HASH_CHANGE_TIMEOUT + }).then(function () { + _this4._blockHashChange--; + }); + } + var destination = state.destination; + this._updateInternalState(destination, state.uid, true); + if ((0, _ui_utils.isValidRotation)(destination.rotation)) { + this.linkService.rotation = destination.rotation; + } + if (destination.dest) { + this.linkService.navigateTo(destination.dest); + } else if (destination.hash) { + this.linkService.setHash(destination.hash); + } else if (destination.page) { + this.linkService.page = destination.page; + } + Promise.resolve().then(function () { + _this4._popStateInProgress = false; + }); + } + }, { + key: '_bindEvents', + value: function _bindEvents() { + var _this5 = this; + + var _boundEvents = this._boundEvents, + eventBus = this.eventBus; + + _boundEvents.updateViewarea = this._updateViewarea.bind(this); + _boundEvents.popState = this._popState.bind(this); + _boundEvents.pageHide = function (evt) { + if (!_this5._destination) { + _this5._tryPushCurrentPosition(); + } + }; + eventBus.on('updateviewarea', _boundEvents.updateViewarea); + window.addEventListener('popstate', _boundEvents.popState); + window.addEventListener('pagehide', _boundEvents.pageHide); + } + }, { + key: 'popStateInProgress', + get: function get() { + return this.initialized && (this._popStateInProgress || this._blockHashChange > 0); + } + }]); + + return PDFHistory; +}(); + +function isDestHashesEqual(destHash, pushHash) { + if (typeof destHash !== 'string' || typeof pushHash !== 'string') { + return false; + } + if (destHash === pushHash) { + return true; + } + + var _parseQueryString = (0, _ui_utils.parseQueryString)(destHash), + nameddest = _parseQueryString.nameddest; + + if (nameddest === pushHash) { + return true; + } + return false; +} +function isDestArraysEqual(firstDest, secondDest) { + function isEntryEqual(first, second) { + if ((typeof first === 'undefined' ? 'undefined' : _typeof(first)) !== (typeof second === 'undefined' ? 'undefined' : _typeof(second))) { + return false; + } + if (first instanceof Array || second instanceof Array) { + return false; + } + if (first !== null && (typeof first === 'undefined' ? 'undefined' : _typeof(first)) === 'object' && second !== null) { + if (Object.keys(first).length !== Object.keys(second).length) { + return false; + } + for (var key in first) { + if (!isEntryEqual(first[key], second[key])) { + return false; + } + } + return true; + } + return first === second || Number.isNaN(first) && Number.isNaN(second); + } + if (!(firstDest instanceof Array && secondDest instanceof Array)) { + return false; + } + if (firstDest.length !== secondDest.length) { + return false; + } + for (var i = 0, ii = firstDest.length; i < ii; i++) { + if (!isEntryEqual(firstDest[i], secondDest[i])) { + return false; + } + } + return true; +} +exports.PDFHistory = PDFHistory; +exports.isDestHashesEqual = isDestHashesEqual; +exports.isDestArraysEqual = isDestArraysEqual; + +/***/ }), +/* 17 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.PDFOutlineViewer = undefined; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _pdfjsLib = __webpack_require__(1); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var DEFAULT_TITLE = '\u2013'; + +var PDFOutlineViewer = function () { + function PDFOutlineViewer(_ref) { + var container = _ref.container, + linkService = _ref.linkService, + eventBus = _ref.eventBus; + + _classCallCheck(this, PDFOutlineViewer); + + this.container = container; + this.linkService = linkService; + this.eventBus = eventBus; + this.reset(); + } + + _createClass(PDFOutlineViewer, [{ + key: 'reset', + value: function reset() { + this.outline = null; + this.lastToggleIsShow = true; + this.container.textContent = ''; + this.container.classList.remove('outlineWithDeepNesting'); + } + }, { + key: '_dispatchEvent', + value: function _dispatchEvent(outlineCount) { + this.eventBus.dispatch('outlineloaded', { + source: this, + outlineCount: outlineCount + }); + } + }, { + key: '_bindLink', + value: function _bindLink(element, item) { + var _this = this; + + if (item.url) { + (0, _pdfjsLib.addLinkAttributes)(element, { + url: item.url, + target: item.newWindow ? _pdfjsLib.PDFJS.LinkTarget.BLANK : undefined + }); + return; + } + var destination = item.dest; + element.href = this.linkService.getDestinationHash(destination); + element.onclick = function () { + if (destination) { + _this.linkService.navigateTo(destination); + } + return false; + }; + } + }, { + key: '_setStyles', + value: function _setStyles(element, item) { + var styleStr = ''; + if (item.bold) { + styleStr += 'font-weight: bold;'; + } + if (item.italic) { + styleStr += 'font-style: italic;'; + } + if (styleStr) { + element.setAttribute('style', styleStr); + } + } + }, { + key: '_addToggleButton', + value: function _addToggleButton(div) { + var _this2 = this; + + var toggler = document.createElement('div'); + toggler.className = 'outlineItemToggler'; + toggler.onclick = function (evt) { + evt.stopPropagation(); + toggler.classList.toggle('outlineItemsHidden'); + if (evt.shiftKey) { + var shouldShowAll = !toggler.classList.contains('outlineItemsHidden'); + _this2._toggleOutlineItem(div, shouldShowAll); + } + }; + div.insertBefore(toggler, div.firstChild); + } + }, { + key: '_toggleOutlineItem', + value: function _toggleOutlineItem(root, show) { + this.lastToggleIsShow = show; + var togglers = root.querySelectorAll('.outlineItemToggler'); + for (var i = 0, ii = togglers.length; i < ii; ++i) { + togglers[i].classList[show ? 'remove' : 'add']('outlineItemsHidden'); + } + } + }, { + key: 'toggleOutlineTree', + value: function toggleOutlineTree() { + if (!this.outline) { + return; + } + this._toggleOutlineItem(this.container, !this.lastToggleIsShow); + } + }, { + key: 'render', + value: function render(_ref2) { + var outline = _ref2.outline; + + var outlineCount = 0; + if (this.outline) { + this.reset(); + } + this.outline = outline || null; + if (!outline) { + this._dispatchEvent(outlineCount); + return; + } + var fragment = document.createDocumentFragment(); + var queue = [{ + parent: fragment, + items: this.outline + }]; + var hasAnyNesting = false; + while (queue.length > 0) { + var levelData = queue.shift(); + for (var i = 0, len = levelData.items.length; i < len; i++) { + var item = levelData.items[i]; + var div = document.createElement('div'); + div.className = 'outlineItem'; + var element = document.createElement('a'); + this._bindLink(element, item); + this._setStyles(element, item); + element.textContent = (0, _pdfjsLib.removeNullCharacters)(item.title) || DEFAULT_TITLE; + div.appendChild(element); + if (item.items.length > 0) { + hasAnyNesting = true; + this._addToggleButton(div); + var itemsDiv = document.createElement('div'); + itemsDiv.className = 'outlineItems'; + div.appendChild(itemsDiv); + queue.push({ + parent: itemsDiv, + items: item.items + }); + } + levelData.parent.appendChild(div); + outlineCount++; + } + } + if (hasAnyNesting) { + this.container.classList.add('outlineWithDeepNesting'); + } + this.container.appendChild(fragment); + this._dispatchEvent(outlineCount); + } + }]); + + return PDFOutlineViewer; +}(); + +exports.PDFOutlineViewer = PDFOutlineViewer; + +/***/ }), +/* 18 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.PDFPresentationMode = undefined; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _ui_utils = __webpack_require__(0); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var DELAY_BEFORE_RESETTING_SWITCH_IN_PROGRESS = 1500; +var DELAY_BEFORE_HIDING_CONTROLS = 3000; +var ACTIVE_SELECTOR = 'pdfPresentationMode'; +var CONTROLS_SELECTOR = 'pdfPresentationModeControls'; +var MOUSE_SCROLL_COOLDOWN_TIME = 50; +var PAGE_SWITCH_THRESHOLD = 0.1; +var SWIPE_MIN_DISTANCE_THRESHOLD = 50; +var SWIPE_ANGLE_THRESHOLD = Math.PI / 6; + +var PDFPresentationMode = function () { + function PDFPresentationMode(_ref) { + var _this = this; + + var container = _ref.container, + _ref$viewer = _ref.viewer, + viewer = _ref$viewer === undefined ? null : _ref$viewer, + pdfViewer = _ref.pdfViewer, + eventBus = _ref.eventBus, + _ref$contextMenuItems = _ref.contextMenuItems, + contextMenuItems = _ref$contextMenuItems === undefined ? null : _ref$contextMenuItems; + + _classCallCheck(this, PDFPresentationMode); + + this.container = container; + this.viewer = viewer || container.firstElementChild; + this.pdfViewer = pdfViewer; + this.eventBus = eventBus; + this.active = false; + this.args = null; + this.contextMenuOpen = false; + this.mouseScrollTimeStamp = 0; + this.mouseScrollDelta = 0; + this.touchSwipeState = null; + if (contextMenuItems) { + contextMenuItems.contextFirstPage.addEventListener('click', function () { + _this.contextMenuOpen = false; + _this.eventBus.dispatch('firstpage'); + }); + contextMenuItems.contextLastPage.addEventListener('click', function () { + _this.contextMenuOpen = false; + _this.eventBus.dispatch('lastpage'); + }); + contextMenuItems.contextPageRotateCw.addEventListener('click', function () { + _this.contextMenuOpen = false; + _this.eventBus.dispatch('rotatecw'); + }); + contextMenuItems.contextPageRotateCcw.addEventListener('click', function () { + _this.contextMenuOpen = false; + _this.eventBus.dispatch('rotateccw'); + }); + } + } + + _createClass(PDFPresentationMode, [{ + key: 'request', + value: function request() { + if (this.switchInProgress || this.active || !this.viewer.hasChildNodes()) { + return false; + } + this._addFullscreenChangeListeners(); + this._setSwitchInProgress(); + this._notifyStateChange(); + if (this.container.requestFullscreen) { + this.container.requestFullscreen(); + } else if (this.container.mozRequestFullScreen) { + this.container.mozRequestFullScreen(); + } else if (this.container.webkitRequestFullscreen) { + this.container.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT); + } else if (this.container.msRequestFullscreen) { + this.container.msRequestFullscreen(); + } else { + return false; + } + this.args = { + page: this.pdfViewer.currentPageNumber, + previousScale: this.pdfViewer.currentScaleValue + }; + return true; + } + }, { + key: '_mouseWheel', + value: function _mouseWheel(evt) { + if (!this.active) { + return; + } + evt.preventDefault(); + var delta = (0, _ui_utils.normalizeWheelEventDelta)(evt); + var currentTime = new Date().getTime(); + var storedTime = this.mouseScrollTimeStamp; + if (currentTime > storedTime && currentTime - storedTime < MOUSE_SCROLL_COOLDOWN_TIME) { + return; + } + if (this.mouseScrollDelta > 0 && delta < 0 || this.mouseScrollDelta < 0 && delta > 0) { + this._resetMouseScrollState(); + } + this.mouseScrollDelta += delta; + if (Math.abs(this.mouseScrollDelta) >= PAGE_SWITCH_THRESHOLD) { + var totalDelta = this.mouseScrollDelta; + this._resetMouseScrollState(); + var success = totalDelta > 0 ? this._goToPreviousPage() : this._goToNextPage(); + if (success) { + this.mouseScrollTimeStamp = currentTime; + } + } + } + }, { + key: '_goToPreviousPage', + value: function _goToPreviousPage() { + var page = this.pdfViewer.currentPageNumber; + if (page <= 1) { + return false; + } + this.pdfViewer.currentPageNumber = page - 1; + return true; + } + }, { + key: '_goToNextPage', + value: function _goToNextPage() { + var page = this.pdfViewer.currentPageNumber; + if (page >= this.pdfViewer.pagesCount) { + return false; + } + this.pdfViewer.currentPageNumber = page + 1; + return true; + } + }, { + key: '_notifyStateChange', + value: function _notifyStateChange() { + this.eventBus.dispatch('presentationmodechanged', { + source: this, + active: this.active, + switchInProgress: !!this.switchInProgress + }); + } + }, { + key: '_setSwitchInProgress', + value: function _setSwitchInProgress() { + var _this2 = this; + + if (this.switchInProgress) { + clearTimeout(this.switchInProgress); + } + this.switchInProgress = setTimeout(function () { + _this2._removeFullscreenChangeListeners(); + delete _this2.switchInProgress; + _this2._notifyStateChange(); + }, DELAY_BEFORE_RESETTING_SWITCH_IN_PROGRESS); + } + }, { + key: '_resetSwitchInProgress', + value: function _resetSwitchInProgress() { + if (this.switchInProgress) { + clearTimeout(this.switchInProgress); + delete this.switchInProgress; + } + } + }, { + key: '_enter', + value: function _enter() { + var _this3 = this; + + this.active = true; + this._resetSwitchInProgress(); + this._notifyStateChange(); + this.container.classList.add(ACTIVE_SELECTOR); + setTimeout(function () { + _this3.pdfViewer.currentPageNumber = _this3.args.page; + _this3.pdfViewer.currentScaleValue = 'page-fit'; + }, 0); + this._addWindowListeners(); + this._showControls(); + this.contextMenuOpen = false; + this.container.setAttribute('contextmenu', 'viewerContextMenu'); + window.getSelection().removeAllRanges(); + } + }, { + key: '_exit', + value: function _exit() { + var _this4 = this; + + var page = this.pdfViewer.currentPageNumber; + this.container.classList.remove(ACTIVE_SELECTOR); + setTimeout(function () { + _this4.active = false; + _this4._removeFullscreenChangeListeners(); + _this4._notifyStateChange(); + _this4.pdfViewer.currentScaleValue = _this4.args.previousScale; + _this4.pdfViewer.currentPageNumber = page; + _this4.args = null; + }, 0); + this._removeWindowListeners(); + this._hideControls(); + this._resetMouseScrollState(); + this.container.removeAttribute('contextmenu'); + this.contextMenuOpen = false; + } + }, { + key: '_mouseDown', + value: function _mouseDown(evt) { + if (this.contextMenuOpen) { + this.contextMenuOpen = false; + evt.preventDefault(); + return; + } + if (evt.button === 0) { + var isInternalLink = evt.target.href && evt.target.classList.contains('internalLink'); + if (!isInternalLink) { + evt.preventDefault(); + if (evt.shiftKey) { + this._goToPreviousPage(); + } else { + this._goToNextPage(); + } + } + } + } + }, { + key: '_contextMenu', + value: function _contextMenu() { + this.contextMenuOpen = true; + } + }, { + key: '_showControls', + value: function _showControls() { + var _this5 = this; + + if (this.controlsTimeout) { + clearTimeout(this.controlsTimeout); + } else { + this.container.classList.add(CONTROLS_SELECTOR); + } + this.controlsTimeout = setTimeout(function () { + _this5.container.classList.remove(CONTROLS_SELECTOR); + delete _this5.controlsTimeout; + }, DELAY_BEFORE_HIDING_CONTROLS); + } + }, { + key: '_hideControls', + value: function _hideControls() { + if (!this.controlsTimeout) { + return; + } + clearTimeout(this.controlsTimeout); + this.container.classList.remove(CONTROLS_SELECTOR); + delete this.controlsTimeout; + } + }, { + key: '_resetMouseScrollState', + value: function _resetMouseScrollState() { + this.mouseScrollTimeStamp = 0; + this.mouseScrollDelta = 0; + } + }, { + key: '_touchSwipe', + value: function _touchSwipe(evt) { + if (!this.active) { + return; + } + if (evt.touches.length > 1) { + this.touchSwipeState = null; + return; + } + switch (evt.type) { + case 'touchstart': + this.touchSwipeState = { + startX: evt.touches[0].pageX, + startY: evt.touches[0].pageY, + endX: evt.touches[0].pageX, + endY: evt.touches[0].pageY + }; + break; + case 'touchmove': + if (this.touchSwipeState === null) { + return; + } + this.touchSwipeState.endX = evt.touches[0].pageX; + this.touchSwipeState.endY = evt.touches[0].pageY; + evt.preventDefault(); + break; + case 'touchend': + if (this.touchSwipeState === null) { + return; + } + var delta = 0; + var dx = this.touchSwipeState.endX - this.touchSwipeState.startX; + var dy = this.touchSwipeState.endY - this.touchSwipeState.startY; + var absAngle = Math.abs(Math.atan2(dy, dx)); + if (Math.abs(dx) > SWIPE_MIN_DISTANCE_THRESHOLD && (absAngle <= SWIPE_ANGLE_THRESHOLD || absAngle >= Math.PI - SWIPE_ANGLE_THRESHOLD)) { + delta = dx; + } else if (Math.abs(dy) > SWIPE_MIN_DISTANCE_THRESHOLD && Math.abs(absAngle - Math.PI / 2) <= SWIPE_ANGLE_THRESHOLD) { + delta = dy; + } + if (delta > 0) { + this._goToPreviousPage(); + } else if (delta < 0) { + this._goToNextPage(); + } + break; + } + } + }, { + key: '_addWindowListeners', + value: function _addWindowListeners() { + this.showControlsBind = this._showControls.bind(this); + this.mouseDownBind = this._mouseDown.bind(this); + this.mouseWheelBind = this._mouseWheel.bind(this); + this.resetMouseScrollStateBind = this._resetMouseScrollState.bind(this); + this.contextMenuBind = this._contextMenu.bind(this); + this.touchSwipeBind = this._touchSwipe.bind(this); + window.addEventListener('mousemove', this.showControlsBind); + window.addEventListener('mousedown', this.mouseDownBind); + window.addEventListener('wheel', this.mouseWheelBind); + window.addEventListener('keydown', this.resetMouseScrollStateBind); + window.addEventListener('contextmenu', this.contextMenuBind); + window.addEventListener('touchstart', this.touchSwipeBind); + window.addEventListener('touchmove', this.touchSwipeBind); + window.addEventListener('touchend', this.touchSwipeBind); + } + }, { + key: '_removeWindowListeners', + value: function _removeWindowListeners() { + window.removeEventListener('mousemove', this.showControlsBind); + window.removeEventListener('mousedown', this.mouseDownBind); + window.removeEventListener('wheel', this.mouseWheelBind); + window.removeEventListener('keydown', this.resetMouseScrollStateBind); + window.removeEventListener('contextmenu', this.contextMenuBind); + window.removeEventListener('touchstart', this.touchSwipeBind); + window.removeEventListener('touchmove', this.touchSwipeBind); + window.removeEventListener('touchend', this.touchSwipeBind); + delete this.showControlsBind; + delete this.mouseDownBind; + delete this.mouseWheelBind; + delete this.resetMouseScrollStateBind; + delete this.contextMenuBind; + delete this.touchSwipeBind; + } + }, { + key: '_fullscreenChange', + value: function _fullscreenChange() { + if (this.isFullscreen) { + this._enter(); + } else { + this._exit(); + } + } + }, { + key: '_addFullscreenChangeListeners', + value: function _addFullscreenChangeListeners() { + this.fullscreenChangeBind = this._fullscreenChange.bind(this); + window.addEventListener('fullscreenchange', this.fullscreenChangeBind); + window.addEventListener('mozfullscreenchange', this.fullscreenChangeBind); + window.addEventListener('webkitfullscreenchange', this.fullscreenChangeBind); + window.addEventListener('MSFullscreenChange', this.fullscreenChangeBind); + } + }, { + key: '_removeFullscreenChangeListeners', + value: function _removeFullscreenChangeListeners() { + window.removeEventListener('fullscreenchange', this.fullscreenChangeBind); + window.removeEventListener('mozfullscreenchange', this.fullscreenChangeBind); + window.removeEventListener('webkitfullscreenchange', this.fullscreenChangeBind); + window.removeEventListener('MSFullscreenChange', this.fullscreenChangeBind); + delete this.fullscreenChangeBind; + } + }, { + key: 'isFullscreen', + get: function get() { + return !!(document.fullscreenElement || document.mozFullScreen || document.webkitIsFullScreen || document.msFullscreenElement); + } + }]); + + return PDFPresentationMode; +}(); + +exports.PDFPresentationMode = PDFPresentationMode; + +/***/ }), +/* 19 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.PDFThumbnailViewer = undefined; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _ui_utils = __webpack_require__(0); + +var _pdf_thumbnail_view = __webpack_require__(20); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var THUMBNAIL_SCROLL_MARGIN = -19; + +var PDFThumbnailViewer = function () { + function PDFThumbnailViewer(_ref) { + var container = _ref.container, + linkService = _ref.linkService, + renderingQueue = _ref.renderingQueue, + _ref$l10n = _ref.l10n, + l10n = _ref$l10n === undefined ? _ui_utils.NullL10n : _ref$l10n; + + _classCallCheck(this, PDFThumbnailViewer); + + this.container = container; + this.linkService = linkService; + this.renderingQueue = renderingQueue; + this.l10n = l10n; + this.scroll = (0, _ui_utils.watchScroll)(this.container, this._scrollUpdated.bind(this)); + this._resetView(); + } + + _createClass(PDFThumbnailViewer, [{ + key: '_scrollUpdated', + value: function _scrollUpdated() { + this.renderingQueue.renderHighestPriority(); + } + }, { + key: 'getThumbnail', + value: function getThumbnail(index) { + return this._thumbnails[index]; + } + }, { + key: '_getVisibleThumbs', + value: function _getVisibleThumbs() { + return (0, _ui_utils.getVisibleElements)(this.container, this._thumbnails); + } + }, { + key: 'scrollThumbnailIntoView', + value: function scrollThumbnailIntoView(page) { + var selected = document.querySelector('.thumbnail.selected'); + if (selected) { + selected.classList.remove('selected'); + } + var thumbnail = document.querySelector('div.thumbnail[data-page-number="' + page + '"]'); + if (thumbnail) { + thumbnail.classList.add('selected'); + } + var visibleThumbs = this._getVisibleThumbs(); + var numVisibleThumbs = visibleThumbs.views.length; + if (numVisibleThumbs > 0) { + var first = visibleThumbs.first.id; + var last = numVisibleThumbs > 1 ? visibleThumbs.last.id : first; + if (page <= first || page >= last) { + (0, _ui_utils.scrollIntoView)(thumbnail, { top: THUMBNAIL_SCROLL_MARGIN }); + } + } + } + }, { + key: 'cleanup', + value: function cleanup() { + _pdf_thumbnail_view.PDFThumbnailView.cleanup(); + } + }, { + key: '_resetView', + value: function _resetView() { + this._thumbnails = []; + this._pageLabels = null; + this._pagesRotation = 0; + this._pagesRequests = []; + this.container.textContent = ''; + } + }, { + key: 'setDocument', + value: function setDocument(pdfDocument) { + var _this = this; + + if (this.pdfDocument) { + this._cancelRendering(); + this._resetView(); + } + this.pdfDocument = pdfDocument; + if (!pdfDocument) { + return; + } + pdfDocument.getPage(1).then(function (firstPage) { + var pagesCount = pdfDocument.numPages; + var viewport = firstPage.getViewport(1.0); + for (var pageNum = 1; pageNum <= pagesCount; ++pageNum) { + var thumbnail = new _pdf_thumbnail_view.PDFThumbnailView({ + container: _this.container, + id: pageNum, + defaultViewport: viewport.clone(), + linkService: _this.linkService, + renderingQueue: _this.renderingQueue, + disableCanvasToImageConversion: false, + l10n: _this.l10n + }); + _this._thumbnails.push(thumbnail); + } + }).catch(function (reason) { + console.error('Unable to initialize thumbnail viewer', reason); + }); + } + }, { + key: '_cancelRendering', + value: function _cancelRendering() { + for (var i = 0, ii = this._thumbnails.length; i < ii; i++) { + if (this._thumbnails[i]) { + this._thumbnails[i].cancelRendering(); + } + } + } + }, { + key: 'setPageLabels', + value: function setPageLabels(labels) { + if (!this.pdfDocument) { + return; + } + if (!labels) { + this._pageLabels = null; + } else if (!(labels instanceof Array && this.pdfDocument.numPages === labels.length)) { + this._pageLabels = null; + console.error('PDFThumbnailViewer_setPageLabels: Invalid page labels.'); + } else { + this._pageLabels = labels; + } + for (var i = 0, ii = this._thumbnails.length; i < ii; i++) { + var label = this._pageLabels && this._pageLabels[i]; + this._thumbnails[i].setPageLabel(label); + } + } + }, { + key: '_ensurePdfPageLoaded', + value: function _ensurePdfPageLoaded(thumbView) { + var _this2 = this; + + if (thumbView.pdfPage) { + return Promise.resolve(thumbView.pdfPage); + } + var pageNumber = thumbView.id; + if (this._pagesRequests[pageNumber]) { + return this._pagesRequests[pageNumber]; + } + var promise = this.pdfDocument.getPage(pageNumber).then(function (pdfPage) { + thumbView.setPdfPage(pdfPage); + _this2._pagesRequests[pageNumber] = null; + return pdfPage; + }).catch(function (reason) { + console.error('Unable to get page for thumb view', reason); + _this2._pagesRequests[pageNumber] = null; + }); + this._pagesRequests[pageNumber] = promise; + return promise; + } + }, { + key: 'forceRendering', + value: function forceRendering() { + var _this3 = this; + + var visibleThumbs = this._getVisibleThumbs(); + var thumbView = this.renderingQueue.getHighestPriority(visibleThumbs, this._thumbnails, this.scroll.down); + if (thumbView) { + this._ensurePdfPageLoaded(thumbView).then(function () { + _this3.renderingQueue.renderView(thumbView); + }); + return true; + } + return false; + } + }, { + key: 'pagesRotation', + get: function get() { + return this._pagesRotation; + }, + set: function set(rotation) { + if (!(0, _ui_utils.isValidRotation)(rotation)) { + throw new Error('Invalid thumbnails rotation angle.'); + } + if (!this.pdfDocument) { + return; + } + if (this._pagesRotation === rotation) { + return; + } + this._pagesRotation = rotation; + for (var i = 0, ii = this._thumbnails.length; i < ii; i++) { + this._thumbnails[i].update(rotation); + } + } + }]); + + return PDFThumbnailViewer; +}(); + +exports.PDFThumbnailViewer = PDFThumbnailViewer; + +/***/ }), +/* 20 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.PDFThumbnailView = undefined; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _pdfjsLib = __webpack_require__(1); + +var _ui_utils = __webpack_require__(0); + +var _pdf_rendering_queue = __webpack_require__(3); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var MAX_NUM_SCALING_STEPS = 3; +var THUMBNAIL_CANVAS_BORDER_WIDTH = 1; +var THUMBNAIL_WIDTH = 98; +var TempImageFactory = function TempImageFactoryClosure() { + var tempCanvasCache = null; + return { + getCanvas: function getCanvas(width, height) { + var tempCanvas = tempCanvasCache; + if (!tempCanvas) { + tempCanvas = document.createElement('canvas'); + tempCanvasCache = tempCanvas; + } + tempCanvas.width = width; + tempCanvas.height = height; + tempCanvas.mozOpaque = true; + var ctx = tempCanvas.getContext('2d', { alpha: false }); + ctx.save(); + ctx.fillStyle = 'rgb(255, 255, 255)'; + ctx.fillRect(0, 0, width, height); + ctx.restore(); + return tempCanvas; + }, + destroyCanvas: function destroyCanvas() { + var tempCanvas = tempCanvasCache; + if (tempCanvas) { + tempCanvas.width = 0; + tempCanvas.height = 0; + } + tempCanvasCache = null; + } + }; +}(); + +var PDFThumbnailView = function () { + function PDFThumbnailView(_ref) { + var container = _ref.container, + id = _ref.id, + defaultViewport = _ref.defaultViewport, + linkService = _ref.linkService, + renderingQueue = _ref.renderingQueue, + _ref$disableCanvasToI = _ref.disableCanvasToImageConversion, + disableCanvasToImageConversion = _ref$disableCanvasToI === undefined ? false : _ref$disableCanvasToI, + _ref$l10n = _ref.l10n, + l10n = _ref$l10n === undefined ? _ui_utils.NullL10n : _ref$l10n; + + _classCallCheck(this, PDFThumbnailView); + + this.id = id; + this.renderingId = 'thumbnail' + id; + this.pageLabel = null; + this.pdfPage = null; + this.rotation = 0; + this.viewport = defaultViewport; + this.pdfPageRotate = defaultViewport.rotation; + this.linkService = linkService; + this.renderingQueue = renderingQueue; + this.renderTask = null; + this.renderingState = _pdf_rendering_queue.RenderingStates.INITIAL; + this.resume = null; + this.disableCanvasToImageConversion = disableCanvasToImageConversion; + this.pageWidth = this.viewport.width; + this.pageHeight = this.viewport.height; + this.pageRatio = this.pageWidth / this.pageHeight; + this.canvasWidth = THUMBNAIL_WIDTH; + this.canvasHeight = this.canvasWidth / this.pageRatio | 0; + this.scale = this.canvasWidth / this.pageWidth; + this.l10n = l10n; + var anchor = document.createElement('a'); + anchor.href = linkService.getAnchorUrl('#page=' + id); + this.l10n.get('thumb_page_title', { page: id }, 'Page {{page}}').then(function (msg) { + anchor.title = msg; + }); + anchor.onclick = function () { + linkService.page = id; + return false; + }; + this.anchor = anchor; + var div = document.createElement('div'); + div.className = 'thumbnail'; + div.setAttribute('data-page-number', this.id); + this.div = div; + if (id === 1) { + div.classList.add('selected'); + } + var ring = document.createElement('div'); + ring.className = 'thumbnailSelectionRing'; + var borderAdjustment = 2 * THUMBNAIL_CANVAS_BORDER_WIDTH; + ring.style.width = this.canvasWidth + borderAdjustment + 'px'; + ring.style.height = this.canvasHeight + borderAdjustment + 'px'; + this.ring = ring; + div.appendChild(ring); + anchor.appendChild(div); + container.appendChild(anchor); + } + + _createClass(PDFThumbnailView, [{ + key: 'setPdfPage', + value: function setPdfPage(pdfPage) { + this.pdfPage = pdfPage; + this.pdfPageRotate = pdfPage.rotate; + var totalRotation = (this.rotation + this.pdfPageRotate) % 360; + this.viewport = pdfPage.getViewport(1, totalRotation); + this.reset(); + } + }, { + key: 'reset', + value: function reset() { + this.cancelRendering(); + this.pageWidth = this.viewport.width; + this.pageHeight = this.viewport.height; + this.pageRatio = this.pageWidth / this.pageHeight; + this.canvasHeight = this.canvasWidth / this.pageRatio | 0; + this.scale = this.canvasWidth / this.pageWidth; + this.div.removeAttribute('data-loaded'); + var ring = this.ring; + var childNodes = ring.childNodes; + for (var i = childNodes.length - 1; i >= 0; i--) { + ring.removeChild(childNodes[i]); + } + var borderAdjustment = 2 * THUMBNAIL_CANVAS_BORDER_WIDTH; + ring.style.width = this.canvasWidth + borderAdjustment + 'px'; + ring.style.height = this.canvasHeight + borderAdjustment + 'px'; + if (this.canvas) { + this.canvas.width = 0; + this.canvas.height = 0; + delete this.canvas; + } + if (this.image) { + this.image.removeAttribute('src'); + delete this.image; + } + } + }, { + key: 'update', + value: function update(rotation) { + if (typeof rotation !== 'undefined') { + this.rotation = rotation; + } + var totalRotation = (this.rotation + this.pdfPageRotate) % 360; + this.viewport = this.viewport.clone({ + scale: 1, + rotation: totalRotation + }); + this.reset(); + } + }, { + key: 'cancelRendering', + value: function cancelRendering() { + if (this.renderTask) { + this.renderTask.cancel(); + this.renderTask = null; + } + this.renderingState = _pdf_rendering_queue.RenderingStates.INITIAL; + this.resume = null; + } + }, { + key: '_getPageDrawContext', + value: function _getPageDrawContext() { + var noCtxScale = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; + + var canvas = document.createElement('canvas'); + this.canvas = canvas; + canvas.mozOpaque = true; + var ctx = canvas.getContext('2d', { alpha: false }); + var outputScale = (0, _ui_utils.getOutputScale)(ctx); + canvas.width = this.canvasWidth * outputScale.sx | 0; + canvas.height = this.canvasHeight * outputScale.sy | 0; + canvas.style.width = this.canvasWidth + 'px'; + canvas.style.height = this.canvasHeight + 'px'; + if (!noCtxScale && outputScale.scaled) { + ctx.scale(outputScale.sx, outputScale.sy); + } + return ctx; + } + }, { + key: '_convertCanvasToImage', + value: function _convertCanvasToImage() { + var _this = this; + + if (!this.canvas) { + return; + } + if (this.renderingState !== _pdf_rendering_queue.RenderingStates.FINISHED) { + return; + } + var id = this.renderingId; + var className = 'thumbnailImage'; + if (this.disableCanvasToImageConversion) { + this.canvas.id = id; + this.canvas.className = className; + this.l10n.get('thumb_page_canvas', { page: this.pageId }, 'Thumbnail of Page {{page}}').then(function (msg) { + _this.canvas.setAttribute('aria-label', msg); + }); + this.div.setAttribute('data-loaded', true); + this.ring.appendChild(this.canvas); + return; + } + var image = document.createElement('img'); + image.id = id; + image.className = className; + this.l10n.get('thumb_page_canvas', { page: this.pageId }, 'Thumbnail of Page {{page}}').then(function (msg) { + image.setAttribute('aria-label', msg); + }); + image.style.width = this.canvasWidth + 'px'; + image.style.height = this.canvasHeight + 'px'; + image.src = this.canvas.toDataURL(); + this.image = image; + this.div.setAttribute('data-loaded', true); + this.ring.appendChild(image); + this.canvas.width = 0; + this.canvas.height = 0; + delete this.canvas; + } + }, { + key: 'draw', + value: function draw() { + var _this2 = this; + + if (this.renderingState !== _pdf_rendering_queue.RenderingStates.INITIAL) { + console.error('Must be in new state before drawing'); + return Promise.resolve(undefined); + } + this.renderingState = _pdf_rendering_queue.RenderingStates.RUNNING; + var renderCapability = (0, _pdfjsLib.createPromiseCapability)(); + var finishRenderTask = function finishRenderTask(error) { + if (renderTask === _this2.renderTask) { + _this2.renderTask = null; + } + if (error === 'cancelled' || error instanceof _pdfjsLib.RenderingCancelledException) { + renderCapability.resolve(undefined); + return; + } + _this2.renderingState = _pdf_rendering_queue.RenderingStates.FINISHED; + _this2._convertCanvasToImage(); + if (!error) { + renderCapability.resolve(undefined); + } else { + renderCapability.reject(error); + } + }; + var ctx = this._getPageDrawContext(); + var drawViewport = this.viewport.clone({ scale: this.scale }); + var renderContinueCallback = function renderContinueCallback(cont) { + if (!_this2.renderingQueue.isHighestPriority(_this2)) { + _this2.renderingState = _pdf_rendering_queue.RenderingStates.PAUSED; + _this2.resume = function () { + _this2.renderingState = _pdf_rendering_queue.RenderingStates.RUNNING; + cont(); + }; + return; + } + cont(); + }; + var renderContext = { + canvasContext: ctx, + viewport: drawViewport + }; + var renderTask = this.renderTask = this.pdfPage.render(renderContext); + renderTask.onContinue = renderContinueCallback; + renderTask.promise.then(function () { + finishRenderTask(null); + }, function (error) { + finishRenderTask(error); + }); + return renderCapability.promise; + } + }, { + key: 'setImage', + value: function setImage(pageView) { + if (this.renderingState !== _pdf_rendering_queue.RenderingStates.INITIAL) { + return; + } + var img = pageView.canvas; + if (!img) { + return; + } + if (!this.pdfPage) { + this.setPdfPage(pageView.pdfPage); + } + this.renderingState = _pdf_rendering_queue.RenderingStates.FINISHED; + var ctx = this._getPageDrawContext(true); + var canvas = ctx.canvas; + if (img.width <= 2 * canvas.width) { + ctx.drawImage(img, 0, 0, img.width, img.height, 0, 0, canvas.width, canvas.height); + this._convertCanvasToImage(); + return; + } + var reducedWidth = canvas.width << MAX_NUM_SCALING_STEPS; + var reducedHeight = canvas.height << MAX_NUM_SCALING_STEPS; + var reducedImage = TempImageFactory.getCanvas(reducedWidth, reducedHeight); + var reducedImageCtx = reducedImage.getContext('2d'); + while (reducedWidth > img.width || reducedHeight > img.height) { + reducedWidth >>= 1; + reducedHeight >>= 1; + } + reducedImageCtx.drawImage(img, 0, 0, img.width, img.height, 0, 0, reducedWidth, reducedHeight); + while (reducedWidth > 2 * canvas.width) { + reducedImageCtx.drawImage(reducedImage, 0, 0, reducedWidth, reducedHeight, 0, 0, reducedWidth >> 1, reducedHeight >> 1); + reducedWidth >>= 1; + reducedHeight >>= 1; + } + ctx.drawImage(reducedImage, 0, 0, reducedWidth, reducedHeight, 0, 0, canvas.width, canvas.height); + this._convertCanvasToImage(); + } + }, { + key: 'setPageLabel', + value: function setPageLabel(label) { + var _this3 = this; + + this.pageLabel = typeof label === 'string' ? label : null; + this.l10n.get('thumb_page_title', { page: this.pageId }, 'Page {{page}}').then(function (msg) { + _this3.anchor.title = msg; + }); + if (this.renderingState !== _pdf_rendering_queue.RenderingStates.FINISHED) { + return; + } + this.l10n.get('thumb_page_canvas', { page: this.pageId }, 'Thumbnail of Page {{page}}').then(function (ariaLabel) { + if (_this3.image) { + _this3.image.setAttribute('aria-label', ariaLabel); + } else if (_this3.disableCanvasToImageConversion && _this3.canvas) { + _this3.canvas.setAttribute('aria-label', ariaLabel); + } + }); + } + }, { + key: 'pageId', + get: function get() { + return this.pageLabel !== null ? this.pageLabel : this.id; + } + }], [{ + key: 'cleanup', + value: function cleanup() { + TempImageFactory.destroyCanvas(); + } + }]); + + return PDFThumbnailView; +}(); + +exports.PDFThumbnailView = PDFThumbnailView; + +/***/ }), +/* 21 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.PDFViewer = undefined; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _ui_utils = __webpack_require__(0); + +var _base_viewer = __webpack_require__(22); + +var _pdfjsLib = __webpack_require__(1); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var PDFViewer = function (_BaseViewer) { + _inherits(PDFViewer, _BaseViewer); + + function PDFViewer() { + _classCallCheck(this, PDFViewer); + + return _possibleConstructorReturn(this, (PDFViewer.__proto__ || Object.getPrototypeOf(PDFViewer)).apply(this, arguments)); + } + + _createClass(PDFViewer, [{ + key: '_scrollIntoView', + value: function _scrollIntoView(_ref) { + var pageDiv = _ref.pageDiv, + _ref$pageSpot = _ref.pageSpot, + pageSpot = _ref$pageSpot === undefined ? null : _ref$pageSpot; + + (0, _ui_utils.scrollIntoView)(pageDiv, pageSpot); + } + }, { + key: '_getVisiblePages', + value: function _getVisiblePages() { + if (!this.isInPresentationMode) { + return (0, _ui_utils.getVisibleElements)(this.container, this._pages, true); + } + var currentPage = this._pages[this._currentPageNumber - 1]; + var visible = [{ + id: currentPage.id, + view: currentPage + }]; + return { + first: currentPage, + last: currentPage, + views: visible + }; + } + }, { + key: 'update', + value: function update() { + var visible = this._getVisiblePages(); + var visiblePages = visible.views, + numVisiblePages = visiblePages.length; + if (numVisiblePages === 0) { + return; + } + this._resizeBuffer(numVisiblePages); + this.renderingQueue.renderHighestPriority(visible); + var currentId = this._currentPageNumber; + var stillFullyVisible = false; + for (var i = 0; i < numVisiblePages; ++i) { + var page = visiblePages[i]; + if (page.percent < 100) { + break; + } + if (page.id === currentId) { + stillFullyVisible = true; + break; + } + } + if (!stillFullyVisible) { + currentId = visiblePages[0].id; + } + if (!this.isInPresentationMode) { + this._setCurrentPageNumber(currentId); + } + this._updateLocation(visible.first); + this.eventBus.dispatch('updateviewarea', { + source: this, + location: this._location + }); + } + }, { + key: '_setDocumentViewerElement', + get: function get() { + return (0, _pdfjsLib.shadow)(this, '_setDocumentViewerElement', this.viewer); + } + }]); + + return PDFViewer; +}(_base_viewer.BaseViewer); + +exports.PDFViewer = PDFViewer; + +/***/ }), +/* 22 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.BaseViewer = undefined; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _pdfjsLib = __webpack_require__(1); + +var _ui_utils = __webpack_require__(0); + +var _pdf_rendering_queue = __webpack_require__(3); + +var _annotation_layer_builder = __webpack_require__(23); + +var _dom_events = __webpack_require__(2); + +var _pdf_page_view = __webpack_require__(24); + +var _pdf_link_service = __webpack_require__(5); + +var _text_layer_builder = __webpack_require__(25); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var DEFAULT_CACHE_SIZE = 10; +function PDFPageViewBuffer(size) { + var data = []; + this.push = function (view) { + var i = data.indexOf(view); + if (i >= 0) { + data.splice(i, 1); + } + data.push(view); + if (data.length > size) { + data.shift().destroy(); + } + }; + this.resize = function (newSize) { + size = newSize; + while (data.length > size) { + data.shift().destroy(); + } + }; +} +function isSameScale(oldScale, newScale) { + if (newScale === oldScale) { + return true; + } + if (Math.abs(newScale - oldScale) < 1e-15) { + return true; + } + return false; +} +function isPortraitOrientation(size) { + return size.width <= size.height; +} + +var BaseViewer = function () { + function BaseViewer(options) { + _classCallCheck(this, BaseViewer); + + if (this.constructor === BaseViewer) { + throw new Error('Cannot initialize BaseViewer.'); + } + this._name = this.constructor.name; + this.container = options.container; + this.viewer = options.viewer || options.container.firstElementChild; + this.eventBus = options.eventBus || (0, _dom_events.getGlobalEventBus)(); + this.linkService = options.linkService || new _pdf_link_service.SimpleLinkService(); + this.downloadManager = options.downloadManager || null; + this.removePageBorders = options.removePageBorders || false; + this.enhanceTextSelection = options.enhanceTextSelection || false; + this.renderInteractiveForms = options.renderInteractiveForms || false; + this.enablePrintAutoRotate = options.enablePrintAutoRotate || false; + this.renderer = options.renderer || _ui_utils.RendererType.CANVAS; + this.l10n = options.l10n || _ui_utils.NullL10n; + this.defaultRenderingQueue = !options.renderingQueue; + if (this.defaultRenderingQueue) { + this.renderingQueue = new _pdf_rendering_queue.PDFRenderingQueue(); + this.renderingQueue.setViewer(this); + } else { + this.renderingQueue = options.renderingQueue; + } + this.scroll = (0, _ui_utils.watchScroll)(this.container, this._scrollUpdate.bind(this)); + this.presentationModeState = _ui_utils.PresentationModeState.UNKNOWN; + this._resetView(); + if (this.removePageBorders) { + this.viewer.classList.add('removePageBorders'); + } + } + + _createClass(BaseViewer, [{ + key: 'getPageView', + value: function getPageView(index) { + return this._pages[index]; + } + }, { + key: '_setCurrentPageNumber', + value: function _setCurrentPageNumber(val) { + var resetCurrentPageView = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + + if (this._currentPageNumber === val) { + if (resetCurrentPageView) { + this._resetCurrentPageView(); + } + return; + } + if (!(0 < val && val <= this.pagesCount)) { + console.error(this._name + '._setCurrentPageNumber: "' + val + '" is out of bounds.'); + return; + } + var arg = { + source: this, + pageNumber: val, + pageLabel: this._pageLabels && this._pageLabels[val - 1] + }; + this._currentPageNumber = val; + this.eventBus.dispatch('pagechanging', arg); + this.eventBus.dispatch('pagechange', arg); + if (resetCurrentPageView) { + this._resetCurrentPageView(); + } + } + }, { + key: 'setDocument', + value: function setDocument(pdfDocument) { + var _this = this; + + if (this.pdfDocument) { + this._cancelRendering(); + this._resetView(); + } + this.pdfDocument = pdfDocument; + if (!pdfDocument) { + return; + } + var pagesCount = pdfDocument.numPages; + var pagesCapability = (0, _pdfjsLib.createPromiseCapability)(); + this.pagesPromise = pagesCapability.promise; + pagesCapability.promise.then(function () { + _this._pageViewsReady = true; + _this.eventBus.dispatch('pagesloaded', { + source: _this, + pagesCount: pagesCount + }); + }); + var isOnePageRenderedResolved = false; + var onePageRenderedCapability = (0, _pdfjsLib.createPromiseCapability)(); + this.onePageRendered = onePageRenderedCapability.promise; + var bindOnAfterAndBeforeDraw = function bindOnAfterAndBeforeDraw(pageView) { + pageView.onBeforeDraw = function () { + _this._buffer.push(pageView); + }; + pageView.onAfterDraw = function () { + if (!isOnePageRenderedResolved) { + isOnePageRenderedResolved = true; + onePageRenderedCapability.resolve(); + } + }; + }; + var firstPagePromise = pdfDocument.getPage(1); + this.firstPagePromise = firstPagePromise; + firstPagePromise.then(function (pdfPage) { + var scale = _this.currentScale; + var viewport = pdfPage.getViewport(scale * _ui_utils.CSS_UNITS); + for (var pageNum = 1; pageNum <= pagesCount; ++pageNum) { + var textLayerFactory = null; + if (!_pdfjsLib.PDFJS.disableTextLayer) { + textLayerFactory = _this; + } + var pageView = new _pdf_page_view.PDFPageView({ + container: _this._setDocumentViewerElement, + eventBus: _this.eventBus, + id: pageNum, + scale: scale, + defaultViewport: viewport.clone(), + renderingQueue: _this.renderingQueue, + textLayerFactory: textLayerFactory, + annotationLayerFactory: _this, + enhanceTextSelection: _this.enhanceTextSelection, + renderInteractiveForms: _this.renderInteractiveForms, + renderer: _this.renderer, + l10n: _this.l10n + }); + bindOnAfterAndBeforeDraw(pageView); + _this._pages.push(pageView); + } + onePageRenderedCapability.promise.then(function () { + if (_pdfjsLib.PDFJS.disableAutoFetch) { + pagesCapability.resolve(); + return; + } + var getPagesLeft = pagesCount; + + var _loop = function _loop(_pageNum) { + pdfDocument.getPage(_pageNum).then(function (pdfPage) { + var pageView = _this._pages[_pageNum - 1]; + if (!pageView.pdfPage) { + pageView.setPdfPage(pdfPage); + } + _this.linkService.cachePageRef(_pageNum, pdfPage.ref); + if (--getPagesLeft === 0) { + pagesCapability.resolve(); + } + }, function (reason) { + console.error('Unable to get page ' + _pageNum + ' to initialize viewer', reason); + if (--getPagesLeft === 0) { + pagesCapability.resolve(); + } + }); + }; + + for (var _pageNum = 1; _pageNum <= pagesCount; ++_pageNum) { + _loop(_pageNum); + } + }); + _this.eventBus.dispatch('pagesinit', { source: _this }); + if (_this.defaultRenderingQueue) { + _this.update(); + } + if (_this.findController) { + _this.findController.resolveFirstPage(); + } + }).catch(function (reason) { + console.error('Unable to initialize viewer', reason); + }); + } + }, { + key: 'setPageLabels', + value: function setPageLabels(labels) { + if (!this.pdfDocument) { + return; + } + if (!labels) { + this._pageLabels = null; + } else if (!(labels instanceof Array && this.pdfDocument.numPages === labels.length)) { + this._pageLabels = null; + console.error(this._name + '.setPageLabels: Invalid page labels.'); + } else { + this._pageLabels = labels; + } + for (var i = 0, ii = this._pages.length; i < ii; i++) { + var pageView = this._pages[i]; + var label = this._pageLabels && this._pageLabels[i]; + pageView.setPageLabel(label); + } + } + }, { + key: '_resetView', + value: function _resetView() { + this._pages = []; + this._currentPageNumber = 1; + this._currentScale = _ui_utils.UNKNOWN_SCALE; + this._currentScaleValue = null; + this._pageLabels = null; + this._buffer = new PDFPageViewBuffer(DEFAULT_CACHE_SIZE); + this._location = null; + this._pagesRotation = 0; + this._pagesRequests = []; + this._pageViewsReady = false; + this.viewer.textContent = ''; + } + }, { + key: '_scrollUpdate', + value: function _scrollUpdate() { + if (this.pagesCount === 0) { + return; + } + this.update(); + } + }, { + key: '_scrollIntoView', + value: function _scrollIntoView(_ref) { + var pageDiv = _ref.pageDiv, + _ref$pageSpot = _ref.pageSpot, + pageSpot = _ref$pageSpot === undefined ? null : _ref$pageSpot, + _ref$pageNumber = _ref.pageNumber, + pageNumber = _ref$pageNumber === undefined ? null : _ref$pageNumber; + + throw new Error('Not implemented: _scrollIntoView'); + } + }, { + key: '_setScaleDispatchEvent', + value: function _setScaleDispatchEvent(newScale, newValue) { + var preset = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; + + var arg = { + source: this, + scale: newScale, + presetValue: preset ? newValue : undefined + }; + this.eventBus.dispatch('scalechanging', arg); + this.eventBus.dispatch('scalechange', arg); + } + }, { + key: '_setScaleUpdatePages', + value: function _setScaleUpdatePages(newScale, newValue) { + var noScroll = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; + var preset = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false; + + this._currentScaleValue = newValue.toString(); + if (isSameScale(this._currentScale, newScale)) { + if (preset) { + this._setScaleDispatchEvent(newScale, newValue, true); + } + return; + } + for (var i = 0, ii = this._pages.length; i < ii; i++) { + this._pages[i].update(newScale); + } + this._currentScale = newScale; + if (!noScroll) { + var page = this._currentPageNumber, + dest = void 0; + if (this._location && !_pdfjsLib.PDFJS.ignoreCurrentPositionOnZoom && !(this.isInPresentationMode || this.isChangingPresentationMode)) { + page = this._location.pageNumber; + dest = [null, { name: 'XYZ' }, this._location.left, this._location.top, null]; + } + this.scrollPageIntoView({ + pageNumber: page, + destArray: dest, + allowNegativeOffset: true + }); + } + this._setScaleDispatchEvent(newScale, newValue, preset); + if (this.defaultRenderingQueue) { + this.update(); + } + } + }, { + key: '_setScale', + value: function _setScale(value) { + var noScroll = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + + var scale = parseFloat(value); + if (scale > 0) { + this._setScaleUpdatePages(scale, value, noScroll, false); + } else { + var currentPage = this._pages[this._currentPageNumber - 1]; + if (!currentPage) { + return; + } + var hPadding = this.isInPresentationMode || this.removePageBorders ? 0 : _ui_utils.SCROLLBAR_PADDING; + var vPadding = this.isInPresentationMode || this.removePageBorders ? 0 : _ui_utils.VERTICAL_PADDING; + var pageWidthScale = (this.container.clientWidth - hPadding) / currentPage.width * currentPage.scale; + var pageHeightScale = (this.container.clientHeight - vPadding) / currentPage.height * currentPage.scale; + switch (value) { + case 'page-actual': + scale = 1; + break; + case 'page-width': + scale = pageWidthScale; + break; + case 'page-height': + scale = pageHeightScale; + break; + case 'page-fit': + scale = Math.min(pageWidthScale, pageHeightScale); + break; + case 'auto': + var isLandscape = currentPage.width > currentPage.height; + var horizontalScale = isLandscape ? Math.min(pageHeightScale, pageWidthScale) : pageWidthScale; + scale = Math.min(_ui_utils.MAX_AUTO_SCALE, horizontalScale); + break; + default: + console.error(this._name + '._setScale: "' + value + '" is an unknown zoom value.'); + return; + } + this._setScaleUpdatePages(scale, value, noScroll, true); + } + } + }, { + key: '_resetCurrentPageView', + value: function _resetCurrentPageView() { + if (this.isInPresentationMode) { + this._setScale(this._currentScaleValue, true); + } + var pageView = this._pages[this._currentPageNumber - 1]; + this._scrollIntoView({ pageDiv: pageView.div }); + } + }, { + key: 'scrollPageIntoView', + value: function scrollPageIntoView(params) { + if (arguments.length > 1 || typeof params === 'number') { + console.error('Call of scrollPageIntoView() with obsolete signature.'); + return; + } + if (!this.pdfDocument) { + return; + } + var pageNumber = params.pageNumber || 0; + var dest = params.destArray || null; + var allowNegativeOffset = params.allowNegativeOffset || false; + if (this.isInPresentationMode || !dest) { + this._setCurrentPageNumber(pageNumber, true); + return; + } + var pageView = this._pages[pageNumber - 1]; + if (!pageView) { + console.error(this._name + '.scrollPageIntoView: Invalid "pageNumber" parameter.'); + return; + } + var x = 0, + y = 0; + var width = 0, + height = 0, + widthScale = void 0, + heightScale = void 0; + var changeOrientation = pageView.rotation % 180 === 0 ? false : true; + var pageWidth = (changeOrientation ? pageView.height : pageView.width) / pageView.scale / _ui_utils.CSS_UNITS; + var pageHeight = (changeOrientation ? pageView.width : pageView.height) / pageView.scale / _ui_utils.CSS_UNITS; + var scale = 0; + switch (dest[1].name) { + case 'XYZ': + x = dest[2]; + y = dest[3]; + scale = dest[4]; + x = x !== null ? x : 0; + y = y !== null ? y : pageHeight; + break; + case 'Fit': + case 'FitB': + scale = 'page-fit'; + break; + case 'FitH': + case 'FitBH': + y = dest[2]; + scale = 'page-width'; + if (y === null && this._location) { + x = this._location.left; + y = this._location.top; + } + break; + case 'FitV': + case 'FitBV': + x = dest[2]; + width = pageWidth; + height = pageHeight; + scale = 'page-height'; + break; + case 'FitR': + x = dest[2]; + y = dest[3]; + width = dest[4] - x; + height = dest[5] - y; + var hPadding = this.removePageBorders ? 0 : _ui_utils.SCROLLBAR_PADDING; + var vPadding = this.removePageBorders ? 0 : _ui_utils.VERTICAL_PADDING; + widthScale = (this.container.clientWidth - hPadding) / width / _ui_utils.CSS_UNITS; + heightScale = (this.container.clientHeight - vPadding) / height / _ui_utils.CSS_UNITS; + scale = Math.min(Math.abs(widthScale), Math.abs(heightScale)); + break; + default: + console.error(this._name + '.scrollPageIntoView: "' + dest[1].name + '" ' + 'is not a valid destination type.'); + return; + } + if (scale && scale !== this._currentScale) { + this.currentScaleValue = scale; + } else if (this._currentScale === _ui_utils.UNKNOWN_SCALE) { + this.currentScaleValue = _ui_utils.DEFAULT_SCALE_VALUE; + } + if (scale === 'page-fit' && !dest[4]) { + this._scrollIntoView({ + pageDiv: pageView.div, + pageNumber: pageNumber + }); + return; + } + var boundingRect = [pageView.viewport.convertToViewportPoint(x, y), pageView.viewport.convertToViewportPoint(x + width, y + height)]; + var left = Math.min(boundingRect[0][0], boundingRect[1][0]); + var top = Math.min(boundingRect[0][1], boundingRect[1][1]); + if (!allowNegativeOffset) { + left = Math.max(left, 0); + top = Math.max(top, 0); + } + this._scrollIntoView({ + pageDiv: pageView.div, + pageSpot: { + left: left, + top: top + }, + pageNumber: pageNumber + }); + } + }, { + key: '_resizeBuffer', + value: function _resizeBuffer(numVisiblePages) { + var suggestedCacheSize = Math.max(DEFAULT_CACHE_SIZE, 2 * numVisiblePages + 1); + this._buffer.resize(suggestedCacheSize); + } + }, { + key: '_updateLocation', + value: function _updateLocation(firstPage) { + var currentScale = this._currentScale; + var currentScaleValue = this._currentScaleValue; + var normalizedScaleValue = parseFloat(currentScaleValue) === currentScale ? Math.round(currentScale * 10000) / 100 : currentScaleValue; + var pageNumber = firstPage.id; + var pdfOpenParams = '#page=' + pageNumber; + pdfOpenParams += '&zoom=' + normalizedScaleValue; + var currentPageView = this._pages[pageNumber - 1]; + var container = this.container; + var topLeft = currentPageView.getPagePoint(container.scrollLeft - firstPage.x, container.scrollTop - firstPage.y); + var intLeft = Math.round(topLeft[0]); + var intTop = Math.round(topLeft[1]); + pdfOpenParams += ',' + intLeft + ',' + intTop; + this._location = { + pageNumber: pageNumber, + scale: normalizedScaleValue, + top: intTop, + left: intLeft, + rotation: this._pagesRotation, + pdfOpenParams: pdfOpenParams + }; + } + }, { + key: 'update', + value: function update() { + throw new Error('Not implemented: update'); + } + }, { + key: 'containsElement', + value: function containsElement(element) { + return this.container.contains(element); + } + }, { + key: 'focus', + value: function focus() { + this.container.focus(); + } + }, { + key: '_getVisiblePages', + value: function _getVisiblePages() { + throw new Error('Not implemented: _getVisiblePages'); + } + }, { + key: 'cleanup', + value: function cleanup() { + for (var i = 0, ii = this._pages.length; i < ii; i++) { + if (this._pages[i] && this._pages[i].renderingState !== _pdf_rendering_queue.RenderingStates.FINISHED) { + this._pages[i].reset(); + } + } + } + }, { + key: '_cancelRendering', + value: function _cancelRendering() { + for (var i = 0, ii = this._pages.length; i < ii; i++) { + if (this._pages[i]) { + this._pages[i].cancelRendering(); + } + } + } + }, { + key: '_ensurePdfPageLoaded', + value: function _ensurePdfPageLoaded(pageView) { + var _this2 = this; + + if (pageView.pdfPage) { + return Promise.resolve(pageView.pdfPage); + } + var pageNumber = pageView.id; + if (this._pagesRequests[pageNumber]) { + return this._pagesRequests[pageNumber]; + } + var promise = this.pdfDocument.getPage(pageNumber).then(function (pdfPage) { + if (!pageView.pdfPage) { + pageView.setPdfPage(pdfPage); + } + _this2._pagesRequests[pageNumber] = null; + return pdfPage; + }).catch(function (reason) { + console.error('Unable to get page for page view', reason); + _this2._pagesRequests[pageNumber] = null; + }); + this._pagesRequests[pageNumber] = promise; + return promise; + } + }, { + key: 'forceRendering', + value: function forceRendering(currentlyVisiblePages) { + var _this3 = this; + + var visiblePages = currentlyVisiblePages || this._getVisiblePages(); + var pageView = this.renderingQueue.getHighestPriority(visiblePages, this._pages, this.scroll.down); + if (pageView) { + this._ensurePdfPageLoaded(pageView).then(function () { + _this3.renderingQueue.renderView(pageView); + }); + return true; + } + return false; + } + }, { + key: 'getPageTextContent', + value: function getPageTextContent(pageIndex) { + return this.pdfDocument.getPage(pageIndex + 1).then(function (page) { + return page.getTextContent({ normalizeWhitespace: true }); + }); + } + }, { + key: 'createTextLayerBuilder', + value: function createTextLayerBuilder(textLayerDiv, pageIndex, viewport) { + var enhanceTextSelection = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false; + + return new _text_layer_builder.TextLayerBuilder({ + textLayerDiv: textLayerDiv, + eventBus: this.eventBus, + pageIndex: pageIndex, + viewport: viewport, + findController: this.isInPresentationMode ? null : this.findController, + enhanceTextSelection: this.isInPresentationMode ? false : enhanceTextSelection + }); + } + }, { + key: 'createAnnotationLayerBuilder', + value: function createAnnotationLayerBuilder(pageDiv, pdfPage) { + var renderInteractiveForms = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; + var l10n = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : _ui_utils.NullL10n; + + return new _annotation_layer_builder.AnnotationLayerBuilder({ + pageDiv: pageDiv, + pdfPage: pdfPage, + renderInteractiveForms: renderInteractiveForms, + linkService: this.linkService, + downloadManager: this.downloadManager, + l10n: l10n + }); + } + }, { + key: 'setFindController', + value: function setFindController(findController) { + this.findController = findController; + } + }, { + key: 'getPagesOverview', + value: function getPagesOverview() { + var pagesOverview = this._pages.map(function (pageView) { + var viewport = pageView.pdfPage.getViewport(1); + return { + width: viewport.width, + height: viewport.height, + rotation: viewport.rotation + }; + }); + if (!this.enablePrintAutoRotate) { + return pagesOverview; + } + var isFirstPagePortrait = isPortraitOrientation(pagesOverview[0]); + return pagesOverview.map(function (size) { + if (isFirstPagePortrait === isPortraitOrientation(size)) { + return size; + } + return { + width: size.height, + height: size.width, + rotation: (size.rotation + 90) % 360 + }; + }); + } + }, { + key: 'pagesCount', + get: function get() { + return this._pages.length; + } + }, { + key: 'pageViewsReady', + get: function get() { + return this._pageViewsReady; + } + }, { + key: 'currentPageNumber', + get: function get() { + return this._currentPageNumber; + }, + set: function set(val) { + if (!Number.isInteger(val)) { + throw new Error('Invalid page number.'); + } + if (!this.pdfDocument) { + return; + } + this._setCurrentPageNumber(val, true); + } + }, { + key: 'currentPageLabel', + get: function get() { + return this._pageLabels && this._pageLabels[this._currentPageNumber - 1]; + }, + set: function set(val) { + var pageNumber = val | 0; + if (this._pageLabels) { + var i = this._pageLabels.indexOf(val); + if (i >= 0) { + pageNumber = i + 1; + } + } + this.currentPageNumber = pageNumber; + } + }, { + key: 'currentScale', + get: function get() { + return this._currentScale !== _ui_utils.UNKNOWN_SCALE ? this._currentScale : _ui_utils.DEFAULT_SCALE; + }, + set: function set(val) { + if (isNaN(val)) { + throw new Error('Invalid numeric scale'); + } + if (!this.pdfDocument) { + return; + } + this._setScale(val, false); + } + }, { + key: 'currentScaleValue', + get: function get() { + return this._currentScaleValue; + }, + set: function set(val) { + if (!this.pdfDocument) { + return; + } + this._setScale(val, false); + } + }, { + key: 'pagesRotation', + get: function get() { + return this._pagesRotation; + }, + set: function set(rotation) { + if (!(0, _ui_utils.isValidRotation)(rotation)) { + throw new Error('Invalid pages rotation angle.'); + } + if (!this.pdfDocument) { + return; + } + if (this._pagesRotation === rotation) { + return; + } + this._pagesRotation = rotation; + var pageNumber = this._currentPageNumber; + for (var i = 0, ii = this._pages.length; i < ii; i++) { + var pageView = this._pages[i]; + pageView.update(pageView.scale, rotation); + } + if (this._currentScaleValue) { + this._setScale(this._currentScaleValue, true); + } + this.eventBus.dispatch('rotationchanging', { + source: this, + pagesRotation: rotation, + pageNumber: pageNumber + }); + if (this.defaultRenderingQueue) { + this.update(); + } + } + }, { + key: '_setDocumentViewerElement', + get: function get() { + throw new Error('Not implemented: _setDocumentViewerElement'); + } + }, { + key: 'isInPresentationMode', + get: function get() { + return this.presentationModeState === _ui_utils.PresentationModeState.FULLSCREEN; + } + }, { + key: 'isChangingPresentationMode', + get: function get() { + return this.presentationModeState === _ui_utils.PresentationModeState.CHANGING; + } + }, { + key: 'isHorizontalScrollbarEnabled', + get: function get() { + return this.isInPresentationMode ? false : this.container.scrollWidth > this.container.clientWidth; + } + }, { + key: 'hasEqualPageSizes', + get: function get() { + var firstPageView = this._pages[0]; + for (var i = 1, ii = this._pages.length; i < ii; ++i) { + var pageView = this._pages[i]; + if (pageView.width !== firstPageView.width || pageView.height !== firstPageView.height) { + return false; + } + } + return true; + } + }]); + + return BaseViewer; +}(); + +exports.BaseViewer = BaseViewer; + +/***/ }), +/* 23 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.DefaultAnnotationLayerFactory = exports.AnnotationLayerBuilder = undefined; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _pdfjsLib = __webpack_require__(1); + +var _ui_utils = __webpack_require__(0); + +var _pdf_link_service = __webpack_require__(5); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var AnnotationLayerBuilder = function () { + function AnnotationLayerBuilder(_ref) { + var pageDiv = _ref.pageDiv, + pdfPage = _ref.pdfPage, + linkService = _ref.linkService, + downloadManager = _ref.downloadManager, + _ref$renderInteractiv = _ref.renderInteractiveForms, + renderInteractiveForms = _ref$renderInteractiv === undefined ? false : _ref$renderInteractiv, + _ref$l10n = _ref.l10n, + l10n = _ref$l10n === undefined ? _ui_utils.NullL10n : _ref$l10n; + + _classCallCheck(this, AnnotationLayerBuilder); + + this.pageDiv = pageDiv; + this.pdfPage = pdfPage; + this.linkService = linkService; + this.downloadManager = downloadManager; + this.renderInteractiveForms = renderInteractiveForms; + this.l10n = l10n; + this.div = null; + this._cancelled = false; + } + + _createClass(AnnotationLayerBuilder, [{ + key: 'render', + value: function render(viewport) { + var _this = this; + + var intent = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'display'; + + this.pdfPage.getAnnotations({ intent: intent }).then(function (annotations) { + if (_this._cancelled) { + return; + } + var parameters = { + viewport: viewport.clone({ dontFlip: true }), + div: _this.div, + annotations: annotations, + page: _this.pdfPage, + renderInteractiveForms: _this.renderInteractiveForms, + linkService: _this.linkService, + downloadManager: _this.downloadManager + }; + if (_this.div) { + _pdfjsLib.AnnotationLayer.update(parameters); + } else { + if (annotations.length === 0) { + return; + } + _this.div = document.createElement('div'); + _this.div.className = 'annotationLayer'; + _this.pageDiv.appendChild(_this.div); + parameters.div = _this.div; + _pdfjsLib.AnnotationLayer.render(parameters); + _this.l10n.translate(_this.div); + } + }); + } + }, { + key: 'cancel', + value: function cancel() { + this._cancelled = true; + } + }, { + key: 'hide', + value: function hide() { + if (!this.div) { + return; + } + this.div.setAttribute('hidden', 'true'); + } + }]); + + return AnnotationLayerBuilder; +}(); + +var DefaultAnnotationLayerFactory = function () { + function DefaultAnnotationLayerFactory() { + _classCallCheck(this, DefaultAnnotationLayerFactory); + } + + _createClass(DefaultAnnotationLayerFactory, [{ + key: 'createAnnotationLayerBuilder', + value: function createAnnotationLayerBuilder(pageDiv, pdfPage) { + var renderInteractiveForms = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; + var l10n = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : _ui_utils.NullL10n; + + return new AnnotationLayerBuilder({ + pageDiv: pageDiv, + pdfPage: pdfPage, + renderInteractiveForms: renderInteractiveForms, + linkService: new _pdf_link_service.SimpleLinkService(), + l10n: l10n + }); + } + }]); + + return DefaultAnnotationLayerFactory; +}(); + +exports.AnnotationLayerBuilder = AnnotationLayerBuilder; +exports.DefaultAnnotationLayerFactory = DefaultAnnotationLayerFactory; + +/***/ }), +/* 24 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.PDFPageView = undefined; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _ui_utils = __webpack_require__(0); + +var _pdfjsLib = __webpack_require__(1); + +var _dom_events = __webpack_require__(2); + +var _pdf_rendering_queue = __webpack_require__(3); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var PDFPageView = function () { + function PDFPageView(options) { + _classCallCheck(this, PDFPageView); + + var container = options.container; + var defaultViewport = options.defaultViewport; + this.id = options.id; + this.renderingId = 'page' + this.id; + this.pdfPage = null; + this.pageLabel = null; + this.rotation = 0; + this.scale = options.scale || _ui_utils.DEFAULT_SCALE; + this.viewport = defaultViewport; + this.pdfPageRotate = defaultViewport.rotation; + this.hasRestrictedScaling = false; + this.enhanceTextSelection = options.enhanceTextSelection || false; + this.renderInteractiveForms = options.renderInteractiveForms || false; + this.eventBus = options.eventBus || (0, _dom_events.getGlobalEventBus)(); + this.renderingQueue = options.renderingQueue; + this.textLayerFactory = options.textLayerFactory; + this.annotationLayerFactory = options.annotationLayerFactory; + this.renderer = options.renderer || _ui_utils.RendererType.CANVAS; + this.l10n = options.l10n || _ui_utils.NullL10n; + this.paintTask = null; + this.paintedViewportMap = new WeakMap(); + this.renderingState = _pdf_rendering_queue.RenderingStates.INITIAL; + this.resume = null; + this.error = null; + this.onBeforeDraw = null; + this.onAfterDraw = null; + this.annotationLayer = null; + this.textLayer = null; + this.zoomLayer = null; + var div = document.createElement('div'); + div.className = 'page'; + div.style.width = Math.floor(this.viewport.width) + 'px'; + div.style.height = Math.floor(this.viewport.height) + 'px'; + div.setAttribute('data-page-number', this.id); + this.div = div; + container.appendChild(div); + } + + _createClass(PDFPageView, [{ + key: 'setPdfPage', + value: function setPdfPage(pdfPage) { + this.pdfPage = pdfPage; + this.pdfPageRotate = pdfPage.rotate; + var totalRotation = (this.rotation + this.pdfPageRotate) % 360; + this.viewport = pdfPage.getViewport(this.scale * _ui_utils.CSS_UNITS, totalRotation); + this.stats = pdfPage.stats; + this.reset(); + } + }, { + key: 'destroy', + value: function destroy() { + this.reset(); + if (this.pdfPage) { + this.pdfPage.cleanup(); + } + } + }, { + key: '_resetZoomLayer', + value: function _resetZoomLayer() { + var removeFromDOM = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; + + if (!this.zoomLayer) { + return; + } + var zoomLayerCanvas = this.zoomLayer.firstChild; + this.paintedViewportMap.delete(zoomLayerCanvas); + zoomLayerCanvas.width = 0; + zoomLayerCanvas.height = 0; + if (removeFromDOM) { + this.zoomLayer.remove(); + } + this.zoomLayer = null; + } + }, { + key: 'reset', + value: function reset() { + var keepZoomLayer = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; + var keepAnnotations = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + + this.cancelRendering(keepAnnotations); + var div = this.div; + div.style.width = Math.floor(this.viewport.width) + 'px'; + div.style.height = Math.floor(this.viewport.height) + 'px'; + var childNodes = div.childNodes; + var currentZoomLayerNode = keepZoomLayer && this.zoomLayer || null; + var currentAnnotationNode = keepAnnotations && this.annotationLayer && this.annotationLayer.div || null; + for (var i = childNodes.length - 1; i >= 0; i--) { + var node = childNodes[i]; + if (currentZoomLayerNode === node || currentAnnotationNode === node) { + continue; + } + div.removeChild(node); + } + div.removeAttribute('data-loaded'); + if (currentAnnotationNode) { + this.annotationLayer.hide(); + } else if (this.annotationLayer) { + this.annotationLayer.cancel(); + this.annotationLayer = null; + } + if (!currentZoomLayerNode) { + if (this.canvas) { + this.paintedViewportMap.delete(this.canvas); + this.canvas.width = 0; + this.canvas.height = 0; + delete this.canvas; + } + this._resetZoomLayer(); + } + if (this.svg) { + this.paintedViewportMap.delete(this.svg); + delete this.svg; + } + this.loadingIconDiv = document.createElement('div'); + this.loadingIconDiv.className = 'loadingIcon'; + div.appendChild(this.loadingIconDiv); + } + }, { + key: 'update', + value: function update(scale, rotation) { + this.scale = scale || this.scale; + if (typeof rotation !== 'undefined') { + this.rotation = rotation; + } + var totalRotation = (this.rotation + this.pdfPageRotate) % 360; + this.viewport = this.viewport.clone({ + scale: this.scale * _ui_utils.CSS_UNITS, + rotation: totalRotation + }); + if (this.svg) { + this.cssTransform(this.svg, true); + this.eventBus.dispatch('pagerendered', { + source: this, + pageNumber: this.id, + cssTransform: true + }); + return; + } + var isScalingRestricted = false; + if (this.canvas && _pdfjsLib.PDFJS.maxCanvasPixels > 0) { + var outputScale = this.outputScale; + if ((Math.floor(this.viewport.width) * outputScale.sx | 0) * (Math.floor(this.viewport.height) * outputScale.sy | 0) > _pdfjsLib.PDFJS.maxCanvasPixels) { + isScalingRestricted = true; + } + } + if (this.canvas) { + if (_pdfjsLib.PDFJS.useOnlyCssZoom || this.hasRestrictedScaling && isScalingRestricted) { + this.cssTransform(this.canvas, true); + this.eventBus.dispatch('pagerendered', { + source: this, + pageNumber: this.id, + cssTransform: true + }); + return; + } + if (!this.zoomLayer && !this.canvas.hasAttribute('hidden')) { + this.zoomLayer = this.canvas.parentNode; + this.zoomLayer.style.position = 'absolute'; + } + } + if (this.zoomLayer) { + this.cssTransform(this.zoomLayer.firstChild); + } + this.reset(true, true); + } + }, { + key: 'cancelRendering', + value: function cancelRendering() { + var keepAnnotations = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; + + if (this.paintTask) { + this.paintTask.cancel(); + this.paintTask = null; + } + this.renderingState = _pdf_rendering_queue.RenderingStates.INITIAL; + this.resume = null; + if (this.textLayer) { + this.textLayer.cancel(); + this.textLayer = null; + } + if (!keepAnnotations && this.annotationLayer) { + this.annotationLayer.cancel(); + this.annotationLayer = null; + } + } + }, { + key: 'cssTransform', + value: function cssTransform(target) { + var redrawAnnotations = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + + var width = this.viewport.width; + var height = this.viewport.height; + var div = this.div; + target.style.width = target.parentNode.style.width = div.style.width = Math.floor(width) + 'px'; + target.style.height = target.parentNode.style.height = div.style.height = Math.floor(height) + 'px'; + var relativeRotation = this.viewport.rotation - this.paintedViewportMap.get(target).rotation; + var absRotation = Math.abs(relativeRotation); + var scaleX = 1, + scaleY = 1; + if (absRotation === 90 || absRotation === 270) { + scaleX = height / width; + scaleY = width / height; + } + var cssTransform = 'rotate(' + relativeRotation + 'deg) ' + 'scale(' + scaleX + ',' + scaleY + ')'; + _pdfjsLib.CustomStyle.setProp('transform', target, cssTransform); + if (this.textLayer) { + var textLayerViewport = this.textLayer.viewport; + var textRelativeRotation = this.viewport.rotation - textLayerViewport.rotation; + var textAbsRotation = Math.abs(textRelativeRotation); + var scale = width / textLayerViewport.width; + if (textAbsRotation === 90 || textAbsRotation === 270) { + scale = width / textLayerViewport.height; + } + var textLayerDiv = this.textLayer.textLayerDiv; + var transX = void 0, + transY = void 0; + switch (textAbsRotation) { + case 0: + transX = transY = 0; + break; + case 90: + transX = 0; + transY = '-' + textLayerDiv.style.height; + break; + case 180: + transX = '-' + textLayerDiv.style.width; + transY = '-' + textLayerDiv.style.height; + break; + case 270: + transX = '-' + textLayerDiv.style.width; + transY = 0; + break; + default: + console.error('Bad rotation value.'); + break; + } + _pdfjsLib.CustomStyle.setProp('transform', textLayerDiv, 'rotate(' + textAbsRotation + 'deg) ' + 'scale(' + scale + ', ' + scale + ') ' + 'translate(' + transX + ', ' + transY + ')'); + _pdfjsLib.CustomStyle.setProp('transformOrigin', textLayerDiv, '0% 0%'); + } + if (redrawAnnotations && this.annotationLayer) { + this.annotationLayer.render(this.viewport, 'display'); + } + } + }, { + key: 'getPagePoint', + value: function getPagePoint(x, y) { + return this.viewport.convertToPdfPoint(x, y); + } + }, { + key: 'draw', + value: function draw() { + var _this = this; + + if (this.renderingState !== _pdf_rendering_queue.RenderingStates.INITIAL) { + console.error('Must be in new state before drawing'); + this.reset(); + } + if (!this.pdfPage) { + this.renderingState = _pdf_rendering_queue.RenderingStates.FINISHED; + return Promise.reject(new Error('Page is not loaded')); + } + this.renderingState = _pdf_rendering_queue.RenderingStates.RUNNING; + var pdfPage = this.pdfPage; + var div = this.div; + var canvasWrapper = document.createElement('div'); + canvasWrapper.style.width = div.style.width; + canvasWrapper.style.height = div.style.height; + canvasWrapper.classList.add('canvasWrapper'); + if (this.annotationLayer && this.annotationLayer.div) { + div.insertBefore(canvasWrapper, this.annotationLayer.div); + } else { + div.appendChild(canvasWrapper); + } + var textLayer = null; + if (this.textLayerFactory) { + var textLayerDiv = document.createElement('div'); + textLayerDiv.className = 'textLayer'; + textLayerDiv.style.width = canvasWrapper.style.width; + textLayerDiv.style.height = canvasWrapper.style.height; + if (this.annotationLayer && this.annotationLayer.div) { + div.insertBefore(textLayerDiv, this.annotationLayer.div); + } else { + div.appendChild(textLayerDiv); + } + textLayer = this.textLayerFactory.createTextLayerBuilder(textLayerDiv, this.id - 1, this.viewport, this.enhanceTextSelection); + } + this.textLayer = textLayer; + var renderContinueCallback = null; + if (this.renderingQueue) { + renderContinueCallback = function renderContinueCallback(cont) { + if (!_this.renderingQueue.isHighestPriority(_this)) { + _this.renderingState = _pdf_rendering_queue.RenderingStates.PAUSED; + _this.resume = function () { + _this.renderingState = _pdf_rendering_queue.RenderingStates.RUNNING; + cont(); + }; + return; + } + cont(); + }; + } + var finishPaintTask = function finishPaintTask(error) { + if (paintTask === _this.paintTask) { + _this.paintTask = null; + } + if (error === 'cancelled' || error instanceof _pdfjsLib.RenderingCancelledException) { + _this.error = null; + return Promise.resolve(undefined); + } + _this.renderingState = _pdf_rendering_queue.RenderingStates.FINISHED; + if (_this.loadingIconDiv) { + div.removeChild(_this.loadingIconDiv); + delete _this.loadingIconDiv; + } + _this._resetZoomLayer(true); + _this.error = error; + _this.stats = pdfPage.stats; + if (_this.onAfterDraw) { + _this.onAfterDraw(); + } + _this.eventBus.dispatch('pagerendered', { + source: _this, + pageNumber: _this.id, + cssTransform: false + }); + if (error) { + return Promise.reject(error); + } + return Promise.resolve(undefined); + }; + var paintTask = this.renderer === _ui_utils.RendererType.SVG ? this.paintOnSvg(canvasWrapper) : this.paintOnCanvas(canvasWrapper); + paintTask.onRenderContinue = renderContinueCallback; + this.paintTask = paintTask; + var resultPromise = paintTask.promise.then(function () { + return finishPaintTask(null).then(function () { + if (textLayer) { + var readableStream = pdfPage.streamTextContent({ normalizeWhitespace: true }); + textLayer.setTextContentStream(readableStream); + textLayer.render(); + } + }); + }, function (reason) { + return finishPaintTask(reason); + }); + if (this.annotationLayerFactory) { + if (!this.annotationLayer) { + this.annotationLayer = this.annotationLayerFactory.createAnnotationLayerBuilder(div, pdfPage, this.renderInteractiveForms, this.l10n); + } + this.annotationLayer.render(this.viewport, 'display'); + } + div.setAttribute('data-loaded', true); + if (this.onBeforeDraw) { + this.onBeforeDraw(); + } + return resultPromise; + } + }, { + key: 'paintOnCanvas', + value: function paintOnCanvas(canvasWrapper) { + var renderCapability = (0, _pdfjsLib.createPromiseCapability)(); + var result = { + promise: renderCapability.promise, + onRenderContinue: function onRenderContinue(cont) { + cont(); + }, + cancel: function cancel() { + renderTask.cancel(); + } + }; + var viewport = this.viewport; + var canvas = document.createElement('canvas'); + canvas.id = this.renderingId; + canvas.setAttribute('hidden', 'hidden'); + var isCanvasHidden = true; + var showCanvas = function showCanvas() { + if (isCanvasHidden) { + canvas.removeAttribute('hidden'); + isCanvasHidden = false; + } + }; + canvasWrapper.appendChild(canvas); + this.canvas = canvas; + canvas.mozOpaque = true; + var ctx = canvas.getContext('2d', { alpha: false }); + var outputScale = (0, _ui_utils.getOutputScale)(ctx); + this.outputScale = outputScale; + if (_pdfjsLib.PDFJS.useOnlyCssZoom) { + var actualSizeViewport = viewport.clone({ scale: _ui_utils.CSS_UNITS }); + outputScale.sx *= actualSizeViewport.width / viewport.width; + outputScale.sy *= actualSizeViewport.height / viewport.height; + outputScale.scaled = true; + } + if (_pdfjsLib.PDFJS.maxCanvasPixels > 0) { + var pixelsInViewport = viewport.width * viewport.height; + var maxScale = Math.sqrt(_pdfjsLib.PDFJS.maxCanvasPixels / pixelsInViewport); + if (outputScale.sx > maxScale || outputScale.sy > maxScale) { + outputScale.sx = maxScale; + outputScale.sy = maxScale; + outputScale.scaled = true; + this.hasRestrictedScaling = true; + } else { + this.hasRestrictedScaling = false; + } + } + var sfx = (0, _ui_utils.approximateFraction)(outputScale.sx); + var sfy = (0, _ui_utils.approximateFraction)(outputScale.sy); + canvas.width = (0, _ui_utils.roundToDivide)(viewport.width * outputScale.sx, sfx[0]); + canvas.height = (0, _ui_utils.roundToDivide)(viewport.height * outputScale.sy, sfy[0]); + canvas.style.width = (0, _ui_utils.roundToDivide)(viewport.width, sfx[1]) + 'px'; + canvas.style.height = (0, _ui_utils.roundToDivide)(viewport.height, sfy[1]) + 'px'; + this.paintedViewportMap.set(canvas, viewport); + var transform = !outputScale.scaled ? null : [outputScale.sx, 0, 0, outputScale.sy, 0, 0]; + var renderContext = { + canvasContext: ctx, + transform: transform, + viewport: this.viewport, + renderInteractiveForms: this.renderInteractiveForms + }; + var renderTask = this.pdfPage.render(renderContext); + renderTask.onContinue = function (cont) { + showCanvas(); + if (result.onRenderContinue) { + result.onRenderContinue(cont); + } else { + cont(); + } + }; + renderTask.promise.then(function () { + showCanvas(); + renderCapability.resolve(undefined); + }, function (error) { + showCanvas(); + renderCapability.reject(error); + }); + return result; + } + }, { + key: 'paintOnSvg', + value: function paintOnSvg(wrapper) { + var _this2 = this; + + var cancelled = false; + var ensureNotCancelled = function ensureNotCancelled() { + if (cancelled) { + if (_pdfjsLib.PDFJS.pdfjsNext) { + throw new _pdfjsLib.RenderingCancelledException('Rendering cancelled, page ' + _this2.id, 'svg'); + } else { + throw 'cancelled'; + } + } + }; + var pdfPage = this.pdfPage; + var actualSizeViewport = this.viewport.clone({ scale: _ui_utils.CSS_UNITS }); + var promise = pdfPage.getOperatorList().then(function (opList) { + ensureNotCancelled(); + var svgGfx = new _pdfjsLib.SVGGraphics(pdfPage.commonObjs, pdfPage.objs); + return svgGfx.getSVG(opList, actualSizeViewport).then(function (svg) { + ensureNotCancelled(); + _this2.svg = svg; + _this2.paintedViewportMap.set(svg, actualSizeViewport); + svg.style.width = wrapper.style.width; + svg.style.height = wrapper.style.height; + _this2.renderingState = _pdf_rendering_queue.RenderingStates.FINISHED; + wrapper.appendChild(svg); + }); + }); + return { + promise: promise, + onRenderContinue: function onRenderContinue(cont) { + cont(); + }, + cancel: function cancel() { + cancelled = true; + } + }; + } + }, { + key: 'setPageLabel', + value: function setPageLabel(label) { + this.pageLabel = typeof label === 'string' ? label : null; + if (this.pageLabel !== null) { + this.div.setAttribute('data-page-label', this.pageLabel); + } else { + this.div.removeAttribute('data-page-label'); + } + } + }, { + key: 'width', + get: function get() { + return this.viewport.width; + } + }, { + key: 'height', + get: function get() { + return this.viewport.height; + } + }]); + + return PDFPageView; +}(); + +exports.PDFPageView = PDFPageView; + +/***/ }), +/* 25 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.DefaultTextLayerFactory = exports.TextLayerBuilder = undefined; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _dom_events = __webpack_require__(2); + +var _pdfjsLib = __webpack_require__(1); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var EXPAND_DIVS_TIMEOUT = 300; + +var TextLayerBuilder = function () { + function TextLayerBuilder(_ref) { + var textLayerDiv = _ref.textLayerDiv, + eventBus = _ref.eventBus, + pageIndex = _ref.pageIndex, + viewport = _ref.viewport, + _ref$findController = _ref.findController, + findController = _ref$findController === undefined ? null : _ref$findController, + _ref$enhanceTextSelec = _ref.enhanceTextSelection, + enhanceTextSelection = _ref$enhanceTextSelec === undefined ? false : _ref$enhanceTextSelec; + + _classCallCheck(this, TextLayerBuilder); + + this.textLayerDiv = textLayerDiv; + this.eventBus = eventBus || (0, _dom_events.getGlobalEventBus)(); + this.textContent = null; + this.textContentItemsStr = []; + this.textContentStream = null; + this.renderingDone = false; + this.pageIdx = pageIndex; + this.pageNumber = this.pageIdx + 1; + this.matches = []; + this.viewport = viewport; + this.textDivs = []; + this.findController = findController; + this.textLayerRenderTask = null; + this.enhanceTextSelection = enhanceTextSelection; + this._bindMouse(); + } + + _createClass(TextLayerBuilder, [{ + key: '_finishRendering', + value: function _finishRendering() { + this.renderingDone = true; + if (!this.enhanceTextSelection) { + var endOfContent = document.createElement('div'); + endOfContent.className = 'endOfContent'; + this.textLayerDiv.appendChild(endOfContent); + } + this.eventBus.dispatch('textlayerrendered', { + source: this, + pageNumber: this.pageNumber, + numTextDivs: this.textDivs.length + }); + } + }, { + key: 'render', + value: function render() { + var _this = this; + + var timeout = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; + + if (!(this.textContent || this.textContentStream) || this.renderingDone) { + return; + } + this.cancel(); + this.textDivs = []; + var textLayerFrag = document.createDocumentFragment(); + this.textLayerRenderTask = (0, _pdfjsLib.renderTextLayer)({ + textContent: this.textContent, + textContentStream: this.textContentStream, + container: textLayerFrag, + viewport: this.viewport, + textDivs: this.textDivs, + textContentItemsStr: this.textContentItemsStr, + timeout: timeout, + enhanceTextSelection: this.enhanceTextSelection + }); + this.textLayerRenderTask.promise.then(function () { + _this.textLayerDiv.appendChild(textLayerFrag); + _this._finishRendering(); + _this.updateMatches(); + }, function (reason) {}); + } + }, { + key: 'cancel', + value: function cancel() { + if (this.textLayerRenderTask) { + this.textLayerRenderTask.cancel(); + this.textLayerRenderTask = null; + } + } + }, { + key: 'setTextContentStream', + value: function setTextContentStream(readableStream) { + this.cancel(); + this.textContentStream = readableStream; + } + }, { + key: 'setTextContent', + value: function setTextContent(textContent) { + this.cancel(); + this.textContent = textContent; + } + }, { + key: 'convertMatches', + value: function convertMatches(matches, matchesLength) { + var i = 0; + var iIndex = 0; + var textContentItemsStr = this.textContentItemsStr; + var end = textContentItemsStr.length - 1; + var queryLen = this.findController === null ? 0 : this.findController.state.query.length; + var ret = []; + if (!matches) { + return ret; + } + for (var m = 0, len = matches.length; m < len; m++) { + var matchIdx = matches[m]; + while (i !== end && matchIdx >= iIndex + textContentItemsStr[i].length) { + iIndex += textContentItemsStr[i].length; + i++; + } + if (i === textContentItemsStr.length) { + console.error('Could not find a matching mapping'); + } + var match = { + begin: { + divIdx: i, + offset: matchIdx - iIndex + } + }; + if (matchesLength) { + matchIdx += matchesLength[m]; + } else { + matchIdx += queryLen; + } + while (i !== end && matchIdx > iIndex + textContentItemsStr[i].length) { + iIndex += textContentItemsStr[i].length; + i++; + } + match.end = { + divIdx: i, + offset: matchIdx - iIndex + }; + ret.push(match); + } + return ret; + } + }, { + key: 'renderMatches', + value: function renderMatches(matches) { + if (matches.length === 0) { + return; + } + var textContentItemsStr = this.textContentItemsStr; + var textDivs = this.textDivs; + var prevEnd = null; + var pageIdx = this.pageIdx; + var isSelectedPage = this.findController === null ? false : pageIdx === this.findController.selected.pageIdx; + var selectedMatchIdx = this.findController === null ? -1 : this.findController.selected.matchIdx; + var highlightAll = this.findController === null ? false : this.findController.state.highlightAll; + var infinity = { + divIdx: -1, + offset: undefined + }; + function beginText(begin, className) { + var divIdx = begin.divIdx; + textDivs[divIdx].textContent = ''; + appendTextToDiv(divIdx, 0, begin.offset, className); + } + function appendTextToDiv(divIdx, fromOffset, toOffset, className) { + var div = textDivs[divIdx]; + var content = textContentItemsStr[divIdx].substring(fromOffset, toOffset); + var node = document.createTextNode(content); + if (className) { + var span = document.createElement('span'); + span.className = className; + span.appendChild(node); + div.appendChild(span); + return; + } + div.appendChild(node); + } + var i0 = selectedMatchIdx, + i1 = i0 + 1; + if (highlightAll) { + i0 = 0; + i1 = matches.length; + } else if (!isSelectedPage) { + return; + } + for (var i = i0; i < i1; i++) { + var match = matches[i]; + var begin = match.begin; + var end = match.end; + var isSelected = isSelectedPage && i === selectedMatchIdx; + var highlightSuffix = isSelected ? ' selected' : ''; + if (this.findController) { + this.findController.updateMatchPosition(pageIdx, i, textDivs, begin.divIdx); + } + if (!prevEnd || begin.divIdx !== prevEnd.divIdx) { + if (prevEnd !== null) { + appendTextToDiv(prevEnd.divIdx, prevEnd.offset, infinity.offset); + } + beginText(begin); + } else { + appendTextToDiv(prevEnd.divIdx, prevEnd.offset, begin.offset); + } + if (begin.divIdx === end.divIdx) { + appendTextToDiv(begin.divIdx, begin.offset, end.offset, 'highlight' + highlightSuffix); + } else { + appendTextToDiv(begin.divIdx, begin.offset, infinity.offset, 'highlight begin' + highlightSuffix); + for (var n0 = begin.divIdx + 1, n1 = end.divIdx; n0 < n1; n0++) { + textDivs[n0].className = 'highlight middle' + highlightSuffix; + } + beginText(end, 'highlight end' + highlightSuffix); + } + prevEnd = end; + } + if (prevEnd) { + appendTextToDiv(prevEnd.divIdx, prevEnd.offset, infinity.offset); + } + } + }, { + key: 'updateMatches', + value: function updateMatches() { + if (!this.renderingDone) { + return; + } + var matches = this.matches; + var textDivs = this.textDivs; + var textContentItemsStr = this.textContentItemsStr; + var clearedUntilDivIdx = -1; + for (var i = 0, len = matches.length; i < len; i++) { + var match = matches[i]; + var begin = Math.max(clearedUntilDivIdx, match.begin.divIdx); + for (var n = begin, end = match.end.divIdx; n <= end; n++) { + var div = textDivs[n]; + div.textContent = textContentItemsStr[n]; + div.className = ''; + } + clearedUntilDivIdx = match.end.divIdx + 1; + } + if (this.findController === null || !this.findController.active) { + return; + } + var pageMatches = void 0, + pageMatchesLength = void 0; + if (this.findController !== null) { + pageMatches = this.findController.pageMatches[this.pageIdx] || null; + pageMatchesLength = this.findController.pageMatchesLength ? this.findController.pageMatchesLength[this.pageIdx] || null : null; + } + this.matches = this.convertMatches(pageMatches, pageMatchesLength); + this.renderMatches(this.matches); + } + }, { + key: '_bindMouse', + value: function _bindMouse() { + var _this2 = this; + + var div = this.textLayerDiv; + var expandDivsTimer = null; + div.addEventListener('mousedown', function (evt) { + if (_this2.enhanceTextSelection && _this2.textLayerRenderTask) { + _this2.textLayerRenderTask.expandTextDivs(true); + if (expandDivsTimer) { + clearTimeout(expandDivsTimer); + expandDivsTimer = null; + } + return; + } + var end = div.querySelector('.endOfContent'); + if (!end) { + return; + } + var adjustTop = evt.target !== div; + adjustTop = adjustTop && window.getComputedStyle(end).getPropertyValue('-moz-user-select') !== 'none'; + if (adjustTop) { + var divBounds = div.getBoundingClientRect(); + var r = Math.max(0, (evt.pageY - divBounds.top) / divBounds.height); + end.style.top = (r * 100).toFixed(2) + '%'; + } + end.classList.add('active'); + }); + div.addEventListener('mouseup', function () { + if (_this2.enhanceTextSelection && _this2.textLayerRenderTask) { + expandDivsTimer = setTimeout(function () { + if (_this2.textLayerRenderTask) { + _this2.textLayerRenderTask.expandTextDivs(false); + } + expandDivsTimer = null; + }, EXPAND_DIVS_TIMEOUT); + return; + } + var end = div.querySelector('.endOfContent'); + if (!end) { + return; + } + end.style.top = ''; + end.classList.remove('active'); + }); + } + }]); + + return TextLayerBuilder; +}(); + +var DefaultTextLayerFactory = function () { + function DefaultTextLayerFactory() { + _classCallCheck(this, DefaultTextLayerFactory); + } + + _createClass(DefaultTextLayerFactory, [{ + key: 'createTextLayerBuilder', + value: function createTextLayerBuilder(textLayerDiv, pageIndex, viewport) { + var enhanceTextSelection = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false; + + return new TextLayerBuilder({ + textLayerDiv: textLayerDiv, + pageIndex: pageIndex, + viewport: viewport, + enhanceTextSelection: enhanceTextSelection + }); + } + }]); + + return DefaultTextLayerFactory; +}(); + +exports.TextLayerBuilder = TextLayerBuilder; +exports.DefaultTextLayerFactory = DefaultTextLayerFactory; + +/***/ }), +/* 26 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.SecondaryToolbar = undefined; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _pdf_cursor_tools = __webpack_require__(6); + +var _ui_utils = __webpack_require__(0); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var SecondaryToolbar = function () { + function SecondaryToolbar(options, mainContainer, eventBus) { + _classCallCheck(this, SecondaryToolbar); + + this.toolbar = options.toolbar; + this.toggleButton = options.toggleButton; + this.toolbarButtonContainer = options.toolbarButtonContainer; + this.buttons = [{ + element: options.presentationModeButton, + eventName: 'presentationmode', + close: true + }, { + element: options.openFileButton, + eventName: 'openfile', + close: true + }, { + element: options.printButton, + eventName: 'print', + close: true + }, { + element: options.downloadButton, + eventName: 'download', + close: true + }, { + element: options.viewBookmarkButton, + eventName: null, + close: true + }, { + element: options.firstPageButton, + eventName: 'firstpage', + close: true + }, { + element: options.lastPageButton, + eventName: 'lastpage', + close: true + }, { + element: options.pageRotateCwButton, + eventName: 'rotatecw', + close: false + }, { + element: options.pageRotateCcwButton, + eventName: 'rotateccw', + close: false + }, { + element: options.cursorSelectToolButton, + eventName: 'switchcursortool', + eventDetails: { tool: _pdf_cursor_tools.CursorTool.SELECT }, + close: true + }, { + element: options.cursorHandToolButton, + eventName: 'switchcursortool', + eventDetails: { tool: _pdf_cursor_tools.CursorTool.HAND }, + close: true + }, { + element: options.documentPropertiesButton, + eventName: 'documentproperties', + close: true + }]; + this.items = { + firstPage: options.firstPageButton, + lastPage: options.lastPageButton, + pageRotateCw: options.pageRotateCwButton, + pageRotateCcw: options.pageRotateCcwButton + }; + this.mainContainer = mainContainer; + this.eventBus = eventBus; + this.opened = false; + this.containerHeight = null; + this.previousContainerHeight = null; + this.reset(); + this._bindClickListeners(); + this._bindCursorToolsListener(options); + this.eventBus.on('resize', this._setMaxHeight.bind(this)); + } + + _createClass(SecondaryToolbar, [{ + key: 'setPageNumber', + value: function setPageNumber(pageNumber) { + this.pageNumber = pageNumber; + this._updateUIState(); + } + }, { + key: 'setPagesCount', + value: function setPagesCount(pagesCount) { + this.pagesCount = pagesCount; + this._updateUIState(); + } + }, { + key: 'reset', + value: function reset() { + this.pageNumber = 0; + this.pagesCount = 0; + this._updateUIState(); + } + }, { + key: '_updateUIState', + value: function _updateUIState() { + this.items.firstPage.disabled = this.pageNumber <= 1; + this.items.lastPage.disabled = this.pageNumber >= this.pagesCount; + this.items.pageRotateCw.disabled = this.pagesCount === 0; + this.items.pageRotateCcw.disabled = this.pagesCount === 0; + } + }, { + key: '_bindClickListeners', + value: function _bindClickListeners() { + var _this = this; + + this.toggleButton.addEventListener('click', this.toggle.bind(this)); + + var _loop = function _loop(button) { + var _buttons$button = _this.buttons[button], + element = _buttons$button.element, + eventName = _buttons$button.eventName, + close = _buttons$button.close, + eventDetails = _buttons$button.eventDetails; + + element.addEventListener('click', function (evt) { + if (eventName !== null) { + var details = { source: _this }; + for (var property in eventDetails) { + details[property] = eventDetails[property]; + } + _this.eventBus.dispatch(eventName, details); + } + if (close) { + _this.close(); + } + }); + }; + + for (var button in this.buttons) { + _loop(button); + } + } + }, { + key: '_bindCursorToolsListener', + value: function _bindCursorToolsListener(buttons) { + this.eventBus.on('cursortoolchanged', function (evt) { + buttons.cursorSelectToolButton.classList.remove('toggled'); + buttons.cursorHandToolButton.classList.remove('toggled'); + switch (evt.tool) { + case _pdf_cursor_tools.CursorTool.SELECT: + buttons.cursorSelectToolButton.classList.add('toggled'); + break; + case _pdf_cursor_tools.CursorTool.HAND: + buttons.cursorHandToolButton.classList.add('toggled'); + break; + } + }); + } + }, { + key: 'open', + value: function open() { + if (this.opened) { + return; + } + this.opened = true; + this._setMaxHeight(); + this.toggleButton.classList.add('toggled'); + this.toolbar.classList.remove('hidden'); + } + }, { + key: 'close', + value: function close() { + if (!this.opened) { + return; + } + this.opened = false; + this.toolbar.classList.add('hidden'); + this.toggleButton.classList.remove('toggled'); + } + }, { + key: 'toggle', + value: function toggle() { + if (this.opened) { + this.close(); + } else { + this.open(); + } + } + }, { + key: '_setMaxHeight', + value: function _setMaxHeight() { + if (!this.opened) { + return; + } + this.containerHeight = this.mainContainer.clientHeight; + if (this.containerHeight === this.previousContainerHeight) { + return; + } + this.toolbarButtonContainer.setAttribute('style', 'max-height: ' + (this.containerHeight - _ui_utils.SCROLLBAR_PADDING) + 'px;'); + this.previousContainerHeight = this.containerHeight; + } + }, { + key: 'isOpen', + get: function get() { + return this.opened; + } + }]); + + return SecondaryToolbar; +}(); + +exports.SecondaryToolbar = SecondaryToolbar; + +/***/ }), +/* 27 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.Toolbar = undefined; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _ui_utils = __webpack_require__(0); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var PAGE_NUMBER_LOADING_INDICATOR = 'visiblePageIsLoading'; +var SCALE_SELECT_CONTAINER_PADDING = 8; +var SCALE_SELECT_PADDING = 22; + +var Toolbar = function () { + function Toolbar(options, mainContainer, eventBus) { + var l10n = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : _ui_utils.NullL10n; + + _classCallCheck(this, Toolbar); + + this.toolbar = options.container; + this.mainContainer = mainContainer; + this.eventBus = eventBus; + this.l10n = l10n; + this.items = options; + this._wasLocalized = false; + this.reset(); + this._bindListeners(); + } + + _createClass(Toolbar, [{ + key: 'setPageNumber', + value: function setPageNumber(pageNumber, pageLabel) { + this.pageNumber = pageNumber; + this.pageLabel = pageLabel; + this._updateUIState(false); + } + }, { + key: 'setPagesCount', + value: function setPagesCount(pagesCount, hasPageLabels) { + this.pagesCount = pagesCount; + this.hasPageLabels = hasPageLabels; + this._updateUIState(true); + } + }, { + key: 'setPageScale', + value: function setPageScale(pageScaleValue, pageScale) { + this.pageScaleValue = pageScaleValue; + this.pageScale = pageScale; + this._updateUIState(false); + } + }, { + key: 'reset', + value: function reset() { + this.pageNumber = 0; + this.pageLabel = null; + this.hasPageLabels = false; + this.pagesCount = 0; + this.pageScaleValue = _ui_utils.DEFAULT_SCALE_VALUE; + this.pageScale = _ui_utils.DEFAULT_SCALE; + this._updateUIState(true); + } + }, { + key: '_bindListeners', + value: function _bindListeners() { + var _this = this; + + var eventBus = this.eventBus, + items = this.items; + + var self = this; + items.previous.addEventListener('click', function () { + eventBus.dispatch('previouspage'); + }); + items.next.addEventListener('click', function () { + eventBus.dispatch('nextpage'); + }); + items.zoomIn.addEventListener('click', function () { + eventBus.dispatch('zoomin'); + }); + items.zoomOut.addEventListener('click', function () { + eventBus.dispatch('zoomout'); + }); + items.pageNumber.addEventListener('click', function () { + this.select(); + }); + items.pageNumber.addEventListener('change', function () { + eventBus.dispatch('pagenumberchanged', { + source: self, + value: this.value + }); + }); + items.scaleSelect.addEventListener('change', function () { + if (this.value === 'custom') { + return; + } + eventBus.dispatch('scalechanged', { + source: self, + value: this.value + }); + }); + items.presentationModeButton.addEventListener('click', function () { + eventBus.dispatch('presentationmode'); + }); + items.openFile.addEventListener('click', function () { + eventBus.dispatch('openfile'); + }); + items.print.addEventListener('click', function () { + eventBus.dispatch('print'); + }); + items.download.addEventListener('click', function () { + eventBus.dispatch('download'); + }); + items.scaleSelect.oncontextmenu = _ui_utils.noContextMenuHandler; + eventBus.on('localized', function () { + _this._localized(); + }); + } + }, { + key: '_localized', + value: function _localized() { + this._wasLocalized = true; + this._adjustScaleWidth(); + this._updateUIState(true); + } + }, { + key: '_updateUIState', + value: function _updateUIState() { + var resetNumPages = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; + + if (!this._wasLocalized) { + return; + } + var pageNumber = this.pageNumber, + pagesCount = this.pagesCount, + items = this.items; + + var scaleValue = (this.pageScaleValue || this.pageScale).toString(); + var scale = this.pageScale; + if (resetNumPages) { + if (this.hasPageLabels) { + items.pageNumber.type = 'text'; + } else { + items.pageNumber.type = 'number'; + this.l10n.get('of_pages', { pagesCount: pagesCount }, 'of {{pagesCount}}').then(function (msg) { + items.numPages.textContent = msg; + }); + } + items.pageNumber.max = pagesCount; + } + if (this.hasPageLabels) { + items.pageNumber.value = this.pageLabel; + this.l10n.get('page_of_pages', { + pageNumber: pageNumber, + pagesCount: pagesCount + }, '({{pageNumber}} of {{pagesCount}})').then(function (msg) { + items.numPages.textContent = msg; + }); + } else { + items.pageNumber.value = pageNumber; + } + items.previous.disabled = pageNumber <= 1; + items.next.disabled = pageNumber >= pagesCount; + items.zoomOut.disabled = scale <= _ui_utils.MIN_SCALE; + items.zoomIn.disabled = scale >= _ui_utils.MAX_SCALE; + var customScale = Math.round(scale * 10000) / 100; + this.l10n.get('page_scale_percent', { scale: customScale }, '{{scale}}%').then(function (msg) { + var options = items.scaleSelect.options; + var predefinedValueFound = false; + for (var i = 0, ii = options.length; i < ii; i++) { + var option = options[i]; + if (option.value !== scaleValue) { + option.selected = false; + continue; + } + option.selected = true; + predefinedValueFound = true; + } + if (!predefinedValueFound) { + items.customScaleOption.textContent = msg; + items.customScaleOption.selected = true; + } + }); + } + }, { + key: 'updateLoadingIndicatorState', + value: function updateLoadingIndicatorState() { + var loading = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; + + var pageNumberInput = this.items.pageNumber; + if (loading) { + pageNumberInput.classList.add(PAGE_NUMBER_LOADING_INDICATOR); + } else { + pageNumberInput.classList.remove(PAGE_NUMBER_LOADING_INDICATOR); + } + } + }, { + key: '_adjustScaleWidth', + value: function _adjustScaleWidth() { + var container = this.items.scaleSelectContainer; + var select = this.items.scaleSelect; + _ui_utils.animationStarted.then(function () { + if (container.clientWidth === 0) { + container.setAttribute('style', 'display: inherit;'); + } + if (container.clientWidth > 0) { + select.setAttribute('style', 'min-width: inherit;'); + var width = select.clientWidth + SCALE_SELECT_CONTAINER_PADDING; + select.setAttribute('style', 'min-width: ' + (width + SCALE_SELECT_PADDING) + 'px;'); + container.setAttribute('style', 'min-width: ' + width + 'px; ' + 'max-width: ' + width + 'px;'); + } + }); + } + }]); + + return Toolbar; +}(); + +exports.Toolbar = Toolbar; + +/***/ }), +/* 28 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var DEFAULT_VIEW_HISTORY_CACHE_SIZE = 20; + +var ViewHistory = function () { + function ViewHistory(fingerprint) { + var _this = this; + + var cacheSize = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : DEFAULT_VIEW_HISTORY_CACHE_SIZE; + + _classCallCheck(this, ViewHistory); + + this.fingerprint = fingerprint; + this.cacheSize = cacheSize; + this._initializedPromise = this._readFromStorage().then(function (databaseStr) { + var database = JSON.parse(databaseStr || '{}'); + if (!('files' in database)) { + database.files = []; + } + if (database.files.length >= _this.cacheSize) { + database.files.shift(); + } + var index = void 0; + for (var i = 0, length = database.files.length; i < length; i++) { + var branch = database.files[i]; + if (branch.fingerprint === _this.fingerprint) { + index = i; + break; + } + } + if (typeof index !== 'number') { + index = database.files.push({ fingerprint: _this.fingerprint }) - 1; + } + _this.file = database.files[index]; + _this.database = database; + }); + } + + _createClass(ViewHistory, [{ + key: '_writeToStorage', + value: function _writeToStorage() { + var _this2 = this; + + return new Promise(function (resolve) { + var databaseStr = JSON.stringify(_this2.database); + localStorage.setItem('pdfjs.history', databaseStr); + resolve(); + }); + } + }, { + key: '_readFromStorage', + value: function _readFromStorage() { + return new Promise(function (resolve) { + resolve(localStorage.getItem('pdfjs.history')); + }); + } + }, { + key: 'set', + value: function set(name, val) { + var _this3 = this; + + return this._initializedPromise.then(function () { + _this3.file[name] = val; + return _this3._writeToStorage(); + }); + } + }, { + key: 'setMultiple', + value: function setMultiple(properties) { + var _this4 = this; + + return this._initializedPromise.then(function () { + for (var name in properties) { + _this4.file[name] = properties[name]; + } + return _this4._writeToStorage(); + }); + } + }, { + key: 'get', + value: function get(name, defaultValue) { + var _this5 = this; + + return this._initializedPromise.then(function () { + var val = _this5.file[name]; + return val !== undefined ? val : defaultValue; + }); + } + }, { + key: 'getMultiple', + value: function getMultiple(properties) { + var _this6 = this; + + return this._initializedPromise.then(function () { + var values = Object.create(null); + for (var name in properties) { + var val = _this6.file[name]; + values[name] = val !== undefined ? val : properties[name]; + } + return values; + }); + } + }]); + + return ViewHistory; +}(); + +exports.ViewHistory = ViewHistory; + +/***/ }), +/* 29 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.GenericCom = undefined; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _app = __webpack_require__(4); + +var _preferences = __webpack_require__(30); + +var _download_manager = __webpack_require__(31); + +var _genericl10n = __webpack_require__(32); + +var _pdfjsLib = __webpack_require__(1); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +; +var GenericCom = {}; + +var GenericPreferences = function (_BasePreferences) { + _inherits(GenericPreferences, _BasePreferences); + + function GenericPreferences() { + _classCallCheck(this, GenericPreferences); + + return _possibleConstructorReturn(this, (GenericPreferences.__proto__ || Object.getPrototypeOf(GenericPreferences)).apply(this, arguments)); + } + + _createClass(GenericPreferences, [{ + key: '_writeToStorage', + value: function _writeToStorage(prefObj) { + return new Promise(function (resolve) { + localStorage.setItem('pdfjs.preferences', JSON.stringify(prefObj)); + resolve(); + }); + } + }, { + key: '_readFromStorage', + value: function _readFromStorage(prefObj) { + return new Promise(function (resolve) { + var readPrefs = JSON.parse(localStorage.getItem('pdfjs.preferences')); + resolve(readPrefs); + }); + } + }]); + + return GenericPreferences; +}(_preferences.BasePreferences); + +var GenericExternalServices = Object.create(_app.DefaultExternalServices); +GenericExternalServices.createDownloadManager = function () { + return new _download_manager.DownloadManager(); +}; +GenericExternalServices.createPreferences = function () { + return new GenericPreferences(); +}; +GenericExternalServices.createL10n = function () { + return new _genericl10n.GenericL10n(_pdfjsLib.PDFJS.locale); +}; +_app.PDFViewerApplication.externalServices = GenericExternalServices; +exports.GenericCom = GenericCom; + +/***/ }), +/* 30 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.BasePreferences = undefined; + +var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _ui_utils = __webpack_require__(0); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var defaultPreferences = null; +function getDefaultPreferences() { + if (!defaultPreferences) { + defaultPreferences = Promise.resolve({ + "showPreviousViewOnLoad": true, + "defaultZoomValue": "", + "sidebarViewOnLoad": 0, + "enableHandToolOnLoad": false, + "cursorToolOnLoad": 0, + "enableWebGL": false, + "pdfBugEnabled": false, + "disableRange": false, + "disableStream": false, + "disableAutoFetch": false, + "disableFontFace": false, + "disableTextLayer": false, + "useOnlyCssZoom": false, + "externalLinkTarget": 0, + "enhanceTextSelection": false, + "renderer": "canvas", + "renderInteractiveForms": false, + "enablePrintAutoRotate": false, + "disablePageMode": false, + "disablePageLabels": false + }); + } + return defaultPreferences; +} + +var BasePreferences = function () { + function BasePreferences() { + var _this = this; + + _classCallCheck(this, BasePreferences); + + if (this.constructor === BasePreferences) { + throw new Error('Cannot initialize BasePreferences.'); + } + this.prefs = null; + this._initializedPromise = getDefaultPreferences().then(function (defaults) { + Object.defineProperty(_this, 'defaults', { + value: Object.freeze(defaults), + writable: false, + enumerable: true, + configurable: false + }); + _this.prefs = (0, _ui_utils.cloneObj)(defaults); + return _this._readFromStorage(defaults); + }).then(function (prefObj) { + if (prefObj) { + _this.prefs = prefObj; + } + }); + } + + _createClass(BasePreferences, [{ + key: "_writeToStorage", + value: function _writeToStorage(prefObj) { + return Promise.reject(new Error('Not implemented: _writeToStorage')); + } + }, { + key: "_readFromStorage", + value: function _readFromStorage(prefObj) { + return Promise.reject(new Error('Not implemented: _readFromStorage')); + } + }, { + key: "reset", + value: function reset() { + var _this2 = this; + + return this._initializedPromise.then(function () { + _this2.prefs = (0, _ui_utils.cloneObj)(_this2.defaults); + return _this2._writeToStorage(_this2.defaults); + }); + } + }, { + key: "reload", + value: function reload() { + var _this3 = this; + + return this._initializedPromise.then(function () { + return _this3._readFromStorage(_this3.defaults); + }).then(function (prefObj) { + if (prefObj) { + _this3.prefs = prefObj; + } + }); + } + }, { + key: "set", + value: function set(name, value) { + var _this4 = this; + + return this._initializedPromise.then(function () { + if (_this4.defaults[name] === undefined) { + throw new Error("Set preference: \"" + name + "\" is undefined."); + } else if (value === undefined) { + throw new Error('Set preference: no value is specified.'); + } + var valueType = typeof value === "undefined" ? "undefined" : _typeof(value); + var defaultType = _typeof(_this4.defaults[name]); + if (valueType !== defaultType) { + if (valueType === 'number' && defaultType === 'string') { + value = value.toString(); + } else { + throw new Error("Set preference: \"" + value + "\" is a " + valueType + ", " + ("expected a " + defaultType + ".")); + } + } else { + if (valueType === 'number' && !Number.isInteger(value)) { + throw new Error("Set preference: \"" + value + "\" must be an integer."); + } + } + _this4.prefs[name] = value; + return _this4._writeToStorage(_this4.prefs); + }); + } + }, { + key: "get", + value: function get(name) { + var _this5 = this; + + return this._initializedPromise.then(function () { + var defaultValue = _this5.defaults[name]; + if (defaultValue === undefined) { + throw new Error("Get preference: \"" + name + "\" is undefined."); + } else { + var prefValue = _this5.prefs[name]; + if (prefValue !== undefined) { + return prefValue; + } + } + return defaultValue; + }); + } + }]); + + return BasePreferences; +}(); + +exports.BasePreferences = BasePreferences; + +/***/ }), +/* 31 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.DownloadManager = undefined; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _pdfjsLib = __webpack_require__(1); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +; +function _download(blobUrl, filename) { + var a = document.createElement('a'); + if (a.click) { + a.href = blobUrl; + a.target = '_parent'; + if ('download' in a) { + a.download = filename; + } + (document.body || document.documentElement).appendChild(a); + a.click(); + a.parentNode.removeChild(a); + } else { + if (window.top === window && blobUrl.split('#')[0] === window.location.href.split('#')[0]) { + var padCharacter = blobUrl.indexOf('?') === -1 ? '?' : '&'; + blobUrl = blobUrl.replace(/#|$/, padCharacter + '$&'); + } + window.open(blobUrl, '_parent'); + } +} + +var DownloadManager = function () { + function DownloadManager() { + _classCallCheck(this, DownloadManager); + } + + _createClass(DownloadManager, [{ + key: 'downloadUrl', + value: function downloadUrl(url, filename) { + if (!(0, _pdfjsLib.createValidAbsoluteUrl)(url, 'http://example.com')) { + return; + } + _download(url + '#pdfjs.action=download', filename); + } + }, { + key: 'downloadData', + value: function downloadData(data, filename, contentType) { + if (navigator.msSaveBlob) { + return navigator.msSaveBlob(new Blob([data], { type: contentType }), filename); + } + var blobUrl = (0, _pdfjsLib.createObjectURL)(data, contentType, _pdfjsLib.PDFJS.disableCreateObjectURL); + _download(blobUrl, filename); + } + }, { + key: 'download', + value: function download(blob, url, filename) { + if (navigator.msSaveBlob) { + if (!navigator.msSaveBlob(blob, filename)) { + this.downloadUrl(url, filename); + } + return; + } + if (_pdfjsLib.PDFJS.disableCreateObjectURL) { + this.downloadUrl(url, filename); + return; + } + var blobUrl = URL.createObjectURL(blob); + _download(blobUrl, filename); + } + }]); + + return DownloadManager; +}(); + +exports.DownloadManager = DownloadManager; + +/***/ }), +/* 32 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.GenericL10n = undefined; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +__webpack_require__(33); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var webL10n = document.webL10n; + +var GenericL10n = function () { + function GenericL10n(lang) { + _classCallCheck(this, GenericL10n); + + this._lang = lang; + this._ready = new Promise(function (resolve, reject) { + webL10n.setLanguage(lang, function () { + resolve(webL10n); + }); + }); + } + + _createClass(GenericL10n, [{ + key: 'getDirection', + value: function getDirection() { + return this._ready.then(function (l10n) { + return l10n.getDirection(); + }); + } + }, { + key: 'get', + value: function get(property, args, fallback) { + return this._ready.then(function (l10n) { + return l10n.get(property, args, fallback); + }); + } + }, { + key: 'translate', + value: function translate(element) { + return this._ready.then(function (l10n) { + return l10n.translate(element); + }); + } + }]); + + return GenericL10n; +}(); + +exports.GenericL10n = GenericL10n; + +/***/ }), +/* 33 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +document.webL10n = function (window, document, undefined) { + var gL10nData = {}; + var gTextData = ''; + var gTextProp = 'textContent'; + var gLanguage = ''; + var gMacros = {}; + var gReadyState = 'loading'; + var gAsyncResourceLoading = true; + function getL10nResourceLinks() { + return document.querySelectorAll('link[type="application/l10n"]'); + } + function getL10nDictionary() { + var script = document.querySelector('script[type="application/l10n"]'); + return script ? JSON.parse(script.innerHTML) : null; + } + function getTranslatableChildren(element) { + return element ? element.querySelectorAll('*[data-l10n-id]') : []; + } + function getL10nAttributes(element) { + if (!element) return {}; + var l10nId = element.getAttribute('data-l10n-id'); + var l10nArgs = element.getAttribute('data-l10n-args'); + var args = {}; + if (l10nArgs) { + try { + args = JSON.parse(l10nArgs); + } catch (e) { + console.warn('could not parse arguments for #' + l10nId); + } + } + return { + id: l10nId, + args: args + }; + } + function fireL10nReadyEvent(lang) { + var evtObject = document.createEvent('Event'); + evtObject.initEvent('localized', true, false); + evtObject.language = lang; + document.dispatchEvent(evtObject); + } + function xhrLoadText(url, onSuccess, onFailure) { + onSuccess = onSuccess || function _onSuccess(data) {}; + onFailure = onFailure || function _onFailure() {}; + var xhr = new XMLHttpRequest(); + xhr.open('GET', url, gAsyncResourceLoading); + 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; + try { + xhr.send(null); + } catch (e) { + onFailure(); + } + } + function parseResource(href, lang, successCallback, failureCallback) { + var baseURL = href.replace(/[^\/]*$/, '') || './'; + function evalString(text) { + if (text.lastIndexOf('\\') < 0) return text; + return text.replace(/\\\\/g, '\\').replace(/\\n/g, '\n').replace(/\\r/g, '\r').replace(/\\t/g, '\t').replace(/\\b/g, '\b').replace(/\\f/g, '\f').replace(/\\{/g, '{').replace(/\\}/g, '}').replace(/\\"/g, '"').replace(/\\'/g, "'"); + } + function parseProperties(text, parsedPropertiesCallback) { + var dictionary = {}; + var reBlank = /^\s*|\s*$/; + var reComment = /^\s*#|^\s*$/; + var reSection = /^\s*\[(.*)\]\s*$/; + var reImport = /^\s*@import\s+url\((.*)\)\s*$/i; + var reSplit = /^([^=\s]*)\s*=\s*(.+)$/; + function parseRawLines(rawText, extendedSyntax, parsedRawLinesCallback) { + var entries = rawText.replace(reBlank, '').split(/[\r\n]+/); + var currentLang = '*'; + var genericLang = lang.split('-', 1)[0]; + var skipLang = false; + var match = ''; + function nextEntry() { + while (true) { + if (!entries.length) { + parsedRawLinesCallback(); + return; + } + var line = entries.shift(); + if (reComment.test(line)) continue; + if (extendedSyntax) { + match = reSection.exec(line); + if (match) { + currentLang = match[1].toLowerCase(); + skipLang = currentLang !== '*' && currentLang !== lang && currentLang !== genericLang; + continue; + } else if (skipLang) { + continue; + } + match = reImport.exec(line); + if (match) { + loadImport(baseURL + match[1], nextEntry); + return; + } + } + var tmp = line.match(reSplit); + if (tmp && tmp.length == 3) { + dictionary[tmp[1]] = evalString(tmp[2]); + } + } + } + nextEntry(); + } + function loadImport(url, callback) { + xhrLoadText(url, function (content) { + parseRawLines(content, false, callback); + }, function () { + console.warn(url + ' not found.'); + callback(); + }); + } + parseRawLines(text, true, function () { + parsedPropertiesCallback(dictionary); + }); + } + xhrLoadText(href, function (response) { + gTextData += response; + parseProperties(response, function (data) { + for (var key in data) { + var id, + prop, + index = key.lastIndexOf('.'); + if (index > 0) { + id = key.substring(0, index); + prop = key.substr(index + 1); + } else { + id = key; + prop = gTextProp; + } + if (!gL10nData[id]) { + gL10nData[id] = {}; + } + gL10nData[id][prop] = data[key]; + } + if (successCallback) { + successCallback(); + } + }); + }, failureCallback); + } + function loadLocale(lang, callback) { + if (lang) { + lang = lang.toLowerCase(); + } + callback = callback || function _callback() {}; + clear(); + gLanguage = lang; + var langLinks = getL10nResourceLinks(); + var langCount = langLinks.length; + if (langCount === 0) { + var dict = getL10nDictionary(); + if (dict && dict.locales && dict.default_locale) { + console.log('using the embedded JSON directory, early way out'); + gL10nData = dict.locales[lang]; + if (!gL10nData) { + var defaultLocale = dict.default_locale.toLowerCase(); + for (var anyCaseLang in dict.locales) { + anyCaseLang = anyCaseLang.toLowerCase(); + if (anyCaseLang === lang) { + gL10nData = dict.locales[lang]; + break; + } else if (anyCaseLang === defaultLocale) { + gL10nData = dict.locales[defaultLocale]; + } + } + } + callback(); + } else { + console.log('no resource to load, early way out'); + } + fireL10nReadyEvent(lang); + gReadyState = 'complete'; + return; + } + var onResourceLoaded = null; + var gResourceCount = 0; + onResourceLoaded = function onResourceLoaded() { + gResourceCount++; + if (gResourceCount >= langCount) { + callback(); + fireL10nReadyEvent(lang); + gReadyState = 'complete'; + } + }; + function L10nResourceLink(link) { + var href = link.href; + this.load = function (lang, callback) { + parseResource(href, lang, callback, function () { + console.warn(href + ' not found.'); + console.warn('"' + lang + '" resource not found'); + gLanguage = ''; + callback(); + }); + }; + } + for (var i = 0; i < langCount; i++) { + var resource = new L10nResourceLink(langLinks[i]); + resource.load(lang, onResourceLoaded); + } + } + function clear() { + gL10nData = {}; + gTextData = ''; + gLanguage = ''; + } + function getPluralRules(lang) { + var locales2rules = { + 'af': 3, + 'ak': 4, + 'am': 4, + 'ar': 1, + 'asa': 3, + 'az': 0, + 'be': 11, + 'bem': 3, + 'bez': 3, + 'bg': 3, + 'bh': 4, + 'bm': 0, + 'bn': 3, + 'bo': 0, + 'br': 20, + 'brx': 3, + 'bs': 11, + 'ca': 3, + 'cgg': 3, + 'chr': 3, + 'cs': 12, + 'cy': 17, + 'da': 3, + 'de': 3, + 'dv': 3, + 'dz': 0, + 'ee': 3, + 'el': 3, + 'en': 3, + 'eo': 3, + 'es': 3, + 'et': 3, + 'eu': 3, + 'fa': 0, + 'ff': 5, + 'fi': 3, + 'fil': 4, + 'fo': 3, + 'fr': 5, + 'fur': 3, + 'fy': 3, + 'ga': 8, + 'gd': 24, + 'gl': 3, + 'gsw': 3, + 'gu': 3, + 'guw': 4, + 'gv': 23, + 'ha': 3, + 'haw': 3, + 'he': 2, + 'hi': 4, + 'hr': 11, + 'hu': 0, + 'id': 0, + 'ig': 0, + 'ii': 0, + 'is': 3, + 'it': 3, + 'iu': 7, + 'ja': 0, + 'jmc': 3, + 'jv': 0, + 'ka': 0, + 'kab': 5, + 'kaj': 3, + 'kcg': 3, + 'kde': 0, + 'kea': 0, + 'kk': 3, + 'kl': 3, + 'km': 0, + 'kn': 0, + 'ko': 0, + 'ksb': 3, + 'ksh': 21, + 'ku': 3, + 'kw': 7, + 'lag': 18, + 'lb': 3, + 'lg': 3, + 'ln': 4, + 'lo': 0, + 'lt': 10, + 'lv': 6, + 'mas': 3, + 'mg': 4, + 'mk': 16, + 'ml': 3, + 'mn': 3, + 'mo': 9, + 'mr': 3, + 'ms': 0, + 'mt': 15, + 'my': 0, + 'nah': 3, + 'naq': 7, + 'nb': 3, + 'nd': 3, + 'ne': 3, + 'nl': 3, + 'nn': 3, + 'no': 3, + 'nr': 3, + 'nso': 4, + 'ny': 3, + 'nyn': 3, + 'om': 3, + 'or': 3, + 'pa': 3, + 'pap': 3, + 'pl': 13, + 'ps': 3, + 'pt': 3, + 'rm': 3, + 'ro': 9, + 'rof': 3, + 'ru': 11, + 'rwk': 3, + 'sah': 0, + 'saq': 3, + 'se': 7, + 'seh': 3, + 'ses': 0, + 'sg': 0, + 'sh': 11, + 'shi': 19, + 'sk': 12, + 'sl': 14, + 'sma': 7, + 'smi': 7, + 'smj': 7, + 'smn': 7, + 'sms': 7, + 'sn': 3, + 'so': 3, + 'sq': 3, + 'sr': 11, + 'ss': 3, + 'ssy': 3, + 'st': 3, + 'sv': 3, + 'sw': 3, + 'syr': 3, + 'ta': 3, + 'te': 3, + 'teo': 3, + 'th': 0, + 'ti': 4, + 'tig': 3, + 'tk': 3, + 'tl': 4, + 'tn': 3, + 'to': 0, + 'tr': 0, + 'ts': 3, + 'tzm': 22, + 'uk': 11, + 'ur': 3, + 've': 3, + 'vi': 0, + 'vun': 3, + 'wa': 4, + 'wae': 3, + 'wo': 0, + 'xh': 3, + 'xog': 3, + 'yo': 0, + 'zh': 0, + 'zu': 3 + }; + function isIn(n, list) { + return list.indexOf(n) !== -1; + } + function isBetween(n, start, end) { + return start <= n && n <= end; + } + var pluralRules = { + '0': function _(n) { + return 'other'; + }, + '1': function _(n) { + if (isBetween(n % 100, 3, 10)) return 'few'; + if (n === 0) return 'zero'; + if (isBetween(n % 100, 11, 99)) return 'many'; + if (n == 2) return 'two'; + if (n == 1) return 'one'; + return 'other'; + }, + '2': function _(n) { + if (n !== 0 && n % 10 === 0) return 'many'; + if (n == 2) return 'two'; + if (n == 1) return 'one'; + return 'other'; + }, + '3': function _(n) { + if (n == 1) return 'one'; + return 'other'; + }, + '4': function _(n) { + if (isBetween(n, 0, 1)) return 'one'; + return 'other'; + }, + '5': function _(n) { + if (isBetween(n, 0, 2) && n != 2) return 'one'; + return 'other'; + }, + '6': function _(n) { + if (n === 0) return 'zero'; + if (n % 10 == 1 && n % 100 != 11) return 'one'; + return 'other'; + }, + '7': function _(n) { + if (n == 2) return 'two'; + if (n == 1) return 'one'; + return 'other'; + }, + '8': function _(n) { + if (isBetween(n, 3, 6)) return 'few'; + if (isBetween(n, 7, 10)) return 'many'; + if (n == 2) return 'two'; + if (n == 1) return 'one'; + return 'other'; + }, + '9': function _(n) { + if (n === 0 || n != 1 && isBetween(n % 100, 1, 19)) return 'few'; + if (n == 1) return 'one'; + return 'other'; + }, + '10': function _(n) { + if (isBetween(n % 10, 2, 9) && !isBetween(n % 100, 11, 19)) return 'few'; + if (n % 10 == 1 && !isBetween(n % 100, 11, 19)) return 'one'; + return 'other'; + }, + '11': function _(n) { + if (isBetween(n % 10, 2, 4) && !isBetween(n % 100, 12, 14)) return 'few'; + if (n % 10 === 0 || isBetween(n % 10, 5, 9) || isBetween(n % 100, 11, 14)) return 'many'; + if (n % 10 == 1 && n % 100 != 11) return 'one'; + return 'other'; + }, + '12': function _(n) { + if (isBetween(n, 2, 4)) return 'few'; + if (n == 1) return 'one'; + return 'other'; + }, + '13': function _(n) { + if (isBetween(n % 10, 2, 4) && !isBetween(n % 100, 12, 14)) return 'few'; + if (n != 1 && isBetween(n % 10, 0, 1) || isBetween(n % 10, 5, 9) || isBetween(n % 100, 12, 14)) return 'many'; + if (n == 1) return 'one'; + return 'other'; + }, + '14': function _(n) { + if (isBetween(n % 100, 3, 4)) return 'few'; + if (n % 100 == 2) return 'two'; + if (n % 100 == 1) return 'one'; + return 'other'; + }, + '15': function _(n) { + if (n === 0 || isBetween(n % 100, 2, 10)) return 'few'; + if (isBetween(n % 100, 11, 19)) return 'many'; + if (n == 1) return 'one'; + return 'other'; + }, + '16': function _(n) { + if (n % 10 == 1 && n != 11) return 'one'; + return 'other'; + }, + '17': function _(n) { + if (n == 3) return 'few'; + if (n === 0) return 'zero'; + if (n == 6) return 'many'; + if (n == 2) return 'two'; + if (n == 1) return 'one'; + return 'other'; + }, + '18': function _(n) { + if (n === 0) return 'zero'; + if (isBetween(n, 0, 2) && n !== 0 && n != 2) return 'one'; + return 'other'; + }, + '19': function _(n) { + if (isBetween(n, 2, 10)) return 'few'; + if (isBetween(n, 0, 1)) return 'one'; + return 'other'; + }, + '20': function _(n) { + if ((isBetween(n % 10, 3, 4) || n % 10 == 9) && !(isBetween(n % 100, 10, 19) || isBetween(n % 100, 70, 79) || isBetween(n % 100, 90, 99))) return 'few'; + if (n % 1000000 === 0 && n !== 0) return 'many'; + if (n % 10 == 2 && !isIn(n % 100, [12, 72, 92])) return 'two'; + if (n % 10 == 1 && !isIn(n % 100, [11, 71, 91])) return 'one'; + return 'other'; + }, + '21': function _(n) { + if (n === 0) return 'zero'; + if (n == 1) return 'one'; + return 'other'; + }, + '22': function _(n) { + if (isBetween(n, 0, 1) || isBetween(n, 11, 99)) return 'one'; + return 'other'; + }, + '23': function _(n) { + if (isBetween(n % 10, 1, 2) || n % 20 === 0) return 'one'; + return 'other'; + }, + '24': function _(n) { + if (isBetween(n, 3, 10) || isBetween(n, 13, 19)) return 'few'; + if (isIn(n, [2, 12])) return 'two'; + if (isIn(n, [1, 11])) return 'one'; + return 'other'; + } + }; + var index = locales2rules[lang.replace(/-.*$/, '')]; + if (!(index in pluralRules)) { + console.warn('plural form unknown for [' + lang + ']'); + return function () { + return 'other'; + }; + } + return pluralRules[index]; + } + gMacros.plural = function (str, param, key, prop) { + var n = parseFloat(param); + if (isNaN(n)) return str; + if (prop != gTextProp) return str; + if (!gMacros._pluralRules) { + gMacros._pluralRules = getPluralRules(gLanguage); + } + var index = '[' + gMacros._pluralRules(n) + ']'; + if (n === 0 && key + '[zero]' in gL10nData) { + str = gL10nData[key + '[zero]'][prop]; + } else if (n == 1 && key + '[one]' in gL10nData) { + str = gL10nData[key + '[one]'][prop]; + } else if (n == 2 && key + '[two]' in gL10nData) { + 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; + }; + function getL10nData(key, args, fallback) { + var data = gL10nData[key]; + if (!data) { + console.warn('#' + key + ' is undefined.'); + if (!fallback) { + return null; + } + data = fallback; + } + var rv = {}; + for (var prop in data) { + var str = data[prop]; + str = substIndexes(str, args, key, prop); + str = substArguments(str, args, key); + rv[prop] = str; + } + return rv; + } + function substIndexes(str, args, key, prop) { + var reIndex = /\{\[\s*([a-zA-Z]+)\(([a-zA-Z]+)\)\s*\]\}/; + var reMatch = reIndex.exec(str); + if (!reMatch || !reMatch.length) return str; + var macroName = reMatch[1]; + var paramName = reMatch[2]; + var param; + if (args && paramName in args) { + param = args[paramName]; + } else if (paramName in gL10nData) { + param = gL10nData[paramName]; + } + if (macroName in gMacros) { + var macro = gMacros[macroName]; + str = macro(str, param, key, prop); + } + return str; + } + function substArguments(str, args, key) { + var reArgs = /\{\{\s*(.+?)\s*\}\}/g; + return str.replace(reArgs, function (matched_text, arg) { + if (args && arg in args) { + return args[arg]; + } + if (arg in gL10nData) { + return gL10nData[arg]; + } + console.log('argument {{' + arg + '}} for #' + key + ' is undefined.'); + return matched_text; + }); + } + function translateElement(element) { + var l10n = getL10nAttributes(element); + if (!l10n.id) return; + var data = getL10nData(l10n.id, l10n.args); + if (!data) { + console.warn('#' + l10n.id + ' is undefined.'); + return; + } + if (data[gTextProp]) { + if (getChildElementCount(element) === 0) { + element[gTextProp] = data[gTextProp]; + } else { + 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].nodeValue)) { + if (found) { + children[i].nodeValue = ''; + } else { + children[i].nodeValue = data[gTextProp]; + found = true; + } + } + } + if (!found) { + var textNode = document.createTextNode(data[gTextProp]); + element.insertBefore(textNode, element.firstChild); + } + } + delete data[gTextProp]; + } + for (var k in data) { + element[k] = data[k]; + } + } + 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; + } + function translateFragment(element) { + element = element || document.documentElement; + var children = getTranslatableChildren(element); + var elementCount = children.length; + for (var i = 0; i < elementCount; i++) { + translateElement(children[i]); + } + translateElement(element); + } + return { + get: function get(key, args, fallbackString) { + var index = key.lastIndexOf('.'); + var prop = gTextProp; + if (index > 0) { + 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 + '}}'; + }, + getData: function getData() { + return gL10nData; + }, + getText: function getText() { + return gTextData; + }, + getLanguage: function getLanguage() { + return gLanguage; + }, + setLanguage: function setLanguage(lang, callback) { + loadLocale(lang, function () { + if (callback) callback(); + }); + }, + getDirection: function getDirection() { + var rtlList = ['ar', 'he', 'fa', 'ps', 'ur']; + var shortCode = gLanguage.split('-', 1)[0]; + return rtlList.indexOf(shortCode) >= 0 ? 'rtl' : 'ltr'; + }, + translate: translateFragment, + getReadyState: function getReadyState() { + return gReadyState; + }, + ready: function ready(callback) { + if (!callback) { + return; + } else if (gReadyState == 'complete' || gReadyState == 'interactive') { + window.setTimeout(function () { + callback(); + }); + } else if (document.addEventListener) { + document.addEventListener('localized', function once() { + document.removeEventListener('localized', once); + callback(); + }); + } + } + }; +}(window, document); + +/***/ }), +/* 34 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.PDFPrintService = undefined; + +var _ui_utils = __webpack_require__(0); + +var _app = __webpack_require__(4); + +var _pdfjsLib = __webpack_require__(1); + +var activeService = null; +var overlayManager = null; +function renderPage(activeServiceOnEntry, pdfDocument, pageNumber, size) { + var scratchCanvas = activeService.scratchCanvas; + var PRINT_RESOLUTION = 150; + var PRINT_UNITS = PRINT_RESOLUTION / 72.0; + scratchCanvas.width = Math.floor(size.width * PRINT_UNITS); + scratchCanvas.height = Math.floor(size.height * PRINT_UNITS); + var width = Math.floor(size.width * _ui_utils.CSS_UNITS) + 'px'; + var height = Math.floor(size.height * _ui_utils.CSS_UNITS) + 'px'; + var ctx = scratchCanvas.getContext('2d'); + ctx.save(); + ctx.fillStyle = 'rgb(255, 255, 255)'; + ctx.fillRect(0, 0, scratchCanvas.width, scratchCanvas.height); + ctx.restore(); + return pdfDocument.getPage(pageNumber).then(function (pdfPage) { + var renderContext = { + canvasContext: ctx, + transform: [PRINT_UNITS, 0, 0, PRINT_UNITS, 0, 0], + viewport: pdfPage.getViewport(1, size.rotation), + intent: 'print' + }; + return pdfPage.render(renderContext).promise; + }).then(function () { + return { + width: width, + height: height + }; + }); +} +function PDFPrintService(pdfDocument, pagesOverview, printContainer, l10n) { + this.pdfDocument = pdfDocument; + this.pagesOverview = pagesOverview; + this.printContainer = printContainer; + this.l10n = l10n || _ui_utils.NullL10n; + this.currentPage = -1; + this.scratchCanvas = document.createElement('canvas'); +} +PDFPrintService.prototype = { + layout: function layout() { + this.throwIfInactive(); + var body = document.querySelector('body'); + body.setAttribute('data-pdfjsprinting', true); + var hasEqualPageSizes = this.pagesOverview.every(function (size) { + return size.width === this.pagesOverview[0].width && size.height === this.pagesOverview[0].height; + }, this); + if (!hasEqualPageSizes) { + console.warn('Not all pages have the same size. The printed ' + 'result may be incorrect!'); + } + this.pageStyleSheet = document.createElement('style'); + var pageSize = this.pagesOverview[0]; + this.pageStyleSheet.textContent = '@supports ((size:A4) and (size:1pt 1pt)) {' + '@page { size: ' + pageSize.width + 'pt ' + pageSize.height + 'pt;}' + '}'; + body.appendChild(this.pageStyleSheet); + }, + destroy: function destroy() { + if (activeService !== this) { + return; + } + this.printContainer.textContent = ''; + if (this.pageStyleSheet && this.pageStyleSheet.parentNode) { + this.pageStyleSheet.parentNode.removeChild(this.pageStyleSheet); + this.pageStyleSheet = null; + } + this.scratchCanvas.width = this.scratchCanvas.height = 0; + this.scratchCanvas = null; + activeService = null; + ensureOverlay().then(function () { + if (overlayManager.active !== 'printServiceOverlay') { + return; + } + overlayManager.close('printServiceOverlay'); + }); + }, + renderPages: function renderPages() { + var _this = this; + + var pageCount = this.pagesOverview.length; + var renderNextPage = function renderNextPage(resolve, reject) { + _this.throwIfInactive(); + if (++_this.currentPage >= pageCount) { + renderProgress(pageCount, pageCount, _this.l10n); + resolve(); + return; + } + var index = _this.currentPage; + renderProgress(index, pageCount, _this.l10n); + renderPage(_this, _this.pdfDocument, index + 1, _this.pagesOverview[index]).then(_this.useRenderedPage.bind(_this)).then(function () { + renderNextPage(resolve, reject); + }, reject); + }; + return new Promise(renderNextPage); + }, + useRenderedPage: function useRenderedPage(printItem) { + this.throwIfInactive(); + var img = document.createElement('img'); + img.style.width = printItem.width; + img.style.height = printItem.height; + var scratchCanvas = this.scratchCanvas; + if ('toBlob' in scratchCanvas && !_pdfjsLib.PDFJS.disableCreateObjectURL) { + scratchCanvas.toBlob(function (blob) { + img.src = URL.createObjectURL(blob); + }); + } else { + img.src = scratchCanvas.toDataURL(); + } + var wrapper = document.createElement('div'); + wrapper.appendChild(img); + this.printContainer.appendChild(wrapper); + return new Promise(function (resolve, reject) { + img.onload = resolve; + img.onerror = reject; + }); + }, + performPrint: function performPrint() { + var _this2 = this; + + this.throwIfInactive(); + return new Promise(function (resolve) { + setTimeout(function () { + if (!_this2.active) { + resolve(); + return; + } + print.call(window); + setTimeout(resolve, 20); + }, 0); + }); + }, + + get active() { + return this === activeService; + }, + throwIfInactive: function throwIfInactive() { + if (!this.active) { + throw new Error('This print request was cancelled or completed.'); + } + } +}; +var print = window.print; +window.print = function print() { + if (activeService) { + console.warn('Ignored window.print() because of a pending print job.'); + return; + } + ensureOverlay().then(function () { + if (activeService) { + overlayManager.open('printServiceOverlay'); + } + }); + try { + dispatchEvent('beforeprint'); + } finally { + if (!activeService) { + console.error('Expected print service to be initialized.'); + ensureOverlay().then(function () { + if (overlayManager.active === 'printServiceOverlay') { + overlayManager.close('printServiceOverlay'); + } + }); + return; + } + var activeServiceOnEntry = activeService; + activeService.renderPages().then(function () { + return activeServiceOnEntry.performPrint(); + }).catch(function () {}).then(function () { + if (activeServiceOnEntry.active) { + abort(); + } + }); + } +}; +function dispatchEvent(eventType) { + var event = document.createEvent('CustomEvent'); + event.initCustomEvent(eventType, false, false, 'custom'); + window.dispatchEvent(event); +} +function abort() { + if (activeService) { + activeService.destroy(); + dispatchEvent('afterprint'); + } +} +function renderProgress(index, total, l10n) { + var progressContainer = document.getElementById('printServiceOverlay'); + var progress = Math.round(100 * index / total); + var progressBar = progressContainer.querySelector('progress'); + var progressPerc = progressContainer.querySelector('.relative-progress'); + progressBar.value = progress; + l10n.get('print_progress_percent', { progress: progress }, progress + '%').then(function (msg) { + progressPerc.textContent = msg; + }); +} +var hasAttachEvent = !!document.attachEvent; +window.addEventListener('keydown', function (event) { + if (event.keyCode === 80 && (event.ctrlKey || event.metaKey) && !event.altKey && (!event.shiftKey || window.chrome || window.opera)) { + window.print(); + if (hasAttachEvent) { + return; + } + event.preventDefault(); + if (event.stopImmediatePropagation) { + event.stopImmediatePropagation(); + } else { + event.stopPropagation(); + } + return; + } +}, true); +if (hasAttachEvent) { + document.attachEvent('onkeydown', function (event) { + event = event || window.event; + if (event.keyCode === 80 && event.ctrlKey) { + event.keyCode = 0; + return false; + } + }); +} +if ('onbeforeprint' in window) { + var stopPropagationIfNeeded = function stopPropagationIfNeeded(event) { + if (event.detail !== 'custom' && event.stopImmediatePropagation) { + event.stopImmediatePropagation(); + } + }; + window.addEventListener('beforeprint', stopPropagationIfNeeded); + window.addEventListener('afterprint', stopPropagationIfNeeded); +} +var overlayPromise = void 0; +function ensureOverlay() { + if (!overlayPromise) { + overlayManager = _app.PDFViewerApplication.overlayManager; + if (!overlayManager) { + throw new Error('The overlay manager has not yet been initialized.'); + } + overlayPromise = overlayManager.register('printServiceOverlay', document.getElementById('printServiceOverlay'), abort, true); + document.getElementById('printCancel').onclick = abort; + } + return overlayPromise; +} +_app.PDFPrintServiceFactory.instance = { + supportsPrinting: true, + createPrintService: function createPrintService(pdfDocument, pagesOverview, printContainer, l10n) { + if (activeService) { + throw new Error('The print service is created and active.'); + } + activeService = new PDFPrintService(pdfDocument, pagesOverview, printContainer, l10n); + return activeService; + } +}; +exports.PDFPrintService = PDFPrintService; + +/***/ }) +/******/ ]); +//# sourceMappingURL=viewer.js.map \ No newline at end of file diff --git a/NKC_WF/Scripts/pdf.js/web/viewer.js.map b/NKC_WF/Scripts/pdf.js/web/viewer.js.map new file mode 100644 index 0000000..5815f4b --- /dev/null +++ b/NKC_WF/Scripts/pdf.js/web/viewer.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap c19735b38b57691ed7df","webpack:///web/ui_utils.js","webpack:///web/pdfjs.js","webpack:///web/dom_events.js","webpack:///web/pdf_rendering_queue.js","webpack:///web/app.js","webpack:///web/pdf_link_service.js","webpack:///web/pdf_cursor_tools.js","webpack:///web/pdf_find_controller.js","webpack:///web/viewer.js","webpack:///web/grab_to_pan.js","webpack:///web/pdf_sidebar.js","webpack:///web/overlay_manager.js","webpack:///web/password_prompt.js","webpack:///web/pdf_attachment_viewer.js","webpack:///web/pdf_document_properties.js","webpack:///web/pdf_find_bar.js","webpack:///web/pdf_history.js","webpack:///web/pdf_outline_viewer.js","webpack:///web/pdf_presentation_mode.js","webpack:///web/pdf_thumbnail_viewer.js","webpack:///web/pdf_thumbnail_view.js","webpack:///web/pdf_viewer.js","webpack:///web/base_viewer.js","webpack:///web/annotation_layer_builder.js","webpack:///web/pdf_page_view.js","webpack:///web/text_layer_builder.js","webpack:///web/secondary_toolbar.js","webpack:///web/toolbar.js","webpack:///web/view_history.js","webpack:///web/genericcom.js","webpack:///web/preferences.js","webpack:///web/download_manager.js","webpack:///web/genericl10n.js","webpack:///external/webL10n/l10n.js","webpack:///web/pdf_print_service.js"],"names":["CSS_UNITS","DEFAULT_SCALE_VALUE","DEFAULT_SCALE","MIN_SCALE","MAX_SCALE","UNKNOWN_SCALE","MAX_AUTO_SCALE","SCROLLBAR_PADDING","VERTICAL_PADDING","PresentationModeState","UNKNOWN","NORMAL","CHANGING","FULLSCREEN","RendererType","CANVAS","SVG","name","args","NullL10n","get","Promise","formatL10nValue","translate","PDFJS","navigator","devicePixelRatio","window","backingStoreRatio","ctx","pixelRatio","sx","sy","scaled","skipOverflowHiddenElements","parent","element","console","offsetY","offsetX","getComputedStyle","spot","debounceScroll","rAF","currentY","viewAreaElement","lastY","state","callback","down","_eventHandler","parts","query","params","Object","i","ii","param","key","value","decodeURIComponent","minIndex","maxIndex","items","condition","currentIndex","currentItem","Math","xinv","limit","x_","x","a","b","c","d","p","q","result","r","sortByVisibility","top","scrollEl","bottom","left","right","view","elementBottom","visible","firstVisibleElementInd","views","binarySearchFirstItem","currentHeight","viewHeight","currentWidth","viewWidth","hiddenHeight","percentHeight","id","y","percent","first","last","pc","evt","url","defaultFilename","isDataSchema","reURI","reFilename","splitURI","suggestedFilename","delta","angle","MOUSE_DOM_DELTA_PIXEL_MODE","MOUSE_DOM_DELTA_LINE_MODE","MOUSE_PIXELS_PER_LINE","MOUSE_LINES_PER_PAGE","Number","obj","WaitOnType","EVENT","TIMEOUT","delay","capability","target","clearTimeout","eventHandler","handler","timeoutHandler","timeout","setTimeout","animationStarted","localized","constructor","on","eventListeners","off","dispatch","Array","listener","document","height","width","units","progressSize","setWidth","container","viewer","scrollbarWidth","isNaN","clamp","pdfjsLib","__non_webpack_require__","module","eventBus","event","pageNumber","cssTransform","pagesCount","phraseSearch","caseSensitive","highlightAll","findPrevious","attachmentsCount","mode","action","active","switchInProgress","outlineCount","globalEventBus","attachDOMEventsToEventBus","CLEANUP_TIMEOUT","RenderingStates","INITIAL","RUNNING","PAUSED","FINISHED","setViewer","setThumbnailViewer","isHighestPriority","renderHighestPriority","getHighestPriority","visibleViews","numVisible","nextPageIndex","previousPageIndex","isViewFinished","renderView","continueRendering","DEFAULT_SCALE_DELTA","DISABLE_AUTO_FETCH_LOADING_BAR_TIMEOUT","DefaultExternalServices","updateFindControlState","initPassiveLoading","fallback","reportTelemetry","createDownloadManager","createPreferences","createL10n","supportsIntegratedFind","supportsDocumentFonts","supportsDocumentColors","supportedMouseWheelZoomModifierKeys","ctrlKey","metaKey","PDFViewerApplication","initialBookmark","initialized","fellback","appConfig","pdfDocument","pdfLoadingTask","printService","pdfViewer","pdfThumbnailViewer","pdfRenderingQueue","pdfPresentationMode","pdfDocumentProperties","pdfLinkService","pdfHistory","pdfSidebar","pdfOutlineViewer","pdfAttachmentViewer","pdfCursorTools","store","downloadManager","overlayManager","preferences","toolbar","secondaryToolbar","l10n","isInitialViewSet","downloadComplete","viewerPrefs","sidebarViewOnLoad","SidebarView","pdfBugEnabled","showPreviousViewOnLoad","defaultZoomValue","disablePageMode","disablePageLabels","renderer","enhanceTextSelection","renderInteractiveForms","enablePrintAutoRotate","isViewerEmbedded","baseUrl","externalServices","_boundEvents","initialize","configure","appContainer","_readPreferences","_initializeL10n","hash","hashParams","parseQueryString","_initializeViewerComponents","renderingQueue","linkService","thumbnailContainer","findBarConfig","contextMenuItems","sidebarConfig","resolve","run","zoomIn","newScale","zoomOut","PDFPrintServiceFactory","doc","support","shadow","bar","setTitleUsingUrl","title","getPDFFileNameFromURL","getFilenameFromUrl","setTitle","close","errorWrapper","promise","PDFBug","open","arguments","parameters","file","prop","loadingTask","getDocument","loaded","message","exception","loadingErrorMessage","download","filename","blob","createBlob","error","moreInfoText","version","build","moreInfo","stack","line","errorWrapperConfig","errorMessage","closeButton","errorMoreInfo","moreInfoButton","lessInfoButton","progress","level","load","firstPagePromise","source","pageModePromise","baseDocumentUrl","pagesPromise","onePageRendered","resetHistory","initialParams","bookmark","storePromise","exists","page","zoom","scrollLeft","scrollTop","rotation","sidebarView","values","parseInt","pageMode","apiPageModeToSidebarView","numLabels","labels","javaScript","UNSUPPORTED_FEATURES","regex","js","info","metadata","pdfTitle","setInitialView","setRotation","isValidRotation","cleanup","forceRendering","beforePrint","pagesOverview","printContainer","afterPrint","rotatePages","newRotation","requestPresentationMode","bindEvents","bindWindowEvents","unbindEvents","unbindWindowEvents","HOSTED_VIEWER_ORIGINS","validateFileURL","viewerOrigin","fileOrigin","ex","script","reject","queryString","waitForBeforeOpening","fileInput","files","pdfBug","enabled","loadAndEnablePDFBug","webViewerOpenFileViaURL","xhr","pageIndex","pageView","thumbnailView","Stats","location","href","currentPage","loading","currentScaleValue","webViewerFileInputChange","URL","fileReader","buffer","openFileInputName","zoomDisabled","previousScale","normalizeWheelEventDelta","MOUSE_WHEEL_DELTA_PER_PAGE_SCALE","ticks","currentScale","scaleCorrectionFactor","rect","dx","dy","zoomDisabledTimeout","handled","ensureViewerFocused","cmd","isViewerInPresentationMode","findState","curElement","curElementTagName","CursorTool","instance","supportsPrinting","createPrintService","setDocument","setHistory","navigateTo","goToDestination","destRef","explicitDest","destArray","namedDest","data","getDestinationHash","escape","dest","str","JSON","getAnchorUrl","setHash","zoomArgs","zoomArg","zoomArgNumber","parseFloat","allowNegativeOffset","unescape","isValidExplicitDestination","executeNamedAction","onFileAttachmentAnnotation","cachePageRef","refStr","pageRef","_cachedPageNumber","destLength","allowNull","SELECT","HAND","ZOOM","handToolPref","cursorToolPref","switchTool","tool","disableActiveTool","previouslyActive","FindState","FOUND","NOT_FOUND","WRAPPED","PENDING","FIND_SCROLL_OFFSET_TOP","FIND_SCROLL_OFFSET_LEFT","FIND_TIMEOUT","CHARACTERS_TO_NORMALIZE","replace","pageIdx","matchIdx","normalize","_prepareMatches","currentElem","matchesWithLength","nextElem","prevElem","len","isSubTerm","matches","matchesLength","calcFindPhraseMatch","queryLen","pageContent","calcFindWordMatch","queryArray","subquery","subqueryLen","match","matchLength","skipped","calcFindMatch","extractTextCapability","textItems","textContent","strBuf","j","jj","executeCommand","updatePage","index","previous","currentPageIndex","numPages","offset","numPageMatches","matchesReady","numMatches","updateMatchPosition","scrollIntoView","elements","advanceOffsetPage","found","updateMatch","wrapped","previousPage","updateUIState","DEFAULT_URL","pdfjsWebApp","require","mainContainer","viewerContainer","scaleSelectContainer","scaleSelect","customScaleOption","next","viewFind","openFile","print","presentationModeButton","viewBookmark","toggleButton","toolbarButtonContainer","openFileButton","printButton","downloadButton","viewBookmarkButton","firstPageButton","lastPageButton","pageRotateCwButton","pageRotateCcwButton","cursorSelectToolButton","cursorHandToolButton","documentPropertiesButton","fullscreen","contextFirstPage","contextLastPage","contextPageRotateCw","contextPageRotateCcw","sidebar","outerContainer","thumbnailButton","outlineButton","attachmentsButton","outlineView","attachmentsView","findBar","findField","highlightAllCheckbox","caseSensitiveCheckbox","findMsg","findResultsCount","findStatusIcon","findPreviousButton","findNextButton","passwordOverlay","overlayName","label","input","submitButton","cancelButton","documentProperties","fields","debuggerScriptPath","defaultUrl","config","options","overlay","GrabToPan","CSS_CLASS_GRAB","activate","deactivate","toggle","ignoreTarget","node","_onmousedown","focusedElement","_onmousemove","isLeftMouseReleased","xDiff","yDiff","behavior","_endPan","prefix","matchesSelector","isNotIEorIsIE10plus","chrome","isChrome15OrOpera15plus","isSafari6plus","UI_NOTIFICATION_CLASS","NONE","THUMBS","OUTLINE","ATTACHMENTS","isViewPreserved","switchView","forceOpen","isViewChanged","shouldForceRendering","_showUINotification","_hideUINotification","removeNotification","register","callerCloseMethod","canForceClose","unregister","_keyDown","e","PasswordResponses","promptString","password","setUpdateCallback","keepRenderedCapability","reset","_dispatchEvent","_bindPdfLink","button","blobUrl","createObjectURL","viewerUrl","encodeURIComponent","_bindLink","render","attachments","names","item","removeNullCharacters","div","_appendAttachment","DEFAULT_FIELD_CONTENT","freezeFieldData","writable","enumerable","configurable","cloneObj","setFileSize","fileSize","_updateUI","content","_parseFileSize","kb","size_kb","size_b","size_mb","_parseDate","dateToParse","year","month","day","hours","minutes","seconds","utRel","offsetHours","offsetMinutes","date","Date","dateString","timeString","time","dispatchEvent","notFound","status","updateResultsCount","matchCount","findbarHeight","inputContainerHeight","HASH_CHANGE_TIMEOUT","POSITION_UPDATED_THRESHOLD","UPDATE_VIEWAREA_TIMEOUT","reInitialized","parseCurrentHash","destination","push","forceReplace","isDestArraysEqual","_pushOrReplaceState","shouldReplace","newState","fingerprint","uid","temporary","_tryPushCurrentPosition","position","_isValidState","_updateInternalState","removeTemporary","_updateViewarea","_popState","newHash","hashChanged","waitOnEventOrTimeout","destHash","nameddest","second","isEntryEqual","secondDest","firstDest","DEFAULT_TITLE","addLinkAttributes","_setStyles","styleStr","_addToggleButton","toggler","shouldShowAll","_toggleOutlineItem","togglers","root","show","outline","fragment","queue","hasAnyNesting","levelData","itemsDiv","DELAY_BEFORE_RESETTING_SWITCH_IN_PROGRESS","DELAY_BEFORE_HIDING_CONTROLS","ACTIVE_SELECTOR","CONTROLS_SELECTOR","MOUSE_SCROLL_COOLDOWN_TIME","PAGE_SWITCH_THRESHOLD","SWIPE_MIN_DISTANCE_THRESHOLD","SWIPE_ANGLE_THRESHOLD","Element","_mouseWheel","currentTime","storedTime","totalDelta","success","_mouseDown","isInternalLink","_touchSwipe","startX","startY","endX","endY","absAngle","THUMBNAIL_SCROLL_MARGIN","watchScroll","getThumbnail","getVisibleElements","scrollThumbnailIntoView","selected","thumbnail","visibleThumbs","numVisibleThumbs","PDFThumbnailView","viewport","firstPage","pageNum","defaultViewport","disableCanvasToImageConversion","setPageLabels","_ensurePdfPageLoaded","thumbView","MAX_NUM_SCALING_STEPS","THUMBNAIL_CANVAS_BORDER_WIDTH","THUMBNAIL_WIDTH","TempImageFactory","tempCanvasCache","getCanvas","tempCanvas","alpha","destroyCanvas","anchor","ring","borderAdjustment","setPdfPage","pdfPage","totalRotation","childNodes","update","scale","noCtxScale","_getPageDrawContext","canvas","outputScale","getOutputScale","className","image","renderCapability","finishRenderTask","renderTask","drawViewport","renderContinueCallback","renderContext","canvasContext","setImage","img","reducedWidth","reducedHeight","reducedImage","reducedImageCtx","setPageLabel","pageSpot","_scrollIntoView","visiblePages","numVisiblePages","currentId","stillFullyVisible","DEFAULT_CACHE_SIZE","size","getPageView","_setCurrentPageNumber","resetCurrentPageView","val","arg","pageLabel","pagesCapability","isOnePageRenderedResolved","onePageRenderedCapability","bindOnAfterAndBeforeDraw","textLayerFactory","annotationLayerFactory","getPagesLeft","_setScaleDispatchEvent","preset","presetValue","_setScaleUpdatePages","noScroll","newValue","isSameScale","_setScale","hPadding","vPadding","pageWidthScale","pageHeightScale","isLandscape","horizontalScale","pageDiv","scrollPageIntoView","changeOrientation","pageWidth","pageHeight","widthScale","heightScale","boundingRect","_resizeBuffer","suggestedCacheSize","_updateLocation","normalizedScaleValue","pdfOpenParams","currentPageView","topLeft","intLeft","intTop","containsElement","currentlyVisiblePages","getPageTextContent","normalizeWhitespace","createTextLayerBuilder","findController","createAnnotationLayerBuilder","setFindController","isFirstPagePortrait","isPortraitOrientation","pagesRotation","firstPageView","intent","dontFlip","AnnotationLayer","annotations","removeFromDOM","_resetZoomLayer","zoomLayerCanvas","keepZoomLayer","keepAnnotations","currentZoomLayerNode","currentAnnotationNode","isScalingRestricted","cancelRendering","redrawAnnotations","relativeRotation","absRotation","scaleX","scaleY","CustomStyle","textLayerViewport","textRelativeRotation","textAbsRotation","textLayerDiv","transX","transY","getPagePoint","canvasWrapper","textLayer","finishPaintTask","paintTask","resultPromise","readableStream","paintOnCanvas","onRenderContinue","cancel","isCanvasHidden","showCanvas","actualSizeViewport","pixelsInViewport","maxScale","sfx","approximateFraction","sfy","roundToDivide","transform","paintOnSvg","cancelled","ensureNotCancelled","svgGfx","svg","wrapper","EXPAND_DIVS_TIMEOUT","endOfContent","numTextDivs","textLayerFrag","textContentStream","textDivs","textContentItemsStr","setTextContentStream","setTextContent","convertMatches","iIndex","end","ret","m","begin","divIdx","renderMatches","prevEnd","isSelectedPage","selectedMatchIdx","infinity","appendTextToDiv","span","i0","i1","isSelected","highlightSuffix","beginText","n0","n1","clearedUntilDivIdx","n","pageMatches","pageMatchesLength","expandDivsTimer","adjustTop","divBounds","eventName","eventDetails","lastPage","pageRotateCw","pageRotateCcw","setPageNumber","setPagesCount","details","_bindCursorToolsListener","buttons","PAGE_NUMBER_LOADING_INDICATOR","SCALE_SELECT_CONTAINER_PADDING","SCALE_SELECT_PADDING","setPageScale","self","resetNumPages","_updateUIState","scaleValue","customScale","predefinedValueFound","option","updateLoadingIndicatorState","pageNumberInput","select","DEFAULT_VIEW_HISTORY_CACHE_SIZE","cacheSize","database","databaseStr","length","branch","localStorage","set","setMultiple","properties","getMultiple","GenericCom","_writeToStorage","_readFromStorage","readPrefs","GenericExternalServices","defaultPreferences","valueType","defaultType","defaultValue","prefValue","padCharacter","downloadUrl","createValidAbsoluteUrl","downloadData","type","webL10n","gL10nData","gTextData","gTextProp","gLanguage","gMacros","gReadyState","gAsyncResourceLoading","l10nId","l10nArgs","evtObject","onSuccess","onFailure","baseURL","text","dictionary","reBlank","reComment","reSection","reImport","reSplit","entries","rawText","currentLang","genericLang","lang","skipLang","loadImport","tmp","evalString","xhrLoadText","parseRawLines","parsedPropertiesCallback","parseProperties","langLinks","langCount","dict","defaultLocale","anyCaseLang","fireL10nReadyEvent","onResourceLoaded","gResourceCount","link","parseResource","resource","locales2rules","list","start","pluralRules","isBetween","getPluralRules","rv","substIndexes","substArguments","reIndex","reMatch","macroName","paramName","macro","reArgs","getL10nAttributes","getL10nData","getChildElementCount","children","l","textNode","count","getTranslatableChildren","elementCount","translateElement","getData","getText","getLanguage","setLanguage","loadLocale","getDirection","rtlList","shortCode","getReadyState","ready","activeService","scratchCanvas","PRINT_RESOLUTION","PRINT_UNITS","PDFPrintService","layout","body","hasEqualPageSizes","pageSize","destroy","ensureOverlay","renderPages","pageCount","renderNextPage","renderProgress","renderPage","useRenderedPage","printItem","performPrint","throwIfInactive","activeServiceOnEntry","progressContainer","progressBar","progressPerc","hasAttachEvent","stopPropagationIfNeeded","overlayPromise"],"mappings":";;;;;;;;;;;;;;;;AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;AAEA;AACA;;;;;;;;;;;;;;;;;;;;;;;AC5CA,IAAMA,YAAY,OAjBlB,IAiBA;AACA,IAAMC,sBAlBN,MAkBA;AACA,IAAMC,gBAnBN,GAmBA;AACA,IAAMC,YApBN,IAoBA;AACA,IAAMC,YArBN,IAqBA;AACA,IAAMC,gBAtBN,CAsBA;AACA,IAAMC,iBAvBN,IAuBA;AACA,IAAMC,oBAxBN,EAwBA;AACA,IAAMC,mBAzBN,CAyBA;AAEA,IAAMC,wBAAwB;AAC5BC,WAD4B;AAE5BC,UAF4B;AAG5BC,YAH4B;AAI5BC,cAJ4B;AAAA,CAA9B;AAOA,IAAMC,eAAe;AACnBC,UADmB;AAEnBC,OAFmB;AAAA,CAArB;AAMA,qCAAqC;AACnC,MAAI,CAAJ,MAAW;AACT,WADS,IACT;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B;AAKAjI,yCAR6B,uBAQ7BA;AACAA,wCAT6B,uBAS7BA;AAvTF;AA0TA,IA1TA,uBA0TA;AACA,yBAAyB;AACvB,MAAI,CAAJ,gBAAqB;AACnBwM,qBAAiBrB,0BADE,cACnBqB;AACA,QAAI,CAAJ,gBAAqB;AACnB,YAAM,UADa,mDACb,CAAN;AAHiB;AAMnB+2B,qBAAiB/2B,+CACftF,wBADesF,qBACftF,CADesF,SANE,IAMFA,CAAjB+2B;AAEAr8B,qDARmB,KAQnBA;AATqB;AAWvB,SAXuB,cAWvB;AAtUF;AAyUAiI,uCAAkC;AAChC6I,oBADgC;AAGhCC,oBAHgC,8BAGhCA,WAHgC,EAGhCA,aAHgC,EAGhCA,cAHgC,EAGhCA,IAHgC,EAGqC;AACnE,uBAAmB;AACjB,YAAM,UADW,0CACX,CAAN;AAFiE;AAInE4pB,oBAAgB,gEAJmD,IAInD,CAAhBA;AAEA,WANmE,aAMnE;AAT8B;AAAA,CAAlC1yB;QAaA,e,GAAA,e","file":"viewer.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 8);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap c19735b38b57691ed7df","/* Copyright 2012 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { createPromiseCapability, PDFJS } from 'pdfjs-lib';\n\nconst CSS_UNITS = 96.0 / 72.0;\nconst DEFAULT_SCALE_VALUE = 'auto';\nconst DEFAULT_SCALE = 1.0;\nconst MIN_SCALE = 0.25;\nconst MAX_SCALE = 10.0;\nconst UNKNOWN_SCALE = 0;\nconst MAX_AUTO_SCALE = 1.25;\nconst SCROLLBAR_PADDING = 40;\nconst VERTICAL_PADDING = 5;\n\nconst PresentationModeState = {\n UNKNOWN: 0,\n NORMAL: 1,\n CHANGING: 2,\n FULLSCREEN: 3,\n};\n\nconst RendererType = {\n CANVAS: 'canvas',\n SVG: 'svg',\n};\n\n// Replaces {{arguments}} with their values.\nfunction formatL10nValue(text, args) {\n if (!args) {\n return text;\n }\n return text.replace(/\\{\\{\\s*(\\w+)\\s*\\}\\}/g, (all, name) => {\n return (name in args ? args[name] : '{{' + name + '}}');\n });\n}\n\n/**\n * No-op implemetation of the localization service.\n * @implements {IL10n}\n */\nlet NullL10n = {\n get(property, args, fallback) {\n return Promise.resolve(formatL10nValue(fallback, args));\n },\n\n translate(element) {\n return Promise.resolve();\n },\n};\n\n/**\n * Disables fullscreen support, and by extension Presentation Mode,\n * in browsers which support the fullscreen API.\n * @var {boolean}\n */\nPDFJS.disableFullscreen = (PDFJS.disableFullscreen === undefined ?\n false : PDFJS.disableFullscreen);\n\n/**\n * Enables CSS only zooming.\n * @var {boolean}\n */\nPDFJS.useOnlyCssZoom = (PDFJS.useOnlyCssZoom === undefined ?\n false : PDFJS.useOnlyCssZoom);\n\n/**\n * The maximum supported canvas size in total pixels e.g. width * height.\n * The default value is 4096 * 4096. Use -1 for no limit.\n * @var {number}\n */\nPDFJS.maxCanvasPixels = (PDFJS.maxCanvasPixels === undefined ?\n 16777216 : PDFJS.maxCanvasPixels);\n\n/**\n * Disables saving of the last position of the viewed PDF.\n * @var {boolean}\n */\nPDFJS.disableHistory = (PDFJS.disableHistory === undefined ?\n false : PDFJS.disableHistory);\n\n/**\n * Disables creation of the text layer that used for text selection and search.\n * @var {boolean}\n */\nPDFJS.disableTextLayer = (PDFJS.disableTextLayer === undefined ?\n false : PDFJS.disableTextLayer);\n\n/**\n * Disables maintaining the current position in the document when zooming.\n */\nPDFJS.ignoreCurrentPositionOnZoom = (PDFJS.ignoreCurrentPositionOnZoom ===\n undefined ? false : PDFJS.ignoreCurrentPositionOnZoom);\n\nif (typeof PDFJSDev === 'undefined' ||\n !PDFJSDev.test('FIREFOX || MOZCENTRAL')) {\n /**\n * Interface locale settings.\n * @var {string}\n */\n PDFJS.locale =\n (PDFJS.locale === undefined && typeof navigator !== 'undefined' ?\n navigator.language : PDFJS.locale);\n}\n\n/**\n * Returns scale factor for the canvas. It makes sense for the HiDPI displays.\n * @return {Object} The object with horizontal (sx) and vertical (sy)\n scales. The scaled property is set to false if scaling is\n not required, true otherwise.\n */\nfunction getOutputScale(ctx) {\n let devicePixelRatio = window.devicePixelRatio || 1;\n let backingStoreRatio = ctx.webkitBackingStorePixelRatio ||\n ctx.mozBackingStorePixelRatio ||\n ctx.msBackingStorePixelRatio ||\n ctx.oBackingStorePixelRatio ||\n ctx.backingStorePixelRatio || 1;\n let pixelRatio = devicePixelRatio / backingStoreRatio;\n return {\n sx: pixelRatio,\n sy: pixelRatio,\n scaled: pixelRatio !== 1,\n };\n}\n\n/**\n * Scrolls specified element into view of its parent.\n * @param {Object} element - The element to be visible.\n * @param {Object} spot - An object with optional top and left properties,\n * specifying the offset from the top left edge.\n * @param {boolean} skipOverflowHiddenElements - Ignore elements that have\n * the CSS rule `overflow: hidden;` set. The default is false.\n */\nfunction scrollIntoView(element, spot, skipOverflowHiddenElements = false) {\n // Assuming offsetParent is available (it's not available when viewer is in\n // hidden iframe or object). We have to scroll: if the offsetParent is not set\n // producing the error. See also animationStarted.\n let parent = element.offsetParent;\n if (!parent) {\n console.error('offsetParent is not set -- cannot scroll');\n return;\n }\n let offsetY = element.offsetTop + element.clientTop;\n let offsetX = element.offsetLeft + element.clientLeft;\n while (parent.clientHeight === parent.scrollHeight ||\n (skipOverflowHiddenElements &&\n getComputedStyle(parent).overflow === 'hidden')) {\n if (parent.dataset._scaleY) {\n offsetY /= parent.dataset._scaleY;\n offsetX /= parent.dataset._scaleX;\n }\n offsetY += parent.offsetTop;\n offsetX += parent.offsetLeft;\n parent = parent.offsetParent;\n if (!parent) {\n return; // no need to scroll\n }\n }\n if (spot) {\n if (spot.top !== undefined) {\n offsetY += spot.top;\n }\n if (spot.left !== undefined) {\n offsetX += spot.left;\n parent.scrollLeft = offsetX;\n }\n }\n parent.scrollTop = offsetY;\n}\n\n/**\n * Helper function to start monitoring the scroll event and converting them into\n * PDF.js friendly one: with scroll debounce and scroll direction.\n */\nfunction watchScroll(viewAreaElement, callback) {\n let debounceScroll = function(evt) {\n if (rAF) {\n return;\n }\n // schedule an invocation of scroll for next animation frame.\n rAF = window.requestAnimationFrame(function viewAreaElementScrolled() {\n rAF = null;\n\n let currentY = viewAreaElement.scrollTop;\n let lastY = state.lastY;\n if (currentY !== lastY) {\n state.down = currentY > lastY;\n }\n state.lastY = currentY;\n callback(state);\n });\n };\n\n let state = {\n down: true,\n lastY: viewAreaElement.scrollTop,\n _eventHandler: debounceScroll,\n };\n\n let rAF = null;\n viewAreaElement.addEventListener('scroll', debounceScroll, true);\n return state;\n}\n\n/**\n * Helper function to parse query string (e.g. ?param1=value&parm2=...).\n */\nfunction parseQueryString(query) {\n let parts = query.split('&');\n let params = Object.create(null);\n for (let i = 0, ii = parts.length; i < ii; ++i) {\n let param = parts[i].split('=');\n let key = param[0].toLowerCase();\n let value = param.length > 1 ? param[1] : null;\n params[decodeURIComponent(key)] = decodeURIComponent(value);\n }\n return params;\n}\n\n/**\n * Use binary search to find the index of the first item in a given array which\n * passes a given condition. The items are expected to be sorted in the sense\n * that if the condition is true for one item in the array, then it is also true\n * for all following items.\n *\n * @returns {Number} Index of the first array element to pass the test,\n * or |items.length| if no such element exists.\n */\nfunction binarySearchFirstItem(items, condition) {\n let minIndex = 0;\n let maxIndex = items.length - 1;\n\n if (items.length === 0 || !condition(items[maxIndex])) {\n return items.length;\n }\n if (condition(items[minIndex])) {\n return minIndex;\n }\n\n while (minIndex < maxIndex) {\n let currentIndex = (minIndex + maxIndex) >> 1;\n let currentItem = items[currentIndex];\n if (condition(currentItem)) {\n maxIndex = currentIndex;\n } else {\n minIndex = currentIndex + 1;\n }\n }\n return minIndex; /* === maxIndex */\n}\n\n/**\n * Approximates float number as a fraction using Farey sequence (max order\n * of 8).\n * @param {number} x - Positive float number.\n * @returns {Array} Estimated fraction: the first array item is a numerator,\n * the second one is a denominator.\n */\nfunction approximateFraction(x) {\n // Fast paths for int numbers or their inversions.\n if (Math.floor(x) === x) {\n return [x, 1];\n }\n let xinv = 1 / x;\n let limit = 8;\n if (xinv > limit) {\n return [1, limit];\n } else if (Math.floor(xinv) === xinv) {\n return [1, xinv];\n }\n\n let x_ = x > 1 ? xinv : x;\n // a/b and c/d are neighbours in Farey sequence.\n let a = 0, b = 1, c = 1, d = 1;\n // Limiting search to order 8.\n while (true) {\n // Generating next term in sequence (order of q).\n let p = a + c, q = b + d;\n if (q > limit) {\n break;\n }\n if (x_ <= p / q) {\n c = p; d = q;\n } else {\n a = p; b = q;\n }\n }\n let result;\n // Select closest of the neighbours to x.\n if (x_ - a / b < c / d - x_) {\n result = x_ === x ? [a, b] : [b, a];\n } else {\n result = x_ === x ? [c, d] : [d, c];\n }\n return result;\n}\n\nfunction roundToDivide(x, div) {\n let r = x % div;\n return r === 0 ? x : Math.round(x - r + div);\n}\n\n/**\n * Generic helper to find out what elements are visible within a scroll pane.\n */\nfunction getVisibleElements(scrollEl, views, sortByVisibility = false) {\n let top = scrollEl.scrollTop, bottom = top + scrollEl.clientHeight;\n let left = scrollEl.scrollLeft, right = left + scrollEl.clientWidth;\n\n function isElementBottomBelowViewTop(view) {\n let element = view.div;\n let elementBottom =\n element.offsetTop + element.clientTop + element.clientHeight;\n return elementBottom > top;\n }\n\n let visible = [], view, element;\n let currentHeight, viewHeight, hiddenHeight, percentHeight;\n let currentWidth, viewWidth;\n let firstVisibleElementInd = views.length === 0 ? 0 :\n binarySearchFirstItem(views, isElementBottomBelowViewTop);\n\n for (let i = firstVisibleElementInd, ii = views.length; i < ii; i++) {\n view = views[i];\n element = view.div;\n currentHeight = element.offsetTop + element.clientTop;\n viewHeight = element.clientHeight;\n\n if (currentHeight > bottom) {\n break;\n }\n\n currentWidth = element.offsetLeft + element.clientLeft;\n viewWidth = element.clientWidth;\n if (currentWidth + viewWidth < left || currentWidth > right) {\n continue;\n }\n hiddenHeight = Math.max(0, top - currentHeight) +\n Math.max(0, currentHeight + viewHeight - bottom);\n percentHeight = ((viewHeight - hiddenHeight) * 100 / viewHeight) | 0;\n\n visible.push({\n id: view.id,\n x: currentWidth,\n y: currentHeight,\n view,\n percent: percentHeight,\n });\n }\n\n let first = visible[0];\n let last = visible[visible.length - 1];\n\n if (sortByVisibility) {\n visible.sort(function(a, b) {\n let pc = a.percent - b.percent;\n if (Math.abs(pc) > 0.001) {\n return -pc;\n }\n return a.id - b.id; // ensure stability\n });\n }\n return { first, last, views: visible, };\n}\n\n/**\n * Event handler to suppress context menu.\n */\nfunction noContextMenuHandler(evt) {\n evt.preventDefault();\n}\n\nfunction isDataSchema(url) {\n let i = 0, ii = url.length;\n while (i < ii && url[i].trim() === '') {\n i++;\n }\n return url.substr(i, 5).toLowerCase() === 'data:';\n}\n\n/**\n * Returns the filename or guessed filename from the url (see issue 3455).\n * @param {string} url - The original PDF location.\n * @param {string} defaultFilename - The value returned if the filename is\n * unknown, or the protocol is unsupported.\n * @returns {string} Guessed PDF filename.\n */\nfunction getPDFFileNameFromURL(url, defaultFilename = 'document.pdf') {\n if (isDataSchema(url)) {\n console.warn('getPDFFileNameFromURL: ' +\n 'ignoring \"data:\" URL for performance reasons.');\n return defaultFilename;\n }\n const reURI = /^(?:(?:[^:]+:)?\\/\\/[^\\/]+)?([^?#]*)(\\?[^#]*)?(#.*)?$/;\n // SCHEME HOST 1.PATH 2.QUERY 3.REF\n // Pattern to get last matching NAME.pdf\n const reFilename = /[^\\/?#=]+\\.pdf\\b(?!.*\\.pdf\\b)/i;\n let splitURI = reURI.exec(url);\n let suggestedFilename = reFilename.exec(splitURI[1]) ||\n reFilename.exec(splitURI[2]) ||\n reFilename.exec(splitURI[3]);\n if (suggestedFilename) {\n suggestedFilename = suggestedFilename[0];\n if (suggestedFilename.indexOf('%') !== -1) {\n // URL-encoded %2Fpath%2Fto%2Ffile.pdf should be file.pdf\n try {\n suggestedFilename =\n reFilename.exec(decodeURIComponent(suggestedFilename))[0];\n } catch (ex) { // Possible (extremely rare) errors:\n // URIError \"Malformed URI\", e.g. for \"%AA.pdf\"\n // TypeError \"null has no properties\", e.g. for \"%2F.pdf\"\n }\n }\n }\n return suggestedFilename || defaultFilename;\n}\n\nfunction normalizeWheelEventDelta(evt) {\n let delta = Math.sqrt(evt.deltaX * evt.deltaX + evt.deltaY * evt.deltaY);\n let angle = Math.atan2(evt.deltaY, evt.deltaX);\n if (-0.25 * Math.PI < angle && angle < 0.75 * Math.PI) {\n // All that is left-up oriented has to change the sign.\n delta = -delta;\n }\n\n const MOUSE_DOM_DELTA_PIXEL_MODE = 0;\n const MOUSE_DOM_DELTA_LINE_MODE = 1;\n const MOUSE_PIXELS_PER_LINE = 30;\n const MOUSE_LINES_PER_PAGE = 30;\n\n // Converts delta to per-page units\n if (evt.deltaMode === MOUSE_DOM_DELTA_PIXEL_MODE) {\n delta /= MOUSE_PIXELS_PER_LINE * MOUSE_LINES_PER_PAGE;\n } else if (evt.deltaMode === MOUSE_DOM_DELTA_LINE_MODE) {\n delta /= MOUSE_LINES_PER_PAGE;\n }\n return delta;\n}\n\nfunction isValidRotation(angle) {\n return Number.isInteger(angle) && angle % 90 === 0;\n}\n\nfunction cloneObj(obj) {\n let result = Object.create(null);\n for (let i in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, i)) {\n result[i] = obj[i];\n }\n }\n return result;\n}\n\nconst WaitOnType = {\n EVENT: 'event',\n TIMEOUT: 'timeout',\n};\n\n/**\n * @typedef {Object} WaitOnEventOrTimeoutParameters\n * @property {Object} target - The event target, can for example be:\n * `window`, `document`, a DOM element, or an {EventBus} instance.\n * @property {string} name - The name of the event.\n * @property {number} delay - The delay, in milliseconds, after which the\n * timeout occurs (if the event wasn't already dispatched).\n */\n\n/**\n * Allows waiting for an event or a timeout, whichever occurs first.\n * Can be used to ensure that an action always occurs, even when an event\n * arrives late or not at all.\n *\n * @param {WaitOnEventOrTimeoutParameters}\n * @returns {Promise} A promise that is resolved with a {WaitOnType} value.\n */\nfunction waitOnEventOrTimeout({ target, name, delay = 0, }) {\n if (typeof target !== 'object' || !(name && typeof name === 'string') ||\n !(Number.isInteger(delay) && delay >= 0)) {\n return Promise.reject(\n new Error('waitOnEventOrTimeout - invalid paramaters.'));\n }\n let capability = createPromiseCapability();\n\n function handler(type) {\n if (target instanceof EventBus) {\n target.off(name, eventHandler);\n } else {\n target.removeEventListener(name, eventHandler);\n }\n\n if (timeout) {\n clearTimeout(timeout);\n }\n capability.resolve(type);\n }\n\n let eventHandler = handler.bind(null, WaitOnType.EVENT);\n if (target instanceof EventBus) {\n target.on(name, eventHandler);\n } else {\n target.addEventListener(name, eventHandler);\n }\n\n let timeoutHandler = handler.bind(null, WaitOnType.TIMEOUT);\n let timeout = setTimeout(timeoutHandler, delay);\n\n return capability.promise;\n}\n\n/**\n * Promise that is resolved when DOM window becomes visible.\n */\nlet animationStarted = new Promise(function (resolve) {\n window.requestAnimationFrame(resolve);\n});\n\n/**\n * (deprecated) External localization service.\n */\nlet mozL10n;\n\n/**\n * (deprecated) Promise that is resolved when UI localization is finished.\n */\nlet localized = Promise.resolve();\n\n/**\n * Simple event bus for an application. Listeners are attached using the\n * `on` and `off` methods. To raise an event, the `dispatch` method shall be\n * used.\n */\nclass EventBus {\n constructor() {\n this._listeners = Object.create(null);\n }\n\n on(eventName, listener) {\n let eventListeners = this._listeners[eventName];\n if (!eventListeners) {\n eventListeners = [];\n this._listeners[eventName] = eventListeners;\n }\n eventListeners.push(listener);\n }\n\n off(eventName, listener) {\n let eventListeners = this._listeners[eventName];\n let i;\n if (!eventListeners || ((i = eventListeners.indexOf(listener)) < 0)) {\n return;\n }\n eventListeners.splice(i, 1);\n }\n\n dispatch(eventName) {\n let eventListeners = this._listeners[eventName];\n if (!eventListeners || eventListeners.length === 0) {\n return;\n }\n // Passing all arguments after the eventName to the listeners.\n let args = Array.prototype.slice.call(arguments, 1);\n // Making copy of the listeners array in case if it will be modified\n // during dispatch.\n eventListeners.slice(0).forEach(function (listener) {\n listener.apply(null, args);\n });\n }\n}\n\nfunction clamp(v, min, max) {\n return Math.min(Math.max(v, min), max);\n}\n\nclass ProgressBar {\n constructor(id, { height, width, units, } = {}) {\n this.visible = true;\n\n // Fetch the sub-elements for later.\n this.div = document.querySelector(id + ' .progress');\n // Get the loading bar element, so it can be resized to fit the viewer.\n this.bar = this.div.parentNode;\n\n // Get options, with sensible defaults.\n this.height = height || 100;\n this.width = width || 100;\n this.units = units || '%';\n\n // Initialize heights.\n this.div.style.height = this.height + this.units;\n this.percent = 0;\n }\n\n _updateBar() {\n if (this._indeterminate) {\n this.div.classList.add('indeterminate');\n this.div.style.width = this.width + this.units;\n return;\n }\n\n this.div.classList.remove('indeterminate');\n let progressSize = this.width * this._percent / 100;\n this.div.style.width = progressSize + this.units;\n }\n\n get percent() {\n return this._percent;\n }\n\n set percent(val) {\n this._indeterminate = isNaN(val);\n this._percent = clamp(val, 0, 100);\n this._updateBar();\n }\n\n setWidth(viewer) {\n if (!viewer) {\n return;\n }\n let container = viewer.parentNode;\n let scrollbarWidth = container.offsetWidth - viewer.offsetWidth;\n if (scrollbarWidth > 0) {\n this.bar.setAttribute('style', 'width: calc(100% - ' +\n scrollbarWidth + 'px);');\n }\n }\n\n hide() {\n if (!this.visible) {\n return;\n }\n this.visible = false;\n this.bar.classList.add('hidden');\n document.body.classList.remove('loadingInProgress');\n }\n\n show() {\n if (this.visible) {\n return;\n }\n this.visible = true;\n document.body.classList.add('loadingInProgress');\n this.bar.classList.remove('hidden');\n }\n}\n\nexport {\n CSS_UNITS,\n DEFAULT_SCALE_VALUE,\n DEFAULT_SCALE,\n MIN_SCALE,\n MAX_SCALE,\n UNKNOWN_SCALE,\n MAX_AUTO_SCALE,\n SCROLLBAR_PADDING,\n VERTICAL_PADDING,\n isValidRotation,\n cloneObj,\n PresentationModeState,\n RendererType,\n mozL10n,\n NullL10n,\n EventBus,\n ProgressBar,\n getPDFFileNameFromURL,\n noContextMenuHandler,\n parseQueryString,\n getVisibleElements,\n roundToDivide,\n approximateFraction,\n getOutputScale,\n scrollIntoView,\n watchScroll,\n binarySearchFirstItem,\n normalizeWheelEventDelta,\n animationStarted,\n localized,\n WaitOnType,\n waitOnEventOrTimeout,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/ui_utils.js","/* Copyright 2016 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/* globals module, __non_webpack_require__ */\n\n'use strict';\n\nvar pdfjsLib;\nif (typeof window !== 'undefined' && window['pdfjs-dist/build/pdf']) {\n pdfjsLib = window['pdfjs-dist/build/pdf'];\n} else {\n pdfjsLib = __non_webpack_require__('../build/pdf.js');\n}\nmodule.exports = pdfjsLib;\n\n\n\n// WEBPACK FOOTER //\n// web/pdfjs.js","/* Copyright 2016 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { EventBus } from './ui_utils';\n\n// Attaching to the application event bus to dispatch events to the DOM for\n// backwards viewer API compatibility.\nfunction attachDOMEventsToEventBus(eventBus) {\n eventBus.on('documentload', function() {\n let event = document.createEvent('CustomEvent');\n event.initCustomEvent('documentload', true, true, {});\n window.dispatchEvent(event);\n });\n eventBus.on('pagerendered', function(evt) {\n let event = document.createEvent('CustomEvent');\n event.initCustomEvent('pagerendered', true, true, {\n pageNumber: evt.pageNumber,\n cssTransform: evt.cssTransform,\n });\n evt.source.div.dispatchEvent(event);\n });\n eventBus.on('textlayerrendered', function(evt) {\n let event = document.createEvent('CustomEvent');\n event.initCustomEvent('textlayerrendered', true, true, {\n pageNumber: evt.pageNumber,\n });\n evt.source.textLayerDiv.dispatchEvent(event);\n });\n eventBus.on('pagechange', function(evt) {\n let event = document.createEvent('UIEvents');\n event.initUIEvent('pagechange', true, true, window, 0);\n event.pageNumber = evt.pageNumber;\n evt.source.container.dispatchEvent(event);\n });\n eventBus.on('pagesinit', function(evt) {\n let event = document.createEvent('CustomEvent');\n event.initCustomEvent('pagesinit', true, true, null);\n evt.source.container.dispatchEvent(event);\n });\n eventBus.on('pagesloaded', function(evt) {\n let event = document.createEvent('CustomEvent');\n event.initCustomEvent('pagesloaded', true, true, {\n pagesCount: evt.pagesCount,\n });\n evt.source.container.dispatchEvent(event);\n });\n eventBus.on('scalechange', function(evt) {\n let event = document.createEvent('UIEvents');\n event.initUIEvent('scalechange', true, true, window, 0);\n event.scale = evt.scale;\n event.presetValue = evt.presetValue;\n evt.source.container.dispatchEvent(event);\n });\n eventBus.on('updateviewarea', function(evt) {\n let event = document.createEvent('UIEvents');\n event.initUIEvent('updateviewarea', true, true, window, 0);\n event.location = evt.location;\n evt.source.container.dispatchEvent(event);\n });\n eventBus.on('find', function(evt) {\n if (evt.source === window) {\n return; // event comes from FirefoxCom, no need to replicate\n }\n let event = document.createEvent('CustomEvent');\n event.initCustomEvent('find' + evt.type, true, true, {\n query: evt.query,\n phraseSearch: evt.phraseSearch,\n caseSensitive: evt.caseSensitive,\n highlightAll: evt.highlightAll,\n findPrevious: evt.findPrevious,\n });\n window.dispatchEvent(event);\n });\n eventBus.on('attachmentsloaded', function(evt) {\n let event = document.createEvent('CustomEvent');\n event.initCustomEvent('attachmentsloaded', true, true, {\n attachmentsCount: evt.attachmentsCount,\n });\n evt.source.container.dispatchEvent(event);\n });\n eventBus.on('sidebarviewchanged', function(evt) {\n let event = document.createEvent('CustomEvent');\n event.initCustomEvent('sidebarviewchanged', true, true, {\n view: evt.view,\n });\n evt.source.outerContainer.dispatchEvent(event);\n });\n eventBus.on('pagemode', function(evt) {\n let event = document.createEvent('CustomEvent');\n event.initCustomEvent('pagemode', true, true, {\n mode: evt.mode,\n });\n evt.source.pdfViewer.container.dispatchEvent(event);\n });\n eventBus.on('namedaction', function(evt) {\n let event = document.createEvent('CustomEvent');\n event.initCustomEvent('namedaction', true, true, {\n action: evt.action,\n });\n evt.source.pdfViewer.container.dispatchEvent(event);\n });\n eventBus.on('presentationmodechanged', function(evt) {\n let event = document.createEvent('CustomEvent');\n event.initCustomEvent('presentationmodechanged', true, true, {\n active: evt.active,\n switchInProgress: evt.switchInProgress,\n });\n window.dispatchEvent(event);\n });\n eventBus.on('outlineloaded', function(evt) {\n let event = document.createEvent('CustomEvent');\n event.initCustomEvent('outlineloaded', true, true, {\n outlineCount: evt.outlineCount,\n });\n evt.source.container.dispatchEvent(event);\n });\n}\n\nlet globalEventBus = null;\nfunction getGlobalEventBus() {\n if (globalEventBus) {\n return globalEventBus;\n }\n globalEventBus = new EventBus();\n attachDOMEventsToEventBus(globalEventBus);\n return globalEventBus;\n}\n\nexport {\n attachDOMEventsToEventBus,\n getGlobalEventBus,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/dom_events.js","/* Copyright 2012 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nconst CLEANUP_TIMEOUT = 30000;\n\nconst RenderingStates = {\n INITIAL: 0,\n RUNNING: 1,\n PAUSED: 2,\n FINISHED: 3,\n};\n\n/**\n * Controls rendering of the views for pages and thumbnails.\n */\nclass PDFRenderingQueue {\n constructor() {\n this.pdfViewer = null;\n this.pdfThumbnailViewer = null;\n this.onIdle = null;\n this.highestPriorityPage = null;\n this.idleTimeout = null;\n this.printing = false;\n this.isThumbnailViewEnabled = false;\n }\n\n /**\n * @param {PDFViewer} pdfViewer\n */\n setViewer(pdfViewer) {\n this.pdfViewer = pdfViewer;\n }\n\n /**\n * @param {PDFThumbnailViewer} pdfThumbnailViewer\n */\n setThumbnailViewer(pdfThumbnailViewer) {\n this.pdfThumbnailViewer = pdfThumbnailViewer;\n }\n\n /**\n * @param {IRenderableView} view\n * @returns {boolean}\n */\n isHighestPriority(view) {\n return this.highestPriorityPage === view.renderingId;\n }\n\n /**\n * @param {Object} currentlyVisiblePages\n */\n renderHighestPriority(currentlyVisiblePages) {\n if (this.idleTimeout) {\n clearTimeout(this.idleTimeout);\n this.idleTimeout = null;\n }\n\n // Pages have a higher priority than thumbnails, so check them first.\n if (this.pdfViewer.forceRendering(currentlyVisiblePages)) {\n return;\n }\n // No pages needed rendering, so check thumbnails.\n if (this.pdfThumbnailViewer && this.isThumbnailViewEnabled) {\n if (this.pdfThumbnailViewer.forceRendering()) {\n return;\n }\n }\n\n if (this.printing) {\n // If printing is currently ongoing do not reschedule cleanup.\n return;\n }\n\n if (this.onIdle) {\n this.idleTimeout = setTimeout(this.onIdle.bind(this), CLEANUP_TIMEOUT);\n }\n }\n\n /**\n * @param {Object} visible\n * @param {Array} views\n * @param {boolean} scrolledDown\n */\n getHighestPriority(visible, views, scrolledDown) {\n /**\n * The state has changed. Figure out which page has the highest priority to\n * render next (if any).\n *\n * Priority:\n * 1. visible pages\n * 2. if last scrolled down, the page after the visible pages, or\n * if last scrolled up, the page before the visible pages\n */\n let visibleViews = visible.views;\n\n let numVisible = visibleViews.length;\n if (numVisible === 0) {\n return false;\n }\n for (let i = 0; i < numVisible; ++i) {\n let view = visibleViews[i].view;\n if (!this.isViewFinished(view)) {\n return view;\n }\n }\n\n // All the visible views have rendered; try to render next/previous pages.\n if (scrolledDown) {\n let nextPageIndex = visible.last.id;\n // IDs start at 1, so no need to add 1.\n if (views[nextPageIndex] && !this.isViewFinished(views[nextPageIndex])) {\n return views[nextPageIndex];\n }\n } else {\n let previousPageIndex = visible.first.id - 2;\n if (views[previousPageIndex] &&\n !this.isViewFinished(views[previousPageIndex])) {\n return views[previousPageIndex];\n }\n }\n // Everything that needs to be rendered has been.\n return null;\n }\n\n /**\n * @param {IRenderableView} view\n * @returns {boolean}\n */\n isViewFinished(view) {\n return view.renderingState === RenderingStates.FINISHED;\n }\n\n /**\n * Render a page or thumbnail view. This calls the appropriate function\n * based on the views state. If the view is already rendered it will return\n * `false`.\n *\n * @param {IRenderableView} view\n */\n renderView(view) {\n switch (view.renderingState) {\n case RenderingStates.FINISHED:\n return false;\n case RenderingStates.PAUSED:\n this.highestPriorityPage = view.renderingId;\n view.resume();\n break;\n case RenderingStates.RUNNING:\n this.highestPriorityPage = view.renderingId;\n break;\n case RenderingStates.INITIAL:\n this.highestPriorityPage = view.renderingId;\n let continueRendering = () => {\n this.renderHighestPriority();\n };\n view.draw().then(continueRendering, continueRendering);\n break;\n }\n return true;\n }\n}\n\nexport {\n RenderingStates,\n PDFRenderingQueue,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/pdf_rendering_queue.js","/* Copyright 2012 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/* globals PDFBug, Stats */\n\nimport {\n animationStarted, DEFAULT_SCALE_VALUE, getPDFFileNameFromURL, isValidRotation,\n MAX_SCALE, MIN_SCALE, noContextMenuHandler, normalizeWheelEventDelta,\n parseQueryString, PresentationModeState, ProgressBar, RendererType\n} from './ui_utils';\nimport {\n build, createBlob, getDocument, getFilenameFromUrl, InvalidPDFException,\n MissingPDFException, OPS, PDFJS, shadow, UnexpectedResponseException,\n UNSUPPORTED_FEATURES, version\n} from 'pdfjs-lib';\nimport { CursorTool, PDFCursorTools } from './pdf_cursor_tools';\nimport { PDFRenderingQueue, RenderingStates } from './pdf_rendering_queue';\nimport { PDFSidebar, SidebarView } from './pdf_sidebar';\nimport { getGlobalEventBus } from './dom_events';\nimport { OverlayManager } from './overlay_manager';\nimport { PasswordPrompt } from './password_prompt';\nimport { PDFAttachmentViewer } from './pdf_attachment_viewer';\nimport { PDFDocumentProperties } from './pdf_document_properties';\nimport { PDFFindBar } from './pdf_find_bar';\nimport { PDFFindController } from './pdf_find_controller';\nimport { PDFHistory } from './pdf_history';\nimport { PDFLinkService } from './pdf_link_service';\nimport { PDFOutlineViewer } from './pdf_outline_viewer';\nimport { PDFPresentationMode } from './pdf_presentation_mode';\nimport { PDFThumbnailViewer } from './pdf_thumbnail_viewer';\nimport { PDFViewer } from './pdf_viewer';\nimport { SecondaryToolbar } from './secondary_toolbar';\nimport { Toolbar } from './toolbar';\nimport { ViewHistory } from './view_history';\n\nconst DEFAULT_SCALE_DELTA = 1.1;\nconst DISABLE_AUTO_FETCH_LOADING_BAR_TIMEOUT = 5000;\n\nfunction configure(PDFJS) {\n PDFJS.imageResourcesPath = './images/';\n if (typeof PDFJSDev !== 'undefined' &&\n PDFJSDev.test('FIREFOX || MOZCENTRAL || GENERIC || CHROME')) {\n PDFJS.workerSrc = '../build/pdf.worker.js';\n }\n if (typeof PDFJSDev === 'undefined' || !PDFJSDev.test('PRODUCTION')) {\n PDFJS.cMapUrl = '../external/bcmaps/';\n PDFJS.cMapPacked = true;\n PDFJS.workerSrc = '../src/worker_loader.js';\n PDFJS.pdfjsNext = true;\n } else {\n PDFJS.cMapUrl = '../web/cmaps/';\n PDFJS.cMapPacked = true;\n }\n}\n\nconst DefaultExternalServices = {\n updateFindControlState(data) {},\n initPassiveLoading(callbacks) {},\n fallback(data, callback) {},\n reportTelemetry(data) {},\n createDownloadManager() {\n throw new Error('Not implemented: createDownloadManager');\n },\n createPreferences() {\n throw new Error('Not implemented: createPreferences');\n },\n createL10n() {\n throw new Error('Not implemented: createL10n');\n },\n supportsIntegratedFind: false,\n supportsDocumentFonts: true,\n supportsDocumentColors: true,\n supportedMouseWheelZoomModifierKeys: {\n ctrlKey: true,\n metaKey: true,\n },\n};\n\nlet PDFViewerApplication = {\n initialBookmark: document.location.hash.substring(1),\n initialized: false,\n fellback: false,\n appConfig: null,\n pdfDocument: null,\n pdfLoadingTask: null,\n printService: null,\n /** @type {PDFViewer} */\n pdfViewer: null,\n /** @type {PDFThumbnailViewer} */\n pdfThumbnailViewer: null,\n /** @type {PDFRenderingQueue} */\n pdfRenderingQueue: null,\n /** @type {PDFPresentationMode} */\n pdfPresentationMode: null,\n /** @type {PDFDocumentProperties} */\n pdfDocumentProperties: null,\n /** @type {PDFLinkService} */\n pdfLinkService: null,\n /** @type {PDFHistory} */\n pdfHistory: null,\n /** @type {PDFSidebar} */\n pdfSidebar: null,\n /** @type {PDFOutlineViewer} */\n pdfOutlineViewer: null,\n /** @type {PDFAttachmentViewer} */\n pdfAttachmentViewer: null,\n /** @type {PDFCursorTools} */\n pdfCursorTools: null,\n /** @type {ViewHistory} */\n store: null,\n /** @type {DownloadManager} */\n downloadManager: null,\n /** @type {OverlayManager} */\n overlayManager: null,\n /** @type {Preferences} */\n preferences: null,\n /** @type {Toolbar} */\n toolbar: null,\n /** @type {SecondaryToolbar} */\n secondaryToolbar: null,\n /** @type {EventBus} */\n eventBus: null,\n /** @type {IL10n} */\n l10n: null,\n isInitialViewSet: false,\n downloadComplete: false,\n viewerPrefs: {\n sidebarViewOnLoad: SidebarView.NONE,\n pdfBugEnabled: false,\n showPreviousViewOnLoad: true,\n defaultZoomValue: '',\n disablePageMode: false,\n disablePageLabels: false,\n renderer: 'canvas',\n enhanceTextSelection: false,\n renderInteractiveForms: false,\n enablePrintAutoRotate: false,\n },\n isViewerEmbedded: (window.parent !== window),\n url: '',\n baseUrl: '',\n externalServices: DefaultExternalServices,\n _boundEvents: {},\n\n // Called once when the document is loaded.\n initialize(appConfig) {\n this.preferences = this.externalServices.createPreferences();\n\n configure(PDFJS);\n this.appConfig = appConfig;\n\n return this._readPreferences().then(() => {\n return this._initializeL10n();\n }).then(() => {\n return this._initializeViewerComponents();\n }).then(() => {\n // Bind the various event handlers *after* the viewer has been\n // initialized, to prevent errors if an event arrives too soon.\n this.bindEvents();\n this.bindWindowEvents();\n\n // We can start UI localization now.\n let appContainer = appConfig.appContainer || document.documentElement;\n this.l10n.translate(appContainer).then(() => {\n // Dispatch the 'localized' event on the `eventBus` once the viewer\n // has been fully initialized and translated.\n this.eventBus.dispatch('localized');\n });\n\n if (this.isViewerEmbedded && !PDFJS.isExternalLinkTargetSet()) {\n // Prevent external links from \"replacing\" the viewer,\n // when it's embedded in e.g. an iframe or an object.\n PDFJS.externalLinkTarget = PDFJS.LinkTarget.TOP;\n }\n\n this.initialized = true;\n });\n },\n\n /**\n * @private\n */\n _readPreferences() {\n let { preferences, viewerPrefs, } = this;\n\n return Promise.all([\n preferences.get('enableWebGL').then(function resolved(value) {\n PDFJS.disableWebGL = !value;\n }),\n preferences.get('sidebarViewOnLoad').then(function resolved(value) {\n viewerPrefs['sidebarViewOnLoad'] = value;\n }),\n preferences.get('pdfBugEnabled').then(function resolved(value) {\n viewerPrefs['pdfBugEnabled'] = value;\n }),\n preferences.get('showPreviousViewOnLoad').then(function resolved(value) {\n viewerPrefs['showPreviousViewOnLoad'] = value;\n }),\n preferences.get('defaultZoomValue').then(function resolved(value) {\n viewerPrefs['defaultZoomValue'] = value;\n }),\n preferences.get('enhanceTextSelection').then(function resolved(value) {\n viewerPrefs['enhanceTextSelection'] = value;\n }),\n preferences.get('disableTextLayer').then(function resolved(value) {\n if (PDFJS.disableTextLayer === true) {\n return;\n }\n PDFJS.disableTextLayer = value;\n }),\n preferences.get('disableRange').then(function resolved(value) {\n if (PDFJS.disableRange === true) {\n return;\n }\n PDFJS.disableRange = value;\n }),\n preferences.get('disableStream').then(function resolved(value) {\n if (PDFJS.disableStream === true) {\n return;\n }\n PDFJS.disableStream = value;\n }),\n preferences.get('disableAutoFetch').then(function resolved(value) {\n PDFJS.disableAutoFetch = value;\n }),\n preferences.get('disableFontFace').then(function resolved(value) {\n if (PDFJS.disableFontFace === true) {\n return;\n }\n PDFJS.disableFontFace = value;\n }),\n preferences.get('useOnlyCssZoom').then(function resolved(value) {\n PDFJS.useOnlyCssZoom = value;\n }),\n preferences.get('externalLinkTarget').then(function resolved(value) {\n if (PDFJS.isExternalLinkTargetSet()) {\n return;\n }\n PDFJS.externalLinkTarget = value;\n }),\n preferences.get('renderer').then(function resolved(value) {\n viewerPrefs['renderer'] = value;\n }),\n preferences.get('renderInteractiveForms').then(function resolved(value) {\n viewerPrefs['renderInteractiveForms'] = value;\n }),\n preferences.get('disablePageMode').then(function resolved(value) {\n viewerPrefs['disablePageMode'] = value;\n }),\n preferences.get('disablePageLabels').then(function resolved(value) {\n viewerPrefs['disablePageLabels'] = value;\n }),\n preferences.get('enablePrintAutoRotate').then(function resolved(value) {\n viewerPrefs['enablePrintAutoRotate'] = value;\n }),\n ]).catch(function(reason) { });\n },\n\n _initializeL10n() {\n // Locale can be changed only when special debugging flags is present in\n // the hash section of the URL, or development version of viewer is used.\n // It is not possible to change locale for Firefox extension builds.\n if (typeof PDFJSDev === 'undefined' || !PDFJSDev.test('PRODUCTION') ||\n (!PDFJSDev.test('FIREFOX || MOZCENTRAL') &&\n this.viewerPrefs['pdfBugEnabled'])) {\n let hash = document.location.hash.substring(1);\n let hashParams = parseQueryString(hash);\n if ('locale' in hashParams) {\n PDFJS.locale = hashParams['locale'];\n }\n }\n this.l10n = this.externalServices.createL10n();\n return this.l10n.getDirection().then((dir) => {\n document.getElementsByTagName('html')[0].dir = dir;\n });\n },\n\n /**\n * @private\n */\n _initializeViewerComponents() {\n let appConfig = this.appConfig;\n\n return new Promise((resolve, reject) => {\n this.overlayManager = new OverlayManager();\n\n let eventBus = appConfig.eventBus || getGlobalEventBus();\n this.eventBus = eventBus;\n\n let pdfRenderingQueue = new PDFRenderingQueue();\n pdfRenderingQueue.onIdle = this.cleanup.bind(this);\n this.pdfRenderingQueue = pdfRenderingQueue;\n\n let pdfLinkService = new PDFLinkService({\n eventBus,\n });\n this.pdfLinkService = pdfLinkService;\n\n let downloadManager = this.externalServices.createDownloadManager();\n this.downloadManager = downloadManager;\n\n let container = appConfig.mainContainer;\n let viewer = appConfig.viewerContainer;\n this.pdfViewer = new PDFViewer({\n container,\n viewer,\n eventBus,\n renderingQueue: pdfRenderingQueue,\n linkService: pdfLinkService,\n downloadManager,\n renderer: this.viewerPrefs['renderer'],\n l10n: this.l10n,\n enhanceTextSelection: this.viewerPrefs['enhanceTextSelection'],\n renderInteractiveForms: this.viewerPrefs['renderInteractiveForms'],\n enablePrintAutoRotate: this.viewerPrefs['enablePrintAutoRotate'],\n });\n pdfRenderingQueue.setViewer(this.pdfViewer);\n pdfLinkService.setViewer(this.pdfViewer);\n\n let thumbnailContainer = appConfig.sidebar.thumbnailView;\n this.pdfThumbnailViewer = new PDFThumbnailViewer({\n container: thumbnailContainer,\n renderingQueue: pdfRenderingQueue,\n linkService: pdfLinkService,\n l10n: this.l10n,\n });\n pdfRenderingQueue.setThumbnailViewer(this.pdfThumbnailViewer);\n\n this.pdfHistory = new PDFHistory({\n linkService: pdfLinkService,\n eventBus,\n });\n pdfLinkService.setHistory(this.pdfHistory);\n\n this.findController = new PDFFindController({\n pdfViewer: this.pdfViewer,\n });\n this.findController.onUpdateResultsCount = (matchCount) => {\n if (this.supportsIntegratedFind) {\n return;\n }\n this.findBar.updateResultsCount(matchCount);\n };\n this.findController.onUpdateState = (state, previous, matchCount) => {\n if (this.supportsIntegratedFind) {\n this.externalServices.updateFindControlState({\n result: state,\n findPrevious: previous,\n });\n } else {\n this.findBar.updateUIState(state, previous, matchCount);\n }\n };\n\n this.pdfViewer.setFindController(this.findController);\n\n // TODO: improve `PDFFindBar` constructor parameter passing\n let findBarConfig = Object.create(appConfig.findBar);\n findBarConfig.findController = this.findController;\n findBarConfig.eventBus = eventBus;\n this.findBar = new PDFFindBar(findBarConfig, this.l10n);\n\n this.pdfDocumentProperties =\n new PDFDocumentProperties(appConfig.documentProperties,\n this.overlayManager, this.l10n);\n\n this.pdfCursorTools = new PDFCursorTools({\n container,\n eventBus,\n preferences: this.preferences,\n });\n\n this.toolbar = new Toolbar(appConfig.toolbar, container, eventBus,\n this.l10n);\n\n this.secondaryToolbar =\n new SecondaryToolbar(appConfig.secondaryToolbar, container, eventBus);\n\n if (this.supportsFullscreen) {\n this.pdfPresentationMode = new PDFPresentationMode({\n container,\n viewer,\n pdfViewer: this.pdfViewer,\n eventBus,\n contextMenuItems: appConfig.fullscreen,\n });\n }\n\n this.passwordPrompt = new PasswordPrompt(appConfig.passwordOverlay,\n this.overlayManager, this.l10n);\n\n this.pdfOutlineViewer = new PDFOutlineViewer({\n container: appConfig.sidebar.outlineView,\n eventBus,\n linkService: pdfLinkService,\n });\n\n this.pdfAttachmentViewer = new PDFAttachmentViewer({\n container: appConfig.sidebar.attachmentsView,\n eventBus,\n downloadManager,\n });\n\n // TODO: improve `PDFSidebar` constructor parameter passing\n let sidebarConfig = Object.create(appConfig.sidebar);\n sidebarConfig.pdfViewer = this.pdfViewer;\n sidebarConfig.pdfThumbnailViewer = this.pdfThumbnailViewer;\n sidebarConfig.pdfOutlineViewer = this.pdfOutlineViewer;\n sidebarConfig.eventBus = eventBus;\n this.pdfSidebar = new PDFSidebar(sidebarConfig, this.l10n);\n this.pdfSidebar.onToggled = this.forceRendering.bind(this);\n\n resolve(undefined);\n });\n },\n\n run(config) {\n this.initialize(config).then(webViewerInitialized);\n },\n\n zoomIn(ticks) {\n let newScale = this.pdfViewer.currentScale;\n do {\n newScale = (newScale * DEFAULT_SCALE_DELTA).toFixed(2);\n newScale = Math.ceil(newScale * 10) / 10;\n newScale = Math.min(MAX_SCALE, newScale);\n } while (--ticks > 0 && newScale < MAX_SCALE);\n this.pdfViewer.currentScaleValue = newScale;\n },\n\n zoomOut(ticks) {\n let newScale = this.pdfViewer.currentScale;\n do {\n newScale = (newScale / DEFAULT_SCALE_DELTA).toFixed(2);\n newScale = Math.floor(newScale * 10) / 10;\n newScale = Math.max(MIN_SCALE, newScale);\n } while (--ticks > 0 && newScale > MIN_SCALE);\n this.pdfViewer.currentScaleValue = newScale;\n },\n\n get pagesCount() {\n return this.pdfDocument ? this.pdfDocument.numPages : 0;\n },\n\n get pageRotation() {\n return this.pdfViewer.pagesRotation;\n },\n\n set page(val) {\n this.pdfViewer.currentPageNumber = val;\n },\n\n get page() {\n return this.pdfViewer.currentPageNumber;\n },\n\n get printing() {\n return !!this.printService;\n },\n\n get supportsPrinting() {\n return PDFPrintServiceFactory.instance.supportsPrinting;\n },\n\n get supportsFullscreen() {\n let support;\n if (typeof PDFJSDev !== 'undefined' && PDFJSDev.test('MOZCENTRAL')) {\n support = document.fullscreenEnabled === true ||\n document.mozFullScreenEnabled === true;\n } else {\n let doc = document.documentElement;\n support = !!(doc.requestFullscreen || doc.mozRequestFullScreen ||\n doc.webkitRequestFullScreen || doc.msRequestFullscreen);\n\n if (document.fullscreenEnabled === false ||\n document.mozFullScreenEnabled === false ||\n document.webkitFullscreenEnabled === false ||\n document.msFullscreenEnabled === false) {\n support = false;\n }\n }\n if (support && PDFJS.disableFullscreen === true) {\n support = false;\n }\n\n return shadow(this, 'supportsFullscreen', support);\n },\n\n get supportsIntegratedFind() {\n return this.externalServices.supportsIntegratedFind;\n },\n\n get supportsDocumentFonts() {\n return this.externalServices.supportsDocumentFonts;\n },\n\n get supportsDocumentColors() {\n return this.externalServices.supportsDocumentColors;\n },\n\n get loadingBar() {\n let bar = new ProgressBar('#loadingBar');\n return shadow(this, 'loadingBar', bar);\n },\n\n get supportedMouseWheelZoomModifierKeys() {\n return this.externalServices.supportedMouseWheelZoomModifierKeys;\n },\n\n initPassiveLoading() {\n if (typeof PDFJSDev === 'undefined' ||\n !PDFJSDev.test('FIREFOX || MOZCENTRAL || CHROME')) {\n throw new Error('Not implemented: initPassiveLoading');\n }\n this.externalServices.initPassiveLoading({\n onOpenWithTransport(url, length, transport) {\n PDFViewerApplication.open(url, { range: transport, });\n\n if (length) {\n PDFViewerApplication.pdfDocumentProperties.setFileSize(length);\n }\n },\n onOpenWithData(data) {\n PDFViewerApplication.open(data);\n },\n onOpenWithURL(url, length, originalURL) {\n let file = url, args = null;\n if (length !== undefined) {\n args = { length, };\n }\n if (originalURL !== undefined) {\n file = { file: url, originalURL, };\n }\n PDFViewerApplication.open(file, args);\n },\n onError(err) {\n PDFViewerApplication.l10n.get('loading_error', null,\n 'An error occurred while loading the PDF.').then((msg) => {\n PDFViewerApplication.error(msg, err);\n });\n },\n onProgress(loaded, total) {\n PDFViewerApplication.progress(loaded / total);\n },\n });\n },\n\n setTitleUsingUrl(url) {\n this.url = url;\n this.baseUrl = url.split('#')[0];\n let title = getPDFFileNameFromURL(url, '');\n if (!title) {\n try {\n title = decodeURIComponent(getFilenameFromUrl(url)) || url;\n } catch (ex) {\n // decodeURIComponent may throw URIError,\n // fall back to using the unprocessed url in that case\n title = url;\n }\n }\n this.setTitle(title);\n },\n\n setTitle(title) {\n if (this.isViewerEmbedded) {\n // Embedded PDF viewers should not be changing their parent page's title.\n return;\n }\n document.title = title;\n },\n\n /**\n * Closes opened PDF document.\n * @returns {Promise} - Returns the promise, which is resolved when all\n * destruction is completed.\n */\n close() {\n let errorWrapper = this.appConfig.errorWrapper.container;\n errorWrapper.setAttribute('hidden', 'true');\n\n if (!this.pdfLoadingTask) {\n return Promise.resolve();\n }\n\n let promise = this.pdfLoadingTask.destroy();\n this.pdfLoadingTask = null;\n\n if (this.pdfDocument) {\n this.pdfDocument = null;\n\n this.pdfThumbnailViewer.setDocument(null);\n this.pdfViewer.setDocument(null);\n this.pdfLinkService.setDocument(null, null);\n this.pdfDocumentProperties.setDocument(null, null);\n }\n this.store = null;\n this.isInitialViewSet = false;\n this.downloadComplete = false;\n\n this.pdfSidebar.reset();\n this.pdfOutlineViewer.reset();\n this.pdfAttachmentViewer.reset();\n\n this.findController.reset();\n this.findBar.reset();\n this.toolbar.reset();\n this.secondaryToolbar.reset();\n\n if (typeof PDFBug !== 'undefined') {\n PDFBug.cleanup();\n }\n return promise;\n },\n\n /**\n * Opens PDF document specified by URL or array with additional arguments.\n * @param {string|TypedArray|ArrayBuffer} file - PDF location or binary data.\n * @param {Object} args - (optional) Additional arguments for the getDocument\n * call, e.g. HTTP headers ('httpHeaders') or\n * alternative data transport ('range').\n * @returns {Promise} - Returns the promise, which is resolved when document\n * is opened.\n */\n open(file, args) {\n if ((typeof PDFJSDev === 'undefined' || PDFJSDev.test('GENERIC')) &&\n (arguments.length > 2 || typeof args === 'number')) {\n return Promise.reject(\n new Error('Call of open() with obsolete signature.'));\n }\n if (this.pdfLoadingTask) {\n // We need to destroy already opened document.\n return this.close().then(() => {\n // Reload the preferences if a document was previously opened.\n this.preferences.reload();\n // ... and repeat the open() call.\n return this.open(file, args);\n });\n }\n\n let parameters = Object.create(null);\n if (typeof file === 'string') { // URL\n this.setTitleUsingUrl(file);\n parameters.url = file;\n } else if (file && 'byteLength' in file) { // ArrayBuffer\n parameters.data = file;\n } else if (file.url && file.originalUrl) {\n this.setTitleUsingUrl(file.originalUrl);\n parameters.url = file.url;\n }\n if (typeof PDFJSDev === 'undefined' || !PDFJSDev.test('PRODUCTION')) {\n parameters.docBaseUrl = document.URL.split('#')[0];\n } else if (typeof PDFJSDev !== 'undefined' &&\n PDFJSDev.test('FIREFOX || MOZCENTRAL || CHROME')) {\n parameters.docBaseUrl = this.baseUrl;\n }\n\n if (args) {\n for (let prop in args) {\n if ((typeof PDFJSDev === 'undefined' || !PDFJSDev.test('PDFJS_NEXT')) &&\n !PDFJS.pdfjsNext && prop === 'scale') {\n console.error('Call of open() with obsolete \"scale\" argument, ' +\n 'please use the \"defaultZoomValue\" preference instead.');\n continue;\n } else if (prop === 'length') {\n this.pdfDocumentProperties.setFileSize(args[prop]);\n }\n parameters[prop] = args[prop];\n }\n }\n\n let loadingTask = getDocument(parameters);\n this.pdfLoadingTask = loadingTask;\n\n loadingTask.onPassword = (updateCallback, reason) => {\n this.passwordPrompt.setUpdateCallback(updateCallback, reason);\n this.passwordPrompt.open();\n };\n\n loadingTask.onProgress = ({ loaded, total, }) => {\n this.progress(loaded / total);\n };\n\n // Listen for unsupported features to trigger the fallback UI.\n loadingTask.onUnsupportedFeature = this.fallback.bind(this);\n\n return loadingTask.promise.then((pdfDocument) => {\n this.load(pdfDocument);\n }, (exception) => {\n let message = exception && exception.message;\n let loadingErrorMessage;\n if (exception instanceof InvalidPDFException) {\n // change error message also for other builds\n loadingErrorMessage = this.l10n.get('invalid_file_error', null,\n 'Invalid or corrupted PDF file.');\n } else if (exception instanceof MissingPDFException) {\n // special message for missing PDF's\n loadingErrorMessage = this.l10n.get('missing_file_error', null,\n 'Missing PDF file.');\n } else if (exception instanceof UnexpectedResponseException) {\n loadingErrorMessage = this.l10n.get('unexpected_response_error', null,\n 'Unexpected server response.');\n } else {\n loadingErrorMessage = this.l10n.get('loading_error', null,\n 'An error occurred while loading the PDF.');\n }\n\n return loadingErrorMessage.then((msg) => {\n this.error(msg, { message, });\n throw new Error(msg);\n });\n });\n },\n\n download() {\n function downloadByUrl() {\n downloadManager.downloadUrl(url, filename);\n }\n\n let url = this.baseUrl;\n // Use this.url instead of this.baseUrl to perform filename detection based\n // on the reference fragment as ultimate fallback if needed.\n let filename = getPDFFileNameFromURL(this.url);\n let downloadManager = this.downloadManager;\n downloadManager.onerror = (err) => {\n // This error won't really be helpful because it's likely the\n // fallback won't work either (or is already open).\n this.error(`PDF failed to download: ${err}`);\n };\n\n // When the PDF document isn't ready, or the PDF file is still downloading,\n // simply download using the URL.\n if (!this.pdfDocument || !this.downloadComplete) {\n downloadByUrl();\n return;\n }\n\n this.pdfDocument.getData().then(function(data) {\n let blob = createBlob(data, 'application/pdf');\n downloadManager.download(blob, url, filename);\n }).catch(downloadByUrl); // Error occurred, try downloading with the URL.\n },\n\n fallback(featureId) {\n if (typeof PDFJSDev !== 'undefined' &&\n PDFJSDev.test('FIREFOX || MOZCENTRAL')) {\n // Only trigger the fallback once so we don't spam the user with messages\n // for one PDF.\n if (this.fellback) {\n return;\n }\n this.fellback = true;\n this.externalServices.fallback({\n featureId,\n url: this.baseUrl,\n }, function response(download) {\n if (!download) {\n return;\n }\n PDFViewerApplication.download();\n });\n }\n },\n\n /**\n * Show the error box.\n * @param {String} message A message that is human readable.\n * @param {Object} moreInfo (optional) Further information about the error\n * that is more technical. Should have a 'message'\n * and optionally a 'stack' property.\n */\n error(message, moreInfo) {\n let moreInfoText = [this.l10n.get('error_version_info',\n { version: version || '?', build: build || '?', },\n 'PDF.js v{{version}} (build: {{build}})')];\n if (moreInfo) {\n moreInfoText.push(\n this.l10n.get('error_message', { message: moreInfo.message, },\n 'Message: {{message}}'));\n if (moreInfo.stack) {\n moreInfoText.push(\n this.l10n.get('error_stack', { stack: moreInfo.stack, },\n 'Stack: {{stack}}'));\n } else {\n if (moreInfo.filename) {\n moreInfoText.push(\n this.l10n.get('error_file', { file: moreInfo.filename, },\n 'File: {{file}}'));\n }\n if (moreInfo.lineNumber) {\n moreInfoText.push(\n this.l10n.get('error_line', { line: moreInfo.lineNumber, },\n 'Line: {{line}}'));\n }\n }\n }\n\n if (typeof PDFJSDev === 'undefined' ||\n !PDFJSDev.test('FIREFOX || MOZCENTRAL')) {\n let errorWrapperConfig = this.appConfig.errorWrapper;\n let errorWrapper = errorWrapperConfig.container;\n errorWrapper.removeAttribute('hidden');\n\n let errorMessage = errorWrapperConfig.errorMessage;\n errorMessage.textContent = message;\n\n let closeButton = errorWrapperConfig.closeButton;\n closeButton.onclick = function() {\n errorWrapper.setAttribute('hidden', 'true');\n };\n\n let errorMoreInfo = errorWrapperConfig.errorMoreInfo;\n let moreInfoButton = errorWrapperConfig.moreInfoButton;\n let lessInfoButton = errorWrapperConfig.lessInfoButton;\n moreInfoButton.onclick = function() {\n errorMoreInfo.removeAttribute('hidden');\n moreInfoButton.setAttribute('hidden', 'true');\n lessInfoButton.removeAttribute('hidden');\n errorMoreInfo.style.height = errorMoreInfo.scrollHeight + 'px';\n };\n lessInfoButton.onclick = function() {\n errorMoreInfo.setAttribute('hidden', 'true');\n moreInfoButton.removeAttribute('hidden');\n lessInfoButton.setAttribute('hidden', 'true');\n };\n moreInfoButton.oncontextmenu = noContextMenuHandler;\n lessInfoButton.oncontextmenu = noContextMenuHandler;\n closeButton.oncontextmenu = noContextMenuHandler;\n moreInfoButton.removeAttribute('hidden');\n lessInfoButton.setAttribute('hidden', 'true');\n Promise.all(moreInfoText).then((parts) => {\n errorMoreInfo.value = parts.join('\\n');\n });\n } else {\n Promise.all(moreInfoText).then((parts) => {\n console.error(message + '\\n' + parts.join('\\n'));\n });\n this.fallback();\n }\n },\n\n progress(level) {\n if (this.downloadComplete) {\n // Don't accidentally show the loading bar again when the entire file has\n // already been fetched (only an issue when disableAutoFetch is enabled).\n return;\n }\n let percent = Math.round(level * 100);\n // When we transition from full request to range requests, it's possible\n // that we discard some of the loaded data. This can cause the loading\n // bar to move backwards. So prevent this by only updating the bar if it\n // increases.\n if (percent > this.loadingBar.percent || isNaN(percent)) {\n this.loadingBar.percent = percent;\n\n // When disableAutoFetch is enabled, it's not uncommon for the entire file\n // to never be fetched (depends on e.g. the file structure). In this case\n // the loading bar will not be completely filled, nor will it be hidden.\n // To prevent displaying a partially filled loading bar permanently, we\n // hide it when no data has been loaded during a certain amount of time.\n if (PDFJS.disableAutoFetch && percent) {\n if (this.disableAutoFetchLoadingBarTimeout) {\n clearTimeout(this.disableAutoFetchLoadingBarTimeout);\n this.disableAutoFetchLoadingBarTimeout = null;\n }\n this.loadingBar.show();\n\n this.disableAutoFetchLoadingBarTimeout = setTimeout(() => {\n this.loadingBar.hide();\n this.disableAutoFetchLoadingBarTimeout = null;\n }, DISABLE_AUTO_FETCH_LOADING_BAR_TIMEOUT);\n }\n }\n },\n\n load(pdfDocument) {\n this.pdfDocument = pdfDocument;\n\n pdfDocument.getDownloadInfo().then(() => {\n this.downloadComplete = true;\n this.loadingBar.hide();\n\n firstPagePromise.then(() => {\n this.eventBus.dispatch('documentload', { source: this, });\n });\n });\n\n // Since the `setInitialView` call below depends on this being resolved,\n // fetch it early to avoid delaying initial rendering of the PDF document.\n let pageModePromise = pdfDocument.getPageMode().catch(\n function() { /* Avoid breaking initial rendering; ignoring errors. */ });\n\n this.toolbar.setPagesCount(pdfDocument.numPages, false);\n this.secondaryToolbar.setPagesCount(pdfDocument.numPages);\n\n let id = this.documentFingerprint = pdfDocument.fingerprint;\n let store = this.store = new ViewHistory(id);\n\n let baseDocumentUrl;\n if (typeof PDFJSDev === 'undefined' || PDFJSDev.test('GENERIC')) {\n baseDocumentUrl = null;\n } else if (PDFJSDev.test('FIREFOX || MOZCENTRAL')) {\n baseDocumentUrl = this.baseUrl;\n } else if (PDFJSDev.test('CHROME')) {\n baseDocumentUrl = location.href.split('#')[0];\n }\n this.pdfLinkService.setDocument(pdfDocument, baseDocumentUrl);\n this.pdfDocumentProperties.setDocument(pdfDocument, this.url);\n\n let pdfViewer = this.pdfViewer;\n pdfViewer.setDocument(pdfDocument);\n let firstPagePromise = pdfViewer.firstPagePromise;\n let pagesPromise = pdfViewer.pagesPromise;\n let onePageRendered = pdfViewer.onePageRendered;\n\n let pdfThumbnailViewer = this.pdfThumbnailViewer;\n pdfThumbnailViewer.setDocument(pdfDocument);\n\n firstPagePromise.then((pdfPage) => {\n this.loadingBar.setWidth(this.appConfig.viewerContainer);\n\n if (!PDFJS.disableHistory && !this.isViewerEmbedded) {\n // The browsing history is only enabled when the viewer is standalone,\n // i.e. not when it is embedded in a web page.\n let resetHistory = !this.viewerPrefs['showPreviousViewOnLoad'];\n this.pdfHistory.initialize(id, resetHistory);\n\n if (this.pdfHistory.initialBookmark) {\n this.initialBookmark = this.pdfHistory.initialBookmark;\n\n this.initialRotation = this.pdfHistory.initialRotation;\n }\n }\n\n let initialParams = {\n bookmark: null,\n hash: null,\n };\n let storePromise = store.getMultiple({\n exists: false,\n page: '1',\n zoom: DEFAULT_SCALE_VALUE,\n scrollLeft: '0',\n scrollTop: '0',\n rotation: null,\n sidebarView: SidebarView.NONE,\n }).catch(() => { /* Unable to read from storage; ignoring errors. */ });\n\n Promise.all([storePromise, pageModePromise]).then(\n ([values = {}, pageMode]) => {\n // Initialize the default values, from user preferences.\n let hash = this.viewerPrefs['defaultZoomValue'] ?\n ('zoom=' + this.viewerPrefs['defaultZoomValue']) : null;\n let rotation = null;\n let sidebarView = this.viewerPrefs['sidebarViewOnLoad'];\n\n if (values.exists && this.viewerPrefs['showPreviousViewOnLoad']) {\n hash = 'page=' + values.page +\n '&zoom=' + (this.viewerPrefs['defaultZoomValue'] || values.zoom) +\n ',' + values.scrollLeft + ',' + values.scrollTop;\n rotation = parseInt(values.rotation, 10);\n sidebarView = sidebarView || (values.sidebarView | 0);\n }\n if (pageMode && !this.viewerPrefs['disablePageMode']) {\n // Always let the user preference/history take precedence.\n sidebarView = sidebarView || apiPageModeToSidebarView(pageMode);\n }\n return {\n hash,\n rotation,\n sidebarView,\n };\n }).then(({ hash, rotation, sidebarView, }) => {\n initialParams.bookmark = this.initialBookmark;\n initialParams.hash = hash;\n\n this.setInitialView(hash, { rotation, sidebarView, });\n\n // Make all navigation keys work on document load,\n // unless the viewer is embedded in a web page.\n if (!this.isViewerEmbedded) {\n pdfViewer.focus();\n }\n return pagesPromise;\n }).then(() => {\n // For documents with different page sizes, once all pages are resolved,\n // ensure that the correct location becomes visible on load.\n if (!initialParams.bookmark && !initialParams.hash) {\n return;\n }\n if (pdfViewer.hasEqualPageSizes) {\n return;\n }\n this.initialBookmark = initialParams.bookmark;\n\n pdfViewer.currentScaleValue = pdfViewer.currentScaleValue;\n this.setInitialView(initialParams.hash);\n }).then(function() {\n // At this point, rendering of the initial page(s) should always have\n // started (and may even have completed).\n // To prevent any future issues, e.g. the document being completely\n // blank on load, always trigger rendering here.\n pdfViewer.update();\n });\n });\n\n pdfDocument.getPageLabels().then((labels) => {\n if (!labels || this.viewerPrefs['disablePageLabels']) {\n return;\n }\n let i = 0, numLabels = labels.length;\n if (numLabels !== this.pagesCount) {\n console.error('The number of Page Labels does not match ' +\n 'the number of pages in the document.');\n return;\n }\n // Ignore page labels that correspond to standard page numbering.\n while (i < numLabels && labels[i] === (i + 1).toString()) {\n i++;\n }\n if (i === numLabels) {\n return;\n }\n\n pdfViewer.setPageLabels(labels);\n pdfThumbnailViewer.setPageLabels(labels);\n\n // Changing toolbar page display to use labels and we need to set\n // the label of the current page.\n this.toolbar.setPagesCount(pdfDocument.numPages, true);\n this.toolbar.setPageNumber(pdfViewer.currentPageNumber,\n pdfViewer.currentPageLabel);\n });\n\n pagesPromise.then(() => {\n if (!this.supportsPrinting) {\n return;\n }\n pdfDocument.getJavaScript().then((javaScript) => {\n if (javaScript.length === 0) {\n return;\n }\n javaScript.some((js) => {\n if (!js) { // Don't warn/fallback for empty JavaScript actions.\n return false;\n }\n console.warn('Warning: JavaScript is not supported');\n this.fallback(UNSUPPORTED_FEATURES.javaScript);\n return true;\n });\n\n // Hack to support auto printing.\n let regex = /\\bprint\\s*\\(/;\n for (let i = 0, ii = javaScript.length; i < ii; i++) {\n let js = javaScript[i];\n if (js && regex.test(js)) {\n setTimeout(function() {\n window.print();\n });\n return;\n }\n }\n });\n });\n\n Promise.all([onePageRendered, animationStarted]).then(() => {\n pdfDocument.getOutline().then((outline) => {\n this.pdfOutlineViewer.render({ outline, });\n });\n pdfDocument.getAttachments().then((attachments) => {\n this.pdfAttachmentViewer.render({ attachments, });\n });\n });\n\n pdfDocument.getMetadata().then(({ info, metadata, }) => {\n this.documentInfo = info;\n this.metadata = metadata;\n\n // Provides some basic debug information\n console.log('PDF ' + pdfDocument.fingerprint + ' [' +\n info.PDFFormatVersion + ' ' + (info.Producer || '-').trim() +\n ' / ' + (info.Creator || '-').trim() + ']' +\n ' (PDF.js: ' + (version || '-') +\n (!PDFJS.disableWebGL ? ' [WebGL]' : '') + ')');\n\n let pdfTitle;\n if (metadata && metadata.has('dc:title')) {\n let title = metadata.get('dc:title');\n // Ghostscript sometimes return 'Untitled', sets the title to 'Untitled'\n if (title !== 'Untitled') {\n pdfTitle = title;\n }\n }\n\n if (!pdfTitle && info && info['Title']) {\n pdfTitle = info['Title'];\n }\n\n if (pdfTitle) {\n this.setTitle(pdfTitle + ' - ' + document.title);\n }\n\n if (info.IsAcroFormPresent) {\n console.warn('Warning: AcroForm/XFA is not supported');\n this.fallback(UNSUPPORTED_FEATURES.forms);\n }\n\n if (typeof PDFJSDev !== 'undefined' &&\n PDFJSDev.test('FIREFOX || MOZCENTRAL')) {\n let versionId = String(info.PDFFormatVersion).slice(-1) | 0;\n let generatorId = 0;\n const KNOWN_GENERATORS = [\n 'acrobat distiller', 'acrobat pdfwriter', 'adobe livecycle',\n 'adobe pdf library', 'adobe photoshop', 'ghostscript', 'tcpdf',\n 'cairo', 'dvipdfm', 'dvips', 'pdftex', 'pdfkit', 'itext', 'prince',\n 'quarkxpress', 'mac os x', 'microsoft', 'openoffice', 'oracle',\n 'luradocument', 'pdf-xchange', 'antenna house', 'aspose.cells', 'fpdf'\n ];\n if (info.Producer) {\n KNOWN_GENERATORS.some(function (generator, s, i) {\n if (generator.indexOf(s) < 0) {\n return false;\n }\n generatorId = i + 1;\n return true;\n }.bind(null, info.Producer.toLowerCase()));\n }\n let formType = !info.IsAcroFormPresent ? null : info.IsXFAPresent ?\n 'xfa' : 'acroform';\n this.externalServices.reportTelemetry({\n type: 'documentInfo',\n version: versionId,\n generator: generatorId,\n formType,\n });\n }\n });\n },\n\n setInitialView(storedHash, { rotation, sidebarView, } = {}) {\n let setRotation = (angle) => {\n if (isValidRotation(angle)) {\n this.pdfViewer.pagesRotation = angle;\n }\n };\n this.isInitialViewSet = true;\n this.pdfSidebar.setInitialView(sidebarView);\n\n if (this.initialBookmark) {\n setRotation(this.initialRotation);\n delete this.initialRotation;\n\n this.pdfLinkService.setHash(this.initialBookmark);\n this.initialBookmark = null;\n } else if (storedHash) {\n setRotation(rotation);\n\n this.pdfLinkService.setHash(storedHash);\n }\n\n // Ensure that the correct page number is displayed in the UI,\n // even if the active page didn't change during document load.\n this.toolbar.setPageNumber(this.pdfViewer.currentPageNumber,\n this.pdfViewer.currentPageLabel);\n this.secondaryToolbar.setPageNumber(this.pdfViewer.currentPageNumber);\n\n if (!this.pdfViewer.currentScaleValue) {\n // Scale was not initialized: invalid bookmark or scale was not specified.\n // Setting the default one.\n this.pdfViewer.currentScaleValue = DEFAULT_SCALE_VALUE;\n }\n },\n\n cleanup() {\n if (!this.pdfDocument) {\n return; // run cleanup when document is loaded\n }\n this.pdfViewer.cleanup();\n this.pdfThumbnailViewer.cleanup();\n\n // We don't want to remove fonts used by active page SVGs.\n if (this.pdfViewer.renderer !== RendererType.SVG) {\n this.pdfDocument.cleanup();\n }\n },\n\n forceRendering() {\n this.pdfRenderingQueue.printing = this.printing;\n this.pdfRenderingQueue.isThumbnailViewEnabled =\n this.pdfSidebar.isThumbnailViewVisible;\n this.pdfRenderingQueue.renderHighestPriority();\n },\n\n beforePrint() {\n if (this.printService) {\n // There is no way to suppress beforePrint/afterPrint events,\n // but PDFPrintService may generate double events -- this will ignore\n // the second event that will be coming from native window.print().\n return;\n }\n\n if (!this.supportsPrinting) {\n this.l10n.get('printing_not_supported', null,\n 'Warning: Printing is not fully supported by ' +\n 'this browser.').then((printMessage) => {\n this.error(printMessage);\n });\n return;\n }\n\n // The beforePrint is a sync method and we need to know layout before\n // returning from this method. Ensure that we can get sizes of the pages.\n if (!this.pdfViewer.pageViewsReady) {\n this.l10n.get('printing_not_ready', null,\n 'Warning: The PDF is not fully loaded for printing.').\n then((notReadyMessage) => {\n window.alert(notReadyMessage);\n });\n return;\n }\n\n let pagesOverview = this.pdfViewer.getPagesOverview();\n let printContainer = this.appConfig.printContainer;\n let printService = PDFPrintServiceFactory.instance.createPrintService(\n this.pdfDocument, pagesOverview, printContainer, this.l10n);\n this.printService = printService;\n this.forceRendering();\n\n printService.layout();\n\n if (typeof PDFJSDev !== 'undefined' &&\n PDFJSDev.test('FIREFOX || MOZCENTRAL')) {\n this.externalServices.reportTelemetry({\n type: 'print',\n });\n }\n },\n\n afterPrint: function pdfViewSetupAfterPrint() {\n if (this.printService) {\n this.printService.destroy();\n this.printService = null;\n }\n this.forceRendering();\n },\n\n rotatePages(delta) {\n if (!this.pdfDocument) {\n return;\n }\n let newRotation = (this.pdfViewer.pagesRotation + 360 + delta) % 360;\n this.pdfViewer.pagesRotation = newRotation;\n // Note that the thumbnail viewer is updated, and rendering is triggered,\n // in the 'rotationchanging' event handler.\n },\n\n requestPresentationMode() {\n if (!this.pdfPresentationMode) {\n return;\n }\n this.pdfPresentationMode.request();\n },\n\n bindEvents() {\n let { eventBus, _boundEvents, } = this;\n\n _boundEvents.beforePrint = this.beforePrint.bind(this);\n _boundEvents.afterPrint = this.afterPrint.bind(this);\n\n eventBus.on('resize', webViewerResize);\n eventBus.on('hashchange', webViewerHashchange);\n eventBus.on('beforeprint', _boundEvents.beforePrint);\n eventBus.on('afterprint', _boundEvents.afterPrint);\n eventBus.on('pagerendered', webViewerPageRendered);\n eventBus.on('textlayerrendered', webViewerTextLayerRendered);\n eventBus.on('updateviewarea', webViewerUpdateViewarea);\n eventBus.on('pagechanging', webViewerPageChanging);\n eventBus.on('scalechanging', webViewerScaleChanging);\n eventBus.on('rotationchanging', webViewerRotationChanging);\n eventBus.on('sidebarviewchanged', webViewerSidebarViewChanged);\n eventBus.on('pagemode', webViewerPageMode);\n eventBus.on('namedaction', webViewerNamedAction);\n eventBus.on('presentationmodechanged', webViewerPresentationModeChanged);\n eventBus.on('presentationmode', webViewerPresentationMode);\n eventBus.on('openfile', webViewerOpenFile);\n eventBus.on('print', webViewerPrint);\n eventBus.on('download', webViewerDownload);\n eventBus.on('firstpage', webViewerFirstPage);\n eventBus.on('lastpage', webViewerLastPage);\n eventBus.on('nextpage', webViewerNextPage);\n eventBus.on('previouspage', webViewerPreviousPage);\n eventBus.on('zoomin', webViewerZoomIn);\n eventBus.on('zoomout', webViewerZoomOut);\n eventBus.on('pagenumberchanged', webViewerPageNumberChanged);\n eventBus.on('scalechanged', webViewerScaleChanged);\n eventBus.on('rotatecw', webViewerRotateCw);\n eventBus.on('rotateccw', webViewerRotateCcw);\n eventBus.on('documentproperties', webViewerDocumentProperties);\n eventBus.on('find', webViewerFind);\n eventBus.on('findfromurlhash', webViewerFindFromUrlHash);\n if (typeof PDFJSDev === 'undefined' || PDFJSDev.test('GENERIC')) {\n eventBus.on('fileinputchange', webViewerFileInputChange);\n }\n },\n\n bindWindowEvents() {\n let { eventBus, _boundEvents, } = this;\n\n _boundEvents.windowResize = () => {\n eventBus.dispatch('resize');\n };\n _boundEvents.windowHashChange = () => {\n eventBus.dispatch('hashchange', {\n hash: document.location.hash.substring(1),\n });\n };\n _boundEvents.windowBeforePrint = () => {\n eventBus.dispatch('beforeprint');\n };\n _boundEvents.windowAfterPrint = () => {\n eventBus.dispatch('afterprint');\n };\n\n window.addEventListener('wheel', webViewerWheel);\n window.addEventListener('click', webViewerClick);\n window.addEventListener('keydown', webViewerKeyDown);\n window.addEventListener('resize', _boundEvents.windowResize);\n window.addEventListener('hashchange', _boundEvents.windowHashChange);\n window.addEventListener('beforeprint', _boundEvents.windowBeforePrint);\n window.addEventListener('afterprint', _boundEvents.windowAfterPrint);\n },\n\n unbindEvents() {\n let { eventBus, _boundEvents, } = this;\n\n eventBus.off('resize', webViewerResize);\n eventBus.off('hashchange', webViewerHashchange);\n eventBus.off('beforeprint', _boundEvents.beforePrint);\n eventBus.off('afterprint', _boundEvents.afterPrint);\n eventBus.off('pagerendered', webViewerPageRendered);\n eventBus.off('textlayerrendered', webViewerTextLayerRendered);\n eventBus.off('updateviewarea', webViewerUpdateViewarea);\n eventBus.off('pagechanging', webViewerPageChanging);\n eventBus.off('scalechanging', webViewerScaleChanging);\n eventBus.off('rotationchanging', webViewerRotationChanging);\n eventBus.off('sidebarviewchanged', webViewerSidebarViewChanged);\n eventBus.off('pagemode', webViewerPageMode);\n eventBus.off('namedaction', webViewerNamedAction);\n eventBus.off('presentationmodechanged', webViewerPresentationModeChanged);\n eventBus.off('presentationmode', webViewerPresentationMode);\n eventBus.off('openfile', webViewerOpenFile);\n eventBus.off('print', webViewerPrint);\n eventBus.off('download', webViewerDownload);\n eventBus.off('firstpage', webViewerFirstPage);\n eventBus.off('lastpage', webViewerLastPage);\n eventBus.off('nextpage', webViewerNextPage);\n eventBus.off('previouspage', webViewerPreviousPage);\n eventBus.off('zoomin', webViewerZoomIn);\n eventBus.off('zoomout', webViewerZoomOut);\n eventBus.off('pagenumberchanged', webViewerPageNumberChanged);\n eventBus.off('scalechanged', webViewerScaleChanged);\n eventBus.off('rotatecw', webViewerRotateCw);\n eventBus.off('rotateccw', webViewerRotateCcw);\n eventBus.off('documentproperties', webViewerDocumentProperties);\n eventBus.off('find', webViewerFind);\n eventBus.off('findfromurlhash', webViewerFindFromUrlHash);\n if (typeof PDFJSDev === 'undefined' || PDFJSDev.test('GENERIC')) {\n eventBus.off('fileinputchange', webViewerFileInputChange);\n }\n\n _boundEvents.beforePrint = null;\n _boundEvents.afterPrint = null;\n },\n\n unbindWindowEvents() {\n let { _boundEvents, } = this;\n\n window.removeEventListener('wheel', webViewerWheel);\n window.removeEventListener('click', webViewerClick);\n window.removeEventListener('keydown', webViewerKeyDown);\n window.removeEventListener('resize', _boundEvents.windowResize);\n window.removeEventListener('hashchange', _boundEvents.windowHashChange);\n window.removeEventListener('beforeprint', _boundEvents.windowBeforePrint);\n window.removeEventListener('afterprint', _boundEvents.windowAfterPrint);\n\n _boundEvents.windowResize = null;\n _boundEvents.windowHashChange = null;\n _boundEvents.windowBeforePrint = null;\n _boundEvents.windowAfterPrint = null;\n },\n};\n\nlet validateFileURL;\nif (typeof PDFJSDev === 'undefined' || PDFJSDev.test('GENERIC')) {\n const HOSTED_VIEWER_ORIGINS = ['null',\n 'http://mozilla.github.io', 'https://mozilla.github.io'];\n validateFileURL = function validateFileURL(file) {\n if (file === undefined) {\n return;\n }\n try {\n let viewerOrigin = new URL(window.location.href).origin || 'null';\n if (HOSTED_VIEWER_ORIGINS.indexOf(viewerOrigin) >= 0) {\n // Hosted or local viewer, allow for any file locations\n return;\n }\n let fileOrigin = new URL(file, window.location.href).origin;\n // Removing of the following line will not guarantee that the viewer will\n // start accepting URLs from foreign origin -- CORS headers on the remote\n // server must be properly configured.\n if (fileOrigin !== viewerOrigin) {\n throw new Error('file origin does not match viewer\\'s');\n }\n } catch (ex) {\n let message = ex && ex.message;\n PDFViewerApplication.l10n.get('loading_error', null,\n 'An error occurred while loading the PDF.').\n then((loadingErrorMessage) => {\n PDFViewerApplication.error(loadingErrorMessage, { message, });\n });\n throw ex;\n }\n };\n}\n\nfunction loadAndEnablePDFBug(enabledTabs) {\n return new Promise(function (resolve, reject) {\n let appConfig = PDFViewerApplication.appConfig;\n let script = document.createElement('script');\n script.src = appConfig.debuggerScriptPath;\n script.onload = function () {\n PDFBug.enable(enabledTabs);\n PDFBug.init({\n PDFJS,\n OPS,\n }, appConfig.mainContainer);\n resolve();\n };\n script.onerror = function () {\n reject(new Error('Cannot load debugger at ' + script.src));\n };\n (document.getElementsByTagName('head')[0] || document.body).\n appendChild(script);\n });\n}\n\nfunction webViewerInitialized() {\n let appConfig = PDFViewerApplication.appConfig;\n let file;\n if (typeof PDFJSDev === 'undefined' || PDFJSDev.test('GENERIC')) {\n let queryString = document.location.search.substring(1);\n let params = parseQueryString(queryString);\n file = 'file' in params ? params.file : appConfig.defaultUrl;\n validateFileURL(file);\n } else if (PDFJSDev.test('FIREFOX || MOZCENTRAL')) {\n file = window.location.href.split('#')[0];\n } else if (PDFJSDev.test('CHROME')) {\n file = appConfig.defaultUrl;\n }\n\n let waitForBeforeOpening = [];\n if (typeof PDFJSDev === 'undefined' || PDFJSDev.test('GENERIC')) {\n let fileInput = document.createElement('input');\n fileInput.id = appConfig.openFileInputName;\n fileInput.className = 'fileInput';\n fileInput.setAttribute('type', 'file');\n fileInput.oncontextmenu = noContextMenuHandler;\n document.body.appendChild(fileInput);\n\n if (!window.File || !window.FileReader ||\n !window.FileList || !window.Blob) {\n appConfig.toolbar.openFile.setAttribute('hidden', 'true');\n appConfig.secondaryToolbar.openFileButton.setAttribute('hidden', 'true');\n } else {\n fileInput.value = null;\n }\n\n fileInput.addEventListener('change', function(evt) {\n let files = evt.target.files;\n if (!files || files.length === 0) {\n return;\n }\n PDFViewerApplication.eventBus.dispatch('fileinputchange', {\n fileInput: evt.target,\n });\n });\n } else {\n appConfig.toolbar.openFile.setAttribute('hidden', 'true');\n appConfig.secondaryToolbar.openFileButton.setAttribute('hidden', 'true');\n }\n\n if ((typeof PDFJSDev === 'undefined' || !PDFJSDev.test('PRODUCTION')) ||\n PDFViewerApplication.viewerPrefs['pdfBugEnabled']) {\n // Special debugging flags in the hash section of the URL.\n let hash = document.location.hash.substring(1);\n let hashParams = parseQueryString(hash);\n\n if ('disableworker' in hashParams) {\n PDFJS.disableWorker = (hashParams['disableworker'] === 'true');\n }\n if ('disablerange' in hashParams) {\n PDFJS.disableRange = (hashParams['disablerange'] === 'true');\n }\n if ('disablestream' in hashParams) {\n PDFJS.disableStream = (hashParams['disablestream'] === 'true');\n }\n if ('disableautofetch' in hashParams) {\n PDFJS.disableAutoFetch = (hashParams['disableautofetch'] === 'true');\n }\n if ('disablefontface' in hashParams) {\n PDFJS.disableFontFace = (hashParams['disablefontface'] === 'true');\n }\n if ('disablehistory' in hashParams) {\n PDFJS.disableHistory = (hashParams['disablehistory'] === 'true');\n }\n if ('webgl' in hashParams) {\n PDFJS.disableWebGL = (hashParams['webgl'] !== 'true');\n }\n if ('useonlycsszoom' in hashParams) {\n PDFJS.useOnlyCssZoom = (hashParams['useonlycsszoom'] === 'true');\n }\n if ('verbosity' in hashParams) {\n PDFJS.verbosity = hashParams['verbosity'] | 0;\n }\n if ('ignorecurrentpositiononzoom' in hashParams) {\n PDFJS.ignoreCurrentPositionOnZoom =\n (hashParams['ignorecurrentpositiononzoom'] === 'true');\n }\n if (typeof PDFJSDev === 'undefined' || !PDFJSDev.test('PRODUCTION')) {\n if ('disablebcmaps' in hashParams && hashParams['disablebcmaps']) {\n PDFJS.cMapUrl = '../external/cmaps/';\n PDFJS.cMapPacked = false;\n }\n }\n if ('textlayer' in hashParams) {\n switch (hashParams['textlayer']) {\n case 'off':\n PDFJS.disableTextLayer = true;\n break;\n case 'visible':\n case 'shadow':\n case 'hover':\n let viewer = appConfig.viewerContainer;\n viewer.classList.add('textLayer-' + hashParams['textlayer']);\n break;\n }\n }\n if ('pdfbug' in hashParams) {\n PDFJS.pdfBug = true;\n let pdfBug = hashParams['pdfbug'];\n let enabled = pdfBug.split(',');\n waitForBeforeOpening.push(loadAndEnablePDFBug(enabled));\n }\n }\n\n if (typeof PDFJSDev !== 'undefined' &&\n PDFJSDev.test('FIREFOX || MOZCENTRAL') &&\n !PDFViewerApplication.supportsDocumentFonts) {\n PDFJS.disableFontFace = true;\n PDFViewerApplication.l10n.get('web_fonts_disabled', null,\n 'Web fonts are disabled: unable to use embedded PDF fonts.').\n then((msg) => {\n console.warn(msg);\n });\n }\n\n if (!PDFViewerApplication.supportsPrinting) {\n appConfig.toolbar.print.classList.add('hidden');\n appConfig.secondaryToolbar.printButton.classList.add('hidden');\n }\n\n if (!PDFViewerApplication.supportsFullscreen) {\n appConfig.toolbar.presentationModeButton.classList.add('hidden');\n appConfig.secondaryToolbar.presentationModeButton.classList.add('hidden');\n }\n\n if (PDFViewerApplication.supportsIntegratedFind) {\n appConfig.toolbar.viewFind.classList.add('hidden');\n }\n\n appConfig.sidebar.mainContainer.addEventListener('transitionend',\n function(evt) {\n if (evt.target === /* mainContainer */ this) {\n PDFViewerApplication.eventBus.dispatch('resize');\n }\n }, true);\n\n appConfig.sidebar.toggleButton.addEventListener('click', function() {\n PDFViewerApplication.pdfSidebar.toggle();\n });\n\n Promise.all(waitForBeforeOpening).then(function () {\n webViewerOpenFileViaURL(file);\n }).catch(function (reason) {\n PDFViewerApplication.l10n.get('loading_error', null,\n 'An error occurred while opening.').then((msg) => {\n PDFViewerApplication.error(msg, reason);\n });\n });\n}\n\nlet webViewerOpenFileViaURL;\nif (typeof PDFJSDev === 'undefined' || PDFJSDev.test('GENERIC')) {\n webViewerOpenFileViaURL = function webViewerOpenFileViaURL(file) {\n if (file && file.lastIndexOf('file:', 0) === 0) {\n // file:-scheme. Load the contents in the main thread because QtWebKit\n // cannot load file:-URLs in a Web Worker. file:-URLs are usually loaded\n // very quickly, so there is no need to set up progress event listeners.\n PDFViewerApplication.setTitleUsingUrl(file);\n let xhr = new XMLHttpRequest();\n xhr.onload = function() {\n PDFViewerApplication.open(new Uint8Array(xhr.response));\n };\n try {\n xhr.open('GET', file);\n xhr.responseType = 'arraybuffer';\n xhr.send();\n } catch (ex) {\n PDFViewerApplication.l10n.get('loading_error', null,\n 'An error occurred while loading the PDF.').then((msg) => {\n PDFViewerApplication.error(msg, ex);\n });\n }\n return;\n }\n\n if (file) {\n PDFViewerApplication.open(file);\n }\n };\n} else if (PDFJSDev.test('FIREFOX || MOZCENTRAL || CHROME')) {\n webViewerOpenFileViaURL = function webViewerOpenFileViaURL(file) {\n PDFViewerApplication.setTitleUsingUrl(file);\n PDFViewerApplication.initPassiveLoading();\n };\n} else {\n webViewerOpenFileViaURL = function webViewerOpenFileURL(file) {\n if (file) {\n throw new Error('Not implemented: webViewerOpenFileURL');\n }\n };\n}\n\nfunction webViewerPageRendered(evt) {\n let pageNumber = evt.pageNumber;\n let pageIndex = pageNumber - 1;\n let pageView = PDFViewerApplication.pdfViewer.getPageView(pageIndex);\n\n // If the page is still visible when it has finished rendering,\n // ensure that the page number input loading indicator is hidden.\n if (pageNumber === PDFViewerApplication.page) {\n PDFViewerApplication.toolbar.updateLoadingIndicatorState(false);\n }\n\n // Prevent errors in the edge-case where the PDF document is removed *before*\n // the 'pagerendered' event handler is invoked.\n if (!pageView) {\n return;\n }\n\n // Use the rendered page to set the corresponding thumbnail image.\n if (PDFViewerApplication.pdfSidebar.isThumbnailViewVisible) {\n let thumbnailView = PDFViewerApplication.pdfThumbnailViewer.\n getThumbnail(pageIndex);\n thumbnailView.setImage(pageView);\n }\n\n if (PDFJS.pdfBug && Stats.enabled && pageView.stats) {\n Stats.add(pageNumber, pageView.stats);\n }\n\n if (pageView.error) {\n PDFViewerApplication.l10n.get('rendering_error', null,\n 'An error occurred while rendering the page.').then((msg) => {\n PDFViewerApplication.error(msg, pageView.error);\n });\n }\n\n if (typeof PDFJSDev !== 'undefined' &&\n PDFJSDev.test('FIREFOX || MOZCENTRAL')) {\n PDFViewerApplication.externalServices.reportTelemetry({\n type: 'pageInfo',\n });\n // It is a good time to report stream and font types.\n PDFViewerApplication.pdfDocument.getStats().then(function (stats) {\n PDFViewerApplication.externalServices.reportTelemetry({\n type: 'documentStats',\n stats,\n });\n });\n }\n}\n\nfunction webViewerTextLayerRendered(evt) {\n if (typeof PDFJSDev !== 'undefined' &&\n PDFJSDev.test('FIREFOX || MOZCENTRAL') &&\n evt.numTextDivs > 0 && !PDFViewerApplication.supportsDocumentColors) {\n PDFViewerApplication.l10n.get('document_colors_not_allowed', null,\n 'PDF documents are not allowed to use their own colors: ' +\n '\\'Allow pages to choose their own colors\\' ' +\n 'is deactivated in the browser.').\n then((msg) => {\n console.error(msg);\n });\n PDFViewerApplication.fallback();\n }\n}\n\nfunction webViewerPageMode(evt) {\n // Handle the 'pagemode' hash parameter, see also `PDFLinkService_setHash`.\n let mode = evt.mode, view;\n switch (mode) {\n case 'thumbs':\n view = SidebarView.THUMBS;\n break;\n case 'bookmarks':\n case 'outline':\n view = SidebarView.OUTLINE;\n break;\n case 'attachments':\n view = SidebarView.ATTACHMENTS;\n break;\n case 'none':\n view = SidebarView.NONE;\n break;\n default:\n console.error('Invalid \"pagemode\" hash parameter: ' + mode);\n return;\n }\n PDFViewerApplication.pdfSidebar.switchView(view, /* forceOpen = */ true);\n}\n\nfunction webViewerNamedAction(evt) {\n // Processing couple of named actions that might be useful.\n // See also PDFLinkService.executeNamedAction\n let action = evt.action;\n switch (action) {\n case 'GoToPage':\n PDFViewerApplication.appConfig.toolbar.pageNumber.select();\n break;\n\n case 'Find':\n if (!PDFViewerApplication.supportsIntegratedFind) {\n PDFViewerApplication.findBar.toggle();\n }\n break;\n }\n}\n\nfunction webViewerPresentationModeChanged(evt) {\n let { active, switchInProgress, } = evt;\n PDFViewerApplication.pdfViewer.presentationModeState =\n switchInProgress ? PresentationModeState.CHANGING :\n active ? PresentationModeState.FULLSCREEN : PresentationModeState.NORMAL;\n}\n\nfunction webViewerSidebarViewChanged(evt) {\n PDFViewerApplication.pdfRenderingQueue.isThumbnailViewEnabled =\n PDFViewerApplication.pdfSidebar.isThumbnailViewVisible;\n\n let store = PDFViewerApplication.store;\n if (store && PDFViewerApplication.isInitialViewSet) {\n // Only update the storage when the document has been loaded *and* rendered.\n store.set('sidebarView', evt.view).catch(function() { });\n }\n}\n\nfunction webViewerUpdateViewarea(evt) {\n let location = evt.location, store = PDFViewerApplication.store;\n\n if (store && PDFViewerApplication.isInitialViewSet) {\n store.setMultiple({\n 'exists': true,\n 'page': location.pageNumber,\n 'zoom': location.scale,\n 'scrollLeft': location.left,\n 'scrollTop': location.top,\n 'rotation': location.rotation,\n }).catch(function() { /* unable to write to storage */ });\n }\n let href =\n PDFViewerApplication.pdfLinkService.getAnchorUrl(location.pdfOpenParams);\n PDFViewerApplication.appConfig.toolbar.viewBookmark.href = href;\n PDFViewerApplication.appConfig.secondaryToolbar.viewBookmarkButton.href =\n href;\n\n // Show/hide the loading indicator in the page number input element.\n let currentPage =\n PDFViewerApplication.pdfViewer.getPageView(PDFViewerApplication.page - 1);\n let loading = currentPage.renderingState !== RenderingStates.FINISHED;\n PDFViewerApplication.toolbar.updateLoadingIndicatorState(loading);\n}\n\nfunction webViewerResize() {\n let { pdfDocument, pdfViewer, } = PDFViewerApplication;\n if (!pdfDocument) {\n return;\n }\n let currentScaleValue = pdfViewer.currentScaleValue;\n if (currentScaleValue === 'auto' ||\n currentScaleValue === 'page-fit' ||\n currentScaleValue === 'page-width') {\n // Note: the scale is constant for 'page-actual'.\n pdfViewer.currentScaleValue = currentScaleValue;\n }\n pdfViewer.update();\n}\n\nfunction webViewerHashchange(evt) {\n let hash = evt.hash;\n if (!hash) {\n return;\n }\n if (!PDFViewerApplication.isInitialViewSet) {\n PDFViewerApplication.initialBookmark = hash;\n } else if (!PDFViewerApplication.pdfHistory.popStateInProgress) {\n PDFViewerApplication.pdfLinkService.setHash(hash);\n }\n}\n\nlet webViewerFileInputChange;\nif (typeof PDFJSDev === 'undefined' || PDFJSDev.test('GENERIC')) {\n webViewerFileInputChange = function webViewerFileInputChange(evt) {\n let file = evt.fileInput.files[0];\n\n if (!PDFJS.disableCreateObjectURL && URL.createObjectURL) {\n PDFViewerApplication.open(URL.createObjectURL(file));\n } else {\n // Read the local file into a Uint8Array.\n let fileReader = new FileReader();\n fileReader.onload = function webViewerChangeFileReaderOnload(evt) {\n let buffer = evt.target.result;\n PDFViewerApplication.open(new Uint8Array(buffer));\n };\n fileReader.readAsArrayBuffer(file);\n }\n\n PDFViewerApplication.setTitleUsingUrl(file.name);\n\n // URL does not reflect proper document location - hiding some icons.\n let appConfig = PDFViewerApplication.appConfig;\n appConfig.toolbar.viewBookmark.setAttribute('hidden', 'true');\n appConfig.secondaryToolbar.viewBookmarkButton.setAttribute('hidden',\n 'true');\n appConfig.toolbar.download.setAttribute('hidden', 'true');\n appConfig.secondaryToolbar.downloadButton.setAttribute('hidden', 'true');\n };\n}\n\nfunction webViewerPresentationMode() {\n PDFViewerApplication.requestPresentationMode();\n}\nfunction webViewerOpenFile() {\n if (typeof PDFJSDev === 'undefined' || PDFJSDev.test('GENERIC')) {\n let openFileInputName = PDFViewerApplication.appConfig.openFileInputName;\n document.getElementById(openFileInputName).click();\n }\n}\nfunction webViewerPrint() {\n window.print();\n}\nfunction webViewerDownload() {\n PDFViewerApplication.download();\n}\nfunction webViewerFirstPage() {\n if (PDFViewerApplication.pdfDocument) {\n PDFViewerApplication.page = 1;\n }\n}\nfunction webViewerLastPage() {\n if (PDFViewerApplication.pdfDocument) {\n PDFViewerApplication.page = PDFViewerApplication.pagesCount;\n }\n}\nfunction webViewerNextPage() {\n PDFViewerApplication.page++;\n}\nfunction webViewerPreviousPage() {\n PDFViewerApplication.page--;\n}\nfunction webViewerZoomIn() {\n PDFViewerApplication.zoomIn();\n}\nfunction webViewerZoomOut() {\n PDFViewerApplication.zoomOut();\n}\nfunction webViewerPageNumberChanged(evt) {\n let pdfViewer = PDFViewerApplication.pdfViewer;\n pdfViewer.currentPageLabel = evt.value;\n\n // Ensure that the page number input displays the correct value, even if the\n // value entered by the user was invalid (e.g. a floating point number).\n if (evt.value !== pdfViewer.currentPageNumber.toString() &&\n evt.value !== pdfViewer.currentPageLabel) {\n PDFViewerApplication.toolbar.setPageNumber(\n pdfViewer.currentPageNumber, pdfViewer.currentPageLabel);\n }\n}\nfunction webViewerScaleChanged(evt) {\n PDFViewerApplication.pdfViewer.currentScaleValue = evt.value;\n}\nfunction webViewerRotateCw() {\n PDFViewerApplication.rotatePages(90);\n}\nfunction webViewerRotateCcw() {\n PDFViewerApplication.rotatePages(-90);\n}\nfunction webViewerDocumentProperties() {\n PDFViewerApplication.pdfDocumentProperties.open();\n}\n\nfunction webViewerFind(evt) {\n PDFViewerApplication.findController.executeCommand('find' + evt.type, {\n query: evt.query,\n phraseSearch: evt.phraseSearch,\n caseSensitive: evt.caseSensitive,\n highlightAll: evt.highlightAll,\n findPrevious: evt.findPrevious,\n });\n}\n\nfunction webViewerFindFromUrlHash(evt) {\n PDFViewerApplication.findController.executeCommand('find', {\n query: evt.query,\n phraseSearch: evt.phraseSearch,\n caseSensitive: false,\n highlightAll: true,\n findPrevious: false,\n });\n}\n\nfunction webViewerScaleChanging(evt) {\n PDFViewerApplication.toolbar.setPageScale(evt.presetValue, evt.scale);\n\n PDFViewerApplication.pdfViewer.update();\n}\n\nfunction webViewerRotationChanging(evt) {\n PDFViewerApplication.pdfThumbnailViewer.pagesRotation = evt.pagesRotation;\n\n PDFViewerApplication.forceRendering();\n // Ensure that the active page doesn't change during rotation.\n PDFViewerApplication.pdfViewer.currentPageNumber = evt.pageNumber;\n}\n\nfunction webViewerPageChanging(evt) {\n let page = evt.pageNumber;\n\n PDFViewerApplication.toolbar.setPageNumber(page, evt.pageLabel || null);\n PDFViewerApplication.secondaryToolbar.setPageNumber(page);\n\n if (PDFViewerApplication.pdfSidebar.isThumbnailViewVisible) {\n PDFViewerApplication.pdfThumbnailViewer.scrollThumbnailIntoView(page);\n }\n\n // we need to update stats\n if (PDFJS.pdfBug && Stats.enabled) {\n let pageView = PDFViewerApplication.pdfViewer.getPageView(page - 1);\n if (pageView.stats) {\n Stats.add(page, pageView.stats);\n }\n }\n}\n\nlet zoomDisabled = false, zoomDisabledTimeout;\nfunction webViewerWheel(evt) {\n let pdfViewer = PDFViewerApplication.pdfViewer;\n if (pdfViewer.isInPresentationMode) {\n return;\n }\n\n if (evt.ctrlKey || evt.metaKey) {\n let support = PDFViewerApplication.supportedMouseWheelZoomModifierKeys;\n if ((evt.ctrlKey && !support.ctrlKey) ||\n (evt.metaKey && !support.metaKey)) {\n return;\n }\n // Only zoom the pages, not the entire viewer.\n evt.preventDefault();\n // NOTE: this check must be placed *after* preventDefault.\n if (zoomDisabled) {\n return;\n }\n\n let previousScale = pdfViewer.currentScale;\n\n let delta = normalizeWheelEventDelta(evt);\n\n const MOUSE_WHEEL_DELTA_PER_PAGE_SCALE = 3.0;\n let ticks = delta * MOUSE_WHEEL_DELTA_PER_PAGE_SCALE;\n if (ticks < 0) {\n PDFViewerApplication.zoomOut(-ticks);\n } else {\n PDFViewerApplication.zoomIn(ticks);\n }\n\n let currentScale = pdfViewer.currentScale;\n if (previousScale !== currentScale) {\n // After scaling the page via zoomIn/zoomOut, the position of the upper-\n // left corner is restored. When the mouse wheel is used, the position\n // under the cursor should be restored instead.\n let scaleCorrectionFactor = currentScale / previousScale - 1;\n let rect = pdfViewer.container.getBoundingClientRect();\n let dx = evt.clientX - rect.left;\n let dy = evt.clientY - rect.top;\n pdfViewer.container.scrollLeft += dx * scaleCorrectionFactor;\n pdfViewer.container.scrollTop += dy * scaleCorrectionFactor;\n }\n } else {\n zoomDisabled = true;\n clearTimeout(zoomDisabledTimeout);\n zoomDisabledTimeout = setTimeout(function () {\n zoomDisabled = false;\n }, 1000);\n }\n}\n\nfunction webViewerClick(evt) {\n if (!PDFViewerApplication.secondaryToolbar.isOpen) {\n return;\n }\n let appConfig = PDFViewerApplication.appConfig;\n if (PDFViewerApplication.pdfViewer.containsElement(evt.target) ||\n (appConfig.toolbar.container.contains(evt.target) &&\n evt.target !== appConfig.secondaryToolbar.toggleButton)) {\n PDFViewerApplication.secondaryToolbar.close();\n }\n}\n\nfunction webViewerKeyDown(evt) {\n if (PDFViewerApplication.overlayManager.active) {\n return;\n }\n\n let handled = false, ensureViewerFocused = false;\n let cmd = (evt.ctrlKey ? 1 : 0) |\n (evt.altKey ? 2 : 0) |\n (evt.shiftKey ? 4 : 0) |\n (evt.metaKey ? 8 : 0);\n\n let pdfViewer = PDFViewerApplication.pdfViewer;\n let isViewerInPresentationMode = pdfViewer && pdfViewer.isInPresentationMode;\n\n // First, handle the key bindings that are independent whether an input\n // control is selected or not.\n if (cmd === 1 || cmd === 8 || cmd === 5 || cmd === 12) {\n // either CTRL or META key with optional SHIFT.\n switch (evt.keyCode) {\n case 70: // f\n if (!PDFViewerApplication.supportsIntegratedFind) {\n PDFViewerApplication.findBar.open();\n handled = true;\n }\n break;\n case 71: // g\n if (!PDFViewerApplication.supportsIntegratedFind) {\n let findState = PDFViewerApplication.findController.state;\n if (findState) {\n PDFViewerApplication.findController.executeCommand('findagain', {\n query: findState.query,\n phraseSearch: findState.phraseSearch,\n caseSensitive: findState.caseSensitive,\n highlightAll: findState.highlightAll,\n findPrevious: cmd === 5 || cmd === 12,\n });\n }\n handled = true;\n }\n break;\n case 61: // FF/Mac '='\n case 107: // FF '+' and '='\n case 187: // Chrome '+'\n case 171: // FF with German keyboard\n if (!isViewerInPresentationMode) {\n PDFViewerApplication.zoomIn();\n }\n handled = true;\n break;\n case 173: // FF/Mac '-'\n case 109: // FF '-'\n case 189: // Chrome '-'\n if (!isViewerInPresentationMode) {\n PDFViewerApplication.zoomOut();\n }\n handled = true;\n break;\n case 48: // '0'\n case 96: // '0' on Numpad of Swedish keyboard\n if (!isViewerInPresentationMode) {\n // keeping it unhandled (to restore page zoom to 100%)\n setTimeout(function () {\n // ... and resetting the scale after browser adjusts its scale\n pdfViewer.currentScaleValue = DEFAULT_SCALE_VALUE;\n });\n handled = false;\n }\n break;\n\n case 38: // up arrow\n if (isViewerInPresentationMode || PDFViewerApplication.page > 1) {\n PDFViewerApplication.page = 1;\n handled = true;\n ensureViewerFocused = true;\n }\n break;\n case 40: // down arrow\n if (isViewerInPresentationMode ||\n PDFViewerApplication.page < PDFViewerApplication.pagesCount) {\n PDFViewerApplication.page = PDFViewerApplication.pagesCount;\n handled = true;\n ensureViewerFocused = true;\n }\n break;\n }\n }\n\n if (typeof PDFJSDev === 'undefined' ||\n !PDFJSDev.test('FIREFOX || MOZCENTRAL')) {\n // CTRL or META without shift\n if (cmd === 1 || cmd === 8) {\n switch (evt.keyCode) {\n case 83: // s\n PDFViewerApplication.download();\n handled = true;\n break;\n }\n }\n }\n\n // CTRL+ALT or Option+Command\n if (cmd === 3 || cmd === 10) {\n switch (evt.keyCode) {\n case 80: // p\n PDFViewerApplication.requestPresentationMode();\n handled = true;\n break;\n case 71: // g\n // focuses input#pageNumber field\n PDFViewerApplication.appConfig.toolbar.pageNumber.select();\n handled = true;\n break;\n }\n }\n\n if (handled) {\n if (ensureViewerFocused && !isViewerInPresentationMode) {\n pdfViewer.focus();\n }\n evt.preventDefault();\n return;\n }\n\n // Some shortcuts should not get handled if a control/input element\n // is selected.\n let curElement = document.activeElement || document.querySelector(':focus');\n let curElementTagName = curElement && curElement.tagName.toUpperCase();\n if (curElementTagName === 'INPUT' ||\n curElementTagName === 'TEXTAREA' ||\n curElementTagName === 'SELECT') {\n // Make sure that the secondary toolbar is closed when Escape is pressed.\n if (evt.keyCode !== 27) { // 'Esc'\n return;\n }\n }\n\n if (cmd === 0) { // no control key pressed at all.\n switch (evt.keyCode) {\n case 38: // up arrow\n case 33: // pg up\n case 8: // backspace\n if (!isViewerInPresentationMode &&\n pdfViewer.currentScaleValue !== 'page-fit') {\n break;\n }\n /* in presentation mode */\n /* falls through */\n case 37: // left arrow\n // horizontal scrolling using arrow keys\n if (pdfViewer.isHorizontalScrollbarEnabled) {\n break;\n }\n /* falls through */\n case 75: // 'k'\n case 80: // 'p'\n if (PDFViewerApplication.page > 1) {\n PDFViewerApplication.page--;\n }\n handled = true;\n break;\n case 27: // esc key\n if (PDFViewerApplication.secondaryToolbar.isOpen) {\n PDFViewerApplication.secondaryToolbar.close();\n handled = true;\n }\n if (!PDFViewerApplication.supportsIntegratedFind &&\n PDFViewerApplication.findBar.opened) {\n PDFViewerApplication.findBar.close();\n handled = true;\n }\n break;\n case 40: // down arrow\n case 34: // pg down\n case 32: // spacebar\n if (!isViewerInPresentationMode &&\n pdfViewer.currentScaleValue !== 'page-fit') {\n break;\n }\n /* falls through */\n case 39: // right arrow\n // horizontal scrolling using arrow keys\n if (pdfViewer.isHorizontalScrollbarEnabled) {\n break;\n }\n /* falls through */\n case 74: // 'j'\n case 78: // 'n'\n if (PDFViewerApplication.page < PDFViewerApplication.pagesCount) {\n PDFViewerApplication.page++;\n }\n handled = true;\n break;\n\n case 36: // home\n if (isViewerInPresentationMode || PDFViewerApplication.page > 1) {\n PDFViewerApplication.page = 1;\n handled = true;\n ensureViewerFocused = true;\n }\n break;\n case 35: // end\n if (isViewerInPresentationMode ||\n PDFViewerApplication.page < PDFViewerApplication.pagesCount) {\n PDFViewerApplication.page = PDFViewerApplication.pagesCount;\n handled = true;\n ensureViewerFocused = true;\n }\n break;\n\n case 83: // 's'\n PDFViewerApplication.pdfCursorTools.switchTool(CursorTool.SELECT);\n break;\n case 72: // 'h'\n PDFViewerApplication.pdfCursorTools.switchTool(CursorTool.HAND);\n break;\n\n case 82: // 'r'\n PDFViewerApplication.rotatePages(90);\n break;\n }\n }\n\n if (cmd === 4) { // shift-key\n switch (evt.keyCode) {\n case 32: // spacebar\n if (!isViewerInPresentationMode &&\n pdfViewer.currentScaleValue !== 'page-fit') {\n break;\n }\n if (PDFViewerApplication.page > 1) {\n PDFViewerApplication.page--;\n }\n handled = true;\n break;\n\n case 82: // 'r'\n PDFViewerApplication.rotatePages(-90);\n break;\n }\n }\n\n if (!handled && !isViewerInPresentationMode) {\n // 33=Page Up 34=Page Down 35=End 36=Home\n // 37=Left 38=Up 39=Right 40=Down\n // 32=Spacebar\n if ((evt.keyCode >= 33 && evt.keyCode <= 40) ||\n (evt.keyCode === 32 && curElementTagName !== 'BUTTON')) {\n ensureViewerFocused = true;\n }\n }\n\n if (ensureViewerFocused && !pdfViewer.containsElement(curElement)) {\n // The page container is not focused, but a page navigation key has been\n // pressed. Change the focus to the viewer container to make sure that\n // navigation by keyboard works as expected.\n pdfViewer.focus();\n }\n\n if (handled) {\n evt.preventDefault();\n }\n}\n\n/**\n * Converts API PageMode values to the format used by `PDFSidebar`.\n * NOTE: There's also a \"FullScreen\" parameter which is not possible to support,\n * since the Fullscreen API used in browsers requires that entering\n * fullscreen mode only occurs as a result of a user-initiated event.\n * @param {string} mode - The API PageMode value.\n * @returns {number} A value from {SidebarView}.\n */\nfunction apiPageModeToSidebarView(mode) {\n switch (mode) {\n case 'UseNone':\n return SidebarView.NONE;\n case 'UseThumbs':\n return SidebarView.THUMBS;\n case 'UseOutlines':\n return SidebarView.OUTLINE;\n case 'UseAttachments':\n return SidebarView.ATTACHMENTS;\n case 'UseOC':\n // Not implemented, since we don't support Optional Content Groups yet.\n }\n return SidebarView.NONE; // Default value.\n}\n\n/* Abstract factory for the print service. */\nlet PDFPrintServiceFactory = {\n instance: {\n supportsPrinting: false,\n createPrintService() {\n throw new Error('Not implemented: createPrintService');\n },\n },\n};\n\nexport {\n PDFViewerApplication,\n DefaultExternalServices,\n PDFPrintServiceFactory,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/app.js","/* Copyright 2015 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { getGlobalEventBus } from './dom_events';\nimport { parseQueryString } from './ui_utils';\n\n/**\n * @typedef {Object} PDFLinkServiceOptions\n * @property {EventBus} eventBus - The application event bus.\n */\n\n/**\n * Performs navigation functions inside PDF, such as opening specified page,\n * or destination.\n * @implements {IPDFLinkService}\n */\nclass PDFLinkService {\n /**\n * @param {PDFLinkServiceOptions} options\n */\n constructor({ eventBus, } = {}) {\n this.eventBus = eventBus || getGlobalEventBus();\n this.baseUrl = null;\n this.pdfDocument = null;\n this.pdfViewer = null;\n this.pdfHistory = null;\n\n this._pagesRefCache = null;\n }\n\n setDocument(pdfDocument, baseUrl) {\n this.baseUrl = baseUrl;\n this.pdfDocument = pdfDocument;\n this._pagesRefCache = Object.create(null);\n }\n\n setViewer(pdfViewer) {\n this.pdfViewer = pdfViewer;\n }\n\n setHistory(pdfHistory) {\n this.pdfHistory = pdfHistory;\n }\n\n /**\n * @returns {number}\n */\n get pagesCount() {\n return this.pdfDocument ? this.pdfDocument.numPages : 0;\n }\n\n /**\n * @returns {number}\n */\n get page() {\n return this.pdfViewer.currentPageNumber;\n }\n\n /**\n * @param {number} value\n */\n set page(value) {\n this.pdfViewer.currentPageNumber = value;\n }\n\n /**\n * @returns {number}\n */\n get rotation() {\n return this.pdfViewer.pagesRotation;\n }\n\n /**\n * @param {number} value\n */\n set rotation(value) {\n this.pdfViewer.pagesRotation = value;\n }\n\n /**\n * @param {string|Array} dest - The named, or explicit, PDF destination.\n */\n navigateTo(dest) {\n let goToDestination = ({ namedDest, explicitDest, }) => {\n // Dest array looks like that: \n let destRef = explicitDest[0], pageNumber;\n\n if (destRef instanceof Object) {\n pageNumber = this._cachedPageNumber(destRef);\n\n if (pageNumber === null) {\n // Fetch the page reference if it's not yet available. This could\n // only occur during loading, before all pages have been resolved.\n this.pdfDocument.getPageIndex(destRef).then((pageIndex) => {\n this.cachePageRef(pageIndex + 1, destRef);\n goToDestination({ namedDest, explicitDest, });\n }).catch(() => {\n console.error(`PDFLinkService.navigateTo: \"${destRef}\" is not ` +\n `a valid page reference, for dest=\"${dest}\".`);\n });\n return;\n }\n } else if (Number.isInteger(destRef)) {\n pageNumber = destRef + 1;\n } else {\n console.error(`PDFLinkService.navigateTo: \"${destRef}\" is not ` +\n `a valid destination reference, for dest=\"${dest}\".`);\n return;\n }\n if (!pageNumber || pageNumber < 1 || pageNumber > this.pagesCount) {\n console.error(`PDFLinkService.navigateTo: \"${pageNumber}\" is not ` +\n `a valid page number, for dest=\"${dest}\".`);\n return;\n }\n\n if (this.pdfHistory) {\n // Update the browser history before scrolling the new destination into\n // view, to be able to accurately capture the current document position.\n this.pdfHistory.pushCurrentPosition();\n this.pdfHistory.push({ namedDest, explicitDest, pageNumber, });\n }\n\n this.pdfViewer.scrollPageIntoView({\n pageNumber,\n destArray: explicitDest,\n });\n };\n\n new Promise((resolve, reject) => {\n if (typeof dest === 'string') {\n this.pdfDocument.getDestination(dest).then((destArray) => {\n resolve({\n namedDest: dest,\n explicitDest: destArray,\n });\n });\n return;\n }\n resolve({\n namedDest: '',\n explicitDest: dest,\n });\n }).then((data) => {\n if (!(data.explicitDest instanceof Array)) {\n console.error(`PDFLinkService.navigateTo: \"${data.explicitDest}\" is` +\n ` not a valid destination array, for dest=\"${dest}\".`);\n return;\n }\n goToDestination(data);\n });\n }\n\n /**\n * @param {string|Array} dest - The PDF destination object.\n * @returns {string} The hyperlink to the PDF object.\n */\n getDestinationHash(dest) {\n if (typeof dest === 'string') {\n return this.getAnchorUrl('#' + escape(dest));\n }\n if (dest instanceof Array) {\n let str = JSON.stringify(dest);\n return this.getAnchorUrl('#' + escape(str));\n }\n return this.getAnchorUrl('');\n }\n\n /**\n * Prefix the full url on anchor links to make sure that links are resolved\n * relative to the current URL instead of the one defined in .\n * @param {String} anchor The anchor hash, including the #.\n * @returns {string} The hyperlink to the PDF object.\n */\n getAnchorUrl(anchor) {\n return (this.baseUrl || '') + anchor;\n }\n\n /**\n * @param {string} hash\n */\n setHash(hash) {\n let pageNumber, dest;\n if (hash.indexOf('=') >= 0) {\n let params = parseQueryString(hash);\n if ('search' in params) {\n this.eventBus.dispatch('findfromurlhash', {\n source: this,\n query: params['search'].replace(/\"/g, ''),\n phraseSearch: (params['phrase'] === 'true'),\n });\n }\n // borrowing syntax from \"Parameters for Opening PDF Files\"\n if ('nameddest' in params) {\n this.navigateTo(params.nameddest);\n return;\n }\n if ('page' in params) {\n pageNumber = (params.page | 0) || 1;\n }\n if ('zoom' in params) {\n // Build the destination array.\n let zoomArgs = params.zoom.split(','); // scale,left,top\n let zoomArg = zoomArgs[0];\n let zoomArgNumber = parseFloat(zoomArg);\n\n if (zoomArg.indexOf('Fit') === -1) {\n // If the zoomArg is a number, it has to get divided by 100. If it's\n // a string, it should stay as it is.\n dest = [null, { name: 'XYZ', },\n zoomArgs.length > 1 ? (zoomArgs[1] | 0) : null,\n zoomArgs.length > 2 ? (zoomArgs[2] | 0) : null,\n (zoomArgNumber ? zoomArgNumber / 100 : zoomArg)];\n } else {\n if (zoomArg === 'Fit' || zoomArg === 'FitB') {\n dest = [null, { name: zoomArg, }];\n } else if ((zoomArg === 'FitH' || zoomArg === 'FitBH') ||\n (zoomArg === 'FitV' || zoomArg === 'FitBV')) {\n dest = [null, { name: zoomArg, },\n zoomArgs.length > 1 ? (zoomArgs[1] | 0) : null];\n } else if (zoomArg === 'FitR') {\n if (zoomArgs.length !== 5) {\n console.error(\n 'PDFLinkService.setHash: Not enough parameters for \"FitR\".');\n } else {\n dest = [null, { name: zoomArg, },\n (zoomArgs[1] | 0), (zoomArgs[2] | 0),\n (zoomArgs[3] | 0), (zoomArgs[4] | 0)];\n }\n } else {\n console.error(`PDFLinkService.setHash: \"${zoomArg}\" is not ` +\n 'a valid zoom value.');\n }\n }\n }\n if (dest) {\n this.pdfViewer.scrollPageIntoView({\n pageNumber: pageNumber || this.page,\n destArray: dest,\n allowNegativeOffset: true,\n });\n } else if (pageNumber) {\n this.page = pageNumber; // simple page\n }\n if ('pagemode' in params) {\n this.eventBus.dispatch('pagemode', {\n source: this,\n mode: params.pagemode,\n });\n }\n } else { // Named (or explicit) destination.\n if ((typeof PDFJSDev === 'undefined' || PDFJSDev.test('GENERIC')) &&\n /^\\d+$/.test(hash) && hash <= this.pagesCount) {\n console.warn('PDFLinkService_setHash: specifying a page number ' +\n 'directly after the hash symbol (#) is deprecated, ' +\n `please use the \"#page=${hash}\" form instead.`);\n this.page = hash | 0;\n }\n\n dest = unescape(hash);\n try {\n dest = JSON.parse(dest);\n\n if (!(dest instanceof Array)) {\n // Avoid incorrectly rejecting a valid named destination, such as\n // e.g. \"4.3\" or \"true\", because `JSON.parse` converted its type.\n dest = dest.toString();\n }\n } catch (ex) {}\n\n if (typeof dest === 'string' || isValidExplicitDestination(dest)) {\n this.navigateTo(dest);\n return;\n }\n console.error(`PDFLinkService.setHash: \"${unescape(hash)}\" is not ` +\n 'a valid destination.');\n }\n }\n\n /**\n * @param {string} action\n */\n executeNamedAction(action) {\n // See PDF reference, table 8.45 - Named action\n switch (action) {\n case 'GoBack':\n if (this.pdfHistory) {\n this.pdfHistory.back();\n }\n break;\n\n case 'GoForward':\n if (this.pdfHistory) {\n this.pdfHistory.forward();\n }\n break;\n\n case 'NextPage':\n if (this.page < this.pagesCount) {\n this.page++;\n }\n break;\n\n case 'PrevPage':\n if (this.page > 1) {\n this.page--;\n }\n break;\n\n case 'LastPage':\n this.page = this.pagesCount;\n break;\n\n case 'FirstPage':\n this.page = 1;\n break;\n\n default:\n break; // No action according to spec\n }\n\n this.eventBus.dispatch('namedaction', {\n source: this,\n action,\n });\n }\n\n /**\n * @param {Object} params\n */\n onFileAttachmentAnnotation({ id, filename, content, }) {\n this.eventBus.dispatch('fileattachmentannotation', {\n source: this,\n id,\n filename,\n content,\n });\n }\n\n /**\n * @param {number} pageNum - page number.\n * @param {Object} pageRef - reference to the page.\n */\n cachePageRef(pageNum, pageRef) {\n let refStr = pageRef.num + ' ' + pageRef.gen + ' R';\n this._pagesRefCache[refStr] = pageNum;\n }\n\n _cachedPageNumber(pageRef) {\n let refStr = pageRef.num + ' ' + pageRef.gen + ' R';\n return (this._pagesRefCache && this._pagesRefCache[refStr]) || null;\n }\n}\n\nfunction isValidExplicitDestination(dest) {\n if (!(dest instanceof Array)) {\n return false;\n }\n let destLength = dest.length, allowNull = true;\n if (destLength < 2) {\n return false;\n }\n let page = dest[0];\n if (!(typeof page === 'object' &&\n Number.isInteger(page.num) && Number.isInteger(page.gen)) &&\n !(Number.isInteger(page) && page >= 0)) {\n return false;\n }\n let zoom = dest[1];\n if (!(typeof zoom === 'object' && typeof zoom.name === 'string')) {\n return false;\n }\n switch (zoom.name) {\n case 'XYZ':\n if (destLength !== 5) {\n return false;\n }\n break;\n case 'Fit':\n case 'FitB':\n return destLength === 2;\n case 'FitH':\n case 'FitBH':\n case 'FitV':\n case 'FitBV':\n if (destLength !== 3) {\n return false;\n }\n break;\n case 'FitR':\n if (destLength !== 6) {\n return false;\n }\n allowNull = false;\n break;\n default:\n return false;\n }\n for (let i = 2; i < destLength; i++) {\n let param = dest[i];\n if (!(typeof param === 'number' || (allowNull && param === null))) {\n return false;\n }\n }\n return true;\n}\n\nclass SimpleLinkService {\n /**\n * @returns {number}\n */\n get page() {\n return 0;\n }\n\n /**\n * @param {number} value\n */\n set page(value) {}\n\n /**\n * @returns {number}\n */\n get rotation() {\n return 0;\n }\n\n /**\n * @param {number} value\n */\n set rotation(value) {}\n\n /**\n * @param dest - The PDF destination object.\n */\n navigateTo(dest) {}\n\n /**\n * @param dest - The PDF destination object.\n * @returns {string} The hyperlink to the PDF object.\n */\n getDestinationHash(dest) {\n return '#';\n }\n\n /**\n * @param hash - The PDF parameters/hash.\n * @returns {string} The hyperlink to the PDF object.\n */\n getAnchorUrl(hash) {\n return '#';\n }\n\n /**\n * @param {string} hash\n */\n setHash(hash) {}\n\n /**\n * @param {string} action\n */\n executeNamedAction(action) {}\n\n /**\n * @param {Object} params\n */\n onFileAttachmentAnnotation({ id, filename, content, }) {}\n\n /**\n * @param {number} pageNum - page number.\n * @param {Object} pageRef - reference to the page.\n */\n cachePageRef(pageNum, pageRef) {}\n}\n\nexport {\n PDFLinkService,\n SimpleLinkService,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/pdf_link_service.js","/* Copyright 2017 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { GrabToPan } from './grab_to_pan';\n\nconst CursorTool = {\n SELECT: 0, // The default value.\n HAND: 1,\n ZOOM: 2,\n};\n\n/**\n * @typedef {Object} PDFCursorToolsOptions\n * @property {HTMLDivElement} container - The document container.\n * @property {EventBus} eventBus - The application event bus.\n * @property {BasePreferences} preferences - Object for reading/writing\n * persistent settings.\n */\n\nclass PDFCursorTools {\n /**\n * @param {PDFCursorToolsOptions} options\n */\n constructor({ container, eventBus, preferences, }) {\n this.container = container;\n this.eventBus = eventBus;\n\n this.active = CursorTool.SELECT;\n this.activeBeforePresentationMode = null;\n\n this.handTool = new GrabToPan({\n element: this.container,\n });\n\n this._addEventListeners();\n\n Promise.all([\n preferences.get('cursorToolOnLoad'),\n preferences.get('enableHandToolOnLoad')\n ]).then(([cursorToolPref, handToolPref]) => {\n // If the 'cursorToolOnLoad' preference has not been set to a non-default\n // value, attempt to convert the old 'enableHandToolOnLoad' preference.\n // TODO: Remove this conversion after a suitable number of releases.\n if (handToolPref === true) {\n preferences.set('enableHandToolOnLoad', false);\n\n if (cursorToolPref === CursorTool.SELECT) {\n cursorToolPref = CursorTool.HAND;\n preferences.set('cursorToolOnLoad', cursorToolPref).catch(() => { });\n }\n }\n this.switchTool(cursorToolPref);\n }).catch(() => { });\n }\n\n /**\n * @returns {number} One of the values in {CursorTool}.\n */\n get activeTool() {\n return this.active;\n }\n\n /**\n * NOTE: This method is ignored while Presentation Mode is active.\n * @param {number} tool - The cursor mode that should be switched to,\n * must be one of the values in {CursorTool}.\n */\n switchTool(tool) {\n if (this.activeBeforePresentationMode !== null) {\n return; // Cursor tools cannot be used in Presentation Mode.\n }\n if (tool === this.active) {\n return; // The requested tool is already active.\n }\n\n let disableActiveTool = () => {\n switch (this.active) {\n case CursorTool.SELECT:\n break;\n case CursorTool.HAND:\n this.handTool.deactivate();\n break;\n case CursorTool.ZOOM:\n /* falls through */\n }\n };\n\n switch (tool) { // Enable the new cursor tool.\n case CursorTool.SELECT:\n disableActiveTool();\n break;\n case CursorTool.HAND:\n disableActiveTool();\n this.handTool.activate();\n break;\n case CursorTool.ZOOM:\n /* falls through */\n default:\n console.error(`switchTool: \"${tool}\" is an unsupported value.`);\n return;\n }\n // Update the active tool *after* it has been validated above,\n // in order to prevent setting it to an invalid state.\n this.active = tool;\n\n this._dispatchEvent();\n }\n\n /**\n * @private\n */\n _dispatchEvent() {\n this.eventBus.dispatch('cursortoolchanged', {\n source: this,\n tool: this.active,\n });\n }\n\n /**\n * @private\n */\n _addEventListeners() {\n this.eventBus.on('switchcursortool', (evt) => {\n this.switchTool(evt.tool);\n });\n\n this.eventBus.on('presentationmodechanged', (evt) => {\n if (evt.switchInProgress) {\n return;\n }\n let previouslyActive;\n\n if (evt.active) {\n previouslyActive = this.active;\n\n this.switchTool(CursorTool.SELECT);\n this.activeBeforePresentationMode = previouslyActive;\n } else {\n previouslyActive = this.activeBeforePresentationMode;\n\n this.activeBeforePresentationMode = null;\n this.switchTool(previouslyActive);\n }\n });\n }\n}\n\nexport {\n CursorTool,\n PDFCursorTools,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/pdf_cursor_tools.js","/* Copyright 2012 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { createPromiseCapability } from 'pdfjs-lib';\nimport { scrollIntoView } from './ui_utils';\n\nconst FindState = {\n FOUND: 0,\n NOT_FOUND: 1,\n WRAPPED: 2,\n PENDING: 3,\n};\n\nconst FIND_SCROLL_OFFSET_TOP = -50;\nconst FIND_SCROLL_OFFSET_LEFT = -400;\nconst FIND_TIMEOUT = 250; // ms\n\nconst CHARACTERS_TO_NORMALIZE = {\n '\\u2018': '\\'', // Left single quotation mark\n '\\u2019': '\\'', // Right single quotation mark\n '\\u201A': '\\'', // Single low-9 quotation mark\n '\\u201B': '\\'', // Single high-reversed-9 quotation mark\n '\\u201C': '\"', // Left double quotation mark\n '\\u201D': '\"', // Right double quotation mark\n '\\u201E': '\"', // Double low-9 quotation mark\n '\\u201F': '\"', // Double high-reversed-9 quotation mark\n '\\u00BC': '1/4', // Vulgar fraction one quarter\n '\\u00BD': '1/2', // Vulgar fraction one half\n '\\u00BE': '3/4', // Vulgar fraction three quarters\n};\n\n/**\n * Provides search functionality to find a given string in a PDF document.\n */\nclass PDFFindController {\n constructor({ pdfViewer, }) {\n this.pdfViewer = pdfViewer;\n\n this.onUpdateResultsCount = null;\n this.onUpdateState = null;\n\n this.reset();\n\n // Compile the regular expression for text normalization once.\n let replace = Object.keys(CHARACTERS_TO_NORMALIZE).join('');\n this.normalizationRegex = new RegExp('[' + replace + ']', 'g');\n }\n\n reset() {\n this.startedTextExtraction = false;\n this.extractTextPromises = [];\n this.pendingFindMatches = Object.create(null);\n this.active = false; // If active, find results will be highlighted.\n this.pageContents = []; // Stores the text for each page.\n this.pageMatches = [];\n this.pageMatchesLength = null;\n this.matchCount = 0;\n this.selected = { // Currently selected match.\n pageIdx: -1,\n matchIdx: -1,\n };\n this.offset = { // Where the find algorithm currently is in the document.\n pageIdx: null,\n matchIdx: null,\n };\n this.pagesToSearch = null;\n this.resumePageIdx = null;\n this.state = null;\n this.dirtyMatch = false;\n this.findTimeout = null;\n\n this._firstPagePromise = new Promise((resolve) => {\n this.resolveFirstPage = resolve;\n });\n }\n\n normalize(text) {\n return text.replace(this.normalizationRegex, function (ch) {\n return CHARACTERS_TO_NORMALIZE[ch];\n });\n }\n\n /**\n * Helper for multi-term search that fills the `matchesWithLength` array\n * and handles cases where one search term includes another search term (for\n * example, \"tamed tame\" or \"this is\"). It looks for intersecting terms in\n * the `matches` and keeps elements with a longer match length.\n */\n _prepareMatches(matchesWithLength, matches, matchesLength) {\n function isSubTerm(matchesWithLength, currentIndex) {\n let currentElem = matchesWithLength[currentIndex];\n let nextElem = matchesWithLength[currentIndex + 1];\n\n // Check for cases like \"TAMEd TAME\".\n if (currentIndex < matchesWithLength.length - 1 &&\n currentElem.match === nextElem.match) {\n currentElem.skipped = true;\n return true;\n }\n\n // Check for cases like \"thIS IS\".\n for (let i = currentIndex - 1; i >= 0; i--) {\n let prevElem = matchesWithLength[i];\n if (prevElem.skipped) {\n continue;\n }\n if (prevElem.match + prevElem.matchLength < currentElem.match) {\n break;\n }\n if (prevElem.match + prevElem.matchLength >=\n currentElem.match + currentElem.matchLength) {\n currentElem.skipped = true;\n return true;\n }\n }\n return false;\n }\n\n // Sort the array of `{ match: , matchLength: }`\n // objects on increasing index first and on the length otherwise.\n matchesWithLength.sort(function(a, b) {\n return a.match === b.match ? a.matchLength - b.matchLength :\n a.match - b.match;\n });\n for (let i = 0, len = matchesWithLength.length; i < len; i++) {\n if (isSubTerm(matchesWithLength, i)) {\n continue;\n }\n matches.push(matchesWithLength[i].match);\n matchesLength.push(matchesWithLength[i].matchLength);\n }\n }\n\n calcFindPhraseMatch(query, pageIndex, pageContent) {\n let matches = [];\n let queryLen = query.length;\n let matchIdx = -queryLen;\n while (true) {\n matchIdx = pageContent.indexOf(query, matchIdx + queryLen);\n if (matchIdx === -1) {\n break;\n }\n matches.push(matchIdx);\n }\n this.pageMatches[pageIndex] = matches;\n }\n\n calcFindWordMatch(query, pageIndex, pageContent) {\n let matchesWithLength = [];\n // Divide the query into pieces and search for text in each piece.\n let queryArray = query.match(/\\S+/g);\n for (let i = 0, len = queryArray.length; i < len; i++) {\n let subquery = queryArray[i];\n let subqueryLen = subquery.length;\n let matchIdx = -subqueryLen;\n while (true) {\n matchIdx = pageContent.indexOf(subquery, matchIdx + subqueryLen);\n if (matchIdx === -1) {\n break;\n }\n // Other searches do not, so we store the length.\n matchesWithLength.push({\n match: matchIdx,\n matchLength: subqueryLen,\n skipped: false,\n });\n }\n }\n\n // Prepare arrays for storing the matches.\n if (!this.pageMatchesLength) {\n this.pageMatchesLength = [];\n }\n this.pageMatchesLength[pageIndex] = [];\n this.pageMatches[pageIndex] = [];\n\n // Sort `matchesWithLength`, remove intersecting terms and put the result\n // into the two arrays.\n this._prepareMatches(matchesWithLength, this.pageMatches[pageIndex],\n this.pageMatchesLength[pageIndex]);\n }\n\n calcFindMatch(pageIndex) {\n let pageContent = this.normalize(this.pageContents[pageIndex]);\n let query = this.normalize(this.state.query);\n let caseSensitive = this.state.caseSensitive;\n let phraseSearch = this.state.phraseSearch;\n let queryLen = query.length;\n\n if (queryLen === 0) {\n // Do nothing: the matches should be wiped out already.\n return;\n }\n\n if (!caseSensitive) {\n pageContent = pageContent.toLowerCase();\n query = query.toLowerCase();\n }\n\n if (phraseSearch) {\n this.calcFindPhraseMatch(query, pageIndex, pageContent);\n } else {\n this.calcFindWordMatch(query, pageIndex, pageContent);\n }\n\n this.updatePage(pageIndex);\n if (this.resumePageIdx === pageIndex) {\n this.resumePageIdx = null;\n this.nextPageMatch();\n }\n\n // Update the match count.\n if (this.pageMatches[pageIndex].length > 0) {\n this.matchCount += this.pageMatches[pageIndex].length;\n this.updateUIResultsCount();\n }\n }\n\n extractText() {\n if (this.startedTextExtraction) {\n return;\n }\n this.startedTextExtraction = true;\n this.pageContents.length = 0;\n\n let promise = Promise.resolve();\n for (let i = 0, ii = this.pdfViewer.pagesCount; i < ii; i++) {\n let extractTextCapability = createPromiseCapability();\n this.extractTextPromises[i] = extractTextCapability.promise;\n\n promise = promise.then(() => {\n return this.pdfViewer.getPageTextContent(i).then((textContent) => {\n let textItems = textContent.items;\n let strBuf = [];\n\n for (let j = 0, jj = textItems.length; j < jj; j++) {\n strBuf.push(textItems[j].str);\n }\n // Store the pageContent as a string.\n this.pageContents[i] = strBuf.join('');\n extractTextCapability.resolve(i);\n }, (reason) => {\n console.error(`Unable to get page ${i + 1} text content`, reason);\n // Page error -- assuming no text content.\n this.pageContents[i] = '';\n extractTextCapability.resolve(i);\n });\n });\n }\n }\n\n executeCommand(cmd, state) {\n if (this.state === null || cmd !== 'findagain') {\n this.dirtyMatch = true;\n }\n this.state = state;\n this.updateUIState(FindState.PENDING);\n\n this._firstPagePromise.then(() => {\n this.extractText();\n\n clearTimeout(this.findTimeout);\n if (cmd === 'find') {\n // Trigger the find action with a small delay to avoid starting the\n // search when the user is still typing (saving resources).\n this.findTimeout = setTimeout(this.nextMatch.bind(this), FIND_TIMEOUT);\n } else {\n this.nextMatch();\n }\n });\n }\n\n updatePage(index) {\n if (this.selected.pageIdx === index) {\n // If the page is selected, scroll the page into view, which triggers\n // rendering the page, which adds the textLayer. Once the textLayer is\n // build, it will scroll onto the selected match.\n this.pdfViewer.currentPageNumber = index + 1;\n }\n\n let page = this.pdfViewer.getPageView(index);\n if (page.textLayer) {\n page.textLayer.updateMatches();\n }\n }\n\n nextMatch() {\n let previous = this.state.findPrevious;\n let currentPageIndex = this.pdfViewer.currentPageNumber - 1;\n let numPages = this.pdfViewer.pagesCount;\n\n this.active = true;\n\n if (this.dirtyMatch) {\n // Need to recalculate the matches, reset everything.\n this.dirtyMatch = false;\n this.selected.pageIdx = this.selected.matchIdx = -1;\n this.offset.pageIdx = currentPageIndex;\n this.offset.matchIdx = null;\n this.hadMatch = false;\n this.resumePageIdx = null;\n this.pageMatches = [];\n this.matchCount = 0;\n this.pageMatchesLength = null;\n\n for (let i = 0; i < numPages; i++) {\n // Wipe out any previously highlighted matches.\n this.updatePage(i);\n\n // Start finding the matches as soon as the text is extracted.\n if (!(i in this.pendingFindMatches)) {\n this.pendingFindMatches[i] = true;\n this.extractTextPromises[i].then((pageIdx) => {\n delete this.pendingFindMatches[pageIdx];\n this.calcFindMatch(pageIdx);\n });\n }\n }\n }\n\n // If there's no query there's no point in searching.\n if (this.state.query === '') {\n this.updateUIState(FindState.FOUND);\n return;\n }\n\n // If we're waiting on a page, we return since we can't do anything else.\n if (this.resumePageIdx) {\n return;\n }\n\n let offset = this.offset;\n // Keep track of how many pages we should maximally iterate through.\n this.pagesToSearch = numPages;\n // If there's already a `matchIdx` that means we are iterating through a\n // page's matches.\n if (offset.matchIdx !== null) {\n let numPageMatches = this.pageMatches[offset.pageIdx].length;\n if ((!previous && offset.matchIdx + 1 < numPageMatches) ||\n (previous && offset.matchIdx > 0)) {\n // The simple case; we just have advance the matchIdx to select\n // the next match on the page.\n this.hadMatch = true;\n offset.matchIdx = (previous ? offset.matchIdx - 1 :\n offset.matchIdx + 1);\n this.updateMatch(true);\n return;\n }\n // We went beyond the current page's matches, so we advance to\n // the next page.\n this.advanceOffsetPage(previous);\n }\n // Start searching through the page.\n this.nextPageMatch();\n }\n\n matchesReady(matches) {\n let offset = this.offset;\n let numMatches = matches.length;\n let previous = this.state.findPrevious;\n\n if (numMatches) {\n // There were matches for the page, so initialize `matchIdx`.\n this.hadMatch = true;\n offset.matchIdx = (previous ? numMatches - 1 : 0);\n this.updateMatch(true);\n return true;\n }\n // No matches, so attempt to search the next page.\n this.advanceOffsetPage(previous);\n if (offset.wrapped) {\n offset.matchIdx = null;\n if (this.pagesToSearch < 0) {\n // No point in wrapping again, there were no matches.\n this.updateMatch(false);\n // While matches were not found, searching for a page\n // with matches should nevertheless halt.\n return true;\n }\n }\n // Matches were not found (and searching is not done).\n return false;\n }\n\n /**\n * Called from the text layer when match presentation is updated.\n *\n * @param {number} pageIndex - The index of the page.\n * @param {number} matchIndex - The index of the match.\n * @param {Array} elements - Text layer `div` elements.\n * @param {number} beginIdx - Start index of the `div` array for the match.\n */\n updateMatchPosition(pageIndex, matchIndex, elements, beginIdx) {\n if (this.selected.matchIdx === matchIndex &&\n this.selected.pageIdx === pageIndex) {\n let spot = {\n top: FIND_SCROLL_OFFSET_TOP,\n left: FIND_SCROLL_OFFSET_LEFT,\n };\n scrollIntoView(elements[beginIdx], spot,\n /* skipOverflowHiddenElements = */ true);\n }\n }\n\n nextPageMatch() {\n if (this.resumePageIdx !== null) {\n console.error('There can only be one pending page.');\n }\n\n let matches = null;\n do {\n let pageIdx = this.offset.pageIdx;\n matches = this.pageMatches[pageIdx];\n if (!matches) {\n // The matches don't exist yet for processing by `matchesReady`,\n // so set a resume point for when they do exist.\n this.resumePageIdx = pageIdx;\n break;\n }\n } while (!this.matchesReady(matches));\n }\n\n advanceOffsetPage(previous) {\n let offset = this.offset;\n let numPages = this.extractTextPromises.length;\n offset.pageIdx = (previous ? offset.pageIdx - 1 : offset.pageIdx + 1);\n offset.matchIdx = null;\n\n this.pagesToSearch--;\n\n if (offset.pageIdx >= numPages || offset.pageIdx < 0) {\n offset.pageIdx = (previous ? numPages - 1 : 0);\n offset.wrapped = true;\n }\n }\n\n updateMatch(found = false) {\n let state = FindState.NOT_FOUND;\n let wrapped = this.offset.wrapped;\n this.offset.wrapped = false;\n\n if (found) {\n let previousPage = this.selected.pageIdx;\n this.selected.pageIdx = this.offset.pageIdx;\n this.selected.matchIdx = this.offset.matchIdx;\n state = (wrapped ? FindState.WRAPPED : FindState.FOUND);\n\n // Update the currently selected page to wipe out any selected matches.\n if (previousPage !== -1 && previousPage !== this.selected.pageIdx) {\n this.updatePage(previousPage);\n }\n }\n\n this.updateUIState(state, this.state.findPrevious);\n if (this.selected.pageIdx !== -1) {\n this.updatePage(this.selected.pageIdx);\n }\n }\n\n updateUIResultsCount() {\n if (this.onUpdateResultsCount) {\n this.onUpdateResultsCount(this.matchCount);\n }\n }\n\n updateUIState(state, previous) {\n if (this.onUpdateState) {\n this.onUpdateState(state, previous, this.matchCount);\n }\n }\n}\n\nexport {\n FindState,\n PDFFindController,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/pdf_find_controller.js","/* Copyright 2016 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/* globals chrome */\n\n'use strict';\n\nlet DEFAULT_URL = 'compressed.tracemonkey-pldi-09.pdf';\n\nif (typeof PDFJSDev !== 'undefined' && PDFJSDev.test('CHROME')) {\n (function rewriteUrlClosure() {\n // Run this code outside DOMContentLoaded to make sure that the URL\n // is rewritten as soon as possible.\n let queryString = document.location.search.slice(1);\n let m = /(^|&)file=([^&]*)/.exec(queryString);\n DEFAULT_URL = m ? decodeURIComponent(m[2]) : '';\n\n // Example: chrome-extension://.../http://example.com/file.pdf\n let humanReadableUrl = '/' + DEFAULT_URL + location.hash;\n history.replaceState(history.state, '', humanReadableUrl);\n if (top === window) {\n chrome.runtime.sendMessage('showPageAction');\n }\n })();\n}\n\nlet pdfjsWebApp;\nif (typeof PDFJSDev !== 'undefined' && PDFJSDev.test('PRODUCTION')) {\n pdfjsWebApp = require('./app.js');\n}\n\nif (typeof PDFJSDev !== 'undefined' && PDFJSDev.test('FIREFOX || MOZCENTRAL')) {\n require('./firefoxcom.js');\n require('./firefox_print_service.js');\n}\nif (typeof PDFJSDev !== 'undefined' && PDFJSDev.test('GENERIC')) {\n require('./genericcom.js');\n}\nif (typeof PDFJSDev !== 'undefined' && PDFJSDev.test('CHROME')) {\n require('./chromecom.js');\n}\nif (typeof PDFJSDev !== 'undefined' && PDFJSDev.test('CHROME || GENERIC')) {\n require('./pdf_print_service.js');\n}\n\nfunction getViewerConfiguration() {\n return {\n appContainer: document.body,\n mainContainer: document.getElementById('viewerContainer'),\n viewerContainer: document.getElementById('viewer'),\n eventBus: null, // using global event bus with DOM events\n toolbar: {\n container: document.getElementById('toolbarViewer'),\n numPages: document.getElementById('numPages'),\n pageNumber: document.getElementById('pageNumber'),\n scaleSelectContainer: document.getElementById('scaleSelectContainer'),\n scaleSelect: document.getElementById('scaleSelect'),\n customScaleOption: document.getElementById('customScaleOption'),\n previous: document.getElementById('previous'),\n next: document.getElementById('next'),\n zoomIn: document.getElementById('zoomIn'),\n zoomOut: document.getElementById('zoomOut'),\n viewFind: document.getElementById('viewFind'),\n openFile: document.getElementById('openFile'),\n print: document.getElementById('print'),\n presentationModeButton: document.getElementById('presentationMode'),\n download: document.getElementById('download'),\n viewBookmark: document.getElementById('viewBookmark'),\n },\n secondaryToolbar: {\n toolbar: document.getElementById('secondaryToolbar'),\n toggleButton: document.getElementById('secondaryToolbarToggle'),\n toolbarButtonContainer:\n document.getElementById('secondaryToolbarButtonContainer'),\n presentationModeButton:\n document.getElementById('secondaryPresentationMode'),\n openFileButton: document.getElementById('secondaryOpenFile'),\n printButton: document.getElementById('secondaryPrint'),\n downloadButton: document.getElementById('secondaryDownload'),\n viewBookmarkButton: document.getElementById('secondaryViewBookmark'),\n firstPageButton: document.getElementById('firstPage'),\n lastPageButton: document.getElementById('lastPage'),\n pageRotateCwButton: document.getElementById('pageRotateCw'),\n pageRotateCcwButton: document.getElementById('pageRotateCcw'),\n cursorSelectToolButton: document.getElementById('cursorSelectTool'),\n cursorHandToolButton: document.getElementById('cursorHandTool'),\n documentPropertiesButton: document.getElementById('documentProperties'),\n },\n fullscreen: {\n contextFirstPage: document.getElementById('contextFirstPage'),\n contextLastPage: document.getElementById('contextLastPage'),\n contextPageRotateCw: document.getElementById('contextPageRotateCw'),\n contextPageRotateCcw: document.getElementById('contextPageRotateCcw'),\n },\n sidebar: {\n // Divs (and sidebar button)\n mainContainer: document.getElementById('mainContainer'),\n outerContainer: document.getElementById('outerContainer'),\n toggleButton: document.getElementById('sidebarToggle'),\n // Buttons\n thumbnailButton: document.getElementById('viewThumbnail'),\n outlineButton: document.getElementById('viewOutline'),\n attachmentsButton: document.getElementById('viewAttachments'),\n // Views\n thumbnailView: document.getElementById('thumbnailView'),\n outlineView: document.getElementById('outlineView'),\n attachmentsView: document.getElementById('attachmentsView'),\n },\n findBar: {\n bar: document.getElementById('findbar'),\n toggleButton: document.getElementById('viewFind'),\n findField: document.getElementById('findInput'),\n highlightAllCheckbox: document.getElementById('findHighlightAll'),\n caseSensitiveCheckbox: document.getElementById('findMatchCase'),\n findMsg: document.getElementById('findMsg'),\n findResultsCount: document.getElementById('findResultsCount'),\n findStatusIcon: document.getElementById('findStatusIcon'),\n findPreviousButton: document.getElementById('findPrevious'),\n findNextButton: document.getElementById('findNext'),\n },\n passwordOverlay: {\n overlayName: 'passwordOverlay',\n container: document.getElementById('passwordOverlay'),\n label: document.getElementById('passwordText'),\n input: document.getElementById('password'),\n submitButton: document.getElementById('passwordSubmit'),\n cancelButton: document.getElementById('passwordCancel'),\n },\n documentProperties: {\n overlayName: 'documentPropertiesOverlay',\n container: document.getElementById('documentPropertiesOverlay'),\n closeButton: document.getElementById('documentPropertiesClose'),\n fields: {\n 'fileName': document.getElementById('fileNameField'),\n 'fileSize': document.getElementById('fileSizeField'),\n 'title': document.getElementById('titleField'),\n 'author': document.getElementById('authorField'),\n 'subject': document.getElementById('subjectField'),\n 'keywords': document.getElementById('keywordsField'),\n 'creationDate': document.getElementById('creationDateField'),\n 'modificationDate': document.getElementById('modificationDateField'),\n 'creator': document.getElementById('creatorField'),\n 'producer': document.getElementById('producerField'),\n 'version': document.getElementById('versionField'),\n 'pageCount': document.getElementById('pageCountField'),\n },\n },\n errorWrapper: {\n container: document.getElementById('errorWrapper'),\n errorMessage: document.getElementById('errorMessage'),\n closeButton: document.getElementById('errorClose'),\n errorMoreInfo: document.getElementById('errorMoreInfo'),\n moreInfoButton: document.getElementById('errorShowMore'),\n lessInfoButton: document.getElementById('errorShowLess'),\n },\n printContainer: document.getElementById('printContainer'),\n openFileInputName: 'fileInput',\n debuggerScriptPath: './debugger.js',\n defaultUrl: DEFAULT_URL,\n };\n}\n\nfunction webViewerLoad() {\n let config = getViewerConfiguration();\n if (typeof PDFJSDev === 'undefined' || !PDFJSDev.test('PRODUCTION')) {\n Promise.all([\n SystemJS.import('pdfjs-web/app'),\n SystemJS.import('pdfjs-web/genericcom'),\n SystemJS.import('pdfjs-web/pdf_print_service'),\n ]).then(function([app, ...otherModules]) {\n window.PDFViewerApplication = app.PDFViewerApplication;\n app.PDFViewerApplication.run(config);\n });\n } else {\n window.PDFViewerApplication = pdfjsWebApp.PDFViewerApplication;\n pdfjsWebApp.PDFViewerApplication.run(config);\n }\n}\n\nif (document.readyState === 'interactive' ||\n document.readyState === 'complete') {\n webViewerLoad();\n} else {\n document.addEventListener('DOMContentLoaded', webViewerLoad, true);\n}\n\n\n\n// WEBPACK FOOTER //\n// web/viewer.js","/* Copyright 2013 Rob Wu \n * https://github.com/Rob--W/grab-to-pan.js\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Construct a GrabToPan instance for a given HTML element.\n * @param options.element {Element}\n * @param options.ignoreTarget {function} optional. See `ignoreTarget(node)`\n * @param options.onActiveChanged {function(boolean)} optional. Called\n * when grab-to-pan is (de)activated. The first argument is a boolean that\n * shows whether grab-to-pan is activated.\n */\nfunction GrabToPan(options) {\n this.element = options.element;\n this.document = options.element.ownerDocument;\n if (typeof options.ignoreTarget === 'function') {\n this.ignoreTarget = options.ignoreTarget;\n }\n this.onActiveChanged = options.onActiveChanged;\n\n // Bind the contexts to ensure that `this` always points to\n // the GrabToPan instance.\n this.activate = this.activate.bind(this);\n this.deactivate = this.deactivate.bind(this);\n this.toggle = this.toggle.bind(this);\n this._onmousedown = this._onmousedown.bind(this);\n this._onmousemove = this._onmousemove.bind(this);\n this._endPan = this._endPan.bind(this);\n\n // This overlay will be inserted in the document when the mouse moves during\n // a grab operation, to ensure that the cursor has the desired appearance.\n var overlay = this.overlay = document.createElement('div');\n overlay.className = 'grab-to-pan-grabbing';\n}\nGrabToPan.prototype = {\n /**\n * Class name of element which can be grabbed\n */\n CSS_CLASS_GRAB: 'grab-to-pan-grab',\n\n /**\n * Bind a mousedown event to the element to enable grab-detection.\n */\n activate: function GrabToPan_activate() {\n if (!this.active) {\n this.active = true;\n this.element.addEventListener('mousedown', this._onmousedown, true);\n this.element.classList.add(this.CSS_CLASS_GRAB);\n if (this.onActiveChanged) {\n this.onActiveChanged(true);\n }\n }\n },\n\n /**\n * Removes all events. Any pending pan session is immediately stopped.\n */\n deactivate: function GrabToPan_deactivate() {\n if (this.active) {\n this.active = false;\n this.element.removeEventListener('mousedown', this._onmousedown, true);\n this._endPan();\n this.element.classList.remove(this.CSS_CLASS_GRAB);\n if (this.onActiveChanged) {\n this.onActiveChanged(false);\n }\n }\n },\n\n toggle: function GrabToPan_toggle() {\n if (this.active) {\n this.deactivate();\n } else {\n this.activate();\n }\n },\n\n /**\n * Whether to not pan if the target element is clicked.\n * Override this method to change the default behaviour.\n *\n * @param node {Element} The target of the event\n * @return {boolean} Whether to not react to the click event.\n */\n ignoreTarget: function GrabToPan_ignoreTarget(node) {\n // Use matchesSelector to check whether the clicked element\n // is (a child of) an input element / link\n return node[matchesSelector](\n 'a[href], a[href] *, input, textarea, button, button *, select, option'\n );\n },\n\n /**\n * @private\n */\n _onmousedown: function GrabToPan__onmousedown(event) {\n if (event.button !== 0 || this.ignoreTarget(event.target)) {\n return;\n }\n if (event.originalTarget) {\n try {\n // eslint-disable-next-line no-unused-expressions\n event.originalTarget.tagName;\n } catch (e) {\n // Mozilla-specific: element is a scrollbar (XUL element)\n return;\n }\n }\n\n this.scrollLeftStart = this.element.scrollLeft;\n this.scrollTopStart = this.element.scrollTop;\n this.clientXStart = event.clientX;\n this.clientYStart = event.clientY;\n this.document.addEventListener('mousemove', this._onmousemove, true);\n this.document.addEventListener('mouseup', this._endPan, true);\n // When a scroll event occurs before a mousemove, assume that the user\n // dragged a scrollbar (necessary for Opera Presto, Safari and IE)\n // (not needed for Chrome/Firefox)\n this.element.addEventListener('scroll', this._endPan, true);\n event.preventDefault();\n event.stopPropagation();\n\n var focusedElement = document.activeElement;\n if (focusedElement && !focusedElement.contains(event.target)) {\n focusedElement.blur();\n }\n },\n\n /**\n * @private\n */\n _onmousemove: function GrabToPan__onmousemove(event) {\n this.element.removeEventListener('scroll', this._endPan, true);\n if (isLeftMouseReleased(event)) {\n this._endPan();\n return;\n }\n var xDiff = event.clientX - this.clientXStart;\n var yDiff = event.clientY - this.clientYStart;\n var scrollTop = this.scrollTopStart - yDiff;\n var scrollLeft = this.scrollLeftStart - xDiff;\n if (this.element.scrollTo) {\n this.element.scrollTo({\n top: scrollTop,\n left: scrollLeft,\n behavior: 'instant',\n });\n } else {\n this.element.scrollTop = scrollTop;\n this.element.scrollLeft = scrollLeft;\n }\n if (!this.overlay.parentNode) {\n document.body.appendChild(this.overlay);\n }\n },\n\n /**\n * @private\n */\n _endPan: function GrabToPan__endPan() {\n this.element.removeEventListener('scroll', this._endPan, true);\n this.document.removeEventListener('mousemove', this._onmousemove, true);\n this.document.removeEventListener('mouseup', this._endPan, true);\n // Note: ChildNode.remove doesn't throw if the parentNode is undefined.\n this.overlay.remove();\n },\n};\n\n// Get the correct (vendor-prefixed) name of the matches method.\nvar matchesSelector;\n['webkitM', 'mozM', 'msM', 'oM', 'm'].some(function(prefix) {\n var name = prefix + 'atches';\n if (name in document.documentElement) {\n matchesSelector = name;\n }\n name += 'Selector';\n if (name in document.documentElement) {\n matchesSelector = name;\n }\n return matchesSelector; // If found, then truthy, and [].some() ends.\n});\n\n// Browser sniffing because it's impossible to feature-detect\n// whether event.which for onmousemove is reliable\nvar isNotIEorIsIE10plus = !document.documentMode || document.documentMode > 9;\nvar chrome = window.chrome;\nvar isChrome15OrOpera15plus = chrome && (chrome.webstore || chrome.app);\n// ^ Chrome 15+ ^ Opera 15+\nvar isSafari6plus = /Apple/.test(navigator.vendor) &&\n /Version\\/([6-9]\\d*|[1-5]\\d+)/.test(navigator.userAgent);\n\n/**\n * Whether the left mouse is not pressed.\n * @param event {MouseEvent}\n * @return {boolean} True if the left mouse button is not pressed.\n * False if unsure or if the left mouse button is pressed.\n */\nfunction isLeftMouseReleased(event) {\n if ('buttons' in event && isNotIEorIsIE10plus) {\n // http://www.w3.org/TR/DOM-Level-3-Events/#events-MouseEvent-buttons\n // Firefox 15+\n // Internet Explorer 10+\n return !(event.buttons & 1);\n }\n if (isChrome15OrOpera15plus || isSafari6plus) {\n // Chrome 14+\n // Opera 15+\n // Safari 6.0+\n return event.which === 0;\n }\n}\n\nexport {\n GrabToPan,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/grab_to_pan.js","/* Copyright 2016 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { NullL10n } from './ui_utils';\nimport { RenderingStates } from './pdf_rendering_queue';\n\nconst UI_NOTIFICATION_CLASS = 'pdfSidebarNotification';\n\nconst SidebarView = {\n NONE: 0,\n THUMBS: 1,\n OUTLINE: 2,\n ATTACHMENTS: 3,\n};\n\n/**\n * @typedef {Object} PDFSidebarOptions\n * @property {PDFViewer} pdfViewer - The document viewer.\n * @property {PDFThumbnailViewer} pdfThumbnailViewer - The thumbnail viewer.\n * @property {PDFOutlineViewer} pdfOutlineViewer - The outline viewer.\n * @property {HTMLDivElement} mainContainer - The main container\n * (in which the viewer element is placed).\n * @property {HTMLDivElement} outerContainer - The outer container\n * (encasing both the viewer and sidebar elements).\n * @property {EventBus} eventBus - The application event bus.\n * @property {HTMLButtonElement} toggleButton - The button used for\n * opening/closing the sidebar.\n * @property {HTMLButtonElement} thumbnailButton - The button used to show\n * the thumbnail view.\n * @property {HTMLButtonElement} outlineButton - The button used to show\n * the outline view.\n * @property {HTMLButtonElement} attachmentsButton - The button used to show\n * the attachments view.\n * @property {HTMLDivElement} thumbnailView - The container in which\n * the thumbnails are placed.\n * @property {HTMLDivElement} outlineView - The container in which\n * the outline is placed.\n * @property {HTMLDivElement} attachmentsView - The container in which\n * the attachments are placed.\n * @property {boolean} disableNotification - (optional) Disable the notification\n * for documents containing outline/attachments. The default value is `false`.\n */\n\nclass PDFSidebar {\n /**\n * @param {PDFSidebarOptions} options\n * @param {IL10n} l10n - Localization service.\n */\n constructor(options, l10n = NullL10n) {\n this.isOpen = false;\n this.active = SidebarView.THUMBS;\n this.isInitialViewSet = false;\n\n /**\n * Callback used when the sidebar has been opened/closed, to ensure that\n * the viewers (PDFViewer/PDFThumbnailViewer) are updated correctly.\n */\n this.onToggled = null;\n\n this.pdfViewer = options.pdfViewer;\n this.pdfThumbnailViewer = options.pdfThumbnailViewer;\n this.pdfOutlineViewer = options.pdfOutlineViewer;\n\n this.mainContainer = options.mainContainer;\n this.outerContainer = options.outerContainer;\n this.eventBus = options.eventBus;\n this.toggleButton = options.toggleButton;\n\n this.thumbnailButton = options.thumbnailButton;\n this.outlineButton = options.outlineButton;\n this.attachmentsButton = options.attachmentsButton;\n\n this.thumbnailView = options.thumbnailView;\n this.outlineView = options.outlineView;\n this.attachmentsView = options.attachmentsView;\n\n this.disableNotification = options.disableNotification || false;\n\n this.l10n = l10n;\n\n this._addEventListeners();\n }\n\n reset() {\n this.isInitialViewSet = false;\n\n this._hideUINotification(null);\n this.switchView(SidebarView.THUMBS);\n\n this.outlineButton.disabled = false;\n this.attachmentsButton.disabled = false;\n }\n\n /**\n * @returns {number} One of the values in {SidebarView}.\n */\n get visibleView() {\n return (this.isOpen ? this.active : SidebarView.NONE);\n }\n\n get isThumbnailViewVisible() {\n return (this.isOpen && this.active === SidebarView.THUMBS);\n }\n\n get isOutlineViewVisible() {\n return (this.isOpen && this.active === SidebarView.OUTLINE);\n }\n\n get isAttachmentsViewVisible() {\n return (this.isOpen && this.active === SidebarView.ATTACHMENTS);\n }\n\n /**\n * @param {number} view - The sidebar view that should become visible,\n * must be one of the values in {SidebarView}.\n */\n setInitialView(view = SidebarView.NONE) {\n if (this.isInitialViewSet) {\n return;\n }\n this.isInitialViewSet = true;\n\n if (this.isOpen && view === SidebarView.NONE) {\n this._dispatchEvent();\n // If the user has already manually opened the sidebar,\n // immediately closing it would be bad UX.\n return;\n }\n let isViewPreserved = (view === this.visibleView);\n this.switchView(view, /* forceOpen */ true);\n\n if (isViewPreserved) {\n // Prevent dispatching two back-to-back `sidebarviewchanged` events,\n // since `this.switchView` dispatched the event if the view changed.\n this._dispatchEvent();\n }\n }\n\n /**\n * @param {number} view - The sidebar view that should be switched to,\n * must be one of the values in {SidebarView}.\n * @param {boolean} forceOpen - (optional) Ensure that the sidebar is open.\n * The default value is `false`.\n */\n switchView(view, forceOpen = false) {\n if (view === SidebarView.NONE) {\n this.close();\n return;\n }\n let isViewChanged = (view !== this.active);\n let shouldForceRendering = false;\n\n switch (view) {\n case SidebarView.THUMBS:\n this.thumbnailButton.classList.add('toggled');\n this.outlineButton.classList.remove('toggled');\n this.attachmentsButton.classList.remove('toggled');\n\n this.thumbnailView.classList.remove('hidden');\n this.outlineView.classList.add('hidden');\n this.attachmentsView.classList.add('hidden');\n\n if (this.isOpen && isViewChanged) {\n this._updateThumbnailViewer();\n shouldForceRendering = true;\n }\n break;\n case SidebarView.OUTLINE:\n if (this.outlineButton.disabled) {\n return;\n }\n this.thumbnailButton.classList.remove('toggled');\n this.outlineButton.classList.add('toggled');\n this.attachmentsButton.classList.remove('toggled');\n\n this.thumbnailView.classList.add('hidden');\n this.outlineView.classList.remove('hidden');\n this.attachmentsView.classList.add('hidden');\n break;\n case SidebarView.ATTACHMENTS:\n if (this.attachmentsButton.disabled) {\n return;\n }\n this.thumbnailButton.classList.remove('toggled');\n this.outlineButton.classList.remove('toggled');\n this.attachmentsButton.classList.add('toggled');\n\n this.thumbnailView.classList.add('hidden');\n this.outlineView.classList.add('hidden');\n this.attachmentsView.classList.remove('hidden');\n break;\n default:\n console.error('PDFSidebar_switchView: \"' + view +\n '\" is an unsupported value.');\n return;\n }\n // Update the active view *after* it has been validated above,\n // in order to prevent setting it to an invalid state.\n this.active = view | 0;\n\n if (forceOpen && !this.isOpen) {\n this.open();\n return; // NOTE: Opening will trigger rendering, and dispatch the event.\n }\n if (shouldForceRendering) {\n this._forceRendering();\n }\n if (isViewChanged) {\n this._dispatchEvent();\n }\n this._hideUINotification(this.active);\n }\n\n open() {\n if (this.isOpen) {\n return;\n }\n this.isOpen = true;\n this.toggleButton.classList.add('toggled');\n\n this.outerContainer.classList.add('sidebarMoving');\n this.outerContainer.classList.add('sidebarOpen');\n\n if (this.active === SidebarView.THUMBS) {\n this._updateThumbnailViewer();\n }\n this._forceRendering();\n this._dispatchEvent();\n\n this._hideUINotification(this.active);\n }\n\n close() {\n if (!this.isOpen) {\n return;\n }\n this.isOpen = false;\n this.toggleButton.classList.remove('toggled');\n\n this.outerContainer.classList.add('sidebarMoving');\n this.outerContainer.classList.remove('sidebarOpen');\n\n this._forceRendering();\n this._dispatchEvent();\n }\n\n toggle() {\n if (this.isOpen) {\n this.close();\n } else {\n this.open();\n }\n }\n\n /**\n * @private\n */\n _dispatchEvent() {\n this.eventBus.dispatch('sidebarviewchanged', {\n source: this,\n view: this.visibleView,\n });\n }\n\n /**\n * @private\n */\n _forceRendering() {\n if (this.onToggled) {\n this.onToggled();\n } else { // Fallback\n this.pdfViewer.forceRendering();\n this.pdfThumbnailViewer.forceRendering();\n }\n }\n\n /**\n * @private\n */\n _updateThumbnailViewer() {\n let { pdfViewer, pdfThumbnailViewer, } = this;\n\n // Use the rendered pages to set the corresponding thumbnail images.\n let pagesCount = pdfViewer.pagesCount;\n for (let pageIndex = 0; pageIndex < pagesCount; pageIndex++) {\n let pageView = pdfViewer.getPageView(pageIndex);\n if (pageView && pageView.renderingState === RenderingStates.FINISHED) {\n let thumbnailView = pdfThumbnailViewer.getThumbnail(pageIndex);\n thumbnailView.setImage(pageView);\n }\n }\n pdfThumbnailViewer.scrollThumbnailIntoView(pdfViewer.currentPageNumber);\n }\n\n /**\n * @private\n */\n _showUINotification(view) {\n if (this.disableNotification) {\n return;\n }\n\n this.l10n.get('toggle_sidebar_notification.title', null,\n 'Toggle Sidebar (document contains outline/attachments)').\n then((msg) => {\n this.toggleButton.title = msg;\n });\n\n if (!this.isOpen) {\n // Only show the notification on the `toggleButton` if the sidebar is\n // currently closed, to avoid unnecessarily bothering the user.\n this.toggleButton.classList.add(UI_NOTIFICATION_CLASS);\n } else if (view === this.active) {\n // If the sidebar is currently open *and* the `view` is visible, do not\n // bother the user with a notification on the corresponding button.\n return;\n }\n\n switch (view) {\n case SidebarView.OUTLINE:\n this.outlineButton.classList.add(UI_NOTIFICATION_CLASS);\n break;\n case SidebarView.ATTACHMENTS:\n this.attachmentsButton.classList.add(UI_NOTIFICATION_CLASS);\n break;\n }\n }\n\n /**\n * @private\n */\n _hideUINotification(view) {\n if (this.disableNotification) {\n return;\n }\n\n let removeNotification = (view) => {\n switch (view) {\n case SidebarView.OUTLINE:\n this.outlineButton.classList.remove(UI_NOTIFICATION_CLASS);\n break;\n case SidebarView.ATTACHMENTS:\n this.attachmentsButton.classList.remove(UI_NOTIFICATION_CLASS);\n break;\n }\n };\n\n if (!this.isOpen && view !== null) {\n // Only hide the notifications when the sidebar is currently open,\n // or when it is being reset (i.e. `view === null`).\n return;\n }\n this.toggleButton.classList.remove(UI_NOTIFICATION_CLASS);\n\n if (view !== null) {\n removeNotification(view);\n return;\n }\n for (view in SidebarView) { // Remove all sidebar notifications on reset.\n removeNotification(SidebarView[view]);\n }\n\n this.l10n.get('toggle_sidebar.title', null, 'Toggle Sidebar').\n then((msg) => {\n this.toggleButton.title = msg;\n });\n }\n\n /**\n * @private\n */\n _addEventListeners() {\n this.mainContainer.addEventListener('transitionend', (evt) => {\n if (evt.target === this.mainContainer) {\n this.outerContainer.classList.remove('sidebarMoving');\n }\n });\n\n // Buttons for switching views.\n this.thumbnailButton.addEventListener('click', () => {\n this.switchView(SidebarView.THUMBS);\n });\n\n this.outlineButton.addEventListener('click', () => {\n this.switchView(SidebarView.OUTLINE);\n });\n this.outlineButton.addEventListener('dblclick', () => {\n this.pdfOutlineViewer.toggleOutlineTree();\n });\n\n this.attachmentsButton.addEventListener('click', () => {\n this.switchView(SidebarView.ATTACHMENTS);\n });\n\n // Disable/enable views.\n this.eventBus.on('outlineloaded', (evt) => {\n let outlineCount = evt.outlineCount;\n\n this.outlineButton.disabled = !outlineCount;\n\n if (outlineCount) {\n this._showUINotification(SidebarView.OUTLINE);\n } else if (this.active === SidebarView.OUTLINE) {\n // If the outline view was opened during document load, switch away\n // from it if it turns out that the document has no outline.\n this.switchView(SidebarView.THUMBS);\n }\n });\n\n this.eventBus.on('attachmentsloaded', (evt) => {\n if (evt.attachmentsCount) {\n this.attachmentsButton.disabled = false;\n\n this._showUINotification(SidebarView.ATTACHMENTS);\n return;\n }\n\n // Attempt to avoid temporarily disabling, and switching away from, the\n // attachment view for documents that do not contain proper attachments\n // but *only* FileAttachment annotations. Hence we defer those operations\n // slightly to allow time for parsing any FileAttachment annotations that\n // may be present on the *initially* rendered page of the document.\n Promise.resolve().then(() => {\n if (this.attachmentsView.hasChildNodes()) {\n // FileAttachment annotations were appended to the attachment view.\n return;\n }\n this.attachmentsButton.disabled = true;\n\n if (this.active === SidebarView.ATTACHMENTS) {\n // If the attachment view was opened during document load, switch away\n // from it if it turns out that the document has no attachments.\n this.switchView(SidebarView.THUMBS);\n }\n });\n });\n\n // Update the thumbnailViewer, if visible, when exiting presentation mode.\n this.eventBus.on('presentationmodechanged', (evt) => {\n if (!evt.active && !evt.switchInProgress && this.isThumbnailViewVisible) {\n this._updateThumbnailViewer();\n }\n });\n }\n}\n\nexport {\n SidebarView,\n PDFSidebar,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/pdf_sidebar.js","/* Copyright 2014 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nclass OverlayManager {\n constructor() {\n this._overlays = {};\n this._active = null;\n this._keyDownBound = this._keyDown.bind(this);\n }\n\n get active() {\n return this._active;\n }\n\n /**\n * @param {string} name - The name of the overlay that is registered.\n * @param {HTMLDivElement} element - The overlay's DOM element.\n * @param {function} callerCloseMethod - (optional) The method that, if\n * present, calls `OverlayManager.close` from the object\n * registering the overlay. Access to this method is\n * necessary in order to run cleanup code when e.g.\n * the overlay is force closed. The default is `null`.\n * @param {boolean} canForceClose - (optional) Indicates if opening the\n * overlay closes an active overlay. The default is `false`.\n * @returns {Promise} A promise that is resolved when the overlay has been\n * registered.\n */\n register(name, element, callerCloseMethod = null, canForceClose = false) {\n return new Promise((resolve) => {\n let container;\n if (!name || !element || !(container = element.parentNode)) {\n throw new Error('Not enough parameters.');\n } else if (this._overlays[name]) {\n throw new Error('The overlay is already registered.');\n }\n this._overlays[name] = {\n element,\n container,\n callerCloseMethod,\n canForceClose,\n };\n resolve();\n });\n }\n\n /**\n * @param {string} name - The name of the overlay that is unregistered.\n * @returns {Promise} A promise that is resolved when the overlay has been\n * unregistered.\n */\n unregister(name) {\n return new Promise((resolve) => {\n if (!this._overlays[name]) {\n throw new Error('The overlay does not exist.');\n } else if (this._active === name) {\n throw new Error('The overlay cannot be removed while it is active.');\n }\n delete this._overlays[name];\n resolve();\n });\n }\n\n /**\n * @param {string} name - The name of the overlay that should be opened.\n * @returns {Promise} A promise that is resolved when the overlay has been\n * opened.\n */\n open(name) {\n return new Promise((resolve) => {\n if (!this._overlays[name]) {\n throw new Error('The overlay does not exist.');\n } else if (this._active) {\n if (this._overlays[name].canForceClose) {\n this._closeThroughCaller();\n } else if (this._active === name) {\n throw new Error('The overlay is already active.');\n } else {\n throw new Error('Another overlay is currently active.');\n }\n }\n this._active = name;\n this._overlays[this._active].element.classList.remove('hidden');\n this._overlays[this._active].container.classList.remove('hidden');\n\n window.addEventListener('keydown', this._keyDownBound);\n resolve();\n });\n }\n\n /**\n * @param {string} name - The name of the overlay that should be closed.\n * @returns {Promise} A promise that is resolved when the overlay has been\n * closed.\n */\n close(name) {\n return new Promise((resolve) => {\n if (!this._overlays[name]) {\n throw new Error('The overlay does not exist.');\n } else if (!this._active) {\n throw new Error('The overlay is currently not active.');\n } else if (this._active !== name) {\n throw new Error('Another overlay is currently active.');\n }\n this._overlays[this._active].container.classList.add('hidden');\n this._overlays[this._active].element.classList.add('hidden');\n this._active = null;\n\n window.removeEventListener('keydown', this._keyDownBound);\n resolve();\n });\n }\n\n /**\n * @private\n */\n _keyDown(evt) {\n if (this._active && evt.keyCode === 27) { // Esc key.\n this._closeThroughCaller();\n evt.preventDefault();\n }\n }\n\n /**\n * @private\n */\n _closeThroughCaller() {\n if (this._overlays[this._active].callerCloseMethod) {\n this._overlays[this._active].callerCloseMethod();\n }\n if (this._active) {\n this.close(this._active);\n }\n }\n}\n\nexport {\n OverlayManager,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/overlay_manager.js","/* Copyright 2012 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { NullL10n } from './ui_utils';\nimport { PasswordResponses } from 'pdfjs-lib';\n\n/**\n * @typedef {Object} PasswordPromptOptions\n * @property {string} overlayName - Name of the overlay for the overlay manager.\n * @property {HTMLDivElement} container - Div container for the overlay.\n * @property {HTMLParagraphElement} label - Label containing instructions for\n * entering the password.\n * @property {HTMLInputElement} input - Input field for entering the password.\n * @property {HTMLButtonElement} submitButton - Button for submitting the\n * password.\n * @property {HTMLButtonElement} cancelButton - Button for cancelling password\n * entry.\n */\n\nclass PasswordPrompt {\n /**\n * @param {PasswordPromptOptions} options\n * @param {OverlayManager} overlayManager - Manager for the viewer overlays.\n * @param {IL10n} l10n - Localization service.\n */\n constructor(options, overlayManager, l10n = NullL10n) {\n this.overlayName = options.overlayName;\n this.container = options.container;\n this.label = options.label;\n this.input = options.input;\n this.submitButton = options.submitButton;\n this.cancelButton = options.cancelButton;\n this.overlayManager = overlayManager;\n this.l10n = l10n;\n\n this.updateCallback = null;\n this.reason = null;\n\n // Attach the event listeners.\n this.submitButton.addEventListener('click', this.verify.bind(this));\n this.cancelButton.addEventListener('click', this.close.bind(this));\n this.input.addEventListener('keydown', (e) => {\n if (e.keyCode === 13) { // Enter key\n this.verify();\n }\n });\n\n this.overlayManager.register(this.overlayName, this.container,\n this.close.bind(this), true);\n }\n\n open() {\n this.overlayManager.open(this.overlayName).then(() => {\n this.input.focus();\n\n let promptString;\n if (this.reason === PasswordResponses.INCORRECT_PASSWORD) {\n promptString = this.l10n.get('password_invalid', null,\n 'Invalid password. Please try again.');\n } else {\n promptString = this.l10n.get('password_label', null,\n 'Enter the password to open this PDF file.');\n }\n\n promptString.then((msg) => {\n this.label.textContent = msg;\n });\n });\n }\n\n close() {\n this.overlayManager.close(this.overlayName).then(() => {\n this.input.value = '';\n });\n }\n\n verify() {\n let password = this.input.value;\n if (password && password.length > 0) {\n this.close();\n return this.updateCallback(password);\n }\n }\n\n setUpdateCallback(updateCallback, reason) {\n this.updateCallback = updateCallback;\n this.reason = reason;\n }\n}\n\nexport {\n PasswordPrompt,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/password_prompt.js","/* Copyright 2012 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n createObjectURL, createPromiseCapability, getFilenameFromUrl, PDFJS,\n removeNullCharacters\n} from 'pdfjs-lib';\n\n/**\n * @typedef {Object} PDFAttachmentViewerOptions\n * @property {HTMLDivElement} container - The viewer element.\n * @property {EventBus} eventBus - The application event bus.\n * @property {DownloadManager} downloadManager - The download manager.\n */\n\n/**\n * @typedef {Object} PDFAttachmentViewerRenderParameters\n * @property {Object|null} attachments - A lookup table of attachment objects.\n */\n\nclass PDFAttachmentViewer {\n /**\n * @param {PDFAttachmentViewerOptions} options\n */\n constructor({ container, eventBus, downloadManager, }) {\n this.container = container;\n this.eventBus = eventBus;\n this.downloadManager = downloadManager;\n\n this.reset();\n\n this.eventBus.on('fileattachmentannotation',\n this._appendAttachment.bind(this));\n }\n\n reset(keepRenderedCapability = false) {\n this.attachments = null;\n\n // Remove the attachments from the DOM.\n this.container.textContent = '';\n\n if (!keepRenderedCapability) {\n // NOTE: The *only* situation in which the `_renderedCapability` should\n // not be replaced is when appending file attachment annotations.\n this._renderedCapability = createPromiseCapability();\n }\n }\n\n /**\n * @private\n */\n _dispatchEvent(attachmentsCount) {\n this._renderedCapability.resolve();\n\n this.eventBus.dispatch('attachmentsloaded', {\n source: this,\n attachmentsCount,\n });\n }\n\n /**\n * @private\n */\n _bindPdfLink(button, content, filename) {\n if (PDFJS.disableCreateObjectURL) {\n throw new Error('bindPdfLink: ' +\n 'Unsupported \"PDFJS.disableCreateObjectURL\" value.');\n }\n let blobUrl;\n button.onclick = function() {\n if (!blobUrl) {\n blobUrl = createObjectURL(content, 'application/pdf');\n }\n let viewerUrl;\n if (typeof PDFJSDev === 'undefined' || PDFJSDev.test('GENERIC')) {\n // The current URL is the viewer, let's use it and append the file.\n viewerUrl = '?file=' + encodeURIComponent(blobUrl + '#' + filename);\n } else if (PDFJSDev.test('CHROME')) {\n // In the Chrome extension, the URL is rewritten using the history API\n // in viewer.js, so an absolute URL must be generated.\n // eslint-disable-next-line no-undef\n viewerUrl = chrome.runtime.getURL('/content/web/viewer.html') +\n '?file=' + encodeURIComponent(blobUrl + '#' + filename);\n } else if (PDFJSDev.test('FIREFOX || MOZCENTRAL')) {\n // Let Firefox's content handler catch the URL and display the PDF.\n viewerUrl = blobUrl + '?' + encodeURIComponent(filename);\n }\n window.open(viewerUrl);\n return false;\n };\n }\n\n /**\n * @private\n */\n _bindLink(button, content, filename) {\n button.onclick = () => {\n this.downloadManager.downloadData(content, filename, '');\n return false;\n };\n }\n\n /**\n * @param {PDFAttachmentViewerRenderParameters} params\n */\n render({ attachments, keepRenderedCapability = false, }) {\n let attachmentsCount = 0;\n\n if (this.attachments) {\n this.reset(keepRenderedCapability === true);\n }\n this.attachments = attachments || null;\n\n if (!attachments) {\n this._dispatchEvent(attachmentsCount);\n return;\n }\n\n let names = Object.keys(attachments).sort(function(a, b) {\n return a.toLowerCase().localeCompare(b.toLowerCase());\n });\n attachmentsCount = names.length;\n\n for (let i = 0; i < attachmentsCount; i++) {\n let item = attachments[names[i]];\n let filename = removeNullCharacters(getFilenameFromUrl(item.filename));\n\n let div = document.createElement('div');\n div.className = 'attachmentsItem';\n let button = document.createElement('button');\n button.textContent = filename;\n if (/\\.pdf$/i.test(filename) && !PDFJS.disableCreateObjectURL) {\n this._bindPdfLink(button, item.content, filename);\n } else {\n this._bindLink(button, item.content, filename);\n }\n\n div.appendChild(button);\n this.container.appendChild(div);\n }\n\n this._dispatchEvent(attachmentsCount);\n }\n\n /**\n * Used to append FileAttachment annotations to the sidebar.\n * @private\n */\n _appendAttachment({ id, filename, content, }) {\n this._renderedCapability.promise.then(() => {\n let attachments = this.attachments;\n\n if (!attachments) {\n attachments = Object.create(null);\n } else {\n for (let name in attachments) {\n if (id === name) {\n return; // Ignore the new attachment if it already exists.\n }\n }\n }\n attachments[id] = {\n filename,\n content,\n };\n this.render({\n attachments,\n keepRenderedCapability: true,\n });\n });\n }\n}\n\nexport {\n PDFAttachmentViewer,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/pdf_attachment_viewer.js","/* Copyright 2012 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { cloneObj, getPDFFileNameFromURL, NullL10n } from './ui_utils';\nimport { createPromiseCapability } from 'pdfjs-lib';\n\nconst DEFAULT_FIELD_CONTENT = '-';\n\n/**\n * @typedef {Object} PDFDocumentPropertiesOptions\n * @property {string} overlayName - Name/identifier for the overlay.\n * @property {Object} fields - Names and elements of the overlay's fields.\n * @property {HTMLDivElement} container - Div container for the overlay.\n * @property {HTMLButtonElement} closeButton - Button for closing the overlay.\n */\n\nclass PDFDocumentProperties {\n /**\n * @param {PDFDocumentPropertiesOptions} options\n * @param {OverlayManager} overlayManager - Manager for the viewer overlays.\n * @param {IL10n} l10n - Localization service.\n */\n constructor({ overlayName, fields, container, closeButton, },\n overlayManager, l10n = NullL10n) {\n this.overlayName = overlayName;\n this.fields = fields;\n this.container = container;\n this.overlayManager = overlayManager;\n this.l10n = l10n;\n\n this._reset();\n\n if (closeButton) { // Bind the event listener for the Close button.\n closeButton.addEventListener('click', this.close.bind(this));\n }\n this.overlayManager.register(this.overlayName, this.container,\n this.close.bind(this));\n }\n\n /**\n * Open the document properties overlay.\n */\n open() {\n let freezeFieldData = (data) => {\n Object.defineProperty(this, 'fieldData', {\n value: Object.freeze(data),\n writable: false,\n enumerable: true,\n configurable: true,\n });\n };\n\n Promise.all([this.overlayManager.open(this.overlayName),\n this._dataAvailableCapability.promise]).then(() => {\n // If the document properties were previously fetched (for this PDF file),\n // just update the dialog immediately to avoid redundant lookups.\n if (this.fieldData) {\n this._updateUI();\n return;\n }\n // Get the document properties.\n this.pdfDocument.getMetadata().then(({ info, metadata, }) => {\n return Promise.all([\n info,\n metadata,\n this._parseFileSize(this.maybeFileSize),\n this._parseDate(info.CreationDate),\n this._parseDate(info.ModDate)\n ]);\n }).then(([info, metadata, fileSize, creationDate, modificationDate]) => {\n freezeFieldData({\n 'fileName': getPDFFileNameFromURL(this.url),\n 'fileSize': fileSize,\n 'title': info.Title,\n 'author': info.Author,\n 'subject': info.Subject,\n 'keywords': info.Keywords,\n 'creationDate': creationDate,\n 'modificationDate': modificationDate,\n 'creator': info.Creator,\n 'producer': info.Producer,\n 'version': info.PDFFormatVersion,\n 'pageCount': this.pdfDocument.numPages,\n });\n this._updateUI();\n\n // Get the correct fileSize, since it may not have been set (if\n // `this.setFileSize` wasn't called) or may be incorrectly set.\n return this.pdfDocument.getDownloadInfo();\n }).then(({ length, }) => {\n return this._parseFileSize(length);\n }).then((fileSize) => {\n let data = cloneObj(this.fieldData);\n data['fileSize'] = fileSize;\n\n freezeFieldData(data);\n this._updateUI();\n });\n });\n }\n\n /**\n * Close the document properties overlay.\n */\n close() {\n this.overlayManager.close(this.overlayName);\n }\n\n /**\n * Set a reference to the PDF document and the URL in order\n * to populate the overlay fields with the document properties.\n * Note that the overlay will contain no information if this method\n * is not called.\n *\n * @param {Object} pdfDocument - A reference to the PDF document.\n * @param {string} url - The URL of the document.\n */\n setDocument(pdfDocument, url) {\n if (this.pdfDocument) {\n this._reset();\n this._updateUI(true);\n }\n if (!pdfDocument) {\n return;\n }\n this.pdfDocument = pdfDocument;\n this.url = url;\n\n this._dataAvailableCapability.resolve();\n }\n\n /**\n * Set the file size of the PDF document. This method is used to\n * update the file size in the document properties overlay once it\n * is known so we do not have to wait until the entire file is loaded.\n *\n * @param {number} fileSize - The file size of the PDF document.\n */\n setFileSize(fileSize) {\n if (typeof fileSize === 'number' && fileSize > 0) {\n this.maybeFileSize = fileSize;\n }\n }\n\n /**\n * @private\n */\n _reset() {\n this.pdfDocument = null;\n this.url = null;\n\n this.maybeFileSize = 0;\n delete this.fieldData;\n this._dataAvailableCapability = createPromiseCapability();\n }\n\n /**\n * Always updates all of the dialog fields, to prevent inconsistent UI state.\n * NOTE: If the contents of a particular field is neither a non-empty string,\n * nor a number, it will fall back to `DEFAULT_FIELD_CONTENT`.\n * @private\n */\n _updateUI(reset = false) {\n if (reset || !this.fieldData) {\n for (let id in this.fields) {\n this.fields[id].textContent = DEFAULT_FIELD_CONTENT;\n }\n return;\n }\n if (this.overlayManager.active !== this.overlayName) {\n // Don't bother updating the dialog if has already been closed,\n // since it will be updated the next time `this.open` is called.\n return;\n }\n for (let id in this.fields) {\n let content = this.fieldData[id];\n this.fields[id].textContent = (content || content === 0) ?\n content : DEFAULT_FIELD_CONTENT;\n }\n }\n\n /**\n * @private\n */\n _parseFileSize(fileSize = 0) {\n let kb = fileSize / 1024;\n if (!kb) {\n return Promise.resolve(undefined);\n } else if (kb < 1024) {\n return this.l10n.get('document_properties_kb', {\n size_kb: (+kb.toPrecision(3)).toLocaleString(),\n size_b: fileSize.toLocaleString(),\n }, '{{size_kb}} KB ({{size_b}} bytes)');\n }\n return this.l10n.get('document_properties_mb', {\n size_mb: (+(kb / 1024).toPrecision(3)).toLocaleString(),\n size_b: fileSize.toLocaleString(),\n }, '{{size_mb}} MB ({{size_b}} bytes)');\n }\n\n /**\n * @private\n */\n _parseDate(inputDate) {\n if (!inputDate) {\n return;\n }\n // This is implemented according to the PDF specification, but note that\n // Adobe Reader doesn't handle changing the date to universal time\n // and doesn't use the user's time zone (they're effectively ignoring\n // the HH' and mm' parts of the date string).\n let dateToParse = inputDate;\n\n // Remove the D: prefix if it is available.\n if (dateToParse.substring(0, 2) === 'D:') {\n dateToParse = dateToParse.substring(2);\n }\n\n // Get all elements from the PDF date string.\n // JavaScript's `Date` object expects the month to be between\n // 0 and 11 instead of 1 and 12, so we're correcting for this.\n let year = parseInt(dateToParse.substring(0, 4), 10);\n let month = parseInt(dateToParse.substring(4, 6), 10) - 1;\n let day = parseInt(dateToParse.substring(6, 8), 10);\n let hours = parseInt(dateToParse.substring(8, 10), 10);\n let minutes = parseInt(dateToParse.substring(10, 12), 10);\n let seconds = parseInt(dateToParse.substring(12, 14), 10);\n let utRel = dateToParse.substring(14, 15);\n let offsetHours = parseInt(dateToParse.substring(15, 17), 10);\n let offsetMinutes = parseInt(dateToParse.substring(18, 20), 10);\n\n // As per spec, utRel = 'Z' means equal to universal time.\n // The other cases ('-' and '+') have to be handled here.\n if (utRel === '-') {\n hours += offsetHours;\n minutes += offsetMinutes;\n } else if (utRel === '+') {\n hours -= offsetHours;\n minutes -= offsetMinutes;\n }\n\n // Return the new date format from the user's locale.\n let date = new Date(Date.UTC(year, month, day, hours, minutes, seconds));\n let dateString = date.toLocaleDateString();\n let timeString = date.toLocaleTimeString();\n return this.l10n.get('document_properties_date_string',\n { date: dateString, time: timeString, },\n '{{date}}, {{time}}');\n }\n}\n\nexport {\n PDFDocumentProperties,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/pdf_document_properties.js","/* Copyright 2012 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FindState } from './pdf_find_controller';\nimport { NullL10n } from './ui_utils';\n\n/**\n * Creates a \"search bar\" given a set of DOM elements that act as controls\n * for searching or for setting search preferences in the UI. This object\n * also sets up the appropriate events for the controls. Actual searching\n * is done by PDFFindController.\n */\nclass PDFFindBar {\n constructor(options, l10n = NullL10n) {\n this.opened = false;\n\n this.bar = options.bar || null;\n this.toggleButton = options.toggleButton || null;\n this.findField = options.findField || null;\n this.highlightAll = options.highlightAllCheckbox || null;\n this.caseSensitive = options.caseSensitiveCheckbox || null;\n this.findMsg = options.findMsg || null;\n this.findResultsCount = options.findResultsCount || null;\n this.findStatusIcon = options.findStatusIcon || null;\n this.findPreviousButton = options.findPreviousButton || null;\n this.findNextButton = options.findNextButton || null;\n this.findController = options.findController || null;\n this.eventBus = options.eventBus;\n this.l10n = l10n;\n\n if (this.findController === null) {\n throw new Error('PDFFindBar cannot be used without a ' +\n 'PDFFindController instance.');\n }\n\n // Add event listeners to the DOM elements.\n this.toggleButton.addEventListener('click', () => {\n this.toggle();\n });\n\n this.findField.addEventListener('input', () => {\n this.dispatchEvent('');\n });\n\n this.bar.addEventListener('keydown', (e) => {\n switch (e.keyCode) {\n case 13: // Enter\n if (e.target === this.findField) {\n this.dispatchEvent('again', e.shiftKey);\n }\n break;\n case 27: // Escape\n this.close();\n break;\n }\n });\n\n this.findPreviousButton.addEventListener('click', () => {\n this.dispatchEvent('again', true);\n });\n\n this.findNextButton.addEventListener('click', () => {\n this.dispatchEvent('again', false);\n });\n\n this.highlightAll.addEventListener('click', () => {\n this.dispatchEvent('highlightallchange');\n });\n\n this.caseSensitive.addEventListener('click', () => {\n this.dispatchEvent('casesensitivitychange');\n });\n\n this.eventBus.on('resize', this._adjustWidth.bind(this));\n }\n\n reset() {\n this.updateUIState();\n }\n\n dispatchEvent(type, findPrev) {\n this.eventBus.dispatch('find', {\n source: this,\n type,\n query: this.findField.value,\n caseSensitive: this.caseSensitive.checked,\n phraseSearch: true,\n highlightAll: this.highlightAll.checked,\n findPrevious: findPrev,\n });\n }\n\n updateUIState(state, previous, matchCount) {\n let notFound = false;\n let findMsg = '';\n let status = '';\n\n switch (state) {\n case FindState.FOUND:\n break;\n\n case FindState.PENDING:\n status = 'pending';\n break;\n\n case FindState.NOT_FOUND:\n findMsg = this.l10n.get('find_not_found', null, 'Phrase not found');\n notFound = true;\n break;\n\n case FindState.WRAPPED:\n if (previous) {\n findMsg = this.l10n.get('find_reached_top', null,\n 'Reached top of document, continued from bottom');\n } else {\n findMsg = this.l10n.get('find_reached_bottom', null,\n 'Reached end of document, continued from top');\n }\n break;\n }\n\n if (notFound) {\n this.findField.classList.add('notFound');\n } else {\n this.findField.classList.remove('notFound');\n }\n\n this.findField.setAttribute('data-status', status);\n Promise.resolve(findMsg).then((msg) => {\n this.findMsg.textContent = msg;\n this._adjustWidth();\n });\n\n this.updateResultsCount(matchCount);\n }\n\n updateResultsCount(matchCount) {\n if (!this.findResultsCount) {\n return; // No UI control is provided.\n }\n\n if (!matchCount) {\n // If there are no matches, hide and reset the counter.\n this.findResultsCount.classList.add('hidden');\n this.findResultsCount.textContent = '';\n } else {\n // Update and show the match counter.\n this.findResultsCount.textContent = matchCount.toLocaleString();\n this.findResultsCount.classList.remove('hidden');\n }\n // Since `updateResultsCount` may be called from `PDFFindController`,\n // ensure that the width of the findbar is always updated correctly.\n this._adjustWidth();\n }\n\n open() {\n if (!this.opened) {\n this.opened = true;\n this.toggleButton.classList.add('toggled');\n this.bar.classList.remove('hidden');\n }\n this.findField.select();\n this.findField.focus();\n\n this._adjustWidth();\n }\n\n close() {\n if (!this.opened) {\n return;\n }\n this.opened = false;\n this.toggleButton.classList.remove('toggled');\n this.bar.classList.add('hidden');\n this.findController.active = false;\n }\n\n toggle() {\n if (this.opened) {\n this.close();\n } else {\n this.open();\n }\n }\n\n /**\n * @private\n */\n _adjustWidth() {\n if (!this.opened) {\n return;\n }\n\n // The find bar has an absolute position and thus the browser extends\n // its width to the maximum possible width once the find bar does not fit\n // entirely within the window anymore (and its elements are automatically\n // wrapped). Here we detect and fix that.\n this.bar.classList.remove('wrapContainers');\n\n let findbarHeight = this.bar.clientHeight;\n let inputContainerHeight = this.bar.firstElementChild.clientHeight;\n\n if (findbarHeight > inputContainerHeight) {\n // The findbar is taller than the input container, which means that\n // the browser wrapped some of the elements. For a consistent look,\n // wrap all of them to adjust the width of the find bar.\n this.bar.classList.add('wrapContainers');\n }\n }\n}\n\nexport {\n PDFFindBar,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/pdf_find_bar.js","/* Copyright 2017 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n cloneObj, isValidRotation, parseQueryString, waitOnEventOrTimeout\n} from './ui_utils';\nimport { getGlobalEventBus } from './dom_events';\n\n// Heuristic value used when force-resetting `this._blockHashChange`.\nconst HASH_CHANGE_TIMEOUT = 1000; // milliseconds\n// Heuristic value used when adding the current position to the browser history.\nconst POSITION_UPDATED_THRESHOLD = 50;\n// Heuristic value used when adding a temporary position to the browser history.\nconst UPDATE_VIEWAREA_TIMEOUT = 1000; // milliseconds\n\n/**\n * @typedef {Object} PDFHistoryOptions\n * @property {IPDFLinkService} linkService - The navigation/linking service.\n * @property {EventBus} eventBus - The application event bus.\n */\n\n/**\n * @typedef {Object} PushParameters\n * @property {string} namedDest - (optional) The named destination. If absent,\n * a stringified version of `explicitDest` is used.\n * @property {Array} explicitDest - The explicit destination array.\n * @property {number} pageNumber - The page to which the destination points.\n */\n\nfunction getCurrentHash() {\n return document.location.hash;\n}\n\nfunction parseCurrentHash(linkService) {\n let hash = unescape(getCurrentHash()).substring(1);\n let params = parseQueryString(hash);\n\n let page = params.page | 0;\n if (!(Number.isInteger(page) && page > 0 && page <= linkService.pagesCount)) {\n page = null;\n }\n return { hash, page, rotation: linkService.rotation, };\n}\n\nclass PDFHistory {\n /**\n * @param {PDFHistoryOptions} options\n */\n constructor({ linkService, eventBus, }) {\n this.linkService = linkService;\n this.eventBus = eventBus || getGlobalEventBus();\n\n this.initialized = false;\n this.initialBookmark = null;\n this.initialRotation = null;\n\n this._boundEvents = Object.create(null);\n this._isViewerInPresentationMode = false;\n this._isPagesLoaded = false;\n\n // Ensure that we don't miss either a 'presentationmodechanged' or a\n // 'pagesloaded' event, by registering the listeners immediately.\n this.eventBus.on('presentationmodechanged', (evt) => {\n this._isViewerInPresentationMode = evt.active || evt.switchInProgress;\n });\n this.eventBus.on('pagesloaded', (evt) => {\n this._isPagesLoaded = !!evt.pagesCount;\n });\n }\n\n /**\n * Initialize the history for the PDF document, using either the current\n * browser history entry or the document hash, whichever is present.\n * @param {string} fingerprint - The PDF document's unique fingerprint.\n * @param {boolean} resetHistory - (optional) Reset the browsing history.\n */\n initialize(fingerprint, resetHistory = false) {\n if (!fingerprint || typeof fingerprint !== 'string') {\n console.error(\n 'PDFHistory.initialize: The \"fingerprint\" must be a non-empty string.');\n return;\n }\n let reInitialized = this.initialized && this.fingerprint !== fingerprint;\n this.fingerprint = fingerprint;\n\n if (!this.initialized) {\n this._bindEvents();\n }\n let state = window.history.state;\n\n this.initialized = true;\n this.initialBookmark = null;\n this.initialRotation = null;\n\n this._popStateInProgress = false;\n this._blockHashChange = 0;\n this._currentHash = getCurrentHash();\n this._numPositionUpdates = 0;\n\n this._uid = this._maxUid = 0;\n this._destination = null;\n this._position = null;\n\n if (!this._isValidState(state) || resetHistory) {\n let { hash, page, rotation, } = parseCurrentHash(this.linkService);\n\n if (!hash || reInitialized || resetHistory) {\n // Ensure that the browser history is reset on PDF document load.\n this._pushOrReplaceState(null, /* forceReplace = */ true);\n return;\n }\n // Ensure that the browser history is initialized correctly when\n // the document hash is present on PDF document load.\n this._pushOrReplaceState({ hash, page, rotation, },\n /* forceReplace = */ true);\n return;\n }\n\n // The browser history contains a valid entry, ensure that the history is\n // initialized correctly on PDF document load.\n let destination = state.destination;\n this._updateInternalState(destination, state.uid,\n /* removeTemporary = */ true);\n\n if (destination.rotation !== undefined) {\n this.initialRotation = destination.rotation;\n }\n if (destination.dest) {\n this.initialBookmark = JSON.stringify(destination.dest);\n\n // If the history is updated, e.g. through the user changing the hash,\n // before the initial destination has become visible, then we do *not*\n // want to potentially add `this._position` to the browser history.\n this._destination.page = null;\n } else if (destination.hash) {\n this.initialBookmark = destination.hash;\n } else if (destination.page) {\n // Fallback case; shouldn't be necessary, but better safe than sorry.\n this.initialBookmark = `page=${destination.page}`;\n }\n }\n\n /**\n * Push an internal destination to the browser history.\n * @param {PushParameters}\n */\n push({ namedDest, explicitDest, pageNumber, }) {\n if (!this.initialized) {\n return;\n }\n if ((namedDest && typeof namedDest !== 'string') ||\n !(explicitDest instanceof Array) ||\n !(Number.isInteger(pageNumber) &&\n pageNumber > 0 && pageNumber <= this.linkService.pagesCount)) {\n console.error('PDFHistory.push: Invalid parameters.');\n return;\n }\n\n let hash = namedDest || JSON.stringify(explicitDest);\n if (!hash) {\n // The hash *should* never be undefined, but if that were to occur,\n // avoid any possible issues by not updating the browser history.\n return;\n }\n\n let forceReplace = false;\n if (this._destination &&\n (isDestHashesEqual(this._destination.hash, hash) ||\n isDestArraysEqual(this._destination.dest, explicitDest))) {\n // When the new destination is identical to `this._destination`, and\n // its `page` is undefined, replace the current browser history entry.\n // NOTE: This can only occur if `this._destination` was set either:\n // - through the document hash being specified on load.\n // - through the user changing the hash of the document.\n if (this._destination.page) {\n return;\n }\n forceReplace = true;\n }\n if (this._popStateInProgress && !forceReplace) {\n return;\n }\n\n this._pushOrReplaceState({\n dest: explicitDest,\n hash,\n page: pageNumber,\n rotation: this.linkService.rotation,\n }, forceReplace);\n\n if (!this._popStateInProgress) {\n // Prevent the browser history from updating while the new destination is\n // being scrolled into view, to avoid potentially inconsistent state.\n this._popStateInProgress = true;\n // We defer the resetting of `this._popStateInProgress`, to account for\n // e.g. zooming occuring when the new destination is being navigated to.\n Promise.resolve().then(() => {\n this._popStateInProgress = false;\n });\n }\n }\n\n /**\n * Push the current position to the browser history.\n */\n pushCurrentPosition() {\n if (!this.initialized || this._popStateInProgress) {\n return;\n }\n this._tryPushCurrentPosition();\n }\n\n /**\n * Go back one step in the browser history.\n * NOTE: Avoids navigating away from the document, useful for \"named actions\".\n */\n back() {\n if (!this.initialized || this._popStateInProgress) {\n return;\n }\n let state = window.history.state;\n if (this._isValidState(state) && state.uid > 0) {\n window.history.back();\n }\n }\n\n /**\n * Go forward one step in the browser history.\n * NOTE: Avoids navigating away from the document, useful for \"named actions\".\n */\n forward() {\n if (!this.initialized || this._popStateInProgress) {\n return;\n }\n let state = window.history.state;\n if (this._isValidState(state) && state.uid < this._maxUid) {\n window.history.forward();\n }\n }\n\n /**\n * @returns {boolean} Indicating if the user is currently moving through the\n * browser history, useful e.g. for skipping the next 'hashchange' event.\n */\n get popStateInProgress() {\n return this.initialized &&\n (this._popStateInProgress || this._blockHashChange > 0);\n }\n\n /**\n * @private\n */\n _pushOrReplaceState(destination, forceReplace = false) {\n let shouldReplace = forceReplace || !this._destination;\n let newState = {\n fingerprint: this.fingerprint,\n uid: shouldReplace ? this._uid : (this._uid + 1),\n destination,\n };\n\n if (typeof PDFJSDev !== 'undefined' && PDFJSDev.test('CHROME') &&\n window.history.state && window.history.state.chromecomState) {\n // history.state.chromecomState is managed by chromecom.js.\n newState.chromecomState = window.history.state.chromecomState;\n }\n this._updateInternalState(destination, newState.uid);\n\n if (shouldReplace) {\n if (typeof PDFJSDev !== 'undefined' &&\n PDFJSDev.test('FIREFOX || MOZCENTRAL')) {\n // Providing the third argument causes a SecurityError for file:// URLs.\n window.history.replaceState(newState, '');\n } else {\n window.history.replaceState(newState, '', document.URL);\n }\n } else {\n this._maxUid = this._uid;\n\n if (typeof PDFJSDev !== 'undefined' &&\n PDFJSDev.test('FIREFOX || MOZCENTRAL')) {\n // Providing the third argument causes a SecurityError for file:// URLs.\n window.history.pushState(newState, '');\n } else {\n window.history.pushState(newState, '', document.URL);\n }\n }\n\n if (typeof PDFJSDev !== 'undefined' && PDFJSDev.test('CHROME') &&\n top === window) {\n // eslint-disable-next-line no-undef\n chrome.runtime.sendMessage('showPageAction');\n }\n }\n\n /**\n * @private\n */\n _tryPushCurrentPosition(temporary = false) {\n if (!this._position) {\n return;\n }\n let position = this._position;\n if (temporary) {\n position = cloneObj(this._position);\n position.temporary = true;\n }\n\n if (!this._destination) {\n this._pushOrReplaceState(position);\n return;\n }\n if (this._destination.temporary) {\n // Always replace a previous *temporary* position.\n this._pushOrReplaceState(position, /* forceReplace = */ true);\n return;\n }\n if (this._destination.hash === position.hash) {\n return; // The current document position has not changed.\n }\n if (!this._destination.page &&\n (POSITION_UPDATED_THRESHOLD <= 0 ||\n this._numPositionUpdates <= POSITION_UPDATED_THRESHOLD)) {\n // `this._destination` was set through the user changing the hash of\n // the document. Do not add `this._position` to the browser history,\n // to avoid \"flooding\" it with lots of (nearly) identical entries,\n // since we cannot ensure that the document position has changed.\n return;\n }\n\n let forceReplace = false;\n if (this._destination.page === position.first ||\n this._destination.page === position.page) {\n // When the `page` of `this._destination` is still visible, do not\n // update the browsing history when `this._destination` either:\n // - contains an internal destination, since in this case we\n // cannot ensure that the document position has actually changed.\n // - was set through the user changing the hash of the document.\n if (this._destination.dest || !this._destination.first) {\n return;\n }\n // To avoid \"flooding\" the browser history, replace the current entry.\n forceReplace = true;\n }\n this._pushOrReplaceState(position, forceReplace);\n }\n\n /**\n * @private\n */\n _isValidState(state) {\n if (!state) {\n return false;\n }\n if (state.fingerprint !== this.fingerprint) {\n // This should only occur in viewers with support for opening more than\n // one PDF document, e.g. the GENERIC viewer.\n return false;\n }\n if (!Number.isInteger(state.uid) || state.uid < 0) {\n return false;\n }\n if (state.destination === null || typeof state.destination !== 'object') {\n return false;\n }\n return true;\n }\n\n /**\n * @private\n */\n _updateInternalState(destination, uid, removeTemporary = false) {\n if (this._updateViewareaTimeout) {\n // When updating `this._destination`, make sure that we always wait for\n // the next 'updateviewarea' event before (potentially) attempting to\n // push the current position to the browser history.\n clearTimeout(this._updateViewareaTimeout);\n this._updateViewareaTimeout = null;\n }\n if (removeTemporary && destination && destination.temporary) {\n // When the `destination` comes from the browser history,\n // we no longer treat it as a *temporary* position.\n delete destination.temporary;\n }\n this._destination = destination;\n this._uid = uid;\n // This should always be reset when `this._destination` is updated.\n this._numPositionUpdates = 0;\n }\n\n /**\n * @private\n */\n _updateViewarea({ location, }) {\n if (this._updateViewareaTimeout) {\n clearTimeout(this._updateViewareaTimeout);\n this._updateViewareaTimeout = null;\n }\n\n this._position = {\n hash: this._isViewerInPresentationMode ?\n `page=${location.pageNumber}` : location.pdfOpenParams.substring(1),\n page: this.linkService.page,\n first: location.pageNumber,\n rotation: location.rotation,\n };\n\n if (this._popStateInProgress) {\n return;\n }\n\n if (POSITION_UPDATED_THRESHOLD > 0 && this._isPagesLoaded &&\n this._destination && !this._destination.page) {\n // If the current destination was set through the user changing the hash\n // of the document, we will usually not try to push the current position\n // to the browser history; see `this._tryPushCurrentPosition()`.\n //\n // To prevent `this._tryPushCurrentPosition()` from effectively being\n // reduced to a no-op in this case, we will assume that the position\n // *did* in fact change if the 'updateviewarea' event was dispatched\n // more than `POSITION_UPDATED_THRESHOLD` times.\n this._numPositionUpdates++;\n }\n\n if (UPDATE_VIEWAREA_TIMEOUT > 0) {\n // When closing the browser, a 'pagehide' event will be dispatched which\n // *should* allow us to push the current position to the browser history.\n // In practice, it seems that the event is arriving too late in order for\n // the session history to be successfully updated.\n // (For additional details, please refer to the discussion in\n // https://bugzilla.mozilla.org/show_bug.cgi?id=1153393.)\n //\n // To workaround this we attempt to *temporarily* add the current position\n // to the browser history only when the viewer is *idle*,\n // i.e. when scrolling and/or zooming does not occur.\n //\n // PLEASE NOTE: It's absolutely imperative that the browser history is\n // *not* updated too often, since that would render the viewer more or\n // less unusable. Hence the use of a timeout to delay the update until\n // the viewer has been idle for `UPDATE_VIEWAREA_TIMEOUT` milliseconds.\n this._updateViewareaTimeout = setTimeout(() => {\n if (!this._popStateInProgress) {\n this._tryPushCurrentPosition(/* temporary = */ true);\n }\n this._updateViewareaTimeout = null;\n }, UPDATE_VIEWAREA_TIMEOUT);\n }\n }\n\n /**\n * @private\n */\n _popState({ state, }) {\n let newHash = getCurrentHash(), hashChanged = this._currentHash !== newHash;\n this._currentHash = newHash;\n\n if (!state ||\n (typeof PDFJSDev !== 'undefined' && PDFJSDev.test('CHROME') &&\n state.chromecomState && !this._isValidState(state))) {\n // This case corresponds to the user changing the hash of the document.\n this._uid++;\n\n let { hash, page, rotation, } = parseCurrentHash(this.linkService);\n this._pushOrReplaceState({ hash, page, rotation, },\n /* forceReplace = */ true);\n return;\n }\n if (!this._isValidState(state)) {\n // This should only occur in viewers with support for opening more than\n // one PDF document, e.g. the GENERIC viewer.\n return;\n }\n\n // Prevent the browser history from updating until the new destination,\n // as stored in the browser history, has been scrolled into view.\n this._popStateInProgress = true;\n\n if (hashChanged) {\n // When the hash changed, implying that the 'popstate' event will be\n // followed by a 'hashchange' event, then we do *not* want to update the\n // browser history when handling the 'hashchange' event (in web/app.js)\n // since that would *overwrite* the new destination navigated to below.\n //\n // To avoid accidentally disabling all future user-initiated hash changes,\n // if there's e.g. another 'hashchange' listener that stops the event\n // propagation, we make sure to always force-reset `this._blockHashChange`\n // after `HASH_CHANGE_TIMEOUT` milliseconds have passed.\n this._blockHashChange++;\n waitOnEventOrTimeout({\n target: window,\n name: 'hashchange',\n delay: HASH_CHANGE_TIMEOUT,\n }).then(() => {\n this._blockHashChange--;\n });\n }\n\n // Navigate to the new destination.\n let destination = state.destination;\n this._updateInternalState(destination, state.uid,\n /* removeTemporary = */ true);\n\n if (isValidRotation(destination.rotation)) {\n this.linkService.rotation = destination.rotation;\n }\n if (destination.dest) {\n this.linkService.navigateTo(destination.dest);\n } else if (destination.hash) {\n this.linkService.setHash(destination.hash);\n } else if (destination.page) {\n // Fallback case; shouldn't be necessary, but better safe than sorry.\n this.linkService.page = destination.page;\n }\n\n // Since `PDFLinkService.navigateTo` is asynchronous, we thus defer the\n // resetting of `this._popStateInProgress` slightly.\n Promise.resolve().then(() => {\n this._popStateInProgress = false;\n });\n }\n\n /**\n * @private\n */\n _bindEvents() {\n let { _boundEvents, eventBus, } = this;\n\n _boundEvents.updateViewarea = this._updateViewarea.bind(this);\n _boundEvents.popState = this._popState.bind(this);\n _boundEvents.pageHide = (evt) => {\n // Attempt to push the `this._position` into the browser history when\n // navigating away from the document. This is *only* done if the history\n // is currently empty, since otherwise an existing browser history entry\n // will end up being overwritten (given that new entries cannot be pushed\n // into the browser history when the 'unload' event has already fired).\n if (!this._destination) {\n this._tryPushCurrentPosition();\n }\n };\n\n eventBus.on('updateviewarea', _boundEvents.updateViewarea);\n window.addEventListener('popstate', _boundEvents.popState);\n window.addEventListener('pagehide', _boundEvents.pageHide);\n }\n}\n\nfunction isDestHashesEqual(destHash, pushHash) {\n if (typeof destHash !== 'string' || typeof pushHash !== 'string') {\n return false;\n }\n if (destHash === pushHash) {\n return true;\n }\n let { nameddest, } = parseQueryString(destHash);\n if (nameddest === pushHash) {\n return true;\n }\n return false;\n}\n\nfunction isDestArraysEqual(firstDest, secondDest) {\n function isEntryEqual(first, second) {\n if (typeof first !== typeof second) {\n return false;\n }\n if (first instanceof Array || second instanceof Array) {\n return false;\n }\n if (first !== null && typeof first === 'object' && second !== null) {\n if (Object.keys(first).length !== Object.keys(second).length) {\n return false;\n }\n for (let key in first) {\n if (!isEntryEqual(first[key], second[key])) {\n return false;\n }\n }\n return true;\n }\n return first === second || (Number.isNaN(first) && Number.isNaN(second));\n }\n\n if (!(firstDest instanceof Array && secondDest instanceof Array)) {\n return false;\n }\n if (firstDest.length !== secondDest.length) {\n return false;\n }\n for (let i = 0, ii = firstDest.length; i < ii; i++) {\n if (!isEntryEqual(firstDest[i], secondDest[i])) {\n return false;\n }\n }\n return true;\n}\n\nexport {\n PDFHistory,\n isDestHashesEqual,\n isDestArraysEqual,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/pdf_history.js","/* Copyright 2012 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n addLinkAttributes, PDFJS, removeNullCharacters\n} from 'pdfjs-lib';\n\nconst DEFAULT_TITLE = '\\u2013';\n\n/**\n * @typedef {Object} PDFOutlineViewerOptions\n * @property {HTMLDivElement} container - The viewer element.\n * @property {IPDFLinkService} linkService - The navigation/linking service.\n * @property {EventBus} eventBus - The application event bus.\n */\n\n/**\n * @typedef {Object} PDFOutlineViewerRenderParameters\n * @property {Array|null} outline - An array of outline objects.\n */\n\nclass PDFOutlineViewer {\n /**\n * @param {PDFOutlineViewerOptions} options\n */\n constructor({ container, linkService, eventBus, }) {\n this.container = container;\n this.linkService = linkService;\n this.eventBus = eventBus;\n\n this.reset();\n }\n\n reset() {\n this.outline = null;\n this.lastToggleIsShow = true;\n\n // Remove the outline from the DOM.\n this.container.textContent = '';\n\n // Ensure that the left (right in RTL locales) margin is always reset,\n // to prevent incorrect outline alignment if a new document is opened.\n this.container.classList.remove('outlineWithDeepNesting');\n }\n\n /**\n * @private\n */\n _dispatchEvent(outlineCount) {\n this.eventBus.dispatch('outlineloaded', {\n source: this,\n outlineCount,\n });\n }\n\n /**\n * @private\n */\n _bindLink(element, item) {\n if (item.url) {\n addLinkAttributes(element, {\n url: item.url,\n target: (item.newWindow ? PDFJS.LinkTarget.BLANK : undefined),\n });\n return;\n }\n let destination = item.dest;\n\n element.href = this.linkService.getDestinationHash(destination);\n element.onclick = () => {\n if (destination) {\n this.linkService.navigateTo(destination);\n }\n return false;\n };\n }\n\n /**\n * @private\n */\n _setStyles(element, item) {\n let styleStr = '';\n if (item.bold) {\n styleStr += 'font-weight: bold;';\n }\n if (item.italic) {\n styleStr += 'font-style: italic;';\n }\n\n if (styleStr) {\n element.setAttribute('style', styleStr);\n }\n }\n\n /**\n * Prepend a button before an outline item which allows the user to toggle\n * the visibility of all outline items at that level.\n *\n * @private\n */\n _addToggleButton(div) {\n let toggler = document.createElement('div');\n toggler.className = 'outlineItemToggler';\n toggler.onclick = (evt) => {\n evt.stopPropagation();\n toggler.classList.toggle('outlineItemsHidden');\n\n if (evt.shiftKey) {\n let shouldShowAll = !toggler.classList.contains('outlineItemsHidden');\n this._toggleOutlineItem(div, shouldShowAll);\n }\n };\n div.insertBefore(toggler, div.firstChild);\n }\n\n /**\n * Toggle the visibility of the subtree of an outline item.\n *\n * @param {Element} root - the root of the outline (sub)tree.\n * @param {boolean} show - whether to show the outline (sub)tree. If false,\n * the outline subtree rooted at |root| will be collapsed.\n *\n * @private\n */\n _toggleOutlineItem(root, show) {\n this.lastToggleIsShow = show;\n let togglers = root.querySelectorAll('.outlineItemToggler');\n for (let i = 0, ii = togglers.length; i < ii; ++i) {\n togglers[i].classList[show ? 'remove' : 'add']('outlineItemsHidden');\n }\n }\n\n /**\n * Collapse or expand all subtrees of the outline.\n */\n toggleOutlineTree() {\n if (!this.outline) {\n return;\n }\n this._toggleOutlineItem(this.container, !this.lastToggleIsShow);\n }\n\n /**\n * @param {PDFOutlineViewerRenderParameters} params\n */\n render({ outline, }) {\n let outlineCount = 0;\n\n if (this.outline) {\n this.reset();\n }\n this.outline = outline || null;\n\n if (!outline) {\n this._dispatchEvent(outlineCount);\n return;\n }\n\n let fragment = document.createDocumentFragment();\n let queue = [{ parent: fragment, items: this.outline, }];\n let hasAnyNesting = false;\n while (queue.length > 0) {\n let levelData = queue.shift();\n for (let i = 0, len = levelData.items.length; i < len; i++) {\n let item = levelData.items[i];\n\n let div = document.createElement('div');\n div.className = 'outlineItem';\n\n let element = document.createElement('a');\n this._bindLink(element, item);\n this._setStyles(element, item);\n element.textContent =\n removeNullCharacters(item.title) || DEFAULT_TITLE;\n\n div.appendChild(element);\n\n if (item.items.length > 0) {\n hasAnyNesting = true;\n this._addToggleButton(div);\n\n let itemsDiv = document.createElement('div');\n itemsDiv.className = 'outlineItems';\n div.appendChild(itemsDiv);\n queue.push({ parent: itemsDiv, items: item.items, });\n }\n\n levelData.parent.appendChild(div);\n outlineCount++;\n }\n }\n if (hasAnyNesting) {\n this.container.classList.add('outlineWithDeepNesting');\n }\n\n this.container.appendChild(fragment);\n\n this._dispatchEvent(outlineCount);\n }\n}\n\nexport {\n PDFOutlineViewer,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/pdf_outline_viewer.js","/* Copyright 2012 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { normalizeWheelEventDelta } from './ui_utils';\n\nconst DELAY_BEFORE_RESETTING_SWITCH_IN_PROGRESS = 1500; // in ms\nconst DELAY_BEFORE_HIDING_CONTROLS = 3000; // in ms\nconst ACTIVE_SELECTOR = 'pdfPresentationMode';\nconst CONTROLS_SELECTOR = 'pdfPresentationModeControls';\nconst MOUSE_SCROLL_COOLDOWN_TIME = 50; // in ms\nconst PAGE_SWITCH_THRESHOLD = 0.1;\n\n// Number of CSS pixels for a movement to count as a swipe.\nconst SWIPE_MIN_DISTANCE_THRESHOLD = 50;\n\n// Swipe angle deviation from the x or y axis before it is not\n// considered a swipe in that direction any more.\nconst SWIPE_ANGLE_THRESHOLD = Math.PI / 6;\n\n/**\n * @typedef {Object} PDFPresentationModeOptions\n * @property {HTMLDivElement} container - The container for the viewer element.\n * @property {HTMLDivElement} viewer - (optional) The viewer element.\n * @property {PDFViewer} pdfViewer - The document viewer.\n * @property {EventBus} eventBus - The application event bus.\n * @property {Array} contextMenuItems - (optional) The menuitems that are added\n * to the context menu in Presentation Mode.\n */\n\nclass PDFPresentationMode {\n /**\n * @param {PDFPresentationModeOptions} options\n */\n constructor({ container, viewer = null, pdfViewer, eventBus,\n contextMenuItems = null, }) {\n this.container = container;\n this.viewer = viewer || container.firstElementChild;\n this.pdfViewer = pdfViewer;\n this.eventBus = eventBus;\n\n this.active = false;\n this.args = null;\n this.contextMenuOpen = false;\n this.mouseScrollTimeStamp = 0;\n this.mouseScrollDelta = 0;\n this.touchSwipeState = null;\n\n if (contextMenuItems) {\n contextMenuItems.contextFirstPage.addEventListener('click', () => {\n this.contextMenuOpen = false;\n this.eventBus.dispatch('firstpage');\n });\n contextMenuItems.contextLastPage.addEventListener('click', () => {\n this.contextMenuOpen = false;\n this.eventBus.dispatch('lastpage');\n });\n contextMenuItems.contextPageRotateCw.addEventListener('click', () => {\n this.contextMenuOpen = false;\n this.eventBus.dispatch('rotatecw');\n });\n contextMenuItems.contextPageRotateCcw.addEventListener('click', () => {\n this.contextMenuOpen = false;\n this.eventBus.dispatch('rotateccw');\n });\n }\n }\n\n /**\n * Request the browser to enter fullscreen mode.\n * @returns {boolean} Indicating if the request was successful.\n */\n request() {\n if (this.switchInProgress || this.active || !this.viewer.hasChildNodes()) {\n return false;\n }\n this._addFullscreenChangeListeners();\n this._setSwitchInProgress();\n this._notifyStateChange();\n\n if (this.container.requestFullscreen) {\n this.container.requestFullscreen();\n } else if (this.container.mozRequestFullScreen) {\n this.container.mozRequestFullScreen();\n } else if (this.container.webkitRequestFullscreen) {\n this.container.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT);\n } else if (this.container.msRequestFullscreen) {\n this.container.msRequestFullscreen();\n } else {\n return false;\n }\n\n this.args = {\n page: this.pdfViewer.currentPageNumber,\n previousScale: this.pdfViewer.currentScaleValue,\n };\n\n return true;\n }\n\n /**\n * @private\n */\n _mouseWheel(evt) {\n if (!this.active) {\n return;\n }\n\n evt.preventDefault();\n\n let delta = normalizeWheelEventDelta(evt);\n let currentTime = (new Date()).getTime();\n let storedTime = this.mouseScrollTimeStamp;\n\n // If we've already switched page, avoid accidentally switching again.\n if (currentTime > storedTime &&\n currentTime - storedTime < MOUSE_SCROLL_COOLDOWN_TIME) {\n return;\n }\n // If the scroll direction changed, reset the accumulated scroll delta.\n if ((this.mouseScrollDelta > 0 && delta < 0) ||\n (this.mouseScrollDelta < 0 && delta > 0)) {\n this._resetMouseScrollState();\n }\n this.mouseScrollDelta += delta;\n\n if (Math.abs(this.mouseScrollDelta) >= PAGE_SWITCH_THRESHOLD) {\n let totalDelta = this.mouseScrollDelta;\n this._resetMouseScrollState();\n let success = totalDelta > 0 ? this._goToPreviousPage()\n : this._goToNextPage();\n if (success) {\n this.mouseScrollTimeStamp = currentTime;\n }\n }\n }\n\n get isFullscreen() {\n return !!(document.fullscreenElement || document.mozFullScreen ||\n document.webkitIsFullScreen || document.msFullscreenElement);\n }\n\n /**\n * @private\n */\n _goToPreviousPage() {\n let page = this.pdfViewer.currentPageNumber;\n // If we're at the first page, we don't need to do anything.\n if (page <= 1) {\n return false;\n }\n this.pdfViewer.currentPageNumber = (page - 1);\n return true;\n }\n\n /**\n * @private\n */\n _goToNextPage() {\n let page = this.pdfViewer.currentPageNumber;\n // If we're at the last page, we don't need to do anything.\n if (page >= this.pdfViewer.pagesCount) {\n return false;\n }\n this.pdfViewer.currentPageNumber = (page + 1);\n return true;\n }\n\n /**\n * @private\n */\n _notifyStateChange() {\n this.eventBus.dispatch('presentationmodechanged', {\n source: this,\n active: this.active,\n switchInProgress: !!this.switchInProgress,\n });\n }\n\n /**\n * Used to initialize a timeout when requesting Presentation Mode,\n * i.e. when the browser is requested to enter fullscreen mode.\n * This timeout is used to prevent the current page from being scrolled\n * partially, or completely, out of view when entering Presentation Mode.\n * NOTE: This issue seems limited to certain zoom levels (e.g. page-width).\n *\n * @private\n */\n _setSwitchInProgress() {\n if (this.switchInProgress) {\n clearTimeout(this.switchInProgress);\n }\n this.switchInProgress = setTimeout(() => {\n this._removeFullscreenChangeListeners();\n delete this.switchInProgress;\n this._notifyStateChange();\n }, DELAY_BEFORE_RESETTING_SWITCH_IN_PROGRESS);\n }\n\n /**\n * @private\n */\n _resetSwitchInProgress() {\n if (this.switchInProgress) {\n clearTimeout(this.switchInProgress);\n delete this.switchInProgress;\n }\n }\n\n /**\n * @private\n */\n _enter() {\n this.active = true;\n this._resetSwitchInProgress();\n this._notifyStateChange();\n this.container.classList.add(ACTIVE_SELECTOR);\n\n // Ensure that the correct page is scrolled into view when entering\n // Presentation Mode, by waiting until fullscreen mode in enabled.\n setTimeout(() => {\n this.pdfViewer.currentPageNumber = this.args.page;\n this.pdfViewer.currentScaleValue = 'page-fit';\n }, 0);\n\n this._addWindowListeners();\n this._showControls();\n this.contextMenuOpen = false;\n this.container.setAttribute('contextmenu', 'viewerContextMenu');\n\n // Text selection is disabled in Presentation Mode, thus it's not possible\n // for the user to deselect text that is selected (e.g. with \"Select all\")\n // when entering Presentation Mode, hence we remove any active selection.\n window.getSelection().removeAllRanges();\n }\n\n /**\n * @private\n */\n _exit() {\n let page = this.pdfViewer.currentPageNumber;\n this.container.classList.remove(ACTIVE_SELECTOR);\n\n // Ensure that the correct page is scrolled into view when exiting\n // Presentation Mode, by waiting until fullscreen mode is disabled.\n setTimeout(() => {\n this.active = false;\n this._removeFullscreenChangeListeners();\n this._notifyStateChange();\n\n this.pdfViewer.currentScaleValue = this.args.previousScale;\n this.pdfViewer.currentPageNumber = page;\n this.args = null;\n }, 0);\n\n this._removeWindowListeners();\n this._hideControls();\n this._resetMouseScrollState();\n this.container.removeAttribute('contextmenu');\n this.contextMenuOpen = false;\n }\n\n /**\n * @private\n */\n _mouseDown(evt) {\n if (this.contextMenuOpen) {\n this.contextMenuOpen = false;\n evt.preventDefault();\n return;\n }\n if (evt.button === 0) {\n // Enable clicking of links in presentation mode. Note: only links\n // pointing to destinations in the current PDF document work.\n let isInternalLink = (evt.target.href &&\n evt.target.classList.contains('internalLink'));\n if (!isInternalLink) {\n // Unless an internal link was clicked, advance one page.\n evt.preventDefault();\n\n if (evt.shiftKey) {\n this._goToPreviousPage();\n } else {\n this._goToNextPage();\n }\n }\n }\n }\n\n /**\n * @private\n */\n _contextMenu() {\n this.contextMenuOpen = true;\n }\n\n /**\n * @private\n */\n _showControls() {\n if (this.controlsTimeout) {\n clearTimeout(this.controlsTimeout);\n } else {\n this.container.classList.add(CONTROLS_SELECTOR);\n }\n this.controlsTimeout = setTimeout(() => {\n this.container.classList.remove(CONTROLS_SELECTOR);\n delete this.controlsTimeout;\n }, DELAY_BEFORE_HIDING_CONTROLS);\n }\n\n /**\n * @private\n */\n _hideControls() {\n if (!this.controlsTimeout) {\n return;\n }\n clearTimeout(this.controlsTimeout);\n this.container.classList.remove(CONTROLS_SELECTOR);\n delete this.controlsTimeout;\n }\n\n /**\n * Resets the properties used for tracking mouse scrolling events.\n *\n * @private\n */\n _resetMouseScrollState() {\n this.mouseScrollTimeStamp = 0;\n this.mouseScrollDelta = 0;\n }\n\n /**\n * @private\n */\n _touchSwipe(evt) {\n if (!this.active) {\n return;\n }\n if (evt.touches.length > 1) {\n // Multiple touch points detected; cancel the swipe.\n this.touchSwipeState = null;\n return;\n }\n\n switch (evt.type) {\n case 'touchstart':\n this.touchSwipeState = {\n startX: evt.touches[0].pageX,\n startY: evt.touches[0].pageY,\n endX: evt.touches[0].pageX,\n endY: evt.touches[0].pageY,\n };\n break;\n case 'touchmove':\n if (this.touchSwipeState === null) {\n return;\n }\n this.touchSwipeState.endX = evt.touches[0].pageX;\n this.touchSwipeState.endY = evt.touches[0].pageY;\n // Avoid the swipe from triggering browser gestures (Chrome in\n // particular has some sort of swipe gesture in fullscreen mode).\n evt.preventDefault();\n break;\n case 'touchend':\n if (this.touchSwipeState === null) {\n return;\n }\n let delta = 0;\n let dx = this.touchSwipeState.endX - this.touchSwipeState.startX;\n let dy = this.touchSwipeState.endY - this.touchSwipeState.startY;\n let absAngle = Math.abs(Math.atan2(dy, dx));\n if (Math.abs(dx) > SWIPE_MIN_DISTANCE_THRESHOLD &&\n (absAngle <= SWIPE_ANGLE_THRESHOLD ||\n absAngle >= (Math.PI - SWIPE_ANGLE_THRESHOLD))) {\n // Horizontal swipe.\n delta = dx;\n } else if (Math.abs(dy) > SWIPE_MIN_DISTANCE_THRESHOLD &&\n Math.abs(absAngle - (Math.PI / 2)) <= SWIPE_ANGLE_THRESHOLD) {\n // Vertical swipe.\n delta = dy;\n }\n if (delta > 0) {\n this._goToPreviousPage();\n } else if (delta < 0) {\n this._goToNextPage();\n }\n break;\n }\n }\n\n /**\n * @private\n */\n _addWindowListeners() {\n this.showControlsBind = this._showControls.bind(this);\n this.mouseDownBind = this._mouseDown.bind(this);\n this.mouseWheelBind = this._mouseWheel.bind(this);\n this.resetMouseScrollStateBind = this._resetMouseScrollState.bind(this);\n this.contextMenuBind = this._contextMenu.bind(this);\n this.touchSwipeBind = this._touchSwipe.bind(this);\n\n window.addEventListener('mousemove', this.showControlsBind);\n window.addEventListener('mousedown', this.mouseDownBind);\n window.addEventListener('wheel', this.mouseWheelBind);\n window.addEventListener('keydown', this.resetMouseScrollStateBind);\n window.addEventListener('contextmenu', this.contextMenuBind);\n window.addEventListener('touchstart', this.touchSwipeBind);\n window.addEventListener('touchmove', this.touchSwipeBind);\n window.addEventListener('touchend', this.touchSwipeBind);\n }\n\n /**\n * @private\n */\n _removeWindowListeners() {\n window.removeEventListener('mousemove', this.showControlsBind);\n window.removeEventListener('mousedown', this.mouseDownBind);\n window.removeEventListener('wheel', this.mouseWheelBind);\n window.removeEventListener('keydown', this.resetMouseScrollStateBind);\n window.removeEventListener('contextmenu', this.contextMenuBind);\n window.removeEventListener('touchstart', this.touchSwipeBind);\n window.removeEventListener('touchmove', this.touchSwipeBind);\n window.removeEventListener('touchend', this.touchSwipeBind);\n\n delete this.showControlsBind;\n delete this.mouseDownBind;\n delete this.mouseWheelBind;\n delete this.resetMouseScrollStateBind;\n delete this.contextMenuBind;\n delete this.touchSwipeBind;\n }\n\n /**\n * @private\n */\n _fullscreenChange() {\n if (this.isFullscreen) {\n this._enter();\n } else {\n this._exit();\n }\n }\n\n /**\n * @private\n */\n _addFullscreenChangeListeners() {\n this.fullscreenChangeBind = this._fullscreenChange.bind(this);\n\n window.addEventListener('fullscreenchange', this.fullscreenChangeBind);\n window.addEventListener('mozfullscreenchange', this.fullscreenChangeBind);\n if (typeof PDFJSDev === 'undefined' ||\n !PDFJSDev.test('FIREFOX || MOZCENTRAL')) {\n window.addEventListener('webkitfullscreenchange',\n this.fullscreenChangeBind);\n window.addEventListener('MSFullscreenChange',\n this.fullscreenChangeBind);\n }\n }\n\n /**\n * @private\n */\n _removeFullscreenChangeListeners() {\n window.removeEventListener('fullscreenchange', this.fullscreenChangeBind);\n window.removeEventListener('mozfullscreenchange',\n this.fullscreenChangeBind);\n if (typeof PDFJSDev === 'undefined' ||\n !PDFJSDev.test('FIREFOX || MOZCENTRAL')) {\n window.removeEventListener('webkitfullscreenchange',\n this.fullscreenChangeBind);\n window.removeEventListener('MSFullscreenChange',\n this.fullscreenChangeBind);\n }\n\n delete this.fullscreenChangeBind;\n }\n}\n\nexport {\n PDFPresentationMode,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/pdf_presentation_mode.js","/* Copyright 2012 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n getVisibleElements, isValidRotation, NullL10n, scrollIntoView, watchScroll\n} from './ui_utils';\nimport { PDFThumbnailView } from './pdf_thumbnail_view';\n\nconst THUMBNAIL_SCROLL_MARGIN = -19;\n\n/**\n * @typedef {Object} PDFThumbnailViewerOptions\n * @property {HTMLDivElement} container - The container for the thumbnail\n * elements.\n * @property {IPDFLinkService} linkService - The navigation/linking service.\n * @property {PDFRenderingQueue} renderingQueue - The rendering queue object.\n * @property {IL10n} l10n - Localization service.\n */\n\n/**\n * Viewer control to display thumbnails for pages in a PDF document.\n *\n * @implements {IRenderableView}\n */\nclass PDFThumbnailViewer {\n /**\n * @param {PDFThumbnailViewerOptions} options\n */\n constructor({ container, linkService, renderingQueue, l10n = NullL10n, }) {\n this.container = container;\n this.linkService = linkService;\n this.renderingQueue = renderingQueue;\n this.l10n = l10n;\n\n this.scroll = watchScroll(this.container, this._scrollUpdated.bind(this));\n this._resetView();\n }\n\n /**\n * @private\n */\n _scrollUpdated() {\n this.renderingQueue.renderHighestPriority();\n }\n\n getThumbnail(index) {\n return this._thumbnails[index];\n }\n\n /**\n * @private\n */\n _getVisibleThumbs() {\n return getVisibleElements(this.container, this._thumbnails);\n }\n\n scrollThumbnailIntoView(page) {\n let selected = document.querySelector('.thumbnail.selected');\n if (selected) {\n selected.classList.remove('selected');\n }\n let thumbnail = document.querySelector(\n 'div.thumbnail[data-page-number=\"' + page + '\"]');\n if (thumbnail) {\n thumbnail.classList.add('selected');\n }\n let visibleThumbs = this._getVisibleThumbs();\n let numVisibleThumbs = visibleThumbs.views.length;\n\n // If the thumbnail isn't currently visible, scroll it into view.\n if (numVisibleThumbs > 0) {\n let first = visibleThumbs.first.id;\n // Account for only one thumbnail being visible.\n let last = (numVisibleThumbs > 1 ? visibleThumbs.last.id : first);\n if (page <= first || page >= last) {\n scrollIntoView(thumbnail, { top: THUMBNAIL_SCROLL_MARGIN, });\n }\n }\n }\n\n get pagesRotation() {\n return this._pagesRotation;\n }\n\n set pagesRotation(rotation) {\n if (!isValidRotation(rotation)) {\n throw new Error('Invalid thumbnails rotation angle.');\n }\n if (!this.pdfDocument) {\n return;\n }\n if (this._pagesRotation === rotation) {\n return; // The rotation didn't change.\n }\n this._pagesRotation = rotation;\n\n for (let i = 0, ii = this._thumbnails.length; i < ii; i++) {\n this._thumbnails[i].update(rotation);\n }\n }\n\n cleanup() {\n PDFThumbnailView.cleanup();\n }\n\n /**\n * @private\n */\n _resetView() {\n this._thumbnails = [];\n this._pageLabels = null;\n this._pagesRotation = 0;\n this._pagesRequests = [];\n\n // Remove the thumbnails from the DOM.\n this.container.textContent = '';\n }\n\n setDocument(pdfDocument) {\n if (this.pdfDocument) {\n this._cancelRendering();\n this._resetView();\n }\n\n this.pdfDocument = pdfDocument;\n if (!pdfDocument) {\n return;\n }\n\n pdfDocument.getPage(1).then((firstPage) => {\n let pagesCount = pdfDocument.numPages;\n let viewport = firstPage.getViewport(1.0);\n for (let pageNum = 1; pageNum <= pagesCount; ++pageNum) {\n let thumbnail = new PDFThumbnailView({\n container: this.container,\n id: pageNum,\n defaultViewport: viewport.clone(),\n linkService: this.linkService,\n renderingQueue: this.renderingQueue,\n disableCanvasToImageConversion: false,\n l10n: this.l10n,\n });\n this._thumbnails.push(thumbnail);\n }\n }).catch((reason) => {\n console.error('Unable to initialize thumbnail viewer', reason);\n });\n }\n\n /**\n * @private\n */\n _cancelRendering() {\n for (let i = 0, ii = this._thumbnails.length; i < ii; i++) {\n if (this._thumbnails[i]) {\n this._thumbnails[i].cancelRendering();\n }\n }\n }\n\n /**\n * @param {Array|null} labels\n */\n setPageLabels(labels) {\n if (!this.pdfDocument) {\n return;\n }\n if (!labels) {\n this._pageLabels = null;\n } else if (!(labels instanceof Array &&\n this.pdfDocument.numPages === labels.length)) {\n this._pageLabels = null;\n console.error('PDFThumbnailViewer_setPageLabels: Invalid page labels.');\n } else {\n this._pageLabels = labels;\n }\n // Update all the `PDFThumbnailView` instances.\n for (let i = 0, ii = this._thumbnails.length; i < ii; i++) {\n let label = this._pageLabels && this._pageLabels[i];\n this._thumbnails[i].setPageLabel(label);\n }\n }\n\n /**\n * @param {PDFThumbnailView} thumbView\n * @returns {PDFPage}\n * @private\n */\n _ensurePdfPageLoaded(thumbView) {\n if (thumbView.pdfPage) {\n return Promise.resolve(thumbView.pdfPage);\n }\n let pageNumber = thumbView.id;\n if (this._pagesRequests[pageNumber]) {\n return this._pagesRequests[pageNumber];\n }\n let promise = this.pdfDocument.getPage(pageNumber).then((pdfPage) => {\n thumbView.setPdfPage(pdfPage);\n this._pagesRequests[pageNumber] = null;\n return pdfPage;\n }).catch((reason) => {\n console.error('Unable to get page for thumb view', reason);\n // Page error -- there is nothing can be done.\n this._pagesRequests[pageNumber] = null;\n });\n this._pagesRequests[pageNumber] = promise;\n return promise;\n }\n\n forceRendering() {\n let visibleThumbs = this._getVisibleThumbs();\n let thumbView = this.renderingQueue.getHighestPriority(visibleThumbs,\n this._thumbnails,\n this.scroll.down);\n if (thumbView) {\n this._ensurePdfPageLoaded(thumbView).then(() => {\n this.renderingQueue.renderView(thumbView);\n });\n return true;\n }\n return false;\n }\n}\n\nexport {\n PDFThumbnailViewer,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/pdf_thumbnail_viewer.js","/* Copyright 2012 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n createPromiseCapability, RenderingCancelledException\n} from 'pdfjs-lib';\nimport { getOutputScale, NullL10n } from './ui_utils';\nimport { RenderingStates } from './pdf_rendering_queue';\n\nconst MAX_NUM_SCALING_STEPS = 3;\nconst THUMBNAIL_CANVAS_BORDER_WIDTH = 1; // px\nconst THUMBNAIL_WIDTH = 98; // px\n\n/**\n * @typedef {Object} PDFThumbnailViewOptions\n * @property {HTMLDivElement} container - The viewer element.\n * @property {number} id - The thumbnail's unique ID (normally its number).\n * @property {PageViewport} defaultViewport - The page viewport.\n * @property {IPDFLinkService} linkService - The navigation/linking service.\n * @property {PDFRenderingQueue} renderingQueue - The rendering queue object.\n * @property {boolean} disableCanvasToImageConversion - (optional) Don't convert\n * the canvas thumbnails to images. This prevents `toDataURL` calls,\n * but increases the overall memory usage. The default value is `false`.\n * @property {IL10n} l10n - Localization service.\n */\n\nconst TempImageFactory = (function TempImageFactoryClosure() {\n let tempCanvasCache = null;\n\n return {\n getCanvas(width, height) {\n let tempCanvas = tempCanvasCache;\n if (!tempCanvas) {\n tempCanvas = document.createElement('canvas');\n tempCanvasCache = tempCanvas;\n }\n tempCanvas.width = width;\n tempCanvas.height = height;\n\n // Since this is a temporary canvas, we need to fill it with a white\n // background ourselves. `_getPageDrawContext` uses CSS rules for this.\n if (typeof PDFJSDev === 'undefined' ||\n PDFJSDev.test('MOZCENTRAL || FIREFOX || GENERIC')) {\n tempCanvas.mozOpaque = true;\n }\n\n let ctx = tempCanvas.getContext('2d', { alpha: false, });\n ctx.save();\n ctx.fillStyle = 'rgb(255, 255, 255)';\n ctx.fillRect(0, 0, width, height);\n ctx.restore();\n return tempCanvas;\n },\n\n destroyCanvas() {\n let tempCanvas = tempCanvasCache;\n if (tempCanvas) {\n // Zeroing the width and height causes Firefox to release graphics\n // resources immediately, which can greatly reduce memory consumption.\n tempCanvas.width = 0;\n tempCanvas.height = 0;\n }\n tempCanvasCache = null;\n },\n };\n})();\n\n/**\n * @implements {IRenderableView}\n */\nclass PDFThumbnailView {\n /**\n * @param {PDFThumbnailViewOptions} options\n */\n constructor({ container, id, defaultViewport, linkService, renderingQueue,\n disableCanvasToImageConversion = false, l10n = NullL10n, }) {\n this.id = id;\n this.renderingId = 'thumbnail' + id;\n this.pageLabel = null;\n\n this.pdfPage = null;\n this.rotation = 0;\n this.viewport = defaultViewport;\n this.pdfPageRotate = defaultViewport.rotation;\n\n this.linkService = linkService;\n this.renderingQueue = renderingQueue;\n\n this.renderTask = null;\n this.renderingState = RenderingStates.INITIAL;\n this.resume = null;\n this.disableCanvasToImageConversion = disableCanvasToImageConversion;\n\n this.pageWidth = this.viewport.width;\n this.pageHeight = this.viewport.height;\n this.pageRatio = this.pageWidth / this.pageHeight;\n\n this.canvasWidth = THUMBNAIL_WIDTH;\n this.canvasHeight = (this.canvasWidth / this.pageRatio) | 0;\n this.scale = this.canvasWidth / this.pageWidth;\n\n this.l10n = l10n;\n\n let anchor = document.createElement('a');\n anchor.href = linkService.getAnchorUrl('#page=' + id);\n this.l10n.get('thumb_page_title', { page: id, }, 'Page {{page}}').\n then((msg) => {\n anchor.title = msg;\n });\n anchor.onclick = function() {\n linkService.page = id;\n return false;\n };\n this.anchor = anchor;\n\n let div = document.createElement('div');\n div.className = 'thumbnail';\n div.setAttribute('data-page-number', this.id);\n this.div = div;\n\n if (id === 1) {\n // Highlight the thumbnail of the first page when no page number is\n // specified (or exists in cache) when the document is loaded.\n div.classList.add('selected');\n }\n\n let ring = document.createElement('div');\n ring.className = 'thumbnailSelectionRing';\n let borderAdjustment = 2 * THUMBNAIL_CANVAS_BORDER_WIDTH;\n ring.style.width = this.canvasWidth + borderAdjustment + 'px';\n ring.style.height = this.canvasHeight + borderAdjustment + 'px';\n this.ring = ring;\n\n div.appendChild(ring);\n anchor.appendChild(div);\n container.appendChild(anchor);\n }\n\n setPdfPage(pdfPage) {\n this.pdfPage = pdfPage;\n this.pdfPageRotate = pdfPage.rotate;\n let totalRotation = (this.rotation + this.pdfPageRotate) % 360;\n this.viewport = pdfPage.getViewport(1, totalRotation);\n this.reset();\n }\n\n reset() {\n this.cancelRendering();\n\n this.pageWidth = this.viewport.width;\n this.pageHeight = this.viewport.height;\n this.pageRatio = this.pageWidth / this.pageHeight;\n\n this.canvasHeight = (this.canvasWidth / this.pageRatio) | 0;\n this.scale = (this.canvasWidth / this.pageWidth);\n\n this.div.removeAttribute('data-loaded');\n let ring = this.ring;\n let childNodes = ring.childNodes;\n for (let i = childNodes.length - 1; i >= 0; i--) {\n ring.removeChild(childNodes[i]);\n }\n let borderAdjustment = 2 * THUMBNAIL_CANVAS_BORDER_WIDTH;\n ring.style.width = this.canvasWidth + borderAdjustment + 'px';\n ring.style.height = this.canvasHeight + borderAdjustment + 'px';\n\n if (this.canvas) {\n // Zeroing the width and height causes Firefox to release graphics\n // resources immediately, which can greatly reduce memory consumption.\n this.canvas.width = 0;\n this.canvas.height = 0;\n delete this.canvas;\n }\n if (this.image) {\n this.image.removeAttribute('src');\n delete this.image;\n }\n }\n\n update(rotation) {\n if (typeof rotation !== 'undefined') {\n this.rotation = rotation;\n }\n let totalRotation = (this.rotation + this.pdfPageRotate) % 360;\n this.viewport = this.viewport.clone({\n scale: 1,\n rotation: totalRotation,\n });\n this.reset();\n }\n\n cancelRendering() {\n if (this.renderTask) {\n this.renderTask.cancel();\n this.renderTask = null;\n }\n this.renderingState = RenderingStates.INITIAL;\n this.resume = null;\n }\n\n /**\n * @private\n */\n _getPageDrawContext(noCtxScale = false) {\n let canvas = document.createElement('canvas');\n // Keep the no-thumbnail outline visible, i.e. `data-loaded === false`,\n // until rendering/image conversion is complete, to avoid display issues.\n this.canvas = canvas;\n\n if (typeof PDFJSDev === 'undefined' ||\n PDFJSDev.test('MOZCENTRAL || FIREFOX || GENERIC')) {\n canvas.mozOpaque = true;\n }\n let ctx = canvas.getContext('2d', { alpha: false, });\n let outputScale = getOutputScale(ctx);\n\n canvas.width = (this.canvasWidth * outputScale.sx) | 0;\n canvas.height = (this.canvasHeight * outputScale.sy) | 0;\n canvas.style.width = this.canvasWidth + 'px';\n canvas.style.height = this.canvasHeight + 'px';\n\n if (!noCtxScale && outputScale.scaled) {\n ctx.scale(outputScale.sx, outputScale.sy);\n }\n return ctx;\n }\n\n /**\n * @private\n */\n _convertCanvasToImage() {\n if (!this.canvas) {\n return;\n }\n if (this.renderingState !== RenderingStates.FINISHED) {\n return;\n }\n let id = this.renderingId;\n let className = 'thumbnailImage';\n\n if (this.disableCanvasToImageConversion) {\n this.canvas.id = id;\n this.canvas.className = className;\n this.l10n.get('thumb_page_canvas', { page: this.pageId, },\n 'Thumbnail of Page {{page}}').then((msg) => {\n this.canvas.setAttribute('aria-label', msg);\n });\n\n this.div.setAttribute('data-loaded', true);\n this.ring.appendChild(this.canvas);\n return;\n }\n let image = document.createElement('img');\n image.id = id;\n image.className = className;\n this.l10n.get('thumb_page_canvas', { page: this.pageId, },\n 'Thumbnail of Page {{page}}').\n then((msg) => {\n image.setAttribute('aria-label', msg);\n });\n\n image.style.width = this.canvasWidth + 'px';\n image.style.height = this.canvasHeight + 'px';\n\n image.src = this.canvas.toDataURL();\n this.image = image;\n\n this.div.setAttribute('data-loaded', true);\n this.ring.appendChild(image);\n\n // Zeroing the width and height causes Firefox to release graphics\n // resources immediately, which can greatly reduce memory consumption.\n this.canvas.width = 0;\n this.canvas.height = 0;\n delete this.canvas;\n }\n\n draw() {\n if (this.renderingState !== RenderingStates.INITIAL) {\n console.error('Must be in new state before drawing');\n return Promise.resolve(undefined);\n }\n this.renderingState = RenderingStates.RUNNING;\n\n let renderCapability = createPromiseCapability();\n let finishRenderTask = (error) => {\n // The renderTask may have been replaced by a new one, so only remove\n // the reference to the renderTask if it matches the one that is\n // triggering this callback.\n if (renderTask === this.renderTask) {\n this.renderTask = null;\n }\n\n if (((typeof PDFJSDev === 'undefined' ||\n !PDFJSDev.test('PDFJS_NEXT')) && error === 'cancelled') ||\n error instanceof RenderingCancelledException) {\n renderCapability.resolve(undefined);\n return;\n }\n\n this.renderingState = RenderingStates.FINISHED;\n this._convertCanvasToImage();\n\n if (!error) {\n renderCapability.resolve(undefined);\n } else {\n renderCapability.reject(error);\n }\n };\n\n let ctx = this._getPageDrawContext();\n let drawViewport = this.viewport.clone({ scale: this.scale, });\n let renderContinueCallback = (cont) => {\n if (!this.renderingQueue.isHighestPriority(this)) {\n this.renderingState = RenderingStates.PAUSED;\n this.resume = () => {\n this.renderingState = RenderingStates.RUNNING;\n cont();\n };\n return;\n }\n cont();\n };\n\n let renderContext = {\n canvasContext: ctx,\n viewport: drawViewport,\n };\n let renderTask = this.renderTask = this.pdfPage.render(renderContext);\n renderTask.onContinue = renderContinueCallback;\n\n renderTask.promise.then(function() {\n finishRenderTask(null);\n }, function(error) {\n finishRenderTask(error);\n });\n return renderCapability.promise;\n }\n\n setImage(pageView) {\n if (this.renderingState !== RenderingStates.INITIAL) {\n return;\n }\n let img = pageView.canvas;\n if (!img) {\n return;\n }\n if (!this.pdfPage) {\n this.setPdfPage(pageView.pdfPage);\n }\n\n this.renderingState = RenderingStates.FINISHED;\n\n let ctx = this._getPageDrawContext(true);\n let canvas = ctx.canvas;\n if (img.width <= 2 * canvas.width) {\n ctx.drawImage(img, 0, 0, img.width, img.height,\n 0, 0, canvas.width, canvas.height);\n this._convertCanvasToImage();\n return;\n }\n\n // drawImage does an awful job of rescaling the image, doing it gradually.\n let reducedWidth = canvas.width << MAX_NUM_SCALING_STEPS;\n let reducedHeight = canvas.height << MAX_NUM_SCALING_STEPS;\n let reducedImage = TempImageFactory.getCanvas(reducedWidth,\n reducedHeight);\n let reducedImageCtx = reducedImage.getContext('2d');\n\n while (reducedWidth > img.width || reducedHeight > img.height) {\n reducedWidth >>= 1;\n reducedHeight >>= 1;\n }\n reducedImageCtx.drawImage(img, 0, 0, img.width, img.height,\n 0, 0, reducedWidth, reducedHeight);\n while (reducedWidth > 2 * canvas.width) {\n reducedImageCtx.drawImage(reducedImage,\n 0, 0, reducedWidth, reducedHeight,\n 0, 0, reducedWidth >> 1, reducedHeight >> 1);\n reducedWidth >>= 1;\n reducedHeight >>= 1;\n }\n ctx.drawImage(reducedImage, 0, 0, reducedWidth, reducedHeight,\n 0, 0, canvas.width, canvas.height);\n this._convertCanvasToImage();\n }\n\n get pageId() {\n return (this.pageLabel !== null ? this.pageLabel : this.id);\n }\n\n /**\n * @param {string|null} label\n */\n setPageLabel(label) {\n this.pageLabel = (typeof label === 'string' ? label : null);\n\n this.l10n.get('thumb_page_title', { page: this.pageId, },\n 'Page {{page}}').then((msg) => {\n this.anchor.title = msg;\n });\n\n if (this.renderingState !== RenderingStates.FINISHED) {\n return;\n }\n\n this.l10n.get('thumb_page_canvas', { page: this.pageId, },\n 'Thumbnail of Page {{page}}').then((ariaLabel) => {\n if (this.image) {\n this.image.setAttribute('aria-label', ariaLabel);\n } else if (this.disableCanvasToImageConversion && this.canvas) {\n this.canvas.setAttribute('aria-label', ariaLabel);\n }\n });\n }\n\n static cleanup() {\n TempImageFactory.destroyCanvas();\n }\n}\n\nexport {\n PDFThumbnailView,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/pdf_thumbnail_view.js","/* Copyright 2014 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { getVisibleElements, scrollIntoView } from './ui_utils';\nimport { BaseViewer } from './base_viewer';\nimport { shadow } from 'pdfjs-lib';\n\nclass PDFViewer extends BaseViewer {\n get _setDocumentViewerElement() {\n return shadow(this, '_setDocumentViewerElement', this.viewer);\n }\n\n _scrollIntoView({ pageDiv, pageSpot = null, }) {\n scrollIntoView(pageDiv, pageSpot);\n }\n\n _getVisiblePages() {\n if (!this.isInPresentationMode) {\n return getVisibleElements(this.container, this._pages, true);\n }\n // The algorithm in getVisibleElements doesn't work in all browsers and\n // configurations when presentation mode is active.\n let currentPage = this._pages[this._currentPageNumber - 1];\n let visible = [{ id: currentPage.id, view: currentPage, }];\n return { first: currentPage, last: currentPage, views: visible, };\n }\n\n update() {\n let visible = this._getVisiblePages();\n let visiblePages = visible.views, numVisiblePages = visiblePages.length;\n\n if (numVisiblePages === 0) {\n return;\n }\n this._resizeBuffer(numVisiblePages);\n\n this.renderingQueue.renderHighestPriority(visible);\n\n let currentId = this._currentPageNumber;\n let stillFullyVisible = false;\n\n for (let i = 0; i < numVisiblePages; ++i) {\n let page = visiblePages[i];\n\n if (page.percent < 100) {\n break;\n }\n if (page.id === currentId) {\n stillFullyVisible = true;\n break;\n }\n }\n\n if (!stillFullyVisible) {\n currentId = visiblePages[0].id;\n }\n if (!this.isInPresentationMode) {\n this._setCurrentPageNumber(currentId);\n }\n\n this._updateLocation(visible.first);\n this.eventBus.dispatch('updateviewarea', {\n source: this,\n location: this._location,\n });\n }\n}\n\nexport {\n PDFViewer,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/pdf_viewer.js","/* Copyright 2014 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { createPromiseCapability, PDFJS } from 'pdfjs-lib';\nimport {\n CSS_UNITS, DEFAULT_SCALE, DEFAULT_SCALE_VALUE, isValidRotation,\n MAX_AUTO_SCALE, NullL10n, PresentationModeState, RendererType,\n SCROLLBAR_PADDING, UNKNOWN_SCALE, VERTICAL_PADDING, watchScroll\n} from './ui_utils';\nimport { PDFRenderingQueue, RenderingStates } from './pdf_rendering_queue';\nimport { AnnotationLayerBuilder } from './annotation_layer_builder';\nimport { getGlobalEventBus } from './dom_events';\nimport { PDFPageView } from './pdf_page_view';\nimport { SimpleLinkService } from './pdf_link_service';\nimport { TextLayerBuilder } from './text_layer_builder';\n\nconst DEFAULT_CACHE_SIZE = 10;\n\n/**\n * @typedef {Object} PDFViewerOptions\n * @property {HTMLDivElement} container - The container for the viewer element.\n * @property {HTMLDivElement} viewer - (optional) The viewer element.\n * @property {EventBus} eventBus - The application event bus.\n * @property {IPDFLinkService} linkService - The navigation/linking service.\n * @property {DownloadManager} downloadManager - (optional) The download\n * manager component.\n * @property {PDFRenderingQueue} renderingQueue - (optional) The rendering\n * queue object.\n * @property {boolean} removePageBorders - (optional) Removes the border shadow\n * around the pages. The default is false.\n * @property {boolean} enhanceTextSelection - (optional) Enables the improved\n * text selection behaviour. The default is `false`.\n * @property {boolean} renderInteractiveForms - (optional) Enables rendering of\n * interactive form elements. The default is `false`.\n * @property {boolean} enablePrintAutoRotate - (optional) Enables automatic\n * rotation of pages whose orientation differ from the first page upon\n * printing. The default is `false`.\n * @property {string} renderer - 'canvas' or 'svg'. The default is 'canvas'.\n * @property {IL10n} l10n - Localization service.\n */\n\nfunction PDFPageViewBuffer(size) {\n let data = [];\n this.push = function(view) {\n let i = data.indexOf(view);\n if (i >= 0) {\n data.splice(i, 1);\n }\n data.push(view);\n if (data.length > size) {\n data.shift().destroy();\n }\n };\n this.resize = function(newSize) {\n size = newSize;\n while (data.length > size) {\n data.shift().destroy();\n }\n };\n}\n\nfunction isSameScale(oldScale, newScale) {\n if (newScale === oldScale) {\n return true;\n }\n if (Math.abs(newScale - oldScale) < 1e-15) {\n // Prevent unnecessary re-rendering of all pages when the scale\n // changes only because of limited numerical precision.\n return true;\n }\n return false;\n}\n\nfunction isPortraitOrientation(size) {\n return size.width <= size.height;\n}\n\n/**\n * Simple viewer control to display PDF content/pages.\n * @implements {IRenderableView}\n */\nclass BaseViewer {\n /**\n * @param {PDFViewerOptions} options\n */\n constructor(options) {\n if (this.constructor === BaseViewer) {\n throw new Error('Cannot initialize BaseViewer.');\n }\n this._name = this.constructor.name;\n\n this.container = options.container;\n this.viewer = options.viewer || options.container.firstElementChild;\n this.eventBus = options.eventBus || getGlobalEventBus();\n this.linkService = options.linkService || new SimpleLinkService();\n this.downloadManager = options.downloadManager || null;\n this.removePageBorders = options.removePageBorders || false;\n this.enhanceTextSelection = options.enhanceTextSelection || false;\n this.renderInteractiveForms = options.renderInteractiveForms || false;\n this.enablePrintAutoRotate = options.enablePrintAutoRotate || false;\n this.renderer = options.renderer || RendererType.CANVAS;\n this.l10n = options.l10n || NullL10n;\n\n this.defaultRenderingQueue = !options.renderingQueue;\n if (this.defaultRenderingQueue) {\n // Custom rendering queue is not specified, using default one\n this.renderingQueue = new PDFRenderingQueue();\n this.renderingQueue.setViewer(this);\n } else {\n this.renderingQueue = options.renderingQueue;\n }\n\n this.scroll = watchScroll(this.container, this._scrollUpdate.bind(this));\n this.presentationModeState = PresentationModeState.UNKNOWN;\n this._resetView();\n\n if (this.removePageBorders) {\n this.viewer.classList.add('removePageBorders');\n }\n }\n\n get pagesCount() {\n return this._pages.length;\n }\n\n getPageView(index) {\n return this._pages[index];\n }\n\n /**\n * @returns {boolean} true if all {PDFPageView} objects are initialized.\n */\n get pageViewsReady() {\n return this._pageViewsReady;\n }\n\n /**\n * @returns {number}\n */\n get currentPageNumber() {\n return this._currentPageNumber;\n }\n\n /**\n * @param {number} val - The page number.\n */\n set currentPageNumber(val) {\n if (!Number.isInteger(val)) {\n throw new Error('Invalid page number.');\n }\n if (!this.pdfDocument) {\n return;\n }\n // The intent can be to just reset a scroll position and/or scale.\n this._setCurrentPageNumber(val, /* resetCurrentPageView = */ true);\n }\n\n /**\n * @private\n */\n _setCurrentPageNumber(val, resetCurrentPageView = false) {\n if (this._currentPageNumber === val) {\n if (resetCurrentPageView) {\n this._resetCurrentPageView();\n }\n return;\n }\n\n if (!(0 < val && val <= this.pagesCount)) {\n console.error(\n `${this._name}._setCurrentPageNumber: \"${val}\" is out of bounds.`);\n return;\n }\n\n let arg = {\n source: this,\n pageNumber: val,\n pageLabel: this._pageLabels && this._pageLabels[val - 1],\n };\n this._currentPageNumber = val;\n this.eventBus.dispatch('pagechanging', arg);\n this.eventBus.dispatch('pagechange', arg);\n\n if (resetCurrentPageView) {\n this._resetCurrentPageView();\n }\n }\n\n /**\n * @returns {string|null} Returns the current page label,\n * or `null` if no page labels exist.\n */\n get currentPageLabel() {\n return this._pageLabels && this._pageLabels[this._currentPageNumber - 1];\n }\n\n /**\n * @param {string} val - The page label.\n */\n set currentPageLabel(val) {\n let pageNumber = val | 0; // Fallback page number.\n if (this._pageLabels) {\n let i = this._pageLabels.indexOf(val);\n if (i >= 0) {\n pageNumber = i + 1;\n }\n }\n this.currentPageNumber = pageNumber;\n }\n\n /**\n * @returns {number}\n */\n get currentScale() {\n return this._currentScale !== UNKNOWN_SCALE ? this._currentScale :\n DEFAULT_SCALE;\n }\n\n /**\n * @param {number} val - Scale of the pages in percents.\n */\n set currentScale(val) {\n if (isNaN(val)) {\n throw new Error('Invalid numeric scale');\n }\n if (!this.pdfDocument) {\n return;\n }\n this._setScale(val, false);\n }\n\n /**\n * @returns {string}\n */\n get currentScaleValue() {\n return this._currentScaleValue;\n }\n\n /**\n * @param val - The scale of the pages (in percent or predefined value).\n */\n set currentScaleValue(val) {\n if (!this.pdfDocument) {\n return;\n }\n this._setScale(val, false);\n }\n\n /**\n * @returns {number}\n */\n get pagesRotation() {\n return this._pagesRotation;\n }\n\n /**\n * @param {number} rotation - The rotation of the pages (0, 90, 180, 270).\n */\n set pagesRotation(rotation) {\n if (!isValidRotation(rotation)) {\n throw new Error('Invalid pages rotation angle.');\n }\n if (!this.pdfDocument) {\n return;\n }\n if (this._pagesRotation === rotation) {\n return; // The rotation didn't change.\n }\n this._pagesRotation = rotation;\n\n let pageNumber = this._currentPageNumber;\n\n for (let i = 0, ii = this._pages.length; i < ii; i++) {\n let pageView = this._pages[i];\n pageView.update(pageView.scale, rotation);\n }\n // Prevent errors in case the rotation changes *before* the scale has been\n // set to a non-default value.\n if (this._currentScaleValue) {\n this._setScale(this._currentScaleValue, true);\n }\n\n this.eventBus.dispatch('rotationchanging', {\n source: this,\n pagesRotation: rotation,\n pageNumber,\n });\n\n if (this.defaultRenderingQueue) {\n this.update();\n }\n }\n\n get _setDocumentViewerElement() {\n throw new Error('Not implemented: _setDocumentViewerElement');\n }\n\n /**\n * @param pdfDocument {PDFDocument}\n */\n setDocument(pdfDocument) {\n if (this.pdfDocument) {\n this._cancelRendering();\n this._resetView();\n }\n\n this.pdfDocument = pdfDocument;\n if (!pdfDocument) {\n return;\n }\n let pagesCount = pdfDocument.numPages;\n\n let pagesCapability = createPromiseCapability();\n this.pagesPromise = pagesCapability.promise;\n\n pagesCapability.promise.then(() => {\n this._pageViewsReady = true;\n this.eventBus.dispatch('pagesloaded', {\n source: this,\n pagesCount,\n });\n });\n\n let isOnePageRenderedResolved = false;\n let onePageRenderedCapability = createPromiseCapability();\n this.onePageRendered = onePageRenderedCapability.promise;\n\n let bindOnAfterAndBeforeDraw = (pageView) => {\n pageView.onBeforeDraw = () => {\n // Add the page to the buffer at the start of drawing. That way it can\n // be evicted from the buffer and destroyed even if we pause its\n // rendering.\n this._buffer.push(pageView);\n };\n pageView.onAfterDraw = () => {\n if (!isOnePageRenderedResolved) {\n isOnePageRenderedResolved = true;\n onePageRenderedCapability.resolve();\n }\n };\n };\n\n let firstPagePromise = pdfDocument.getPage(1);\n this.firstPagePromise = firstPagePromise;\n\n // Fetch a single page so we can get a viewport that will be the default\n // viewport for all pages\n firstPagePromise.then((pdfPage) => {\n let scale = this.currentScale;\n let viewport = pdfPage.getViewport(scale * CSS_UNITS);\n for (let pageNum = 1; pageNum <= pagesCount; ++pageNum) {\n let textLayerFactory = null;\n if (!PDFJS.disableTextLayer) {\n textLayerFactory = this;\n }\n let pageView = new PDFPageView({\n container: this._setDocumentViewerElement,\n eventBus: this.eventBus,\n id: pageNum,\n scale,\n defaultViewport: viewport.clone(),\n renderingQueue: this.renderingQueue,\n textLayerFactory,\n annotationLayerFactory: this,\n enhanceTextSelection: this.enhanceTextSelection,\n renderInteractiveForms: this.renderInteractiveForms,\n renderer: this.renderer,\n l10n: this.l10n,\n });\n bindOnAfterAndBeforeDraw(pageView);\n this._pages.push(pageView);\n }\n\n // Fetch all the pages since the viewport is needed before printing\n // starts to create the correct size canvas. Wait until one page is\n // rendered so we don't tie up too many resources early on.\n onePageRenderedCapability.promise.then(() => {\n if (PDFJS.disableAutoFetch) {\n // XXX: Printing is semi-broken with auto fetch disabled.\n pagesCapability.resolve();\n return;\n }\n let getPagesLeft = pagesCount;\n for (let pageNum = 1; pageNum <= pagesCount; ++pageNum) {\n pdfDocument.getPage(pageNum).then((pdfPage) => {\n let pageView = this._pages[pageNum - 1];\n if (!pageView.pdfPage) {\n pageView.setPdfPage(pdfPage);\n }\n this.linkService.cachePageRef(pageNum, pdfPage.ref);\n if (--getPagesLeft === 0) {\n pagesCapability.resolve();\n }\n }, (reason) => {\n console.error(`Unable to get page ${pageNum} to initialize viewer`,\n reason);\n if (--getPagesLeft === 0) {\n pagesCapability.resolve();\n }\n });\n }\n });\n\n this.eventBus.dispatch('pagesinit', { source: this, });\n\n if (this.defaultRenderingQueue) {\n this.update();\n }\n\n if (this.findController) {\n this.findController.resolveFirstPage();\n }\n }).catch((reason) => {\n console.error('Unable to initialize viewer', reason);\n });\n }\n\n /**\n * @param {Array|null} labels\n */\n setPageLabels(labels) {\n if (!this.pdfDocument) {\n return;\n }\n if (!labels) {\n this._pageLabels = null;\n } else if (!(labels instanceof Array &&\n this.pdfDocument.numPages === labels.length)) {\n this._pageLabels = null;\n console.error(`${this._name}.setPageLabels: Invalid page labels.`);\n } else {\n this._pageLabels = labels;\n }\n // Update all the `PDFPageView` instances.\n for (let i = 0, ii = this._pages.length; i < ii; i++) {\n let pageView = this._pages[i];\n let label = this._pageLabels && this._pageLabels[i];\n pageView.setPageLabel(label);\n }\n }\n\n _resetView() {\n this._pages = [];\n this._currentPageNumber = 1;\n this._currentScale = UNKNOWN_SCALE;\n this._currentScaleValue = null;\n this._pageLabels = null;\n this._buffer = new PDFPageViewBuffer(DEFAULT_CACHE_SIZE);\n this._location = null;\n this._pagesRotation = 0;\n this._pagesRequests = [];\n this._pageViewsReady = false;\n\n // Remove the pages from the DOM.\n this.viewer.textContent = '';\n }\n\n _scrollUpdate() {\n if (this.pagesCount === 0) {\n return;\n }\n this.update();\n }\n\n _scrollIntoView({ pageDiv, pageSpot = null, pageNumber = null, }) {\n throw new Error('Not implemented: _scrollIntoView');\n }\n\n _setScaleDispatchEvent(newScale, newValue, preset = false) {\n let arg = {\n source: this,\n scale: newScale,\n presetValue: preset ? newValue : undefined,\n };\n this.eventBus.dispatch('scalechanging', arg);\n this.eventBus.dispatch('scalechange', arg);\n }\n\n _setScaleUpdatePages(newScale, newValue, noScroll = false, preset = false) {\n this._currentScaleValue = newValue.toString();\n\n if (isSameScale(this._currentScale, newScale)) {\n if (preset) {\n this._setScaleDispatchEvent(newScale, newValue, true);\n }\n return;\n }\n\n for (let i = 0, ii = this._pages.length; i < ii; i++) {\n this._pages[i].update(newScale);\n }\n this._currentScale = newScale;\n\n if (!noScroll) {\n let page = this._currentPageNumber, dest;\n if (this._location && !PDFJS.ignoreCurrentPositionOnZoom &&\n !(this.isInPresentationMode || this.isChangingPresentationMode)) {\n page = this._location.pageNumber;\n dest = [null, { name: 'XYZ', }, this._location.left,\n this._location.top, null];\n }\n this.scrollPageIntoView({\n pageNumber: page,\n destArray: dest,\n allowNegativeOffset: true,\n });\n }\n\n this._setScaleDispatchEvent(newScale, newValue, preset);\n\n if (this.defaultRenderingQueue) {\n this.update();\n }\n }\n\n _setScale(value, noScroll = false) {\n let scale = parseFloat(value);\n\n if (scale > 0) {\n this._setScaleUpdatePages(scale, value, noScroll, /* preset = */ false);\n } else {\n let currentPage = this._pages[this._currentPageNumber - 1];\n if (!currentPage) {\n return;\n }\n let hPadding = (this.isInPresentationMode || this.removePageBorders) ?\n 0 : SCROLLBAR_PADDING;\n let vPadding = (this.isInPresentationMode || this.removePageBorders) ?\n 0 : VERTICAL_PADDING;\n let pageWidthScale = (this.container.clientWidth - hPadding) /\n currentPage.width * currentPage.scale;\n let pageHeightScale = (this.container.clientHeight - vPadding) /\n currentPage.height * currentPage.scale;\n switch (value) {\n case 'page-actual':\n scale = 1;\n break;\n case 'page-width':\n scale = pageWidthScale;\n break;\n case 'page-height':\n scale = pageHeightScale;\n break;\n case 'page-fit':\n scale = Math.min(pageWidthScale, pageHeightScale);\n break;\n case 'auto':\n let isLandscape = (currentPage.width > currentPage.height);\n // For pages in landscape mode, fit the page height to the viewer\n // *unless* the page would thus become too wide to fit horizontally.\n let horizontalScale = isLandscape ?\n Math.min(pageHeightScale, pageWidthScale) : pageWidthScale;\n scale = Math.min(MAX_AUTO_SCALE, horizontalScale);\n break;\n default:\n console.error(\n `${this._name}._setScale: \"${value}\" is an unknown zoom value.`);\n return;\n }\n this._setScaleUpdatePages(scale, value, noScroll, /* preset = */ true);\n }\n }\n\n /**\n * Refreshes page view: scrolls to the current page and updates the scale.\n * @private\n */\n _resetCurrentPageView() {\n if (this.isInPresentationMode) {\n // Fixes the case when PDF has different page sizes.\n this._setScale(this._currentScaleValue, true);\n }\n\n let pageView = this._pages[this._currentPageNumber - 1];\n this._scrollIntoView({ pageDiv: pageView.div, });\n }\n\n /**\n * @typedef ScrollPageIntoViewParameters\n * @property {number} pageNumber - The page number.\n * @property {Array} destArray - (optional) The original PDF destination\n * array, in the format: \n * @property {boolean} allowNegativeOffset - (optional) Allow negative page\n * offsets. The default value is `false`.\n */\n\n /**\n * Scrolls page into view.\n * @param {ScrollPageIntoViewParameters} params\n */\n scrollPageIntoView(params) {\n if ((typeof PDFJSDev === 'undefined' || PDFJSDev.test('GENERIC')) &&\n (arguments.length > 1 || typeof params === 'number')) {\n console.error('Call of scrollPageIntoView() with obsolete signature.');\n return;\n }\n if (!this.pdfDocument) {\n return;\n }\n let pageNumber = params.pageNumber || 0;\n let dest = params.destArray || null;\n let allowNegativeOffset = params.allowNegativeOffset || false;\n\n if (this.isInPresentationMode || !dest) {\n this._setCurrentPageNumber(pageNumber, /* resetCurrentPageView = */ true);\n return;\n }\n\n let pageView = this._pages[pageNumber - 1];\n if (!pageView) {\n console.error(\n `${this._name}.scrollPageIntoView: Invalid \"pageNumber\" parameter.`);\n return;\n }\n let x = 0, y = 0;\n let width = 0, height = 0, widthScale, heightScale;\n let changeOrientation = (pageView.rotation % 180 === 0 ? false : true);\n let pageWidth = (changeOrientation ? pageView.height : pageView.width) /\n pageView.scale / CSS_UNITS;\n let pageHeight = (changeOrientation ? pageView.width : pageView.height) /\n pageView.scale / CSS_UNITS;\n let scale = 0;\n switch (dest[1].name) {\n case 'XYZ':\n x = dest[2];\n y = dest[3];\n scale = dest[4];\n // If x and/or y coordinates are not supplied, default to\n // _top_ left of the page (not the obvious bottom left,\n // since aligning the bottom of the intended page with the\n // top of the window is rarely helpful).\n x = x !== null ? x : 0;\n y = y !== null ? y : pageHeight;\n break;\n case 'Fit':\n case 'FitB':\n scale = 'page-fit';\n break;\n case 'FitH':\n case 'FitBH':\n y = dest[2];\n scale = 'page-width';\n // According to the PDF spec, section 12.3.2.2, a `null` value in the\n // parameter should maintain the position relative to the new page.\n if (y === null && this._location) {\n x = this._location.left;\n y = this._location.top;\n }\n break;\n case 'FitV':\n case 'FitBV':\n x = dest[2];\n width = pageWidth;\n height = pageHeight;\n scale = 'page-height';\n break;\n case 'FitR':\n x = dest[2];\n y = dest[3];\n width = dest[4] - x;\n height = dest[5] - y;\n let hPadding = this.removePageBorders ? 0 : SCROLLBAR_PADDING;\n let vPadding = this.removePageBorders ? 0 : VERTICAL_PADDING;\n\n widthScale = (this.container.clientWidth - hPadding) /\n width / CSS_UNITS;\n heightScale = (this.container.clientHeight - vPadding) /\n height / CSS_UNITS;\n scale = Math.min(Math.abs(widthScale), Math.abs(heightScale));\n break;\n default:\n console.error(`${this._name}.scrollPageIntoView: \"${dest[1].name}\" ` +\n 'is not a valid destination type.');\n return;\n }\n\n if (scale && scale !== this._currentScale) {\n this.currentScaleValue = scale;\n } else if (this._currentScale === UNKNOWN_SCALE) {\n this.currentScaleValue = DEFAULT_SCALE_VALUE;\n }\n\n if (scale === 'page-fit' && !dest[4]) {\n this._scrollIntoView({\n pageDiv: pageView.div,\n pageNumber,\n });\n return;\n }\n\n let boundingRect = [\n pageView.viewport.convertToViewportPoint(x, y),\n pageView.viewport.convertToViewportPoint(x + width, y + height)\n ];\n let left = Math.min(boundingRect[0][0], boundingRect[1][0]);\n let top = Math.min(boundingRect[0][1], boundingRect[1][1]);\n\n if (!allowNegativeOffset) {\n // Some bad PDF generators will create destinations with e.g. top values\n // that exceeds the page height. Ensure that offsets are not negative,\n // to prevent a previous page from becoming visible (fixes bug 874482).\n left = Math.max(left, 0);\n top = Math.max(top, 0);\n }\n this._scrollIntoView({\n pageDiv: pageView.div,\n pageSpot: { left, top, },\n pageNumber,\n });\n }\n\n _resizeBuffer(numVisiblePages) {\n let suggestedCacheSize = Math.max(DEFAULT_CACHE_SIZE,\n 2 * numVisiblePages + 1);\n this._buffer.resize(suggestedCacheSize);\n }\n\n _updateLocation(firstPage) {\n let currentScale = this._currentScale;\n let currentScaleValue = this._currentScaleValue;\n let normalizedScaleValue =\n parseFloat(currentScaleValue) === currentScale ?\n Math.round(currentScale * 10000) / 100 : currentScaleValue;\n\n let pageNumber = firstPage.id;\n let pdfOpenParams = '#page=' + pageNumber;\n pdfOpenParams += '&zoom=' + normalizedScaleValue;\n let currentPageView = this._pages[pageNumber - 1];\n let container = this.container;\n let topLeft = currentPageView.getPagePoint(\n (container.scrollLeft - firstPage.x),\n (container.scrollTop - firstPage.y));\n let intLeft = Math.round(topLeft[0]);\n let intTop = Math.round(topLeft[1]);\n pdfOpenParams += ',' + intLeft + ',' + intTop;\n\n this._location = {\n pageNumber,\n scale: normalizedScaleValue,\n top: intTop,\n left: intLeft,\n rotation: this._pagesRotation,\n pdfOpenParams,\n };\n }\n\n update() {\n throw new Error('Not implemented: update');\n }\n\n containsElement(element) {\n return this.container.contains(element);\n }\n\n focus() {\n this.container.focus();\n }\n\n get isInPresentationMode() {\n return this.presentationModeState === PresentationModeState.FULLSCREEN;\n }\n\n get isChangingPresentationMode() {\n return this.presentationModeState === PresentationModeState.CHANGING;\n }\n\n get isHorizontalScrollbarEnabled() {\n return (this.isInPresentationMode ?\n false : (this.container.scrollWidth > this.container.clientWidth));\n }\n\n _getVisiblePages() {\n throw new Error('Not implemented: _getVisiblePages');\n }\n\n cleanup() {\n for (let i = 0, ii = this._pages.length; i < ii; i++) {\n if (this._pages[i] &&\n this._pages[i].renderingState !== RenderingStates.FINISHED) {\n this._pages[i].reset();\n }\n }\n }\n\n /**\n * @private\n */\n _cancelRendering() {\n for (let i = 0, ii = this._pages.length; i < ii; i++) {\n if (this._pages[i]) {\n this._pages[i].cancelRendering();\n }\n }\n }\n\n /**\n * @param {PDFPageView} pageView\n * @returns {Promise} Returns a promise containing a {PDFPageProxy} object.\n * @private\n */\n _ensurePdfPageLoaded(pageView) {\n if (pageView.pdfPage) {\n return Promise.resolve(pageView.pdfPage);\n }\n let pageNumber = pageView.id;\n if (this._pagesRequests[pageNumber]) {\n return this._pagesRequests[pageNumber];\n }\n let promise = this.pdfDocument.getPage(pageNumber).then((pdfPage) => {\n if (!pageView.pdfPage) {\n pageView.setPdfPage(pdfPage);\n }\n this._pagesRequests[pageNumber] = null;\n return pdfPage;\n }).catch((reason) => {\n console.error('Unable to get page for page view', reason);\n // Page error -- there is nothing can be done.\n this._pagesRequests[pageNumber] = null;\n });\n this._pagesRequests[pageNumber] = promise;\n return promise;\n }\n\n forceRendering(currentlyVisiblePages) {\n let visiblePages = currentlyVisiblePages || this._getVisiblePages();\n let pageView = this.renderingQueue.getHighestPriority(visiblePages,\n this._pages,\n this.scroll.down);\n if (pageView) {\n this._ensurePdfPageLoaded(pageView).then(() => {\n this.renderingQueue.renderView(pageView);\n });\n return true;\n }\n return false;\n }\n\n getPageTextContent(pageIndex) {\n return this.pdfDocument.getPage(pageIndex + 1).then(function(page) {\n return page.getTextContent({\n normalizeWhitespace: true,\n });\n });\n }\n\n /**\n * @param {HTMLDivElement} textLayerDiv\n * @param {number} pageIndex\n * @param {PageViewport} viewport\n * @returns {TextLayerBuilder}\n */\n createTextLayerBuilder(textLayerDiv, pageIndex, viewport,\n enhanceTextSelection = false) {\n return new TextLayerBuilder({\n textLayerDiv,\n eventBus: this.eventBus,\n pageIndex,\n viewport,\n findController: this.isInPresentationMode ? null : this.findController,\n enhanceTextSelection: this.isInPresentationMode ? false :\n enhanceTextSelection,\n });\n }\n\n /**\n * @param {HTMLDivElement} pageDiv\n * @param {PDFPage} pdfPage\n * @param {boolean} renderInteractiveForms\n * @param {IL10n} l10n\n * @returns {AnnotationLayerBuilder}\n */\n createAnnotationLayerBuilder(pageDiv, pdfPage, renderInteractiveForms = false,\n l10n = NullL10n) {\n return new AnnotationLayerBuilder({\n pageDiv,\n pdfPage,\n renderInteractiveForms,\n linkService: this.linkService,\n downloadManager: this.downloadManager,\n l10n,\n });\n }\n\n setFindController(findController) {\n this.findController = findController;\n }\n\n /**\n * @returns {boolean} Whether all pages of the PDF document have identical\n * widths and heights.\n */\n get hasEqualPageSizes() {\n let firstPageView = this._pages[0];\n for (let i = 1, ii = this._pages.length; i < ii; ++i) {\n let pageView = this._pages[i];\n if (pageView.width !== firstPageView.width ||\n pageView.height !== firstPageView.height) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * Returns sizes of the pages.\n * @returns {Array} Array of objects with width/height/rotation fields.\n */\n getPagesOverview() {\n let pagesOverview = this._pages.map(function(pageView) {\n let viewport = pageView.pdfPage.getViewport(1);\n return {\n width: viewport.width,\n height: viewport.height,\n rotation: viewport.rotation,\n };\n });\n if (!this.enablePrintAutoRotate) {\n return pagesOverview;\n }\n let isFirstPagePortrait = isPortraitOrientation(pagesOverview[0]);\n return pagesOverview.map(function (size) {\n if (isFirstPagePortrait === isPortraitOrientation(size)) {\n return size;\n }\n return {\n width: size.height,\n height: size.width,\n rotation: (size.rotation + 90) % 360,\n };\n });\n }\n}\n\nexport {\n BaseViewer,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/base_viewer.js","/* Copyright 2014 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { AnnotationLayer } from 'pdfjs-lib';\nimport { NullL10n } from './ui_utils';\nimport { SimpleLinkService } from './pdf_link_service';\n\n/**\n * @typedef {Object} AnnotationLayerBuilderOptions\n * @property {HTMLDivElement} pageDiv\n * @property {PDFPage} pdfPage\n * @property {boolean} renderInteractiveForms\n * @property {IPDFLinkService} linkService\n * @property {DownloadManager} downloadManager\n * @property {IL10n} l10n - Localization service.\n */\n\nclass AnnotationLayerBuilder {\n /**\n * @param {AnnotationLayerBuilderOptions} options\n */\n constructor({ pageDiv, pdfPage, linkService, downloadManager,\n renderInteractiveForms = false, l10n = NullL10n, }) {\n this.pageDiv = pageDiv;\n this.pdfPage = pdfPage;\n this.linkService = linkService;\n this.downloadManager = downloadManager;\n this.renderInteractiveForms = renderInteractiveForms;\n this.l10n = l10n;\n\n this.div = null;\n this._cancelled = false;\n }\n\n /**\n * @param {PageViewport} viewport\n * @param {string} intent (default value is 'display')\n */\n render(viewport, intent = 'display') {\n this.pdfPage.getAnnotations({ intent, }).then((annotations) => {\n if (this._cancelled) {\n return;\n }\n\n let parameters = {\n viewport: viewport.clone({ dontFlip: true, }),\n div: this.div,\n annotations,\n page: this.pdfPage,\n renderInteractiveForms: this.renderInteractiveForms,\n linkService: this.linkService,\n downloadManager: this.downloadManager,\n };\n\n if (this.div) {\n // If an annotationLayer already exists, refresh its children's\n // transformation matrices.\n AnnotationLayer.update(parameters);\n } else {\n // Create an annotation layer div and render the annotations\n // if there is at least one annotation.\n if (annotations.length === 0) {\n return;\n }\n this.div = document.createElement('div');\n this.div.className = 'annotationLayer';\n this.pageDiv.appendChild(this.div);\n parameters.div = this.div;\n\n AnnotationLayer.render(parameters);\n this.l10n.translate(this.div);\n }\n });\n }\n\n cancel() {\n this._cancelled = true;\n }\n\n hide() {\n if (!this.div) {\n return;\n }\n this.div.setAttribute('hidden', 'true');\n }\n}\n\n/**\n * @implements IPDFAnnotationLayerFactory\n */\nclass DefaultAnnotationLayerFactory {\n /**\n * @param {HTMLDivElement} pageDiv\n * @param {PDFPage} pdfPage\n * @param {boolean} renderInteractiveForms\n * @param {IL10n} l10n\n * @returns {AnnotationLayerBuilder}\n */\n createAnnotationLayerBuilder(pageDiv, pdfPage, renderInteractiveForms = false,\n l10n = NullL10n) {\n return new AnnotationLayerBuilder({\n pageDiv,\n pdfPage,\n renderInteractiveForms,\n linkService: new SimpleLinkService(),\n l10n,\n });\n }\n}\n\nexport {\n AnnotationLayerBuilder,\n DefaultAnnotationLayerFactory,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/annotation_layer_builder.js","/* Copyright 2012 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n approximateFraction, CSS_UNITS, DEFAULT_SCALE, getOutputScale, NullL10n,\n RendererType, roundToDivide\n} from './ui_utils';\nimport {\n createPromiseCapability, CustomStyle, PDFJS, RenderingCancelledException,\n SVGGraphics\n} from 'pdfjs-lib';\nimport { getGlobalEventBus } from './dom_events';\nimport { RenderingStates } from './pdf_rendering_queue';\n\n/**\n * @typedef {Object} PDFPageViewOptions\n * @property {HTMLDivElement} container - The viewer element.\n * @property {EventBus} eventBus - The application event bus.\n * @property {number} id - The page unique ID (normally its number).\n * @property {number} scale - The page scale display.\n * @property {PageViewport} defaultViewport - The page viewport.\n * @property {PDFRenderingQueue} renderingQueue - The rendering queue object.\n * @property {IPDFTextLayerFactory} textLayerFactory\n * @property {IPDFAnnotationLayerFactory} annotationLayerFactory\n * @property {boolean} enhanceTextSelection - Turns on the text selection\n * enhancement. The default is `false`.\n * @property {boolean} renderInteractiveForms - Turns on rendering of\n * interactive form elements. The default is `false`.\n * @property {string} renderer - 'canvas' or 'svg'. The default is 'canvas'.\n * @property {IL10n} l10n - Localization service.\n */\n\n/**\n * @implements {IRenderableView}\n */\nclass PDFPageView {\n /**\n * @param {PDFPageViewOptions} options\n */\n constructor(options) {\n let container = options.container;\n let defaultViewport = options.defaultViewport;\n\n this.id = options.id;\n this.renderingId = 'page' + this.id;\n\n this.pdfPage = null;\n this.pageLabel = null;\n this.rotation = 0;\n this.scale = options.scale || DEFAULT_SCALE;\n this.viewport = defaultViewport;\n this.pdfPageRotate = defaultViewport.rotation;\n this.hasRestrictedScaling = false;\n this.enhanceTextSelection = options.enhanceTextSelection || false;\n this.renderInteractiveForms = options.renderInteractiveForms || false;\n\n this.eventBus = options.eventBus || getGlobalEventBus();\n this.renderingQueue = options.renderingQueue;\n this.textLayerFactory = options.textLayerFactory;\n this.annotationLayerFactory = options.annotationLayerFactory;\n this.renderer = options.renderer || RendererType.CANVAS;\n this.l10n = options.l10n || NullL10n;\n\n this.paintTask = null;\n this.paintedViewportMap = new WeakMap();\n this.renderingState = RenderingStates.INITIAL;\n this.resume = null;\n this.error = null;\n\n this.onBeforeDraw = null;\n this.onAfterDraw = null;\n\n this.annotationLayer = null;\n this.textLayer = null;\n this.zoomLayer = null;\n\n let div = document.createElement('div');\n div.className = 'page';\n div.style.width = Math.floor(this.viewport.width) + 'px';\n div.style.height = Math.floor(this.viewport.height) + 'px';\n div.setAttribute('data-page-number', this.id);\n this.div = div;\n\n container.appendChild(div);\n }\n\n setPdfPage(pdfPage) {\n this.pdfPage = pdfPage;\n this.pdfPageRotate = pdfPage.rotate;\n\n let totalRotation = (this.rotation + this.pdfPageRotate) % 360;\n this.viewport = pdfPage.getViewport(this.scale * CSS_UNITS,\n totalRotation);\n this.stats = pdfPage.stats;\n this.reset();\n }\n\n destroy() {\n this.reset();\n if (this.pdfPage) {\n this.pdfPage.cleanup();\n }\n }\n\n /**\n * @private\n */\n _resetZoomLayer(removeFromDOM = false) {\n if (!this.zoomLayer) {\n return;\n }\n let zoomLayerCanvas = this.zoomLayer.firstChild;\n this.paintedViewportMap.delete(zoomLayerCanvas);\n // Zeroing the width and height causes Firefox to release graphics\n // resources immediately, which can greatly reduce memory consumption.\n zoomLayerCanvas.width = 0;\n zoomLayerCanvas.height = 0;\n\n if (removeFromDOM) {\n // Note: `ChildNode.remove` doesn't throw if the parent node is undefined.\n this.zoomLayer.remove();\n }\n this.zoomLayer = null;\n }\n\n reset(keepZoomLayer = false, keepAnnotations = false) {\n this.cancelRendering(keepAnnotations);\n\n let div = this.div;\n div.style.width = Math.floor(this.viewport.width) + 'px';\n div.style.height = Math.floor(this.viewport.height) + 'px';\n\n let childNodes = div.childNodes;\n let currentZoomLayerNode = (keepZoomLayer && this.zoomLayer) || null;\n let currentAnnotationNode = (keepAnnotations && this.annotationLayer &&\n this.annotationLayer.div) || null;\n for (let i = childNodes.length - 1; i >= 0; i--) {\n let node = childNodes[i];\n if (currentZoomLayerNode === node || currentAnnotationNode === node) {\n continue;\n }\n div.removeChild(node);\n }\n div.removeAttribute('data-loaded');\n\n if (currentAnnotationNode) {\n // Hide the annotation layer until all elements are resized\n // so they are not displayed on the already resized page.\n this.annotationLayer.hide();\n } else if (this.annotationLayer) {\n this.annotationLayer.cancel();\n this.annotationLayer = null;\n }\n\n if (!currentZoomLayerNode) {\n if (this.canvas) {\n this.paintedViewportMap.delete(this.canvas);\n // Zeroing the width and height causes Firefox to release graphics\n // resources immediately, which can greatly reduce memory consumption.\n this.canvas.width = 0;\n this.canvas.height = 0;\n delete this.canvas;\n }\n this._resetZoomLayer();\n }\n if (this.svg) {\n this.paintedViewportMap.delete(this.svg);\n delete this.svg;\n }\n\n this.loadingIconDiv = document.createElement('div');\n this.loadingIconDiv.className = 'loadingIcon';\n div.appendChild(this.loadingIconDiv);\n }\n\n update(scale, rotation) {\n this.scale = scale || this.scale;\n if (typeof rotation !== 'undefined') { // The rotation may be zero.\n this.rotation = rotation;\n }\n\n let totalRotation = (this.rotation + this.pdfPageRotate) % 360;\n this.viewport = this.viewport.clone({\n scale: this.scale * CSS_UNITS,\n rotation: totalRotation,\n });\n\n if (this.svg) {\n this.cssTransform(this.svg, true);\n\n this.eventBus.dispatch('pagerendered', {\n source: this,\n pageNumber: this.id,\n cssTransform: true,\n });\n return;\n }\n\n let isScalingRestricted = false;\n if (this.canvas && PDFJS.maxCanvasPixels > 0) {\n let outputScale = this.outputScale;\n if (((Math.floor(this.viewport.width) * outputScale.sx) | 0) *\n ((Math.floor(this.viewport.height) * outputScale.sy) | 0) >\n PDFJS.maxCanvasPixels) {\n isScalingRestricted = true;\n }\n }\n\n if (this.canvas) {\n if (PDFJS.useOnlyCssZoom ||\n (this.hasRestrictedScaling && isScalingRestricted)) {\n this.cssTransform(this.canvas, true);\n\n this.eventBus.dispatch('pagerendered', {\n source: this,\n pageNumber: this.id,\n cssTransform: true,\n });\n return;\n }\n if (!this.zoomLayer && !this.canvas.hasAttribute('hidden')) {\n this.zoomLayer = this.canvas.parentNode;\n this.zoomLayer.style.position = 'absolute';\n }\n }\n if (this.zoomLayer) {\n this.cssTransform(this.zoomLayer.firstChild);\n }\n this.reset(/* keepZoomLayer = */ true, /* keepAnnotations = */ true);\n }\n\n cancelRendering(keepAnnotations = false) {\n if (this.paintTask) {\n this.paintTask.cancel();\n this.paintTask = null;\n }\n this.renderingState = RenderingStates.INITIAL;\n this.resume = null;\n\n if (this.textLayer) {\n this.textLayer.cancel();\n this.textLayer = null;\n }\n if (!keepAnnotations && this.annotationLayer) {\n this.annotationLayer.cancel();\n this.annotationLayer = null;\n }\n }\n\n cssTransform(target, redrawAnnotations = false) {\n // Scale target (canvas or svg), its wrapper and page container.\n let width = this.viewport.width;\n let height = this.viewport.height;\n let div = this.div;\n target.style.width = target.parentNode.style.width = div.style.width =\n Math.floor(width) + 'px';\n target.style.height = target.parentNode.style.height = div.style.height =\n Math.floor(height) + 'px';\n // The canvas may have been originally rotated; rotate relative to that.\n let relativeRotation = this.viewport.rotation -\n this.paintedViewportMap.get(target).rotation;\n let absRotation = Math.abs(relativeRotation);\n let scaleX = 1, scaleY = 1;\n if (absRotation === 90 || absRotation === 270) {\n // Scale x and y because of the rotation.\n scaleX = height / width;\n scaleY = width / height;\n }\n let cssTransform = 'rotate(' + relativeRotation + 'deg) ' +\n 'scale(' + scaleX + ',' + scaleY + ')';\n CustomStyle.setProp('transform', target, cssTransform);\n\n if (this.textLayer) {\n // Rotating the text layer is more complicated since the divs inside the\n // the text layer are rotated.\n // TODO: This could probably be simplified by drawing the text layer in\n // one orientation and then rotating overall.\n let textLayerViewport = this.textLayer.viewport;\n let textRelativeRotation = this.viewport.rotation -\n textLayerViewport.rotation;\n let textAbsRotation = Math.abs(textRelativeRotation);\n let scale = width / textLayerViewport.width;\n if (textAbsRotation === 90 || textAbsRotation === 270) {\n scale = width / textLayerViewport.height;\n }\n let textLayerDiv = this.textLayer.textLayerDiv;\n let transX, transY;\n switch (textAbsRotation) {\n case 0:\n transX = transY = 0;\n break;\n case 90:\n transX = 0;\n transY = '-' + textLayerDiv.style.height;\n break;\n case 180:\n transX = '-' + textLayerDiv.style.width;\n transY = '-' + textLayerDiv.style.height;\n break;\n case 270:\n transX = '-' + textLayerDiv.style.width;\n transY = 0;\n break;\n default:\n console.error('Bad rotation value.');\n break;\n }\n CustomStyle.setProp('transform', textLayerDiv,\n 'rotate(' + textAbsRotation + 'deg) ' +\n 'scale(' + scale + ', ' + scale + ') ' +\n 'translate(' + transX + ', ' + transY + ')');\n CustomStyle.setProp('transformOrigin', textLayerDiv, '0% 0%');\n }\n\n if (redrawAnnotations && this.annotationLayer) {\n this.annotationLayer.render(this.viewport, 'display');\n }\n }\n\n get width() {\n return this.viewport.width;\n }\n\n get height() {\n return this.viewport.height;\n }\n\n getPagePoint(x, y) {\n return this.viewport.convertToPdfPoint(x, y);\n }\n\n draw() {\n if (this.renderingState !== RenderingStates.INITIAL) {\n console.error('Must be in new state before drawing');\n this.reset(); // Ensure that we reset all state to prevent issues.\n }\n\n if (!this.pdfPage) {\n this.renderingState = RenderingStates.FINISHED;\n return Promise.reject(new Error('Page is not loaded'));\n }\n\n this.renderingState = RenderingStates.RUNNING;\n\n let pdfPage = this.pdfPage;\n let div = this.div;\n // Wrap the canvas so that if it has a CSS transform for high DPI the\n // overflow will be hidden in Firefox.\n let canvasWrapper = document.createElement('div');\n canvasWrapper.style.width = div.style.width;\n canvasWrapper.style.height = div.style.height;\n canvasWrapper.classList.add('canvasWrapper');\n\n if (this.annotationLayer && this.annotationLayer.div) {\n // The annotation layer needs to stay on top.\n div.insertBefore(canvasWrapper, this.annotationLayer.div);\n } else {\n div.appendChild(canvasWrapper);\n }\n\n let textLayer = null;\n if (this.textLayerFactory) {\n let textLayerDiv = document.createElement('div');\n textLayerDiv.className = 'textLayer';\n textLayerDiv.style.width = canvasWrapper.style.width;\n textLayerDiv.style.height = canvasWrapper.style.height;\n if (this.annotationLayer && this.annotationLayer.div) {\n // The annotation layer needs to stay on top.\n div.insertBefore(textLayerDiv, this.annotationLayer.div);\n } else {\n div.appendChild(textLayerDiv);\n }\n\n textLayer = this.textLayerFactory.\n createTextLayerBuilder(textLayerDiv, this.id - 1, this.viewport,\n this.enhanceTextSelection);\n }\n this.textLayer = textLayer;\n\n let renderContinueCallback = null;\n if (this.renderingQueue) {\n renderContinueCallback = (cont) => {\n if (!this.renderingQueue.isHighestPriority(this)) {\n this.renderingState = RenderingStates.PAUSED;\n this.resume = () => {\n this.renderingState = RenderingStates.RUNNING;\n cont();\n };\n return;\n }\n cont();\n };\n }\n\n let finishPaintTask = (error) => {\n // The paintTask may have been replaced by a new one, so only remove\n // the reference to the paintTask if it matches the one that is\n // triggering this callback.\n if (paintTask === this.paintTask) {\n this.paintTask = null;\n }\n\n if (((typeof PDFJSDev === 'undefined' ||\n !PDFJSDev.test('PDFJS_NEXT')) && error === 'cancelled') ||\n error instanceof RenderingCancelledException) {\n this.error = null;\n return Promise.resolve(undefined);\n }\n\n this.renderingState = RenderingStates.FINISHED;\n\n if (this.loadingIconDiv) {\n div.removeChild(this.loadingIconDiv);\n delete this.loadingIconDiv;\n }\n this._resetZoomLayer(/* removeFromDOM = */ true);\n\n this.error = error;\n this.stats = pdfPage.stats;\n if (this.onAfterDraw) {\n this.onAfterDraw();\n }\n this.eventBus.dispatch('pagerendered', {\n source: this,\n pageNumber: this.id,\n cssTransform: false,\n });\n\n if (error) {\n return Promise.reject(error);\n }\n return Promise.resolve(undefined);\n };\n\n let paintTask = this.renderer === RendererType.SVG ?\n this.paintOnSvg(canvasWrapper) :\n this.paintOnCanvas(canvasWrapper);\n paintTask.onRenderContinue = renderContinueCallback;\n this.paintTask = paintTask;\n\n let resultPromise = paintTask.promise.then(function() {\n return finishPaintTask(null).then(function () {\n if (textLayer) {\n let readableStream = pdfPage.streamTextContent({\n normalizeWhitespace: true,\n });\n textLayer.setTextContentStream(readableStream);\n textLayer.render();\n }\n });\n }, function(reason) {\n return finishPaintTask(reason);\n });\n\n if (this.annotationLayerFactory) {\n if (!this.annotationLayer) {\n this.annotationLayer = this.annotationLayerFactory.\n createAnnotationLayerBuilder(div, pdfPage,\n this.renderInteractiveForms, this.l10n);\n }\n this.annotationLayer.render(this.viewport, 'display');\n }\n div.setAttribute('data-loaded', true);\n\n if (this.onBeforeDraw) {\n this.onBeforeDraw();\n }\n return resultPromise;\n }\n\n paintOnCanvas(canvasWrapper) {\n let renderCapability = createPromiseCapability();\n let result = {\n promise: renderCapability.promise,\n onRenderContinue(cont) {\n cont();\n },\n cancel() {\n renderTask.cancel();\n },\n };\n\n let viewport = this.viewport;\n let canvas = document.createElement('canvas');\n canvas.id = this.renderingId;\n\n // Keep the canvas hidden until the first draw callback, or until drawing\n // is complete when `!this.renderingQueue`, to prevent black flickering.\n canvas.setAttribute('hidden', 'hidden');\n let isCanvasHidden = true;\n let showCanvas = function () {\n if (isCanvasHidden) {\n canvas.removeAttribute('hidden');\n isCanvasHidden = false;\n }\n };\n\n canvasWrapper.appendChild(canvas);\n this.canvas = canvas;\n\n if (typeof PDFJSDev === 'undefined' ||\n PDFJSDev.test('MOZCENTRAL || FIREFOX || GENERIC')) {\n canvas.mozOpaque = true;\n }\n\n let ctx = canvas.getContext('2d', { alpha: false, });\n let outputScale = getOutputScale(ctx);\n this.outputScale = outputScale;\n\n if (PDFJS.useOnlyCssZoom) {\n let actualSizeViewport = viewport.clone({ scale: CSS_UNITS, });\n // Use a scale that makes the canvas have the originally intended size\n // of the page.\n outputScale.sx *= actualSizeViewport.width / viewport.width;\n outputScale.sy *= actualSizeViewport.height / viewport.height;\n outputScale.scaled = true;\n }\n\n if (PDFJS.maxCanvasPixels > 0) {\n let pixelsInViewport = viewport.width * viewport.height;\n let maxScale = Math.sqrt(PDFJS.maxCanvasPixels / pixelsInViewport);\n if (outputScale.sx > maxScale || outputScale.sy > maxScale) {\n outputScale.sx = maxScale;\n outputScale.sy = maxScale;\n outputScale.scaled = true;\n this.hasRestrictedScaling = true;\n } else {\n this.hasRestrictedScaling = false;\n }\n }\n\n let sfx = approximateFraction(outputScale.sx);\n let sfy = approximateFraction(outputScale.sy);\n canvas.width = roundToDivide(viewport.width * outputScale.sx, sfx[0]);\n canvas.height = roundToDivide(viewport.height * outputScale.sy, sfy[0]);\n canvas.style.width = roundToDivide(viewport.width, sfx[1]) + 'px';\n canvas.style.height = roundToDivide(viewport.height, sfy[1]) + 'px';\n // Add the viewport so it's known what it was originally drawn with.\n this.paintedViewportMap.set(canvas, viewport);\n\n // Rendering area\n let transform = !outputScale.scaled ? null :\n [outputScale.sx, 0, 0, outputScale.sy, 0, 0];\n let renderContext = {\n canvasContext: ctx,\n transform,\n viewport: this.viewport,\n renderInteractiveForms: this.renderInteractiveForms,\n };\n let renderTask = this.pdfPage.render(renderContext);\n renderTask.onContinue = function (cont) {\n showCanvas();\n if (result.onRenderContinue) {\n result.onRenderContinue(cont);\n } else {\n cont();\n }\n };\n\n renderTask.promise.then(function() {\n showCanvas();\n renderCapability.resolve(undefined);\n }, function(error) {\n showCanvas();\n renderCapability.reject(error);\n });\n return result;\n }\n\n paintOnSvg(wrapper) {\n if (typeof PDFJSDev !== 'undefined' &&\n PDFJSDev.test('FIREFOX || MOZCENTRAL || CHROME')) {\n // Return a mock object, to prevent errors such as e.g.\n // \"TypeError: paintTask.promise is undefined\".\n return {\n promise: Promise.reject(new Error('SVG rendering is not supported.')),\n onRenderContinue(cont) { },\n cancel() { },\n };\n }\n\n let cancelled = false;\n let ensureNotCancelled = () => {\n if (cancelled) {\n if ((typeof PDFJSDev !== 'undefined' &&\n PDFJSDev.test('PDFJS_NEXT')) || PDFJS.pdfjsNext) {\n throw new RenderingCancelledException(\n 'Rendering cancelled, page ' + this.id, 'svg');\n } else {\n throw 'cancelled'; // eslint-disable-line no-throw-literal\n }\n }\n };\n\n let pdfPage = this.pdfPage;\n let actualSizeViewport = this.viewport.clone({ scale: CSS_UNITS, });\n let promise = pdfPage.getOperatorList().then((opList) => {\n ensureNotCancelled();\n let svgGfx = new SVGGraphics(pdfPage.commonObjs, pdfPage.objs);\n return svgGfx.getSVG(opList, actualSizeViewport).then((svg) => {\n ensureNotCancelled();\n this.svg = svg;\n this.paintedViewportMap.set(svg, actualSizeViewport);\n\n svg.style.width = wrapper.style.width;\n svg.style.height = wrapper.style.height;\n this.renderingState = RenderingStates.FINISHED;\n wrapper.appendChild(svg);\n });\n });\n\n return {\n promise,\n onRenderContinue(cont) {\n cont();\n },\n cancel() {\n cancelled = true;\n },\n };\n }\n\n /**\n * @param {string|null} label\n */\n setPageLabel(label) {\n this.pageLabel = (typeof label === 'string' ? label : null);\n\n if (this.pageLabel !== null) {\n this.div.setAttribute('data-page-label', this.pageLabel);\n } else {\n this.div.removeAttribute('data-page-label');\n }\n }\n}\n\nexport {\n PDFPageView,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/pdf_page_view.js","/* Copyright 2012 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { getGlobalEventBus } from './dom_events';\nimport { renderTextLayer } from 'pdfjs-lib';\n\nconst EXPAND_DIVS_TIMEOUT = 300; // ms\n\n/**\n * @typedef {Object} TextLayerBuilderOptions\n * @property {HTMLDivElement} textLayerDiv - The text layer container.\n * @property {EventBus} eventBus - The application event bus.\n * @property {number} pageIndex - The page index.\n * @property {PageViewport} viewport - The viewport of the text layer.\n * @property {PDFFindController} findController\n * @property {boolean} enhanceTextSelection - Option to turn on improved\n * text selection.\n */\n\n/**\n * The text layer builder provides text selection functionality for the PDF.\n * It does this by creating overlay divs over the PDF's text. These divs\n * contain text that matches the PDF text they are overlaying. This object\n * also provides a way to highlight text that is being searched for.\n */\nclass TextLayerBuilder {\n constructor({ textLayerDiv, eventBus, pageIndex, viewport,\n findController = null, enhanceTextSelection = false, }) {\n this.textLayerDiv = textLayerDiv;\n this.eventBus = eventBus || getGlobalEventBus();\n this.textContent = null;\n this.textContentItemsStr = [];\n this.textContentStream = null;\n this.renderingDone = false;\n this.pageIdx = pageIndex;\n this.pageNumber = this.pageIdx + 1;\n this.matches = [];\n this.viewport = viewport;\n this.textDivs = [];\n this.findController = findController;\n this.textLayerRenderTask = null;\n this.enhanceTextSelection = enhanceTextSelection;\n\n this._bindMouse();\n }\n\n /**\n * @private\n */\n _finishRendering() {\n this.renderingDone = true;\n\n if (!this.enhanceTextSelection) {\n let endOfContent = document.createElement('div');\n endOfContent.className = 'endOfContent';\n this.textLayerDiv.appendChild(endOfContent);\n }\n\n this.eventBus.dispatch('textlayerrendered', {\n source: this,\n pageNumber: this.pageNumber,\n numTextDivs: this.textDivs.length,\n });\n }\n\n /**\n * Renders the text layer.\n *\n * @param {number} timeout - (optional) wait for a specified amount of\n * milliseconds before rendering\n */\n render(timeout = 0) {\n if (!(this.textContent || this.textContentStream) || this.renderingDone) {\n return;\n }\n this.cancel();\n\n this.textDivs = [];\n let textLayerFrag = document.createDocumentFragment();\n this.textLayerRenderTask = renderTextLayer({\n textContent: this.textContent,\n textContentStream: this.textContentStream,\n container: textLayerFrag,\n viewport: this.viewport,\n textDivs: this.textDivs,\n textContentItemsStr: this.textContentItemsStr,\n timeout,\n enhanceTextSelection: this.enhanceTextSelection,\n });\n this.textLayerRenderTask.promise.then(() => {\n this.textLayerDiv.appendChild(textLayerFrag);\n this._finishRendering();\n this.updateMatches();\n }, function (reason) {\n // Cancelled or failed to render text layer; skipping errors.\n });\n }\n\n /**\n * Cancel rendering of the text layer.\n */\n cancel() {\n if (this.textLayerRenderTask) {\n this.textLayerRenderTask.cancel();\n this.textLayerRenderTask = null;\n }\n }\n\n setTextContentStream(readableStream) {\n this.cancel();\n this.textContentStream = readableStream;\n }\n\n setTextContent(textContent) {\n this.cancel();\n this.textContent = textContent;\n }\n\n convertMatches(matches, matchesLength) {\n let i = 0;\n let iIndex = 0;\n let textContentItemsStr = this.textContentItemsStr;\n let end = textContentItemsStr.length - 1;\n let queryLen = (this.findController === null ?\n 0 : this.findController.state.query.length);\n let ret = [];\n if (!matches) {\n return ret;\n }\n for (let m = 0, len = matches.length; m < len; m++) {\n // Calculate the start position.\n let matchIdx = matches[m];\n\n // Loop over the divIdxs.\n while (i !== end && matchIdx >=\n (iIndex + textContentItemsStr[i].length)) {\n iIndex += textContentItemsStr[i].length;\n i++;\n }\n\n if (i === textContentItemsStr.length) {\n console.error('Could not find a matching mapping');\n }\n\n let match = {\n begin: {\n divIdx: i,\n offset: matchIdx - iIndex,\n },\n };\n\n // Calculate the end position.\n if (matchesLength) { // Multiterm search.\n matchIdx += matchesLength[m];\n } else { // Phrase search.\n matchIdx += queryLen;\n }\n\n // Somewhat the same array as above, but use > instead of >= to get\n // the end position right.\n while (i !== end && matchIdx >\n (iIndex + textContentItemsStr[i].length)) {\n iIndex += textContentItemsStr[i].length;\n i++;\n }\n\n match.end = {\n divIdx: i,\n offset: matchIdx - iIndex,\n };\n ret.push(match);\n }\n\n return ret;\n }\n\n renderMatches(matches) {\n // Early exit if there is nothing to render.\n if (matches.length === 0) {\n return;\n }\n\n let textContentItemsStr = this.textContentItemsStr;\n let textDivs = this.textDivs;\n let prevEnd = null;\n let pageIdx = this.pageIdx;\n let isSelectedPage = (this.findController === null ?\n false : (pageIdx === this.findController.selected.pageIdx));\n let selectedMatchIdx = (this.findController === null ?\n -1 : this.findController.selected.matchIdx);\n let highlightAll = (this.findController === null ?\n false : this.findController.state.highlightAll);\n let infinity = {\n divIdx: -1,\n offset: undefined,\n };\n\n function beginText(begin, className) {\n let divIdx = begin.divIdx;\n textDivs[divIdx].textContent = '';\n appendTextToDiv(divIdx, 0, begin.offset, className);\n }\n\n function appendTextToDiv(divIdx, fromOffset, toOffset, className) {\n let div = textDivs[divIdx];\n let content = textContentItemsStr[divIdx].substring(fromOffset, toOffset);\n let node = document.createTextNode(content);\n if (className) {\n let span = document.createElement('span');\n span.className = className;\n span.appendChild(node);\n div.appendChild(span);\n return;\n }\n div.appendChild(node);\n }\n\n let i0 = selectedMatchIdx, i1 = i0 + 1;\n if (highlightAll) {\n i0 = 0;\n i1 = matches.length;\n } else if (!isSelectedPage) {\n // Not highlighting all and this isn't the selected page, so do nothing.\n return;\n }\n\n for (let i = i0; i < i1; i++) {\n let match = matches[i];\n let begin = match.begin;\n let end = match.end;\n let isSelected = (isSelectedPage && i === selectedMatchIdx);\n let highlightSuffix = (isSelected ? ' selected' : '');\n\n if (this.findController) {\n this.findController.updateMatchPosition(pageIdx, i, textDivs,\n begin.divIdx);\n }\n\n // Match inside new div.\n if (!prevEnd || begin.divIdx !== prevEnd.divIdx) {\n // If there was a previous div, then add the text at the end.\n if (prevEnd !== null) {\n appendTextToDiv(prevEnd.divIdx, prevEnd.offset, infinity.offset);\n }\n // Clear the divs and set the content until the starting point.\n beginText(begin);\n } else {\n appendTextToDiv(prevEnd.divIdx, prevEnd.offset, begin.offset);\n }\n\n if (begin.divIdx === end.divIdx) {\n appendTextToDiv(begin.divIdx, begin.offset, end.offset,\n 'highlight' + highlightSuffix);\n } else {\n appendTextToDiv(begin.divIdx, begin.offset, infinity.offset,\n 'highlight begin' + highlightSuffix);\n for (let n0 = begin.divIdx + 1, n1 = end.divIdx; n0 < n1; n0++) {\n textDivs[n0].className = 'highlight middle' + highlightSuffix;\n }\n beginText(end, 'highlight end' + highlightSuffix);\n }\n prevEnd = end;\n }\n\n if (prevEnd) {\n appendTextToDiv(prevEnd.divIdx, prevEnd.offset, infinity.offset);\n }\n }\n\n updateMatches() {\n // Only show matches when all rendering is done.\n if (!this.renderingDone) {\n return;\n }\n\n // Clear all matches.\n let matches = this.matches;\n let textDivs = this.textDivs;\n let textContentItemsStr = this.textContentItemsStr;\n let clearedUntilDivIdx = -1;\n\n // Clear all current matches.\n for (let i = 0, len = matches.length; i < len; i++) {\n let match = matches[i];\n let begin = Math.max(clearedUntilDivIdx, match.begin.divIdx);\n for (let n = begin, end = match.end.divIdx; n <= end; n++) {\n let div = textDivs[n];\n div.textContent = textContentItemsStr[n];\n div.className = '';\n }\n clearedUntilDivIdx = match.end.divIdx + 1;\n }\n\n if (this.findController === null || !this.findController.active) {\n return;\n }\n\n // Convert the matches on the page controller into the match format\n // used for the textLayer.\n let pageMatches, pageMatchesLength;\n if (this.findController !== null) {\n pageMatches = this.findController.pageMatches[this.pageIdx] || null;\n pageMatchesLength = (this.findController.pageMatchesLength) ?\n this.findController.pageMatchesLength[this.pageIdx] || null : null;\n }\n\n this.matches = this.convertMatches(pageMatches, pageMatchesLength);\n this.renderMatches(this.matches);\n }\n\n /**\n * Improves text selection by adding an additional div where the mouse was\n * clicked. This reduces flickering of the content if the mouse is slowly\n * dragged up or down.\n *\n * @private\n */\n _bindMouse() {\n let div = this.textLayerDiv;\n let expandDivsTimer = null;\n\n div.addEventListener('mousedown', (evt) => {\n if (this.enhanceTextSelection && this.textLayerRenderTask) {\n this.textLayerRenderTask.expandTextDivs(true);\n if ((typeof PDFJSDev === 'undefined' ||\n !PDFJSDev.test('FIREFOX || MOZCENTRAL')) &&\n expandDivsTimer) {\n clearTimeout(expandDivsTimer);\n expandDivsTimer = null;\n }\n return;\n }\n\n let end = div.querySelector('.endOfContent');\n if (!end) {\n return;\n }\n if (typeof PDFJSDev === 'undefined' ||\n !PDFJSDev.test('FIREFOX || MOZCENTRAL')) {\n // On non-Firefox browsers, the selection will feel better if the height\n // of the `endOfContent` div is adjusted to start at mouse click\n // location. This avoids flickering when the selection moves up.\n // However it does not work when selection is started on empty space.\n let adjustTop = evt.target !== div;\n if (typeof PDFJSDev === 'undefined' || PDFJSDev.test('GENERIC')) {\n adjustTop = adjustTop && window.getComputedStyle(end).\n getPropertyValue('-moz-user-select') !== 'none';\n }\n if (adjustTop) {\n let divBounds = div.getBoundingClientRect();\n let r = Math.max(0, (evt.pageY - divBounds.top) / divBounds.height);\n end.style.top = (r * 100).toFixed(2) + '%';\n }\n }\n end.classList.add('active');\n });\n\n div.addEventListener('mouseup', () => {\n if (this.enhanceTextSelection && this.textLayerRenderTask) {\n if (typeof PDFJSDev === 'undefined' ||\n !PDFJSDev.test('FIREFOX || MOZCENTRAL')) {\n expandDivsTimer = setTimeout(() => {\n if (this.textLayerRenderTask) {\n this.textLayerRenderTask.expandTextDivs(false);\n }\n expandDivsTimer = null;\n }, EXPAND_DIVS_TIMEOUT);\n } else {\n this.textLayerRenderTask.expandTextDivs(false);\n }\n return;\n }\n\n let end = div.querySelector('.endOfContent');\n if (!end) {\n return;\n }\n if (typeof PDFJSDev === 'undefined' ||\n !PDFJSDev.test('FIREFOX || MOZCENTRAL')) {\n end.style.top = '';\n }\n end.classList.remove('active');\n });\n }\n}\n\n/**\n * @implements IPDFTextLayerFactory\n */\nclass DefaultTextLayerFactory {\n /**\n * @param {HTMLDivElement} textLayerDiv\n * @param {number} pageIndex\n * @param {PageViewport} viewport\n * @param {boolean} enhanceTextSelection\n * @returns {TextLayerBuilder}\n */\n createTextLayerBuilder(textLayerDiv, pageIndex, viewport,\n enhanceTextSelection = false) {\n return new TextLayerBuilder({\n textLayerDiv,\n pageIndex,\n viewport,\n enhanceTextSelection,\n });\n }\n}\n\nexport {\n TextLayerBuilder,\n DefaultTextLayerFactory,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/text_layer_builder.js","/* Copyright 2012 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { CursorTool } from './pdf_cursor_tools';\nimport { SCROLLBAR_PADDING } from './ui_utils';\n\n/**\n * @typedef {Object} SecondaryToolbarOptions\n * @property {HTMLDivElement} toolbar - Container for the secondary toolbar.\n * @property {HTMLButtonElement} toggleButton - Button to toggle the visibility\n * of the secondary toolbar.\n * @property {HTMLDivElement} toolbarButtonContainer - Container where all the\n * toolbar buttons are placed. The maximum height of the toolbar is controlled\n * dynamically by adjusting the 'max-height' CSS property of this DOM element.\n * @property {HTMLButtonElement} presentationModeButton - Button for entering\n * presentation mode.\n * @property {HTMLButtonElement} openFileButton - Button to open a file.\n * @property {HTMLButtonElement} printButton - Button to print the document.\n * @property {HTMLButtonElement} downloadButton - Button to download the\n * document.\n * @property {HTMLLinkElement} viewBookmarkButton - Button to obtain a bookmark\n * link to the current location in the document.\n * @property {HTMLButtonElement} firstPageButton - Button to go to the first\n * page in the document.\n * @property {HTMLButtonElement} lastPageButton - Button to go to the last page\n * in the document.\n * @property {HTMLButtonElement} pageRotateCwButton - Button to rotate the pages\n * clockwise.\n * @property {HTMLButtonElement} pageRotateCcwButton - Button to rotate the\n * pages counterclockwise.\n * @property {HTMLButtonElement} cursorSelectToolButton - Button to enable the\n * select tool.\n * @property {HTMLButtonElement} cursorHandToolButton - Button to enable the\n * hand tool.\n * @property {HTMLButtonElement} documentPropertiesButton - Button for opening\n * the document properties dialog.\n */\n\nclass SecondaryToolbar {\n /**\n * @param {SecondaryToolbarOptions} options\n * @param {HTMLDivElement} mainContainer\n * @param {EventBus} eventBus\n */\n constructor(options, mainContainer, eventBus) {\n this.toolbar = options.toolbar;\n this.toggleButton = options.toggleButton;\n this.toolbarButtonContainer = options.toolbarButtonContainer;\n this.buttons = [\n { element: options.presentationModeButton, eventName: 'presentationmode',\n close: true, },\n { element: options.openFileButton, eventName: 'openfile', close: true, },\n { element: options.printButton, eventName: 'print', close: true, },\n { element: options.downloadButton, eventName: 'download', close: true, },\n { element: options.viewBookmarkButton, eventName: null, close: true, },\n { element: options.firstPageButton, eventName: 'firstpage',\n close: true, },\n { element: options.lastPageButton, eventName: 'lastpage', close: true, },\n { element: options.pageRotateCwButton, eventName: 'rotatecw',\n close: false, },\n { element: options.pageRotateCcwButton, eventName: 'rotateccw',\n close: false, },\n { element: options.cursorSelectToolButton, eventName: 'switchcursortool',\n eventDetails: { tool: CursorTool.SELECT, }, close: true, },\n { element: options.cursorHandToolButton, eventName: 'switchcursortool',\n eventDetails: { tool: CursorTool.HAND, }, close: true, },\n { element: options.documentPropertiesButton,\n eventName: 'documentproperties', close: true, },\n ];\n this.items = {\n firstPage: options.firstPageButton,\n lastPage: options.lastPageButton,\n pageRotateCw: options.pageRotateCwButton,\n pageRotateCcw: options.pageRotateCcwButton,\n };\n\n this.mainContainer = mainContainer;\n this.eventBus = eventBus;\n\n this.opened = false;\n this.containerHeight = null;\n this.previousContainerHeight = null;\n\n this.reset();\n\n // Bind the event listeners for click and cursor tool actions.\n this._bindClickListeners();\n this._bindCursorToolsListener(options);\n\n // Bind the event listener for adjusting the 'max-height' of the toolbar.\n this.eventBus.on('resize', this._setMaxHeight.bind(this));\n }\n\n /**\n * @return {boolean}\n */\n get isOpen() {\n return this.opened;\n }\n\n setPageNumber(pageNumber) {\n this.pageNumber = pageNumber;\n this._updateUIState();\n }\n\n setPagesCount(pagesCount) {\n this.pagesCount = pagesCount;\n this._updateUIState();\n }\n\n reset() {\n this.pageNumber = 0;\n this.pagesCount = 0;\n this._updateUIState();\n }\n\n _updateUIState() {\n this.items.firstPage.disabled = (this.pageNumber <= 1);\n this.items.lastPage.disabled = (this.pageNumber >= this.pagesCount);\n this.items.pageRotateCw.disabled = this.pagesCount === 0;\n this.items.pageRotateCcw.disabled = this.pagesCount === 0;\n }\n\n _bindClickListeners() {\n // Button to toggle the visibility of the secondary toolbar.\n this.toggleButton.addEventListener('click', this.toggle.bind(this));\n\n // All items within the secondary toolbar.\n for (let button in this.buttons) {\n let { element, eventName, close, eventDetails, } = this.buttons[button];\n\n element.addEventListener('click', (evt) => {\n if (eventName !== null) {\n let details = { source: this, };\n for (let property in eventDetails) {\n details[property] = eventDetails[property];\n }\n this.eventBus.dispatch(eventName, details);\n }\n if (close) {\n this.close();\n }\n });\n }\n }\n\n _bindCursorToolsListener(buttons) {\n this.eventBus.on('cursortoolchanged', function(evt) {\n buttons.cursorSelectToolButton.classList.remove('toggled');\n buttons.cursorHandToolButton.classList.remove('toggled');\n\n switch (evt.tool) {\n case CursorTool.SELECT:\n buttons.cursorSelectToolButton.classList.add('toggled');\n break;\n case CursorTool.HAND:\n buttons.cursorHandToolButton.classList.add('toggled');\n break;\n }\n });\n }\n\n open() {\n if (this.opened) {\n return;\n }\n this.opened = true;\n this._setMaxHeight();\n\n this.toggleButton.classList.add('toggled');\n this.toolbar.classList.remove('hidden');\n }\n\n close() {\n if (!this.opened) {\n return;\n }\n this.opened = false;\n this.toolbar.classList.add('hidden');\n this.toggleButton.classList.remove('toggled');\n }\n\n toggle() {\n if (this.opened) {\n this.close();\n } else {\n this.open();\n }\n }\n\n /**\n * @private\n */\n _setMaxHeight() {\n if (!this.opened) {\n return; // Only adjust the 'max-height' if the toolbar is visible.\n }\n this.containerHeight = this.mainContainer.clientHeight;\n\n if (this.containerHeight === this.previousContainerHeight) {\n return;\n }\n this.toolbarButtonContainer.setAttribute('style',\n 'max-height: ' + (this.containerHeight - SCROLLBAR_PADDING) + 'px;');\n\n this.previousContainerHeight = this.containerHeight;\n }\n}\n\nexport {\n SecondaryToolbar,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/secondary_toolbar.js","/* Copyright 2016 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n animationStarted, DEFAULT_SCALE, DEFAULT_SCALE_VALUE, MAX_SCALE,\n MIN_SCALE, noContextMenuHandler, NullL10n\n} from './ui_utils';\n\nconst PAGE_NUMBER_LOADING_INDICATOR = 'visiblePageIsLoading';\nconst SCALE_SELECT_CONTAINER_PADDING = 8;\nconst SCALE_SELECT_PADDING = 22;\n\n/**\n * @typedef {Object} ToolbarOptions\n * @property {HTMLDivElement} container - Container for the secondary toolbar.\n * @property {HTMLSpanElement} numPages - Label that contains number of pages.\n * @property {HTMLInputElement} pageNumber - Control for display and user input\n * of the current page number.\n * @property {HTMLSpanElement} scaleSelectContainer - Container where scale\n * controls are placed. The width is adjusted on UI initialization.\n * @property {HTMLSelectElement} scaleSelect - Scale selection control.\n * @property {HTMLOptionElement} customScaleOption - The item used to display\n * a non-predefined scale.\n * @property {HTMLButtonElement} previous - Button to go to the previous page.\n * @property {HTMLButtonElement} next - Button to go to the next page.\n * @property {HTMLButtonElement} zoomIn - Button to zoom in the pages.\n * @property {HTMLButtonElement} zoomOut - Button to zoom out the pages.\n * @property {HTMLButtonElement} viewFind - Button to open find bar.\n * @property {HTMLButtonElement} openFile - Button to open a new document.\n * @property {HTMLButtonElement} presentationModeButton - Button to switch to\n * presentation mode.\n * @property {HTMLButtonElement} download - Button to download the document.\n * @property {HTMLAElement} viewBookmark - Element to link current url of\n * the page view.\n */\n\nclass Toolbar {\n /**\n * @param {ToolbarOptions} options\n * @param {HTMLDivElement} mainContainer\n * @param {EventBus} eventBus\n * @param {IL10n} l10n - Localization service.\n */\n constructor(options, mainContainer, eventBus, l10n = NullL10n) {\n this.toolbar = options.container;\n this.mainContainer = mainContainer;\n this.eventBus = eventBus;\n this.l10n = l10n;\n this.items = options;\n\n this._wasLocalized = false;\n this.reset();\n\n // Bind the event listeners for click and hand tool actions.\n this._bindListeners();\n }\n\n setPageNumber(pageNumber, pageLabel) {\n this.pageNumber = pageNumber;\n this.pageLabel = pageLabel;\n this._updateUIState(false);\n }\n\n setPagesCount(pagesCount, hasPageLabels) {\n this.pagesCount = pagesCount;\n this.hasPageLabels = hasPageLabels;\n this._updateUIState(true);\n }\n\n setPageScale(pageScaleValue, pageScale) {\n this.pageScaleValue = pageScaleValue;\n this.pageScale = pageScale;\n this._updateUIState(false);\n }\n\n reset() {\n this.pageNumber = 0;\n this.pageLabel = null;\n this.hasPageLabels = false;\n this.pagesCount = 0;\n this.pageScaleValue = DEFAULT_SCALE_VALUE;\n this.pageScale = DEFAULT_SCALE;\n this._updateUIState(true);\n }\n\n _bindListeners() {\n let { eventBus, items, } = this;\n let self = this;\n\n items.previous.addEventListener('click', function() {\n eventBus.dispatch('previouspage');\n });\n\n items.next.addEventListener('click', function() {\n eventBus.dispatch('nextpage');\n });\n\n items.zoomIn.addEventListener('click', function() {\n eventBus.dispatch('zoomin');\n });\n\n items.zoomOut.addEventListener('click', function() {\n eventBus.dispatch('zoomout');\n });\n\n items.pageNumber.addEventListener('click', function() {\n this.select();\n });\n\n items.pageNumber.addEventListener('change', function() {\n eventBus.dispatch('pagenumberchanged', {\n source: self,\n value: this.value,\n });\n });\n\n items.scaleSelect.addEventListener('change', function() {\n if (this.value === 'custom') {\n return;\n }\n eventBus.dispatch('scalechanged', {\n source: self,\n value: this.value,\n });\n });\n\n items.presentationModeButton.addEventListener('click', function() {\n eventBus.dispatch('presentationmode');\n });\n\n items.openFile.addEventListener('click', function() {\n eventBus.dispatch('openfile');\n });\n\n items.print.addEventListener('click', function() {\n eventBus.dispatch('print');\n });\n\n items.download.addEventListener('click', function() {\n eventBus.dispatch('download');\n });\n\n // Suppress context menus for some controls.\n items.scaleSelect.oncontextmenu = noContextMenuHandler;\n\n eventBus.on('localized', () => {\n this._localized();\n });\n }\n\n _localized() {\n this._wasLocalized = true;\n this._adjustScaleWidth();\n this._updateUIState(true);\n }\n\n _updateUIState(resetNumPages = false) {\n if (!this._wasLocalized) {\n // Don't update the UI state until we localize the toolbar.\n return;\n }\n let { pageNumber, pagesCount, items, } = this;\n let scaleValue = (this.pageScaleValue || this.pageScale).toString();\n let scale = this.pageScale;\n\n if (resetNumPages) {\n if (this.hasPageLabels) {\n items.pageNumber.type = 'text';\n } else {\n items.pageNumber.type = 'number';\n this.l10n.get('of_pages', { pagesCount, }, 'of {{pagesCount}}').\n then((msg) => {\n items.numPages.textContent = msg;\n });\n }\n items.pageNumber.max = pagesCount;\n }\n\n if (this.hasPageLabels) {\n items.pageNumber.value = this.pageLabel;\n this.l10n.get('page_of_pages', { pageNumber, pagesCount, },\n '({{pageNumber}} of {{pagesCount}})').then((msg) => {\n items.numPages.textContent = msg;\n });\n } else {\n items.pageNumber.value = pageNumber;\n }\n\n items.previous.disabled = (pageNumber <= 1);\n items.next.disabled = (pageNumber >= pagesCount);\n\n items.zoomOut.disabled = (scale <= MIN_SCALE);\n items.zoomIn.disabled = (scale >= MAX_SCALE);\n\n let customScale = Math.round(scale * 10000) / 100;\n this.l10n.get('page_scale_percent', { scale: customScale, },\n '{{scale}}%').then((msg) => {\n let options = items.scaleSelect.options;\n let predefinedValueFound = false;\n for (let i = 0, ii = options.length; i < ii; i++) {\n let option = options[i];\n if (option.value !== scaleValue) {\n option.selected = false;\n continue;\n }\n option.selected = true;\n predefinedValueFound = true;\n }\n if (!predefinedValueFound) {\n items.customScaleOption.textContent = msg;\n items.customScaleOption.selected = true;\n }\n });\n }\n\n updateLoadingIndicatorState(loading = false) {\n let pageNumberInput = this.items.pageNumber;\n\n if (loading) {\n pageNumberInput.classList.add(PAGE_NUMBER_LOADING_INDICATOR);\n } else {\n pageNumberInput.classList.remove(PAGE_NUMBER_LOADING_INDICATOR);\n }\n }\n\n _adjustScaleWidth() {\n let container = this.items.scaleSelectContainer;\n let select = this.items.scaleSelect;\n\n animationStarted.then(function() {\n // Adjust the width of the zoom box to fit the content.\n // Note: If the window is narrow enough that the zoom box is not\n // visible, we temporarily show it to be able to adjust its width.\n if (container.clientWidth === 0) {\n container.setAttribute('style', 'display: inherit;');\n }\n if (container.clientWidth > 0) {\n select.setAttribute('style', 'min-width: inherit;');\n let width = select.clientWidth + SCALE_SELECT_CONTAINER_PADDING;\n select.setAttribute('style', 'min-width: ' +\n (width + SCALE_SELECT_PADDING) + 'px;');\n container.setAttribute('style', 'min-width: ' + width + 'px; ' +\n 'max-width: ' + width + 'px;');\n }\n });\n }\n}\n\nexport {\n Toolbar,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/toolbar.js","/* Copyright 2012 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nconst DEFAULT_VIEW_HISTORY_CACHE_SIZE = 20;\n\n/**\n * View History - This is a utility for saving various view parameters for\n * recently opened files.\n *\n * The way that the view parameters are stored depends on how PDF.js is built,\n * for 'gulp ' the following cases exist:\n * - FIREFOX or MOZCENTRAL - uses sessionStorage.\n * - GENERIC or CHROME - uses localStorage, if it is available.\n */\nclass ViewHistory {\n constructor(fingerprint, cacheSize = DEFAULT_VIEW_HISTORY_CACHE_SIZE) {\n this.fingerprint = fingerprint;\n this.cacheSize = cacheSize;\n\n this._initializedPromise = this._readFromStorage().then((databaseStr) => {\n let database = JSON.parse(databaseStr || '{}');\n if (!('files' in database)) {\n database.files = [];\n }\n if (database.files.length >= this.cacheSize) {\n database.files.shift();\n }\n let index;\n for (let i = 0, length = database.files.length; i < length; i++) {\n let branch = database.files[i];\n if (branch.fingerprint === this.fingerprint) {\n index = i;\n break;\n }\n }\n if (typeof index !== 'number') {\n index = database.files.push({ fingerprint: this.fingerprint, }) - 1;\n }\n this.file = database.files[index];\n this.database = database;\n });\n }\n\n _writeToStorage() {\n return new Promise((resolve) => {\n let databaseStr = JSON.stringify(this.database);\n\n if (typeof PDFJSDev !== 'undefined' &&\n PDFJSDev.test('FIREFOX || MOZCENTRAL')) {\n sessionStorage.setItem('pdfjs.history', databaseStr);\n } else {\n localStorage.setItem('pdfjs.history', databaseStr);\n }\n resolve();\n });\n }\n\n _readFromStorage() {\n return new Promise(function(resolve) {\n if (typeof PDFJSDev !== 'undefined' &&\n PDFJSDev.test('FIREFOX || MOZCENTRAL')) {\n resolve(sessionStorage.getItem('pdfjs.history'));\n } else {\n resolve(localStorage.getItem('pdfjs.history'));\n }\n });\n }\n\n set(name, val) {\n return this._initializedPromise.then(() => {\n this.file[name] = val;\n return this._writeToStorage();\n });\n }\n\n setMultiple(properties) {\n return this._initializedPromise.then(() => {\n for (let name in properties) {\n this.file[name] = properties[name];\n }\n return this._writeToStorage();\n });\n }\n\n get(name, defaultValue) {\n return this._initializedPromise.then(() => {\n let val = this.file[name];\n return val !== undefined ? val : defaultValue;\n });\n }\n\n getMultiple(properties) {\n return this._initializedPromise.then(() => {\n let values = Object.create(null);\n\n for (let name in properties) {\n let val = this.file[name];\n values[name] = val !== undefined ? val : properties[name];\n }\n return values;\n });\n }\n}\n\nexport {\n ViewHistory,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/view_history.js","/* Copyright 2017 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { DefaultExternalServices, PDFViewerApplication } from './app';\nimport { BasePreferences } from './preferences';\nimport { DownloadManager } from './download_manager';\nimport { GenericL10n } from './genericl10n';\nimport { PDFJS } from 'pdfjs-lib';\n\nif (typeof PDFJSDev !== 'undefined' && !PDFJSDev.test('GENERIC')) {\n throw new Error('Module \"pdfjs-web/genericcom\" shall not be used outside ' +\n 'GENERIC build.');\n}\n\nlet GenericCom = {};\n\nclass GenericPreferences extends BasePreferences {\n _writeToStorage(prefObj) {\n return new Promise(function(resolve) {\n localStorage.setItem('pdfjs.preferences', JSON.stringify(prefObj));\n resolve();\n });\n }\n\n _readFromStorage(prefObj) {\n return new Promise(function(resolve) {\n let readPrefs = JSON.parse(localStorage.getItem('pdfjs.preferences'));\n resolve(readPrefs);\n });\n }\n}\n\nlet GenericExternalServices = Object.create(DefaultExternalServices);\nGenericExternalServices.createDownloadManager = function() {\n return new DownloadManager();\n};\nGenericExternalServices.createPreferences = function() {\n return new GenericPreferences();\n};\nGenericExternalServices.createL10n = function () {\n return new GenericL10n(PDFJS.locale);\n};\nPDFViewerApplication.externalServices = GenericExternalServices;\n\nexport {\n GenericCom,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/genericcom.js","/* Copyright 2013 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { cloneObj } from './ui_utils';\n\nlet defaultPreferences = null;\nfunction getDefaultPreferences() {\n if (!defaultPreferences) {\n if (typeof PDFJSDev !== 'undefined' && PDFJSDev.test('PRODUCTION')) {\n defaultPreferences = Promise.resolve(\n PDFJSDev.json('$ROOT/web/default_preferences.json'));\n } else {\n defaultPreferences = new Promise(function (resolve) {\n let xhr = new XMLHttpRequest();\n xhr.open('GET', 'default_preferences.json');\n xhr.onload = xhr.onerror = function loaded() {\n try {\n resolve(JSON.parse(xhr.responseText));\n } catch (e) {\n console.error(`Unable to load default preferences: ${e}`);\n resolve({});\n }\n };\n xhr.send();\n });\n }\n }\n return defaultPreferences;\n}\n\n/**\n * BasePreferences - Abstract base class for storing persistent settings.\n * Used for settings that should be applied to all opened documents,\n * or every time the viewer is loaded.\n */\nclass BasePreferences {\n constructor() {\n if (this.constructor === BasePreferences) {\n throw new Error('Cannot initialize BasePreferences.');\n }\n this.prefs = null;\n\n this._initializedPromise = getDefaultPreferences().then((defaults) => {\n Object.defineProperty(this, 'defaults', {\n value: Object.freeze(defaults),\n writable: false,\n enumerable: true,\n configurable: false,\n });\n\n this.prefs = cloneObj(defaults);\n return this._readFromStorage(defaults);\n }).then((prefObj) => {\n if (prefObj) {\n this.prefs = prefObj;\n }\n });\n }\n\n /**\n * Stub function for writing preferences to storage.\n * @param {Object} prefObj The preferences that should be written to storage.\n * @return {Promise} A promise that is resolved when the preference values\n * have been written.\n */\n _writeToStorage(prefObj) {\n return Promise.reject(new Error('Not implemented: _writeToStorage'));\n }\n\n /**\n * Stub function for reading preferences from storage.\n * @param {Object} prefObj The preferences that should be read from storage.\n * @return {Promise} A promise that is resolved with an {Object} containing\n * the preferences that have been read.\n */\n _readFromStorage(prefObj) {\n return Promise.reject(new Error('Not implemented: _readFromStorage'));\n }\n\n /**\n * Reset the preferences to their default values and update storage.\n * @return {Promise} A promise that is resolved when the preference values\n * have been reset.\n */\n reset() {\n return this._initializedPromise.then(() => {\n this.prefs = cloneObj(this.defaults);\n return this._writeToStorage(this.defaults);\n });\n }\n\n /**\n * Replace the current preference values with the ones from storage.\n * @return {Promise} A promise that is resolved when the preference values\n * have been updated.\n */\n reload() {\n return this._initializedPromise.then(() => {\n return this._readFromStorage(this.defaults);\n }).then((prefObj) => {\n if (prefObj) {\n this.prefs = prefObj;\n }\n });\n }\n\n /**\n * Set the value of a preference.\n * @param {string} name The name of the preference that should be changed.\n * @param {boolean|number|string} value The new value of the preference.\n * @return {Promise} A promise that is resolved when the value has been set,\n * provided that the preference exists and the types match.\n */\n set(name, value) {\n return this._initializedPromise.then(() => {\n if (this.defaults[name] === undefined) {\n throw new Error(`Set preference: \"${name}\" is undefined.`);\n } else if (value === undefined) {\n throw new Error('Set preference: no value is specified.');\n }\n let valueType = typeof value;\n let defaultType = typeof this.defaults[name];\n\n if (valueType !== defaultType) {\n if (valueType === 'number' && defaultType === 'string') {\n value = value.toString();\n } else {\n throw new Error(`Set preference: \"${value}\" is a ${valueType}, ` +\n `expected a ${defaultType}.`);\n }\n } else {\n if (valueType === 'number' && !Number.isInteger(value)) {\n throw new Error(`Set preference: \"${value}\" must be an integer.`);\n }\n }\n this.prefs[name] = value;\n return this._writeToStorage(this.prefs);\n });\n }\n\n /**\n * Get the value of a preference.\n * @param {string} name The name of the preference whose value is requested.\n * @return {Promise} A promise that is resolved with a {boolean|number|string}\n * containing the value of the preference.\n */\n get(name) {\n return this._initializedPromise.then(() => {\n let defaultValue = this.defaults[name];\n\n if (defaultValue === undefined) {\n throw new Error(`Get preference: \"${name}\" is undefined.`);\n } else {\n let prefValue = this.prefs[name];\n\n if (prefValue !== undefined) {\n return prefValue;\n }\n }\n return defaultValue;\n });\n }\n}\n\nexport {\n BasePreferences,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/preferences.js","/* Copyright 2013 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { createObjectURL, createValidAbsoluteUrl, PDFJS } from 'pdfjs-lib';\n\nif (typeof PDFJSDev !== 'undefined' && !PDFJSDev.test('CHROME || GENERIC')) {\n throw new Error('Module \"pdfjs-web/download_manager\" shall not be used ' +\n 'outside CHROME and GENERIC builds.');\n}\n\nfunction download(blobUrl, filename) {\n let a = document.createElement('a');\n if (a.click) {\n // Use a.click() if available. Otherwise, Chrome might show\n // \"Unsafe JavaScript attempt to initiate a navigation change\n // for frame with URL\" and not open the PDF at all.\n // Supported by (not mentioned = untested):\n // - Firefox 6 - 19 (4- does not support a.click, 5 ignores a.click)\n // - Chrome 19 - 26 (18- does not support a.click)\n // - Opera 9 - 12.15\n // - Internet Explorer 6 - 10\n // - Safari 6 (5.1- does not support a.click)\n a.href = blobUrl;\n a.target = '_parent';\n // Use a.download if available. This increases the likelihood that\n // the file is downloaded instead of opened by another PDF plugin.\n if ('download' in a) {\n a.download = filename;\n }\n // must be in the document for IE and recent Firefox versions.\n // (otherwise .click() is ignored)\n (document.body || document.documentElement).appendChild(a);\n a.click();\n a.parentNode.removeChild(a);\n } else {\n if (window.top === window &&\n blobUrl.split('#')[0] === window.location.href.split('#')[0]) {\n // If _parent == self, then opening an identical URL with different\n // location hash will only cause a navigation, not a download.\n let padCharacter = blobUrl.indexOf('?') === -1 ? '?' : '&';\n blobUrl = blobUrl.replace(/#|$/, padCharacter + '$&');\n }\n window.open(blobUrl, '_parent');\n }\n}\n\nclass DownloadManager {\n downloadUrl(url, filename) {\n if (!createValidAbsoluteUrl(url, 'http://example.com')) {\n return; // restricted/invalid URL\n }\n download(url + '#pdfjs.action=download', filename);\n }\n\n downloadData(data, filename, contentType) {\n if (navigator.msSaveBlob) { // IE10 and above\n return navigator.msSaveBlob(new Blob([data], { type: contentType, }),\n filename);\n }\n let blobUrl = createObjectURL(data, contentType,\n PDFJS.disableCreateObjectURL);\n download(blobUrl, filename);\n }\n\n download(blob, url, filename) {\n if (navigator.msSaveBlob) {\n // IE10 / IE11\n if (!navigator.msSaveBlob(blob, filename)) {\n this.downloadUrl(url, filename);\n }\n return;\n }\n\n if (PDFJS.disableCreateObjectURL) {\n // URL.createObjectURL is not supported\n this.downloadUrl(url, filename);\n return;\n }\n\n let blobUrl = URL.createObjectURL(blob);\n download(blobUrl, filename);\n }\n}\n\nexport {\n DownloadManager,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/download_manager.js","/* Copyright 2017 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport '../external/webL10n/l10n';\n\nlet webL10n = document.webL10n;\n\nclass GenericL10n {\n constructor(lang) {\n this._lang = lang;\n this._ready = new Promise((resolve, reject) => {\n webL10n.setLanguage(lang, () => {\n resolve(webL10n);\n });\n });\n }\n\n getDirection() {\n return this._ready.then((l10n) => {\n return l10n.getDirection();\n });\n }\n\n get(property, args, fallback) {\n return this._ready.then((l10n) => {\n return l10n.get(property, args, fallback);\n });\n }\n\n translate(element) {\n return this._ready.then((l10n) => {\n return l10n.translate(element);\n });\n }\n}\n\nexport {\n GenericL10n,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/genericl10n.js","/**\n * Copyright (c) 2011-2013 Fabien Cazenave, Mozilla.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to\n * deal in the Software without restriction, including without limitation the\n * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\n * sell copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n * IN THE SOFTWARE.\n */\n/*\n Additional modifications for PDF.js project:\n - Disables language initialization on page loading.\n - Disables document translation on page loading.\n - Removes consoleWarn and consoleLog and use console.log/warn directly.\n - Removes window._ assignment.\n - Remove compatibility code for OldIE.\n*/\n\n/*jshint browser: true, devel: true, es5: true, globalstrict: true */\n'use strict';\n\ndocument.webL10n = (function(window, document, undefined) {\n var gL10nData = {};\n var gTextData = '';\n var gTextProp = 'textContent';\n var gLanguage = '';\n var gMacros = {};\n var gReadyState = 'loading';\n\n\n /**\n * Synchronously loading l10n resources significantly minimizes flickering\n * from displaying the app with non-localized strings and then updating the\n * strings. Although this will block all script execution on this page, we\n * expect that the l10n resources are available locally on flash-storage.\n *\n * As synchronous XHR is generally considered as a bad idea, we're still\n * loading l10n resources asynchronously -- but we keep this in a setting,\n * just in case... and applications using this library should hide their\n * content until the `localized' event happens.\n */\n\n var gAsyncResourceLoading = true; // read-only\n\n\n /**\n * DOM helpers for the so-called \"HTML API\".\n *\n * These functions are written for modern browsers. For old versions of IE,\n * they're overridden in the 'startup' section at the end of this file.\n */\n\n function getL10nResourceLinks() {\n return document.querySelectorAll('link[type=\"application/l10n\"]');\n }\n\n function getL10nDictionary() {\n var script = document.querySelector('script[type=\"application/l10n\"]');\n // TODO: support multiple and external JSON dictionaries\n return script ? JSON.parse(script.innerHTML) : null;\n }\n\n function getTranslatableChildren(element) {\n return element ? element.querySelectorAll('*[data-l10n-id]') : [];\n }\n\n function getL10nAttributes(element) {\n if (!element)\n return {};\n\n var l10nId = element.getAttribute('data-l10n-id');\n var l10nArgs = element.getAttribute('data-l10n-args');\n var args = {};\n if (l10nArgs) {\n try {\n args = JSON.parse(l10nArgs);\n } catch (e) {\n console.warn('could not parse arguments for #' + l10nId);\n }\n }\n return { id: l10nId, args: args };\n }\n\n function fireL10nReadyEvent(lang) {\n var evtObject = document.createEvent('Event');\n evtObject.initEvent('localized', true, false);\n evtObject.language = lang;\n document.dispatchEvent(evtObject);\n }\n\n function xhrLoadText(url, onSuccess, onFailure) {\n onSuccess = onSuccess || function _onSuccess(data) {};\n onFailure = onFailure || function _onFailure() {};\n\n var xhr = new XMLHttpRequest();\n xhr.open('GET', url, gAsyncResourceLoading);\n if (xhr.overrideMimeType) {\n xhr.overrideMimeType('text/plain; charset=utf-8');\n }\n xhr.onreadystatechange = function() {\n if (xhr.readyState == 4) {\n if (xhr.status == 200 || xhr.status === 0) {\n onSuccess(xhr.responseText);\n } else {\n onFailure();\n }\n }\n };\n xhr.onerror = onFailure;\n xhr.ontimeout = onFailure;\n\n // in Firefox OS with the app:// protocol, trying to XHR a non-existing\n // URL will raise an exception here -- hence this ugly try...catch.\n try {\n xhr.send(null);\n } catch (e) {\n onFailure();\n }\n }\n\n\n /**\n * l10n resource parser:\n * - reads (async XHR) the l10n resource matching `lang';\n * - imports linked resources (synchronously) when specified;\n * - parses the text data (fills `gL10nData' and `gTextData');\n * - triggers success/failure callbacks when done.\n *\n * @param {string} href\n * URL of the l10n resource to parse.\n *\n * @param {string} lang\n * locale (language) to parse. Must be a lowercase string.\n *\n * @param {Function} successCallback\n * triggered when the l10n resource has been successully parsed.\n *\n * @param {Function} failureCallback\n * triggered when the an error has occured.\n *\n * @return {void}\n * uses the following global variables: gL10nData, gTextData, gTextProp.\n */\n\n function parseResource(href, lang, successCallback, failureCallback) {\n var baseURL = href.replace(/[^\\/]*$/, '') || './';\n\n // handle escaped characters (backslashes) in a string\n function evalString(text) {\n if (text.lastIndexOf('\\\\') < 0)\n return text;\n return text.replace(/\\\\\\\\/g, '\\\\')\n .replace(/\\\\n/g, '\\n')\n .replace(/\\\\r/g, '\\r')\n .replace(/\\\\t/g, '\\t')\n .replace(/\\\\b/g, '\\b')\n .replace(/\\\\f/g, '\\f')\n .replace(/\\\\{/g, '{')\n .replace(/\\\\}/g, '}')\n .replace(/\\\\\"/g, '\"')\n .replace(/\\\\'/g, \"'\");\n }\n\n // parse *.properties text data into an l10n dictionary\n // If gAsyncResourceLoading is false, then the callback will be called\n // synchronously. Otherwise it is called asynchronously.\n function parseProperties(text, parsedPropertiesCallback) {\n var dictionary = {};\n\n // token expressions\n var reBlank = /^\\s*|\\s*$/;\n var reComment = /^\\s*#|^\\s*$/;\n var reSection = /^\\s*\\[(.*)\\]\\s*$/;\n var reImport = /^\\s*@import\\s+url\\((.*)\\)\\s*$/i;\n var reSplit = /^([^=\\s]*)\\s*=\\s*(.+)$/; // TODO: escape EOLs with '\\'\n\n // parse the *.properties file into an associative array\n function parseRawLines(rawText, extendedSyntax, parsedRawLinesCallback) {\n var entries = rawText.replace(reBlank, '').split(/[\\r\\n]+/);\n var currentLang = '*';\n var genericLang = lang.split('-', 1)[0];\n var skipLang = false;\n var match = '';\n\n function nextEntry() {\n // Use infinite loop instead of recursion to avoid reaching the\n // maximum recursion limit for content with many lines.\n while (true) {\n if (!entries.length) {\n parsedRawLinesCallback();\n return;\n }\n var line = entries.shift();\n\n // comment or blank line?\n if (reComment.test(line))\n continue;\n\n // the extended syntax supports [lang] sections and @import rules\n if (extendedSyntax) {\n match = reSection.exec(line);\n if (match) { // section start?\n // RFC 4646, section 4.4, \"All comparisons MUST be performed\n // in a case-insensitive manner.\"\n\n currentLang = match[1].toLowerCase();\n skipLang = (currentLang !== '*') &&\n (currentLang !== lang) && (currentLang !== genericLang);\n continue;\n } else if (skipLang) {\n continue;\n }\n match = reImport.exec(line);\n if (match) { // @import rule?\n loadImport(baseURL + match[1], nextEntry);\n return;\n }\n }\n\n // key-value pair\n var tmp = line.match(reSplit);\n if (tmp && tmp.length == 3) {\n dictionary[tmp[1]] = evalString(tmp[2]);\n }\n }\n }\n nextEntry();\n }\n\n // import another *.properties file\n function loadImport(url, callback) {\n xhrLoadText(url, function(content) {\n parseRawLines(content, false, callback); // don't allow recursive imports\n }, function () {\n console.warn(url + ' not found.');\n callback();\n });\n }\n\n // fill the dictionary\n parseRawLines(text, true, function() {\n parsedPropertiesCallback(dictionary);\n });\n }\n\n // load and parse l10n data (warning: global variables are used here)\n xhrLoadText(href, function(response) {\n gTextData += response; // mostly for debug\n\n // parse *.properties text data into an l10n dictionary\n parseProperties(response, function(data) {\n\n // find attribute descriptions, if any\n for (var key in data) {\n var id, prop, index = key.lastIndexOf('.');\n if (index > 0) { // an attribute has been specified\n id = key.substring(0, index);\n prop = key.substr(index + 1);\n } else { // no attribute: assuming text content by default\n id = key;\n prop = gTextProp;\n }\n if (!gL10nData[id]) {\n gL10nData[id] = {};\n }\n gL10nData[id][prop] = data[key];\n }\n\n // trigger callback\n if (successCallback) {\n successCallback();\n }\n });\n }, failureCallback);\n }\n\n // load and parse all resources for the specified locale\n function loadLocale(lang, callback) {\n // RFC 4646, section 2.1 states that language tags have to be treated as\n // case-insensitive. Convert to lowercase for case-insensitive comparisons.\n if (lang) {\n lang = lang.toLowerCase();\n }\n\n callback = callback || function _callback() {};\n\n clear();\n gLanguage = lang;\n\n // check all nodes\n // and load the resource files\n var langLinks = getL10nResourceLinks();\n var langCount = langLinks.length;\n if (langCount === 0) {\n // we might have a pre-compiled dictionary instead\n var dict = getL10nDictionary();\n if (dict && dict.locales && dict.default_locale) {\n console.log('using the embedded JSON directory, early way out');\n gL10nData = dict.locales[lang];\n if (!gL10nData) {\n var defaultLocale = dict.default_locale.toLowerCase();\n for (var anyCaseLang in dict.locales) {\n anyCaseLang = anyCaseLang.toLowerCase();\n if (anyCaseLang === lang) {\n gL10nData = dict.locales[lang];\n break;\n } else if (anyCaseLang === defaultLocale) {\n gL10nData = dict.locales[defaultLocale];\n }\n }\n }\n callback();\n } else {\n console.log('no resource to load, early way out');\n }\n // early way out\n fireL10nReadyEvent(lang);\n gReadyState = 'complete';\n return;\n }\n\n // start the callback when all resources are loaded\n var onResourceLoaded = null;\n var gResourceCount = 0;\n onResourceLoaded = function() {\n gResourceCount++;\n if (gResourceCount >= langCount) {\n callback();\n fireL10nReadyEvent(lang);\n gReadyState = 'complete';\n }\n };\n\n // load all resource files\n function L10nResourceLink(link) {\n var href = link.href;\n // Note: If |gAsyncResourceLoading| is false, then the following callbacks\n // are synchronously called.\n this.load = function(lang, callback) {\n parseResource(href, lang, callback, function() {\n console.warn(href + ' not found.');\n // lang not found, used default resource instead\n console.warn('\"' + lang + '\" resource not found');\n gLanguage = '';\n // Resource not loaded, but we still need to call the callback.\n callback();\n });\n };\n }\n\n for (var i = 0; i < langCount; i++) {\n var resource = new L10nResourceLink(langLinks[i]);\n resource.load(lang, onResourceLoaded);\n }\n }\n\n // clear all l10n data\n function clear() {\n gL10nData = {};\n gTextData = '';\n gLanguage = '';\n // TODO: clear all non predefined macros.\n // There's no such macro /yet/ but we're planning to have some...\n }\n\n\n /**\n * Get rules for plural forms (shared with JetPack), see:\n * http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html\n * https://github.com/mozilla/addon-sdk/blob/master/python-lib/plural-rules-generator.p\n *\n * @param {string} lang\n * locale (language) used.\n *\n * @return {Function}\n * returns a function that gives the plural form name for a given integer:\n * var fun = getPluralRules('en');\n * fun(1) -> 'one'\n * fun(0) -> 'other'\n * fun(1000) -> 'other'.\n */\n\n function getPluralRules(lang) {\n var locales2rules = {\n 'af': 3,\n 'ak': 4,\n 'am': 4,\n 'ar': 1,\n 'asa': 3,\n 'az': 0,\n 'be': 11,\n 'bem': 3,\n 'bez': 3,\n 'bg': 3,\n 'bh': 4,\n 'bm': 0,\n 'bn': 3,\n 'bo': 0,\n 'br': 20,\n 'brx': 3,\n 'bs': 11,\n 'ca': 3,\n 'cgg': 3,\n 'chr': 3,\n 'cs': 12,\n 'cy': 17,\n 'da': 3,\n 'de': 3,\n 'dv': 3,\n 'dz': 0,\n 'ee': 3,\n 'el': 3,\n 'en': 3,\n 'eo': 3,\n 'es': 3,\n 'et': 3,\n 'eu': 3,\n 'fa': 0,\n 'ff': 5,\n 'fi': 3,\n 'fil': 4,\n 'fo': 3,\n 'fr': 5,\n 'fur': 3,\n 'fy': 3,\n 'ga': 8,\n 'gd': 24,\n 'gl': 3,\n 'gsw': 3,\n 'gu': 3,\n 'guw': 4,\n 'gv': 23,\n 'ha': 3,\n 'haw': 3,\n 'he': 2,\n 'hi': 4,\n 'hr': 11,\n 'hu': 0,\n 'id': 0,\n 'ig': 0,\n 'ii': 0,\n 'is': 3,\n 'it': 3,\n 'iu': 7,\n 'ja': 0,\n 'jmc': 3,\n 'jv': 0,\n 'ka': 0,\n 'kab': 5,\n 'kaj': 3,\n 'kcg': 3,\n 'kde': 0,\n 'kea': 0,\n 'kk': 3,\n 'kl': 3,\n 'km': 0,\n 'kn': 0,\n 'ko': 0,\n 'ksb': 3,\n 'ksh': 21,\n 'ku': 3,\n 'kw': 7,\n 'lag': 18,\n 'lb': 3,\n 'lg': 3,\n 'ln': 4,\n 'lo': 0,\n 'lt': 10,\n 'lv': 6,\n 'mas': 3,\n 'mg': 4,\n 'mk': 16,\n 'ml': 3,\n 'mn': 3,\n 'mo': 9,\n 'mr': 3,\n 'ms': 0,\n 'mt': 15,\n 'my': 0,\n 'nah': 3,\n 'naq': 7,\n 'nb': 3,\n 'nd': 3,\n 'ne': 3,\n 'nl': 3,\n 'nn': 3,\n 'no': 3,\n 'nr': 3,\n 'nso': 4,\n 'ny': 3,\n 'nyn': 3,\n 'om': 3,\n 'or': 3,\n 'pa': 3,\n 'pap': 3,\n 'pl': 13,\n 'ps': 3,\n 'pt': 3,\n 'rm': 3,\n 'ro': 9,\n 'rof': 3,\n 'ru': 11,\n 'rwk': 3,\n 'sah': 0,\n 'saq': 3,\n 'se': 7,\n 'seh': 3,\n 'ses': 0,\n 'sg': 0,\n 'sh': 11,\n 'shi': 19,\n 'sk': 12,\n 'sl': 14,\n 'sma': 7,\n 'smi': 7,\n 'smj': 7,\n 'smn': 7,\n 'sms': 7,\n 'sn': 3,\n 'so': 3,\n 'sq': 3,\n 'sr': 11,\n 'ss': 3,\n 'ssy': 3,\n 'st': 3,\n 'sv': 3,\n 'sw': 3,\n 'syr': 3,\n 'ta': 3,\n 'te': 3,\n 'teo': 3,\n 'th': 0,\n 'ti': 4,\n 'tig': 3,\n 'tk': 3,\n 'tl': 4,\n 'tn': 3,\n 'to': 0,\n 'tr': 0,\n 'ts': 3,\n 'tzm': 22,\n 'uk': 11,\n 'ur': 3,\n 've': 3,\n 'vi': 0,\n 'vun': 3,\n 'wa': 4,\n 'wae': 3,\n 'wo': 0,\n 'xh': 3,\n 'xog': 3,\n 'yo': 0,\n 'zh': 0,\n 'zu': 3\n };\n\n // utility functions for plural rules methods\n function isIn(n, list) {\n return list.indexOf(n) !== -1;\n }\n function isBetween(n, start, end) {\n return start <= n && n <= end;\n }\n\n // list of all plural rules methods:\n // map an integer to the plural form name to use\n var pluralRules = {\n '0': function(n) {\n return 'other';\n },\n '1': function(n) {\n if ((isBetween((n % 100), 3, 10)))\n return 'few';\n if (n === 0)\n return 'zero';\n if ((isBetween((n % 100), 11, 99)))\n return 'many';\n if (n == 2)\n return 'two';\n if (n == 1)\n return 'one';\n return 'other';\n },\n '2': function(n) {\n if (n !== 0 && (n % 10) === 0)\n return 'many';\n if (n == 2)\n return 'two';\n if (n == 1)\n return 'one';\n return 'other';\n },\n '3': function(n) {\n if (n == 1)\n return 'one';\n return 'other';\n },\n '4': function(n) {\n if ((isBetween(n, 0, 1)))\n return 'one';\n return 'other';\n },\n '5': function(n) {\n if ((isBetween(n, 0, 2)) && n != 2)\n return 'one';\n return 'other';\n },\n '6': function(n) {\n if (n === 0)\n return 'zero';\n if ((n % 10) == 1 && (n % 100) != 11)\n return 'one';\n return 'other';\n },\n '7': function(n) {\n if (n == 2)\n return 'two';\n if (n == 1)\n return 'one';\n return 'other';\n },\n '8': function(n) {\n if ((isBetween(n, 3, 6)))\n return 'few';\n if ((isBetween(n, 7, 10)))\n return 'many';\n if (n == 2)\n return 'two';\n if (n == 1)\n return 'one';\n return 'other';\n },\n '9': function(n) {\n if (n === 0 || n != 1 && (isBetween((n % 100), 1, 19)))\n return 'few';\n if (n == 1)\n return 'one';\n return 'other';\n },\n '10': function(n) {\n if ((isBetween((n % 10), 2, 9)) && !(isBetween((n % 100), 11, 19)))\n return 'few';\n if ((n % 10) == 1 && !(isBetween((n % 100), 11, 19)))\n return 'one';\n return 'other';\n },\n '11': function(n) {\n if ((isBetween((n % 10), 2, 4)) && !(isBetween((n % 100), 12, 14)))\n return 'few';\n if ((n % 10) === 0 ||\n (isBetween((n % 10), 5, 9)) ||\n (isBetween((n % 100), 11, 14)))\n return 'many';\n if ((n % 10) == 1 && (n % 100) != 11)\n return 'one';\n return 'other';\n },\n '12': function(n) {\n if ((isBetween(n, 2, 4)))\n return 'few';\n if (n == 1)\n return 'one';\n return 'other';\n },\n '13': function(n) {\n if ((isBetween((n % 10), 2, 4)) && !(isBetween((n % 100), 12, 14)))\n return 'few';\n if (n != 1 && (isBetween((n % 10), 0, 1)) ||\n (isBetween((n % 10), 5, 9)) ||\n (isBetween((n % 100), 12, 14)))\n return 'many';\n if (n == 1)\n return 'one';\n return 'other';\n },\n '14': function(n) {\n if ((isBetween((n % 100), 3, 4)))\n return 'few';\n if ((n % 100) == 2)\n return 'two';\n if ((n % 100) == 1)\n return 'one';\n return 'other';\n },\n '15': function(n) {\n if (n === 0 || (isBetween((n % 100), 2, 10)))\n return 'few';\n if ((isBetween((n % 100), 11, 19)))\n return 'many';\n if (n == 1)\n return 'one';\n return 'other';\n },\n '16': function(n) {\n if ((n % 10) == 1 && n != 11)\n return 'one';\n return 'other';\n },\n '17': function(n) {\n if (n == 3)\n return 'few';\n if (n === 0)\n return 'zero';\n if (n == 6)\n return 'many';\n if (n == 2)\n return 'two';\n if (n == 1)\n return 'one';\n return 'other';\n },\n '18': function(n) {\n if (n === 0)\n return 'zero';\n if ((isBetween(n, 0, 2)) && n !== 0 && n != 2)\n return 'one';\n return 'other';\n },\n '19': function(n) {\n if ((isBetween(n, 2, 10)))\n return 'few';\n if ((isBetween(n, 0, 1)))\n return 'one';\n return 'other';\n },\n '20': function(n) {\n if ((isBetween((n % 10), 3, 4) || ((n % 10) == 9)) && !(\n isBetween((n % 100), 10, 19) ||\n isBetween((n % 100), 70, 79) ||\n isBetween((n % 100), 90, 99)\n ))\n return 'few';\n if ((n % 1000000) === 0 && n !== 0)\n return 'many';\n if ((n % 10) == 2 && !isIn((n % 100), [12, 72, 92]))\n return 'two';\n if ((n % 10) == 1 && !isIn((n % 100), [11, 71, 91]))\n return 'one';\n return 'other';\n },\n '21': function(n) {\n if (n === 0)\n return 'zero';\n if (n == 1)\n return 'one';\n return 'other';\n },\n '22': function(n) {\n if ((isBetween(n, 0, 1)) || (isBetween(n, 11, 99)))\n return 'one';\n return 'other';\n },\n '23': function(n) {\n if ((isBetween((n % 10), 1, 2)) || (n % 20) === 0)\n return 'one';\n return 'other';\n },\n '24': function(n) {\n if ((isBetween(n, 3, 10) || isBetween(n, 13, 19)))\n return 'few';\n if (isIn(n, [2, 12]))\n return 'two';\n if (isIn(n, [1, 11]))\n return 'one';\n return 'other';\n }\n };\n\n // return a function that gives the plural form name for a given integer\n var index = locales2rules[lang.replace(/-.*$/, '')];\n if (!(index in pluralRules)) {\n console.warn('plural form unknown for [' + lang + ']');\n return function() { return 'other'; };\n }\n return pluralRules[index];\n }\n\n // pre-defined 'plural' macro\n gMacros.plural = function(str, param, key, prop) {\n var n = parseFloat(param);\n if (isNaN(n))\n return str;\n\n // TODO: support other properties (l20n still doesn't...)\n if (prop != gTextProp)\n return str;\n\n // initialize _pluralRules\n if (!gMacros._pluralRules) {\n gMacros._pluralRules = getPluralRules(gLanguage);\n }\n var index = '[' + gMacros._pluralRules(n) + ']';\n\n // try to find a [zero|one|two] key if it's defined\n if (n === 0 && (key + '[zero]') in gL10nData) {\n str = gL10nData[key + '[zero]'][prop];\n } else if (n == 1 && (key + '[one]') in gL10nData) {\n str = gL10nData[key + '[one]'][prop];\n } else if (n == 2 && (key + '[two]') in gL10nData) {\n str = gL10nData[key + '[two]'][prop];\n } else if ((key + index) in gL10nData) {\n str = gL10nData[key + index][prop];\n } else if ((key + '[other]') in gL10nData) {\n str = gL10nData[key + '[other]'][prop];\n }\n\n return str;\n };\n\n\n /**\n * l10n dictionary functions\n */\n\n // fetch an l10n object, warn if not found, apply `args' if possible\n function getL10nData(key, args, fallback) {\n var data = gL10nData[key];\n if (!data) {\n console.warn('#' + key + ' is undefined.');\n if (!fallback) {\n return null;\n }\n data = fallback;\n }\n\n /** This is where l10n expressions should be processed.\n * The plan is to support C-style expressions from the l20n project;\n * until then, only two kinds of simple expressions are supported:\n * {[ index ]} and {{ arguments }}.\n */\n var rv = {};\n for (var prop in data) {\n var str = data[prop];\n str = substIndexes(str, args, key, prop);\n str = substArguments(str, args, key);\n rv[prop] = str;\n }\n return rv;\n }\n\n // replace {[macros]} with their values\n function substIndexes(str, args, key, prop) {\n var reIndex = /\\{\\[\\s*([a-zA-Z]+)\\(([a-zA-Z]+)\\)\\s*\\]\\}/;\n var reMatch = reIndex.exec(str);\n if (!reMatch || !reMatch.length)\n return str;\n\n // an index/macro has been found\n // Note: at the moment, only one parameter is supported\n var macroName = reMatch[1];\n var paramName = reMatch[2];\n var param;\n if (args && paramName in args) {\n param = args[paramName];\n } else if (paramName in gL10nData) {\n param = gL10nData[paramName];\n }\n\n // there's no macro parser yet: it has to be defined in gMacros\n if (macroName in gMacros) {\n var macro = gMacros[macroName];\n str = macro(str, param, key, prop);\n }\n return str;\n }\n\n // replace {{arguments}} with their values\n function substArguments(str, args, key) {\n var reArgs = /\\{\\{\\s*(.+?)\\s*\\}\\}/g;\n return str.replace(reArgs, function(matched_text, arg) {\n if (args && arg in args) {\n return args[arg];\n }\n if (arg in gL10nData) {\n return gL10nData[arg];\n }\n console.log('argument {{' + arg + '}} for #' + key + ' is undefined.');\n return matched_text;\n });\n }\n\n // translate an HTML element\n function translateElement(element) {\n var l10n = getL10nAttributes(element);\n if (!l10n.id)\n return;\n\n // get the related l10n object\n var data = getL10nData(l10n.id, l10n.args);\n if (!data) {\n console.warn('#' + l10n.id + ' is undefined.');\n return;\n }\n\n // translate element (TODO: security checks?)\n if (data[gTextProp]) { // XXX\n if (getChildElementCount(element) === 0) {\n element[gTextProp] = data[gTextProp];\n } else {\n // this element has element children: replace the content of the first\n // (non-empty) child textNode and clear other child textNodes\n var children = element.childNodes;\n var found = false;\n for (var i = 0, l = children.length; i < l; i++) {\n if (children[i].nodeType === 3 && /\\S/.test(children[i].nodeValue)) {\n if (found) {\n children[i].nodeValue = '';\n } else {\n children[i].nodeValue = data[gTextProp];\n found = true;\n }\n }\n }\n // if no (non-empty) textNode is found, insert a textNode before the\n // first element child.\n if (!found) {\n var textNode = document.createTextNode(data[gTextProp]);\n element.insertBefore(textNode, element.firstChild);\n }\n }\n delete data[gTextProp];\n }\n\n for (var k in data) {\n element[k] = data[k];\n }\n }\n\n // webkit browsers don't currently support 'children' on SVG elements...\n function getChildElementCount(element) {\n if (element.children) {\n return element.children.length;\n }\n if (typeof element.childElementCount !== 'undefined') {\n return element.childElementCount;\n }\n var count = 0;\n for (var i = 0; i < element.childNodes.length; i++) {\n count += element.nodeType === 1 ? 1 : 0;\n }\n return count;\n }\n\n // translate an HTML subtree\n function translateFragment(element) {\n element = element || document.documentElement;\n\n // check all translatable children (= w/ a `data-l10n-id' attribute)\n var children = getTranslatableChildren(element);\n var elementCount = children.length;\n for (var i = 0; i < elementCount; i++) {\n translateElement(children[i]);\n }\n\n // translate element itself if necessary\n translateElement(element);\n }\n\n return {\n // get a localized string\n get: function(key, args, fallbackString) {\n var index = key.lastIndexOf('.');\n var prop = gTextProp;\n if (index > 0) { // An attribute has been specified\n prop = key.substr(index + 1);\n key = key.substring(0, index);\n }\n var fallback;\n if (fallbackString) {\n fallback = {};\n fallback[prop] = fallbackString;\n }\n var data = getL10nData(key, args, fallback);\n if (data && prop in data) {\n return data[prop];\n }\n return '{{' + key + '}}';\n },\n\n // debug\n getData: function() { return gL10nData; },\n getText: function() { return gTextData; },\n\n // get|set the document language\n getLanguage: function() { return gLanguage; },\n setLanguage: function(lang, callback) {\n loadLocale(lang, function() {\n if (callback)\n callback();\n });\n },\n\n // get the direction (ltr|rtl) of the current language\n getDirection: function() {\n // http://www.w3.org/International/questions/qa-scripts\n // Arabic, Hebrew, Farsi, Pashto, Urdu\n var rtlList = ['ar', 'he', 'fa', 'ps', 'ur'];\n var shortCode = gLanguage.split('-', 1)[0];\n return (rtlList.indexOf(shortCode) >= 0) ? 'rtl' : 'ltr';\n },\n\n // translate an element or document fragment\n translate: translateFragment,\n\n // this can be used to prevent race conditions\n getReadyState: function() { return gReadyState; },\n ready: function(callback) {\n if (!callback) {\n return;\n } else if (gReadyState == 'complete' || gReadyState == 'interactive') {\n window.setTimeout(function() {\n callback();\n });\n } else if (document.addEventListener) {\n document.addEventListener('localized', function once() {\n document.removeEventListener('localized', once);\n callback();\n });\n }\n }\n };\n}) (window, document);\n\n\n\n// WEBPACK FOOTER //\n// external/webL10n/l10n.js","/* Copyright 2016 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { CSS_UNITS, NullL10n } from './ui_utils';\nimport { PDFPrintServiceFactory, PDFViewerApplication } from './app';\nimport { PDFJS } from 'pdfjs-lib';\n\nlet activeService = null;\nlet overlayManager = null;\n\n// Renders the page to the canvas of the given print service, and returns\n// the suggested dimensions of the output page.\nfunction renderPage(activeServiceOnEntry, pdfDocument, pageNumber, size) {\n let scratchCanvas = activeService.scratchCanvas;\n\n // The size of the canvas in pixels for printing.\n const PRINT_RESOLUTION = 150;\n const PRINT_UNITS = PRINT_RESOLUTION / 72.0;\n scratchCanvas.width = Math.floor(size.width * PRINT_UNITS);\n scratchCanvas.height = Math.floor(size.height * PRINT_UNITS);\n\n // The physical size of the img as specified by the PDF document.\n let width = Math.floor(size.width * CSS_UNITS) + 'px';\n let height = Math.floor(size.height * CSS_UNITS) + 'px';\n\n let ctx = scratchCanvas.getContext('2d');\n ctx.save();\n ctx.fillStyle = 'rgb(255, 255, 255)';\n ctx.fillRect(0, 0, scratchCanvas.width, scratchCanvas.height);\n ctx.restore();\n\n return pdfDocument.getPage(pageNumber).then(function(pdfPage) {\n let renderContext = {\n canvasContext: ctx,\n transform: [PRINT_UNITS, 0, 0, PRINT_UNITS, 0, 0],\n viewport: pdfPage.getViewport(1, size.rotation),\n intent: 'print',\n };\n return pdfPage.render(renderContext).promise;\n }).then(function() {\n return {\n width,\n height,\n };\n });\n}\n\nfunction PDFPrintService(pdfDocument, pagesOverview, printContainer, l10n) {\n this.pdfDocument = pdfDocument;\n this.pagesOverview = pagesOverview;\n this.printContainer = printContainer;\n this.l10n = l10n || NullL10n;\n this.currentPage = -1;\n // The temporary canvas where renderPage paints one page at a time.\n this.scratchCanvas = document.createElement('canvas');\n}\n\nPDFPrintService.prototype = {\n layout() {\n this.throwIfInactive();\n\n let body = document.querySelector('body');\n body.setAttribute('data-pdfjsprinting', true);\n\n let hasEqualPageSizes = this.pagesOverview.every(function(size) {\n return size.width === this.pagesOverview[0].width &&\n size.height === this.pagesOverview[0].height;\n }, this);\n if (!hasEqualPageSizes) {\n console.warn('Not all pages have the same size. The printed ' +\n 'result may be incorrect!');\n }\n\n // Insert a @page + size rule to make sure that the page size is correctly\n // set. Note that we assume that all pages have the same size, because\n // variable-size pages are not supported yet (e.g. in Chrome & Firefox).\n // TODO(robwu): Use named pages when size calculation bugs get resolved\n // (e.g. https://crbug.com/355116) AND when support for named pages is\n // added (http://www.w3.org/TR/css3-page/#using-named-pages).\n // In browsers where @page + size is not supported (such as Firefox,\n // https://bugzil.la/851441), the next stylesheet will be ignored and the\n // user has to select the correct paper size in the UI if wanted.\n this.pageStyleSheet = document.createElement('style');\n let pageSize = this.pagesOverview[0];\n this.pageStyleSheet.textContent =\n // \"size: \" is what we need. But also add \"A4\" because\n // Firefox incorrectly reports support for the other value.\n '@supports ((size:A4) and (size:1pt 1pt)) {' +\n '@page { size: ' + pageSize.width + 'pt ' + pageSize.height + 'pt;}' +\n '}';\n body.appendChild(this.pageStyleSheet);\n },\n\n destroy() {\n if (activeService !== this) {\n // |activeService| cannot be replaced without calling destroy() first,\n // so if it differs then an external consumer has a stale reference to\n // us.\n return;\n }\n this.printContainer.textContent = '';\n if (this.pageStyleSheet && this.pageStyleSheet.parentNode) {\n this.pageStyleSheet.parentNode.removeChild(this.pageStyleSheet);\n this.pageStyleSheet = null;\n }\n this.scratchCanvas.width = this.scratchCanvas.height = 0;\n this.scratchCanvas = null;\n activeService = null;\n ensureOverlay().then(function() {\n if (overlayManager.active !== 'printServiceOverlay') {\n return; // overlay was already closed\n }\n overlayManager.close('printServiceOverlay');\n });\n },\n\n renderPages() {\n let pageCount = this.pagesOverview.length;\n let renderNextPage = (resolve, reject) => {\n this.throwIfInactive();\n if (++this.currentPage >= pageCount) {\n renderProgress(pageCount, pageCount, this.l10n);\n resolve();\n return;\n }\n let index = this.currentPage;\n renderProgress(index, pageCount, this.l10n);\n renderPage(this, this.pdfDocument, index + 1, this.pagesOverview[index])\n .then(this.useRenderedPage.bind(this))\n .then(function() {\n renderNextPage(resolve, reject);\n }, reject);\n };\n return new Promise(renderNextPage);\n },\n\n useRenderedPage(printItem) {\n this.throwIfInactive();\n let img = document.createElement('img');\n img.style.width = printItem.width;\n img.style.height = printItem.height;\n\n let scratchCanvas = this.scratchCanvas;\n if (('toBlob' in scratchCanvas) && !PDFJS.disableCreateObjectURL) {\n scratchCanvas.toBlob(function(blob) {\n img.src = URL.createObjectURL(blob);\n });\n } else {\n img.src = scratchCanvas.toDataURL();\n }\n\n let wrapper = document.createElement('div');\n wrapper.appendChild(img);\n this.printContainer.appendChild(wrapper);\n\n return new Promise(function(resolve, reject) {\n img.onload = resolve;\n img.onerror = reject;\n });\n },\n\n performPrint() {\n this.throwIfInactive();\n return new Promise((resolve) => {\n // Push window.print in the macrotask queue to avoid being affected by\n // the deprecation of running print() code in a microtask, see\n // https://github.com/mozilla/pdf.js/issues/7547.\n setTimeout(() => {\n if (!this.active) {\n resolve();\n return;\n }\n print.call(window);\n // Delay promise resolution in case print() was not synchronous.\n setTimeout(resolve, 20); // Tidy-up.\n }, 0);\n });\n },\n\n get active() {\n return this === activeService;\n },\n\n throwIfInactive() {\n if (!this.active) {\n throw new Error('This print request was cancelled or completed.');\n }\n },\n};\n\n\nlet print = window.print;\nwindow.print = function print() {\n if (activeService) {\n console.warn('Ignored window.print() because of a pending print job.');\n return;\n }\n ensureOverlay().then(function() {\n if (activeService) {\n overlayManager.open('printServiceOverlay');\n }\n });\n\n try {\n dispatchEvent('beforeprint');\n } finally {\n if (!activeService) {\n console.error('Expected print service to be initialized.');\n ensureOverlay().then(function() {\n if (overlayManager.active === 'printServiceOverlay') {\n overlayManager.close('printServiceOverlay');\n }\n });\n return; // eslint-disable-line no-unsafe-finally\n }\n let activeServiceOnEntry = activeService;\n activeService.renderPages().then(function() {\n return activeServiceOnEntry.performPrint();\n }).catch(function() {\n // Ignore any error messages.\n }).then(function() {\n // aborts acts on the \"active\" print request, so we need to check\n // whether the print request (activeServiceOnEntry) is still active.\n // Without the check, an unrelated print request (created after aborting\n // this print request while the pages were being generated) would be\n // aborted.\n if (activeServiceOnEntry.active) {\n abort();\n }\n });\n }\n};\n\nfunction dispatchEvent(eventType) {\n let event = document.createEvent('CustomEvent');\n event.initCustomEvent(eventType, false, false, 'custom');\n window.dispatchEvent(event);\n}\n\nfunction abort() {\n if (activeService) {\n activeService.destroy();\n dispatchEvent('afterprint');\n }\n}\n\nfunction renderProgress(index, total, l10n) {\n let progressContainer = document.getElementById('printServiceOverlay');\n let progress = Math.round(100 * index / total);\n let progressBar = progressContainer.querySelector('progress');\n let progressPerc = progressContainer.querySelector('.relative-progress');\n progressBar.value = progress;\n l10n.get('print_progress_percent', { progress, }, progress + '%').\n then((msg) => {\n progressPerc.textContent = msg;\n });\n}\n\nlet hasAttachEvent = !!document.attachEvent;\n\nwindow.addEventListener('keydown', function(event) {\n // Intercept Cmd/Ctrl + P in all browsers.\n // Also intercept Cmd/Ctrl + Shift + P in Chrome and Opera\n if (event.keyCode === /* P= */ 80 && (event.ctrlKey || event.metaKey) &&\n !event.altKey && (!event.shiftKey || window.chrome || window.opera)) {\n window.print();\n if (hasAttachEvent) {\n // Only attachEvent can cancel Ctrl + P dialog in IE <=10\n // attachEvent is gone in IE11, so the dialog will re-appear in IE11.\n return;\n }\n event.preventDefault();\n if (event.stopImmediatePropagation) {\n event.stopImmediatePropagation();\n } else {\n event.stopPropagation();\n }\n return;\n }\n}, true);\nif (hasAttachEvent) {\n document.attachEvent('onkeydown', function(event) {\n event = event || window.event;\n if (event.keyCode === /* P= */ 80 && event.ctrlKey) {\n event.keyCode = 0;\n return false;\n }\n });\n}\n\nif ('onbeforeprint' in window) {\n // Do not propagate before/afterprint events when they are not triggered\n // from within this polyfill. (FF/IE).\n let stopPropagationIfNeeded = function(event) {\n if (event.detail !== 'custom' && event.stopImmediatePropagation) {\n event.stopImmediatePropagation();\n }\n };\n window.addEventListener('beforeprint', stopPropagationIfNeeded);\n window.addEventListener('afterprint', stopPropagationIfNeeded);\n}\n\nlet overlayPromise;\nfunction ensureOverlay() {\n if (!overlayPromise) {\n overlayManager = PDFViewerApplication.overlayManager;\n if (!overlayManager) {\n throw new Error('The overlay manager has not yet been initialized.');\n }\n\n overlayPromise = overlayManager.register('printServiceOverlay',\n document.getElementById('printServiceOverlay'), abort, true);\n document.getElementById('printCancel').onclick = abort;\n }\n return overlayPromise;\n}\n\nPDFPrintServiceFactory.instance = {\n supportsPrinting: true,\n\n createPrintService(pdfDocument, pagesOverview, printContainer, l10n) {\n if (activeService) {\n throw new Error('The print service is created and active.');\n }\n activeService = new PDFPrintService(pdfDocument, pagesOverview,\n printContainer, l10n);\n return activeService;\n },\n};\n\nexport {\n PDFPrintService,\n};\n\n\n\n// WEBPACK FOOTER //\n// web/pdf_print_service.js"],"sourceRoot":""} \ No newline at end of file diff --git a/NKC_WF/WebUserControls/cmp_secScreen.ascx b/NKC_WF/WebUserControls/cmp_secScreen.ascx index a0d60b4..63fb224 100644 --- a/NKC_WF/WebUserControls/cmp_secScreen.ascx +++ b/NKC_WF/WebUserControls/cmp_secScreen.ascx @@ -5,13 +5,15 @@
-
+
+ Scambia
-

<%: traduci("SecScreen") %> - +

<%: traduci("SecScreen") %> - <%: hfNum.Value %>

+
@@ -20,9 +22,60 @@
-
+
+
+ + + +
diff --git a/NKC_WF/WebUserControls/cmp_secScreen.ascx.cs b/NKC_WF/WebUserControls/cmp_secScreen.ascx.cs index bcbcb91..a301ed6 100644 --- a/NKC_WF/WebUserControls/cmp_secScreen.ascx.cs +++ b/NKC_WF/WebUserControls/cmp_secScreen.ascx.cs @@ -19,6 +19,7 @@ namespace NKC_WF.WebUserControls { showMode = true; doUpdate(); + pdfPath = "../temp/119752.pdf"; } } @@ -48,8 +49,17 @@ namespace NKC_WF.WebUserControls hfShowMode.Value =value.ToString(); } } - - + public string pdfPath + { + get + { + return lblPdf.Text; + } + set + { + lblPdf.Text = value.Trim(); + } + } /// /// restituisce URL immagine QRCode /// @@ -73,8 +83,10 @@ namespace NKC_WF.WebUserControls currNum = ComLib.getSecScreenCode(); // genero nuovo QR string qrUrl = getLoginUrl(); - imgQrMain.Visible = showMode; + divImg.Visible = showMode; + canvasPdf.Visible = !showMode; imgQrSmall.Visible = !showMode; + // fix img! if (showMode) { imgQrMain.ImageUrl = qrUrl; @@ -84,5 +96,11 @@ namespace NKC_WF.WebUserControls imgQrSmall.ImageUrl = qrUrl; } } + + protected void lbtScambia_Click(object sender, EventArgs e) + { + showMode = !showMode; + doUpdate(); + } } } \ No newline at end of file diff --git a/NKC_WF/WebUserControls/cmp_secScreen.ascx.designer.cs b/NKC_WF/WebUserControls/cmp_secScreen.ascx.designer.cs index e082bfc..e4954ec 100644 --- a/NKC_WF/WebUserControls/cmp_secScreen.ascx.designer.cs +++ b/NKC_WF/WebUserControls/cmp_secScreen.ascx.designer.cs @@ -32,6 +32,15 @@ namespace NKC_WF.WebUserControls /// protected global::System.Web.UI.WebControls.HiddenField hfShowMode; + /// + /// Controllo lbtScambia. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.LinkButton lbtScambia; + /// /// Controllo lblNum. /// @@ -41,6 +50,15 @@ namespace NKC_WF.WebUserControls /// protected global::System.Web.UI.WebControls.Label lblNum; + /// + /// Controllo lblPdf. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Label lblPdf; + /// /// Controllo imgQrSmall. /// @@ -50,6 +68,15 @@ namespace NKC_WF.WebUserControls /// protected global::System.Web.UI.WebControls.Image imgQrSmall; + /// + /// Controllo divImg. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl divImg; + /// /// Controllo imgQrMain. /// @@ -58,5 +85,14 @@ namespace NKC_WF.WebUserControls /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.Image imgQrMain; + + /// + /// Controllo canvasPdf. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl canvasPdf; } } diff --git a/NKC_WF/packages.config b/NKC_WF/packages.config index 7008d54..ab1508e 100644 --- a/NKC_WF/packages.config +++ b/NKC_WF/packages.config @@ -49,6 +49,7 @@ + diff --git a/NKC_WF/site/SecondScreen.aspx b/NKC_WF/site/SecondScreen.aspx index 71912b0..3daaab0 100644 --- a/NKC_WF/site/SecondScreen.aspx +++ b/NKC_WF/site/SecondScreen.aspx @@ -4,7 +4,7 @@ - + diff --git a/NKC_WF/site/SecondScreen.aspx.cs b/NKC_WF/site/SecondScreen.aspx.cs index 18fa833..ffb25f7 100644 --- a/NKC_WF/site/SecondScreen.aspx.cs +++ b/NKC_WF/site/SecondScreen.aspx.cs @@ -15,6 +15,7 @@ namespace NKC_WF protected void timerSecScreen_Tick(object sender, EventArgs e) { + cmp_secScreen.showMode = !cmp_secScreen.showMode; cmp_secScreen.doUpdate(); } } diff --git a/NKC_WF/temp/119752.pdf b/NKC_WF/temp/119752.pdf new file mode 100644 index 0000000..ab11f17 Binary files /dev/null and b/NKC_WF/temp/119752.pdf differ