pax_global_header00006660000000000000000000000064141616462110014514gustar00rootroot0000000000000052 comment=68452f96aacf5a3d07a52ab49c571924718752d3 pdfarranger-1.8.2/000077500000000000000000000000001416164621100140175ustar00rootroot00000000000000pdfarranger-1.8.2/.github/000077500000000000000000000000001416164621100153575ustar00rootroot00000000000000pdfarranger-1.8.2/.github/ISSUE_TEMPLATE/000077500000000000000000000000001416164621100175425ustar00rootroot00000000000000pdfarranger-1.8.2/.github/ISSUE_TEMPLATE/bug_report.md000066400000000000000000000016551416164621100222430ustar00rootroot00000000000000--- name: Bug report about: Create a report to help us improve title: '' labels: '' assignees: '' --- Describe the bug ---------------- A clear and concise description of what the bug is. To Reproduce ------------ Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error Expected behavior ----------------- A clear and concise description of what you expected to happen. Input files ----------- Check if the bug appear only with some PDF or image files. If the bug is specific to some files please attach one to the issue. Screenshots ----------- If applicable, add screenshots to help explain your problem. System and Versions ------------------- - PDF Arranger version and where you get it (distro package, flatpak, pip, git, download, ...) - pikepdf version and where you get it (distro package, pip, git, ...) - OS name and version (e.g.: Windows 10, Fedora 33, ...) pdfarranger-1.8.2/.github/workflows/000077500000000000000000000000001416164621100174145ustar00rootroot00000000000000pdfarranger-1.8.2/.github/workflows/install.yml000066400000000000000000000035531416164621100216130ustar00rootroot00000000000000name: pdfarranger on: push: branches: [ main ] pull_request: jobs: build: runs-on: ubuntu-latest # PikePDF 4.2.0 container: jeromerobert/pdfarranger-docker-ci:1.4 steps: - uses: actions/checkout@v2 - name: Install run: pip3 install .[image] - name: AppStream run: appstreamcli validate /usr/share/metainfo/com.github.jeromerobert.pdfarranger.metainfo.xml - name: Validate Desktop File run: desktop-file-validate /usr/share/applications/com.github.jeromerobert.pdfarranger.desktop - name: Tests and Coverage run: python3 -X tracemalloc -u -m unittest discover -v -f -s tests - name: Codecov run: curl -s https://codecov.io/bash | bash build-old-pikepdf: runs-on: ubuntu-latest # PikePDF 1.19 container: jeromerobert/pdfarranger-docker-ci:1.3.1 steps: - uses: actions/checkout@v2 - name: Install run: pip3 install .[image] - name: Tests and Coverage run: python3 -X tracemalloc -u -m unittest discover -v -f -s tests build-win32: runs-on: ubuntu-latest container: image: jeromerobert/wine-mingw64:1.6.1 options: --user root steps: - uses: actions/checkout@v2 - run: ./setup.py build - run: HOME=/root wine python setup_win32.py bdist_msi - run: HOME=/root wine python setup_win32.py bdist_zip - uses: actions/upload-artifact@v2 with: name: pdfarranger-windows-installer-msi path: dist/*.msi - uses: actions/upload-artifact@v2 with: name: pdfarranger-windows-portable-zip path: dist/*.zip rpmbuild: runs-on: ubuntu-latest container: dreua/pdfarranger-docker-rpm steps: - name: RPM Build run: /pdfarranger/pdfarranger-build - uses: actions/upload-artifact@v2 with: name: pdfarranger-fedora-testbuild path: /github/home/rpmbuild/**/*.rpm pdfarranger-1.8.2/.gitignore000066400000000000000000000000221416164621100160010ustar00rootroot00000000000000__pycache__ venv/ pdfarranger-1.8.2/COPYING000066400000000000000000001045141416164621100150570ustar00rootroot00000000000000 GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . pdfarranger-1.8.2/README.md000066400000000000000000000132131416164621100152760ustar00rootroot00000000000000## About [![Total alerts](https://img.shields.io/lgtm/alerts/g/pdfarranger/pdfarranger.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/pdfarranger/pdfarranger/alerts/) [![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/pdfarranger/pdfarranger.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/pdfarranger/pdfarranger/context:python) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/1be9c9a69f3a44b79612cc5b2887c0f7)](https://www.codacy.com/gh/pdfarranger/pdfarranger/dashboard?utm_source=github.com&utm_medium=referral&utm_content=pdfarranger/pdfarranger&utm_campaign=Badge_Grade) [![pdfarranger](https://github.com/pdfarranger/pdfarranger/workflows/pdfarranger/badge.svg)](https://github.com/pdfarranger/pdfarranger/actions?query=workflow%3Apdfarranger+branch%3Amain) [![codecov](https://codecov.io/gh/pdfarranger/pdfarranger/branch/main/graph/badge.svg)](https://codecov.io/gh/pdfarranger/pdfarranger) *PDF Arranger* is a small python-gtk application, which helps the user to merge or split pdf documents and rotate, crop and rearrange their pages using an interactive and intuitive graphical interface. It is a frontend for [pikepdf](https://github.com/pikepdf/pikepdf). *PDF Arranger* is a fork of Konstantinos Poulios’s pdfshuffler (see [Savannah](https://savannah.nongnu.org/projects/pdfshuffler) or [Sourceforge](http://sourceforge.net/projects/pdfshuffler)). It’s a humble attempt to make the project a bit more active. ![screenshot of pdfarranger](https://github.com/pdfarranger/pdfarranger/raw/main/data/screenshot.png) ## Downloads | [Microsoft® Windows®](https://github.com/pdfarranger/pdfarranger/releases) | Download on Flathub | [More…](https://github.com/pdfarranger/pdfarranger/wiki/Binary-packages) | | --------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ### Linux and BSD packages [![Linux packages](https://repology.org/badge/vertical-allrepos/pdfarranger.svg?columns=4&exclude_unsupported=1)](https://repology.org/project/pdfarranger/versions) ## Customization of keyboard shortcuts In case you are not satisfied with the default keyboard shortcuts they can be changed. To do so, set `enable_custom` to `true` in `~/.config/pdfarranger/config.ini` or `C:\Users\username\AppData\Roaming\pdfarranger\config.ini` and edit other lines. ## Install from source *PDF Arranger* requires [pikepdf](https://github.com/pikepdf/pikepdf) >= 1.17.0. pip will automatically install the latest pikepdf if there is no pikepdf installed on the system. **On Debian based distributions** ``` sudo apt-get install python3-pip python3-distutils-extra python3-wheel python3-gi python3-gi-cairo gir1.2-gtk-3.0 gir1.2-poppler-0.18 python3-setuptools ``` **On Arch Linux** ``` sudo pacman -S poppler-glib python-distutils-extra python-pip python-gobject gtk3 python-cairo ``` **On Fedora** ``` sudo dnf install poppler-glib python3-distutils-extra python3-pip python3-gobject gtk3 python3-cairo python3-wheel python3-pikepdf python3-img2pdf python3-dateutil ``` **On FreeBSD** ``` sudo pkg install devel/gettext devel/py-gobject3 devel/py-pip devel/py-python-distutils-extra graphics/poppler-glib textproc/intltool textproc/py-pikepdf x11-toolkits/gtk30 ``` **Then** ``` pip3 install --user --upgrade https://github.com/pdfarranger/pdfarranger/zipball/main ``` In addition, *PDF Arranger* supports image file import if [img2pdf](https://gitlab.mister-muffin.de/josch/img2pdf) is installed. ## For developers ``` git clone https://github.com/pdfarranger/pdfarranger.git cd pdfarranger ./setup.py build python3 -m pdfarranger ``` For Windows see [Win32.md](Win32.md). ## For translators - Download the main branch (see [For developers](#for-developers)) - Run `po/genpot.sh`. The `pot` is an automatically generated file and as such should not be in the repository. It is to make life of some translators easier, but it may be often not synchronized with the source code. If you can regenerate it before adding or updating a translation, then do it. - Translations are in the following files: - [`po`](po)`/*.po` - [data/com.github.jeromerobert.pdfarranger.metainfo.xml](data/com.github.jeromerobert.pdfarranger.metainfo.xml) - [data/com.github.jeromerobert.pdfarranger.desktop](data/com.github.jeromerobert.pdfarranger.desktop) - For mnemonics accelerators (letters preceded by an underscore) try to follow those rules by priority order: - be consistent with other GTK/GNOME software - pick a unique letter **within that given menu** if possible - pick the same letter as the original string if available - pick a strong letter (e.g. in "Search and replace" rather pick `s`, `r` or `p` than `a`) - If possible test your translation to see it in context (see [For developers](#for-developers)) - You may test different languages with `LANG=xx_YY python3 -m pdfarranger` - Do not include `pdfarranger.pot` (or any `*.po` file which was just automatically regenerated) in your pull request. Submit only the translations you actually updated or added. - If you don’t want or can’t use the developers tooling (`git`, `po/genpot.sh`, `python`, …) you can edit, download or upload the `*.po` files from the GitHub web pages. pdfarranger-1.8.2/TESTING.md000066400000000000000000000033151416164621100154600ustar00rootroot00000000000000This file aims at listing all GUI operation one should do to test the whole PDF Arranger source code. Those tests must currently be done manually. May one day, they'll be done with [Dogtail](https://gitlab.com/dogtail/dogtail) or another GUI testing framework. As testing is done manually this list should remain as short as possible. Duplicate tests should be avoided and each step should test as many features as possible. This list was created using [Coverage.py](https://coverage.readthedocs.io). - Run `python3 -m pdfarranger mypdf.pdf` - Crop and rotate one page - Rotate a page 4 time - Split a page - Crop white border on another page - Edit PDF properties, change some properties, set multiple creators using json syntax then validate the dialog with cursor still in the text field. - Delete one page - Undo delete, redo delete - Zoom / unzoom - Move one page using drag and drop - Cut / paste within same PDF Arranger instance - Save As - Import an image - Import a PDF file - Copy (`ctrl+c` / `ctrl+v`) a PDF file from a file explorer - Drag a PDF file from a file explorer - Copy a PDF file from another PDF Arranger instance and paste it interleaved - Select all pages, copy then paste odd - Select even page, then invert selection - Drag a PDF file from a PDF Arranger to a other PDF Arranger instance - Duplicate a page - Reverse order - Rubberband selection with scrolling - Open the about dialog - Quit, cancel - Quit without saving ## Dogtail ``` docker run -w /src -v $PWD:/src jeromerobert/pdfarranger-docker-ci sh -c "pip install .[image] ; python3 -X tracemalloc -u -m unittest discover -s tests -v -f ; python3 -m coverage html" ``` pdfarranger-1.8.2/Win32.md000066400000000000000000000040321416164621100152420ustar00rootroot00000000000000# PDF Arranger on Windows ## Prerequisites Install [MSYS2](http://www.msys2.org) then upgrade it: ``` pacman -Syu ``` You might need to run it again (it tells you to): ``` pacman -Su ``` Install the required dependencies: ``` pacman -S mingw-w64-x86_64-gtk3 mingw-w64-x86_64-python-gobject \ mingw-w64-x86_64-python-cairo mingw-w64-x86_64-poppler mingw-w64-x86_64-gcc \ mingw-w64-x86_64-python-lxml mingw-w64-x86_64-qpdf mingw-w64-x86_64-pybind11 \ mingw-w64-x86_64-gettext mingw-w64-x86_64-gnutls mingw-w64-x86_64-python-pillow \ mingw-w64-x86_64-python-dateutil mingw-w64-x86_64-python-pip git python-pip intltool ``` and ``` pip install --user https://launchpad.net/python-distutils-extra/trunk/2.39/+download/python-distutils-extra-2.39.tar.gz /mingw64/bin/python3 -m pip install --user keyboard img2pdf pikepdf https://github.com/jeromerobert/cx_Freeze/zipball/pdfarranger ``` Get the PDF Arranger sources from a MSYS2 shell: ``` git clone https://github.com/pdfarranger/pdfarranger.git ``` ## Building distributions ``` cd pdfarranger ./setup.py build /mingw64/bin/python3 setup_win32.py bdist_msi /mingw64/bin/python3 setup_win32.py bdist_zip ``` ## Wine MSYS2 no longer work in Wine (see ). To create a pdfarranger installer in Wine you must first install the required mingw-w64 packages on a real Windows box. Then copy the MSYS2 `/mingw64` to Linux and run installation process with `wine /path/to/mingw64/bin/python3` instead of `/mingw64/bin/python3`. To run the PDF Arranger in Wine you may have to: ``` unset $(env |grep ^XDG_ | cut -d= -f1) ``` ## Docker ``` alias pythonwin32="docker run -v local:/root/.wine/drive_c/users/root/.local -v $PWD:/pdfarranger -w /pdfarranger -it jeromerobert/wine-mingw64 wine cmd /c z:/mingw64/bin/python" cd pdfarranger ./setup.py build pythonwin32 -m pip install --user pikepdf==1.19.3 img2pdf python-dateutil https://github.com/jeromerobert/cx_Freeze/zipball/pdfarranger pythonwin32 setup_win32.py bdist_msi pythonwin32 setup_win32.py bdist_zip ``` pdfarranger-1.8.2/data/000077500000000000000000000000001416164621100147305ustar00rootroot00000000000000pdfarranger-1.8.2/data/com.github.jeromerobert.pdfarranger.desktop000066400000000000000000000027371416164621100253630ustar00rootroot00000000000000[Desktop Entry] Version=1.0 Name=PDF Arranger Name[hr]=PDF uređivač Name[hu]=PDF-rendező Name[ko]=PDF 편집기 Comment=PDF Merging, Rearranging, Splitting, Rotating and Cropping Comment[cs]=Program pro sloučení, přeuspořádání, rozdělení, otočení a oříznutí PDF Comment[de]=PDFs zusammenfügen, umsortieren, trennen, rotieren und zuschneiden Comment[es]=Mezcle, reordene, divida, rote y recorte documentos PDF Comment[hr]=Sjedinjavanje, preraspoređivanje, rastavljanje, okretanje i obrezivanje PDF dokumenata Comment[hu]=PDF egyesítése, átrendezése, felosztása, elforgatása és körülvágása Comment[pt]=Aplicação para juntar, organizar, separar, rodar e recortar ficheiros PDF Comment[sk]=Grafický nástroj na manipuláciu s PDF Comment[sv]=Slå samman, arrangera om, dela, rotera och beskär PDF filer Comment[fi]=Yhdistä, järjestele, jaa, käännä ja rajaa PDF-tiedostoja Comment[ko]=PDF 합치기, 재정렬, 나누기, 회전 및 잘라내기 Type=Application Exec=pdfarranger %U Icon=com.github.jeromerobert.pdfarranger MimeType=application/pdf;application/postscript;application/x-ext-pdf;image/x-bmp;image/bmp;image/gif;image/tiff;image/jp2;image/jpeg;image/jpg;image/png;image/x-icon;image/x-portable-pixmap;image/x-gray;image/x-ico;image/x-png;image/vnd.zbrush.pcx;image/x-pcx; Categories=Office; Terminal=false StartupNotify=false Keywords=pdfarranger;pdfshuffler;PDF Shuffler; Actions=new-window; [Desktop Action new-window] Name=New Window Exec=pdfarranger pdfarranger-1.8.2/data/com.github.jeromerobert.pdfarranger.metainfo.xml000066400000000000000000000076701416164621100263140ustar00rootroot00000000000000 com.github.jeromerobert.pdfarranger PDF Arranger PDF 편집기 PDF-rendező PDF Merging, Rearranging, Splitting, Rotating and Cropping Program pro sloučení, přeuspořádání, rozdělení, otočení a oříznutí PDF PDFs zusammenfügen, umsortieren, trennen, rotieren und zuschneiden Mezcle, reordene, divida, rote y recorte documentos PDF Yhdistä, järjestele, jaa, käännä ja rajaa PDF-tiedostoja Sjedinjavanje, preraspoređivanje, rastavljanje, okretanje i obrezivanje PDF dokumenata PDF egyesítése, átrendezése, felosztása, elforgatása és körülvágása Aplicação para juntar, organizar, separar, rodar e recortar ficheiros PDF Grafický nástroj na manipuláciu s PDF Slå samman, arrangera om, dela, rotera och beskär PDF filer PDF를 합치기, 재정렬, 나누기, 회전하거나 잘라내기 com.github.jeromerobert.pdfarranger.desktop CC0-1.0

PDF Arranger is a small application, which helps the user to merge or split pdf documents and rotate, crop and rearrange their pages using an interactive and intuitive graphical interface.

It is a frontend for pikepdf.

A PDF-rendező egy kis alkalmazás, amely egy interaktív és intuitív grafikus felület segítségével segíti a felhasználót a pdf dokumentumok egyesítésében vagy felosztásában, valamint az oldalak elforgatásában, kivágásában és átrendezésében.

Ez a pikepdf kezelőfelülete.

PDF 편집기는 사용자가 PDF 문서를 합치거나 나누고 페이지를 재정렬할 수 있는 다기능 그래픽 인터페이스를 사용하는 간단한 프로그램입니다.

pikepdf를 기반으로 합니다.

https://github.com/pdfarranger/pdfarranger https://github.com/pdfarranger/pdfarranger/raw/main/data/screenshot.png jeromerobert@gmx.com GPL-3.0-or-later https://github.com/pdfarranger/pdfarranger/issues
pdfarranger-1.8.2/data/icons/000077500000000000000000000000001416164621100160435ustar00rootroot00000000000000pdfarranger-1.8.2/data/icons/hicolor/000077500000000000000000000000001416164621100175025ustar00rootroot00000000000000pdfarranger-1.8.2/data/icons/hicolor/16x16/000077500000000000000000000000001416164621100202675ustar00rootroot00000000000000pdfarranger-1.8.2/data/icons/hicolor/16x16/apps/000077500000000000000000000000001416164621100212325ustar00rootroot00000000000000pdfarranger-1.8.2/data/icons/hicolor/16x16/apps/com.github.jeromerobert.pdfarranger.png000066400000000000000000000015561416164621100307760ustar00rootroot00000000000000PNG  IHDRa pHYs\rtEXtSoftwarewww.inkscape.org<IDAT8uk]U{}6MVJbԢXK#'NNę3uqu-IbMi$7I{^wvs>[k '{匈Ǚ_ՃWO NrwBP|Q5{5tžK#ܥΥחO`ݧIv/Ʒ?#oרm!N)'1b̷ڍhRħr5#q6+(2>eJ $WkF=G.Hp%fPRs.ѵ%.fPt_|b% :V5+h Gu6H)Ōp+쫍$^"Cw(zkQQX51HzWDab-Ys- u0FV0%p5XUYPZ^y, Z@Dz%N#cF fo|-V]]z20N(CB ͹_7Urw +>Ӝ/G7nExf:K CE~`N_V mx6_N O[p$VNDN2pA*رj*g9u~aCo"kWN@ LZ6{xvgn 7/,7\c=Y6OZі+-o_!h/VHb<*m铢FMO6B+χE[近>, #t6 7ec kIEQgV R! FI +;? ẴTZ45m ^WtV-A`Z^IRqx DQ$ !% /AP*+ nk!%U?yVͥO5 bl=_鑴uH"=tdէzL&}ԨF#p>zAzHw_'$QSl<J@zq H l' 4}2}Ԩ1wd3@̯sW] ҵ>=}Ԩarނ_]*HW|$eS3{io*(?E @KҖ @:;hy>s|:W,%0a3L]*7ғ`ߞj|;FiF9?gs/t'0%y&(uPP\[N_㾩M48"J &^?)='|j7;%&M=CԎM8Tm PL;gC2{ E0a$KÞ|fӔLOODOr1!iv&g̽b[ wco^>MUUҖ)~SуAHgB=9W"xȶoY;@"4}FScީ)h CcZbK$cd+0(sLH4Ӕ,Du3Ko+,73fg8łT7{BxnBP`~Aȱy]>s\('z.wل: ދ+ i-rӆ}>("6 [O;CT@c9EEq# 4 ?= \3E$pLUq/վZ@/B1wh`A4?vn0E%W@/y^d 7`f>kyy4pf…'>8LvJP-8>%yA+/6*h@>\9vVLfʹB%Q/@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W_sL:{q@%omkj#M)7 [0b_j-:"4<./LU']3\ k߃͎`71%Yc([Ƿ=ݮe0^sS28L`8%/}|4w;>f^_b~/96Ioo6caL\{;7&iLr1ϾQ`?SAY%c©z~-;Ni8&/q\tz}Jأ1Ʊi&p&W[V%FT~ɄK︝ϥ}jԨQF5jԨQF5jԨQF5jԨQF 6SIENDB`pdfarranger-1.8.2/data/icons/hicolor/32x32/000077500000000000000000000000001416164621100202635ustar00rootroot00000000000000pdfarranger-1.8.2/data/icons/hicolor/32x32/apps/000077500000000000000000000000001416164621100212265ustar00rootroot00000000000000pdfarranger-1.8.2/data/icons/hicolor/32x32/apps/com.github.jeromerobert.pdfarranger.png000066400000000000000000000036051416164621100307670ustar00rootroot00000000000000PNG  IHDR szz pHYs'tEXtSoftwarewww.inkscape.org<IDATXWSe/Y@3Y7X o1AaeAW@En--2q)MmLQ :(MijqC5S}`vץ>3gvvw<Ƌ Egp9ao}qWtkD wtv{] fGX1V"@ ͜ \=wG:Kh^0-5ȯnE]Z:#wD &IC)-{r'\ނ皜a[߲'% +!Wހ0 Ջ7O2윤-*5J$_g Mms>;tD}>w@s6 _U4 !>t<&5KG?c7ƒ΄PzӯpйZu@ăl R1?% h@q.BJRoY$5=xȝ>//~ m[Z\ en~HR# ӄc[v(dFaHކ K7bүq9b'wvR y:wDY'E7 T=w-^I8``1TӼ&rV8w3*|V8^b[Xc:>@֫Ad#Ahfs1?/tܾG]c׀=$P){_K,tˇ#fNn<ؠ:RγtNѺ=7yQp]XCʑ#:"+Ʉ@j~!WPmu.R|URJF0U%3́^9U Kj~E'W`Y-4 Cw)wևbTrɭ -$G{dnIb.W)w $Z%r,"k CՏ ' "T:^e!o+ Ek2I>l㈡EJ7>A;}i4CtD]ޒ ͅl(j?UGM'tP*k4 ;8̥Dq;fh"y5XA&D<%}X~ /= =̈ bFgBhVDʨ 2Jjc`ƕr`w d3dD?|7H,,؏ki;۝Ey%uFqO ]-:[-IА w\7: qVD4+RHpycm#ChL8E/~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icons/hicolor/scalable/apps/000077500000000000000000000000001416164621100222135ustar00rootroot00000000000000pdfarranger-1.8.2/data/icons/hicolor/scalable/apps/com.github.jeromerobert.pdfarranger.svg000066400000000000000000000370651416164621100317760ustar00rootroot00000000000000 pdfarranger-1.8.2/data/icons/hicolor/symbolic/000077500000000000000000000000001416164621100213235ustar00rootroot00000000000000pdfarranger-1.8.2/data/icons/hicolor/symbolic/apps/000077500000000000000000000000001416164621100222665ustar00rootroot00000000000000pdfarranger-1.8.2/data/icons/hicolor/symbolic/apps/com.github.jeromerobert.pdfarranger-symbolic.svg000066400000000000000000000020551416164621100336570ustar00rootroot00000000000000 pdfarranger-1.8.2/data/menu.ui000066400000000000000000000347721416164621100162500ustar00rootroot00000000000000
_Import win.import
_New Window win.new
_Save win.save document-save-symbolic Save _As… win.save-as document-save-as-symbolic E_xport
E_xport Selection to a Single File… win.export-selection 2 Export Selection to _Individual Files… win.export-selection 3 Export _All Pages to Individual Files… win.export-all
_Undo win.undo _Redo win.redo
_Edit
Rotate _Left win.rotate -90 _Rotate Right win.rotate 90 _Page Format win.page-format Crop White Borders win.crop-white-borders _Delete win.delete Dupl_icate win.duplicate Re_verse Order win.reverse-order _Split Pages win.split Cu_t win.cut _Copy win.copy Paste _After win.paste 0 Paste _Before win.paste 1 Paste As _Odd Pages win.paste 2 Paste As _Even Pages win.paste 3 Insert Blan_k Page win.insert-blank-page Generate Booklet win.generate-booklet
_Select
Select _All win.select 0 _Deselect All win.select 1 Select _Odd Pages win.select 2 Select _Even Pages win.select 3 All From _Same File win.select-same-file 4 Same Page _Format win.select-same-format 5 _Invert Selection win.select 6
Zoom _In win.zoom 5 Zoom _Out win.zoom -5
Edit _Properties win.metadata
_About win.about
_Quit win.quit
_Delete win.delete Cu_t win.cut _Copy win.copy Paste _After win.paste 0 Past_e Special
Paste _Before win.paste 1 Paste As _Odd Pages win.paste 2 Paste As _Even Pages win.paste 3
_Select
Select _All win.select 0 _Deselect All win.select 1 Select _Odd Pages win.select 2 Select _Even Pages win.select 3 All From _Same File win.select-same-file 4 Same Page _Format win.select-same-format 5 _Invert Selection win.select 6
Rotate _Left win.rotate -90 _Rotate Right win.rotate 90 _Page Format win.page-format Crop White Borders win.crop-white-borders Dupl_icate win.duplicate Re_verse Order win.reverse-order _Split Pages win.split Insert Blan_k Page win.insert-blank-page Generate Booklet win.generate-booklet
E_xport
E_xport Selection to a Single File… win.export-selection 2 Export Selection to _Individual Files… win.export-selection 3 Export _All Pages to Individual Files… win.export-all
pdfarranger-1.8.2/data/pdfarranger.ico000066400000000000000000002040761416164621100177300ustar00rootroot00000000000000 (( o,r-ro,h)c&^#]$Mb' N' S!MT!\&c'k+o-qd,@g(m+s.m+g(a%\#\#\#\#ß\"\#:@@@@T#:U ~T!T!T!T!Z$a'i+p.i+b&@@Ud&i)o,q-k*e(`%\#\#\#\#\#\#\"[#\"wZ#3S"U!fT!T!T!T!T!T!T!T!X#_&g*n-k,d(\%@@_#e'j*p-p,k+e'^$\#\#\#\#\#\#\#\#\#\#\#\#]#f[$U$T!US!T!T!T!T!T!T!T!T!T!T!T!V"^%e*l,m-f)^&X"\`%f(s-}2233|1s,h(_$\#\#\#\#\#\#\#\#\#\#\#\$О]#\#Hf M S GT!U!T!T!T!T!T!T!T!T!T!T!T!V"`&i+r0x3x3w2v1m-`'Y#U \#ue'|0333333332y/o+f']#\#\#\#\#\#\#\#\#\#\#\#]#\$z["5UUR"5T"yU"T!T!T!T!T!T!T!T!T!T!T!U!]&g*q/x2x3x3x3x3x3x3x3x3r0]&T!tb&}133333333333333w/m*b&]#\#\#\#\#\#\#\#\#\#\#\#[#\"wZ#3S"U!fT!T!T!T!T!T!T!T!T!T!T!T!T![$d)n.w2x3x3x3x3x3x3x3x3x3x3x3x3x3s1Y#f v.3333333333333333332v.k)a%\#\#\#\#\#\#\#\#\#\#\#\#[#]$U^(N' S"DT!T!T!T!T!T!T!T!T!T!T!T!T!W#`'j,t1x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3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0p0p0p0p0p0p0p0p0p0p0pzCx3x3x3x3x3x3x3x3x3x3x3x3x3n.Z&G{3[8bBsLT!T!T!T!T!T!T!T!T!T!T!T!T!T!T!W#`'j,t1x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x2x3wx23233w2333333xFEEEEED0p0p0p0p0p0p0p0p0p0p0p0p0p0p0p0p|{Tx3x3x3x3x3x3x3x3x3q0_(L6_6^@oJS T!T!T!T!T!T!T!T!T!T!T!T!T!T!V"^&g*q0x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x5Df39 5D3333xFEEEEEE4z4z4z4z4z4z4z4z4z4z4z4z4z4z4z4zSlx3x3x3x3x3x3e*M9d3Y>kG|Q T!T!T!T!T!T!T!T!T!T!T!T!T!T!T"[$e*n.w3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x3x4x3U713UsQEEEEEEEEEEEEEEEEEEEEEEF} False True 4 True True True True False False Open a file and append it to the current document win.import True insert-image-symbolic True False True 0 True False Save win.save True document-save-symbolic False True 1 True False Save As win.save-as True document-save-as-symbolic False True 2 True False False 3 0 etched-out digits Number of Pages 4 True False False Main Menu True open-menu-symbolic end 1 True True True False False Zoom In win.zoom 5 True zoom-in-symbolic False True 0 True False False Zoom Out win.zoom -5 True zoom-out-symbolic False True 1 end 2 True True True False False Rotate Left win.rotate -90 True object-rotate-left-symbolic False True 0 True False False Rotate Right win.rotate 90 True object-rotate-right-symbolic False True 1 end 3 True vertical True True True 2 True False True 3 True 10 True 183 4 4 4 4 True vertical 1 0 0 True end 4 4 4 4 4 True vertical 1 1 0 False True 4 pdfarranger-1.8.2/data/screenshot.png000066400000000000000000002720431416164621100176230ustar00rootroot00000000000000PNG  IHDR-dPLTE,7 ? "IQ J[0'((&D.;4046453<6*.>AAMDr7HC6UGFHF:QlC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fz'䘫 jġ$}MA;&n K'Sײ#+y9˳}52X ,6^Jq(#vu8VkFTS3^!$Siw  |UCLDa6Ωty32V-ME[cL&C= 731x6y6zK09j;fEGY&?%I!Dnh]B5v bb{_˒taM$#[Qoz$t;";v;T^yWTgDzF-T  |bI: AtEz%9Xm@9Ә[ }nqN Poom]7,XhcSU۝q.c0I4ADoC*؜MK<c֒Kk"BgcBuT Qb?l֍uy3seT<>`'&`d"9JYz[72E]|*h"GZ|qP,ă䗦nP)OAe`XxR$M[^lO:~WML.\1%EOR;u@>/}칹NWw]P-2g"VA e 3P(k䷥Y!mB` ôFU4eKKaIqf̬QM[^uF!T1g'xG_y>BlM+QQ+EWTWUMŮU#pKa_: cvdiJ1pُK}O3-ÃU팣E#^)._a.^<׎$&HA׵$!lQkdI/v0>0lXO{Xa9╲ OveYBgbN4,0_ۧ|?_0GjMF &(dJdJ5:, kIENDB`pdfarranger-1.8.2/doc/000077500000000000000000000000001416164621100145645ustar00rootroot00000000000000pdfarranger-1.8.2/doc/pdfarranger.1000066400000000000000000000017451416164621100171500ustar00rootroot00000000000000.TH PDFARRANGER 1 "May 2019" "version 1.2" "User Manuals" .SH "NAME" PDF Arranger \- Application for PDF Merging, Rearranging, Splitting, and Cropping .SH "SYNOPSIS" .B pdfarranger [file1] [file2] ... .SH "DESCRIPTION" .B PDF Arranger is a small python-gtk application, which helps the user to merge or split pdf documents and rearrange their pages using an interactive and intuitive graphical interface. In the current version, page rotation and cropping is also supported. PDF Arranger is a frontend for pikepdf. .SH "OPTIONS" Currently PDF Arranger doesn't receive any options. .SH "FILES" $HOME/.config/pdfarranger/config.ini .SH "ENVIRONMENT" All gtk related environment variables. .SH "DIAGNOSTICS" Common python and gtk diagnostics. .SH "AUTHOR" Konstantinos Poulios , Jerome Robert .SH COPYRIGHT Copyright \(co 2008-2017 Konstantinos Poulios, 2018-2019 Jerome Robert .br .SH LICENSE GNU GPL version 3 or later . pdfarranger-1.8.2/pdfarranger.spec000066400000000000000000000146071416164621100171760ustar00rootroot00000000000000# If you change this file, please inform @dreua since I most likely have to # apply these changes to the other pdfarranger spec files I maintain, too. # Note for future-me: meld ~/fedora-scm/pdfarranger/*.spec ~/git/pdfarranger/*.spec # These must come from the calling environment %global repo %{getenv:GITHUB_REPOSITORY} %global sha %{getenv:GITHUB_SHA} %global shortcommit %(c=%{sha}; echo ${c:0:7}) %define build_timestamp %(date +"%%Y%%m%%d") Name: pdfarranger Version: 0 Release: %{build_timestamp}git%{shortcommit}%{?dist} Summary: PDF file merging, rearranging, and splitting License: GPLv3 URL: https://github.com/%{repo} Source0: %{url}/archive/%{shortcommit}/%{name}-%{shortcommit}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-distutils-extra BuildRequires: python3-wheel BuildRequires: python3-pip # For checks only BuildRequires: libappstream-glib BuildRequires: desktop-file-utils Requires: python3-pikepdf >= 1.15.1 Recommends: python3-img2pdf >= 0.3.4 # These seem to be included in the default desktop install Requires: python3-gobject Requires: gtk3 Requires: python3-cairo Requires: poppler-glib Requires: python3-dateutil >= 2.4.0 %if 0%{?fedora} > 31 # replace pdfshuffler for Fedora 32+ since it is python2 only (#1738935) Provides: pdfshuffler = %{version}-%{release} # Current pdfshuffler is 0.6.0-17. I obsolete everything < 0.6.1 here # because there might be new releases but they won't add python3 support. Obsoletes: pdfshuffler < 0.6.1-1 %endif # The repository changed to pdfarranger/pdfarranger but we leave the app_id # for now. %global app_id com.github.jeromerobert.pdfarranger %global python3_wheelname %{name}-*-py3-none-any.whl %description PDF Arranger is a small python-gtk application, which helps the user to merge or split pdf documents and rotate, crop and rearrange their pages using an interactive and intuitive graphical interface. It is a frontend for pikepdf. PDF Arranger is a fork of Konstantinos Poulios’s PDF-Shuffler. %prep %autosetup -n %{name}-%{sha} # py3_build / py3_install do not work with this setup.py but building # a wheel works just fine %build %py3_build_wheel %install %py3_install_wheel %{python3_wheelname} %find_lang %{name} %if 0%{?fedora} > 31 ln -s %{_bindir}/pdfarranger %{buildroot}%{_bindir}/pdfshuffler %endif %check desktop-file-validate %{buildroot}/%{_datadir}/applications/%{app_id}.desktop appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml %files -f %{name}.lang %license COPYING %doc README.md %{python3_sitelib}/%{name}/ %{python3_sitelib}/%{name}-*.dist-info/ %{_mandir}/man*/*.* %{_datadir}/icons/hicolor/*/apps/* %{_metainfodir}/%{app_id}.metainfo.xml %{_datadir}/applications/%{app_id}.desktop %{_datadir}/%{name}/ %{_bindir}/pdfarranger %if 0%{?fedora} > 31 %{_bindir}/pdfshuffler %endif %changelog * Sat Dec 12 2020 David Auer - 0-20201212git%{shortcommmit}.0.1 - Modified for pdfarranger-CI: Build given commit. * Thu Mar 18 2021 David Auer - 1.7.1-1 - Update to 1.7.1 - Update repository URL (was a redirection anyway) * Tue Jan 26 2021 Fedora Release Engineering - 1.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Jan 24 2021 David Auer - 1.7.0-2 - Add dependency: dateutil * Sun Jan 24 2021 David Auer - 1.7.0-1 - Update to 1.7.0 * Sat Aug 01 2020 David Auer - 1.6.2-1 - Update to 1.6.2 * Tue Jul 28 2020 Fedora Release Engineering - 1.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jul 16 2020 David Auer - 1.6.0-2 - Recommend img2pdf * Wed Jul 15 2020 David Auer - 1.6.0-1 - Update to 1.6.0 - Require pikepdf >= 1.15.1 as suggested in Readme. * Wed Jun 24 2020 David Auer - 1.5.3-3 - Explicitly require python3-setuptools * Tue May 26 2020 Miro Hrončok - 1.5.3-2 - Rebuilt for Python 3.9 * Sun May 17 2020 David Auer - 1.5.3-1 - Update to 1.5.3 * Mon Apr 20 2020 David Auer - 1.5.1-1 - Update to 1.5.1 (#1823971) - Fixes rhbz#1824017 * Wed Apr 15 2020 David Auer - 1.5.0-1 - Update to 1.5.0 (#1823971) * Tue Mar 17 2020 Fabian Affolter - 1.4.2-1 - Update to new upstream version 1.4.2 (rhbz#1814032) * Sun Feb 09 2020 Fedora Release Monitoring - 1.4.1-1 - Update to 1.4.1 (#1800993) * Sat Feb 01 2020 David Auer - 1.4.0-1 - New version, see https://github.com/jeromerobert/pdfarranger/releases/tag/1.4.0 - Replace python3-PyPDF2 with python3-pikepdf * Wed Jan 29 2020 Fedora Release Engineering - 1.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Sep 25 2019 David Auer - 1.3.1-2 - replace pdfshuffler on f32+ * Sun Sep 22 2019 David Auer - 1.3.1-1 - New version, see https://github.com/jeromerobert/pdfarranger/releases/tag/1.3.1 * Wed Sep 11 2019 David Auer - 1.3.0-2 - Add missing dependency - Remove unnecessary python_provide makro * Sun Aug 11 2019 David Auer - 1.3.0-1 - New version, see https://github.com/jeromerobert/pdfarranger/releases/tag/1.3.0 - Remove obsolete downstream fixes * Tue Jun 11 2019 David Auer - 1.2.1-8 - Better source URL * Mon May 20 2019 David Auer - 1.2.1-7 - Fix directory ownership - Replace obsolete srcname by name * Mon May 20 2019 David Auer - 1.2.1-6 - Name changed from python-pdfarranger to pdfarranger - Remove shebang in __main__.py * Sat May 18 2019 David Auer - 1.2.1-5 - Fix rpmlint errors and warnings * Sat May 18 2019 David Auer - 1.2.1-4 - Buiding with wheel to get lang and icons right * Sat May 18 2019 David Auer - 1.2.1-3 - Move Requires to the right location * Sat May 18 2019 David Auer - 1.2.1-2 - Add missing requires * Sat May 18 2019 David Auer - 1.2.1 - Packaging pdfarranger based on pdfshuffler's spec file and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_example_python_spec_file pdfarranger-1.8.2/pdfarranger/000077500000000000000000000000001416164621100163125ustar00rootroot00000000000000pdfarranger-1.8.2/pdfarranger/__init__.py000066400000000000000000000000001416164621100204110ustar00rootroot00000000000000pdfarranger-1.8.2/pdfarranger/__main__.py000066400000000000000000000001301416164621100203760ustar00rootroot00000000000000import sys from pdfarranger import pdfarranger pdfarranger.PdfArranger().run(sys.argv) pdfarranger-1.8.2/pdfarranger/config.py000066400000000000000000000145241416164621100201370ustar00rootroot00000000000000# Copyright (C) 2020 pdfarranger contributors # # pdfarranger is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. import platform import configparser import os from gi.repository import Gdk # See https://gitlab.gnome.org/GNOME/gtk/-/blob/3.24.23/gdk/keynames.txt for list of keys _DEFAULT_ACCELS = [ ('delete', 'Delete'), ('page-format', 'c'), ('rotate(90)', 'Right'), ('rotate(-90)', 'Left'), ('save', 's'), ('save-as', 's'), ('export-selection(2)', 'e'), ('export-all', 'e'), ('quit', 'q'), ('new', 'n'), ('import', 'o'), ('zoom(5)', 'plus KP_Add plus KP_Add'), ('zoom(-5)', 'minus KP_Subtract minus KP_Subtract'), ('undo', 'z'), ('redo', 'y'), ('cut', 'x'), ('copy', 'c'), ('paste(0)', 'v'), ('paste(1)', 'v'), ('select(0)', 'a'), ('select(1)', 'a'), ('main-menu', 'F10'), ] class Config(object): """Wrap a ConfigParser object for PDFArranger""" @staticmethod def __get_action_list(m, r): for i in range(m.get_n_items()): it = m.iterate_item_attributes(i) target, action = None, None while it.next(): if it.get_name() == 'target': target = it.get_value() elif it.get_name() == 'action': action = it.get_value() if action is not None: action = action.get_string()[4:] if target is not None: action += "({})".format(target) r.append(action) it = m.iterate_item_links(i) while it.next(): Config.__get_action_list(it.get_value(), r) return r @staticmethod def _config_file(domain): """Return the location of the configuration file""" home = os.path.expanduser("~") if platform.system() == 'Darwin': p = os.path.join(home, 'Library', 'Preferences') elif 'APPDATA' in os.environ: p = os.getenv('APPDATA') elif 'XDG_CONFIG_HOME' in os.environ: p = os.getenv('XDG_CONFIG_HOME') else: p = os.path.join(home, '.config') p = os.path.join(p, domain) os.makedirs(p, exist_ok=True) return os.path.join(p, 'config.ini') def __init__(self, domain): self.domain = domain self.data = configparser.ConfigParser() self.data.add_section('window') self.data.read(Config._config_file(domain)) if 'preferences' not in self.data: self.data.add_section('preferences') if 'accelerators' not in self.data: self.data.add_section('accelerators') a = self.data['accelerators'] if 'enable_custom' not in a: a['enable_custom'] = 'false' enable_custom = a.getboolean('enable_custom') for k, v in _DEFAULT_ACCELS: if not enable_custom or k not in a: a[k] = v def window_size(self): ds = Gdk.Screen.get_default() return self.data.getint('window', 'width', fallback=int(min(700, ds.get_width() / 2))), \ self.data.getint('window', 'height', fallback=int(min(600, ds.get_height() - 50))) def set_window_size(self, size): self.data.set('window', 'width', str(size[0])) self.data.set('window', 'height', str(size[1])) def set_position(self, position): self.data.set('window', 'root_x', str(position[0])) self.data.set('window', 'root_y', str(position[1])) def position(self): return self.data.getint('window', 'root_x', fallback=10), self.data.getint('window', 'root_y', fallback=10) def maximized(self): return self.data.getboolean('window', 'maximized', fallback=False) def set_maximized(self, maximized): self.data.set('window', 'maximized', str(maximized)) def zoom_level(self): return self.data.getint('preferences', 'zoom-level', fallback=0) def set_zoom_level(self, level): self.data.set('preferences', 'zoom-level', str(level)) def content_loss_warning(self): return self.data.getboolean('preferences', 'content-loss-warning', fallback=True) def set_content_loss_warning(self, enabled): self.data.set('preferences', 'content-loss-warning', str(enabled)) def save(self): conffile = Config._config_file(self.domain) os.makedirs(os.path.dirname(conffile), exist_ok=True) with open(conffile, 'w') as f: self.data.write(f) def set_actions(self, builder): """ Set the list of actions to which shortcuts may be associated. :param builder: A Gtk.Builder from which to get actions """ actions = [] for m in builder.get_objects(): self.__get_action_list(m, actions) actions = set(actions) accels_section = self.data['accelerators'] for a in actions: if a not in accels_section: accels_section[a] = "" # Have accelerators sorted in the .ini file (cosmetic) sortedaccels = [(k, v) for k, v in accels_section.items() if k != 'enable_custom'] sortedaccels = sorted(sortedaccels) enable_custom = accels_section['enable_custom'] accels_section.clear() accels_section['enable_custom'] = enable_custom accels_section.update(sortedaccels) def get_accels(self): """Return the accelerators for each actions.""" return [ (k, v.split()) for k, v in self.data["accelerators"].items() if k != "enable_custom" ] pdfarranger-1.8.2/pdfarranger/core.py000066400000000000000000000503461416164621100176240ustar00rootroot00000000000000# Copyright (C) 2020 pdfarranger contributors # # pdfarranger is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. __all__ = [ "img2pdf_supported_img", "Page", "PageAdder", "PDFDoc", "PDFDocError", "PDFRenderer", ] import sys import os import errno import mimetypes import copy import pathlib import shutil import tempfile import threading import gettext import gi from gi.repository import GObject from gi.repository import GLib from gi.repository import Gtk gi.require_version("Poppler", "0.18") from gi.repository import Poppler # for the rendering of pdf pages import cairo try: import img2pdf img2pdf.Image.init() img2pdf_supported_img = [ i for i in img2pdf.Image.MIME.values() if i.split("/")[0] == "image" ] except ImportError: img2pdf_supported_img = [] img2pdf = None _ = gettext.gettext class Page: def __init__(self, nfile, npage, zoom, copyname, angle, scale, crop, size, basename): #: The ID (from 1 to n) of the PDF file owning the page self.nfile = nfile #: The ID (from 1 to n) of the page in its owner PDF document self.npage = npage self.zoom = zoom #: Filepath to the temporary stored file self.copyname = copyname #: Left, right, top, bottom crop self.crop = list(crop) #: width and height self.size = list(size) self.angle = angle self.thumbnail = None self.resample = -1 #: A low resolution thumbnail self.preview = None self.scale = scale #: The name of the original file self.basename = basename def description(self): shortname = os.path.splitext(self.basename)[0] return "".join([shortname, "\n", _("page"), " ", str(self.npage)]) def width_in_points(self): """Return the page width in PDF points.""" return (self.scale * self.size[0]) * (1 - self.crop[0] - self.crop[1]) def height_in_points(self): """Return the page height in PDF points.""" return (self.scale * self.size[1]) * (1 - self.crop[2] - self.crop[3]) def size_in_points(self): """Return the page size in PDF points.""" return (self.width_in_points(), self.height_in_points()) def width_in_pixel(self): return int(0.5 + self.zoom * self.width_in_points()) def height_in_pixel(self): return int(0.5 + self.zoom * self.height_in_points()) @staticmethod def rotate_times(angle): """Convert an angle in degree to a number of 90° rotation (integer)""" return int(round(((-angle) % 360) / 90) % 4) @staticmethod def rotate_crop(croparray, rotate_times): """Rotate a given crop array (left, right, top bottom) a number of time""" perm = [0, 2, 1, 3] for __ in range(rotate_times): perm.append(perm.pop(0)) perm.insert(1, perm.pop(2)) return [croparray[x] for x in perm] def rotate(self, angle): rt = self.rotate_times(angle) if rt == 0: return False self.crop = self.rotate_crop(self.crop, rt) self.angle = (self.angle + int(angle)) % 360 return True def serialize(self): """Convert to string for copy/past operations.""" ts = [self.copyname, self.npage, self.basename, self.angle, self.scale] + list(self.crop) return "\n".join([str(v) for v in ts]) def duplicate(self, incl_thumbnail=True): r = copy.copy(self) r.crop = list(r.crop) r.size = list(r.size) if incl_thumbnail == False: del r.thumbnail # to save ram r.thumbnail = None r.resample = -1 r.preview = None return r def set_size(self, size): """set this page size from the Poppler page.""" self.size = list(size) rotation = int(self.angle) % 360 rotation = round(rotation / 90) * 90 if rotation == 90 or rotation == 270: self.size.reverse() def split(self, vcrops, hcrops): """Split this page into a grid and return all but the top-left page.""" newpages = [] left, right, top, bottom = self.crop # If the page is cropped, adjust the new crop for the visible part of the page. hscale = 1 - (left + right) vscale = 1 - (top + bottom) vcrops = [(l * hscale, r * hscale) for (l, r) in vcrops] hcrops = [ (t * vscale, b * vscale) for (t, b) in hcrops] for (t, b) in reversed(hcrops): topcrop = top + t row_height = b - t bottomcrop = 1 - (topcrop + row_height) for (l, r) in reversed(vcrops): leftcrop = left + l col_width = r - l rightcrop = 1 - (leftcrop + col_width) crop = [leftcrop, rightcrop, topcrop, bottomcrop] if l == 0.0 and t == 0.0: # Update the original page self.crop = crop else: # Create a new cropped page new = self.duplicate() new.crop = crop newpages.append(new) return newpages class PDFDocError(Exception): def __init__(self, message): self.message = message class _UnknownPasswordException(Exception): pass class PasswordDialog(Gtk.Dialog): def __init__(self, parent, filename): super().__init__( title=_("Password required"), parent=parent, flags=Gtk.DialogFlags.MODAL, buttons=( Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, Gtk.STOCK_OK, Gtk.ResponseType.OK, ), ) self.set_default_response(Gtk.ResponseType.OK) bottommsg = _("The password will be remembered until you close PDF Arranger.") topmsg = _("The document “{}” is locked and requires a password before it can be opened.") label = Gtk.Label(label=topmsg.format(filename)) label.set_max_width_chars(len(bottommsg)-6) label.set_line_wrap(True) label.set_size_request(0, -1) self.vbox.pack_start(label, False, False, 12) box = Gtk.HBox() self.entry = Gtk.Entry() self.entry.set_visibility(False) self.entry.set_activates_default(True) box.pack_start(Gtk.Label(label=_("Password")), False, False, 6) box.pack_start(self.entry, True, True, 6) self.vbox.pack_start(box, True, True, 0) self.vbox.pack_start(Gtk.Label(label=bottommsg), False, False, 12) self.set_resizable(False) def get_password(self): self.show_all() r = self.run() t = self.entry.props.text self.destroy() if r == Gtk.ResponseType.OK: return t else: raise _UnknownPasswordException() class PDFDoc: """Class handling PDF documents.""" def __from_file(self, parent, basename): uri = pathlib.Path(self.copyname).as_uri() askpass = False while True: try: if askpass: self.password = PasswordDialog(parent, basename).get_password() self.document = Poppler.Document.new_from_file(uri, self.password) # When there is no encryption Poppler want None as password # while PikePDF want an empty string self.password = "" if self.password is None else self.password return except GLib.Error as e: askpass = e.message == "Document is encrypted" if not askpass: raise e def __init__(self, filename, basename, tmp_dir, parent): self.render_lock = threading.Lock() self.filename = os.path.abspath(filename) try: self.mtime = os.path.getmtime(filename) except OSError as e: raise PDFDocError(e) if basename is None: # When importing files self.basename = os.path.basename(filename) else: # When copy-pasting self.basename = basename self.password = "" filemime = mimetypes.guess_type(self.filename)[0] if not filemime: raise PDFDocError(_("Unknown file format")) if filemime == "application/pdf": if self.filename.startswith(tmp_dir) and basename is None: # In the "Insert Blank Page" we don't need to copy self.filename self.copyname = self.filename self.basename = "" else: fd, self.copyname = tempfile.mkstemp(suffix=".pdf", dir=tmp_dir) os.close(fd) shutil.copy(self.filename, self.copyname) try: self.__from_file(parent, self.basename) except GLib.Error as e: raise PDFDocError(e.message + ": " + filename) elif filemime.split("/")[0] == "image": if not img2pdf: raise PDFDocError(_("Image files are only supported with img2pdf")) if mimetypes.guess_type(filename)[0] in img2pdf_supported_img: fd, self.copyname = tempfile.mkstemp(suffix=".pdf", dir=tmp_dir) os.close(fd) with open(self.copyname, "wb") as f: img = img2pdf.Image.open(filename) if (img.mode == "LA") or (img.mode != "RGBA" and "transparency" in img.info): # TODO: Find a way to keep image in P or L format and remove transparency. # This will work but converting from 1, L, P to RGB is not optimal. img = img.convert("RGBA") if img.mode == "RGBA": bg = img2pdf.Image.new("RGB", img.size, (255, 255, 255)) bg.paste(img, mask=img.split()[-1]) imgio = img2pdf.BytesIO() bg.save(imgio, "PNG") imgio.seek(0) f.write(img2pdf.convert(imgio)) else: f.write(img2pdf.convert(filename)) uri = pathlib.Path(self.copyname).as_uri() self.document = Poppler.Document.new_from_file(uri, None) else: raise PDFDocError(_("Image format is not supported by img2pdf")) else: raise PDFDocError(_("File is neither pdf nor image")) self.transparent_link_annots_removed = [False] * self.document.get_n_pages() def get_page(self, n_page): """Get a page where transparent link annotations are removed. By removing them memory usage will be lower. """ page = self.document.get_page(n_page) if self.transparent_link_annots_removed[n_page]: return page annot_mapping_list = page.get_annot_mapping() for annot_mapping in annot_mapping_list: a = annot_mapping.annot if a.get_annot_type() == Poppler.AnnotType.LINK and a.get_color() is None: page.remove_annot(a) self.transparent_link_annots_removed[n_page] = True return page class PageAdder: """Helper class to add pages to the current model.""" def __init__(self, app): #: A PdfArranger instance self.app = app #: The pages which will be added by the commit method self.pages = [] #: Where to insert pages relatively to treerowref self.before = False #: Where to insert pages. If None pages are inserted at the end self.treerowref = None def move(self, treerowref, before): """Insert pages at the given location.""" self.before = before self.treerowref = treerowref def addpages(self, filename, page=-1, basename=None, angle=0, scale=1.0, crop=None): crop = [0] * 4 if crop is None else crop pdfdoc = None nfile = None # Check if file exists if not os.path.isfile(filename): raise FileNotFoundError( errno.ENOENT, os.strerror(errno.ENOENT), filename) # Check if added page or file already exist in pdfqueue for i, it_pdfdoc in enumerate(self.app.pdfqueue): if basename is not None and filename == it_pdfdoc.copyname: # File of copy-pasted page was found in pdfqueue pdfdoc = it_pdfdoc nfile = i + 1 break elif (os.path.isfile(it_pdfdoc.filename) and os.path.samefile(filename, it_pdfdoc.filename) and os.path.getmtime(filename) == it_pdfdoc.mtime): # Imported file was found in pdfqueue pdfdoc = it_pdfdoc nfile = i + 1 break if not pdfdoc: try: pdfdoc = PDFDoc(filename, basename, self.app.tmp_dir, self.app.window) except _UnknownPasswordException: return except PDFDocError as e: print(e.message, file=sys.stderr) self.app.error_message_dialog(e.message) return if pdfdoc.copyname != pdfdoc.filename and basename is None: self.app.import_directory = os.path.split(filename)[0] self.app.export_directory = self.app.import_directory self.app.pdfqueue.append(pdfdoc) nfile = len(self.app.pdfqueue) n_end = pdfdoc.document.get_n_pages() n_start = min(n_end, max(1, page)) if page != -1: n_end = max(n_start, min(n_end, page)) for npage in range(n_start, n_end + 1): page = pdfdoc.document.get_page(npage - 1) self.pages.append( Page( nfile, npage, self.app.zoom_scale, pdfdoc.copyname, angle, scale, crop, page.get_size(), pdfdoc.basename, ) ) def commit(self, select_added, add_to_undomanager): if len(self.pages) == 0: return False if add_to_undomanager: self.app.undomanager.commit("Add") self.app.set_unsaved(True) with self.app.render_lock(): for p in self.pages: m = [p, p.description()] if self.treerowref: iter_to = self.app.model.get_iter(self.treerowref.get_path()) if self.before: it = self.app.model.insert_before(iter_to, m) else: it = self.app.model.insert_after(iter_to, m) else: it = self.app.model.append(m) if select_added: path = self.app.model.get_path(it) self.app.iconview.select_path(path) self.app.update_geometry(it) if add_to_undomanager: GObject.idle_add(self.app.retitle) self.app.zoom_set(self.app.zoom_level) self.app.silent_render() self.pages = [] return True class PDFRenderer(threading.Thread, GObject.GObject): def __init__(self, model, pdfqueue, visible_range, columns_nr): threading.Thread.__init__(self) GObject.GObject.__init__(self) self.model = model self.pdfqueue = pdfqueue self.visible_start = visible_range[0] self.visible_end = visible_range[1] self.columns_nr = columns_nr self.mem_usage = 0 self.model_lock = threading.Lock() self.quit = False def run(self): """Render thumbnails and less memory consuming previews. Thumbnails are rendered for the visible range and its near area. Memory usage is estimated and if it goes too high distant thumbnails are replaced with previews. Previews will be rendered for all pages. The preview will exist as long as the page exist. """ for num in range(self.visible_start, self.visible_end + 1): if self.quit: return with self.model_lock: if not 0 <= num < len(self.model): break path = Gtk.TreePath.new_from_indices([num]) ref = Gtk.TreeRowReference.new(self.model, path) p = copy.copy(self.model[path][0]) if p.resample != 1 / p.zoom: scale = p.scale * p.zoom self.update(p, ref, scale, 1 / p.zoom, False) mem_limit = False for off in range(1, len(self.model)): for num in self.visible_end + off, self.visible_start - off: if self.quit: return with self.model_lock: if not 0 <= num < len(self.model): continue path = Gtk.TreePath.new_from_indices([num]) ref = Gtk.TreeRowReference.new(self.model, path) p = copy.copy(self.model[path][0]) if off <= self.columns_nr * 5: # Thumbnail scale = p.scale * p.zoom resample = 1 / p.zoom is_preview = False elif mem_limit or p.resample < 0: # Preview. Always render to about 4000 pixels = about 16kb preview_zoom_scale = (1 / p.scale) * (4000 / (p.size[0] * p.size[1])) ** .5 scale = p.scale * preview_zoom_scale resample = 1 / preview_zoom_scale is_preview = True else: # Thumbnail is distant and total mem usage is small # -> don't update thumbnail, just take memory usage into account scale = p.scale / p.resample resample = p.resample mem_limit = self.mem_at_limit(p, scale) if p.resample != resample: self.update(p, ref, scale, resample, is_preview) self.finish() def mem_at_limit(self, p, scale): """Estimate memory usage of rendered thumbnails. Return True when mem_usage > mem_limit.""" mem_limit = 300 # Mb (About. Size will depend on thumbnail content.) if self.mem_usage > mem_limit: return True pdfdoc = self.pdfqueue[p.nfile - 1] page = pdfdoc.document.get_page(p.npage - 1) w, h = page.get_size() self.mem_usage += w * scale * h * scale * 4 / (1024 * 1024) # 4 byte/pixel def update(self, p, ref, scale, resample, is_preview): """Render and emit updated thumbnails.""" if self.quit: return if is_preview and p.preview: thumbnail = p.preview else: pdfdoc = self.pdfqueue[p.nfile - 1] page = pdfdoc.get_page(p.npage - 1) w, h = page.get_size() thumbnail = cairo.ImageSurface( cairo.FORMAT_ARGB32, int(0.5 + w * scale), int(0.5 + h * scale) ) cr = cairo.Context(thumbnail) cr.scale(int(0.5 + w * scale) / w, int(0.5 + h * scale) / h) with pdfdoc.render_lock: page.render(cr) GObject.idle_add( self.emit, "update_thumbnail", ref, thumbnail, resample, p.scale, is_preview, priority=GObject.PRIORITY_LOW, ) def finish(self): """Signal rendering ended (for statusbar and malloc_trim).""" GObject.idle_add( self.emit, "update_thumbnail", None, None, 0, 0, False, priority=GObject.PRIORITY_LOW, ) pdfarranger-1.8.2/pdfarranger/croputils.py000066400000000000000000000322161416164621100207140ustar00rootroot00000000000000# Copyright (C) 2020 pdfarranger contributors # # pdfarranger is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. from gi.repository import Gtk import gettext import cairo import locale _ = gettext.gettext # TODO rename to pageutils def scale(model, selection, factor): """Set the scale factor of a selection of pages.""" changed = False try: width, height = factor except TypeError: width, height = None, None for path in selection: it = model.get_iter(path) page = model.get_value(it, 0) if width is None: f = factor else: # TODO: allow to change aspect ratio f = max(width / page.size[0], height / page.size[1]) # Page size must be in [72, 14400] (PDF standard requirement) f = max(f, 72 / page.size[0], 72 / page.size[1]) f = min(f, 14400 / page.size[0], 14400 / page.size[1]) if page.scale != f: changed = True page.resample = page.resample * f / page.scale page.scale = f model.set_value(it, 0, page) return changed class _LinkedSpinButton(Gtk.SpinButton): """ A spin button which can be bound to an other button """ def __init__(self, minval, maxval, step, page=None): Gtk.SpinButton.__init__(self) self.set_digits(20) self.set_width_chars(9) self.connect("output", self.__output) self.set_range(minval, maxval) self.set_increments(step, step if page is None else page) self.changing_from_brother = False def __output(self, _user_data): """ output signal handler to remove unneeded 0 """ s = locale.format("%.8g", self.get_adjustment().get_value()) self.get_buffer().set_text(s, len(s)) return True class _RadioStackSwitcher(Gtk.VBox): """ Same as GtkStackSwitcher but with radio button (i.e different semantic) """ def __init__(self, margin=10): super().__init__() self.set_spacing(margin) self.props.margin = margin self.radiogroup = [] self.stack = Gtk.Stack() self.button_box = Gtk.HBox() self.button_box.set_spacing(margin) self.add(self.button_box) self.add(self.stack) self.selected_child = None self.selected_name = None def add_named(self, child, name, title): radio = Gtk.RadioButton.new_with_label(None, title) if len(self.radiogroup) > 0: radio.join_group(self.radiogroup[-1]) self.radiogroup.append(radio) radio.set_hexpand(True) radio.set_halign(Gtk.Align.CENTER) radio.connect("toggled", self.__radio_handler, name) self.button_box.add(radio) self.stack.add_named(child, name) if self.selected_child is None: self.selected_child = child self.selected_name = name def __radio_handler(self, button, name): if button.props.active: self.stack.set_visible_child_name(name) self.selected_name = name self.selected_child = self.stack.get_child_by_name(name) class _RelativeScalingWidget(Gtk.HBox): """ A form to specify the relative scaling factor """ def __init__(self, current_scale, margin=10): super().__init__() self.props.spacing = margin self.add(Gtk.Label(label=_("Scale factor"))) # Largest page size is 200 inch and smallest is 1 inch # so we can set a min and max self.entry = _LinkedSpinButton(100 / 200.0, 100 * 200.0, 1, 10) self.entry.set_activates_default(True) self.add(self.entry) self.add(Gtk.Label(label=_("%"))) self.entry.set_value(current_scale * 100) def get_value(self): return self.entry.get_value() / 100 class _ScalingWidget(Gtk.HBox): """ A form to specify the page width or height """ def __init__(self, label, default): super().__init__() self.add(Gtk.Label(label=label)) self.entry = _LinkedSpinButton(25.4, 5080, 1, 10) self.entry.set_activates_default(True) self.add(self.entry) self.add(Gtk.Label(label=_("mm"))) # A PDF unit is 1/72 inch self.entry.set_value(default * 25.4 / 72) def get_value(self): return self.entry.get_value() / 25.4 * 72 class _CropWidget(Gtk.Frame): sides = ('L', 'R', 'T', 'B') side_names = {'L': _('Left'), 'R': _('Right'), 'T': _('Top'), 'B': _('Bottom')} opposite_sides = {'L': 'R', 'R': 'L', 'T': 'B', 'B': 'T'} def __init__(self, model, selection, margin=12): super().__init__(label=_('Crop Margins')) grid = Gtk.Grid() grid.set_column_spacing(margin) grid.set_row_spacing(margin) grid.props.margin = margin self.add(grid) label = Gtk.Label( label=_( 'Cropping does not remove any content ' 'from the PDF file, it only hides it.' ) ) label.props.margin = margin label.set_line_wrap(True) label.set_max_width_chars(38) grid.attach(label, 0, 0, 3, 1) self.spin_list = [] units = 2 * [_('% of width')] + 2 * [_('% of height')] crop = [0.0, 0.0, 0.0, 0.0] if selection: pos = model.get_iter(selection[0]) crop = list(model.get_value(pos, 0).crop) for row, side in enumerate(_CropWidget.sides): label = Gtk.Label(label=_CropWidget.side_names[side]) label.set_alignment(0.0, 0.5) grid.attach(label, 0, row + 1, 1, 1) adj = Gtk.Adjustment( value=100.0 * crop.pop(0), lower=0.0, upper=99.0, step_increment=1.0, page_increment=5.0, page_size=0.0, ) spin = Gtk.SpinButton(adjustment=adj, climb_rate=0, digits=1) spin.set_activates_default(True) spin.connect('value-changed', self.__set_crop_value, self, side) self.spin_list.append(spin) grid.attach(spin, 1, row + 1, 1, 1) label = Gtk.Label(label=units.pop(0)) label.set_alignment(0.0, 0.5) grid.attach(label, 2, row + 1, 1, 1) @staticmethod def __set_crop_value(spinbutton, self, side): opp_side = self.opposite_sides[side] adj = self.spin_list[self.sides.index(opp_side)].get_adjustment() limit = 99.0 - spinbutton.get_value() adj.set_upper(limit) opp_spinner = self.spin_list[self.sides.index(opp_side)] opp_spinner.set_value(min(opp_spinner.get_value(), limit)) def get_crop(self): return [spin.get_value() / 100.0 for spin in self.spin_list] class Dialog(Gtk.Dialog): """ A dialog box to define margins for page cropping and page size or scale factor """ def __init__(self, model, selection, window): super().__init__( title=_("Page format"), parent=window, flags=Gtk.DialogFlags.MODAL, buttons=( Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, Gtk.STOCK_OK, Gtk.ResponseType.OK, ), ) self.set_default_response(Gtk.ResponseType.OK) self.set_resizable(False) page = model.get_value(model.get_iter(selection[-1]), 0) size = [page.scale * x for x in page.size] rel_widget = _RelativeScalingWidget(page.scale) width_widget = _ScalingWidget(_("Width"), size[0]) height_widget = _ScalingWidget(_("Height"), size[1]) self.scale_stack = _RadioStackSwitcher() self.scale_stack.add_named(rel_widget, "Relative", _("Relative")) self.scale_stack.add_named(width_widget, "Width", _("Width")) self.scale_stack.add_named(height_widget, "Height", _("Height")) pagesizeframe = Gtk.Frame(label=_("Page Size")) pagesizeframe.props.margin = 8 pagesizeframe.props.margin_bottom = 0 pagesizeframe.add(self.scale_stack) self.vbox.pack_start(pagesizeframe, True, True, 0) self.crop_widget = _CropWidget(model, selection) self.crop_widget.props.margin = 8 self.vbox.pack_start(self.crop_widget, False, False, 0) self.show_all() self.selection = selection def run_get(self): """ Open the dialog and return the crop value """ result = self.run() crop = None val = None if result == Gtk.ResponseType.OK: crop = [self.crop_widget.get_crop()] * len(self.selection) val = self.scale_stack.selected_child.get_value() if self.scale_stack.selected_name == "Width": val = val, 0 elif self.scale_stack.selected_name == "Height": val = 0, val # else val is a relative scale so we return it as is self.destroy() return crop, val def white_borders(model, selection, pdfqueue): crop = [] for path in selection: it = model.get_iter(path) p = model.get_value(it, 0) pdfdoc = pdfqueue[p.nfile - 1] page = pdfdoc.document.get_page(p.npage - 1) # Always render pages at 72 dpi whatever the zoom or scale of the page w, h = page.get_size() orig_crop = p.rotate_crop(p.crop, p.rotate_times(360 - p.angle)) first_col = int(w * orig_crop[0]) last_col = min(int(w), int(w * (1 - orig_crop[1]) + 1)) first_row = int(h * orig_crop[2]) last_row = min(int(h), int(h * (1 - orig_crop[3]) + 1)) w = int(w) h = int(h) thumbnail = cairo.ImageSurface(cairo.FORMAT_ARGB32, w, h) cr = cairo.Context(thumbnail) with pdfdoc.render_lock: page.render(cr) # TODO: python list are dead slow compared to memoryview. It would # be faster to create a memoryview full of 0 and then compare each row # to it. memoryview have full native __eq__ operator which is fast. data = thumbnail.get_data().cast("i", shape=[h, w]).tolist() crop_this_page = [0.0, 0.0, 0.0, 0.0] # TODO: Those 4 copy/paste should be factorized # Left allwhite = True for col in range(first_col, last_col): for row in range(first_row, last_row): if data[row][col] != 0: allwhite = False crop_this_page[0] = (col) / w break if not allwhite: break # Right allwhite = True for col in range(last_col - 1, first_col - 1, -1): for row in range(first_row, last_row): if data[row][col] != 0: allwhite = False crop_this_page[1] = (w - col) / w break if not allwhite: break # Top allwhite = True for row in range(first_row, last_row): for col in range(first_col, last_col): if data[row][col] != 0: allwhite = False crop_this_page[2] = (row) / h break if not allwhite: break # Bottom allwhite = True for row in range(last_row - 1, first_row - 1, -1): for col in range(first_col, last_col): if data[row][col] != 0: allwhite = False crop_this_page[3] = (h - row) / h break if not allwhite: break crop.append(p.rotate_crop(crop_this_page, p.rotate_times(p.angle))) return crop class BlankPageDialog(Gtk.Dialog): def __init__(self, size, window): super().__init__( title=_("Insert Blank Page"), parent=window, flags=Gtk.DialogFlags.MODAL, buttons=( Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, Gtk.STOCK_OK, Gtk.ResponseType.OK, ), ) self.set_default_response(Gtk.ResponseType.OK) self.set_resizable(False) self.width_widget = _ScalingWidget(_("Width"), size[0]) self.height_widget = _ScalingWidget(_("Height"), size[1]) self.vbox.pack_start(self.width_widget, True, True, 6) self.vbox.pack_start(self.height_widget, True, True, 6) self.width_widget.props.spacing = 6 self.height_widget.props.spacing = 6 self.show_all() def run_get(self): result = self.run() r = None if result == Gtk.ResponseType.OK: r = self.width_widget.get_value(), self.height_widget.get_value() self.destroy() return r pdfarranger-1.8.2/pdfarranger/exporter.py000066400000000000000000000242461416164621100205440ustar00rootroot00000000000000# Copyright (C) 2008-2017 Konstantinos Poulios, 2018-2019 Jerome Robert # # pdfarranger is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. import pikepdf import os import traceback import tempfile from . import metadata from gi.repository import Gtk import gettext _ = gettext.gettext def create_blank_page(tmpdir, size): """ Create a temporary PDF file with a single empty page. The size is in PDF unit (1/72 of inch). """ f, filename = make_tmp_file(tmpdir) f.add_blank_page(page_size=size) f.save(filename) return filename def make_tmp_file(tmpdir): fd, filename = tempfile.mkstemp(suffix=".pdf", dir=tmpdir) os.close(fd) f = pikepdf.Pdf.new() return f, filename def _mediabox(page, crop): """ Return the media box for a given page. """ # PDF files which do not have mediabox default to Portrait Letter / ANSI A cmb = page.MediaBox if "/MediaBox" in page else [0, 0, 612, 792] if "/CropBox" in page: cmb = page.CropBox if crop == [0., 0., 0., 0.]: return cmb angle = page.Rotate if '/Rotate' in page else 0 rotate_times = int(round(((angle) % 360) / 90) % 4) crop_init = crop if rotate_times != 0: perm = [0, 2, 1, 3] for _ in range(rotate_times): perm.append(perm.pop(0)) perm.insert(1, perm.pop(2)) crop = [crop_init[perm[side]] for side in range(4)] x1, y1, x2, y2 = [float(x) for x in cmb] x1_new = x1 + (x2 - x1) * crop[0] x2_new = x2 - (x2 - x1) * crop[1] y1_new = y1 + (y2 - y1) * crop[3] y2_new = y2 - (y2 - y1) * crop[2] return [x1_new, y1_new, x2_new, y2_new] _report_pikepdf_err = True def _set_meta(mdata, pdf_input, pdf_output): ppae = metadata.PRODUCER not in mdata with pdf_output.open_metadata(set_pikepdf_as_editor=ppae) as outmeta: if len(pdf_input) > 0: metadata.load_from_docinfo(outmeta, pdf_input[0]) for k, v in mdata.items(): outmeta[k] = v def _scale(doc, page, factor): """ Scale a page """ if factor == 1: return page rotate = 0 if "/Rotate" in page: # We'll set the rotate attribute on the resulting page so we must # unset it on the input page before rotate = page.Rotate page.Rotate = 0 page_id = len(doc.pages) newmediabox = [factor * float(x) for x in page.MediaBox] content = "q {} 0 0 {} 0 0 cm /p{} Do Q".format(factor, factor, page_id) xobject = pikepdf.Page(page).as_form_xobject() new_page = pikepdf.Dictionary( Type=pikepdf.Name.Page, MediaBox=newmediabox, Contents=doc.make_stream(content.encode()), Resources={'/XObject': {'/p{}'.format(page_id): xobject}}, Rotate=rotate, ) # workaround for pikepdf <= 2.6.0. See https://github.com/pikepdf/pikepdf/issues/174 if pikepdf.__version__ < '2.7.0': new_page = doc.make_indirect(new_page) return new_page def check_content(parent, pdf_list): """ Warn about fillable forms or outlines that are lost on export.""" warn = False for pdf in [pikepdf.open(p.copyname, password=p.password) for p in pdf_list]: if "/AcroForm" in pdf.Root.keys(): # fillable form warn = True break if pdf.open_outline().root: # table of contents warn = True break if warn: d = Gtk.Dialog(_('Warning'), parent=parent, flags=Gtk.DialogFlags.MODAL, buttons=(Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, Gtk.STOCK_OK, Gtk.ResponseType.OK)) label = Gtk.Label(_('Forms and outlines are lost on saving.')) d.vbox.pack_start(label, False, False, 6) checkbutton = Gtk.CheckButton(_('Do not show this dialog again.')) d.vbox.pack_start(checkbutton, False, False, 6) buttonbox = d.get_action_area() buttons = buttonbox.get_children() d.set_focus(buttons[1]) d.show_all() response = d.run() enable_warnings = not checkbutton.get_active() d.destroy() return response, enable_warnings return Gtk.ResponseType.OK, True def _update_angle(model_page, source_page, output_page): angle = model_page.angle angle0 = source_page.Rotate if '/Rotate' in source_page else 0 if angle != 0: output_page.Rotate = angle + angle0 def _remove_unreferenced_resources(pdfdoc): try: pdfdoc.remove_unreferenced_resources() except RuntimeError: # Catch "RuntimeError: operation for dictionary attempted on object of # type null" with old version PikePDF (observed with 1.17 and 1.19). # Blindly catch all RuntimeError is dangerous as this may catch # unwanted exception so we print it. print(traceback.format_exc()) def export(input_files, pages, file_out, mode, mdata): exportmodes = {0: 'ALL_TO_SINGLE', 1: 'ALL_TO_MULTIPLE', 2: 'SELECTED_TO_SINGLE', 3: 'SELECTED_TO_MULTIPLE'} exportmode = exportmodes[mode.get_int32()] global _report_pikepdf_err pdf_output = pikepdf.Pdf.new() pdf_input = [pikepdf.open(p.copyname, password=p.password) for p in input_files] copied_pages = {} # Copy pages from the input PDF files to the output PDF file for row in pages: current_page = pdf_input[row.nfile - 1].pages[row.npage - 1] # if the page already exists in the output PDF, duplicate it new_page = copied_pages.get((row.nfile, row.npage)) if new_page is None: # for backward compatibility with old pikepdf. With pikepdf > 3 # new_page = current_page should be enough new_page = pdf_output.copy_foreign(current_page) # let pdf_output adopt new_page pdf_output.pages.append(new_page) new_page = pdf_output.pages[-1] copied_pages[(row.nfile, row.npage)] = new_page # Ensure annotations are copied rather than referenced # https://github.com/pdfarranger/pdfarranger/issues/437 if pikepdf.Name.Annots in current_page: pdf_temp = pikepdf.Pdf.new() pdf_temp.pages.append(current_page) indirect_annots = pdf_temp.make_indirect(pdf_temp.pages[0].Annots) new_page.Annots = pdf_output.copy_foreign(indirect_annots) # Apply geometrical transformations in the output PDF file for page_id, row in enumerate(pages): new_page = pdf_output.pages[page_id] _update_angle(row, new_page, new_page) new_page.MediaBox = _mediabox(new_page, row.crop) pdf_output.pages[page_id] = _scale(pdf_output, new_page, row.scale) if exportmode in ['ALL_TO_MULTIPLE', 'SELECTED_TO_MULTIPLE']: for n, page in enumerate(pdf_output.pages): outpdf = pikepdf.Pdf.new() _set_meta(mdata, pdf_input, outpdf) # needed to add this, probably related to pikepdf < 2.7.0 workaround page = outpdf.copy_foreign(page) # works without make_indirect as already applied to this page outpdf.pages.append(page) outname = file_out parts = file_out.rsplit('.', 1) if n > 0: # Add page number to filename outname = "".join(parts[:-1]) + str(n + 1) + '.' + parts[-1] _remove_unreferenced_resources(outpdf) outpdf.save(outname) else: _set_meta(mdata, pdf_input, pdf_output) _remove_unreferenced_resources(pdf_output) pdf_output.save(file_out) def num_pages(filepath): """Get number of pages for filepath.""" try: pdf = pikepdf.Pdf.open(filepath) except pikepdf._qpdf.PdfError: return None npages = len(pdf.pages) pdf.close() return npages def generate_booklet(pdfqueue, tmp_dir, pages): file, filename = make_tmp_file(tmp_dir) content_dict = pikepdf.Dictionary({}) file_indexes = {p.nfile for p in pages} source_files = {n: pikepdf.open(pdfqueue[n - 1].copyname) for n in file_indexes} for i in range(len(pages)//2): even = i % 2 == 0 first = pages[-i - 1 if even else i] second = pages[i if even else -i - 1] second_page_size = second.size_in_points() first_page_size = first.size_in_points() page_size = [max(second_page_size[0], first_page_size[0]) * 2, max(second_page_size[1], first_page_size[1])] first_original = source_files[first.nfile].pages[first.npage - 1] first_foreign = file.copy_foreign(first_original) _update_angle(first, first_original, first_foreign) second_original = source_files[second.nfile].pages[second.npage - 1] second_foreign = file.copy_foreign(second_original) _update_angle(second, second_original, second_foreign) content_dict[f'/Page{i*2}'] = pikepdf.Page(first_foreign).as_form_xobject() content_dict[f'/Page{i*2 + 1}'] = pikepdf.Page(second_foreign).as_form_xobject() content_txt = (f'q 1 0 0 1 0 0 cm /Page{i*2} Do Q' f' q 1 0 0 1 {first_page_size[0]} 0 cm /Page{i*2 + 1} Do Q ') newpage = pikepdf.Dictionary( Type=pikepdf.Name.Page, MediaBox=[0, 0, *page_size], Resources=pikepdf.Dictionary(XObject=content_dict), Contents=pikepdf.Stream(file, content_txt.encode()) ) # workaround for pikepdf <= 2.6.0. See https://github.com/pikepdf/pikepdf/issues/174 if pikepdf.__version__ < '2.7.0': newpage = file.make_indirect(newpage) file.pages.append(newpage) file.save(filename) return filename pdfarranger-1.8.2/pdfarranger/iconview.py000066400000000000000000000352301416164621100205120ustar00rootroot00000000000000# Copyright (C) 2008-2017 Konstantinos Poulios, 2018-2019 Jerome Robert # # pdfarranger is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. from gi.repository import Gtk from gi.repository import Gdk from math import pi class CellRendererImage(Gtk.CellRenderer): def __init__(self): Gtk.CellRenderer.__init__(self) self.th1 = 2. # border thickness self.th2 = 3. # shadow thickness self.page = None def set_page(self, page): self.page = page def get_geometry(self): rotation = int(self.page.angle) % 360 rotation = round(rotation / 90) * 90 w0 = self.page.thumbnail.get_width() h0 = self.page.thumbnail.get_height() if rotation == 90 or rotation == 270: w1, h1 = h0, w0 else: w1, h1 = w0, h0 w2 = self.page.width_in_pixel() h2 = self.page.height_in_pixel() return w0, h0, w1, h1, w2, h2, rotation def do_render(self, window, _widget, _background_area, cell_area, _expose_area): if not self.page.thumbnail: return w0, h0, w1, h1, w2, h2, rotation = self.get_geometry() th = int(2 * self.th1 + self.th2) w = w2 + th h = h2 + th x = cell_area.x y = cell_area.y if cell_area and w > 0 and h > 0: x += self.get_property('xalign') * (cell_area.width - w) y += self.get_property('yalign') * (cell_area.height - h) window.translate(int(0.5 + x), int(0.5 + y)) # shadow window.set_source_rgb(0.5, 0.5, 0.5) window.rectangle(th, th, w2, h2) window.fill() # border window.set_source_rgb(0, 0, 0) window.rectangle(0, 0, w2 + 2 * self.th1, h2 + 2 * self.th1) window.fill() # image window.set_source_rgb(1, 1, 1) window.rectangle(self.th1, self.th1, w2, h2) window.fill_preserve() window.clip() window.translate(self.th1, self.th1) scale = self.page.resample * self.page.zoom window.scale(scale, scale) x = int(self.page.crop[0] * w1) y = int(self.page.crop[2] * h1) window.translate(-x, -y) if rotation > 0: window.translate(w1 / 2, h1 / 2) window.rotate(rotation * pi / 180) window.translate(-w0 / 2, -h0 / 2) window.set_source_surface(self.page.thumbnail) window.paint() def do_get_size(self, _widget, cell_area=None): x = y = 0 th = int(2 * self.th1 + self.th2) w = self.page.width_in_pixel() + th h = self.page.height_in_pixel() + th if cell_area and w > 0 and h > 0: x = self.get_property('xalign') * ( cell_area.width - w - self.get_property('xpad')) y = self.get_property('yalign') * ( cell_area.height - h - self.get_property('ypad')) w += 2 * self.get_property('xpad') h += 2 * self.get_property('ypad') return int(x), int(y), w, h class IconviewCursor(object): """Move cursor, select pages and scroll with navigation keys.""" def __init__(self, app): self.app = app self.model = self.app.iconview.get_model() self.move_cursor = True self.event = None self.iconview = None self.sel_start_page = None self.cursor_page_nr = 0 self.cursor_page_nr_new = 0 self.cursor_is_visible = False def handler(self, iconview, event): """Do all steps involved in cursor moving.""" self.iconview = iconview self.event = event self.set_initial() self.set_selection_start_page() self.move() self.select() self.scroll_iconview() def set_initial(self): """Cursor initial set.""" self.move_cursor = True selection = self.iconview.get_selected_items() if len(selection) == 0: self.cursor_is_visible = False if selection and not self.iconview.get_cursor()[1] in selection: selection.sort(key=lambda x: x.get_indices()[0]) self.iconview.set_cursor(selection[-1], None, False) if self.event.state & Gdk.ModifierType.SHIFT_MASK: self.sel_start_page = Gtk.TreePath.get_indices(selection[-1])[0] self.iconview.unselect_all() elif not self.iconview.get_cursor()[0]: if self.event.keyval == Gdk.KEY_End: self.cursor_page_nr_new = len(self.model) - 1 else: self.cursor_page_nr_new = 0 cursor_path_new = Gtk.TreePath.new_from_indices([self.cursor_page_nr_new]) self.iconview.set_cursor(cursor_path_new, None, False) self.move_cursor = False self.iconview.unselect_all() def set_selection_start_page(self): """Set selection start page when shift + navigation keys are used.""" if self.sel_start_page is None and self.event.state & Gdk.ModifierType.SHIFT_MASK: self.sel_start_page = Gtk.TreePath.get_indices(self.iconview.get_cursor()[1])[0] self.iconview.unselect_all() elif not self.event.state & Gdk.ModifierType.SHIFT_MASK: self.sel_start_page = None def move(self): """Move iconview cursor with navigation keys.""" columns_nr = self.iconview.get_columns() if self.move_cursor: cursor_path = self.iconview.get_cursor()[1] self.cursor_page_nr = Gtk.TreePath.get_indices(cursor_path)[0] if self.event.keyval == Gdk.KEY_Up: step = 0 if self.cursor_page_nr - columns_nr < 0 else columns_nr self.cursor_page_nr_new = self.cursor_page_nr - step elif self.event.keyval == Gdk.KEY_Down: step = 0 if self.cursor_page_nr + columns_nr > len(self.model) - 1 else columns_nr self.cursor_page_nr_new = self.cursor_page_nr + step elif self.event.keyval == Gdk.KEY_Left: self.cursor_page_nr_new = max(self.cursor_page_nr - 1, 0) elif self.event.keyval == Gdk.KEY_Right: self.cursor_page_nr_new = min(self.cursor_page_nr + 1, len(self.model) - 1) elif self.event.keyval == Gdk.KEY_Home: self.cursor_page_nr_new = 0 elif self.event.keyval == Gdk.KEY_End: self.cursor_page_nr_new = len(self.model) - 1 cursor_path = Gtk.TreePath.new_from_indices([self.cursor_page_nr]) self.iconview.unselect_path(cursor_path) if not self.cursor_is_visible: self.iconview.emit('move-cursor', Gtk.MovementStep.DISPLAY_LINES, 0) self.cursor_is_visible = True self.iconview.unselect_all() cursor_path_new = Gtk.TreePath.new_from_indices([self.cursor_page_nr_new]) self.iconview.set_cursor(cursor_path_new, None, False) def select(self): """Select iconview pages with shift + navigation keys.""" if self.event.state & Gdk.ModifierType.SHIFT_MASK: if self.cursor_page_nr_new > self.sel_start_page > self.cursor_page_nr: for page_nr in range(self.cursor_page_nr, self.sel_start_page): path = Gtk.TreePath.new_from_indices([page_nr]) self.iconview.unselect_path(path) elif self.cursor_page_nr_new < self.sel_start_page < self.cursor_page_nr: for page_nr in range(self.sel_start_page, self.cursor_page_nr): path = Gtk.TreePath.new_from_indices([page_nr]) self.iconview.unselect_path(path) elif self.cursor_page_nr_new == self.sel_start_page: self.iconview.unselect_all() step = -1 if self.cursor_page_nr_new < self.sel_start_page else 1 for page_nr in range(self.cursor_page_nr_new, self.cursor_page_nr + step, step): path = Gtk.TreePath.new_from_indices([page_nr]) self.iconview.unselect_path(path) for page_nr in range(self.sel_start_page, self.cursor_page_nr_new + step, step): path = Gtk.TreePath.new_from_indices([page_nr]) self.iconview.select_path(path) else: self.iconview.unselect_all() cursor_path_new = Gtk.TreePath.new_from_indices([self.cursor_page_nr_new]) self.iconview.select_path(cursor_path_new) def scroll_iconview(self): """Scroll in order to keep cursor visible in window.""" sw_vadj = self.app.sw.get_vadjustment() sw_vpos = sw_vadj.get_value() cursor_path_new = Gtk.TreePath.new_from_indices([self.cursor_page_nr_new]) cell_height = self.iconview.get_cell_rect(cursor_path_new)[1].height cell_y = self.iconview.get_cell_rect(cursor_path_new)[1].y sw_height = self.app.sw.get_allocated_height() sw_vpos = min(sw_vpos, cell_y + self.app.vp_css_margin - 6) sw_vpos = max(sw_vpos, cell_y + self.app.vp_css_margin + 6 - sw_height + cell_height) sw_vadj.set_value(sw_vpos) class IconviewDragSelect: """ Drag-select when clicking between items and dragging mouse pointer. Click + drag-select selects the range from click location to drag location. Shift + click + drag-select adds more items to selection. Control + click + drag-select toggles selection. """ def __init__(self, app): self.app = app self.iconview = app.iconview self.model = app.iconview.get_model() self.range_start = 0 self.range_end = 0 self.click_location = None self.cursor_name_old = 'default' def click(self, event): """Store the click location.""" if len(self.model) == 0: return self.last_cell = self.iconview.get_cell_rect(self.model[-1].path)[1] self.click_location = self.get_location(event) if self.click_location: self.set_mouse_cursor('text') self.range_start = int(self.click_location + 0.5) self.range_end = self.range_start self.control_is_pressed = event.state & Gdk.ModifierType.CONTROL_MASK self.shift_is_pressed = event.state & Gdk.ModifierType.SHIFT_MASK if self.control_is_pressed or self.shift_is_pressed: self.selection_list = [] for row in self.model: self.selection_list.append(self.iconview.path_is_selected(row.path)) def motion(self, event): """Get drag location and select or deselect items.""" if not self.click_location: return drag_location = self.get_location(event) if drag_location is None: return if not event.state & Gdk.ModifierType.CONTROL_MASK: self.control_is_pressed = False if not event.state & Gdk.ModifierType.SHIFT_MASK: self.shift_is_pressed = False selection_changed = self.select(drag_location) return selection_changed def select(self, drag_location): """Select or deselect items between click location and current mouse pointer location.""" range_start_old = self.range_start range_end_old = self.range_end if drag_location > self.click_location: self.range_start = int(self.click_location + 0.5) self.range_end = int(drag_location + 1) else: self.range_start = int(drag_location + 0.5) self.range_end = int(self.click_location + 1) if self.range_start == range_start_old and self.range_end == range_end_old: return changed_range_start = min(self.range_start, range_start_old) changed_range_end = max(self.range_end, range_end_old) for page_nr in range(changed_range_start, changed_range_end): path = Gtk.TreePath.new_from_indices([page_nr]) if self.control_is_pressed: if page_nr in range(self.range_start, self.range_end): if self.selection_list[page_nr]: self.iconview.unselect_path(path) else: self.iconview.select_path(path) else: if self.selection_list[page_nr]: self.iconview.select_path(path) else: self.iconview.unselect_path(path) elif self.shift_is_pressed: if page_nr in range(self.range_start, self.range_end): self.iconview.select_path(path) elif not self.selection_list[page_nr]: self.iconview.unselect_path(path) else: if page_nr in range(self.range_start, self.range_end): self.iconview.select_path(path) else: self.iconview.unselect_path(path) return True def get_location(self, event): """ Get mouse pointer location. E.g. Location is 2.0 when pointer is on item 2. Location is 2.5 when pointer is between item 2 and 3. """ location = None search_positions = [(event.x, event.y, 0), (event.x + self.last_cell.width / 2, event.y, -0.5), (event.x - self.last_cell.width / 2, event.y, 0.5)] for x_s, y_s, offset in search_positions: path = self.iconview.get_path_at_pos(x_s, y_s) if path: location = Gtk.TreePath.get_indices(path)[0] + offset return location if (event.y > self.last_cell.y + self.last_cell.height) or ( event.y > self.last_cell.y and event.x > self.last_cell.x + self.last_cell.width): location = len(self.model) - 0.5 elif event.y < self.app.vp_css_margin * -1: location = -0.5 return location def set_mouse_cursor(self, cursor_name): """Set the cursor type specified by cursor_name.""" if cursor_name == self.cursor_name_old: return cursor = Gdk.Cursor.new_from_name(Gdk.Display.get_default(), cursor_name) self.iconview.get_window().set_cursor(cursor) self.cursor_name_old = cursor_name pdfarranger-1.8.2/pdfarranger/metadata.py000066400000000000000000000201411416164621100204420ustar00rootroot00000000000000# Copyright (C) 2020 Jerome Robert # # pdfarranger is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. """ PDF meta data edition """ import pikepdf import gettext import re import json import traceback from datetime import datetime from dateutil import parser from gi.repository import Gtk _ = gettext.gettext # The producer property can be overriden by pikepdf PRODUCER = '{http://ns.adobe.com/pdf/1.3/}Producer' # Currently the only property which support lists as values. If you add more # please implement a generic mecanism. _CREATOR = '{http://purl.org/dc/elements/1.1/}creator' _CREATED = '{http://ns.adobe.com/xap/1.0/}CreateDate' _MODIFIED = '{http://ns.adobe.com/xap/1.0/}ModifyDate' # List of supported meta data with their user representation # see https://wwwimages2.adobe.com/content/dam/acom/en/devnet/xmp/pdfs/XMP%20SDK%20Release%20cc-2016-08/XMPSpecificationPart1.pdf # if you want to add more _LABELS = { '{http://purl.org/dc/elements/1.1/}title': _('Title'), '{http://purl.org/dc/elements/1.1/}description': _('Subject'), '{http://ns.adobe.com/pdf/1.3/}Keywords': _('Keywords'), PRODUCER: _('Producer'), _CREATOR: _('Creator'), '{http://ns.adobe.com/xap/1.0/}CreatorTool': _('Creator tool'), _CREATED: _('Created'), _MODIFIED: _('Modified'), } def _pikepdf_meta_is_valid(meta): """ Return true if m is a valid PikePDF meta data value. PikePDF pass meta data to re.sub which only accept str or byte-like object. """ if not isinstance(meta, list): meta = [meta] for s in meta: try: re.sub('', '', s) except TypeError: return False return True def load_from_docinfo(meta, doc): """ wrapper of pikepdf.models.PdfMetadata.load_from_docinfo with a workaround for https://github.com/pikepdf/pikepdf/issues/100 & 162 """ try: meta.load_from_docinfo(doc.docinfo) except (NotImplementedError, TypeError): # DocumentInfo cannot be loaded and will be lost. Not a that big issue. traceback.print_exc() def merge(metadata, input_files): """ Merge current global metadata and each imported files meta data """ r = metadata.copy() for p in input_files: doc = pikepdf.open(p.copyname, password=p.password) with doc.open_metadata() as meta: load_from_docinfo(meta, doc) for k, v in meta.items(): if not _pikepdf_meta_is_valid(v): # workaround for https://github.com/pikepdf/pikepdf/issues/84 del meta[k] elif k not in metadata: r[k] = v return r def _metatostr(value, name): """ Convert a meta data value from list to string if it's not a string """ if isinstance(value, str): return value elif isinstance(value, list) and name == _CREATOR: if len(value) == 1: return _metatostr(value[0], name) else: return json.dumps(value) return '' def _strtometa(value, name): try: r = json.loads(value) if name == _CREATOR else value if isinstance(r, list): return None if len(r) == 0 else r else: # r is a dict which is not supported so we revert back # to a plain string return value except json.decoder.JSONDecodeError: return value class _EditedEventHandler(object): """ Callbacks to save the data entered into the "Edit properties" fields. For basic saving just the edited method would be needed. The rest is a workaround for Gtk interpreting a lost focus (including clicking "Apply") as a cancelled edit and therefore discarding the edit currently in progress. To avoid that, we need to save the text on each changed event to self.new_text and then save it to the liststore on canceled. We can not save it directly to the liststore since that stops editing after each keypress. """ def __init__(self, liststore): self.liststore = liststore self.path = None self.new_text = None def started(self, _renderer, editable, path): self.path = path editable.connect("changed", self.editable_changed) def editable_changed(self, editable): self.new_text = editable.get_text() @staticmethod def _parse_date(string, parent): try: date = parser.parse(string) return datetime.isoformat(date) # ISO-8601 formatted date except ValueError: if string: msg = _('Invalid date format. Input discarded.') d = Gtk.MessageDialog(parent=parent, flags=Gtk.DialogFlags.MODAL, type=Gtk.MessageType.ERROR, buttons=Gtk.ButtonsType.OK, message_format=msg) d.run() d.destroy() return '' def edited(self, _renderer, path, new_text, parent): date_labels = [_LABELS[l] for l in [_CREATED, _MODIFIED]] if self.liststore[path][0] in date_labels: new_text = self._parse_date(new_text, parent) self.liststore[path][1] = new_text def canceled(self, _renderer): if self.new_text is not None: self.liststore[self.path][1] = self.new_text def edit(metadata, pdffiles, parent): """ Edit the current meta data :param metadata: The dictionnary of meta data to modify :param pdffiles: A list of PDF from witch to take the initial meta data :param parent: The parent window """ dialog = Gtk.Dialog(title=_('Edit properties'), parent=parent, flags=Gtk.DialogFlags.MODAL, buttons=(Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, Gtk.STOCK_OK, Gtk.ResponseType.OK)) ok_button = dialog.get_widget_for_response(response_id = Gtk.ResponseType.OK) ok_button.grab_focus() # Property, Value, XMP name (hidden) liststore = Gtk.ListStore(str, str, str) mergedmetadata = merge(metadata, pdffiles) for xlabel, label in _LABELS.items(): metastr = _metatostr(mergedmetadata.get(xlabel, ''), xlabel) liststore.append([label, metastr, xlabel]) treeview = Gtk.TreeView.new_with_model(liststore) for i, v in enumerate([(_("Property"), False), (_("Value")+" "*30, True)]): title, editable = v renderer = Gtk.CellRendererText() if editable: renderer.set_property("editable", True) handler = _EditedEventHandler(liststore) renderer.connect("editing-started", handler.started) renderer.connect("edited", handler.edited, parent) renderer.connect("editing-canceled", handler.canceled) column = Gtk.TreeViewColumn(title, renderer, text=i) treeview.append_column(column) treeview.props.margin = 12 treeview.set_enable_search(False) treeview.set_cursor(Gtk.TreePath(0), treeview.get_column(1), True) dialog.vbox.pack_start(treeview, True, True, 0) dialog.show_all() result = dialog.run() r = result == Gtk.ResponseType.OK dialog.destroy() if r: for row in liststore: # Capture invalid input when the emission of the edited signal is # bypassed by pressing OK while editing. if row[2] in [_CREATED, _MODIFIED]: row[1] = handler._parse_date(row[1], parent) metadata[row[2]] = _strtometa(row[1], row[2]) return r pdfarranger-1.8.2/pdfarranger/pdfarranger.py000066400000000000000000002667061416164621100212000ustar00rootroot00000000000000# Copyright (C) 2008-2017 Konstantinos Poulios, 2018-2019 Jerome Robert # # pdfarranger is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. import os import shutil # for file operations like whole directory deletion import sys # for processing of command line args import tempfile import signal import mimetypes import warnings import traceback import locale # for multilanguage support import gettext import gc import subprocess import ctypes import pikepdf from urllib.request import url2pathname from functools import lru_cache sharedir = os.path.join(sys.prefix, 'share') basedir = '.' if getattr(sys, 'frozen', False): basedir = os.path.dirname(sys.executable) sharedir = os.path.join(basedir, 'share') elif sys.argv[0]: execdir = os.path.dirname(os.path.realpath(sys.argv[0])) basedir = os.path.dirname(execdir) sharedir = os.path.join(basedir, 'share') if not os.path.exists(sharedir): sharedir = basedir localedir = os.path.join(sharedir, 'locale') if not os.path.exists(localedir): # Assume we are in development mode localedir = os.path.join(basedir, 'build', 'mo') try: locale.setlocale(locale.LC_ALL, '') except locale.Error: pass # Gtk already prints a warning DOMAIN = 'pdfarranger' ICON_ID = 'com.github.jeromerobert.' + DOMAIN if hasattr(locale, 'bindtextdomain'): # glibc locale.bindtextdomain(DOMAIN, localedir) try: locale.bind_textdomain_codeset(DOMAIN, 'UTF-8') except AttributeError: pass else: # Windows or musl libintl = ctypes.cdll['libintl-8' if os.name == 'nt' else 'libintl.so.8'] libintl.bindtextdomain(DOMAIN.encode(), localedir.encode(sys.getfilesystemencoding())) libintl.bind_textdomain_codeset(DOMAIN.encode(), 'UTF-8'.encode()) del libintl APPNAME = 'PDF Arranger' VERSION = '1.8.2' WEBSITE = 'https://github.com/pdfarranger/pdfarranger' if os.name == 'nt': # Add support for dnd to other instance and insert file at drop location in Windows import keyboard # to get control key state when drag to other instance os.environ['GDK_WIN32_USE_EXPERIMENTAL_OLE2_DND'] = 'true' # Use client side decorations. Will also enable window moving with Win + left/right os.environ['GTK_CSD'] = '1' import gi # check that we don't need GObject.threads_init() gi.check_version('3.10.2') gi.require_version('Gtk', '3.0') from gi.repository import Gtk if Gtk.check_version(3, 12, 0): raise Exception('You do not have the required version of GTK+ installed. ' + 'Installed GTK+ version is ' + '.'.join([str(Gtk.get_major_version()), str(Gtk.get_minor_version()), str(Gtk.get_micro_version())]) + '. Required GTK+ version is 3.12 or higher.') from gi.repository import Gdk from gi.repository import GObject # for using custom signals from gi.repository import Gio # for inquiring mime types information from gi.repository import GLib from gi.repository import Pango if os.name == 'nt' and GLib.get_language_names(): os.environ['LANG'] = GLib.get_language_names()[0] gettext.bindtextdomain(DOMAIN, localedir) gettext.textdomain(DOMAIN) _ = gettext.gettext from . import undo from . import exporter from . import metadata from . import croputils from . import splitter from .iconview import CellRendererImage from .iconview import IconviewCursor from .iconview import IconviewDragSelect from .config import Config from .core import img2pdf_supported_img, PageAdder, PDFDocError, PDFRenderer GObject.type_register(CellRendererImage) def _install_workaround_bug29(): """ Install a workaround for https://gitlab.gnome.org/GNOME/pygobject/issues/29 """ try: gi.check_version('3.29.2') except ValueError: def func(self, entries): # simplified version of https://gitlab.gnome.org/GNOME/pygobject/commit/d0b219c for d in entries: param_type = None if len(d) < 3 else GLib.VariantType.new(d[2]) action = Gio.SimpleAction(name=d[0], parameter_type=param_type) action.connect("activate", d[1], None) self.add_action(action) Gtk.ApplicationWindow.add_action_entries = func _install_workaround_bug29() def warn_dialog(func): """ Decorator which redirect warnings module messages to a gkt MessageDialog """ class ShowWarning: def __init__(self): self.buffer = "" def __call__(self, message, category, filename, lineno, f=None, line=None): s = warnings.formatwarning(message, category, filename, lineno, line) if sys.stderr is not None: sys.stderr.write(s + '\n') self.buffer += str(message) + '\n' def wrapper(*args, **kwargs): self = args[0] backup_showwarning = warnings.showwarning warnings.showwarning = ShowWarning() try: func(*args, **kwargs) if len(warnings.showwarning.buffer) > 0: self.error_message_dialog(warnings.showwarning.buffer, Gtk.MessageType.WARNING) finally: warnings.showwarning = backup_showwarning return wrapper def malloc_trim(): """Release free memory from the heap.""" if os.name == 'nt': return mtrim = malloc_trim_available() if mtrim: mtrim() @lru_cache() def malloc_trim_available(): try: ctypes.CDLL('libc.so.6').malloc_trim(0) except (FileNotFoundError, AttributeError, OSError): print('malloc_trim not available. Application may not release memory properly.') return def mtrim(): ctypes.CDLL('libc.so.6').malloc_trim(0) return mtrim def get_file_path_from_uri(uri): """Extracts the path from an uri""" uri = uri[5:] # remove 'file:' path = url2pathname(uri) # escape special chars path = path.strip('\r\n\x00\x2F') # remove \r\n and NULL and \ if os.name == 'posix': path = '/' + path return path class PdfArranger(Gtk.Application): # Drag and drop ID for pages coming from the same pdfarranger instance MODEL_ROW_INTERN = 1001 # Drag and drop ID for pages coming from an other pdfarranger instance MODEL_ROW_EXTERN = 1002 # Drag and drop ID for pages coming from a non-pdfarranger application TEXT_URI_LIST = 1003 TARGETS_IV = [Gtk.TargetEntry.new('MODEL_ROW_INTERN', Gtk.TargetFlags.SAME_WIDGET, MODEL_ROW_INTERN), Gtk.TargetEntry.new('MODEL_ROW_EXTERN', Gtk.TargetFlags.OTHER_APP, MODEL_ROW_EXTERN)] TARGETS_SW = [Gtk.TargetEntry.new('text/uri-list', 0, TEXT_URI_LIST), Gtk.TargetEntry.new('MODEL_ROW_EXTERN', Gtk.TargetFlags.OTHER_APP, MODEL_ROW_EXTERN)] def __init__(self, *args, **kwargs): super().__init__(*args, application_id="com.github.jeromerobert.pdfarranger", flags=Gio.ApplicationFlags.NON_UNIQUE | Gio.ApplicationFlags.HANDLES_COMMAND_LINE, **kwargs) # Create the temporary directory self.tmp_dir = tempfile.mkdtemp(DOMAIN) os.chmod(self.tmp_dir, 0o700) # Defining instance attributes # The None values will be set later in do_activate self.config = Config(DOMAIN) self.uiXML = None self.window = None self.sw = None self.model = None self.undomanager = None self.iconview = None self.cellthmb = None self.status_bar = None self.popup = None self.is_unsaved = False self.zoom_level = None self.zoom_level_old = 0 self.zoom_scale = None self.zoom_full_page = False self.render_id = None self.id_scroll_to_sel = None self.target_is_intern = True self.export_directory = os.path.expanduser('~') self.import_directory = self.export_directory self.nfile = 0 self.iv_auto_scroll_direction = 0 self.iv_auto_scroll_timer = None self.vp_css_margin = 0 self.pdfqueue = [] self.metadata = {} self.pressed_button = None self.click_path = None self.rendering_thread = None self.export_file = None self.drag_path = None self.drag_pos = Gtk.IconViewDropPosition.DROP_RIGHT self.window_width_old = 0 self.set_iv_visible_id = None # Clipboard for cut copy paste self.clipboard = Gtk.Clipboard.get(Gdk.SELECTION_CLIPBOARD) self.add_arguments() def add_arguments(self): self.set_option_context_summary(_( "PDF Arranger is a small python-gtk application, which helps the " "user to merge or split pdf documents and rotate, crop and rearrange " "their pages using an interactive and intuitive graphical interface. " "It is a frontend for pikepdf." )) self.add_main_option( "version", ord("v"), GLib.OptionFlags.NONE, GLib.OptionArg.NONE, _("Print the version of PDF Arranger and exit"), None, ) self.add_main_option( GLib.OPTION_REMAINING, 0, GLib.OptionFlags.NONE, GLib.OptionArg.STRING_ARRAY, _("File(s) to open"), "[FILES]", ) def __build_from_file(self, path): """ Return the path of a resource file """ # TODO: May be we could use Application.set_resource_base_path and # get_menu_by_id in place of that # Trying different possible locations f = os.path.join(basedir, 'share', DOMAIN, path) if not os.path.exists(f): f = os.path.join(basedir, 'data', path) if not os.path.exists(f): f = '/usr/share/{}/{}'.format(DOMAIN, path) if not os.path.exists(f): f = '/usr/local/share/{}/{}'.format(DOMAIN, path) b = Gtk.Builder() b.set_translation_domain(DOMAIN) b.add_from_file(f) b.connect_signals(self) return b def __create_menus(self): b = self.__build_from_file("menu.ui") self.config.set_actions(b) self.popup = Gtk.Menu.new_from_model(b.get_object("popup_menu")) self.popup.attach_to_widget(self.window, None) main_menu = self.uiXML.get_object("main_menu_button") main_menu.set_menu_model(b.get_object("main_menu")) def __create_actions(self): # Both Gtk.ApplicationWindow and Gtk.Application are Gio.ActionMap. Some action are window # related some other are application related. As pdfarrager is a single window app does not # matter that much. self.window.add_action_entries([ ('rotate', self.rotate_page_action, 'i'), ('delete', self.on_action_delete), ('duplicate', self.duplicate), ('page-format', self.page_format_dialog), ('crop-white-borders', self.crop_white_borders), ('export-selection', self.choose_export_selection_pdf_name, 'i'), ('export-all', self.on_action_export_all), ('reverse-order', self.reverse_order), ('save', self.on_action_save), ('save-as', self.on_action_save_as), ('new', self.on_action_new), ('import', self.on_action_add_doc_activate), ('zoom', self.zoom_change, 'i'), ('quit', self.on_quit), ('undo', self.undomanager.undo), ('redo', self.undomanager.redo), ('split', self.split_pages), ('metadata', self.edit_metadata), ('cut', self.on_action_cut), ('copy', self.on_action_copy), ('paste', self.on_action_paste, 'i'), ('select', self.on_action_select, 'i'), ('select-same-file', self.on_action_select, 'i'), ('select-same-format', self.on_action_select, 'i'), ('about', self.about_dialog), ("insert-blank-page", self.insert_blank_page), ("generate-booklet", self.generate_booklet), ]) main_menu = self.uiXML.get_object("main_menu_button") self.window.add_action(Gio.PropertyAction.new("main-menu", main_menu, "active")) for a, k in self.config.get_accels(): self.set_accels_for_action("win." + a, [k] if isinstance(k, str) else k) # Disable actions self.iv_selection_changed_event() self.window_focus_in_out_event() self.__update_num_pages(self.iconview.get_model()) self.undomanager.set_actions(self.window.lookup_action('undo'), self.window.lookup_action('redo')) def insert_blank_page(self, _action, _option, _unknown): size = (21 / 2.54 * 72, 29.7 / 2.54 * 72) # A4 by default selection = self.iconview.get_selected_items() selection.sort() model = self.iconview.get_model() if len(selection) > 0: size = model[selection[-1]][0].size_in_points() page_size = croputils.BlankPageDialog(size, self.window).run_get() if page_size is not None: adder = PageAdder(self) if len(selection) > 0: adder.move(Gtk.TreeRowReference.new(model, selection[-1]), False) adder.addpages(exporter.create_blank_page(self.tmp_dir, page_size)) adder.commit(select_added=False, add_to_undomanager=True) def generate_booklet(self, _action, _option, _unknown): self.undomanager.commit("generate booklet") model = self.iconview.get_model() selection = self.iconview.get_selected_items() selection.sort(key=lambda x: x.get_indices()[0]) ref_list = [Gtk.TreeRowReference.new(model, path) for path in selection] pages = [model.get_value(model.get_iter(ref.get_path()), 0) for ref in ref_list] # Need uniform page size. first_page_size = pages[0].size_in_points() for page in pages[1:]: if first_page_size != page.size_in_points(): msg = _('All pages must have the same size.') self.error_message_dialog(msg) return # We need a multiple of 4 blank_page_count = 0 if len(pages) % 4 == 0 else 4 - len(pages) % 4 if blank_page_count > 0: file = exporter.create_blank_page(self.tmp_dir, pages[0].size) adder = PageAdder(self) for __ in range(blank_page_count): adder.addpages(file) pages += adder.pages adder = PageAdder(self) booklet = exporter.generate_booklet(self.pdfqueue, self.tmp_dir, pages) adder.move(Gtk.TreeRowReference.new(self.model, selection[0]), True) adder.addpages(booklet) adder.commit(select_added=False, add_to_undomanager=False) self.clear_selected(add_to_undomanager=False) self.silent_render() @staticmethod def __create_filters(file_type_list): filter_list = [] f_supported = Gtk.FileFilter() f_supported.set_name(_('All supported files')) filter_list.append(f_supported) if 'pdf' in file_type_list: f_pdf = Gtk.FileFilter() f_pdf.set_name(_('PDF files')) for f in [f_pdf, f_supported]: f.add_pattern('*.pdf') f.add_mime_type('application/pdf') filter_list.append(f_pdf) if 'all' in file_type_list: f = Gtk.FileFilter() f.set_name(_('All files')) f.add_pattern('*') filter_list.append(f) if 'img2pdf' in file_type_list: f_img = Gtk.FileFilter() f_img.set_name(_('Supported image files')) for f in [f_img, f_supported]: for mime in img2pdf_supported_img: f.add_mime_type(mime) for extension in mimetypes.guess_all_extensions(mime): f.add_pattern('*' + extension) filter_list.append(f_img) return filter_list def do_activate(self): """ https://lazka.github.io/pgi-docs/Gio-2.0/classes/Application.html#Gio.Application.do_activate """ # TODO: huge method that should be splitted iconsdir = os.path.join(sharedir, 'icons') if not os.path.exists(iconsdir): iconsdir = os.path.join(sharedir, 'data', 'icons') Gtk.IconTheme.get_default().append_search_path(iconsdir) Gtk.Window.set_default_icon_name(ICON_ID) self.uiXML = self.__build_from_file(DOMAIN + '.ui') # Create the main window, and attach delete_event signal to terminating # the application self.window = self.uiXML.get_object('main_window') self.window.set_title(APPNAME) self.window.set_border_width(0) self.window.set_application(self) if self.config.maximized(): self.window.maximize() self.window.set_default_size(*self.config.window_size()) self.window.move(*self.config.position()) self.window.connect('delete_event', self.on_quit) self.window.connect('focus_in_event', self.window_focus_in_out_event) self.window.connect('focus_out_event', self.window_focus_in_out_event) self.window.connect('configure_event', self.window_configure_event) self.window.connect('button_release_event', self.window_button_release_event) self.window.connect('enter_notify_event', self.window_enter_notify_event) self.window.connect('window_state_event', self.window_state_event) if hasattr(GLib, "unix_signal_add"): GLib.unix_signal_add(GLib.PRIORITY_DEFAULT, signal.SIGINT, self.close_application) # Create a scrolled window to hold the thumbnails-container self.sw = self.uiXML.get_object('scrolledwindow') self.sw.drag_dest_set(Gtk.DestDefaults.HIGHLIGHT | Gtk.DestDefaults.DROP, self.TARGETS_SW, Gdk.DragAction.COPY) self.sw.connect('drag_data_received', self.sw_dnd_received_data) self.sw.connect('button_press_event', self.sw_button_press_event) self.sw.connect('scroll_event', self.sw_scroll_event) self.sw.connect('motion_notify_event', self.sw_motion) # Create ListStore model and IconView self.model = Gtk.ListStore(GObject.TYPE_PYOBJECT, str) self.undomanager = undo.Manager(self) self.zoom_set(self.config.zoom_level()) self.iconview = Gtk.IconView(self.model) self.iconview.clear() self.iconview.set_item_width(-1) self.cellthmb = CellRendererImage() self.cellthmb.set_padding(3, 3) self.cellthmb.set_alignment(0.5, 0.5) self.iconview.pack_start(self.cellthmb, False) self.iconview.set_cell_data_func(self.cellthmb, self.set_cellrenderer_data, None) self.iconview.set_text_column(1) cell_text_renderer = self.iconview.get_cells()[1] cell_text_renderer.props.ellipsize = Pango.EllipsizeMode.MIDDLE self.iconview.set_selection_mode(Gtk.SelectionMode.MULTIPLE) self.iconview.enable_model_drag_source(Gdk.ModifierType.BUTTON1_MASK, self.TARGETS_IV, Gdk.DragAction.COPY | Gdk.DragAction.MOVE) self.iconview.enable_model_drag_dest(self.TARGETS_IV, Gdk.DragAction.COPY | Gdk.DragAction.MOVE) self.iconview.connect('drag_begin', self.iv_drag_begin) self.iconview.connect('drag_data_get', self.iv_dnd_get_data) self.iconview.connect('drag_data_received', self.iv_dnd_received_data) self.iconview.connect('drag_data_delete', self.iv_dnd_data_delete) self.iconview.connect('drag_motion', self.iv_dnd_motion) self.iconview.connect('drag_leave', self.iv_dnd_leave_end) self.iconview.connect('drag_end', self.iv_dnd_leave_end) self.iconview.connect('button_press_event', self.iv_button_press_event) self.iconview.connect('motion_notify_event', self.iv_motion) self.iconview.connect('button_release_event', self.iv_button_release_event) self.iconview.connect('style_updated', self.set_text_renderer_cell_height) self.id_selection_changed_event = self.iconview.connect('selection_changed', self.iv_selection_changed_event) self.iconview.connect('key_press_event', self.iv_key_press_event) self.sw.add_with_viewport(self.iconview) self.model.connect('row-inserted', self.__update_num_pages) self.model.connect('row-deleted', self.__update_num_pages) self.model.connect('row-deleted', self.reset_export_file) # Status bar to the left self.status_bar = self.uiXML.get_object('statusbar') # Status bar to the right self.status_bar2 = self.uiXML.get_object('statusbar2') # Vertical scrollbar vscrollbar = self.sw.get_vscrollbar() vscrollbar.connect('value_changed', self.vscrollbar_value_changed) # Define window callback function and show window self.window.connect('check_resize', self.on_window_size_request) self.window.connect_after('check_resize', self.hide_horizontal_scrollbar) self.window.show_all() # Change iconview color background style_context_sw = self.sw.get_style_context() color_selected = self.iconview.get_style_context() \ .get_background_color(Gtk.StateFlags.SELECTED) color_prelight = color_selected.copy() color_prelight.alpha = 0.3 for state in (Gtk.StateFlags.NORMAL, Gtk.StateFlags.ACTIVE): self.iconview.override_background_color( state, style_context_sw.get_background_color(state)) self.iconview.override_background_color(Gtk.StateFlags.SELECTED, color_selected) self.iconview.override_background_color(Gtk.StateFlags.PRELIGHT, color_prelight) # Set outline properties for iconview items i.e. cursor look style_provider = Gtk.CssProvider() css_data = """ iconview { outline-color: alpha(currentColor, 0.8); outline-style: dashed; outline-offset: -2px; outline-width: 2px; -gtk-outline-radius: 2px; } """ style_provider.load_from_data(bytes(css_data.encode())) Gtk.StyleContext.add_provider_for_screen( Gdk.Screen.get_default(), style_provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION) GObject.type_register(PDFRenderer) GObject.signal_new('update_thumbnail', PDFRenderer, GObject.SignalFlags.RUN_FIRST, None, [GObject.TYPE_PYOBJECT, GObject.TYPE_PYOBJECT, GObject.TYPE_PYOBJECT, GObject.TYPE_PYOBJECT, GObject.TYPE_BOOLEAN]) self.set_unsaved(False) self.__create_actions() self.__create_menus() self.iv_cursor = IconviewCursor(self) self.iv_drag_select = IconviewDragSelect(self) def do_command_line(self, command_line): options = command_line.get_options_dict() # Print PDF Arranger version and exit if options.contains("version"): print(APPNAME + "-" + VERSION) print("pikepdf-" + pikepdf.__version__) print("libqpdf-" + pikepdf.__libqpdf_version__) return 0 self.activate() if options.lookup_value(GLib.OPTION_REMAINING): files = [Gio.File.new_for_commandline_arg(i) for i in options.lookup_value(GLib.OPTION_REMAINING)] a = PageAdder(self) for f in files: try: a.addpages(f.get_path()) except FileNotFoundError as e: print(e, file=sys.stderr) self.error_message_dialog(e) a.commit(select_added=False, add_to_undomanager=True) return 0 @staticmethod def set_text_renderer_cell_height(iconview): """Update text renderer cell height on style update. Having a fixed height will improve speed. Cell height is: "number of rows" * "text height" + 2 * padding At start cell will have the height of 1 row + paddings. """ cell_text_renderer = iconview.get_cells()[1] cell_text_renderer.set_fixed_size(-1, -1) paddy = cell_text_renderer.get_padding()[1] natural_height = cell_text_renderer.get_preferred_height(iconview)[1] text = cell_text_renderer.props.text height = 2 * (natural_height - paddy) if text is None else natural_height cell_text_renderer.set_fixed_size(-1, height) @staticmethod def set_cellrenderer_data(_column, cell, model, it, _data=None): cell.set_page(model.get_value(it, 0)) def render(self): self.render_id = None alive = self.quit_rendering() if alive: self.silent_render() return self.visible_range = self.get_visible_range2() columns_nr = self.iconview.get_columns() self.rendering_thread = PDFRenderer(self.model, self.pdfqueue, self.visible_range , columns_nr) self.rendering_thread.connect('update_thumbnail', self.update_thumbnail) self.rendering_thread.start() ctxt_id = self.status_bar2.get_context_id("rendering") self.status_bar2.push(ctxt_id, _('Rendering…')) def quit_rendering(self): """Quit rendering.""" if self.rendering_thread: self.rendering_thread.quit = True # If thread is busy with page.render(cr) it might take some time for thread to quit. # Therefore set a timeout here so app continues to stay responsive. self.rendering_thread.join(timeout=0.15) return self.rendering_thread.is_alive() def silent_render(self): """Render when silent i.e. when no call for last 149ms. Improves app responsiveness by not calling render too frequently. """ if self.render_id: GObject.source_remove(self.render_id) self.render_id = GObject.timeout_add(149, self.render) def render_lock(self): """Acquire/release a lock (before any add/delete/reorder).""" class __RenderLock: def __init__(self, app): self.app = app def _th(self): return self.app.rendering_thread def __enter__(self): if self._th(): self._th().model_lock.acquire() def __exit__(self, _exc_type, _exc_value, _traceback): if self._th() and self._th().model_lock.locked(): self._th().model_lock.release() return __RenderLock(self) def vscrollbar_value_changed(self, _vscrollbar): """Render when vertical scrollbar value has changed.""" self.silent_render() def window_configure_event(self, _window, event): """Handle window size and position changes.""" if self.window_width_old not in [0, event.width] and len(self.model) > 0: if self.set_iv_visible_id: GObject.source_remove(self.set_iv_visible_id) self.set_iv_visible_id = GObject.timeout_add(1000, self.set_iconview_visible) self.iconview.set_visible(False) self.window_width_old = event.width if len(self.model) > 1: # Don't trigger extra render after first page is inserted self.silent_render() def window_button_release_event(self, _window, event): """Mouse button release on window.""" if event.button == 1: self.set_iconview_visible(timeout=False) def window_enter_notify_event(self, _window, event): """Mouse pointer enter window.""" if os.name == 'nt' or event.state & Gdk.ModifierType.BUTTON1_MASK: # In Windows this is triggered when dragging window edge. Instead the release event # is usually triggered when releasing button. Also triggered in Mate desktop. return self.set_iconview_visible(timeout=False) def window_state_event(self, _window, _event): """Window state change.""" GObject.timeout_add(100, self.set_iconview_visible) def sw_motion(self, _scrolledwindow, _event): """Mouse movement in scrolled window.""" self.set_iconview_visible(timeout=False) def set_iconview_visible(self, timeout=True): if timeout: self.set_iv_visible_id = None if not self.iconview.get_visible(): self.update_iconview_geometry() self.scroll_to_selection() GObject.idle_add(self.iconview.set_visible, True) self.iconview.grab_focus() def set_export_file(self, file): if file != self.export_file: self.export_file = file self.set_unsaved(True) def set_unsaved(self, flag): self.is_unsaved = flag GObject.idle_add(self.retitle) def retitle(self): if self.export_file: title = self.export_file if self.is_unsaved: title += '*' else: title = _('untitled') all_files = self.active_file_names() if len(all_files) > 0: title += ' [' + ', '.join(sorted(all_files)) + ']' title += ' – ' + APPNAME self.window.set_title(title) return False def update_thumbnail(self, _obj, ref, thumbnail, resample, scale, is_preview): """Update thumbnail emitted from rendering thread.""" if ref is None: # Rendering ended ctxt_id = self.status_bar2.get_context_id("rendering") self.status_bar2.remove_all(ctxt_id) malloc_trim() return path = ref.get_path() if path is None: # Page no longer exist return if (self.visible_range[0] <= path.get_indices()[0] <= self.visible_range[1] and resample != 1 / self.zoom_scale): # Thumbnail is in the visible range but is not rendered for current zoom level self.silent_render() return page = self.model[path][0] if page.scale != scale: # Page scale was changed while page was rendered -> trash & rerender self.silent_render() return page.thumbnail = thumbnail page.resample = resample page.zoom = self.zoom_scale if is_preview: page.preview = thumbnail # Let iconview refresh the thumbnail (only) by selecting it with GObject.signal_handler_block(self.iconview, self.id_selection_changed_event): if self.iconview.path_is_selected(path): self.iconview.unselect_path(path) self.iconview.select_path(path) else: self.iconview.select_path(path) self.iconview.unselect_path(path) ac = self.iconview.get_accessible().ref_accessible_child(path.get_indices()[0]) ac.set_description(page.description()) def get_visible_range2(self): """Get range of items visible in window. A item is considered visible if more than 50% of item is visible. """ sw_vadj = self.sw.get_vadjustment() sw_vpos = sw_vadj.get_value() columns_nr = max(self.iconview.get_columns(), 1) sw_height = self.sw.get_allocated_height() range_start = range_end = -1 item_nr = 0 while item_nr < len(self.model): path = Gtk.TreePath.new_from_indices([item_nr]) cell_rect = self.iconview.get_cell_rect(path)[1] item_center = cell_rect.y + cell_rect.height / 2 if range_start < 0 and item_center > sw_vpos - self.vp_css_margin: range_start = item_nr if item_center < sw_vpos + sw_height - self.vp_css_margin: range_end = item_nr + columns_nr - 1 else: break item_nr += columns_nr if range_start < 0 and len(self.model) > 0: range_start = len(self.model) - 1 return range_start, min(max(range_end, range_start), len(self.model) - 1) def on_window_size_request(self, _window): """Main Window resize.""" if self.iconview.get_visible(): self.update_iconview_geometry() def hide_horizontal_scrollbar(self, _window): """Hide horizontal scrollbar when not needed.""" sw_width = self.sw.get_allocated_width() iv_width = self.iconview.get_allocated_width() hscrollbar = self.sw.get_hscrollbar() if iv_width <= sw_width: hscrollbar.hide() else: hscrollbar.show() def update_iconview_geometry(self): """Set iconview cell size, margins, number of columns and spacing.""" if len(self.model) > 0: item_width = max(row[0].width_in_pixel() for row in self.model) item_padding = self.iconview.get_item_padding() cellthmb_xpad, cellthmb_ypad = self.cellthmb.get_padding() border_and_shadow = 7 # 2*th1+th2 set in iconview.py # cell width min limit 50 is set in gtkiconview.c cell_width = max(item_width + 2 * cellthmb_xpad + border_and_shadow, 50) cell_height = -1 if self.zoom_full_page: item_height = max(row[0].height_in_pixel() for row in self.model) cell_height = item_height + 2 * cellthmb_ypad + border_and_shadow self.cellthmb.set_fixed_size(cell_width, cell_height) padded_cell_width = cell_width + 2 * item_padding min_col_spacing = 5 min_margin = 11 iw_width = self.sw.get_allocation().width # 2 * min_margin + col_num * padded_cell_width # + min_col_spacing * (col_num+1) = iw_width col_num = (iw_width - 2 * min_margin - min_col_spacing) //\ (padded_cell_width + min_col_spacing) spacing = (iw_width - col_num * padded_cell_width - 2 * min_margin) // (col_num + 1) margin = (iw_width - col_num * (padded_cell_width + spacing) + spacing) // 2 if col_num == 0: col_num = 1 margin = 6 self.iconview.set_columns(col_num) self.iconview.set_column_spacing(spacing) self.iconview.set_margin(margin) if self.vp_css_margin != 6 - margin: # remove margin on top and bottom self.vp_css_margin = 6 - margin css_data = 'window viewport {\ margin-top:' + str(self.vp_css_margin) + 'px;\ margin-bottom:' + str(self.vp_css_margin) + 'px;}' style_provider = Gtk.CssProvider() style_provider.load_from_data(bytes(css_data.encode())) Gtk.StyleContext.add_provider_for_screen( Gdk.Screen.get_default(), style_provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION) def update_geometry(self, treeiter): """Recomputes the width and height of the rotated page and saves the result in the ListStore""" if not self.model.iter_is_valid(treeiter): return p = self.model.get(treeiter, 0)[0] page = self.pdfqueue[p.nfile - 1].document.get_page(p.npage - 1) p.set_size(page.get_size()) self.model.set(treeiter, 0, p) def on_quit(self, _action, _param=None, _unknown=None): if self.is_unsaved: if self.export_file: msg = _('Save changes to “{}” before closing?').format(os.path.basename(self.export_file)) else: msg = _('Save changes before closing?') d = Gtk.MessageDialog(self.window, 0, Gtk.MessageType.WARNING, Gtk.ButtonsType.NONE, msg) d.format_secondary_markup(_("Your changes will be lost if you don’t save them.")) d.add_buttons(_('Do_n’t Save'), 1, _('_Cancel'), 2, _('_Save'), 3) response = d.run() d.destroy() if response == 1: # Quit self.close_application() elif response == 2 or response == Gtk.ResponseType.DELETE_EVENT: # DELETE_EVENT is returned if Esc is pressed # Returning True to stop self.window delete_event propagation. return True elif response == 3: # Save. self.save_or_choose() # Quit only if it has been really saved. if self.is_unsaved: return True self.close_application() else: # If unknown return code, do nothing return True else: self.close_application() def close_application(self, _widget=None, _event=None, _data=None): """Termination""" if self.rendering_thread: self.rendering_thread.quit = True self.rendering_thread.join() self.rendering_thread.pdfqueue = [] # Prevent gtk errors when closing with everything selected self.iconview.unselect_all() self.iconview.get_model().clear() # Release Poppler.Document instances to unlock all temporay files self.pdfqueue = [] gc.collect() self.config.set_window_size(self.window.get_size()) self.config.set_maximized(self.window.is_maximized()) self.config.set_zoom_level(self.zoom_level) self.config.set_position(self.window.get_position()) self.config.save() if os.path.isdir(self.tmp_dir): shutil.rmtree(self.tmp_dir) self.quit() def choose_export_pdf_name(self, mode): """Handles choosing a name for exporting """ chooser = Gtk.FileChooserDialog(title=_('Export…'), parent=self.window, action=Gtk.FileChooserAction.SAVE, buttons=(Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, Gtk.STOCK_SAVE, Gtk.ResponseType.ACCEPT)) chooser.set_do_overwrite_confirmation(True) if len(self.pdfqueue) > 0: f = self.pdfqueue[0].filename # could be an image thanks to img2pdf if f.endswith(".pdf"): chooser.set_filename(f) chooser.set_current_folder(self.export_directory) filter_list = self.__create_filters(['pdf', 'all']) for f in filter_list[1:]: chooser.add_filter(f) response = chooser.run() file_out = chooser.get_filename() chooser.destroy() if response == Gtk.ResponseType.ACCEPT: try: self.save(mode, file_out) except Exception as e: traceback.print_exc() self.error_message_dialog(e) def active_file_names(self): """Returns the file names currently associated with pages in the model.""" r = set(row[1].split('\n')[0] for row in self.model) r.discard("") return r def on_action_new(self, _action, _param, _unknown): """Start a new instance.""" if os.name == 'nt': if sys.executable.find('python3.exe') == -1: subprocess.Popen(sys.executable) else: subprocess.Popen([sys.executable, '-mpdfarranger']) else: display = Gdk.Display.get_default() launch_context = display.get_app_launch_context() desktop_file = "%s.desktop"%(self.get_application_id()) try: app_info = Gio.DesktopAppInfo.new(desktop_file) app_info.launch([], launch_context) except TypeError: subprocess.Popen([sys.executable, '-mpdfarranger']) def on_action_save(self, _action, _param, _unknown): self.save_or_choose() def save_or_choose(self): """Saves to the previously exported file or shows the export dialog if there was none.""" savemode = GLib.Variant('i', 0) # Save all pages in a single document. try: if self.export_file: self.save(savemode, self.export_file) else: self.choose_export_pdf_name(savemode) except Exception as e: self.error_message_dialog(e) def on_action_save_as(self, _action, _param, _unknown): self.choose_export_pdf_name(GLib.Variant('i', 0)) @warn_dialog def save(self, mode, file_out): """Saves to the specified file. May throw exceptions.""" (path, shortname) = os.path.split(file_out) (shortname, ext) = os.path.splitext(shortname) if ext.lower() != '.pdf': file_out = file_out + '.pdf' exportmodes = {0: 'ALL_TO_SINGLE', 1: 'ALL_TO_MULTIPLE', 2: 'SELECTED_TO_SINGLE', 3: 'SELECTED_TO_MULTIPLE'} exportmode = exportmodes[mode.get_int32()] if exportmode in ['SELECTED_TO_SINGLE', 'SELECTED_TO_MULTIPLE']: selection = self.iconview.get_selected_items() to_export = [row[0] for row in self.model if row.path in selection] else: self.export_directory = path self.set_export_file(file_out) to_export = [row[0] for row in self.model] m = metadata.merge(self.metadata, self.pdfqueue) if self.config.content_loss_warning(): res, enabled = exporter.check_content(self.window, self.pdfqueue) self.config.set_content_loss_warning(enabled) if res == Gtk.ResponseType.CANCEL: return # Abort exporter.export(self.pdfqueue, to_export, file_out, mode, m) if exportmode == 'ALL_TO_SINGLE': self.set_unsaved(False) def choose_export_selection_pdf_name(self, _action, mode, _unknown): self.choose_export_pdf_name(mode) def on_action_export_all(self, _action, _param, _unknown): self.choose_export_pdf_name(GLib.Variant('i', 1)) def on_action_add_doc_activate(self, _action, _param, _unknown): """Import doc""" chooser = Gtk.FileChooserDialog(title=_('Import…'), parent=self.window, action=Gtk.FileChooserAction.OPEN, buttons=(Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, Gtk.STOCK_OPEN, Gtk.ResponseType.ACCEPT)) chooser.set_current_folder(self.import_directory) chooser.set_select_multiple(True) file_type_list = ['all', 'pdf'] if len(img2pdf_supported_img) > 0: file_type_list = ['all', 'img2pdf', 'pdf'] filter_list = self.__create_filters(file_type_list) for f in filter_list: chooser.add_filter(f) response = chooser.run() if response == Gtk.ResponseType.ACCEPT: adder = PageAdder(self) for filename in chooser.get_filenames(): adder.addpages(filename) adder.commit(select_added=False, add_to_undomanager=True) chooser.destroy() def clear_selected(self, add_to_undomanager=True): """Removes the selected elements in the IconView""" if add_to_undomanager: self.undomanager.commit("Delete") model = self.iconview.get_model() selection = self.iconview.get_selected_items() selection.sort(reverse=True) self.set_unsaved(True) with GObject.signal_handler_block(self.iconview, self.id_selection_changed_event): with self.render_lock(): for path in selection: model.remove(model.get_iter(path)) path = selection[-1] self.iconview.select_path(path) if not self.iconview.path_is_selected(path): if len(model) > 0: # select the last row row = model[-1] path = row.path self.iconview.select_path(path) self.iv_selection_changed_event() self.iconview.grab_focus() self.silent_render() malloc_trim() def copy_pages(self): """Collect data from selected pages""" model = self.iconview.get_model() selection = self.iconview.get_selected_items() selection.sort(key=lambda x: x.get_indices()[0]) data = [] for path in selection: it = model.get_iter(path) data.append(model.get_value(it, 0).serialize()) if data: data = '\n;\n'.join(data) return data @staticmethod def data_to_pageadder(data, pageadder): """Data to pageadder.""" tmp = data.pop(0).split('\n') filename = tmp[0] npage = int(tmp[1]) if len(tmp) < 3: # Only when paste files interleaved pageadder.addpages(filename, npage) else: basename = tmp[2] angle = int(tmp[3]) scale = float(tmp[4]) crop = [float(side) for side in tmp[5:9]] pageadder.addpages(filename, npage, basename, angle, scale, crop) def is_data_valid(self, data): """Validate data to be pasted from clipboard.""" data_copy = data.copy() data_valid = True while data_copy: try: tmp = data_copy.pop(0).split('\n') copyname = tmp[0] npage = int(tmp[1]) # basename = tmp[2] but is not validated here angle = int(tmp[3]) scale = float(tmp[4]) crop = [float(side) for side in tmp[5:9]] if not (os.path.isfile(copyname) and npage > 0 and angle in [0, 90, 180, 270] and 0 < scale <= 200.0 and all((cr >= 0.0 and cr <= 0.99) for cr in crop) and (crop[0] + crop[1] <= 0.99) and (crop[2] + crop[3] <= 0.99) and len(tmp) == 9): data_valid = False break except (ValueError, IndexError): data_valid = False break if not data_valid: message = _('Pasted data not valid. Aborting paste.') self.error_message_dialog(message) return data_valid def paste_pages(self, data, before, ref_to, select_added): """Paste pages to iconview""" pageadder = PageAdder(self) if ref_to: pageadder.move(ref_to, before) if not before and ref_to: data.reverse() while data: self.data_to_pageadder(data, pageadder) return pageadder.commit(select_added, add_to_undomanager=True) def paste_files(self, filepaths, before, ref_to): """Paste files to iconview.""" pageadder = PageAdder(self) for filepath in filepaths: pageadder.move(ref_to, before) pageadder.addpages(filepath) pageadder.commit(select_added=False, add_to_undomanager=True) def paste_pages_interleave(self, data, before, ref_to): """Paste pages or files interleved to iconview.""" pageadder = PageAdder(self) model = self.iconview.get_model() iter_to = None self.undomanager.commit("Paste") self.set_unsaved(True) while data: self.data_to_pageadder(data, pageadder) pageadder.move(ref_to, before) pageadder.commit(select_added=False, add_to_undomanager=False) if ref_to: path = ref_to.get_path() iter_to = model.get_iter(path) iter_to = model.iter_next(iter_to) if not before: iter_to = model.iter_next(iter_to) if iter_to: path = model.get_path(iter_to) ref_to = Gtk.TreeRowReference.new(model, path) else: ref_to = None def on_action_delete(self, _action, _parameter, _unknown): """Removes the selected elements in the IconView""" self.clear_selected() def on_action_cut(self, _action, _param, _unknown): """Cut selected pages to clipboard.""" data = self.copy_pages() self.clipboard.set_text('pdfarranger-clipboard\n' + data, -1) self.clear_selected() self.window.lookup_action("paste").set_enabled(True) def on_action_copy(self, _action, _param, _unknown): """Copy selected pages to clipboard.""" data = self.copy_pages() self.clipboard.set_text('pdfarranger-clipboard\n' + data, -1) self.window.lookup_action("paste").set_enabled(True) def on_action_paste(self, _action, mode, _unknown): """Paste pages or files from clipboard.""" data, data_is_filepaths = self.read_from_clipboard() if not data: return pastemodes = {0: 'AFTER', 1: 'BEFORE', 2: 'ODD', 3: 'EVEN'} pastemode = pastemodes[mode.get_int32()] ref_to, before = self.set_paste_location(pastemode, data_is_filepaths) if pastemode in ['AFTER', 'BEFORE']: if data_is_filepaths: self.paste_files(data, before, ref_to) else: self.paste_pages(data, before, ref_to, select_added=False) if pastemode == 'BEFORE': self.__update_statusbar() elif pastemode in ['ODD', 'EVEN']: if data_is_filepaths: # Generate data to send to paste_pages_interleave filepaths = [] try: for filepath in data: filemime = mimetypes.guess_type(filepath)[0] if not filemime: raise PDFDocError(filepath + ':\n' + _('Unknown file format')) if filemime == 'application/pdf': num_pages = exporter.num_pages(filepath) if num_pages is None: raise PDFDocError(filepath + ':\n' + _('PDF document is damaged')) for page in range(1, num_pages + 1): filepaths.append('\n'.join([filepath, str(page)])) elif filemime.split('/')[0] == 'image': filepaths.append('\n'.join([filepath, str(1)])) else: raise PDFDocError(filepath + ':\n' + _('File is neither pdf nor image')) except PDFDocError as e: print(e.message, file=sys.stderr) self.error_message_dialog(e.message) return data = filepaths self.paste_pages_interleave(data, before, ref_to) GObject.idle_add(self.retitle) self.iv_selection_changed_event() self.zoom_set(self.zoom_level) self.silent_render() def read_from_clipboard(self): """Read data from clipboards. Check if data is copied pages or files. If id "pdfarranger-clipboard" is found pages is expected to be in clipboard, else files. """ data = self.clipboard.wait_for_text() if not data: data = '' data_is_filepaths = False if data.startswith('pdfarranger-clipboard\n'): data = data.replace('pdfarranger-clipboard\n', '', 1) data = data.split('\n;\n') if not self.is_data_valid(data): data = [] else: data_is_filepaths = True if os.name == 'posix' and data.startswith('x-special/nautilus-clipboard\ncopy'): data = data.replace('x-special/nautilus-clipboard\ncopy', '', 1) rows = data.split('\n') rows = filter(None, rows) data = [] for row in rows: if os.name == 'posix' and row.startswith('file:///'): # Dolphin, Nautilus row = get_file_path_from_uri(row) elif os.name == 'nt' and row.startswith('"') and row.endswith('"'): row = row[1:-1] if os.path.isfile(row): data.append(row) else: data = [] break return data, data_is_filepaths def set_paste_location(self, pastemode, data_is_filepaths): """Sets reference where pages should be pasted and if before or after that.""" model = self.iconview.get_model() selection = self.iconview.get_selected_items() selection.sort(key=lambda x: x.get_indices()[0]) if len(model) == 0: before = True ref_to = None elif pastemode == 'AFTER': last_row = model[-1] if len(selection) == 0 or selection[-1] == last_row.path: before = False ref_to = None elif data_is_filepaths: before = True path = selection[-1] iter_next = model.iter_next(model.get_iter(path)) path_next = model.get_path(iter_next) ref_to = Gtk.TreeRowReference.new(model, path_next) else: before = False ref_to = Gtk.TreeRowReference.new(model, selection[-1]) else: if pastemode == 'EVEN': before = False else: # BEFORE or ODD before = True if len(selection) == 0: ref_to = Gtk.TreeRowReference.new(model, Gtk.TreePath(0)) else: ref_to = Gtk.TreeRowReference.new(model, selection[0]) return ref_to, before def on_action_select(self, _action, option, _unknown): """Selects items according to selected option.""" selectoptions = {0: 'ALL', 1: 'DESELECT', 2: 'ODD', 3: 'EVEN', 4: 'SAME_FILE', 5: 'SAME_FORMAT', 6:'INVERT'} selectoption = selectoptions[option.get_int32()] model = self.iconview.get_model() with GObject.signal_handler_block(self.iconview, self.id_selection_changed_event): if selectoption == 'ALL': self.iconview.select_all() elif selectoption == 'DESELECT': self.iconview.unselect_all() elif selectoption == 'ODD': for page_number, row in enumerate(model, start=1): if page_number % 2: self.iconview.select_path(row.path) else: self.iconview.unselect_path(row.path) elif selectoption == 'EVEN': for page_number, row in enumerate(model, start=1): if page_number % 2: self.iconview.unselect_path(row.path) else: self.iconview.select_path(row.path) elif selectoption == 'SAME_FILE': selection = self.iconview.get_selected_items() copynames = set(model[row][0].copyname for row in selection) for page_number, row in enumerate(model): if model[page_number][0].copyname in copynames: self.iconview.select_path(row.path) elif selectoption == 'SAME_FORMAT': selection = self.iconview.get_selected_items() formats = set(model[row][0].size_in_points() for row in selection) # Chop digits to detect same page format on rotated cropped pages formats = [(round(w, 8), round(h, 8)) for (w, h) in formats] for row in model: page = model[row.path][0] w, h = page.size_in_points() if (round(w, 8), round(h, 8)) in formats: self.iconview.select_path(row.path) elif selectoption == 'INVERT': for row in model: if self.iconview.path_is_selected(row.path): self.iconview.unselect_path(row.path) else: self.iconview.select_path(row.path) self.iv_selection_changed_event() @staticmethod def iv_drag_begin(iconview, context): """Sets custom drag icon.""" selected_count = len(iconview.get_selected_items()) stock_icon = "gtk-dnd-multiple" if selected_count > 1 else "gtk-dnd" iconview.stop_emission('drag_begin') Gtk.drag_set_icon_name(context, stock_icon, 16, 16) def iv_dnd_get_data(self, _iconview, _context, selection_data, _target_id, _etime): """Handles requests for data by drag and drop in iconview""" target = str(selection_data.get_target()) if target == 'MODEL_ROW_INTERN': self.target_is_intern = True selection = self.iconview.get_selected_items() selection.sort(key=lambda x: x.get_indices()[0]) data = [] for path in selection: data.append(str(path[0])) if data: data = '\n;\n'.join(data) elif target == 'MODEL_ROW_EXTERN': self.target_is_intern = False data = self.copy_pages() else: return selection_data.set(selection_data.get_target(), 8, data.encode()) def iv_dnd_received_data(self, iconview, context, _x, _y, selection_data, _target_id, etime): """Handles received data by drag and drop in iconview""" model = iconview.get_model() data = selection_data.get_data() if not data: return data = data.decode().split('\n;\n') if self.drag_path and len(model) > 0: ref_to = Gtk.TreeRowReference.new(model, self.drag_path) else: ref_to = None before = self.drag_pos == Gtk.IconViewDropPosition.DROP_LEFT target = selection_data.get_target().name() if target == 'MODEL_ROW_INTERN': move = context.get_selected_action() & Gdk.DragAction.MOVE self.undomanager.commit("Move" if move else "Copy") self.set_unsaved(True) data.sort(key=int, reverse=not before) ref_from_list = [Gtk.TreeRowReference.new(model, Gtk.TreePath(p)) for p in data] iter_to = self.model.get_iter(ref_to.get_path()) with self.render_lock(): for ref_from in ref_from_list: iterator = model.get_iter(ref_from.get_path()) page = model.get_value(iterator, 0).duplicate() if before: it = model.insert_before(iter_to, [page, page.description()]) else: it = model.insert_after(iter_to, [page, page.description()]) path = model.get_path(it) iconview.select_path(path) if move: for ref_from in ref_from_list: model.remove(model.get_iter(ref_from.get_path())) GObject.idle_add(self.render) elif target == 'MODEL_ROW_EXTERN': changed = self.paste_pages(data, before, ref_to, select_added=True) if changed and context.get_selected_action() & Gdk.DragAction.MOVE: context.finish(True, True, etime) def iv_dnd_data_delete(self, _widget, _context): """Delete pages from a pdfarranger instance after they have been moved to another instance.""" if self.target_is_intern and os.name == 'nt': # Workaround for windows # On Windows this method is in some situations triggered even for drag & drop # within the same pdfarranger instance return selection = self.iconview.get_selected_items() self.undomanager.commit("Move") self.set_unsaved(True) model = self.iconview.get_model() ref_del_list = [Gtk.TreeRowReference.new(model, path) for path in selection] with self.render_lock(): for ref_del in ref_del_list: path = ref_del.get_path() model.remove(model.get_iter(path)) GObject.idle_add(self.render) malloc_trim() def iv_dnd_motion(self, iconview, context, x, y, etime): """Handles drag motion: autoscroll, select move or copy, select drag cursor location.""" # Auto-scroll when drag up/down self.iv_autoscroll(x, y, autoscroll_area=40) # Select move or copy dragAction drag_move_posix = os.name == 'posix' and context.get_actions() & Gdk.DragAction.MOVE drag_move_nt = os.name == 'nt' and not keyboard.is_pressed('control') if drag_move_posix or drag_move_nt: Gdk.drag_status(context, Gdk.DragAction.MOVE, etime) else: Gdk.drag_status(context, Gdk.DragAction.COPY, etime) # By default 5 drag & drop positions are possible: into, left, right, above and below. # We override default behaviour and only allow drag & drop to left or right. # When drag location is a valid drop location True is returned. model = iconview.get_model() if len(model) == 0: return True cell_width, _cell_height = self.cellthmb.get_fixed_size() row_distance = iconview.get_row_spacing() + 2 * iconview.get_item_padding() column_distance = iconview.get_column_spacing() + 2 * iconview.get_item_padding() search_positions = [('XY', x, y), ('Right', x + column_distance / 2, y), ('Left', x - column_distance / 2, y), ('Below', x, y + row_distance / 2), ('Above', x, y - row_distance / 2), ('Left-Above', x - column_distance, y - row_distance), ('Right-Far', x + cell_width, y), ('Left-Far', x - cell_width, y), ('Right-Below-Far', x + cell_width, y + row_distance), ('Left-Below-Far', x - cell_width, y + row_distance), ('Below-Far', x, y + row_distance)] for search_pos, x_s, y_s in search_positions: path = iconview.get_path_at_pos(x_s, y_s) if path: break if search_pos in ['XY', 'Right', 'Left', 'Below', 'Above']: self.drag_path = path if path == iconview.get_path_at_pos(x_s + cell_width * 0.6, y_s): self.drag_pos = Gtk.IconViewDropPosition.DROP_LEFT elif path == iconview.get_path_at_pos(x_s - cell_width * 0.6, y_s): self.drag_pos = Gtk.IconViewDropPosition.DROP_RIGHT elif search_pos == 'Left-Above' and iconview.get_drag_dest_item()[0]: return True elif not path or (path == model[-1].path and x_s < x): self.drag_path = model[-1].path self.drag_pos = Gtk.IconViewDropPosition.DROP_RIGHT else: iconview.stop_emission('drag_motion') return False iconview.set_drag_dest_item(self.drag_path, self.drag_pos) return True def iv_autoscroll(self, x, y, autoscroll_area): """Iconview auto-scrolling.""" sw_vadj = self.sw.get_vadjustment() sw_height = self.sw.get_allocation().height if y - sw_vadj.get_value() < autoscroll_area - self.vp_css_margin: if not self.iv_auto_scroll_timer: self.iv_auto_scroll_direction = Gtk.DirectionType.UP self.iv_auto_scroll_timer = GObject.timeout_add(150, self.iv_auto_scroll) elif y - sw_vadj.get_value() > sw_height - autoscroll_area - self.vp_css_margin: if not self.iv_auto_scroll_timer: self.iv_auto_scroll_direction = Gtk.DirectionType.DOWN self.iv_auto_scroll_timer = GObject.timeout_add(150, self.iv_auto_scroll) elif self.iv_auto_scroll_timer: GObject.source_remove(self.iv_auto_scroll_timer) self.iv_auto_scroll_timer = None def iv_dnd_leave_end(self, _widget, _context, _ignored=None): """Ends the auto-scroll during DND""" if self.iv_auto_scroll_timer: GObject.source_remove(self.iv_auto_scroll_timer) self.iv_auto_scroll_timer = None def iv_auto_scroll(self): """Timeout routine for auto-scroll""" sw_vadj = self.sw.get_vadjustment() sw_vpos = sw_vadj.get_value() if self.iv_auto_scroll_direction == Gtk.DirectionType.UP: sw_vpos -= sw_vadj.get_step_increment() sw_vadj.set_value(max(sw_vpos, sw_vadj.get_lower())) elif self.iv_auto_scroll_direction == Gtk.DirectionType.DOWN: sw_vpos += sw_vadj.get_step_increment() sw_vadj.set_value(min(sw_vpos, sw_vadj.get_upper() - sw_vadj.get_page_size())) return True # call me again def iv_motion(self, iconview, event): """Manages mouse movement on the iconview.""" # Detect drag and drop events if self.pressed_button: if iconview.drag_check_threshold(self.pressed_button.x, self.pressed_button.y, event.x, event.y): iconview.drag_begin_with_coordinates(Gtk.TargetList.new(self.TARGETS_IV), Gdk.DragAction.COPY | Gdk.DragAction.MOVE, self.pressed_button.button, event, -1, -1) self.pressed_button = None # Drag-select when clicking between items and dragging mouse if event.state & Gdk.ModifierType.BUTTON1_MASK: self.iv_autoscroll(event.x, event.y, autoscroll_area=4) if not self.click_path: with GObject.signal_handler_block(iconview, self.id_selection_changed_event): selection_changed = self.iv_drag_select.motion(event) if selection_changed: self.iv_selection_changed_event() return True # Don't use iconview's built-in rubberband-selecting def iv_button_release_event(self, iconview, event): """Manages mouse releases on the iconview""" self.iv_drag_select.set_mouse_cursor('default') if self.pressed_button: # Button was pressed and released on a previously selected item # without causing a drag and drop. path = iconview.get_path_at_pos(event.x, event.y) if not path: return if event.state & Gdk.ModifierType.CONTROL_MASK: # Deselect the clicked item. iconview.unselect_path(path) else: # Deselect everything except the clicked item. iconview.unselect_all() iconview.select_path(path) iconview.set_cursor(path, None, False) # for consistent shift+click selection self.pressed_button = None # Stop drag-select autoscrolling when button is released if self.iv_auto_scroll_timer: GObject.source_remove(self.iv_auto_scroll_timer) self.iv_auto_scroll_timer = None def iv_button_press_event(self, iconview, event): """Manages mouse clicks on the iconview""" # Toggle full page zoom / set zoom level on double-click if event.button == 1 and event.type == Gdk.EventType._2BUTTON_PRESS: self.pressed_button = None if self.zoom_full_page: self.zoom_set(self.zoom_level_old) else: self.zoom_level_old = self.zoom_level self.zoom_to_full_page() self.update_iconview_geometry() self.scroll_to_selection() return True click_path_old = self.click_path self.click_path = iconview.get_path_at_pos(event.x, event.y) # Go into drag-select mode if clicked between items if event.button == 1 and not self.click_path: self.iv_drag_select.click(event) if event.state & Gdk.ModifierType.SHIFT_MASK: return 1 # On shift-click, select all items from cursor up to the shift-clicked item. # On shift-ctrl-click, toggle selection for single items. # IconView's built-in multiple-selection mode performs rubber-band # (rectangular) selection, which is not what we want. We override # it by handling the shift-click here. if event.button == 1 and self.click_path and event.state & Gdk.ModifierType.SHIFT_MASK: cursor_path = iconview.get_cursor()[1] if event.state & Gdk.ModifierType.CONTROL_MASK: if iconview.path_is_selected(self.click_path): iconview.unselect_path(self.click_path) else: iconview.select_path(self.click_path) elif cursor_path: i_cursor = cursor_path[0] i_click = self.click_path[0] i_click_old = click_path_old[0] if click_path_old else i_click range_start = min(i_cursor, i_click, i_click_old) range_end = max(i_cursor, i_click, i_click_old) with GObject.signal_handler_block(iconview, self.id_selection_changed_event): for i in range(range_start, range_end + 1): path = Gtk.TreePath.new_from_indices([i]) if min(i_cursor, i_click) <= i <= max(i_cursor, i_click): iconview.select_path(path) else: iconview.unselect_path(path) self.iv_selection_changed_event() return 1 # Forget where cursor was when shift was pressed if event.button == 1 and not event.state & Gdk.ModifierType.SHIFT_MASK: self.iv_cursor.sel_start_page = None # Do not deselect when clicking an already selected item for drag and drop if event.button == 1: selection = iconview.get_selected_items() if self.click_path and self.click_path in selection: self.pressed_button = event return 1 # prevent propagation i.e. (de-)selection # Display right click menu if event.button == 3: if self.click_path: selection = iconview.get_selected_items() if self.click_path not in selection: iconview.unselect_all() iconview.select_path(self.click_path) else: iconview.unselect_all() iconview.grab_focus() self.popup.popup(None, None, None, None, event.button, event.time) return 1 def iv_key_press_event(self, iconview, event): """Manages keyboard press events on the iconview.""" # Toggle full page zoom / set zoom level on key f if event.keyval == Gdk.KEY_f: if self.zoom_full_page: self.zoom_set(self.zoom_level_old) else: self.zoom_level_old = self.zoom_level self.zoom_to_full_page() self.update_iconview_geometry() self.scroll_to_selection() elif event.keyval in [Gdk.KEY_Up, Gdk.KEY_Down, Gdk.KEY_Left, Gdk.KEY_Right, Gdk.KEY_Home, Gdk.KEY_End]: # Move cursor, select pages and scroll with navigation keys with GObject.signal_handler_block(iconview, self.id_selection_changed_event): self.iv_cursor.handler(iconview, event) self.iv_selection_changed_event(None, move_cursor_event=True) elif event.keyval in [Gdk.KEY_Page_Up, Gdk.KEY_Page_Down, Gdk.KEY_KP_Page_Up, Gdk.KEY_KP_Page_Down]: # Scroll to next/previous page row model = self.iconview.get_model() sw_vadj = self.sw.get_vadjustment() sw_vpos = sw_vadj.get_value() columns_nr = self.iconview.get_columns() path_last_page = Gtk.TreePath.new_from_indices([len(model) - 1]) last_cell_y = iconview.get_cell_rect(path_last_page)[1].y sw_vpos_up = sw_vpos_down = page_nr = 0 extra = 0 if event.keyval in [Gdk.KEY_Page_Up, Gdk.KEY_KP_Page_Up] else 1 while sw_vpos_down < sw_vpos + extra: path = Gtk.TreePath.new_from_indices([page_nr]) sw_vpos_up = sw_vpos_down sw_vpos_down += iconview.get_cell_rect(path)[1].height + iconview.get_row_spacing() page_nr += columns_nr if event.keyval in [Gdk.KEY_Page_Up, Gdk.KEY_KP_Page_Up]: sw_vadj.set_value(min(sw_vpos_up, last_cell_y + self.vp_css_margin - 6)) else: sw_vadj.set_value(min(sw_vpos_down, last_cell_y + self.vp_css_margin - 6)) # Let Tab and Shift-Tab go through for keyboard navigation. elif event.keyval in [Gdk.KEY_Tab, Gdk.KEY_KP_Tab, Gdk.KEY_ISO_Left_Tab]: return False return True def iv_selection_changed_event(self, _iconview=None, move_cursor_event=False): selection = self.iconview.get_selected_items() ne = len(selection) > 0 for a, e in [ ("reverse-order", self.reverse_order_available(selection)), ("delete", ne), ("duplicate", ne), ("page-format", ne), ("rotate", ne), ("export-selection", ne), ("cut", ne), ("copy", ne), ("split", ne), ("select-same-file", ne), ("select-same-format", ne), ("crop-white-borders", ne), ("generate-booklet", ne), ]: self.window.lookup_action(a).set_enabled(e) self.__update_statusbar() if selection and not move_cursor_event: self.iv_cursor.cursor_is_visible = False def window_focus_in_out_event(self, _widget=None, _event=None): """Keyboard focus enter or leave window.""" self.set_iconview_visible(timeout=False) # Enable or disable paste actions based on clipboard content data_available = True if self.clipboard.wait_for_text() else False if self.window.lookup_action("paste"): # Prevent error when closing with Alt+F4 self.window.lookup_action("paste").set_enabled(data_available) def sw_dnd_received_data(self, _scrolledwindow, _context, _x, _y, selection_data, target_id, _etime): """Handles received data by drag and drop in scrolledwindow""" if target_id == self.TEXT_URI_LIST: pageadder = PageAdder(self) model = self.iconview.get_model() ref_to = None before = True if len(model) > 0: last_row = model[-1] if self.drag_pos == Gtk.IconViewDropPosition.DROP_LEFT: ref_to = Gtk.TreeRowReference.new(model, self.drag_path) elif self.drag_path != last_row.path: iter_next = model.iter_next(model.get_iter(self.drag_path)) path_next = model.get_path(iter_next) ref_to = Gtk.TreeRowReference.new(model, path_next) pageadder.move(ref_to, before) for uri in selection_data.get_uris(): filename = get_file_path_from_uri(uri) pageadder.addpages(filename) pageadder.commit(select_added=False, add_to_undomanager=True) self.iv_selection_changed_event() def sw_button_press_event(self, _scrolledwindow, event): """Unselects all items in iconview on mouse click in scrolledwindow""" # TODO most likely unreachable code if event.button == 1: self.iconview.unselect_all() def sw_scroll_event(self, _scrolledwindow, event): """Manages mouse scroll events in scrolledwindow""" if event.get_state() & Gdk.ModifierType.CONTROL_MASK: zoom_delta = 0 if event.direction == Gdk.ScrollDirection.SMOOTH: dy = event.get_scroll_deltas()[2] if dy > 0: zoom_delta = -1 elif dy < 0: zoom_delta = 1 elif event.direction == Gdk.ScrollDirection.UP: zoom_delta = 1 elif event.direction == Gdk.ScrollDirection.DOWN: zoom_delta = -1 if zoom_delta != 0: self.zoom_set(self.zoom_level + zoom_delta) return 1 def zoom_set(self, level): """Sets the zoom level""" level = min(max(level, -10), 40) zoom_scale = 0.2 * (1.1 ** level) # Limit max zoom level so that thumbnail is max 23Mb if len(self.model) > 0: max_limit = 6000000 # 6000000 pixels * 4 byte/pixel -> 23Mb max_page_size = max(p.size[0] * p.size[1] * p.scale ** 2 for p, _ in self.model) max_page_size_zoomed = max_page_size * zoom_scale ** 2 if max_page_size_zoomed > max_limit: max_zoom_scale = (max_limit / max_page_size) ** .5 level = -10 while max_zoom_scale > 0.2 * (1.1 ** (level + 1)): level += 1 zoom_scale = 0.2 * (1.1 ** level) if self.zoom_level == level: return self.zoom_level = level self.zoom_scale = zoom_scale if self.id_scroll_to_sel: GObject.source_remove(self.id_scroll_to_sel) self.zoom_full_page = False self.quit_rendering() # For performance reasons for row in self.model: row[0].zoom = self.zoom_scale if len(self.model) > 0: self.update_iconview_geometry() self.model[0][0] = self.model[0][0] # Let iconview refresh itself self.id_scroll_to_sel = GObject.timeout_add(400, self.scroll_to_selection) self.silent_render() def zoom_change(self, _action, step, _unknown): """ Action handle for zoom change """ self.zoom_set(self.zoom_level + step.get_int32()) def zoom_to_full_page(self): """Zoom selected thumbnail to full page.""" selection = self.iconview.get_selected_items() if len(selection) != 1: return item_padding = self.iconview.get_item_padding() cell_image_renderer, cell_text_renderer = self.iconview.get_cells() image_padding = cell_image_renderer.get_padding() text_rect = self.iconview.get_cell_rect(selection[-1], cell_text_renderer)[1] text_rect_height = text_rect.height # cell_text_renderer padding is included here border_and_shadow = 7 # 2*th1+th2 set in iconview.py cell_extraX = 2 * (item_padding + image_padding[0]) + border_and_shadow cell_extraY = 2 * (item_padding + image_padding[1]) + text_rect_height + border_and_shadow sw_width = self.sw.get_allocated_width() sw_height = self.sw.get_allocated_height() page_width = max(p.width_in_points() for p, _ in self.model) page_height = max(p.height_in_points() for p, _ in self.model) margins = 12 # leave 6 pixel at top and 6 pixel at bottom zoom_scaleX_new = (sw_width - cell_extraX - margins) / page_width zoom_scaleY_new = (sw_height - cell_extraY - margins) / page_height self.zoom_scale = max(min(zoom_scaleY_new, zoom_scaleX_new), 0.2 * (1.1 ** -10)) self.quit_rendering() # For performance reasons for page, _ in self.model: page.zoom = self.zoom_scale self.model[0][0] = self.model[0][0] # Set zoom level to nearest possible so zoom in/out works right self.zoom_level = -10 while self.zoom_scale > 0.2 * (1.1 ** self.zoom_level): self.zoom_level += 1 self.zoom_full_page = True def scroll_to_selection(self): """Scroll iconview so that selection is in center of window.""" self.id_scroll_to_sel = None GObject.timeout_add(50, self._scroll_to_selection) def _scroll_to_selection(self): selection = self.iconview.get_selected_items() if not selection: return selection.sort(key=lambda x: x.get_indices()[0]) if self.zoom_full_page: cell_image_renderer = self.iconview.get_cells()[0] cell_rect = self.iconview.get_cell_rect(selection[-1], cell_image_renderer) thmb_width, thmb_height = self.cellthmb.get_fixed_size() if cell_rect[1].width != thmb_width or cell_rect[1].height != thmb_height: # thmb_width and thmb_height is the wanted size. If cell_rect size is not # yet equal, give it some time and then try again. return True sw_vadj = self.sw.get_vadjustment() first_cell_y = self.iconview.get_cell_rect(selection[0])[1].y last_cell_y = self.iconview.get_cell_rect(selection[-1])[1].y last_cell_height = self.iconview.get_cell_rect(selection[-1])[1].height selection_center = (last_cell_y + last_cell_height - first_cell_y) / 2 + 0.5 sw_height = self.sw.get_allocated_height() new_value = first_cell_y + selection_center + self.vp_css_margin - sw_height / 2 if new_value > sw_vadj.get_upper(): # Scrollable not yet ready. Call function again. return True sw_vadj.set_value(new_value) self.silent_render() def rotate_page_action(self, _action, angle, _unknown): """Rotates the selected page in the IconView""" self.undomanager.commit("Rotate") angle = angle.get_int32() selection = self.iconview.get_selected_items() if self.rotate_page(selection, angle): self.set_unsaved(True) self.__update_statusbar() def rotate_page(self, selection, angle): model = self.iconview.get_model() rotated = False page_width_old = max(p.width_in_points() for p, _ in self.model) page_height_old = max(p.height_in_points() for p, _ in self.model) for path in selection: treeiter = model.get_iter(path) p = model.get_value(treeiter, 0) if p.rotate(angle): rotated = True model.set_value(treeiter, 0, p) self.update_geometry(treeiter) page_width_new = max(p.width_in_points() for p, _ in self.model) page_height_new = max(p.height_in_points() for p, _ in self.model) if page_width_old != page_width_new or page_height_old != page_height_new: self.scroll_to_selection() return rotated def split_pages(self, _action, _parameter, _unknown): """ Split selected pages """ diag = splitter.Dialog(self.window) leftcrops, topcrops = diag.run_get() if leftcrops is None or topcrops is None: return model = self.iconview.get_model() self.set_unsaved(True) self.undomanager.commit("Split") # selection is a list of 1-tuples, not in order selection = self.iconview.get_selected_items() selection.sort(key=lambda x: x.get_indices()[0]) ref_list = [Gtk.TreeRowReference.new(model, path) for path in selection] with self.render_lock(): for ref in ref_list: iterator = model.get_iter(ref.get_path()) page = model.get_value(iterator, 0) newpages = page.split(leftcrops, topcrops) for p in newpages: model.insert_after(iterator, [p, p.description()]) model.set_value(iterator, 0, page) self.iv_selection_changed_event() def edit_metadata(self, _action, _parameter, _unknown): if metadata.edit(self.metadata, self.pdfqueue, self.window): self.set_unsaved(True) def page_format_dialog(self, _action, _parameter, _unknown): """Opens a dialog box to define margins for page cropping and page size""" selection = self.iconview.get_selected_items() diag = croputils.Dialog(self.iconview.get_model(), selection, self.window) crop, newscale = diag.run_get() with self.render_lock(): if crop is not None or newscale is not None: self.undomanager.commit("Format") updatestatus = False if crop is not None: if self.crop(selection, crop): updatestatus = True if newscale is not None: if croputils.scale(self.model, selection, newscale): updatestatus = True if updatestatus: self.set_unsaved(True) self.__update_statusbar() self.zoom_set(self.zoom_level) GObject.idle_add(self.render) def crop_white_borders(self, _action, _parameter, _unknown): selection = self.iconview.get_selected_items() crop = croputils.white_borders(self.iconview.get_model(), selection, self.pdfqueue) self.undomanager.commit("Crop white Borders") if self.crop(selection, crop): self.set_unsaved(True) self.__update_statusbar() GObject.idle_add(self.render) def crop(self, selection, newcrop): changed = False model = self.iconview.get_model() for id_sel, path in enumerate(selection): pos = model.get_iter(path) page = model.get_value(pos, 0) if page.crop != list(newcrop[id_sel]): page.crop = list(newcrop[id_sel]) changed = True model.set_value(pos, 0, page) self.update_geometry(pos) return changed def duplicate(self, _action, _parameter, _unknown): """Duplicates the selected elements""" self.set_unsaved(True) self.undomanager.commit("Duplicate") model = self.iconview.get_model() # selection is a list of 1-tuples, not in order selection = self.iconview.get_selected_items() selection.sort(key=lambda x: x.get_indices()[0]) ref_list = [Gtk.TreeRowReference.new(model, path) for path in selection] with self.render_lock(): for ref in ref_list: iterator = model.get_iter(ref.get_path()) page = model.get_value(iterator, 0).duplicate() model.insert_after(iterator, [page, page.description()]) self.iv_selection_changed_event() @staticmethod def reverse_order_available(selection): """Determine whether the selection is suitable for the reverse-order command: the selection must be a multiple and contiguous range of pages. """ if len(selection) < 2: return False # selection is a list of 1-tuples, not in order indices = sorted([i[0] for i in selection]) first = indices[0] last = indices[-1] contiguous = (len(indices) == last - first + 1) return contiguous def reverse_order(self, _action, _parameter, _unknown): """Reverses the selected elements in the IconView""" model = self.iconview.get_model() selection = self.iconview.get_selected_items() # selection is a list of 1-tuples, not in order indices = sorted([i[0] for i in selection]) first = indices[0] last = indices[-1] self.set_unsaved(True) indices.reverse() new_order = list(range(first)) + indices + list(range(last + 1, len(model))) self.undomanager.commit("Reorder") with self.render_lock(): model.reorder(new_order) GObject.idle_add(self.render) def about_dialog(self, _action, _parameter, _unknown): about_dialog = Gtk.AboutDialog() about_dialog.set_transient_for(self.window) about_dialog.set_modal(True) about_dialog.set_name(APPNAME) about_dialog.set_program_name(APPNAME) about_dialog.set_version(VERSION) pike = pikepdf.__version__ qpdf = pikepdf.__libqpdf_version__ about_dialog.set_comments(''.join((_( '%s is a tool for rearranging and modifying PDF files. ' 'Developed using GTK+ and Python') % APPNAME, '\n \n', _('(%s uses libqpdf %s and pikepdf %s)') % (APPNAME, qpdf, pike)))) about_dialog.set_authors(['Konstantinos Poulios']) about_dialog.add_credit_section(_('Maintainers and contributors'), [ 'https://github.com/pdfarranger/pdfarranger/graphs/contributors']) about_dialog.set_website(WEBSITE) about_dialog.set_website_label(WEBSITE) about_dialog.set_logo_icon_name(ICON_ID) about_dialog.set_license(_('GNU General Public License (GPL) Version 3.')) about_dialog.connect('response', lambda w, *args: w.destroy()) about_dialog.connect('delete_event', lambda w, *args: w.destroy()) about_dialog.show_all() def reset_export_file(self, model, _path, _itr=None, _user_data=None): if len(model) == 0: self.set_export_file(None) self.set_unsaved(False) def __update_num_pages(self, model, _path=None, _itr=None, _user_data=None): num_pages = len(model) self.uiXML.get_object("num_pages").set_text(str(num_pages)) for a in ["save", "save-as", "select", "export-all"]: self.window.lookup_action(a).set_enabled(num_pages > 0) def __update_statusbar(self): selection = self.iconview.get_selected_items() selected_pages = sorted([p.get_indices()[0] + 1 for p in selection]) # Compact the representation of the selected page range jumps = [[l, r] for l, r in zip(selected_pages, selected_pages[1:]) if l + 1 < r] ranges = list(selected_pages[0:1] + sum(jumps, []) + selected_pages[-1:]) display = [] for lo, hi in zip(ranges[::2], ranges[1::2]): range_str = '{}-{}'.format(lo,hi) if lo < hi else '{}'.format(lo) display.append(range_str) ctxt_id = self.status_bar.get_context_id("selected_pages") msg = _("Selected pages: ") + ", ".join(display) if len(selection) == 1: model = self.iconview.get_model() pagesize = model[selection[0]][0].size_in_points() pagesize = [x * 25.4 / 72 for x in pagesize] msg += " / "+_("Page Size:")+ " {:.1f}mm \u00D7 {:.1f}mm".format(*pagesize) self.status_bar.push(ctxt_id, msg) def error_message_dialog(self, msg, msg_type=Gtk.MessageType.ERROR): error_msg_dlg = Gtk.MessageDialog(flags=Gtk.DialogFlags.MODAL, type=msg_type, parent=self.window, message_format=str(msg), buttons=Gtk.ButtonsType.OK) response = error_msg_dlg.run() if response == Gtk.ResponseType.OK: error_msg_dlg.destroy() def main(): PdfArranger().run(sys.argv) pdfarranger-1.8.2/pdfarranger/splitter.py000066400000000000000000000214711416164621100205370ustar00rootroot00000000000000# Copyright (C) 2020 pdfarranger contributors # # pdfarranger is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. from gi.repository import Gtk import gettext _ = gettext.gettext class Dialog(Gtk.Dialog): """ A dialog box to split pages into a grid of pages""" def __init__(self, window): super().__init__( title=_("Split Pages"), parent=window, flags=Gtk.DialogFlags.MODAL, buttons=( Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, Gtk.STOCK_OK, Gtk.ResponseType.OK, ), ) self.set_default_response(Gtk.ResponseType.OK) self.set_resizable(False) self.split_count = {'vertical' : 2, 'horizontal' : 1} self.even_splits = {'vertical' : True, 'horizontal' : True} self.vmodel = Gtk.ListStore(int, int) self.hmodel = Gtk.ListStore(int, int) self.model = {'vertical' : self.vmodel, 'horizontal' : self.hmodel} self.vspin = Gtk.SpinButton() self.hspin = Gtk.SpinButton() self.spinbuttons = {'vertical' : self.vspin, 'horizontal' : self.hspin} self.vcheck = Gtk.CheckButton() self.hcheck = Gtk.CheckButton() self.checkbuttons = {'vertical' : self.vcheck, 'horizontal' : self.hcheck} hbox = Gtk.HBox() self.vbox.pack_start(hbox, True, True, 0) for direction in ['vertical', 'horizontal']: frame = self._build_frame(direction) hbox.pack_start(frame, True, True, 0) self.show_all() def _build_frame(self, direction): frame_txt = {'vertical' : _("Columns"), 'horizontal' : _("Rows")} label_txt = {'vertical' : _("Vertical Splits"), 'horizontal' : _("Horizontal Splits")} checkbutton_txt = {'vertical' : _("Equal column width"), 'horizontal' : _("Equal row height")} frame = Gtk.Frame(label=frame_txt[direction]) frame.props.margin = 8 frame.props.margin_bottom = 0 grid = Gtk.Grid() frame.add(grid) label = Gtk.Label(label_txt[direction]) label.set_alignment(0.0, 0.5) label.props.margin = 8 label.props.margin_bottom = 6 grid.attach(label, 0, 0, width=1, height=1) adjustment = Gtk.Adjustment(value=self.split_count[direction], lower=1, upper=20, step_incr=1) self.spinbuttons[direction].set_adjustment(adjustment) self.spinbuttons[direction].connect("value-changed", self._update_split, direction) grid.attach(self.spinbuttons[direction], 1, 0, width=1, height=1) self.checkbuttons[direction].set_label(checkbutton_txt[direction]) self.checkbuttons[direction].set_active(True) self.checkbuttons[direction].connect("toggled", self._even_split_toggled, direction) grid.attach(self.checkbuttons[direction], 0, 1, width=2, height=1) treeview = self._build_model(direction) grid.attach(treeview, 0, 2, width=2, height=1) return frame def _build_model(self, direction): label1 = {'vertical' : _("#Col"), 'horizontal' : _("#Row")} label2 = {'vertical' : _("Width in %"), 'horizontal' : _("Height in %")} split_count = self.split_count[direction] for s in range(1, split_count + 1): self.model[direction].append([s, 100 // split_count]) treeview = Gtk.TreeView(model=self.model[direction]) cr = Gtk.CellRendererText() heading = Gtk.TreeViewColumn(label1[direction], cr, text=0) treeview.append_column(heading) cr = Gtk.CellRendererSpin() cr.connect("edited", self._edited, direction) cr.set_property("editable", True) adjustment = Gtk.Adjustment(value=100, lower=0, upper=100, step_increment=1) cr.set_property("adjustment", adjustment) heading = Gtk.TreeViewColumn(label2[direction], cr, text=1) treeview.append_column(heading) return treeview def _edited(self, widget, path, value, direction): # Avoid that a user bypasses the limits of the spin buttons # via keyboard input and pressing enter. value = min(max(0, int(value)), 100) if self.model[direction][path][1] == int(value): return if self.checkbuttons[direction].get_active(): # Populate all entries with the new value # The sum may exceed 100, allowing for overlap. crop_sum = len(self.model[direction]) * value if crop_sum >= 100: for i in range(len(self.model[direction])): self.model[direction][i][1] = value else: # Unevenly sized tiles. Fix the sum to match 100, # adjusting entries from bottom to top. self.model[direction][path][1] = value crop_sum = 0 for i in range(len(self.model[direction])): crop_sum += self.model[direction][i][1] delta = 100 - crop_sum cur_idx = int(path) for i in reversed(range(len(self.model[direction]))): if i != cur_idx: sign = delta/abs(delta) s = sign * min(abs(delta), self.model[direction][i][1]) self.model[direction][i][1] += s delta -= s if delta == 0: break def _update_split(self, _event, direction): self.split_count[direction] = self.spinbuttons[direction].get_value_as_int() if self.even_splits[direction]: self.model[direction].clear() # Partition evenly count = self.split_count[direction] frac = 100 // count partition = [frac] * (count - 1) partition.append(100 - (count - 1) * frac) for i, frac in enumerate(partition, start = 1): self.model[direction].append([i, frac]) else: delta = self.split_count[direction] - len(self.model[direction]) if delta > 0: # Add delta zero rows idx = len(self.model[direction]) + 1 for i in range(delta): self.model[direction].append([idx + i, 0]) if delta < 0: # Delete the last delta entries and ensure that the sum is 100 s = 0 for i in range(abs(delta)): s += self.model[direction][-1][1] del self.model[direction][-1] self.model[direction][-1][1] += s def _even_split_toggled(self, button, direction): self.even_splits[direction] = button.get_active() self._update_split(None, direction) def _crops(self, direction): # Convert the tile sizes into a list of tuples (start, end) such that # tile size = end - start. num_splits = len(self.model[direction]) crops = [(0, 0.01 * self.model[direction][0][1])] * num_splits crop_sum = 0.01 * self.model[direction][0][1] for i in range(1, num_splits): size = 0.01 * self.model[direction][i][1] crop_sum += size crops[i] = (crops[i-1][1], crops[i-1][1] + size) # Remove zero-sized tiles crops = [t for t in crops if t[0] < t[1]] overlap = crop_sum - 1.0 # nonnegative if overlap == 0.0: return crops # We have multiple splits and crop_sum > 1.0 # 35,35,35 => [0,35],[32.5,67.5],[65,100]; overlap = 5 # 60,60 => [0,60],[40,100]; overlap = 20 # In general: # [start=last-overlap/(num_splits-1),end=start+size] overlap_per_tile = overlap / (num_splits - 1) # Overlap is only defined when all tiles have the same size. size = 0.01 * self.model[direction][0][1] crops[0] = (0, size) for i in range(1, num_splits - 1): start = crops[i-1][1] - overlap_per_tile end = start + size crops[i] = (start, end) crops[-1] = (1.0 - size, 1.0) return crops def run_get(self): result = self.run() vcrops = None hcrops = None if result == Gtk.ResponseType.OK: vcrops = self._crops('vertical') hcrops = self._crops('horizontal') self.destroy() return vcrops, hcrops pdfarranger-1.8.2/pdfarranger/undo.py000066400000000000000000000063511416164621100176360ustar00rootroot00000000000000# Copyright (C) 2018-2019 Jerome Robert # # pdfarranger is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. """ undo/redo implemented with the memento design pattern. The memento pattern is simpler than the command pattern. Here the memory cost of memento is affordable because we only store snapshots of the GtkListStore object, not of the whole PDF files. """ class Manager(object): """ Stack of GtkListStore models (Memento design pattern) """ def __init__(self, app): self.app = app self.model = app.model self.states = [] #: label of the previous undoable action self.label = None #: id of the current state self.current = 0 self.undoaction = None self.redoaction = None def commit(self, label): """ Must be called *BEFORE* each undoable actions :param label: label of the action """ self.states = self.states[:self.current] self.states.append(([row[0].duplicate(False) for row in self.model], self.label,)) self.current += 1 self.label = label self.__refresh() def undo(self, _action, _param, _unused): if self.current == len(self.states): self.states.append(([row[0].duplicate(False) for row in self.model], self.label,)) state, self.label = self.states[self.current - 1] self.__set_state(state) self.current -= 1 self.__refresh() def redo(self, _action, _param, _unused): state, self.label = self.states[self.current + 1] self.__set_state(state) self.current += 1 self.__refresh() def set_actions(self, undo, redo): self.undoaction = undo self.redoaction = redo self.__refresh() def __set_state(self, state): self.app.quit_rendering() with self.app.render_lock(): self.model.clear() for page in state: # Do not reset the zoom level page.zoom = self.app.zoom_scale self.model.append([page, page.description()]) self.app.zoom_set(self.app.zoom_level) self.app.retitle() self.app.silent_render() def __refresh(self): if self.undoaction: self.undoaction.set_enabled(self.current >= 1) if self.redoaction: self.redoaction.set_enabled(self.current + 1 < len(self.states)) # TODO: This is where to update the undo/redo menu items label to # show which action is going to be undone/redone. Because GtkImageMenuItem # will leads to many changes in translations this is currently postponed. pdfarranger-1.8.2/po/000077500000000000000000000000001416164621100144355ustar00rootroot00000000000000pdfarranger-1.8.2/po/POTFILES.in000066400000000000000000000001551416164621100162130ustar00rootroot00000000000000pdfarranger/pdfarranger.py pdfarranger/metadata.py pdfarranger/croputils.py data/pdfarranger.ui data/menu.ui pdfarranger-1.8.2/po/ca.po000066400000000000000000000301171416164621100153620ustar00rootroot00000000000000# PDF Arranger - Catalan translation. # Copyright (C) 2021 # This file is distributed under the same license as the pdfarranger package. # Ícar Nin Solana , 2021. # msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-10-31 18:14+0100\n" "PO-Revision-Date: 2021-10-31 18:26+0100\n" "Last-Translator: Ícar N. S. \n" "Language-Team: \n" "Language: ca\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Poedit 3.0\n" #: pdfarranger/core.py:85 msgid "page" msgstr "pàgina" #: pdfarranger/core.py:193 msgid "Password required" msgstr "Contrasenya requerida" #: pdfarranger/core.py:204 msgid "The password will be remembered until you close PDF Arranger." msgstr "La contrasenya es recordarà fins que tanqueu el PDF Arranger." #: pdfarranger/core.py:205 msgid "" "The document “{}” is locked and requires a password before it can be opened." msgstr "" "El document “{}” està bloquejat i requereix una contrasenya abans que es " "pugui obrir." #: pdfarranger/core.py:215 msgid "Password" msgstr "Contrasenya" #: pdfarranger/core.py:266 pdfarranger/pdfarranger.py:1234 msgid "Unknown file format" msgstr "Format de fitxer desconegut" #: pdfarranger/core.py:282 msgid "Image files are only supported with img2pdf" msgstr "Els fitxers d'imatge només són compatibles amb img2pdf" #: pdfarranger/core.py:304 msgid "Image format is not supported by img2pdf" msgstr "El format de la imatge no està admès per img2pdf" #: pdfarranger/core.py:306 pdfarranger/pdfarranger.py:1244 msgid "File is neither pdf nor image" msgstr "El fitxer no és ni pdf ni imatge" #: pdfarranger/croputils.py:114 msgid "Scale factor" msgstr "Factor d'escala" #: pdfarranger/croputils.py:120 msgid "%" msgstr "%" #: pdfarranger/croputils.py:136 msgid "mm" msgstr "mm" #: pdfarranger/croputils.py:146 msgid "Left" msgstr "Esquerra" #: pdfarranger/croputils.py:146 msgid "Right" msgstr "Dreta" #: pdfarranger/croputils.py:146 msgid "Top" msgstr "Superior" #: pdfarranger/croputils.py:146 msgid "Bottom" msgstr "Inferior" #: pdfarranger/croputils.py:150 msgid "Crop Margins" msgstr "Retalla els marges" #: pdfarranger/croputils.py:158 msgid "" "Cropping does not remove any content from the PDF file, it only hides it." msgstr "Escapçar no elimina cap contingut del fitxer PDF, només l'oculta." #: pdfarranger/croputils.py:167 #, python-format msgid "% of width" msgstr "% de l'amplada" #: pdfarranger/croputils.py:167 #, python-format msgid "% of height" msgstr "% de l'alçada" #: pdfarranger/croputils.py:214 msgid "Page format" msgstr "Format de la pàgina" #: pdfarranger/croputils.py:229 pdfarranger/croputils.py:233 #: pdfarranger/croputils.py:353 msgid "Width" msgstr "Amplada" #: pdfarranger/croputils.py:230 pdfarranger/croputils.py:234 #: pdfarranger/croputils.py:354 msgid "Height" msgstr "Alçada" #: pdfarranger/croputils.py:232 msgid "Relative" msgstr "Relatiu" #: pdfarranger/croputils.py:235 msgid "Page Size" msgstr "Mida de la pàgina" #: pdfarranger/croputils.py:343 msgid "Insert Blank Page" msgstr "Insereix una pàgina en blanc" #: pdfarranger/exporter.py:119 msgid "Warning" msgstr "Avís" #: pdfarranger/exporter.py:124 msgid "Forms and outlines are lost on saving." msgstr "Els formularis i els contorns es perden en desar." #: pdfarranger/exporter.py:126 msgid "Do not show this dialog again." msgstr "No tornis a mostrar aquest diàleg." #: pdfarranger/metadata.py:40 msgid "Title" msgstr "Títol" #: pdfarranger/metadata.py:41 msgid "Subject" msgstr "Assumpte" #: pdfarranger/metadata.py:42 msgid "Keywords" msgstr "Paraules clau" #: pdfarranger/metadata.py:43 msgid "Producer" msgstr "Productor" #: pdfarranger/metadata.py:44 msgid "Creator" msgstr "Creador" #: pdfarranger/metadata.py:45 msgid "Creator tool" msgstr "Eina creadora" #: pdfarranger/metadata.py:46 msgid "Created" msgstr "Creat" #: pdfarranger/metadata.py:47 msgid "Modified" msgstr "Modificat" #: pdfarranger/metadata.py:151 msgid "Invalid date format. Input discarded." msgstr "Format de data no vàlid. S'ha descartat l'entrada." #: pdfarranger/metadata.py:180 msgid "Edit properties" msgstr "Edita les propietats" #: pdfarranger/metadata.py:194 msgid "Property" msgstr "Propietat" #: pdfarranger/metadata.py:194 msgid "Value" msgstr "Valor" #: pdfarranger/pdfarranger.py:271 msgid "" "PDF Arranger is a small python-gtk application, which helps the user to " "merge or split pdf documents and rotate, crop and rearrange their pages " "using an interactive and intuitive graphical interface. It is a frontend for " "pikepdf." msgstr "" "L'Arranjador de PDFs és una petita aplicació feta amb Python i GTK que ajuda " "l'usuari a fusionar o dividir documents PDF i girar, escapçar i reordenar " "les pàgines d'aquests mitjançant una interfície gràfica intuïtiva. És el " "frontal pel programari Pikepdf." #: pdfarranger/pdfarranger.py:282 msgid "Print the version of PDF Arranger and exit" msgstr "Imprimeix la versió de l'Arranjador de PDFs i surt" #: pdfarranger/pdfarranger.py:290 msgid "File(s) to open" msgstr "Fitxer(s) a obrir" #: pdfarranger/pdfarranger.py:395 msgid "All pages must have the same size." msgstr "Totes les pàgines han de tenir la mateixa mida." #: pdfarranger/pdfarranger.py:421 msgid "All supported files" msgstr "Tots els fitxers admesos" #: pdfarranger/pdfarranger.py:425 msgid "PDF files" msgstr "Fitxers PDF" #: pdfarranger/pdfarranger.py:432 msgid "All files" msgstr "Tots els fitxers" #: pdfarranger/pdfarranger.py:437 msgid "Supported image files" msgstr "Fitxers d'imatge compatibles" #: pdfarranger/pdfarranger.py:634 msgid "Rendering…" msgstr "Renderitzant…" #: pdfarranger/pdfarranger.py:728 msgid "untitled" msgstr "sense títol" #: pdfarranger/pdfarranger.py:865 msgid "Save changes to “{}” before closing?" msgstr "Voleu desar els canvis a “{}” abans de tancar?" #: pdfarranger/pdfarranger.py:867 msgid "Save changes before closing?" msgstr "Voleu desar els canvis abans de tancar?" #: pdfarranger/pdfarranger.py:869 msgid "Your changes will be lost if you don’t save them." msgstr "Els teus canvis es perdran si no els guardes." #: pdfarranger/pdfarranger.py:870 msgid "Do_n’t Save" msgstr "No desar" #: pdfarranger/pdfarranger.py:870 msgid "_Cancel" msgstr "Cancel·la" #: pdfarranger/pdfarranger.py:870 data/menu.ui.h:3 msgid "_Save" msgstr "Desa" #: pdfarranger/pdfarranger.py:920 msgid "Export…" msgstr "Exporta…" #: pdfarranger/pdfarranger.py:1030 msgid "Import…" msgstr "Importa…" #: pdfarranger/pdfarranger.py:1137 msgid "Pasted data not valid. Aborting paste." msgstr "Les dades enganxades no són vàlides. S'està avortant l'operació." #: pdfarranger/pdfarranger.py:1238 msgid "PDF document is damaged" msgstr "El document PDF està malmès" #: pdfarranger/pdfarranger.py:2067 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" "%s és una eina per reordenar i modificar fitxers PDF. Desenvolupat usant GTK" "+ i Python" #: pdfarranger/pdfarranger.py:2070 #, python-format msgid "(%s uses libqpdf %s and pikepdf %s)" msgstr "(%s utilitza libqpdf %s i pikepdf %s)" #: pdfarranger/pdfarranger.py:2072 msgid "Maintainers and contributors" msgstr "Mantenidors i contribuïdors" #: pdfarranger/pdfarranger.py:2077 msgid "GNU General Public License (GPL) Version 3." msgstr "Llicència Pública General GNU (GPL) Versió 3." #: pdfarranger/pdfarranger.py:2105 msgid "Selected pages: " msgstr "Pàgines seleccionades: " #: pdfarranger/pdfarranger.py:2110 msgid "Page Size:" msgstr "Mida de la pàgina:" #: pdfarranger/splitter.py:26 msgid "Split Pages" msgstr "Divideix les pàgines" #: pdfarranger/splitter.py:58 msgid "Columns" msgstr "Columnes" #: pdfarranger/splitter.py:58 msgid "Rows" msgstr "Files" #: pdfarranger/splitter.py:59 msgid "Vertical Splits" msgstr "Divisions verticals" #: pdfarranger/splitter.py:59 msgid "Horizontal Splits" msgstr "Divisions horitzontals" #: pdfarranger/splitter.py:60 msgid "Equal column width" msgstr "Amplada igual de la columna" #: pdfarranger/splitter.py:60 msgid "Equal row height" msgstr "Alçada igual de la fila" #: pdfarranger/splitter.py:85 msgid "#Col" msgstr "#Col" #: pdfarranger/splitter.py:85 msgid "#Row" msgstr "#Fila" #: pdfarranger/splitter.py:86 msgid "Width in %" msgstr "Amplada en %" #: pdfarranger/splitter.py:86 msgid "Height in %" msgstr "Alçada en %" #: data/pdfarranger.ui.h:1 msgid "Open a file and append it to the current document" msgstr "Obre un fitxer i afegeix-el al document actual" #: data/pdfarranger.ui.h:2 msgid "Save" msgstr "Desa" #: data/pdfarranger.ui.h:3 msgid "Save As" msgstr "Desa com a" #: data/pdfarranger.ui.h:4 msgid "Number of Pages" msgstr "Nombre de pàgines" #: data/pdfarranger.ui.h:5 msgid "Main Menu" msgstr "Menú principal" #: data/pdfarranger.ui.h:6 msgid "Zoom In" msgstr "Amplia" #: data/pdfarranger.ui.h:7 msgid "Zoom Out" msgstr "Allunya" #: data/pdfarranger.ui.h:8 msgid "Rotate Left" msgstr "Gira a l'esquerra" #: data/pdfarranger.ui.h:9 msgid "Rotate Right" msgstr "Gira a la dreta" #: data/menu.ui.h:1 msgid "_Import" msgstr "Importa" #: data/menu.ui.h:2 msgid "_New Window" msgstr "Finestra nova" #: data/menu.ui.h:4 msgid "Save _As…" msgstr "Anomena i desa…" #: data/menu.ui.h:5 msgid "E_xport" msgstr "Exporta" #: data/menu.ui.h:6 msgid "E_xport Selection to a Single File…" msgstr "Exporta la selecció a un sol fitxer…" #: data/menu.ui.h:7 msgid "Export Selection to _Individual Files…" msgstr "Exporta la selecció a fitxers individuals…" #: data/menu.ui.h:8 msgid "Export _All Pages to Individual Files…" msgstr "Exporta totes les pàgines a fitxers individuals…" #: data/menu.ui.h:9 msgid "_Undo" msgstr "Desfés" #: data/menu.ui.h:10 msgid "_Redo" msgstr "Refés" #: data/menu.ui.h:11 msgid "_Edit" msgstr "Edita" #: data/menu.ui.h:12 msgid "Rotate _Left" msgstr "Gira a l'esquerra" #: data/menu.ui.h:13 msgid "_Rotate Right" msgstr "Gira a la dreta" #: data/menu.ui.h:14 msgid "_Page Format" msgstr "Format de la pàgina" #: data/menu.ui.h:15 msgid "Crop White Borders" msgstr "Escapça les vores blanques" #: data/menu.ui.h:16 msgid "_Delete" msgstr "Suprimeix" #: data/menu.ui.h:17 msgid "Dupl_icate" msgstr "Duplica" #: data/menu.ui.h:18 msgid "Re_verse Order" msgstr "Ordre invers" #: data/menu.ui.h:19 msgid "_Split Pages" msgstr "Divideix les pàgines" #: data/menu.ui.h:20 msgid "Cu_t" msgstr "Retalla" #: data/menu.ui.h:21 msgid "_Copy" msgstr "Copia" #: data/menu.ui.h:22 msgid "Paste _After" msgstr "Enganxa després" #: data/menu.ui.h:23 msgid "Paste _Before" msgstr "Enganxa abans" #: data/menu.ui.h:24 msgid "Paste As _Odd Pages" msgstr "Enganxa com a pàgines senars" #: data/menu.ui.h:25 msgid "Paste As _Even Pages" msgstr "Enganxa com a pàgines parelles" #: data/menu.ui.h:26 msgid "Insert Blan_k Page" msgstr "Insereix una pàgina en blanc" #: data/menu.ui.h:27 msgid "Generate Booklet" msgstr "Genera un fullet" #: data/menu.ui.h:28 msgid "_Select" msgstr "Selecciona" #: data/menu.ui.h:29 msgid "Select _All" msgstr "Selecciona-ho tot" #: data/menu.ui.h:30 msgid "_Deselect All" msgstr "Desselecciona-ho tot" #: data/menu.ui.h:31 msgid "Select _Odd Pages" msgstr "Selecciona les pàgines senars" #: data/menu.ui.h:32 msgid "Select _Even Pages" msgstr "Selecciona les pàgines parelles" #: data/menu.ui.h:33 msgid "All From _Same File" msgstr "Tots del mateix fitxer" #: data/menu.ui.h:34 msgid "Same Page _Format" msgstr "El mateix format de pàgina" #: data/menu.ui.h:35 msgid "_Invert Selection" msgstr "Inverteix la selecció" #: data/menu.ui.h:36 msgid "Zoom _In" msgstr "Amplia" #: data/menu.ui.h:37 msgid "Zoom _Out" msgstr "Allunya" #: data/menu.ui.h:38 msgid "Edit _Properties" msgstr "Edita les propietats" #: data/menu.ui.h:39 msgid "_About" msgstr "Quant a" #: data/menu.ui.h:40 msgid "_Quit" msgstr "Surt" #: data/menu.ui.h:41 msgid "Past_e Special" msgstr "Enganxament especial" #~ msgid "Paste Interleave _Odd" #~ msgstr "Enganxa intercalada senarment" #~ msgid "Paste Interleave _Even" #~ msgstr "Enganxa intercalada parellament" pdfarranger-1.8.2/po/ca@valencia.po000066400000000000000000000225761416164621100171770ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Pilar Embid Giner , 2014. msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-12-29 17:35+0100\n" "PO-Revision-Date: 2018-10-10 09:09+0200\n" "Last-Translator: Pilar Embid Giner \n" "Language-Team: LliureX\n" "Language: ca\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Poedit 2.0.6\n" #: pdfarranger/core.py:80 msgid "page" msgstr "pàgina" #: pdfarranger/core.py:175 msgid "Password required" msgstr "" #: pdfarranger/core.py:186 msgid "The password will be remembered until you close PDF Arranger." msgstr "" #: pdfarranger/core.py:187 msgid "" "The document “{}” is locked and requires a password before it can be opened." msgstr "" #: pdfarranger/core.py:197 msgid "Password" msgstr "" #: pdfarranger/core.py:241 pdfarranger/pdfarranger.py:989 msgid "Unknown file format" msgstr "" #: pdfarranger/core.py:256 msgid "Image files are only supported with img2pdf" msgstr "" #: pdfarranger/core.py:278 msgid "Image format is not supported by img2pdf" msgstr "" #: pdfarranger/core.py:280 pdfarranger/pdfarranger.py:999 msgid "File is neither pdf nor image" msgstr "" #: pdfarranger/croputils.py:113 msgid "Scale factor" msgstr "" #: pdfarranger/croputils.py:119 msgid "%" msgstr "" #: pdfarranger/croputils.py:135 msgid "mm" msgstr "" # Netscape_4.7->Dialog Box Control:EDITOR32.DLL #: pdfarranger/croputils.py:145 msgid "Left" msgstr "Esquerra" # Netscape_4.7->Dialog Box Control:EDITOR32.DLL #: pdfarranger/croputils.py:145 msgid "Right" msgstr "Dreta" # Netscape_4.7->String:RESDLL.DLL #: pdfarranger/croputils.py:145 msgid "Top" msgstr "Dalt" # Netscape_4.7->Dialog Box Control:EDITOR32.DLL #: pdfarranger/croputils.py:145 msgid "Bottom" msgstr "Baix" #: pdfarranger/croputils.py:149 msgid "Crop Margins" msgstr "Retalla els marges" #: pdfarranger/croputils.py:157 msgid "" "Cropping does not remove any content from the PDF file, it only hides it." msgstr "" #: pdfarranger/croputils.py:166 #, python-format msgid "% of width" msgstr "% d'amplària" #: pdfarranger/croputils.py:166 #, python-format msgid "% of height" msgstr "% d'alçària" #: pdfarranger/croputils.py:210 msgid "Page format" msgstr "" #: pdfarranger/croputils.py:225 pdfarranger/croputils.py:229 #: pdfarranger/croputils.py:338 msgid "Width" msgstr "" # Netscape_4.7->Dialog Box Control:EDITOR32.DLL #: pdfarranger/croputils.py:226 pdfarranger/croputils.py:230 #: pdfarranger/croputils.py:339 #, fuzzy msgid "Height" msgstr "Dreta" #: pdfarranger/croputils.py:228 msgid "Relative" msgstr "" #: pdfarranger/croputils.py:231 msgid "Page Size" msgstr "" #: pdfarranger/croputils.py:328 msgid "Insert Blank Page" msgstr "" #: pdfarranger/exporter.py:106 msgid "Warning" msgstr "" #: pdfarranger/exporter.py:111 msgid "Forms and outlines are lost on saving." msgstr "" #: pdfarranger/exporter.py:113 msgid "Do not show this dialog again." msgstr "" #: pdfarranger/metadata.py:40 msgid "Title" msgstr "" #: pdfarranger/metadata.py:41 msgid "Subject" msgstr "" #: pdfarranger/metadata.py:42 msgid "Keywords" msgstr "" #: pdfarranger/metadata.py:43 msgid "Producer" msgstr "" #: pdfarranger/metadata.py:44 msgid "Creator" msgstr "" #: pdfarranger/metadata.py:45 msgid "Creator tool" msgstr "" #: pdfarranger/metadata.py:46 msgid "Created" msgstr "" #: pdfarranger/metadata.py:47 msgid "Modified" msgstr "" #: pdfarranger/metadata.py:150 msgid "Invalid date format. Input discarded." msgstr "" #: pdfarranger/metadata.py:179 msgid "Edit properties" msgstr "" #: pdfarranger/metadata.py:192 msgid "Property" msgstr "" #: pdfarranger/metadata.py:192 msgid "Value" msgstr "" #: pdfarranger/pdfarranger.py:341 #, fuzzy msgid "All supported files" msgstr "Tots els fitxers" #: pdfarranger/pdfarranger.py:345 msgid "PDF files" msgstr "Fitxers PDF" #: pdfarranger/pdfarranger.py:352 msgid "All files" msgstr "Tots els fitxers" #: pdfarranger/pdfarranger.py:357 msgid "Supported image files" msgstr "" #: pdfarranger/pdfarranger.py:531 msgid "untitled" msgstr "" #: pdfarranger/pdfarranger.py:625 msgid "Save changes to “{}” before closing?" msgstr "" #: pdfarranger/pdfarranger.py:627 msgid "Save changes before closing?" msgstr "" #: pdfarranger/pdfarranger.py:629 msgid "Your changes will be lost if you don’t save them." msgstr "" #: pdfarranger/pdfarranger.py:630 msgid "Do_n’t Save" msgstr "" #: pdfarranger/pdfarranger.py:630 msgid "_Cancel" msgstr "" #: pdfarranger/pdfarranger.py:630 data/menu.ui.h:3 #, fuzzy msgid "_Save" msgstr "Guarda" #: pdfarranger/pdfarranger.py:671 msgid "Export…" msgstr "Exporta…" #: pdfarranger/pdfarranger.py:784 msgid "Import…" msgstr "Importa…" #: pdfarranger/pdfarranger.py:885 msgid "Pasted data not valid. Aborting paste." msgstr "" #: pdfarranger/pdfarranger.py:993 msgid "PDF document is damaged" msgstr "" #: pdfarranger/pdfarranger.py:1794 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" "El %s és una ferramenta per a organitzar i modificar fitxers PDF. S'ha " "realitzat utilitzant GTK+ i Python" #: pdfarranger/pdfarranger.py:1797 msgid "Maintainers and contributors" msgstr "" #: pdfarranger/pdfarranger.py:1801 msgid "GNU General Public License (GPL) Version 3." msgstr "" #: pdfarranger/pdfarranger.py:1829 #, fuzzy msgid "Selected pages: " msgstr "Retalla les pàgines seleccionades" #: pdfarranger/splitter.py:26 msgid "Grid splitting" msgstr "" #: pdfarranger/splitter.py:58 msgid "Columns" msgstr "" #: pdfarranger/splitter.py:58 msgid "Rows" msgstr "" #: pdfarranger/splitter.py:59 msgid "Vertical Splits" msgstr "" #: pdfarranger/splitter.py:59 msgid "Horizontal Splits" msgstr "" #: pdfarranger/splitter.py:60 msgid "Equal column width" msgstr "" #: pdfarranger/splitter.py:60 #, fuzzy msgid "Equal row height" msgstr "% d'alçària" #: pdfarranger/splitter.py:85 msgid "#Col" msgstr "" #: pdfarranger/splitter.py:85 msgid "#Row" msgstr "" #: pdfarranger/splitter.py:86 msgid "Width in %" msgstr "" #: pdfarranger/splitter.py:86 msgid "Height in %" msgstr "" #: data/pdfarranger.ui.h:1 msgid "Open a file and append it to the current document" msgstr "Obri un fitxer i afig-lo al document actual" #: data/pdfarranger.ui.h:2 msgid "Save" msgstr "Guarda" #: data/pdfarranger.ui.h:3 #, fuzzy msgid "Save As" msgstr "Guarda com" #: data/pdfarranger.ui.h:4 msgid "Number of Pages" msgstr "" #: data/pdfarranger.ui.h:5 msgid "Main Menu" msgstr "" #: data/pdfarranger.ui.h:6 #, fuzzy msgid "Zoom In" msgstr "Amplia" #: data/pdfarranger.ui.h:7 #, fuzzy msgid "Zoom Out" msgstr "Redueïx" #: data/pdfarranger.ui.h:8 #, fuzzy msgid "Rotate Left" msgstr "Gira a _l'esquerra" #: data/pdfarranger.ui.h:9 #, fuzzy msgid "Rotate Right" msgstr "Gi_ra a la dreta" #: data/menu.ui.h:1 #, fuzzy msgid "_Import" msgstr "Importa" #: data/menu.ui.h:2 msgid "_New Window" msgstr "" #: data/menu.ui.h:4 #, fuzzy msgid "Save _As…" msgstr "Guarda com" #: data/menu.ui.h:5 #, fuzzy msgid "E_xport" msgstr "Exporta…" #: data/menu.ui.h:6 #, fuzzy msgid "E_xport Selection to a Single File…" msgstr "_Exporta la selecció…" #: data/menu.ui.h:7 #, fuzzy msgid "Export Selection to _Individual Files…" msgstr "_Exporta la selecció…" #: data/menu.ui.h:8 msgid "Export _All Pages to Individual Files…" msgstr "" #: data/menu.ui.h:9 msgid "_Undo" msgstr "" #: data/menu.ui.h:10 msgid "_Redo" msgstr "" #: data/menu.ui.h:11 msgid "_Edit" msgstr "_Edita" #: data/menu.ui.h:12 msgid "Rotate _Left" msgstr "Gira a _l'esquerra" #: data/menu.ui.h:13 msgid "_Rotate Right" msgstr "Gi_ra a la dreta" #: data/menu.ui.h:14 msgid "_Page Format" msgstr "" #: data/menu.ui.h:15 msgid "Crop White Borders" msgstr "" #: data/menu.ui.h:16 msgid "_Delete" msgstr "_Esborra" #: data/menu.ui.h:17 msgid "Dupl_icate" msgstr "" #: data/menu.ui.h:18 msgid "Re_verse Order" msgstr "" #: data/menu.ui.h:19 msgid "_Split Pages" msgstr "" #: data/menu.ui.h:20 msgid "_Grid Split" msgstr "" #: data/menu.ui.h:21 msgid "Cu_t" msgstr "" #: data/menu.ui.h:22 msgid "_Copy" msgstr "" #: data/menu.ui.h:23 msgid "Paste _After" msgstr "" #: data/menu.ui.h:24 msgid "Paste _Before" msgstr "" #: data/menu.ui.h:25 msgid "Paste Interleave _Odd" msgstr "" #: data/menu.ui.h:26 msgid "Paste Interleave _Even" msgstr "" #: data/menu.ui.h:27 msgid "Insert Blan_k Page" msgstr "" #: data/menu.ui.h:28 msgid "_Select" msgstr "" #: data/menu.ui.h:29 msgid "Select _All" msgstr "" #: data/menu.ui.h:30 msgid "_Deselect All" msgstr "" #: data/menu.ui.h:31 #, fuzzy msgid "Select _Odd Pages" msgstr "Retalla les pàgines seleccionades" #: data/menu.ui.h:32 #, fuzzy msgid "Select _Even Pages" msgstr "Retalla les pàgines seleccionades" #: data/menu.ui.h:33 msgid "All From _Same File" msgstr "" #: data/menu.ui.h:34 msgid "Same Page _Format" msgstr "" #: data/menu.ui.h:35 #, fuzzy msgid "_Invert Selection" msgstr "_Exporta la selecció…" #: data/menu.ui.h:36 #, fuzzy msgid "Zoom _In" msgstr "Amplia" #: data/menu.ui.h:37 #, fuzzy msgid "Zoom _Out" msgstr "Redueïx" #: data/menu.ui.h:38 msgid "Edit _Properties" msgstr "" #: data/menu.ui.h:39 msgid "_About" msgstr "" #: data/menu.ui.h:40 msgid "_Quit" msgstr "" #: data/menu.ui.h:41 msgid "Past_e Special" msgstr "" pdfarranger-1.8.2/po/cleanuppo.sh000077500000000000000000000017221416164621100167640ustar00rootroot00000000000000#!/bin/sh # # pdfarranger - GTK+ based utility for splitting, rearrangement and # modification of PDF documents. # Copyright (C) 2008-2017 Konstantinos Poulios # # pdfarranger is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # cd "$(dirname $0)/.." for po in po/*.po do # Remove #~ lines msgattrib --no-obsolete -o "$po" "$po" done pdfarranger-1.8.2/po/cs.po000066400000000000000000000301151416164621100154020ustar00rootroot00000000000000msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-04 15:05+0000\n" "PO-Revision-Date: 2021-11-04 15:06+0000\n" "Last-Translator: \n" "Language-Team: Unknown\n" "Language: zxx\n" "Plural-Forms: nplurals=2; plural=n!=1;\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Loco-Source-Locale: cs_CZ\n" "X-Loco-Parser: loco_parse_po\n" "X-Generator: Loco https://localise.biz/" # Český překlad pro PDF Arranger # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the pdfarranger package. # Translators: # PavelZ, 2021 # fri, 2015 # Miro Hrončok, 2014 #: pdfarranger/core.py:85 msgid "page" msgstr "stránka" #: pdfarranger/core.py:193 msgid "Password required" msgstr "Je vyžadováno heslo" #: pdfarranger/core.py:204 msgid "The password will be remembered until you close PDF Arranger." msgstr "Heslo bude zapamatováno, dokud neukončíte program PDF Arranger." #: pdfarranger/core.py:205 #, python-format msgid "" "The document “{}” is locked and requires a password before it can be opened." msgstr "Dokument “{}” je uzamčen a je vyžadováno heslo pro jeho otevření." #: pdfarranger/core.py:215 msgid "Password" msgstr "Heslo" #: pdfarranger/core.py:266 pdfarranger/pdfarranger.py:1234 msgid "Unknown file format" msgstr "Neznámý formát souboru" #: pdfarranger/core.py:282 msgid "Image files are only supported with img2pdf" msgstr "Soubory s obrázky jsou podporovány pouze s programem img2pdf" #: pdfarranger/core.py:304 msgid "Image format is not supported by img2pdf" msgstr "Formát obrázku není podporován programem img2pdf" #: pdfarranger/core.py:306 pdfarranger/pdfarranger.py:1244 msgid "File is neither pdf nor image" msgstr "Soubor není ani PDF dokument ani obrázek" #: pdfarranger/croputils.py:114 msgid "Scale factor" msgstr "Měřítko" #: pdfarranger/croputils.py:120 msgid "%" msgstr "%" #: pdfarranger/croputils.py:136 msgid "mm" msgstr "mm" #: pdfarranger/croputils.py:146 msgid "Left" msgstr "Levý" #: pdfarranger/croputils.py:146 msgid "Right" msgstr "Pravý" #: pdfarranger/croputils.py:146 msgid "Top" msgstr "Horní" #: pdfarranger/croputils.py:146 msgid "Bottom" msgstr "Dolní" #: pdfarranger/croputils.py:150 msgid "Crop Margins" msgstr "Oříznout okraje" #: pdfarranger/croputils.py:158 msgid "" "Cropping does not remove any content from the PDF file, it only hides it." msgstr "Oříznutí neodstraní žádný obsah z PDF dokumentu, pouze jej skryje." #: pdfarranger/croputils.py:167 msgid "% of width" msgstr "% šířky" #: pdfarranger/croputils.py:167 msgid "% of height" msgstr "% výšky" #: pdfarranger/croputils.py:214 msgid "Page format" msgstr "Formát stránky" #: pdfarranger/croputils.py:229 pdfarranger/croputils.py:233 #: pdfarranger/croputils.py:353 msgid "Width" msgstr "Šířka" #: pdfarranger/croputils.py:230 pdfarranger/croputils.py:234 #: pdfarranger/croputils.py:354 msgid "Height" msgstr "Výška" #: pdfarranger/croputils.py:232 msgid "Relative" msgstr "Relativní" #: pdfarranger/croputils.py:235 msgid "Page Size" msgstr "Velikost stránky" #: pdfarranger/croputils.py:343 msgid "Insert Blank Page" msgstr "Vložit prázdnou stránku" #: pdfarranger/exporter.py:119 msgid "Warning" msgstr "Varování" #: pdfarranger/exporter.py:124 msgid "Forms and outlines are lost on saving." msgstr "Při ukládání se ztratí formuláře a obrysy." #: pdfarranger/exporter.py:126 msgid "Do not show this dialog again." msgstr "Tento dialog znovu nezobrazovat." #: pdfarranger/metadata.py:40 msgid "Title" msgstr "Název" #: pdfarranger/metadata.py:41 msgid "Subject" msgstr "Předmět" #: pdfarranger/metadata.py:42 msgid "Keywords" msgstr "Klíčová slova" #: pdfarranger/metadata.py:43 msgid "Producer" msgstr "Producent" #: pdfarranger/metadata.py:44 msgid "Creator" msgstr "Autor" #: pdfarranger/metadata.py:45 msgid "Creator tool" msgstr "Vytvořeno nástrojem" #: pdfarranger/metadata.py:46 msgid "Created" msgstr "Vytvořeno" #: pdfarranger/metadata.py:47 msgid "Modified" msgstr "Změněno" #: pdfarranger/metadata.py:151 msgid "Invalid date format. Input discarded." msgstr "Neplatný formát data. Vstup byl zahozen." #: pdfarranger/metadata.py:180 msgid "Edit properties" msgstr "Upravit vlastnosti" #: pdfarranger/metadata.py:194 msgid "Property" msgstr "Vlastnost" #: pdfarranger/metadata.py:194 msgid "Value" msgstr "Hodnota" #: pdfarranger/pdfarranger.py:271 msgid "" "PDF Arranger is a small python-gtk application, which helps the user to " "merge or split pdf documents and rotate, crop and rearrange their pages " "using an interactive and intuitive graphical interface. It is a frontend for " "pikepdf." msgstr "" "PDF Arranger je malá pyhon-gtk aplikace, která pomáhá uživatelům slučovat " "nebo rozdělovat PDF dokumenty a otáčet, ořezávat nebo přeskupovat jejich " "stránky za použití interaktivního a intuitivního uživatelského rozhraní. " "Jedná se o frontend pro knihovnu pikepdf." #: pdfarranger/pdfarranger.py:282 msgid "Print the version of PDF Arranger and exit" msgstr "Vypsat verzi programu PDF Arranger a skončit" #: pdfarranger/pdfarranger.py:290 msgid "File(s) to open" msgstr "Soubor(y) k otevření" #: pdfarranger/pdfarranger.py:395 msgid "All pages must have the same size." msgstr "Všechny stránky musí mít stejný rozměr" #: pdfarranger/pdfarranger.py:421 msgid "All supported files" msgstr "Všechny podporované soubory" #: pdfarranger/pdfarranger.py:425 msgid "PDF files" msgstr "Soubory PDF" #: pdfarranger/pdfarranger.py:432 msgid "All files" msgstr "Všechny soubory" #: pdfarranger/pdfarranger.py:437 msgid "Supported image files" msgstr "Podporované soubory s obrázky" #: pdfarranger/pdfarranger.py:634 msgid "Rendering…" msgstr "Vykreslování…" #: pdfarranger/pdfarranger.py:728 msgid "untitled" msgstr "nepojmenovaný" #: pdfarranger/pdfarranger.py:865 #, python-format msgid "Save changes to “{}” before closing?" msgstr "Uložit změny do “{}” před zavřením?" #: pdfarranger/pdfarranger.py:867 msgid "Save changes before closing?" msgstr "Uložit změny před zavřením?" #: pdfarranger/pdfarranger.py:869 msgid "Your changes will be lost if you don’t save them." msgstr "Provedené změny budou ztraceny, pokud je neuložíte." #: pdfarranger/pdfarranger.py:870 msgid "Do_n’t Save" msgstr "_Neukládat" #: pdfarranger/pdfarranger.py:870 msgid "_Cancel" msgstr "_Zrušit" #: pdfarranger/pdfarranger.py:870 data/menu.ui.h:3 msgid "_Save" msgstr "_Uložit" #: pdfarranger/pdfarranger.py:920 msgid "Export…" msgstr "_Exportovat…" #: pdfarranger/pdfarranger.py:1030 msgid "Import…" msgstr "_Importovat…" #: pdfarranger/pdfarranger.py:1137 msgid "Pasted data not valid. Aborting paste." msgstr "Vkládaná data jsou neplatná. Vkládání bylo přerušeno." #: pdfarranger/pdfarranger.py:1238 msgid "PDF document is damaged" msgstr "PDF dokument je poškozený" #: pdfarranger/pdfarranger.py:2067 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" "%s je nástroj na přeskupení a úpravy PDF dokumentů. Vyvinuto za použití GTK+ " "a programovacího jazyka Python." #: pdfarranger/pdfarranger.py:2070 #, python-format msgid "(%s uses libqpdf %s and pikepdf %s)" msgstr "(%s používá libqpdf %s a pikepdf %s)" #: pdfarranger/pdfarranger.py:2072 msgid "Maintainers and contributors" msgstr "Správci a přispěvatelé" #: pdfarranger/pdfarranger.py:2077 msgid "GNU General Public License (GPL) Version 3." msgstr "GNU General Public License (GPL) verze 3." #: pdfarranger/pdfarranger.py:2105 msgid "Selected pages: " msgstr "Vybrané stránky: " #: pdfarranger/pdfarranger.py:2110 msgid "Page Size:" msgstr "Velikost stránky:" #: pdfarranger/splitter.py:26 msgid "Split Pages" msgstr "Rozdělit stránky" #: pdfarranger/splitter.py:58 msgid "Columns" msgstr "Sloupce" #: pdfarranger/splitter.py:58 msgid "Rows" msgstr "Řádky" #: pdfarranger/splitter.py:59 msgid "Vertical Splits" msgstr "Svislé rozdělení" #: pdfarranger/splitter.py:59 msgid "Horizontal Splits" msgstr "Vodorovné rozdělení" #: pdfarranger/splitter.py:60 msgid "Equal column width" msgstr "Stejná šířka sloupců" #: pdfarranger/splitter.py:60 msgid "Equal row height" msgstr "Stejná výška řádků" #: pdfarranger/splitter.py:85 msgid "#Col" msgstr "#Sloupec" #: pdfarranger/splitter.py:85 msgid "#Row" msgstr "#Řádek" #: pdfarranger/splitter.py:86 msgid "Width in %" msgstr "Šířka v %" #: pdfarranger/splitter.py:86 msgid "Height in %" msgstr "Výška v %" #: data/pdfarranger.ui.h:1 msgid "Open a file and append it to the current document" msgstr "Otevřít soubor a připojit jej k aktuálnímu dokumentu" #: data/pdfarranger.ui.h:2 msgid "Save" msgstr "Uložit" #: data/pdfarranger.ui.h:3 msgid "Save As" msgstr "Uložit jako" #: data/pdfarranger.ui.h:4 msgid "Number of Pages" msgstr "Počet stránek" #: data/pdfarranger.ui.h:5 msgid "Main Menu" msgstr "Hlavní nabídka" #: data/pdfarranger.ui.h:6 msgid "Zoom In" msgstr "Přiblížit" #: data/pdfarranger.ui.h:7 msgid "Zoom Out" msgstr "Oddálit" #: data/pdfarranger.ui.h:8 msgid "Rotate Left" msgstr "Otočit doleva" #: data/pdfarranger.ui.h:9 msgid "Rotate Right" msgstr "Otočit doprava" #: data/menu.ui.h:1 msgid "_Import" msgstr "_Importovat" #: data/menu.ui.h:2 msgid "_New Window" msgstr "_Nové okno" #: data/menu.ui.h:4 msgid "Save _As…" msgstr "Uložit _jako…" #: data/menu.ui.h:5 msgid "E_xport" msgstr "E_xportovat…" #: data/menu.ui.h:6 msgid "E_xport Selection to a Single File…" msgstr "E_xportovat výběr do jediného souboru…" #: data/menu.ui.h:7 msgid "Export Selection to _Individual Files…" msgstr "Exportovat výběr do _samostatných souborů…" #: data/menu.ui.h:8 msgid "Export _All Pages to Individual Files…" msgstr "Exportovat _všechny stránky do samostatných souborů…" #: data/menu.ui.h:9 msgid "_Undo" msgstr "_Zpět" #: data/menu.ui.h:10 msgid "_Redo" msgstr "Z_novu" #: data/menu.ui.h:11 msgid "_Edit" msgstr "Úprav_y" #: data/menu.ui.h:12 msgid "Rotate _Left" msgstr "Otočit do_leva" #: data/menu.ui.h:13 msgid "_Rotate Right" msgstr "Otočit do_prava" #: data/menu.ui.h:14 msgid "_Page Format" msgstr "_Formát stránky" #: data/menu.ui.h:15 msgid "Crop White Borders" msgstr "Oříznout bílé okra_je" #: data/menu.ui.h:16 msgid "_Delete" msgstr "_Smazat" #: data/menu.ui.h:17 msgid "Dupl_icate" msgstr "_Duplikovat" #: data/menu.ui.h:18 msgid "Re_verse Order" msgstr "O_brácené pořadí" #: data/menu.ui.h:19 msgid "_Split Pages" msgstr "_Rozdělit stránky" #: data/menu.ui.h:20 msgid "Cu_t" msgstr "_Vyjmout" #: data/menu.ui.h:21 msgid "_Copy" msgstr "_Kopírovat" #: data/menu.ui.h:22 msgid "Paste _After" msgstr "Vložit z_a" #: data/menu.ui.h:23 msgid "Paste _Before" msgstr "Vložit př_ed" #: data/menu.ui.h:24 msgid "Paste As _Odd Pages" msgstr "Vložit jako l_iché stránky" #: data/menu.ui.h:25 msgid "Paste As _Even Pages" msgstr "Vložit jako s_udé stránky" #: data/menu.ui.h:26 msgid "Insert Blan_k Page" msgstr "Vložit prázdn_ou stránku" #: data/menu.ui.h:27 msgid "Generate Booklet" msgstr "Vytvořit brožuru" #: data/menu.ui.h:28 msgid "_Select" msgstr "Vybra_t" #: data/menu.ui.h:29 msgid "Select _All" msgstr "Vybrat v_še" #: data/menu.ui.h:30 msgid "_Deselect All" msgstr "Odzna_čit vše" #: data/menu.ui.h:31 msgid "Select _Odd Pages" msgstr "Vybrat lic_hé stránky" #: data/menu.ui.h:32 msgid "Select _Even Pages" msgstr "Vybrat sud_é stránky" #: data/menu.ui.h:33 msgid "All From _Same File" msgstr "Vše ze _stejného souboru" #: data/menu.ui.h:34 msgid "Same Page _Format" msgstr "Stejný _formát stránky" #: data/menu.ui.h:35 msgid "_Invert Selection" msgstr "P_řevrátit výběr" #: data/menu.ui.h:36 msgid "Zoom _In" msgstr "Při_blížit" #: data/menu.ui.h:37 msgid "Zoom _Out" msgstr "O_ddálit" #: data/menu.ui.h:38 msgid "Edit _Properties" msgstr "Upravit _vlastnosti" #: data/menu.ui.h:39 msgid "_About" msgstr "_O programu" #: data/menu.ui.h:40 msgid "_Quit" msgstr "U_končit" #: data/menu.ui.h:41 msgid "Past_e Special" msgstr "Vložit _jinak" pdfarranger-1.8.2/po/de.po000066400000000000000000000302541416164621100153710ustar00rootroot00000000000000# German translation for pdfarranger. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the pdfarranger package. # Translators: # Konstantinos Poulios, 2008-2017 # David Auer, 2020 # Milo Ivir , 2020, 2021 # Dr. Tobias Quathamer , 2021. msgid "" msgstr "" "Project-Id-Version: pdfarranger\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-10-31 13:42+0100\n" "PO-Revision-Date: 2021-11-13 22:30+0100\n" "Last-Translator: Dr. Tobias Quathamer \n" "Language-Team: \n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Lokalize 21.08.0\n" #: pdfarranger/core.py:85 msgid "page" msgstr "Seite" #: pdfarranger/core.py:193 msgid "Password required" msgstr "Passwort wird benötigt" #: pdfarranger/core.py:204 msgid "The password will be remembered until you close PDF Arranger." msgstr "Das Passwort wird gespeichert, bis PDF Arranger geschlossen wird." #: pdfarranger/core.py:205 #, python-format msgid "" "The document “{}” is locked and requires a password before it can be opened." msgstr "" "Das Dokument „{}“ ist gesperrt und ein Passwort wird benötigt, um es zu " "öffnen." #: pdfarranger/core.py:215 msgid "Password" msgstr "Passwort" #: pdfarranger/core.py:266 pdfarranger/pdfarranger.py:1234 msgid "Unknown file format" msgstr "Unbekanntes Dateiformat" #: pdfarranger/core.py:282 msgid "Image files are only supported with img2pdf" msgstr "Bilddateien werden nur mit img2pdf unterstützt" #: pdfarranger/core.py:304 msgid "Image format is not supported by img2pdf" msgstr "Bildformat wird von img2pdf nicht unterstützt" #: pdfarranger/core.py:306 pdfarranger/pdfarranger.py:1244 msgid "File is neither pdf nor image" msgstr "Datei ist weder ein PDF noch ein Bild" #: pdfarranger/croputils.py:114 msgid "Scale factor" msgstr "Vergrößerung" #: pdfarranger/croputils.py:120 msgid "%" msgstr "%" #: pdfarranger/croputils.py:136 msgid "mm" msgstr "mm" #: pdfarranger/croputils.py:146 msgid "Left" msgstr "Links" #: pdfarranger/croputils.py:146 msgid "Right" msgstr "Rechts" #: pdfarranger/croputils.py:146 msgid "Top" msgstr "Oben" #: pdfarranger/croputils.py:146 msgid "Bottom" msgstr "Unten" #: pdfarranger/croputils.py:150 msgid "Crop Margins" msgstr "Seitenränder abschneiden" #: pdfarranger/croputils.py:158 msgid "" "Cropping does not remove any content from the PDF file, it only hides it." msgstr "" "Abschneiden entfernt keinen Inhalt der PDF-Datei, es blendet ihn nur aus." #: pdfarranger/croputils.py:167 msgid "% of width" msgstr "% der Breite" #: pdfarranger/croputils.py:167 msgid "% of height" msgstr "% der Höhe" #: pdfarranger/croputils.py:214 msgid "Page format" msgstr "Seitenformat" #: pdfarranger/croputils.py:229 pdfarranger/croputils.py:233 #: pdfarranger/croputils.py:353 msgid "Width" msgstr "Breite" #: pdfarranger/croputils.py:230 pdfarranger/croputils.py:234 #: pdfarranger/croputils.py:354 msgid "Height" msgstr "Höhe" #: pdfarranger/croputils.py:232 msgid "Relative" msgstr "Relativ" #: pdfarranger/croputils.py:235 msgid "Page Size" msgstr "Seitengröße" #: pdfarranger/croputils.py:343 msgid "Insert Blank Page" msgstr "Leere Seite einfügen" #: pdfarranger/exporter.py:119 msgid "Warning" msgstr "Warnung" #: pdfarranger/exporter.py:124 msgid "Forms and outlines are lost on saving." msgstr "Formulare und Inhaltsverzeichnisse gehen beim Speichern verloren." #: pdfarranger/exporter.py:126 msgid "Do not show this dialog again." msgstr "Diesen Dialog nicht mehr anzeigen." #: pdfarranger/metadata.py:40 msgid "Title" msgstr "Titel" #: pdfarranger/metadata.py:41 msgid "Subject" msgstr "Thema" #: pdfarranger/metadata.py:42 msgid "Keywords" msgstr "Schlagworte" #: pdfarranger/metadata.py:43 msgid "Producer" msgstr "Hersteller" #: pdfarranger/metadata.py:44 msgid "Creator" msgstr "Ersteller" #: pdfarranger/metadata.py:45 msgid "Creator tool" msgstr "Erstellungswerkzeug" #: pdfarranger/metadata.py:46 msgid "Created" msgstr "Erstellt" #: pdfarranger/metadata.py:47 msgid "Modified" msgstr "Geändert" #: pdfarranger/metadata.py:151 msgid "Invalid date format. Input discarded." msgstr "Ungültiges Datumsformat. Eingabe verworfen." #: pdfarranger/metadata.py:180 msgid "Edit properties" msgstr "Eigenschaften ändern" #: pdfarranger/metadata.py:194 msgid "Property" msgstr "Eigenschaft" #: pdfarranger/metadata.py:194 msgid "Value" msgstr "Wert" #: pdfarranger/pdfarranger.py:271 msgid "" "PDF Arranger is a small python-gtk application, which helps the user to " "merge or split pdf documents and rotate, crop and rearrange their pages " "using an interactive and intuitive graphical interface. It is a frontend for " "pikepdf." msgstr "" "PDF Arranger ist eine kleine Python-GTK-Anwendung, die dem Benutzer hilft, " "PDF-Dokumente zusammenzuführen oder aufzuteilen und ihre Seiten mit Hilfe " "einer interaktiven und intuitiven grafischen Oberfläche zu drehen, " "zuzuschneiden und neu anzuordnen. Es ist ein Frontend für Pikepdf." #: pdfarranger/pdfarranger.py:282 msgid "Print the version of PDF Arranger and exit" msgstr "PDF Arranger Version anzeigen und beenden" #: pdfarranger/pdfarranger.py:290 msgid "File(s) to open" msgstr "Zu öffnende Datei(en)" #: pdfarranger/pdfarranger.py:395 msgid "All pages must have the same size." msgstr "Alle Seiten müssen die gleiche Größe haben." #: pdfarranger/pdfarranger.py:421 msgid "All supported files" msgstr "Alle unterstützten Dateien" #: pdfarranger/pdfarranger.py:425 msgid "PDF files" msgstr "PDF-Dateien" #: pdfarranger/pdfarranger.py:432 msgid "All files" msgstr "Alle Dateien" #: pdfarranger/pdfarranger.py:437 msgid "Supported image files" msgstr "Unterstützte Bilddateien" #: pdfarranger/pdfarranger.py:634 msgid "Rendering…" msgstr "Vorschau erstellen …" #: pdfarranger/pdfarranger.py:728 msgid "untitled" msgstr "unbenannt" #: pdfarranger/pdfarranger.py:865 #, python-format msgid "Save changes to “{}” before closing?" msgstr "Änderungen an „{}“ vor dem Schließen speichern?" #: pdfarranger/pdfarranger.py:867 msgid "Save changes before closing?" msgstr "Änderungen vor dem Schließen speichern?" #: pdfarranger/pdfarranger.py:869 msgid "Your changes will be lost if you don’t save them." msgstr "Änderungen gehen verloren, wenn sie nicht gespeichert werden." #: pdfarranger/pdfarranger.py:870 msgid "Do_n’t Save" msgstr "_Nicht speichern" #: pdfarranger/pdfarranger.py:870 msgid "_Cancel" msgstr "_Abbrechen" #: pdfarranger/pdfarranger.py:870 data/menu.ui.h:3 msgid "_Save" msgstr "_Speichern" #: pdfarranger/pdfarranger.py:920 msgid "Export…" msgstr "Exportieren …" #: pdfarranger/pdfarranger.py:1030 msgid "Import…" msgstr "Importieren …" #: pdfarranger/pdfarranger.py:1137 msgid "Pasted data not valid. Aborting paste." msgstr "Eingefügte Daten sind ungültig. Einfügen wird abgebrochen." #: pdfarranger/pdfarranger.py:1238 msgid "PDF document is damaged" msgstr "PDF-Dokument ist beschädigt" #: pdfarranger/pdfarranger.py:2067 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" "%s ist ein Programm zum Umsortieren und Modifizieren von PDF-Dokumenten. " "Geschrieben in GTK+ und Python" #: pdfarranger/pdfarranger.py:2070 #, python-format msgid "(%s uses libqpdf %s and pikepdf %s)" msgstr "(%s benutzt libqpdf %s und pikepdf %s)" #: pdfarranger/pdfarranger.py:2072 msgid "Maintainers and contributors" msgstr "Hauptentwickler und Mitwirkende" #: pdfarranger/pdfarranger.py:2077 msgid "GNU General Public License (GPL) Version 3." msgstr "GNU General Public License (GPL) Version 3." #: pdfarranger/pdfarranger.py:2105 msgid "Selected pages: " msgstr "Ausgewählte Seiten: " #: pdfarranger/pdfarranger.py:2110 msgid "Page Size:" msgstr "Seitengröße:" #: pdfarranger/splitter.py:26 msgid "Split Pages" msgstr "Seiten teilen" #: pdfarranger/splitter.py:58 msgid "Columns" msgstr "Spalten" #: pdfarranger/splitter.py:58 msgid "Rows" msgstr "Zeilen" #: pdfarranger/splitter.py:59 msgid "Vertical Splits" msgstr "Senkrechte Teilungen" #: pdfarranger/splitter.py:59 msgid "Horizontal Splits" msgstr "Waagerechte Teilungen" #: pdfarranger/splitter.py:60 msgid "Equal column width" msgstr "Gleiche Spaltenbreite" #: pdfarranger/splitter.py:60 msgid "Equal row height" msgstr "Gleiche Zeilenhöhe" #: pdfarranger/splitter.py:85 msgid "#Col" msgstr "Spalte" #: pdfarranger/splitter.py:85 msgid "#Row" msgstr "Zeile" #: pdfarranger/splitter.py:86 msgid "Width in %" msgstr "Breite in %" #: pdfarranger/splitter.py:86 msgid "Height in %" msgstr "Höhe in %" #: data/pdfarranger.ui.h:1 msgid "Open a file and append it to the current document" msgstr "Eine Datei öffnen und zum bereits geöffneten Dokument hinzufügen" #: data/pdfarranger.ui.h:2 msgid "Save" msgstr "Speichern" #: data/pdfarranger.ui.h:3 msgid "Save As" msgstr "Speichern unter" #: data/pdfarranger.ui.h:4 msgid "Number of Pages" msgstr "Anzahl Seiten" #: data/pdfarranger.ui.h:5 msgid "Main Menu" msgstr "Hauptmenü" #: data/pdfarranger.ui.h:6 msgid "Zoom In" msgstr "Vergrößern" #: data/pdfarranger.ui.h:7 msgid "Zoom Out" msgstr "Verkleinern" #: data/pdfarranger.ui.h:8 msgid "Rotate Left" msgstr "Nach links drehen" #: data/pdfarranger.ui.h:9 msgid "Rotate Right" msgstr "Nach rechts drehen" #: data/menu.ui.h:1 msgid "_Import" msgstr "_Importieren" #: data/menu.ui.h:2 msgid "_New Window" msgstr "_Neues Fenster" #: data/menu.ui.h:4 msgid "Save _As…" msgstr "Speichern _unter …" #: data/menu.ui.h:5 msgid "E_xport" msgstr "E_xportieren" #: data/menu.ui.h:6 msgid "E_xport Selection to a Single File…" msgstr "Auswahl in eine Datei e_xportieren …" #: data/menu.ui.h:7 msgid "Export Selection to _Individual Files…" msgstr "Auswahl in E_inzeldateien exportieren …" #: data/menu.ui.h:8 msgid "Export _All Pages to Individual Files…" msgstr "_Alle Seiten in Einzeldateien exportieren …" #: data/menu.ui.h:9 msgid "_Undo" msgstr "_Rückgängig" #: data/menu.ui.h:10 msgid "_Redo" msgstr "_Wiederholen" #: data/menu.ui.h:11 msgid "_Edit" msgstr "_Bearbeiten" #: data/menu.ui.h:12 msgid "Rotate _Left" msgstr "Nach _links drehen" #: data/menu.ui.h:13 msgid "_Rotate Right" msgstr "Nach _rechts drehen" #: data/menu.ui.h:14 msgid "_Page Format" msgstr "Seiten_format" #: data/menu.ui.h:15 msgid "Crop White Borders" msgstr "Weiße Ränder abschneiden" #: data/menu.ui.h:16 msgid "_Delete" msgstr "_Entfernen" #: data/menu.ui.h:17 msgid "Dupl_icate" msgstr "_Duplizieren" #: data/menu.ui.h:18 msgid "Re_verse Order" msgstr "Rei_henfolge umkehren" #: data/menu.ui.h:19 msgid "_Split Pages" msgstr "_Seiten teilen" #: data/menu.ui.h:20 msgid "Cu_t" msgstr "_Ausschneiden" #: data/menu.ui.h:21 msgid "_Copy" msgstr "_Kopieren" #: data/menu.ui.h:22 msgid "Paste _After" msgstr "Einfügen _nach" #: data/menu.ui.h:23 msgid "Paste _Before" msgstr "Einfügen _vor" #: data/menu.ui.h:24 msgid "Paste As _Odd Pages" msgstr "Als _ungerade Seiten einfügen" #: data/menu.ui.h:25 msgid "Paste As _Even Pages" msgstr "Als _gerade Seiten einfügen" #: data/menu.ui.h:26 msgid "Insert Blan_k Page" msgstr "_Leere Seite einfügen" #: data/menu.ui.h:27 msgid "Generate Booklet" msgstr "Broschüre erstellen" #: data/menu.ui.h:28 msgid "_Select" msgstr "Aus_wählen" #: data/menu.ui.h:29 msgid "Select _All" msgstr "_Alles auswählen" #: data/menu.ui.h:30 msgid "_Deselect All" msgstr "Auswahl au_fheben" #: data/menu.ui.h:31 msgid "Select _Odd Pages" msgstr "_Ungerade Seiten auswählen" #: data/menu.ui.h:32 msgid "Select _Even Pages" msgstr "_Gerade Seiten auswählen" #: data/menu.ui.h:33 msgid "All From _Same File" msgstr "Alle der _gleichen Datei" #: data/menu.ui.h:34 msgid "Same Page _Format" msgstr "Gleiches Seiten_format" #: data/menu.ui.h:35 msgid "_Invert Selection" msgstr "Auswahl _umkehren" #: data/menu.ui.h:36 msgid "Zoom _In" msgstr "Ver_größern" #: data/menu.ui.h:37 msgid "Zoom _Out" msgstr "Ver_kleinern" #: data/menu.ui.h:38 msgid "Edit _Properties" msgstr "Eige_nschaften ändern" #: data/menu.ui.h:39 msgid "_About" msgstr "Über _PDF Arranger" #: data/menu.ui.h:40 msgid "_Quit" msgstr "Been_den" #: data/menu.ui.h:41 msgid "Past_e Special" msgstr "Spezielles Ein_fügen" pdfarranger-1.8.2/po/el.po000066400000000000000000000220051416164621100153740ustar00rootroot00000000000000# PDF-Shuffler translation files. # Copyright (C) 2008-2017 Konstantinos Poulios # This file is part of PDF-Shuffler which is released under the GNU General # Public License version 3 or later. # See file COPYING or go to for full license details. # Translators: # Konstantinos Poulios, 2008-2017 msgid "" msgstr "" "Project-Id-Version: PDF-Shuffler 0.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-01-01 22:06+0100\n" "PO-Revision-Date: 2017-02-26 16:16+0000\n" "Last-Translator: Konstantinos Poulios \n" "Language-Team: Greek (http://www.transifex.com/logari81/pdfshuffler/language/" "el/)\n" "Language: el\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: pdfarranger/core.py:80 msgid "page" msgstr "σελίδα" #: pdfarranger/core.py:175 msgid "Password required" msgstr "" #: pdfarranger/core.py:186 msgid "The password will be remembered until you close PDF Arranger." msgstr "" #: pdfarranger/core.py:187 msgid "" "The document “{}” is locked and requires a password before it can be opened." msgstr "" #: pdfarranger/core.py:197 msgid "Password" msgstr "" #: pdfarranger/core.py:241 pdfarranger/pdfarranger.py:990 msgid "Unknown file format" msgstr "" #: pdfarranger/core.py:256 msgid "Image files are only supported with img2pdf" msgstr "" #: pdfarranger/core.py:278 msgid "Image format is not supported by img2pdf" msgstr "" #: pdfarranger/core.py:280 pdfarranger/pdfarranger.py:1000 msgid "File is neither pdf nor image" msgstr "" #: pdfarranger/croputils.py:124 msgid "Scale factor" msgstr "" #: pdfarranger/croputils.py:130 msgid "%" msgstr "" #: pdfarranger/croputils.py:146 msgid "mm" msgstr "" #: pdfarranger/croputils.py:156 msgid "Left" msgstr "Αριστερά" #: pdfarranger/croputils.py:156 msgid "Right" msgstr "Δεξιά" #: pdfarranger/croputils.py:156 msgid "Top" msgstr "Πάνω" #: pdfarranger/croputils.py:156 msgid "Bottom" msgstr "Κάτω" #: pdfarranger/croputils.py:160 msgid "Crop Margins" msgstr "Αποκοπή περιθωρίων" #: pdfarranger/croputils.py:168 msgid "" "Cropping does not remove any content from the PDF file, it only hides it." msgstr "" #: pdfarranger/croputils.py:177 msgid "% of width" msgstr "" #: pdfarranger/croputils.py:177 msgid "% of height" msgstr "" #: pdfarranger/croputils.py:221 msgid "Page format" msgstr "" #: pdfarranger/croputils.py:236 pdfarranger/croputils.py:240 #: pdfarranger/croputils.py:349 msgid "Width" msgstr "" #: pdfarranger/croputils.py:237 pdfarranger/croputils.py:241 #: pdfarranger/croputils.py:350 msgid "Height" msgstr "" #: pdfarranger/croputils.py:239 msgid "Relative" msgstr "" #: pdfarranger/croputils.py:242 msgid "Page Size" msgstr "" #: pdfarranger/croputils.py:339 msgid "Insert Blank Page" msgstr "" #: pdfarranger/exporter.py:106 msgid "Warning" msgstr "" #: pdfarranger/exporter.py:111 msgid "Forms and outlines are lost on saving." msgstr "" #: pdfarranger/exporter.py:113 msgid "Do not show this dialog again." msgstr "" #: pdfarranger/metadata.py:40 msgid "Title" msgstr "" #: pdfarranger/metadata.py:41 msgid "Subject" msgstr "" #: pdfarranger/metadata.py:42 msgid "Keywords" msgstr "" #: pdfarranger/metadata.py:43 msgid "Producer" msgstr "" #: pdfarranger/metadata.py:44 msgid "Creator" msgstr "" #: pdfarranger/metadata.py:45 msgid "Creator tool" msgstr "" #: pdfarranger/metadata.py:46 msgid "Created" msgstr "" #: pdfarranger/metadata.py:47 msgid "Modified" msgstr "" #: pdfarranger/metadata.py:150 msgid "Invalid date format. Input discarded." msgstr "" #: pdfarranger/metadata.py:179 msgid "Edit properties" msgstr "" #: pdfarranger/metadata.py:192 msgid "Property" msgstr "" #: pdfarranger/metadata.py:192 msgid "Value" msgstr "" #: pdfarranger/pdfarranger.py:341 msgid "All supported files" msgstr "" #: pdfarranger/pdfarranger.py:345 msgid "PDF files" msgstr "Αρχεία PDF" #: pdfarranger/pdfarranger.py:352 msgid "All files" msgstr "Όλα τα αρχεία" #: pdfarranger/pdfarranger.py:357 msgid "Supported image files" msgstr "" #: pdfarranger/pdfarranger.py:532 msgid "untitled" msgstr "" #: pdfarranger/pdfarranger.py:626 msgid "Save changes to “{}” before closing?" msgstr "" #: pdfarranger/pdfarranger.py:628 msgid "Save changes before closing?" msgstr "" #: pdfarranger/pdfarranger.py:630 msgid "Your changes will be lost if you don’t save them." msgstr "" #: pdfarranger/pdfarranger.py:631 msgid "Do_n’t Save" msgstr "" #: pdfarranger/pdfarranger.py:631 msgid "_Cancel" msgstr "" #: pdfarranger/pdfarranger.py:631 data/menu.ui.h:3 msgid "_Save" msgstr "" #: pdfarranger/pdfarranger.py:672 msgid "Export…" msgstr "Εξαγωγή…" #: pdfarranger/pdfarranger.py:785 msgid "Import…" msgstr "Εισαγωγή…" #: pdfarranger/pdfarranger.py:886 msgid "Pasted data not valid. Aborting paste." msgstr "" #: pdfarranger/pdfarranger.py:994 msgid "PDF document is damaged" msgstr "" #: pdfarranger/pdfarranger.py:1788 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" "Το %s είναι ένα εργαλείο για αναδιάταξη και τροποποίηση αρχείων PDF. Είναι " "γραμμένο σε GTK+ και Python" #: pdfarranger/pdfarranger.py:1791 msgid "Maintainers and contributors" msgstr "" #: pdfarranger/pdfarranger.py:1795 msgid "GNU General Public License (GPL) Version 3." msgstr "" #: pdfarranger/pdfarranger.py:1823 msgid "Selected pages: " msgstr "" #: pdfarranger/splitter.py:26 msgid "Split Pages" msgstr "" #: pdfarranger/splitter.py:58 msgid "Columns" msgstr "" #: pdfarranger/splitter.py:58 msgid "Rows" msgstr "" #: pdfarranger/splitter.py:59 msgid "Vertical Splits" msgstr "" #: pdfarranger/splitter.py:59 msgid "Horizontal Splits" msgstr "" #: pdfarranger/splitter.py:60 msgid "Equal column width" msgstr "" #: pdfarranger/splitter.py:60 msgid "Equal row height" msgstr "" #: pdfarranger/splitter.py:85 msgid "#Col" msgstr "" #: pdfarranger/splitter.py:85 msgid "#Row" msgstr "" #: pdfarranger/splitter.py:86 msgid "Width in %" msgstr "" #: pdfarranger/splitter.py:86 msgid "Height in %" msgstr "" #: data/pdfarranger.ui.h:1 msgid "Open a file and append it to the current document" msgstr "Άνοιγμα ενός αρχείου και προσάρτηση στο τρέχον έγγραφο" #: data/pdfarranger.ui.h:2 msgid "Save" msgstr "Αποθήκευση" #: data/pdfarranger.ui.h:3 msgid "Save As" msgstr "" #: data/pdfarranger.ui.h:4 msgid "Number of Pages" msgstr "" #: data/pdfarranger.ui.h:5 msgid "Main Menu" msgstr "" #: data/pdfarranger.ui.h:6 msgid "Zoom In" msgstr "" #: data/pdfarranger.ui.h:7 msgid "Zoom Out" msgstr "" #: data/pdfarranger.ui.h:8 msgid "Rotate Left" msgstr "" #: data/pdfarranger.ui.h:9 msgid "Rotate Right" msgstr "" #: data/menu.ui.h:1 msgid "_Import" msgstr "" #: data/menu.ui.h:2 msgid "_New Window" msgstr "" #: data/menu.ui.h:4 msgid "Save _As…" msgstr "" #: data/menu.ui.h:5 msgid "E_xport" msgstr "" #: data/menu.ui.h:6 msgid "E_xport Selection to a Single File…" msgstr "" #: data/menu.ui.h:7 msgid "Export Selection to _Individual Files…" msgstr "" #: data/menu.ui.h:8 msgid "Export _All Pages to Individual Files…" msgstr "" #: data/menu.ui.h:9 msgid "_Undo" msgstr "" #: data/menu.ui.h:10 msgid "_Redo" msgstr "" #: data/menu.ui.h:11 msgid "_Edit" msgstr "_Επεξεργασία" #: data/menu.ui.h:12 msgid "Rotate _Left" msgstr "Περιστροφή _Αριστερά" #: data/menu.ui.h:13 msgid "_Rotate Right" msgstr "Περιστροφή _Δεξιά" #: data/menu.ui.h:14 msgid "_Page Format" msgstr "" #: data/menu.ui.h:15 msgid "Crop White Borders" msgstr "" #: data/menu.ui.h:16 msgid "_Delete" msgstr "Διαγραφή" #: data/menu.ui.h:17 msgid "Dupl_icate" msgstr "" #: data/menu.ui.h:18 msgid "Re_verse Order" msgstr "" #: data/menu.ui.h:19 msgid "_Split Pages" msgstr "" #: data/menu.ui.h:20 msgid "Cu_t" msgstr "" #: data/menu.ui.h:21 msgid "_Copy" msgstr "" #: data/menu.ui.h:22 msgid "Paste _After" msgstr "" #: data/menu.ui.h:23 msgid "Paste _Before" msgstr "" #: data/menu.ui.h:24 msgid "Paste Interleave _Odd" msgstr "" #: data/menu.ui.h:25 msgid "Paste Interleave _Even" msgstr "" #: data/menu.ui.h:26 msgid "Insert Blan_k Page" msgstr "" #: data/menu.ui.h:27 msgid "_Select" msgstr "" #: data/menu.ui.h:28 msgid "Select _All" msgstr "" #: data/menu.ui.h:29 msgid "_Deselect All" msgstr "" #: data/menu.ui.h:30 msgid "Select _Odd Pages" msgstr "" #: data/menu.ui.h:31 msgid "Select _Even Pages" msgstr "" #: data/menu.ui.h:32 msgid "All From _Same File" msgstr "" #: data/menu.ui.h:33 msgid "Same Page _Format" msgstr "" #: data/menu.ui.h:34 msgid "_Invert Selection" msgstr "" #: data/menu.ui.h:35 msgid "Zoom _In" msgstr "" #: data/menu.ui.h:36 msgid "Zoom _Out" msgstr "" #: data/menu.ui.h:37 msgid "Edit _Properties" msgstr "" #: data/menu.ui.h:38 msgid "_About" msgstr "" #: data/menu.ui.h:39 msgid "_Quit" msgstr "" #: data/menu.ui.h:40 msgid "Past_e Special" msgstr "" pdfarranger-1.8.2/po/es.po000066400000000000000000000260571416164621100154160ustar00rootroot00000000000000# Spanish translation for pdfarranger. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the pdfarranger package. # This file is an extended version of the PDF-Shuffler translation file # released under the GNU General Public License version 3 or later. # See file COPYING or go to for full license details. # Original translators: # Konstantinos Poulios, 2008-2017 # Rafael Jesús García Perdigón, 2012 # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-01-02 15:12+0100\n" "PO-Revision-Date: 2021-01-02 15:25+0200\n" "Last-Translator: angsch\n" "Language-Team: Spanish\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: pdfarranger/core.py:80 msgid "page" msgstr "página" #: pdfarranger/core.py:175 msgid "Password required" msgstr "Se requiere contraseña" #: pdfarranger/core.py:186 msgid "The password will be remembered until you close PDF Arranger." msgstr "La contraseña se guarda hasta que cierra PDF Arranger." #: pdfarranger/core.py:187 msgid "" "The document “{}” is locked and requires a password before it can be opened." msgstr "El documento “{}” requiere una contraseña para abrirlo." #: pdfarranger/core.py:197 msgid "Password" msgstr "Contraseña" #: pdfarranger/core.py:241 pdfarranger/pdfarranger.py:990 msgid "Unknown file format" msgstr "El formato del archivo es desconocido" #: pdfarranger/core.py:256 msgid "Image files are only supported with img2pdf" msgstr "Los archivos de imagen sólo están disponibles con img2pdf" #: pdfarranger/core.py:278 msgid "Image format is not supported by img2pdf" msgstr "El formato de imagen no es compatible con img2pdf" #: pdfarranger/core.py:280 pdfarranger/pdfarranger.py:1000 msgid "File is neither pdf nor image" msgstr "El archivo es ni pdf ni imagen" #: pdfarranger/croputils.py:113 msgid "Scale factor" msgstr "Factor de scala" #: pdfarranger/croputils.py:119 msgid "%" msgstr "%" #: pdfarranger/croputils.py:135 msgid "mm" msgstr "mm" #: pdfarranger/croputils.py:145 msgid "Left" msgstr "Izquierdo" #: pdfarranger/croputils.py:145 msgid "Right" msgstr "Derecho" #: pdfarranger/croputils.py:145 msgid "Top" msgstr "Superior" #: pdfarranger/croputils.py:145 msgid "Bottom" msgstr "Inferior" #: pdfarranger/croputils.py:149 msgid "Crop Margins" msgstr "Recortar los márgenes" #: pdfarranger/croputils.py:157 msgid "" "Cropping does not remove any content from the PDF file, it only hides it." msgstr "Recortar no elimina ningún contenido del archivo PDF, solo lo oculta." #: pdfarranger/croputils.py:166 #, python-format msgid "% of width" msgstr "% de la anchura" #: pdfarranger/croputils.py:166 #, python-format msgid "% of height" msgstr "% de la altura" #: pdfarranger/croputils.py:210 msgid "Page format" msgstr "Formato de página" #: pdfarranger/croputils.py:225 pdfarranger/croputils.py:229 #: pdfarranger/croputils.py:338 msgid "Width" msgstr "Anchura" #: pdfarranger/croputils.py:226 pdfarranger/croputils.py:230 #: pdfarranger/croputils.py:339 msgid "Height" msgstr "Altura" #: pdfarranger/croputils.py:228 msgid "Relative" msgstr "Relativo" #: pdfarranger/croputils.py:231 msgid "Page Size" msgstr "Formato de papel" #: pdfarranger/croputils.py:328 msgid "Insert Blank Page" msgstr "Insertar una página en blanco" #: pdfarranger/exporter.py:106 msgid "Warning" msgstr "Aviso" #: pdfarranger/exporter.py:111 msgid "Forms and outlines are lost on saving." msgstr "Los formularios interactivos y los marcadores se pierden." #: pdfarranger/exporter.py:113 msgid "Do not show this dialog again." msgstr "No mostrar este diálogo de nuevo." #: pdfarranger/metadata.py:40 msgid "Title" msgstr "Título" #: pdfarranger/metadata.py:41 msgid "Subject" msgstr "Tema" #: pdfarranger/metadata.py:42 msgid "Keywords" msgstr "Palabras claves" #: pdfarranger/metadata.py:43 msgid "Producer" msgstr "Productor" #: pdfarranger/metadata.py:44 msgid "Creator" msgstr "Creador" #: pdfarranger/metadata.py:45 msgid "Creator tool" msgstr "Herramienta de creador" #: pdfarranger/metadata.py:46 msgid "Created" msgstr "Creado" #: pdfarranger/metadata.py:47 msgid "Modified" msgstr "Modificado" #: pdfarranger/metadata.py:150 msgid "Invalid date format. Input discarded." msgstr "Formato de fecha no válido. Descartar cambios." #: pdfarranger/metadata.py:179 msgid "Edit properties" msgstr "Editar las propiedades" #: pdfarranger/metadata.py:192 msgid "Property" msgstr "Propiedad" #: pdfarranger/metadata.py:192 msgid "Value" msgstr "Valor" #: pdfarranger/pdfarranger.py:342 msgid "All supported files" msgstr "Formatos de imagen compatibles" #: pdfarranger/pdfarranger.py:346 msgid "PDF files" msgstr "Archivos PDF" #: pdfarranger/pdfarranger.py:353 msgid "All files" msgstr "Todos los archivos" #: pdfarranger/pdfarranger.py:358 msgid "Supported image files" msgstr "Formatos de imagen compatibles" #: pdfarranger/pdfarranger.py:532 msgid "untitled" msgstr "Sin título" #: pdfarranger/pdfarranger.py:626 msgid "Save changes to “{}” before closing?" msgstr "¿Desea guardar los cambios efectuados en “{}” antes de cerrarlo?" #: pdfarranger/pdfarranger.py:628 msgid "Save changes before closing?" msgstr "¿Desea guardar los cambios efectuados antes de cerrar pdfarranger?" #: pdfarranger/pdfarranger.py:630 msgid "Your changes will be lost if you don’t save them." msgstr "Se perderán sus cambios si no los guarda." #: pdfarranger/pdfarranger.py:631 msgid "Do_n’t Save" msgstr "_No guardar" #: pdfarranger/pdfarranger.py:631 msgid "_Cancel" msgstr "_Cancelar" #: pdfarranger/pdfarranger.py:631 data/menu.ui.h:3 msgid "_Save" msgstr "_Guardar" #: pdfarranger/pdfarranger.py:672 msgid "Export…" msgstr "Exportar…" #: pdfarranger/pdfarranger.py:785 msgid "Import…" msgstr "Importar…" #: pdfarranger/pdfarranger.py:886 msgid "Pasted data not valid. Aborting paste." msgstr "Los datos pegados no son válidos. Cancelar el pegado." #: pdfarranger/pdfarranger.py:994 msgid "PDF document is damaged" msgstr "El archivo PDF está dañado" #: pdfarranger/pdfarranger.py:1788 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" "%s es una herramienta para reordenar y modificar ficheros PDF. Desarrollado " "usando GTK+ y Python" #: pdfarranger/pdfarranger.py:1791 msgid "Maintainers and contributors" msgstr "Mantenedores y contribuyentes" #: pdfarranger/pdfarranger.py:1795 msgid "GNU General Public License (GPL) Version 3." msgstr "GNU General Public License (GPL) Version 3." #: pdfarranger/pdfarranger.py:1823 msgid "Selected pages: " msgstr "Páginas seleccionadas: " #: pdfarranger/splitter.py:26 msgid "Split Pages" msgstr "Dividir las páginas" #: pdfarranger/splitter.py:58 msgid "Columns" msgstr "Columnas" #: pdfarranger/splitter.py:58 msgid "Rows" msgstr "Filas" #: pdfarranger/splitter.py:59 msgid "Vertical Splits" msgstr "Número de columnas" #: pdfarranger/splitter.py:59 msgid "Horizontal Splits" msgstr "Número de filas" #: pdfarranger/splitter.py:60 msgid "Equal column width" msgstr "Columnas con proporciones iguales" #: pdfarranger/splitter.py:60 msgid "Equal row height" msgstr "Filas con proporciones iguales" #: pdfarranger/splitter.py:85 msgid "#Col" msgstr "Columna" #: pdfarranger/splitter.py:85 msgid "#Row" msgstr "Fila" #: pdfarranger/splitter.py:86 msgid "Width in %" msgstr "Anchura en %" #: pdfarranger/splitter.py:86 msgid "Height in %" msgstr "Altura en %" #: data/pdfarranger.ui.h:1 msgid "Open a file and append it to the current document" msgstr "Abrir un archivo y añadirlo al documento actual" #: data/pdfarranger.ui.h:2 msgid "Save" msgstr "Guardar" #: data/pdfarranger.ui.h:3 msgid "Save As" msgstr "Guardar como" #: data/pdfarranger.ui.h:4 msgid "Number of Pages" msgstr "Número de páginas" #: data/pdfarranger.ui.h:5 msgid "Main Menu" msgstr "Menú Principal" #: data/pdfarranger.ui.h:6 msgid "Zoom In" msgstr "Acercar" #: data/pdfarranger.ui.h:7 msgid "Zoom Out" msgstr "Alejar" #: data/pdfarranger.ui.h:8 msgid "Rotate Left" msgstr "Rotar a la izquierda" #: data/pdfarranger.ui.h:9 msgid "Rotate Right" msgstr "Rotar a la derecha" #: data/menu.ui.h:1 msgid "_Import" msgstr "_Importar" #: data/menu.ui.h:2 msgid "_New Window" msgstr "_Nueva ventana" #: data/menu.ui.h:4 msgid "Save _As…" msgstr "G_uardar como" #: data/menu.ui.h:5 msgid "E_xport" msgstr "E_xportar…" #: data/menu.ui.h:6 msgid "E_xport Selection to a Single File…" msgstr "E_xportar las páginas seleccionadas a un solo archivo …" #: data/menu.ui.h:7 msgid "Export Selection to _Individual Files…" msgstr "Exportar las páginas seleccionadas a archivos _individuales…" #: data/menu.ui.h:8 msgid "Export _All Pages to Individual Files…" msgstr "Exportar _todas las páginas a archivos individuales…" #: data/menu.ui.h:9 msgid "_Undo" msgstr "Des_hacer" #: data/menu.ui.h:10 msgid "_Redo" msgstr "_Rehacer" #: data/menu.ui.h:11 msgid "_Edit" msgstr "_Editar" #: data/menu.ui.h:12 msgid "Rotate _Left" msgstr "Rotar a la _izquierda" #: data/menu.ui.h:13 msgid "_Rotate Right" msgstr "Rotar a la _derecha" #: data/menu.ui.h:14 msgid "_Page Format" msgstr "Formato de página" #: data/menu.ui.h:15 msgid "Crop White Borders" msgstr "Quitar el borde blanco" #: data/menu.ui.h:16 msgid "_Delete" msgstr "E_liminar" #: data/menu.ui.h:17 msgid "Dupl_icate" msgstr "Dupl_icar" #: data/menu.ui.h:18 msgid "Re_verse Order" msgstr "In_vertir el orden" #: data/menu.ui.h:19 msgid "_Split Pages" msgstr "_Dividir las páginas" #: data/menu.ui.h:20 msgid "Cu_t" msgstr "_Cortar" #: data/menu.ui.h:21 msgid "_Copy" msgstr "Copi_ar" #: data/menu.ui.h:22 msgid "Paste _After" msgstr "Pegar detrás" #: data/menu.ui.h:23 msgid "Paste _Before" msgstr "Pegar delante" #: data/menu.ui.h:24 msgid "Paste Interleave _Odd" msgstr "Pegar como páginas _impares" #: data/menu.ui.h:25 msgid "Paste Interleave _Even" msgstr "Pegar como páginas _pares" #: data/menu.ui.h:26 msgid "Insert Blan_k Page" msgstr "Insertar una página en _blanco" #: data/menu.ui.h:27 msgid "_Select" msgstr "_Seleccionar" #: data/menu.ui.h:28 msgid "Select _All" msgstr "Selectionar _todo" #: data/menu.ui.h:29 msgid "_Deselect All" msgstr "_Deseleccionar todo" #: data/menu.ui.h:30 msgid "Select _Odd Pages" msgstr "Seleccionar las páginas _impares" #: data/menu.ui.h:31 msgid "Select _Even Pages" msgstr "Seleccionar las páginas _pares" #: data/menu.ui.h:32 msgid "All From _Same File" msgstr "Todas las páginas del _mismo archivo" #: data/menu.ui.h:33 msgid "Same Page _Format" msgstr "El mismo _formato de página" #: data/menu.ui.h:34 msgid "_Invert Selection" msgstr "_Invertir las páginas seleccionadas…" #: data/menu.ui.h:35 msgid "Zoom _In" msgstr "Acercar" #: data/menu.ui.h:36 msgid "Zoom _Out" msgstr "Alejar" #: data/menu.ui.h:37 msgid "Edit _Properties" msgstr "Editar las _propiedades" #: data/menu.ui.h:38 msgid "_About" msgstr "A_cerca" #: data/menu.ui.h:39 msgid "_Quit" msgstr "_Salir" #: data/menu.ui.h:40 msgid "Past_e Special" msgstr "Pegado _especial" pdfarranger-1.8.2/po/fi.po000066400000000000000000000267301416164621100154030ustar00rootroot00000000000000# Finnish translation for pdfarranger. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the pdfarranger package. # Translators: # kbengs, 2020 msgid "" msgstr "" "Project-Id-Version: pdfarranger\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-09 11:36+0200\n" "PO-Revision-Date: 2021-11-02 18:29+0200\n" "Last-Translator: \n" "Language-Team: Finnish\n" "Language: fi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 2.3\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: pdfarranger/core.py:85 msgid "page" msgstr "sivu" #: pdfarranger/core.py:193 msgid "Password required" msgstr "Salasana tarvitaan" #: pdfarranger/core.py:204 msgid "The password will be remembered until you close PDF Arranger." msgstr "Salasana pysyy muistissa kunnes ohjelma suljetaan." #: pdfarranger/core.py:205 msgid "" "The document “{}” is locked and requires a password before it can be opened." msgstr "" "Tiedosto “{}” on lukittu ja vaatii salasanan ennen kuin se voidaan avata." #: pdfarranger/core.py:215 msgid "Password" msgstr "Salasana" #: pdfarranger/core.py:266 pdfarranger/pdfarranger.py:1234 msgid "Unknown file format" msgstr "Tuntematon tiedostomuoto" #: pdfarranger/core.py:282 msgid "Image files are only supported with img2pdf" msgstr "Kuvatiedostoja tuetaan voin jos img2pdf on asennettu" #: pdfarranger/core.py:304 msgid "Image format is not supported by img2pdf" msgstr "Img2pdf ei tue kuvamuotoa" #: pdfarranger/core.py:306 pdfarranger/pdfarranger.py:1244 msgid "File is neither pdf nor image" msgstr "Tiedosto ei ole pdf eikä kuva" #: pdfarranger/croputils.py:114 msgid "Scale factor" msgstr "Skaalauskerroin" #: pdfarranger/croputils.py:120 msgid "%" msgstr "%" #: pdfarranger/croputils.py:136 msgid "mm" msgstr "mm" #: pdfarranger/croputils.py:146 msgid "Left" msgstr "Vasen" #: pdfarranger/croputils.py:146 msgid "Right" msgstr "Oikea" #: pdfarranger/croputils.py:146 msgid "Top" msgstr "Yllä" #: pdfarranger/croputils.py:146 msgid "Bottom" msgstr "Alla" #: pdfarranger/croputils.py:150 msgid "Crop Margins" msgstr "Rajaa marginaalit" #: pdfarranger/croputils.py:158 msgid "" "Cropping does not remove any content from the PDF file, it only hides it." msgstr "" "Rajaus ei poista sisältöä PDF-tiedostosta, vaan vain piilottaa sen." #: pdfarranger/croputils.py:167 msgid "% of width" msgstr "% leveydestä" #: pdfarranger/croputils.py:167 msgid "% of height" msgstr "% korkeudesta" #: pdfarranger/croputils.py:214 msgid "Page format" msgstr "Sivun muoto" #: pdfarranger/croputils.py:229 pdfarranger/croputils.py:233 #: pdfarranger/croputils.py:353 msgid "Width" msgstr "Leveys" #: pdfarranger/croputils.py:230 pdfarranger/croputils.py:234 #: pdfarranger/croputils.py:354 msgid "Height" msgstr "Korkeus" #: pdfarranger/croputils.py:232 msgid "Relative" msgstr "Suhteellinen" #: pdfarranger/croputils.py:235 msgid "Page Size" msgstr "Sivun koko" #: pdfarranger/croputils.py:343 msgid "Insert Blank Page" msgstr "Lisää tyhjä sivu" #: pdfarranger/exporter.py:119 msgid "Warning" msgstr "Varoitus" #: pdfarranger/exporter.py:124 msgid "Forms and outlines are lost on saving." msgstr "Lomakkeet ja kirjanmerkit menetetään tallennettaessa." #: pdfarranger/exporter.py:126 msgid "Do not show this dialog again." msgstr "Älä näytä tätä viestiä enää." #: pdfarranger/metadata.py:40 msgid "Title" msgstr "Otsikko" #: pdfarranger/metadata.py:41 msgid "Subject" msgstr "Aihe" #: pdfarranger/metadata.py:42 msgid "Keywords" msgstr "Avainsanat" #: pdfarranger/metadata.py:43 msgid "Producer" msgstr "PDF-tuottaja" #: pdfarranger/metadata.py:44 msgid "Creator" msgstr "Tekijä" #: pdfarranger/metadata.py:45 msgid "Creator tool" msgstr "Sovellus" #: pdfarranger/metadata.py:46 msgid "Created" msgstr "Luotu" #: pdfarranger/metadata.py:47 msgid "Modified" msgstr "Muokattu" #: pdfarranger/metadata.py:151 msgid "Invalid date format. Input discarded." msgstr "Päivämäärämuoto on virheellinen." #: pdfarranger/metadata.py:180 msgid "Edit properties" msgstr "Muokkaa ominaisuuksia" #: pdfarranger/metadata.py:194 msgid "Property" msgstr "Ominaisuus" #: pdfarranger/metadata.py:194 msgid "Value" msgstr "Arvo" #: pdfarranger/pdfarranger.py:271 msgid "" "PDF Arranger is a small python-gtk application, which helps the user to " "merge or split pdf documents and rotate, crop and rearrange their pages " "using an interactive and intuitive graphical interface. It is a frontend for " "pikepdf." msgstr "" "PDF Arranger on pieni python-gtk ohjelma mikä auttaa käyttäjää yhdistämään " "ja järjestämään PDF-tiedostoja. Ohjelma käyttää pikepdf taustalla." #: pdfarranger/pdfarranger.py:282 msgid "Print the version of PDF Arranger and exit" msgstr "Tulosta PDF Arranger versio ja sulje" #: pdfarranger/pdfarranger.py:290 msgid "File(s) to open" msgstr "Tiedostoja avattavaksi" #: pdfarranger/pdfarranger.py:395 msgid "All pages must have the same size." msgstr "Kaikki sivut on oltava saman kokoiset." #: pdfarranger/pdfarranger.py:421 msgid "All supported files" msgstr "Kaikki tuetut tiedostot" #: pdfarranger/pdfarranger.py:425 msgid "PDF files" msgstr "PDF tiedostot" #: pdfarranger/pdfarranger.py:432 msgid "All files" msgstr "Kaikki tiedostot" #: pdfarranger/pdfarranger.py:437 msgid "Supported image files" msgstr "Tuetut kuvatiedostot" #: pdfarranger/pdfarranger.py:634 msgid "Rendering…" msgstr "Renderöi…" #: pdfarranger/pdfarranger.py:728 msgid "untitled" msgstr "Nimetön" #: pdfarranger/pdfarranger.py:865 msgid "Save changes to “{}” before closing?" msgstr "Tallenna muutokset “{}” ennen sulkemista?" #: pdfarranger/pdfarranger.py:867 msgid "Save changes before closing?" msgstr "Tallenna muutokset ennen sulkemista?" #: pdfarranger/pdfarranger.py:869 msgid "Your changes will be lost if you don’t save them." msgstr "Muutokset menetetään jos et tallenna niitä." #: pdfarranger/pdfarranger.py:870 msgid "Do_n’t Save" msgstr "_Älä tallenna" #: pdfarranger/pdfarranger.py:870 msgid "_Cancel" msgstr "_Peru" #: pdfarranger/pdfarranger.py:870 data/menu.ui.h:3 msgid "_Save" msgstr "T_allenna" #: pdfarranger/pdfarranger.py:920 msgid "Export…" msgstr "Vie…" #: pdfarranger/pdfarranger.py:1030 msgid "Import…" msgstr "Tuo…" #: pdfarranger/pdfarranger.py:1137 msgid "Pasted data not valid. Aborting paste." msgstr "Liitetty data ei hyväksytty." #: pdfarranger/pdfarranger.py:1238 msgid "PDF document is damaged" msgstr "PDF tiedosto on vioittunut" #: pdfarranger/pdfarranger.py:2067 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" "% s on työkalu PDF-tiedostojen järjestämiseen ja muokkaamiseen. Kehitetty " "GTK +: lla ja Pythonilla" #: pdfarranger/pdfarranger.py:2070 msgid "(%s uses libqpdf %s and pikepdf %s)" msgstr "(%s käyttää libqpdf %s ja pikepdf %s)" #: pdfarranger/pdfarranger.py:2072 msgid "Maintainers and contributors" msgstr "Ylläpitäjät ja avustajat" #: pdfarranger/pdfarranger.py:2077 msgid "GNU General Public License (GPL) Version 3." msgstr "GNU General Public License (GPL) Version 3." #: pdfarranger/pdfarranger.py:2105 msgid "Selected pages: " msgstr "Valitut sivut: " #: pdfarranger/pdfarranger.py:2110 msgid "Page Size:" msgstr "Sivun koko:" #: pdfarranger/splitter.py:26 msgid "Split Pages" msgstr "Jaa sivu" #: pdfarranger/splitter.py:58 msgid "Columns" msgstr "Sarakkeita" #: pdfarranger/splitter.py:58 msgid "Rows" msgstr "Rivejä" #: pdfarranger/splitter.py:59 msgid "Vertical Splits" msgstr "Pystysuora jako" #: pdfarranger/splitter.py:59 msgid "Horizontal Splits" msgstr "Vaakasuora jako" #: pdfarranger/splitter.py:60 msgid "Equal column width" msgstr "Sama sarakeleveys" #: pdfarranger/splitter.py:60 msgid "Equal row height" msgstr "Sama rivikorkeus" #: pdfarranger/splitter.py:85 msgid "#Col" msgstr "#Sarake" #: pdfarranger/splitter.py:85 msgid "#Row" msgstr "#Rivi" #: pdfarranger/splitter.py:86 msgid "Width in %" msgstr "Leveys %" #: pdfarranger/splitter.py:86 msgid "Height in %" msgstr "Korkeus %" #: data/pdfarranger.ui.h:1 msgid "Open a file and append it to the current document" msgstr "Tuo tiedosto" #: data/pdfarranger.ui.h:2 msgid "Save" msgstr "Tallenna" #: data/pdfarranger.ui.h:3 msgid "Save As" msgstr "Tallenna nimellä" #: data/pdfarranger.ui.h:4 msgid "Number of Pages" msgstr "Sivujen määrä" #: data/pdfarranger.ui.h:5 msgid "Main Menu" msgstr "Päävalikko" #: data/pdfarranger.ui.h:6 msgid "Zoom In" msgstr "Lähennä" #: data/pdfarranger.ui.h:7 msgid "Zoom Out" msgstr "Loitonna" #: data/pdfarranger.ui.h:8 msgid "Rotate Left" msgstr "Käännä vasemmalle" #: data/pdfarranger.ui.h:9 msgid "Rotate Right" msgstr "Käännä oikealle" #: data/menu.ui.h:1 msgid "_Import" msgstr "_Tuo" #: data/menu.ui.h:2 msgid "_New Window" msgstr "_Uusi ikkuna" #: data/menu.ui.h:4 msgid "Save _As…" msgstr "Tallenna _nimellä…" #: data/menu.ui.h:5 msgid "E_xport" msgstr "Vi_e" #: data/menu.ui.h:6 msgid "E_xport Selection to a Single File…" msgstr "Vi_e valitut sivut yhteen tiedostoon…" #: data/menu.ui.h:7 msgid "Export Selection to _Individual Files…" msgstr "Vie valitut sivut _omiin tiedostoihin…" #: data/menu.ui.h:8 msgid "Export _All Pages to Individual Files…" msgstr "Vie kaikki sivut omiin _tiedostoihin…" #: data/menu.ui.h:9 msgid "_Undo" msgstr "_Kumoa" #: data/menu.ui.h:10 msgid "_Redo" msgstr "Tee uu_delleen" #: data/menu.ui.h:11 msgid "_Edit" msgstr "_Muokkaa" #: data/menu.ui.h:12 msgid "Rotate _Left" msgstr "Käännä v_asemmalle" #: data/menu.ui.h:13 msgid "_Rotate Right" msgstr "Käännä _oikealle" #: data/menu.ui.h:14 msgid "_Page Format" msgstr "Sivun m_uoto" #: data/menu.ui.h:15 msgid "Crop White Borders" msgstr "Rajaa valkoiset reunat" #: data/menu.ui.h:16 msgid "_Delete" msgstr "Poi_sta" #: data/menu.ui.h:17 msgid "Dupl_icate" msgstr "Monis_ta" #: data/menu.ui.h:18 msgid "Re_verse Order" msgstr "_Käännä järjestys" #: data/menu.ui.h:19 msgid "_Split Pages" msgstr "_Jaa sivu" #: data/menu.ui.h:20 msgid "Cu_t" msgstr "_Leikkaa" #: data/menu.ui.h:21 msgid "_Copy" msgstr "Ko_pioi" #: data/menu.ui.h:22 msgid "Paste _After" msgstr "Liitä j_älkeen" #: data/menu.ui.h:23 msgid "Paste _Before" msgstr "Liitä _ennen" #: data/menu.ui.h:24 msgid "Paste As _Odd Pages" msgstr "Liitä paritto_mina sivuina" #: data/menu.ui.h:25 msgid "Paste As _Even Pages" msgstr "Liitä pa_rillisina sivuina" #: data/menu.ui.h:26 msgid "Insert Blan_k Page" msgstr "L_isää tyhjä sivu" #: data/menu.ui.h:27 msgid "Generate Booklet" msgstr "Luo kirjanen" #: data/menu.ui.h:28 msgid "_Select" msgstr "_Valitse" #: data/menu.ui.h:29 msgid "Select _All" msgstr "_Valitse kaikki" #: data/menu.ui.h:30 msgid "_Deselect All" msgstr "_Poista valinta" #: data/menu.ui.h:31 msgid "Select _Odd Pages" msgstr "Valitse paritto_mat sivut" #: data/menu.ui.h:32 msgid "Select _Even Pages" msgstr "Valitse parilli_set sivut" #: data/menu.ui.h:33 msgid "All From _Same File" msgstr "Kaikki samasta _tiedostosta" #: data/menu.ui.h:34 msgid "Same Page _Format" msgstr "Sama s_ivunmuoto" #: data/menu.ui.h:35 msgid "_Invert Selection" msgstr "K_äänteinen valinta" #: data/menu.ui.h:36 msgid "Zoom _In" msgstr "L_ähennä" #: data/menu.ui.h:37 msgid "Zoom _Out" msgstr "L_oitonna" #: data/menu.ui.h:38 msgid "Edit _Properties" msgstr "Muokkaa ominaisuuks_ia" #: data/menu.ui.h:39 msgid "_About" msgstr "Tietoja - PD_F Arranger" #: data/menu.ui.h:40 msgid "_Quit" msgstr "_Sulje" #: data/menu.ui.h:41 msgid "Past_e Special" msgstr "Liitä määräte_n" pdfarranger-1.8.2/po/fr.po000066400000000000000000000305621416164621100154120ustar00rootroot00000000000000# pdfarranger translation files. # Copyright (C) 2020 Jérôme Robert # This file is part of pdfarranger which is released under the GNU General # Public License version 3 or later. # See file COPYING or go to for full license details. # Translators: # David VANTYGHEM , 2014. # Jérôme Robert , 2019. # Charles Monzat , 2019-2021. # msgid "" msgstr "" "Project-Id-Version: unnamed project\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-10-31 13:42+0100\n" "PO-Revision-Date: 2021-10-31 15:55+0100\n" "Last-Translator: Charles Monzat \n" "Language-Team: French - France <>\n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-SourceCharset: utf-8\n" "X-Generator: Poedit 3.0\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: pdfarranger/core.py:85 msgid "page" msgstr "page" #: pdfarranger/core.py:193 msgid "Password required" msgstr "Mot de passe requis" #: pdfarranger/core.py:204 msgid "The password will be remembered until you close PDF Arranger." msgstr "Le mot de passe sera mémorisé jusqu’à la fermeture de PDF Arranger." #: pdfarranger/core.py:205 #, python-format msgid "" "The document “{}” is locked and requires a password before it can be opened." msgstr "" "Le document « {} » est verrouillé et nécessite un mot de passe avant son " "ouverture." #: pdfarranger/core.py:215 msgid "Password" msgstr "Mot de passe" #: pdfarranger/core.py:266 pdfarranger/pdfarranger.py:1234 msgid "Unknown file format" msgstr "Format de fichier inconnu" #: pdfarranger/core.py:282 msgid "Image files are only supported with img2pdf" msgstr "Les fichiers image sont seulement pris en charge avec img2pdf" #: pdfarranger/core.py:304 msgid "Image format is not supported by img2pdf" msgstr "Le format d’image n’est pas pris en charge par img2pdf" #: pdfarranger/core.py:306 pdfarranger/pdfarranger.py:1244 msgid "File is neither pdf nor image" msgstr "Le fichier n’est ni un PDF ni une image" #: pdfarranger/croputils.py:114 msgid "Scale factor" msgstr "Facteur d’échelle" #: pdfarranger/croputils.py:120 msgid "%" msgstr "%" #: pdfarranger/croputils.py:136 msgid "mm" msgstr "mm" #: pdfarranger/croputils.py:146 msgid "Left" msgstr "À gauche" #: pdfarranger/croputils.py:146 msgid "Right" msgstr "À droite" #: pdfarranger/croputils.py:146 msgid "Top" msgstr "En haut" #: pdfarranger/croputils.py:146 msgid "Bottom" msgstr "En bas" #: pdfarranger/croputils.py:150 msgid "Crop Margins" msgstr "Rogner les marges" #: pdfarranger/croputils.py:158 msgid "" "Cropping does not remove any content from the PDF file, it only hides it." msgstr "" "Le contenu rogné reste présent dans le fichier PDF. Il est simplement caché." #: pdfarranger/croputils.py:167 msgid "% of width" msgstr "% de la largeur" #: pdfarranger/croputils.py:167 msgid "% of height" msgstr "% de la hauteur" #: pdfarranger/croputils.py:214 msgid "Page format" msgstr "Format de page" #: pdfarranger/croputils.py:229 pdfarranger/croputils.py:233 #: pdfarranger/croputils.py:353 msgid "Width" msgstr "Largeur" #: pdfarranger/croputils.py:230 pdfarranger/croputils.py:234 #: pdfarranger/croputils.py:354 msgid "Height" msgstr "Hauteur" #: pdfarranger/croputils.py:232 msgid "Relative" msgstr "Relative" #: pdfarranger/croputils.py:235 msgid "Page Size" msgstr "Dimensions" #: pdfarranger/croputils.py:343 msgid "Insert Blank Page" msgstr "Insérer une page blanche" #: pdfarranger/exporter.py:119 msgid "Warning" msgstr "Attention" #: pdfarranger/exporter.py:124 msgid "Forms and outlines are lost on saving." msgstr "Les formulaires et les signets ne sont pas pris en charge." #: pdfarranger/exporter.py:126 msgid "Do not show this dialog again." msgstr "Ne plus demander." #: pdfarranger/metadata.py:40 msgid "Title" msgstr "Titre" #: pdfarranger/metadata.py:41 msgid "Subject" msgstr "Sujet" #: pdfarranger/metadata.py:42 msgid "Keywords" msgstr "Mots-clés" #: pdfarranger/metadata.py:43 msgid "Producer" msgstr "Producteur" #: pdfarranger/metadata.py:44 msgid "Creator" msgstr "Auteur" #: pdfarranger/metadata.py:45 msgid "Creator tool" msgstr "Outil" #: pdfarranger/metadata.py:46 msgid "Created" msgstr "Créé le" #: pdfarranger/metadata.py:47 msgid "Modified" msgstr "Modifié le" #: pdfarranger/metadata.py:151 msgid "Invalid date format. Input discarded." msgstr "Format de date non valide." #: pdfarranger/metadata.py:180 msgid "Edit properties" msgstr "Éditer les propriétés" #: pdfarranger/metadata.py:194 msgid "Property" msgstr "Propriété" #: pdfarranger/metadata.py:194 msgid "Value" msgstr "Valeur" #: pdfarranger/pdfarranger.py:271 msgid "" "PDF Arranger is a small python-gtk application, which helps the user to " "merge or split pdf documents and rotate, crop and rearrange their pages " "using an interactive and intuitive graphical interface. It is a frontend for " "pikepdf." msgstr "" "PDF Arranger est une application basée sur Python GTK, qui permet de " "fusionner ou diviser des documents PDF et de pivoter, recadrer et " "réorganiser leurs pages en utilisant une interface graphique interactive et " "intuitive. C’est une interface pour Pikepdf." #: pdfarranger/pdfarranger.py:282 msgid "Print the version of PDF Arranger and exit" msgstr "Affiche la version de PDF Arranger et termine" #: pdfarranger/pdfarranger.py:290 msgid "File(s) to open" msgstr "Fichier(s) à ouvrir" #: pdfarranger/pdfarranger.py:395 msgid "All pages must have the same size." msgstr "Toutes les pages doivent avoir la même taille." #: pdfarranger/pdfarranger.py:421 msgid "All supported files" msgstr "Tous les fichiers pris en charge" #: pdfarranger/pdfarranger.py:425 msgid "PDF files" msgstr "Fichiers PDF" #: pdfarranger/pdfarranger.py:432 msgid "All files" msgstr "Tous les fichiers" #: pdfarranger/pdfarranger.py:437 msgid "Supported image files" msgstr "Fichiers image pris en charge" #: pdfarranger/pdfarranger.py:634 msgid "Rendering…" msgstr "Calcul du rendu…" #: pdfarranger/pdfarranger.py:728 msgid "untitled" msgstr "sans titre" #: pdfarranger/pdfarranger.py:865 #, python-format msgid "Save changes to “{}” before closing?" msgstr "Enregistrer les modifications du document « {} » avant la fermeture ?" #: pdfarranger/pdfarranger.py:867 msgid "Save changes before closing?" msgstr "Enregistrer les modifications avant la fermeture ?" #: pdfarranger/pdfarranger.py:869 msgid "Your changes will be lost if you don’t save them." msgstr "Vos modifications seront perdues si vous ne les enregistrez pas." #: pdfarranger/pdfarranger.py:870 msgid "Do_n’t Save" msgstr "Ne _pas enregistrer" #: pdfarranger/pdfarranger.py:870 msgid "_Cancel" msgstr "A_nnuler" #: pdfarranger/pdfarranger.py:870 data/menu.ui.h:3 msgid "_Save" msgstr "_Enregistrer" #: pdfarranger/pdfarranger.py:920 msgid "Export…" msgstr "Exporter…" #: pdfarranger/pdfarranger.py:1030 msgid "Import…" msgstr "Importer…" #: pdfarranger/pdfarranger.py:1137 msgid "Pasted data not valid. Aborting paste." msgstr "Données collées non valides. Annulation du collage." #: pdfarranger/pdfarranger.py:1238 msgid "PDF document is damaged" msgstr "Le document PDF est endommagé" #: pdfarranger/pdfarranger.py:2067 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" "%s est un outil pour réorganiser et modifier les fichiers PDF. Développé " "avec GTK+ et Python" #: pdfarranger/pdfarranger.py:2070 #, python-format msgid "(%s uses libqpdf %s and pikepdf %s)" msgstr "(%s utilise libqpdf %s et pikepdf %s)" #: pdfarranger/pdfarranger.py:2072 msgid "Maintainers and contributors" msgstr "Mainteneurs et contributeurs" #: pdfarranger/pdfarranger.py:2077 msgid "GNU General Public License (GPL) Version 3." msgstr "Licence publique générale GNU (GPL), version 3." #: pdfarranger/pdfarranger.py:2105 msgid "Selected pages: " msgstr "Pages sélectionnées : " #: pdfarranger/pdfarranger.py:2110 msgid "Page Size:" msgstr "Dimensions de la page :" #: pdfarranger/splitter.py:26 msgid "Split Pages" msgstr "Séparer les pages" #: pdfarranger/splitter.py:58 msgid "Columns" msgstr "En colonnes" #: pdfarranger/splitter.py:58 msgid "Rows" msgstr "En lignes" #: pdfarranger/splitter.py:59 msgid "Vertical Splits" msgstr "Nombre de colonnes" #: pdfarranger/splitter.py:59 msgid "Horizontal Splits" msgstr "Nombre de lignes" #: pdfarranger/splitter.py:60 msgid "Equal column width" msgstr "Colonnes de largeurs égales" #: pdfarranger/splitter.py:60 msgid "Equal row height" msgstr "Lignes de hauteurs égales" #: pdfarranger/splitter.py:85 msgid "#Col" msgstr "#Col" #: pdfarranger/splitter.py:85 msgid "#Row" msgstr "#Lig" #: pdfarranger/splitter.py:86 msgid "Width in %" msgstr "Largeur en %" #: pdfarranger/splitter.py:86 msgid "Height in %" msgstr "Hauteur en %" #: data/pdfarranger.ui.h:1 msgid "Open a file and append it to the current document" msgstr "Ouvrir un fichier et l’ajouter au document actuel" #: data/pdfarranger.ui.h:2 msgid "Save" msgstr "Enregistrer" #: data/pdfarranger.ui.h:3 msgid "Save As" msgstr "Enregistrer sous" #: data/pdfarranger.ui.h:4 msgid "Number of Pages" msgstr "Nombre de pages" #: data/pdfarranger.ui.h:5 msgid "Main Menu" msgstr "Menu principal" #: data/pdfarranger.ui.h:6 msgid "Zoom In" msgstr "Zoom avant" #: data/pdfarranger.ui.h:7 msgid "Zoom Out" msgstr "Zoom arrière" #: data/pdfarranger.ui.h:8 msgid "Rotate Left" msgstr "Rotation vers la gauche" #: data/pdfarranger.ui.h:9 msgid "Rotate Right" msgstr "Rotation vers la droite" #: data/menu.ui.h:1 msgid "_Import" msgstr "_Importer" #: data/menu.ui.h:2 msgid "_New Window" msgstr "_Nouvelle fenêtre" #: data/menu.ui.h:4 msgid "Save _As…" msgstr "Enregistrer _sous…" #: data/menu.ui.h:5 msgid "E_xport" msgstr "E_xporter" #: data/menu.ui.h:6 msgid "E_xport Selection to a Single File…" msgstr "E_xporter la sélection vers un seul fichier…" #: data/menu.ui.h:7 msgid "Export Selection to _Individual Files…" msgstr "Exporter chaque page sélect_ionnée vers un fichier…" #: data/menu.ui.h:8 msgid "Export _All Pages to Individual Files…" msgstr "Exporter ch_aque page vers un fichier…" #: data/menu.ui.h:9 msgid "_Undo" msgstr "Ann_uler" #: data/menu.ui.h:10 msgid "_Redo" msgstr "_Rétablir" #: data/menu.ui.h:11 msgid "_Edit" msgstr "É_dition" #: data/menu.ui.h:12 msgid "Rotate _Left" msgstr "Rotation vers la _gauche" #: data/menu.ui.h:13 msgid "_Rotate Right" msgstr "Rotation vers la _droite" #: data/menu.ui.h:14 msgid "_Page Format" msgstr "Format de _page" #: data/menu.ui.h:15 msgid "Crop White Borders" msgstr "Rogner au contenu" #: data/menu.ui.h:16 msgid "_Delete" msgstr "_Supprimer" #: data/menu.ui.h:17 msgid "Dupl_icate" msgstr "D_upliquer" #: data/menu.ui.h:18 msgid "Re_verse Order" msgstr "_Inverser l’ordre" #: data/menu.ui.h:19 msgid "_Split Pages" msgstr "_Séparer les pages" #: data/menu.ui.h:20 msgid "Cu_t" msgstr "C_ouper" #: data/menu.ui.h:21 msgid "_Copy" msgstr "_Copier" #: data/menu.ui.h:22 msgid "Paste _After" msgstr "Co_ller après" #: data/menu.ui.h:23 msgid "Paste _Before" msgstr "Coller a_vant" #: data/menu.ui.h:24 msgid "Paste As _Odd Pages" msgstr "Coller en pages i_mpaires" #: data/menu.ui.h:25 msgid "Paste As _Even Pages" msgstr "Coller en pages _paires" #: data/menu.ui.h:26 msgid "Insert Blan_k Page" msgstr "Insérer une page _blanche" #: data/menu.ui.h:27 msgid "Generate Booklet" msgstr "Générer un livret" #: data/menu.ui.h:28 msgid "_Select" msgstr "_Sélectionner" #: data/menu.ui.h:29 msgid "Select _All" msgstr "_Tout sélectionner" #: data/menu.ui.h:30 msgid "_Deselect All" msgstr "Tout _désélectionner" #: data/menu.ui.h:31 msgid "Select _Odd Pages" msgstr "Pages _impaires" #: data/menu.ui.h:32 msgid "Select _Even Pages" msgstr "Pages _paires" #: data/menu.ui.h:33 msgid "All From _Same File" msgstr "Pages du _même fichier" #: data/menu.ui.h:34 msgid "Same Page _Format" msgstr "Pages de même _format" #: data/menu.ui.h:35 msgid "_Invert Selection" msgstr "_Inverser la sélection" #: data/menu.ui.h:36 msgid "Zoom _In" msgstr "Zoom a_vant" #: data/menu.ui.h:37 msgid "Zoom _Out" msgstr "Zoom _arrière" #: data/menu.ui.h:38 msgid "Edit _Properties" msgstr "Édi_ter les propriétés" #: data/menu.ui.h:39 msgid "_About" msgstr "À _propos" #: data/menu.ui.h:40 msgid "_Quit" msgstr "_Quitter" #: data/menu.ui.h:41 msgid "Past_e Special" msgstr "Coll_age spécial" pdfarranger-1.8.2/po/genpot.sh000077500000000000000000000022351416164621100162720ustar00rootroot00000000000000#!/bin/sh # # pdfarranger - GTK+ based utility for splitting, rearrangement and # modification of PDF documents. # Copyright (C) 2008-2017 Konstantinos Poulios # # pdfarranger is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # # Make translation files cd "$(dirname $0)/.." intltool-extract --type=gettext/glade data/pdfarranger.ui intltool-extract --type=gettext/glade data/menu.ui xgettext --from-code=utf-8 --language=Python --keyword=_ --keyword=N_ --output=po/pdfarranger.pot \ pdfarranger/*.py data/pdfarranger.ui.h data/menu.ui.h pdfarranger-1.8.2/po/hr.po000066400000000000000000000274431416164621100154200ustar00rootroot00000000000000# Croatian translation for pdfarranger. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the pdfarranger package. # Milo Ivir , 2020., 2021. # msgid "" msgstr "" "Project-Id-Version: pdfarranger\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-10-31 13:42+0100\n" "PO-Revision-Date: 2021-10-31 15:22+0100\n" "Last-Translator: Milo Ivir \n" "Language-Team: \n" "Language: hr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 3.0\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n" #: pdfarranger/core.py:85 msgid "page" msgstr "stranica" #: pdfarranger/core.py:193 msgid "Password required" msgstr "Zahtijeva lozinku" #: pdfarranger/core.py:204 msgid "The password will be remembered until you close PDF Arranger." msgstr "Lozinka će se zapamtiti, sve dok se ne zatvori PDF uređivač." #: pdfarranger/core.py:205 #, python-format msgid "" "The document “{}” is locked and requires a password before it can be opened." msgstr "" "Dokument „{}” je zaključan. Za otvaranje dokumenta mora se upisati lozinka." #: pdfarranger/core.py:215 msgid "Password" msgstr "Lozinka" #: pdfarranger/core.py:266 pdfarranger/pdfarranger.py:1234 msgid "Unknown file format" msgstr "Nepoznat datotečni format" #: pdfarranger/core.py:282 msgid "Image files are only supported with img2pdf" msgstr "Slikovne datoteke su podržane samo s img2pdf" #: pdfarranger/core.py:304 msgid "Image format is not supported by img2pdf" msgstr "img2pdf ne podržava format slike" #: pdfarranger/core.py:306 pdfarranger/pdfarranger.py:1244 msgid "File is neither pdf nor image" msgstr "Datoteka nije PDF niti slika" #: pdfarranger/croputils.py:114 msgid "Scale factor" msgstr "Povećanje" #: pdfarranger/croputils.py:120 msgid "%" msgstr "%" #: pdfarranger/croputils.py:136 msgid "mm" msgstr "mm" #: pdfarranger/croputils.py:146 msgid "Left" msgstr "Lijevo" #: pdfarranger/croputils.py:146 msgid "Right" msgstr "Desno" #: pdfarranger/croputils.py:146 msgid "Top" msgstr "Gore" #: pdfarranger/croputils.py:146 msgid "Bottom" msgstr "Dolje" #: pdfarranger/croputils.py:150 msgid "Crop Margins" msgstr "Odreži margine" #: pdfarranger/croputils.py:158 msgid "" "Cropping does not remove any content from the PDF file, it only hides it." msgstr "Odrezivanjem se sadržaj PDF datoteke ne uklanja, već se samo skriva." #: pdfarranger/croputils.py:167 msgid "% of width" msgstr "% širine" #: pdfarranger/croputils.py:167 msgid "% of height" msgstr "% visine" #: pdfarranger/croputils.py:214 msgid "Page format" msgstr "Format stranice" #: pdfarranger/croputils.py:229 pdfarranger/croputils.py:233 #: pdfarranger/croputils.py:353 msgid "Width" msgstr "Širina" #: pdfarranger/croputils.py:230 pdfarranger/croputils.py:234 #: pdfarranger/croputils.py:354 msgid "Height" msgstr "Visina" #: pdfarranger/croputils.py:232 msgid "Relative" msgstr "Relativno" #: pdfarranger/croputils.py:235 msgid "Page Size" msgstr "Veličina stranice" #: pdfarranger/croputils.py:343 msgid "Insert Blank Page" msgstr "Umetni praznu stranicu" #: pdfarranger/exporter.py:119 msgid "Warning" msgstr "Upozorenje" #: pdfarranger/exporter.py:124 msgid "Forms and outlines are lost on saving." msgstr "Obrasci i struktura se gube pri spremanju." #: pdfarranger/exporter.py:126 msgid "Do not show this dialog again." msgstr "Ovaj dijalog više nemoj prikazivati." #: pdfarranger/metadata.py:40 msgid "Title" msgstr "Naslov" #: pdfarranger/metadata.py:41 msgid "Subject" msgstr "Tema" #: pdfarranger/metadata.py:42 msgid "Keywords" msgstr "Ključne riječi" #: pdfarranger/metadata.py:43 msgid "Producer" msgstr "Stvaralac" #: pdfarranger/metadata.py:44 msgid "Creator" msgstr "Izvorni program" #: pdfarranger/metadata.py:45 msgid "Creator tool" msgstr "Alat izvornog programa" #: pdfarranger/metadata.py:46 msgid "Created" msgstr "Stvoreno" #: pdfarranger/metadata.py:47 msgid "Modified" msgstr "Promijenjeno" #: pdfarranger/metadata.py:151 msgid "Invalid date format. Input discarded." msgstr "Neispravan format datuma. Unos je zanemaren." #: pdfarranger/metadata.py:180 msgid "Edit properties" msgstr "Uredi svojstva" #: pdfarranger/metadata.py:194 msgid "Property" msgstr "Svojstvo" #: pdfarranger/metadata.py:194 msgid "Value" msgstr "Vrijednost" #: pdfarranger/pdfarranger.py:271 msgid "" "PDF Arranger is a small python-gtk application, which helps the user to " "merge or split pdf documents and rotate, crop and rearrange their pages " "using an interactive and intuitive graphical interface. It is a frontend for " "pikepdf." msgstr "" "PDF Arranger je mali python-gtk program koji pomaže korisniku spojiti ili " "podijeliti pdf dokumente te rotirati, izrezati i preurediti stranice " "koristeći interaktivno i intuitivno grafičko sučelje. To je prednji sustav " "za pikepdf." #: pdfarranger/pdfarranger.py:282 msgid "Print the version of PDF Arranger and exit" msgstr "Ispiši PDF Arranger verziju i zatvori program" #: pdfarranger/pdfarranger.py:290 msgid "File(s) to open" msgstr "Datoteke za otvaranje" #: pdfarranger/pdfarranger.py:395 msgid "All pages must have the same size." msgstr "Sve stranice moraju biti iste veličine." #: pdfarranger/pdfarranger.py:421 msgid "All supported files" msgstr "Sve podržane datoteke" #: pdfarranger/pdfarranger.py:425 msgid "PDF files" msgstr "PDF datoteke" #: pdfarranger/pdfarranger.py:432 msgid "All files" msgstr "Sve datoteke" #: pdfarranger/pdfarranger.py:437 msgid "Supported image files" msgstr "Podržane slikovne datoteke" #: pdfarranger/pdfarranger.py:634 msgid "Rendering…" msgstr "Iscrtavanje …" #: pdfarranger/pdfarranger.py:728 msgid "untitled" msgstr "bez naslova" #: pdfarranger/pdfarranger.py:865 #, python-format msgid "Save changes to “{}” before closing?" msgstr "Spremiti promjene u „{}” prije zatvaranja?" #: pdfarranger/pdfarranger.py:867 msgid "Save changes before closing?" msgstr "Spremiti promjene prije zatvaranja?" #: pdfarranger/pdfarranger.py:869 msgid "Your changes will be lost if you don’t save them." msgstr "Ako promjene ne spremiš, izgubit ćeš ih." #: pdfarranger/pdfarranger.py:870 msgid "Do_n’t Save" msgstr "_Nemoj spremiti" #: pdfarranger/pdfarranger.py:870 msgid "_Cancel" msgstr "O_dustani" #: pdfarranger/pdfarranger.py:870 data/menu.ui.h:3 msgid "_Save" msgstr "_Spremi" #: pdfarranger/pdfarranger.py:920 msgid "Export…" msgstr "Izvezi …" #: pdfarranger/pdfarranger.py:1030 msgid "Import…" msgstr "Uvezi …" #: pdfarranger/pdfarranger.py:1137 msgid "Pasted data not valid. Aborting paste." msgstr "Umetnuti podaci nisu ispravni. Umetanje se prekida." #: pdfarranger/pdfarranger.py:1238 msgid "PDF document is damaged" msgstr "PDF dokument je oštećen" #: pdfarranger/pdfarranger.py:2067 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" "%s je alat za preraspoređivanje i mijenjenje PDF datoteka. Razvijen je " "pomoću GTK+ i Pythona" #: pdfarranger/pdfarranger.py:2070 #, python-format msgid "(%s uses libqpdf %s and pikepdf %s)" msgstr "(%s koristi libqpdf %s i pikepdf %s)" #: pdfarranger/pdfarranger.py:2072 msgid "Maintainers and contributors" msgstr "Održavatelji i doprinositelji" #: pdfarranger/pdfarranger.py:2077 msgid "GNU General Public License (GPL) Version 3." msgstr "GNU opća javna licenca, verzija 3." #: pdfarranger/pdfarranger.py:2105 msgid "Selected pages: " msgstr "Odabrane stranice: " #: pdfarranger/pdfarranger.py:2110 msgid "Page Size:" msgstr "Veličina stranice:" #: pdfarranger/splitter.py:26 msgid "Split Pages" msgstr "Razreži stranice" #: pdfarranger/splitter.py:58 msgid "Columns" msgstr "Stupci" #: pdfarranger/splitter.py:58 msgid "Rows" msgstr "Redci" #: pdfarranger/splitter.py:59 msgid "Vertical Splits" msgstr "Okomiti dijelovi" #: pdfarranger/splitter.py:59 msgid "Horizontal Splits" msgstr "Vodoravni dijelovi" #: pdfarranger/splitter.py:60 msgid "Equal column width" msgstr "Stupci jednake širine" #: pdfarranger/splitter.py:60 msgid "Equal row height" msgstr "Redci jednake visine" #: pdfarranger/splitter.py:85 msgid "#Col" msgstr "Stupac" #: pdfarranger/splitter.py:85 msgid "#Row" msgstr "Redak" #: pdfarranger/splitter.py:86 msgid "Width in %" msgstr "Širina u %" #: pdfarranger/splitter.py:86 msgid "Height in %" msgstr "Visina u %" #: data/pdfarranger.ui.h:1 msgid "Open a file and append it to the current document" msgstr "Otvori datoteku i dodaj je trenutačnom dokumentu" #: data/pdfarranger.ui.h:2 msgid "Save" msgstr "Spremi" #: data/pdfarranger.ui.h:3 msgid "Save As" msgstr "Spremi kao" #: data/pdfarranger.ui.h:4 msgid "Number of Pages" msgstr "Broj stranica" #: data/pdfarranger.ui.h:5 msgid "Main Menu" msgstr "Glavni izbornik" #: data/pdfarranger.ui.h:6 msgid "Zoom In" msgstr "Uvećaj" #: data/pdfarranger.ui.h:7 msgid "Zoom Out" msgstr "Umanji" #: data/pdfarranger.ui.h:8 msgid "Rotate Left" msgstr "Okreni lijevo" #: data/pdfarranger.ui.h:9 msgid "Rotate Right" msgstr "Okreni desno" #: data/menu.ui.h:1 msgid "_Import" msgstr "_Uvezi" #: data/menu.ui.h:2 msgid "_New Window" msgstr "_Novi prozor" #: data/menu.ui.h:4 msgid "Save _As…" msgstr "Spremi k_ao …" #: data/menu.ui.h:5 msgid "E_xport" msgstr "_Izvezi" #: data/menu.ui.h:6 msgid "E_xport Selection to a Single File…" msgstr "_Izvezi odabir u jednu datoteku …" #: data/menu.ui.h:7 msgid "Export Selection to _Individual Files…" msgstr "Izvezi odabir u _pojedinačne datoteke …" #: data/menu.ui.h:8 msgid "Export _All Pages to Individual Files…" msgstr "Izvezi _sve stranice u pojedinačne datoteke …" #: data/menu.ui.h:9 msgid "_Undo" msgstr "Po_ništi" #: data/menu.ui.h:10 msgid "_Redo" msgstr "_Ponovi" #: data/menu.ui.h:11 msgid "_Edit" msgstr "Ur_edi" #: data/menu.ui.h:12 msgid "Rotate _Left" msgstr "Okreni _lijevo" #: data/menu.ui.h:13 msgid "_Rotate Right" msgstr "Okreni _desno" #: data/menu.ui.h:14 msgid "_Page Format" msgstr "Format _stranice" #: data/menu.ui.h:15 msgid "Crop White Borders" msgstr "Odreži bijele rubove" #: data/menu.ui.h:16 msgid "_Delete" msgstr "Iz_briši" #: data/menu.ui.h:17 msgid "Dupl_icate" msgstr "Dupli_ciraj" #: data/menu.ui.h:18 msgid "Re_verse Order" msgstr "Preo_kreni redoslijed" #: data/menu.ui.h:19 msgid "_Split Pages" msgstr "Raz_reži stranice" #: data/menu.ui.h:20 msgid "Cu_t" msgstr "_Izreži" #: data/menu.ui.h:21 msgid "_Copy" msgstr "_Kopiraj" #: data/menu.ui.h:22 msgid "Paste _After" msgstr "Umetni i_za" #: data/menu.ui.h:23 msgid "Paste _Before" msgstr "Umetni i_spred" #: data/menu.ui.h:24 msgid "Paste As _Odd Pages" msgstr "Umetni kao _neparne stranice" #: data/menu.ui.h:25 msgid "Paste As _Even Pages" msgstr "Umetni kao _parne stranice" #: data/menu.ui.h:26 msgid "Insert Blan_k Page" msgstr "Umetni pra_znu stranicu" #: data/menu.ui.h:27 msgid "Generate Booklet" msgstr "Generiraj knjižicu" #: data/menu.ui.h:28 msgid "_Select" msgstr "_Odaberi" #: data/menu.ui.h:29 msgid "Select _All" msgstr "Odaberi _sve" #: data/menu.ui.h:30 msgid "_Deselect All" msgstr "O_dznači sve" #: data/menu.ui.h:31 msgid "Select _Odd Pages" msgstr "Odaberi _neparne stranice" #: data/menu.ui.h:32 msgid "Select _Even Pages" msgstr "Odaberi _parne stranice" #: data/menu.ui.h:33 msgid "All From _Same File" msgstr "_Sve iz iste datoteke" #: data/menu.ui.h:34 msgid "Same Page _Format" msgstr "Isti _format stranice" #: data/menu.ui.h:35 msgid "_Invert Selection" msgstr "Pr_eokreni odabir" #: data/menu.ui.h:36 msgid "Zoom _In" msgstr "U_većaj" #: data/menu.ui.h:37 msgid "Zoom _Out" msgstr "U_manji" #: data/menu.ui.h:38 msgid "Edit _Properties" msgstr "Uredi _svojstva" #: data/menu.ui.h:39 msgid "_About" msgstr "_Informacije" #: data/menu.ui.h:40 msgid "_Quit" msgstr "_Zatvori program" #: data/menu.ui.h:41 msgid "Past_e Special" msgstr "Um_etni" pdfarranger-1.8.2/po/hu.po000066400000000000000000000303761416164621100154220ustar00rootroot00000000000000# This file is part of PDF Arranger which is released under the GNU General # Public License version 3 or later. # See file COPYING or go to for full license details. # Translators: # Péter Bojtos , 2011 msgid "" msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-10-31 13:42+0100\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Hungarian\n" "X-Poedit-Country: HUNGARY\n" "X-Poedit-SourceCharset: utf-8\n" #: pdfarranger/core.py:85 msgid "page" msgstr "oldal" #: pdfarranger/core.py:193 msgid "Password required" msgstr "Jelszó szükséges" #: pdfarranger/core.py:204 msgid "The password will be remembered until you close PDF Arranger." msgstr "A jelszó mindaddig emlékezetes marad, amíg bezárja a PDF-rendezőt" #: pdfarranger/core.py:205 #, python-format msgid "" "The document “{}” is locked and requires a password before it can be opened." msgstr "A(z) „{}” dokumentum zárolva van és megnyitásához jelszó szükséges." #: pdfarranger/core.py:215 msgid "Password" msgstr "Jelszó" #: pdfarranger/core.py:266 pdfarranger/pdfarranger.py:1234 msgid "Unknown file format" msgstr "Ismeretlen fájlformátum" #: pdfarranger/core.py:282 msgid "Image files are only supported with img2pdf" msgstr "A képfájlokat csak az img2pdf támogatja" #: pdfarranger/core.py:304 msgid "Image format is not supported by img2pdf" msgstr "Az img2pdf nem támogatja a képformátumot" #: pdfarranger/core.py:306 pdfarranger/pdfarranger.py:1244 msgid "File is neither pdf nor image" msgstr "A fájl nem pdf vagy kép" #: pdfarranger/croputils.py:114 msgid "Scale factor" msgstr "Nagyságrendi tényező" #: pdfarranger/croputils.py:120 msgid "%" msgstr "%" #: pdfarranger/croputils.py:136 msgid "mm" msgstr "mm" #: pdfarranger/croputils.py:146 msgid "Left" msgstr "Balra" #: pdfarranger/croputils.py:146 msgid "Right" msgstr "Jobbra" #: pdfarranger/croputils.py:146 msgid "Top" msgstr "Fent" #: pdfarranger/croputils.py:146 msgid "Bottom" msgstr "Lent" #: pdfarranger/croputils.py:150 msgid "Crop Margins" msgstr "Margók körülvágása" #: pdfarranger/croputils.py:158 msgid "" "Cropping does not remove any content from the PDF file, it only hides it." msgstr "A körülvágás nem távolít el tartalmat a PDF-fájlból, csak elrejti." #: pdfarranger/croputils.py:167 msgid "% of width" msgstr "a szélesség százaléka" #: pdfarranger/croputils.py:167 msgid "% of height" msgstr "a magasság százaléka" #: pdfarranger/croputils.py:214 msgid "Page format" msgstr "Oldalformátum" #: pdfarranger/croputils.py:229 pdfarranger/croputils.py:233 #: pdfarranger/croputils.py:353 msgid "Width" msgstr "Szélesség" #: pdfarranger/croputils.py:230 pdfarranger/croputils.py:234 #: pdfarranger/croputils.py:354 msgid "Height" msgstr "Magasság" #: pdfarranger/croputils.py:232 msgid "Relative" msgstr "Viszonylagos" #: pdfarranger/croputils.py:235 msgid "Page Size" msgstr "Oldalméret" #: pdfarranger/croputils.py:343 msgid "Insert Blank Page" msgstr "Üres oldal beszúrása" #: pdfarranger/exporter.py:119 msgid "Warning" msgstr "Figyelmeztetés" #: pdfarranger/exporter.py:124 msgid "Forms and outlines are lost on saving." msgstr "Az űrlapok és a körvonalak elvesznek a mentéskor." #: pdfarranger/exporter.py:126 msgid "Do not show this dialog again." msgstr "Ne jelenjen meg újra ez a párbeszédpanel." #: pdfarranger/metadata.py:40 msgid "Title" msgstr "Cím" #: pdfarranger/metadata.py:41 msgid "Subject" msgstr "Tárgy" #: pdfarranger/metadata.py:42 msgid "Keywords" msgstr "Kulcsszavak" #: pdfarranger/metadata.py:43 msgid "Producer" msgstr "Gyártó" #: pdfarranger/metadata.py:44 msgid "Creator" msgstr "Készítő" #: pdfarranger/metadata.py:45 msgid "Creator tool" msgstr "Készítő eszköz" #: pdfarranger/metadata.py:46 msgid "Created" msgstr "Készült" #: pdfarranger/metadata.py:47 msgid "Modified" msgstr "Módosítva" #: pdfarranger/metadata.py:151 msgid "Invalid date format. Input discarded." msgstr "Érvénytelen dátumformátum. A bevitelt elvetve." #: pdfarranger/metadata.py:180 msgid "Edit properties" msgstr "Tulajdonságok szerkesztése" #: pdfarranger/metadata.py:194 msgid "Property" msgstr "Tulajdonság" #: pdfarranger/metadata.py:194 msgid "Value" msgstr "Érték" #: pdfarranger/pdfarranger.py:271 msgid "" "PDF Arranger is a small python-gtk application, which helps the user to " "merge or split pdf documents and rotate, crop and rearrange their pages " "using an interactive and intuitive graphical interface. It is a frontend for " "pikepdf." msgstr "" "A PDF-rendező egy kis python-gtk alkalmazás, amely egy interaktív és " "intuitív grafikus felület segítségével segíti a felhasználót a pdf " "dokumentumok egyesítésében vagy felosztásában, valamint az oldalak " "elforgatásában, kivágásában és átrendezésében. Ez a pikepdf Python-könyvtár " "kezelőfelülete." #: pdfarranger/pdfarranger.py:282 msgid "Print the version of PDF Arranger and exit" msgstr "PDF-rendező verzió nyomtatása és kilépés" #: pdfarranger/pdfarranger.py:290 msgid "File(s) to open" msgstr "Megnyitandó fájl(ok)" #: pdfarranger/pdfarranger.py:395 msgid "All pages must have the same size." msgstr "Minden oldalnak azonos méretűnek kell lennie." #: pdfarranger/pdfarranger.py:421 msgid "All supported files" msgstr "Minden támogatott fájl" #: pdfarranger/pdfarranger.py:425 msgid "PDF files" msgstr "PDF-fájlok" #: pdfarranger/pdfarranger.py:432 msgid "All files" msgstr "Minden fájl" #: pdfarranger/pdfarranger.py:437 msgid "Supported image files" msgstr "Támogatott képfájlok" #: pdfarranger/pdfarranger.py:634 msgid "Rendering…" msgstr "Renderelés folyamatban van…" #: pdfarranger/pdfarranger.py:728 msgid "untitled" msgstr "névtelen" #: pdfarranger/pdfarranger.py:865 #, python-format msgid "Save changes to “{}” before closing?" msgstr "Menti a változásokat a(z) „{}” fájlba bezárás előtt?" #: pdfarranger/pdfarranger.py:867 msgid "Save changes before closing?" msgstr "Menti a módosításokat a bezárás előtt?" #: pdfarranger/pdfarranger.py:869 msgid "Your changes will be lost if you don’t save them." msgstr "A változtatások elvesznek, ha nem menti őket." #: pdfarranger/pdfarranger.py:870 msgid "Do_n’t Save" msgstr "_Nincs mentés" #: pdfarranger/pdfarranger.py:870 msgid "_Cancel" msgstr "_Mégse" #: pdfarranger/pdfarranger.py:870 data/menu.ui.h:3 msgid "_Save" msgstr "_Mentés" #: pdfarranger/pdfarranger.py:920 msgid "Export…" msgstr "Exportálás…" #: pdfarranger/pdfarranger.py:1030 msgid "Import…" msgstr "Importálás…" #: pdfarranger/pdfarranger.py:1137 msgid "Pasted data not valid. Aborting paste." msgstr "A beillesztett adatok érvénytelenek. A beillesztés megszakadt." #: pdfarranger/pdfarranger.py:1238 msgid "PDF document is damaged" msgstr "A PDF dokumentum sérült" #: pdfarranger/pdfarranger.py:2067 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" "A %s egy olyan eszköz, mellyel átrendezhetők és módosíthatóak a PDF fájlok. " "GTK+ és Python segítségével írták" #: pdfarranger/pdfarranger.py:2070 #, python-format msgid "(%s uses libqpdf %s and pikepdf %s)" msgstr "(%s libqpdf %s és pikepdf %s könyvtárak használata)" #: pdfarranger/pdfarranger.py:2072 msgid "Maintainers and contributors" msgstr "Fenntartók és közreműködők" #: pdfarranger/pdfarranger.py:2077 msgid "GNU General Public License (GPL) Version 3." msgstr "" "GNU GPL (General Public License - általános nyilvános engedély) 3. verzió." #: pdfarranger/pdfarranger.py:2105 msgid "Selected pages: " msgstr "Kiválasztott oldalak: " #: pdfarranger/pdfarranger.py:2110 msgid "Page Size:" msgstr "Oldalméret:" #: pdfarranger/splitter.py:26 msgid "Split Pages" msgstr "Oldalak felosztása" #: pdfarranger/splitter.py:58 msgid "Columns" msgstr "Oszlopok" #: pdfarranger/splitter.py:58 msgid "Rows" msgstr "Sorok" #: pdfarranger/splitter.py:59 msgid "Vertical Splits" msgstr "Függőleges felosztása" #: pdfarranger/splitter.py:59 msgid "Horizontal Splits" msgstr "Vízszintes felosztása" #: pdfarranger/splitter.py:60 msgid "Equal column width" msgstr "Azonos hasábszélesség" #: pdfarranger/splitter.py:60 msgid "Equal row height" msgstr "Azonos sormagasság" #: pdfarranger/splitter.py:85 msgid "#Col" msgstr "Oszlop száma" #: pdfarranger/splitter.py:85 msgid "#Row" msgstr "Sor száma" #: pdfarranger/splitter.py:86 msgid "Width in %" msgstr "Szélesség százalékként" #: pdfarranger/splitter.py:86 msgid "Height in %" msgstr "Magasság százalékként" #: data/pdfarranger.ui.h:1 msgid "Open a file and append it to the current document" msgstr "Fájl megnyitása és hozzáfűzése a jelenlegi dokumentumhoz" #: data/pdfarranger.ui.h:2 msgid "Save" msgstr "Mentés" #: data/pdfarranger.ui.h:3 msgid "Save As" msgstr "Mentés másként…" #: data/pdfarranger.ui.h:4 msgid "Number of Pages" msgstr "Oldalak száma" #: data/pdfarranger.ui.h:5 msgid "Main Menu" msgstr "Főmenü" #: data/pdfarranger.ui.h:6 msgid "Zoom In" msgstr "Nagyítás" #: data/pdfarranger.ui.h:7 msgid "Zoom Out" msgstr "Kicsinyítés" #: data/pdfarranger.ui.h:8 msgid "Rotate Left" msgstr "Forgatás balra" #: data/pdfarranger.ui.h:9 msgid "Rotate Right" msgstr "Forgatás jobbra" #: data/menu.ui.h:1 msgid "_Import" msgstr "_Importálás…" #: data/menu.ui.h:2 msgid "_New Window" msgstr "Új _ablak" #: data/menu.ui.h:4 msgid "Save _As…" msgstr "Menté_s másként…" #: data/menu.ui.h:5 msgid "E_xport" msgstr "Exportálás…" #: data/menu.ui.h:6 msgid "E_xport Selection to a Single File…" msgstr "Kijelölés e_xportálása egyetlen fájlként…" #: data/menu.ui.h:7 msgid "Export Selection to _Individual Files…" msgstr "Kijelölés exportálása _külön fájlokként…" #: data/menu.ui.h:8 msgid "Export _All Pages to Individual Files…" msgstr "Összes _oldal exportálása külön fájlokként" #: data/menu.ui.h:9 msgid "_Undo" msgstr "_Visszavonás" #: data/menu.ui.h:10 msgid "_Redo" msgstr "Új_ra" #: data/menu.ui.h:11 msgid "_Edit" msgstr "S_zerkesztés" #: data/menu.ui.h:12 msgid "Rotate _Left" msgstr "Forgatás _balra" #: data/menu.ui.h:13 msgid "_Rotate Right" msgstr "Forgatás _jobbra" #: data/menu.ui.h:14 msgid "_Page Format" msgstr "_Oldalformátum" #: data/menu.ui.h:15 msgid "Crop White Borders" msgstr "Fehér szegélyek körülvágása" #: data/menu.ui.h:16 msgid "_Delete" msgstr "_Törlés" #: data/menu.ui.h:17 msgid "Dupl_icate" msgstr "Megkettő_zés" #: data/menu.ui.h:18 msgid "Re_verse Order" msgstr "Sorrend meg_fordítása" #: data/menu.ui.h:19 msgid "_Split Pages" msgstr "Oldalak fel_osztása" #: data/menu.ui.h:20 msgid "Cu_t" msgstr "_Kivágás" #: data/menu.ui.h:21 msgid "_Copy" msgstr "_Másolás" #: data/menu.ui.h:22 msgid "Paste _After" msgstr "Beillesztés _után" #: data/menu.ui.h:23 msgid "Paste _Before" msgstr "Beillesztés _előtt" #: data/menu.ui.h:24 msgid "Paste As _Odd Pages" msgstr "Beillesztés párat_lan oldalakként" #: data/menu.ui.h:25 msgid "Paste As _Even Pages" msgstr "Beillesztés _páros oldalakként" #: data/menu.ui.h:26 msgid "Insert Blan_k Page" msgstr "Üres oldal bes_zúrása" #: data/menu.ui.h:27 msgid "Generate Booklet" msgstr "Füzet létrehozása" #: data/menu.ui.h:28 msgid "_Select" msgstr "_Kijelölés" #: data/menu.ui.h:29 msgid "Select _All" msgstr "_Az összes kijelölése" #: data/menu.ui.h:30 msgid "_Deselect All" msgstr "Öss_zes kijelölés törlése" #: data/menu.ui.h:31 msgid "Select _Odd Pages" msgstr "Párat_lan oldalak kijelölése" #: data/menu.ui.h:32 msgid "Select _Even Pages" msgstr "_Páros oldalak kijelölése" #: data/menu.ui.h:33 msgid "All From _Same File" msgstr "Mindegyik _ugyanabból a fájlból" #: data/menu.ui.h:34 msgid "Same Page _Format" msgstr "Ugyanaz az oldal_formátum" #: data/menu.ui.h:35 msgid "_Invert Selection" msgstr "Kijelölés meg_fordítása" #: data/menu.ui.h:36 msgid "Zoom _In" msgstr "Na_gyítás" #: data/menu.ui.h:37 msgid "Zoom _Out" msgstr "Ki_csinyítés" #: data/menu.ui.h:38 msgid "Edit _Properties" msgstr "_Tulajdonságok szerkesztése" #: data/menu.ui.h:39 msgid "_About" msgstr "_Névjegy" #: data/menu.ui.h:40 msgid "_Quit" msgstr "_Kilépés" #: data/menu.ui.h:41 msgid "Past_e Special" msgstr "Irá_nyított beillesztés" pdfarranger-1.8.2/po/id.po000066400000000000000000000256721416164621100154050ustar00rootroot00000000000000# pdfarranger translation files. # Copyright (C) 2021 pdfarranger contributors # This file is distributed under the same license as the PACKAGE package. # Translators: # Abdul Munif Hanafi , 2019-2021. # msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-12-29 17:35+0100\n" "PO-Revision-Date: 2021-10-31 23:20+0700\n" "Last-Translator: Abdul Munif Hanafi \n" "Language-Team: \n" "Language: id\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 3.0\n" "Plural-Forms: nplurals=1; plural=0;\n" #: pdfarranger/core.py:85 msgid "page" msgstr "halaman" #: pdfarranger/core.py:193 msgid "Password required" msgstr "Kata sandi dibutuhkan" #: pdfarranger/core.py:204 msgid "The password will be remembered until you close PDF Arranger." msgstr "Kata sandi akan diingat sampai Anda menutup PDF Arranger." #: pdfarranger/core.py:205 msgid "" "The document “{}” is locked and requires a password before it can be opened." msgstr "Dokumen “{}” terkunci dan memerlukan kata sandi sebelum bisa dibuka." #: pdfarranger/core.py:215 msgid "Password" msgstr "Kata sandi" #: pdfarranger/core.py:266 pdfarranger/pdfarranger.py:1234 msgid "Unknown file format" msgstr "Format berkas tidak dikenali" #: pdfarranger/core.py:282 msgid "Image files are only supported with img2pdf" msgstr "Berkas gambar hanya didukung dengan img2pdf" #: pdfarranger/core.py:304 msgid "Image format is not supported by img2pdf" msgstr "Format gambar tidak didukung oleh img2pdf" #: pdfarranger/core.py:306 pdfarranger/pdfarranger.py:1244 msgid "File is neither pdf nor image" msgstr "Bukan berkas pdf ataupun gambar" #: pdfarranger/croputils.py:114 msgid "Scale factor" msgstr "Faktor skala" #: pdfarranger/croputils.py:120 msgid "%" msgstr "%" #: pdfarranger/croputils.py:136 msgid "mm" msgstr "mm" #: pdfarranger/croputils.py:146 msgid "Left" msgstr "Kiri" #: pdfarranger/croputils.py:146 msgid "Right" msgstr "Kanan" #: pdfarranger/croputils.py:146 msgid "Top" msgstr "Atas" #: pdfarranger/croputils.py:146 msgid "Bottom" msgstr "Bawah" #: pdfarranger/croputils.py:150 msgid "Crop Margins" msgstr "Pangkas Margin" #: pdfarranger/croputils.py:158 msgid "" "Cropping does not remove any content from the PDF file, it only hides it." msgstr "" "Pemangkasan tidak menghapus konten apa pun dari berkas PDF, melainkan hanya " "menyembunyikannya." #: pdfarranger/croputils.py:166 #, python-format msgid "% of width" msgstr "% dari lebar" #: pdfarranger/croputils.py:167 #, python-format msgid "% of height" msgstr "% dari tinggi" #: pdfarranger/croputils.py:214 msgid "Page format" msgstr "Format halaman" #: pdfarranger/croputils.py:229 pdfarranger/croputils.py:233 #: pdfarranger/croputils.py:353 msgid "Width" msgstr "Lebar" #: pdfarranger/croputils.py:230 pdfarranger/croputils.py:234 #: pdfarranger/croputils.py:354 msgid "Height" msgstr "Tinggi" #: pdfarranger/croputils.py:232 msgid "Relative" msgstr "Relatif" #: pdfarranger/croputils.py:235 msgid "Page Size" msgstr "Ukuran Halaman" #: pdfarranger/croputils.py:343 msgid "Insert Blank Page" msgstr "Sisipkan Halaman Kosong" #: pdfarranger/exporter.py:119 msgid "Warning" msgstr "Peringatan" #: pdfarranger/exporter.py:124 msgid "Forms and outlines are lost on saving." msgstr "Formulir dan garis besar hilang saat disimpan." #: pdfarranger/exporter.py:126 msgid "Do not show this dialog again." msgstr "Jangan tampilkan dialog ini lagi." #: pdfarranger/metadata.py:40 msgid "Title" msgstr "Judul" #: pdfarranger/metadata.py:41 msgid "Subject" msgstr "Subjek" #: pdfarranger/metadata.py:42 msgid "Keywords" msgstr "Kata kunci" #: pdfarranger/metadata.py:43 msgid "Producer" msgstr "Produser" #: pdfarranger/metadata.py:44 msgid "Creator" msgstr "Pembuat" #: pdfarranger/metadata.py:45 msgid "Creator tool" msgstr "Alat pembuat" #: pdfarranger/metadata.py:46 msgid "Created" msgstr "Dibuat" #: pdfarranger/metadata.py:47 msgid "Modified" msgstr "Diubah" #: pdfarranger/metadata.py:151 msgid "Invalid date format. Input discarded." msgstr "Format tanggal tidak valid. Masukan dibatalkan." #: pdfarranger/metadata.py:180 msgid "Edit properties" msgstr "Sunting properti" #: pdfarranger/metadata.py:194 msgid "Property" msgstr "Properti" #: pdfarranger/metadata.py:194 msgid "Value" msgstr "Nilai" #: pdfarranger/pdfarranger.py:421 msgid "All supported files" msgstr "Semua berkas yang didukung" #: pdfarranger/pdfarranger.py:425 msgid "PDF files" msgstr "Berkas PDF" #: pdfarranger/pdfarranger.py:432 msgid "All files" msgstr "Semua berkas" #: pdfarranger/pdfarranger.py:437 msgid "Supported image files" msgstr "Berkas gambar yang didukung" #: pdfarranger/pdfarranger.py:728 msgid "untitled" msgstr "tidak ada judul" #: pdfarranger/pdfarranger.py:865 msgid "Save changes to “{}” before closing?" msgstr "Simpan perubahan ke “{}” sebelum menutup?" #: pdfarranger/pdfarranger.py:867 msgid "Save changes before closing?" msgstr "Simpan perubahan sebelum menutup?" #: pdfarranger/pdfarranger.py:869 msgid "Your changes will be lost if you don’t save them." msgstr "Perubahan yang Anda buat akan hilang jika Anda tidak menyimpannya." #: pdfarranger/pdfarranger.py:870 msgid "Do_n’t Save" msgstr "Ja_ngan Simpan" #: pdfarranger/pdfarranger.py:870 msgid "_Cancel" msgstr "_Batal" #: pdfarranger/pdfarranger.py:870 data/menu.ui:36 msgid "_Save" msgstr "_Simpan" #: pdfarranger/pdfarranger.py:920 msgid "Export…" msgstr "Ekspor…" #: pdfarranger/pdfarranger.py:1030 msgid "Import…" msgstr "Impor…" #: pdfarranger/pdfarranger.py:1137 msgid "Pasted data not valid. Aborting paste." msgstr "Data yang ditempelkan tidak valid. Membatalkan penempelan." #: pdfarranger/pdfarranger.py:1238 msgid "PDF document is damaged" msgstr "Dokumen PDF rusak" #: pdfarranger/pdfarranger.py:2067 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" "%s adalah alat untuk menata ulang dan memodifikasi berkas PDF. Dikembangkan " "menggunakan GTK+ dan Python" #: pdfarranger/pdfarranger.py:2070 #, python-format msgid "(%s uses libqpdf %s and pikepdf %s)" msgstr "(%s menggunakan libqpdf %s dan pikepdf %s)" #: pdfarranger/pdfarranger.py:2072 msgid "Maintainers and contributors" msgstr "Pengelola dan kontributor" #: pdfarranger/pdfarranger.py:2077 msgid "GNU General Public License (GPL) Version 3." msgstr "GNU General Public License (GPL) Versi 3." #: pdfarranger/pdfarranger.py:2105 msgid "Selected pages: " msgstr "Halaman terpilih: " #: pdfarranger/pdfarranger.py:2110 msgid "Page Size:" msgstr "Ukuran Halaman:" #: pdfarranger/splitter.py:26 msgid "Split Pages" msgstr "Pecah Halaman" #: pdfarranger/splitter.py:58 msgid "Columns" msgstr "Kolom" #: pdfarranger/splitter.py:58 msgid "Rows" msgstr "Baris" #: pdfarranger/splitter.py:59 msgid "Vertical Splits" msgstr "Pecah Vertikal" #: pdfarranger/splitter.py:59 msgid "Horizontal Splits" msgstr "Pecah Horizontal" #: pdfarranger/splitter.py:60 msgid "Equal column width" msgstr "Sama dengan lebar kolom" #: pdfarranger/splitter.py:60 msgid "Equal row height" msgstr "Sama dengan tinggi baris" #: pdfarranger/splitter.py:85 msgid "#Col" msgstr "#Kol" #: pdfarranger/splitter.py:85 msgid "#Row" msgstr "#Bar" #: pdfarranger/splitter.py:86 msgid "Width in %" msgstr "Lebar dalam %" #: pdfarranger/splitter.py:86 msgid "Height in %" msgstr "Tinggi dalam %" #: data/pdfarranger.ui.h:1 msgid "Open a file and append it to the current document" msgstr "Buka berkas dan tambahkan ke dokumen saat ini" #: data/pdfarranger.ui.h:2 msgid "Save" msgstr "Simpan" #: data/pdfarranger.ui.h:3 msgid "Save As" msgstr "Simpan Sebagai" #: data/pdfarranger.ui.h:4 msgid "Number of Pages" msgstr "Jumlah Halaman" #: data/pdfarranger.ui.h:5 msgid "Main Menu" msgstr "Menu Utama" #: data/pdfarranger.ui.h:6 msgid "Zoom In" msgstr "Zoom Perbesar" #: data/pdfarranger.ui.h:7 msgid "Zoom Out" msgstr "Zoom Perkecil" #: data/pdfarranger.ui.h:8 msgid "Rotate Left" msgstr "Putar ke Kiri" #: data/pdfarranger.ui.h:9 msgid "Rotate Right" msgstr "Putar ke Kanan" #: data/menu.ui.h:1 msgid "_Import" msgstr "_Impor" #: data/menu.ui.h:2 msgid "_New Window" msgstr "Je_ndela Baru" #: data/menu.ui.h:4 msgid "Save _As…" msgstr "Simp_an Sebagai…" #: data/menu.ui.h:5 msgid "E_xport" msgstr "E_kspor" #: data/menu.ui.h:6 msgid "E_xport Selection to a Single File…" msgstr "_Ekspor Terpilih ke Sebuah Berkas Tunggal…" #: data/menu.ui.h:7 msgid "Export Selection to _Individual Files…" msgstr "Ekspor Terpilih ke _Masing-masing Berkas…" #: data/menu.ui.h:8 msgid "Export _All Pages to Individual Files…" msgstr "Ekspor Semu_a Halaman menjadi Masing-masing Berkas…" #: data/menu.ui.h:9 msgid "_Undo" msgstr "_Batalkan Tindakan Terakhir" #: data/menu.ui.h:10 msgid "_Redo" msgstr "_Mengulangi Tindakan Terakhir" #: data/menu.ui.h:11 msgid "_Edit" msgstr "_Sunting" #: data/menu.ui.h:12 msgid "Rotate _Left" msgstr "Putar ke K_iri" #: data/menu.ui.h:13 msgid "_Rotate Right" msgstr "Putar ke K_anan" #: data/menu.ui.h:14 msgid "_Page Format" msgstr "_Format Halaman" #: data/menu.ui.h:15 msgid "Crop White Borders" msgstr "Potong Tepian Berwarna Putih" #: data/menu.ui.h:16 msgid "_Delete" msgstr "_Hapus" #: data/menu.ui.h:17 msgid "Dupl_icate" msgstr "Gan_dakan" #: data/menu.ui.h:18 msgid "Re_verse Order" msgstr "_Balikkan Urutan" #: data/menu.ui.h:19 msgid "_Split Pages" msgstr "Pe_cah Halaman" #: data/menu.ui.h:20 msgid "_Grid Split" msgstr "Pecah_ Grid" #: data/menu.ui.h:21 msgid "Cu_t" msgstr "_Potong" #: data/menu.ui.h:22 msgid "_Copy" msgstr "_Salin" #: data/menu.ui.h:23 msgid "Paste _After" msgstr "Tempel Sete_lah" #: data/menu.ui.h:24 msgid "Paste _Before" msgstr "Tempel Se_belum" #: data/menu.ui.h:24 msgid "Paste As _Odd Pages" msgstr "Tempel Sebagai Halaman Ganj_il" #: data/menu.ui.h:25 msgid "Paste As _Even Pages" msgstr "Tempel Sebagai Halaman Ge_nap" #: data/menu.ui.h:27 msgid "Insert Blan_k Page" msgstr "Sisipkan Halaman _Kosong" #: data/menu.ui.h:27 msgid "Generate Booklet" msgstr "Membuat Buku Saku" #: data/menu.ui.h:28 msgid "_Select" msgstr "Pili_h" #: data/menu.ui.h:29 msgid "Select _All" msgstr "Pilih Semu_a" #: data/menu.ui.h:30 msgid "_Deselect All" msgstr "_Batal Pilih Semua" #: data/menu.ui.h:31 msgid "Select _Odd Pages" msgstr "Pilih Halaman Ganj_il" #: data/menu.ui.h:32 msgid "Select _Even Pages" msgstr "Pilih Halaman Ge_nap" #: data/menu.ui.h:33 msgid "All From _Same File" msgstr "Semua dari Berkas yang _Sama" #: data/menu.ui.h:34 msgid "Same Page _Format" msgstr "_Format Halaman yang Sama" #: data/menu.ui.h:35 msgid "_Invert Selection" msgstr "Pi_lih Sebaliknya" #: data/menu.ui.h:36 msgid "Zoom _In" msgstr "Zoom _Perbesar" #: data/menu.ui.h:37 msgid "Zoom _Out" msgstr "Z_oom Perkecil" #: data/menu.ui.h:38 msgid "Edit _Properties" msgstr "Sunting Prop_erti" #: data/menu.ui.h:39 msgid "_About" msgstr "Tent_ang" #: data/menu.ui.h:40 msgid "_Quit" msgstr "Kelua_r" #: data/menu.ui.h:41 msgid "Past_e Special" msgstr "Tempel Kh_usus" pdfarranger-1.8.2/po/is.po000066400000000000000000000274551416164621100154250ustar00rootroot00000000000000# Icelandic translation of PDF Arranger # Copyright (C) 2021 PDF Arranger # This file is distributed under the same license as the pdfarranger package. # # Sveinn í Felli , 2021. msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-10-31 13:42+0100\n" "PO-Revision-Date: 2021-10-31 14:17+0000\n" "Last-Translator: Sveinn í Felli \n" "Language-Team: Icelandic \n" "Language: is\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Lokalize 19.12.3\n" #: pdfarranger/core.py:85 msgid "page" msgstr "síða" #: pdfarranger/core.py:193 msgid "Password required" msgstr "Lykilorð nauðsynlegt" #: pdfarranger/core.py:204 msgid "The password will be remembered until you close PDF Arranger." msgstr "Lykilorðið er geymt þar til þú lokar PDF Arranger." #: pdfarranger/core.py:205 #, python-format msgid "" "The document “{}” is locked and requires a password before it can be opened." msgstr "Skjalið “{}” er læst, til að opna það þarf lykilorð." #: pdfarranger/core.py:215 msgid "Password" msgstr "Lykilorð" #: pdfarranger/core.py:266 pdfarranger/pdfarranger.py:1234 msgid "Unknown file format" msgstr "Óþekkt skráarsnið" #: pdfarranger/core.py:282 msgid "Image files are only supported with img2pdf" msgstr "Myndskrár eru einungis studdar í gegnum img2pdf" #: pdfarranger/core.py:304 msgid "Image format is not supported by img2pdf" msgstr "Myndskrársnið er ekki stutt af img2pdf" #: pdfarranger/core.py:306 pdfarranger/pdfarranger.py:1244 msgid "File is neither pdf nor image" msgstr "Skráin er hvorki PDF-skrá né mynd" #: pdfarranger/croputils.py:114 msgid "Scale factor" msgstr "Kvörðunargildi" #: pdfarranger/croputils.py:120 msgid "%" msgstr "%" #: pdfarranger/croputils.py:136 msgid "mm" msgstr "mm" #: pdfarranger/croputils.py:146 msgid "Left" msgstr "Vinstri" #: pdfarranger/croputils.py:146 msgid "Right" msgstr "Hægri" #: pdfarranger/croputils.py:146 msgid "Top" msgstr "Efst" #: pdfarranger/croputils.py:146 msgid "Bottom" msgstr "Neðst" #: pdfarranger/croputils.py:150 msgid "Crop Margins" msgstr "Skera utan af spássíum" #: pdfarranger/croputils.py:158 msgid "" "Cropping does not remove any content from the PDF file, it only hides it." msgstr "" "Utanskurður fjarlægir ekki neitt efni úr PDF-skránni, það er einungis falið." #: pdfarranger/croputils.py:167 msgid "% of width" msgstr "% af breidd" #: pdfarranger/croputils.py:167 msgid "% of height" msgstr "% af hæð" #: pdfarranger/croputils.py:214 msgid "Page format" msgstr "Blaðsíðusnið" #: pdfarranger/croputils.py:229 pdfarranger/croputils.py:233 #: pdfarranger/croputils.py:353 msgid "Width" msgstr "Breidd" #: pdfarranger/croputils.py:230 pdfarranger/croputils.py:234 #: pdfarranger/croputils.py:354 msgid "Height" msgstr "Hæð" #: pdfarranger/croputils.py:232 msgid "Relative" msgstr "Hlutfallslegt" #: pdfarranger/croputils.py:235 msgid "Page Size" msgstr "Blaðsíðustærð" #: pdfarranger/croputils.py:343 msgid "Insert Blank Page" msgstr "Setja inn auða síðu" #: pdfarranger/exporter.py:119 msgid "Warning" msgstr "Aðvörun" #: pdfarranger/exporter.py:124 msgid "Forms and outlines are lost on saving." msgstr "Útfyllingarform og efnisskipan tapast við vistun." #: pdfarranger/exporter.py:126 msgid "Do not show this dialog again." msgstr "Ekki sýna þennan glugga aftur." #: pdfarranger/metadata.py:40 msgid "Title" msgstr "Titill" #: pdfarranger/metadata.py:41 msgid "Subject" msgstr "Viðfangsefni" #: pdfarranger/metadata.py:42 msgid "Keywords" msgstr "Stikkorð" #: pdfarranger/metadata.py:43 msgid "Producer" msgstr "Framleiðandi" #: pdfarranger/metadata.py:44 msgid "Creator" msgstr "Höfundur" #: pdfarranger/metadata.py:45 msgid "Creator tool" msgstr "Verkfæri fyrir hönnuði" #: pdfarranger/metadata.py:46 msgid "Created" msgstr "Búið til" #: pdfarranger/metadata.py:47 msgid "Modified" msgstr "Breytt" #: pdfarranger/metadata.py:151 msgid "Invalid date format. Input discarded." msgstr "Ógilt dagsetningasnið. Inntaki hent." #: pdfarranger/metadata.py:180 msgid "Edit properties" msgstr "Breyta eiginleikum" #: pdfarranger/metadata.py:194 msgid "Property" msgstr "Eiginleiki" #: pdfarranger/metadata.py:194 msgid "Value" msgstr "Gildi" #: pdfarranger/pdfarranger.py:271 msgid "" "PDF Arranger is a small python-gtk application, which helps the user to " "merge or split pdf documents and rotate, crop and rearrange their pages " "using an interactive and intuitive graphical interface. It is a frontend for " "pikepdf." msgstr "" "PDF Arranger er lítið python-gtk forrit, sem hjálpar notandanum að sameina " "eða skipta upp PDF-skjölum, snúa síðum eða skera utan af þeim, allt í " "gagnvirku og auðveldu myndrænu viðmóti. Það er í grunninn aðgangsviðmót " "fyrir pikepdf." #: pdfarranger/pdfarranger.py:282 msgid "Print the version of PDF Arranger and exit" msgstr "Birta upplýsingar um PDF Arranger og hætta" #: pdfarranger/pdfarranger.py:290 msgid "File(s) to open" msgstr "Skrá(r) til að opna" #: pdfarranger/pdfarranger.py:395 msgid "All pages must have the same size." msgstr "Allar síður verða að hafa sömu stærð." #: pdfarranger/pdfarranger.py:421 msgid "All supported files" msgstr "Allar studdar skrár" #: pdfarranger/pdfarranger.py:425 msgid "PDF files" msgstr "PDF-skrár" #: pdfarranger/pdfarranger.py:432 msgid "All files" msgstr "Allar skrár" #: pdfarranger/pdfarranger.py:437 msgid "Supported image files" msgstr "Studdar myndskrár" #: pdfarranger/pdfarranger.py:634 msgid "Rendering…" msgstr "Myndgeri…" #: pdfarranger/pdfarranger.py:728 msgid "untitled" msgstr "ónefnt" #: pdfarranger/pdfarranger.py:865 #, python-format msgid "Save changes to “{}” before closing?" msgstr "Vista breytingar á '{}' áður en lokað er?" #: pdfarranger/pdfarranger.py:867 msgid "Save changes before closing?" msgstr "Vista breytingar áður en lokað er?" #: pdfarranger/pdfarranger.py:869 msgid "Your changes will be lost if you don’t save them." msgstr "Breytingarnar þínar tapast ef þú vistar þær ekki." #: pdfarranger/pdfarranger.py:870 msgid "Do_n’t Save" msgstr "E_kki vista" #: pdfarranger/pdfarranger.py:870 msgid "_Cancel" msgstr "_Hætta við" #: pdfarranger/pdfarranger.py:870 data/menu.ui.h:3 msgid "_Save" msgstr "Vi_sta" #: pdfarranger/pdfarranger.py:920 msgid "Export…" msgstr "Flytja út…" #: pdfarranger/pdfarranger.py:1030 msgid "Import…" msgstr "Flytja inn…" #: pdfarranger/pdfarranger.py:1137 msgid "Pasted data not valid. Aborting paste." msgstr "Límd gögn ekki gild. Hætti við límingu." #: pdfarranger/pdfarranger.py:1238 msgid "PDF document is damaged" msgstr "PDF-skjal er skemmt" #: pdfarranger/pdfarranger.py:2067 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" "%s er verkfæri til að endurraða og breyta PDF-skrám. Þróað með GTK+ og Python" #: pdfarranger/pdfarranger.py:2070 #, python-format msgid "(%s uses libqpdf %s and pikepdf %s)" msgstr "(%s notar libqpdf %s og pikepdf %s)" #: pdfarranger/pdfarranger.py:2072 msgid "Maintainers and contributors" msgstr "Höfundar og önnur framlög" #: pdfarranger/pdfarranger.py:2077 msgid "GNU General Public License (GPL) Version 3." msgstr "GNU General Public notkunarleyfið útgáfa 3." #: pdfarranger/pdfarranger.py:2105 msgid "Selected pages: " msgstr "Valdar síður:" #: pdfarranger/pdfarranger.py:2110 msgid "Page Size:" msgstr "Blaðsíðustærð:" #: pdfarranger/splitter.py:26 msgid "Split Pages" msgstr "Kljúfa síður" #: pdfarranger/splitter.py:58 msgid "Columns" msgstr "Dálkar" #: pdfarranger/splitter.py:58 msgid "Rows" msgstr "Raðir" #: pdfarranger/splitter.py:59 msgid "Vertical Splits" msgstr "Klofið lóðrétt" #: pdfarranger/splitter.py:59 msgid "Horizontal Splits" msgstr "Klofið lárétt" #: pdfarranger/splitter.py:60 msgid "Equal column width" msgstr "Jöfn breidd dálka" #: pdfarranger/splitter.py:60 msgid "Equal row height" msgstr "Jöfn hæð raða" #: pdfarranger/splitter.py:85 msgid "#Col" msgstr "#Dál" #: pdfarranger/splitter.py:85 msgid "#Row" msgstr "#Rað" #: pdfarranger/splitter.py:86 msgid "Width in %" msgstr "Breidd í %" #: pdfarranger/splitter.py:86 msgid "Height in %" msgstr "Hæð í %" #: data/pdfarranger.ui.h:1 msgid "Open a file and append it to the current document" msgstr "Opnaðu skrá og bættu því aftan við fyrirliggjandi skjal" #: data/pdfarranger.ui.h:2 msgid "Save" msgstr "Vista" #: data/pdfarranger.ui.h:3 msgid "Save As" msgstr "Vista sem" #: data/pdfarranger.ui.h:4 msgid "Number of Pages" msgstr "Fjöldi síðna" #: data/pdfarranger.ui.h:5 msgid "Main Menu" msgstr "Aðalvalmynd" #: data/pdfarranger.ui.h:6 msgid "Zoom In" msgstr "Renna að" #: data/pdfarranger.ui.h:7 msgid "Zoom Out" msgstr "Renna frá" #: data/pdfarranger.ui.h:8 msgid "Rotate Left" msgstr "Snúa til vinstri" #: data/pdfarranger.ui.h:9 msgid "Rotate Right" msgstr "Snúa til hægri" #: data/menu.ui.h:1 msgid "_Import" msgstr "Flytja _inn" #: data/menu.ui.h:2 msgid "_New Window" msgstr "_Nýr gluggi" #: data/menu.ui.h:4 msgid "Save _As…" msgstr "Vist_a sem..." #: data/menu.ui.h:5 msgid "E_xport" msgstr "Fl_ytja út" #: data/menu.ui.h:6 msgid "E_xport Selection to a Single File…" msgstr "Fl_ytja út valið í eina skrá…" #: data/menu.ui.h:7 msgid "Export Selection to _Individual Files…" msgstr "Flyt_ja út valið í stakar skrár…" #: data/menu.ui.h:8 msgid "Export _All Pages to Individual Files…" msgstr "Flytja út _allar síður í stakar skrár…" #: data/menu.ui.h:9 msgid "_Undo" msgstr "Aft_urkalla" #: data/menu.ui.h:10 msgid "_Redo" msgstr "Endu_rtaka" #: data/menu.ui.h:11 msgid "_Edit" msgstr "Br_eyta" #: data/menu.ui.h:12 msgid "Rotate _Left" msgstr "Snúa til _vinstri" #: data/menu.ui.h:13 msgid "_Rotate Right" msgstr "Snúa til _hægri" #: data/menu.ui.h:14 msgid "_Page Format" msgstr "_Blaðsíðusnið" #: data/menu.ui.h:15 msgid "Crop White Borders" msgstr "Skera af hvíta jaðra" #: data/menu.ui.h:16 msgid "_Delete" msgstr "_Eyða" #: data/menu.ui.h:17 msgid "Dupl_icate" msgstr "Tvíta_ka" #: data/menu.ui.h:18 msgid "Re_verse Order" msgstr "Öfu_g röð" #: data/menu.ui.h:19 msgid "_Split Pages" msgstr "_Kljúfa síður" #: data/menu.ui.h:20 msgid "Cu_t" msgstr "_Klippa" #: data/menu.ui.h:21 msgid "_Copy" msgstr "A_frita" #: data/menu.ui.h:22 msgid "Paste _After" msgstr "Lím_a á eftir" #: data/menu.ui.h:23 msgid "Paste _Before" msgstr "Lí_ma á undan" #: data/menu.ui.h:24 msgid "Paste As _Odd Pages" msgstr "Líma sem _oddatölusíður" #: data/menu.ui.h:25 msgid "Paste As _Even Pages" msgstr "Líma s_em jafntölusíður" #: data/menu.ui.h:26 msgid "Insert Blan_k Page" msgstr "Set_ja inn auða síðu" #: data/menu.ui.h:27 msgid "Generate Booklet" msgstr "Útbúa bækling" #: data/menu.ui.h:28 msgid "_Select" msgstr "_Velja" #: data/menu.ui.h:29 msgid "Select _All" msgstr "Velja _allt" #: data/menu.ui.h:30 msgid "_Deselect All" msgstr "A_fvelja allt" #: data/menu.ui.h:31 msgid "Select _Odd Pages" msgstr "Velja _oddatölusíður" #: data/menu.ui.h:32 msgid "Select _Even Pages" msgstr "V_elja jafntölusíður" #: data/menu.ui.h:33 msgid "All From _Same File" msgstr "Allt úr _sömu skrá" #: data/menu.ui.h:34 msgid "Same Page _Format" msgstr "Sama _blaðsíðusnið" #: data/menu.ui.h:35 msgid "_Invert Selection" msgstr "Snúa vali v_ið" #: data/menu.ui.h:36 msgid "Zoom _In" msgstr "Renna _að" #: data/menu.ui.h:37 msgid "Zoom _Out" msgstr "Renna _frá" #: data/menu.ui.h:38 msgid "Edit _Properties" msgstr "_Breyta eiginleikum" #: data/menu.ui.h:39 msgid "_About" msgstr "_Um hugbúnaðinn" #: data/menu.ui.h:40 msgid "_Quit" msgstr "_Hætta" #: data/menu.ui.h:41 msgid "Past_e Special" msgstr "Sérstök _líming" pdfarranger-1.8.2/po/it.po000066400000000000000000000252571416164621100154240ustar00rootroot00000000000000# Italian translation of pdfarranger # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the pdfarranger package. # msgid "" msgstr "" "Project-Id-Version: pdfarranger master\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-12-29 17:35+0100\n" "PO-Revision-Date: 2021-01-23 13:54+0200\n" "Last-Translator: Albano Battistella \n" "Language-Team: it\n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 2.3.1\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: pdfarranger/core.py:80 msgid "page" msgstr "pagina" #: pdfarranger/core.py:175 msgid "Password required" msgstr "Password richiesta" #: pdfarranger/core.py:186 msgid "The password will be remembered until you close PDF Arranger." msgstr "La password verrà ricordata fino alla chiusura di PDF Arranger." #: pdfarranger/core.py:187 msgid "" "The document “{}” is locked and requires a password before it can be opened." msgstr "" "Il documento “{}” è bloccato e richiede una password prima di poter essere " "aperto." #: pdfarranger/core.py:197 msgid "Password" msgstr "Password" #: pdfarranger/core.py:241 pdfarranger/pdfarranger.py:989 msgid "Unknown file format" msgstr "Formato file sconosciuto" #: pdfarranger/core.py:256 msgid "Image files are only supported with img2pdf" msgstr "I file di immagine sono supportati solo con img2pdf" #: pdfarranger/core.py:278 msgid "Image format is not supported by img2pdf" msgstr "Il formato dell'immagine non è supportato da img2pdf" #: pdfarranger/core.py:280 pdfarranger/pdfarranger.py:999 msgid "File is neither pdf nor image" msgstr "Il file non è un pdf o una immagine" #: pdfarranger/croputils.py:113 msgid "Scale factor" msgstr "Fattore di scala" #: pdfarranger/croputils.py:119 msgid "%" msgstr "%" #: pdfarranger/croputils.py:135 msgid "mm" msgstr "mm" #: pdfarranger/croputils.py:145 msgid "Left" msgstr "Sinistra" #: pdfarranger/croputils.py:145 msgid "Right" msgstr "Destra" #: pdfarranger/croputils.py:145 msgid "Top" msgstr "Alto" #: pdfarranger/croputils.py:145 msgid "Bottom" msgstr "Basso" #: pdfarranger/croputils.py:149 msgid "Crop Margins" msgstr "Taglia margini" #: pdfarranger/croputils.py:157 msgid "" "Cropping does not remove any content from the PDF file, it only hides it." msgstr "" "Il ritaglio non rimuove alcun contenuto dal file PDF, lo nasconde solo." #: pdfarranger/croputils.py:166 #, python-format msgid "% of width" msgstr "% in larghezza" #: pdfarranger/croputils.py:166 #, python-format msgid "% of height" msgstr "% in altezza" #: pdfarranger/croputils.py:210 msgid "Page format" msgstr "Formato pagina" #: pdfarranger/croputils.py:225 pdfarranger/croputils.py:229 #: pdfarranger/croputils.py:338 msgid "Width" msgstr "Larghezza" #: pdfarranger/croputils.py:226 pdfarranger/croputils.py:230 #: pdfarranger/croputils.py:339 msgid "Height" msgstr "Altezza" #: pdfarranger/croputils.py:228 msgid "Relative" msgstr "Genitore" #: pdfarranger/croputils.py:231 msgid "Page Size" msgstr "Dimensione Pagina" #: pdfarranger/croputils.py:328 msgid "Insert Blank Page" msgstr "Inserisci pagina vuota" #: pdfarranger/exporter.py:106 msgid "Warning" msgstr "Attenzione" #: pdfarranger/exporter.py:111 msgid "Forms and outlines are lost on saving." msgstr "Moduli e contorni vengono persi durante il salvataggio." #: pdfarranger/exporter.py:113 msgid "Do not show this dialog again." msgstr "Non mostrare più questo messaggio." #: pdfarranger/metadata.py:40 msgid "Title" msgstr "Titolo" #: pdfarranger/metadata.py:41 msgid "Subject" msgstr "Soggetto" #: pdfarranger/metadata.py:42 msgid "Keywords" msgstr "Parole chiave" #: pdfarranger/metadata.py:43 msgid "Producer" msgstr "Produttore" #: pdfarranger/metadata.py:44 msgid "Creator" msgstr "Creatore" #: pdfarranger/metadata.py:45 msgid "Creator tool" msgstr "Strumento di creazione" #: pdfarranger/metadata.py:46 msgid "Created" msgstr "Creato" #: pdfarranger/metadata.py:47 msgid "Modified" msgstr "Modificato" #: pdfarranger/metadata.py:150 msgid "Invalid date format. Input discarded." msgstr "Formato data non valido. Input scartato." #: pdfarranger/metadata.py:179 msgid "Edit properties" msgstr "Modifica proprietà" #: pdfarranger/metadata.py:192 msgid "Property" msgstr "Proprietà" #: pdfarranger/metadata.py:192 msgid "Value" msgstr "Valore" #: pdfarranger/pdfarranger.py:341 msgid "All supported files" msgstr "Tutti i file supportati" #: pdfarranger/pdfarranger.py:345 msgid "PDF files" msgstr "File PDF" #: pdfarranger/pdfarranger.py:352 msgid "All files" msgstr "Tutti i file" #: pdfarranger/pdfarranger.py:357 msgid "Supported image files" msgstr "File di immagine supportati" #: pdfarranger/pdfarranger.py:531 msgid "untitled" msgstr "Senza titolo" #: pdfarranger/pdfarranger.py:625 msgid "Save changes to “{}” before closing?" msgstr "Salvare le modifiche apportate a “{}”prima di chiudere?" #: pdfarranger/pdfarranger.py:627 msgid "Save changes before closing?" msgstr "Salvare le modifiche prima di chiudere?" #: pdfarranger/pdfarranger.py:629 msgid "Your changes will be lost if you don’t save them." msgstr "Le modifiche andranno perse se non le salvi." #: pdfarranger/pdfarranger.py:630 msgid "Do_n’t Save" msgstr "_Non salvare" #: pdfarranger/pdfarranger.py:630 msgid "_Cancel" msgstr "_Annulla" #: pdfarranger/pdfarranger.py:630 data/menu.ui.h:3 msgid "_Save" msgstr "_Salva" #: pdfarranger/pdfarranger.py:671 msgid "Export…" msgstr "Esporta…" #: pdfarranger/pdfarranger.py:784 msgid "Import…" msgstr "Importa…" #: pdfarranger/pdfarranger.py:885 msgid "Pasted data not valid. Aborting paste." msgstr "Dati incollati non validi. Incolla annullato." #: pdfarranger/pdfarranger.py:993 msgid "PDF document is damaged" msgstr "Il documento PDF è danneggiato" #: pdfarranger/pdfarranger.py:1794 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" "%s è uno strumento per riordinare e modificare file PDF. Sviluppato con GTK+ " "e Python" #: pdfarranger/pdfarranger.py:1797 msgid "Maintainers and contributors" msgstr "Manutentori e collaboratori" #: pdfarranger/pdfarranger.py:1801 msgid "GNU General Public License (GPL) Version 3." msgstr "GNU General Public License (GPL) Version 3." #: pdfarranger/pdfarranger.py:1829 msgid "Selected pages: " msgstr "Pagine selezionate: " #: pdfarranger/splitter.py:26 msgid "Grid splitting" msgstr "Divisione della griglia" #: pdfarranger/splitter.py:58 msgid "Columns" msgstr "Colonne" #: pdfarranger/splitter.py:58 msgid "Rows" msgstr "Righe" #: pdfarranger/splitter.py:59 msgid "Vertical Splits" msgstr "Divisioni verticali" #: pdfarranger/splitter.py:59 msgid "Horizontal Splits" msgstr "Divisioni orizzontali" #: pdfarranger/splitter.py:60 msgid "Equal column width" msgstr "Uguale larghezza della colonna" #: pdfarranger/splitter.py:60 msgid "Equal row height" msgstr "Altezza della riga uguale" #: pdfarranger/splitter.py:85 msgid "#Col" msgstr "Col" #: pdfarranger/splitter.py:85 msgid "#Row" msgstr "Rig" #: pdfarranger/splitter.py:86 msgid "Width in %" msgstr "Larghezza in %" #: pdfarranger/splitter.py:86 msgid "Height in %" msgstr "Altezza in %" #: data/pdfarranger.ui.h:1 msgid "Open a file and append it to the current document" msgstr "Apri un file e aggiungilo al documento corrente" #: data/pdfarranger.ui.h:2 msgid "Save" msgstr "Salva" #: data/pdfarranger.ui.h:3 msgid "Save As" msgstr "Salva come" #: data/pdfarranger.ui.h:4 msgid "Number of Pages" msgstr "Numero di Pagine" #: data/pdfarranger.ui.h:5 msgid "Main Menu" msgstr "Menù Principale" #: data/pdfarranger.ui.h:6 msgid "Zoom In" msgstr "Zoom avanti" #: data/pdfarranger.ui.h:7 msgid "Zoom Out" msgstr "Zoom indietro" #: data/pdfarranger.ui.h:8 msgid "Rotate Left" msgstr "Ruota a sinistra" #: data/pdfarranger.ui.h:9 msgid "Rotate Right" msgstr "Ruota a destra" #: data/menu.ui.h:1 msgid "_Import" msgstr "_Importa" #: data/menu.ui.h:2 msgid "_New Window" msgstr "_Nuova finestra" #: data/menu.ui.h:4 msgid "Save _As…" msgstr "Save _come…" #: data/menu.ui.h:5 msgid "E_xport" msgstr "E_sporta" #: data/menu.ui.h:6 msgid "E_xport Selection to a Single File…" msgstr "E_xporta selezione in un singolo file ..." #: data/menu.ui.h:7 msgid "Export Selection to _Individual Files…" msgstr "Esporta selezione in _File individuali..." #: data/menu.ui.h:8 msgid "Export _All Pages to Individual Files…" msgstr "Esporta _Tutte le pagine in singoli file..." #: data/menu.ui.h:9 msgid "_Undo" msgstr "_Annulla" #: data/menu.ui.h:10 msgid "_Redo" msgstr "_Ripristina" #: data/menu.ui.h:11 msgid "_Edit" msgstr "_Modifica" #: data/menu.ui.h:12 msgid "Rotate _Left" msgstr "Ruota a _sinistra" #: data/menu.ui.h:13 msgid "_Rotate Right" msgstr "Ruota a _destra" #: data/menu.ui.h:14 msgid "_Page Format" msgstr "_Formato pagina" #: data/menu.ui.h:15 msgid "Crop White Borders" msgstr "Ritaglia i bordi bianchi" #: data/menu.ui.h:16 msgid "_Delete" msgstr "_Elimina" #: data/menu.ui.h:17 msgid "Dupl_icate" msgstr "D_uplica" #: data/menu.ui.h:18 msgid "Re_verse Order" msgstr "_Inverti Ordine" #: data/menu.ui.h:19 msgid "_Split Pages" msgstr "Di_vidi pagine" #: data/menu.ui.h:20 msgid "_Grid Split" msgstr "_Dividi Griglia" #: data/menu.ui.h:21 msgid "Cu_t" msgstr "_Taglia" #: data/menu.ui.h:22 msgid "_Copy" msgstr "_Copia" #: data/menu.ui.h:23 msgid "Paste _After" msgstr "Incolla _prima" #: data/menu.ui.h:24 msgid "Paste _Before" msgstr "Incolla _dopo" #: data/menu.ui.h:25 msgid "Paste Interleave _Odd" msgstr "Incolla inserendo pagine _dispari" #: data/menu.ui.h:26 msgid "Paste Interleave _Even" msgstr "Incolla inserendo pagine _pari" #: data/menu.ui.h:27 msgid "Insert Blan_k Page" msgstr "Inserisci pagin_a vuota" #: data/menu.ui.h:28 msgid "_Select" msgstr "_Seleziona" #: data/menu.ui.h:29 msgid "Select _All" msgstr "Seleziona _Tutto" #: data/menu.ui.h:30 msgid "_Deselect All" msgstr "_Deseleziona Tutto" #: data/menu.ui.h:31 msgid "Select _Odd Pages" msgstr "Seleziona _Pagine dispari" #: data/menu.ui.h:32 msgid "Select _Even Pages" msgstr "Seleziona _Pagine pari" #: data/menu.ui.h:33 msgid "All From _Same File" msgstr "Tutto dallo _stesso file" #: data/menu.ui.h:34 msgid "Same Page _Format" msgstr "Stesso formato_di pagina" #: data/menu.ui.h:35 msgid "_Invert Selection" msgstr "_Inverti Selezione" #: data/menu.ui.h:36 msgid "Zoom _In" msgstr "Zoom _avanti" #: data/menu.ui.h:37 msgid "Zoom _Out" msgstr "Zoom _indietro" #: data/menu.ui.h:38 msgid "Edit _Properties" msgstr "Modifica _proprietà" #: data/menu.ui.h:39 msgid "_About" msgstr "Informazioni _su" #: data/menu.ui.h:40 msgid "_Quit" msgstr "_Esci" #: data/menu.ui.h:41 msgid "Past_e Special" msgstr "Incolla Specia_le" pdfarranger-1.8.2/po/ja.po000066400000000000000000000320761416164621100153770ustar00rootroot00000000000000# Japanese translation for pdfarranger. # Copyright (C) 2008-2017 Konstantinos Poulios # Copyright (C) 2018-2021 pdfarranger's COPYRIGHT HOLDER # This file is distributed under the same license as the pdfarranger package. # Toshiharu Kudoh , 2010. # sicklylife , 2019-2021. # msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-10-31 13:42+0100\n" "PO-Revision-Date: 2021-11-08 21:20+0900\n" "Last-Translator: sicklylife \n" "Language-Team: Japanese\n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" #: pdfarranger/core.py:85 msgid "page" msgstr "ページ" #: pdfarranger/core.py:193 msgid "Password required" msgstr "パスワードが必要です" #: pdfarranger/core.py:204 msgid "The password will be remembered until you close PDF Arranger." msgstr "パスワードは PDF Arranger を閉じるまで記憶されます。" #: pdfarranger/core.py:205 #, python-format msgid "" "The document “{}” is locked and requires a password before it can be opened." msgstr "ロックされているドキュメント“{}”を開くにはパスワードが必要です。" #: pdfarranger/core.py:215 msgid "Password" msgstr "パスワード" #: pdfarranger/core.py:266 pdfarranger/pdfarranger.py:1234 msgid "Unknown file format" msgstr "不明なファイル形式です" #: pdfarranger/core.py:282 msgid "Image files are only supported with img2pdf" msgstr "画像ファイルは img2pdf でのみサポートしています" #: pdfarranger/core.py:304 msgid "Image format is not supported by img2pdf" msgstr "img2pdf がサポートしていない画像形式です" #: pdfarranger/core.py:306 pdfarranger/pdfarranger.py:1244 msgid "File is neither pdf nor image" msgstr "ファイルが PDF でも画像でもありません" #: pdfarranger/croputils.py:114 msgid "Scale factor" msgstr "倍率" #: pdfarranger/croputils.py:120 msgid "%" msgstr "%" #: pdfarranger/croputils.py:136 msgid "mm" msgstr "mm" #: pdfarranger/croputils.py:146 msgid "Left" msgstr "左" #: pdfarranger/croputils.py:146 msgid "Right" msgstr "右" #: pdfarranger/croputils.py:146 msgid "Top" msgstr "上" #: pdfarranger/croputils.py:146 msgid "Bottom" msgstr "下" #: pdfarranger/croputils.py:150 msgid "Crop Margins" msgstr "余白のトリミング" #: pdfarranger/croputils.py:158 msgid "" "Cropping does not remove any content from the PDF file, it only hides it." msgstr "" "トリミングは PDF ファイルから内容自体は削除せずに、指定部分を見えなくします。" #: pdfarranger/croputils.py:167 msgid "% of width" msgstr "% (幅)" #: pdfarranger/croputils.py:167 msgid "% of height" msgstr "% (高さ)" #: pdfarranger/croputils.py:214 msgid "Page format" msgstr "ページのフォーマット" #: pdfarranger/croputils.py:229 pdfarranger/croputils.py:233 #: pdfarranger/croputils.py:353 msgid "Width" msgstr "幅" #: pdfarranger/croputils.py:230 pdfarranger/croputils.py:234 #: pdfarranger/croputils.py:354 msgid "Height" msgstr "高さ" #: pdfarranger/croputils.py:232 msgid "Relative" msgstr "比率" #: pdfarranger/croputils.py:235 msgid "Page Size" msgstr "ページサイズ" #: pdfarranger/croputils.py:343 msgid "Insert Blank Page" msgstr "空白ページを挿入" #: pdfarranger/exporter.py:119 msgid "Warning" msgstr "警告" #: pdfarranger/exporter.py:124 msgid "Forms and outlines are lost on saving." msgstr "フォームとアウトラインは保存時に失われます。" #: pdfarranger/exporter.py:126 msgid "Do not show this dialog again." msgstr "今後このダイアログを表示しない" #: pdfarranger/metadata.py:40 msgid "Title" msgstr "タイトル" #: pdfarranger/metadata.py:41 msgid "Subject" msgstr "サブタイトル" #: pdfarranger/metadata.py:42 msgid "Keywords" msgstr "キーワード" #: pdfarranger/metadata.py:43 msgid "Producer" msgstr "変換" #: pdfarranger/metadata.py:44 msgid "Creator" msgstr "作成" #: pdfarranger/metadata.py:45 msgid "Creator tool" msgstr "作成ツール" #: pdfarranger/metadata.py:46 msgid "Created" msgstr "作成日時" #: pdfarranger/metadata.py:47 msgid "Modified" msgstr "更新日時" #: pdfarranger/metadata.py:151 msgid "Invalid date format. Input discarded." msgstr "日付の書式が正しくありません。破棄します。" #: pdfarranger/metadata.py:180 msgid "Edit properties" msgstr "プロパティを編集" #: pdfarranger/metadata.py:194 msgid "Property" msgstr "プロパティ" #: pdfarranger/metadata.py:194 msgid "Value" msgstr "値" #: pdfarranger/pdfarranger.py:271 msgid "" "PDF Arranger is a small python-gtk application, which helps the user to " "merge or split pdf documents and rotate, crop and rearrange their pages " "using an interactive and intuitive graphical interface. It is a frontend for " "pikepdf." msgstr "" "PDF Arranger は対話的かつ直感的なグラフィカルインターフェイスで PDF の分割や" "結合、ページの回転・トリミング・入れ替えを行うことができる、pikepdf のフロン" "トエンドとして動作する小さな python-gtk アプリケーションです。" #: pdfarranger/pdfarranger.py:282 msgid "Print the version of PDF Arranger and exit" msgstr "PDF Arranger のバージョンを表示して終了する" #: pdfarranger/pdfarranger.py:290 msgid "File(s) to open" msgstr "開くファイル" #: pdfarranger/pdfarranger.py:395 msgid "All pages must have the same size." msgstr "すべてのページが同じサイズである必要があります。" #: pdfarranger/pdfarranger.py:421 msgid "All supported files" msgstr "サポートしているすべてのファイル" #: pdfarranger/pdfarranger.py:425 msgid "PDF files" msgstr "PDF ファイル" #: pdfarranger/pdfarranger.py:432 msgid "All files" msgstr "すべてのファイル" #: pdfarranger/pdfarranger.py:437 msgid "Supported image files" msgstr "サポートしている画像ファイル" #: pdfarranger/pdfarranger.py:634 msgid "Rendering…" msgstr "描画中…" #: pdfarranger/pdfarranger.py:728 msgid "untitled" msgstr "タイトルなし" #: pdfarranger/pdfarranger.py:865 #, python-format msgid "Save changes to “{}” before closing?" msgstr "閉じる前に変更内容を“{}”に保存しますか?" #: pdfarranger/pdfarranger.py:867 msgid "Save changes before closing?" msgstr "閉じる前に変更内容を保存しますか?" #: pdfarranger/pdfarranger.py:869 msgid "Your changes will be lost if you don’t save them." msgstr "保存しないと変更内容は失われます。" #: pdfarranger/pdfarranger.py:870 msgid "Do_n’t Save" msgstr "保存しない(_N)" #: pdfarranger/pdfarranger.py:870 msgid "_Cancel" msgstr "キャンセル(_C)" #: pdfarranger/pdfarranger.py:870 data/menu.ui.h:3 msgid "_Save" msgstr "保存(_S)" #: pdfarranger/pdfarranger.py:920 msgid "Export…" msgstr "エクスポート…" #: pdfarranger/pdfarranger.py:1030 msgid "Import…" msgstr "インポート…" #: pdfarranger/pdfarranger.py:1137 msgid "Pasted data not valid. Aborting paste." msgstr "不正なデータが貼り付けられました。貼り付けを中止します。" #: pdfarranger/pdfarranger.py:1238 msgid "PDF document is damaged" msgstr "PDF 文書が破損しています" #: pdfarranger/pdfarranger.py:2067 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" "%s は PDF ファイルの内容の追加や削除、順序の入れ替えやその他のちょっとした変" "更を行うための、GTK+ と Python で作成されたツールです" #: pdfarranger/pdfarranger.py:2070 #, python-format msgid "(%s uses libqpdf %s and pikepdf %s)" msgstr "(%s は次を使用しています: libqpdf %s pikepdf %s)" #: pdfarranger/pdfarranger.py:2072 msgid "Maintainers and contributors" msgstr "メンテナーと貢献者" #: pdfarranger/pdfarranger.py:2077 msgid "GNU General Public License (GPL) Version 3." msgstr "GNU General Public License (GPL) Version 3." #: pdfarranger/pdfarranger.py:2105 msgid "Selected pages: " msgstr "選択したページ: " #: pdfarranger/pdfarranger.py:2110 msgid "Page Size:" msgstr "ページサイズ:" #: pdfarranger/splitter.py:26 msgid "Split Pages" msgstr "ページを分割" #: pdfarranger/splitter.py:58 msgid "Columns" msgstr "列" #: pdfarranger/splitter.py:58 msgid "Rows" msgstr "行" #: pdfarranger/splitter.py:59 msgid "Vertical Splits" msgstr "垂直分割" #: pdfarranger/splitter.py:59 msgid "Horizontal Splits" msgstr "水平分割" #: pdfarranger/splitter.py:60 msgid "Equal column width" msgstr "幅を均等にする" #: pdfarranger/splitter.py:60 msgid "Equal row height" msgstr "高さを均等にする" #: pdfarranger/splitter.py:85 msgid "#Col" msgstr "#列" #: pdfarranger/splitter.py:85 msgid "#Row" msgstr "#行" #: pdfarranger/splitter.py:86 msgid "Width in %" msgstr "幅 (%)" #: pdfarranger/splitter.py:86 msgid "Height in %" msgstr "高さ (%)" #: data/pdfarranger.ui.h:1 msgid "Open a file and append it to the current document" msgstr "ファイルを開いて現在のドキュメントに追加します" #: data/pdfarranger.ui.h:2 msgid "Save" msgstr "保存" #: data/pdfarranger.ui.h:3 msgid "Save As" msgstr "名前を付けて保存" #: data/pdfarranger.ui.h:4 msgid "Number of Pages" msgstr "ページ数" #: data/pdfarranger.ui.h:5 msgid "Main Menu" msgstr "メインメニュー" #: data/pdfarranger.ui.h:6 msgid "Zoom In" msgstr "拡大" #: data/pdfarranger.ui.h:7 msgid "Zoom Out" msgstr "縮小" #: data/pdfarranger.ui.h:8 msgid "Rotate Left" msgstr "左に回転" #: data/pdfarranger.ui.h:9 msgid "Rotate Right" msgstr "右に回転" #: data/menu.ui.h:1 msgid "_Import" msgstr "インポート(_I)" #: data/menu.ui.h:2 msgid "_New Window" msgstr "新しいウィンドウ(_N)" #: data/menu.ui.h:4 msgid "Save _As…" msgstr "名前を付けて保存(_A)…" #: data/menu.ui.h:5 msgid "E_xport" msgstr "エクスポート(_X)" #: data/menu.ui.h:6 msgid "E_xport Selection to a Single File…" msgstr "選択したものを単一のファイルにエクスポート(_X)…" #: data/menu.ui.h:7 msgid "Export Selection to _Individual Files…" msgstr "選択したものを個別のファイルにエクスポート(_I)…" #: data/menu.ui.h:8 msgid "Export _All Pages to Individual Files…" msgstr "すべてのページを個別のファイルにエクスポート(_A)…" #: data/menu.ui.h:9 msgid "_Undo" msgstr "元に戻す(_U)" #: data/menu.ui.h:10 msgid "_Redo" msgstr "やり直す(_R)" #: data/menu.ui.h:11 msgid "_Edit" msgstr "編集(_E)" #: data/menu.ui.h:12 msgid "Rotate _Left" msgstr "左に回転(_L)" #: data/menu.ui.h:13 msgid "_Rotate Right" msgstr "右に回転(_R)" #: data/menu.ui.h:14 msgid "_Page Format" msgstr "ページのフォーマット(_P)" #: data/menu.ui.h:15 msgid "Crop White Borders" msgstr "白枠をトリミング" #: data/menu.ui.h:16 msgid "_Delete" msgstr "削除(_D)" #: data/menu.ui.h:17 msgid "Dupl_icate" msgstr "複製(_I)" #: data/menu.ui.h:18 msgid "Re_verse Order" msgstr "逆順(_V)" #: data/menu.ui.h:19 msgid "_Split Pages" msgstr "ページを分割(_S)" #: data/menu.ui.h:20 msgid "Cu_t" msgstr "切り取り(_T)" #: data/menu.ui.h:21 msgid "_Copy" msgstr "コピー(_C)" #: data/menu.ui.h:22 msgid "Paste _After" msgstr "後に貼り付け(_A)" #: data/menu.ui.h:23 msgid "Paste _Before" msgstr "前に貼り付け(_B)" #: data/menu.ui.h:24 msgid "Paste As _Odd Pages" msgstr "奇数ページとして貼り付け(_O)" #: data/menu.ui.h:25 msgid "Paste As _Even Pages" msgstr "偶数ページとして貼り付け(_E)" #: data/menu.ui.h:26 msgid "Insert Blan_k Page" msgstr "空白ページを挿入(_K)" #: data/menu.ui.h:27 msgid "Generate Booklet" msgstr "ブックレットを生成" #: data/menu.ui.h:28 msgid "_Select" msgstr "選択(_S)" #: data/menu.ui.h:29 msgid "Select _All" msgstr "すべて選択(_A)" #: data/menu.ui.h:30 msgid "_Deselect All" msgstr "すべて選択解除(_D)" #: data/menu.ui.h:31 msgid "Select _Odd Pages" msgstr "奇数ページを選択(_O)" #: data/menu.ui.h:32 msgid "Select _Even Pages" msgstr "偶数ページを選択(_E)" #: data/menu.ui.h:33 msgid "All From _Same File" msgstr "同じファイルのページ(_S)" #: data/menu.ui.h:34 msgid "Same Page _Format" msgstr "同じページフォーマット(_F)" #: data/menu.ui.h:35 msgid "_Invert Selection" msgstr "選択を反転(_I)" #: data/menu.ui.h:36 msgid "Zoom _In" msgstr "拡大(_I)" #: data/menu.ui.h:37 msgid "Zoom _Out" msgstr "縮小(_O)" #: data/menu.ui.h:38 msgid "Edit _Properties" msgstr "プロパティを編集(_P)" #: data/menu.ui.h:39 msgid "_About" msgstr "情報(_A)" #: data/menu.ui.h:40 msgid "_Quit" msgstr "終了(_Q)" #: data/menu.ui.h:41 msgid "Past_e Special" msgstr "特殊貼り付け(_E)" #~ msgid "Paste Interleave _Odd" #~ msgstr "奇数ページに割り込み貼り付け(_O)" #~ msgid "Paste Interleave _Even" #~ msgstr "偶数ページに割り込み貼り付け(_E)" #~ msgid "Grid splitting" #~ msgstr "グリッド分割" #~ msgid "_Grid Split" #~ msgstr "グリッド分割(_G)" pdfarranger-1.8.2/po/ko.po000066400000000000000000000276521416164621100154220ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-10-31 13:42+0100\n" "PO-Revision-Date: 2021-11-26 15:38+0900\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 3.0\n" "Last-Translator: \n" "Plural-Forms: nplurals=1; plural=0;\n" "Language: ko\n" #: pdfarranger/core.py:85 msgid "page" msgstr "페이지" #: pdfarranger/core.py:193 msgid "Password required" msgstr "비밀번호 필요" #: pdfarranger/core.py:204 msgid "The password will be remembered until you close PDF Arranger." msgstr "PDF 편집기를 닫기 전까지 비밀번호를 기억합니다." #: pdfarranger/core.py:205 #, python-format msgid "" "The document “{}” is locked and requires a password before it can be opened." msgstr "보호된 문서인 \"{}\"(을)를 열기 전에 비밀번호를 입력해야 합니다." #: pdfarranger/core.py:215 msgid "Password" msgstr "비밀번호" #: pdfarranger/core.py:266 pdfarranger/pdfarranger.py:1234 msgid "Unknown file format" msgstr "알 수 없는 형식" #: pdfarranger/core.py:282 msgid "Image files are only supported with img2pdf" msgstr "이미지 파일은 img2pdf만 지원합니다" #: pdfarranger/core.py:304 msgid "Image format is not supported by img2pdf" msgstr "해당 이미지 형식은 img2pdf에서 지원하지 않습니다" #: pdfarranger/core.py:306 pdfarranger/pdfarranger.py:1244 msgid "File is neither pdf nor image" msgstr "PDF 및 그림 파일이 아닙니다" #: pdfarranger/croputils.py:114 msgid "Scale factor" msgstr "확대 상수" #: pdfarranger/croputils.py:120 msgid "%" msgstr "%" #: pdfarranger/croputils.py:136 msgid "mm" msgstr "mm" #: pdfarranger/croputils.py:146 msgid "Left" msgstr "왼쪽" #: pdfarranger/croputils.py:146 msgid "Right" msgstr "오른쪽" #: pdfarranger/croputils.py:146 msgid "Top" msgstr "위" #: pdfarranger/croputils.py:146 msgid "Bottom" msgstr "아래" #: pdfarranger/croputils.py:150 msgid "Crop Margins" msgstr "차이 잘라내기" #: pdfarranger/croputils.py:158 msgid "" "Cropping does not remove any content from the PDF file, it only hides it." msgstr "잘라내기는 PDF 파일의 내용을 삭제하지 않으며, 해당 영역만 숨깁니다." #: pdfarranger/croputils.py:167 msgid "% of width" msgstr "너비 %" #: pdfarranger/croputils.py:167 msgid "% of height" msgstr "높이 %" #: pdfarranger/croputils.py:214 msgid "Page format" msgstr "용지 크기" #: pdfarranger/croputils.py:229 pdfarranger/croputils.py:233 #: pdfarranger/croputils.py:353 msgid "Width" msgstr "너비" #: pdfarranger/croputils.py:230 pdfarranger/croputils.py:234 #: pdfarranger/croputils.py:354 msgid "Height" msgstr "높이" #: pdfarranger/croputils.py:232 msgid "Relative" msgstr "" #: pdfarranger/croputils.py:235 msgid "Page Size" msgstr "용지 크기" #: pdfarranger/croputils.py:343 msgid "Insert Blank Page" msgstr "빈 페이지 삽입" #: pdfarranger/exporter.py:119 msgid "Warning" msgstr "경고" #: pdfarranger/exporter.py:124 msgid "Forms and outlines are lost on saving." msgstr "폼과 윤곽선은 저장 시 사라집니다." #: pdfarranger/exporter.py:126 msgid "Do not show this dialog again." msgstr "이 대화상자를 다시 표시하지 않습니다." #: pdfarranger/metadata.py:40 msgid "Title" msgstr "제목" #: pdfarranger/metadata.py:41 msgid "Subject" msgstr "주제" #: pdfarranger/metadata.py:42 msgid "Keywords" msgstr "검색어" #: pdfarranger/metadata.py:43 msgid "Producer" msgstr "글쓴이" #: pdfarranger/metadata.py:44 msgid "Creator" msgstr "만든이" #: pdfarranger/metadata.py:45 msgid "Creator tool" msgstr "만든 도구" #: pdfarranger/metadata.py:46 msgid "Created" msgstr "만든 날짜" #: pdfarranger/metadata.py:47 msgid "Modified" msgstr "수정 날짜" #: pdfarranger/metadata.py:151 msgid "Invalid date format. Input discarded." msgstr "잘못된 날짜 형식입니다." #: pdfarranger/metadata.py:180 msgid "Edit properties" msgstr "정보 편집" #: pdfarranger/metadata.py:194 msgid "Property" msgstr "우선도" #: pdfarranger/metadata.py:194 msgid "Value" msgstr "값" #: pdfarranger/pdfarranger.py:271 msgid "" "PDF Arranger is a small python-gtk application, which helps the user to " "merge or split pdf documents and rotate, crop and rearrange their pages " "using an interactive and intuitive graphical interface. It is a frontend for " "pikepdf." msgstr "" "PDF 편집기는 사용자가 PDF 문서를 합치거나 나누고 페이지를 재정렬할 수 있는 다" "기능 그래픽 인터페이스를 사용하는 간단한 python-gtk 프로그램입니다." #: pdfarranger/pdfarranger.py:282 msgid "Print the version of PDF Arranger and exit" msgstr "PDF 편집기의 버전을 출력한 후 닫기" #: pdfarranger/pdfarranger.py:290 msgid "File(s) to open" msgstr "파일 선택" #: pdfarranger/pdfarranger.py:395 msgid "All pages must have the same size." msgstr "모든 페이지는 같은 크기이여야만 합니다." #: pdfarranger/pdfarranger.py:421 msgid "All supported files" msgstr "지원하는 모든 파일" #: pdfarranger/pdfarranger.py:425 msgid "PDF files" msgstr "PDF 파일" #: pdfarranger/pdfarranger.py:432 msgid "All files" msgstr "모든 파일" #: pdfarranger/pdfarranger.py:437 msgid "Supported image files" msgstr "지원하는 이미지 파일" #: pdfarranger/pdfarranger.py:634 msgid "Rendering…" msgstr "렌더링 중…" #: pdfarranger/pdfarranger.py:728 msgid "untitled" msgstr "제목 없음" #: pdfarranger/pdfarranger.py:865 #, python-format msgid "Save changes to “{}” before closing?" msgstr "닫기 전에 \"{}\"을 편집한 사항을 저장하시겠습니까?" #: pdfarranger/pdfarranger.py:867 msgid "Save changes before closing?" msgstr "닫기 전에 펀집한 사항을 저장하시겠습니까?" #: pdfarranger/pdfarranger.py:869 msgid "Your changes will be lost if you don’t save them." msgstr "저장하지 않으면 편집한 사항을 잃게 됩니다." #: pdfarranger/pdfarranger.py:870 msgid "Do_n’t Save" msgstr "저장 안 함(_N)" #: pdfarranger/pdfarranger.py:870 msgid "_Cancel" msgstr "취소(_C)" #: pdfarranger/pdfarranger.py:870 data/menu.ui.h:3 msgid "_Save" msgstr "저장(_S)" #: pdfarranger/pdfarranger.py:920 msgid "Export…" msgstr "내보내기…" #: pdfarranger/pdfarranger.py:1030 msgid "Import…" msgstr "불러오기…" #: pdfarranger/pdfarranger.py:1137 msgid "Pasted data not valid. Aborting paste." msgstr "붙여넣은 데이터가 잘못되었습니다." #: pdfarranger/pdfarranger.py:1238 msgid "PDF document is damaged" msgstr "PDF 문서가 손상되었습니다" #: pdfarranger/pdfarranger.py:2067 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" "%s는 GTK+와 파이썬으로 개발된 PDF 편집기이며, PDF 파일을 재정리하고 수정할 " "수 있습니다" #: pdfarranger/pdfarranger.py:2070 #, python-format msgid "(%s uses libqpdf %s and pikepdf %s)" msgstr "(%s는 libqpdf %s와 pikepdf %s를 사용합니다)" #: pdfarranger/pdfarranger.py:2072 msgid "Maintainers and contributors" msgstr "만든 사람과 기여자" #: pdfarranger/pdfarranger.py:2077 msgid "GNU General Public License (GPL) Version 3." msgstr "GNU General Public License (GPL) 버전 3을 사용합니다." #: pdfarranger/pdfarranger.py:2105 msgid "Selected pages: " msgstr "선택된 페이지: " #: pdfarranger/pdfarranger.py:2110 msgid "Page Size:" msgstr "페이지 크기:" #: pdfarranger/splitter.py:26 msgid "Split Pages" msgstr "페이지 나누기" #: pdfarranger/splitter.py:58 msgid "Columns" msgstr "행" #: pdfarranger/splitter.py:58 msgid "Rows" msgstr "열" #: pdfarranger/splitter.py:59 msgid "Vertical Splits" msgstr "세로로 나누기" #: pdfarranger/splitter.py:59 msgid "Horizontal Splits" msgstr "가로로 나누기" #: pdfarranger/splitter.py:60 msgid "Equal column width" msgstr "행 너비 맞추기" #: pdfarranger/splitter.py:60 msgid "Equal row height" msgstr "열 높이 맞추기" #: pdfarranger/splitter.py:85 msgid "#Col" msgstr "#Col" #: pdfarranger/splitter.py:85 msgid "#Row" msgstr "#Row" #: pdfarranger/splitter.py:86 msgid "Width in %" msgstr "너비(%)" #: pdfarranger/splitter.py:86 msgid "Height in %" msgstr "높이(%)" #: data/pdfarranger.ui.h:1 msgid "Open a file and append it to the current document" msgstr "" #: data/pdfarranger.ui.h:2 msgid "Save" msgstr "저장" #: data/pdfarranger.ui.h:3 msgid "Save As" msgstr "다른 이름으로 저장" #: data/pdfarranger.ui.h:4 msgid "Number of Pages" msgstr "페이지 수" #: data/pdfarranger.ui.h:5 msgid "Main Menu" msgstr "메인 메뉴" #: data/pdfarranger.ui.h:6 msgid "Zoom In" msgstr "확대" #: data/pdfarranger.ui.h:7 msgid "Zoom Out" msgstr "축소" #: data/pdfarranger.ui.h:8 msgid "Rotate Left" msgstr "왼쪽으로 회전" #: data/pdfarranger.ui.h:9 msgid "Rotate Right" msgstr "오른쪽으로 회전" #: data/menu.ui.h:1 msgid "_Import" msgstr "불러오기(_I)" #: data/menu.ui.h:2 msgid "_New Window" msgstr "새 창(_N)" #: data/menu.ui.h:4 msgid "Save _As…" msgstr "다른 이름으로 저장…(_A)" #: data/menu.ui.h:5 msgid "E_xport" msgstr "내보내기(_X)" #: data/menu.ui.h:6 msgid "E_xport Selection to a Single File…" msgstr "선택된 내용들을 하나의 파일로 내보내기…(_X)" #: data/menu.ui.h:7 msgid "Export Selection to _Individual Files…" msgstr "선택된 내용들을 개별의 파일로 내보내기…(_I)" #: data/menu.ui.h:8 msgid "Export _All Pages to Individual Files…" msgstr "모든 페이지를 개별의 파일로 내보내기…(_A)" #: data/menu.ui.h:9 msgid "_Undo" msgstr "실행 취소(_U)" #: data/menu.ui.h:10 msgid "_Redo" msgstr "다시 실행(_R)" #: data/menu.ui.h:11 msgid "_Edit" msgstr "편집(_E)" #: data/menu.ui.h:12 msgid "Rotate _Left" msgstr "왼쪽으로 회전(_L)" #: data/menu.ui.h:13 msgid "_Rotate Right" msgstr "오른쪽으로 회전(_R)" #: data/menu.ui.h:14 msgid "_Page Format" msgstr "용지 크기(_P)" #: data/menu.ui.h:15 msgid "Crop White Borders" msgstr "흰 테두리 잘라내기" #: data/menu.ui.h:16 msgid "_Delete" msgstr "삭제(_D)" #: data/menu.ui.h:17 msgid "Dupl_icate" msgstr "복제(_I)" #: data/menu.ui.h:18 msgid "Re_verse Order" msgstr "순서 바꾸기(_V)" #: data/menu.ui.h:19 msgid "_Split Pages" msgstr "페이지 나누기(_S)" #: data/menu.ui.h:20 msgid "Cu_t" msgstr "잘라내기(_T)" #: data/menu.ui.h:21 msgid "_Copy" msgstr "복사(_C)" #: data/menu.ui.h:22 msgid "Paste _After" msgstr "뒤 페이지에 붙여넣기(_A)" #: data/menu.ui.h:23 msgid "Paste _Before" msgstr "앞 페이지에 붙여넣기(_B)" #: data/menu.ui.h:24 msgid "Paste As _Odd Pages" msgstr "" #: data/menu.ui.h:25 msgid "Paste As _Even Pages" msgstr "" #: data/menu.ui.h:26 msgid "Insert Blan_k Page" msgstr "빈 페이지 삽입(_K)" #: data/menu.ui.h:27 msgid "Generate Booklet" msgstr "북클렛 만들기" #: data/menu.ui.h:28 msgid "_Select" msgstr "선택(_S)" #: data/menu.ui.h:29 msgid "Select _All" msgstr "모두 선택(_A)" #: data/menu.ui.h:30 msgid "_Deselect All" msgstr "모두 선택 해제(_D)" #: data/menu.ui.h:31 msgid "Select _Odd Pages" msgstr "" #: data/menu.ui.h:32 msgid "Select _Even Pages" msgstr "" #: data/menu.ui.h:33 msgid "All From _Same File" msgstr "" #: data/menu.ui.h:34 msgid "Same Page _Format" msgstr "같은 페이지 형식(_F)" #: data/menu.ui.h:35 msgid "_Invert Selection" msgstr "선택 반전(_I)" #: data/menu.ui.h:36 msgid "Zoom _In" msgstr "확대(_I)" #: data/menu.ui.h:37 msgid "Zoom _Out" msgstr "축소(_O)" #: data/menu.ui.h:38 msgid "Edit _Properties" msgstr "정보 편집(_E)" #: data/menu.ui.h:39 msgid "_About" msgstr "정보(_A)" #: data/menu.ui.h:40 msgid "_Quit" msgstr "종료(_Q)" #: data/menu.ui.h:41 msgid "Past_e Special" msgstr "다른 방식으로 붙여놓기(_E)" pdfarranger-1.8.2/po/nl.po000066400000000000000000000306761416164621100154220ustar00rootroot00000000000000# PDF-Shuffler translation files. # Copyright (C) 2008-2017 Konstantinos Poulios # This file is part of PDF-Shuffler which is released under the GNU General # Public License version 3 or later. # See file COPYING or go to for full license details. # Translators: # Heimen Stoffels , 2016 # Thomas De Rocker, 2011 msgid "" msgstr "" "Project-Id-Version: PDF-Shuffler 0.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-10-31 17:14+0100\n" "PO-Revision-Date: 2021-10-31 18:14+0100\n" "Last-Translator: Heimen Stoffels \n" "Language-Team: Dutch (http://www.transifex.com/logari81/pdfshuffler/language/" "nl/)\n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Poedit 3.0\n" #: pdfarranger/core.py:85 msgid "page" msgstr "pagina" #: pdfarranger/core.py:193 msgid "Password required" msgstr "Wachtwoord vereist" #: pdfarranger/core.py:204 msgid "The password will be remembered until you close PDF Arranger." msgstr "PDF Arranger bewaart het wachtwoord totdat u afsluit." #: pdfarranger/core.py:205 msgid "" "The document “{}” is locked and requires a password before it can be opened." msgstr "“{}” is beveiligd en kan alleen worden geopend met een wachtwoord." #: pdfarranger/core.py:215 msgid "Password" msgstr "Wachtwoord" #: pdfarranger/core.py:266 pdfarranger/pdfarranger.py:1234 msgid "Unknown file format" msgstr "Onbekend bestandstype" #: pdfarranger/core.py:282 msgid "Image files are only supported with img2pdf" msgstr "Afbeeldingsbestanden kunnen alleen worden gebruikt met img2pdf" #: pdfarranger/core.py:304 msgid "Image format is not supported by img2pdf" msgstr "Dit afbeeldingsbestand wordt niet ondersteund door img2pdf" #: pdfarranger/core.py:306 pdfarranger/pdfarranger.py:1244 msgid "File is neither pdf nor image" msgstr "Het bestand is geen pdf of afbeelding" #: pdfarranger/croputils.py:114 msgid "Scale factor" msgstr "Vergrotingsfactor" #: pdfarranger/croputils.py:120 msgid "%" msgstr "%" #: pdfarranger/croputils.py:136 msgid "mm" msgstr "mm" #: pdfarranger/croputils.py:146 msgid "Left" msgstr "Links" #: pdfarranger/croputils.py:146 msgid "Right" msgstr "Rechts" #: pdfarranger/croputils.py:146 msgid "Top" msgstr "Boven" #: pdfarranger/croputils.py:146 msgid "Bottom" msgstr "Onder" #: pdfarranger/croputils.py:150 msgid "Crop Margins" msgstr "Marges bijsnijden" #: pdfarranger/croputils.py:158 msgid "" "Cropping does not remove any content from the PDF file, it only hides it." msgstr "" "Bijsnijden verwijdert geen inhoud uit het pdf-bestand; het verbergt het " "alleen." #: pdfarranger/croputils.py:167 #, python-format msgid "% of width" msgstr "% van de breedte" #: pdfarranger/croputils.py:167 #, python-format msgid "% of height" msgstr "% van de hoogte" #: pdfarranger/croputils.py:214 msgid "Page format" msgstr "Paginaformaat" #: pdfarranger/croputils.py:229 pdfarranger/croputils.py:233 #: pdfarranger/croputils.py:353 msgid "Width" msgstr "Breedte" #: pdfarranger/croputils.py:230 pdfarranger/croputils.py:234 #: pdfarranger/croputils.py:354 msgid "Height" msgstr "Hoogte" #: pdfarranger/croputils.py:232 msgid "Relative" msgstr "Relatief" #: pdfarranger/croputils.py:235 msgid "Page Size" msgstr "Paginagrootte" #: pdfarranger/croputils.py:343 msgid "Insert Blank Page" msgstr "Blanco pagina invoegen" #: pdfarranger/exporter.py:119 msgid "Warning" msgstr "Waarschuwing" #: pdfarranger/exporter.py:124 msgid "Forms and outlines are lost on saving." msgstr "Formulieren en contouren gaan verloren bij het opslaan." #: pdfarranger/exporter.py:126 msgid "Do not show this dialog again." msgstr "Niet meer tonen" #: pdfarranger/metadata.py:40 msgid "Title" msgstr "Naam" #: pdfarranger/metadata.py:41 msgid "Subject" msgstr "Onderwerp" #: pdfarranger/metadata.py:42 msgid "Keywords" msgstr "Trefwoorden" #: pdfarranger/metadata.py:43 msgid "Producer" msgstr "Producent" #: pdfarranger/metadata.py:44 msgid "Creator" msgstr "Maker" #: pdfarranger/metadata.py:45 msgid "Creator tool" msgstr "Gemaakt met" #: pdfarranger/metadata.py:46 msgid "Created" msgstr "Gemaakt op" #: pdfarranger/metadata.py:47 msgid "Modified" msgstr "Aangepast op" #: pdfarranger/metadata.py:151 msgid "Invalid date format. Input discarded." msgstr "Ongeldige datumopmaak - de inhoud is verworpen." #: pdfarranger/metadata.py:180 msgid "Edit properties" msgstr "Eigenschappen bewerken" #: pdfarranger/metadata.py:194 msgid "Property" msgstr "Eigenschap" #: pdfarranger/metadata.py:194 msgid "Value" msgstr "Waarde" #: pdfarranger/pdfarranger.py:271 msgid "" "PDF Arranger is a small python-gtk application, which helps the user to " "merge or split pdf documents and rotate, crop and rearrange their pages " "using an interactive and intuitive graphical interface. It is a frontend for " "pikepdf." msgstr "" "PDF Arranger is een eenvoudig hulpprogramma voor het herordenen en bewerken " "van pdf-bestanden, gemaakt met python-gtk. Pagina's kunnen worden " "samengevoegd, herordend en bijgesneden. Ook kunnen documenten worden " "gesplitst. PDF Arranger is een frontend voor pikepdf." #: pdfarranger/pdfarranger.py:282 msgid "Print the version of PDF Arranger and exit" msgstr "Toon het versienummer en sluit af" #: pdfarranger/pdfarranger.py:290 msgid "File(s) to open" msgstr "Te openen bestand(en)" #: pdfarranger/pdfarranger.py:395 msgid "All pages must have the same size." msgstr "Alle pagina's dienen even groot te zijn." #: pdfarranger/pdfarranger.py:421 msgid "All supported files" msgstr "Alle ondersteunde bestanden" #: pdfarranger/pdfarranger.py:425 msgid "PDF files" msgstr "PDF-bestanden" #: pdfarranger/pdfarranger.py:432 msgid "All files" msgstr "Alle bestanden" #: pdfarranger/pdfarranger.py:437 msgid "Supported image files" msgstr "Ondersteunde afbeeldingsbestanden" #: pdfarranger/pdfarranger.py:634 msgid "Rendering…" msgstr "Bezig met samenstellen…" #: pdfarranger/pdfarranger.py:728 msgid "untitled" msgstr "naamloos" #: pdfarranger/pdfarranger.py:865 msgid "Save changes to “{}” before closing?" msgstr "Wilt u de aanpassingen aan ‘{}’ opslaan alvorens af te sluiten?" #: pdfarranger/pdfarranger.py:867 msgid "Save changes before closing?" msgstr "Aanpassingen opslaan voor afsluiten?" #: pdfarranger/pdfarranger.py:869 msgid "Your changes will be lost if you don’t save them." msgstr "Als u dat niet doet, gaan ze definitief verloren." #: pdfarranger/pdfarranger.py:870 msgid "Do_n’t Save" msgstr "_Niet opslaan" #: pdfarranger/pdfarranger.py:870 msgid "_Cancel" msgstr "_Annuleren" #: pdfarranger/pdfarranger.py:870 data/menu.ui.h:3 msgid "_Save" msgstr "Op_slaan" #: pdfarranger/pdfarranger.py:920 msgid "Export…" msgstr "Exporteren…" #: pdfarranger/pdfarranger.py:1030 msgid "Import…" msgstr "Importeren…" #: pdfarranger/pdfarranger.py:1137 msgid "Pasted data not valid. Aborting paste." msgstr "De geplakte gegevens zijn ongeldig - het plakken wordt afgebroken." #: pdfarranger/pdfarranger.py:1238 msgid "PDF document is damaged" msgstr "Het pdf-bestand is beschadigd" #: pdfarranger/pdfarranger.py:2067 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" "%s is een hulpprogramma voor het herordenen en bewerken van pdf-bestanden, " "gemaakt met GTK+ en Python" #: pdfarranger/pdfarranger.py:2070 #, python-format msgid "(%s uses libqpdf %s and pikepdf %s)" msgstr "(%s maakt gebruik van libqpdf %s en pikepdf %s)" #: pdfarranger/pdfarranger.py:2072 msgid "Maintainers and contributors" msgstr "Onderhouders en bijdragers" #: pdfarranger/pdfarranger.py:2077 msgid "GNU General Public License (GPL) Version 3." msgstr "GNU General Public License (GPL), versie 3." #: pdfarranger/pdfarranger.py:2105 msgid "Selected pages: " msgstr "Geselecteerde pagina': " #: pdfarranger/pdfarranger.py:2110 msgid "Page Size:" msgstr "Paginagrootte:" #: pdfarranger/splitter.py:26 msgid "Split Pages" msgstr "Pagina's splitsen" #: pdfarranger/splitter.py:58 msgid "Columns" msgstr "Kolommen" #: pdfarranger/splitter.py:58 msgid "Rows" msgstr "Rijen" #: pdfarranger/splitter.py:59 msgid "Vertical Splits" msgstr "Verticale splitsingen" #: pdfarranger/splitter.py:59 msgid "Horizontal Splits" msgstr "Horizontale splitsingen" #: pdfarranger/splitter.py:60 msgid "Equal column width" msgstr "Gelijke kolombreedtes" #: pdfarranger/splitter.py:60 msgid "Equal row height" msgstr "Gelijke rijhoogten" #: pdfarranger/splitter.py:85 msgid "#Col" msgstr "#Kol" #: pdfarranger/splitter.py:85 msgid "#Row" msgstr "#Rij" #: pdfarranger/splitter.py:86 msgid "Width in %" msgstr "Breedte, in %" #: pdfarranger/splitter.py:86 msgid "Height in %" msgstr "Hoogte, in %" #: data/pdfarranger.ui.h:1 msgid "Open a file and append it to the current document" msgstr "Open een bestand en wijs het toe aan het huidige document" #: data/pdfarranger.ui.h:2 msgid "Save" msgstr "Opslaan" #: data/pdfarranger.ui.h:3 msgid "Save As" msgstr "Opslaan als" #: data/pdfarranger.ui.h:4 msgid "Number of Pages" msgstr "Aantal pagina's" #: data/pdfarranger.ui.h:5 msgid "Main Menu" msgstr "Hoofdmenu" #: data/pdfarranger.ui.h:6 msgid "Zoom In" msgstr "Inzoomen" #: data/pdfarranger.ui.h:7 msgid "Zoom Out" msgstr "Uitzoomen" #: data/pdfarranger.ui.h:8 msgid "Rotate Left" msgstr "Naar links draaien" #: data/pdfarranger.ui.h:9 msgid "Rotate Right" msgstr "Naar rechts draaien" #: data/menu.ui.h:1 msgid "_Import" msgstr "_Importeren" #: data/menu.ui.h:2 msgid "_New Window" msgstr "_Nieuw venster" #: data/menu.ui.h:4 msgid "Save _As…" msgstr "Opslaan _als…" #: data/menu.ui.h:5 msgid "E_xport" msgstr "E_xporteren" #: data/menu.ui.h:6 msgid "E_xport Selection to a Single File…" msgstr "Selectie _exporteren naar bestand…" #: data/menu.ui.h:7 msgid "Export Selection to _Individual Files…" msgstr "Selectie exporteren naar _meerdere bestanden…" #: data/menu.ui.h:8 msgid "Export _All Pages to Individual Files…" msgstr "_Alle pagina's exporteren naar meerdere bestanden…" #: data/menu.ui.h:9 msgid "_Undo" msgstr "_Ongedaan maken" #: data/menu.ui.h:10 msgid "_Redo" msgstr "Opnieu_w uitvoeren" #: data/menu.ui.h:11 msgid "_Edit" msgstr "_Bewerken" #: data/menu.ui.h:12 msgid "Rotate _Left" msgstr "Naar _links draaien" #: data/menu.ui.h:13 msgid "_Rotate Right" msgstr "Naar rechts _draaien" #: data/menu.ui.h:14 msgid "_Page Format" msgstr "Paginaformaat" #: data/menu.ui.h:15 msgid "Crop White Borders" msgstr "Witte randen bijsnijden" #: data/menu.ui.h:16 msgid "_Delete" msgstr "_Verwijderen" #: data/menu.ui.h:17 msgid "Dupl_icate" msgstr "Dupl_iceren" #: data/menu.ui.h:18 msgid "Re_verse Order" msgstr "Omgekeerde _volgorde" #: data/menu.ui.h:19 msgid "_Split Pages" msgstr "Pagina's _splitsen" #: data/menu.ui.h:20 msgid "Cu_t" msgstr "_Knippen" #: data/menu.ui.h:21 msgid "_Copy" msgstr "_Kopiëren" #: data/menu.ui.h:22 msgid "Paste _After" msgstr "Plakken _na" #: data/menu.ui.h:23 msgid "Paste _Before" msgstr "Plakken _vóór" #: data/menu.ui.h:24 msgid "Paste As _Odd Pages" msgstr "Plakken als _oneven pagina's" #: data/menu.ui.h:25 msgid "Paste As _Even Pages" msgstr "Plakken als _even pagina's" #: data/menu.ui.h:26 msgid "Insert Blan_k Page" msgstr "Blan_co pagina invoegen" #: data/menu.ui.h:27 msgid "Generate Booklet" msgstr "Boekje samenstellen" #: data/menu.ui.h:28 msgid "_Select" msgstr "_Selecteren" #: data/menu.ui.h:29 msgid "Select _All" msgstr "_Alles selecteren" #: data/menu.ui.h:30 msgid "_Deselect All" msgstr "_Niets selecteren" #: data/menu.ui.h:31 msgid "Select _Odd Pages" msgstr "_Oneven pagina's selecteren" #: data/menu.ui.h:32 msgid "Select _Even Pages" msgstr "_Even pagina's selecteren" #: data/menu.ui.h:33 msgid "All From _Same File" msgstr "Alles uit _hetzelfde bestand" #: data/menu.ui.h:34 msgid "Same Page _Format" msgstr "Hetzelfde pagina_formaat" #: data/menu.ui.h:35 msgid "_Invert Selection" msgstr "Selectie _omkeren" #: data/menu.ui.h:36 msgid "Zoom _In" msgstr "_Inzoomen" #: data/menu.ui.h:37 msgid "Zoom _Out" msgstr "_Uitzoomen" #: data/menu.ui.h:38 msgid "Edit _Properties" msgstr "Eigenschappen bewerken" #: data/menu.ui.h:39 msgid "_About" msgstr "_Over" #: data/menu.ui.h:40 msgid "_Quit" msgstr "_Afsluiten" #: data/menu.ui.h:41 msgid "Past_e Special" msgstr "Sp_eciaal plakken" #~ msgid "Grid splitting" #~ msgstr "Roostersplitsing" #~ msgid "_Grid Split" #~ msgstr "Roostersplitsin_g" #~ msgid "Paste Interleave _Odd" #~ msgstr "_Oneven plakken" #~ msgid "Paste Interleave _Even" #~ msgstr "_Even plakken" pdfarranger-1.8.2/po/pdfarranger.pot000066400000000000000000000221011416164621100174500ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-10-31 13:42+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: pdfarranger/core.py:85 msgid "page" msgstr "" #: pdfarranger/core.py:193 msgid "Password required" msgstr "" #: pdfarranger/core.py:204 msgid "The password will be remembered until you close PDF Arranger." msgstr "" #: pdfarranger/core.py:205 #, python-format msgid "" "The document “{}” is locked and requires a password before it can be opened." msgstr "" #: pdfarranger/core.py:215 msgid "Password" msgstr "" #: pdfarranger/core.py:266 pdfarranger/pdfarranger.py:1234 msgid "Unknown file format" msgstr "" #: pdfarranger/core.py:282 msgid "Image files are only supported with img2pdf" msgstr "" #: pdfarranger/core.py:304 msgid "Image format is not supported by img2pdf" msgstr "" #: pdfarranger/core.py:306 pdfarranger/pdfarranger.py:1244 msgid "File is neither pdf nor image" msgstr "" #: pdfarranger/croputils.py:114 msgid "Scale factor" msgstr "" #: pdfarranger/croputils.py:120 msgid "%" msgstr "" #: pdfarranger/croputils.py:136 msgid "mm" msgstr "" #: pdfarranger/croputils.py:146 msgid "Left" msgstr "" #: pdfarranger/croputils.py:146 msgid "Right" msgstr "" #: pdfarranger/croputils.py:146 msgid "Top" msgstr "" #: pdfarranger/croputils.py:146 msgid "Bottom" msgstr "" #: pdfarranger/croputils.py:150 msgid "Crop Margins" msgstr "" #: pdfarranger/croputils.py:158 msgid "" "Cropping does not remove any content from the PDF file, it only hides it." msgstr "" #: pdfarranger/croputils.py:167 msgid "% of width" msgstr "" #: pdfarranger/croputils.py:167 msgid "% of height" msgstr "" #: pdfarranger/croputils.py:214 msgid "Page format" msgstr "" #: pdfarranger/croputils.py:229 pdfarranger/croputils.py:233 #: pdfarranger/croputils.py:353 msgid "Width" msgstr "" #: pdfarranger/croputils.py:230 pdfarranger/croputils.py:234 #: pdfarranger/croputils.py:354 msgid "Height" msgstr "" #: pdfarranger/croputils.py:232 msgid "Relative" msgstr "" #: pdfarranger/croputils.py:235 msgid "Page Size" msgstr "" #: pdfarranger/croputils.py:343 msgid "Insert Blank Page" msgstr "" #: pdfarranger/exporter.py:119 msgid "Warning" msgstr "" #: pdfarranger/exporter.py:124 msgid "Forms and outlines are lost on saving." msgstr "" #: pdfarranger/exporter.py:126 msgid "Do not show this dialog again." msgstr "" #: pdfarranger/metadata.py:40 msgid "Title" msgstr "" #: pdfarranger/metadata.py:41 msgid "Subject" msgstr "" #: pdfarranger/metadata.py:42 msgid "Keywords" msgstr "" #: pdfarranger/metadata.py:43 msgid "Producer" msgstr "" #: pdfarranger/metadata.py:44 msgid "Creator" msgstr "" #: pdfarranger/metadata.py:45 msgid "Creator tool" msgstr "" #: pdfarranger/metadata.py:46 msgid "Created" msgstr "" #: pdfarranger/metadata.py:47 msgid "Modified" msgstr "" #: pdfarranger/metadata.py:151 msgid "Invalid date format. Input discarded." msgstr "" #: pdfarranger/metadata.py:180 msgid "Edit properties" msgstr "" #: pdfarranger/metadata.py:194 msgid "Property" msgstr "" #: pdfarranger/metadata.py:194 msgid "Value" msgstr "" #: pdfarranger/pdfarranger.py:271 msgid "" "PDF Arranger is a small python-gtk application, which helps the user to " "merge or split pdf documents and rotate, crop and rearrange their pages " "using an interactive and intuitive graphical interface. It is a frontend for " "pikepdf." msgstr "" #: pdfarranger/pdfarranger.py:282 msgid "Print the version of PDF Arranger and exit" msgstr "" #: pdfarranger/pdfarranger.py:290 msgid "File(s) to open" msgstr "" #: pdfarranger/pdfarranger.py:395 msgid "All pages must have the same size." msgstr "" #: pdfarranger/pdfarranger.py:421 msgid "All supported files" msgstr "" #: pdfarranger/pdfarranger.py:425 msgid "PDF files" msgstr "" #: pdfarranger/pdfarranger.py:432 msgid "All files" msgstr "" #: pdfarranger/pdfarranger.py:437 msgid "Supported image files" msgstr "" #: pdfarranger/pdfarranger.py:634 msgid "Rendering…" msgstr "" #: pdfarranger/pdfarranger.py:728 msgid "untitled" msgstr "" #: pdfarranger/pdfarranger.py:865 #, python-format msgid "Save changes to “{}” before closing?" msgstr "" #: pdfarranger/pdfarranger.py:867 msgid "Save changes before closing?" msgstr "" #: pdfarranger/pdfarranger.py:869 msgid "Your changes will be lost if you don’t save them." msgstr "" #: pdfarranger/pdfarranger.py:870 msgid "Do_n’t Save" msgstr "" #: pdfarranger/pdfarranger.py:870 msgid "_Cancel" msgstr "" #: pdfarranger/pdfarranger.py:870 data/menu.ui.h:3 msgid "_Save" msgstr "" #: pdfarranger/pdfarranger.py:920 msgid "Export…" msgstr "" #: pdfarranger/pdfarranger.py:1030 msgid "Import…" msgstr "" #: pdfarranger/pdfarranger.py:1137 msgid "Pasted data not valid. Aborting paste." msgstr "" #: pdfarranger/pdfarranger.py:1238 msgid "PDF document is damaged" msgstr "" #: pdfarranger/pdfarranger.py:2067 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" #: pdfarranger/pdfarranger.py:2070 #, python-format msgid "(%s uses libqpdf %s and pikepdf %s)" msgstr "" #: pdfarranger/pdfarranger.py:2072 msgid "Maintainers and contributors" msgstr "" #: pdfarranger/pdfarranger.py:2077 msgid "GNU General Public License (GPL) Version 3." msgstr "" #: pdfarranger/pdfarranger.py:2105 msgid "Selected pages: " msgstr "" #: pdfarranger/pdfarranger.py:2110 msgid "Page Size:" msgstr "" #: pdfarranger/splitter.py:26 msgid "Split Pages" msgstr "" #: pdfarranger/splitter.py:58 msgid "Columns" msgstr "" #: pdfarranger/splitter.py:58 msgid "Rows" msgstr "" #: pdfarranger/splitter.py:59 msgid "Vertical Splits" msgstr "" #: pdfarranger/splitter.py:59 msgid "Horizontal Splits" msgstr "" #: pdfarranger/splitter.py:60 msgid "Equal column width" msgstr "" #: pdfarranger/splitter.py:60 msgid "Equal row height" msgstr "" #: pdfarranger/splitter.py:85 msgid "#Col" msgstr "" #: pdfarranger/splitter.py:85 msgid "#Row" msgstr "" #: pdfarranger/splitter.py:86 msgid "Width in %" msgstr "" #: pdfarranger/splitter.py:86 msgid "Height in %" msgstr "" #: data/pdfarranger.ui.h:1 msgid "Open a file and append it to the current document" msgstr "" #: data/pdfarranger.ui.h:2 msgid "Save" msgstr "" #: data/pdfarranger.ui.h:3 msgid "Save As" msgstr "" #: data/pdfarranger.ui.h:4 msgid "Number of Pages" msgstr "" #: data/pdfarranger.ui.h:5 msgid "Main Menu" msgstr "" #: data/pdfarranger.ui.h:6 msgid "Zoom In" msgstr "" #: data/pdfarranger.ui.h:7 msgid "Zoom Out" msgstr "" #: data/pdfarranger.ui.h:8 msgid "Rotate Left" msgstr "" #: data/pdfarranger.ui.h:9 msgid "Rotate Right" msgstr "" #: data/menu.ui.h:1 msgid "_Import" msgstr "" #: data/menu.ui.h:2 msgid "_New Window" msgstr "" #: data/menu.ui.h:4 msgid "Save _As…" msgstr "" #: data/menu.ui.h:5 msgid "E_xport" msgstr "" #: data/menu.ui.h:6 msgid "E_xport Selection to a Single File…" msgstr "" #: data/menu.ui.h:7 msgid "Export Selection to _Individual Files…" msgstr "" #: data/menu.ui.h:8 msgid "Export _All Pages to Individual Files…" msgstr "" #: data/menu.ui.h:9 msgid "_Undo" msgstr "" #: data/menu.ui.h:10 msgid "_Redo" msgstr "" #: data/menu.ui.h:11 msgid "_Edit" msgstr "" #: data/menu.ui.h:12 msgid "Rotate _Left" msgstr "" #: data/menu.ui.h:13 msgid "_Rotate Right" msgstr "" #: data/menu.ui.h:14 msgid "_Page Format" msgstr "" #: data/menu.ui.h:15 msgid "Crop White Borders" msgstr "" #: data/menu.ui.h:16 msgid "_Delete" msgstr "" #: data/menu.ui.h:17 msgid "Dupl_icate" msgstr "" #: data/menu.ui.h:18 msgid "Re_verse Order" msgstr "" #: data/menu.ui.h:19 msgid "_Split Pages" msgstr "" #: data/menu.ui.h:20 msgid "Cu_t" msgstr "" #: data/menu.ui.h:21 msgid "_Copy" msgstr "" #: data/menu.ui.h:22 msgid "Paste _After" msgstr "" #: data/menu.ui.h:23 msgid "Paste _Before" msgstr "" #: data/menu.ui.h:24 msgid "Paste As _Odd Pages" msgstr "" #: data/menu.ui.h:25 msgid "Paste As _Even Pages" msgstr "" #: data/menu.ui.h:26 msgid "Insert Blan_k Page" msgstr "" #: data/menu.ui.h:27 msgid "Generate Booklet" msgstr "" #: data/menu.ui.h:28 msgid "_Select" msgstr "" #: data/menu.ui.h:29 msgid "Select _All" msgstr "" #: data/menu.ui.h:30 msgid "_Deselect All" msgstr "" #: data/menu.ui.h:31 msgid "Select _Odd Pages" msgstr "" #: data/menu.ui.h:32 msgid "Select _Even Pages" msgstr "" #: data/menu.ui.h:33 msgid "All From _Same File" msgstr "" #: data/menu.ui.h:34 msgid "Same Page _Format" msgstr "" #: data/menu.ui.h:35 msgid "_Invert Selection" msgstr "" #: data/menu.ui.h:36 msgid "Zoom _In" msgstr "" #: data/menu.ui.h:37 msgid "Zoom _Out" msgstr "" #: data/menu.ui.h:38 msgid "Edit _Properties" msgstr "" #: data/menu.ui.h:39 msgid "_About" msgstr "" #: data/menu.ui.h:40 msgid "_Quit" msgstr "" #: data/menu.ui.h:41 msgid "Past_e Special" msgstr "" pdfarranger-1.8.2/po/pl_PL.po000066400000000000000000000234431416164621100160110ustar00rootroot00000000000000# PDF-Shuffler translation files. # Copyright (C) 2008-2017 Konstantinos Poulios # This file is part of PDF-Shuffler which is released under the GNU General # Public License version 3 or later. # See file COPYING or go to for full license details. # Translators: # Toratora , 2014 msgid "" msgstr "" "Project-Id-Version: PDF-Shuffler 0.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-12-29 17:35+0100\n" "PO-Revision-Date: 2020-07-15 21:22+0200\n" "Last-Translator: Toratora \n" "Language-Team: Polish (Poland) (http://www.transifex.com/logari81/" "pdfshuffler/language/pl_PL/)\n" "Language: pl_PL\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2);\n" "X-Generator: Poedit 2.0.6\n" "X-Language: pl_PL\n" "X-Source-Language: C\n" #: pdfarranger/core.py:80 msgid "page" msgstr "strona" #: pdfarranger/core.py:175 msgid "Password required" msgstr "" #: pdfarranger/core.py:186 msgid "The password will be remembered until you close PDF Arranger." msgstr "" #: pdfarranger/core.py:187 msgid "" "The document “{}” is locked and requires a password before it can be opened." msgstr "" #: pdfarranger/core.py:197 msgid "Password" msgstr "" #: pdfarranger/core.py:241 pdfarranger/pdfarranger.py:989 msgid "Unknown file format" msgstr "" #: pdfarranger/core.py:256 msgid "Image files are only supported with img2pdf" msgstr "" #: pdfarranger/core.py:278 msgid "Image format is not supported by img2pdf" msgstr "" #: pdfarranger/core.py:280 pdfarranger/pdfarranger.py:999 msgid "File is neither pdf nor image" msgstr "" #: pdfarranger/croputils.py:113 msgid "Scale factor" msgstr "" #: pdfarranger/croputils.py:119 msgid "%" msgstr "" #: pdfarranger/croputils.py:135 msgid "mm" msgstr "" #: pdfarranger/croputils.py:145 msgid "Left" msgstr "Lewa" #: pdfarranger/croputils.py:145 msgid "Right" msgstr "Prawa" #: pdfarranger/croputils.py:145 msgid "Top" msgstr "Góra" #: pdfarranger/croputils.py:145 msgid "Bottom" msgstr "Dół" #: pdfarranger/croputils.py:149 msgid "Crop Margins" msgstr "Przytnij margines" #: pdfarranger/croputils.py:157 #, fuzzy msgid "" "Cropping does not remove any content from the PDF file, it only hides it." msgstr "" "Przycinanie nie usuwa żadnej zawartości\n" "z pliku PDF, ukrywa tylko." #: pdfarranger/croputils.py:166 #, python-format msgid "% of width" msgstr "szerokość %" #: pdfarranger/croputils.py:166 #, python-format msgid "% of height" msgstr "wysokość %" #: pdfarranger/croputils.py:210 msgid "Page format" msgstr "" #: pdfarranger/croputils.py:225 pdfarranger/croputils.py:229 #: pdfarranger/croputils.py:338 msgid "Width" msgstr "" #: pdfarranger/croputils.py:226 pdfarranger/croputils.py:230 #: pdfarranger/croputils.py:339 #, fuzzy msgid "Height" msgstr "Prawa" #: pdfarranger/croputils.py:228 msgid "Relative" msgstr "" #: pdfarranger/croputils.py:231 msgid "Page Size" msgstr "" #: pdfarranger/croputils.py:328 msgid "Insert Blank Page" msgstr "" #: pdfarranger/exporter.py:106 msgid "Warning" msgstr "" #: pdfarranger/exporter.py:111 msgid "Forms and outlines are lost on saving." msgstr "" #: pdfarranger/exporter.py:113 msgid "Do not show this dialog again." msgstr "" #: pdfarranger/metadata.py:40 msgid "Title" msgstr "Tytuł" #: pdfarranger/metadata.py:41 msgid "Subject" msgstr "" #: pdfarranger/metadata.py:42 msgid "Keywords" msgstr "" #: pdfarranger/metadata.py:43 msgid "Producer" msgstr "Producent" #: pdfarranger/metadata.py:44 msgid "Creator" msgstr "Kreator" #: pdfarranger/metadata.py:45 msgid "Creator tool" msgstr "Narzędzie kreatora" #: pdfarranger/metadata.py:46 #, fuzzy msgid "Created" msgstr "Kreator" #: pdfarranger/metadata.py:47 msgid "Modified" msgstr "" #: pdfarranger/metadata.py:150 msgid "Invalid date format. Input discarded." msgstr "" #: pdfarranger/metadata.py:179 msgid "Edit properties" msgstr "Edytuj właściwości" #: pdfarranger/metadata.py:192 #, fuzzy msgid "Property" msgstr "Właściwości" #: pdfarranger/metadata.py:192 msgid "Value" msgstr "Wartość" #: pdfarranger/pdfarranger.py:341 #, fuzzy msgid "All supported files" msgstr "Wszystkie pliki" #: pdfarranger/pdfarranger.py:345 msgid "PDF files" msgstr "Pliki PDF" #: pdfarranger/pdfarranger.py:352 msgid "All files" msgstr "Wszystkie pliki" #: pdfarranger/pdfarranger.py:357 msgid "Supported image files" msgstr "" #: pdfarranger/pdfarranger.py:531 #, fuzzy msgid "untitled" msgstr "Tytuł" #: pdfarranger/pdfarranger.py:625 msgid "Save changes to “{}” before closing?" msgstr "" #: pdfarranger/pdfarranger.py:627 msgid "Save changes before closing?" msgstr "" #: pdfarranger/pdfarranger.py:629 msgid "Your changes will be lost if you don’t save them." msgstr "" #: pdfarranger/pdfarranger.py:630 msgid "Do_n’t Save" msgstr "" #: pdfarranger/pdfarranger.py:630 msgid "_Cancel" msgstr "" #: pdfarranger/pdfarranger.py:630 data/menu.ui.h:3 msgid "_Save" msgstr "_Zapisz" #: pdfarranger/pdfarranger.py:671 msgid "Export…" msgstr "Eksportuj…" #: pdfarranger/pdfarranger.py:784 msgid "Import…" msgstr "Importuj…" #: pdfarranger/pdfarranger.py:885 msgid "Pasted data not valid. Aborting paste." msgstr "" #: pdfarranger/pdfarranger.py:993 msgid "PDF document is damaged" msgstr "" #: pdfarranger/pdfarranger.py:1794 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" "%s to narzędzie do zmiany kolejności i modyfikacji plików PDF. Opracowany " "przy użyciu GTK + i Python" #: pdfarranger/pdfarranger.py:1797 msgid "Maintainers and contributors" msgstr "" #: pdfarranger/pdfarranger.py:1801 msgid "GNU General Public License (GPL) Version 3." msgstr "" #: pdfarranger/pdfarranger.py:1829 #, fuzzy msgid "Selected pages: " msgstr "Przytnij wybrane strony" #: pdfarranger/splitter.py:26 msgid "Grid splitting" msgstr "" #: pdfarranger/splitter.py:58 msgid "Columns" msgstr "" #: pdfarranger/splitter.py:58 msgid "Rows" msgstr "" #: pdfarranger/splitter.py:59 msgid "Vertical Splits" msgstr "" #: pdfarranger/splitter.py:59 msgid "Horizontal Splits" msgstr "" #: pdfarranger/splitter.py:60 msgid "Equal column width" msgstr "" #: pdfarranger/splitter.py:60 #, fuzzy msgid "Equal row height" msgstr "wysokość %" #: pdfarranger/splitter.py:85 msgid "#Col" msgstr "" #: pdfarranger/splitter.py:85 msgid "#Row" msgstr "" #: pdfarranger/splitter.py:86 msgid "Width in %" msgstr "" #: pdfarranger/splitter.py:86 msgid "Height in %" msgstr "" #: data/pdfarranger.ui.h:1 msgid "Open a file and append it to the current document" msgstr "Otwórz plik i dołącz go do bieżącego dokumentu" #: data/pdfarranger.ui.h:2 msgid "Save" msgstr "Zapisz" #: data/pdfarranger.ui.h:3 msgid "Save As" msgstr "Zapisz jako" #: data/pdfarranger.ui.h:4 msgid "Number of Pages" msgstr "Numer strony" #: data/pdfarranger.ui.h:5 msgid "Main Menu" msgstr "Menu główne" #: data/pdfarranger.ui.h:6 msgid "Zoom In" msgstr "Powiększ" #: data/pdfarranger.ui.h:7 msgid "Zoom Out" msgstr "Pomniejsz" #: data/pdfarranger.ui.h:8 msgid "Rotate Left" msgstr "Obrót w_lewo" #: data/pdfarranger.ui.h:9 msgid "Rotate Right" msgstr "_Obrót w prawo" #: data/menu.ui.h:1 msgid "_Import" msgstr "_Importuj" #: data/menu.ui.h:2 msgid "_New Window" msgstr "" #: data/menu.ui.h:4 msgid "Save _As…" msgstr "Zapisz _jako…" #: data/menu.ui.h:5 #, fuzzy msgid "E_xport" msgstr "Eksportuj…" #: data/menu.ui.h:6 #, fuzzy msgid "E_xport Selection to a Single File…" msgstr "E_ksport wybranej…" #: data/menu.ui.h:7 #, fuzzy msgid "Export Selection to _Individual Files…" msgstr "E_ksport wybranej…" #: data/menu.ui.h:8 msgid "Export _All Pages to Individual Files…" msgstr "" #: data/menu.ui.h:9 msgid "_Undo" msgstr "_Cofnij" #: data/menu.ui.h:10 msgid "_Redo" msgstr "_Ponów" #: data/menu.ui.h:11 msgid "_Edit" msgstr "_Edycja" #: data/menu.ui.h:12 msgid "Rotate _Left" msgstr "Obróć w_lewo" #: data/menu.ui.h:13 msgid "_Rotate Right" msgstr "_Obróć w prawo" #: data/menu.ui.h:14 msgid "_Page Format" msgstr "" #: data/menu.ui.h:15 msgid "Crop White Borders" msgstr "" #: data/menu.ui.h:16 msgid "_Delete" msgstr "_Usuń" #: data/menu.ui.h:17 msgid "Dupl_icate" msgstr "Zdu_plikowane" #: data/menu.ui.h:18 msgid "Re_verse Order" msgstr "Od_wrotna kolejność" #: data/menu.ui.h:19 msgid "_Split Pages" msgstr "_Podziel strony" #: data/menu.ui.h:20 msgid "_Grid Split" msgstr "" #: data/menu.ui.h:21 msgid "Cu_t" msgstr "Wy_tnij" #: data/menu.ui.h:22 msgid "_Copy" msgstr "_Kopiuj" #: data/menu.ui.h:23 msgid "Paste _After" msgstr "Wklej _po" #: data/menu.ui.h:24 msgid "Paste _Before" msgstr "Wklej _przed" #: data/menu.ui.h:25 msgid "Paste Interleave _Odd" msgstr "Wklej Pomiędzy Kartki _Nieparzyste" #: data/menu.ui.h:26 msgid "Paste Interleave _Even" msgstr "Wklej Pomiędzy Kartki _Parzyste" #: data/menu.ui.h:27 msgid "Insert Blan_k Page" msgstr "" #: data/menu.ui.h:28 msgid "_Select" msgstr "" #: data/menu.ui.h:29 msgid "Select _All" msgstr "" #: data/menu.ui.h:30 msgid "_Deselect All" msgstr "" #: data/menu.ui.h:31 #, fuzzy msgid "Select _Odd Pages" msgstr "Przytnij wybrane strony" #: data/menu.ui.h:32 #, fuzzy msgid "Select _Even Pages" msgstr "Przytnij wybrane strony" #: data/menu.ui.h:33 msgid "All From _Same File" msgstr "" #: data/menu.ui.h:34 msgid "Same Page _Format" msgstr "" #: data/menu.ui.h:35 #, fuzzy msgid "_Invert Selection" msgstr "E_ksport wybranej…" #: data/menu.ui.h:36 msgid "Zoom _In" msgstr "Powiększ" #: data/menu.ui.h:37 msgid "Zoom _Out" msgstr "Pomniejsz" #: data/menu.ui.h:38 msgid "Edit _Properties" msgstr "Edytuj _właściwości" #: data/menu.ui.h:39 msgid "_About" msgstr "_O programie" #: data/menu.ui.h:40 msgid "_Quit" msgstr "_Wyjście" #: data/menu.ui.h:41 msgid "Past_e Special" msgstr "Wkle_j specjalne" pdfarranger-1.8.2/po/pt_BR.po000066400000000000000000000277641416164621100160230ustar00rootroot00000000000000# Brazilian portuguese translation for PDF Arranger. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Rogênio Belém , 2013 # Túlio César do Nascimento Peroni ; 2021 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: pdfarranger\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-10-31 13:42+0100\n" "PO-Revision-Date: 2021-11-01 15:25-0300\n" "Last-Translator: Túlio Peroni \n" "Language-Team: BR (Brazil)\n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: pdfarranger/core.py:85 msgid "page" msgstr "página" #: pdfarranger/core.py:193 msgid "Password required" msgstr "Senha obrigatória" #: pdfarranger/core.py:204 msgid "The password will be remembered until you close PDF Arranger." msgstr "A senha será lembrada até que você feche o PDF Arranger." #: pdfarranger/core.py:205 #, python-format msgid "" "The document “{}” is locked and requires a password before it can be opened." msgstr "" "O documento “{}” está bloqueado e requer uma senha antes de ser aberto." #: pdfarranger/core.py:215 msgid "Password" msgstr "Senha" #: pdfarranger/core.py:266 pdfarranger/pdfarranger.py:1234 msgid "Unknown file format" msgstr "Formato de arquivo desconhecido" #: pdfarranger/core.py:282 msgid "Image files are only supported with img2pdf" msgstr "Arquivos de imagem somente são suportados com o img2pdf" #: pdfarranger/core.py:304 msgid "Image format is not supported by img2pdf" msgstr "A imagem não é suportada pelo img2pdf" #: pdfarranger/core.py:306 pdfarranger/pdfarranger.py:1244 msgid "File is neither pdf nor image" msgstr "O arquivo não é PDF nem imagem" #: pdfarranger/croputils.py:114 msgid "Scale factor" msgstr "Fator de escala" #: pdfarranger/croputils.py:120 msgid "%" msgstr "%" #: pdfarranger/croputils.py:136 msgid "mm" msgstr "mm" #: pdfarranger/croputils.py:146 msgid "Left" msgstr "Esquerda" #: pdfarranger/croputils.py:146 msgid "Right" msgstr "Direita" #: pdfarranger/croputils.py:146 msgid "Top" msgstr "Superior" #: pdfarranger/croputils.py:146 msgid "Bottom" msgstr "Inferior" #: pdfarranger/croputils.py:150 msgid "Crop Margins" msgstr "Recortar as margens" #: pdfarranger/croputils.py:158 msgid "" "Cropping does not remove any content from the PDF file, it only hides it." msgstr "Recortar não remove o conteúdo do arquivo PDF, apenas o oculta." #: pdfarranger/croputils.py:167 msgid "% of width" msgstr "% da largura" #: pdfarranger/croputils.py:167 msgid "% of height" msgstr "% da altura" #: pdfarranger/croputils.py:214 msgid "Page format" msgstr "Formatar página" #: pdfarranger/croputils.py:229 pdfarranger/croputils.py:233 #: pdfarranger/croputils.py:353 msgid "Width" msgstr "Largura" #: pdfarranger/croputils.py:230 pdfarranger/croputils.py:234 #: pdfarranger/croputils.py:354 msgid "Height" msgstr "Altura" #: pdfarranger/croputils.py:232 msgid "Relative" msgstr "Relativo" #: pdfarranger/croputils.py:235 msgid "Page Size" msgstr "Tamanho da página" #: pdfarranger/croputils.py:343 msgid "Insert Blank Page" msgstr "Inserir página em branco" #: pdfarranger/exporter.py:119 msgid "Warning" msgstr "Atenção" #: pdfarranger/exporter.py:124 msgid "Forms and outlines are lost on saving." msgstr "Os formulários e marcadores serão perdidos ao salvar o documento." #: pdfarranger/exporter.py:126 msgid "Do not show this dialog again." msgstr "Não mostrar esta caixa de diálogo novamente." #: pdfarranger/metadata.py:40 msgid "Title" msgstr "Título" #: pdfarranger/metadata.py:41 msgid "Subject" msgstr "Assunto" #: pdfarranger/metadata.py:42 msgid "Keywords" msgstr "Palavras-chave" #: pdfarranger/metadata.py:43 msgid "Producer" msgstr "Produtor" #: pdfarranger/metadata.py:44 msgid "Creator" msgstr "Autor" #: pdfarranger/metadata.py:45 msgid "Creator tool" msgstr "Ferramenta de criação" #: pdfarranger/metadata.py:46 msgid "Created" msgstr "Criado em" #: pdfarranger/metadata.py:47 msgid "Modified" msgstr "Modificado em" #: pdfarranger/metadata.py:151 msgid "Invalid date format. Input discarded." msgstr "Formato de data inválido. Valor descartado." #: pdfarranger/metadata.py:180 msgid "Edit properties" msgstr "Editar propriedades" #: pdfarranger/metadata.py:194 msgid "Property" msgstr "Propriedade" #: pdfarranger/metadata.py:194 msgid "Value" msgstr "Valor" #: pdfarranger/pdfarranger.py:271 msgid "" "PDF Arranger is a small python-gtk application, which helps the user to " "merge or split pdf documents and rotate, crop and rearrange their pages " "using an interactive and intuitive graphical interface. It is a frontend for " "pikepdf." msgstr "" "PDF Arranger é um pequeno aplicativo python-gtk, que ajuda o usuário a " "mesclar ou dividir documentos PDF e girar, cortar e reorganizar suas páginas " "usando uma interface gráfica interativa e intuitiva. É um frontend para " "o pikepdf." #: pdfarranger/pdfarranger.py:282 msgid "Print the version of PDF Arranger and exit" msgstr "Mostrar a versão do PDF Arranger e sair" #: pdfarranger/pdfarranger.py:290 msgid "File(s) to open" msgstr "Arquivo(s) a abrir" #: pdfarranger/pdfarranger.py:395 msgid "All pages must have the same size." msgstr "Todas as páginas devem ter o mesmo tamanho." #: pdfarranger/pdfarranger.py:421 msgid "All supported files" msgstr "Todos os arquivos suportados" #: pdfarranger/pdfarranger.py:425 msgid "PDF files" msgstr "Arquivos PDF" #: pdfarranger/pdfarranger.py:432 msgid "All files" msgstr "Todos os arquivos" #: pdfarranger/pdfarranger.py:437 msgid "Supported image files" msgstr "Arquivos de imagem suportados" #: pdfarranger/pdfarranger.py:634 msgid "Rendering…" msgstr "Renderização…" #: pdfarranger/pdfarranger.py:728 msgid "untitled" msgstr "sem título" #: pdfarranger/pdfarranger.py:865 #, python-format msgid "Save changes to “{}” before closing?" msgstr "Salvar as alterações em “{}” antes de fechar?" #: pdfarranger/pdfarranger.py:867 msgid "Save changes before closing?" msgstr "Salvar alterações antes de fechar?" #: pdfarranger/pdfarranger.py:869 msgid "Your changes will be lost if you don’t save them." msgstr "Suas alterações serão perdidas se você não salvá-las." #: pdfarranger/pdfarranger.py:870 msgid "Do_n’t Save" msgstr "_Não salvar" #: pdfarranger/pdfarranger.py:870 msgid "_Cancel" msgstr "_Cancelar" #: pdfarranger/pdfarranger.py:870 data/menu.ui.h:3 msgid "_Save" msgstr "_Salvar" #: pdfarranger/pdfarranger.py:920 msgid "Export…" msgstr "Exportar…" #: pdfarranger/pdfarranger.py:1030 msgid "Import…" msgstr "Importar…" #: pdfarranger/pdfarranger.py:1137 msgid "Pasted data not valid. Aborting paste." msgstr "Os dados colados são inválidos. Cancelando operação." #: pdfarranger/pdfarranger.py:1238 msgid "PDF document is damaged" msgstr "O documento PDF está danificado" #: pdfarranger/pdfarranger.py:2067 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" "%s é uma ferramenta que reorganiza e modifica arquivos PDF. Desenvolvido " "utilizando GTK+ e Python" #: pdfarranger/pdfarranger.py:2070 #, python-format msgid "(%s uses libqpdf %s and pikepdf %s)" msgstr "(%s usa libqpdf %s e pikepdf %s)" #: pdfarranger/pdfarranger.py:2072 msgid "Maintainers and contributors" msgstr "Programadores e colaboradores" #: pdfarranger/pdfarranger.py:2077 msgid "GNU General Public License (GPL) Version 3." msgstr "GNU General Public License (GPL) Versão 3." #: pdfarranger/pdfarranger.py:2105 msgid "Selected pages: " msgstr "Páginas selecionadas: " #: pdfarranger/pdfarranger.py:2110 msgid "Page Size:" msgstr "Tamanho da página" #: pdfarranger/splitter.py:26 msgid "Split Pages" msgstr "Dividir página" #: pdfarranger/splitter.py:58 msgid "Columns" msgstr "Colunas" #: pdfarranger/splitter.py:58 msgid "Rows" msgstr "Linhas" #: pdfarranger/splitter.py:59 msgid "Vertical Splits" msgstr "Divisões na vertical" #: pdfarranger/splitter.py:59 msgid "Horizontal Splits" msgstr "Divisões na horizontal" #: pdfarranger/splitter.py:60 msgid "Equal column width" msgstr "Igualar largura das colunas" #: pdfarranger/splitter.py:60 msgid "Equal row height" msgstr "Igualar altura das linhas" #: pdfarranger/splitter.py:85 msgid "#Col" msgstr "#Col" #: pdfarranger/splitter.py:85 msgid "#Row" msgstr "#Lin" #: pdfarranger/splitter.py:86 msgid "Width in %" msgstr "Largura em %" #: pdfarranger/splitter.py:86 msgid "Height in %" msgstr "Altura em %" #: data/pdfarranger.ui.h:1 msgid "Open a file and append it to the current document" msgstr "Abrir um arquivo e adicioná-lo ao documento atual" #: data/pdfarranger.ui.h:2 msgid "Save" msgstr "Salvar" #: data/pdfarranger.ui.h:3 msgid "Save As" msgstr "Salvar como" #: data/pdfarranger.ui.h:4 msgid "Number of Pages" msgstr "Número de páginas" #: data/pdfarranger.ui.h:5 msgid "Main Menu" msgstr "Menu principal" #: data/pdfarranger.ui.h:6 msgid "Zoom In" msgstr "Ampliar" #: data/pdfarranger.ui.h:7 msgid "Zoom Out" msgstr "Reduzir" #: data/pdfarranger.ui.h:8 msgid "Rotate Left" msgstr "Rotacionar à esquerda" #: data/pdfarranger.ui.h:9 msgid "Rotate Right" msgstr "Rotacionar à direita" #: data/menu.ui.h:1 msgid "_Import" msgstr "_Importar" #: data/menu.ui.h:2 msgid "_New Window" msgstr "_Nova Janela" #: data/menu.ui.h:4 msgid "Save _As…" msgstr "S_alvar Como…" #: data/menu.ui.h:5 msgid "E_xport" msgstr "E_xportar" #: data/menu.ui.h:6 msgid "E_xport Selection to a Single File…" msgstr "E_xportar seleção para um único arquivo…" #: data/menu.ui.h:7 msgid "Export Selection to _Individual Files…" msgstr "Exportar seleção em arquivos _individuais…" #: data/menu.ui.h:8 msgid "Export _All Pages to Individual Files…" msgstr "Export_ar todas as páginas em arquivos individuais…" #: data/menu.ui.h:9 msgid "_Undo" msgstr "_Desfazer" #: data/menu.ui.h:10 msgid "_Redo" msgstr "_Refazer" #: data/menu.ui.h:11 msgid "_Edit" msgstr "_Editar" #: data/menu.ui.h:12 msgid "Rotate _Left" msgstr "Rotacionar à es_querda" #: data/menu.ui.h:13 msgid "_Rotate Right" msgstr "_Rotacionar à direita" #: data/menu.ui.h:14 msgid "_Page Format" msgstr "Formatar _página" #: data/menu.ui.h:15 msgid "Crop White Borders" msgstr "Recortar margens em branco" #: data/menu.ui.h:16 msgid "_Delete" msgstr "Remo_ver" #: data/menu.ui.h:17 msgid "Dupl_icate" msgstr "Dupl_icar" #: data/menu.ui.h:18 msgid "Re_verse Order" msgstr "Inverter _ordem" #: data/menu.ui.h:19 msgid "_Split Pages" msgstr "_Dividir página" #: data/menu.ui.h:20 msgid "Cu_t" msgstr "Cor_tar" #: data/menu.ui.h:21 msgid "_Copy" msgstr "_Copiar" #: data/menu.ui.h:22 msgid "Paste _After" msgstr "Col_ar depois" #: data/menu.ui.h:23 msgid "Paste _Before" msgstr "Colar a_ntes" #: data/menu.ui.h:24 msgid "Paste As _Odd Pages" msgstr "Co_lar como páginas ímpares" #: data/menu.ui.h:25 msgid "Paste As _Even Pages" msgstr "Colar como páginas par_es" #: data/menu.ui.h:26 msgid "Insert Blan_k Page" msgstr "Inserir página em _branco" #: data/menu.ui.h:27 msgid "Generate Booklet" msgstr "Gerar livreto" #: data/menu.ui.h:28 msgid "_Select" msgstr "_Selecionar" #: data/menu.ui.h:29 msgid "Select _All" msgstr "Selecion_ar tudo" #: data/menu.ui.h:30 msgid "_Deselect All" msgstr "_Desmarcar tudo" #: data/menu.ui.h:31 msgid "Select _Odd Pages" msgstr "Seleci_onar páginas ímpares" #: data/menu.ui.h:32 msgid "Select _Even Pages" msgstr "Selecionar páginas par_es" #: data/menu.ui.h:33 msgid "All From _Same File" msgstr "Todas as páginas do me_smo arquivo" #: data/menu.ui.h:34 msgid "Same Page _Format" msgstr "Páginas com o mesmo _formato" #: data/menu.ui.h:35 msgid "_Invert Selection" msgstr "_Inverter seleção" #: data/menu.ui.h:36 msgid "Zoom _In" msgstr "A_mpliar" #: data/menu.ui.h:37 msgid "Zoom _Out" msgstr "Redu_zir" #: data/menu.ui.h:38 msgid "Edit _Properties" msgstr "Editar _Propriedades" #: data/menu.ui.h:39 msgid "_About" msgstr "S_obre" #: data/menu.ui.h:40 msgid "_Quit" msgstr "_Sair" #: data/menu.ui.h:41 msgid "Past_e Special" msgstr "Colar _especial" pdfarranger-1.8.2/po/pt_PT.po000066400000000000000000000277571416164621100160450ustar00rootroot00000000000000# Portuguese translation for pdfarranger. # Copyright (C) 2021 COPYRIGHT HOLDER # This file is distributed under the same license as the PDF Arranger package. # Hugo Carvalho , 2021. # msgid "" msgstr "" "Project-Id-Version: pdfarranger\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-10-31 13:42+0100\n" "PO-Revision-Date: 2021-11-02 11:45+0000\n" "Last-Translator: Hugo Carvalho \n" "Language-Team: Portuguese (Portugal)\n" "Language: pt_PT\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Poedit 3.0\n" #: pdfarranger/core.py:85 msgid "page" msgstr "página" #: pdfarranger/core.py:193 msgid "Password required" msgstr "Requer palavra-passe" #: pdfarranger/core.py:204 msgid "The password will be remembered until you close PDF Arranger." msgstr "PDF Arranger apenas irá memorizar a palavra-passe para esta sessão." #: pdfarranger/core.py:205 #, python-format msgid "" "The document “{}” is locked and requires a password before it can be opened." msgstr "" "O documento “{}” está bloqueado e requer uma palavra-passe para poder ser " "aberto." #: pdfarranger/core.py:215 msgid "Password" msgstr "Palavra-passe" #: pdfarranger/core.py:266 pdfarranger/pdfarranger.py:1234 msgid "Unknown file format" msgstr "Formato desconhecido" #: pdfarranger/core.py:282 msgid "Image files are only supported with img2pdf" msgstr "Ficheiros de imagem apenas suportados com img2pdf" #: pdfarranger/core.py:304 msgid "Image format is not supported by img2pdf" msgstr "Formato de imagem não suportado por img2pdf" #: pdfarranger/core.py:306 pdfarranger/pdfarranger.py:1244 msgid "File is neither pdf nor image" msgstr "O ficheiro não é um PDF nem uma imagem" #: pdfarranger/croputils.py:114 msgid "Scale factor" msgstr "Fator de escala" #: pdfarranger/croputils.py:120 msgid "%" msgstr "%" #: pdfarranger/croputils.py:136 msgid "mm" msgstr "mm" #: pdfarranger/croputils.py:146 msgid "Left" msgstr "Esquerda" #: pdfarranger/croputils.py:146 msgid "Right" msgstr "Direita" #: pdfarranger/croputils.py:146 msgid "Top" msgstr "Cima" #: pdfarranger/croputils.py:146 msgid "Bottom" msgstr "Baixo" #: pdfarranger/croputils.py:150 msgid "Crop Margins" msgstr "Margens de recorte" #: pdfarranger/croputils.py:158 msgid "" "Cropping does not remove any content from the PDF file, it only hides it." msgstr "O corte oculta o conteúdo do ficheiro PDF mas não o remove." #: pdfarranger/croputils.py:167 msgid "% of width" msgstr "% da largura" #: pdfarranger/croputils.py:167 msgid "% of height" msgstr "% da altura" #: pdfarranger/croputils.py:214 msgid "Page format" msgstr "Formato da página" #: pdfarranger/croputils.py:229 pdfarranger/croputils.py:233 #: pdfarranger/croputils.py:353 msgid "Width" msgstr "Largura" #: pdfarranger/croputils.py:230 pdfarranger/croputils.py:234 #: pdfarranger/croputils.py:354 msgid "Height" msgstr "Altura" #: pdfarranger/croputils.py:232 msgid "Relative" msgstr "Relativa" #: pdfarranger/croputils.py:235 msgid "Page Size" msgstr "Tamanho da página" #: pdfarranger/croputils.py:343 msgid "Insert Blank Page" msgstr "Inserir página vazia" #: pdfarranger/exporter.py:119 msgid "Warning" msgstr "Aviso" #: pdfarranger/exporter.py:124 msgid "Forms and outlines are lost on saving." msgstr "Os formulários e tópicos não são guardados." #: pdfarranger/exporter.py:126 msgid "Do not show this dialog again." msgstr "Não mostrar novamente." #: pdfarranger/metadata.py:40 msgid "Title" msgstr "Título" #: pdfarranger/metadata.py:41 msgid "Subject" msgstr "Assunto" #: pdfarranger/metadata.py:42 msgid "Keywords" msgstr "Palavras-chave" #: pdfarranger/metadata.py:43 msgid "Producer" msgstr "Produtor" #: pdfarranger/metadata.py:44 msgid "Creator" msgstr "Criador" #: pdfarranger/metadata.py:45 msgid "Creator tool" msgstr "Criado por" #: pdfarranger/metadata.py:46 msgid "Created" msgstr "Criado" #: pdfarranger/metadata.py:47 msgid "Modified" msgstr "Modificado" #: pdfarranger/metadata.py:151 msgid "Invalid date format. Input discarded." msgstr "Formato de data inválido. Será descartado." #: pdfarranger/metadata.py:180 msgid "Edit properties" msgstr "Editar propriedades" #: pdfarranger/metadata.py:194 msgid "Property" msgstr "Propriedade" #: pdfarranger/metadata.py:194 msgid "Value" msgstr "Valor" #: pdfarranger/pdfarranger.py:271 msgid "" "PDF Arranger is a small python-gtk application, which helps the user to " "merge or split pdf documents and rotate, crop and rearrange their pages " "using an interactive and intuitive graphical interface. It is a frontend for " "pikepdf." msgstr "" "O PDF Arranger é uma pequena aplicação em python-gtk, que ajuda o utilizador " "a juntar ou dividir documentos pdf e a rodar, cortar e reorganizar as suas " "páginas usando uma interface gráfica interativa e intuitiva. É uma interface " "para pikepdf." #: pdfarranger/pdfarranger.py:282 msgid "Print the version of PDF Arranger and exit" msgstr "Mostra a versão do PDF Arranger e sai" #: pdfarranger/pdfarranger.py:290 msgid "File(s) to open" msgstr "Ficheiro(s) a abrir" #: pdfarranger/pdfarranger.py:395 msgid "All pages must have the same size." msgstr "Todas as páginas devem ter o mesmo tamanho." #: pdfarranger/pdfarranger.py:421 msgid "All supported files" msgstr "Todos os ficheiros suportados" #: pdfarranger/pdfarranger.py:425 msgid "PDF files" msgstr "Ficheiros PDF" #: pdfarranger/pdfarranger.py:432 msgid "All files" msgstr "Todos os ficheiros" #: pdfarranger/pdfarranger.py:437 msgid "Supported image files" msgstr "Ficheiros de imagem suportados" #: pdfarranger/pdfarranger.py:634 msgid "Rendering…" msgstr "Renderização…" #: pdfarranger/pdfarranger.py:728 msgid "untitled" msgstr "sem título" #: pdfarranger/pdfarranger.py:865 #, python-format msgid "Save changes to “{}” before closing?" msgstr "Guardar alterações a “{}” antes de fechar?" #: pdfarranger/pdfarranger.py:867 msgid "Save changes before closing?" msgstr "Guardar alterações antes de fechar?" #: pdfarranger/pdfarranger.py:869 msgid "Your changes will be lost if you don’t save them." msgstr "Se não as guardar, perderá todas as alterações." #: pdfarranger/pdfarranger.py:870 msgid "Do_n’t Save" msgstr "_Não guardar" #: pdfarranger/pdfarranger.py:870 msgid "_Cancel" msgstr "_Cancelar" #: pdfarranger/pdfarranger.py:870 data/menu.ui.h:3 msgid "_Save" msgstr "_Guardar" #: pdfarranger/pdfarranger.py:920 msgid "Export…" msgstr "Exportar…" #: pdfarranger/pdfarranger.py:1030 msgid "Import…" msgstr "Importar…" #: pdfarranger/pdfarranger.py:1137 msgid "Pasted data not valid. Aborting paste." msgstr "Os dados colados são inválidos. A abortar." #: pdfarranger/pdfarranger.py:1238 msgid "PDF document is damaged" msgstr "O documento PDF está danificado" #: pdfarranger/pdfarranger.py:2067 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" "%s é uma ferramenta para organizar e modificar ficheiros PDF. Desenvolvido " "em GTK+ e Python" #: pdfarranger/pdfarranger.py:2070 #, python-format msgid "(%s uses libqpdf %s and pikepdf %s)" msgstr "(%s usa libqpdf %s e pikepdf %s)" #: pdfarranger/pdfarranger.py:2072 msgid "Maintainers and contributors" msgstr "Programadores e colaboradores" #: pdfarranger/pdfarranger.py:2077 msgid "GNU General Public License (GPL) Version 3." msgstr "GNU General Public License (GPL), versão 3." #: pdfarranger/pdfarranger.py:2105 msgid "Selected pages: " msgstr "Páginas selecionadas: " #: pdfarranger/pdfarranger.py:2110 msgid "Page Size:" msgstr "Tamanho da página:" #: pdfarranger/splitter.py:26 msgid "Split Pages" msgstr "Separar páginas" #: pdfarranger/splitter.py:58 msgid "Columns" msgstr "Colunas" #: pdfarranger/splitter.py:58 msgid "Rows" msgstr "Linhas" #: pdfarranger/splitter.py:59 msgid "Vertical Splits" msgstr "Separação vertical" #: pdfarranger/splitter.py:59 msgid "Horizontal Splits" msgstr "Separação horizontal" #: pdfarranger/splitter.py:60 msgid "Equal column width" msgstr "Igualar largura de colunas" #: pdfarranger/splitter.py:60 msgid "Equal row height" msgstr "Igualar altura de linhas" #: pdfarranger/splitter.py:85 msgid "#Col" msgstr "#Coluna" #: pdfarranger/splitter.py:85 msgid "#Row" msgstr "#Linha" #: pdfarranger/splitter.py:86 msgid "Width in %" msgstr "Largura em %" #: pdfarranger/splitter.py:86 msgid "Height in %" msgstr "Altura em %" #: data/pdfarranger.ui.h:1 msgid "Open a file and append it to the current document" msgstr "Abrir um ficheiro e anexar ao documento atual" #: data/pdfarranger.ui.h:2 msgid "Save" msgstr "Guardar" #: data/pdfarranger.ui.h:3 msgid "Save As" msgstr "Guardar como" #: data/pdfarranger.ui.h:4 msgid "Number of Pages" msgstr "Número de páginas" #: data/pdfarranger.ui.h:5 msgid "Main Menu" msgstr "Menu" #: data/pdfarranger.ui.h:6 msgid "Zoom In" msgstr "Ampliar" #: data/pdfarranger.ui.h:7 msgid "Zoom Out" msgstr "Reduzir" #: data/pdfarranger.ui.h:8 msgid "Rotate Left" msgstr "Rodar à esquerda" #: data/pdfarranger.ui.h:9 msgid "Rotate Right" msgstr "Rodar à direita" #: data/menu.ui.h:1 msgid "_Import" msgstr "_Importar" #: data/menu.ui.h:2 msgid "_New Window" msgstr "_Nova janela" #: data/menu.ui.h:4 msgid "Save _As…" msgstr "Guard_ar como…" #: data/menu.ui.h:5 msgid "E_xport" msgstr "E_xportar" #: data/menu.ui.h:6 msgid "E_xport Selection to a Single File…" msgstr "E_xportar seleção para um ficheiro…" #: data/menu.ui.h:7 msgid "Export Selection to _Individual Files…" msgstr "Exportar seleção para f_icheiros distintos…" #: data/menu.ui.h:8 msgid "Export _All Pages to Individual Files…" msgstr "Export_ar todas as páginas para ficheiros distintos…" #: data/menu.ui.h:9 msgid "_Undo" msgstr "An_ular" #: data/menu.ui.h:10 msgid "_Redo" msgstr "_Refazer" #: data/menu.ui.h:11 msgid "_Edit" msgstr "_Editar" #: data/menu.ui.h:12 msgid "Rotate _Left" msgstr "Rodar à _esquerda" #: data/menu.ui.h:13 msgid "_Rotate Right" msgstr "Rodar à _direita" #: data/menu.ui.h:14 msgid "_Page Format" msgstr "Formato da _página" #: data/menu.ui.h:15 msgid "Crop White Borders" msgstr "Recortar margens brancas" #: data/menu.ui.h:16 msgid "_Delete" msgstr "E_liminar" #: data/menu.ui.h:17 msgid "Dupl_icate" msgstr "Dupl_icar" #: data/menu.ui.h:18 msgid "Re_verse Order" msgstr "Ordem in_versa" #: data/menu.ui.h:19 msgid "_Split Pages" msgstr "_Separar páginas" #: data/menu.ui.h:20 msgid "Cu_t" msgstr "Cor_tar" #: data/menu.ui.h:21 msgid "_Copy" msgstr "_Copiar" #: data/menu.ui.h:22 msgid "Paste _After" msgstr "Col_ar depois" #: data/menu.ui.h:23 msgid "Paste _Before" msgstr "Colar a_ntes" #: data/menu.ui.h:24 msgid "Paste As _Odd Pages" msgstr "C_olar como páginas ímpares" #: data/menu.ui.h:25 msgid "Paste As _Even Pages" msgstr "Colar como páginas par_es" #: data/menu.ui.h:26 msgid "Insert Blan_k Page" msgstr "Inserir página em bran_co" #: data/menu.ui.h:27 msgid "Generate Booklet" msgstr "Gerar folheto" #: data/menu.ui.h:28 msgid "_Select" msgstr "_Selecionar" #: data/menu.ui.h:29 msgid "Select _All" msgstr "M_arcar tudo" #: data/menu.ui.h:30 msgid "_Deselect All" msgstr "_Desmarcar tudo" #: data/menu.ui.h:31 msgid "Select _Odd Pages" msgstr "Seleci_onar páginas ímpares" #: data/menu.ui.h:32 msgid "Select _Even Pages" msgstr "Selecionar páginas par_es" #: data/menu.ui.h:33 msgid "All From _Same File" msgstr "Tudo do me_smo ficheiro" #: data/menu.ui.h:34 msgid "Same Page _Format" msgstr "Mesmo _formato de página" #: data/menu.ui.h:35 msgid "_Invert Selection" msgstr "_Inverter seleção" #: data/menu.ui.h:36 msgid "Zoom _In" msgstr "Ampl_iar" #: data/menu.ui.h:37 msgid "Zoom _Out" msgstr "Redu_zir" #: data/menu.ui.h:38 msgid "Edit _Properties" msgstr "Editar _propriedades" #: data/menu.ui.h:39 msgid "_About" msgstr "_Acerca" #: data/menu.ui.h:40 msgid "_Quit" msgstr "_Sair" #: data/menu.ui.h:41 msgid "Past_e Special" msgstr "Colar _especial" #~ msgid "Grid splitting" #~ msgstr "Separação em grelha" #~ msgid "_Grid Split" #~ msgstr "Separação em _grelha" pdfarranger-1.8.2/po/ru.po000066400000000000000000000344311416164621100154300ustar00rootroot00000000000000# Russian translation for pdfarranger. # Copyright (C) 2020 Alexander Volkov # This file is distributed under the same license as the pdfarranger package. # Translators: # Alexander Volkov, 2020 msgid "" msgstr "" "Project-Id-Version: pdfarranger master\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-10-31 13:42+0100\n" "PO-Revision-Date: 2021-11-01 18:23+1000\n" "Last-Translator: Ser82-png; Alexander Volkov\n" "Language-Team: \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 2.3\n" #: pdfarranger/core.py:85 msgid "page" msgstr "страница" #: pdfarranger/core.py:193 msgid "Password required" msgstr "Требуется пароль" #: pdfarranger/core.py:204 msgid "The password will be remembered until you close PDF Arranger." msgstr "Пароль будет запомнен, пока вы не закроете PDF Arranger." #: pdfarranger/core.py:205 #, python-format msgid "" "The document “{}” is locked and requires a password before it can be opened." msgstr "Документ “{}” заблокирован, и для его открытия требуется пароль." #: pdfarranger/core.py:215 msgid "Password" msgstr "Пароль" #: pdfarranger/core.py:266 pdfarranger/pdfarranger.py:1234 msgid "Unknown file format" msgstr "Неизвестный формат файла" #: pdfarranger/core.py:282 msgid "Image files are only supported with img2pdf" msgstr "Файлы изображений поддерживаются только с img2pdf" #: pdfarranger/core.py:304 msgid "Image format is not supported by img2pdf" msgstr "Формат изображения не поддерживается img2pdf" #: pdfarranger/core.py:306 pdfarranger/pdfarranger.py:1244 msgid "File is neither pdf nor image" msgstr "Файл не является ни PDF, ни изображением" #: pdfarranger/croputils.py:114 msgid "Scale factor" msgstr "Масштаб" #: pdfarranger/croputils.py:120 msgid "%" msgstr "%" #: pdfarranger/croputils.py:136 msgid "mm" msgstr "мм" #: pdfarranger/croputils.py:146 msgid "Left" msgstr "Слева" #: pdfarranger/croputils.py:146 msgid "Right" msgstr "Справа" #: pdfarranger/croputils.py:146 msgid "Top" msgstr "Сверху" #: pdfarranger/croputils.py:146 msgid "Bottom" msgstr "Снизу" #: pdfarranger/croputils.py:150 msgid "Crop Margins" msgstr "Обрезать поля" #: pdfarranger/croputils.py:158 msgid "" "Cropping does not remove any content from the PDF file, it only hides it." msgstr "Обрезка не удаляет содержимое файла PDF, а только скрывает его." #: pdfarranger/croputils.py:167 msgid "% of width" msgstr "% ширины" #: pdfarranger/croputils.py:167 msgid "% of height" msgstr "% высоты" #: pdfarranger/croputils.py:214 msgid "Page format" msgstr "Форматировать страницу" #: pdfarranger/croputils.py:229 pdfarranger/croputils.py:233 #: pdfarranger/croputils.py:353 msgid "Width" msgstr "Ширина" #: pdfarranger/croputils.py:230 pdfarranger/croputils.py:234 #: pdfarranger/croputils.py:354 msgid "Height" msgstr "Высота" #: pdfarranger/croputils.py:232 msgid "Relative" msgstr "Относительный" #: pdfarranger/croputils.py:235 msgid "Page Size" msgstr "Размер страницы" #: pdfarranger/croputils.py:343 msgid "Insert Blank Page" msgstr "Вставить пустую страницу" #: pdfarranger/exporter.py:119 msgid "Warning" msgstr "Предупреждение" #: pdfarranger/exporter.py:124 msgid "Forms and outlines are lost on saving." msgstr "Формы и очертания будут потеряны при сохранении." #: pdfarranger/exporter.py:126 msgid "Do not show this dialog again." msgstr "Не показывать этот диалог снова." #: pdfarranger/metadata.py:40 msgid "Title" msgstr "Заголовок" #: pdfarranger/metadata.py:41 msgid "Subject" msgstr "Тема" #: pdfarranger/metadata.py:42 msgid "Keywords" msgstr "Ключевые слова" #: pdfarranger/metadata.py:43 msgid "Producer" msgstr "Программа" #: pdfarranger/metadata.py:44 msgid "Creator" msgstr "Автор" #: pdfarranger/metadata.py:45 msgid "Creator tool" msgstr "Создано с помощью" #: pdfarranger/metadata.py:46 msgid "Created" msgstr "Создан" #: pdfarranger/metadata.py:47 msgid "Modified" msgstr "Изменён" #: pdfarranger/metadata.py:151 msgid "Invalid date format. Input discarded." msgstr "Неверный формат даты. Вход отклонен." #: pdfarranger/metadata.py:180 msgid "Edit properties" msgstr "Редактировать свойства" #: pdfarranger/metadata.py:194 msgid "Property" msgstr "Свойство" #: pdfarranger/metadata.py:194 msgid "Value" msgstr "Значение" #: pdfarranger/pdfarranger.py:271 msgid "" "PDF Arranger is a small python-gtk application, which helps the user to " "merge or split pdf documents and rotate, crop and rearrange their pages " "using an interactive and intuitive graphical interface. It is a frontend for " "pikepdf." msgstr "" "PDF Arranger - это небольшое python-gtk приложение, которое помогает " "пользователю объединять или разделять документы PDF, а также вращать, " "обрезать и переупорядочивать их страницы с помощью интерактивного и " "интуитивно понятного графического интерфейса. Это интерфейс для pikepdf." #: pdfarranger/pdfarranger.py:282 msgid "Print the version of PDF Arranger and exit" msgstr "Распечатать версию программы PDF Arranger и выйти" #: pdfarranger/pdfarranger.py:290 msgid "File(s) to open" msgstr "Файл(ы) для открытия" #: pdfarranger/pdfarranger.py:395 msgid "All pages must have the same size." msgstr "Все страницы должны иметь одинаковый размер." #: pdfarranger/pdfarranger.py:421 msgid "All supported files" msgstr "Все поддерживаемые файлы" #: pdfarranger/pdfarranger.py:425 msgid "PDF files" msgstr "Файлы PDF" #: pdfarranger/pdfarranger.py:432 msgid "All files" msgstr "Все файлы" #: pdfarranger/pdfarranger.py:437 msgid "Supported image files" msgstr "Поддерживаемые файлы изображений" #: pdfarranger/pdfarranger.py:634 msgid "Rendering…" msgstr "Отрисовка…" #: pdfarranger/pdfarranger.py:728 msgid "untitled" msgstr "без_названия" #: pdfarranger/pdfarranger.py:865 #, python-format msgid "Save changes to “{}” before closing?" msgstr "Сохранить изменения в “{}” перед закрытием?" #: pdfarranger/pdfarranger.py:867 msgid "Save changes before closing?" msgstr "Сохранить изменения в перед закрытием?" #: pdfarranger/pdfarranger.py:869 msgid "Your changes will be lost if you don’t save them." msgstr "Ваши изменения будут потеряны, если их не сохранить." #: pdfarranger/pdfarranger.py:870 msgid "Do_n’t Save" msgstr "_Не сохранять" #: pdfarranger/pdfarranger.py:870 msgid "_Cancel" msgstr "_Отмена" #: pdfarranger/pdfarranger.py:870 data/menu.ui.h:3 msgid "_Save" msgstr "_Сохранить" #: pdfarranger/pdfarranger.py:920 msgid "Export…" msgstr "Экспорт…" #: pdfarranger/pdfarranger.py:1030 msgid "Import…" msgstr "Импорт…" #: pdfarranger/pdfarranger.py:1137 msgid "Pasted data not valid. Aborting paste." msgstr "Вставляемые данные недопустимы. Вставка прервана." #: pdfarranger/pdfarranger.py:1238 msgid "PDF document is damaged" msgstr "Документ PDF повреждён" #: pdfarranger/pdfarranger.py:2067 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" "%s - инструмент для переупорядочивания и изменения файлов PDF. Разработан с " "использованием GTK+ и Python" #: pdfarranger/pdfarranger.py:2070 #, python-format msgid "(%s uses libqpdf %s and pikepdf %s)" msgstr "(%s использует libqpdf %s и pikepdf %s)" #: pdfarranger/pdfarranger.py:2072 msgid "Maintainers and contributors" msgstr "Сопровождающие и участники проекта" #: pdfarranger/pdfarranger.py:2077 msgid "GNU General Public License (GPL) Version 3." msgstr "" #: pdfarranger/pdfarranger.py:2105 msgid "Selected pages: " msgstr "Выбранные страницы: " #: pdfarranger/pdfarranger.py:2110 msgid "Page Size:" msgstr "Размер страницы:" #: pdfarranger/splitter.py:26 msgid "Split Pages" msgstr "Разделить страницы" #: pdfarranger/splitter.py:58 msgid "Columns" msgstr "Столбцы" #: pdfarranger/splitter.py:58 msgid "Rows" msgstr "Ряды" #: pdfarranger/splitter.py:59 msgid "Vertical Splits" msgstr "Вертикальные разделения" #: pdfarranger/splitter.py:59 msgid "Horizontal Splits" msgstr "Горизонтальные разделения" #: pdfarranger/splitter.py:60 msgid "Equal column width" msgstr "Равная ширина столбцов" #: pdfarranger/splitter.py:60 msgid "Equal row height" msgstr "Равная высота рядов" #: pdfarranger/splitter.py:85 msgid "#Col" msgstr "#Столбец" #: pdfarranger/splitter.py:85 msgid "#Row" msgstr "#Ряд" #: pdfarranger/splitter.py:86 msgid "Width in %" msgstr "Ширина в %" #: pdfarranger/splitter.py:86 msgid "Height in %" msgstr "Высота в %" #: data/pdfarranger.ui.h:1 msgid "Open a file and append it to the current document" msgstr "Открыть файл и добавить его к текущему документу" #: data/pdfarranger.ui.h:2 msgid "Save" msgstr "Сохранить" #: data/pdfarranger.ui.h:3 msgid "Save As" msgstr "Сохранить как" #: data/pdfarranger.ui.h:4 msgid "Number of Pages" msgstr "Число страниц" #: data/pdfarranger.ui.h:5 msgid "Main Menu" msgstr "Главное меню" #: data/pdfarranger.ui.h:6 msgid "Zoom In" msgstr "Увеличить" #: data/pdfarranger.ui.h:7 msgid "Zoom Out" msgstr "Уменьшить" #: data/pdfarranger.ui.h:8 msgid "Rotate Left" msgstr "Повернуть влево" #: data/pdfarranger.ui.h:9 msgid "Rotate Right" msgstr "Повернуть вправо" #: data/menu.ui.h:1 msgid "_Import" msgstr "_Импорт" #: data/menu.ui.h:2 msgid "_New Window" msgstr "_Создать окно" #: data/menu.ui.h:4 msgid "Save _As…" msgstr "Сохранить _как…" #: data/menu.ui.h:5 msgid "E_xport" msgstr "_Экспорт…" #: data/menu.ui.h:6 msgid "E_xport Selection to a Single File…" msgstr "Экспорт выделенного фрагмента в _один файл…" #: data/menu.ui.h:7 msgid "Export Selection to _Individual Files…" msgstr "Экспорт выделенных фрагментов в от_дельные файлы…" #: data/menu.ui.h:8 msgid "Export _All Pages to Individual Files…" msgstr "Экспорт _всех страниц в отдельные файлы…" #: data/menu.ui.h:9 msgid "_Undo" msgstr "О_тменить" #: data/menu.ui.h:10 msgid "_Redo" msgstr "_Повторить" #: data/menu.ui.h:11 msgid "_Edit" msgstr "П_равка" #: data/menu.ui.h:12 msgid "Rotate _Left" msgstr "Повернуть в_лево" #: data/menu.ui.h:13 msgid "_Rotate Right" msgstr "Повернуть в_право" #: data/menu.ui.h:14 msgid "_Page Format" msgstr "_Форматировать страницу" #: data/menu.ui.h:15 msgid "Crop White Borders" msgstr "Обрезать белые границы" #: data/menu.ui.h:16 msgid "_Delete" msgstr "_Удалить" #: data/menu.ui.h:17 msgid "Dupl_icate" msgstr "_Дублировать" #: data/menu.ui.h:18 msgid "Re_verse Order" msgstr "_Обратный порядок" #: data/menu.ui.h:19 msgid "_Split Pages" msgstr "Раз_делить страницы" #: data/menu.ui.h:20 msgid "Cu_t" msgstr "Вы_резать" #: data/menu.ui.h:21 msgid "_Copy" msgstr "_Копировать" #: data/menu.ui.h:22 msgid "Paste _After" msgstr "Вставить п_осле" #: data/menu.ui.h:23 msgid "Paste _Before" msgstr "Вставит_ь до" #: data/menu.ui.h:24 msgid "Paste As _Odd Pages" msgstr "Вставить как _нечётные страницы" #: data/menu.ui.h:25 msgid "Paste As _Even Pages" msgstr "Вставить как _чётные страницы" #: data/menu.ui.h:26 msgid "Insert Blan_k Page" msgstr "Вставить _пустую страницу" #: data/menu.ui.h:27 msgid "Generate Booklet" msgstr "Создать буклет" #: data/menu.ui.h:28 msgid "_Select" msgstr "В_ыделить" #: data/menu.ui.h:29 msgid "Select _All" msgstr "Выделить _всё" #: data/menu.ui.h:30 msgid "_Deselect All" msgstr "Сн_ять выделение" #: data/menu.ui.h:31 msgid "Select _Odd Pages" msgstr "Выделить _нечётные страницы" #: data/menu.ui.h:32 msgid "Select _Even Pages" msgstr "Выделить _чётные страницы" #: data/menu.ui.h:33 msgid "All From _Same File" msgstr "Все из _одного файла" #: data/menu.ui.h:34 msgid "Same Page _Format" msgstr "Страницы того же _формата" #: data/menu.ui.h:35 msgid "_Invert Selection" msgstr "_Инвертировать выделение" #: data/menu.ui.h:36 msgid "Zoom _In" msgstr "У_величить" #: data/menu.ui.h:37 msgid "Zoom _Out" msgstr "У_меньшить" #: data/menu.ui.h:38 msgid "Edit _Properties" msgstr "Редактировать _свойства" #: data/menu.ui.h:39 msgid "_About" msgstr "_О приложении" #: data/menu.ui.h:40 msgid "_Quit" msgstr "В_ыход" #: data/menu.ui.h:41 msgid "Past_e Special" msgstr "_Специальная вставка" #~ msgid "Grid splitting" #~ msgstr "Разделительная сетка" #~ msgid "Paste Interleave _Odd" #~ msgstr "Вставить с _нечётным чередованием" #~ msgid "Paste Interleave _Even" #~ msgstr "Вставить с _чётным чередованием" pdfarranger-1.8.2/po/sv.po000066400000000000000000000271571416164621100154410ustar00rootroot00000000000000# Swedish translation for pdfarranger. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the pdfarranger package. # Translators: # kbengs, 2020 msgid "" msgstr "" "Project-Id-Version: pdfarranger\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-09 10:23+0200\n" "PO-Revision-Date: 2021-11-02 17:01+0200\n" "Last-Translator: kbengs\n" "Language-Team: Swedish\n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 2.3\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: pdfarranger/core.py:85 msgid "page" msgstr "sida" #: pdfarranger/core.py:193 msgid "Password required" msgstr "Lösenord krävs" #: pdfarranger/core.py:204 msgid "The password will be remembered until you close PDF Arranger." msgstr "Lösenordet kommer att vara sparat tills du stänger PDF Arranger." #: pdfarranger/core.py:205 msgid "" "The document “{}” is locked and requires a password before it can be opened." msgstr "Dokumentet “{}” är låst och ett lösenord krävs innan det kan öppnas." #: pdfarranger/core.py:215 msgid "Password" msgstr "Lösenord" #: pdfarranger/core.py:266 pdfarranger/pdfarranger.py:1267 msgid "Unknown file format" msgstr "Okänt filformat" #: pdfarranger/core.py:282 msgid "Image files are only supported with img2pdf" msgstr "Img2pdf krävs för stöd av bildfiler" #: pdfarranger/core.py:304 msgid "Image format is not supported by img2pdf" msgstr "Bildformatet stöds inte av img2pdf" #: pdfarranger/core.py:306 pdfarranger/pdfarranger.py:1277 msgid "File is neither pdf nor image" msgstr "Filen är varken en PDF eller en bildfil" #: pdfarranger/croputils.py:114 msgid "Scale factor" msgstr "Skalningsfaktor" #: pdfarranger/croputils.py:120 msgid "%" msgstr "%" #: pdfarranger/croputils.py:136 msgid "mm" msgstr "mm" #: pdfarranger/croputils.py:146 msgid "Left" msgstr "Vänster" #: pdfarranger/croputils.py:146 msgid "Right" msgstr "Höger" #: pdfarranger/croputils.py:146 msgid "Top" msgstr "Över" #: pdfarranger/croputils.py:146 msgid "Bottom" msgstr "Under" #: pdfarranger/croputils.py:150 msgid "Crop Margins" msgstr "Beskär marginaler" #: pdfarranger/croputils.py:158 msgid "" "Cropping does not remove any content from the PDF file, it only hides it." msgstr "" "Innehåll tas inte bort från PDF-filen vid beskärning, utan döljs endast." #: pdfarranger/croputils.py:167 msgid "% of width" msgstr "% av bredd" #: pdfarranger/croputils.py:167 msgid "% of height" msgstr "% av höjd" #: pdfarranger/croputils.py:214 msgid "Page format" msgstr "Sidformat" #: pdfarranger/croputils.py:229 pdfarranger/croputils.py:233 #: pdfarranger/croputils.py:353 msgid "Width" msgstr "Bredd" #: pdfarranger/croputils.py:230 pdfarranger/croputils.py:234 #: pdfarranger/croputils.py:354 msgid "Height" msgstr "Höjd" #: pdfarranger/croputils.py:232 msgid "Relative" msgstr "Relativt" #: pdfarranger/croputils.py:235 msgid "Page Size" msgstr "Sidstorlek" #: pdfarranger/croputils.py:343 msgid "Insert Blank Page" msgstr "Infoga tom sida" #: pdfarranger/exporter.py:119 msgid "Warning" msgstr "Varning" #: pdfarranger/exporter.py:124 msgid "Forms and outlines are lost on saving." msgstr "Formulär och bokmärken går förlorade när dokumentet sparas." #: pdfarranger/exporter.py:126 msgid "Do not show this dialog again." msgstr "Visa inte detta meddelande igen." #: pdfarranger/metadata.py:40 msgid "Title" msgstr "Titel" #: pdfarranger/metadata.py:41 msgid "Subject" msgstr "Ämne" #: pdfarranger/metadata.py:42 msgid "Keywords" msgstr "Nyckelord" #: pdfarranger/metadata.py:43 msgid "Producer" msgstr "PDF-framställning" #: pdfarranger/metadata.py:44 msgid "Creator" msgstr "Författare" #: pdfarranger/metadata.py:45 msgid "Creator tool" msgstr "Program" #: pdfarranger/metadata.py:46 msgid "Created" msgstr "Skapad" #: pdfarranger/metadata.py:47 msgid "Modified" msgstr "Ändrad" #: pdfarranger/metadata.py:151 msgid "Invalid date format. Input discarded." msgstr "Ogiltigt datumformat." #: pdfarranger/metadata.py:180 msgid "Edit properties" msgstr "Dokument egenskaper" #: pdfarranger/metadata.py:194 msgid "Property" msgstr "Fält" #: pdfarranger/metadata.py:194 msgid "Value" msgstr "Innehåll" #: pdfarranger/pdfarranger.py:271 msgid "" "PDF Arranger is a small python-gtk application, which helps the user to " "merge or split pdf documents and rotate, crop and rearrange their pages " "using an interactive and intuitive graphical interface. It is a frontend for " "pikepdf." msgstr "" "PDF Arranger är ett litet python-gtk program som hjälper användaren att slå " "samman och dela pdf dokument samt att rotera och arrangera om dess sidor med " "ett interaktivt och intuitivt grafiskt användargränssnitt. Programmet " "använder pikepdf i bakgrunden." #: pdfarranger/pdfarranger.py:282 msgid "Print the version of PDF Arranger and exit" msgstr "Skriv ut PDF Arranger versionen och avsluta" #: pdfarranger/pdfarranger.py:290 msgid "File(s) to open" msgstr "Fil(er) att öppna" #: pdfarranger/pdfarranger.py:395 msgid "All pages must have the same size." msgstr "Alla sidor måste ha samma storlek." #: pdfarranger/pdfarranger.py:421 msgid "All supported files" msgstr "Alla filer som stöds" #: pdfarranger/pdfarranger.py:425 msgid "PDF files" msgstr "PDF filer" #: pdfarranger/pdfarranger.py:432 msgid "All files" msgstr "Alla filer" #: pdfarranger/pdfarranger.py:437 msgid "Supported image files" msgstr "Bildfiler som stöds" #: pdfarranger/pdfarranger.py:653 msgid "Rendering…" msgstr "Renderar…" #: pdfarranger/pdfarranger.py:751 msgid "untitled" msgstr "Osparat dokument" #: pdfarranger/pdfarranger.py:898 msgid "Save changes to “{}” before closing?" msgstr "Spara ändringar till “{}” innan stängning?" #: pdfarranger/pdfarranger.py:900 msgid "Save changes before closing?" msgstr "Spara ändringar innan stängning?" #: pdfarranger/pdfarranger.py:902 msgid "Your changes will be lost if you don’t save them." msgstr "Dina ändringar går förlorade om du inte sparar dem." #: pdfarranger/pdfarranger.py:903 msgid "Do_n’t Save" msgstr "Spara _inte" #: pdfarranger/pdfarranger.py:903 msgid "_Cancel" msgstr "_Avbryt" #: pdfarranger/pdfarranger.py:903 data/menu.ui.h:3 msgid "_Save" msgstr "_Spara" #: pdfarranger/pdfarranger.py:953 msgid "Export…" msgstr "Exportera…" #: pdfarranger/pdfarranger.py:1063 msgid "Import…" msgstr "Importera…" #: pdfarranger/pdfarranger.py:1170 msgid "Pasted data not valid. Aborting paste." msgstr "Inklistrat data är inte giltigt. Inklistringen avbryts." #: pdfarranger/pdfarranger.py:1271 msgid "PDF document is damaged" msgstr "PDF dokumentet är skadat" #: pdfarranger/pdfarranger.py:2099 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" "%s är ett verktyg för att arrangera om och modifiera PDF filer. Utvecklat " "med hjälp av GTK+ och Python" #: pdfarranger/pdfarranger.py:2102 msgid "(%s uses libqpdf %s and pikepdf %s)" msgstr "(%s använder libqpdf %s och pikepdf %s)" #: pdfarranger/pdfarranger.py:2104 msgid "Maintainers and contributors" msgstr "Administratörer och bidragsgivare" #: pdfarranger/pdfarranger.py:2109 msgid "GNU General Public License (GPL) Version 3." msgstr "GNU General Public License (GPL) Version 3." #: pdfarranger/pdfarranger.py:2137 msgid "Selected pages: " msgstr "Markerade sidor: " #: pdfarranger/pdfarranger.py:2142 msgid "Page Size:" msgstr "Sidstorlek:" #: pdfarranger/splitter.py:26 msgid "Split Pages" msgstr "Dela sidor" #: pdfarranger/splitter.py:58 msgid "Columns" msgstr "Kolumner" #: pdfarranger/splitter.py:58 msgid "Rows" msgstr "Rader" #: pdfarranger/splitter.py:59 msgid "Vertical Splits" msgstr "Vertikal delning" #: pdfarranger/splitter.py:59 msgid "Horizontal Splits" msgstr "Horisontell delning" #: pdfarranger/splitter.py:60 msgid "Equal column width" msgstr "Samma kolumnbredd" #: pdfarranger/splitter.py:60 msgid "Equal row height" msgstr "Samma radhöjd" #: pdfarranger/splitter.py:85 msgid "#Col" msgstr "#Kolumn" #: pdfarranger/splitter.py:85 msgid "#Row" msgstr "#Rad" #: pdfarranger/splitter.py:86 msgid "Width in %" msgstr "Bredd i %" #: pdfarranger/splitter.py:86 msgid "Height in %" msgstr "Höjd i %" #: data/pdfarranger.ui.h:1 msgid "Open a file and append it to the current document" msgstr "Importera filer" #: data/pdfarranger.ui.h:2 msgid "Save" msgstr "Spara" #: data/pdfarranger.ui.h:3 msgid "Save As" msgstr "Spara som" #: data/pdfarranger.ui.h:4 msgid "Number of Pages" msgstr "Antal sidor" #: data/pdfarranger.ui.h:5 msgid "Main Menu" msgstr "Huvudmeny" #: data/pdfarranger.ui.h:6 msgid "Zoom In" msgstr "Zooma in" #: data/pdfarranger.ui.h:7 msgid "Zoom Out" msgstr "Zooma ut" #: data/pdfarranger.ui.h:8 msgid "Rotate Left" msgstr "Rotera åt vänster" #: data/pdfarranger.ui.h:9 msgid "Rotate Right" msgstr "Rotera åt höger" #: data/menu.ui.h:1 msgid "_Import" msgstr "Im_portera" #: data/menu.ui.h:2 msgid "_New Window" msgstr "_Nytt fönster" #: data/menu.ui.h:4 msgid "Save _As…" msgstr "Spara s_om…" #: data/menu.ui.h:5 msgid "E_xport" msgstr "E_xportera" #: data/menu.ui.h:6 msgid "E_xport Selection to a Single File…" msgstr "E_xportera markerade sidor till en fil…" #: data/menu.ui.h:7 msgid "Export Selection to _Individual Files…" msgstr "Exportera markerade sidor till _enskilda filer…" #: data/menu.ui.h:8 msgid "Export _All Pages to Individual Files…" msgstr "Exportera _alla sidor till enskilda filer…" #: data/menu.ui.h:9 msgid "_Undo" msgstr "_Ångra" #: data/menu.ui.h:10 msgid "_Redo" msgstr "_Gör om" #: data/menu.ui.h:11 msgid "_Edit" msgstr "_Redigera" #: data/menu.ui.h:12 msgid "Rotate _Left" msgstr "Rotera åt _vänster" #: data/menu.ui.h:13 msgid "_Rotate Right" msgstr "Rotera åt _höger" #: data/menu.ui.h:14 msgid "_Page Format" msgstr "_Sidformat" #: data/menu.ui.h:15 msgid "Crop White Borders" msgstr "_Beskär vita marginaler" #: data/menu.ui.h:16 msgid "_Delete" msgstr "_Ta bort" #: data/menu.ui.h:17 msgid "Dupl_icate" msgstr "Dupli_cera" #: data/menu.ui.h:18 msgid "Re_verse Order" msgstr "Omv_änd ordningen" #: data/menu.ui.h:19 msgid "_Split Pages" msgstr "_Dela sidor" #: data/menu.ui.h:20 msgid "Cu_t" msgstr "_Klipp ut" #: data/menu.ui.h:21 msgid "_Copy" msgstr "K_opiera" #: data/menu.ui.h:22 msgid "Paste _After" msgstr "Klistra in _efter" #: data/menu.ui.h:23 msgid "Paste _Before" msgstr "Klistra in _före" #: data/menu.ui.h:24 msgid "Paste As _Odd Pages" msgstr "Klistra in som _udda sidor" #: data/menu.ui.h:25 msgid "Paste As _Even Pages" msgstr "Klistra in som _jämna sidor" #: data/menu.ui.h:26 msgid "Insert Blan_k Page" msgstr "_Infoga tom sida" #: data/menu.ui.h:27 msgid "Generate Booklet" msgstr "Skapa ett häfte" #: data/menu.ui.h:28 msgid "_Select" msgstr "_Markera" #: data/menu.ui.h:29 msgid "Select _All" msgstr "_Markera allt" #: data/menu.ui.h:30 msgid "_Deselect All" msgstr "_Avmarkera allt" #: data/menu.ui.h:31 msgid "Select _Odd Pages" msgstr "Markera _udda sidor" #: data/menu.ui.h:32 msgid "Select _Even Pages" msgstr "Markera _jämna sidor" #: data/menu.ui.h:33 msgid "All From _Same File" msgstr "Alla från samma _fil" #: data/menu.ui.h:34 msgid "Same Page _Format" msgstr "Alla med samma _sidformat" #: data/menu.ui.h:35 msgid "_Invert Selection" msgstr "_Invertera markeringen" #: data/menu.ui.h:36 msgid "Zoom _In" msgstr "Zooma _in" #: data/menu.ui.h:37 msgid "Zoom _Out" msgstr "Zooma _ut" #: data/menu.ui.h:38 msgid "Edit _Properties" msgstr "Redigera _egenskaper" #: data/menu.ui.h:39 msgid "_About" msgstr "_Om PDF Arranger" #: data/menu.ui.h:40 msgid "_Quit" msgstr "_Avsluta" #: data/menu.ui.h:41 msgid "Past_e Special" msgstr "Klistra in _special" pdfarranger-1.8.2/po/tr.po000066400000000000000000000301071416164621100154230ustar00rootroot00000000000000# Turkish translation of pdfarranger # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the pdfarranger package. # Murathan BOSTANCI , 2018 # Emin Tufan Çetin , 2020, 2021 # Oğuz Ersen , 2021 # msgid "" msgstr "" "Project-Id-Version: pdfarranger master\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-20 21:36+0300\n" "PO-Revision-Date: 2021-01-02 14:54+0300\n" "Last-Translator: Emin Tufan Çetin \n" "Language-Team: Turkish \n" "Language: tr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Poedit 2.4.2\n" #: pdfarranger/core.py:85 msgid "page" msgstr "sayfa" #: pdfarranger/core.py:193 msgid "Password required" msgstr "Parola gerekli" #: pdfarranger/core.py:204 msgid "The password will be remembered until you close PDF Arranger." msgstr "Parola, siz PDF Arrangerʼi kapatana dek anımsanacak." #: pdfarranger/core.py:205 msgid "" "The document “{}” is locked and requires a password before it can be opened." msgstr "“{}” belgesi kilitli ve açılmadan önce parola gerekiyor." #: pdfarranger/core.py:215 msgid "Password" msgstr "Parola" #: pdfarranger/core.py:266 pdfarranger/pdfarranger.py:1267 msgid "Unknown file format" msgstr "Bilinmeyen dosya biçimi" #: pdfarranger/core.py:282 msgid "Image files are only supported with img2pdf" msgstr "Yalnızca img2pdf ile desteklenen resim dosyaları" #: pdfarranger/core.py:304 msgid "Image format is not supported by img2pdf" msgstr "Resim dosyası, img2pdf tarafından desteklenmiyor" #: pdfarranger/core.py:306 pdfarranger/pdfarranger.py:1277 msgid "File is neither pdf nor image" msgstr "Dosya ne pdf ne de resimdir" #: pdfarranger/croputils.py:114 msgid "Scale factor" msgstr "Ölçek çarpanı" #: pdfarranger/croputils.py:120 msgid "%" msgstr "%" #: pdfarranger/croputils.py:136 msgid "mm" msgstr "mm" #: pdfarranger/croputils.py:146 msgid "Left" msgstr "Sol" #: pdfarranger/croputils.py:146 msgid "Right" msgstr "Sağ" #: pdfarranger/croputils.py:146 msgid "Top" msgstr "Üst" #: pdfarranger/croputils.py:146 msgid "Bottom" msgstr "Alt" #: pdfarranger/croputils.py:150 msgid "Crop Margins" msgstr "Kenarları Kırp" #: pdfarranger/croputils.py:158 msgid "" "Cropping does not remove any content from the PDF file, it only hides it." msgstr "" "Kırparak PDF dosyasından herhangi bir veri kaldırılmaz, yalnızca gizlenir." #: pdfarranger/croputils.py:167 #, python-format msgid "% of width" msgstr "% olarak genişlik" #: pdfarranger/croputils.py:167 #, python-format msgid "% of height" msgstr "% olarak yükselik" #: pdfarranger/croputils.py:214 msgid "Page format" msgstr "Sayfa biçimi" #: pdfarranger/croputils.py:229 pdfarranger/croputils.py:233 #: pdfarranger/croputils.py:353 msgid "Width" msgstr "Genişlik" #: pdfarranger/croputils.py:230 pdfarranger/croputils.py:234 #: pdfarranger/croputils.py:354 msgid "Height" msgstr "Yükseklik" #: pdfarranger/croputils.py:232 msgid "Relative" msgstr "Göreceli" #: pdfarranger/croputils.py:235 msgid "Page Size" msgstr "Sayfa Boyutu" #: pdfarranger/croputils.py:343 msgid "Insert Blank Page" msgstr "Boş Sayfa Ekle" #: pdfarranger/exporter.py:119 msgid "Warning" msgstr "Uyarı" #: pdfarranger/exporter.py:124 msgid "Forms and outlines are lost on saving." msgstr "Kaydedilirken formlar ve konturlar yitirilecek." #: pdfarranger/exporter.py:126 msgid "Do not show this dialog again." msgstr "Bu pencereyi yeniden gösterme." #: pdfarranger/metadata.py:40 msgid "Title" msgstr "Başlık" #: pdfarranger/metadata.py:41 msgid "Subject" msgstr "Konu" #: pdfarranger/metadata.py:42 msgid "Keywords" msgstr "Anahtar sözcükler" #: pdfarranger/metadata.py:43 msgid "Producer" msgstr "Üretici" #: pdfarranger/metadata.py:44 msgid "Creator" msgstr "Oluşturucu" #: pdfarranger/metadata.py:45 msgid "Creator tool" msgstr "Oluşturucu araç" #: pdfarranger/metadata.py:46 msgid "Created" msgstr "Oluşturulma" #: pdfarranger/metadata.py:47 msgid "Modified" msgstr "Değiştirilme" #: pdfarranger/metadata.py:151 msgid "Invalid date format. Input discarded." msgstr "Geçersiz tarih biçimi. Girdi görmezden gelindi." #: pdfarranger/metadata.py:180 msgid "Edit properties" msgstr "Özellikleri düzenle" #: pdfarranger/metadata.py:194 msgid "Property" msgstr "Özellik" #: pdfarranger/metadata.py:194 msgid "Value" msgstr "Değer" #: pdfarranger/pdfarranger.py:271 msgid "" "PDF Arranger is a small python-gtk application, which helps the user to " "merge or split pdf documents and rotate, crop and rearrange their pages " "using an interactive and intuitive graphical interface. It is a frontend for " "pikepdf." msgstr "" "PDF Arranger, kullanıcının etkileşimli ve sezgisel bir grafiksel arayüz " "kullanarak pdf belgelerini birleştirmesine veya bölmesine ve sayfalarını " "döndürmesine, kırpmasına ve yeniden düzenlemesine yardımcı olan küçük bir " "python-gtk uygulamasıdır. pikepdf için bir önyüzdür." #: pdfarranger/pdfarranger.py:282 msgid "Print the version of PDF Arranger and exit" msgstr "PDF Arranger sürümünü yazdır ve çık" #: pdfarranger/pdfarranger.py:290 msgid "File(s) to open" msgstr "Açılacak dosya(lar)" #: pdfarranger/pdfarranger.py:395 msgid "All pages must have the same size." msgstr "Tüm sayfalar aynı boyutta olmalıdır." #: pdfarranger/pdfarranger.py:421 msgid "All supported files" msgstr "Desteklenen tüm dosyalar" #: pdfarranger/pdfarranger.py:425 msgid "PDF files" msgstr "PDF dosyaları" #: pdfarranger/pdfarranger.py:432 msgid "All files" msgstr "Tüm dosyalar" #: pdfarranger/pdfarranger.py:437 msgid "Supported image files" msgstr "Desteklenen resim dosyaları" #: pdfarranger/pdfarranger.py:653 msgid "Rendering…" msgstr "Oluşturuluyor…" #: pdfarranger/pdfarranger.py:751 msgid "untitled" msgstr "başlıksız" #: pdfarranger/pdfarranger.py:898 msgid "Save changes to “{}” before closing?" msgstr "Kapatmadan önce değişiklikler “{}” dosyasına kaydedilsin mi?" #: pdfarranger/pdfarranger.py:900 msgid "Save changes before closing?" msgstr "Kapatmadan önce değişiklikler kaydedilsin mi?" #: pdfarranger/pdfarranger.py:902 msgid "Your changes will be lost if you don’t save them." msgstr "Kaydetmezseniz değişiklikleriniz yitecektir." #: pdfarranger/pdfarranger.py:903 msgid "Do_n’t Save" msgstr "Kaydet_me" #: pdfarranger/pdfarranger.py:903 msgid "_Cancel" msgstr "_İptal" #: pdfarranger/pdfarranger.py:903 data/menu.ui.h:3 msgid "_Save" msgstr "_Kaydet" #: pdfarranger/pdfarranger.py:953 msgid "Export…" msgstr "Dışa Aktar…" #: pdfarranger/pdfarranger.py:1063 msgid "Import…" msgstr "İçe Aktar…" #: pdfarranger/pdfarranger.py:1170 msgid "Pasted data not valid. Aborting paste." msgstr "Yapıştırılan veri geçersiz. Yapıştırılmıyor." #: pdfarranger/pdfarranger.py:1271 msgid "PDF document is damaged" msgstr "PDF belgesi hasarlı" #: pdfarranger/pdfarranger.py:2099 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "" "%s, PDF dosyalarını yeniden sıralama ve düzenleme aracıdır. GTK+ ve Python " "kullanılarak geliştirilmiştir" #: pdfarranger/pdfarranger.py:2102 #, python-format msgid "(%s uses libqpdf %s and pikepdf %s)" msgstr "(%s, libqpdf %s ve pikepdf %s kullanmaktadır)" #: pdfarranger/pdfarranger.py:2104 msgid "Maintainers and contributors" msgstr "Bakımcılar ve katkıcılar" #: pdfarranger/pdfarranger.py:2109 msgid "GNU General Public License (GPL) Version 3." msgstr "GNU Genel Kamu Lisansı (GPL) Sürüm 3." #: pdfarranger/pdfarranger.py:2137 msgid "Selected pages: " msgstr "Seçili sayfalar: " #: pdfarranger/pdfarranger.py:2142 msgid "Page Size:" msgstr "Sayfa Boyutu:" #: pdfarranger/splitter.py:26 msgid "Split Pages" msgstr "Sayfaları Böl" #: pdfarranger/splitter.py:58 msgid "Columns" msgstr "Sütunlar" #: pdfarranger/splitter.py:58 msgid "Rows" msgstr "Satırlar" #: pdfarranger/splitter.py:59 msgid "Vertical Splits" msgstr "Dikey Bölmeler" #: pdfarranger/splitter.py:59 msgid "Horizontal Splits" msgstr "Yatay Bölmeler" #: pdfarranger/splitter.py:60 msgid "Equal column width" msgstr "Eşit sütun genişliği" #: pdfarranger/splitter.py:60 msgid "Equal row height" msgstr "Eşit satır yüksekliği" #: pdfarranger/splitter.py:85 msgid "#Col" msgstr "#Süt" #: pdfarranger/splitter.py:85 msgid "#Row" msgstr "#Sat" #: pdfarranger/splitter.py:86 msgid "Width in %" msgstr "% olarak genişlik" #: pdfarranger/splitter.py:86 msgid "Height in %" msgstr "% olarak yükseklik" #: data/pdfarranger.ui.h:1 msgid "Open a file and append it to the current document" msgstr "Dosya aç ve geçerli belgenin sonuna iliştir" #: data/pdfarranger.ui.h:2 msgid "Save" msgstr "Kaydet" #: data/pdfarranger.ui.h:3 msgid "Save As" msgstr "Farklı Kaydet" #: data/pdfarranger.ui.h:4 msgid "Number of Pages" msgstr "Sayfa Sayısı" #: data/pdfarranger.ui.h:5 msgid "Main Menu" msgstr "Ana Menü" #: data/pdfarranger.ui.h:6 msgid "Zoom In" msgstr "Yakınlaştır" #: data/pdfarranger.ui.h:7 msgid "Zoom Out" msgstr "Uzaklaştır" #: data/pdfarranger.ui.h:8 msgid "Rotate Left" msgstr "Sola Döndür" #: data/pdfarranger.ui.h:9 msgid "Rotate Right" msgstr "Sağa Döndür" #: data/menu.ui.h:1 msgid "_Import" msgstr "İ_çe Aktar" #: data/menu.ui.h:2 msgid "_New Window" msgstr "_Yeni Pencere" #: data/menu.ui.h:4 msgid "Save _As…" msgstr "_Farklı Kaydet…" #: data/menu.ui.h:5 msgid "E_xport" msgstr "_Dışa Aktar" #: data/menu.ui.h:6 msgid "E_xport Selection to a Single File…" msgstr "Seçimi Tek Dosyaya D_ışa Aktar…" #: data/menu.ui.h:7 msgid "Export Selection to _Individual Files…" msgstr "Seçimi _Ayrı Dosyalara Dışa Aktar…" #: data/menu.ui.h:8 msgid "Export _All Pages to Individual Files…" msgstr "_Tüm Sayfaları Ayrı Dosyalara Dışa Aktar…" #: data/menu.ui.h:9 msgid "_Undo" msgstr "_Geri Al" #: data/menu.ui.h:10 msgid "_Redo" msgstr "_Yinele" #: data/menu.ui.h:11 msgid "_Edit" msgstr "_Düzenle" #: data/menu.ui.h:12 msgid "Rotate _Left" msgstr "So_la Döndür" #: data/menu.ui.h:13 msgid "_Rotate Right" msgstr "Sağa Döndü_r" #: data/menu.ui.h:14 msgid "_Page Format" msgstr "_Sayfa Biçimi" #: data/menu.ui.h:15 msgid "Crop White Borders" msgstr "Beyaz Kenarları Kırp" #: data/menu.ui.h:16 msgid "_Delete" msgstr "_Sil" #: data/menu.ui.h:17 msgid "Dupl_icate" msgstr "_Çoğalt" #: data/menu.ui.h:18 msgid "Re_verse Order" msgstr "Sırayı _Evir" #: data/menu.ui.h:19 msgid "_Split Pages" msgstr "Sayfaları _Böl" #: data/menu.ui.h:20 msgid "Cu_t" msgstr "_Kes" #: data/menu.ui.h:21 msgid "_Copy" msgstr "K_opyala" #: data/menu.ui.h:22 msgid "Paste _After" msgstr "_Sonrasına Yapıştır" #: data/menu.ui.h:23 msgid "Paste _Before" msgstr "_Öncesine Yapıştır" #: data/menu.ui.h:24 msgid "Paste As _Odd Pages" msgstr "_Tek Sayfalar Olarak Yapıştır" #: data/menu.ui.h:25 msgid "Paste As _Even Pages" msgstr "_Çift Sayfalar Olarak Yapıştır" #: data/menu.ui.h:26 msgid "Insert Blan_k Page" msgstr "B_oş Sayfa Ekle" #: data/menu.ui.h:27 msgid "Generate Booklet" msgstr "Kitapçık Oluştur" #: data/menu.ui.h:28 msgid "_Select" msgstr "_Seç" #: data/menu.ui.h:29 msgid "Select _All" msgstr "_Tümünü Seç" #: data/menu.ui.h:30 msgid "_Deselect All" msgstr "_Hiçbirini Seçme" #: data/menu.ui.h:31 msgid "Select _Odd Pages" msgstr "_Tek Sayfaları Seç" #: data/menu.ui.h:32 msgid "Select _Even Pages" msgstr "_Çift Sayfaları Seç" #: data/menu.ui.h:33 msgid "All From _Same File" msgstr "_Aynı Dosyadan Tümü" #: data/menu.ui.h:34 msgid "Same Page _Format" msgstr "Aynı Sayfa _Biçimi" #: data/menu.ui.h:35 msgid "_Invert Selection" msgstr "Seçimi _Evir" #: data/menu.ui.h:36 msgid "Zoom _In" msgstr "_Yakınlaştır" #: data/menu.ui.h:37 msgid "Zoom _Out" msgstr "_Uzaklaştır" #: data/menu.ui.h:38 msgid "Edit _Properties" msgstr "_Özellikleri Düzenle" #: data/menu.ui.h:39 msgid "_About" msgstr "_Hakkında" #: data/menu.ui.h:40 msgid "_Quit" msgstr "_Çık" #: data/menu.ui.h:41 msgid "Past_e Special" msgstr "Öz_el Yapıştır" pdfarranger-1.8.2/po/updatepo.sh000077500000000000000000000017451416164621100166240ustar00rootroot00000000000000#!/bin/sh # # pdfarranger - GTK+ based utility for splitting, rearrangement and # modification of PDF documents. # Copyright (C) 2008-2017 Konstantinos Poulios # # pdfarranger is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # # Update translation files cd "$(dirname $0)/.." for po in po/*.po do msgmerge --backup none -U "$po" po/pdfarranger.pot done pdfarranger-1.8.2/po/zh_CN.po000066400000000000000000000245601416164621100160050ustar00rootroot00000000000000# PDF-Shuffler translation files. # Copyright (C) 2008-2017 Konstantinos Poulios # This file is part of PDF-Shuffler which is released under the GNU General # Public License version 3 or later. # See file COPYING or go to for full license details. # Translators: # Dean Lee , 2011,2014 msgid "" msgstr "" "Project-Id-Version: PDF-Shuffler 0.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-01-01 22:06+0100\n" "PO-Revision-Date: 2014-11-05 07:31+0000\n" "Last-Translator: Dean Lee \n" "Language-Team: Chinese (China) (http://www.transifex.com/projects/p/pdfshuffler/language/zh_CN/)\n" "Language: zh_CN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0\n" #: pdfarranger/core.py:80 msgid "page" msgstr "页面" #: pdfarranger/core.py:175 msgid "Password required" msgstr "需要密码" #: pdfarranger/core.py:186 msgid "The password will be remembered until you close PDF Arranger." msgstr "密码将被记住,直到您关闭 PDF Arranger。" #: pdfarranger/core.py:187 msgid "The document “{}” is locked and requires a password before it can be opened." msgstr "文档“{}”被锁定,需要密码才能打开。" #: pdfarranger/core.py:197 msgid "Password" msgstr "密码" #: pdfarranger/core.py:241 #: pdfarranger/pdfarranger.py:990 msgid "Unknown file format" msgstr "未知文件格式" #: pdfarranger/core.py:256 msgid "Image files are only supported with img2pdf" msgstr "图像文件仅支持 img2pdf" #: pdfarranger/core.py:278 msgid "Image format is not supported by img2pdf" msgstr "img2pdf 不支持图片格式" #: pdfarranger/core.py:280 #: pdfarranger/pdfarranger.py:1000 msgid "File is neither pdf nor image" msgstr "文件既不是 PDF 也不是图像" #: pdfarranger/croputils.py:124 msgid "Scale factor" msgstr "比例因子" #: pdfarranger/croputils.py:130 msgid "%" msgstr "%" #: pdfarranger/croputils.py:146 msgid "mm" msgstr "mm" #: pdfarranger/croputils.py:156 msgid "Left" msgstr "左边" #: pdfarranger/croputils.py:156 msgid "Right" msgstr "右边" #: pdfarranger/croputils.py:156 msgid "Top" msgstr "顶部" #: pdfarranger/croputils.py:156 msgid "Bottom" msgstr "底部" #: pdfarranger/croputils.py:160 msgid "Crop Margins" msgstr "裁剪边距" #: pdfarranger/croputils.py:168 msgid "Cropping does not remove any content from the PDF file, it only hides it." msgstr "裁剪不会从 PDF 文件中删除任何内容,只会将其隐藏。" #: pdfarranger/croputils.py:177 msgid "% of width" msgstr "% 宽度" #: pdfarranger/croputils.py:177 msgid "% of height" msgstr "% 高度" #: pdfarranger/croputils.py:221 msgid "Page format" msgstr "页面格式" #: pdfarranger/croputils.py:236 #: pdfarranger/croputils.py:240 #: pdfarranger/croputils.py:349 msgid "Width" msgstr "宽度" #: pdfarranger/croputils.py:237 #: pdfarranger/croputils.py:241 #: pdfarranger/croputils.py:350 msgid "Height" msgstr "高度" #: pdfarranger/croputils.py:239 msgid "Relative" msgstr "相对" #: pdfarranger/croputils.py:242 msgid "Page Size" msgstr "页面大小" #: pdfarranger/croputils.py:339 msgid "Insert Blank Page" msgstr "插入空白页面" #: pdfarranger/exporter.py:106 msgid "Warning" msgstr "警告" #: pdfarranger/exporter.py:111 msgid "Forms and outlines are lost on saving." msgstr "保存时会丢失表格和轮廓。" #: pdfarranger/exporter.py:113 msgid "Do not show this dialog again." msgstr "不要再显示此对话框。" #: pdfarranger/metadata.py:40 msgid "Title" msgstr "标题" #: pdfarranger/metadata.py:41 msgid "Subject" msgstr "主题" #: pdfarranger/metadata.py:42 msgid "Keywords" msgstr "关键词" #: pdfarranger/metadata.py:43 msgid "Producer" msgstr "制作者" #: pdfarranger/metadata.py:44 msgid "Creator" msgstr "创建者" #: pdfarranger/metadata.py:45 msgid "Creator tool" msgstr "创建者工具" #: pdfarranger/metadata.py:46 msgid "Created" msgstr "已创建" #: pdfarranger/metadata.py:47 msgid "Modified" msgstr "已修改" #: pdfarranger/metadata.py:150 msgid "Invalid date format. Input discarded." msgstr "日期格式无效。 输入已放弃。" #: pdfarranger/metadata.py:179 msgid "Edit properties" msgstr "编辑属性" #: pdfarranger/metadata.py:192 msgid "Property" msgstr "属性" #: pdfarranger/metadata.py:192 msgid "Value" msgstr "值" #: pdfarranger/pdfarranger.py:341 msgid "All supported files" msgstr "所有支持的文件" #: pdfarranger/pdfarranger.py:345 msgid "PDF files" msgstr "PDF 文件" #: pdfarranger/pdfarranger.py:352 msgid "All files" msgstr "所有文件" #: pdfarranger/pdfarranger.py:357 msgid "Supported image files" msgstr "支持的图像文件" #: pdfarranger/pdfarranger.py:532 msgid "untitled" msgstr "未命名" #: pdfarranger/pdfarranger.py:626 msgid "Save changes to “{}” before closing?" msgstr "在关闭之前保存对“{}”的更改?" #: pdfarranger/pdfarranger.py:628 msgid "Save changes before closing?" msgstr "关闭前保存更改?" #: pdfarranger/pdfarranger.py:630 msgid "Your changes will be lost if you don’t save them." msgstr "如果您不保存,您的更改将会丢失。" #: pdfarranger/pdfarranger.py:631 msgid "Do_n’t Save" msgstr "不保存(_N)" #: pdfarranger/pdfarranger.py:631 msgid "_Cancel" msgstr "取消(_C)" #: pdfarranger/pdfarranger.py:631 #: data/menu.ui.h:3 msgid "_Save" msgstr "保存(_S)" #: pdfarranger/pdfarranger.py:672 msgid "Export…" msgstr "导出..." #: pdfarranger/pdfarranger.py:785 msgid "Import…" msgstr "导入..." #: pdfarranger/pdfarranger.py:886 msgid "Pasted data not valid. Aborting paste." msgstr "粘贴的数据无效。 中止粘贴。" #: pdfarranger/pdfarranger.py:994 msgid "PDF document is damaged" msgstr "PDF 文件已损坏" #: pdfarranger/pdfarranger.py:1788 #, python-format msgid "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ and Python" msgstr "%s 是用于重排及修改 PDF 文件的工具。采用 GTK+ 及 Python 开发。" #: pdfarranger/pdfarranger.py:1791 msgid "Maintainers and contributors" msgstr "维护者和贡献者" #: pdfarranger/pdfarranger.py:1795 msgid "GNU General Public License (GPL) Version 3." msgstr "GNU 通用公共许可证 (GPL) 第 3 版。" #: pdfarranger/pdfarranger.py:1823 msgid "Selected pages: " msgstr "所选页面:" #: pdfarranger/splitter.py:26 msgid "Split Pages" msgstr "拆分页面" #: pdfarranger/splitter.py:58 msgid "Columns" msgstr "列" #: pdfarranger/splitter.py:58 msgid "Rows" msgstr "行" #: pdfarranger/splitter.py:59 msgid "Vertical Splits" msgstr "垂直拆分" #: pdfarranger/splitter.py:59 msgid "Horizontal Splits" msgstr "水平拆分" #: pdfarranger/splitter.py:60 msgid "Equal column width" msgstr "列宽相等" #: pdfarranger/splitter.py:60 msgid "Equal row height" msgstr "行高相等" #: pdfarranger/splitter.py:85 msgid "#Col" msgstr "#Col" #: pdfarranger/splitter.py:85 msgid "#Row" msgstr "#Row" #: pdfarranger/splitter.py:86 msgid "Width in %" msgstr "宽度 %" #: pdfarranger/splitter.py:86 msgid "Height in %" msgstr "高度 %" #: data/pdfarranger.ui.h:1 msgid "Open a file and append it to the current document" msgstr "打开文件,并将其追加到当前文件末尾" #: data/pdfarranger.ui.h:2 msgid "Save" msgstr "保存" #: data/pdfarranger.ui.h:3 msgid "Save As" msgstr "另存为" #: data/pdfarranger.ui.h:4 msgid "Number of Pages" msgstr "页数" #: data/pdfarranger.ui.h:5 msgid "Main Menu" msgstr "主菜单" #: data/pdfarranger.ui.h:6 msgid "Zoom In" msgstr "放大" #: data/pdfarranger.ui.h:7 msgid "Zoom Out" msgstr "缩小" #: data/pdfarranger.ui.h:8 msgid "Rotate Left" msgstr "向左旋转" #: data/pdfarranger.ui.h:9 msgid "Rotate Right" msgstr "向右旋转" #: data/menu.ui.h:1 msgid "_Import" msgstr "导入(_I)" #: data/menu.ui.h:2 msgid "_New Window" msgstr "新建窗口(_N)" #: data/menu.ui.h:4 msgid "Save _As…" msgstr "另存为(_A)…" #: data/menu.ui.h:5 msgid "E_xport" msgstr "导出(_X)" #: data/menu.ui.h:6 msgid "E_xport Selection to a Single File…" msgstr "导出所选到单个文件(_X)..." #: data/menu.ui.h:7 msgid "Export Selection to _Individual Files…" msgstr "导出所选到个体文件(_I)..." #: data/menu.ui.h:8 msgid "Export _All Pages to Individual Files…" msgstr "所有页面导出到单个文件(_A)..." #: data/menu.ui.h:9 msgid "_Undo" msgstr "撤销(_U)" #: data/menu.ui.h:10 msgid "_Redo" msgstr "重做(_R)" #: data/menu.ui.h:11 msgid "_Edit" msgstr "编辑(_E)" #: data/menu.ui.h:12 msgid "Rotate _Left" msgstr "向左旋转(_L)" #: data/menu.ui.h:13 msgid "_Rotate Right" msgstr "向右旋转(_R)" #: data/menu.ui.h:14 msgid "_Page Format" msgstr "页面格式(_P)" #: data/menu.ui.h:15 msgid "Crop White Borders" msgstr "裁剪白色边框" #: data/menu.ui.h:16 msgid "_Delete" msgstr "删除(_D)" #: data/menu.ui.h:17 msgid "Dupl_icate" msgstr "重复(_I)" #: data/menu.ui.h:18 msgid "Re_verse Order" msgstr "相反顺序(_V)" #: data/menu.ui.h:19 msgid "_Split Pages" msgstr "拆分页面(_S)" #: data/menu.ui.h:20 msgid "Cu_t" msgstr "剪切(_T)" #: data/menu.ui.h:21 msgid "_Copy" msgstr "复制(_C)" #: data/menu.ui.h:22 msgid "Paste _After" msgstr "粘贴之后(_A)" #: data/menu.ui.h:23 msgid "Paste _Before" msgstr "粘贴之前(_B)" #: data/menu.ui.h:24 msgid "Paste Interleave _Odd" msgstr "粘贴交错奇数(_O)" #: data/menu.ui.h:25 msgid "Paste Interleave _Even" msgstr "粘贴交错偶数(_E)" #: data/menu.ui.h:26 msgid "Insert Blan_k Page" msgstr "插入空白页面(_K)" #: data/menu.ui.h:27 msgid "_Select" msgstr "选择(_S)" #: data/menu.ui.h:28 msgid "Select _All" msgstr "全选(_A)" #: data/menu.ui.h:29 msgid "_Deselect All" msgstr "取消全选(_D)" #: data/menu.ui.h:30 msgid "Select _Odd Pages" msgstr "选择奇数页面(_O)" #: data/menu.ui.h:31 msgid "Select _Even Pages" msgstr "选择偶数页面(_E)" #: data/menu.ui.h:32 msgid "All From _Same File" msgstr "所有来自同一文件(_S)" #: data/menu.ui.h:33 msgid "Same Page _Format" msgstr "相同页面格式(_F)" #: data/menu.ui.h:34 msgid "_Invert Selection" msgstr "反向选择(_I)" #: data/menu.ui.h:35 msgid "Zoom _In" msgstr "放大(_I)" #: data/menu.ui.h:36 msgid "Zoom _Out" msgstr "缩小(_O)" #: data/menu.ui.h:37 msgid "Edit _Properties" msgstr "编辑属性(_P)" #: data/menu.ui.h:38 msgid "_About" msgstr "关于(_A)" #: data/menu.ui.h:39 msgid "_Quit" msgstr "退出(_Q)" #: data/menu.ui.h:40 msgid "Past_e Special" msgstr "特殊粘贴(_E)" pdfarranger-1.8.2/po/zh_TW.po000066400000000000000000000211431416164621100160310ustar00rootroot00000000000000# PDF-Shuffler translation files. # Copyright (C) 2008-2017 Konstantinos Poulios # This file is part of PDF-Shuffler which is released under the GNU General # Public License version 3 or later. # See file COPYING or go to for full license details. # Translators: msgid "" msgstr "" "Project-Id-Version: PDF-Shuffler 0.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-01-01 22:06+0100\n" "PO-Revision-Date: 2013-11-12 08:38+0800\n" "Last-Translator: Franklin Weng \n" "Language-Team: Chinese Traditional \n" "Language: zh_TW\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: pdfarranger/core.py:80 msgid "page" msgstr "頁面" #: pdfarranger/core.py:175 msgid "Password required" msgstr "" #: pdfarranger/core.py:186 msgid "The password will be remembered until you close PDF Arranger." msgstr "" #: pdfarranger/core.py:187 msgid "" "The document “{}” is locked and requires a password before it can be opened." msgstr "" #: pdfarranger/core.py:197 msgid "Password" msgstr "" #: pdfarranger/core.py:241 pdfarranger/pdfarranger.py:990 msgid "Unknown file format" msgstr "" #: pdfarranger/core.py:256 msgid "Image files are only supported with img2pdf" msgstr "" #: pdfarranger/core.py:278 msgid "Image format is not supported by img2pdf" msgstr "" #: pdfarranger/core.py:280 pdfarranger/pdfarranger.py:1000 msgid "File is neither pdf nor image" msgstr "" #: pdfarranger/croputils.py:124 msgid "Scale factor" msgstr "" #: pdfarranger/croputils.py:130 msgid "%" msgstr "" #: pdfarranger/croputils.py:146 msgid "mm" msgstr "" #: pdfarranger/croputils.py:156 msgid "Left" msgstr "左側" #: pdfarranger/croputils.py:156 msgid "Right" msgstr "右側" #: pdfarranger/croputils.py:156 msgid "Top" msgstr "頂部" #: pdfarranger/croputils.py:156 msgid "Bottom" msgstr "底部" #: pdfarranger/croputils.py:160 msgid "Crop Margins" msgstr "裁剪邊緣" #: pdfarranger/croputils.py:168 msgid "" "Cropping does not remove any content from the PDF file, it only hides it." msgstr "" #: pdfarranger/croputils.py:177 msgid "% of width" msgstr "" #: pdfarranger/croputils.py:177 msgid "% of height" msgstr "" #: pdfarranger/croputils.py:221 msgid "Page format" msgstr "" #: pdfarranger/croputils.py:236 pdfarranger/croputils.py:240 #: pdfarranger/croputils.py:349 msgid "Width" msgstr "" #: pdfarranger/croputils.py:237 pdfarranger/croputils.py:241 #: pdfarranger/croputils.py:350 msgid "Height" msgstr "" #: pdfarranger/croputils.py:239 msgid "Relative" msgstr "" #: pdfarranger/croputils.py:242 msgid "Page Size" msgstr "" #: pdfarranger/croputils.py:339 msgid "Insert Blank Page" msgstr "" #: pdfarranger/exporter.py:106 msgid "Warning" msgstr "" #: pdfarranger/exporter.py:111 msgid "Forms and outlines are lost on saving." msgstr "" #: pdfarranger/exporter.py:113 msgid "Do not show this dialog again." msgstr "" #: pdfarranger/metadata.py:40 msgid "Title" msgstr "" #: pdfarranger/metadata.py:41 msgid "Subject" msgstr "" #: pdfarranger/metadata.py:42 msgid "Keywords" msgstr "" #: pdfarranger/metadata.py:43 msgid "Producer" msgstr "" #: pdfarranger/metadata.py:44 msgid "Creator" msgstr "" #: pdfarranger/metadata.py:45 msgid "Creator tool" msgstr "" #: pdfarranger/metadata.py:46 msgid "Created" msgstr "" #: pdfarranger/metadata.py:47 msgid "Modified" msgstr "" #: pdfarranger/metadata.py:150 msgid "Invalid date format. Input discarded." msgstr "" #: pdfarranger/metadata.py:179 msgid "Edit properties" msgstr "" #: pdfarranger/metadata.py:192 msgid "Property" msgstr "" #: pdfarranger/metadata.py:192 msgid "Value" msgstr "" #: pdfarranger/pdfarranger.py:341 msgid "All supported files" msgstr "" #: pdfarranger/pdfarranger.py:345 msgid "PDF files" msgstr "PDF 檔案" #: pdfarranger/pdfarranger.py:352 msgid "All files" msgstr "所有檔案" #: pdfarranger/pdfarranger.py:357 msgid "Supported image files" msgstr "" #: pdfarranger/pdfarranger.py:532 msgid "untitled" msgstr "" #: pdfarranger/pdfarranger.py:626 msgid "Save changes to “{}” before closing?" msgstr "" #: pdfarranger/pdfarranger.py:628 msgid "Save changes before closing?" msgstr "" #: pdfarranger/pdfarranger.py:630 msgid "Your changes will be lost if you don’t save them." msgstr "" #: pdfarranger/pdfarranger.py:631 msgid "Do_n’t Save" msgstr "" #: pdfarranger/pdfarranger.py:631 msgid "_Cancel" msgstr "" #: pdfarranger/pdfarranger.py:631 data/menu.ui.h:3 msgid "_Save" msgstr "" #: pdfarranger/pdfarranger.py:672 msgid "Export…" msgstr "匯出…" #: pdfarranger/pdfarranger.py:785 msgid "Import…" msgstr "匯入…" #: pdfarranger/pdfarranger.py:886 msgid "Pasted data not valid. Aborting paste." msgstr "" #: pdfarranger/pdfarranger.py:994 msgid "PDF document is damaged" msgstr "" #: pdfarranger/pdfarranger.py:1788 #, python-format msgid "" "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ " "and Python" msgstr "%s 是個變更重新編排 PDF 檔的工具。用 GTK+ 與 Python 開發" #: pdfarranger/pdfarranger.py:1791 msgid "Maintainers and contributors" msgstr "" #: pdfarranger/pdfarranger.py:1795 msgid "GNU General Public License (GPL) Version 3." msgstr "" #: pdfarranger/pdfarranger.py:1823 msgid "Selected pages: " msgstr "" #: pdfarranger/splitter.py:26 msgid "Split Pages" msgstr "" #: pdfarranger/splitter.py:58 msgid "Columns" msgstr "" #: pdfarranger/splitter.py:58 msgid "Rows" msgstr "" #: pdfarranger/splitter.py:59 msgid "Vertical Splits" msgstr "" #: pdfarranger/splitter.py:59 msgid "Horizontal Splits" msgstr "" #: pdfarranger/splitter.py:60 msgid "Equal column width" msgstr "" #: pdfarranger/splitter.py:60 msgid "Equal row height" msgstr "" #: pdfarranger/splitter.py:85 msgid "#Col" msgstr "" #: pdfarranger/splitter.py:85 msgid "#Row" msgstr "" #: pdfarranger/splitter.py:86 msgid "Width in %" msgstr "" #: pdfarranger/splitter.py:86 msgid "Height in %" msgstr "" #: data/pdfarranger.ui.h:1 msgid "Open a file and append it to the current document" msgstr "開啟檔案並將它附加到現有文件之後" #: data/pdfarranger.ui.h:2 msgid "Save" msgstr "儲存" #: data/pdfarranger.ui.h:3 msgid "Save As" msgstr "" #: data/pdfarranger.ui.h:4 msgid "Number of Pages" msgstr "" #: data/pdfarranger.ui.h:5 msgid "Main Menu" msgstr "" #: data/pdfarranger.ui.h:6 msgid "Zoom In" msgstr "" #: data/pdfarranger.ui.h:7 msgid "Zoom Out" msgstr "" #: data/pdfarranger.ui.h:8 msgid "Rotate Left" msgstr "" #: data/pdfarranger.ui.h:9 msgid "Rotate Right" msgstr "" #: data/menu.ui.h:1 msgid "_Import" msgstr "" #: data/menu.ui.h:2 msgid "_New Window" msgstr "" #: data/menu.ui.h:4 msgid "Save _As…" msgstr "" #: data/menu.ui.h:5 msgid "E_xport" msgstr "" #: data/menu.ui.h:6 msgid "E_xport Selection to a Single File…" msgstr "" #: data/menu.ui.h:7 msgid "Export Selection to _Individual Files…" msgstr "" #: data/menu.ui.h:8 msgid "Export _All Pages to Individual Files…" msgstr "" #: data/menu.ui.h:9 msgid "_Undo" msgstr "" #: data/menu.ui.h:10 msgid "_Redo" msgstr "" #: data/menu.ui.h:11 msgid "_Edit" msgstr "編輯(_E)" #: data/menu.ui.h:12 msgid "Rotate _Left" msgstr "向左旋轉(_L)" #: data/menu.ui.h:13 msgid "_Rotate Right" msgstr "向右旋轉(_R)" #: data/menu.ui.h:14 msgid "_Page Format" msgstr "" #: data/menu.ui.h:15 msgid "Crop White Borders" msgstr "" #: data/menu.ui.h:16 msgid "_Delete" msgstr "" #: data/menu.ui.h:17 msgid "Dupl_icate" msgstr "" #: data/menu.ui.h:18 msgid "Re_verse Order" msgstr "" #: data/menu.ui.h:19 msgid "_Split Pages" msgstr "" #: data/menu.ui.h:20 msgid "Cu_t" msgstr "" #: data/menu.ui.h:21 msgid "_Copy" msgstr "" #: data/menu.ui.h:22 msgid "Paste _After" msgstr "" #: data/menu.ui.h:23 msgid "Paste _Before" msgstr "" #: data/menu.ui.h:24 msgid "Paste Interleave _Odd" msgstr "" #: data/menu.ui.h:25 msgid "Paste Interleave _Even" msgstr "" #: data/menu.ui.h:26 msgid "Insert Blan_k Page" msgstr "" #: data/menu.ui.h:27 msgid "_Select" msgstr "" #: data/menu.ui.h:28 msgid "Select _All" msgstr "" #: data/menu.ui.h:29 msgid "_Deselect All" msgstr "" #: data/menu.ui.h:30 msgid "Select _Odd Pages" msgstr "" #: data/menu.ui.h:31 msgid "Select _Even Pages" msgstr "" #: data/menu.ui.h:32 msgid "All From _Same File" msgstr "" #: data/menu.ui.h:33 msgid "Same Page _Format" msgstr "" #: data/menu.ui.h:34 msgid "_Invert Selection" msgstr "" #: data/menu.ui.h:35 msgid "Zoom _In" msgstr "" #: data/menu.ui.h:36 msgid "Zoom _Out" msgstr "" #: data/menu.ui.h:37 msgid "Edit _Properties" msgstr "" #: data/menu.ui.h:38 msgid "_About" msgstr "" #: data/menu.ui.h:39 msgid "_Quit" msgstr "" #: data/menu.ui.h:40 msgid "Past_e Special" msgstr "" pdfarranger-1.8.2/setup.cfg000066400000000000000000000000521416164621100156350ustar00rootroot00000000000000[build_icons] icon-dir=data/icons/hicolor pdfarranger-1.8.2/setup.py000077500000000000000000000040611416164621100155350ustar00rootroot00000000000000#!/usr/bin/env python3 # # pdfarranger - GTK+ based utility for splitting, rearrangement and # modification of PDF documents. # Copyright (C) 2008-2017 Konstantinos Poulios # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # from setuptools import setup from DistUtilsExtra.command import ( build_i18n, clean_i18n, build_extra, build_icons) data_files = [ ('share/applications', ['data/com.github.jeromerobert.pdfarranger.desktop']), ('share/pdfarranger', ['data/pdfarranger.ui', 'data/menu.ui']), ('share/man/man1', ['doc/pdfarranger.1']), ('share/metainfo', ['data/com.github.jeromerobert.pdfarranger.metainfo.xml']), ] setup( name='pdfarranger', version='1.8.2', author='Jerome Robert', author_email='jeromerobert@gmx.com', description='A simple application for PDF Merging, Rearranging, and Splitting', url='https://github.com/pdfarranger/pdfarranger', license='GNU GPL-3', packages=['pdfarranger'], data_files=data_files, zip_safe=False, cmdclass={ "build": build_extra.build_extra, "build_i18n": build_i18n.build_i18n, "clean_i18n": clean_i18n.clean_i18n, "build_icons": build_icons.build_icons, }, entry_points={ 'console_scripts': ['pdfarranger=pdfarranger.pdfarranger:main'] }, install_requires=['pikepdf>=1.17.0','python-dateutil>=2.4.0'], extras_require={ 'image': ['img2pdf>=0.3.4'], }, ) pdfarranger-1.8.2/setup_win32.py000066400000000000000000000132611416164621100165560ustar00rootroot00000000000000VERSION='1.8.2' from cx_Freeze import setup, Executable import os import sys import distutils import shutil import glob import pkg_resources include_files = [ ('data/pdfarranger.ui', 'share/pdfarranger/pdfarranger.ui'), ('data/menu.ui', 'share/pdfarranger/menu.ui'), ('data/icons/hicolor/scalable', 'share/icons/hicolor/scalable'), ('build/mo', 'share/locale'), ] def addfile(relpath, warn_missing=False): global include_files f = os.path.join(sys.prefix, relpath) if warn_missing and not os.path.isfile(f): print("{} cannot be found.".format(f), file=sys.stderr) else: include_files.append((f, relpath)) def addlocale(name): for path in glob.glob(os.path.join(sys.prefix, "share/locale/*/LC_MESSAGES/{}.mo".format(name))): addfile(os.path.relpath(path, sys.prefix)) addlocale("gtk30") def addicons(): addfile("share/icons/hicolor/index.theme") addfile("share/icons/Adwaita/index.theme") for i in ['places/folder', 'mimetypes/text-x-generic', 'status/image-missing']: addfile(os.path.join('share/icons/Adwaita/16x16/', i + '.png')) icons = [ 'places/user-desktop', 'places/user-home', 'actions/bookmark-new', 'actions/document-open-recent', 'actions/folder-new', 'actions/list-add', 'actions/list-remove', 'actions/media-eject', 'actions/document-save', 'actions/document-save-as', 'actions/insert-image', 'actions/object-rotate-left', 'actions/object-rotate-right', 'actions/open-menu', 'actions/zoom-in', 'actions/zoom-out', 'ui/pan-down', 'ui/pan-end', 'ui/pan-start', 'ui/pan-up', 'ui/window-close', 'ui/window-maximize', 'ui/window-minimize', 'ui/window-restore', 'devices/drive-harddisk', 'devices/drive-optical', 'places/folder-documents', 'places/folder-download', 'places/folder-music', 'places/folder-pictures', 'places/folder-videos', 'places/user-trash', ] for i in icons: addfile(os.path.join('share/icons/Adwaita/scalable/', i + '-symbolic.svg')) required_dlls = [ 'gtk-3-0', 'gdk-3-0', 'epoxy-0', 'gdk_pixbuf-2.0-0', 'pango-1.0-0', 'pangocairo-1.0-0', 'pangoft2-1.0-0', 'pangowin32-1.0-0', 'atk-1.0-0', 'poppler-glib-8', 'xml2-2', 'rsvg-2-2', ] for dll in required_dlls: fn = 'lib' + dll + '.dll' include_files.append((os.path.join(sys.prefix, 'bin', fn), fn)) # zlib1 is first loaded by a DLL located in lib include_files.append((os.path.join(sys.prefix, 'bin', 'zlib1.dll'), os.path.join('lib', 'zlib1.dll'),)) required_gi_namespaces = [ "Gtk-3.0", "Gdk-3.0", "cairo-1.0", "Pango-1.0", "GObject-2.0", "GLib-2.0", "Gio-2.0", "GdkPixbuf-2.0", "GModule-2.0", "Atk-1.0", "Poppler-0.18", "HarfBuzz-0.0" ] for ns in required_gi_namespaces: addfile("lib/girepository-1.0/{}.typelib".format(ns)) addfile("lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll") addfile("lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.dll") addfile("lib/gdk-pixbuf-2.0/2.10.0/loaders.cache") addfile("share/glib-2.0/schemas/gschemas.compiled") addicons() # Add support for pikepdf.__version__ distrib = pkg_resources.get_distribution('pikepdf') from_path = os.path.join(distrib.egg_info, 'INSTALLER') to_path = os.path.join('lib', os.path.basename(distrib.egg_info), 'INSTALLER') include_files.append((from_path, to_path)) # gspawn-helper is needed for website link in AboutDialog from_path = os.path.join(sys.prefix, 'bin', 'gspawn-win64-helper.exe') to_path = 'gspawn-win64-helper.exe' include_files.append((from_path, to_path)) build_options = dict( packages=['gi', 'packaging', 'pikepdf'], excludes=['tkinter', 'test'], # manually added to the lib folder bin_excludes=['zlib1.dll'], include_files=include_files, ) def get_target_name(suffix): return 'pdfarranger-{}-windows-{}'.format(VERSION, suffix) msi_options = dict( target_name=get_target_name('installer.msi'), upgrade_code='{ab1752a6-575c-42e1-a261-b85cb8a6b524}' ) class bdist_zip(distutils.cmd.Command): """ Minimalist command to create a Windows portable .zip distribution """ description = "create a \"zip\" distribution" user_options = [] def initialize_options(self): pass def finalize_options(self): pass def run(self): build_base = self.get_finalized_command('build').build_base build_exe = self.get_finalized_command('build_exe') fullname = self.distribution.get_fullname() build_exe.build_exe = os.path.join(build_base, fullname) build_exe.run() dist_dir = self.get_finalized_command('bdist').dist_dir archname = os.path.join(dist_dir, get_target_name('portable')) self.make_archive(archname, 'zip', root_dir=build_base, base_dir=fullname) shutil.rmtree(build_exe.build_exe) setup(name='pdfarranger', version=VERSION, description='A simple application for PDF Merging, Rearranging, and Splitting', options=dict(build_exe=build_options, bdist_msi=msi_options), cmdclass={'bdist_zip': bdist_zip}, executables=[Executable('pdfarranger/__main__.py', base='Win32GUI' if sys.platform == 'win32' else None, targetName='pdfarranger.exe', icon='data/pdfarranger.ico', shortcutName='PDF Arranger', shortcutDir='StartMenuFolder' )]) pdfarranger-1.8.2/tests/000077500000000000000000000000001416164621100151615ustar00rootroot00000000000000pdfarranger-1.8.2/tests/test.pdf000066400000000000000000000007361416164621100166410ustar00rootroot00000000000000%PDF-1.4 % 1 0 obj << /Pages 2 0 R /Type /Catalog >> endobj 2 0 obj << /Count 2 /Kids [ 3 0 R 4 0 R ] /Type /Pages >> endobj 3 0 obj << /Contents 5 0 R /Type /Page >> endobj 4 0 obj << /Contents 6 0 R /Type /Page >> endobj 5 0 obj << /Length 52 >> stream 1 0 0 rg 530 180 m 70 180 l 300 580 l h 530 180 m B endstream endobj 6 0 obj << /Length 52 >> stream 0 1 0 rg 530 180 m 70 180 l 300 580 l h 530 180 m B endstream endobj xref trailer << /Root 1 0 R >> startxref 0 %%EOF pdfarranger-1.8.2/tests/test.py000066400000000000000000000422401416164621100165140ustar00rootroot00000000000000import os import subprocess import sys import unittest import time import tempfile import shutil """ Thoses tests are using Dogtail https://gitlab.com/dogtail/dogtail Other tools using dogtail where you can get example on how to use it: * https://gitlab.gnome.org/GNOME/gnome-boxes * https://gitlab.gnome.org/GNOME/gnome-software * https://gitlab.gnome.org/GNOME/gnome-characters * https://gitlab.gnome.org/GNOME/eog * https://github.com/kirienko/gourmet * https://github.com/virt-manager/virt-manager * https://gitlab.gnome.org/GNOME/gnome-weather/ * http://threedepict.sourceforge.net/ * https://salsa.debian.org/pkg-privacy-team/onioncircuits/-/tree/master/debian/tests Example of Dogtail using a filechooser: filechooser = app.child(roleName='file chooser') treeview = filechooser.child(roleName='table', name='Files') treeview.keyCombo('L') treeview.typeText('qpdf-manual.pdf') filechooser.button('Open').click() You may need to run the following commands to run thoses tests in your current session instead of Xvfb: * /usr/libexec/at-spi-bus-launcher --launch-immediately * setxkbmap -v fr * gsettings set org.gnome.desktop.interface toolkit-accessibility true Tests need to be run with default window size (i.e rm ~/.config/pdfarranger/config.ini) Some tips: * Use to print widget tree (names and roles) self._app().dump() """ def group(title): if "GITHUB_ACTIONS" in os.environ: print("::group::" + title) def endgroup(): if "GITHUB_ACTIONS" in os.environ: print("::endgroup::") class XvfbManager: """Base class for running offscreen tests""" def __init__(self, display=":99"): self.display = display env = os.environ.copy() env["DISPLAY"] = display self.xvfb_proc = None self.dbus_proc = None self.xvfb_proc = subprocess.Popen(["Xvfb", self.display]) cmd = ["dbus-daemon", "--print-address=1", "--session"] self.dbus_proc = subprocess.Popen( cmd, stdout=subprocess.PIPE, text=True, env=env ) self.dbus_addr = self.dbus_proc.stdout.readline().strip() self.dbus_proc.stdout.close() os.environ["DISPLAY"] = display os.environ["DBUS_SESSION_BUS_ADDRESS"] = self.dbus_addr def kill(self): self.dbus_proc.kill() self.dbus_proc.wait() self.xvfb_proc.kill() self.xvfb_proc.wait() class DogtailManager: def __init__(self): self.xvfb = None if "DISPLAY" not in os.environ: self.xvfb = XvfbManager() os.environ["LC_MESSAGES"] = "C" os.environ["GTK_MODULES"] = "gail:atk-bridge" cmd = "gsettings set org.gnome.desktop.interface toolkit-accessibility true" subprocess.check_call(cmd.split()) # dogtail must be imported after setting DBUS_SESSION_BUS_ADDRESS from dogtail.config import config config.debugSleep = False # long duration at startup config.searchBackoffDuration = 1 config.actionDelay = 0.01 config.runInterval = 0.01 config.defaultDelay = 0.1 config.debugSearching = False config.searchCutoffCount = 30 config.runTimeout = 1 config.searchShowingOnly = True config.typingDelay = 0.05 def kill(self): if self.xvfb is not None: self.xvfb.kill() # dogtail does not support change of X11 server so it must be a singleton dogtail_manager = DogtailManager() class PdfArrangerManager: def __init__(self, args=None, coverage=True): self.process = None args = [] if args is None else args cmd = [sys.executable, "-u", "-X", "tracemalloc"] if coverage: cmd = cmd + ["-m", "coverage", "run", "-a"] self.process = subprocess.Popen(cmd + ["-m", "pdfarranger"] + args) def kill(self): self.process.kill() self.process.wait() class PdfArrangerTest(unittest.TestCase): LAST=False def _start(self, args=None): from dogtail.config import config config.searchBackoffDuration = 1 self.__class__.pdfarranger = PdfArrangerManager(args) # check that process is actually running self.assertIsNone(self._process().poll()) self._app() # Now let's go faster config.searchBackoffDuration = 0.1 def _app(self): # Cannot import at top level because of DBUS_SESSION_BUS_ADDRESS from dogtail.tree import root a = root.application("__main__.py") self.assertFalse(a.dead) return a def _mainmenu(self, action): mainmenu = self._app().child(roleName="toggle button", name="Menu") self._wait_cond(lambda: mainmenu.sensitive) mainmenu.click() if not isinstance(action, str): for submenu in action[:-1]: mainmenu.menu(submenu).point() action = action[-1] mainmenu.menuItem(action).click() def _wait_cond(self, cond): c = 0 while not cond(): time.sleep(0.1) self.assertLess(c, 30) c += 1 def _status_text(self): app = self._app() from dogtail import predicate allstatusbar = app.findChildren(predicate.GenericPredicate(roleName="status bar"), showingOnly=False) # If we have multiple status bar, concider the last one as the one who display the selection statusbar = allstatusbar[-1] return statusbar.name def _assert_selected(self, selection): self.assertTrue(self._status_text().startswith("Selected pages: " + selection)) def _assert_page_size(self, width, height): label = " {:.1f}mm \u00D7 {:.1f}mm".format(width, height) self.assertTrue(self._status_text().endswith("Page Size:" + label)) def _icons(self): """Return the list of page icons""" from dogtail import predicate viewport = self._app().child(roleName="viewport") return viewport.findChildren(predicate.GenericPredicate(roleName="icon"), showingOnly=False) def _popupmenu(self, page, action): """Run an action on a give page using the popup menu""" self._icons()[page].click(button=3) popupmenu = self._app().child(roleName="window") if not isinstance(action, str): for submenu in action[:-1]: popupmenu.menu(submenu).point() action = action[-1] button = popupmenu.menuItem(action) self._wait_cond(lambda: button.sensitive) button.click() def _process(self): return self.__class__.pdfarranger.process def _import_file(self, filename): """Try to import a file with a file chooser and return that file chooser object""" self._mainmenu("Import") filechooser = self._app().child(roleName='file chooser') treeview = filechooser.child(roleName="table", name="Files") treeview.keyCombo("L") treeview.typeText(os.path.abspath(filename)) ob = filechooser.button("Open") self._wait_cond(lambda: ob.sensitive) ob.click() return filechooser @classmethod def setUpClass(cls): cls.pdfarranger = None cls.tmp = tempfile.mkdtemp() def setUp(self): group("Running " + self.id()) def tearDown(self): endgroup() @classmethod def tearDownClass(cls): if cls.pdfarranger: cls.pdfarranger.kill() if cls.tmp: shutil.rmtree(cls.tmp) if cls.LAST: dogtail_manager.kill() class TestBatch1(PdfArrangerTest): def test_01_import_img(self): self._start(["data/screenshot.png"]) def test_02_properties(self): self._mainmenu("Edit Properties") dialog = self._app().child(roleName="dialog") creatorlab = dialog.child(roleName="table cell", name="Creator") creatorid = creatorlab.parent.children.index(creatorlab) + 1 creatorval = creatorlab.parent.children[creatorid] creatorval.keyCombo("enter") from dogtail import rawinput rawinput.typeText('["Frodo", "Sam"]') dialog.child(name="OK").click() self._mainmenu("Edit Properties") dialog = self._app().child(roleName="dialog") rawinput.keyCombo("enter") rawinput.typeText('Memories') rawinput.keyCombo("enter") # FIXME: depending on where the test is ran the previous enter close # the dialog or do not close it. try: dialog.child(name="OK").click() except Exception: print("'Edit Properties dialog' closed by 'enter'.") self._wait_cond(lambda: dialog.dead) def test_03_zoom(self): app = self._app() zoomoutb = app.child(roleName="push button", description="Zoom Out") zoominb = app.child(roleName="push button", description="Zoom In") # maximum dezoom whatever the initial zoom level for _ in range(10): zoomoutb.click() for _ in range(3): zoominb.click() def test_04_rotate_undo(self): app = self._app() self._assert_selected("") app.keyCombo("a") # select all self._assert_selected("1") app.keyCombo("Left") # rotate left app.keyCombo("z") # undo app.keyCombo("y") # redo app.keyCombo("a") app.keyCombo("Right") # rotate right app.keyCombo("Right") # rotate right def test_05_duplicate(self): self._popupmenu(0, "Duplicate") app = self._app() self.assertEqual(len(self._icons()), 2) app.keyCombo("a") app.keyCombo("c") for __ in range(3): app.keyCombo("v") self.assertEqual(len(self._icons()), 8) app.keyCombo("Right") app.keyCombo("Left") app.keyCombo("Down") self._assert_selected("5") app.keyCombo("Up") self._assert_selected("2") def test_06_page_format(self): self._popupmenu(0, ["Select", "Select Odd Pages"]) self._assert_selected("1, 3, 5, 7") self._popupmenu(0, "Page Format") dialog = self._app().child(roleName="dialog") croppanel = dialog.child(name="Crop Margins") from dogtail import predicate cropbuttons = croppanel.findChildren(predicate.GenericPredicate(roleName="spin button")) for i in range(4): cropbuttons[i].click() cropbuttons[i].text = str((i+1)*4) scalebutton = dialog.child(roleName="spin button") scalebutton.click() scalebutton.text = "120" dialog.child(name="OK").click() # TODO: find the condition which could replace this ugly sleep time.sleep(0.5) self._wait_cond(lambda: dialog.dead) def test_07_split_page(self): lp = self._app().child(roleName="layered pane") lp.grabFocus() lbefore = len(self._icons()) self._popupmenu(0, ["Select", "Select Even Pages"]) self._assert_selected("2, 4, 6, 8") self._mainmenu(["Edit", "Split Pages"]) dialog = self._app().child(roleName="dialog") dialog.child(name="OK").click() self._wait_cond(lambda: dialog.dead) self.assertEqual(len(self._icons()), lbefore + 4) def test_08_zoom_pages(self): self._app().child(roleName="layered pane").keyCombo("Home") self._assert_selected("1") self._app().keyCombo("f") def test_09_save_as(self): self._mainmenu("Save") filechooser = self._app().child(roleName="file chooser") tmp = self.__class__.tmp filename = os.path.join(tmp, "foobar.pdf") filechooser.child(roleName="text").text = filename saveb = filechooser.button("Save") self._wait_cond(lambda: saveb.sensitive) filechooser.button("Save").click() self._wait_cond(lambda: os.path.isfile(filename)) def test_10_reverse(self): self._popupmenu(0, ["Select", "Same Page Format"]) self._assert_selected("1, 4, 7, 10") self._popupmenu(0, ["Select", "All From Same File"]) self._assert_selected("1-12") self._popupmenu(0, "Reverse Order") def test_11_quit(self): self._mainmenu("Quit") dialog = self._app().child(roleName="alert") dialog.child(name="Cancel").click() self._app().keyCombo("s") self._app().keyCombo("q") # check that process actually exit self._process().wait(timeout=22) class TestBatch2(PdfArrangerTest): def test_01_open_empty(self): self._start() def test_02_import(self): filechooser = self._import_file("tests/test.pdf") self._wait_cond(lambda: filechooser.dead) self.assertEqual(len(self._icons()), 2) def test_03_cropborder(self): self._popupmenu(0, "Crop White Borders") def test_04_export(self): self._mainmenu(["Export", "Export All Pages to Individual Files…"]) filechooser = self._app().child(roleName="file chooser") tmp = self.__class__.tmp filename = os.path.join(tmp, "alltosingle.pdf") filename2 = os.path.join(tmp, "alltosingle2.pdf") filechooser.child(roleName="text").text = filename saveb = filechooser.button("Save") self._wait_cond(lambda: saveb.sensitive) filechooser.button("Save").click() self._wait_cond(lambda: os.path.isfile(filename) and os.path.isfile(filename2)) def test_05_clear(self): self._popupmenu(1, "Delete") self.assertEqual(len(self._icons()), 1) def test_06_about(self): self._mainmenu("About") dialog = self._app().child(roleName="dialog") dialog.child(name="Close").click() self._wait_cond(lambda: dialog.dead) def test_07_quit(self): self._app().child(roleName="layered pane").keyCombo("q") dialog = self._app().child(roleName="alert") dialog.child(name="Don’t Save").click() # check that process actually exit self._process().wait(timeout=22) class TestBatch3(PdfArrangerTest): def test_01_open_encrypted(self): filename = os.path.join(self.__class__.tmp, "other_encrypted.pdf") shutil.copyfile("tests/test_encrypted.pdf", filename) self._start([filename]) dialog = self._app().child(roleName="dialog") passfield = dialog.child(roleName="password text") passfield.text = "foobar" dialog.child(name="OK").click() self._wait_cond(lambda: dialog.dead) def test_02_import_wrong_pass(self): filechooser = self._import_file("tests/test_encrypted.pdf") dialog = self._app().child(roleName="dialog") passfield = dialog.child(roleName="password text") passfield.text = "wrong" dialog.child(name="OK").click() dialog = self._app().child(roleName="dialog") passfield = dialog.child(roleName="password text") dialog.child(name="Cancel").click() self._wait_cond(lambda: dialog.dead) self._wait_cond(lambda: filechooser.dead) self.assertEqual(len(self._icons()), 2) def test_03_quit(self): self._app().child(roleName="layered pane").keyCombo("q") dialog = self._app().child(roleName="alert") dialog.child(name="Save").click() filechooser = self._app().child(roleName="file chooser") filechooser.button("Save").click() dialog = self._app().child(roleName="alert") dialog.child(name="Replace").click() # check that process actually exit self._process().wait(timeout=22) class TestBatch4(PdfArrangerTest): # Kill X11 after that batch LAST=True def test_01_import_pdf(self): self._start(["tests/test.pdf"]) def test_02_duplicate(self): app = self._app() app.keyCombo("Down") self._popupmenu(0, ["Duplicate"]) app.keyCombo("Right") def test_03_scale(self): app = self._app() app.keyCombo("C") dialog = self._app().child(roleName="dialog") from dogtail import rawinput rawinput.keyCombo("Tab") rawinput.typeText("200") dialog.child(name="OK").click() self._wait_cond(lambda: dialog.dead) app.keyCombo("Left") # rotate left self._assert_selected("2") self._assert_page_size(558.8, 431.8) def test_04_export(self): app = self._app() app.keyCombo("a") # select all self._mainmenu(["Export", "Export Selection to a Single File…"]) filechooser = self._app().child(roleName="file chooser") tmp = self.__class__.tmp filename = os.path.join(tmp, "scaled.pdf") filechooser.child(roleName="text").text = filename saveb = filechooser.button("Save") self._wait_cond(lambda: saveb.sensitive) filechooser.button("Save").click() self._wait_cond(lambda: os.path.isfile(filename)) self._popupmenu(1, "Delete") def test_05_import(self): filename = os.path.join(self.__class__.tmp, "scaled.pdf") filechooser = self._import_file(filename) self._wait_cond(lambda: filechooser.dead) self.assertEqual(len(self._icons()), 3) app = self._app() self._app().child(roleName="layered pane").grabFocus() app.keyCombo("Right") app.keyCombo("Right") self._assert_selected("2") self._assert_page_size(558.8, 431.8) pdfarranger-1.8.2/tests/test_encrypted.pdf000066400000000000000000000026061416164621100207140ustar00rootroot00000000000000%PDF-1.7 % 1 0 obj << /Extensions << /ADBE << /BaseVersion /1.7 /ExtensionLevel 8 >> >> /Pages 2 0 R /Type /Catalog >> endobj 2 0 obj << /Count 2 /Kids [ 3 0 R 4 0 R ] /Type /Pages >> endobj 3 0 obj << /Contents 5 0 R /Type /Page >> endobj 4 0 obj << /Contents 6 0 R /Type /Page >> endobj 5 0 obj << /Length 64 /Filter /FlateDecode >> stream 豛6XhGUo"q@W9Mƺ_ 6g:W/Vކ!5>%R܌endstream endobj 6 0 obj << /Length 64 /Filter /FlateDecode >> stream w֫CmxcX Z#>BE(Wcjs0mڲKendstream endobj 7 0 obj << /CF << /StdCF << /AuthEvent /DocOpen /CFM /AESV3 /Length 32 >> >> /Filter /Standard /Length 256 /O /OE <95b96b443d5904d8f8535c7acadf0f563888bd8adcb29f5643ceb78b55869b96> /P -4 /Perms <606cd50283a513d2eb3361835f9654c3> /R 6 /StmF /StdCF /StrF /StdCF /U <9cbd901891869871f3886351b409eedb35a116e3ac1f5cb4753be9eee48046d6e13c499f08e5e3cfc6912c870a573467> /UE <17c74e54ab1cf4eb4f4d41f1e6aa4bb4ccdabcfa32a585e3fe1d20fdaf5cb13b> /V 5 >> endobj xref 0 8 0000000000 65535 f 0000000015 00000 n 0000000130 00000 n 0000000195 00000 n 0000000244 00000 n 0000000293 00000 n 0000000427 00000 n 0000000561 00000 n trailer << /Root 1 0 R /ID [<5c10f271db390a18d2d37ba4379bb02f><5c10f271db390a18d2d37ba4379bb02f>] /Encrypt 7 0 R >> startxref 1108 %%EOF