pax_global_header00006660000000000000000000000064147352006700014516gustar00rootroot0000000000000052 comment=7d7ee1d99dd0380a814613bb336aee9f0fdc065c caja-rename-25.1.1/000077500000000000000000000000001473520067000137475ustar00rootroot00000000000000caja-rename-25.1.1/.gitignore000077500000000000000000000000451473520067000157410ustar00rootroot00000000000000project.geany update-translations.sh caja-rename-25.1.1/CHANGELOG.md000066400000000000000000000113171473520067000155630ustar00rootroot00000000000000# 25.1.1 - Translated using Weblate (Occitan) (35f6024) - Translated using Weblate (Tamil) (b52e1d1) - Added translation using Weblate (Tamil) (3321d6c) # 24.12.1 - Translated using Weblate (Hungarian) (e791d2a) - Translated using Weblate (Lithuanian) (0b37c4a) - Provide both HighContrast and ContrastHigh icons (d341fc0) # 24.10.1 - Add high contrast icon (cc2a927) - data/caja-rename.ui: Add a frame to the scroll window (45f6d2b) - Set enumeration start to 1 (048abe3) - src/caja-rename.c: Use file-specific icons (2513957) - Translated using Weblate (French) (532a8d4) # 24.9.1 - Refactor translation code (a63d8b1) # 24.8.1 - Translated using Weblate (English (United Kingdom)) (308d0a2) # 24.7.1 - Merge branch 'sunweaver-pr/glib2-274' (8ab1a2a) - src/: Support building against older GLib-2.0 versions. (05bd5a2) # 24.5.1 - Translated using Weblate (Hungarian) (f4635f9) - Added translation using Weblate (Hungarian) (4b56629) # 24.4.1 - Translated using Weblate (Chinese (Simplified)) (a0e4550) # 24.2.1 - Translated using Weblate (Portuguese) (2b5c484) - Translated using Weblate (Arabic) (4d7b5d8) # 23.12.1 - Translated using Weblate (Ukrainian) (3afb34d) - Added translation using Weblate (Ukrainian) (f0612ab) # 23.11.1 - Translated using Weblate (Turkish) (eee5f1a) - Translated using Weblate (German) (1c7e5c5) - Translated using Weblate (Czech) (fec3ff7) - Translated using Weblate (Croatian) (3a97b6b) - Translated using Weblate (Russian) (4ff86a4) - Translated using Weblate (Spanish) (dbec466) # 23.10.1 - Restore README and COPYING (cf4da5c) - Rewrite in C (da3af00) # 23.9.1 - po/cajarename.pot: Update translation template (202582a) - data/usr/share/cajarename/cajarename.glade: Fix dialog button image and label (eafdc9f) # 23.8.1 - Allow negative start index when removing part of file name (9c200c8) # 23.7.1 - Translated using Weblate (Turkish) (33c4d6a) - Added translation using Weblate (Turkish) (82cc575) # 23.4.1 - Translated using Weblate (Portuguese) (89de303) - Added translation using Weblate (Portuguese) (eb01f80) - debian/*: Update files (eb9e25e) - setup.py: Update translation file search strategy (faafb6a) - Translated using Weblate (Russian) (93e497a) - Added translation using Weblate (Russian) (2165aa8) - Translated using Weblate (French) (c9c5365) - Translated using Weblate (Portuguese (Brazil)) (5c11de7) - Translated using Weblate (Arabic) (0070e03) - Translated using Weblate (English (United Kingdom)) (4f81bec) # Release 22.10.31 - Translated using Weblate (Norwegian Bokmål) (3c0d8d8) - Translated using Weblate (Spanish) (e232bd5) - Translated using Weblate (Catalan) (f4d079d) - Translated using Weblate (Spanish) (1110e79) - Translated using Weblate (Spanish) (0d184b6) - Translated using Weblate (Lithuanian) (b82c30f) - Translated using Weblate (Czech) (18afdeb) # Release 22.6.29 - Translated using Weblate (German) (b15c1d2) - Update translation files (bfd6a55) - Translated using Weblate (Arabic) (168df78) - Added translation using Weblate (Arabic) (34e0eed) - Translated using Weblate (Chinese (Simplified)) (093e13d) - Translated using Weblate (Chinese (Simplified)) (ed5517a) - Translated using Weblate (Chinese (Simplified)) (ce21dc6) # Release 21.11.24 - Use named icons with fallback (a98fa7a) - Translated using Weblate (Chinese (Simplified)) (bc8b282) # Release 21.11.13 - Translated using Weblate (Greek) (fe559d8) - Added translation using Weblate (Greek) (bf0e8ec) - Translated using Weblate (Chinese (Simplified)) (878a167) - Added translation using Weblate (Chinese (Simplified)) (dd5f51c) # Release 21.7.18 - Merge pull request #4 from tormodvolden/init_obj (cf54b56) - Avoid RuntimeError about object not initialized (c845426) - Translated using Weblate (Croatian) (659faa8) - Added translation using Weblate (Croatian) (926b497) # Release 21.4.11 - po/cajarename.pot: Update translation strings (9766484) - data/usr/share/caja-python/extensions/caja-rename.py: Rename menu item (fdff88d) - Translated using Weblate (Catalan) (bbcb569) - Translated using Weblate (Spanish) (b953be1) - Added translation using Weblate (Catalan) (ce4421f) - Translated using Weblate (Lithuanian) (c3f3503) - Translated using Weblate (Portuguese (Brazil)) (cec2629) - Translated using Weblate (Occitan) (61cdb3e) - Translated using Weblate (Occitan) (106d8d2) - Added translation using Weblate (Occitan) (da2a9f9) - Translated using Weblate (French) (bc971af) - Translated using Weblate (Norwegian Bokmål) (c603ea6) - Added translation using Weblate (French) (966df64) - Added translation using Weblate (Norwegian Bokmål) (c832833) - Add binary dir (c381a3d) - Version bump (cf5256a) - Initial port from Launchpad (2ebf946) caja-rename-25.1.1/CMakeLists.txt000066400000000000000000000017521473520067000165140ustar00rootroot00000000000000cmake_minimum_required (VERSION 3.13) project (caja-rename VERSION 25.1.1 LANGUAGES C) if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) SET (CMAKE_INSTALL_PREFIX "/usr" CACHE PATH "..." FORCE) endif (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) # Options option (ENABLE_WERROR "Treat all build warnings as errors" OFF) set(CMAKE_BUILD_TYPE "Release") if (ENABLE_WERROR) add_definitions ("-Werror") endif () if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") add_definitions ("-Weverything") else () add_definitions ("-Wall") endif () # Prerequisites include (GNUInstallDirs) find_package (PkgConfig REQUIRED) include (FindPkgConfig) pkg_check_modules (DEPS REQUIRED gtk+-3.0 libcaja-extension gmodule-export-2.0) pkg_get_variable (EXTENSION_DIR libcaja-extension extensiondir) # Build add_subdirectory (src) add_subdirectory (data) add_subdirectory (po) # Info message (STATUS "Install prefix: ${CMAKE_INSTALL_PREFIX}") message (STATUS "Build with -Werror: ${ENABLE_WERROR}") caja-rename-25.1.1/COPYING000066400000000000000000001045131473520067000150060ustar00rootroot00000000000000 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 . caja-rename-25.1.1/README.md000066400000000000000000000006601473520067000152300ustar00rootroot00000000000000# Caja Rename An extension for Caja allowing users to rename multiple files/folders in a single pass. The application can change the case, insert, replace and delete strings, as well as enumerate the selection. Any changes are instantly visible in the preview list. The user interface strives to be as simple as possible, without confusing advanced operations. For further info please see https://tari.in/www/software/caja-rename/ caja-rename-25.1.1/data/000077500000000000000000000000001473520067000146605ustar00rootroot00000000000000caja-rename-25.1.1/data/CMakeLists.txt000066400000000000000000000022531473520067000174220ustar00rootroot00000000000000# libcaja-rename.caja-extension find_package (Intltool REQUIRED) string (TIMESTAMP YEAR "%Y") configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/libcaja-rename.caja-extension.in" "${CMAKE_CURRENT_BINARY_DIR}/libcaja-rename.caja-extension.intl" @ONLY) intltool_merge_translations ("libcaja-rename.caja-extension.intl" "libcaja-rename.caja-extension" ALL UTF8) install (FILES "${CMAKE_CURRENT_BINARY_DIR}/libcaja-rename.caja-extension" DESTINATION "${CMAKE_INSTALL_FULL_DATADIR}/caja/extensions") # icons install (DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/icons" DESTINATION "${CMAKE_INSTALL_FULL_DATADIR}") # caja-rename-gresource.c find_program (GLIB_COMPILE_RESOURCES NAMES glib-compile-resources REQUIRED) add_custom_command ( OUTPUT "${CMAKE_PROJECT_NAME}-gresource.c" WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" COMMAND "${GLIB_COMPILE_RESOURCES}" ARGS --target "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}-gresource.c" --generate-source "${CMAKE_PROJECT_NAME}.xml" VERBATIM MAIN_DEPENDENCY "${CMAKE_PROJECT_NAME}.xml" DEPENDS "${CMAKE_PROJECT_NAME}.ui" ) add_custom_target ("data" DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}-gresource.c") caja-rename-25.1.1/data/caja-rename.ui000066400000000000000000000771101473520067000173700ustar00rootroot00000000000000 10 1 10 1000000000 1 10 100 1 10 -100 100 1 10 100 1 10 True False dialog-close True False dialog-ok False True Rename... True center-on-parent 640 480 True dialog False vertical False end Close True True True image1 True True 0 Apply True True True image2 True True 1 False False 1 True True 5 5 5 5 True False 5 5 5 5 Title case True True False True radiobuttonCaseUnchanged 0 2 Lower case True True False True radiobuttonCaseUnchanged 0 1 Upper case True True False True radiobuttonCaseUnchanged 0 0 Unchanged True True False True True 0 3 True False Case True False False True False 5 5 5 5 True False start Position True False 1 1 0 True True 3 3 3 number adjustmentInsert True 1 1 True True 5 True 128 0 1 True False start Text to insert True False 1 0 0 1 True False Insert True False 1 False True False 5 5 5 5 True True False start From 0 0 True True 5 3 number adjustmentRemoveFrom True 0 1 True False start Length 1 0 True True 3 number adjustmentRemoveLength True 1 1 2 True False Remove False 1 2 False True False 5 5 5 5 True True False start Text to search for 0 0 True False start Text to insert 1 0 True True 5 0 1 True True 1 1 3 True False Replace 3 False True False 5 5 5 5 True True False start Digits 0 0 True False start Start 1 0 True True 5 2 number adjustmentEnumerateDigits True 0 1 True True 10 number adjustmentEnumerateStart True 1 1 1 4 True False Enumerate 4 False False True 0 True True 5 5 False True True liststore False False True False none fixed 1 fixed True 2 fixed True 3 True True 1 buttonClose caja-rename-25.1.1/data/caja-rename.xml000066400000000000000000000002671473520067000175520ustar00rootroot00000000000000 caja-rename.ui caja-rename-25.1.1/data/icons/000077500000000000000000000000001473520067000157735ustar00rootroot00000000000000caja-rename-25.1.1/data/icons/ContrastHigh/000077500000000000000000000000001473520067000203705ustar00rootroot00000000000000caja-rename-25.1.1/data/icons/ContrastHigh/scalable/000077500000000000000000000000001473520067000221365ustar00rootroot00000000000000caja-rename-25.1.1/data/icons/ContrastHigh/scalable/apps/000077500000000000000000000000001473520067000231015ustar00rootroot00000000000000caja-rename-25.1.1/data/icons/ContrastHigh/scalable/apps/caja-rename.svg000077700000000000000000000000001473520067000366132../../../HighContrast/scalable/apps/caja-rename.svgustar00rootroot00000000000000caja-rename-25.1.1/data/icons/HighContrast/000077500000000000000000000000001473520067000203705ustar00rootroot00000000000000caja-rename-25.1.1/data/icons/HighContrast/scalable/000077500000000000000000000000001473520067000221365ustar00rootroot00000000000000caja-rename-25.1.1/data/icons/HighContrast/scalable/apps/000077500000000000000000000000001473520067000231015ustar00rootroot00000000000000caja-rename-25.1.1/data/icons/HighContrast/scalable/apps/caja-rename.svg000066400000000000000000000076471473520067000260030ustar00rootroot00000000000000 caja-rename-25.1.1/data/icons/hicolor/000077500000000000000000000000001473520067000174325ustar00rootroot00000000000000caja-rename-25.1.1/data/icons/hicolor/16x16/000077500000000000000000000000001473520067000202175ustar00rootroot00000000000000caja-rename-25.1.1/data/icons/hicolor/16x16/apps/000077500000000000000000000000001473520067000211625ustar00rootroot00000000000000caja-rename-25.1.1/data/icons/hicolor/16x16/apps/caja-rename.svg000066400000000000000000002331751473520067000240610ustar00rootroot00000000000000 image/svg+xml A B caja-rename-25.1.1/data/icons/hicolor/22x22/000077500000000000000000000000001473520067000202115ustar00rootroot00000000000000caja-rename-25.1.1/data/icons/hicolor/22x22/apps/000077500000000000000000000000001473520067000211545ustar00rootroot00000000000000caja-rename-25.1.1/data/icons/hicolor/22x22/apps/caja-rename.svg000077700000000000000000000000001473520067000310752../../16x16/apps/caja-rename.svgustar00rootroot00000000000000caja-rename-25.1.1/data/icons/hicolor/24x24/000077500000000000000000000000001473520067000202155ustar00rootroot00000000000000caja-rename-25.1.1/data/icons/hicolor/24x24/apps/000077500000000000000000000000001473520067000211605ustar00rootroot00000000000000caja-rename-25.1.1/data/icons/hicolor/24x24/apps/caja-rename.svg000077700000000000000000000000001473520067000311012../../16x16/apps/caja-rename.svgustar00rootroot00000000000000caja-rename-25.1.1/data/icons/hicolor/scalable/000077500000000000000000000000001473520067000212005ustar00rootroot00000000000000caja-rename-25.1.1/data/icons/hicolor/scalable/apps/000077500000000000000000000000001473520067000221435ustar00rootroot00000000000000caja-rename-25.1.1/data/icons/hicolor/scalable/apps/caja-rename.svg000066400000000000000000003205651473520067000250420ustar00rootroot00000000000000 image/svg+xml A B caja-rename-25.1.1/data/libcaja-rename.caja-extension.in000066400000000000000000000003731473520067000227540ustar00rootroot00000000000000[Caja Extension] Icon=caja-rename _Name=Caja Rename _Description=Rename all selected files Author=Robert Tari Copyright=Copyright (C) 2017-@YEAR@ Robert Tari Version=@PROJECT_VERSION@ Website=https://tari.in/www/software/caja-rename/ caja-rename-25.1.1/po/000077500000000000000000000000001473520067000143655ustar00rootroot00000000000000caja-rename-25.1.1/po/CMakeLists.txt000066400000000000000000000001551473520067000171260ustar00rootroot00000000000000find_package (Intltool REQUIRED) intltool_install_translations (ALL GETTEXT_PACKAGE "${CMAKE_PROJECT_NAME}") caja-rename-25.1.1/po/ar.po000066400000000000000000000061651473520067000153370ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Robert Tari # This file is distributed under the same license as the caja-rename package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: caja-rename 20.1.26\n" "Report-Msgid-Bugs-To: https://github.com/tari01/caja-rename/issues\n" "POT-Creation-Date: 2024-09-01 22:14+0200\n" "PO-Revision-Date: 2024-01-04 10:06+0000\n" "Last-Translator: ButterflyOfFire \n" "Language-Team: Arabic \n" "Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " "&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n" "X-Generator: Weblate 5.4-dev\n" #: src/caja-rename.c:244 msgid "The following names are not acceptable:" msgstr "الأسماء التالية غير مقبولة:" #: src/caja-rename.c:246 msgid "Invalid names" msgstr "أسماء غير صالحة" #: src/caja-rename.c:302 msgid "The following will be overwritten:" msgstr "سيتم استبدال ما يلي:" #: src/caja-rename.c:302 msgid "Do you wish to continue?" msgstr "هل ترغب في الاستمرار؟" #: src/caja-rename.c:304 msgid "Confirm overwrite" msgstr "" #: src/caja-rename.c:365 msgid "There were errors while renaming the following:" msgstr "" #: src/caja-rename.c:367 msgid "Rename error" msgstr "خطأ في إعادة التسمية" #: src/caja-rename.c:460 msgid "Rename All…" msgstr "إعادة تسمية الكل…" #: src/caja-rename.c:460 msgid "Rename selected items" msgstr "" #: data/caja-rename.ui:77 msgid "Rename..." msgstr "إعادة التسمية …" #: data/caja-rename.ui:94 msgid "Close" msgstr "غلق" #: data/caja-rename.ui:147 msgid "Title case" msgstr "عنوان الحالة" #: data/caja-rename.ui:162 msgid "Lower case" msgstr "أحرف صغيرة" #: data/caja-rename.ui:177 msgid "Upper case" msgstr "أحرف كبيرة" #: data/caja-rename.ui:192 msgid "Unchanged" msgstr "دون تغيير" #: data/caja-rename.ui:235 msgid "Case" msgstr "حالة" #: data/caja-rename.ui:257 msgid "Position" msgstr "الموضع" #: data/caja-rename.ui:304 data/caja-rename.ui:472 msgid "Text to insert" msgstr "نص لإدراجه" #: data/caja-rename.ui:338 msgid "Insert" msgstr "ادخل" #: data/caja-rename.ui:362 msgid "From" msgstr "من" #: data/caja-rename.ui:390 msgid "Length" msgstr "الطول" #: data/caja-rename.ui:436 msgid "Remove" msgstr "إزالة" #: data/caja-rename.ui:460 msgid "Text to search for" msgstr "النص الذي تبحث عنه" #: data/caja-rename.ui:528 msgid "Replace" msgstr "استبدل" #: data/caja-rename.ui:550 msgid "Digits" msgstr "أرقام" #: data/caja-rename.ui:562 msgid "Start" msgstr "ابدأ" #: data/caja-rename.ui:624 msgid "Enumerate" msgstr "تعداد" #: data/libcaja-rename.caja-extension.intl:4 msgid "Caja Rename" msgstr "" #: data/libcaja-rename.caja-extension.intl:5 msgid "Rename all selected files" msgstr "إعادة تسمية كافة الملفات المختارة" caja-rename-25.1.1/po/ca.po000066400000000000000000000052461473520067000153170ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Robert Tari # This file is distributed under the same license as the caja-rename package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: cajarename 19.3.20\n" "Report-Msgid-Bugs-To: https://github.com/tari01/caja-rename/issues\n" "POT-Creation-Date: 2024-09-01 22:14+0200\n" "PO-Revision-Date: 2022-09-18 21:21+0000\n" "Last-Translator: Toni Estévez \n" "Language-Team: Catalan \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: Weblate 4.14.1\n" #: src/caja-rename.c:244 msgid "The following names are not acceptable:" msgstr "" #: src/caja-rename.c:246 msgid "Invalid names" msgstr "" #: src/caja-rename.c:302 msgid "The following will be overwritten:" msgstr "" #: src/caja-rename.c:302 msgid "Do you wish to continue?" msgstr "" #: src/caja-rename.c:304 msgid "Confirm overwrite" msgstr "" #: src/caja-rename.c:365 msgid "There were errors while renaming the following:" msgstr "" #: src/caja-rename.c:367 msgid "Rename error" msgstr "" #: src/caja-rename.c:460 msgid "Rename All…" msgstr "" #: src/caja-rename.c:460 msgid "Rename selected items" msgstr "" #: data/caja-rename.ui:77 msgid "Rename..." msgstr "" #: data/caja-rename.ui:94 msgid "Close" msgstr "" #: data/caja-rename.ui:147 msgid "Title case" msgstr "Majúscules inicials" #: data/caja-rename.ui:162 msgid "Lower case" msgstr "Minúscules" #: data/caja-rename.ui:177 msgid "Upper case" msgstr "Majúscules" #: data/caja-rename.ui:192 msgid "Unchanged" msgstr "Sense canvis" #: data/caja-rename.ui:235 msgid "Case" msgstr "Ús de les majúscules" #: data/caja-rename.ui:257 msgid "Position" msgstr "Posició" #: data/caja-rename.ui:304 data/caja-rename.ui:472 msgid "Text to insert" msgstr "Text per inserir" #: data/caja-rename.ui:338 msgid "Insert" msgstr "Insereix" #: data/caja-rename.ui:362 msgid "From" msgstr "De" #: data/caja-rename.ui:390 msgid "Length" msgstr "Llargada" #: data/caja-rename.ui:436 msgid "Remove" msgstr "Suprimeix" #: data/caja-rename.ui:460 msgid "Text to search for" msgstr "Text per cercar" #: data/caja-rename.ui:528 msgid "Replace" msgstr "Substitueix" #: data/caja-rename.ui:550 msgid "Digits" msgstr "Dígits" #: data/caja-rename.ui:562 msgid "Start" msgstr "Comença" #: data/caja-rename.ui:624 msgid "Enumerate" msgstr "Enumera" #: data/libcaja-rename.caja-extension.intl:4 msgid "Caja Rename" msgstr "" #: data/libcaja-rename.caja-extension.intl:5 msgid "Rename all selected files" msgstr "" caja-rename-25.1.1/po/caja-rename.pot000066400000000000000000000046001473520067000172540ustar00rootroot00000000000000# Translation of caja-rename in LANGUAGE # Copyright (C) 2024 Robert Tari # This file is distributed under the same license as the caja-rename package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: caja-rename 24.9.1\n" "Report-Msgid-Bugs-To: https://github.com/tari01/caja-rename/issues\n" "POT-Creation-Date: 2024-09-01 22:15+0200\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" #: src/caja-rename.c:244 msgid "The following names are not acceptable:" msgstr "" #: src/caja-rename.c:246 msgid "Invalid names" msgstr "" #: src/caja-rename.c:302 msgid "The following will be overwritten:" msgstr "" #: src/caja-rename.c:302 msgid "Do you wish to continue?" msgstr "" #: src/caja-rename.c:304 msgid "Confirm overwrite" msgstr "" #: src/caja-rename.c:365 msgid "There were errors while renaming the following:" msgstr "" #: src/caja-rename.c:367 msgid "Rename error" msgstr "" #: src/caja-rename.c:460 msgid "Rename All…" msgstr "" #: src/caja-rename.c:460 msgid "Rename selected items" msgstr "" #: data/caja-rename.ui:77 msgid "Rename..." msgstr "" #: data/caja-rename.ui:94 msgid "Close" msgstr "" #: data/caja-rename.ui:147 msgid "Title case" msgstr "" #: data/caja-rename.ui:162 msgid "Lower case" msgstr "" #: data/caja-rename.ui:177 msgid "Upper case" msgstr "" #: data/caja-rename.ui:192 msgid "Unchanged" msgstr "" #: data/caja-rename.ui:235 msgid "Case" msgstr "" #: data/caja-rename.ui:257 msgid "Position" msgstr "" #: data/caja-rename.ui:304 data/caja-rename.ui:472 msgid "Text to insert" msgstr "" #: data/caja-rename.ui:338 msgid "Insert" msgstr "" #: data/caja-rename.ui:362 msgid "From" msgstr "" #: data/caja-rename.ui:390 msgid "Length" msgstr "" #: data/caja-rename.ui:436 msgid "Remove" msgstr "" #: data/caja-rename.ui:460 msgid "Text to search for" msgstr "" #: data/caja-rename.ui:528 msgid "Replace" msgstr "" #: data/caja-rename.ui:550 msgid "Digits" msgstr "" #: data/caja-rename.ui:562 msgid "Start" msgstr "" #: data/caja-rename.ui:624 msgid "Enumerate" msgstr "" #: data/libcaja-rename.caja-extension.intl:4 msgid "Caja Rename" msgstr "" #: data/libcaja-rename.caja-extension.intl:5 msgid "Rename all selected files" msgstr "" caja-rename-25.1.1/po/cs.po000066400000000000000000000061301473520067000153320ustar00rootroot00000000000000# Czech translation for cajarename # Copyright (c) 2017 Rosetta Contributors and Canonical Ltd 2017 # This file is distributed under the same license as the cajarename package. # FIRST AUTHOR , 2017. # msgid "" msgstr "" "Project-Id-Version: cajarename\n" "Report-Msgid-Bugs-To: https://github.com/tari01/caja-rename/issues\n" "POT-Creation-Date: 2024-09-01 22:14+0200\n" "PO-Revision-Date: 2023-10-01 18:03+0000\n" "Last-Translator: Tomáš Marný \n" "Language-Team: Czech \n" "Language: cs\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>=2 && n<=4) ? 1 : 2;\n" "X-Generator: Weblate 5.1-dev\n" #: src/caja-rename.c:244 msgid "The following names are not acceptable:" msgstr "Následující názvy nejsou přijatelné:" #: src/caja-rename.c:246 msgid "Invalid names" msgstr "Neplatné názvy" #: src/caja-rename.c:302 msgid "The following will be overwritten:" msgstr "Následující budou přepsány:" #: src/caja-rename.c:302 msgid "Do you wish to continue?" msgstr "Chcete pokračovat?" #: src/caja-rename.c:304 msgid "Confirm overwrite" msgstr "Potvrďte přepsání" #: src/caja-rename.c:365 msgid "There were errors while renaming the following:" msgstr "Při přejmenování následujících položek došlo k chybám:" #: src/caja-rename.c:367 msgid "Rename error" msgstr "Chyba během přejmenování" #: src/caja-rename.c:460 msgid "Rename All…" msgstr "Přejmenovat vše…" #: src/caja-rename.c:460 msgid "Rename selected items" msgstr "Přejmenovat vybrané položky" #: data/caja-rename.ui:77 msgid "Rename..." msgstr "Přejmenovat..." #: data/caja-rename.ui:94 msgid "Close" msgstr "Zavřít" #: data/caja-rename.ui:147 msgid "Title case" msgstr "První písmena velká" #: data/caja-rename.ui:162 msgid "Lower case" msgstr "Malá písmena" #: data/caja-rename.ui:177 msgid "Upper case" msgstr "Velká písmena" #: data/caja-rename.ui:192 msgid "Unchanged" msgstr "Beze změny" #: data/caja-rename.ui:235 msgid "Case" msgstr "Velikost písmen" #: data/caja-rename.ui:257 msgid "Position" msgstr "Pozice" #: data/caja-rename.ui:304 data/caja-rename.ui:472 msgid "Text to insert" msgstr "Text, který chcete vložit" #: data/caja-rename.ui:338 msgid "Insert" msgstr "Vložit" #: data/caja-rename.ui:362 msgid "From" msgstr "Z pozice" #: data/caja-rename.ui:390 msgid "Length" msgstr "Délka" #: data/caja-rename.ui:436 msgid "Remove" msgstr "Odstranit" #: data/caja-rename.ui:460 msgid "Text to search for" msgstr "Text, který chcete vyhledávat" #: data/caja-rename.ui:528 msgid "Replace" msgstr "Nahradit" #: data/caja-rename.ui:550 msgid "Digits" msgstr "Číslice" #: data/caja-rename.ui:562 msgid "Start" msgstr "Začátek" #: data/caja-rename.ui:624 msgid "Enumerate" msgstr "Výčet" #: data/libcaja-rename.caja-extension.intl:4 msgid "Caja Rename" msgstr "Caja Rename" #: data/libcaja-rename.caja-extension.intl:5 msgid "Rename all selected files" msgstr "Přejmenovat všechny vybrané soubory" caja-rename-25.1.1/po/de.po000066400000000000000000000060131473520067000153150ustar00rootroot00000000000000# German translation for cajarename # Copyright (c) 2018 Rosetta Contributors and Canonical Ltd 2018 # This file is distributed under the same license as the cajarename package. # FIRST AUTHOR , 2018. # msgid "" msgstr "" "Project-Id-Version: cajarename\n" "Report-Msgid-Bugs-To: https://github.com/tari01/caja-rename/issues\n" "POT-Creation-Date: 2024-09-01 22:14+0200\n" "PO-Revision-Date: 2023-10-03 20:12+0000\n" "Last-Translator: Ettore Atalan \n" "Language-Team: German \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: Weblate 5.1-dev\n" #: src/caja-rename.c:244 msgid "The following names are not acceptable:" msgstr "Die folgenden Namen sind nicht zulässig:" #: src/caja-rename.c:246 msgid "Invalid names" msgstr "Ungültige Namen" #: src/caja-rename.c:302 msgid "The following will be overwritten:" msgstr "Das Folgende wird überschrieben:" #: src/caja-rename.c:302 msgid "Do you wish to continue?" msgstr "Möchten Sie fortfahren?" #: src/caja-rename.c:304 msgid "Confirm overwrite" msgstr "Überschreiben bestätigen" #: src/caja-rename.c:365 msgid "There were errors while renaming the following:" msgstr "Beim Umbenennen des Folgenden traten Fehler auf:" #: src/caja-rename.c:367 msgid "Rename error" msgstr "Umbenennungsfehler" #: src/caja-rename.c:460 msgid "Rename All…" msgstr "Alle umbenennen…" #: src/caja-rename.c:460 msgid "Rename selected items" msgstr "Ausgewählte Elemente umbenennen" #: data/caja-rename.ui:77 msgid "Rename..." msgstr "Umbenennen..." #: data/caja-rename.ui:94 msgid "Close" msgstr "Schließen" #: data/caja-rename.ui:147 msgid "Title case" msgstr "Anfangsbuchstaben groß" #: data/caja-rename.ui:162 msgid "Lower case" msgstr "Kleinbuchstaben" #: data/caja-rename.ui:177 msgid "Upper case" msgstr "Großbuchstaben" #: data/caja-rename.ui:192 msgid "Unchanged" msgstr "Unverändert" #: data/caja-rename.ui:235 msgid "Case" msgstr "Groß-/Kleinschreibung" #: data/caja-rename.ui:257 msgid "Position" msgstr "Position" #: data/caja-rename.ui:304 data/caja-rename.ui:472 msgid "Text to insert" msgstr "Einzufügender Text" #: data/caja-rename.ui:338 msgid "Insert" msgstr "Einfügen" #: data/caja-rename.ui:362 msgid "From" msgstr "Von" #: data/caja-rename.ui:390 msgid "Length" msgstr "Länge" #: data/caja-rename.ui:436 msgid "Remove" msgstr "Entfernen" #: data/caja-rename.ui:460 msgid "Text to search for" msgstr "Suchtext" #: data/caja-rename.ui:528 msgid "Replace" msgstr "Ersetzen" #: data/caja-rename.ui:550 msgid "Digits" msgstr "Ziffern" #: data/caja-rename.ui:562 msgid "Start" msgstr "Start" #: data/caja-rename.ui:624 msgid "Enumerate" msgstr "Aufzählen" #: data/libcaja-rename.caja-extension.intl:4 msgid "Caja Rename" msgstr "" #: data/libcaja-rename.caja-extension.intl:5 msgid "Rename all selected files" msgstr "Alle ausgewählten Dateien umbenennen" caja-rename-25.1.1/po/el.po000066400000000000000000000050761473520067000153350ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Robert Tari # This file is distributed under the same license as the caja-rename package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: caja-rename 20.1.26\n" "Report-Msgid-Bugs-To: https://github.com/tari01/caja-rename/issues\n" "POT-Creation-Date: 2024-09-01 22:14+0200\n" "PO-Revision-Date: 2021-11-10 15:51+0000\n" "Last-Translator: Dimitris T \n" "Language-Team: Greek \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" "X-Generator: Weblate 4.9.1-dev\n" #: src/caja-rename.c:244 msgid "The following names are not acceptable:" msgstr "" #: src/caja-rename.c:246 msgid "Invalid names" msgstr "" #: src/caja-rename.c:302 msgid "The following will be overwritten:" msgstr "" #: src/caja-rename.c:302 msgid "Do you wish to continue?" msgstr "" #: src/caja-rename.c:304 msgid "Confirm overwrite" msgstr "" #: src/caja-rename.c:365 msgid "There were errors while renaming the following:" msgstr "" #: src/caja-rename.c:367 msgid "Rename error" msgstr "" #: src/caja-rename.c:460 msgid "Rename All…" msgstr "" #: src/caja-rename.c:460 msgid "Rename selected items" msgstr "" #: data/caja-rename.ui:77 msgid "Rename..." msgstr "" #: data/caja-rename.ui:94 msgid "Close" msgstr "" #: data/caja-rename.ui:147 msgid "Title case" msgstr "" #: data/caja-rename.ui:162 msgid "Lower case" msgstr "" #: data/caja-rename.ui:177 msgid "Upper case" msgstr "" #: data/caja-rename.ui:192 msgid "Unchanged" msgstr "" #: data/caja-rename.ui:235 msgid "Case" msgstr "" #: data/caja-rename.ui:257 msgid "Position" msgstr "Θέση" #: data/caja-rename.ui:304 data/caja-rename.ui:472 msgid "Text to insert" msgstr "" #: data/caja-rename.ui:338 msgid "Insert" msgstr "" #: data/caja-rename.ui:362 msgid "From" msgstr "Από" #: data/caja-rename.ui:390 msgid "Length" msgstr "Μήκος" #: data/caja-rename.ui:436 msgid "Remove" msgstr "" #: data/caja-rename.ui:460 msgid "Text to search for" msgstr "" #: data/caja-rename.ui:528 msgid "Replace" msgstr "Αντικατάσταση" #: data/caja-rename.ui:550 msgid "Digits" msgstr "Ψηφία" #: data/caja-rename.ui:562 msgid "Start" msgstr "Έναρξη" #: data/caja-rename.ui:624 msgid "Enumerate" msgstr "" #: data/libcaja-rename.caja-extension.intl:4 msgid "Caja Rename" msgstr "" #: data/libcaja-rename.caja-extension.intl:5 msgid "Rename all selected files" msgstr "" caja-rename-25.1.1/po/en_GB.po000066400000000000000000000057101473520067000157020ustar00rootroot00000000000000# English translations for cajarename package. # Copyright (C) 2017 THE cajarename'S COPYRIGHT HOLDER # This file is distributed under the same license as the cajarename package. # Robert Tari , 2017. # msgid "" msgstr "" "Project-Id-Version: cajarename 1.0\n" "Report-Msgid-Bugs-To: https://github.com/tari01/caja-rename/issues\n" "POT-Creation-Date: 2024-09-01 22:14+0200\n" "PO-Revision-Date: 2024-07-18 23:09+0000\n" "Last-Translator: Andi Chandler \n" "Language-Team: English (United Kingdom) \n" "Language: en_GB\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: Weblate 5.7-dev\n" #: src/caja-rename.c:244 msgid "The following names are not acceptable:" msgstr "The following names are not acceptable:" #: src/caja-rename.c:246 msgid "Invalid names" msgstr "Invalid names" #: src/caja-rename.c:302 msgid "The following will be overwritten:" msgstr "The following will be overwritten:" #: src/caja-rename.c:302 msgid "Do you wish to continue?" msgstr "Do you wish to continue?" #: src/caja-rename.c:304 msgid "Confirm overwrite" msgstr "Confirm overwrite" #: src/caja-rename.c:365 msgid "There were errors while renaming the following:" msgstr "There were errors while renaming the following:" #: src/caja-rename.c:367 msgid "Rename error" msgstr "Rename error" #: src/caja-rename.c:460 msgid "Rename All…" msgstr "Rename All…" #: src/caja-rename.c:460 msgid "Rename selected items" msgstr "Rename selected items" #: data/caja-rename.ui:77 msgid "Rename..." msgstr "Rename..." #: data/caja-rename.ui:94 msgid "Close" msgstr "Close" #: data/caja-rename.ui:147 msgid "Title case" msgstr "Title case" #: data/caja-rename.ui:162 msgid "Lower case" msgstr "Lower case" #: data/caja-rename.ui:177 msgid "Upper case" msgstr "Upper case" #: data/caja-rename.ui:192 msgid "Unchanged" msgstr "Unchanged" #: data/caja-rename.ui:235 msgid "Case" msgstr "Case" #: data/caja-rename.ui:257 msgid "Position" msgstr "Position" #: data/caja-rename.ui:304 data/caja-rename.ui:472 msgid "Text to insert" msgstr "Text to insert" #: data/caja-rename.ui:338 msgid "Insert" msgstr "Insert" #: data/caja-rename.ui:362 msgid "From" msgstr "From" #: data/caja-rename.ui:390 msgid "Length" msgstr "Length" #: data/caja-rename.ui:436 msgid "Remove" msgstr "Remove" #: data/caja-rename.ui:460 msgid "Text to search for" msgstr "Text to search for" #: data/caja-rename.ui:528 msgid "Replace" msgstr "Replace" #: data/caja-rename.ui:550 msgid "Digits" msgstr "Digits" #: data/caja-rename.ui:562 msgid "Start" msgstr "Start" #: data/caja-rename.ui:624 msgid "Enumerate" msgstr "Enumerate" #: data/libcaja-rename.caja-extension.intl:4 msgid "Caja Rename" msgstr "Caja Rename" #: data/libcaja-rename.caja-extension.intl:5 msgid "Rename all selected files" msgstr "Rename all selected files" caja-rename-25.1.1/po/es.po000066400000000000000000000060321473520067000153350ustar00rootroot00000000000000# Spanish translation for cajarename # Copyright (c) 2017 Rosetta Contributors and Canonical Ltd 2017 # This file is distributed under the same license as the cajarename package. # FIRST AUTHOR , 2017. # msgid "" msgstr "" "Project-Id-Version: cajarename\n" "Report-Msgid-Bugs-To: https://github.com/tari01/caja-rename/issues\n" "POT-Creation-Date: 2024-09-01 22:14+0200\n" "PO-Revision-Date: 2023-09-21 16:48+0000\n" "Last-Translator: Kamborio \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" "X-Generator: Weblate 5.1-dev\n" #: src/caja-rename.c:244 msgid "The following names are not acceptable:" msgstr "No se aceptan los siguientes nombres:" #: src/caja-rename.c:246 msgid "Invalid names" msgstr "Nombres no válidos" #: src/caja-rename.c:302 msgid "The following will be overwritten:" msgstr "Se sobreescribirán los siguientes:" #: src/caja-rename.c:302 msgid "Do you wish to continue?" msgstr "¿Desea continuar?" #: src/caja-rename.c:304 msgid "Confirm overwrite" msgstr "Confirmar sobrescritura" #: src/caja-rename.c:365 msgid "There were errors while renaming the following:" msgstr "Hubo errores al renombrar los siguientes:" #: src/caja-rename.c:367 msgid "Rename error" msgstr "Error al renombrar" #: src/caja-rename.c:460 msgid "Rename All…" msgstr "Renombrar Todo…" #: src/caja-rename.c:460 msgid "Rename selected items" msgstr "Renombrar los elementos seleccionados" #: data/caja-rename.ui:77 msgid "Rename..." msgstr "Renombrar..." #: data/caja-rename.ui:94 msgid "Close" msgstr "Cerrar" #: data/caja-rename.ui:147 msgid "Title case" msgstr "Mayúsculas iniciales" #: data/caja-rename.ui:162 msgid "Lower case" msgstr "Minúsculas" #: data/caja-rename.ui:177 msgid "Upper case" msgstr "Mayúsculas" #: data/caja-rename.ui:192 msgid "Unchanged" msgstr "Sin cambios" #: data/caja-rename.ui:235 msgid "Case" msgstr "Uso de las mayúsculas" #: data/caja-rename.ui:257 msgid "Position" msgstr "Posición" #: data/caja-rename.ui:304 data/caja-rename.ui:472 msgid "Text to insert" msgstr "Texto que insertar" #: data/caja-rename.ui:338 msgid "Insert" msgstr "Insertar" #: data/caja-rename.ui:362 msgid "From" msgstr "De" #: data/caja-rename.ui:390 msgid "Length" msgstr "Longitud" #: data/caja-rename.ui:436 msgid "Remove" msgstr "Eliminar" #: data/caja-rename.ui:460 msgid "Text to search for" msgstr "Texto a buscar" #: data/caja-rename.ui:528 msgid "Replace" msgstr "Reemplazar" #: data/caja-rename.ui:550 msgid "Digits" msgstr "Dígitos" #: data/caja-rename.ui:562 msgid "Start" msgstr "Comenzar" #: data/caja-rename.ui:624 msgid "Enumerate" msgstr "Enumerar" #: data/libcaja-rename.caja-extension.intl:4 msgid "Caja Rename" msgstr "Renombrar Caja" #: data/libcaja-rename.caja-extension.intl:5 msgid "Rename all selected files" msgstr "Renombrar todos los archivos seleccionados" caja-rename-25.1.1/po/fr.po000066400000000000000000000057451473520067000153470ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Robert Tari # This file is distributed under the same license as the caja-rename package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: cajarename 19.3.20\n" "Report-Msgid-Bugs-To: https://github.com/tari01/caja-rename/issues\n" "POT-Creation-Date: 2024-09-01 22:14+0200\n" "PO-Revision-Date: 2023-01-14 20:48+0000\n" "Last-Translator: slundi \n" "Language-Team: French \n" "Language: fr\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: Weblate 4.15.1-dev\n" #: src/caja-rename.c:244 msgid "The following names are not acceptable:" msgstr "Les noms suivants ne sont pas acceptables :" #: src/caja-rename.c:246 msgid "Invalid names" msgstr "Noms invalides" #: src/caja-rename.c:302 msgid "The following will be overwritten:" msgstr "Les éléments suivants seront remplacés :" #: src/caja-rename.c:302 msgid "Do you wish to continue?" msgstr "Voulez-vous continuer ?" #: src/caja-rename.c:304 msgid "Confirm overwrite" msgstr "Confirmer l'écrasement" #: src/caja-rename.c:365 msgid "There were errors while renaming the following:" msgstr "Des erreurs se sont produites lors du changement de nom :" #: src/caja-rename.c:367 msgid "Rename error" msgstr "Erreur de renommage" #: src/caja-rename.c:460 msgid "Rename All…" msgstr "Renommer tout …" #: src/caja-rename.c:460 msgid "Rename selected items" msgstr "Renommer les éléments sélectionnés" #: data/caja-rename.ui:77 msgid "Rename..." msgstr "Renommer …" #: data/caja-rename.ui:94 msgid "Close" msgstr "Fermer" #: data/caja-rename.ui:147 msgid "Title case" msgstr "Casse du titre" #: data/caja-rename.ui:162 msgid "Lower case" msgstr "Minuscule" #: data/caja-rename.ui:177 msgid "Upper case" msgstr "Majuscule" #: data/caja-rename.ui:192 msgid "Unchanged" msgstr "Inchangé" #: data/caja-rename.ui:235 msgid "Case" msgstr "Casse" #: data/caja-rename.ui:257 msgid "Position" msgstr "Position" #: data/caja-rename.ui:304 data/caja-rename.ui:472 msgid "Text to insert" msgstr "Texte à insérer" #: data/caja-rename.ui:338 msgid "Insert" msgstr "Insérer" #: data/caja-rename.ui:362 msgid "From" msgstr "De" #: data/caja-rename.ui:390 msgid "Length" msgstr "Longueur" #: data/caja-rename.ui:436 msgid "Remove" msgstr "Retirer" #: data/caja-rename.ui:460 msgid "Text to search for" msgstr "Texte à rechercher" #: data/caja-rename.ui:528 msgid "Replace" msgstr "Remplacer" #: data/caja-rename.ui:550 msgid "Digits" msgstr "Chiffres" #: data/caja-rename.ui:562 msgid "Start" msgstr "Commencer" #: data/caja-rename.ui:624 msgid "Enumerate" msgstr "Énumérer" #: data/libcaja-rename.caja-extension.in:12 msgid "Caja Rename" msgstr "Caja Rename" #: data/libcaja-rename.caja-extension.in:23 msgid "Rename all selected files" msgstr "Renommer tous les fichiers sélectionnés" caja-rename-25.1.1/po/hr.po000066400000000000000000000060201473520067000153340ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Robert Tari # This file is distributed under the same license as the caja-rename package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: caja-rename 20.1.26\n" "Report-Msgid-Bugs-To: https://github.com/tari01/caja-rename/issues\n" "POT-Creation-Date: 2024-09-01 22:14+0200\n" "PO-Revision-Date: 2023-09-27 17:01+0000\n" "Last-Translator: Milo Ivir \n" "Language-Team: Croatian \n" "Language: hr\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%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 5.1-dev\n" #: src/caja-rename.c:244 msgid "The following names are not acceptable:" msgstr "Sljedeća imena nisu dopuštena:" #: src/caja-rename.c:246 msgid "Invalid names" msgstr "Neispravna imena" #: src/caja-rename.c:302 msgid "The following will be overwritten:" msgstr "Sljedeće će se prepisati:" #: src/caja-rename.c:302 msgid "Do you wish to continue?" msgstr "Želiš li nastaviti?" #: src/caja-rename.c:304 msgid "Confirm overwrite" msgstr "Potvrdi prepisivanje" #: src/caja-rename.c:365 msgid "There were errors while renaming the following:" msgstr "Došlo je do grešaka tijekom preimenovanja sljedećeg:" #: src/caja-rename.c:367 msgid "Rename error" msgstr "Greška u preimenovanju" #: src/caja-rename.c:460 msgid "Rename All…" msgstr "Preimenuj sve …" #: src/caja-rename.c:460 msgid "Rename selected items" msgstr "Preimenuj odabrane stavke" #: data/caja-rename.ui:77 msgid "Rename..." msgstr "Preimenuj …" #: data/caja-rename.ui:94 msgid "Close" msgstr "Zatvori" #: data/caja-rename.ui:147 msgid "Title case" msgstr "Velika početna slova" #: data/caja-rename.ui:162 msgid "Lower case" msgstr "Mala slova" #: data/caja-rename.ui:177 msgid "Upper case" msgstr "Velika slova" #: data/caja-rename.ui:192 msgid "Unchanged" msgstr "Nepromijenjeno" #: data/caja-rename.ui:235 msgid "Case" msgstr "Veličina slova" #: data/caja-rename.ui:257 msgid "Position" msgstr "Položaj" #: data/caja-rename.ui:304 data/caja-rename.ui:472 msgid "Text to insert" msgstr "Tekst za umetanje" #: data/caja-rename.ui:338 msgid "Insert" msgstr "Umetni" #: data/caja-rename.ui:362 msgid "From" msgstr "Od" #: data/caja-rename.ui:390 msgid "Length" msgstr "Duljina" #: data/caja-rename.ui:436 msgid "Remove" msgstr "Ukloni" #: data/caja-rename.ui:460 msgid "Text to search for" msgstr "Traženi tekst" #: data/caja-rename.ui:528 msgid "Replace" msgstr "Zamijeni" #: data/caja-rename.ui:550 msgid "Digits" msgstr "Brojke" #: data/caja-rename.ui:562 msgid "Start" msgstr "Pokreni" #: data/caja-rename.ui:624 msgid "Enumerate" msgstr "Numeriraj" #: data/libcaja-rename.caja-extension.intl:4 msgid "Caja Rename" msgstr "Caja preimenovanje" #: data/libcaja-rename.caja-extension.intl:5 msgid "Rename all selected files" msgstr "Preimenuj sve odabrane datoteke" caja-rename-25.1.1/po/hu.po000066400000000000000000000060251473520067000153440ustar00rootroot00000000000000# Translation of caja-rename in LANGUAGE # Copyright (C) 2024 Robert Tari # This file is distributed under the same license as the caja-rename package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: caja-rename 24.2.1\n" "Report-Msgid-Bugs-To: https://github.com/tari01/caja-rename/issues\n" "POT-Creation-Date: 2024-09-01 22:14+0200\n" "PO-Revision-Date: 2024-11-01 17:49+0000\n" "Last-Translator: Mester Imre \n" "Language-Team: Hungarian \n" "Language: hu\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: Weblate 5.8.2-dev\n" #: src/caja-rename.c:244 msgid "The following names are not acceptable:" msgstr "A következő nevek nem elfogadhatók:" #: src/caja-rename.c:246 msgid "Invalid names" msgstr "Érvénytelen nevek" #: src/caja-rename.c:302 msgid "The following will be overwritten:" msgstr "A következő felülírásra kerül:" #: src/caja-rename.c:302 msgid "Do you wish to continue?" msgstr "Szeretné folytatni?" #: src/caja-rename.c:304 msgid "Confirm overwrite" msgstr "A felülírás megerősítése" #: src/caja-rename.c:365 msgid "There were errors while renaming the following:" msgstr "Hiba történt a következő átnevezése során:" #: src/caja-rename.c:367 msgid "Rename error" msgstr "Átnevezési hiba" #: src/caja-rename.c:460 msgid "Rename All…" msgstr "Az összes átnevezése…" #: src/caja-rename.c:460 msgid "Rename selected items" msgstr "A kijelölt elemek átnevezése" #: data/caja-rename.ui:77 msgid "Rename..." msgstr "Átnevezés..." #: data/caja-rename.ui:94 msgid "Close" msgstr "Bezárás" #: data/caja-rename.ui:147 msgid "Title case" msgstr "Szókezdő nagybetű" #: data/caja-rename.ui:162 msgid "Lower case" msgstr "Kisbetűs" #: data/caja-rename.ui:177 msgid "Upper case" msgstr "Nagybetűs" #: data/caja-rename.ui:192 msgid "Unchanged" msgstr "Változatlan" #: data/caja-rename.ui:235 msgid "Case" msgstr "Betű" #: data/caja-rename.ui:257 msgid "Position" msgstr "Pozíció" #: data/caja-rename.ui:304 data/caja-rename.ui:472 msgid "Text to insert" msgstr "Beszúrandó szöveg" #: data/caja-rename.ui:338 msgid "Insert" msgstr "Beszúrás" #: data/caja-rename.ui:362 msgid "From" msgstr "-tól/-től" #: data/caja-rename.ui:390 msgid "Length" msgstr "Hossz" #: data/caja-rename.ui:436 msgid "Remove" msgstr "Eltávolítás" #: data/caja-rename.ui:460 msgid "Text to search for" msgstr "Keresendő szöveg" #: data/caja-rename.ui:528 msgid "Replace" msgstr "Csere" #: data/caja-rename.ui:550 msgid "Digits" msgstr "Számjegyek" #: data/caja-rename.ui:562 msgid "Start" msgstr "Kezdés" #: data/caja-rename.ui:624 msgid "Enumerate" msgstr "Felsorolás" #: data/libcaja-rename.caja-extension.intl:4 msgid "Caja Rename" msgstr "Caja Átnevező" #: data/libcaja-rename.caja-extension.intl:5 msgid "Rename all selected files" msgstr "Az összes kiválasztott fájl átnevezése" caja-rename-25.1.1/po/ku.po000077500000000000000000000046611473520067000153560ustar00rootroot00000000000000# Kurdish translation for cajarename # Copyright (c) 2017 Rosetta Contributors and Canonical Ltd 2017 # This file is distributed under the same license as the cajarename package. # FIRST AUTHOR , 2017. # msgid "" msgstr "" "Project-Id-Version: cajarename\n" "Report-Msgid-Bugs-To: https://github.com/tari01/caja-rename/issues\n" "POT-Creation-Date: 2024-09-01 22:14+0200\n" "PO-Revision-Date: 2017-07-14 22:18+0000\n" "Last-Translator: Rokar ✌ \n" "Language-Team: Kurdish \n" "Language: ku\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: src/caja-rename.c:244 msgid "The following names are not acceptable:" msgstr "" #: src/caja-rename.c:246 msgid "Invalid names" msgstr "" #: src/caja-rename.c:302 msgid "The following will be overwritten:" msgstr "" #: src/caja-rename.c:302 msgid "Do you wish to continue?" msgstr "" #: src/caja-rename.c:304 msgid "Confirm overwrite" msgstr "" #: src/caja-rename.c:365 msgid "There were errors while renaming the following:" msgstr "" #: src/caja-rename.c:367 msgid "Rename error" msgstr "" #: src/caja-rename.c:460 msgid "Rename All…" msgstr "" #: src/caja-rename.c:460 msgid "Rename selected items" msgstr "" #: data/caja-rename.ui:77 msgid "Rename..." msgstr "" #: data/caja-rename.ui:94 msgid "Close" msgstr "" #: data/caja-rename.ui:147 msgid "Title case" msgstr "" #: data/caja-rename.ui:162 msgid "Lower case" msgstr "" #: data/caja-rename.ui:177 msgid "Upper case" msgstr "" #: data/caja-rename.ui:192 msgid "Unchanged" msgstr "Bê guhartin" #: data/caja-rename.ui:235 msgid "Case" msgstr "" #: data/caja-rename.ui:257 msgid "Position" msgstr "Cih" #: data/caja-rename.ui:304 data/caja-rename.ui:472 msgid "Text to insert" msgstr "" #: data/caja-rename.ui:338 msgid "Insert" msgstr "Lêzêdekirin" #: data/caja-rename.ui:362 msgid "From" msgstr "Ji" #: data/caja-rename.ui:390 msgid "Length" msgstr "Dirêjahî" #: data/caja-rename.ui:436 msgid "Remove" msgstr "Rake" #: data/caja-rename.ui:460 msgid "Text to search for" msgstr "" #: data/caja-rename.ui:528 msgid "Replace" msgstr "" #: data/caja-rename.ui:550 msgid "Digits" msgstr "" #: data/caja-rename.ui:562 msgid "Start" msgstr "" #: data/caja-rename.ui:624 msgid "Enumerate" msgstr "" #: data/libcaja-rename.caja-extension.intl:4 msgid "Caja Rename" msgstr "" #: data/libcaja-rename.caja-extension.intl:5 msgid "Rename all selected files" msgstr "" caja-rename-25.1.1/po/lt.po000066400000000000000000000061161473520067000153500ustar00rootroot00000000000000# Lithuanian translation for cajarename # Copyright (c) 2017 Rosetta Contributors and Canonical Ltd 2017 # This file is distributed under the same license as the cajarename package. # FIRST AUTHOR , 2017. # msgid "" msgstr "" "Project-Id-Version: cajarename\n" "Report-Msgid-Bugs-To: https://github.com/tari01/caja-rename/issues\n" "POT-Creation-Date: 2024-09-01 22:14+0200\n" "PO-Revision-Date: 2024-10-25 12:15+0000\n" "Last-Translator: Moo \n" "Language-Team: Lithuanian \n" "Language: lt\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%10==1 && n%100!=11 ? 0 : n%10>=2 && (" "n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Generator: Weblate 5.8.2-dev\n" #: src/caja-rename.c:244 msgid "The following names are not acceptable:" msgstr "Šie pavadinimai nėra priimtini:" #: src/caja-rename.c:246 msgid "Invalid names" msgstr "Neteisingi pavadinimai" #: src/caja-rename.c:302 msgid "The following will be overwritten:" msgstr "Šie bus nustelbti:" #: src/caja-rename.c:302 msgid "Do you wish to continue?" msgstr "Ar norite tęsti?" #: src/caja-rename.c:304 msgid "Confirm overwrite" msgstr "Patvirtinti perrašymą" #: src/caja-rename.c:365 msgid "There were errors while renaming the following:" msgstr "Atsirado klaidų pervadinant šiuos elementus:" #: src/caja-rename.c:367 msgid "Rename error" msgstr "Pervadinimo klaida" #: src/caja-rename.c:460 msgid "Rename All…" msgstr "Pervadinti visus…" #: src/caja-rename.c:460 msgid "Rename selected items" msgstr "Pervadinti pažymėtus elementus" #: data/caja-rename.ui:77 msgid "Rename..." msgstr "Pervadinti..." #: data/caja-rename.ui:94 msgid "Close" msgstr "Užverti" #: data/caja-rename.ui:147 msgid "Title case" msgstr "Iš didžiųjų raidžių" #: data/caja-rename.ui:162 msgid "Lower case" msgstr "Mažosios raidės" #: data/caja-rename.ui:177 msgid "Upper case" msgstr "Didžiosios raidės" #: data/caja-rename.ui:192 msgid "Unchanged" msgstr "Be pakeitimų" #: data/caja-rename.ui:235 msgid "Case" msgstr "Raidžių dydis" #: data/caja-rename.ui:257 msgid "Position" msgstr "Pozicija" #: data/caja-rename.ui:304 data/caja-rename.ui:472 msgid "Text to insert" msgstr "Tekstas, kurį įterpti" #: data/caja-rename.ui:338 msgid "Insert" msgstr "Įterpti" #: data/caja-rename.ui:362 msgid "From" msgstr "Nuo" #: data/caja-rename.ui:390 msgid "Length" msgstr "Ilgis" #: data/caja-rename.ui:436 msgid "Remove" msgstr "Šalinti" #: data/caja-rename.ui:460 msgid "Text to search for" msgstr "Tekstas, kurį ieškoti" #: data/caja-rename.ui:528 msgid "Replace" msgstr "Pakeisti" #: data/caja-rename.ui:550 msgid "Digits" msgstr "Skaitmenys" #: data/caja-rename.ui:562 msgid "Start" msgstr "Pradžia" #: data/caja-rename.ui:624 msgid "Enumerate" msgstr "Išskaičiuoti" #: data/libcaja-rename.caja-extension.intl:4 msgid "Caja Rename" msgstr "Caja Rename" #: data/libcaja-rename.caja-extension.intl:5 msgid "Rename all selected files" msgstr "Pervadinti visus pažymėtus failus" caja-rename-25.1.1/po/nb_NO.po000066400000000000000000000053201473520067000157200ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Robert Tari # This file is distributed under the same license as the caja-rename package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: cajarename 19.3.20\n" "Report-Msgid-Bugs-To: https://github.com/tari01/caja-rename/issues\n" "POT-Creation-Date: 2024-09-01 22:14+0200\n" "PO-Revision-Date: 2022-10-28 11:06+0000\n" "Last-Translator: Allan Nordhøy \n" "Language-Team: Norwegian Bokmål \n" "Language: nb_NO\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: Weblate 4.14.2-dev\n" #: src/caja-rename.c:244 msgid "The following names are not acceptable:" msgstr "" #: src/caja-rename.c:246 msgid "Invalid names" msgstr "" #: src/caja-rename.c:302 msgid "The following will be overwritten:" msgstr "" #: src/caja-rename.c:302 msgid "Do you wish to continue?" msgstr "" #: src/caja-rename.c:304 msgid "Confirm overwrite" msgstr "" #: src/caja-rename.c:365 msgid "There were errors while renaming the following:" msgstr "" #: src/caja-rename.c:367 msgid "Rename error" msgstr "" #: src/caja-rename.c:460 msgid "Rename All…" msgstr "" #: src/caja-rename.c:460 msgid "Rename selected items" msgstr "" #: data/caja-rename.ui:77 msgid "Rename..." msgstr "" #: data/caja-rename.ui:94 msgid "Close" msgstr "" #: data/caja-rename.ui:147 #, fuzzy msgid "Title case" msgstr "Engelsk overskriftsstil" #: data/caja-rename.ui:162 msgid "Lower case" msgstr "Små bokstaver" #: data/caja-rename.ui:177 msgid "Upper case" msgstr "Store bokstaver" #: data/caja-rename.ui:192 msgid "Unchanged" msgstr "Uendret" #: data/caja-rename.ui:235 msgid "Case" msgstr "Små eller store bokstaver" #: data/caja-rename.ui:257 msgid "Position" msgstr "Posisjon" #: data/caja-rename.ui:304 data/caja-rename.ui:472 msgid "Text to insert" msgstr "Tekst å lime inn" #: data/caja-rename.ui:338 msgid "Insert" msgstr "Sett inn" #: data/caja-rename.ui:362 msgid "From" msgstr "Fra" #: data/caja-rename.ui:390 msgid "Length" msgstr "Lengde" #: data/caja-rename.ui:436 msgid "Remove" msgstr "Fjern" #: data/caja-rename.ui:460 msgid "Text to search for" msgstr "Tekst å søke etter" #: data/caja-rename.ui:528 msgid "Replace" msgstr "Erstatt" #: data/caja-rename.ui:550 msgid "Digits" msgstr "Siffer" #: data/caja-rename.ui:562 msgid "Start" msgstr "Start" #: data/caja-rename.ui:624 #, fuzzy msgid "Enumerate" msgstr "Tell opp" #: data/libcaja-rename.caja-extension.intl:4 msgid "Caja Rename" msgstr "" #: data/libcaja-rename.caja-extension.intl:5 msgid "Rename all selected files" msgstr "" caja-rename-25.1.1/po/nl.po000077500000000000000000000046401473520067000153450ustar00rootroot00000000000000# Dutch translation for cajarename # Copyright (c) 2017 Rosetta Contributors and Canonical Ltd 2017 # This file is distributed under the same license as the cajarename package. # FIRST AUTHOR , 2017. # msgid "" msgstr "" "Project-Id-Version: cajarename\n" "Report-Msgid-Bugs-To: https://github.com/tari01/caja-rename/issues\n" "POT-Creation-Date: 2024-09-01 22:14+0200\n" "PO-Revision-Date: 2017-03-27 17:23+0000\n" "Last-Translator: René Devers \n" "Language-Team: Dutch \n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: src/caja-rename.c:244 msgid "The following names are not acceptable:" msgstr "" #: src/caja-rename.c:246 msgid "Invalid names" msgstr "" #: src/caja-rename.c:302 msgid "The following will be overwritten:" msgstr "" #: src/caja-rename.c:302 msgid "Do you wish to continue?" msgstr "" #: src/caja-rename.c:304 msgid "Confirm overwrite" msgstr "" #: src/caja-rename.c:365 msgid "There were errors while renaming the following:" msgstr "" #: src/caja-rename.c:367 msgid "Rename error" msgstr "" #: src/caja-rename.c:460 msgid "Rename All…" msgstr "" #: src/caja-rename.c:460 msgid "Rename selected items" msgstr "" #: data/caja-rename.ui:77 msgid "Rename..." msgstr "" #: data/caja-rename.ui:94 msgid "Close" msgstr "" #: data/caja-rename.ui:147 msgid "Title case" msgstr "" #: data/caja-rename.ui:162 msgid "Lower case" msgstr "Kleine letters" #: data/caja-rename.ui:177 msgid "Upper case" msgstr "" #: data/caja-rename.ui:192 msgid "Unchanged" msgstr "" #: data/caja-rename.ui:235 msgid "Case" msgstr "" #: data/caja-rename.ui:257 msgid "Position" msgstr "" #: data/caja-rename.ui:304 data/caja-rename.ui:472 msgid "Text to insert" msgstr "" #: data/caja-rename.ui:338 msgid "Insert" msgstr "" #: data/caja-rename.ui:362 msgid "From" msgstr "" #: data/caja-rename.ui:390 msgid "Length" msgstr "" #: data/caja-rename.ui:436 msgid "Remove" msgstr "" #: data/caja-rename.ui:460 msgid "Text to search for" msgstr "" #: data/caja-rename.ui:528 msgid "Replace" msgstr "" #: data/caja-rename.ui:550 msgid "Digits" msgstr "" #: data/caja-rename.ui:562 msgid "Start" msgstr "" #: data/caja-rename.ui:624 msgid "Enumerate" msgstr "" #: data/libcaja-rename.caja-extension.intl:4 msgid "Caja Rename" msgstr "" #: data/libcaja-rename.caja-extension.intl:5 msgid "Rename all selected files" msgstr "" caja-rename-25.1.1/po/oc.po000066400000000000000000000057321473520067000153350ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Robert Tari # This file is distributed under the same license as the caja-rename package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: cajarename 19.3.20\n" "Report-Msgid-Bugs-To: https://github.com/tari01/caja-rename/issues\n" "POT-Creation-Date: 2024-09-01 22:14+0200\n" "PO-Revision-Date: 2024-12-22 13:00+0000\n" "Last-Translator: Quentin PAGÈS \n" "Language-Team: Occitan \n" "Language: oc\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: Weblate 5.10-dev\n" #: src/caja-rename.c:244 msgid "The following names are not acceptable:" msgstr "Los noms seguents son pas acceptats :" #: src/caja-rename.c:246 msgid "Invalid names" msgstr "Noms invalids" #: src/caja-rename.c:302 msgid "The following will be overwritten:" msgstr "Los elements seguents seràn remplaçats :" #: src/caja-rename.c:302 msgid "Do you wish to continue?" msgstr "Volètz perseguir ?" #: src/caja-rename.c:304 msgid "Confirm overwrite" msgstr "Confirmar l'espotiment" #: src/caja-rename.c:365 msgid "There were errors while renaming the following:" msgstr "D'errors se son produchas pendent lo renomenatge :" #: src/caja-rename.c:367 msgid "Rename error" msgstr "Error de renomenatge" #: src/caja-rename.c:460 msgid "Rename All…" msgstr "Renomenar tot…" #: src/caja-rename.c:460 msgid "Rename selected items" msgstr "Renomenar los elements seleccionats" #: data/caja-rename.ui:77 msgid "Rename..." msgstr "Renomenar…" #: data/caja-rename.ui:94 msgid "Close" msgstr "Tampar" #: data/caja-rename.ui:147 msgid "Title case" msgstr "Majuscula del títol" #: data/caja-rename.ui:162 msgid "Lower case" msgstr "Minuscula" #: data/caja-rename.ui:177 msgid "Upper case" msgstr "Majuscula" #: data/caja-rename.ui:192 msgid "Unchanged" msgstr "Pas cambiat" #: data/caja-rename.ui:235 msgid "Case" msgstr "Cassa" #: data/caja-rename.ui:257 msgid "Position" msgstr "Posicion" #: data/caja-rename.ui:304 data/caja-rename.ui:472 msgid "Text to insert" msgstr "Tèxt d’inserir" #: data/caja-rename.ui:338 msgid "Insert" msgstr "Inserir" #: data/caja-rename.ui:362 msgid "From" msgstr "De" #: data/caja-rename.ui:390 msgid "Length" msgstr "Longor" #: data/caja-rename.ui:436 msgid "Remove" msgstr "Levar" #: data/caja-rename.ui:460 msgid "Text to search for" msgstr "Tèxt de cercar" #: data/caja-rename.ui:528 msgid "Replace" msgstr "Remplaçar" #: data/caja-rename.ui:550 msgid "Digits" msgstr "Chifras" #: data/caja-rename.ui:562 msgid "Start" msgstr "Començar" #: data/caja-rename.ui:624 msgid "Enumerate" msgstr "Enumerar" #: data/libcaja-rename.caja-extension.intl:4 msgid "Caja Rename" msgstr "Caja Rename" #: data/libcaja-rename.caja-extension.intl:5 msgid "Rename all selected files" msgstr "Renomenar totes los fichièrs seleccionats" caja-rename-25.1.1/po/pt.po000066400000000000000000000057271473520067000153630ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Robert Tari # This file is distributed under the same license as the caja-rename package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: caja-rename 21.11.24\n" "Report-Msgid-Bugs-To: https://github.com/tari01/caja-rename/issues\n" "POT-Creation-Date: 2024-09-01 22:14+0200\n" "PO-Revision-Date: 2024-01-08 16:06+0000\n" "Last-Translator: ssantos \n" "Language-Team: Portuguese \n" "Language: 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: Weblate 5.4-dev\n" #: src/caja-rename.c:244 msgid "The following names are not acceptable:" msgstr "Os nomes seguintes não são aceitáveis:" #: src/caja-rename.c:246 msgid "Invalid names" msgstr "Nomes inválidos" #: src/caja-rename.c:302 msgid "The following will be overwritten:" msgstr "O seguinte será substituído:" #: src/caja-rename.c:302 msgid "Do you wish to continue?" msgstr "Deseja continuar?" #: src/caja-rename.c:304 msgid "Confirm overwrite" msgstr "Confirmar substituição" #: src/caja-rename.c:365 msgid "There were errors while renaming the following:" msgstr "Ocorreram erros ao renomear o seguinte:" #: src/caja-rename.c:367 msgid "Rename error" msgstr "Erro de renomeação" #: src/caja-rename.c:460 msgid "Rename All…" msgstr "Renomear tudo…" #: src/caja-rename.c:460 msgid "Rename selected items" msgstr "Renomear elementos selecionados" #: data/caja-rename.ui:77 msgid "Rename..." msgstr "Renomear..." #: data/caja-rename.ui:94 msgid "Close" msgstr "Fechar" #: data/caja-rename.ui:147 msgid "Title case" msgstr "Título da janela" #: data/caja-rename.ui:162 msgid "Lower case" msgstr "Minúsculas" #: data/caja-rename.ui:177 msgid "Upper case" msgstr "Maiúsculas" #: data/caja-rename.ui:192 msgid "Unchanged" msgstr "Não Modificado" #: data/caja-rename.ui:235 msgid "Case" msgstr "Maiúsculas e Minúsculas" #: data/caja-rename.ui:257 msgid "Position" msgstr "Posição" #: data/caja-rename.ui:304 data/caja-rename.ui:472 msgid "Text to insert" msgstr "Insira o texto" #: data/caja-rename.ui:338 msgid "Insert" msgstr "Inserir" #: data/caja-rename.ui:362 msgid "From" msgstr "Remetente" #: data/caja-rename.ui:390 msgid "Length" msgstr "Comprimento" #: data/caja-rename.ui:436 msgid "Remove" msgstr "Remover" #: data/caja-rename.ui:460 msgid "Text to search for" msgstr "Texto a pesquisar" #: data/caja-rename.ui:528 msgid "Replace" msgstr "Substituir" #: data/caja-rename.ui:550 msgid "Digits" msgstr "Dígitos" #: data/caja-rename.ui:562 msgid "Start" msgstr "Começar" #: data/caja-rename.ui:624 msgid "Enumerate" msgstr "Enumerar" #: data/libcaja-rename.caja-extension.intl:4 msgid "Caja Rename" msgstr "Caja Rename" #: data/libcaja-rename.caja-extension.intl:5 msgid "Rename all selected files" msgstr "Renomear todos os ficheiros selecionados" caja-rename-25.1.1/po/pt_BR.po000066400000000000000000000053651473520067000157440ustar00rootroot00000000000000# Brazilian Portuguese translation for cajarename # Copyright (c) 2017 Rosetta Contributors and Canonical Ltd 2017 # This file is distributed under the same license as the cajarename package. # FIRST AUTHOR , 2017. # msgid "" msgstr "" "Project-Id-Version: cajarename\n" "Report-Msgid-Bugs-To: https://github.com/tari01/caja-rename/issues\n" "POT-Creation-Date: 2024-09-01 22:14+0200\n" "PO-Revision-Date: 2022-12-09 14:47+0000\n" "Last-Translator: Luiz Carlos Lucasv \n" "Language-Team: Portuguese (Brazil) \n" "Language: pt_BR\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: Weblate 4.15-dev\n" #: src/caja-rename.c:244 msgid "The following names are not acceptable:" msgstr "" #: src/caja-rename.c:246 msgid "Invalid names" msgstr "" #: src/caja-rename.c:302 msgid "The following will be overwritten:" msgstr "" #: src/caja-rename.c:302 msgid "Do you wish to continue?" msgstr "" #: src/caja-rename.c:304 msgid "Confirm overwrite" msgstr "" #: src/caja-rename.c:365 msgid "There were errors while renaming the following:" msgstr "" #: src/caja-rename.c:367 msgid "Rename error" msgstr "" #: src/caja-rename.c:460 msgid "Rename All…" msgstr "" #: src/caja-rename.c:460 msgid "Rename selected items" msgstr "" #: data/caja-rename.ui:77 msgid "Rename..." msgstr "" #: data/caja-rename.ui:94 msgid "Close" msgstr "" #: data/caja-rename.ui:147 msgid "Title case" msgstr "Título da janela" #: data/caja-rename.ui:162 msgid "Lower case" msgstr "Minúsculas" #: data/caja-rename.ui:177 msgid "Upper case" msgstr "Maiúsculas" #: data/caja-rename.ui:192 msgid "Unchanged" msgstr "Não Modificado" #: data/caja-rename.ui:235 msgid "Case" msgstr "Maiúsculas e Minúsculas" #: data/caja-rename.ui:257 msgid "Position" msgstr "Posição" #: data/caja-rename.ui:304 data/caja-rename.ui:472 msgid "Text to insert" msgstr "Insira o texto" #: data/caja-rename.ui:338 msgid "Insert" msgstr "Inserir" #: data/caja-rename.ui:362 msgid "From" msgstr "Remetente" #: data/caja-rename.ui:390 msgid "Length" msgstr "Comprimento" #: data/caja-rename.ui:436 msgid "Remove" msgstr "Remover" #: data/caja-rename.ui:460 msgid "Text to search for" msgstr "Texto a pesquisar" #: data/caja-rename.ui:528 msgid "Replace" msgstr "Substituir" #: data/caja-rename.ui:550 msgid "Digits" msgstr "Dígitos" #: data/caja-rename.ui:562 msgid "Start" msgstr "Começar" #: data/caja-rename.ui:624 msgid "Enumerate" msgstr "Enumerar" #: data/libcaja-rename.caja-extension.intl:4 msgid "Caja Rename" msgstr "" #: data/libcaja-rename.caja-extension.intl:5 msgid "Rename all selected files" msgstr "" caja-rename-25.1.1/po/ru.po000066400000000000000000000067771473520067000153740ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Robert Tari # This file is distributed under the same license as the caja-rename package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: caja-rename 21.11.24\n" "Report-Msgid-Bugs-To: https://github.com/tari01/caja-rename/issues\n" "POT-Creation-Date: 2024-09-01 22:14+0200\n" "PO-Revision-Date: 2023-09-23 23:00+0000\n" "Last-Translator: Сергей \n" "Language-Team: Russian \n" "Language: ru\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%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 5.1-dev\n" #: src/caja-rename.c:244 msgid "The following names are not acceptable:" msgstr "Следующие названия недопустимы:" #: src/caja-rename.c:246 msgid "Invalid names" msgstr "Недопустимые названия" #: src/caja-rename.c:302 msgid "The following will be overwritten:" msgstr "Следующие элементы будут перезаписаны:" #: src/caja-rename.c:302 msgid "Do you wish to continue?" msgstr "Вы хотите продолжить?" #: src/caja-rename.c:304 msgid "Confirm overwrite" msgstr "Подтверждение перезаписи" #: src/caja-rename.c:365 msgid "There were errors while renaming the following:" msgstr "Во время переименования были обнаружены следующие ошибки:" #: src/caja-rename.c:367 msgid "Rename error" msgstr "Ошибка переименования" #: src/caja-rename.c:460 msgid "Rename All…" msgstr "Переименовать все…" #: src/caja-rename.c:460 msgid "Rename selected items" msgstr "Переименовать выбранные элементы" #: data/caja-rename.ui:77 msgid "Rename..." msgstr "Переименовать..." #: data/caja-rename.ui:94 msgid "Close" msgstr "Закрыть" #: data/caja-rename.ui:147 msgid "Title case" msgstr "Первые буквы заглавные" #: data/caja-rename.ui:162 msgid "Lower case" msgstr "Нижний регистр" #: data/caja-rename.ui:177 msgid "Upper case" msgstr "Верхний регистр" #: data/caja-rename.ui:192 msgid "Unchanged" msgstr "Без изменения" #: data/caja-rename.ui:235 msgid "Case" msgstr "Регистр" #: data/caja-rename.ui:257 msgid "Position" msgstr "Позиция" #: data/caja-rename.ui:304 data/caja-rename.ui:472 msgid "Text to insert" msgstr "Текст для вставки" #: data/caja-rename.ui:338 msgid "Insert" msgstr "Вставить" #: data/caja-rename.ui:362 msgid "From" msgstr "С позиции" #: data/caja-rename.ui:390 msgid "Length" msgstr "Длина" #: data/caja-rename.ui:436 msgid "Remove" msgstr "Удалить" #: data/caja-rename.ui:460 msgid "Text to search for" msgstr "Текст для поиска" #: data/caja-rename.ui:528 msgid "Replace" msgstr "Заменить" #: data/caja-rename.ui:550 msgid "Digits" msgstr "Цифры" #: data/caja-rename.ui:562 msgid "Start" msgstr "Начало" #: data/caja-rename.ui:624 msgid "Enumerate" msgstr "Пронумеровать" #: data/libcaja-rename.caja-extension.intl:4 msgid "Caja Rename" msgstr "Caja Rename" #: data/libcaja-rename.caja-extension.intl:5 msgid "Rename all selected files" msgstr "Переименовать все выбранные файлы" caja-rename-25.1.1/po/sl.po000077500000000000000000000050201473520067000153430ustar00rootroot00000000000000# Slovenian translation for cajarename # Copyright (c) 2018 Rosetta Contributors and Canonical Ltd 2018 # This file is distributed under the same license as the cajarename package. # FIRST AUTHOR , 2018. # msgid "" msgstr "" "Project-Id-Version: cajarename\n" "Report-Msgid-Bugs-To: https://github.com/tari01/caja-rename/issues\n" "POT-Creation-Date: 2024-09-01 22:14+0200\n" "PO-Revision-Date: 2018-02-14 12:14+0000\n" "Last-Translator: Matic Gradišer \n" "Language-Team: Slovenian \n" "Language: sl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: src/caja-rename.c:244 msgid "The following names are not acceptable:" msgstr "" #: src/caja-rename.c:246 msgid "Invalid names" msgstr "" #: src/caja-rename.c:302 msgid "The following will be overwritten:" msgstr "" #: src/caja-rename.c:302 msgid "Do you wish to continue?" msgstr "" #: src/caja-rename.c:304 msgid "Confirm overwrite" msgstr "" #: src/caja-rename.c:365 msgid "There were errors while renaming the following:" msgstr "" #: src/caja-rename.c:367 msgid "Rename error" msgstr "" #: src/caja-rename.c:460 msgid "Rename All…" msgstr "" #: src/caja-rename.c:460 msgid "Rename selected items" msgstr "" #: data/caja-rename.ui:77 msgid "Rename..." msgstr "" #: data/caja-rename.ui:94 msgid "Close" msgstr "" #: data/caja-rename.ui:147 msgid "Title case" msgstr "" #: data/caja-rename.ui:162 msgid "Lower case" msgstr "Male črke" #: data/caja-rename.ui:177 msgid "Upper case" msgstr "Velike črke" #: data/caja-rename.ui:192 msgid "Unchanged" msgstr "Nespremenjeno" #: data/caja-rename.ui:235 msgid "Case" msgstr "Velike/male črke" #: data/caja-rename.ui:257 msgid "Position" msgstr "Položaj" #: data/caja-rename.ui:304 data/caja-rename.ui:472 msgid "Text to insert" msgstr "" #: data/caja-rename.ui:338 msgid "Insert" msgstr "Vstavi" #: data/caja-rename.ui:362 msgid "From" msgstr "Od" #: data/caja-rename.ui:390 msgid "Length" msgstr "Dolžina" #: data/caja-rename.ui:436 msgid "Remove" msgstr "Odstrani" #: data/caja-rename.ui:460 msgid "Text to search for" msgstr "Besedilo, ki naj se išče" #: data/caja-rename.ui:528 msgid "Replace" msgstr "Zamenjaj" #: data/caja-rename.ui:550 msgid "Digits" msgstr "" #: data/caja-rename.ui:562 msgid "Start" msgstr "" #: data/caja-rename.ui:624 msgid "Enumerate" msgstr "Oštevilči" #: data/libcaja-rename.caja-extension.intl:4 msgid "Caja Rename" msgstr "" #: data/libcaja-rename.caja-extension.intl:5 msgid "Rename all selected files" msgstr "" caja-rename-25.1.1/po/ta.po000066400000000000000000000077311473520067000153410ustar00rootroot00000000000000# Translation of caja-rename in LANGUAGE # Copyright (C) 2024 Robert Tari # This file is distributed under the same license as the caja-rename package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: caja-rename 24.9.1\n" "Report-Msgid-Bugs-To: https://github.com/tari01/caja-rename/issues\n" "POT-Creation-Date: 2024-09-01 22:15+0200\n" "PO-Revision-Date: 2024-12-13 00:00+0000\n" "Last-Translator: தமிழ்நேரம் \n" "Language-Team: Tamil \n" "Language: ta\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: Weblate 5.9-dev\n" #: src/caja-rename.c:244 msgid "The following names are not acceptable:" msgstr "பின்வரும் பெயர்கள் ஏற்கத்தக்கவை அல்ல:" #: src/caja-rename.c:246 msgid "Invalid names" msgstr "தவறான பெயர்கள்" #: src/caja-rename.c:302 msgid "The following will be overwritten:" msgstr "பின்வருபவை மேலெழுதப்படும்:" #: src/caja-rename.c:302 msgid "Do you wish to continue?" msgstr "நீங்கள் தொடர விரும்புகிறீர்களா?" #: src/caja-rename.c:304 msgid "Confirm overwrite" msgstr "மேலெழுதலை உறுதிப்படுத்தவும்" #: src/caja-rename.c:365 msgid "There were errors while renaming the following:" msgstr "பின்வருவனவற்றை மறுபெயரிடும்போது பிழைகள் இருந்தன:" #: src/caja-rename.c:367 msgid "Rename error" msgstr "பிழையை மறுபெயரிடுங்கள்" #: src/caja-rename.c:460 msgid "Rename All…" msgstr "அனைத்தையும் மறுபெயரிடுங்கள்…" #: src/caja-rename.c:460 msgid "Rename selected items" msgstr "தேர்ந்தெடுக்கப்பட்ட பொருட்களை மறுபெயரிடுங்கள்" #: data/caja-rename.ui:77 msgid "Rename..." msgstr "மறுபெயரிடுங்கள் ..." #: data/caja-rename.ui:94 msgid "Close" msgstr "மூடு" #: data/caja-rename.ui:147 msgid "Title case" msgstr "தலைப்பு வழக்கு" #: data/caja-rename.ui:162 msgid "Lower case" msgstr "கீழ் வழக்கு" #: data/caja-rename.ui:177 msgid "Upper case" msgstr "மேல் வழக்கு" #: data/caja-rename.ui:192 msgid "Unchanged" msgstr "மாறாமல்" #: data/caja-rename.ui:235 msgid "Case" msgstr "வழக்கு" #: data/caja-rename.ui:257 msgid "Position" msgstr "நிலை" #: data/caja-rename.ui:304 data/caja-rename.ui:472 msgid "Text to insert" msgstr "செருக உரை" #: data/caja-rename.ui:338 msgid "Insert" msgstr "செருகவும்" #: data/caja-rename.ui:362 msgid "From" msgstr "இருந்து" #: data/caja-rename.ui:390 msgid "Length" msgstr "நீளம்" #: data/caja-rename.ui:436 msgid "Remove" msgstr "அகற்று" #: data/caja-rename.ui:460 msgid "Text to search for" msgstr "தேட உரை" #: data/caja-rename.ui:528 msgid "Replace" msgstr "மாற்றவும்" #: data/caja-rename.ui:550 msgid "Digits" msgstr "இலக்கங்கள்" #: data/caja-rename.ui:562 msgid "Start" msgstr "தொடங்கு" #: data/caja-rename.ui:624 msgid "Enumerate" msgstr "கணக்கிடுங்கள்" #: data/libcaja-rename.caja-extension.intl:4 msgid "Caja Rename" msgstr "பெட்டி மறுபெயரிடுதல்" #: data/libcaja-rename.caja-extension.intl:5 msgid "Rename all selected files" msgstr "தேர்ந்தெடுக்கப்பட்ட அனைத்து கோப்புகளையும் மறுபெயரிடுங்கள்" caja-rename-25.1.1/po/tr.po000066400000000000000000000057761473520067000153710ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Robert Tari # This file is distributed under the same license as the caja-rename package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: caja-rename 21.11.24\n" "Report-Msgid-Bugs-To: https://github.com/tari01/caja-rename/issues\n" "POT-Creation-Date: 2024-09-01 22:14+0200\n" "PO-Revision-Date: 2023-10-03 20:12+0000\n" "Last-Translator: Sabri Ünal \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=2; plural=n != 1;\n" "X-Generator: Weblate 5.1-dev\n" #: src/caja-rename.c:244 msgid "The following names are not acceptable:" msgstr "Aşağıdaki adlar kabul edilmez:" #: src/caja-rename.c:246 msgid "Invalid names" msgstr "Geçersiz adlar" #: src/caja-rename.c:302 msgid "The following will be overwritten:" msgstr "Aşağıdakilerin üzerine yazılacak:" #: src/caja-rename.c:302 msgid "Do you wish to continue?" msgstr "Devam etmek istiyor musunuz?" #: src/caja-rename.c:304 msgid "Confirm overwrite" msgstr "Üzerine yazmayı onayla" #: src/caja-rename.c:365 msgid "There were errors while renaming the following:" msgstr "Aşağıdakiler yeniden adlandırırken hata oluştu:" #: src/caja-rename.c:367 msgid "Rename error" msgstr "Yeniden adlandırma hatası" #: src/caja-rename.c:460 msgid "Rename All…" msgstr "Tümünü Yeniden Adlandır…" #: src/caja-rename.c:460 msgid "Rename selected items" msgstr "Seçili ögeleri yeniden adlandır" #: data/caja-rename.ui:77 msgid "Rename..." msgstr "Yeniden Adlandır..." #: data/caja-rename.ui:94 msgid "Close" msgstr "Kapat" #: data/caja-rename.ui:147 msgid "Title case" msgstr "Başlık Düzeni" #: data/caja-rename.ui:162 msgid "Lower case" msgstr "küçük harf" #: data/caja-rename.ui:177 msgid "Upper case" msgstr "BÜYÜK HARF" #: data/caja-rename.ui:192 msgid "Unchanged" msgstr "Değiştirme" #: data/caja-rename.ui:235 msgid "Case" msgstr "Düzen" #: data/caja-rename.ui:257 msgid "Position" msgstr "Konum" #: data/caja-rename.ui:304 data/caja-rename.ui:472 msgid "Text to insert" msgstr "Eklenecek metin" #: data/caja-rename.ui:338 msgid "Insert" msgstr "Ekle" #: data/caja-rename.ui:362 msgid "From" msgstr "Kaynak" #: data/caja-rename.ui:390 msgid "Length" msgstr "Uzunluk" #: data/caja-rename.ui:436 msgid "Remove" msgstr "Kaldır" #: data/caja-rename.ui:460 msgid "Text to search for" msgstr "Aranacak metin" #: data/caja-rename.ui:528 msgid "Replace" msgstr "Yer değiştir" #: data/caja-rename.ui:550 msgid "Digits" msgstr "Basamaklar" #: data/caja-rename.ui:562 msgid "Start" msgstr "Başlat" #: data/caja-rename.ui:624 msgid "Enumerate" msgstr "Numaralandır" #: data/libcaja-rename.caja-extension.intl:4 msgid "Caja Rename" msgstr "Caja Rename" #: data/libcaja-rename.caja-extension.intl:5 msgid "Rename all selected files" msgstr "Tüm seçili dosyaları yeniden adlandır" caja-rename-25.1.1/po/uk.po000066400000000000000000000066721473520067000153570ustar00rootroot00000000000000# Translation of caja-rename in LANGUAGE # Copyright (C) 2023 Robert Tari # This file is distributed under the same license as the caja-rename package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: caja-rename 23.10.1\n" "Report-Msgid-Bugs-To: https://github.com/tari01/caja-rename/issues\n" "POT-Creation-Date: 2024-09-01 22:14+0200\n" "PO-Revision-Date: 2023-11-14 00:05+0000\n" "Last-Translator: Serhii Horichenko \n" "Language-Team: Ukrainian \n" "Language: uk\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%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 5.2-dev\n" #: src/caja-rename.c:244 msgid "The following names are not acceptable:" msgstr "Наведені назви не припустимі:" #: src/caja-rename.c:246 msgid "Invalid names" msgstr "Неприпустимі назви" #: src/caja-rename.c:302 msgid "The following will be overwritten:" msgstr "Вказане нижче буде перезаписане:" #: src/caja-rename.c:302 msgid "Do you wish to continue?" msgstr "Бажаєте продовжити?" #: src/caja-rename.c:304 msgid "Confirm overwrite" msgstr "Погодьте перезапис" #: src/caja-rename.c:365 msgid "There were errors while renaming the following:" msgstr "Під час перейменування виникли помилки:" #: src/caja-rename.c:367 msgid "Rename error" msgstr "Помилка перейменування" #: src/caja-rename.c:460 msgid "Rename All…" msgstr "Перейменувати все…" #: src/caja-rename.c:460 msgid "Rename selected items" msgstr "Перейменувати обрані елементи" #: data/caja-rename.ui:77 msgid "Rename..." msgstr "Перейменувати…" #: data/caja-rename.ui:94 msgid "Close" msgstr "Закрити" #: data/caja-rename.ui:147 msgid "Title case" msgstr "Великі перші літери" #: data/caja-rename.ui:162 msgid "Lower case" msgstr "Маленькі літери" #: data/caja-rename.ui:177 msgid "Upper case" msgstr "Великі літери" #: data/caja-rename.ui:192 msgid "Unchanged" msgstr "Без змін" #: data/caja-rename.ui:235 msgid "Case" msgstr "Вел./мал. літери" #: data/caja-rename.ui:257 msgid "Position" msgstr "Позиція" #: data/caja-rename.ui:304 data/caja-rename.ui:472 msgid "Text to insert" msgstr "Текст для вставки" #: data/caja-rename.ui:338 msgid "Insert" msgstr "Вставити" #: data/caja-rename.ui:362 msgid "From" msgstr "З" #: data/caja-rename.ui:390 msgid "Length" msgstr "Довжина" #: data/caja-rename.ui:436 msgid "Remove" msgstr "Вилучити" #: data/caja-rename.ui:460 msgid "Text to search for" msgstr "Пошуковий текст" #: data/caja-rename.ui:528 msgid "Replace" msgstr "Замінити" #: data/caja-rename.ui:550 msgid "Digits" msgstr "Цифри" #: data/caja-rename.ui:562 msgid "Start" msgstr "Початок" #: data/caja-rename.ui:624 msgid "Enumerate" msgstr "Нумерувати" #: data/libcaja-rename.caja-extension.intl:4 msgid "Caja Rename" msgstr "Перейменування Caja" #: data/libcaja-rename.caja-extension.intl:5 msgid "Rename all selected files" msgstr "Перейменувати усі обрані файли" caja-rename-25.1.1/po/zh_Hans.po000066400000000000000000000056251473520067000163270ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Robert Tari # This file is distributed under the same license as the caja-rename package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: caja-rename 20.1.26\n" "Report-Msgid-Bugs-To: https://github.com/tari01/caja-rename/issues\n" "POT-Creation-Date: 2024-09-01 22:14+0200\n" "PO-Revision-Date: 2024-03-19 03:02+0000\n" "Last-Translator: 复予 \n" "Language-Team: Chinese (Simplified) \n" "Language: zh_Hans\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: Weblate 5.5-dev\n" #: src/caja-rename.c:244 msgid "The following names are not acceptable:" msgstr "无法接受如下名称:" #: src/caja-rename.c:246 msgid "Invalid names" msgstr "名称无效" #: src/caja-rename.c:302 msgid "The following will be overwritten:" msgstr "以下内容将被覆盖:" #: src/caja-rename.c:302 msgid "Do you wish to continue?" msgstr "您希望继续吗?" #: src/caja-rename.c:304 msgid "Confirm overwrite" msgstr "确认覆盖" #: src/caja-rename.c:365 msgid "There were errors while renaming the following:" msgstr "重命名如下文件时发生错误:" #: src/caja-rename.c:367 msgid "Rename error" msgstr "重命名错误" #: src/caja-rename.c:460 msgid "Rename All…" msgstr "全部重命名…" #: src/caja-rename.c:460 msgid "Rename selected items" msgstr "重命名选中项目" #: data/caja-rename.ui:77 msgid "Rename..." msgstr "重命名…" #: data/caja-rename.ui:94 msgid "Close" msgstr "关闭" #: data/caja-rename.ui:147 msgid "Title case" msgstr "按英文标题的方法调整大小写" #: data/caja-rename.ui:162 msgid "Lower case" msgstr "小写" #: data/caja-rename.ui:177 msgid "Upper case" msgstr "大写" #: data/caja-rename.ui:192 msgid "Unchanged" msgstr "未更改" #: data/caja-rename.ui:235 msgid "Case" msgstr "大小写" #: data/caja-rename.ui:257 msgid "Position" msgstr "位置" #: data/caja-rename.ui:304 data/caja-rename.ui:472 msgid "Text to insert" msgstr "要插入的文本" #: data/caja-rename.ui:338 msgid "Insert" msgstr "插入" #: data/caja-rename.ui:362 msgid "From" msgstr "从" #: data/caja-rename.ui:390 msgid "Length" msgstr "长度" #: data/caja-rename.ui:436 msgid "Remove" msgstr "移除" #: data/caja-rename.ui:460 msgid "Text to search for" msgstr "要搜索的文本" #: data/caja-rename.ui:528 msgid "Replace" msgstr "替换" #: data/caja-rename.ui:550 msgid "Digits" msgstr "数字" #: data/caja-rename.ui:562 msgid "Start" msgstr "开始" #: data/caja-rename.ui:624 msgid "Enumerate" msgstr "枚举" #: data/libcaja-rename.caja-extension.intl:4 msgid "Caja Rename" msgstr "Caja 重命名" #: data/libcaja-rename.caja-extension.intl:5 msgid "Rename all selected files" msgstr "重命名所有选中文件" caja-rename-25.1.1/src/000077500000000000000000000000001473520067000145365ustar00rootroot00000000000000caja-rename-25.1.1/src/CMakeLists.txt000066400000000000000000000015241473520067000173000ustar00rootroot00000000000000# libcaja-rename.so set_source_files_properties ("${CMAKE_BINARY_DIR}/data/${CMAKE_PROJECT_NAME}-gresource.c" PROPERTIES GENERATED TRUE) add_library ("caja-rename" SHARED "rename.c" "caja-rename.c" "${CMAKE_BINARY_DIR}/data/${CMAKE_PROJECT_NAME}-gresource.c") add_dependencies ("caja-rename" "data") target_include_directories ("caja-rename" PUBLIC ${DEPS_INCLUDE_DIRS}) target_compile_options ("caja-rename" PUBLIC ${DEPS_CFLAGS_OTHER}) target_compile_definitions ("caja-rename" PUBLIC G_LOG_DOMAIN="caja-rename" LOCALEDIR="${CMAKE_INSTALL_FULL_LOCALEDIR}" GETTEXT_PACKAGE="${CMAKE_PROJECT_NAME}") target_link_libraries ("caja-rename" ${DEPS_LIBRARIES}) target_link_options ("caja-rename" PUBLIC ${DEPS_LDFLAGS_OTHER}) target_link_directories ("caja-rename" PUBLIC ${DEPS_LIBRARY_DIRS}) install (TARGETS "caja-rename" DESTINATION "${EXTENSION_DIR}") caja-rename-25.1.1/src/caja-rename.c000066400000000000000000000460111473520067000170470ustar00rootroot00000000000000/* * Copyright 2017-2024 Robert Tari * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, 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 . */ #include #include #include #include #include "caja-rename.h" #include "titlecase.h" static GType m_cCajaRenameType = 0; static GtkListStore *m_pListStore = NULL; static GtkBuilder *m_pBuilder = NULL; static void updateList (GtkWidget *pWidget, gpointer pData) { GtkTreeIter cIter; gboolean bValid = gtk_tree_model_get_iter_first (GTK_TREE_MODEL (m_pListStore), &cIter); while (bValid) { gchar *sName = NULL; gtk_tree_model_get (GTK_TREE_MODEL (m_pListStore), &cIter, 2, &sName, -1); // Case GtkRadioButton *pUpper = GTK_RADIO_BUTTON (gtk_builder_get_object (m_pBuilder, "radiobuttonCaseUpper")); gboolean bUpperActive = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (pUpper)); if (bUpperActive) { gchar *sNameNew = g_utf8_strup (sName, -1); g_free (sName); sName = g_strdup (sNameNew); g_free (sNameNew); } GtkRadioButton *pLower = GTK_RADIO_BUTTON (gtk_builder_get_object (m_pBuilder, "radiobuttonCaseLower")); gboolean bLowerActive = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (pLower)); if (bLowerActive) { gchar *sNameNew = g_utf8_strdown (sName, -1); g_free (sName); sName = g_strdup (sNameNew); g_free (sNameNew); } GtkRadioButton *pTitle = GTK_RADIO_BUTTON (gtk_builder_get_object (m_pBuilder, "radiobuttonCaseTitle")); gboolean bTitleActive = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (pTitle)); if (bTitleActive) { gchar *sNameNew = titlecase_do (sName, TRUE); g_free (sName); sName = g_strdup (sNameNew); g_free (sNameNew); } // Insert GtkEntry *pInsertEntry = GTK_ENTRY (gtk_builder_get_object (m_pBuilder, "entryInsertText")); const gchar *sInsert = gtk_entry_get_text (pInsertEntry); if (sInsert) { GtkSpinButton *pInsertButton = GTK_SPIN_BUTTON (gtk_builder_get_object (m_pBuilder, "spinbuttonInsertPosition")); gint nInsert = gtk_spin_button_get_value_as_int (pInsertButton); glong nLength = g_utf8_strlen (sName, -1); gchar *sBefore = g_utf8_substring (sName, 0, nInsert); gchar *sAfter = g_utf8_substring (sName, nInsert, nLength); gchar *sNameNew = g_strconcat (sBefore, sInsert, sAfter, NULL); g_free (sName); sName = g_strdup (sNameNew); g_free (sNameNew); g_free (sBefore); g_free (sAfter); } // Remove GtkSpinButton *pButtonLength = GTK_SPIN_BUTTON (gtk_builder_get_object (m_pBuilder, "spinbuttonRemoveLength")); gint nRemoveLength = gtk_spin_button_get_value_as_int (pButtonLength); if (nRemoveLength) { GtkSpinButton *pButtonFrom = GTK_SPIN_BUTTON (gtk_builder_get_object (m_pBuilder, "spinbuttonRemoveFrom")); gint nRemoveFrom = gtk_spin_button_get_value_as_int (pButtonFrom); glong nLength = g_utf8_strlen (sName, -1); gint nKeepFrom = 0; if (nRemoveFrom > -1) { nKeepFrom = nRemoveFrom + nRemoveLength; } else { nKeepFrom = MAX (0, nLength - ABS (nRemoveFrom) + nRemoveLength); nRemoveFrom = MAX (0, nLength - ABS (nRemoveFrom)); } gchar *sBefore = g_utf8_substring (sName, 0, nRemoveFrom); gchar *sAfter = g_utf8_substring (sName, nKeepFrom, nLength); gchar *sNameNew = g_strconcat (sBefore, sAfter, NULL); g_free (sName); sName = g_strdup (sNameNew); g_free (sNameNew); g_free (sBefore); g_free (sAfter); } // Replace GtkEntry *pTargetEntry = GTK_ENTRY (gtk_builder_get_object (m_pBuilder, "entryReplaceTarget")); const gchar *sSearch = gtk_entry_get_text (pTargetEntry); if (sSearch) { GtkEntry *pWithEntry = GTK_ENTRY (gtk_builder_get_object (m_pBuilder, "entryReplaceWith")); const gchar *sWith = gtk_entry_get_text (pWithEntry); GString *sString = g_string_new (sName); g_free (sName); g_string_replace (sString, sSearch, sWith, 0); #if !GLIB_CHECK_VERSION (2, 76, 0) sName = g_string_free (sString, FALSE); #else sName = g_string_free_and_steal (sString); #endif } if (sName) { gtk_list_store_set (m_pListStore, &cIter, 3, sName, -1); g_free (sName); } bValid = gtk_tree_model_iter_next (GTK_TREE_MODEL (m_pListStore), &cIter); } // Enumerate GtkSpinButton *pButtonDigits = GTK_SPIN_BUTTON (gtk_builder_get_object (m_pBuilder, "spinbuttonEnumerateDigits")); gint nDigits = gtk_spin_button_get_value_as_int (pButtonDigits); if (nDigits) { GtkSpinButton *pButtonStart = GTK_SPIN_BUTTON (gtk_builder_get_object (m_pBuilder, "spinbuttonEnumerateStart")); gint nRow = gtk_spin_button_get_value_as_int (pButtonStart); bValid = gtk_tree_model_get_iter_first (GTK_TREE_MODEL (m_pListStore), &cIter); while (bValid) { gchar *sName = NULL; gtk_tree_model_get (GTK_TREE_MODEL (m_pListStore), &cIter, 3, &sName, -1); gchar *sNameNew = g_strdup_printf ("%0*d%s", nDigits, nRow, sName); g_free (sName); gtk_list_store_set (m_pListStore, &cIter, 3, sNameNew, -1); g_free (sNameNew); nRow += 1; bValid = gtk_tree_model_iter_next (GTK_TREE_MODEL (m_pListStore), &cIter); } } } static void onInsertText (GtkEditable *pWidget, gchar *sText, gint nLength, gint *nPosition, gpointer pData) { GString *sString = g_string_new (sText); g_string_replace (sString, "/", "", 0); g_string_replace (sString, "\\", "", 0); #if !GLIB_CHECK_VERSION (2, 76, 0) gchar *sNewText = g_string_free (sString, FALSE); #else gchar *sNewText = g_string_free_and_steal (sString); #endif if (sNewText) { glong nNewLength = g_utf8_strlen (sNewText, -1); if (nNewLength != nLength) { g_signal_handlers_block_by_func (pWidget, onInsertText, pData); gtk_editable_insert_text (pWidget, sNewText, -1, nPosition); g_signal_handlers_unblock_by_func (pWidget, onInsertText, pData); g_free (sNewText); g_signal_stop_emission_by_name (pWidget, "insert_text"); } } } static void onApply (GtkWidget *pWidget, gpointer pData) { // Check for invalid names gchar *sInvalid = NULL; GtkTreeIter cIter; gboolean bValid = gtk_tree_model_get_iter_first (GTK_TREE_MODEL (m_pListStore), &cIter); while (bValid) { gchar *sNameNew = NULL; gtk_tree_model_get (GTK_TREE_MODEL (m_pListStore), &cIter, 3, &sNameNew, -1); gboolean bEmpty = g_str_equal (sNameNew, ""); gboolean bDot = g_str_equal (sNameNew, "."); gboolean bTwoDots = g_str_equal (sNameNew, ".."); if (bEmpty || bDot || bTwoDots) { gchar *sNameOld = NULL; gtk_tree_model_get (GTK_TREE_MODEL (m_pListStore), &cIter, 2, &sNameOld, -1); gchar *sInvalidNew = NULL; if (sInvalid) { sInvalidNew = g_strconcat (sInvalid, "\n", sNameOld, " -> ", sNameNew, NULL); g_free (sInvalid); } else { sInvalidNew = g_strconcat (sNameOld, " -> ", sNameNew, NULL); } g_free (sNameOld); sInvalid = g_strdup (sInvalidNew); g_free (sInvalidNew); } g_free (sNameNew); bValid = gtk_tree_model_iter_next (GTK_TREE_MODEL (m_pListStore), &cIter); } if (sInvalid) { GtkWidget *pDlg = gtk_message_dialog_new (GTK_WINDOW (pData), GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_CLOSE, "%s\n\n%s", _("The following names are not acceptable:"), sInvalid); g_free (sInvalid); gtk_window_set_title (GTK_WINDOW (pDlg), _("Invalid names")); gtk_dialog_run (GTK_DIALOG (pDlg)); gtk_widget_destroy (pDlg); } else { // Check for overwrite gchar *sOverwrite = NULL; bValid = gtk_tree_model_get_iter_first (GTK_TREE_MODEL (m_pListStore), &cIter); GList *lPaths = NULL; while (bValid) { gchar *sFolder = NULL; gchar *sNameOld = NULL; gchar *sNameNew = NULL; gtk_tree_model_get (GTK_TREE_MODEL (m_pListStore), &cIter, 0, &sFolder, 2, &sNameOld, 3, &sNameNew, -1); gboolean bEqual = g_str_equal (sNameOld, sNameNew); if (!bEqual) { gchar *sPath = g_build_filename (sFolder, sNameNew, NULL); GList* pPath = g_list_find (lPaths, sPath); gboolean bExists = g_file_test (sPath, G_FILE_TEST_EXISTS); if (pPath || bExists) { gchar *sOverwriteNew = NULL; if (sOverwrite) { sOverwriteNew = g_strconcat (sOverwrite, "\n", sNameOld, " -> ", sNameNew, NULL); g_free (sOverwrite); } else { sOverwriteNew = g_strconcat (sNameOld, " -> ", sNameNew, NULL); } sOverwrite = g_strdup (sOverwriteNew); g_free (sOverwriteNew); } lPaths = g_list_append (lPaths, sPath); } g_free (sFolder); g_free (sNameOld); g_free (sNameNew); bValid = gtk_tree_model_iter_next (GTK_TREE_MODEL (m_pListStore), &cIter); } g_list_free_full (lPaths, g_free); if (sOverwrite) { GtkWidget *pDlg = gtk_message_dialog_new (GTK_WINDOW (pData), GTK_DIALOG_MODAL, GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, "%s\n\n%s\n\n%s", _("The following will be overwritten:"), sOverwrite, _("Do you wish to continue?")); g_free (sOverwrite); gtk_window_set_title (GTK_WINDOW (pDlg), _("Confirm overwrite")); gint nResponse = gtk_dialog_run (GTK_DIALOG (pDlg)); gtk_widget_destroy (pDlg); if (nResponse == GTK_RESPONSE_NO) { return; } } // Rename gchar *sFailed = NULL; bValid = gtk_tree_model_get_iter_first (GTK_TREE_MODEL (m_pListStore), &cIter); while (bValid) { gchar *sFolder = NULL; gchar *sNameOld = NULL; gchar *sNameNew = NULL; gtk_tree_model_get (GTK_TREE_MODEL (m_pListStore), &cIter, 0, &sFolder, 2, &sNameOld, 3, &sNameNew, -1); gboolean bEqual = g_str_equal (sNameOld, sNameNew); if (!bEqual) { gchar *sPathOld = g_build_filename (sFolder, sNameOld, NULL); gchar *sPathNew = g_build_filename (sFolder, sNameNew, NULL); int nResult = g_rename (sPathOld, sPathNew); g_free (sPathOld); g_free (sPathNew); if (nResult == -1) { gchar *sFailedNew = NULL; if (sFailed) { sFailedNew = g_strconcat (sFailed, "\n", sNameOld, " -> ", sNameNew, NULL); g_free (sFailed); } else { sFailedNew = g_strconcat (sNameOld, " -> ", sNameNew, NULL); } sFailed = g_strdup (sFailedNew); g_free (sFailedNew); } else { gtk_list_store_set (m_pListStore, &cIter, 2, sNameNew, -1); } } g_free (sFolder); g_free (sNameOld); g_free (sNameNew); bValid = gtk_tree_model_iter_next (GTK_TREE_MODEL (m_pListStore), &cIter); } if (sFailed) { GtkWidget *pDlg = gtk_message_dialog_new (GTK_WINDOW (pData), GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s\n\n%s", _("There were errors while renaming the following:"), sFailed); g_free (sFailed); gtk_window_set_title (GTK_WINDOW (pDlg), _("Rename error")); gtk_dialog_run (GTK_DIALOG (pDlg)); gtk_widget_destroy (pDlg); } // Reset everything GtkRadioButton *pUnchanged = GTK_RADIO_BUTTON (gtk_builder_get_object (m_pBuilder, "radiobuttonCaseUnchanged")); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (pUnchanged), TRUE); GtkEntry *pInsert = GTK_ENTRY (gtk_builder_get_object (m_pBuilder, "entryInsertText")); gtk_entry_set_text (pInsert, ""); GtkSpinButton *pPosition = GTK_SPIN_BUTTON (gtk_builder_get_object (m_pBuilder, "spinbuttonInsertPosition")); gtk_spin_button_set_value (pPosition, 0); GtkSpinButton *pFrom = GTK_SPIN_BUTTON (gtk_builder_get_object (m_pBuilder, "spinbuttonRemoveFrom")); gtk_spin_button_set_value (pFrom, 0); GtkSpinButton *pLength = GTK_SPIN_BUTTON (gtk_builder_get_object (m_pBuilder, "spinbuttonRemoveLength")); gtk_spin_button_set_value (pLength, 0); GtkEntry *pTarget = GTK_ENTRY (gtk_builder_get_object (m_pBuilder, "entryReplaceTarget")); gtk_entry_set_text (pTarget, ""); GtkEntry *pWidth = GTK_ENTRY (gtk_builder_get_object (m_pBuilder, "entryReplaceWith")); gtk_entry_set_text (pWidth, ""); GtkSpinButton *pDigits = GTK_SPIN_BUTTON (gtk_builder_get_object (m_pBuilder, "spinbuttonEnumerateDigits")); gtk_spin_button_set_value (pDigits, 0); GtkSpinButton *pStart = GTK_SPIN_BUTTON (gtk_builder_get_object (m_pBuilder, "spinbuttonEnumerateStart")); gtk_spin_button_set_value (pStart, 1); } } static void onActivate (CajaMenuItem *pItem, GList *lFiles) { titlecase_init (); m_pBuilder = gtk_builder_new_from_resource ("/in/tari/caja-rename/caja-rename.ui"); gtk_builder_add_callback_symbol (m_pBuilder, "updateList", G_CALLBACK (updateList)); gtk_builder_add_callback_symbol (m_pBuilder, "onInsertText", G_CALLBACK (onInsertText)); gtk_builder_add_callback_symbol (m_pBuilder, "onApply", G_CALLBACK (onApply)); gtk_builder_connect_signals (m_pBuilder, NULL); m_pListStore = GTK_LIST_STORE (gtk_builder_get_object (m_pBuilder, "liststore")); GtkDialog *pDialog = GTK_DIALOG (gtk_builder_get_object (m_pBuilder, "dialog")); GList *pPath = NULL; GtkIconTheme *pTheme = gtk_icon_theme_get_default (); for (pPath = lFiles; pPath != NULL; pPath = pPath->next) { GdkPixbuf *pPixBuf = NULL; gchar *sUri = caja_file_info_get_uri (pPath->data); gchar *sScheme = g_uri_parse_scheme (sUri); gint nFileComp = strcmp (sScheme, "file"); gchar *sPath = NULL; if (nFileComp == 0) { sPath = g_filename_from_uri (sUri, NULL, NULL); } else { GVfs *pVfs = g_vfs_get_default (); GFile *pFile = g_vfs_get_file_for_uri (pVfs, sUri); sPath = g_file_get_path (pFile); g_object_unref (pFile); } gchar *sDirName = g_path_get_dirname (sPath); gchar *sBaseName = g_path_get_basename (sPath); g_free (sScheme); g_free (sUri); GtkTreeIter cIter; gtk_list_store_append (m_pListStore, &cIter); GFile *pFile = g_file_new_for_path (sPath); g_free (sPath); GError *pError = NULL; GFileInfo *pInfo = g_file_query_info (pFile, "standard::icon", 0, NULL, &pError); g_object_unref (pFile); if (pError) { g_error ("Panic: Failed querying file info: %s", pError->message); g_error_free (pError); } else { GIcon *pIcon = g_file_info_get_icon (pInfo); GStrv lNames = NULL; g_object_get (pIcon, "names", &lNames, NULL); g_object_unref (pInfo); GtkIconInfo *pIconInfo = gtk_icon_theme_choose_icon (pTheme, (const char**) lNames, 22, 0); g_strfreev (lNames); pPixBuf = gtk_icon_info_load_icon (pIconInfo, &pError); if (pError) { g_error ("Panic: Failed loading icon: %s", pError->message); g_error_free (pError); } g_object_unref (pIconInfo); } gtk_list_store_set (m_pListStore, &cIter, 0, sDirName, 1, pPixBuf, 2, sBaseName, 3, sBaseName, -1); g_object_unref (pPixBuf); g_free (sDirName); g_free (sBaseName); } gtk_dialog_run (pDialog); gtk_widget_destroy (GTK_WIDGET (pDialog)); titlecase_finish (); } static GList *getFileItems (CajaMenuProvider *pProvider, GtkWidget *pWindow, GList *lFiles) { guint nFiles = g_list_length (lFiles); if (nFiles > 1) { CajaMenuItem *pItem = caja_menu_item_new ("CajaRename::rename", _("Rename All…"), _("Rename selected items"), "caja-rename"); GList *lFilesCopy = caja_file_info_list_copy (lFiles); g_signal_connect (pItem, "activate", G_CALLBACK (onActivate), lFilesCopy); return g_list_append (NULL, pItem); } else { return NULL; } } static void onInterfaceInit (CajaMenuProviderIface *pInterface) { pInterface->get_file_items = getFileItems; } static void onInstanceInit (CajaRename *self) { } static void onClassInit (CajaRenameClass *klass) { } GType caja_rename_get_type () { return m_cCajaRenameType; } void caja_rename_register_type (GTypeModule *pModule) { static const GTypeInfo pInfo = {sizeof (CajaRenameClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) onClassInit, NULL, NULL, sizeof (CajaRename), 0, (GInstanceInitFunc) onInstanceInit, NULL}; static const GInterfaceInfo cMenuProviderInfo = {(GInterfaceInitFunc) onInterfaceInit, NULL, NULL}; m_cCajaRenameType = g_type_module_register_type (pModule, G_TYPE_OBJECT, "CajaRename", &pInfo, 0); g_type_module_add_interface (pModule, m_cCajaRenameType, CAJA_TYPE_MENU_PROVIDER, &cMenuProviderInfo); } caja-rename-25.1.1/src/caja-rename.h000066400000000000000000000023661473520067000170610ustar00rootroot00000000000000/* * Copyright 2017-2023 Robert Tari * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, 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 . */ #ifndef CAJA_RENAME_H #define CAJA_RENAME_H #include G_BEGIN_DECLS #define CAJA_TYPE_RENAME (caja_rename_get_type ()) #define CAJA_RENAME(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CAJA_TYPE_RENAME, CajaRename)) #define CAJA_IS_RENAME(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CAJA_TYPE_RENAME)) typedef struct _CajaRename CajaRename; typedef struct _CajaRenameClass CajaRenameClass; struct _CajaRename { GObject parent; }; struct _CajaRenameClass { GObjectClass parent; }; GType caja_rename_get_type (); void caja_rename_register_type (GTypeModule *pModule); G_END_DECLS #endif caja-rename-25.1.1/src/rename.c000066400000000000000000000024161473520067000161540ustar00rootroot00000000000000/* * Copyright 2017-2023 Robert Tari * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, 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 . */ #include #include #include "caja-rename.h" static GType m_lTypes[1]; void caja_module_initialize (GTypeModule *pModule) { g_print ("Initializing caja-rename extension\n"); caja_rename_register_type (pModule); m_lTypes[0] = CAJA_TYPE_RENAME; bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); } void caja_module_shutdown () { g_print ("Shutting down caja-rename extension\n"); } void caja_module_list_types (const GType **lTypes, int *nTypes) { *lTypes = m_lTypes; *nTypes = 1; } caja-rename-25.1.1/src/titlecase.h000066400000000000000000000362731473520067000166770ustar00rootroot00000000000000/* * Copyright 2017-2023 Robert Tari * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, 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 . */ #ifndef TITLECASE_H #define TITLECASE_H #include #define SMALL "a|an|and|as|at|but|by|en|for|if|in|of|on|or|the|to|v\\.?|via|vs\\.?" #define PUNCT "!\"#$%&'‘()*+,-./:;?@[\\]_`{|}~" #if !GLIB_CHECK_VERSION (2, 74, 0) #define G_REGEX_DEFAULT 0 #define G_REGEX_MATCH_DEFAULT 0 #endif static GRegex *m_pSmallWords = NULL; static GRegex *m_pInlinePeriod = NULL; static GRegex *m_pUcElsewhere = NULL; static GRegex *m_pCapFirst = NULL; static GRegex *m_pSmallFirst = NULL; static GRegex *m_pSmallLast = NULL; static GRegex *m_pSubphrase = NULL; static GRegex *m_pAPosSecond = NULL; static GRegex *m_pAllCaps = NULL; static GRegex *m_pUcInitials = NULL; static GRegex *m_pMacMc = NULL; static gboolean evalUp (const GMatchInfo *pInfo, GString *sResult, gpointer pData) { gchar *sMatch = g_match_info_fetch (pInfo, 0); gchar *sUp = g_utf8_strup (sMatch, -1); g_free (sMatch); g_string_append (sResult, sUp); g_free (sUp); return FALSE; } static gboolean evalCap (const GMatchInfo *pInfo, GString *sResult, gpointer pData) { gchar *sMatch = g_match_info_fetch (pInfo, 0); gchar *sFirst = g_utf8_offset_to_pointer (sMatch, 0); gchar *sRest = g_utf8_offset_to_pointer (sMatch, 1); gchar *sUp = g_utf8_strup (sFirst, -1); g_free (sMatch); gchar *sConcat = g_strconcat (sUp, sRest, NULL); g_free (sUp); g_string_append (sResult, sConcat); g_free (sConcat); return FALSE; } static gboolean evalConcat (const GMatchInfo *pInfo, GString *sResult, gpointer pData) { gchar *sMatch1 = g_match_info_fetch (pInfo, 1); gchar *sMatch2 = g_match_info_fetch (pInfo, 2); gchar *sFirst = g_utf8_offset_to_pointer (sMatch2, 0); gchar *sRest = g_utf8_offset_to_pointer (sMatch2, 1); gchar *sUp = g_utf8_strup (sFirst, -1); gchar *sConcat = g_strconcat (sMatch1, sUp, sRest, NULL); g_free (sMatch2); g_free (sUp); g_free (sMatch1); g_string_append (sResult, sConcat); g_free (sConcat); return FALSE; } void titlecase_init () { GError *pError = NULL; m_pSmallWords = g_regex_new ("^("SMALL")$", G_REGEX_CASELESS, G_REGEX_MATCH_DEFAULT, &pError); if (!m_pSmallWords) { g_error ("Panic while initialising m_pSmallWords: %s", pError->message); g_clear_error (&pError); } m_pInlinePeriod = g_regex_new ("[a-z][.][a-z]", G_REGEX_CASELESS, G_REGEX_MATCH_DEFAULT, &pError); if (!m_pInlinePeriod) { g_error ("Panic while initialising m_pInlinePeriod: %s", pError->message); g_clear_error (&pError); } m_pUcElsewhere = g_regex_new ("["PUNCT"]*?[a-zA-Z]+[A-Z]+?", G_REGEX_DEFAULT, G_REGEX_MATCH_DEFAULT, &pError); if (!m_pUcElsewhere) { g_error ("Panic while initialising m_pUcElsewhere: %s", pError->message); g_clear_error (&pError); } m_pCapFirst = g_regex_new ("^["PUNCT"]*?([A-Za-z])", G_REGEX_DEFAULT, G_REGEX_MATCH_DEFAULT, &pError); if (!m_pCapFirst) { g_error ("Panic while initialising m_pCapFirst: %s", pError->message); g_clear_error (&pError); } m_pSmallFirst = g_regex_new ("^(["PUNCT"]*)("SMALL")\b", G_REGEX_CASELESS, G_REGEX_MATCH_DEFAULT, &pError); if (!m_pSmallFirst) { g_error ("Panic while initialising m_pSmallFirst: %s", pError->message); g_clear_error (&pError); } m_pSmallLast = g_regex_new ("\b("SMALL")["PUNCT"]?$", G_REGEX_CASELESS, G_REGEX_MATCH_DEFAULT, &pError); if (!m_pSmallLast) { g_error ("Panic while initialising m_pSmallLast: %s", pError->message); g_clear_error (&pError); } m_pSubphrase = g_regex_new ("([:.;?!\\-\\—][ ])("SMALL")", G_REGEX_DEFAULT, G_REGEX_MATCH_DEFAULT, &pError); if (!m_pSubphrase) { g_error ("Panic while initialising m_pSubphrase: %s", pError->message); g_clear_error (&pError); } m_pAPosSecond = g_regex_new ("^[dol]{1}['‘]{1}[a-z]+(?:['s]{2})?$", G_REGEX_CASELESS, G_REGEX_MATCH_DEFAULT, &pError); if (!m_pAPosSecond) { g_error ("Panic while initialising m_pAPosSecond: %s", pError->message); g_clear_error (&pError); } m_pAllCaps = g_regex_new ("^[A-Z\\s\\d"PUNCT"]+$", G_REGEX_DEFAULT, G_REGEX_MATCH_DEFAULT, &pError); if (!m_pAllCaps) { g_error ("Panic while initialising m_pAllCaps: %s", pError->message); g_clear_error (&pError); } m_pUcInitials = g_regex_new ("^(?:[A-Z]{1}\\.{1}|[A-Z]{1}\\.{1}[A-Z]{1})+$", G_REGEX_DEFAULT, G_REGEX_MATCH_DEFAULT, &pError); if (!m_pUcInitials) { g_error ("Panic while initialising m_pUcInitials: %s", pError->message); g_clear_error (&pError); } m_pMacMc = g_regex_new ("^([Mm]c|MC)(\\w.+)", G_REGEX_DEFAULT, G_REGEX_MATCH_DEFAULT, &pError); if (!m_pMacMc) { g_error ("Panic while initialising m_pMacMc: %s", pError->message); g_clear_error (&pError); } } gchar* titlecase_do (gchar *sText, gboolean bSmallFirstLast) { gchar **lLines = g_regex_split_simple ("[\r\n]+", sText, G_REGEX_DEFAULT, G_REGEX_MATCH_DEFAULT); guint nLines = g_strv_length (lLines); GStrvBuilder *pProcessedBuilder = g_strv_builder_new (); for (guint nLine = 0; nLine < nLines; nLine++) { gboolean bAllCaps = g_regex_match (m_pAllCaps, lLines[nLine], G_REGEX_MATCH_DEFAULT, NULL); gchar **lWords = g_regex_split_simple ("[\t ]", lLines[nLine], G_REGEX_DEFAULT, G_REGEX_MATCH_DEFAULT); guint nWords = g_strv_length (lWords); GStrvBuilder *pLineBuilder = g_strv_builder_new (); for (guint nWord = 0; nWord < nWords; nWord++) { gchar *sWord = g_strdup (lWords[nWord]); if (bAllCaps) { gboolean bUcInitials = g_regex_match (m_pUcInitials, sWord, G_REGEX_MATCH_DEFAULT, NULL); if (bUcInitials) { gchar *sNewWord = g_strdup (sWord); g_strv_builder_add (pLineBuilder, sNewWord); continue; } } gboolean bAPosSecond = g_regex_match (m_pAPosSecond, sWord, G_REGEX_MATCH_DEFAULT, NULL); if (bAPosSecond) { gchar *sChar0 = g_utf8_substring (sWord, 0, 1); gchar *sChar1 = g_utf8_substring (sWord, 1, 1); gchar *sChar2 = g_utf8_substring (sWord, 2, 1); gchar *sRest = g_utf8_substring (sWord, 3, -1); size_t nChar0Length = strlen (sChar0); char *pFound = strstr ("aeiouAEIOU", sChar0); gchar *sNew = NULL; if (nChar0Length == 1 && !pFound) { sNew = g_utf8_strdown (sChar0, -1); } else { sNew = g_utf8_strup (sChar0, -1); } g_free (sChar0); sChar0 = g_strdup (sNew); g_free (sNew); sNew = g_utf8_strup (sChar2, -1); g_free (sChar2); sChar2 = g_strdup (sNew); g_free (sNew); sNew = g_strconcat (sChar0, sChar1, sChar2, sRest, NULL); g_strv_builder_add (pLineBuilder, sNew); g_free (sChar0); g_free (sChar1); g_free (sChar2); g_free (sRest); continue; } GMatchInfo *pInfo = NULL; gboolean bMacMc = g_regex_match (m_pMacMc, sWord, G_REGEX_MATCH_DEFAULT, &pInfo); if (bMacMc) { gchar *sGroup1 = g_match_info_fetch (pInfo, 1); gchar *sGroup2 = g_match_info_fetch (pInfo, 2); g_match_info_free (pInfo); gchar *sCapitalised = g_utf8_strup (sGroup1, -1); g_free (sGroup1); gchar *sTitleCased = titlecase_do (sGroup2, bSmallFirstLast); g_free (sGroup2); gchar *sConcat = g_strconcat (sCapitalised, sTitleCased, NULL); g_free (sCapitalised); g_free (sTitleCased); g_strv_builder_add (pLineBuilder, sConcat); continue; } g_match_info_free (pInfo); gboolean bInlinePeriod = g_regex_match (m_pInlinePeriod, sWord, G_REGEX_MATCH_DEFAULT, NULL); gboolean bUcElsewhere = g_regex_match (m_pUcElsewhere, sWord, G_REGEX_MATCH_DEFAULT, NULL); if (bInlinePeriod || (!bAllCaps && bUcElsewhere)) { gchar *sDup = g_strdup (sWord); g_strv_builder_add (pLineBuilder, sDup); continue; } gboolean bSmallWords = g_regex_match (m_pSmallWords, sWord, G_REGEX_MATCH_DEFAULT, NULL); if (bSmallWords) { gchar *sDown = g_utf8_strdown (sWord, -1); g_strv_builder_add (pLineBuilder, sDown); continue; } gchar *sSlash = g_strstr_len (sWord, -1, "/"); gchar *sDoubleSlash = g_strstr_len (sWord, -1, "//"); if (sSlash && !sDoubleSlash) { gchar **lSlashed = g_strsplit (sWord, "/", 0); guint nSlashedCount = g_strv_length (lSlashed); GStrvBuilder *pBuilder = g_strv_builder_new (); for (guint nSlashed = 0; nSlashed < nSlashedCount; nSlashed++) { gchar *sSlashed = titlecase_do (lSlashed[nSlashed], FALSE); g_strv_builder_add (pBuilder, sSlashed); } g_strfreev (lSlashed); GStrv lSlashedNew = g_strv_builder_end (pBuilder); g_strv_builder_unref (pBuilder); gchar *sSlashedNew = g_strjoinv ("/", lSlashedNew); g_strv_builder_add (pLineBuilder, sSlashedNew); g_strfreev (lSlashedNew); continue; } gchar *sHyphen = g_strstr_len (sWord, -1, "-"); if (sHyphen) { gchar **lHyphenated = g_strsplit (sWord, "-", 0); guint nHyphenatedCount = g_strv_length (lHyphenated); GStrvBuilder *pBuilder = g_strv_builder_new (); for (guint nHyphenated = 0; nHyphenated < nHyphenatedCount; nHyphenated++) { gchar *sHyphenated = titlecase_do (lHyphenated[nHyphenated], bSmallFirstLast); g_strv_builder_add (pBuilder, sHyphenated); } g_strfreev (lHyphenated); GStrv lHyphenatedNew = g_strv_builder_end (pBuilder); g_strv_builder_unref (pBuilder); gchar *sHyphenatedNew = g_strjoinv ("-", lHyphenatedNew); g_strv_builder_add (pLineBuilder, sHyphenatedNew); g_strfreev (lHyphenatedNew); continue; } if (bAllCaps) { gchar *sNewWord = g_utf8_strdown (sWord, -1); g_free (sWord); sWord = g_strdup (sNewWord); g_free (sNewWord); } gboolean bCapFirst = g_regex_match (m_pCapFirst, sWord, G_REGEX_MATCH_DEFAULT, NULL); gchar *sNewWord = NULL; if (bCapFirst) { GError *pError = NULL; sNewWord = g_regex_replace_eval (m_pCapFirst, sWord, -1, 0, G_REGEX_MATCH_DEFAULT, evalUp, NULL, &pError); if (pError) { g_error ("Panic calling evalCase: %s", pError->message); g_error_free (pError); } } else { sNewWord = g_strdup (sWord); } g_strv_builder_add (pLineBuilder, sNewWord); g_free (sWord); } g_strfreev (lWords); GStrv lWordsNew = g_strv_builder_end (pLineBuilder); g_strv_builder_unref (pLineBuilder); gchar *sResult = g_strjoinv (" ", lWordsNew); g_strfreev (lWordsNew); if (bSmallFirstLast) { gboolean bSmallFirst = g_regex_match (m_pSmallFirst, sResult, G_REGEX_MATCH_DEFAULT, NULL); if (bSmallFirst) { GError *pError = NULL; gchar *sNewResult = g_regex_replace_eval (m_pSmallFirst, sResult, -1, 0, G_REGEX_MATCH_DEFAULT, evalConcat, NULL, &pError); if (pError) { g_error ("Panic in m_pSmallFirst eval: %s", pError->message); g_error_free (pError); } g_free (sResult); sResult = g_strdup (sNewResult); g_free (sNewResult); } gboolean bSmallLast = g_regex_match (m_pSmallLast, sResult, G_REGEX_MATCH_DEFAULT, NULL); if (bSmallLast) { GError *pError = NULL; gchar *sNewResult = g_regex_replace_eval (m_pSmallLast, sResult, -1, 0, G_REGEX_MATCH_DEFAULT, evalCap, NULL, &pError); if (pError) { g_error ("Panic in m_pSmallLast eval: %s", pError->message); g_error_free (pError); } g_free (sResult); sResult = g_strdup (sNewResult); g_free (sNewResult); } } gboolean bSubphrase = g_regex_match (m_pSubphrase, sResult, G_REGEX_MATCH_DEFAULT, NULL); if (bSubphrase) { GError *pError = NULL; gchar *sNewResult = g_regex_replace_eval (m_pSubphrase, sResult, -1, 0, G_REGEX_MATCH_DEFAULT, evalConcat, NULL, &pError); if (pError) { g_error ("Panic in m_pSubphrase eval: %s", pError->message); g_error_free (pError); } g_free (sResult); sResult = g_strdup (sNewResult); g_free (sNewResult); } g_strv_builder_add (pProcessedBuilder, sResult); } g_strfreev (lLines); GStrv lProcessed = g_strv_builder_end (pProcessedBuilder); g_strv_builder_unref (pProcessedBuilder); gchar *sProcessed = g_strjoinv ("\n", lProcessed); g_strfreev (lProcessed); return sProcessed; } void titlecase_finish () { g_regex_unref (m_pSmallWords); g_regex_unref (m_pInlinePeriod); g_regex_unref (m_pUcElsewhere); g_regex_unref (m_pCapFirst); g_regex_unref (m_pSmallFirst); g_regex_unref (m_pSmallLast); g_regex_unref (m_pSubphrase); g_regex_unref (m_pAPosSecond); g_regex_unref (m_pAllCaps); g_regex_unref (m_pUcInitials); g_regex_unref (m_pMacMc); } #endif