shutdown-qapps-1.6.8/0000755000175000017500000000000012322513715014650 5ustar hakaishihakaishishutdown-qapps-1.6.8/qshutdown.qrc0000644000175000017500000000041412157032701017407 0ustar hakaishihakaishi version.txt qshutdown/src/pixmap/red_glasses.xpm qshutdown/src/pixmap/red_glasses.png shutdown-qapps-1.6.8/version.txt0000664000175000017500000000000512322456334017076 0ustar hakaishihakaishi1.6.8shutdown-qapps-1.6.8/qshutdown/0000755000175000017500000000000012322513715016704 5ustar hakaishihakaishishutdown-qapps-1.6.8/qshutdown/README0000644000175000017500000000501312157032701017560 0ustar hakaishihakaishiqshutdown INSTALL: ======== Dependencies: libqt4-dev, libqt4-dbus, build-essential If you want to install from source, open a terminal and change into this folder. To install type: qmake sudo make install distclean For admins: You can enable "parental lock" for every user if you do the following: sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/ now add the following line to the sudoers (for example with "EDITOR=nano sudo -E visudo"): * ALL = NOPASSWD:/usr/bin/qshutdown the * replaces the username or %groupname (Don't forget the % if it's a group). And one more thing: Edit the /root/.qshutdown/qshutdown.conf (after starting qshutdown once as root) and set the option Lock_all to true. If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf. UNINSTALL: ========== To uninstall type: qmake (if the Makefile has been removed) sudo make deinstall (note that ~/.qshutdown/qshutdown.conf and ~/.qshutdown/log.txt won't be removed) KNOWN ISSUES: ============= There is no system tray icon for qshutdown in Ubuntu 11.04. SOLUTION: Type the following line in a terminal: gsettings set com.canonical.Unity.Panel systray-whitelist "['all']" In case you want to use the sudo shutdown command and you have set the rights in the sudoers, but it still doesn't work, please specify your own command in the preferences and try if "sudo shutdown -hP" now works. For most systems using the Gnome Shell a certain DBus method has been removed, thus a shutdown dialog will be likely to appear if qshutdown's methods have been set to automatic or to Gnome session. If you do not want this shutdown dialog to appear, please use ConsoleKit or something else. HINTS ON USAGE: =============== One can not close qshutdown, but only quit it using the sytem tray icon (indicator) or the key combination Ctrl+Q (see shortcuts). If you want qshutdown to stop bugging you, just remove the hook from warnings on? HOTKEYS: ========== Ctrl+I information window Ctrl+Q Quit Ctrl+P Prefereces Ctrl+L write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.) Ctrl+S set to shutdown Ctrl+R set to restart Ctrl+U set to suspend to RAM Ctrl+H set to hibernate Ctrl+E stop timer (only if the countdown has started and the admin didn't restrict the access) Shift+E to edit the config file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)). shutdown-qapps-1.6.8/qshutdown/bin/0000755000175000017500000000000012322513715017454 5ustar hakaishihakaishishutdown-qapps-1.6.8/qshutdown/COPYING0000644000175000017500000010437412157032701017745 0ustar hakaishihakaishi 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 . shutdown-qapps-1.6.8/qshutdown/qshutdown.qc0000644000175000017500000000011312322453531021257 0ustar hakaishihakaishi qshutdown qshutdown.pro shutdown-qapps-1.6.8/qshutdown/NEWS0000644000175000017500000001712412322600353017403 0ustar hakaishihakaishiChanges in Release 1.6.8 ========================= - added systemctl command in "automatic" and "sudo" - complete Turkish translation - added Indonesian - added Czech Changes in Release 1.6.7 ========================= - updated Japanese translations - fixed sudo shutdown command - fixed bug relating to environment (#716194) Changes in Release 1.6.6 ========================= - revisited power.h - added welcome dialog with informations Changes in Release 1.6.5 ========================= - minor fix for the preferences, the password and the about dialog - reviewed shutdown commands - new translations for: English (Australian), Galician, Croatian, Burmese, Romanian Changes in Release 1.6.4 ========================= - new (and bigger) qshutdown symbol - many new translations - fix for intern reset: now independent from QTimer - fix for not keeping proportions at startup - fix for discarding changes and passwords when escaping preferences and password dialogs - removed version text label from the main window - added version text message to the statusbar - simplified the creation of the config file Changes in Release 1.6.3 ========================= - added advanced settings for specifying or choosing a shutdown/reboot/ suspend/hibernate command. - added checkBox for qshutdown to quit after countdown ended - added gnome-session-quit command - changed config file format - fix for enabling "hide qshudown at startup" - save and ok of the editor now updates the preferences window's settings Changes in Release 1.6.2 ========================= - replaced all qDebug(), qWarning() and qCritical() - added "About Qt" - reworked QSettings - added hideEvent and showEvent because of minimize/restore Action of the System Tray Icon Changes in Release 1.6.1 ========================= - for first start fonts weren't correctly initialized -> fixed. Changes in Release 1.6.0 ========================= - tool tips updated and new ones - new design with more features - added: "About" - new warning method: System tray icon message. - removed spacers and LCD from the source code since it's more convenient to leave this to the ui. - more precise display of the time displayed with the LCD - removed most global variables and thus restructured many functions and classes - removed qApp-quit() from Gui::finished_() -> shutdown works again under Ubuntu Natty and so on. Added Gui::saveLog() instead to resolve the problem from version 1.5.2 (instead of the solution from version 1.5.3) Changes in Release 1.5.6 ========================= - bugfix: minimize and restore button didn't work correctly on all systems. - added: more information about hotkeys (removed old ones) Changes in Release 1.5.5 ========================= - bugfix: autostart entry is written or deleted when confirming with OK. (the function was called at the wrong place) Changes in Release 1.5.4 ========================= - added: restore and minimize Button to the system tray icon (also because the left click will not work with Unity on Ubuntu). Changes in Release 1.5.3 ========================= - fixed: No log entry for shutdown events (gui.cpp -> before_quit()) - fixed: When pressing Enter in the password prompt line Edit the message box reappeared twice (passwd.cpp) Changes in Release 1.5.2 ========================= - fixed timer problem (minor). Changes in Release 1.5.1 ========================= - saving the edited configuration file will now also update the preferences window. - the editor got an additional button and won't quit after saving, if Ok hasn't been clicked. - the main window won't rise into the foreground if the calendar, the password promt or the editor is open. - removed line for minimizing Window after OK has been clicked. Changes in Release 1.5.0 ========================= - added a password gui and editor to access qshutdown.conf, removing a possible security vulnerability (in "admin mode" only). - added a button in preferences to edit qshutdown.conf - revised the way of how the autostart works and added an option to the preferences. Changes in Release 1.4.9 ========================= - fixed translation (de) for info box: qshutdown_script.sh -> qshutdown_script Changes in Release 1.4.8 ========================= Changes in Release 1.4.7 ========================= - fixed: missing line in power.cpp at hibernate() - integrated dbus command for locking screen Changes in Release 1.4.6 ========================= - simplified some calculations (gui.cpp) - removed redundant funktion starter() - added lock screen for suspend and hibernate - added option to hide qshutdown at startup if "Start countdown" is enabled. Changes in Release 1.4.5 ========================= - new path for .qm translation files - implemented UPower (for suspend and hibernate) - implemented shortcut Shift + E to edit ~/.qshutdown/qshutdown.conf with gksu(do)/kdesu(do) - revised "admin mode" (Lock_all) - made some code cleanups Changes in Release 1.4.4 ========================= - fixed: if no date was set and the clock turned 12:00 AM qshutdown stopped working because the date was intern set to the current day. - .ui files had wrong .qrc path (fixed) Changes in Release 1.4.3 ========================= - new version control - and some minor changes Changes in Release 1.3.6 ========================= - fix for timeEdit Changes in Release 1.3.4 ========================= - fix for toolButton - bugfix for spinBox Changes in Release 1.3.3 ========================= - new layout for preferences Changes in Release 1.3.2 ========================= - fixed and modified many things Changes in Release 1.3.1 ========================= - adjusted some things in the calendar widget - corrected quite a lot things - made some code cleanups Changes in Release 1.3.0 ========================= - new features: added a calendar and the changes of the font settings take immediantly effect in the main window Changes in Release 1.2.5 ========================= - bugfix: Programwindow didn't reappear when starting twice Changes in Release 1.2.4 ========================= - new feature: start countdown at startup - scrollable area for preferences Changes in Release 1.2.3 ========================= - bugfix for "Lock_all": timeEdit was not disabled at startup. - other minor changes related to Lock_all - the size of the log file is now adjustable Changes in Release 1.2.2 ========================= - "Reset settings" won't save changes directly anymore. The settings will be loaded by each showEvent. Changes in Release 1.2.1 ========================= - bug fixed: window shifted down by each show and hide event Changes in Release 1.2.0 ========================= - improved tray-icon-contextmenu - fixed shutdown/reboot/suspend/hibernate functions - replaced info message box with a QPlainTextEdit Object - added a combo box and shortcuts - qshutdown now accepts arguments - added a preferences dialog Changes in Release 1.1.0 ========================= - added tray-icon-contextmenus for shutdown/reboot/standby/hibernate - pixmap now in .xpm format - added DeviceKit in the shutdown option Changes in Release 1.0.2 ========================= - bugfix: if local time is not continual and skips certain seconds, qshutdown might have not shutdown the system or shown it self 3 times even if there were less than 70 seconds left. *now fixed* Changes in Release 1.0.1 ========================= - Initial Release shutdown-qapps-1.6.8/qshutdown/build/0000755000175000017500000000000012322513715020003 5ustar hakaishihakaishishutdown-qapps-1.6.8/qshutdown/autostart/0000755000175000017500000000000012247426006020734 5ustar hakaishihakaishishutdown-qapps-1.6.8/qshutdown/autostart/qshutdown.desktop0000644000175000017500000000021112157032701024350 0ustar hakaishihakaishi[Desktop Entry] Name=qshutdown Name[de_DE]=qshutdown Exec=qshutdown Terminal=false Type=Application Icon=red_glasses Categories=Utility; shutdown-qapps-1.6.8/qshutdown/autostart/99qshutdown0000755000175000017500000000003612157032701023072 0ustar hakaishihakaishi#!/bin/sh sudo -H qshutdown & shutdown-qapps-1.6.8/qshutdown/qshutdown.pro0000644000175000017500000000521012322600042021446 0ustar hakaishihakaishi!win32{ QT += dbus } TEMPLATE = app TARGET = bin/qshutdown DEPENDPATH = . src src/translations INCLUDEPATH = . src OBJECTS_DIR = build MOC_DIR = build UI_DIR = build RCC_DIR = build greaterThan(QT_MAJOR_VERSION, 4): QT += widgets system(lrelease qshutdown.pro) QMAKE_DISTCLEAN = src/translations/*.qm # Input HEADERS = src/gui.h src/power.h src/info.h\ src/calendar.h src/preferences.h\ src/ch_passwd.h src/passwd.h src/editor.h\ src/about.h SOURCES = src/gui.cpp src/main.cpp src/info.cpp\ src/preferences.cpp src/calendar.cpp\ src/ch_passwd.cpp src/passwd.cpp\ src/editor.cpp src/about.cpp RESOURCES = ../qshutdown.qrc TRANSLATIONS = src/translations/qshutdown-ast.ts\ src/translations/qshutdown-bg.ts\ src/translations/qshutdown-bs.ts\ src/translations/qshutdown-cs.ts\ src/translations/qshutdown-de.ts\ src/translations/qshutdown-de_DE.ts\ src/translations/qshutdown-en_AU.ts\ src/translations/qshutdown-en_GB.ts\ src/translations/qshutdown-eo.ts\ src/translations/qshutdown-es.ts\ src/translations/qshutdown-fr.ts\ src/translations/qshutdown-gl.ts\ src/translations/qshutdown-he.ts\ src/translations/qshutdown-hr.ts\ src/translations/qshutdown-id.ts\ src/translations/qshutdown-it.ts\ src/translations/qshutdown-ja.ts\ src/translations/qshutdown-ms.ts\ src/translations/qshutdown-my.ts\ src/translations/qshutdown-ro.ts\ src/translations/qshutdown-tr.ts\ src/translations/qshutdown-ug.ts\ src/translations/qshutdown-uk.ts\ src/translations/qshutdown-uz.ts\ src/translations/qshutdown-zh_CN.ts\ src/translations/qshutdown-zh_TW.ts FORMS = src/ui/gui.ui src/ui/preferences.ui\ src/ui/calendar.ui src/ui/ch_passwd.ui\ src/ui/passwd.ui src/ui/editor.ui\ src/ui/about.ui !win32{ # install target.path = /usr/bin icon.files = src/pixmap/red_glasses* icon.path = /usr/share/pixmaps translation.files = src/translations/*.qm translation.path = /usr/share/qshutdown/translations autostart1.files = autostart/qshutdown.desktop autostart1.path = /usr/share/applications autostart2.files = autostart/99qshutdown autostart2.path = /usr/share/qshutdown/autostart INSTALLS = target icon translation autostart1 autostart2 deinstall.depends = uninstall FORCE deinstall.commands = rm -R /usr/share/qshutdown QMAKE_EXTRA_TARGETS = deinstall } shutdown-qapps-1.6.8/qshutdown/src/0000755000175000017500000000000012247426006017475 5ustar hakaishihakaishishutdown-qapps-1.6.8/qshutdown/src/about.cpp0000644000175000017500000000534212157032701021312 0ustar hakaishihakaishi/* qshutdown, a program to shutdown/reboot/suspend/hibernate the system * Copyright (C) 2010-2013 Christian Metscher * 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 . */ #include "about.h" #include #include About::About(QWidget *parent): QDialog(parent){ setupUi(this); textBrowser->setOpenExternalLinks(true); textBrowser_2->setHtml(tr("

Special thanks to:

" "

Fabian Deuchler for helping here and " "there.

And Brian Nelson for " "sponsoring the uploads to Debian.

")); textBrowser->setText(tr("

qshutdown, a time and countdown based shutdown tool

" "

Author: Christian Metscher <hakaishi@web.de>

" "

Copyright © 2010-2013, by Christian Metscher

" "

" "https://launchpad.net/~hakaishi

" "

Please use https://bugs.launchpad.net/qt-shutdown-p" " or " "http://www.debian.org/Bugs/Reporting" " to report bugs.

")); //Versioning QFile versionFile(":version"); versionFile.open(QIODevice::ReadOnly | QIODevice::Text); QTextStream in(&versionFile); QString string = in.readLine(); version->setText(tr("Version ") + string); versionFile.close(); icon = QIcon(":red_glasses_image"); QPixmap pixmap = icon.pixmap(QSize(60,60), QIcon::Normal, QIcon::On); label->setPixmap(pixmap); } About::~About(){ } shutdown-qapps-1.6.8/qshutdown/src/preferences.h0000644000175000017500000000415712157032701022151 0ustar hakaishihakaishi/* qshutdown, a program to shutdown/reboot/suspend/hibernate the system * Copyright (C) 2010-2013 Christian Metscher * 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 . */ #ifndef PREFERENCES_H #define PREFERENCES_H #include "ui_preferences.h" #include #include class Preferences : public QDialog, public Ui::Preferences { Q_OBJECT public: Preferences(QWidget *parent = 0); ~Preferences(); QString fonts; QString myShutdown, myReboot, mySuspend, myHibernate; QString userDef1S, userDef2S, userDef3S, userDef4S; int fontS1, fontS2, fontS3; bool getClosed(); bool getQuitOnClose(); bool lockMyScreen; private: bool isClosed; QString file; QSettings *settings; QMessageBox *msgBox, *infoBox; private slots: void loadSettings(); void saveToConfFile(); void resetSettings(); void fontChanged(QString font); void resetFont(); void fontSize1Changed(int f1); void fontSize2Changed(int f2); void fontSize3Changed(int f3); void lockScreen(); void enableUserDef1(); void enableUserDef2(); void enableUserDef3(); void enableUserDef4(); void setFocusToUserDef(); public slots: void autostartFile(); signals: void starting(); void finishing(); void changeFont(); void editConf(); protected: virtual void showEvent(QShowEvent* show_pref); virtual void closeEvent(QCloseEvent* close_pref); }; #endif //PREFERENCES_H shutdown-qapps-1.6.8/qshutdown/src/passwd.h0000644000175000017500000000274312157032701021150 0ustar hakaishihakaishi/* qshutdown, a program to shutdown/reboot/suspend/hibernate the system * Copyright (C) 2010-2013 Christian Metscher * 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 . */ #ifndef PASSWD_H #define PASSWD_H #include "ui_passwd.h" #include #include class ChangePassword; class PassWord : public QDialog, public Ui::PassWord { Q_OBJECT public: PassWord(QWidget *parent = 0); ~PassWord(); bool getClosed(); signals: void success(); void starting(); void finishing(); private: QSettings *settings; QString file; QMessageBox *msgBox; ChangePassword *chPW; bool isClosed; private slots: void checkPW(); void update(); protected: virtual void showEvent(QShowEvent* show_pw); virtual void closeEvent(QCloseEvent* close_pw); }; #endif //PASSWD_H shutdown-qapps-1.6.8/qshutdown/src/gui.h0000644000175000017500000000646212157032701020435 0ustar hakaishihakaishi/* qshutdown, a program to shutdown/reboot/suspend/hibernate the system * Copyright (C) 2010-2013 Christian Metscher * 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 . */ #ifndef GUI_H #define GUI_H #include "ui_gui.h" #include #include #include #include #include #ifndef Q_OS_WIN32 #include #endif #define SERVICE_NAME "org.qshutdown" #define OBJECT_NAME "/org/qshutdown" class Preferences; class Info; class Calendar; class PassWord; class Editor; class About; class Gui : public QMainWindow, public Ui::Gui { Q_OBJECT // important for creating own singals and slots public: Gui(); ~Gui(); void loadSettings(); void center(); QString information; private: bool timeRunning; QPushButton *minim; QTimer *timer, *ti; QDateTime datetime; QTime localTime, futureTime, elapsedTime; QIcon icon; QSystemTrayIcon *TIcon; QMenu *menu; QActionGroup *power_actions; QAction *shutdown_action, *reboot_action, *suspend_action, *hibernate_action; QAction *minimize_restore_action, *quit_action, *reset_action, *info_action, *log_action, *pref_action; int i; //number of seconds left double bigI; //for more precise display int n; //to check if i==0 was skipped QFont *font1, *font2, *font3; double logFileSize; Preferences *pref; Info *infoBox; Calendar *cal; PassWord *checkPassword; Editor *editor; About *about; //QLabel *parentalLockL, *customL; // defining signals and slots private slots: void tray_actions(); void warnings_on(); void iconActivated(QSystemTrayIcon::ActivationReason reason); void showW(); void set(); void updateT(); void Time(); void power_action(int action); void power(QAction *action); void reset(); void finished_(); void beforeQuit(); void setInfoText(); void getFonts(); void showCalendarBox(); void setDate(); void lockEverything(bool actual); void updateLock(); void showEditor(); void staticProportions(bool var); void saveLog(); public slots: Q_SCRIPTABLE void showRunningProgram(); protected: void keyPressEvent(QKeyEvent* kEvent); virtual void closeEvent(QCloseEvent* window_close); virtual void showEvent(QShowEvent* window_show); virtual void hideEvent(QHideEvent* window_hide); }; #endif //GUI_H shutdown-qapps-1.6.8/qshutdown/src/info.h0000644000175000017500000000225712157032701020602 0ustar hakaishihakaishi/* qshutdown, a program to shutdown/reboot/suspend/hibernate the system * Copyright (C) 2010-2013 Christian Metscher * 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 . */ #ifndef INFO_H #define INFO_H #include class Info : public QTextEdit{ Q_OBJECT public: Info(QWidget *parent = 0); ~Info(); bool getClosed(); private: bool isClosed; signals: void starting(); void finishing(); protected: virtual void showEvent(QShowEvent* show_Info); virtual void closeEvent(QCloseEvent* close_Info); }; #endif //INFO_H shutdown-qapps-1.6.8/qshutdown/src/ui/0000755000175000017500000000000012247426006020112 5ustar hakaishihakaishishutdown-qapps-1.6.8/qshutdown/src/ui/passwd.ui0000644000175000017500000000470112157032701021747 0ustar hakaishihakaishi PassWord 0 0 265 114 Password :/red_glasses:/red_glasses QDialogButtonBox::Cancel|QDialogButtonBox::Ok &Set password false false Password: false QLineEdit::Password passwdLineEdit changePasswdButton buttonBox buttonBox rejected() PassWord close() 173 142 170 92 PassWord rejected() PassWord close() 132 56 132 56 shutdown-qapps-1.6.8/qshutdown/src/ui/ch_passwd.ui0000644000175000017500000000604012157032701022417 0ustar hakaishihakaishi ChangePassword 0 0 263 149 Change Password :/red_glasses:/red_glasses Qt::Horizontal QDialogButtonBox::Cancel|QDialogButtonBox::Ok Retype password: QLineEdit::Password QLineEdit::Password New password: false Old password: false QLineEdit::Password oldPasswd newPasswd retypedNewPasswd buttonBox buttonBox rejected() ChangePassword close() 316 260 286 274 ChangePassword rejected() ChangePassword close() 131 74 131 74 shutdown-qapps-1.6.8/qshutdown/src/ui/editor.ui0000644000175000017500000000257212157032701021740 0ustar hakaishihakaishi Editor 0 0 423 402 Editor :/red_glasses:/red_glasses 0 10 10 Qt::Horizontal QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::Save plainTextEdit buttonBox shutdown-qapps-1.6.8/qshutdown/src/ui/about.ui0000644000175000017500000002365312157032701021567 0ustar hakaishihakaishi About 0 0 425 424 About qshutdown :/red_glasses:/red_glasses Qt::Horizontal QDialogButtonBox::Close 60 60 0 0 0 &About true QFrame::NoFrame QFrame::Plain <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Cantarell'; font-size:11pt; font-weight:400; font-style:normal;"> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:10pt;">qshutdown, a time and countdown based shutdown tool</span></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:10pt;">Author: Christian Metscher &lt;hakaishi@web.de&gt;</span></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:10pt;">Copyright © 2010-2012, by Christian Metscher</span></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="https://launchpad.net/~hakaishi"><span style=" font-family:'Sans'; font-size:10pt; text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans';">Please use </span><a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" font-family:'Sans'; text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans';">or </span><a href="http://www.debian.org/Bugs/Reporting"><span style=" font-family:'Sans'; text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans';">to report bugs.</span></p></body></html> &Thanks To true QFrame::NoFrame QFrame::Plain <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Cantarell'; font-size:11pt; font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:10pt;">Special thanks to:</span></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"><br /></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:10pt;">Fabian Deuchler for helping here and there.</span></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:10pt;">And Brian Nelson for sponsoring the uploads to Debian.</span></p></body></html> 10 75 true Version x.x.x Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter QLabel { background: white } QFrame::StyledPanel <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> buttonBox rejected() About reject() 316 260 286 274 shutdown-qapps-1.6.8/qshutdown/src/ui/gui.ui0000644000175000017500000004317712157032701021244 0ustar hakaishihakaishi Gui 0 0 328 341 'qshutdown' :/red_glasses:/red_glasses 0 0 QFrame::Panel QFrame::Raised 3 0 0 QFrame::Box QFrame::Sunken 1 6 2 2 Minutes till shutdown: false 1 1 1 1 1 1440 1 1 2 2 Shutdown-time: 1 1 Qt::RightToLeft true 1 1 Qt::RightToLeft true 2 2 QComboBox::AdjustToContentsOnFirstShow Shutdown Reboot Suspend Hibernate 1 1 You can set a date in the calendar Calendar 0 0 Lock settings after countdown started &Lock after start? 0 0 1 1 Turns on/off all warnings &Warnings on? 15 0 Qt::Horizontal 40 45 0 0 0 30 minutes 0 0 2 4 QLCDNumber::Flat 15 0 0 1 &OK true false Qt::Horizontal QSizePolicy::Preferred 40 10 Qt::Horizontal QSizePolicy::Preferred 40 10 Qt::Horizontal QSizePolicy::Preferred 40 10 0 0 &Now! true 0 0 328 25 &File &Help &Settings &Quit &Info &About &Preferences &Settings false &Reset true &Logfile &Configure true true &Keep proportions About &Qt ok lock warnings comboBox toolButton radio1 timeEdit radio2 spin now timeEdit editingFinished() ok setFocus() 255 101 162 271 spin editingFinished() ok setFocus() 255 135 162 271 radio2 toggled(bool) spin setEnabled(bool) 198 135 255 135 radio1 toggled(bool) timeEdit setEnabled(bool) 198 101 255 101 shutdown-qapps-1.6.8/qshutdown/src/ui/preferences.ui0000644000175000017500000005514312157032701022755 0ustar hakaishihakaishi Preferences 0 0 413 708 Preferences :/red_glasses:/red_glasses &Edit configuration file Qt::Horizontal QDialogButtonBox::Cancel|QDialogButtonBox::Ok Qt::Vertical QSizePolicy::Minimum 20 20 0 0 &Reset settings 0 General true Qt::AlignCenter 0 -53 357 568 0 0 6 0 0 2 Shutdown type: Qt::LeftToRight Target time: Minutes to countdown: Font: Font size 1: Font size 2: Font size 3: Size for log file: What target time should be displayed by default at startup? How many minutes should be displayed for countdown by default at startup? 1 1440 1 1 0 0 Set a font Liberation Serif Labels for example 6 OK and Minimize buttons 6 checkboxes and "now!" button 6 6 true Size for log file in KB 1 1.000000000000000 0.100000000000000 0 0 What should be displayed first by default at startup? QComboBox::AdjustToContentsOnFirstShow Shutdown Reboot Suspend Hibernate 4 The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. &Disable hiding Enable the &target time at startup true Enable the minute &countdown at startup A&utostart Set if the checkbox for "Lock after start?" should be checked by default at startup "&Lock after start?" Set if the checkbox for "Warnings on?" should be checked by default at startup "&Warnings on?" &Start countdown at startup false Hide qshutdown at startup if "Start countdown" is checked. &Hide qshutdown at startup Log start time of qshutdown and how long it was running L&ogging Lock screen &for suspend and hibernate Advanced automatic Gnome session KDE session HAL ConsoleKit sudo shutdown -P user defined false Suspend method: automatic Gnome session KDE session HAL ConsoleKit sudo shutdown -r user defined Hibernate method: Shutdown method: automatic Gnome session HAL UPower DeviceKit user defined false Qt::ScrollBarAlwaysOff automatic Gnome session HAL UPower DeviceKit user defined Reboot method: false false Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. Quit qshutdown after countdown ended? reset confEditButton buttonBox buttonBox rejected() Preferences close() 432 631 286 274 countdown toggled(bool) hideMe setEnabled(bool) 206 455 206 481 Preferences rejected() Preferences close() 206 341 206 341 buttonBox accepted() Preferences accept() 265 683 206 353 shutdown-qapps-1.6.8/qshutdown/src/ui/calendar.ui0000644000175000017500000000350312157032701022216 0ustar hakaishihakaishi Calendar 0 0 256 207 Calendar :/red_glasses:/red_glasses QFormLayout::AllNonFixedFieldsGrow Qt::Horizontal QDialogButtonBox::Cancel|QDialogButtonBox::Ok buttonBox accepted() Calendar close() 248 254 157 274 buttonBox rejected() Calendar close() 316 260 286 274 shutdown-qapps-1.6.8/qshutdown/src/translations/0000755000175000017500000000000012322577645022230 5ustar hakaishihakaishishutdown-qapps-1.6.8/qshutdown/src/translations/qshutdown-fr.ts0000644000175000017500000007167212177130371025243 0ustar hakaishihakaishi About About qshutdown À propos de qshutdown Version Version &About À &propos &Thanks To &Remerciements <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <p ><span style=" font-size:18pt;">qshutdown</span><br /><span style=" font-size:12pt;">Utilise Qt</span></p> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian.</p> <p >Remerciements spéciaux à:<br /></p><p >Fabian Deuchler pour son aide ici et là.<br /><br />Brian Nelson pour sponsoriser qshutdown dans Debian.<br /></p><p >Traducteurs pour le français: Baptiste Fontaine, Mathieu MD et Nicolas Delvaux.</p> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> <p >qshutdown, un outil d'extinction à base de comptes à rebours</p><p >Auteur: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, par Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Merci d'utiliser <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> ou <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> pour signaler des anomalies.</p> Calendar Calendar Calendrier ChangePassword Change Password Changer de mot de passe Retype password: Ressaisissez le mot de passe: New password: Nouveau mot de passe: Old password: Ancien mot de passe: The current password is not correct! Le mot de passe est incorrect! The retyped password doesn't match! Les mots de passe ne correspondent pas! Editor Editor Éditeur Gui &Minimize! &Réduire! Shutdown-time: Heure d'arrêt: Minutes till shutdown: Minutes avant l'extinction: Reboot-time: Heure de redémarrage: Minutes till reboot: Minutes avant le redémarrage: Suspend-time: Heure de mise en veille: Minutes till suspend: Minutes avant mise en veille: Hibernate-time: Heure d'hibernation: Minutes till hibernate: Minutes avant l'hibernation: shutdown in Extinction dans reboot in Redémarrage dans suspend in Mise en veille dans hibernate in Hibernation dans years ans months mois hours heures days jours Res&tore Res&taurer &Minimize &Minimiser day jour minutes minutes seconds secondes Shutdown Arrêter Reboot Redémarrer Suspend Mettre en veille Hibernate Hiberner &Lock after start? Verroui&ller après le démarrage? &Warnings on? Acti&ver les alertes? &Now! &Maintenant! You can set a date in the calendar Vous pouvez choisir une date dans le calendrier &OK &OK R&eset Réinitialis&er &Quit &Quitter &Info &Info &Logfile Fichier journa&l &Preferences &Préférences &Shutdown &Éteindre &Reboot &Redémarrer S&uspend Mettre en &veille &Hibernate &Hiberner Lock settings after countdown started Verrouiller les paramètres après le début du compte à rebours Calendar Calendrier &File &Fichier &Help &Aide &Settings &Paramêtres &About À &propos &Reset &Réinitialiser &Configure &Configuration &Keep proportions Conserver les &proportions Warning Avertissement Action imminent! Action imminente! Information Information Countdown is not running! Le compte à rebours n'est pas lancé! Turns on/off all warnings Activer ou non les alertes About &Qt À propos de &Qt Version Version Info Info Info PassWord Password Mot de passe &Set password &Définir le mot de passe Password: Mot de passe: The password is not correct! Le mot de passe est incorrect! &Change password &Changer le mot de passe Preferences Preferences Préférences Enable the &target time at startup Sélec&tionner le mode «heure cible» au démarrage Shutdown Extinction Shutdown type: Type d'extinction: Target time: Heure cible: Minutes to countdown: Minutes à décompter: Font: Police de caractère: Font size 1: Taille de police 1: Font size 2: Taille de police 2: Font size 3: Taille de police 3: Size for log file: Taille du journal: Reboot Redémarrer Suspend Mise en veille Hibernate Hibernation A&utostart Lancement a&utomatique &Hide qshutdown at startup Cac&her qshutdown au lancement Lock screen &for suspend and hibernate &Verrouiller l'écran pour la mise en veille et l'hibernation &Edit configuration file Édit&er le fichier de configuration Enable the minute &countdown at startup Séle&ctionner le mode «minuterie» au démarrage &Reset settings &Réinitialiser la configuration Size for log file in KB Taille du journal (en Ko) "&Lock after start?" «Verroui&ller après le démarrage?» "&Warnings on?" «Acti&ver les alertes?» Log start time of qshutdown and how long it was running Journalise l'heure de démarrage de qshutdown et son temps d'activité L&ogging &Journalisation checkboxes and "now!" button Cases à cocher et boutton «Maintenant!» OK and Minimize buttons Boutons OK et Minimiser Labels for example Libellés (entre autre) Set a font Sélectionnez une police de caractère What target time should be displayed by default at startup? Quelle heure cible doit être sélectionnée par défaut au démarrage? How many minutes should be displayed for countdown by default at startup? Combien de minutes de compte à rebours doivent-être sélectionnées par défaut au démarrage? What should be displayed first by default at startup? Quelle doit être l'option sélectionnée par défaut au démarrage? Set if the checkbox for "Lock after start?" should be checked by default at startup Définit si la case «Verrouiller après démarrage?» doit être cochée par défaut au démarrage Set if the checkbox for "Warnings on?" should be checked by default at startup Définit si la case «Activer les alertes?» doit être cochée par défaut au démarrage. The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. Par défaut, le bouton de fermeture permet de masquer la fenêtre principale. Cette option permet de désactiver ce comportement. &Disable hiding &Désactiver le masquage General Générale Advanced Avancée Suspend method: Méthode de mise en veille: automatic automatique user defined Définit par l'utilisateur Hibernate method: Méthode d'hibernation: Shutdown method: Méthode d'extinction: Reboot method: Méthode de redémarrage: Please input an user specified command for suspend here Saisissez ici une commande spécifique pour la mise en veille Gnome session Gnome session KDE session KDE session Please input an user specified command for shutdown here Saisissez ici une commande spécifique pour l'extinction Please input an user specified command for reboot here Saisissez ici une commande spécifique pour le redémarrage Please input an user specified command for hibernate here Saisissez ici une commande spécifique pour l'hibernation Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. Certains systèmes peuvent bloquer, par exemple, l'extinction car qshutdown est toujours en cours de fonctionnement. Cette option définit si qshutdown doit se fermer après la fin du compte à rebours. Quit qshutdown after countdown ended? Quitter qshutdown après la fin du compte à rebours? &Start countdown at startup Démarrer le compte à rebour&s au démarrage Hide qshutdown at startup if "Start countdown" is checked. Masquer qshutdown au démarrage si «Démarrer le compte à rebours au démarrage» est sélectionné. The File "%1" is not writable! Maybe you just don't have the permissions to do so. Le fichier «%1» n'est pas accessible en écriture! Il vous manque peut-être juste les droits correspondants. Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Error Erreur Please read this carefully! Veuillez lire ceci avec attention ! QObject qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> qshutdown affichera 3 avertissements durant les 70 dernières secondes du compte à rebours.<br/><br/>Ce programme utilise qdbus pour envoyer des requêtes d'extinction/redémarrage/mise en veille/hibernation à, au choix, gnome- ou kde- session-manager, HAL, ConsoleKit, DeviceKit ou UPower. Si aucun des précédents ne fonctionne, la commande «sudo shutdown» sera utilisée (notez que lors de l'envoi de la requête d'extinction à HAL ou ConsoleKit ou lorsque la commande «shutdown» est utilisée, la session ne sera jamais sauvegardée. Si la commande «shutdown» est utilisée, seule l'extinction et le redémarrage seront disponibles). Par conséquent, si rien ne se passe après la fin du compte à rebours, cela signifie que l'utilisateur courant n'a pas le droit d'utiliser la commande «shutdown». Dans ce cas, vous pouvez suivre la procédure suivante:<br/><br/>Copiez ce qui suit dans un terminal:<pre>EDITOR=nano sudo -E visudo</pre> et ajoutez cette ligne:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre> en remplaçant «*» par le nom de l'utilisateur ou du groupe.<br/><br/>Le nombre maximum de minutes par compte à rebours est 1440 (soit 24 heures).<br/>Sous Linux/Unix, le fichier de configuration (ainsi que le journal) est situé dans <i>~/.qshutdown/</i>.<br/><br/><b>Pour les administrateurs:</b><br/>Si vous souhaitez que qshutdown fonctionne avec le «verrou parental» pour tous les utilisateurs, vous pouvez exécuter «sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/» et affecter l'option «Lock_all» à «true» dans /root/.qshutdown/qshutdown.conf. Notez que qshutdown doit-être lancé au moins une fois afin de générer le fichier qshudown.conf. Il est également nécessaire d'ajouter la ligne suivante au fichier «sudoer» (comme expliqué ci-dessus):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>Si vous avez oublié votre mot de passe, supprimez simplement la ligne commençant par «Password» dans qshutdown.conf.<br/><br/><b>Astuce:</b><br/>Si vous voulez que qshutdown arrête de vous déranger, décochez simplement la case «Activer les alertes?».<br/><br/><b>Raccourcis clavier:</b><table border="1"><tr><td>Ctrl+I</td><td>Afficher cette fenêtre</td></tr><tr><td>Ctrl+Q</td><td>Quitter</td></tr><tr><td>Ctrl+P</td><td>Préférences</td></tr><tr><td>Ctrl+L</td><td>Écrire le temps d'utilisation dans le journal lorsque qshutdown quittera (pour rendre ce comportement permanent, rendez-vous dans les préférences).</td></tr><tr><td>Ctrl+S</td><td>Sélectionner l'extinction</td></tr><tr><td>Ctrl+R</td><td>Sélectionner le redémarrage</td></tr><tr><td>Ctrl+U</td><td>Sélectionner la mise en veille</td></tr><tr><td>Ctrl+H</td><td>Sélectionner l'hibernation</td></tr><tr><td>Ctrl+E</td><td>Arrêter le compte à rebours (si celui-ci est en route et si l'administrateur n'a pas restreint l'accès)</td></tr><tr><td>Maj+E</td><td>Éditer le fichier de configuration (un mot de passe sera nécessaire. Si vous n'êtes qu'un simple utilisateur, vous pouvez utiliser un mot de passe vide).</td></tr></table> shutdown-qapps-1.6.8/qshutdown/src/translations/qshutdown-bs.ts0000644000175000017500000007523712157032701025235 0ustar hakaishihakaishi About About qshutdown O qshutdownu Version Verzija &About O progr&amu &Thanks To &Zahvaljujemo <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">koristi Qt</span></p> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian.</p> <p >Posebno se zahvaljujemo sljedećim osobama:<br /></p><p >Fabianu Deuchleru za pomoć oko raznih problema,<br /><br />Brianu Nelsonu za sponzorisanje dodavanja paketa u Debian.<br /><br />Prevodilac: Kenan Dervišević</p> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> <p >qshutdown, alat za odgođeno gašenje računara</p><p >Autor: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Sva prava zadržana &copy; 2010-2013, Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Molimo vas da koristite <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> ili <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> za prijavu grešaka.</p> Calendar Calendar Kalendar ChangePassword Change Password Promijeni šifru Retype password: Ponovo upišite šifru: New password: Nova šifra: Old password: Stara šifra: The current password is not correct! Trenutna šifra nije tačna! The retyped password doesn't match! Ponovljena šifra se ne poklapa! Editor Editor Uređivač Gui &Minimize! &Minimiziraj! Shutdown-time: Vrijeme gašenja: Minutes till shutdown: Br. minuta do gašenja: Reboot-time: Vrijeme ponovnog pokretanja: Minutes till reboot: Br. minuta do ponovnog pokretanja: Suspend-time: Vrijeme suspendovanja: Minutes till suspend: Br. minuta do suspendovanja: Hibernate-time: Vrijeme hibernacije: Minutes till hibernate: Br. minuta do hibernacije: shutdown in gašenja za reboot in ponovno pokretanje za suspend in suspendovanje za hibernate in hibernacija za years godina months mjeseci hours sati days dana Res&tore &Obnovi &Minimize &Minimiziraj day dan minutes minuta seconds sekundi Shutdown Ugasi Reboot Ponovo pokreni Suspend Suspenduj Hibernate Hibernacija &Lock after start? &Zaključati nakon pokretanja? &Warnings on? &Uključiti upozorenja? &Now! &Odmah! You can set a date in the calendar Datum možete postaviti u kalendaru &OK &U redu R&eset &Resetuj &Quit &Izlaz &Info &Info &Logfile &Izvještaji &Preferences &Postavke &Shutdown &Gašenje &Reboot &Ponovo pokreni S&uspend S&uspendovanje &Hibernate &Hibernacija Lock settings after countdown started Zaključaj postavke nakon što se pokrene brojač Calendar Kalendar &File &Datoteka &Help &Pomoć &Settings &Postavke &About O progr&amu &Reset &Resetuj &Configure &Podesi &Keep proportions &Zadrži proporcije Warning Upozorenje Action imminent! Akcija je neizbježna! Information Informacije Countdown is not running! Brojač nije pokrenut! Turns on/off all warnings Uključuje/Isključuje sva upozorenja About &Qt O &Qt-u Version Verzija Info Info Info PassWord Password Šifra &Set password &Postavi šifru Password: Šifra: The password is not correct! Ova šifra nije tačna! &Change password &Promijeni šifru Preferences Preferences Podešavanja Enable the &target time at startup Omogućava &željeno vrijeme pri pokretanju Shutdown Ugasi Shutdown type: Vrsta gašenja: Target time: Željeno vrijeme: Minutes to countdown: Br. minuta do odbrojavanja: Font: Font: Font size 1: Font veličina 1: Font size 2: Font veličina 2: Font size 3: Font veličina 3: Size for log file: Veličina datoteke izvještaja: Reboot Ponovo pokreni Suspend Suspendovanje Hibernate Hibernacija A&utostart A&utomatsko pokretanje &Hide qshutdown at startup &Sakrij qshutdowm pri pokretanju Lock screen &for suspend and hibernate Zaključaj ekran &za suspendovanje i hibernaciju &Edit configuration file &Uredi konfiguracijsku datoteku Enable the minute &countdown at startup &Omogući minutno &odbrojavanje pri pokretanju &Reset settings &Resetujpostavke Size for log file in KB Veličina izvještaja u KB "&Lock after start?" "&Zaključati pri pokretanju?" "&Warnings on?" "&Uključiti upozorenja?" Log start time of qshutdown and how long it was running Bilježi vrijeme pokretanja za qshutdown i vrijeme u kojem je bio pokrenut L&ogging I&zvještavanje checkboxes and "now!" button potvđivanje i dugme "odmah!" OK and Minimize buttons OK i dugme za minimiziranje Labels for example Npr. natpisi Set a font Postavite font What target time should be displayed by default at startup? Koje željeno vrijeme bi trebalo da bude prikazano pri pokretanju? How many minutes should be displayed for countdown by default at startup? Koliko minuta za brojač bi trebalo biti prikazano pri pokretanju? What should be displayed first by default at startup? Šta se prvo treba prikazati pri pokretanju? Set if the checkbox for "Lock after start?" should be checked by default at startup Da li će "Zaključati nakon pokretanja?" biti odabrano kao početna opcija Set if the checkbox for "Warnings on?" should be checked by default at startup Da li će "Uključiti upozorenja?" biti odabrano kao početna opcija The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. Dugme za zatvaranje obično sakriva glavni prozor. Onemogućavanje sakrivanja znači da će se qshutdown onda zatvoriti. &Disable hiding &Onemogući sakrivanje General Općenito Advanced Napredno Suspend method: Metoda suspendovanja: automatic automatski user defined korisnički definisano Hibernate method: Metoda hibernacije: Shutdown method: Metoda gašenja: Reboot method: Metoda ponovnog pokretanja: Please input an user specified command for suspend here Molimo vas da ovdje upišete korisničku komandu za suspendovanje Gnome session Gnome sesija KDE session KDE sesija Please input an user specified command for shutdown here Molimo vas da ovdje upišete korisničku komandu za gašenje Please input an user specified command for reboot here Molimo vas da ovdje upišete korisničku komandu za ponovno pokretanje Please input an user specified command for hibernate here Molimo vas da ovdje upišete korisničku komandu za hibernaciju Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. Neki sistemi blokiraju gašenje zbog toga što je qshutdown pokrenut. Možete postaviti opciju da se qshutdown zatvori nakon što se odbrojavanje završi. Quit qshutdown after countdown ended? Zatvoriti qshutdown nakon što se odbrojavanje završi? &Start countdown at startup &Pokreni brojač pri pokretanju Hide qshutdown at startup if "Start countdown" is checked. Sakrij qshutdown pri pokretanju ako je "Pokreni brojač" označeno. The File "%1" is not writable! Maybe you just don't have the permissions to do so. U datoteku "%1" se ne može zapisivati! Možda nemate potrebnu dozvolu za zapisivanje. Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Dobro došli u qshutdown! Ako želite da qshutdown vrši gašenje vašeg sistema a koristite Gnome Shell, onda je vrlo vjerovatno da će vam se tamo prikazati dijaloški okvir. Ako želite izvršiti direktno gašenje, onda vas molimo da otvorite opcije i podesite metodu gašenja na ConsoleKit ili nešto drugo. Prijave i primjedbe za greške i prijevode možete izvršiti na https://launchpad.net/~hakaishi Error Greška Please read this carefully! Molimo vas da ovo pažljivo pročitate! QObject qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> qshutdown će se prikazati tri puta kao upozorenje ako je ostalo manje od 70 sekundi do gašenja.<br/><br/>Ovaj program koristi qdbus da pošalje zahtjev za gašenje/ponovno pokretanje/suspendovanje/hibernaciju za gnome- ili kde-session-manager, za HAL/ConsoleKit/DeviceKit/UPower i, ako nijedan od ovih zahtjeva ne uspije, koristit će se 'sudo shutdown' (napomena: prilikom slanja zahtjeva na HAL ili ConsoleKit ili kada se koristi komanda za gašenje, sesija nikada neće biti sačuvana. Ako se koristi komanda za gašenje, program će samo moći da izvrši gašenje ili ponovno pokretanje). Ako se ništa ne dogodi u željenom vremenu gašenja ili ponovnog pokretanja, to znači da nemate potrebne dozvole za izvršavanje komande za gašenje. U ovom slučaju možete uraditi sljedeće:<br/><br/>Zalijepite sljedeću komandu u terminal:<pre>EDITOR=nano sudo -E visudo</pre>i dodajte ovu liniju:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>gdje * mijenja ime korisnika ili %grupe.<br/><br/>Maksimalan broj za brojač je 1440 (24 sata).<br/>Konfiguracijska datoteka (i izvještaj) je locirana u <i>~/.qshutdown/</i> (za Linux/Unix).<br/><br/><b>Za administratore:</b><br/>Ako želite pokretati qshutdown zaključan za svakog korisnika, koristite komandu "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" i postavite opciju Lock_all u /root/.qshutdown/qshutdown.conf na true. qshutdown se mora pokrenuti barem jednom da bi generisao qshutdown.conf. Dalje, potrebno je dodati sljedeću liniju u sudoers (kao i u prethodnom slučaju):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>Ako ikada zaboravite vašu šifru, jednostavno obrišite cijelu liniju koja počinje sa "Password" u datoteci qshutdown.conf.<br/><br/><b>Napomene o korištenju:</b><br/>Ako želite da vas qshutdown prestane stalno obavještavati, jednostavno isključite "Uključiti upozorenja?".<br/><br/><b>Prečice:</b><table border="1"><tr><td>Ctrl+I</td><td>(ovaj) informacijski prozor</td></tr><tr><td>Ctrl+Q</td><td>Izlaz</td></tr><tr><td>Ctrl+P</td><td>Postavke</td></tr><tr><td>Ctrl+L</td><td>zapiši ukupno trajanje izvršavanja jednom u izvještaj (radi jedino ako se qshutdown zatvori. Za trajnu postavku ove opcije, aktivirajte je u postavkama.)</td></tr><tr><td>Ctrl+S</td><td>postavka gašenja</td></tr><tr><td>Ctrl+R</td><td>postavka ponovnog pokretanja</td></tr><tr><td>Ctrl+U</td><td>postavka suspendovanja u RAM</td></tr><tr><td>Ctrl+H</td><td>postavka hibernacije</td></tr><tr><td>Ctrl+E</td><td>zaustavi odbrojavanje (u slučaju da je brojač pokrenut a administrator nije ograničio pristup)</td></tr><tr><td>Shift+E</td><td>uređivanje konfiguracijske datoteke (za ovo je neophodna šifra. Ako ste vi korisnik, možete postaviti "praznu šifru" (ostavite polje za šifru prazno)).</td></tr></table> shutdown-qapps-1.6.8/qshutdown/src/translations/qshutdown-it.ts0000644000175000017500000007473112157032701025243 0ustar hakaishihakaishi About About qshutdown Informazioni su qshutdown Version Versione &About &Informazioni su &Thanks To &Grazie a <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Uso di Qt</span></p> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian.</p> <p >Un ringraziamento speciale a:<br /></p><p >Fabian Deuchler per il suo aiuto un po' ovunque.<br /><br />E Brian Nelson per aver favorito i caricamenti in Debian.<br /><br />Translator: Valter Mura</p> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> <p >qshutdown, uno strumento di spegnimento a tempo</p><p >Autore: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Per la segnalazione di errori, usare <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> o <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a></p> Calendar Calendar Calendario ChangePassword Change Password Cambia password Retype password: Digitare nuovamente la password: New password: Nuova password: Old password: Vecchia password: The current password is not correct! L'attuale password non è corretta! The retyped password doesn't match! Le password non corrispondono. Editor Editor Editor Gui &Minimize! &Minimizza! Shutdown-time: Tempo di spegnimento: Minutes till shutdown: Minuti allo spegnimento: Reboot-time: Tempo di riavvio: Minutes till reboot: Minuti al riavvio: Suspend-time: Tempo di sospensione: Minutes till suspend: Minuti alla sospensione: Hibernate-time: Tempo di ibernazione: Minutes till hibernate: Minuti all'ibernazione: shutdown in spegnimento in reboot in riavvio in suspend in sospensione in hibernate in ibernazione in years anni months mesi hours ore days giorni Res&tore Ripris&tina &Minimize &Minimizza day giorno minutes minuti seconds secondi Shutdown Spegni Reboot Riavvia Suspend Sospendi Hibernate Iberna &Lock after start? &Bloccare dopo l'avvio? &Warnings on? Mostrare &avvisi? &Now! &Ora! You can set a date in the calendar È possibile impostare una data nel calendario &OK &OK R&eset Azz&era &Quit &Esci &Info &Informazioni &Logfile File &registro &Preferences &Preferenze &Shutdown &Spegni &Reboot &Riavvia S&uspend S&ospendi &Hibernate &Iberna Lock settings after countdown started Blocca le impostazioni dopo che il conto alla rovescia è iniziato Calendar Calendario &File &File &Help Ai&uto &Settings Imp&ostazioni &About &Informazioni su &Reset &Azzera &Configure &Configura &Keep proportions &Mantieni proporzioni Warning Avviso Action imminent! Azione imminente! Information Informazione Countdown is not running! Il conto alla rovescia non è avviato! Turns on/off all warnings Attiva/disattiva tutti gli avvisi About &Qt Informazioni su &Qt Version Versione Info Info Informazioni PassWord Password Password &Set password &Imposta password Password: Password: The password is not correct! La password è sbagliata! &Change password &Cambia password Preferences Preferences Preferenze Enable the &target time at startup Abilita il tempo &prestabilito all'avvio Shutdown Spegni Shutdown type: Tipo di spegnimento: Target time: Tempo prestabilito: Minutes to countdown: Minuti del conto alla rovescia: Font: Carattere: Font size 1: Dimensione car. 1: Font size 2: Dimensione car. 2: Font size 3: Dimensione car. 3: Size for log file: Dimensione file registro: Reboot Riavvia Suspend Sospendi Hibernate Iberna A&utostart Avvio a&utomatico &Hide qshutdown at startup &Nascondi qshutdown all'avvio Lock screen &for suspend and hibernate &Blocca schermo in sospensione e ibernazione &Edit configuration file &Modifica file di configurazione Enable the minute &countdown at startup Abilita il &conto alla rovescia all'avvio &Reset settings A&zzera impostazioni Size for log file in KB Dimensione in KB del file registro "&Lock after start?" «&Bloccare dopo l'avvio?» "&Warnings on?" «Mostrare a&vvisi?» Log start time of qshutdown and how long it was running Ora di avvio del registro di qshutdown e sua durata L&ogging &Registro checkboxes and "now!" button Caselle di selezione e pulsante «Ora!» OK and Minimize buttons Pulsanti OK e Minimizza Labels for example Didascalie per gli esempi Set a font Imposta un carattere What target time should be displayed by default at startup? Che tempo predefinito deve essere visualizzato all'avvio? How many minutes should be displayed for countdown by default at startup? Quanti minuti predefiniti devono essere visualizzati per il conto alla rovescia all'avvio? What should be displayed first by default at startup? Cosa deve essere visualizzato per primo all'avvio? Set if the checkbox for "Lock after start?" should be checked by default at startup Scegliere se la casella «Blocco dopo l'avvio?» deve essere attivata in modo predefinito all'avvio Set if the checkbox for "Warnings on?" should be checked by default at startup Scegliere se la casella «Mostro avvisi?» deve essere attivata in modo predefinito all'avvio The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. Il pulsante Chiudi in genere nasconde la finestra principale. Disabilitare l'opzione «Nascondi» significa invece che qshutdown verrà chiuso. &Disable hiding &Disabilita «Nascondi» General Generali Advanced Avanzate Suspend method: Metodo di sospensione: automatic automatico user defined definito dall'utente Hibernate method: Metodo di ibernazione: Shutdown method: Metodo di spegnimento: Reboot method: Metodo di riavvio: Please input an user specified command for suspend here Inserire qui il comando specificato dall'utente per la sospensione Gnome session Sessione Gnome KDE session Sessione KDE Please input an user specified command for shutdown here Inserire qui il comando specificato dall'utente per lo spegnimento Please input an user specified command for reboot here Inserire qui il comando specificato dall'utente per il riavvio Please input an user specified command for hibernate here Inserire qui il comando specificato dall'utente per l'ibernazione Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. Alcuni sistemi bloccano lo spegnimento, per esempio se qshutdown è ancora in esecuzione. Impostare un collegamento in modo che qshutdown termini dopo aver concluso il conto alla rovescia. Quit qshutdown after countdown ended? Terminare qshutdown dopo che il conto alla rovescia è concluso? &Start countdown at startup &Avvia il conto alla rovescia all'avvio Hide qshutdown at startup if "Start countdown" is checked. Nasconde qshutdown all'avvio se «Avvia conto alla rovescia» è selezionato. The File "%1" is not writable! Maybe you just don't have the permissions to do so. Il file «%1» non è scrivibile! Forse non si hanno i permessi per eseguire l'operazione. Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Error Errore Please read this carefully! QObject qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> qshutdown apparirà tre volte come avviso se sono rimasti meno di 70 secondi.<br/><br/>Questo programma utilizza qdbus per inviare una richiesta di spegnimento/riavvio/sospensione/ibernazione al gestore di sessione gnome o kde, a HAL/ConsoleKit/DeviceKit/UPower e, se nessuno di questi funziona, verrà utilizzato il comando 'sudo shutdown' (nota che quando viene inviata la richiesta di spegnimento a HAL o ConsoleKit, o viene utilizzato il comando 'shutdown', la sessione non verrà mai salvata. Se viene utilizzato il comando di spegnimento, il programma sarà in grado solo di spegnere e riavviare). Se, dunque, non accade nulla quando viene raggiunto il tempo di spegnimento o riavvio, significa che l'utente non possiede i diritti per il comando di spegnimento. In questo caso eseguire la seguente procedura:<br/><br/>Incollare nel terminale il seguente comando:<pre>EDITOR=nano sudo -E visudo</pre>e aggiungere questa riga:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>dove * sostituisce il nome utente o il %nome_gruppo.<br/><br/>Il numero massimo di minuti per il conto alla rovescia è 1440 (24 ore).<br/>Il file di configurazione (e di registro) si trova in <i>~/.qshutdown/</i> (sotto Linux/Unix).<br/><br/><b>Per gli amministratori:</b><br/>se si vuole avviare qshutdown con «blocco parentale» globale, è possibile eseguire «sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/» e impostare a «true» l'opzione «Lock_all» in /root/.qshutdown/qshutdown.conf. Notare che qshutdown deve avviarsi almeno una volta per generare il file qshutdown.conf. Inoltre, bisogna aggiungere la seguente riga ai comandi sudo (di cui sopra):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>Se ci si dovesse scordare di impostare la password impostata, rimuovere manualmente l'intera riga che inizia con «Password» dal file qshutdown.conf.<br/><br/><b>Suggerimenti per l'uso:</b><br/>Se si desidera che qshutdown smetta di «annoiare» con avvisi, rimuovere semplicemente il collegamento da «Mostrare avvisi?».<br/><br/><b>Combinazioni da tastiera:</b><table border="1"><tr><td>Ctrl+I</td><td>(questa) finestra informativa</td></tr><tr><td>Ctrl+Q</td><td>Esci</td></tr><tr><td>Ctrl+P</td><td>Preferenze</td></tr><tr><td>Ctrl+L</td><td>scrive il tempo di avvio nel file di registro (funziona solo se si esce da qshutdown. Per renderlo permanente, impostarlo nelle preferenze).</td></tr><tr><td>Ctrl+S</td><td>imposta a spegnimento</td></tr><tr><td>Ctrl+R</td><td>imposta a riavvio</td></tr><tr><td>Ctrl+U</td><td>imposta a sospensione in RAM</td></tr><tr><td>Ctrl+H</td><td>imposta a ibernazione</td></tr><tr><td>Ctrl+E</td><td>ferma il conto alla rovescia (solo se esso è stato avviato e l'amministratore non ha eseguito restrizioni di accesso)</td></tr><tr><td>Shift+E</td><td>per modificare il file di configurazione (per fare questo è necessaria una password. Se si è un utente, è possibile impostare una «password vuota» (lasciare vuoto il campo della password)).</td></tr></table> shutdown-qapps-1.6.8/qshutdown/src/translations/qshutdown-zh_CN.ts0000644000175000017500000007250612157032701025626 0ustar hakaishihakaishi About About qshutdown 关于 qshutdown Version 版本 &About 关于(&A) &Thanks To 感谢(&T) <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">使用 Qt</span></p> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian.</p> <p >特别感谢:<br /></p><p >Fabian Deuchler 的多处帮助。<br /><br />以及 Brian Nelson 协助上传到 Debian。<br /><br />翻译者: Wang Dianjin, Aron Xu, Wylmer Wang</p> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> <p>qshutdown,一款基于时间和倒计时的关机工具</p><p>作者:Christian Metscher &lt;hakaishi@web.de&gt;</p><p>版权所有 &copy; 2010-2013, Christian Metscher</p><p><a href="https://launchpad.net/~hakaishi"> <span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p>请使用 <a href="https://bugs.launchpad.net/qt-shutdown-p"> <span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> 或 <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> 来报告故障。</p> Calendar Calendar 日历 ChangePassword Change Password 更改密码 Retype password: 再输入一次密码: New password: 新密码: Old password: 旧密码: The current password is not correct! 当前密码不正确! The retyped password doesn't match! 重新输入的密码不匹配! Editor Editor 编辑器 Gui &Minimize! 最小化(&M)! Shutdown-time: 关机时间: Minutes till shutdown: 离关机还剩时间(分钟): Reboot-time: 重启时间: Minutes till reboot: 离重启还有时间(分钟): Suspend-time: 挂起时间: Minutes till suspend: 离挂起还有(分钟): Hibernate-time: 休眠时间: Minutes till hibernate: 离休眠还有(分钟): shutdown in 关机倒计时 reboot in 重启倒计时 suspend in 挂起倒计时 hibernate in 休眠倒计时 years months hours 小时 days Res&tore 恢复(&T) &Minimize 最小化(&M) day minutes seconds Shutdown 关机 Reboot 重启 Suspend 挂起 Hibernate 休眠 &Lock after start? 启动后锁定(&L)? &Warnings on? 开启警告(&W)? &Now! 现在(&N)! You can set a date in the calendar 您可以在日历中设置一个日期 &OK 确定(&O) R&eset 重置(&E) &Quit 退出(&Q) &Info 信息(&I) &Logfile 日志文件(&L) &Preferences 首选项(&P) &Shutdown 关机(&S) &Reboot 重启(&R) S&uspend 挂起(&U) &Hibernate 休眠(&H) Lock settings after countdown started 倒计时开始后锁定设置 Calendar 日历 &File 文件(&F) &Help 帮助(&H) &Settings 设置(&S) &About 关于(&A) &Reset 重置(&R) &Configure 配置(&C) &Keep proportions 保持窗口尺寸比例(&K) Warning 警告 Action imminent! 即将执行! Information 信息 Countdown is not running! 倒计时没有运行! Turns on/off all warnings 开启/关闭所有警告 About &Qt 关于 &Qt Version 版本 Info Info 信息 PassWord Password 密码 &Set password 设置密码(&S) Password: 密码: The password is not correct! 密码不正确! &Change password 更改密码(&C) Preferences Preferences 首选项 Enable the &target time at startup 启动时启用目标时间(&T) Shutdown 关机 Shutdown type: 关机类型: Target time: 目标时间: Minutes to countdown: 倒计时(分钟): Font: 字体: Font size 1: 字号 1: Font size 2: 字号 2: Font size 3: 字号 3: Size for log file: 日志文件大小: Reboot 重启 Suspend 挂起 Hibernate 休眠 A&utostart 自动启动(&U) &Hide qshutdown at startup 启动后隐藏 qshutdown (&H) Lock screen &for suspend and hibernate 挂起和休眠期间锁屏(&F) &Edit configuration file 编辑配置文件(&E) Enable the minute &countdown at startup 启动时开启分钟和倒计时(&C) &Reset settings 重置设置(&R) Size for log file in KB 日志文件大小(单位:KB) "&Lock after start?" “启动时锁定(&L)?” "&Warnings on?" “开启警告(&W)?” Log start time of qshutdown and how long it was running 记录 qshutdown 的启动时刻和它的运行时间 L&ogging 日志(&O) checkboxes and "now!" button 复选框和“现在!”按钮 OK and Minimize buttons 确认和最小化按钮 Labels for example 如标签(Label) Set a font 设置字体 What target time should be displayed by default at startup? 启动时默认显示什么目标时间? How many minutes should be displayed for countdown by default at startup? 启动时默认显示几分钟的倒计时? What should be displayed first by default at startup? 启动时默认显示什么? Set if the checkbox for "Lock after start?" should be checked by default at startup 设置在启动时是否默认选中 “启动后锁定?”复选框 Set if the checkbox for "Warnings on?" should be checked by default at startup 设置启动时是否默认选中 “开启警告?”复选框 The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. 点击关闭按钮通常会关闭主窗口。 禁用隐藏则会退出 qshutdown。 &Disable hiding 禁用隐藏(&D) General 常规 Advanced 高级 Suspend method: 挂起方式: automatic 自动 user defined 用户定义 Hibernate method: 休眠方式: Shutdown method: 关机方式: Reboot method: 重启方式: Please input an user specified command for suspend here 请在这里输入一个用户指定的“挂起”命令 Gnome session Gnome 会话 KDE session KDE 会话 Please input an user specified command for shutdown here 请在这里输入一个用户指定的“关机”命令 Please input an user specified command for reboot here 请在这里输入一个用户指定的“重启”命令 Please input an user specified command for hibernate here 请在这里输入一个用户指定的“休眠”命令 Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. 有些系统会阻止关机等操作,因为 qshutdown 还 在运行。如果需要 qshutdown 在倒计时结束时 退出,设置一个钩子(hook)。 Quit qshutdown after countdown ended? 倒计时结束时退出 qshutdown? &Start countdown at startup 启动时开启倒计时(&S) Hide qshutdown at startup if "Start countdown" is checked. 若选择了“启动倒计时”则 在启动时隐藏 qshutdown The File "%1" is not writable! Maybe you just don't have the permissions to do so. 文件“%1”不可写! 您也许没有写权限。 Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Error Please read this carefully! QObject qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> 在剩余不到 70 秒时,qshutdown 会显示 3 次。<br/><br/>该程序使用 qdbus 来向 gnome- 或 kde-session-manager 或 HAL/ConsoleKit/DeviceKit/UPower 发送 关机/重启/挂起/休眠 请求。如果都不行,则使用“sudo shutdown”命令(注意,在向 HAL 或 ConsoleKit 发送请求,或使用 shutdown 命令时,会话将不能保存。 使用 shutdown 命令时,程序只能关机或重启)。因此,如果关机或重启时间到了,却没有动作,说明用户没有执行 shutdown 命令的权限。这种情况下,用户可以这样做:<br/><br/>将以下命令粘贴到终端中:<pre>EDITOR=nano sudo -E visudo</pre>添加这一行命令<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>其中 * 用用户名或 %group 名替换。<br/><br/>关机倒计时最多 1440 分钟(24 小时)。<br/>配置文件(和日志文件)位于 <i>~/.qshutdown/</i>(Linux/Unix 环境下)。<br/><br/><b>对于管理员:</b><br/>如果您想让每位用户以带“家长控制”的方式运行 qshutdown,您可以执行“sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/”并将 /root/.qshutdown/qshutdown.conf 中的 Lock_all 选项设为 true。注意 qshutdown 必须启动一次来生成 qshutdown.conf。另外还需要向 sudoers 中添加一行(和上面一样):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>如果您不小心忘记了自己设置的密码,从 qshutdown.conf 中删除带有“Password”的那一行即可。<br/><br/><b>用法提示:</b><br/>如果您不想让 qshutdown “骚扰”您,只需从“开启警告?”中移除这个钩子。<br/><br/><b>快捷键:</b><table border="1"><tr><td>Ctrl+I</td><td>(这个)信息窗口</td></tr><tr><td>Ctrl+Q</td><td>退出</td></tr><tr><td>Ctrl+P</td><td>首选项</td></tr><tr><td>Ctrl+L</td><td>将运行时间写入日志文件一次(只有 qshutdown 退出才有效。想永久设置请在首选项中修改。)</td></tr><tr><td>Ctrl+S</td><td>设置为关机</td></tr><tr><td>Ctrl+R</td><td>设置为重启</td></tr><tr><td>Ctrl+U</td><td>设置为挂起到内存</td></tr><tr><td>Ctrl+H</td><td>设置为休眠</td></tr><tr><td>Ctrl+E</td><td>停止倒计时(只有倒计时已启动且管理员未作限制时才有效)</td></tr><tr><td>Shift+E</td><td>编辑配置文件(这需要一个密码。如果只有您一位用户,您可以设置一个“空密码”(密码字段不填))。</td></tr></table> shutdown-qapps-1.6.8/qshutdown/src/translations/qshutdown-bg.ts0000644000175000017500000011230512157032701025205 0ustar hakaishihakaishi About About qshutdown За qshutdown Version Версия &About &За програмата &Thanks To Б&лагодарности <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">За използването на Qt</span></p> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian.</p> <p >Специални благодарности на:<br /></p><p >Fabian Deuchler (Фабиян Дойчлер) за това, че ми помага тук и там.<br /><br />И на Brian Nelson (Браян Нелсън) за това, че спонсорира качванията за Debian.<br /><br />Translator: Ve4ernik (Превод на български: Ve4ernik)</p> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> <p >qshutdown, инструмент за изключване на компютъра, работещ на базата на хронометър и брояч (таймер) за обратно броене</p><p >Автор: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013 Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Моля, използвайте <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a>, за за докладвате за грешки в програмата.</p> Calendar Calendar Календар ChangePassword Change Password Промяна на парола Retype password: Въведете отново паролата: New password: Нова парола: Old password: Стара парола: The current password is not correct! Настоящата парола не е правилна! The retyped password doesn't match! Паролите не съвпадат Editor Editor Текстов редактор Gui &Minimize! &Минимизиране! Shutdown-time: Време до/за изключването на компютъра: Minutes till shutdown: Минути до изключването на компютъра: Reboot-time: Време до/за рестартирането на компютъра: Minutes till reboot: Минути до рестартирането на компютъра: Suspend-time: Време до/за приспиване на компютъра: Minutes till suspend: Минути до приспиването на компютъра: Hibernate-time: Време до/за дълбоко приспиване на компютъра: Minutes till hibernate: Минути до дълбоко приспиване на компютъра: shutdown in изключване след reboot in рестартиране след suspend in приспиване след hibernate in дълбоко приспиване след years години months месеца hours час(а) days ден(а) Res&tore В&ъзстановяване &Minimize &Минимизиране day ден minutes минута(/-и) seconds секунди Shutdown Изключване Reboot Рестартиране Suspend Приспиване Hibernate Дълбоко заспиване &Lock after start? &Заключване след стартиране? &Warnings on? С &предупреждения? &Now! &Сега! You can set a date in the calendar Можете да насрочите дата в календара &OK &ОК R&eset &Анулиране &Quit &Изход &Info &Информация &Logfile &Дневник на дейността &Preferences Пре&дпочитания &Shutdown &Изключване &Reboot &Рестартиране S&uspend &Приспиване &Hibernate &Дълбоко приспиване Lock settings after countdown started Заключване на настройките след начало на обратното броене Calendar Календар &File &Файл &Help Помо&щ &Settings &Настройки &About &За програмата &Reset &Анулиране &Configure &Конфигуриране &Keep proportions &Запазване на пропорцииите Warning Предупреждение Action imminent! Действието предстои да се случи! Information Информация Countdown is not running! Обратното броене не е включено! Turns on/off all warnings Включване/изключване на всички предупреждения About &Qt За &Qt Version версия Info Info Информация PassWord Password Парола &Set password Зада&ване на парола Password: Парола: The password is not correct! Въведенета парола не е правилна! &Change password &Промяна на паролата Preferences Preferences Предпочитания Enable the &target time at startup Включване на пусковото време при зареждане Shutdown Изключване Shutdown type: Вид изключване: Target time: Пусково време: Minutes to countdown: Минути до обратното броене: Font: Шрифт: Font size 1: Големина (кегел) на шрифта 1: Font size 2: Големина на шрифта 2: Font size 3: Големина на шрифта 3: Size for log file: Големина на дневника за дейността: Reboot Рестартиране на компютъра Suspend Приспиване Hibernate Дълбоко заспиване A&utostart А&втоматично стартиране &Hide qshutdown at startup С&криване на qshutdown при зареждане Lock screen &for suspend and hibernate Заключване на е&крана при заспиване и дълбоко заспиване &Edit configuration file Р&едактиране на файла с конфигурации Enable the minute &countdown at startup Включване на обратното броене с минути при зареждане &Reset settings Нули&ране на настройките Size for log file in KB Големина на дневника за дейността в КБ "&Lock after start?" "Зак&лючване след стартиране?" "&Warnings on?" "&С предупреждения?" Log start time of qshutdown and how long it was running Записване в дневника на времето на стартиране на qshutdown и колко дълго програмата е работила L&ogging Запи&сване в дневника checkboxes and "now!" button кутийки за отмятане и бутон „Сега!“ OK and Minimize buttons бутони „ОК“ и „Минимизиране“ Labels for example С надписи, например Set a font Избор на шрифт What target time should be displayed by default at startup? Какво пусково време трябва да се показва по подразбиране при зареждане? How many minutes should be displayed for countdown by default at startup? Колко на брой минути трябва да се показват в полето за обратно броене при зареждане? What should be displayed first by default at startup? По подразбиране какво трябва да се показва първо при зареждане? Set if the checkbox for "Lock after start?" should be checked by default at startup Задайте, ако кутийката за отмятане за „Заключване след стартиране?“ трябва да бъде отметната по подразбиране при зареждане Set if the checkbox for "Warnings on?" should be checked by default at startup Задайте, ако кутийката за отмятане за „С предупреждения?“ трябва да бъде отметната по подразбиране при зареждане The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. Бутонът за затваряне обикновено скрива основния прозорец. Изключването на скриването означава, че програмата qshutdown вместо гореописаното ще бъде напълно изключена. &Disable hiding Изкл&ючване на скриването General Общи настройки Advanced Раширени Suspend method: Метод за приспиване: automatic автоматично user defined според избора на потребителя Hibernate method: Метод за дълбоко заспиване: Shutdown method: Метод за изключване на компютъра: Reboot method: Метод за рестартиране: Please input an user specified command for suspend here Моля, въведете команда по избор на потребителя за заспиване на компютъра тук Gnome session сесия на Gnome KDE session сесия на KDE Please input an user specified command for shutdown here Моля, въведете команда по избор на потребителя за изключване на компютъра тук Please input an user specified command for reboot here Моля, въведете команда по избор на потребителя за рестартиране на компютъра тук Please input an user specified command for hibernate here Моля, въведете команда по избор на потребителя за дълбоко заспиване на компютъра тук Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. Някои системи например блокират изключването на компютъра, защото qshutdown все още работи. Задайте регистриране (hook), ако искате qshutdown по подразбиране да се изключва напълно, когато обратното броене свърши. Quit qshutdown after countdown ended? Пълно изключване на qshutdown при свършване на обратното броене? &Start countdown at startup &Стартиране на обратното броене при зареждане Hide qshutdown at startup if "Start countdown" is checked. Скриване на qshutdown при зареждане, ако кутийката за отмятане при „Стартиране на обратното броене“ е отметната. The File "%1" is not writable! Maybe you just don't have the permissions to do so. Във файла "%1" не може да се записва! Може би просто нямате нужните права за запис, за да извършите гореописаното. Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Error Please read this carefully! QObject qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> qshutdown ще се покаже 3 пъти като предупреждение, ако остават по-малко от 70 секунди.<br/><br/>Тази програма използва qdbus, за да изпраща заявка за изключване/рестартиране/заспиване/дълбоко заспиване на компютъра или до gnome- или до kde-session-manager, до HAL/ConsoleKit/DeviceKit/UPower и ако нито едно от тези не проработи, командата „sudo shutdown“ ще бъде използвана (имайте предвид, че когато се изпраща заявката за изключване на компютъра до HAL или ConsoleKit, или когато се използва командата „shutdown“, вашата сесия никога няма да бъде запазена. Ако се използва командата „shutdown“, програмата ще може само да изключи и/или рестартира компютъра ви. Затова ако нищо не се случи, когато времето до/за изключване или рестартиране е достигнато, това означава, че не притежавате нужните права за използване на командата „shutdown“. В такъв случай можете да направите следното:<br/><br/>Поставете следното в отворен прозорец на конзолния терминал:<pre>EDITOR=nano sudo -E visudo</pre>и добавете следния ред:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>, където * заменя заменя потребителското име или %group името на групата.<br/><br/>Максималният брой на минути до/за изключване е 1440 (= 24 часа, т.е. 1 денонощие).<br/>Файлът с конфигурации (и дневникът за дейността) е разположен в <i>~/.qshutdown/</i> (под Линукс/Юникс (Linux/Unix)).<br/><br/><b>За администратори:</b><br/>Ако желаете qshutdown да работи с „предпазителя от родители за деца“ за всеки потребител, вие можете да изпълните „sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/“ и да зададете зададете настройката Lock_all (Заключване на всички) в /root/.qshutdown/qshutdown.conf със стойност true (вярно). Имайте предвид, че qshutdown трябва да бъде стартиран веднъж, за да бъде генериран файла с конфигурации qshutdown.conf. Освен това е нужно да добавите следния ред към командите sudo (показани по-горе):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>Ако вие някога забравите своята зададена парола, просто ръчно премахнете целия ред, започващ с „Password“ (Парола) от файла с конфигурации qshutdown.conf.<br/><br/><b>Кратък съвет за използването на програмата:</b><br/>Ако желаете qshutdown да спре да ви „притеснява“ (напр. със съобщения или предупреждения), просто премахнете регистрирането (hook) от полете „warnings on?“ (включени предупреждения?).<br/><br/><b>Клавишни комбинации на програмата:</b><table border="1"><tr><td>Ctrl + I</td><td>(този) прозорец с информация</td></tr><tr><td>Ctrl + Q</td><td>Изход</td></tr><tr><td>Ctrl + P</td><td>Предпочитания</td></tr><tr><td>Ctrl + L</td><td>еднократно записване на времето за работа в дневника за дейността (работи само, ако програмата qshutdown бива изключена напълно. За да направите това действие постоянно, задайте го в настройките в „Предпочитания“.)</td></tr><tr><td>Ctrl + S</td><td>задаване на изключване на компютъра</td></tr><tr><td>Ctrl + R</td><td>задаване на рестартиране на компютъра</td></tr><tr><td>Ctrl + U</td><td>задаване на заспиване на компютъра към RAM паметта</td></tr><tr><td>Ctrl + H</td><td>задаване на дълбоко заспиване на компютъра</td></tr><tr><td>Ctrl + E</td><td>спиране на обратното броене (само ако обратното броене е започнало и администраторът не е ограничил достъпа)</td></tr><tr><td>Shift + E</td><td>за редактиране на файла с конфигурационни настройки (за изпълняване на това е нужна парола. Ако сте потребител, можете да зададете „празна парола“ (като оставите полете за въвеждане на паролата празно)).</td></tr></table> shutdown-qapps-1.6.8/qshutdown/src/translations/qshutdown-tr.ts0000644000175000017500000007171612322513175025257 0ustar hakaishihakaishi About About qshutdown qshutdown hakkında Version Sürüm &About &Hakkında &Thanks To &Teşekkürler <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Qt Kullanılarak</span></p> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian.</p> <p >Özel teşekkürler:<br /></p><p >Her yerde yardım eden Fabian Deuchler'a.<br /><br />Ve Debian'a gönderimlerde destek olan Brian Nelson'a.<br /><br />Çevirmenler: Muhammet KARA, Volkan Gezer, Şâkir Aşçı, indis, Gökdeniz Karadağ.</p> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> <p >qshutdown, bir süreli ve geri sayımlı kapatma aracı</p><p >Yazar: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Telif Hakkı &copy; 2010-2013, Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Lütfen hata raporları için <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> veya <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> kullanın.</p> Calendar Calendar Takvim ChangePassword Change Password Parolayı Değiştir Retype password: Parolayı tekrar giriniz: New password: Yeni parola: Old password: Eski parola: The current password is not correct! Şu anki parola doğru değil! The retyped password doesn't match! Yeniden yazılan parola uyuşmuyor! Editor Editor Düzenleyici Gui &Minimize! &Küçült! Shutdown-time: Kapanma zamanı: Minutes till shutdown: Kapatmaya kalan dakika: Reboot-time: Yeniden başlatma zamanı: Minutes till reboot: Yeniden başlatmaya kalan dakika: Suspend-time: Askıya alma zamanı: Minutes till suspend: Askıya almaya kalan dakika: Hibernate-time: Bekletme zamanı: Minutes till hibernate: Beklemeye kalan dakika: shutdown in kapanıyor reboot in yeniden başlatılıyor suspend in askıya alınıyor hibernate in beklemeye geçiyor years yıl months ay hours saat days gün Res&tore &Geri Yükle &Minimize &Küçült day gün minutes dakika seconds sâniye Shutdown Bilgisayarı Kapat Reboot Yeniden Başlat Suspend Askıya Al Hibernate Beklet &Lock after start? Başladıktan sonra ki&litlensin mi? &Warnings on? &Uyarılar açık mı? &Now! &Şimdi! You can set a date in the calendar Takvimden bir târih seçebilirsiniz &OK &Tamam R&eset &Sıfırla &Quit &Çıkış &Info &Bilgi &Logfile &Kayıt dosyası &Preferences &Tercihler &Shutdown &Bilgisayarı Kapat &Reboot &Yeniden Başlat S&uspend &Uyku &Hibernate &Hazırda Beklet Lock settings after countdown started Geri sayım başladıktan sonra ayarları kilitle Calendar Takvim &File &Dosya &Help &Yardım &Settings &Ayarlar &About &Hakkında &Reset &Sıfırla &Configure &Yapılandır &Keep proportions &Ana pencere orantılarını sâbit tut Warning Uyarı Action imminent! Az kaldı! Information Bilgilendirme Countdown is not running! Geri sayım başlatılmadı! Turns on/off all warnings Bütün uyarıları açar/kapatır About &Qt &Qt Hakkında Version Sürüm Info Info Bilgi PassWord Password Parola &Set password &Parola belirle Password: Parola: The password is not correct! Parola yanlış! &Change password Parolayı &değiştir Preferences Preferences Tercihler Enable the &target time at startup &Hedef zamanı başlangıçta etkinleştir Shutdown Bilgisayarı Kapat Shutdown type: Kapatma türü: Target time: Hedef zaman: Minutes to countdown: Geri sayıma kalan dakika: Font: Yazı tipi: Font size 1: Yazı tipi boyutu 1: Font size 2: Yazı tipi boyutu 2: Font size 3: Yazı tipi boyutu 3: Size for log file: Kayıt dosyası boyutu: Reboot Yeniden Başlat Suspend Askıya Al Hibernate Hazırda Beklet A&utostart &Özişler Başlat &Hide qshutdown at startup &qshutdown'ı başlangıçta gizle Lock screen &for suspend and hibernate Bekleme ve u&ykuda ekranı kilitle &Edit configuration file Yapılandırma dosyasını düz&enle Enable the minute &countdown at startup Başlanfıçta dakika &geri sayımını etkinleştir &Reset settings Ayarları sıfı&rla Size for log file in KB Günlük dosyasının KB cinsinden boyutu "&Lock after start?" "&Başladıktan sonra kilitlensin mi?" "&Warnings on?" "&Uyarılar açık mı?" Log start time of qshutdown and how long it was running qshutdown'ın günlük başlama zamanı ve ne kadar süredir çalışıyor olduğu L&ogging G&ünlükleme checkboxes and "now!" button işaret kutuları ve "şimdi!" düğmesi OK and Minimize buttons TAMAM ve Simge Durumuna Küçült düğmeleri Labels for example Örneğin etiketler Set a font Bir yazı tipi ayarlayın What target time should be displayed by default at startup? Başlangıçta öntanımlı hangi hedef zamanı görüntülenmeli? How many minutes should be displayed for countdown by default at startup? Geri sayım için başlangıçta öntanımlı olarak kaç dakika gösterilsin? What should be displayed first by default at startup? Başlangıçta öntanımlı ilk ne görüntülenmeli? Set if the checkbox for "Lock after start?" should be checked by default at startup "Başlangıçtan sonra kilitlensin mi?" işaret kutusunun başlangıçta işaretlenip işaretlenmemesini ayarla Set if the checkbox for "Warnings on?" should be checked by default at startup "Uyarılar açık mı?" işaret kutusunun başlangıçta işaretlenip işaretlenmemesini ayarla The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. Kapat düğmesi genellikle ana pencereyi gizler. Gizlemeyi kapatmak, qshutdown'ın bunun yerine kapatılmasını sağlar. &Disable hiding Gizlemeyi &devre dışı bırak General Genel Advanced Gelişmiş Suspend method: Askıya alma yöntemi: automatic otomatik user defined kullanıcı tanımlı Hibernate method: Bekletme yöntemi: Shutdown method: Kapatma yöntemi: Reboot method: Yeniden başlatma yöntemi: Please input an user specified command for suspend here Buraya lütfen askıya alma için kullanıcı tanımlı bir komut girin Gnome session Gnome oturumu KDE session KDE oturumu Please input an user specified command for shutdown here Buraya lütfen kapatmak için kullanıcı tanımlı bir komut girin Please input an user specified command for reboot here Buraya lütfen yeniden başlatma için kullanıcı tanımlı bir komut girin Please input an user specified command for hibernate here Buraya lütfen bekletme için kullanıcı tanımlı bir komut girin Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. Bazı sistemler qshutdown hala çalıştığı için kapatmayı engeller. qshutdown'ın geri sayımdan sonra çıkmasını isterseniz bir kanca ayarlayın. Quit qshutdown after countdown ended? Geri sayım bittikten sonra qshutdown kapatılsın mı? &Start countdown at startup &Başlangıçta geri sayımı başlat Hide qshutdown at startup if "Start countdown" is checked. "Geri sayımı başlat" işaretliyse başlangıçta qshutdown'ı gizle. The File "%1" is not writable! Maybe you just don't have the permissions to do so. "%1" dosyası yazılabilir değil! Belki yazmak için yetkiye sahip olmayabilirsiniz. Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Qshutdown'a hoş geldiniz! Eğer qshutdown'ı sistemi kapatmak için kullanmak isterseniz ve Gnome Kabuğu kullanıyorsanız, muhtemelen oradan bir kapatma uyarısı alacaksınız. Doğrudan bir kapatma isterseniz, lütfen tercihler ve ayarlar içerisinden kapatma yöntemini ConsoleKit veya başka bir yöntem olarak ayarlayın. Lütfen hata raporları ve çeviriler ile ilgili konularda https://launchpad.net/~hakaishi adresini ziyaret edin. Error Hata Please read this carefully! Lütfen bunu dikkatle okuyun! QObject qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> 70 saniyeden az kalmışsa qshutdown kendini 3 kez uyarı olarak gösterecektir.<br/><br/>Bu program gnome- veya kde-session-manager içerisinde bir kapatma/yeniden başlatma/askıya alma/bekletme talebi için qdbus kullanarak HAL/ConsoleKit/DeviceKit/UPower'a ulaşır. Bunların hiçbiri çalışmazsa, 'sudo shutdown' komutu kullanılacaktır (HAL veya ConsoleKit'e kapatma talebi gönderilirken, Oturum asla kaydedilmez, eğer kapatma komutu kullanılırsa, program sadece bilgisayarı kapatabilir veya yeniden başlatabilir). Eğer kapatma veya yeniden başlatma zamanı dolduğunda herhangi bir şey olmazsa, kapatma komutundaki izinlerde bir sorun var demektir. Bu durumda şunu izleyin:<br/><br/>Aşağıdaki metni bir uçbirime yapıştırın:<pre>EDITOR=nano sudo -E visudo</pre>ve şu satırı ekleyin:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>Burada * kullanıcı adını veya % grup adını temsil eder.<br/><br/>Azami geri_sayım dakikası 1440'tür (24 saat).<br/>Yapılandırma dosyası (ve günlük dosyası) <i>~/.qshutdown/</i> (Linux/Unix altında) bulunur.<br/><br/><b>Yöneticiler için:</b><br/>Eğer qshutdown'ı her kullanıcı için "aile kilidi" ile çalıştırmak isterseniz, "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" yapabilir ve /root/.qshutdown/qshutdown.conf içerisindeki Lock_all değerini true ayarlayabilirsiniz. Bu dosyanın oluşturulabilmesi için qshutdown'ın en az bir kere çalıştırılmış olması gerektiğini göz önüne alın. Ayrıca şu satırın da sudoers içerisine (yukarıdaki gibi) eklenmesi gereklidir:<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>Eğer parola ayarlamayı unutursanız, basitçe qshutdown.conf dosyasındaki "Password" ile başlayan tüm satırı kaldırın.<br/><br/><b>Kullanım ipuçları:</b><br/>Qshutdown'ın sizi rahatsız etmesini önlemek isterseniz, sadece "uyarılar açık mı?" seçeneğinin işaretini kaldırın.<br/><br/><b>Kısayollar:</b><table border="1"><tr><td>Ctrl+I</td><td>(bu) bilgi penceresi</td></tr><tr><td>Ctrl+Q</td><td>Çık</td></tr><tr><td>Ctrl+P</td><td>Tercihler</td></tr><tr><td>Ctrl+L</td><td>çalışma zamanını bir kez günlük dosyasına yaz (sadece qshutdown çıkarsa çalışır. Kalıcı olarak ayarlamak için tercihlerde ayarlayın.)</td></tr><tr><td>Ctrl+S</td><td>kapatmak üzere ayarla</td></tr><tr><td>Ctrl+R</td><td>yeniden başlatmak üzere ayarla</td></tr><tr><td>Ctrl+U</td><td>RAM'e askıya almak üzere ayarla</td></tr><tr><td>Ctrl+H</td><td>beklemeye almak üzere ayarla</td></tr><tr><td>Ctrl+E</td><td>geri sayımı başlat (sadece geri sayım başladıysa ve yönetici erişimi kısıtlamadıysa)</td></tr><tr><td>Shift+E</td><td>yapılandırma dosyasını düzenlemek için (bunun için bir parola gereklidir. Eğer bir kullanıcıysanız, bir "boş parola" belirleyebilirsiniz (parola alanını boş bırakın)).</td></tr></table> shutdown-qapps-1.6.8/qshutdown/src/translations/qshutdown-id.ts0000644000175000017500000006164612322545066025233 0ustar hakaishihakaishi About About qshutdown Tentang qshutdown Version Versi &About Tent&ang &Thanks To &Terima kasih kepada <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian.</p> <p >Spesial terima kasih kepada:<br /></p><p >Fabian Deuchler yang telah membantu di sana-sini.<br /><br />Dan Brian Nelson untuk mensponsori upload ke Debian.</p> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> <p >qshutdown, alat shutdown berdasar waktu dan hitung mundur</p><p >Penulis: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Hak cipta &copy; 2010-2013, pada Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Silakan gunakan <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> untuk melaporkan bugs.</p> Calendar Calendar Kalender ChangePassword Change Password Ubah Sandi Retype password: Ulangi sandi: New password: Sandi Baru: Old password: Sandi Lama: The current password is not correct! Sandi saat ini tidak valid! The retyped password doesn't match! Pengulangan sandi tidak cocok! Editor Editor Penyunting Gui &Minimize! &Memperkecil! Shutdown-time: Waktu pemadaman: Minutes till shutdown: Menit sampai padam: Reboot-time: Waktu menyala ulang: Minutes till reboot: Menit sampai menyala ulang: Suspend-time: Waktu suspend: Minutes till suspend: Menit sampai suspend: Hibernate-time: Waktu hibernasi: Minutes till hibernate: Menit sampai hibernasi: shutdown in padam dalam reboot in nyala ulang dalam suspend in suspend dalam hibernate in hibernasi dalam years tahun months bulan hours jam days hari Res&tore M&emulihkan &Minimize &Memperkecil day hari minutes menit seconds detik Shutdown Padamkan Reboot Nyalakan Ulang Suspend Suspensi Hibernate Hibernasi &Lock after start? Kunci sete&lah mulai? &Warnings on? H&idupkan peringatan? &Now! Sekara&ng! You can set a date in the calendar Anda dapat mengatur tanggal pada kalender &OK &OK R&eset Atu&r Ulang &Quit &Keluar &Info &Info &Logfile Berkas &log &Preferences &Preferensi &Shutdown &Matikan &Reboot &Nyalakan ulang S&uspend S&uspensi &Hibernate &Hibernasi Lock settings after countdown started Kunci pengaturan setelah hitung mundur dimulai Calendar Kalender &File &Berkas &Help Ba&ntuan &Settings &Pengaturan &About Tent&ang &Reset Atu&r Ulang &Configure &Konfigurasi &Keep proportions &Jaga proporsi Warning Peringatan Action imminent! Aksi dekat! Information Informasi Countdown is not running! Hitung mundur tidak berjalan! Turns on/off all warnings Nyalakan/matikan semua peringatan About &Qt Tentang &Qt Version Versi Info Info Info PassWord Password Sandi &Set password Atur &sandi Password: Sandi: The password is not correct! Sandi salah! &Change password &Ganti sandi Preferences Preferences Preferensi Enable the &target time at startup Gunakan waktu &target saat menyalakan Shutdown Padamkan Shutdown type: Jenis pemadaman: Target time: Waktu target: Minutes to countdown: Menit sampai hitung mundur: Font: Fonta: Font size 1: Ukuran fonta 1: Font size 2: Ukuran fonta 2: Font size 3: Ukuran fonta 3: Size for log file: Ukuran untuk berkas log: Reboot Nyalakan Ulang Suspend Suspensi Hibernate Hibernasi A&utostart Mul&ai otomatis &Hide qshutdown at startup Sembunyikan qs&hutdown saat menyalakan Lock screen &for suspend and hibernate Kunci layar &saat suspensi dan hibernasi &Edit configuration file Sunting konfigurasi b&erkas Enable the minute &countdown at startup &aktifkan hitung mundur menit saat menyalakan &Reset settings Atu&r ulang pengaturan Size for log file in KB Ukuran berkas log dalam KB "&Lock after start?" "Kunci sete&lah mulai?" "&Warnings on?" "Nyalakan &peringatan?" Log start time of qshutdown and how long it was running Log waktu mulai qshutdown dan berapa lama ia berjalan L&ogging L&ogging checkboxes and "now!" button kotak centang dam tombol "Sekarang!" OK and Minimize buttons Tombol OK dan Mengecilkan Labels for example Label untuk contoh Set a font Atur fonta What target time should be displayed by default at startup? Kapan waktu target yang harus ditampilkan secara default saat menyalakan? How many minutes should be displayed for countdown by default at startup? Berapa menit yg ditampilkan untuk hitung mundur default saat menyalakan? What should be displayed first by default at startup? Apa yang pertama harus ditampilkan secara default saat menyalakan? Set if the checkbox for "Lock after start?" should be checked by default at startup Atur apakah kotak centang "Kunci saat mulai?" harus dicentang otomatis saat menyalakan? Set if the checkbox for "Warnings on?" should be checked by default at startup Atur apakah kotak "Nyalakan peringatan?" harus dicentang otomatis saat menyalakan The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. Tombol keluar [X] biasanya menyembunyikan jendela utama Mematikan penyembunyian berarti bahwa qshutdown akan langsung keluar. &Disable hiding &Matikan penyembunyian General Umum Advanced Lanjutkan Suspend method: Metode suspensi: automatic otomatis user defined diatur pengguna Hibernate method: Metode hibernasi: Shutdown method: Metode pemadaman: Reboot method: Metode nyalakan ulang: Please input an user specified command for suspend here Silakan masukan perintah yang pengguna untuk suspensi disini Gnome session Sesi Gnome KDE session Sesi KDE Please input an user specified command for shutdown here Silakan masukan perintah yang pengguna untuk pemadaman disini Please input an user specified command for reboot here Silakan masukan perintah yang pengguna untuk menyalakan ulang disini Please input an user specified command for hibernate here Silakan masukan perintah yang pengguna untuk hibernasi disini Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. Sistem memblok contoh pemadaman karena qshutdown masih berjalan. atur kait agar qshutdown keluar setelah hitung mundur. Quit qshutdown after countdown ended? Keluarkan qshutdown setelah hitung mundur selesai? &Start countdown at startup Mulai hitung mundur &saat menyalakan Hide qshutdown at startup if "Start countdown" is checked. Menyembunyikan qshutdown saat menyalakan jika "mulai hitung mundur" tercentang. The File "%1" is not writable! Maybe you just don't have the permissions to do so. Berkas "%1" tidak dapat ditulis! Mungkin anda tidak memiliki ijin untuk melakukannya. Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Selamat Datang di qshutdown! Jika Anda ingin qshutdown misalnya untuk shutdown sistem dan Anda menggunakan Gnome Shell, maka Anda akan mendapatkan dialog shutdown yang dari sana. Jika Anda ingin shutdown langsung, maka silakan pergi ke preferensi dan pengaturan metode shutdown untuk ConsoleKit atau yang lainnya. Jangan sungkan mengunjungi https://launchpad.net/~hakaishi untuk melaporkan bug atau untuk sesuatu tentang penerjemahan. Error Kesalahan Please read this carefully! Mohon baca dengan teliti! QObject qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> shutdown-qapps-1.6.8/qshutdown/src/translations/qshutdown-ast.ts0000644000175000017500000007533512157032701025417 0ustar hakaishihakaishi About About qshutdown Tocante a qshutdown Version Versión &About Tocante &a &Thanks To Agradecimien&tos <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Usando Qt</span></p> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian.</p> <p >Agradecimientu especial a:<br /></p><p >Fabian Deuchler por ayudar equí y acullá.<br /><br />Y Brian Nelson por patrocinar les xubíes a Debian.<br /><br />Traductor: Xuacu Saturio</p> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> <p >qshutdown, una ferramienta d'apagáu pol horariu y cuenta atrás</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Por favor, usa <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> o <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> pa informar de fallos.</p> Calendar Calendar Calendariu ChangePassword Change Password Camudar la contraseña Retype password: Escribi la contraseña otra vuelta: New password: Contraseña nueva: Old password: Contraseña antigua: The current password is not correct! ¡La contraseña actual ye incorreuta! The retyped password doesn't match! ¡La contraseña que volvisti a escribir nun casa! Editor Editor Editor Gui &Minimize! ¡A&menorgar! Shutdown-time: Hora d'apagáu: Minutes till shutdown: Minutos pal apagáu: Reboot-time: Hora de reaniciu: Minutes till reboot: Minutos pal reaniciu: Suspend-time: Hora de suspensión: Minutes till suspend: Minutos pa la suspensión: Hibernate-time: Hora d'hibernación: Minutes till hibernate: Minutos pa la hibernación: shutdown in apagáu en reboot in reaniciu en suspend in suspensión en hibernate in hibernación en years años months meses hours hores days díes Res&tore Res&taurar &Minimize A&menorgar day día minutes minutos seconds segundos Shutdown Apagáu Reboot Reaniciar Suspend Suspender Hibernate Hibernar &Lock after start? ¿B&loquiar dempués del aniciu? &Warnings on? ¿Activar a&visos? &Now! ¡A&gora! You can set a date in the calendar Puedes conseñar una data del calendariu &OK Aceu&tar R&eset R&eaniciar &Quit &Colar &Info &Info &Logfile &Rexistru &Preferences &Preferencies &Shutdown A&pagar &Reboot &Reaniciar S&uspend S&uspender &Hibernate &Hibernar Lock settings after countdown started Bloquiar la configuración cuando s'anicie la cuenta atrás Calendar Calendariu &File &Ficheru &Help &Ayuda &Settings Preferencie&s &About Tocante &a &Reset &Reaniciar &Configure &Configurar &Keep proportions &Guardar proporciones Warning Avisu Action imminent! ¡Aición inminente! Information Informacion Countdown is not running! ¡La cuenta atrás nun ta executandose! Turns on/off all warnings Activar/desactivar tolos avisos About &Qt Tocante a &Qt Version Versión Info Info Info PassWord Password Contraseña &Set password Afitar contra&seña Password: Contraseña: The password is not correct! ¡La contraseña nun ye correuta! &Change password &Camudar contraseña Preferences Preferences Preferencies Enable the &target time at startup Activar l'oxetivu &tiempu nel aniciu Shutdown Apagar Shutdown type: Triba d'apagáu: Target time: Hora oxetivu: Minutes to countdown: Minutos pa la cuenta atrás: Font: Fonte: Font size 1: Tamañu de fonte 1: Font size 2: Tamañu de fonte 2: Font size 3: Tamañu de fonte 3: Size for log file: Tamañu del ficheru de rexistru: Reboot Reaniciar Suspend Suspender Hibernate Hibernar A&utostart &Autoarranque &Hide qshutdown at startup &Anubrir qshutdown nel aniciu Lock screen &for suspend and hibernate &Bloquiar pantalla con suspender ya hibernar &Edit configuration file &Editar ficheru de configuración Enable the minute &countdown at startup Activar la &cuenta atrás de minutos nel aniciu &Reset settings &Reaniciar preferencies Size for log file in KB Tamañu del ficheru de rexistru en kB "&Lock after start?" "¿B&loquiar dempués d'aniciar?" "&Warnings on?" "¿Ac&tivar avisos?" Log start time of qshutdown and how long it was running Rexistrar el tiempu d'arranque de qshutdown y cuánto lleva n'execución L&ogging Re&xistru checkboxes and "now!" button caxelles de marcar y botón "¡agora!" OK and Minimize buttons Botones Aceutar y Amenorgar Labels for example Etiquetes d'exemplu Set a font Escueyi una fonte What target time should be displayed by default at startup? ¿Qué hora oxetivu tien de vese de mou predetermináu nel aniciu? How many minutes should be displayed for countdown by default at startup? ¿Cuántos minutos tienen de vese na cuenta atrás predeterminada nel aniciu? What should be displayed first by default at startup? ¿Qué tien de vese primero nel aniciu de mou predetermináu? Set if the checkbox for "Lock after start?" should be checked by default at startup Configurar si "¿Bloquiar dempués del aniciu?" tien de tar marcáu de mou predetermináu Set if the checkbox for "Warnings on?" should be checked by default at startup Configurar si la caxella "¿Activar avisos?" tien de tar marcada de mou predetermináu The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. El botón zarrar de vezu anubre la ventana principal. Desactivar anubrimientu significa que qshutdown entós zarraráse. &Disable hiding &Desactivar anubrimientu General Xeneral Advanced Avanzáu Suspend method: Métodu de suspensión: automatic automáticu user defined definíu pol usuariu Hibernate method: Métodu d'hibernación: Shutdown method: Métodu d'apagáu: Reboot method: Métodu de reaniciu: Please input an user specified command for suspend here Escribi equí un comandu d'usuariu pa la suspensión Gnome session Sesión de Gnome KDE session Sesión de KDE Please input an user specified command for shutdown here Escribi equí un comandu d'usuariu pal apagáu Please input an user specified command for reboot here Escribi equí un comandu d'usuariu pal reaniciu Please input an user specified command for hibernate here Escribi equí un comandu d'usuariu pa la hibernación Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. Dellos sistemes torguen por exemplu l'apagáu porque qshutdown ta executandose entá. Pon una llamada si qshutdown tien de finar en acabando la cuenta atrás. Quit qshutdown after countdown ended? ¿Colar de qshutdown en acabando la cuenta atrás? &Start countdown at startup Llanzar cuenta atrá&s nel aniciu Hide qshutdown at startup if "Start countdown" is checked. Anubrir qshutdown nel aniciu si ta marcáu "Llanzar cuenta atrás nel aniciu". The File "%1" is not writable! Maybe you just don't have the permissions to do so. ¡El ficheru "%1" nun pue escribise! Seique nun tengas permisos pa facelo. Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. ¡Bienveníu a qshutdown! Si quier, por exemplu, que qshutdown apague'l sistema y ta usando Gnome Shell, posiblemente recibirá un diálogu d'apagáu de la mesma. Si quier un apagáu direutu, por favor, considere entrar nes preferencies y configurar el métodu d'apagáu a ConsoleKit o daqué distinto. Visite con total llibertá https://launchpad.net/~hakaishi si quier informar de fallos o de cualquier cosa tocante a les traducciones. Error Error Please read this carefully! ¡Por favor, llea esto con atención! QObject qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> qshutdown apaecerá 3 vegaes como avisu si queden menos de 70 segundos.<br/><br/>Esti programa usa qdbus pa unviar una solicitú d'apagáu/reaniciu/suspensión/hibernación al alministrador de sesión de gnome o al de kde, a HAL/ConsoleKit/DeviceKit/UPower y, si nun funciona dengunu d'ellos, S'usará el comandu 'sudo shutdown' (atalanta qu'al unviar la solicitú d'apagáu a HAL o ConsoleKit, o si s'usa'l comandu shutdown, nunca se guardará la Sesión. Al usar el comandu shutdown, el programa namái podrá apagar y reaniciar). Poro, si nun asocede ren al llegar el tiempu d'apagáu o reaniciu, quier dicir que ún nun tien permisu pa usar el comandu shutdown. Nesti casu se pue facer lo siguiente:<br/><br/>Pega lo que sigue nun terminal:<pre>EDITOR=nano sudo -E visudo</pre>y amiesta esta llinia:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre> onde * ye'l nome d'usuariu o'l nome de grupu.<br/><br/>El númberu máximu de minutos de la cuenta atrás ye de 1440 (24 hores).<br/>El ficheru de configuración (ya'l de rexistru) alcuentrase'n <i>~/.qshutdown/</i> (baxo Linux/Unix).<br/><br/><b>P'alministradores:</b><br/>Si quies que qshutdown s'execute con "bloquéu paternu" pa cada usuariu, pues facer "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" y configurar la opción Lock_all de /root/.qshutdown/qshutdown.conf como true. Atalanta que qshutdown tien d'executase una vegada pa xenerar qshutdown.conf. Amás ye necesario amestar la siguiente llinia a sudoers (como más arriba):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/> Si t'escaecieres dacuando la conseña configurada, val con que desanicies manualmente de qshutdown.conf toa llinia qu'empience por "Password".<br/><br/><b>Gabitos d'usu:</b><br/>Si quies que qshutdown dexe de "molestate", namái desanicia la llamada de "¿activar avisos?".<br/><br/><b>Atayos:</b><table border="1"><tr><td>Ctrl+I</td><td>(esta) ventana d'información</td></tr><tr><td>Ctrl+C</td><td>Colar</td></tr><tr><td>Ctrl+P</td><td>Preferencies</td></tr><tr><td>Ctrl+L</td><td>escribi una vegada la execución nel ficheru de rexistru (sólo funciona fasta la salida de qshutdown. Pa facelo permanente, configuralo nes preferencies.)</td></tr><tr><td>Ctrl+A</td><td>llanzar l'apagáu</td></tr><tr><td>Ctrl+R</td><td>llanzar el reaniciu</td></tr><tr><td>Ctrl+U</td><td>llanzar la suspensión a RAM</td></tr><tr><td>Ctrl+H</td><td>llanzar la hibernación</td></tr><tr><td>Ctrl+E</td><td>parar la cuenta atrás (sólo si yá s'anició la cuenta atrás y l'alministrador nun torgó l'accesu)</td></tr><tr><td>Mayús+E</td><td>pa editar el ficheru de configuración (pa esto ye necesaria una contraseña. Si yes un usuariu, pues configurar una "contraseña balera" (dexa baleru'l campu contraseña)).</td></tr></table> shutdown-qapps-1.6.8/qshutdown/src/translations/qshutdown-hr.ts0000644000175000017500000006303512157032701025233 0ustar hakaishihakaishi About About qshutdown O qshutdown Version Inačica &About &O programu &Thanks To &Zahvale <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">koristi Qt</span></p> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian.</p> <p >Posebene zahvale:<br /></p><p >Fabian Deuchleru za pomoć tamo i ovdje.<br /><br />I Brian Nelsonu za sponozoriranje objave na Debianu.</p> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> Calendar Calendar Kalendar ChangePassword Change Password Promijeni lozinku Retype password: Ponovi lozinku: New password: Nova lozinka: Old password: Stara lozinka: The current password is not correct! Trenutna lozinka nije ispravna! The retyped password doesn't match! Potvrda lozinke se ne poklapa! Editor Editor Uređivač Gui &Minimize! &Smanji! Shutdown-time: Vrijeme do gašenja: Minutes till shutdown: Minuta do gašenja: Reboot-time: Vrijeme do ponovnog pokretanja: Minutes till reboot: Minuta do ponovnog pokretanja: Suspend-time: Vrijeme suspenzije: Minutes till suspend: Minuta do suspenzije: Hibernate-time: Vrijeme hibernacije: Minutes till hibernate: Minuta do hibernacije: shutdown in gašenje u reboot in ponovno pokretanje u suspend in suspenzija u hibernate in hibernacija u years godina months mjeseci hours sati days dani Res&tore Pri&kaži &Minimize &Minimiziraj day dan minutes minute seconds sekunde Shutdown Isključi Reboot Ponovno pokreni Suspend Suspenzija Hibernate Hiberniraj &Lock after start? &Zaključaj nakon pokretanja? &Warnings on? &Prikaži upozorenja? &Now! &Isključi odmah! You can set a date in the calendar Datum možete postaviti u kalendaru &OK &U redu R&eset P&oništi &Quit &Prestanak &Info &Informacije &Logfile &Dnevnik datoteka &Preferences &Postavke &Shutdown &Isključivanje &Reboot &Ponovno pokretanje S&uspend S&uspendiraj &Hibernate &Hiberniraj Lock settings after countdown started Zaključaj postavke nakon što je pokrenuto odbrojavnje Calendar Kalendar &File &Datoteka &Help &Pomoć &Settings &Postavke &About &O programu &Reset &Poništi &Configure &Podešavanje &Keep proportions &Zadrži razmjer Warning Upozorenje Action imminent! Radnja je neminovna! Information Informacije Countdown is not running! Odbrojavanje nije pokrenuto! Turns on/off all warnings Uključi/Isključi sva upozorenja About &Qt O &Qt Version Inačica Info Info Informacije PassWord Password Lozinka &Set password &Postavi lozinku Password: Lozinka: The password is not correct! Lozinka nije ispravna! &Change password &Promijeni lozinku Preferences Preferences Postavke Enable the &target time at startup Omogući &ciljano vrijeme pri pokretanju Shutdown Isključi Shutdown type: Način isključivanja: Target time: Ciljano vrijeme: Minutes to countdown: Minute za odbrojavanje: Font: Slovo: Font size 1: Veličina slova 1: Font size 2: Veličina slova 2: Font size 3: Veličina slova 3: Size for log file: Veličina datoteke dnevnika: Reboot Ponovno pokreni Suspend Suspendiraj Hibernate Hiberniraj A&utostart A&utomatsko pokretanje &Hide qshutdown at startup &Sakrij qshutdown pri pokretanju Lock screen &for suspend and hibernate Zaključaj zaslon &pri suspenziji i hibernaciji &Edit configuration file Uredi konfiguracijsku datoteku Enable the minute &countdown at startup Omogući odbrojavanje &minuta pri pokretanju &Reset settings &Vrati početne postavke Size for log file in KB Veličina za dnevnik datoteku u KB "&Lock after start?" "&Zaključaj nakon pokretanja?" "&Warnings on?" "&Prikaži upozorenja?" Log start time of qshutdown and how long it was running Zapiši vrijeme pokretanja programa qshutdown i koliko dugo je bio pokrenut L&ogging Z&apisivanje dnevnika checkboxes and "now!" button potvrdni okviri i "sad!" gumb OK and Minimize buttons OK i Minimiziraj buttons gumbi Labels for example Oznake za primjer Set a font Postavi slova What target time should be displayed by default at startup? How many minutes should be displayed for countdown by default at startup? What should be displayed first by default at startup? Set if the checkbox for "Lock after start?" should be checked by default at startup Set if the checkbox for "Warnings on?" should be checked by default at startup The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. &Disable hiding &Onemogući skrivanje General Općenito Advanced Napredno Suspend method: Način suspenzije: automatic automatski user defined korisnički definirano Hibernate method: Način hibernacije: Shutdown method: Način isključivanja: Reboot method: Način ponovnog pokretanja: Please input an user specified command for suspend here Molim vas, ovdje unesite korisnički određenu naredbu za suspendiranje Gnome session Gnome sesija KDE session KDE sesija Please input an user specified command for shutdown here Molim vas, ovdje unesite korisnički određenu naredbu za isključivanje Please input an user specified command for reboot here Molim vas, ovdje unesite korisnički određenu naredbu za ponovno pokretanje Please input an user specified command for hibernate here Molim vas, ovdje unesite korisnički određenu naredbu za hibernaciju Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. Quit qshutdown after countdown ended? Ugasi qshutdown nakon što je odbrojavanja završilo? &Start countdown at startup &Početak odbrojavanja pri pokretanju Hide qshutdown at startup if "Start countdown" is checked. The File "%1" is not writable! Maybe you just don't have the permissions to do so. U Datoteku "%1" nije dopušteno pisanje! Možda naprosto nemate dopuštenja za to. Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Error Please read this carefully! QObject qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> shutdown-qapps-1.6.8/qshutdown/src/translations/qshutdown-gl.ts0000644000175000017500000007562012157032701025227 0ustar hakaishihakaishi About About qshutdown Sobre qshutdown Version Versión &About &Sobre &Thanks To A&gradecementos <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">emprega Qt</span></p> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian.</p> <p >Agradecémoslle especialmente a:<br /></p><p >Fabian Deuchler por ter axudado acó e acolá.<br /><br />E a Brian Nelson por auspiciar o envío a Debian.</p> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> <p >qshutdown, unha ferramenta de apagado baseada na conta atrás do tempo</p><p >Autor: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> ou <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> para informa dos fallos.</p> Calendar Calendar Calendario ChangePassword Change Password Cambiar o contrasinal Retype password: Escriba de novo o contrasinal: New password: Novo contrasinal: Old password: Contrasinal antigo: The current password is not correct! O contrasinal actual non é correcto. The retyped password doesn't match! O contrasinal rescrito non coincide. Editor Editor Editor Gui &Minimize! &Minimizar Shutdown-time: Tempo de apagado: Minutes till shutdown: Minutos ata apagar: Reboot-time: Tempo para o reinicio: Minutes till reboot: Minutos ata reiniciar: Suspend-time: Tempo para a suspensión: Minutes till suspend: Minutos ata suspender: Hibernate-time: Tiempo para hibernar: Minutes till hibernate: Minutos ata hibernar: shutdown in apagado en reboot in reinicio en suspend in suspensión en hibernate in hibernación en years anos months meses hours horas days días Res&tore &Restaurar &Minimize &Minimizar day día minutes minutos seconds segundos Shutdown Apagar Reboot Reiniciar Suspend Suspender Hibernate Hibernar &Lock after start? &Bloquear despois de iniciar? &Warnings on? Activar os a&visos? &Now! A&gora! You can set a date in the calendar Pode estabelecer unha data no calendario &OK &Aceptar R&eset R&estabelecer &Quit &Saír &Info &Información &Logfile Ficheiro de &rexistro &Preferences &Preferéncias &Shutdown &Apagar &Reboot &Reiniciar S&uspend S&uspender &Hibernate &Hibernar Lock settings after countdown started Bloquear a configuración despois de iniciada a conta atrás Calendar Calendario &File &Ficheiro &Help &Axuda &Settings &Configuracións &About &Sobre &Reset &Restaurar &Configure &Configurar &Keep proportions &Manter as proporcións Warning Aviso Action imminent! Acción inminente! Information Información Countdown is not running! A conta atrás non está a traballar! Turns on/off all warnings Activa ou desactiva todos os avisos About &Qt Sobre &Qt Version Versión Info Info Información PassWord Password Contrasinal &Set password E&stabelecer o contrasinal Password: Contrasinal: The password is not correct! O contrasinal non é correcto! &Change password &Cambiar o contrasinal Preferences Preferences Preferencias Enable the &target time at startup Activar a &hora obxectivo no arrinque Shutdown Apagar Shutdown type: Tipo de apagado: Target time: Hora obxectivo: Minutes to countdown: Minutos para a conta atrás: Font: Tipo de letra: Font size 1: Tamaño de letra 1: Font size 2: Tamaño de letra 2: Font size 3: Tamaño de letra 3: Size for log file: Tamaño para o ficheiro de rexistro: Reboot Reiniciar Suspend Suspender Hibernate Hibernar A&utostart Iniciar a&utomáticamente &Hide qshutdown at startup &Agochar o qshutdown no arrinque Lock screen &for suspend and hibernate &Bloquear a pantalla ao suspender ou hibernar &Edit configuration file &Editar o ficheiro de configuración Enable the minute &countdown at startup Activar a &conta atrás en minutos no arrinque &Reset settings &Restabelecer os axustes Size for log file in KB Tamaño para o ficheiro de rexistro en KB "&Lock after start?" «&Bloquear despois de iniciar?» "&Warnings on?" «Activar os a&visos?» Log start time of qshutdown and how long it was running Rexistrar a hora de inicio de qshutdown e o tempo que está en execución L&ogging Re&xistrando checkboxes and "now!" button caixas de verificación e botón «agora» OK and Minimize buttons Botóns Aceptar e Minimizar Labels for example Etiquetas por exemplo Set a font Estabelecer un tipo de letra What target time should be displayed by default at startup? Debería amosarse a hora obxectivo de xeito predeterminado no arrinque? How many minutes should be displayed for countdown by default at startup? Cantos minutos deberán amosarse, de xeito predeterminado na conta atrás no arrinque? What should be displayed first by default at startup? Debería amosarse de xeito predeterminado ao arrincar por primeira vez? Set if the checkbox for "Lock after start?" should be checked by default at startup Establece se a caixiña de comprobación «Bloquear despois de iniciar?» debe ser marcada de xeito predeterminado no arrinque Set if the checkbox for "Warnings on?" should be checked by default at startup Establece se a caixiña de comprobación «Activar os avisos?» debe ser marcada de xeito predeterminado no arrinque The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. Normalmente, o botón de pechar agocha a xanela principal. Ao desactivar o agochamento sairase completamente do aplicativo ao premer o botón, no canto de agochalo. &Disable hiding &Desactivar o agochamento General Xeral Advanced Avanzado Suspend method: Método de suspensión: automatic automático user defined definido polo usuario Hibernate method: Método de hibernación: Shutdown method: Método de apagado: Reboot method: Método de reinicio: Please input an user specified command for suspend here Escriba aquí unha orde específica para suspender Gnome session Sesión de Gnome KDE session Sesión de KDE Please input an user specified command for shutdown here Escriba aquí unha orde específica para apagar Please input an user specified command for reboot here Escriba aquí unha orde específica para reiniciar Please input an user specified command for hibernate here Escriba aquí unha orde específica para hibernar Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. Algúns sistemas poden bloquear, por exemplo, o apagado xa que qshutdown aínda está a traballar. Esta opción define que qshutdown debe pecharse despois rematar a conta atrás. Quit qshutdown after countdown ended? Saír de qshutdown cando remate a conta atrás? &Start countdown at startup &Iniciar a conta atras no arrinque Hide qshutdown at startup if "Start countdown" is checked. Agocha qshutdown no arrinque se está marcado «Iniciar a conta atrás». The File "%1" is not writable! Maybe you just don't have the permissions to do so. O ficheiro «%1» non é escribíbel. E probábel que non teña permisos para facelo. Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Benvido a qshutdown! Se quere que qshutdown p.ex. apague automaticamente o sistema e emprega o Gnome Shell, entón é probábel que obteña un diálogo de apagado. Se quere dspor dun apagado directo, vaia ás preferencias e estableza o método de apagado para ConsoleKit ou outro. Non dubide en visitar https://launchpad.net/~hakaishi para informar de erros, ou calquera outra cousa sobre as traducións. Error Erro Please read this carefully! Por favor, lea isto detidamente! QObject qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> qshutdown amosará por 3 veces un aviso se restan menos de 70 segundos no reloxo.<br/><br/>Este programa utiliza qdbus enviar unha orde de apagado/reinicio/suspender/hibernar Ou unha solicitude de gnome- ou kde-session-manager, para HAL/ConsoleKit/DeviceKit/UPower e se ningún destes traballa, pode empregar a orde «sudo shutdown» (Teña en conta que ao enviar a solicitude de apagado a HAL ou a ConsoleKit, ou se se emprega a orde «shutdown», a sesión non se gardará nunca. De empregarse a orde «shutdown», o programa só será quen de apagar e reiniciar o sistema). Se non ocorre nada cando se acada o tempo do apagado ou reinicio, quere dicir que non se dispón dos permisos necesarios para executar a orde «shutdown». Neste caso pode facerse o seguinte:<br/><br/>Pegue o seguinte nun terminal:<pre>EDITOR=nano sudo -E visudo</pre>e engada esta liña:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>onde * substitúe o nome de usuario ou o nome do grupo %group.<br/><br/>O número máximo de minutos na conta atrás é de 1440 (24 horas).<br/>O ficheiro de configuración (e o de rexistro) atopase en<i>~/.qshutdown/</i> (en Linux/Unix).<br/><br/><b>Para os administradores:</b><br/> Se quere que qshutdown se execute con «bloqueo de menores» para todos os usuarios, pode facer: «sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d» e estabelecer a opción «Lock_all» en «/root/.qshutdown/qshutdown.conf» como «true» (verdadeiro). Teña en conta que qshutdown ten que comezar unha vez para xerar o ficheiro qshutdown.conf. Ademais, é necesario engadir a seguinte liña aos «sudoers» (como a anterior):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>Se algunha vez esquece o conxunto de contrasinais, só ten que retirar, manualmente, toda a liña que comeza con «Password» do ficheiro «qshutdown.conf».<br/><br/><b>Consellos de uso:</b><br/>Se quere que qshutdown deixe de «molestar», abonda con retirar a opción «Activar os avisos?»<br/><br/><b>Atallos:</b><table border="1"><tr><td>Ctrl+I</td><td>(esta) xanela de información</td></tr><tr><td>Ctrl+Q</td><td>Saír</td></tr><tr><td>Ctrl+P</td><td>Preferencias</td></tr><tr><td>Ctrl+L</td><td>escribir unha vez o tempo de execución no ficheiro de rexistro (só funciona se qshutdown pecha. Para facelo permanente estabelézao nas preferencias).</td></tr><tr><td>Ctrl+S</td><td>estabelecer o apagado</td></tr><tr><td>Ctrl+R</td><td>estabelecer o reinicio</td></tr><tr><td>Ctrl+U</td><td>estabelecer a suspensión na RAM</td></tr><tr><td>Ctrl+H</td><td>estabelecer a hibernación</td></tr><tr><td>Ctrl+E</td><td>deter a conta atrás (só se xa comezou a conta atrás e o administrador non restrinxiu o acceso)</td></tr><tr><td>Maiús+E</td><td>para editar o ficheiro de configuración (para isto é preciso un contrasinal. Se vostede é un usuario, pode estabelecer un «contrasinal baleiro» (deixe o campo do contrasinal baleiro)).</td></tr></table> shutdown-qapps-1.6.8/qshutdown/src/translations/qshutdown-eo.ts0000644000175000017500000005552412177130552025236 0ustar hakaishihakaishi About About qshutdown Pri qshutdown Version Versio &About &Pri &Thanks To &Dankon al <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Uzado de Qt</span></p> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian.</p> <p >Specialaj dankoj al:<br /></p><p >Fabian DEUCHLER por ĝenerala helpado.<br /><br />kaj Brian NELSON por sponsori la alŝutoj al Debiano.<br /><br />Tradukisto: Michael MORONI</p> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> Calendar Calendar Kalendaro ChangePassword Change Password Ŝanĝi pasvorton Retype password: Retajpu pasvorton: New password: Nova pasvorto: Old password: Malnova pasvorto: The current password is not correct! La aktuala pasvorto ne estas korekta! The retyped password doesn't match! La retajpita pasvorto ne kongruas! Editor Editor Redaktilo Gui &Minimize! &Malmaksimigu! Shutdown-time: Tempo de elŝalto: Minutes till shutdown: Minutoj ĝis elŝalto: Reboot-time: Tempo de restartigo: Minutes till reboot: Minutoj ĝis restartigo: Suspend-time: Tempo de suspendo: Minutes till suspend: Minutoj ĝis suspendo: Hibernate-time: Tempo de pasivumigo: Minutes till hibernate: Minutoj ĝis pasivumigo: shutdown in elŝalto en reboot in restartigo en suspend in suspendo en hibernate in pasivumigo en years jaroj months monatoj hours horoj days tagoj Res&tore Res&taŭrigi &Minimize &Minimumigi day tago minutes minutoj seconds sekundoj Shutdown Elŝalti Reboot Restartigi Suspend Prokrasti Hibernate Pasivumigi &Lock after start? Ĉu ŝ&losi post starto? &Warnings on? Ĉu enŝalti a&vertojn? &Now! &Nun! You can set a date in the calendar Vi povas agordi daton en la kalendaro &OK &Bone R&eset R&eŝarĝi &Quit &Eliri &Info &Informoj &Logfile Dosierprotoko&lo &Preferences &Agordoj &Shutdown &Elŝalti &Reboot &Restartigi S&uspend S&uspendi &Hibernate &Pasivumigi Lock settings after countdown started Ŝlosi agordojn post ol startigo de ĝisnombrado Calendar Kalendaro &File &Dosiero &Help &Helpo &Settings &Agordoj &About &Pri &Reset &Reŝarĝi &Configure &Agordi &Keep proportions &Manteni proporciojn Warning Averto Action imminent! Ago tujas! Information Informoj Countdown is not running! Ĝisnombrado ne estas rulanta! Turns on/off all warnings Enŝalti/malŝalti ĉiujn avertojn About &Qt Pri &Qt Version Versio Info Info Informoj PassWord Password Pasvorto &Set password Agordi pa&svorton Password: Pasvorto: The password is not correct! La pasvorto ne estas korekta! &Change password Ŝanĝi pa&svorton Preferences Preferences Agordoj Enable the &target time at startup Enŝalti la &tempon de celo je startigo Shutdown Elŝalti Shutdown type: Speco de elŝalto: Target time: Tempo de celo: Minutes to countdown: Minutoj al ĝisnombrado: Font: Tiparo: Font size 1: Grando de tiparo 1: Font size 2: Grando de tiparo 2: Font size 3: Grando de tiparo 3: Size for log file: Grando de protokoldosieroj: Reboot Restartigi Suspend Suspendi Hibernate Pasivumigi A&utostart Aŭt&omata starto &Hide qshutdown at startup &Kaŝi qelŝalton je startigo Lock screen &for suspend and hibernate Ŝlosi ekranon &por prokrasto kaj pasivumigo &Edit configuration file R&edakti agorddosieron Enable the minute &countdown at startup Enŝalti la &minutan ĝisnombradon je starto &Reset settings &Rekomencigi agordojn Size for log file in KB "&Lock after start?" "Ĉu ŝ&losi post startigo?" "&Warnings on?" "Ĉu enŝalti a&vertojn?" Log start time of qshutdown and how long it was running L&ogging Pr&otokolado checkboxes and "now!" button OK and Minimize buttons Butonoj Bone kaj Minimumigi Labels for example Set a font Agordi tiparon What target time should be displayed by default at startup? How many minutes should be displayed for countdown by default at startup? What should be displayed first by default at startup? Set if the checkbox for "Lock after start?" should be checked by default at startup Set if the checkbox for "Warnings on?" should be checked by default at startup The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. &Disable hiding General Ĝenerala Advanced Progresita Suspend method: Prokrasta metodo: automatic aŭtomata user defined difinita de uzanto Hibernate method: Pasivumiga metodo: Shutdown method: Elŝalta metodo: Reboot method: Restartiga metodo: Please input an user specified command for suspend here Gnome session GNOME-seanco KDE session KDE-seanco Please input an user specified command for shutdown here Please input an user specified command for reboot here Please input an user specified command for hibernate here Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. Quit qshutdown after countdown ended? &Start countdown at startup &Startigi ĝisnombrado je startigo Hide qshutdown at startup if "Start countdown" is checked. The File "%1" is not writable! Maybe you just don't have the permissions to do so. Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Error Please read this carefully! QObject qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> shutdown-qapps-1.6.8/qshutdown/src/translations/qshutdown-uz.ts0000644000175000017500000010231712157032701025255 0ustar hakaishihakaishi About About qshutdown qshutdown ҳақида Version Версияси &About &Ҳақида &Thanks To &Раҳмат, сизга, <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Qt'дан фойдаланиш</span></p> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian.</p> <p >Алоҳида миннатдорчлик билдирамиз:<br /></p><p >Fabian Deuchler'га бу ерда ва у ерда ёрдам берганлиги учун<br /><br />ва Brian Nelson'га Debian'га юклашларни қўллаб-қувватлагани учун</p> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> <p >qshutdown, вақт ва ўчириш вақти ҳисобига асосланган ўчириш воситаси</p><p >Муаллифи: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Муаллифлик ҳуқуқи &copy; 2010-2013, Christian Metscher'га тегишли</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Марҳамат, <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> сайтидан фойдаланинг ёки носозликларни хабар бериш <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> сайтидан фойдаланинг.</p> Calendar Calendar Календар ChangePassword Change Password Махфий сўзни ўзгартириш Retype password: Махфий сўзни қайта киритинг: New password: Янги махфий сўз: Old password: Эски махфий сўз: The current password is not correct! Жорий махфий сўз хато! The retyped password doesn't match! Кейинги киритилган махфий сўзингиз олдингисидан фарқли! Editor Editor Таҳрирчи Gui &Minimize! &Ёиғиш! Shutdown-time: Ўчиш вақти: Minutes till shutdown: Ўчгунгача дақиқалар: Reboot-time: Ўчиб-ёниш вақти: Minutes till reboot: Ўчиб-ёнгунга қадар дақиқалар: Suspend-time: Кутиш усули вақти: Minutes till suspend: Кутиш усулига қадар дақиқалар: Hibernate-time: Уйқуга кетиш вақти: Minutes till hibernate: Уйқуга кетганга қадар дақиқалар: shutdown in ўчириш: reboot in ўчириб-ёқиш: suspend in кутиш усулига ўтиш: hibernate in уйқуга кетиш: years йиллар months ойлар hours соатлар days кунлар Res&tore Қайта &тиклаш &Minimize Й&иғиш day кун minutes дақиқалар seconds сониялар Shutdown Ўчириш Reboot Ўчириб-ёқиш Suspend Кутиш усули Hibernate Уйқуга кетиш усули &Lock after start? Ишга туширилгандан сўнг &қулфлансинми? &Warnings on? &Огоҳлантирилсинми? &Now! &Ҳозир! You can set a date in the calendar Сиз вақтни тақвимда ўрната оласиз &OK &OK R&eset Т&иклаш &Quit Чи&қиш &Info &Маълумот &Logfile &Маълумотлар файли &Preferences &Мослаш &Shutdown Ў&чириш &Reboot &Ўчириб-ёқиш S&uspend К&тиш усулига ўтиш &Hibernate &Уйқуга кетиш Lock settings after countdown started Вақт ҳисоби ишга тушгандан сўнг мослашларни қулфлаш Calendar Тақвим &File &Файл &Help &Ёрдам &Settings &Мосламалар &About &Ҳақида &Reset &Тиклаш &Configure &Мослаш &Keep proportions Пропорцияни &сақлаш Warning Диққат Action imminent! Амални бекор қилиб бўлмайди! Information Маълумот Countdown is not running! Тескари вақт ҳисоби ишга туширилмаган! Turns on/off all warnings Огоҳлантиришларни ўчириш/ёқиш About &Qt &Qt ҳақида Version Версияси Info Info Маълумот PassWord Password Махфий сўз &Set password Махфий сўз &ўрнатиш Password: Махфий сўз: The password is not correct! Махфий сўз - хато! &Change password Махфий сўзни &ўзгартириш Preferences Preferences Параметрлар Enable the &target time at startup Ишга тушиш &мўлжал вақтини ёқиш Shutdown Ўчириш Shutdown type: Ўчириш тури: Target time: Мўлжалланган вақт: Minutes to countdown: Тескари ҳисоб вақти дақиқалари: Font: Шрифт: Font size 1: Шрифт ҳажми 1: Font size 2: Шрифт ҳажми 2: Font size 3: Шрифт ҳажми 3: Size for log file: Лог файл ҳажми: Reboot Ўчириб-ёқиш Suspend Кутиш усули Hibernate Уйқуга кетиш усули A&utostart А&вто ишга тушиш &Hide qshutdown at startup qshutdown ишга тушганда &яшириш Lock screen &for suspend and hibernate Кутиш ва уйқуга кетиш усули &учун экранни қулфлаш &Edit configuration file Мослаш файлини &ўзгартириш Enable the minute &countdown at startup Ушбу дақиқа ва &тескари ҳисоб вақти ишга туширилганда ёқилсин &Reset settings Мослашларни &тиклаш Size for log file in KB Маълумот файлининг КБлардаги ҳажми "&Lock after start?" "Ишга тушганда &қулфлансинми?" "&Warnings on?" "&Огоҳлантирилсинми?" Log start time of qshutdown and how long it was running qshutdown'нинг ишга тушиш вақти ва қанча вақт ишлаганини журналга қўшиш L&ogging Л&оглаш checkboxes and "now!" button байроқча ва "Ҳозир!" тугмаси OK and Minimize buttons ОК ва тугмаларни йиғиш Labels for example Намуна учун ёрлиқлар Set a font Шрифт ўрнатиш What target time should be displayed by default at startup? Стандарт ҳолатда ишга тушганда, қанча мўлжал вақт кўриниши керак? How many minutes should be displayed for countdown by default at startup? Стандарт ҳолатда ишга тушганда, тескари вақт ҳисоби учун қанча дақиқа кўриниши керак? What should be displayed first by default at startup? Стандарт ҳолатда ишга тушганда, биринчи нима кўриниши керак? Set if the checkbox for "Lock after start?" should be checked by default at startup Агарда байроқча "Ишга тушгандан сўнг қулфлансинми?" учун ўрнатилган бўлса, стандарт ҳолатда ишга тушган вақтда текширилади Set if the checkbox for "Warnings on?" should be checked by default at startup Агарда байроқча "Огоҳлантиришлар ёқилсинми?" учун ўрнатилган бўлса, стандарт ҳолатда ишга тушган вақтда текширилади The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. Одатда яшириш тугмаси асосий ойнани яширади. Яширишни ўчириш - qshutdown'дан тўғридан-тўғри чиқиб кетиш деганидир. &Disable hiding Яширишни &ўчириш General Умумий Advanced Қўшимча Suspend method: Кутиш усули: automatic автоматик user defined аниқ фойдаланувчи Hibernate method: Уйқуга кетиш усули: Shutdown method: Ўчириш усули: Reboot method: Ўчириб-ёқиш усули: Please input an user specified command for suspend here Марҳамат, кутиш усулига ўтиш учун бу ерга фойдаланувчи кўрсатган буйруқни киритинг Gnome session Gnome сеанси KDE session KDE сеанси Please input an user specified command for shutdown here Марҳамат, ўчириш учун бу ерга фойдаланувчи кўрсатган буйруқни киритинг Please input an user specified command for reboot here Марҳамат, ўчириб-ёқиш учун бу ерга фойдаланувчи кўрсатган буйруқни киритинг Please input an user specified command for hibernate here Марҳамат, уйқуга кетиш учун бу ерга фойдаланувчи кўрсатган буйруқни киритинг Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. Баъзи тизим блокланган, масалан, ўчириш, чунки qshutdown ҳалигача ишламоқда. Агар тескари ҳисоб тугагандан сўнг qshutdown`дан чиқиш керак бўлса, унга "тўғри" белгисини белгиланг. Quit qshutdown after countdown ended? Тескари ҳисоб вақти тугаганда qshutdown дастуридан чиқилсинми? &Start countdown at startup Тескари ҳисоб вақтини тизим юкланганда &ишга тушириш Hide qshutdown at startup if "Start countdown" is checked. "Тескари ҳисоб вақти ишга тушганда" текширилса, qshutdown ишга тушиш вақтида яширилсин. The File "%1" is not writable! Maybe you just don't have the permissions to do so. Файл "%1" ёзиб бўлмайди! Балки, сизга ўзгартиришга рухсат берилмагандир. Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Error Please read this carefully! QObject qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> shutdown-qapps-1.6.8/qshutdown/src/translations/qshutdown-de.ts0000644000175000017500000007624712177133224025227 0ustar hakaishihakaishi About About qshutdown Über qshutdown Version Version &About &Über &Thanks To &Dank an <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Nutzt Qt</span></p> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian.</p> <p >Besonderen Dank an:<br /></p><p >Fabian Deuchler für seine Hilfe hier und da.<br /><br />Und den Sponsor Brian Nelson für das Hochladen nach Debian.</p> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> <p >qshutdown, ein auf Uhrzeit und Countdown basierendes Werkzeug zum Herunterfahren</p><p >Autor: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013 Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Bitte benutzen Sie <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> oder <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a>, um Problemberichte zu melden.</p> Calendar Calendar Kalender ChangePassword Change Password Passwort ändern Retype password: Passwort wiederholen: New password: Neues Passwort: Old password: Altes Passwort: The current password is not correct! Das aktuelle Passwort ist nicht korrekt! The retyped password doesn't match! Die Passwörter stimmen nicht überein! Editor Editor Editor Gui &Minimize! &Minimieren! Shutdown-time: Shutdown-Zeitpunkt: Minutes till shutdown: Minuten zum Shutdown: Reboot-time: Neustart-Zeitpunkt: Minutes till reboot: Minuten zum Neustart: Suspend-time: Standby-Zeitpunkt: Minutes till suspend: Minuten zum Standby: Hibernate-time: Ruhezustand-Zeitpunkt: Minutes till hibernate: Minuten zum Ruhezustand: shutdown in Shutdown in reboot in Neustart in suspend in Standby in hibernate in Ruhezustand in years Jahren months Monaten hours Stunden days Tagen Res&tore &Wiederherstellen &Minimize &Minimieren day Tag minutes Minuten seconds Sekunden Shutdown Shutdown Reboot Neustart Suspend Standby Hibernate Ruhezustand &Lock after start? Nach dem Start &sperren? &Warnings on? &Warnungen an? &Now! &Jetzt! You can set a date in the calendar Sie können ein Datum im Kalender einstellen &OK &OK R&eset R&eset &Quit Be&enden &Info &Info &Logfile Protoko&lldatei &Preferences &Einstellungen &Shutdown &Shutdown &Reboot Neusta&rt S&uspend S&tandby &Hibernate Ru&hezustand Lock settings after countdown started Sperre Einstellungen nachdem der Countdown gestartet hat Calendar Kalender &File &Datei &Help &Hilfe &Settings &Einstellungen &About &Über &Reset &Reset &Configure &Konfigurieren &Keep proportions &Behalte Proportionen bei Warning Warnung Action imminent! Ausführung steht kurz bevor! Information Information Countdown is not running! Der Countdown läuft nicht! Turns on/off all warnings Schaltet alle Warungen an/aus About &Qt Über &Qt Version Version Info Info Info PassWord Password Passwort &Set password Passwort &festlegen Password: Passwort : The password is not correct! Das Passwort ist nicht korrekt! &Change password P&asswort ändern Preferences Preferences Einstellungen Enable the &target time at startup Aktiviere &Ziel-Zeit bei Programmstart Shutdown Shutdown Shutdown type: Shutdown-Art: Target time: Ziel-Zeit: Minutes to countdown: Minuten für Countdown: Font: Schriftart: Font size 1: Schriftgröße 1: Font size 2: Schriftgröße 2: Font size 3: Schriftgröße 3: Size for log file: Größe der Protokolldatei: Reboot Neustart Suspend Standby Hibernate Ruhezustand A&utostart A&utostart &Hide qshutdown at startup &Verstecke qshutdown bei Programmstart Lock screen &for suspend and hibernate Sperre Bildschirm &für Standby und Ruhezustand &Edit configuration file &Konfigurationsdatei editieren Enable the minute &countdown at startup Aktiviere den Minuten-&Countdown bei Programmstart &Reset settings &Einstellungen zurücksetzen Size for log file in KB Größe der Protokolldatei in KB "&Lock after start?" "Nach dem Start &sperren?" "&Warnings on?" "&Warnungen an?" Log start time of qshutdown and how long it was running Protokolliere die Startzeit von qshutdown und wie lange es gelaufen ist L&ogging &Protokollieren checkboxes and "now!" button Checkboxen und "Jetzt!" Knopf OK and Minimize buttons OK und MInimieren Knöpfe Labels for example Z.B Beschriftungen Set a font Setze eine Schriftart What target time should be displayed by default at startup? Welche Ziel-Zeit soll bei Programmstart standardmäßig angezeigt werden? How many minutes should be displayed for countdown by default at startup? Wie viele Minuten sollen bei Programmstart standardmäßig für den Countdown angezeigt werden? What should be displayed first by default at startup? Was sollte bei Programmstart standardmäßig zuerst angezeigt werden? Set if the checkbox for "Lock after start?" should be checked by default at startup Setze ob die Checkbox für "Nach dem Start sperren?" standardmäßig gesetzt sein soll Set if the checkbox for "Warnings on?" should be checked by default at startup Setze ob die Checkbox für "Warnungen an?" bei Programmstart standardmäßig gesetzt sein soll The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. Der Knopf zum schließen des Fensters versteckt für gewöhnlich das Hauptfenster. Das Verstecken zu deaktivieren bedeutet, dass qshutdown dann stattdessen beendet wird. &Disable hiding &Deaktiviere das Verstecken General Allgemein Advanced Erweitert Suspend method: Befehlsmethode für Standby: automatic automatisch user defined benutzerdefiniert Hibernate method: Befehlsmethode für Ruhezustand: Shutdown method: Befehlsmethode für Shutdown: Reboot method: Befehlsmethode für Neustart: Please input an user specified command for suspend here Bitte geben sie hier einen benutzerdefinierten Befehl für den Standby ein Gnome session Gnome Sitzung KDE session KDE Sitzung Please input an user specified command for shutdown here Bitte geben sie hier einen benutzerdefinierten Befehl für den Shutdown ein Please input an user specified command for reboot here Bitte geben sie hier einen benutzerdefinierten Befehl für den Neustart ein Please input an user specified command for hibernate here Bitte geben sie hier einen benutzerdefinierten Befehl für den Ruhezustand ein Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. Manche Systeme blockieren z.B. den Shutdown weil qshutdown noch läuft. Setze ein Häkchen, wenn qshutdown sich nach dem Ende des Countdowns beenden soll. Quit qshutdown after countdown ended? qshutdown nach dem Countdown beenden? &Start countdown at startup Starte &Countdown bei Programmstart Hide qshutdown at startup if "Start countdown" is checked. Verstecke qshutdown bei Programmstart, wenn "Starte Countdown bei Programmstart" abgehakt ist. The File "%1" is not writable! Maybe you just don't have the permissions to do so. Die Datei "%1" ist nicht beschreibbar! Vielleicht haben Sie dazu einfach keine Rechte. Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Willkommen bei qshutdown! Wenn Sie möchten, das qshutdown das System herunterfährt und Sie die Gnome Shell benuten, dann ist es wahrscheinlich, dass ein Shutdown-Dialog erscheint. Wenn Sie einen direkten Shutdown möchten, dann ziehen Sie bitte in Betracht in die Einstellungen zu gehen und die Shutdown-Methode auf ConsoleKit oder ähnliches zu stellen. Sie können gerne jederzeit https://launchpad.net/~hakaishi besuchen um Bugs oder alles was die Übersetzungen betrifft besuchen. Error Fehler Please read this carefully! Bitte lesen Sie dies sorgfältig! QObject qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> qshutdown wird sich selbst 3 mal als Warnung zeigen, falls weniger als 70 Sekunden übrig sind.<br/><br/>Dieses Programm benutzt qdbus um eine Shutdown/Neustart/Standby/Ruhezustand Anforderung an den Gnome- oder KDE-Session-Manager, zu HAL/ConsoleKit/DeviceKit/UPower zu senden und wenn nichts davon funktioniert, wird der Befehl 'sudo shutdown' benutzt (merke, dass die Sitzung niemals gespeichert werden kann, wenn die Anforderung an HAL oder ConsoleKit gesendet, oder der shutdown Befehl benutzt wird. Falls der shutdown Befehl benutzt wird, kann das Programm nur den Shutdown und Neutstart ausführen). Wenn also beim Erreichen des Shutdown- oder Neustart-Zeitpunkts nichts passiert, liegt das daran, dass einem die Rechte für den shutdown Befehl fehlen. In diesem Fall kann man das Folgende machen:<br/><br/>Füge das Folgende in ein Terminal ein:<pre>EDITOR=nano sudo -E visudo</pre>und füge diese Zeile hinzu:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>wobei * den Benuternamen oder %Gruppennamen ersetzt.<br/><br/>Die maximale Zahl für den Minuten-Countdown ist 1440 (24 Stunden).<br/>Die Konfigurationsdatei (und Protokolldatei) befindet sich im Verzeichnis <i>~/.qshutdown/</i> (unter Linux/Unix).<br/><br/><b>Für Administratoren:</b><br/>Wenn Sie möchten, dass qshutdown mit "Kindersicherung" für alle Benutzer läuft, können Sie "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" ausführen und dann die Option Lock_all in /root/.qshutdown/qshutdown.conf auf true setzen. Beachten Sie bitte, dass qshutdown einmal gestartet worden sein muss, um die qshutdown.conf zu generieren. Des Weiteren sollte das Folgende in die sudoers eingetragen werden (wie oben):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>Falls Sie jemals das von Ihnen festgelegte Passwort vergessen sollten, können Sie einfach die ganze mit "Password" beginnende Zeile manuell aus der qshutdown.conf entfernen.<br/><br/><b>Hinweise zur Bedienung:</b><br/>Wenn man möchte, dass qshutdown aufhört zu "nerven", kann man einfach das Häckchen bei "Warnungen an?" entfernen.<br/><br/><b>Kürzel:</b><table border="1"><tr><td>Strg+I</td><td>(dieses) Informationsfenster</td></tr><tr><td>Strg+Q</td><td>Beenden</td></tr><tr><td>Strg+P</td><td>Einstellungen</td></tr><tr><td>Strg+L</td><td>schreibe in die Protokolldatei (funktioniert nur wenn qshutdown beendet wird. Um das permanent zu machen, stelle das in den Einstellungen ein.)</td></tr><tr><td>Strg+S</td><td>stelle auf Shutdown</td></tr><tr><td>Strg+R</td><td>stelle auf Neustart</td></tr><tr><td>Strg+U</td><td>stelle auf Standby (RAM)</td></tr><tr><td>Strg+H</td><td>stelle auf Ruhezustand</td></tr><tr><td>Strg+E</td><td>stoppe den Countdown (funktioniert nur bei laufendem Countdown und wenn der Administrator den Zugriff nicht eingeschränkt hat)</td></tr><tr><td>Umschalttaste(Shift)+E</td><td>zum editieren der Konfigurationsdatei (hierzu ist ein Passwort nötig, das man festlegen kann. Falls man Benutzer ist, kann man einfach ein "leeres Passwort" (Passwortfeld leer lassen) einstellen.)</td></tr></table> shutdown-qapps-1.6.8/qshutdown/src/translations/qshutdown-zh_TW.ts0000644000175000017500000007426012157032701025657 0ustar hakaishihakaishi About About qshutdown 關於qshutdown Version 版本 &About 關於(&A) &Thanks To 感謝(&T) <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">使用 Qt</span></p> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian.</p> <p >特別感謝:<br /></p><p >幫助很多的 Fabian Deuchler。<br /><br />和將這項專案更新到Debian的 Brian Nelson。</p> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> <p >qshutdown是一種以時間倒數機制的關機工具</p><p >作者:Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >請使用 <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> 來回報臭蟲。</p> Calendar Calendar 行事曆 ChangePassword Change Password 變更密碼 Retype password: 重新輸入密碼: New password: 新的密碼: Old password: 舊的密碼 The current password is not correct! 當前的密碼不正確! The retyped password doesn't match! 重新嘗試後的密碼不正確! Editor Editor 編輯器 Gui &Minimize! &最小化! Shutdown-time: 關機時間: Minutes till shutdown: 分鐘直到關機: Reboot-time: 重新開機時間: Minutes till reboot: 分鐘直到重新開機: Suspend-time: 暫停時間: Minutes till suspend: 分鐘直到暫停: Hibernate-time: 休眠時間: Minutes till hibernate: 分鐘直到休眠: shutdown in 關機時間 reboot in 重開機時間 suspend in 暫停時間 hibernate in 休眠時間 years months hours days Res&tore 恢復(&T) &Minimize 最小化(&M) day minutes seconds Shutdown 關機 Reboot 重新開機 Suspend 暫停 Hibernate 休眠 &Lock after start? 鎖定後開始?(&L) &Warnings on? 警告(&W)? &Now! 現在(&N)! You can set a date in the calendar 您可以在行事曆裡設定一個日期 &OK 確定(&O) R&eset 重置(&E) &Quit 結束(&Q) &Info 訊息(&I) &Logfile 紀錄檔(&L) &Preferences 偏好設定(&P) &Shutdown 關機(&S) &Reboot 重新開機(&R) S&uspend 暫停(&U) &Hibernate 休眠(&H) Lock settings after countdown started 在開始到數時計時後鎖住設定 Calendar 行事曆 &File 檔案(&F) &Help 幫助(&H) &Settings 設定(&S) &About 關於(&A) &Reset 重置(&R) &Configure 設定(&C) &Keep proportions 保持比例(&K) Warning 警告 Action imminent! 即將發生的動作! Information 信息 Countdown is not running! 倒數計時沒有執行! Turns on/off all warnings 開啟或關閉所有警告 About &Qt 關於 Qt Version 版本 Info Info 信息 PassWord Password 密碼 &Set password 設定密碼(&S) Password: 密碼: The password is not correct! 密碼不正確! &Change password 變更密碼(&C) Preferences Preferences 偏好設定 Enable the &target time at startup 在啟動時啟用這個目標時間 Shutdown 關機 Shutdown type: 關機類型: Target time: 目標時間: Minutes to countdown: 倒數計時的分鐘 Font: 字型: Font size 1: 字型大小1: Font size 2: 字型大小2: Font size 3: 字型大小3: Size for log file: 紀錄檔的大小限制 Reboot 重新開機 Suspend 暫停 Hibernate 休眠 A&utostart 自動開始(&A) &Hide qshutdown at startup 在啟動後隱藏qshutdown(&H) Lock screen &for suspend and hibernate 對於暫停和休眠鎖住螢幕(&F) &Edit configuration file 編輯設定檔(&E) Enable the minute &countdown at startup 在啟動後啟用分的倒數計時(&C) &Reset settings 重新設定(&R) Size for log file in KB 紀錄檔案的大小(KB) "&Lock after start?" "在開始後鎖定(&L)?" "&Warnings on?" "警告(&W)?" Log start time of qshutdown and how long it was running qshutdown的紀錄開始時間和多久 它被運行 L&ogging 紀錄中(&L) checkboxes and "now!" button 『選擇框』和『現在!』的按鈕 OK and Minimize buttons 『確定』和『最小化』的按鈕 Labels for example 範例標籤 Set a font 設定字型 What target time should be displayed by default at startup? 什麼樣的目標時間會被顯示 默認情況下的啟動? How many minutes should be displayed for countdown by default at startup? 有多少分鐘會被顯示 對於默認情況下啟動的倒數計時? What should be displayed first by default at startup? 什麼是會第一個顯示 默認情況下啟動? Set if the checkbox for "Lock after start?" should be checked by default at startup 設定如果『選擇框』有選擇"在啟動後鎖定?" 將在啟動的默認下檢查 Set if the checkbox for "Warnings on?" should be checked by default at startup 設定如果這個『選擇框』有選擇"警告"? 將會檢查啟動下的預設值 The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. 關閉的按鈕平常隱藏主要的視窗. 禁止隱藏的方法,然後qshutdown會用退出來替代。 &Disable hiding 關閉隱藏(&D) General 一般 Advanced 進階 Suspend method: 暫停方法: automatic 自動 user defined 使用者自訂 Hibernate method: 休眠方法: Shutdown method: 關機方法: Reboot method: 重新開機方法: Please input an user specified command for suspend here 請在這裡對於『暫停』輸入使用者特定的指令 Gnome session Gnome session KDE session KDE session Please input an user specified command for shutdown here 請在這裡對於『關機』輸入使用者特定的指令 Please input an user specified command for reboot here 請在這裡對於『重新開機』輸入使用者特定的指令 Please input an user specified command for hibernate here 請在這裡對於『休眠』輸入使用者特定的指令 Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. 有些系統區塊針對關機的範例 因為qshutdown目前仍然在執行中。設定一個監控,當 qshutdown將在倒數計時結束後關閉。 Quit qshutdown after countdown ended? 在倒數計時結束後關閉qshutdown? &Start countdown at startup 在啟動後開始倒數計時&(S) Hide qshutdown at startup if "Start countdown" is checked. 在啟動後隱藏qshutdown,如果 已經檢查過"開始倒數計時"。 The File "%1" is not writable! Maybe you just don't have the permissions to do so. 這個檔案 "%1" 沒有辦法寫入! 可能您沒有寫入的權限。 Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. 歡迎qshutdown! 如果您要qshutdown,例如:去關機這個系統,然後您是使用Gnome Shell,那麼你很可能從那裡得到一個關機對話框。如果您要直接關機,然而請考慮進入『喜好設定』和設定CondoleKit關機的方法或別的東西等。 請隨時參觀 https://launchpad.net/~hakaishi 並回報臭蟲或任何關於翻譯的事。 Error 錯誤 Please read this carefully! 請仔細的閱讀! QObject qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> qshutdown將顯示3次警告,如果這裡有小於70秒左右。<br/><br/>這個應用程式使用 qdbus 去傳送一個 [關機/重新開機/暫停/休眠] 請求的gnome- 或 kde-session-manager,將請求送給 HAL/ConsoleKit/DeviceKit/UPower,這裡會使用'sudo shutdown'指令 (備註: 當傳送出的關機需求給HAL或ConsoleKit,或關機的指令已經被執行中,這個Session將不會被儲存。如果關機的指令已經被執行,這個應用程式也只能去關機和重新開機)。所以,如果在沒有任何事情發生時,當這個 shutdown- 或 reboot-time已達到。 它意味著缺乏了執行關機指命的的權利。在這種情況下,可以做到以下幾點:<br/><br/>張貼底下指令到終端機執行:<pre>EDITOR=nano sudo -E visudo</pre>然後再加上這行:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>然而,這裡的『*』號請取代為使用者名稱或群組(%group)名稱。<br/><br/>對於分的倒數計時(countdown_minutes)的最大數字是1440 (24小時)。<br/>參數設定檔和紀錄檔的位置是在 <i>~/.qshutdown/</i> (基於Linux/Unix系統)。<br/><br/><b>針對管理者:</b><br/>如果您要qshutdown運行"parental lock"對於各使用者,您可以執行 "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" ,然後在 /root/.qshutdown/qshutdown.conf 檔案裡將 "Lock_all" 設定選項改成 true。注意,一但qshutdown啟動後就會產生 qshutdown.conf 設定檔。然而底下這行是必須要加入的:<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>,如果您可能在任何時後忘記您之前設定的密碼,只要手動的在 qshutdown.conf 設定檔裡,從"Password"這一行開始移除全部的文字。<br/><br/><b>使用提示:</b><br/>如果您要停止qshutdown的警告訊息,只要從"警告?"這個設定裡移除即可。<br/><br/><b>熱鍵:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) 信息視窗</td></tr><tr><td>Ctrl+Q</td><td>結束</td></tr><tr><td>Ctrl+P</td><td>喜好設定</td></tr><tr><td>Ctrl+L</td><td>將運行時間寫入紀錄檔(只有當qshutdown退出時。在喜好設置裡將它設為永久的設定。)</td></tr><tr><td>Ctrl+S</td><td>設定關機</td></tr><tr><td>Ctrl+R</td><td>設定重新開機</td></tr><tr><td>Ctrl+U</td><td>設定暫停</td></tr><tr><td>Ctrl+H</td><td>設定休眠</td></tr><tr><td>Ctrl+E</td><td>停止倒數計時 (只有在當倒計時已經開始,管理員沒有限制存取權限)</td></tr><tr><td>Shift+E</td><td>編輯參數設定檔 (密碼是必須的。如果您是一位使用者,您可以設定一個"空白的密碼" (將密碼這個欄位為空))。</td></tr></table> shutdown-qapps-1.6.8/qshutdown/src/translations/qshutdown-ro.ts0000644000175000017500000007524612157032701025251 0ustar hakaishihakaishi About About qshutdown Despre qshutdown Version Versiunea &About &Despre &Thanks To &Mulțumiri <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Utilizează Qt</span></p> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian.</p> <p >Mulțumiri speciale lui:<br /></p><p >Fabian Deuchler pentru ajutor.<br /><br />Și Brian Nelson pentru sponsorizarea uploadurilor în Debian.</p> <p >Traducerea în limba română: Pavăl Vlad Paul.</p> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> <p >qshutdown, utilitar de închidere programată a calculatorului</p><p >Autor: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Vă rugăm utilizați <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> sau <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> pentru raportarea defectelor.</p> Calendar Calendar Calendar ChangePassword Change Password Schimbați parola Retype password: Reintroduceți parola: New password: Parola nouă: Old password: Parolă veche: The current password is not correct! Parola actuală nu este corectă! The retyped password doesn't match! Parola nouă nu se potrivește! Editor Editor Editor Gui &Minimize! &Minimizează! Shutdown-time: Oră oprire: Minutes till shutdown: Minute până la oprire: Reboot-time: Oră repornire: Minutes till reboot: Minute până la repornire: Suspend-time: Oră suspendare: Minutes till suspend: Minute până la suspendare: Hibernate-time: Oră hibernare: Minutes till hibernate: Minute până la hibernare: shutdown in oprește în reboot in repornește în suspend in suspendă în hibernate in hibernează în years ani months luni hours ore days zile Res&tore &Reface &Minimize &Minimizare day zi minutes minute seconds secunde Shutdown Închidere Reboot Repornire Suspend Suspendare Hibernate Hibernare &Lock after start? B&lochează după pornire? &Warnings on? A&vertizări? &Now! Acu&m! You can set a date in the calendar Puteți stabili data în calendar &OK &OK R&eset R&esetare &Quit &Ieșire &Info &Info &Logfile Jurna&l &Preferences &Preferințe &Shutdown &Oprire &Reboot &Repornire S&uspend &Suspendare &Hibernate &Hibernare Lock settings after countdown started Blocare setări după începerea numărătorii inverse Calendar Calendar &File &Fișier &Help &Ajutor &Settings &Configurări &About &Despre &Reset &Resetare &Configure &Configurare &Keep proportions &Păstrează proporțiile Warning Atenție Action imminent! Acțiune iminentă! Information Informații Countdown is not running! Numărătoarea inversă nu este activă! Turns on/off all warnings Activare/Dezactivare atenționări About &Qt Despre &Qt Version Versiunea Info Info Info PassWord Password Parolă &Set password &Stabilire parolă Password: Parolă: The password is not correct! Parolă incorectă! &Change password S&chimbă parola Preferences Preferences Preferințe Enable the &target time at startup Activează ora dori&tă la pornirea calculatorului Shutdown Închidere Shutdown type: Tip închidere: Target time: Oră dorită: Minutes to countdown: Numărătoare inversă - minute: Font: Font: Font size 1: Mărime font 1: Font size 2: Mărime font 2: Font size 3: Mărime font 3: Size for log file: Mărime fișier jurnal: Reboot Repornire Suspend Suspendare Hibernate Hibernare A&utostart A&utostart &Hide qshutdown at startup Ascu&nde qshutdown la pornirea calculatorului Lock screen &for suspend and hibernate Blochează ecranul &la suspendare și hibernare &Edit configuration file &Editare fișier de configurare Enable the minute &countdown at startup Activare numărătoare &minute la pornirea calculatorului &Reset settings &Resetare configurare Size for log file in KB Mărime în KB pentru fișierul jurnal "&Lock after start?" „B&locare după pornire?” "&Warnings on?" „Acti&vare avetizări?” Log start time of qshutdown and how long it was running Scrieți în fișierul jurnal când a pornit qshutdown și cât timp a funcționat L&ogging Fișier &jurnal checkboxes and "now!" button Căsuțe bifare și butonul „acum!” OK and Minimize buttons Butoanele OK și Minimizează Labels for example Etichete de exemplu Set a font Alegere font What target time should be displayed by default at startup? Ce oră doriți să fie afișată implicit la pornire? How many minutes should be displayed for countdown by default at startup? Câte minute să fie afișate la pornire pentru numărătoarea inversă? What should be displayed first by default at startup? Ce să fie afișat mai întâi la pornire? Set if the checkbox for "Lock after start?" should be checked by default at startup Căsuța „Blochează după pornire?” să fie bifată implicit la pornire Set if the checkbox for "Warnings on?" should be checked by default at startup Căsuța „Activare avertizări?” să fie bifată implicit la pornire The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. Butonul de închidere de obicei ascunde fereastra principală. Dezactivarea ascunderii înseamnă că qshutdown se va închide complet. &Disable hiding &Dezactivare ascundere General General Advanced Avansat Suspend method: Metodă suspendare: automatic automat user defined stabilit de utilizator Hibernate method: Metodă hibernare: Shutdown method: Metodă oprire: Reboot method: Metodă repornire: Please input an user specified command for suspend here Introduceți aici o comandă personalizată pentru suspendare Gnome session Sesiune Gnome KDE session Sesiune KDE Please input an user specified command for shutdown here Introduceți aici o comandă personalizată pentru oprire Please input an user specified command for reboot here Introduceți aici o comandă personalizată pentru repornire Please input an user specified command for hibernate here Introduceți aici o comandă personalizată pentru hibernare Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. Unele sisteme blochează oprirea pentru că qshutdown rulează pe ele. Stabiliți dacă qshutdown trebuie să se închidă la terminarea numărătorii. Quit qshutdown after countdown ended? Închidere qshutdown la terminarea numărătorii? &Start countdown at startup &Începere numărătoare la pornire Hide qshutdown at startup if "Start countdown" is checked. Ascunde qshutdown la pornirea calculatorului dacă este bifat „Pornire numărătoare”. The File "%1" is not writable! Maybe you just don't have the permissions to do so. Fișierul „%1” nu poate fi scris! Poate nu aveți permisiune de scriere. Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Bine ați venit la qshutdown! Dacă doriți ca qshutdown de exemplu, să închidă sistemul și utilizați Gnome Shell, atunci vă sunt susceptibile de a primi un dialog de oprire de acolo. Dacă doriți o închidere directă, atunci vă rugăm să luați în considerare de a merge în preferințe și stabilirea metodei de închidere pentru ConsoleKit sau altceva. Vă rugăm să nu ezitați să vizitați https://launchpad.net/~hakaishi pentru a raporta buguri sau pentru orice cu privire la traduceri. Error Eroare Please read this carefully! Citiți aceasta cu atenție! QObject qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> qshutdown va apărea de trei ori ca avertizare dacă mai sunt 70 de secunde rămase.<br/><br/>Acest program utilizează qdbus pentru a trimite o cerere de închidere/repornire/suspendare/hibernare către administratorul de sesiune Gnome sau KDE, către HAL/ConsoleKit/DeviceKit/UPower și dacă nu funcționează niciunul se va utiliza comanda „sudo shutdown” (când se trimite cererea de închidere către HAL sau ConsoleKit, sau se utilizează comanda de mai sus, sesiunea nu va fi salvată. Dacă se utilizează comanda cu shutdown, programul va putea doar închide sau reporni calculatorul). Dacă nu se întâmplă nimic în momentul în care se termină numărătoarea, înseamnă că nu aveți drepturi de executare a comenzii shutdown. În acest caz puteți:<br/><br/>copia asta într-un terminal:<pre>EDITOR=nano sudo -E visudo</pre>și adăugați rândul ăsta:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>unde * înlocuiește numele de utilizator sau de grup. <br/><br/>Numărul maxim de minute disponibile pentru numărătoare inversă este de 1440 (24 ore).<br/>Fișierul de configurare (și fișierul jurnal) sunt în<i>~/.qshutdown/</i> (Linux/Unix).<br/><br/><b>Pentru administratori:</b><br/>Dacă vreți ca qshutdown să ruleze cu „parental lock” pentru toți utilizatorii, utilizați comanda „sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/” și setați opțiunea Lock_all in /root/.qshutdown/qshutdown.conf la true (activat). Qshutdown trebuie să fie pornit măcar oadtă pentru a genera qshutdown.conf. Ba mai mult, trebuie adăugat rândul următor în sudoers (ca mai sus):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>Dacă uitați vreodată parola, ștergeți rândul care începe cu "Password" din qshutdown.conf.<br/><br/><b>Sfaturi de utilizare:</b><br/>Ca să nu vă mai enerveze qshutsdown ,debifați „Activare avertizări?”.<br/><br/><b>Scurtături tastatură:</b><table border="1"><tr><td>Ctrl+I</td><td>fereastra (asta) cu informații</td></tr><tr><td>Ctrl+Q</td><td>Ieșire</td></tr><tr><td>Ctrl+P</td><td>Preferințe</td></tr><tr><td>Ctrl+L</td><td>scrie durata de funcționare o singură dată în fișierul jurnal (utilizabil doar dacă qshutdown se închide. O puteți seta ca permamentă în preferințe.)</td></tr><tr><td>Ctrl+S</td><td>stabilire închidere</td></tr><tr><td>Ctrl+R</td><td>stabilire repornire</td></tr><tr><td>Ctrl+U</td><td>suspendă în RAM</td></tr><tr><td>Ctrl+H</td><td>stabilire hibernare</td></tr><tr><td>Ctrl+E</td><td>oprire numărătoare (doar dacă administratorul nu a restricționat accesul și numărătoarea este în desfășurare)</td></tr><tr><td>Shift+E</td><td>editare fișier de configurare (este necesară o parolă.Ca utilizator puteți stabili o „parolă goală” (nu scrieți nimic în căsuța pentru parolă)).</td></tr></table> shutdown-qapps-1.6.8/qshutdown/src/translations/qshutdown-my.ts0000644000175000017500000007016012157032701025244 0ustar hakaishihakaishi About About qshutdown qshutdown အကြောင်း Version ဗားရှင်း &About &A အကြောင်း &Thanks To &T ကျေးဇူးတင်လွှာ <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Qt ကိုသုံးပြီး</span></p> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian.</p> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> Calendar Calendar ပြက္ခဒိန် ChangePassword Change Password စကားဝှက် ကိုပြောင်းမည်။ Retype password: စကားဝှက်ကို ပြန်ရိုက်ပါ။ New password: စကားဝှက်အသစ် - Old password: စကားဝှက်အဟောင်း - The current password is not correct! ယခုစကားဝှက်သည်မမှန်ကန်ပါ The retyped password doesn't match! ပြန်ရိုက်သည့်စကားဝှက်နှစ်ခုသည်မတူညီပါ။ Editor Editor Editor Gui &Minimize! &M ချုံ့မည် Shutdown-time: ပိတ်မည့်အချိန်- Minutes till shutdown: မပိတ်ခင်လိုသည့်မိနစ် - Reboot-time: Minutes till reboot: ပြန်မစခင်လိုသည့်မိနစ် Suspend-time: ဆိုင်းငံ့မည့်အချိန် - Minutes till suspend: မဆိုင်းငံ့ခင်လိုသည့်မိနစ် Hibernate-time: Minutes till hibernate: shutdown in ပိတ်တော့မည့် reboot in ပြန်စတော့မည့် suspend in ဆိုင်းငံ့တော့မည့် hibernate in years နှစ်များ months လများ hours နာရီများ days နေ့များ Res&tore &Minimize &M ချုံ့မည် day နေ့ minutes မိနစ် seconds စက္ကန့်များ Shutdown ပိတ်မည် Reboot စနစ်ပြန်လည်စတင်ရန် Suspend ဆိုင်းငံ့ထားမည် Hibernate လက်ရှိ အခြေအနေတိုင်းမှတ်သား၍ အပြီးထွက်မည် &Lock after start? &L ​ပြန်စပြီးပါက သော့ခတ်ထားမလား။ &Warnings on? &Now! &N ယခုချက်ချင်း You can set a date in the calendar ပြက္ခဒိန်တွင်ရက်စွဲသတ်မှတ်နိုင်ပါသည်။ &OK &O အိုကေ R&eset &e ပြန်စမည် &Quit &Q ထွက် &Info &I သတင်းအချက်အလက် &Logfile &Logfile &Preferences &Preferences &Shutdown &Sလုံး၀ပိတ်မည် &Reboot &R အစကနေပြန်စမည် S&uspend &u ဆိုင်းငံ့ထားမည် &Hibernate Lock settings after countdown started Calendar ပြက္ခဒိန် &File &Fဖိုင် &Help &H အကူအညီ &Settings &Settings &About &A အကြောင်း &Reset &Reset &Configure &Keep proportions Warning သတိပေးချက် Action imminent! Information အချက်အလက် Countdown is not running! အချိန်ကိုနောက်ပြန်ရေတွက်ခြင်းကိုမဖွင့်ထားပါ Turns on/off all warnings သတိပေးချက်များအားလုံးကိုဖွင့်မည်၊ပိတ်ထားမည် About &Qt &Qt အကြောင်း Version ဗားရှင်း Info Info အချက်အလက် PassWord Password စကားဝှက် &Set password &S စကားဝှက်သတ်မှတ်မည် Password: စကားဝှက် − The password is not correct! စကားဝှက်မမှန်ကန်ပါ &Change password &C စကားဝှက်ကိုပြောင်းမည် Preferences Preferences Preferences Enable the &target time at startup Shutdown ပိတ်မည် Shutdown type: ပိတ်မည့်အမျိုးအစား- Target time: Target အချိန်- Minutes to countdown: Font: စာလုံးပုံစံ- Font size 1: စာလုံးအရွယ်အစား ၁ - Font size 2: စာလုံးအရွယ်အစား ၂ - Font size 3: စာလုံးအရွယ်အစား ၃ - Size for log file: သိမ်းမည့်ဖိုင်အတွက်အရွယ်အစား- Reboot စနစ်ပြန်လည်စတင်ရန် Suspend ဆိုင်းငံ့ထားမည် Hibernate လက်ရှိ အခြေအနေတိုင်းမှတ်သား၍ အပြီးထွက်မည် A&utostart &u အလိုအလျောက်စမည် &Hide qshutdown at startup &H qshutdown ကိုစက်စတင်ဖွင့်ဖွင့်ခြင်းတွင် ဖျောက်ထားမည် Lock screen &for suspend and hibernate &Edit configuration file Enable the minute &countdown at startup &Reset settings &Reset settings Size for log file in KB သိမ်းမည့်ဖိုင်အရွယ်အစားKB ဖြင့် "&Lock after start?" "&Lပြန်စပြီးသည့်အချိန်တွင်သော့ခတ်ပိတ်ထားမလား" "&Warnings on?" Log start time of qshutdown and how long it was running L&ogging checkboxes and "now!" button OK and Minimize buttons အိုကေ နှင့် ချုံ့မည့်ခလုတ်များ Labels for example Set a font စာလုံးပုံစံသတ်မှတ်မည် What target time should be displayed by default at startup? How many minutes should be displayed for countdown by default at startup? What should be displayed first by default at startup? Set if the checkbox for "Lock after start?" should be checked by default at startup Set if the checkbox for "Warnings on?" should be checked by default at startup The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. &Disable hiding &Dဖျောက်ထားခြင်းကိုပိတ်ထားမည် General အထွေထွေ Advanced အဆင့်မြင့် Suspend method: ဆိုင်းငံ့မည့်နည်းလမ်း- automatic အလိုအလျောက် user defined အသုံးပြုသူမှသတ်မှတ်ထားသော Hibernate method: Hibernate နည်းလမ်း- Shutdown method: လုံး၀ပိတ်မည့်နည်းလမ်း - Reboot method: စက်ကိုပိတ်ပြီးပြန်ဖွင့်နိုင်မည့်နည်းလမ်း- Please input an user specified command for suspend here Gnome session Gnome ကဏ္ဍ KDE session KDE ကဏ္ဍ Please input an user specified command for shutdown here Please input an user specified command for reboot here Please input an user specified command for hibernate here Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. Quit qshutdown after countdown ended? အချိန်ရေတွက်မှု့ပြီးပါက qshutdown ကိုထွက်မလား။ &Start countdown at startup &S စက်စဖွင့်ဖွင့်ခြင်းမှာ အချိန်ရေတွက်မှု့ကိုစမည် Hide qshutdown at startup if "Start countdown" is checked. The File "%1" is not writable! Maybe you just don't have the permissions to do so. ဖိုင် "%1" ကိုရေးလို့မရပါ သင်ခွင့်ပြုချက်မရှိလို့လည်းဖြစ်နိုင်ပါသည်။ Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Error Please read this carefully! QObject qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> shutdown-qapps-1.6.8/qshutdown/src/translations/qshutdown-es.ts0000644000175000017500000006321512157032701025231 0ustar hakaishihakaishi About About qshutdown Acerca de qshutdown Version Versión &About &Acerca de &Thanks To Agradecimien&tos a <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Utiliza Qt</span></p> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian.</p> <p >Agradecemos especialmente a:<br /></p><p >Fabian Deuchler por ayudar aquí y allí.<br /><br />Y a Brian Nelson por auspiciar la subida a Debian.</p> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> Calendar Calendar Calendario ChangePassword Change Password Cambiar contraseña Retype password: Vuelva a escribir la contraseña: New password: Contraseña nueva: Old password: Contraseña anterior: The current password is not correct! La contraseña actual no es correcta. The retyped password doesn't match! La contraseña reescrita no coincide. Editor Editor Editor Gui &Minimize! &Minimizar Shutdown-time: Tiempo de apagado: Minutes till shutdown: Minutos hasta apagar: Reboot-time: Tiempo de reinicio: Minutes till reboot: Minutos hasta reiniciar: Suspend-time: Tiempo de suspensión: Minutes till suspend: Minutos hasta suspender: Hibernate-time: Tiempo de hibernado: Minutes till hibernate: Minutos hasta hibernar: shutdown in apagado en reboot in reinicio en suspend in suspensión en hibernate in hibernación en years años months meses hours horas days días Res&tore Res&taurar &Minimize &Minimizar day día minutes minutos seconds segundos Shutdown Apagar Reboot Reiniciar Suspend Suspender Hibernate Hibernar &Lock after start? ¿&Bloquear después de iniciar? &Warnings on? ¿Activar a&visos? &Now! &Ahora You can set a date in the calendar Puede establecer una fecha en el calendario &OK &Aceptar R&eset R&establecer &Quit &Salir &Info &Información &Logfile Archivo de &registro &Preferences &Preferencias &Shutdown &Apagar &Reboot &Reiniciar S&uspend S&uspender &Hibernate &Hibernar Lock settings after countdown started Bloquear la configuración después de iniciada la cuenta atrás Calendar Calendario &File &Archivo &Help Ay&uda &Settings &Opciones &About &Acerca de &Reset &Restablecer &Configure &Configurar &Keep proportions &Mantener proporciones Warning Aviso Action imminent! ¡Acción inminente! Information Información Countdown is not running! La cuenta regresiva no está corriendo! Turns on/off all warnings Activa o desactiva todos los avisos About &Qt Acerca de &Qt Version Versión Info Info Información PassWord Password Contraseña &Set password E&stablecer contraseña Password: Contraseña: The password is not correct! La contraseña no es correcta. &Change password &Cambiar contraseña Preferences Preferences Preferencias Enable the &target time at startup Shutdown Apagar Shutdown type: Tipo de apagado: Target time: Minutes to countdown: Minutos a la cuenta regresiva: Font: Tipo de letra: Font size 1: Tamaño de letra 1: Font size 2: Tamaño de letra 2: Font size 3: Tamaño de letra 3: Size for log file: Tamaño para el archivo log: Reboot Reiniciar Suspend Suspender Hibernate Hibernar A&utostart Iniciar a&utomáticamente &Hide qshutdown at startup &Ocultar qshutdown al inicio Lock screen &for suspend and hibernate &Bloquear la pantalla al suspender o hibernar &Edit configuration file &Editar archivo de configuración Enable the minute &countdown at startup &Reset settings &Restablecer opciones Size for log file in KB Tamaño para el archivo log en KB "&Lock after start?" «¿&Bloquear después de iniciar?» "&Warnings on?" «¿Activar a&visos?» Log start time of qshutdown and how long it was running L&ogging &Registro checkboxes and "now!" button casillas de verificación y botón «ahora» OK and Minimize buttons Botones Aceptar y Minimizar Labels for example Etiquetas por ejemplo Set a font Establecer un tipo de letra What target time should be displayed by default at startup? How many minutes should be displayed for countdown by default at startup? ¿Cuántos minutos deberán ser mostrados, por defecto, para la cuenta regresiva al inicio? What should be displayed first by default at startup? Set if the checkbox for "Lock after start?" should be checked by default at startup Set if the checkbox for "Warnings on?" should be checked by default at startup The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. Normalmente, el botón de cerrar oculta la ventana principal. Al desactivar el ocultamiento se saldrá completamente de la aplicación al pulsar el botón, en vez de ocultarla. &Disable hiding General General Advanced Avanzado Suspend method: Método de suspensión: automatic automático user defined definido por el usuario Hibernate method: Método de hibernación: Shutdown method: Método de apagado: Reboot method: Método de reinicio: Please input an user specified command for suspend here Escriba aquí un comando específico para suspender Gnome session Sesión de Gnome KDE session Sesión de KDE Please input an user specified command for shutdown here Escriba aquí un comando específico para apagar Please input an user specified command for reboot here Escriba aquí un comando específico para reiniciar Please input an user specified command for hibernate here Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. Quit qshutdown after countdown ended? ¿Salir de qshutdown cuando termine la cuenta atrás? &Start countdown at startup Hide qshutdown at startup if "Start countdown" is checked. Oculta qshutdown al inicio si "Iniciar la cuenta regresiva" está marcado. The File "%1" is not writable! Maybe you just don't have the permissions to do so. El archivo «%1» no es escribible. Quizá no tiene los permisos para hacerlo. Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Error Please read this carefully! QObject qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> shutdown-qapps-1.6.8/qshutdown/src/translations/qshutdown-cs.ts0000644000175000017500000005450012322543313025224 0ustar hakaishihakaishi About About qshutdown O aplikaci qshutdown Version Verze &About O &aplikaci &Thanks To Podě&kování <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian.</p> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> Calendar Calendar Kalendář ChangePassword Change Password Změnit heslo Retype password: Heslo znovu: New password: Nové heslo: Old password: Původní heslo: The current password is not correct! Aktuální heslo není správné! The retyped password doesn't match! Přepsané heslo nesouhlasí! Editor Editor Editor Gui &Minimize! &Minimalizovat! Shutdown-time: Čas vypnutí: Minutes till shutdown: Minut do vypnutí: Reboot-time: Čas restartu: Minutes till reboot: Minut do restartu: Suspend-time: Čas-uspání: Minutes till suspend: Minuty do uspání: Hibernate-time: Čas-hibernace: Minutes till hibernate: Minuty do hibernace: shutdown in vypínání za reboot in restartování za suspend in uspání za hibernate in years roků months měsíců hours hodin days dnů Res&tore Obnovi&t &Minimize &Minimalizovat day den minutes minut seconds vteřin Shutdown Vypnutí Reboot Restartování Suspend Uspat do paměti Hibernate Hibernace &Lock after start? &Warnings on? &Now! Teď You can set a date in the calendar Datum můžete nastavit pomocí kalendáře &OK &OK R&eset R&eset &Quit &Ukončit &Info &Informace &Logfile &Preferences &Předvolby &Shutdown Vy&pnout &Reboot &Restartovat S&uspend &Uspat do RAM &Hibernate &Uspat na disk Lock settings after countdown started Uzamkne nastavení pokud bylo spuštěno odpočítávání Calendar Kalendář &File &Soubor &Help &Nápověda &Settings &Nastavení &About &O programu &Reset O&bnovit &Configure &Nastavit &Keep proportions Warning Upozornění Action imminent! Information Informace Countdown is not running! Běží odpočítávání! Turns on/off all warnings Zapnout/vypnout všechna varování About &Qt O &Qt Version Verze Info Info Informace PassWord Password Heslo &Set password &Nastavit heslo Password: Heslo: The password is not correct! Špatné heslo! &Change password Změnit &heslo Preferences Preferences Nastavení Enable the &target time at startup Shutdown Vypnout Shutdown type: Způsob vypnutí: Target time: Minutes to countdown: Minut do začátku odpočívání: Font: Písmo: Font size 1: Velikost písma 1: Font size 2: Velikost písma 2: Font size 3: Velikost písma 3: Size for log file: Velikost logu: Reboot Restartovat Suspend Uspat do paměti Hibernate Uspat na disk A&utostart &Hide qshutdown at startup Lock screen &for suspend and hibernate &Edit configuration file &Upravit konfigurační soubor Enable the minute &countdown at startup &Reset settings &Resetovat nastavení Size for log file in KB Velikost logu v KB "&Lock after start?" "&Uzamknout po startu?" "&Warnings on?" Log start time of qshutdown and how long it was running L&ogging checkboxes and "now!" button OK and Minimize buttons Labels for example Set a font Nastavení písma What target time should be displayed by default at startup? How many minutes should be displayed for countdown by default at startup? What should be displayed first by default at startup? Set if the checkbox for "Lock after start?" should be checked by default at startup Set if the checkbox for "Warnings on?" should be checked by default at startup The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. &Disable hiding General Obecné Advanced Pokročilé Suspend method: Metoda uspání: automatic automaticky user defined definováno uživatelem Hibernate method: Metoda hibernace: Shutdown method: Metoda vypínání: Reboot method: Metoda restartu: Please input an user specified command for suspend here Gnome session KDE session Please input an user specified command for shutdown here Please input an user specified command for reboot here Please input an user specified command for hibernate here Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. Quit qshutdown after countdown ended? &Start countdown at startup Hide qshutdown at startup if "Start countdown" is checked. The File "%1" is not writable! Maybe you just don't have the permissions to do so. Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Error Chyba Please read this carefully! Toto čtěte pozorně! QObject qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> shutdown-qapps-1.6.8/qshutdown/src/translations/qshutdown-ja.ts0000644000175000017500000006265312177130303025220 0ustar hakaishihakaishi About About qshutdown qshutdown について Version バージョン &About qshutdown について(&A) &Thanks To 謝辞(&T) <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Qt を使用しています</span></p> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian.</p> <p >謝意:<br /></p><p >Fabian Deuchlerの尽力に感謝の意をここに記します。<br /><br />また、Debianへのアップロードの際、Brian Nelsonに後援を頂きました。</p> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> Calendar Calendar カレンダー ChangePassword Change Password パスワードの変更 Retype password: もう一度入力して下さい: New password: 新しいパスワード: Old password: 旧パスワード: The current password is not correct! パスワードが間違っています! The retyped password doesn't match! パスワードが一致していません! Editor Editor エディター Gui &Minimize! 最小化!(&M) Shutdown-time: シャットダウンする時間: Minutes till shutdown: シャットダウンまでの分数: Reboot-time: 再起動する時間: Minutes till reboot: 再起動までの分数: Suspend-time: サスペンドする時間: Minutes till suspend: サスペンドまでの分数: Hibernate-time: ハイバネーションする時間: Minutes till hibernate: ハイバネーションまでの分数: shutdown in シャットダウンまで reboot in 再起動まで suspend in サスペンドまで hibernate in ハイバネーションまで years months hours 時間 days Res&tore 表示する(&T) &Minimize 最小化(&M) day minutes seconds Shutdown シャットダウン Reboot 再起動 Suspend サスペンド Hibernate ハイバネーション &Lock after start? 開始後にロックする?(&L) &Warnings on? 警告をオンにする?(&W) &Now! 今すぐ!(&N) You can set a date in the calendar カレンダーに日時を設定できる &OK &OK R&eset 再設定(&E) &Quit 終了(&Q) &Info インフォ(&I) &Logfile ログファイル(&L) &Preferences 設定(&P) &Shutdown シャットダウン(&S) &Reboot 再起動(&R) S&uspend サスペンド(&U) &Hibernate ハイバネーション(&H) Lock settings after countdown started 開始後に設定をロックする Calendar カレンダー &File ファイル(&F) &Help ヘルプ(&L) &Settings 設定(&S) &About qshutdown について(&A) &Reset 再設定(&R) &Configure 環境設定する(&C) &Keep proportions 形を変えない(&K) Warning 警告 Action imminent! 後わずか! Information インフォメーション Countdown is not running! カウントダウンは起動していません! Turns on/off all warnings 警告をオン/オフ About &Qt &Qt について Version バージョン Info Info インフォ PassWord Password パスワード &Set password パスワードを設定して下さい(&S) Password: パスワード: The password is not correct! パスワードが正しくありません! &Change password パスワードを変更する(&C) Preferences Preferences 設定 Enable the &target time at startup 起動時に目標時間を有効化する(&T) Shutdown シャットダウン Shutdown type: シャットダウンタイプ: Target time: 目標時間: Minutes to countdown: カウントダウンの分数: Font: フォント: Font size 1: フォントサイズ 1: Font size 2: フォントサイズ 2: Font size 3: フォントサイズ 3: Size for log file: ログファイルのサイズ: Reboot 再起動 Suspend サスペンド Hibernate ハイバネーション A&utostart 自動起動(&U) &Hide qshutdown at startup 起動後に qshutdown を隠す(&H) Lock screen &for suspend and hibernate サスペンドとハイバネーションの為に画面をロックする(&F) &Edit configuration file ファイルの構成編集(&E) Enable the minute &countdown at startup 起動時にカウントダウンの分数を有功にする(&C) &Reset settings 設定を元に戻す(&R) Size for log file in KB ログファイルのサイズ(KB) "&Lock after start?" 「開始後にロックする?(&L)」 "&Warnings on?" 「警告をオンにする?(&W)」 Log start time of qshutdown and how long it was running 初めから終わりまでの時間を記録する L&ogging 記録する(&L) checkboxes and "now!" button チェックボックスと「今すぐ!」ボタン OK and Minimize buttons OK と最小化ボタン Labels for example 例はラベルです Set a font フォントを設定して下さい What target time should be displayed by default at startup? どの目的時間が、起動時の標準設定で表示されるべきか。 How many minutes should be displayed for countdown by default at startup? 起動の際、カウントダウンの為の基準時間は何分と表示されるべきか。 What should be displayed first by default at startup? 機動の際、基準では何が最初に表示されるべきか。 Set if the checkbox for "Lock after start?" should be checked by default at startup 「開始後にロックする?」の項目を基準として設置する。 Set if the checkbox for "Warnings on?" should be checked by default at startup 「警告をオンにする?」の項目を基準として設置する。 The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. 通常通り、ウィンドウを閉めるためのボタンを押し、 メインウィンドウを隠します。 隠匿機能の無効化とは、qshutdownが その代わりに閉じられることを指します。 &Disable hiding 隠匿機能の無効化(&D) General 一般的 Advanced 詳細 Suspend method: サスペンドの方法: automatic 自動的 user defined 利用者の定義 Hibernate method: ハイバネーションの方法: Shutdown method: シャットダウンの方法: Reboot method: 再起動の方法: Please input an user specified command for suspend here ユーザーのみ、ここにサスペンドの指示を入力してください。 Gnome session Gnome session KDE session KDE session Please input an user specified command for shutdown here ユーザーのみ、ここにシャットダウンの指示を入力してください。 Please input an user specified command for reboot here ユーザーのみ、ここに再起動の指示を入力してください。 Please input an user specified command for hibernate here ユーザーのみ、ここにハイバネーションの指示を入力してください。 Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. qshutdownが続行中なので、いくつかのシステムは シャットダウンなどをブロックします。 qshutdownがカウントダウン後に終了されるべき場合は、 チェックをしてください。 Quit qshutdown after countdown ended? カウントダウンの後で qshutdown を終了するか? &Start countdown at startup 起動後にカウントダウンを始める(&S) Hide qshutdown at startup if "Start countdown" is checked. ”カウントダウンを始める”がチェックされると、 プログラム起動時にqshutdownが隠れる。 The File "%1" is not writable! Maybe you just don't have the permissions to do so. "%1"のファイルは、書きこむことができません。 おそらく、あなたはそれを許可されていません。 Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. qshutdownへようこそ! 「Gnome Shell」を使いながらqshutdownで、例えばシャットダウンを行いたいのなら(行いたければ)、おそらくシャットダウン項目が出てきます。直接シャットダウンを行いたいなら、設定でConsoleKitのシャットダウン方式を設定してください。 問題が生じた場合、もしくは、翻訳の際は、https://launchpad.net/~hakaishi をアクセスしてください。 Error エラー Please read this carefully! 下記の文章をよく読んでください。 QObject qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> shutdown-qapps-1.6.8/qshutdown/src/translations/qshutdown-he.ts0000644000175000017500000010046112157032701025211 0ustar hakaishihakaishi About About qshutdown על אודות qshutdown Version גרסה &About על &אודות &Thanks To &תודות <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <html dir="rtl"><p><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">על גבי Qt</span></p></html> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian.</p> <html dir="rtl"><p>תודות מיוחדות לאנשים הבאים:<br /></p><p>Fabian Deuchler על עזרה פה ושם.</p><p>ל־ Brian Nelson על הטיפול בהעלאות לדביאן.</p><p>ולמתרגם: ירון שהרבני</p></html> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> <html dir="rtl"><p>qshutdown, כלי לכיבוי לפי תזמון או ספירה לאחור</p><p>יוצר: &lt;Christian Metscher &lt;hakaishi@web.de</p><p>כל הזכויות שמורות &copy; 2010-‏2013, ל־Christian Metscher </p><p><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p>נא להשתמש בכתובת <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> או ב־ <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> כדי לדווח על תקלות.</p></body></html> Calendar Calendar לוח שנה ChangePassword Change Password החלפת הססמה Retype password: נא להזין את הססמה מחדש: New password: ססמה חדשה: Old password: ססמה ישנה: The current password is not correct! הססמה הנוכחית שגויה! The retyped password doesn't match! הססמה שהוזנה מחדש אינה תואמת! Editor Editor עורך Gui &Minimize! מ&זעור! Shutdown-time: מועד הכיבוי: Minutes till shutdown: הדקות עד לכיבוי: Reboot-time: מועד ההפעלה מחדש: Minutes till reboot: דקות עד להפעלה מחדש: Suspend-time: מועד ההשהיה: Minutes till suspend: דקות עד ההשהיה: Hibernate-time: מועד התרדמת: Minutes till hibernate: דקות עד לתרדמת: shutdown in כיבוי בעוד reboot in הפעלה מחדש בעוד suspend in השהיה בעוד hibernate in תרדמת בעוד years שנים months חודשים hours שעות days ימים Res&tore ש&חזור &Minimize מ&זעור day יום minutes דקות seconds שניות Shutdown כיבוי Reboot הפעלה מחדש Suspend השהיה Hibernate מצב תרדמת &Lock after start? ל&נעול לאחד ההפעלה? &Warnings on? לה&פעיל את האזהרות? &Now! &כעת! You can set a date in the calendar באפשרותך לקבוע תאריך בלוח השנה &OK &אישור R&eset אי&פוס &Quit י&ציאה &Info &מידע &Logfile קובץ &רישום &Preferences ה&עדפות &Shutdown &כיבוי &Reboot הפעלה מ&חדש S&uspend ה&שהיה &Hibernate ת&רדמת Lock settings after countdown started נעילת ההגדרות לאחר הפעלת הספירה לאחור Calendar לוח שנה &File &קובץ &Help ע&זרה &Settings ה&גדרות &About על &אודות &Reset אי&פוס &Configure ה&גדרה &Keep proportions &שמירה על יחס התצוגה Warning אזהרה Action imminent! פעולה דחופה! Information פרטים Countdown is not running! לא החלה ספירה לאחור! Turns on/off all warnings הפעלה/נטרול של כל האזהרות About &Qt על או&דות Qt Version גרסה Info Info פרטים PassWord Password ססמה &Set password ה&גדרת ססמה Password: ססמה: The password is not correct! הססמה שגויה! &Change password ה&חלפת הססמה Preferences Preferences העדפות Enable the &target time at startup הפעלת זמן הי&עד כבר בהתחלה Shutdown כיבוי Shutdown type: סוג הכיבוי: Target time: מועד היעד: Minutes to countdown: הדקות לספירה לאחור: Font: גופן: Font size 1: גודל גופן 1: Font size 2: גודל גופן 2: Font size 3: גודל גופן 3: Size for log file: גודל קובץ היומן: Reboot הפעלה מחדש Suspend השהיה Hibernate תרדמת A&utostart הפעלה &אוטומטית &Hide qshutdown at startup ה&סתרת qshutdown עם עליית המחשב Lock screen &for suspend and hibernate נעילת המסך מ&פני השהיה ותרדמת &Edit configuration file ע&ריכת קובץ התצורה Enable the minute &countdown at startup הפעלת דקת הספירה לא&חור עם ההפעלה &Reset settings &איפוס הגדרות Size for log file in KB גודל קובץ היומן בקילובתים "&Lock after start?" „האם ל&נעול לאחר ההפעלה?“ "&Warnings on?" „א&זהרות פעילות?“ Log start time of qshutdown and how long it was running תיעוד זמן ההפעלה של qshutdown ואת משך פעולת התכנית L&ogging &רישום checkboxes and "now!" button תיבות סימון והלחצן „כעת!“ OK and Minimize buttons לחצני האישור והמזעור Labels for example תוויות לדוגמה Set a font הגדרת גופן What target time should be displayed by default at startup? מה זמן היעד שיוצג כבררת מחדל עם ההפעלה? How many minutes should be displayed for countdown by default at startup? כמה דקות יוצגו בספירה לאחור כבררת מחדל עם ההפעלה? What should be displayed first by default at startup? מה אמור להופיע קודם כבררת מחדל עם ההפעלה? Set if the checkbox for "Lock after start?" should be checked by default at startup הגדרה האם תיבת הסימון „נעילה לאחר ההפעלה?“ אמור להיות מסומנת בהתחלה כבררת מחדל. Set if the checkbox for "Warnings on?" should be checked by default at startup הגדרה האם תיבת הסימון „אזהרות פעילות?“ אמור להיות מסומנת בהתחלה כבררת מחדל. The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. לחצן הסגירה מסתיר את החלון הראשי בדרך כלל. נטרול ההסתרה משמעה ש־qshutdown פשוט תצא במקום. &Disable hiding נ&טרול ההסתרה General כללי Advanced מצג מתקדם Suspend method: שיטת ההשהיה: automatic אוטומטית user defined בהגדרות המשתמש Hibernate method: שיטת התרדמת: Shutdown method: שיטת הכיבוי: Reboot method: שיטת ההפעלה מחדש: Please input an user specified command for suspend here נא להזין את הפקודה המיוחדת לכיבוי להלן Gnome session הפעלת GNOME KDE session הפעלת KDE Please input an user specified command for shutdown here נא להזין פקודה מיוחדת לכיבוי להלן Please input an user specified command for reboot here נא להזין פקודה מיוחדת להפעלה מחדש להלן Please input an user specified command for hibernate here נא להזין פקודה מיוחדת לתרדמת להלן Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. חלק מהמערכות לדוגמה, חוסמות את הכיבוי כיוון ש־qshutdown עדיין פעילה. יש להגדיר עוגן אם qshutdown אמור להיסגר לאחר סיו ם הספירה לאחור. Quit qshutdown after countdown ended? האם לצאת מ־qshutdown לאחר סיום הספירה לאחור? &Start countdown at startup ה&פעלת הספירה לאחור עם ההפעלה Hide qshutdown at startup if "Start countdown" is checked. הסתרת qshutdown עם הפעלתה אם יש סימון על „הפעלת הספירה לאחור עם ההפעלה“. The File "%1" is not writable! Maybe you just don't have the permissions to do so. הקובץ „%1“ מוגן מפני כתיבה! יתכן שאין לך את ההרשאות לעשות זאת. Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Error Please read this carefully! QObject qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> <html dir="rtl"><p>qshutdown תציג את עצמה 3 פעמים כאות אזהרהאם נותרו פחות מ־ 70 שניות.</p><p>תכנית זו משתמשת ב־ qdbus כדי לשלוח בקשת כיבוי/הפעלה מחדש/השהיה/תרדמת לאחד ממנהלי ההפעלה, בין אם gnome- או kde-session-manager, ל־ HAL/ConsoleKit/DeviceKit/UPower ואם אף אחד מאלה לא עובד, ייעשה שימוש בפקודה 'sudo shutdown' (נא לשים לב שבעת שליחת בקשת הכיבוי ל־ HAL או ל־ ConsoleKit, או בעת שימוש בפקודה shutdown, ההפעלה לא תישמר. אם ייעשה שימוש בפקודת הכיבוי (shutdown), התכנית תוכל רק לכבות או להפעיל מחדש). כך שאם לא קורה דבר כאשר הגיע מועד הכיבוי או ההפעלה מחדש, משמעות הדבר היא שחסרה ההרשאה להפעלת פקודת הכיבוי. במקרה שכזה ניתן לבצע את הפעולות הבאות:</p><p>להדביק את הפקודות הבאות במסוף:<pre>EDITOR=nano sudo -E visudo</pre>להוסיף את השורה הזאת:<pre>ALL = NOPASSWD:/sbin/shutdown *</pre>כאשר * מחליף את שם_המשתמש או את %שם_הקבוצה.</p><p>המספר הגבוה ביותר של countdown_minutes (דקות לספירה לאחור) הוא 1440 (24 שעות).<br/>קובץ התצורה (וקובץ היומן) נמצאים תחת התיקייה <i>/qshutdown./~</i> (במערכות Linux/Unix).</p><b>למנהלים:</b><br />אם ברצונכם ש־ qshutdown יופעל במצב „בקרת הורים“ עבור כל המשתמשים, באפשרותכם <p>להשתמש בפקודה "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d" ולהגדיר את האפשרות Lock_all תחת /root/.qshutdown/qshutdown.conf כדי שתהיה true (אמת/פעיל). נא לשים לב שיש להפעיל את qshutdown לפחות פעם אחת כדי שייווצר הקובץ qshutdown.conf. יתר על כך יש להוסיף את השורה הבאה לקובץ ה־ sudoers (כמופיע להלן):<p><pre>ALL = NOPASSWD:/usr/bin/qshutdown *</pre><br/>אם אי פעם שכחת את הססמה שהוגדרה עבורך, <p>עליך פשוט להסיר את כל השורה המתחילה ב־ "Password" ידנית מהקובץ qshutdown.conf.</p><b>טיפים לשימוש:</b><br /></p>אם ברצונך ש־ qshutdown תפסיק „לנג׳ס“ לך, עליך פשוט להסיר את העוגן מ„אזהרות פעילות?“.<p><b>מקשי קיצור:</b><table border="1"><tr><td>Ctrl+I</td><td>חלון מידע (זה) </td></tr><tr><td>Ctrl+Q</td><td>יציאה</td></tr><tr><td>Ctrl+P</td><td>העדפות</td></tr><tr><td>Ctrl+L</td><td>כתיבת זמן הפעילות ליומן הפעילות (יופעל רק עם יציאה מ־qshutdown. כדי להפוך הגדרה זו לקבועה יש לסדר זאת בהגדרות.)</td></tr><tr><td>Ctrl+S</td><td>הגדרה לכיבוי</td></tr><tr><td>Ctrl+R</td><td>הגדרה להפעלה מחדש</td></tr><tr><td>Ctrl+U</td><td>הגדרה להשהיה לזיכרון</td></tr><tr><td>Ctrl+H</td><td>הגדרה לתרדמת</td></tr><tr><td>Ctrl+E</td><td>עצירת הספירה לאחור (רק אם החלה הספירה לאחור והמנהל לא הגביל את הגישה לכך)</td></tr><tr><td>Shift+E</td><td>לעריכת קובץ התצורה (לשם כך נדרשת ססמה. אם תכנה זו משמשת אותך כמשתמש רגיל, ניתן להגדיר „ססמה ריקה“ (להשאיר את שדה הססמה ריק)).</td></tr></table></div></html> shutdown-qapps-1.6.8/qshutdown/src/translations/qshutdown-en_AU.ts0000644000175000017500000007377312157032701025623 0ustar hakaishihakaishi About About qshutdown About qshutdown Version Version &About &About &Thanks To &Thanks To <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian.</p> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian.<br />Translator: Benjamin Donald-Wilson.</p> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> Calendar Calendar Calendar ChangePassword Change Password Change Password Retype password: Retype password: New password: New password: Old password: Old password: The current password is not correct! The current password is not correct! The retyped password doesn't match! The retyped password doesn't match! Editor Editor Editor Gui &Minimize! &Minimize! Shutdown-time: Shutdown-time: Minutes till shutdown: Minutes till shutdown: Reboot-time: Reboot-time: Minutes till reboot: Minutes till reboot: Suspend-time: Suspend-time: Minutes till suspend: Minutes till suspend: Hibernate-time: Hibernate-time: Minutes till hibernate: Minutes till hibernate: shutdown in shutdown in reboot in reboot in suspend in suspend in hibernate in hibernate in years years months months hours hours days days Res&tore Res&tore &Minimize &Minimise day day minutes minutes seconds seconds Shutdown Shutdown Reboot Reboot Suspend Suspend Hibernate Hibernate &Lock after start? &Lock after start? &Warnings on? &Warnings on? &Now! &Now! You can set a date in the calendar You can set a date in the calendar &OK &OK R&eset R&eset &Quit &Quit &Info &Info &Logfile &Logfile &Preferences &Preferences &Shutdown &Shutdown &Reboot &Reboot S&uspend S&uspend &Hibernate &Hibernate Lock settings after countdown started Lock settings after countdown started Calendar Calendar &File &File &Help &Help &Settings &Settings &About &About &Reset &Reset &Configure &Configure &Keep proportions &Keep proportions Warning Warning Action imminent! Action imminent! Information Information Countdown is not running! Countdown is not running! Turns on/off all warnings Turns on/off all warnings About &Qt About &Qt Version Version Info Info Info PassWord Password Password &Set password &Set password Password: Password: The password is not correct! The password is not correct! &Change password &Change password Preferences Preferences Preferences Enable the &target time at startup Enable the &target time at startup Shutdown Shutdown Shutdown type: Shutdown type: Target time: Target time: Minutes to countdown: Minutes to countdown: Font: Font: Font size 1: Font size 1: Font size 2: Font size 2: Font size 3: Font size 3: Size for log file: Size for log file: Reboot Reboot Suspend Suspend Hibernate Hibernate A&utostart A&utostart &Hide qshutdown at startup &Hide qshutdown at startup Lock screen &for suspend and hibernate Lock screen &for suspend and hibernate &Edit configuration file &Edit configuration file Enable the minute &countdown at startup Enable the minute &countdown at startup &Reset settings &Reset settings Size for log file in KB Size for log file in KB "&Lock after start?" "&Lock after start?" "&Warnings on?" "&Warnings on?" Log start time of qshutdown and how long it was running Log start time of qshutdown and how long it was running L&ogging L&ogging checkboxes and "now!" button checkboxes and "now!" button OK and Minimize buttons OK and Minimise buttons Labels for example Labels for example Set a font Set a font What target time should be displayed by default at startup? What target time should be displayed by default at startup? How many minutes should be displayed for countdown by default at startup? How many minutes should be displayed for countdown by default at startup? What should be displayed first by default at startup? What should be displayed first by default at startup? Set if the checkbox for "Lock after start?" should be checked by default at startup Set if the checkbox for "Lock after start?" should be checked by default at startup Set if the checkbox for "Warnings on?" should be checked by default at startup Set if the checkbox for "Warnings on?" should be checked by default at startup The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. &Disable hiding &Disable hiding General General Advanced Advanced Suspend method: Suspend method: automatic automatic user defined user defined Hibernate method: Hibernate method: Shutdown method: Shutdown method: Reboot method: Reboot method: Please input an user specified command for suspend here Please input an user specified command for suspend here Gnome session Gnome session KDE session KDE session Please input an user specified command for shutdown here Please input an user specified command for shutdown here Please input an user specified command for reboot here Please input an user specified command for reboot here Please input an user specified command for hibernate here Please input an user specified command for hibernate here Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. Quit qshutdown after countdown ended? Quit qshutdown after countdown ended? &Start countdown at startup &Start countdown at startup Hide qshutdown at startup if "Start countdown" is checked. Hide qshutdown at startup if "Start countdown" is checked. The File "%1" is not writable! Maybe you just don't have the permissions to do so. The File "%1" is not writable! Maybe you just don't have the permissions to do so. Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Error Error Please read this carefully! Please read this carefully! QObject qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> shutdown-qapps-1.6.8/qshutdown/src/translations/qshutdown-en_GB.ts0000644000175000017500000007376212157032701025604 0ustar hakaishihakaishi About About qshutdown About qshutdown Version Version &About &About &Thanks To &Thanks To <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian.</p> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian. Translators: Anthony Harrington</p> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> Calendar Calendar Calendar ChangePassword Change Password Change Password Retype password: Retype password: New password: New password: Old password: Old password: The current password is not correct! The current password is not correct! The retyped password doesn't match! The retyped password doesn't match! Editor Editor Editor Gui &Minimize! &Minimise! Shutdown-time: Shutdown-time: Minutes till shutdown: Minutes until shutdown: Reboot-time: Reboot-time: Minutes till reboot: Minutes until reboot: Suspend-time: Suspend-time: Minutes till suspend: Minutes till suspend: Hibernate-time: Hibernate-time: Minutes till hibernate: Minutes until hibernation: shutdown in shutdown in reboot in reboot in suspend in suspend in hibernate in hibernate in years years months months hours hours days days Res&tore Res&tore &Minimize &Minimise day day minutes minutes seconds seconds Shutdown Shutdown Reboot Reboot Suspend Suspend Hibernate Hibernate &Lock after start? &Lock after start? &Warnings on? &Warnings on? &Now! &Now! You can set a date in the calendar You can set a date in the calendar &OK &OK R&eset R&eset &Quit &Quit &Info &Info &Logfile &Logfile &Preferences &Preferences &Shutdown &Shutdown &Reboot &Reboot S&uspend S&uspend &Hibernate &Hibernate Lock settings after countdown started Lock settings after countdown started Calendar Calendar &File &File &Help &Help &Settings &Settings &About &About &Reset &Reset &Configure &Configure &Keep proportions &Keep proportions Warning Warning Action imminent! Action imminent! Information Information Countdown is not running! Countdown is not running! Turns on/off all warnings Turns on/off all warnings About &Qt About &Qt Version Version Info Info Info PassWord Password Password &Set password &Set password Password: Password: The password is not correct! The password is not correct! &Change password &Change password Preferences Preferences Preferences Enable the &target time at startup Enable the &target time at startup Shutdown Shutdown Shutdown type: Shutdown type: Target time: Target time: Minutes to countdown: Minutes to countdown: Font: Font: Font size 1: Font size 1: Font size 2: Font size 2: Font size 3: Font size 3: Size for log file: Size for log file: Reboot Reboot Suspend Suspend Hibernate Hibernate A&utostart A&utostart &Hide qshutdown at startup &Hide qshutdown at startup Lock screen &for suspend and hibernate Lock screen &for suspend and hibernate &Edit configuration file &Edit configuration file Enable the minute &countdown at startup Enable the minute &countdown at startup &Reset settings &Reset settings Size for log file in KB Size for log file in KB "&Lock after start?" "&Lock after start?" "&Warnings on?" "&Warnings on?" Log start time of qshutdown and how long it was running Log start time of qshutdown and how long it was running L&ogging L&ogging checkboxes and "now!" button checkboxes and "now!" button OK and Minimize buttons OK and Minimise buttons Labels for example Labels for example Set a font Set a font What target time should be displayed by default at startup? What target time should be displayed by default at startup? How many minutes should be displayed for countdown by default at startup? How many minutes should be displayed for countdown by default at startup? What should be displayed first by default at startup? What should be displayed first by default at startup? Set if the checkbox for "Lock after start?" should be checked by default at startup Set if the checkbox for "Lock after start?" should be checked by default at startup Set if the checkbox for "Warnings on?" should be checked by default at startup Set if the checkbox for "Warnings on?" should be checked by default at startup The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. &Disable hiding &Disable hiding General General Advanced Advanced Suspend method: Suspend method: automatic automatic user defined user defined Hibernate method: Hibernate method: Shutdown method: Shutdown method: Reboot method: Reboot method: Please input an user specified command for suspend here Please input an user specified command for suspend here Gnome session Gnome session KDE session KDE session Please input an user specified command for shutdown here Please input an user specified command for shutdown here Please input an user specified command for reboot here Please input an user specified command for reboot here Please input an user specified command for hibernate here Please input an user specified command for hibernate here Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. Quit qshutdown after countdown ended? Quit qshutdown after countdown ended? &Start countdown at startup &Start countdown at startup Hide qshutdown at startup if "Start countdown" is checked. Hide qshutdown at startup if "Start countdown at startup" is checked. The File "%1" is not writable! Maybe you just don't have the permissions to do so. The File "%1" is not writable! Maybe you just don't have the permissions to do so. Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anything concerning translations. Error Error Please read this carefully! Please read this carefully! QObject qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the username or %groupname.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configurationfile (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Prefereces</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the config file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> shutdown-qapps-1.6.8/qshutdown/src/translations/qshutdown-de_DE.ts0000644000175000017500000007174012177131411025564 0ustar hakaishihakaishi About About qshutdown Über qshutdown Version Version &About &Über &Thanks To &Dank an <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Nutzt Qt</span></p> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian.</p> <p >Besonderen Dank an:<br /></p><p >Fabian Deuchler für seine Hilfe hier und da.<br /><br />Und den Sponsor Brian Nelson für das Hochladen nach Debian.</p> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> <p >qshutdown, ein auf Uhrzeit und Countdown basierendes Werkzeug zum Herunterfahren</p><p >Autor: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013 Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Bitte benutzen Sie <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> oder <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a>, um Problemberichte zu melden.</p> Calendar Calendar Kalender ChangePassword Change Password Passwort ändern Retype password: Passwort wiederholen: New password: Neues Passwort: Old password: Altes Passwort: The current password is not correct! Das aktuelle Passwort ist nicht korrekt! The retyped password doesn't match! Die Passwörter stimmen nicht überein! Editor Editor Editor Gui &Minimize! &Minimieren! Shutdown-time: Shutdown-Zeitpunkt: Minutes till shutdown: Minuten zum Shutdown: Reboot-time: Neustart-Zeitpunkt: Minutes till reboot: Minuten zum Neustart: Suspend-time: Standby-Zeitpunkt: Minutes till suspend: Minuten zum Standby: Hibernate-time: Ruhezustand-Zeitpunkt: Minutes till hibernate: Minuten zum Ruhezustand: shutdown in Shutdown in reboot in Neustart in suspend in Standby in hibernate in Ruhezustand in years Jahren months Monaten hours Stunden days Tagen Res&tore &Wiederherstellen &Minimize &Minimieren day Tag minutes Minuten seconds Sekunden Shutdown Shutdown Reboot Neustart Suspend Standby Hibernate Ruhezustand &Lock after start? Nach dem Start &sperren? &Warnings on? &Warnungen an? &Now! &Jetzt! You can set a date in the calendar Sie können ein Datum im Kalender einstellen &OK &OK R&eset R&eset &Quit Be&enden &Info &Info &Logfile Protoko&lldatei &Preferences &Einstellungen &Shutdown &Shutdown &Reboot Neusta&rt S&uspend S&tandby &Hibernate Ru&hezustand Lock settings after countdown started Sperre Einstellungen nachdem der Countdown gestartet hat Calendar Kalender &File &Datei &Help &Hilfe &Settings &Einstellungen &About &Über &Reset &Reset &Configure &Konfigurieren &Keep proportions &Behalte Proportionen bei Warning Warnung Action imminent! Ausführung steht kurz bevor! Information Information Countdown is not running! Der Countdown läuft nicht! Turns on/off all warnings Schaltet alle Warungen an/aus About &Qt Über &Qt Version Version Info Info Info PassWord Password Passwort &Set password Passwort &festlegen Password: Passwort: The password is not correct! Das Passwort ist nicht korrekt! &Change password P&asswort ändern Preferences Preferences Einstellungen Enable the &target time at startup Aktiviere &Ziel-Zeit bei Programmstart Shutdown Shutdown Shutdown type: Shutdown-Art: Target time: Ziel-Zeit: Minutes to countdown: Minuten für Countdown: Font: Schriftart: Font size 1: Schriftgröße 1: Font size 2: Schriftgröße 2: Font size 3: Schriftgröße 3: Size for log file: Größe der Protokolldatei: Reboot Neustart Suspend Standby Hibernate Ruhezustand A&utostart A&utostart &Hide qshutdown at startup &Verstecke qshutdown bei Programmstart Lock screen &for suspend and hibernate Sperre Bildschirm &für Standby und Ruhezustand &Edit configuration file &Konfigurationsdatei editieren Enable the minute &countdown at startup Aktiviere den Minuten-&Countdown bei Programmstart &Reset settings &Einstellungen zurücksetzen Size for log file in KB Größe der Protokolldatei in KB "&Lock after start?" "Nach dem Start &sperren?" "&Warnings on?" "&Warnungen an?" Log start time of qshutdown and how long it was running Protokolliere die Startzeit von qshutdown und wie lange es gelaufen ist L&ogging &Protokollieren checkboxes and "now!" button Checkboxen und "Jetzt!" Knopf OK and Minimize buttons OK und MInimieren Knöpfe Labels for example Z.B Beschriftungen Set a font Setze eine Schriftart What target time should be displayed by default at startup? Welche Ziel-Zeit soll bei Programmstart standardmäßig angezeigt werden? How many minutes should be displayed for countdown by default at startup? Wie viele Minuten sollen bei Programmstart standardmäßig für den Countdown angezeigt werden? What should be displayed first by default at startup? Was sollte bei Programmstart standardmäßig zuerst angezeigt werden? Set if the checkbox for "Lock after start?" should be checked by default at startup Setze ob die Checkbox für "Nach dem Start sperren?" standardmäßig gesetzt sein soll Set if the checkbox for "Warnings on?" should be checked by default at startup Setze ob die Checkbox für "Warnungen an?" bei Programmstart standardmäßig gesetzt sein soll The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. Der Knopf zum schließen des Fensters versteckt für gewöhnlich das Hauptfenster. Das Verstecken zu deaktivieren bedeutet, dass qshutdown dann stattdessen beendet wird. &Disable hiding &Deaktiviere das Verstecken General Allgemein Advanced Erweitert Suspend method: Befehlsmethode für Standby: automatic automatisch user defined benutzerdefiniert Hibernate method: Befehlsmethode für Ruhezustand: Shutdown method: Befehlsmethode für Shutdown: Reboot method: Befehlsmethode für Neustart: Please input an user specified command for suspend here Bitte geben sie hier einen benutzerdefinierten Befehl für den Standby ein Gnome session Gnome Sitzung KDE session KDE Sitzung Please input an user specified command for shutdown here Bitte geben sie hier einen benutzerdefinierten Befehl für den Shutdown ein Please input an user specified command for reboot here Bitte geben sie hier einen benutzerdefinierten Befehl für den Neustart ein Please input an user specified command for hibernate here Bitte geben sie hier einen benutzerdefinierten Befehl für den Ruhezustand ein Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. Manche Systeme blockieren z.B. den Shutdown weil qshutdown noch läuft. Setze ein Häkchen, wenn qshutdown sich nach dem Ende des Countdowns beenden soll. Quit qshutdown after countdown ended? qshutdown nach dem Countdown beenden? &Start countdown at startup Starte &Countdown bei Programmstart Hide qshutdown at startup if "Start countdown" is checked. Verstecke qshutdown bei Programmstart, wenn "Starte Countdown bei Programmstart" abgehakt ist. The File "%1" is not writable! Maybe you just don't have the permissions to do so. Die Datei "%1" ist nicht beschreibbar! Vielleicht haben Sie dazu einfach keine Rechte. Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Willkommen bei qshutdown! Wenn Sie möchten, das qshutdown das System herunterfährt und Sie die Gnome Shell benuten, dann ist es wahrscheinlich, dass ein Shutdown-Dialog erscheint. Wenn Sie einen direkten Shutdown möchten, dann ziehen Sie bitte in Betracht in die Einstellungen zu gehen und die Shutdown-Methode auf ConsoleKit oder ähnliches zu stellen. Sie können gerne jederzeit https://launchpad.net/~hakaishi besuchen um Bugs oder alles was die Übersetzungen betrifft besuchen. Error Fehler Please read this carefully! Bitte lesen Sie dies sorgfältig! QObject qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> qshutdown wird sich selbst 3 mal als Warnung zeigen, falls weniger als 70 Sekunden übrig sind.<br/><br/>Dieses Programm benutzt qdbus um eine Shutdown/Neustart/Standby/Ruhezustand Anforderung an den Gnome- oder KDE-Session-Manager, zu HAL/ConsoleKit/DeviceKit/UPower zu senden und wenn nichts davon funktioniert, wird der Befehl 'sudo shutdown' benutzt (merke, dass die Sitzung niemals gespeichert werden kann, wenn die Anforderung an HAL oder ConsoleKit gesendet, oder der shutdown Befehl benutzt wird. Falls der shutdown Befehl benutzt wird, kann das Programm nur den Shutdown und Neutstart ausführen). Wenn also beim Erreichen des Shutdown- oder Neustart-Zeitpunkts nichts passiert, liegt das daran, dass einem die Rechte für den shutdown Befehl fehlen. In diesem Fall kann man das Folgende machen:<br/><br/>Füge das Folgende in ein Terminal ein:<pre>EDITOR=nano sudo -E visudo</pre>und füge diese Zeile hinzu:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>wobei * den Benuternamen oder %Gruppennamen ersetzt.<br/><br/>Die maximale Zahl für den Minuten-Countdown ist 1440 (24 Stunden).<br/>Die Konfigurationsdatei (und Protokolldatei) befindet sich im Verzeichnis <i>~/.qshutdown/</i> (unter Linux/Unix).<br/><br/><b>Für Administratoren:</b><br/>Wenn Sie möchten, dass qshutdown mit "Kindersicherung" für alle Benutzer läuft, können Sie "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" ausführen und dann die Option Lock_all in /root/.qshutdown/qshutdown.conf auf true setzen. Beachten Sie bitte, dass qshutdown einmal gestartet worden sein muss, um die qshutdown.conf zu generieren. Des Weiteren sollte das Folgende in die sudoers eingetragen werden (wie oben):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>Falls Sie jemals das von Ihnen festgelegte Passwort vergessen sollten, können Sie einfach die ganze mit "Password" beginnende Zeile manuell aus der qshutdown.conf entfernen.<br/><br/><b>Hinweise zur Bedienung:</b><br/>Wenn man möchte, dass qshutdown aufhört zu "nerven", kann man einfach das Häckchen bei "Warnungen an?" entfernen.<br/><br/><b>Kürzel:</b><table border="1"><tr><td>Strg+I</td><td>(dieses) Informationsfenster</td></tr><tr><td>Strg+Q</td><td>Beenden</td></tr><tr><td>Strg+P</td><td>Einstellungen</td></tr><tr><td>Strg+L</td><td>schreibe in die Protokolldatei (funktioniert nur wenn qshutdown beendet wird. Um das permanent zu machen, stelle das in den Einstellungen ein.)</td></tr><tr><td>Strg+S</td><td>stelle auf Shutdown</td></tr><tr><td>Strg+R</td><td>stelle auf Neustart</td></tr><tr><td>Strg+U</td><td>stelle auf Standby (RAM)</td></tr><tr><td>Strg+H</td><td>stelle auf Ruhezustand</td></tr><tr><td>Strg+E</td><td>stoppe den Countdown (funktioniert nur bei laufendem Countdown und wenn der Administrator den Zugriff nicht eingeschränkt hat)</td></tr><tr><td>Umschalttaste(Shift)+E</td><td>zum editieren der Konfigurationsdatei (hierzu ist ein Passwort nötig, das man festlegen kann. Falls man Benutzer ist, kann man einfach ein "leeres Passwort" (Passwortfeld leer lassen) einstellen.)</td></tr></table> shutdown-qapps-1.6.8/qshutdown/src/translations/qshutdown-ug.ts0000644000175000017500000010462312157032701025234 0ustar hakaishihakaishi About About qshutdown qshutdown ھەققىدە Version نەشرى &About ھەققىدە(&A) &Thanks To تەشەككۈرلەر(&T) <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <html dir="rtl"><p><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">ئىشلىتىدۇ Qt</span></p></html> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian.</p> <html dir="rtl"><p>ئالاھىدە رەھمەت:<br /></p><p>Fabian Deuchler نىڭ ياردىمىگە رەھمەت.</p><p>Brian Nelson نىڭ Debian گە يوللاپ بەرگىنىگە رەھمەت.</p></html> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> <html dir="rtl"><p>qshutdown ۋاقىت ۋە تەتۈر ساناق ئاساسىدىكى تاقاش قورالى</p><p>يازغۇچى: &lt;Christian Metscher &lt;hakaishi@web.de</p><p>نەشر ھوقۇقىغا ئىگە &copy; 2010-‏2013, ל־Christian Metscher </p><p><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p>خاتالىق دوكلاتىنى <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> ياكى <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;\">https://bugs.launchpad.net/qt-shutdown-p</span></a> غا يوللاڭ.</p></body></html> Calendar Calendar يىلنامە ChangePassword Change Password ئىم ئۆزگەرت Retype password: ئىمنى قايتا كىرگۈزۈڭ: New password: يېڭى ئىم: Old password: كونا ئىم: The current password is not correct! نۆۋەتتىكى ئىم خاتا! The retyped password doesn't match! قايتا كىرگۈزگەن ئىم ماس كەلمىدى! Editor Editor تەھرىرلىگۈچ Gui &Minimize! كىچىكلەت(&M)! Shutdown-time: تاقاش ۋاقتى: Minutes till shutdown: تاقاشقىچە قالغان ۋاقىت: Reboot-time: قايتا قوزغىتىش ۋاقتى: Minutes till reboot: قايتا قوزغىتىشقىچە قالغان ۋاقىت: Suspend-time: ئېسىلغان ۋاقىت: Minutes till suspend: ئېسىشقىچە بولغان ۋاقىت: Hibernate-time: ئۆچەك ۋاقتى: Minutes till hibernate: ئۈچەككىچە بولغان ۋاقىت: shutdown in دە ئېتىش reboot in دە قايتا قوزغىتىش suspend in ئېسىپ قويدى hibernate in ئۈچەكتە years يىللار months ئايلار hours سائەت days كۈن Res&tore ئەسلىگە كەلتۈر(&T) &Minimize كىچىكلەت(&M) day كۈن minutes مىنۇت seconds سېكۇنت Shutdown تاقا Reboot قايتا قوزغىتىش Suspend توڭلىتىش Hibernate ئۈچەك &Lock after start? قوزغاتقاندىن كىيىن قۇلۇپلا؟(&L) &Warnings on? ئاگاھلاندۇرامدۇ؟(&W) &Now! دەرھال(&N)! You can set a date in the calendar يىلنامە چېسلاسىنى تەڭشىيەلەيسىز &OK جەزملە(&O) R&eset ئەسلىگە قايتۇر(&E) &Quit چېكىن(&Q) &Info ئۇچۇرى(&I) &Logfile خاتىرە ھۆججەت(&L) &Preferences مايىللىق(&P) &Shutdown تاقا(&S) &Reboot قايتا قوزغات(&R) S&uspend ئېسىپ قويۇلدى(&U) &Hibernate ئۆچەككە كىرگۈز(&H) Lock settings after countdown started تەتۈر ساناق باشلانغاندا تەڭشەكنى قۇلۇپلا Calendar يىلنامە &File ھۆججەت(&F) &Help ياردەم(&H) &Settings تەڭشەكلەر(&S) &About ھەققىدە(&A) &Reset ئەسلىگە قايتۇر(&R) &Configure سەپلە(&C) &Keep proportions نىسبەتنى ساقلاپ قال(&K) Warning ئاگاھلاندۇرۇش Action imminent! مەشغۇلات يېقىنلاپ قالدى! Information ئۇچۇر Countdown is not running! تەتۈر ساناق ئىجرا قىلىنمايۋاتىدۇ! Turns on/off all warnings ھەممە ئاگاھلاندۇرۇشنى ئاچ/تاقا About &Qt &Qt ھەققىدە Version نەشرى Info Info ئۇچۇر PassWord Password ئىم &Set password ئىم تەڭشەك(&S) Password: ئىم: The password is not correct! ئىم خاتا! &Change password ئىم ئۆزگەرت(&C) Preferences Preferences مايىللىق Enable the &target time at startup قوزغاتقاندا نىشان ۋاقىتنى قوزغات(&T) Shutdown تاقا Shutdown type: تاقاش تىپى: Target time: نىشان ۋاقىت: Minutes to countdown: تەتۈر ساناش ۋاقتى: Font: خەت نۇسخا: Font size 1: خەت نۇسخا 1: Font size 2: خەت نۇسخا 2: Font size 3: خەت نۇسخا 3: Size for log file: خاتىرە ھۆججەت چوڭلۇقى: Reboot قايتا قوزغات Suspend توڭلات Hibernate ئۈچەك A&utostart ئۆزلۈكىدىن قوزغات&U) &Hide qshutdown at startup قوزغالغاندا qshutdown نى يوشۇر (&H) Lock screen &for suspend and hibernate توڭلاتقان ۋە ئۆچەككە كىرگەندە ئېكراننى قۇلۇپلا (&F) &Edit configuration file سەپلىمە ھۆججەت تەھرىر(&E) Enable the minute &countdown at startup قوزغالغاندا مىنۇت تەتۈر ساناقنى قوزغات(&C) &Reset settings تەڭشەكلەرنى ئەسلىگە قايتۇر(&R) Size for log file in KB خاتىرە ھۆججەت سىغىمى كىلوبايت "&Lock after start?" «قوزغالغاندىن كېيىن قۇلۇپلامدۇ؟(&L)» "&Warnings on?" «ئاگاھلاندۇرامدۇ؟(&W)» Log start time of qshutdown and how long it was running qshutdown نىڭ قوزغالغان ۋاقتى ۋە قانچىلىك ۋاقىت ئىجرا قىلىنغانلىقىنى خاتىرىلەيدۇ L&ogging تىزىمغا كىرىۋاتىدۇ(&O) checkboxes and "now!" button كۆپ تاللاش رامكىسى ۋە «دەرھال!» توپچىسى OK and Minimize buttons جەزملە ۋە كىچىكلەت توپچا Labels for example مىسالنىڭ بەلگىسى Set a font خەت نۇسخا تەڭشەك What target time should be displayed by default at startup? كۆڭۈلدىكى ئەھۋالدا قوزغالغاندا قانداق نىشان ۋاقىتنى كۆرسىتىدۇ؟ How many minutes should be displayed for countdown by default at startup? كۆڭۈلدىكى ئەھۋالدا قوزغالغاندا تەتۈر ساناقنى قانچە مىنۇت كۆرسىتىدۇ؟ What should be displayed first by default at startup? كۆڭۈلدىكى ئەھۋالدا قوزغالغاندا ئالدى بىلەن نېمىنى كۆرسىتىدۇ؟ Set if the checkbox for "Lock after start?" should be checked by default at startup ئەگەر «قوزغىلىشتىن ئىلگىرى قۇلۇپلانسۇنمۇ؟» تاللانما رامكا تاللانغان بولسا كۆڭۈلدىكى ئەھۋالدا قوزغىتىش قىلىپ تەڭشىلىدۇ. Set if the checkbox for "Warnings on?" should be checked by default at startup ئەگەر «ئاگاھلاندۇرۇشنى ئاچامدۇ؟» تاللانما رامكا تاللانغان بولسا كۆڭۈلدىكى ئەھۋالدا قوزغىتىش قىلىپ تەڭشىلىدۇ. The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. تاقا توپچىسى ئادەتتە ئاساسىي كۆزنەكنى يوشۇرىدۇ. يوشۇرۇشنى چەكلەش qshutdown دىن شۇئان چېكىنىشنى بىلدۈرىدۇ. &Disable hiding يوشۇرۇشنى چەكلە(&D) General ئادەتتىكى Advanced ئالىي Suspend method: توڭلىتىش ئۇسۇلى: automatic ئاپتوماتىك user defined ئىشلەتكۈچى بەلگىلىگەن Hibernate method: ئۈچەك ئۇسۇلى: Shutdown method: تاقاش ئۇسۇلى: Reboot method: قايتا قوزغىتىش ئۇسۇلى: Please input an user specified command for suspend here بۇ جايدا توڭلىتىش ئۈچۈن ئىشلەتكۈچى بەلگىلىگەن بۇيرۇقنى كىرگۈزۈڭ Gnome session Gnome ئەڭگىمە KDE session KDE ئەڭگىمە Please input an user specified command for shutdown here بۇ جايدا تاقاش ئۈچۈن ئىشلەتكۈچى بەلگىلىگەن بۇيرۇقنى كىرگۈزۈڭ Please input an user specified command for reboot here بۇ جايدا قايتا قوزغىتىش ئۈچۈن ئىشلەتكۈچى بەلگىلىگەن بۇيرۇقنى كىرگۈزۈڭ Please input an user specified command for hibernate here بۇ جايدا ئۈچەككە كىرىش ئۈچۈن ئىشلەتكۈچى بەلگىلىگەن بۇيرۇقنى كىرگۈزۈڭ Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. بەزى سىستېمىلار كومپيۇتېرنى تاقاشقا ئوخشاش مەشغۇلاتنى توسىدۇ چۈنكى qshutdown ئىجرا قىلىنىۋاتىدۇ. تەتۈر ساناق ئاخىرلاشقاندىن كېيىن qshutdown چېكىنىدىغان بولسا ئىلمەك (hook)تىن بىرنى تەڭشەڭ. Quit qshutdown after countdown ended? تەتۈر ساناق ئاخىرلاشقاندىن كېيىن qshutdown دىن چېكىنەمدۇ؟ &Start countdown at startup قوزغالغاندا countdown نى قوزغات(&S) Hide qshutdown at startup if "Start countdown" is checked. «قوزغالغاندا countdown نى قوزغات» تاللانغان بولسا قوزغالغاندا qshutdown نى يوشۇر. The File "%1" is not writable! Maybe you just don't have the permissions to do so. بۇ "%1" ھۆججەتكە يازالمايدۇ! بەلكىم يېزىش ھوقۇقىڭىز بولماسلىقى مۇمكىن. Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Error Please read this carefully! QObject qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> يەنە 70 سېكۇنتمۇ قالمىغاندا qshutdown ئۈچ قېتىم ئاگاھلاندۇرىدۇ. <br/><br/>بۇ پىروگرامما qdbus ئىشلىتىپ gnome- ياكىkde-session-manager ياكى HAL/ConsoleKit/DeviceKit/UPower غا تاقا/قايتا قوزغات/توڭلات/ئۆچەك ئىلتىماسىنى يوللايدۇ. ئەگەر ھېچقايسىسىدا ئىنكاس بولمىسا ئۇنداقتا «sudo shutdown» بۇيرۇقى(دىققەت، HAL ياكى ConsoleKit قا ئىلتىماس يوللىغان ياكى shutdown بۇيرۇقىنى ئىشلەتكەندە، سۆزلىشىشنى ساقلىغىلى بولمايدۇ. shutdown بۇيرۇقىنى ئىشلەتكەندە، پىروگرامما پەقەت كومپيۇتېرنى تاقىيالايدۇ ياكى قايتا قوزغىتالايدۇ)نى ئىشلىتىڭ. شۇڭلاشقا، ئەگەر كومپيۇتېرنى تاقاش ياكى قايتا قوزغىتىش ۋاقتى توشقاندا، مەشغۇلات بولمىسا، ئىشلەتكۈچىنىڭ shutdown بۇيرۇقىنى ئىجرا قىلىش ھوقۇقى يوقلۇقىنى بىلدۈرىدۇ. بۇ خىل ئەھۋالدا ئىشلەتكۈچى تۆۋەندىكىدەك مەشغۇلات قىلسا بولىدۇ: <br/><br/>تۆۋەندىكى بۇيرۇقنى تېرمىنالغا كۆچۈرۈپ: <pre>EDITOR=nano sudo -E visudo</pre> بۇ بىر قۇر بۇيرۇقنى قوشۇپ <pre>* ALL = NOPASSWD:/sbin/shutdown</pre>بۇنىڭدا * ئىشلەتكۈچى ئاتى ياكى %group ئاتى بىلەن ئالماشتۇرۇلىدۇ. <br/><br/> كومپيۇتېرنى تەتۈر ساناقتا تاقاش ئەڭ ئۇزۇن بولغاندا 1440 مىنۇت (24 سائەت).<br/>سەپلىمە ھۆججەت (ۋە كۈندىلىك خاتىرە ھۆججەت) ئورنى <i>~/.qshutdown/</i> (Linux/Unix مۇھىتىدا). <br/><br/><b>باشقۇرغۇچىغا نىسبەتەن: </b><br/>ئەگەر ھەر بىر ئىشلەتكۈچىنىڭ qshutdown بۇيرۇقىنى «ئاتا ئانا تىزگىنى» ئۇسۇلىدا ئىجرا قىلدۇرۇشنى ئويلىسىڭىز، «sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/» نى ئىجرا قىلىڭ ھەمدە /root/.qshutdown/qshutdown.conf دىكى Lock_all تاللانمىنى true (راست) قىلىپ تەڭشەڭ دىققەت qshutdown نى بىرلا قېتىم ئىجرا قىلىپ qshutdown.conf نى شەكىللەندۈرىدۇ. ئۇنىڭدىن باشقا sudoers غا بىر قۇر (ئۈستىدىكى بىلەن ئوخشاش) قوشۇڭ: <pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>ئەگەر سىز ئېھتىياتسىزلىقتىن تەڭشىگەن ئىمنى ئۇنتۇپ قالسىڭىز، qshutdown.conf دىن «Password» بار قۇرنى ئۆچۈرۈۋەتسىڭىزلا بولىدۇ. <br/><br/><b>ئىشلىتىش ئەسكەرتىشى: </b><br/>ئەگەر qshutdown نىڭ سىزنى ئاۋارە قىلىشىنى خاھلىمىسىڭىز «ئاگاھلاندۇرۇشنى باشلامدۇ؟» دىن بۇ ئىلمەكنى ئېلىۋەتسىڭىز بولىدۇ.<br/><br/><b>تېز كۇنۇپكا: </b><table border="1"><tr><td>Ctrl+I</td><td>بۇ ئۇچۇر كۆزنىكى </td></tr><tr><td>Ctrl+Q</td><td>چېكىن</td></tr><tr><td>Ctrl+P</td><td>مايىللىق</td></tr><tr><td>Ctrl+L</td><td>ئىجرا قىلىش ۋاقتىنى كۈندىلىك خاتىرە ھۆججىتىگە بىر قېتىم (پەقەت qshutdown چېكىنگەندە ئاندىن كۈچكە ئىگە. مەڭگۈلۈك تەڭشىمەكچى بولسىڭىز مايىللىقتىن ئۆزگەرتىڭ.)يازىدۇ.</td></tr><tr><td>Ctrl+S</td><td>تاقاشقا تەڭشە</td></tr><tr><td>Ctrl+R</td><td>قايتا قوزغىتىشقا تەڭشە</td></tr><tr><td>Ctrl+U</td><td>ئەسلەككە توڭلات</td></tr><tr><td>Ctrl+H</td><td>ئۈچەككە تەڭشە</td></tr><tr><td>Ctrl+E</td><td>تەتۈر ساناقنى توختات(پەقەت تەتۈر ساناق قوزغىتىلغان ھەمدە باشقۇرغۇچى چەكلىمىگەن ئەھۋالدا كۈچكە ئىگە)</td></tr><tr><td>Shift+E</td><td>سەپلىمە ھۆججەت تەھرىر (بۇنىڭغا بىر ئىم كېرەك. ئەگەر پەقەت سىزلا بولسىڭىز «بوش ئىم» )(ئىم سۆز بۆلىكىنى تولدۇرمايسىز)تەڭشىسىڭىز بولىدۇ.</td></tr></table> shutdown-qapps-1.6.8/qshutdown/src/translations/qshutdown-uk.ts0000644000175000017500000010734412157032701025243 0ustar hakaishihakaishi About About qshutdown Про qshutdown Version Версія &About Пр&о програму &Thanks To &Подяки <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">З використанням Qt</span></p> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian.</p> <p >Особливі подяки:<br /></p><p >Fabian Deuchler за допомогу у різних питаннях.<br /><br />Та Brian Nelson за спонсорську підтримку вивантаження пакунків до сховища Debian<br /><br />Перекладачі: Юрій Чорноіван.</p> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> <p>qshutdown — програма для вимикання комп’ютера у певний момент часу або за відліком</p><p >Автор: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >&copy; Christian Metscher, 2010–2013</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p>Повідомлення про вади можна залишати на <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> або <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a>.</p> Calendar Calendar Календар ChangePassword Change Password Зміна пароля Retype password: Введіть пароль ще раз: New password: Новий пароль: Old password: Старий пароль: The current password is not correct! Поточний пароль є помилковим! The retyped password doesn't match! Повторно введений пароль не збігається з початковим! Editor Editor Редактор Gui &Minimize! &Мінімізувати! Shutdown-time: Час вимикання: Minutes till shutdown: Час у хвилинах до вимикання: Reboot-time: Час перезавантаження: Minutes till reboot: Час у хвилинах до перезавантаження: Suspend-time: Час призупинки: Minutes till suspend: Час у хвилинах до призупинки: Hibernate-time: Час присипляння: Minutes till hibernate: Час у хвилинах до присипляння: shutdown in завершити роботу за reboot in перезавантажити за suspend in призупинити за hibernate in приспати за years років months місяців hours години days днів Res&tore В&ідновити &Minimize &Мінімізувати day день minutes хвилини seconds секунд Shutdown Вимкнути Reboot Перезавантажити Suspend Призупинити Hibernate Приспати &Lock after start? За&блокувати після запуску? &Warnings on? &Попередити? &Now! &Зараз! You can set a date in the calendar Ви можете вказати дату у календарі &OK &Гаразд R&eset С&кинути &Quit Ви&йти &Info &Інформація &Logfile &Файл журналу &Preferences &Параметри &Shutdown Ви&мкнути &Reboot П&ерезавантажити S&uspend Приз&упинити &Hibernate П&риспати Lock settings after countdown started Заблокувати параметри після початку відліку Calendar Календар &File &Файл &Help &Довідка &Settings П&араметри &About &Про програму &Reset &Скинути &Configure &Налаштувати &Keep proportions З&берігати пропорції Warning Попередження Action imminent! Буде виконано дію з припинення роботи! Information Інформація Countdown is not running! Виконується відлік! Turns on/off all warnings Увімкнути або вимкнути попередження About &Qt Про бібліотеку &Qt Version Версія Info Info Інформація PassWord Password Пароль &Set password Встановити &пароль Password: Пароль: The password is not correct! Неправильний пароль! &Change password З&мінити пароль Preferences Preferences Параметри Enable the &target time at startup Увімкнути &час призначення під час запуску Shutdown Вимикання Shutdown type: Тип вимикання: Target time: Час призначення: Minutes to countdown: Час відліку у хвилинах: Font: Шрифт: Font size 1: Розмір шрифту 1: Font size 2: Розмір шрифту 2: Font size 3: Розмір шрифту 3: Size for log file: Розмір файла журналу: Reboot Перезавантаження Suspend Призупинка Hibernate Присипляння A&utostart &Автозапуск &Hide qshutdown at startup &Ховати вікно qshutdown після запуску Lock screen &for suspend and hibernate Блокувати екран після п&ризупинки та присипляння &Edit configuration file &Редагувати файл налаштувань Enable the minute &countdown at startup Увімкнути відлік &хвилин після запуску &Reset settings По&вернути початкові параметри Size for log file in KB Розмір файла журналу у кБ "&Lock after start?" «За&блокувати після запуску?» "&Warnings on?" «&Попередити?» Log start time of qshutdown and how long it was running Записувати час запуску qshutdown та тривалість роботи програми L&ogging &Журналювання checkboxes and "now!" button пункти для позначення і кнопка «Зараз!» OK and Minimize buttons Кнопки «Гаразд» і «Мінімізувати» Labels for example Мітки для прикладу Set a font Встановити шрифт What target time should be displayed by default at startup? Який час призначення має бути типово показано після запуску? How many minutes should be displayed for countdown by default at startup? За скільки хвилин до виконання дії слід показувати відлік після запуску? What should be displayed first by default at startup? Що має бути типово показано першим після запуску? Set if the checkbox for "Lock after start?" should be checked by default at startup Визначає, чи слід типово позначати пункт «Заблокувати після запуску?» після запуску Set if the checkbox for "Warnings on?" should be checked by default at startup Визначає, чи слід типово позначати пункт «Попереджати?» після запуску The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. Кнопка закриття зазвичай приховує головне вікно. Вимикання приховування означає, що роботу qshutdown буде просто завершено. &Disable hiding В&имкнути приховування General Загальне Advanced Додатково Suspend method: Спосіб призупинки: automatic автоматичний user defined визначений користувачем Hibernate method: Спосіб присипляння: Shutdown method: Спосіб вимикання: Reboot method: Спосіб перезавантаження: Please input an user specified command for suspend here Будь ласка, вкажіть тут потрібну вам команду призупинення Gnome session Сеанс KDE KDE session Сеанс KDE Please input an user specified command for shutdown here Будь ласка, вкажіть тут потрібну вам команду вимикання Please input an user specified command for reboot here Будь ласка, вкажіть тут потрібну вам команду перезавантаження Please input an user specified command for hibernate here Будь ласка, вкажіть тут потрібну вам команду присипляння Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. У деяких системах, вимикання блокується, наприклад через те, що qshutdown продовжує працювати. Щоб запобігти неналежній поведінці системи, ви можете наказати qshutdown завершити роботу, щойно буде завершено відлік. Quit qshutdown after countdown ended? Вийти з qshutdown після завершення відліку? &Start countdown at startup &Розпочати відлік одразу після запуску Hide qshutdown at startup if "Start countdown" is checked. Приховати вікно qshutdown після запуску, якщо позначено пункт «Розпочинати відлік після запуску». The File "%1" is not writable! Maybe you just don't have the permissions to do so. Файл «%1» є непридатним до запису! Ймовірно, ви не маєте належних прав доступу до цього файла. Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Вітаємо у qshutdown! Якщо ви хочете скористатися qprogram-starter для автоматичного вимикання системи і використовуєте Gnome Shell, ймовірно, діалогове вікно вимикання буде показано прямо зараз. Якщо ви хочете вимикати систему безпосередньо, будь ласка, відкрийте вікно налаштувань і встановіть у пункті способу вимикання ConsoleKit або щось інше. Щоб повідомити про ваду у програмі або перекладі, скористайтеся сторінкою https://launchpad.net/~hakaishi Error Помилка Please read this carefully! Будь ласка, ознайомтеся з цією інформацією! QObject qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> qshutdown показуватиме своє вікно тричі як попередження, якщо залишилося менше за 70 секунд.<br/><br/>Ця програма використовує qdbus для надсилання запитів щодо завершення роботи, перезавантаження, призупинки та присипляння до засобу керування сеансом gnome або kde або до HAL/ConsoleKit/DeviceKit/UPower. Якщо ж жоден з цих способів не працює, буде використано команду '«udo shutdown» (зауважте, що у разі надсилання запиту щодо завершення роботи до HAL або ConsoleKit або використання команди shutdown, дані сеансу не зберігатимуться. Якщо буде використано команду shutdown, програма зможе лише завершити роботу або перезавантажити комп’ютер). Отже, якщо нічого не трапиться, коли настане момент завершення роботи або перезавантаження, це означатиме, що у вашого користувача недостатньо прав на виконання команди shutdown. Ви можете скористатися таким способом, щоб виправити це:<br/><br/>Виконайте таку команду у вікні термінала:<pre>EDITOR=nano sudo -E visudo</pre>і додайте такий рядок:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>де * слід замінити на ім’я користувача або %groupname.<br/><br/>Максимальним значенням countdown_minutes є 1440 (24 години).<br/>Файл налаштувань і файл журналу зберігаються у <i>~/.qshutdown/</i> (у Linux/Unix).<br/><br/><b>Для адміністраторів:</b><br/>Якщо вам потрібно, щоб qshutdown працювала як «батьківське блокування» для всіх користувачів, ви можете віддати команду «sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/» і встановити для параметра Lock_all у /root/.qshutdown/qshutdown.conf значення true. Зауважте, що qshutdown перед цим слід запустити принаймні один раз, щоб було створено qshutdown.conf. Крім того, слід додати такий рядок до файла sudoers (спосіб відкриття цього файла для редагування описано вище):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>Якщо ви забули ваш пароль, прости вилучіть весь рядок, що починається з «Password», вручну з файла qshutdown.conf.<br/><br/><b>Підказки:</b><br/>Якщо ви хочете, щоб qshutdown припинила вас турбувати, просто зніміть позначку з пункту «Попереджати?».<br/><br/><b>Клавіші керування:</b><table border="1"><tr><td>Ctrl+I</td><td>(це) інформаційне вікно</td></tr><tr><td>Ctrl+Q</td><td>Вийти</td></tr><tr><td>Ctrl+P</td><td>Параметри</td></tr><tr><td>Ctrl+L</td><td>записати час запуску один раз до файла журналу (працює, лише якщо qshutdown завершує роботу. Сталі налаштування можна встановити за допомогою пункту «Параметри».)</td></tr><tr><td>Ctrl+S</td><td>встановити завершення роботи</td></tr><tr><td>Ctrl+R</td><td>встановити перезапуск</td></tr><tr><td>Ctrl+U</td><td>встановити призупинку</td></tr><tr><td>Ctrl+H</td><td>встановити присипляння</td></tr><tr><td>Ctrl+E</td><td>припинити відлік (лише якщо відлік було розпочато і адміністратором не було обмежено доступ до припинення відліку)</td></tr><tr><td>Shift+E</td><td>редагувати файл налаштувань (потрібен пароль. Якщо виконується від імені простого користувача, можна встановити порожній пароль (не заповнювати поле пароля)).</td></tr></table> shutdown-qapps-1.6.8/qshutdown/src/translations/qshutdown-ms.ts0000644000175000017500000007474012157032701025246 0ustar hakaishihakaishi About About qshutdown Perihal qshutdown Version Versi &About Perih&al &Thanks To &Terima Kasih Kepada <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Using Qt</span></p> <p ><span style=" font-size:20pt;">qshutdown</span><br /><span style=" font-size:14pt;">Menggunakan Qt</span></p> <p >Special thanks to:<br /></p><p >Fabian Deuchler for helping here and there.<br /><br />And Brian Nelson for sponsoring the uploads to Debian.</p> <p >Terima kasih buat:<br /></p><p >Fabian Deuchler kerana bantuannya disini.<br /><br />Dan Brian Nelson kerana penajaan muat naik ke Debian.<br /><br />Penterjemah: abuyop</p> <p >qshutdown, a time and countdown based shutdown tool</p><p >Author: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Copyright &copy; 2010-2013, by Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Please use <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> or <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> to report bugs.</p> <p >qshutdown, adalah masa dan kiraan mengundur berasaskan alat shutdown</p><p >Pengarang: Christian Metscher &lt;hakaishi@web.de&gt;</p><p >Hakcipta &copy; 2010-2013, oleh Christian Metscher</p><p ><a href="https://launchpad.net/~hakaishi"><span style=" text-decoration: underline; color:#0000ff;">https://launchpad.net/~hakaishi</span></a></p><p >Sila guna <a href="https://bugs.launchpad.net/qt-shutdown-p"><span style=" text-decoration: underline; color:#0000ff;">https://bugs.launchpad.net/qt-shutdown-p</span></a> atau <a href="http://www.debian.org/Bugs/Reporting"><span style=" text-decoration: underline; color:#0000ff;">http://www.debian.org/Bugs/Reporting</span></a> untuk laporkan pepijat.</p> Calendar Calendar Kalendar ChangePassword Change Password Ubah Kata Laluan Retype password: Taip Semula kata laluan: New password: Kata laluan baru: Old password: Kata laluan lama: The current password is not correct! Kata laluan semasa salah! The retyped password doesn't match! Kata laluan yang ditaip semula tidak sepadan! Editor Editor Penyunting Gui &Minimize! &Minimumkan! Shutdown-time: Masa-dimatikan: Minutes till shutdown: Minit sehingga dimatikan: Reboot-time: Masa-but-semula: Minutes till reboot: Minit sehingga but semula: Suspend-time: Masa-tangguh: Minutes till suspend: Minit sehingga tangguh: Hibernate-time: Masa-hibernasi: Minutes till hibernate: Minit sehingga hibernasi: shutdown in dimatikan dalam reboot in dibut semula dalam suspend in ditangguh dalam hibernate in dihibernasi dalam years tahun months bulan hours jam days hari Res&tore Puli&h &Minimize &Minimumkan day hari minutes minit seconds saat Shutdown Matikan Reboot But Semula Suspend Tangguh Hibernate Hibernasi &Lock after start? &Kunci selepas mula? &Warnings on? &Amaran dihidupkan? &Now! S&ekarang! You can set a date in the calendar Anda boleh tetapkan tarikh dalam kalendar &OK &OK R&eset Teta&p Semula &Quit Ke&luar &Info Makl&umat &Logfile &Fail log &Preferences &Keutamaan &Shutdown &Matikan &Reboot &But Semula S&uspend &Tangguh &Hibernate &Hibernasi Lock settings after countdown started Tetapan kunci selepas kiraan mengundur bermula Calendar Kalendar &File &Fail &Help &Bantuan &Settings Teta&pan &About Perih&al &Reset &Tetap semula &Configure Konfi&gur &Keep proportions K&ekal perkadaran Warning Amaran Action imminent! Tindakan hampir! Information Maklumat Countdown is not running! Kiraan mengundur tidak berjalan! Turns on/off all warnings Matikan/hidupkan semua amaran About &Qt Perihal &Qt Version Versi Info Info Maklumat PassWord Password Kata laluan &Set password T&etap kata laluan Password: Kata Laluan: The password is not correct! Kata laluan salah! &Change password &Ubah kata laluan Preferences Preferences Keutamaan Enable the &target time at startup Benarkan masa sasa&ran pada permulaan Shutdown Matikan Shutdown type: Jenis matikan: Target time: Masa sasaran: Minutes to countdown: Minit untuk kiraan mengundur: Font: Fon: Font size 1: Fon saiz 1: Font size 2: Fon saiz 2: Font size 3: Fon saiz 3: Size for log file: Saiz untuk fail log: Reboot But Semula Suspend Tangguh Hibernate Hibernasi A&utostart Mula-sen&diri &Hide qshutdown at startup Sembuun&yi qshutdown pada permulaan Lock screen &for suspend and hibernate Kunci skrin u&ntuk tangguh dan hibernasi &Edit configuration file Sunt&ing fail konfigurasi Enable the minute &countdown at startup Benarkan minit ki&raan mengundur semasa permulaan &Reset settings T&etap semula tetapan Size for log file in KB Saiz bagi fail log dalam KB "&Lock after start?" "Kun&ci selepas mula?" "&Warnings on?" "&Amaran dihidupkan?" Log start time of qshutdown and how long it was running Masa mula log bagi qshutdown dan berapa lamakah ia berjalan L&ogging Pengel&ogan checkboxes and "now!" button kotak tanda dan butang "sekarang!" OK and Minimize buttons Butang OK dan Minimumkan Labels for example Label untuk contoh Set a font Tetapkan fon What target time should be displayed by default at startup? Apakah masa sasaran yang patut dipaparkan secara lalai semasa permulaan? How many minutes should be displayed for countdown by default at startup? Berapa minitkah patut dipaparkan untuk kiraan mengundur secara lalai pada permulaan? What should be displayed first by default at startup? Apakah yang patut dipaparkan dahulu secara lalai semasa permulaan? Set if the checkbox for "Lock after start?" should be checked by default at startup Tetapkan jika kotak tanda untuk "kunci selepas mula?" patut ditanda secara lalai semasa permulaan Set if the checkbox for "Warnings on?" should be checked by default at startup Tetapkan jika kotak tanda untuk "Amaran dihidupkan?" patut ditanda secara lalai semasa permulaan The close button usually hides the main window. Disabling hiding means, that qshutdown will then quit instead. Butang tutup biasanya sembunyian tetingkap utama. Pelumpuhan sembunyi bermaksud, qshutdown akan ditutup. &Disable hiding &Lumpuhkan sembunyi General Am Advanced Lanjutan Suspend method: Kaedah tangguh: automatic automatik user defined ditakrif pengguna Hibernate method: Kaedah hibernasi: Shutdown method: Kaedah matikan: Reboot method: Kaedah but semula: Please input an user specified command for suspend here Sila masukkan perintah dinyatakan pengguna untuk tangguh disini Gnome session Sesi Gnome KDE session Sesi KDE Please input an user specified command for shutdown here Sila masukkan perintah dinyatakan pengguna untuk matikan disini Please input an user specified command for reboot here Sila masukkan perintah dinyatakan pengguna untuk but semula disini Please input an user specified command for hibernate here Sila masukkan perintah dinyatakan pengguna untuk hibernasi disini Some systems block for example the shutdown because qshutdown is still running. Set a hook if qshutdown should quit after the countdown ended. Beberapa sekatan sistem contohnya shutdown kerana qshutdown masih berjalan. Tetapkan cangkuk jika qshutdown patut keluar selepas kiraan mengundur tamat. Quit qshutdown after countdown ended? Keluar qshutdown selepas kiraan mengundur tamat? &Start countdown at startup &Mula kiraan mengundur semasa permulaan Hide qshutdown at startup if "Start countdown" is checked. Sembunyi qshutdown semasa permulaan jika "mula kiraan undur" ditanda. The File "%1" is not writable! Maybe you just don't have the permissions to do so. Fail "%1" tidak boleh ditulis! Mungkin anda tidak mempunyai keizinan membuatnya. Welcome to qshutdown! If you want qshutdown e.g. to shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Selamat datang ke qshutdown! Jika anda mahu qshutdown iaitu hendak matikan sistem dan anda menggunakan Shell Gnome, maka boleh mendapatkannya melalui dialog matikan disana. Jika anda mahu matikan secara terus, maka pergi ke keutamaan dan tetapkan kaedah matikan ke ConsoleKit atau yang lain. Sila lawati https://launchpad.net/~hakaishi untuk laporkan pepijat atau apa-apa berkenaan terjemahan. Error Ralat Please read this carefully! Sila baca dengan teliti! QObject qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.<br/><br/>This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot). So if nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following:<br/><br/>Paste the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre>and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>whereas * replaces the user name or %group name.<br/><br/>The maximum Number of countdown_minutes is 1440 (24 hours).<br/>The configuration file (and logfile) is located at <i>~/.qshutdown/</i> (under Linux/Unix).<br/><br/><b>For admins:</b><br/>If you want qshutdown to run with "parental lock" for every user, you can do "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to add the following line to the sudoers (as above):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>If you should ever forget your set password, just remove the whole line starting with "Password" manually from the qshutdown.conf.<br/><br/><b>Hints on usage:</b><br/>If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".<br/><br/><b>Hotkeys:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) information window</td></tr><tr><td>Ctrl+Q</td><td>Quit</td></tr><tr><td>Ctrl+P</td><td>Preferences</td></tr><tr><td>Ctrl+L</td><td>write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.)</td></tr><tr><td>Ctrl+S</td><td>set to shutdown</td></tr><tr><td>Ctrl+R</td><td>set to restart</td></tr><tr><td>Ctrl+U</td><td>set to suspend to RAM</td></tr><tr><td>Ctrl+H</td><td>set to hibernate</td></tr><tr><td>Ctrl+E</td><td>stop countdown (only if the countdown has started and the admin didn't restrict the access)</td></tr><tr><td>Shift+E</td><td>to edit the configuration file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)).</td></tr></table> qshutdown akan papar dirinya sebanyak 3 kali sebagai amaran jika terdapat kurang dari 70 saat berbaki.<br/><br/>Program ini gunakan qdbus untuk hantar permintaan matikan/but semula/tangguh/hibernasi sama ada kepada pengurus sesi gnome- atau kde-, kepada HAL/ConsoleKit/DeviceKit/UPower dan jika tiada yang berfungsi, perintah 'sudo shutdown'akan digunakan (perhatian bila menghantar permintaan matikan ke HAL atau ConsoleKit, atau perintah matikan digunakan, Sesi tidak sesekali disimpan. Jika perintah matikan digunakan, program hanya boleh dimatikan dan dibut semula). Jadi jika tiada apa yang berlaku bila shutdown- atau reboot-time dicapai, ia bermakna anda kekurangan hak bagi perintah matikan. Dalam kes ini anda boleh buat perkara berikut:<br/><br/>Tampal berikut dalam terminal:<pre>EDITOR=nano sudo -E visudo</pre>dan tambah baris ini:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>yang mana * gantikan dengan nama pengguna atau nama %group.<br/><br/>Bilangan maksimum minit kiraan mengundur adalah 1440 (24 jam).<br/>Fail konfigurasi (dan fail log) berada du <i>~/.qshutdown/</i> (dibawah Linux/Unix).<br/><br/><b>Untuk pentadbir:</b><br/>Jika anda inginkan qshutdown dijalankan dengan "parental lock" untuk setiap pengguna, anda boleh buat "sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/" dan tetapkan pilihan Lock_all dalam /root/.qshutdown/qshutdown.conf kepada benar. Perhatian qshutdown mesti dimulakan sekali untuk janakan qshutdown.conf. Tambahan pula, perlu tambah baris berikut ke sudoers (seperti diatas):<pre>* ALL = NOPASSWD:/usr/bin/qshutdown</pre><br/>Jika anda lupa tetapkan kata laluan anda, hanya buang keseluruhan baris bermula dengan "Password" secara manual dari qshutdown.conf.<br/><br/><b>Petua penggunaan:</b><br/>Jika anda hendak qshutdown henti "mengganggu" anda, hanya buang baris "warnings on?".<br/><br/><b>Kekunci panas:</b><table border="1"><tr><td>Ctrl+I</td><td>(this) Maklumat tetingkap</td></tr><tr><td>Ctrl+Q</td><td>Keluar</td></tr><tr><td>Ctrl+P</td><td>Keutamaan</td></tr><tr><td>Ctrl+L</td><td>tulis masa jalan sekali kedalam fail log (hanya jika qshutdown keluar. Untuk jadikannya kekal, tetapkanya dalam keutamaan.)</td></tr><tr><td>Ctrl+S</td><td>tetapkan ke matikan</td></tr><tr><td>Ctrl+R</td><td>tetapkan ke mula semula</td></tr><tr><td>Ctrl+U</td><td>tetapkan ke tangguh kepada RAM</td></tr><tr><td>Ctrl+H</td><td>tetapkan ke hibernasi</td></tr><tr><td>Ctrl+E</td><td>henti kiraan mengundur (hanya jika kiraan mengundur telah bermula dan pentadbir tidak sekat capaian)</td></tr><trtd>Shift+E</td><td>untuk menyunting faik konfigurasi (untuk ini kata laluan adalah perlu. Jika anda adalah pengguna, anda boleh tetapkan "kata laluan kosong" (biarkan medan kata laluan kosong)).</td></tr></table> shutdown-qapps-1.6.8/qshutdown/src/preferences.cpp0000664000175000017500000003614012171346014022504 0ustar hakaishihakaishi/* qshutdown, a program to shutdown/reboot/suspend/hibernate the system * Copyright (C) 2010-2013 Christian Metscher * 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 . */ #include "preferences.h" #include #include #include #include #include Preferences::Preferences(QWidget *parent): QDialog(parent){ setupUi(this); isClosed = true; setWindowFlags(Qt::Window); //always in front //Seconds won't be recognized, thus removing them (just in case). QString timeEditFormat; timeEditFormat = timeEdit->displayFormat(); if(timeEditFormat.contains(":ss")) timeEditFormat.replace(QString(":ss"), QString("")); if(timeEditFormat.contains(":s")) timeEditFormat.replace(QString(":s"), QString("")); timeEdit->setDisplayFormat(timeEditFormat); /***************** load settings from the conf file *****************/ #ifdef Q_OS_WIN32 lockS->setDisabled(true); //if there is a command for locking the display in Windows, remove this line //and add the command to power.cpp file = QDesktopServices::storageLocation(QDesktopServices::DataLocation) + "/qshutdown/qshutdown.conf"; #else //!Q_OS_WIN32 file = QDir::homePath() + "/.qshutdown/qshutdown.conf"; #endif //Q_OS_WIN32 settings = new QSettings(file, QSettings::IniFormat); #ifdef Q_OS_WIN32 fonts = "Times New Roman"; fontS1 = 13; fontS2 = 18; fontS3 = 11; #else fonts = "DejaVu Sans"; fontS1 = 11; fontS2 = 15; fontS3 = 9; #endif userDef1S = tr("Please input an user specified command for shutdown here"); userDef2S = tr("Please input an user specified command for reboot here"); userDef3S = tr("Please input an user specified command for suspend here"); userDef4S = tr("Please input an user specified command for hibernate here"); msgBox = new QMessageBox(this); msgBox->setWindowTitle(tr("Error")); msgBox->setIcon(QMessageBox::Warning); msgBox->setWindowFlags(Qt::WindowStaysOnTopHint | Qt::Window); msgBox->setInformativeText(tr("The File \"%1\" is not writable!\n" "Maybe you just don't have the permissions to do so.").arg(file)); if(QSettings().value("first_start", true).toBool()) { infoBox = new QMessageBox(this); infoBox->setWindowTitle(tr("Please read this carefully!")); infoBox->setIcon(QMessageBox::Information); infoBox->setInformativeText(tr("Welcome to qshutdown!\n" "If you want qshutdown e.g. to shutdown the system " "and you are using the Gnome Shell, then you are likely to get a " "shutdown dialog from there. If you want a direct shutdown, then " "please consider going into the preferences and setting the shutdown " "method to ConsoleKit or something else.\n\nPlease feel free to visit " "https://launchpad.net/~hakaishi to report bugs or for anyting " "concerning translations.")); infoBox->setStandardButtons(QMessageBox::Ok); infoBox->show(); QSettings().setValue("first_start", false); } connect(this, SIGNAL(accepted()), this, SLOT(saveToConfFile())); connect(reset, SIGNAL(clicked(bool)), this, SLOT(resetSettings())); connect(font1Spin, SIGNAL(valueChanged(int)), this, SLOT(fontSize1Changed(int))); connect(font2Spin, SIGNAL(valueChanged(int)), this, SLOT(fontSize2Changed(int))); connect(font3Spin, SIGNAL(valueChanged(int)), this, SLOT(fontSize3Changed(int))); connect(fontComboBox, SIGNAL(currentIndexChanged(QString)), this, SLOT(fontChanged(QString))); connect(confEditButton, SIGNAL(clicked(bool)), this, SIGNAL(editConf())); connect(shutdownM, SIGNAL(currentIndexChanged(int)), this, SLOT(enableUserDef1())); connect(rebootM, SIGNAL(currentIndexChanged(int)), this, SLOT(enableUserDef2())); connect(suspendM, SIGNAL(currentIndexChanged(int)), this, SLOT(enableUserDef3())); connect(hibernateM, SIGNAL(currentIndexChanged(int)), this, SLOT(enableUserDef4())); loadSettings(); if(!QFile::exists(file)) saveToConfFile(); if(userDef1->isEnabled()) myShutdown = userDef1->toPlainText(); if(userDef2->isEnabled()) myReboot = userDef2->toPlainText(); if(userDef3->isEnabled()) mySuspend = userDef3->toPlainText(); if(userDef4->isEnabled()) myHibernate = userDef4->toPlainText(); } Preferences::~Preferences(){ delete settings; } void Preferences::showEvent(QShowEvent* show_pref){ isClosed = false; starting(); //sends SIGNAL starting() if(!settings->isWritable()){ QTimer::singleShot(15000, msgBox, SLOT(close())); msgBox->show(); } loadSettings(); QDialog::showEvent(show_pref); } void Preferences::setFocusToUserDef(){ if(userDef4->isEnabled()) userDef4->setFocus(); if(userDef3->isEnabled()) userDef3->setFocus(); if(userDef2->isEnabled()) userDef2->setFocus(); if(userDef1->isEnabled()) userDef1->setFocus(); } void Preferences::enableUserDef1(){ if(shutdownM->currentIndex() == 6){ userDef1->setEnabled(true); userDef1->setFocus(); if(userDef1->toPlainText() == userDef1S) userDef1->clear(); } else{ userDef1->setEnabled(false); if(userDef1->toPlainText() == "") userDef1->setPlainText(userDef1S); setFocusToUserDef(); } } void Preferences::enableUserDef2(){ if(rebootM->currentIndex() == 6){ userDef2->setEnabled(true); userDef2->setFocus(); if(userDef2->toPlainText() == userDef2S) userDef2->clear(); } else{ userDef2->setEnabled(false); if(userDef2->toPlainText() == "") userDef2->setPlainText(userDef2S); setFocusToUserDef(); } } void Preferences::enableUserDef3(){ if(suspendM->currentIndex() == 5){ userDef3->setEnabled(true); userDef3->setFocus(); if(userDef3->toPlainText() == userDef3S) userDef3->clear(); } else{ userDef3->setEnabled(false); if(userDef3->toPlainText() == "") userDef3->setPlainText(userDef3S); setFocusToUserDef(); } } void Preferences::enableUserDef4(){ if(hibernateM->currentIndex() == 5){ userDef4->setEnabled(true); userDef4->setFocus(); if(userDef4->toPlainText() == userDef4S) userDef4->clear(); } else{ userDef4->setEnabled(false); if(userDef4->toPlainText() == "") userDef4->setPlainText(userDef4S); setFocusToUserDef(); } } void Preferences::loadSettings(){ if(settings->contains("PrefWindowSize/size")) resize(settings->value("PrefWindowSize/size").toSize()); comboBox->setCurrentIndex(settings->value("Power/comboBox",0).toInt()); timeEdit->setTime(QTime(settings->value("Time/time_hour",22).toInt(),settings->value("Time/time_minute",00).toInt())); spin->setValue(settings->value("Time/countdown_minutes",60).toInt()); stopHide->setChecked(settings->value("Quit_on_close",false).toBool()); countdown->setChecked(settings->value("Time/countdown_at_startup",false).toBool()); hideMe->setChecked(settings->value("Hide_at_startup",false).toBool()); fontComboBox->setCurrentFont(settings->value("Fonts/font_type",fonts).toString()); font1Spin->setValue(settings->value("Fonts/font1",fontS1).toInt()); font2Spin->setValue(settings->value("Fonts/font2",fontS2).toInt()); font3Spin->setValue(settings->value("Fonts/font3",fontS3).toInt()); spinBox->setValue(settings->value("Logfile/size",1.5).toDouble()); radio1->setChecked(settings->value("CheckBoxes/target_time",false).toBool()); radio2->setChecked(settings->value("CheckBoxes/countdown",true).toBool()); lock->setChecked(settings->value("CheckBoxes/lock",true).toBool()); warn->setChecked(settings->value("CheckBoxes/warnings",true).toBool()); log->setChecked(settings->value("Logfile/logging",false).toBool()); lockS->setChecked(settings->value("Lock_screen",true).toBool()); autostart->setChecked(settings->value("Autostart").toBool()); shutdownM->setCurrentIndex(settings->value("Methods/shutdown",0).toInt()); userDef1->setPlainText(settings->value("Methods/myShutdown",userDef1S).toString()); rebootM->setCurrentIndex(settings->value("Methods/reboot",0).toInt()); userDef2->setPlainText(settings->value("Methods/myReboot",userDef2S).toString()); suspendM->setCurrentIndex(settings->value("Methods/suspend",0).toInt()); userDef3->setPlainText(settings->value("Methods/mySuspend",userDef3S).toString()); hibernateM->setCurrentIndex(settings->value("Methods/hibernate",0).toInt()); userDef4->setPlainText(settings->value("Methods/myHibernate",userDef4S).toString()); lockMyScreen = settings->value("Lock_screen").toBool(); quitAfterCountdown->setChecked(settings->value("Quit_after_countdown_ended",false).toBool()); } void Preferences::saveToConfFile(){ if(settings->isWritable()){ settings->setValue("Power/comboBox",comboBox->currentIndex()); settings->setValue("Time/time_hour",timeEdit->time().hour()); settings->setValue("Time/time_minute",timeEdit->time().minute()); settings->setValue("Quit_on_close",stopHide->isChecked()); settings->setValue("Time/countdown_at_startup",countdown->isChecked()); settings->setValue("Hide_at_startup",hideMe->isChecked()); settings->setValue("Time/countdown_minutes",spin->value()); settings->setValue("Fonts/font_type",fontComboBox->currentText()); settings->setValue("Fonts/font1",font1Spin->value()); settings->setValue("Fonts/font2",font2Spin->value()); settings->setValue("Fonts/font3",font3Spin->value()); settings->setValue("Logfile/size",spinBox->value()); settings->setValue("CheckBoxes/target_time",radio1->isChecked()); settings->setValue("CheckBoxes/countdown",radio2->isChecked()); settings->setValue("CheckBoxes/lock",lock->isChecked()); settings->setValue("CheckBoxes/warnings",warn->isChecked()); settings->setValue("Logfile/logging",log->isChecked()); settings->setValue("Lock_screen",lockS->isChecked()); settings->setValue("Autostart",autostart->isChecked()); settings->setValue("Methods/shutdown",shutdownM->currentIndex()); settings->setValue("Methods/myShutdown",userDef1->toPlainText()); settings->setValue("Methods/reboot",rebootM->currentIndex()); settings->setValue("Methods/myReboot",userDef2->toPlainText()); settings->setValue("Methods/suspend",suspendM->currentIndex()); settings->setValue("Methods/mySuspend",userDef3->toPlainText()); settings->setValue("Methods/hibernate",hibernateM->currentIndex()); settings->setValue("Methods/myHibernate",userDef4->toPlainText()); settings->setValue("Quit_after_countdown_ended",quitAfterCountdown->isChecked()); } autostartFile(); //to create or to delete the autostart file lockScreen(); //set lockMyScreen to true or false according to lockS if(userDef1->isEnabled()) myShutdown = userDef1->toPlainText(); else myShutdown = ""; if(userDef2->isEnabled()) myReboot = userDef2->toPlainText(); else myReboot = ""; if(userDef3->isEnabled()) mySuspend = userDef3->toPlainText(); else mySuspend = ""; if(userDef4->isEnabled()) myHibernate = userDef4->toPlainText(); else mySuspend = ""; this->close(); } void Preferences::resetSettings(){ if(settings->isWritable()){ comboBox->setCurrentIndex(0); timeEdit->setTime(QTime(22,00)); countdown->setChecked(false); stopHide->setChecked(false); hideMe->setChecked(false); spin->setValue(60); fontComboBox->setCurrentFont(QFont(fonts)); font1Spin->setValue(fontS1); font2Spin->setValue(fontS2); font3Spin->setValue(fontS3); spinBox->setValue(1.5); radio1->setChecked(false); radio2->setChecked(true); lock->setChecked(true); warn->setChecked(true); log->setChecked(false); lockS->setChecked(true); shutdownM->setCurrentIndex(0); rebootM->setCurrentIndex(0); suspendM->setCurrentIndex(0); hibernateM->setCurrentIndex(0); userDef1->setPlainText(userDef1S); userDef2->setPlainText(userDef2S); userDef3->setPlainText(userDef3S); userDef4->setPlainText(userDef4S); quitAfterCountdown->setChecked(false); } } void Preferences::closeEvent(QCloseEvent* close_pref){ isClosed = true; finishing(); //sends SIGNAL finishing() if(settings->isWritable()) settings->setValue("PrefWindowSize/size",size()); resetFont(); QDialog::closeEvent(close_pref); } bool Preferences::getClosed(){ return isClosed; } bool Preferences::getQuitOnClose(){ return settings->value("Quit_on_close").toBool(); } void Preferences::fontChanged(QString font){ fonts = font; changeFont(); } void Preferences::fontSize1Changed(int f1){ fontS1 = f1; changeFont(); } void Preferences::fontSize2Changed(int f2){ fontS2 = f2; changeFont(); } void Preferences::fontSize3Changed(int f3){ fontS3 = f3; changeFont(); } void Preferences::resetFont(){ fonts = settings->value("Fonts/font_type","Times New Roman").toString(); fontS1 = settings->value("Fonts/font1",13).toInt(); fontS2 = settings->value("Fonts/font2",18).toInt(); fontS3 = settings->value("Fonts/font3",11).toInt(); changeFont(); } void Preferences::autostartFile(){ #ifndef Q_OS_WIN32 QFile autostartFile(QDir::homePath() + "/.config/autostart/qshutdown.desktop"); if(settings->value("Autostart").toBool() && !autostartFile.exists()){ if(!QDir(QDir::homePath() + "/.config/autostart").exists()){ QDir dir(QDir::homePath() + "/.config/autostart"); dir.mkdir(QDir::homePath() + "/.config/autostart"); } if(!autostartFile.open(QIODevice::ReadWrite | QIODevice::Text)){ QTextStream myOutput(stdout); myOutput << "E: Can not open qshutdown.conf!" << endl; return; } QString autostartContent("[Desktop Entry]\nName=qshutdown\n" "Name[de_DE]=qshutdown\nExec=qshutdown\nTerminal=false\n" "Type=Application\nIcon=red_glasses\nCategories=Utility"); QTextStream out(&autostartFile); out << autostartContent; autostartFile.close(); } if(autostartFile.exists() && !settings->value("Autostart").toBool()) autostartFile.remove(); #endif } void Preferences::lockScreen(){ lockMyScreen = lockS->isChecked(); } shutdown-qapps-1.6.8/qshutdown/src/calendar.cpp0000644000175000017500000000335512157032701021753 0ustar hakaishihakaishi/* qshutdown, a program to shutdown/reboot/suspend/hibernate the system * Copyright (C) 2010-2013 Christian Metscher * 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 . */ #include "calendar.h" #include Calendar::Calendar(QWidget *parent): QDialog(parent){ setupUi(this); isClosed = true; setWindowFlags(Qt::Window); calendarWidget->setMinimumDate(QDate::currentDate()); connect(calendarWidget, SIGNAL(clicked(QDate)), this, SLOT(getDate(QDate))); connect(buttonBox->button(QDialogButtonBox::Ok), SIGNAL(clicked(bool)), this, SLOT(setDate())); } Calendar::~Calendar(){;} void Calendar::getDate(QDate date){ calendarDate = date; } void Calendar::setDate(){ if(!calendarDate.isNull()){ //if a day was selected setCalendarDate = calendarDate; aDateWasSet(); } } void Calendar::showEvent(QShowEvent* show_calendar){ isClosed = false; starting(); QDialog::showEvent(show_calendar); } void Calendar::closeEvent(QCloseEvent* close_calendar){ isClosed = true; finishing(); QDialog::closeEvent(close_calendar); } bool Calendar::getClosed(){ return isClosed; } shutdown-qapps-1.6.8/qshutdown/src/ch_passwd.h0000644000175000017500000000255412157032701021622 0ustar hakaishihakaishi/* qshutdown, a program to shutdown/reboot/suspend/hibernate the system * Copyright (C) 2010-2013 Christian Metscher * 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 . */ #ifndef CH_PASSWD_H #define CH_PASSWD_H #include "ui_ch_passwd.h" #include #include class ChangePassword : public QDialog, public Ui::ChangePassword { Q_OBJECT public: ChangePassword(QWidget *parent = 0); ~ChangePassword(); signals: void updatePasswordGui(); private: QSettings *settings; QString file; QMessageBox *msgBox1, *msgBox2; private slots: void checkOldPW(); void checkNewPW(); void savePW(); protected: virtual void closeEvent(QCloseEvent* close_ch_pw); }; #endif //CH_PASSWD_H shutdown-qapps-1.6.8/qshutdown/src/editor.h0000644000175000017500000000271212157032701021131 0ustar hakaishihakaishi/* qshutdown, a program to shutdown/reboot/suspend/hibernate the system * Copyright (C) 2010-2013 Christian Metscher * 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 . */ #ifndef EDITOR_H #define EDITOR_H #include "ui_editor.h" #include #include class Editor : public QDialog, public Ui::Editor { Q_OBJECT public: Editor(QWidget *parent = 0); ~Editor(); bool getClosed(); signals: void saved(); void starting(); void finishing(); private: QFile *confFile; QSettings *settings; bool isClosed; private slots: void saveChanges(); public slots: bool getLockAll(); protected: virtual void showEvent(QShowEvent* show_editor); virtual void closeEvent(QCloseEvent* close_editor); void keyPressEvent(QKeyEvent* kEvent); }; #endif //EDITOR_H shutdown-qapps-1.6.8/qshutdown/src/about.h0000644000175000017500000000200712157032701020752 0ustar hakaishihakaishi/* qshutdown, a program to shutdown/reboot/suspend/hibernate the system * Copyright (C) 2010-2013 Christian Metscher * 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 . */ #ifndef ABOUT_H #define ABOUT_H #include "ui_about.h" #include class About : public QDialog, public Ui::About { Q_OBJECT public: About(QWidget *parent = 0); ~About(); private: QIcon icon; }; #endif //ABOUT_H shutdown-qapps-1.6.8/qshutdown/src/calendar.h0000644000175000017500000000260512157032701021415 0ustar hakaishihakaishi/* qshutdown, a program to shutdown/reboot/suspend/hibernate the system * Copyright (C) 2010-2013 Christian Metscher * 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 . */ #ifndef CALENDAR_H #define CALENDAR_H #include "ui_calendar.h" #include class Calendar : public QDialog, public Ui::Calendar { Q_OBJECT public: Calendar(QWidget *parent = 0); ~Calendar(); QDate setCalendarDate, calendarDate; bool getClosed(); private: bool isClosed; private slots: void getDate(QDate date); void setDate(); signals: void aDateWasSet(); void starting(); void finishing(); protected: virtual void showEvent(QShowEvent* show_calendar); virtual void closeEvent(QCloseEvent* close_calendar); }; #endif //CALENDAR_H shutdown-qapps-1.6.8/qshutdown/src/editor.cpp0000644000175000017500000000721212157032701021464 0ustar hakaishihakaishi/* qshutdown, a program to shutdown/reboot/suspend/hibernate the system * Copyright (C) 2010-2013 Christian Metscher * 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 . */ #include "editor.h" #include #include #include #include Editor::Editor(QWidget *parent): QDialog(parent){ setupUi(this); isClosed = true; setWindowFlags(Qt::Window); //always in front #ifdef Q_OS_WIN32 confFile = new QFile(QDesktopServices::storageLocation(QDesktopServices::DataLocation) + "/qshutdown/qshutdown.conf"); #else //!Q_OS_WIN32 confFile = new QFile(QDir::homePath() + "/.qshutdown/qshutdown.conf"); #endif //Q_OS_WIN32 plainTextEdit->setFocus(); connect(buttonBox->button(QDialogButtonBox::Ok), SIGNAL(clicked(bool)), this, SLOT(saveChanges())); connect(buttonBox->button(QDialogButtonBox::Ok), SIGNAL(clicked(bool)), this, SLOT(close())); connect(buttonBox->button(QDialogButtonBox::Save), SIGNAL(clicked(bool)), this, SLOT(saveChanges())); connect(buttonBox->button(QDialogButtonBox::Cancel), SIGNAL(clicked(bool)), this, SLOT(close())); connect(this, SIGNAL(rejected()), this, SLOT(close())); } Editor::~Editor(){ delete confFile; } void Editor::showEvent(QShowEvent* show_editor){ isClosed = false; if(!confFile->open(QIODevice::ReadWrite | QIODevice::Text)){ QTextStream myOutput(stdout); myOutput << "E: Can not open qshutdown.conf!" << endl; return; } QString text; //reading content of qshutdown.conf QTextStream in(confFile); text = in.readAll(); plainTextEdit->setPlainText(text); confFile->close(); starting(); QDialog::showEvent(show_editor); } void Editor::closeEvent(QCloseEvent* close_editor){ isClosed = true; finishing(); QDialog::closeEvent(close_editor); } bool Editor::getClosed(){ return isClosed; } bool Editor::getLockAll(){ #ifdef Q_OS_WIN32 QString file(QDesktopServices::storageLocation(QDesktopServices::DataLocation) + "/qshutdown/qshutdown.conf"); #else //!Q_OS_WIN32 QString file(QDir::homePath() + "/.qshutdown/qshutdown.conf"); #endif //Q_OS_WIN32 QSettings settings(file, QSettings::IniFormat); return settings.value("Lock_all").toBool(); } void Editor::keyPressEvent(QKeyEvent *kEvent){ if((kEvent->modifiers() == Qt::ControlModifier) && (kEvent->key() == Qt::Key_S)) saveChanges(); if(((kEvent->modifiers() == Qt::ControlModifier) && (kEvent->key() == Qt::Key_Q)) || (kEvent->key() == Qt::Key_Escape)) reject(); } void Editor::saveChanges(){ if(!confFile->open(QIODevice::ReadWrite | QIODevice::Text)){ QTextStream myOutput(stdout); myOutput << "E: Can not open qshutdown.conf!"; return; } QString newContent; //writing content of editor to qshutdown.conf newContent = plainTextEdit->toPlainText(); QTextStream out(confFile); out << newContent; confFile->close(); saved(); //Signal that changes have been saved } shutdown-qapps-1.6.8/qshutdown/src/gui.cpp0000644000175000017500000010212512322477423020771 0ustar hakaishihakaishi/* qshutdown, a program to shutdown the shutdown/reboot/suspend/hibernate * Copyright (C) 2010-2013 Christian Metscher * 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 . */ #include "gui.h" #include "preferences.h" #include "info.h" #include "calendar.h" #include "passwd.h" #include "editor.h" #include "about.h" #include "power.h" #include #include Gui::Gui(){ setupUi(this); //Seconds won't be recognized, thus removing them (just in case). QString timeEditFormat; timeEditFormat = timeEdit->displayFormat(); if(timeEditFormat.contains(":ss")) timeEditFormat.replace(QString(":ss"), QString("")); if(timeEditFormat.contains(":s")) timeEditFormat.replace(QString(":s"), QString("")); timeEdit->setDisplayFormat(timeEditFormat); timeRunning = false; logFileSize = 1.5; datetime = QDateTime::currentDateTime(); elapsedTime.start(); //Preferences pref = new Preferences(this); //CalendarBox cal = new Calendar(this); //InfoMessageBox infoBox = new Info(this); //ChangePassword checkPassword = new PassWord(this); //Editor editor = new Editor(this); //Versioning QFile versionFile(":version"); versionFile.open(QIODevice::ReadOnly | QIODevice::Text); QTextStream in(&versionFile); statusBar()->showMessage(tr("Version ") + in.readLine(),15000); versionFile.close(); /* //Parental lock label for the statusbar parentalLockL = new QLabel(tr("locked")); parentalLockL->setFrameShape(QFrame::Box); parentalLockL->setFrameShadow(QFrame::Sunken); parentalLockL->setToolTip(tr("Parental lock is activated")); //Custom mode label for the statusbar customL = new QLabel(tr("custom")); customL->setFrameShape(QFrame::Box); customL->setFrameShadow(QFrame::Sunken); customL->setToolTip(tr("Using user defined command"));*/ //About about = new About(this); //TrayIcon icon = QIcon(":red_glasses"); TIcon = new QSystemTrayIcon(this); TIcon->setIcon(icon); TIcon->show(); //TrayIconContextMenu menu = new QMenu(this); minimize_restore_action = new QAction(tr("&Minimize"),this); reset_action = new QAction(tr("R&eset"),this); quit_action = new QAction(tr("&Quit"),this); info_action = new QAction(tr("&Info"),this); log_action = new QAction(tr("&Logfile"),this); log_action->setCheckable(true); pref_action = new QAction(tr("&Preferences"),this); power_actions = new QActionGroup(this); shutdown_action = new QAction(tr("&Shutdown"),this); shutdown_action->setCheckable(true); reboot_action = new QAction(tr("&Reboot"),this); reboot_action->setCheckable(true); suspend_action = new QAction(tr("S&uspend"),this); suspend_action->setCheckable(true); hibernate_action = new QAction(tr("&Hibernate"),this); hibernate_action->setCheckable(true); power_actions->addAction(shutdown_action); power_actions->addAction(reboot_action); power_actions->addAction(suspend_action); power_actions->addAction(hibernate_action); menu->addAction(info_action); menu->addAction(reset_action); menu->addAction(pref_action); menu->addAction(log_action); menu->addSeparator(); menu->addAction(shutdown_action); menu->addAction(reboot_action); menu->addAction(suspend_action); menu->addAction(hibernate_action); reset_action->setEnabled(false); menu->addSeparator(); menu->addAction(minimize_restore_action); menu->addAction(quit_action); TIcon->setContextMenu(menu); //setting contextmenu for the systray //PushButton Minimize minim = new QPushButton(this); //to minimize minim->setText(tr("&Minimize!")); minim->setHidden(true); //not yet visible QSizePolicy sizePolicy6(QSizePolicy::Expanding, QSizePolicy::Preferred); sizePolicy6.setHorizontalStretch(0); sizePolicy6.setVerticalStretch(1); sizePolicy6.setHeightForWidth(ok->sizePolicy().hasHeightForWidth()); minim->setSizePolicy(sizePolicy6); gridLayout5->addWidget(minim,0,1,3,1); //Fonts font1 = new QFont; font1->setBold(true); font2 = new QFont; font2->setBold(true); font3 = new QFont; //Timer timer = new QTimer(this); //for updating countdown display and check if time is over ti = new QTimer(this); //for displaying the window, till the OK-Button is clicked ti->start(30000); //gives every 30 seconds a timeout()-signal //Connect signals with slots (actions with funktions) connect(comboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(power_action(int))); connect(ti, SIGNAL(timeout()), this, SLOT(showW())); //set window state for ti connect(ok, SIGNAL(clicked(bool)), this, SLOT(set())); //starts timers and time calculations connect(timer, SIGNAL(timeout()), this, SLOT(updateT())); //runs updateT() every second connect(now, SIGNAL(clicked(bool)), this, SLOT(finished_()));//closes the program & starts the shutdown immediately connect(minim, SIGNAL(clicked(bool)), this, SLOT(showMinimized())); //minimizes window connect(TIcon, SIGNAL(activated(QSystemTrayIcon::ActivationReason)), this, SLOT(iconActivated(QSystemTrayIcon::ActivationReason))); //handles systray-symbol connect(power_actions, SIGNAL(triggered(QAction*)), this, SLOT(power(QAction*))); connect(reset_action, SIGNAL(triggered()), this, SLOT(reset())); connect(action_Reset, SIGNAL(triggered()), this, SLOT(reset())); connect(qApp, SIGNAL(aboutToQuit()), this, SLOT(beforeQuit())); //save window size / logs and unregister qshutdown connect(minimize_restore_action, SIGNAL(triggered()), this, SLOT(tray_actions())); connect(quit_action, SIGNAL(triggered()), qApp, SLOT(quit())); //contextmenu "Quit" for the systray quits Programm connect(actionQuit, SIGNAL(triggered()), qApp, SLOT(quit())); connect(action_Configure, SIGNAL(triggered()), pref, SLOT(show())); connect(pref_action, SIGNAL(triggered()), pref, SLOT(show())); connect(pref, SIGNAL(starting()), ti, SLOT(stop())); connect(pref, SIGNAL(finishing()), this, SLOT(warnings_on())); //start the Qtimer ti if timeRunning == false connect(pref, SIGNAL(changeFont()), this, SLOT(getFonts())); connect(pref, SIGNAL(editConf()), checkPassword, SLOT(show())); //ask for password when button was pressed at preferences connect(action_Info, SIGNAL(triggered()), this, SLOT(setInfoText())); connect(action_Info, SIGNAL(triggered()), infoBox, SLOT(show())); connect(info_action, SIGNAL(triggered()), this, SLOT(setInfoText())); connect(info_action, SIGNAL(triggered()), infoBox, SLOT(show())); connect(infoBox, SIGNAL(starting()), ti, SLOT(stop())); connect(infoBox, SIGNAL(finishing()), this, SLOT(warnings_on())); connect(toolButton, SIGNAL(clicked(bool)), this, SLOT(showCalendarBox())); connect(cal, SIGNAL(aDateWasSet()), this, SLOT(setDate())); connect(cal, SIGNAL(starting()), ti, SLOT(stop())); connect(cal, SIGNAL(finishing()), this, SLOT(warnings_on())); connect(checkPassword, SIGNAL(success()), this, SLOT(showEditor())); //if correct password was entered open editor connect(checkPassword, SIGNAL(starting()), ti, SLOT(stop())); connect(checkPassword, SIGNAL(starting()), pref, SLOT(accept())); connect(checkPassword, SIGNAL(finishing()), this, SLOT(warnings_on())); connect(editor, SIGNAL(saved()), this, SLOT(updateLock())); //update to see if Lock_all was (de)activated connect(editor, SIGNAL(saved()), pref, SLOT(loadSettings())); connect(editor, SIGNAL(starting()), ti, SLOT(stop())); connect(editor, SIGNAL(finishing()), this, SLOT(warnings_on())); connect(editor, SIGNAL(finishing()), pref, SLOT(loadSettings())); connect(actionLog_file, SIGNAL(toggled(bool)), log_action, SLOT(setChecked(bool))); connect(log_action, SIGNAL(toggled(bool)), actionLog_file, SLOT(setChecked(bool))); connect(action_About, SIGNAL(triggered()), about, SLOT(show())); connect(actionAbout_Qt, SIGNAL(triggered()), qApp, SLOT(aboutQt())); connect(actionKeep_window_proportions, SIGNAL(toggled(bool)), this, SLOT(staticProportions(bool))); } Gui::~Gui(){ delete font1; delete font2; delete font3; // delete parentalLockL; // delete customL; } void Gui::showEvent(QShowEvent* show_window){ minimize_restore_action->setText(tr("&Minimize")); QMainWindow::showEvent(show_window); } void Gui::tray_actions(){ if(isMinimized() || isHidden()) //in case that the window is minimized or hidden showNormal(); else hide(); } void Gui::setInfoText(){ infoBox->setHtml(information); } void Gui::warnings_on(){ if(pref->getClosed() && cal->getClosed() && infoBox->getClosed() && checkPassword->getClosed() && editor->getClosed() && !timeRunning) ti->start(); } void Gui::setDate(){ toolButton->setText(cal->setCalendarDate.toString(Qt::SystemLocaleShortDate)); } void Gui::center(){ QDesktopWidget *desktop = qApp->desktop(); QPoint pos((desktop->width() - frameGeometry().width()) / 2, (desktop->height() - frameGeometry().height()) / 2); move(pos); } void Gui::iconActivated(QSystemTrayIcon::ActivationReason reason){ if(reason == QSystemTrayIcon::Trigger){ tray_actions(); //hide or show } } void Gui::power_action(int action){ QList actions = power_actions->actions(); actions[action]->setChecked(true); switch(action){ case 0: targetTime->setText(tr("Shutdown-time:")); minutes->setText(tr("Minutes till shutdown:")); break; case 1: targetTime->setText(tr("Reboot-time:")); minutes->setText(tr("Minutes till reboot:")); break; case 2: targetTime->setText(tr("Suspend-time:")); minutes->setText(tr("Minutes till suspend:")); break; case 3: targetTime->setText(tr("Hibernate-time:")); minutes->setText(tr("Minutes till hibernate:")); break; default:; } } void Gui::power(QAction *action){ if(action == shutdown_action) comboBox->setCurrentIndex(0); if(action == reboot_action) comboBox->setCurrentIndex(1); if(action == suspend_action) comboBox->setCurrentIndex(2); if(action == hibernate_action) comboBox->setCurrentIndex(3); } void Gui::showW(){ if(warnings->isChecked()){ //warnings is checked if(timeRunning){ QSystemTrayIcon::MessageIcon icon = QSystemTrayIcon::MessageIcon(3); TIcon->showMessage(tr("Warning"), tr("Action imminent!"), icon, 5000); showRunningProgram(); } else{ QSystemTrayIcon::MessageIcon icon = QSystemTrayIcon::MessageIcon(1); TIcon->showMessage(tr("Information"), tr("Countdown is not running!"), icon, 5000); } } } void Gui::showRunningProgram(){ center(); if(isMinimized() || isHidden()) showNormal(); else activateWindow(); } void Gui::keyPressEvent(QKeyEvent *kEvent){ if(kEvent->modifiers() == Qt::ControlModifier){ if(!timeRunning && !editor->getLockAll()){ if(kEvent->key() == Qt::Key_S){ shutdown_action->setChecked(true); comboBox->setCurrentIndex(0); } if(kEvent->key() == Qt::Key_R){ reboot_action->setChecked(true); comboBox->setCurrentIndex(1); } if(kEvent->key() == Qt::Key_U){ suspend_action->setChecked(true); comboBox->setCurrentIndex(2); } if(kEvent->key() == Qt::Key_H){ hibernate_action->setChecked(true); comboBox->setCurrentIndex(3); } } if(!editor->getLockAll()){ if(kEvent->key() == Qt::Key_E && timeRunning) reset(); if(kEvent->key() == Qt::Key_L){ if(log_action->isChecked()){ log_action->setChecked(false); actionLog_file->setChecked(false); } else{ log_action->setChecked(true); actionLog_file->setChecked(true); } } if(kEvent->key() == Qt::Key_Q) qApp->quit(); } if(kEvent->key() == Qt::Key_I){ setInfoText(); infoBox->show(); } if(kEvent->key() == Qt::Key_P) pref->show(); } if(kEvent->modifiers() == Qt::ShiftModifier){ if(kEvent->key() == Qt::Key_E) checkPassword->show(); //ask for password to edit qshutdown.conf } } void Gui::updateT(){ QDate myDate; QString tip1, tip2; if(shutdown_action->isChecked()) tip1 = (tr("shutdown in ")); if(reboot_action->isChecked()) tip1 = (tr("reboot in ")); if(suspend_action->isChecked()) tip1 = (tr("suspend in ")); if(hibernate_action->isChecked()) tip1 = (tr("hibernate in ")); if(QDate::currentDate().daysTo(cal->setCalendarDate) > 1){ //if the date difference between today and the selected day //in the calendar is greater than one //if more than one year if(QDate::currentDate().daysTo(cal->setCalendarDate) > myDate.daysInYear()){ tip2 = (QString::number(QDate::currentDate().daysTo(cal->setCalendarDate)/myDate.daysInYear()) + " " + tr("years")); lcdL->setText(tr("years")); lcd->setDigitCount(4); lcd->display((double)QDate::currentDate().daysTo(cal->setCalendarDate)/myDate.daysInYear()); } //if more than one month if(QDate::currentDate().daysTo(cal->setCalendarDate) > myDate.daysInMonth() && QDate::currentDate().daysTo(cal->setCalendarDate) <= myDate.daysInYear()){ tip2 = (QString::number(QDate::currentDate().daysTo(cal->setCalendarDate)/myDate.daysInMonth()) + " " + tr("months")); lcdL->setText(tr("months")); if((double)QDate::currentDate().daysTo(cal->setCalendarDate)/myDate.daysInMonth() >= 10) lcd->setDigitCount(4); else lcd->setDigitCount(3); lcd->display((double)QDate::currentDate().daysTo(cal->setCalendarDate)/myDate.daysInMonth()); } //if less than days in Month if(QDate::currentDate().daysTo(cal->setCalendarDate) <= myDate.daysInMonth()){ tip2 = (QString::number(QDate::currentDate().daysTo(cal->setCalendarDate)) + " " + tr("days")); lcdL->setText(tr("days")); if((double)QDate::currentDate().daysTo(cal->setCalendarDate) >= 10) lcd->setDigitCount(4); else lcd->setDigitCount(3); lcd->display((double)QDate::currentDate().daysTo(cal->setCalendarDate)); } } if(QDate::currentDate().daysTo(cal->setCalendarDate) == 1){ //if there is one more day to go Time(); if(i>=86400){ //if one day and some time to go tip2 = (">= 1 " + tr("day")); lcd->setDigitCount(3); lcd->display(bigI/86400); if(lcd->value() > 1.1) lcdL->setText(tr("days")); else lcdL->setText(tr("day")); } if(i<86400 && i>3600){ //if there is less than one day, show hours tip2 = (QString::number(i/3600) + " " + tr("hours")); lcdL->setText(tr("hours")); if(bigI/3600 >= 10) lcd->setDigitCount(4); else lcd->setDigitCount(3); lcd->display(bigI/3600); } if(i<=3600 && i>60){ //if less than one hour tip2 = (QString::number(i/60) + " " + tr("minutes")); lcdL->setText(tr("minutes")); if(bigI/60 >= 10){ lcd->setDigitCount(4); lcd->display(bigI/60); } else lcd->setDigitCount(3); lcd->display(bigI/60); } if(i<=60){ tip2 = (QString::number(i) + " " + tr("seconds")); lcdL->setText(tr("seconds")); lcd->display(i); } } if(QDate::currentDate()==cal->setCalendarDate || cal->setCalendarDate.isNull()){ //if there was no date //set in the calendar or the set day is the current day Time(); if(warnings->isChecked() && (((i<=100) && (i>95)) || ((i<=40) && (i>35))) && !ti->isActive()) ti->start(30000); if(i > 3600){ //Display hours and minutes tip2 = (QString::number(i/3600) + " " + tr("hours") + " + " + QString::number(i/60 - (i/3600)*60) + " " + tr("minutes")); lcdL->setText(tr("hours")); if(bigI/3600 >= 10) lcd->setDigitCount(4); else lcd->setDigitCount(3); lcd->display(bigI/3600); } if(i<=3600 && i>=60){ //Display only minutes tip2 = (QString::number(i/60) + " " + tr("minutes")); lcdL->setText(tr("minutes")); if(bigI/60 >= 10) lcd->setDigitCount(4); else lcd->setDigitCount(3); lcd->display(bigI/60); } if(i<=60){ //Display only seconds tip2 = (QString::number(i) + " " + tr("seconds")); lcdL->setText(tr("seconds")); lcd->display(i); } //this will ensure that the shutdown-type will be executed in case a few seconds were skipped if(i<=86390) n = 10; //any number to keep i in check if((i==0) || ((i>n) && (i>86390))) finished_(); //execute shutdown-type } setWindowTitle(tip1 + tip2); TIcon->setToolTip(tip1 + tip2); } void Gui::set(){ timeRunning = true; ti->stop(); timer->start(1000); localTime = QTime::currentTime(); //the time now if(radio2->isChecked()) //if minute-countdown futureTime = localTime.addSecs(spin->value()*60); //add spinbox-value to the current time else futureTime = timeEdit->time(); //else the future time is the time of the timeEdit n = 86400; // any number bigger than i - just for initializing if(lock->isChecked() || editor->getLockAll()){ //when OK-button is clicked and lock is checked QList list; list << spin << radio1 << radio2 << lock << timeEdit << comboBox << targetTime << minutes << pref->tab2; foreach(QWidget * ptr, list) ptr->setDisabled(true); power_actions->setDisabled(true); ok->hide(); minim->show(); minim->setFocus(); minim->setAutoDefault(true); //minimize-button will accept the return key } if(!editor->getLockAll()){ reset_action->setEnabled(true); action_Reset->setEnabled(true); } /* if((comboBox->currentIndex() == 0 && pref->shutdownM->currentIndex() == 6) || (comboBox->currentIndex() == 1 && pref->rebootM->currentIndex() == 6) || (comboBox->currentIndex() == 2 && pref->suspendM->currentIndex() == 5) || (comboBox->currentIndex() == 3 && pref->hibernateM->currentIndex() == 5)){ if(!customL->isVisible()) customL->show(); statusBar()->addPermanentWidget(customL); } else statusBar()->removeWidget(customL);*/ } void Gui::Time(){ localTime = QTime::currentTime(); i = localTime.secsTo(futureTime); //the difference of the localTime and the future time if(radio2->isChecked() && (QDate::currentDate().daysTo(cal->setCalendarDate) == 1)) i = ((23-localTime.hour())*3600 + (59-localTime.minute())*60 + spin->value()*60); if(radio1->isChecked() && (QDate::currentDate().daysTo(cal->setCalendarDate) == 1)) i = ((23-localTime.hour())*3600 + (59-localTime.minute())*60 + timeEdit->time().hour()*3600 + timeEdit->time().minute()*60); if(i<0) //if the date is on the next day i += 86400; //add 1 day in seconds bigI = i; //for more precise display with LCD } void Gui::saveLog(){ #ifdef Q_OS_WIN32 QString file(QDesktopServices::storageLocation(QDesktopServices::DataLocation) + "/qshutdown/qshutdown.conf"); #else //!Q_OS_WIN32 QString file(QDir::homePath() + "/.qshutdown/qshutdown.conf"); #endif //Q_OS_WIN32 QSettings settings(file, QSettings::IniFormat); settings.setValue("MainWindow/size",size()); settings.setValue("MainWindow/keep_proportions",actionKeep_window_proportions->isChecked()); if(log_action->isChecked()){ //if logfile is set in the icon contextmenu #ifdef Q_OS_WIN32 QFile logfile(QDesktopServices::storageLocation(QDesktopServices::DataLocation) + "/qshutdown/log.txt"); #else //!Q_OS_WIN32 QFile logfile(QDir::homePath() + "/.qshutdown/log.txt"); #endif //Q_OS_WIN32 if(!logfile.open(QIODevice::ReadWrite | QIODevice::Text)){ QTextStream myOutput; myOutput << "E: Can not open log.txt!" << endl; return; } /******* writing log to log.txt *******/ QTextStream out(&logfile); while(!logfile.atEnd()) out.readLine(); out << "[" << datetime.toString("yyyy.MM.dd hh:mm") << "] " << 1/(60000.0/elapsedTime.elapsed()) << " minutes uptime\n"; logfile.close(); /******* if log.txt is bigger than set in preferences, delete first line *******/ bool isBigger; if(logfile.size()>logFileSize*1000) isBigger = true; else isBigger = false; while(isBigger){ logfile.open(QIODevice::ReadWrite | QIODevice::Text); QTextStream out(&logfile); out.readLine(); QString content = out.readAll(); logfile.resize(0); out << content; logfile.close(); if(logfile.size()<=logFileSize*1000) isBigger = false; } } } void Gui::finished_(){ if(!pref->quitAfterCountdown->isChecked()) reset(); switch(comboBox->currentIndex()){ case 0: if(pref->shutdownM->currentIndex()==0) { Power::automatic = true; } if(pref->shutdownM->currentIndex()==1) { Power::gnome = true; } if(pref->shutdownM->currentIndex()==2) { Power::kde = true; } if(pref->shutdownM->currentIndex()==3) { Power::hal_ = true; } if(pref->shutdownM->currentIndex()==4) { Power::consolekit = true; } if(pref->shutdownM->currentIndex()==5) { Power::sudo = true; } if(pref->shutdownM->currentIndex()==6) { Power::user = true; Power::myShutdown = pref->myShutdown; } saveLog(); Power::shutdown(); break; case 1: if(pref->rebootM->currentIndex()==0) { Power::automatic = true; } if(pref->rebootM->currentIndex()==1) { Power::gnome = true; } if(pref->rebootM->currentIndex()==2) { Power::kde = true; } if(pref->rebootM->currentIndex()==3) { Power::hal_ = true; } if(pref->rebootM->currentIndex()==4) { Power::consolekit = true; } if(pref->rebootM->currentIndex()==5) { Power::sudo = true; } if(pref->rebootM->currentIndex()==6) { Power::user = true; Power::myReboot = pref->myReboot; } saveLog(); Power::reboot(); break; case 2: if(pref->suspendM->currentIndex()==0) { Power::automatic = true; } if(pref->suspendM->currentIndex()==1) { Power::gnome = true; } if(pref->suspendM->currentIndex()==2) { Power::hal_ = true; } if(pref->suspendM->currentIndex()==3) { Power::upower_ = true; } if(pref->suspendM->currentIndex()==4) { Power::devicekit = true; } if(pref->suspendM->currentIndex()==5) { Power::user = true; Power::mySuspend = pref->mySuspend; } if(pref->lockMyScreen){ Power::lockMyScreen = true; } Power::suspend(); break; case 3: if(pref->hibernateM->currentIndex()==0) { Power::automatic = true; } if(pref->hibernateM->currentIndex()==1) { Power::gnome = true; } if(pref->hibernateM->currentIndex()==2) { Power::hal_ = true; } if(pref->hibernateM->currentIndex()==3) { Power::upower_ = true; } if(pref->hibernateM->currentIndex()==4) { Power::devicekit = true; } if(pref->hibernateM->currentIndex()==5) { Power::user = true; Power::myHibernate = pref->myHibernate; } if(pref->lockMyScreen){ Power::lockMyScreen = true; } Power::hibernate(); break; default:; } if(pref->quitAfterCountdown->isChecked()) qApp->quit(); } void Gui::hideEvent(QHideEvent* window_hide){ minimize_restore_action->setText(tr("Res&tore")); QMainWindow::hideEvent(window_hide); } void Gui::closeEvent(QCloseEvent* window_close){ if(!pref->getQuitOnClose()) hide(); else if(!editor->getLockAll()) qApp->quit(); QMainWindow::closeEvent(window_close); } void Gui::beforeQuit(){ saveLog(); #ifndef Q_OS_WIN32 QDBusConnection::sessionBus().unregisterObject(OBJECT_NAME, QDBusConnection::UnregisterNode); QDBusConnection::sessionBus().unregisterService(SERVICE_NAME); #endif //Q_OS_WIN32 } void Gui::loadSettings(){ /***************** create file and it's entries *****************/ #ifdef Q_OS_WIN32 QString file(QDesktopServices::storageLocation(QDesktopServices::DataLocation) + "/qshutdown/qshutdown.conf"); #else //!Q_OS_WIN32 QString file(QDir::homePath() + "/.qshutdown/qshutdown.conf"); #endif //Q_OS_WIN32 QSettings settings(file, QSettings::IniFormat); if(!settings.isWritable()){ QTextStream myOutput; myOutput << "W: qshutdown.conf is not writable!" << endl; } if(!settings.contains("Lock_all")) settings.setValue("Lock_all",false); if(!settings.contains("MainWindow/keep_proportions")) settings.setValue("MainWindow/keep_proportions",true); #ifndef Q_OS_WIN32 QFile autostartFile(QDir::homePath() + "/.config/autostart/qshutdown.desktop"); if(autostartFile.exists()) settings.setValue("Autostart",true); else settings.setValue("Autostart",false); #endif pref->autostartFile(); #ifdef Q_OS_WIN32 QString fonts = "Times New Roman"; int fontS1 = 13; int fontS2 = 18; int fontS3 = 11; #else QString fonts = "DejaVu Sans"; int fontS1 = 11; int fontS2 = 15; int fontS3 = 9; #endif /***************** read files entries *****************/ timeEdit->setTime(QTime(settings.value("Time/time_hour",22).toInt(),settings.value("Time/time_minute",00).toInt())); spin->setValue(settings.value("Time/countdown_minutes",60).toInt()); resize(settings.value("MainWindow/size",QSize(290,280)).toSize()); actionKeep_window_proportions->setChecked(settings.value("MainWindow/keep_proportions",true).toBool()); font1->setFamily(settings.value("Fonts/font_type",fonts).toString()); font2->setFamily(settings.value("Fonts/font_type",fonts).toString()); font3->setFamily(settings.value("Fonts/font_type",fonts).toString()); font1->setPointSize(settings.value("Fonts/font1",fontS1).toInt()); font2->setPointSize(settings.value("Fonts/font2",fontS2).toInt()); font3->setPointSize(settings.value("Fonts/font3",fontS3).toInt()); radio1->setChecked(settings.value("CheckBoxes/target_time",false).toBool()); radio2->setChecked(settings.value("CheckBoxes/countdown",true).toBool()); lock->setChecked(settings.value("CheckBoxes/lock",true).toBool()); comboBox->setCurrentIndex(settings.value("Power/comboBox",0).toInt()); warnings->setChecked(settings.value("CheckBoxes/warnings",true).toBool()); log_action->setChecked(settings.value("Logfile/logging",false).toBool()); logFileSize = settings.value("Logfile/size",1.5).toDouble(); if(settings.value("Time/countdown_at_startup",false).toBool()){ set(); if(settings.value("Hide_at_startup",false).toBool()) QTimer::singleShot(2000, this, SLOT(hide())); } staticProportions(settings.value("MainWindow/keep_proportions",true).toBool()); lockEverything(settings.value("Lock_all",false).toBool()); QList list; list << lcdL << comboBox << targetTime << minutes << spin << timeEdit; foreach(QWidget * ptr, list) ptr->setFont(*font1); ok->setFont(*font2); minim->setFont(*font2); warnings->setFont(*font3); lock->setFont(*font3); now->setFont(*font3); toolButton->setFont(*font3); switch(settings.value("Power/comboBox").toInt()){ case 0: targetTime->setText(tr("Shutdown-time:")); minutes->setText(tr("Minutes till shutdown:")); shutdown_action->setChecked(true); break; case 1: targetTime->setText(tr("Reboot-time:")); minutes->setText(tr("Minutes till reboot:")); reboot_action->setChecked(true); break; case 2: targetTime->setText(tr("Suspend-time:")); minutes->setText(tr("Minutes till suspend:")); suspend_action->setChecked(true); break; case 3: targetTime->setText(tr("Hibernate-time:")); minutes->setText(tr("Minutes till hibernate:")); hibernate_action->setChecked(true); break; default:; } } void Gui::lockEverything(bool actual){ if(radio1->isChecked()) timeEdit->setDisabled(actual); else spin->setDisabled(actual); quit_action->setDisabled(actual); actionQuit->setDisabled(actual); log_action->setDisabled(actual); actionLog_file->setDisabled(actual); power_actions->setDisabled(actual); QList widgetList; widgetList << radio1 << radio2 << lock << comboBox << targetTime << minutes << pref->comboBox << pref->timeEdit << pref->spin << pref->radio1 << pref->radio2 << pref->stopHide << pref->autostart << pref->lock << pref->countdown << pref->log << pref->reset << pref->spinBox << pref->tab2; foreach(QWidget * widgetPtr, widgetList) widgetPtr->setDisabled(actual); if(lock->isChecked() && timeRunning && !actual){ QList widgetList2; widgetList2 << timeEdit << spin << radio1 << radio2 << comboBox << targetTime << minutes << pref->tab2; foreach(QWidget * widgetPtr2, widgetList2) widgetPtr2->setDisabled(true); } if(timeRunning){ reset_action->setDisabled(actual); action_Reset->setDisabled(actual); } else{ reset_action->setDisabled(true); action_Reset->setDisabled(true); } /* if(actual){ if(!parentalLockL->isVisible()) parentalLockL->show(); statusBar()->addPermanentWidget(parentalLockL); } if(!actual && parentalLockL->isVisible()) statusBar()->removeWidget(parentalLockL);*/ } void Gui::reset(){ timer->stop(); setWindowTitle("'qshutdown'"); toolButton->setText("Calendar"); lcd->display(0); TIcon->setToolTip(NULL); lcdL->setText(tr("minutes")); cal->setCalendarDate = QDate(); cal->calendarDate = QDate(); showNormal(); if(!ti->isActive()) ti->start(30000); timeRunning = false; minim->hide(); ok->show(); pref->tab2->setEnabled(true); if(!editor->getLockAll()) lockEverything(false); else loadSettings(); action_Reset->setDisabled(true); reset_action->setDisabled(true); //statusBar()->removeWidget(customL); } void Gui::getFonts(){ font1->setFamily(pref->fonts); font1->setPointSize(pref->fontS1); font2->setFamily(pref->fonts); font2->setPointSize(pref->fontS2); font3->setFamily(pref->fonts); font3->setPointSize(pref->fontS3); QList list; list << lcdL << comboBox << targetTime << minutes << spin << timeEdit; foreach(QWidget * ptr, list) ptr->setFont(*font1); ok->setFont(*font2); minim->setFont(*font2); warnings->setFont(*font3); lock->setFont(*font3); now->setFont(*font3); toolButton->setFont(*font3); } void Gui::showCalendarBox(){ if(cal->setCalendarDate.isNull()) cal->calendarWidget->setSelectedDate(QDate::currentDate()); else cal->calendarWidget->setSelectedDate(cal->setCalendarDate); if(editor->getLockAll() || (timeRunning && lock->isChecked())) cal->calendarWidget->blockSignals(true); else cal->calendarWidget->blockSignals(false); cal->show(); } void Gui::updateLock(){ if(editor->getLockAll()) lockEverything(true); else lockEverything(false); } void Gui::showEditor(){ QTimer::singleShot(250, editor, SLOT(show())); } //using singleShot because of focus problems... void Gui::staticProportions(bool var){ if(var) frame->setSizePolicy(QSizePolicy::Fixed,QSizePolicy::Fixed); else frame->setSizePolicy(QSizePolicy::Expanding,QSizePolicy::Expanding); } shutdown-qapps-1.6.8/qshutdown/src/main.cpp0000644000175000017500000001742412322601470021127 0ustar hakaishihakaishi/* qshutdown, a program to shutdown/reboot/suspend/hibernate the system * Copyright (C) 2010-2013 Christian Metscher * 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 . */ #include "gui.h" #include #include #include #include bool verbose = false; //this is a global variable needed in power.cpp QString shell; int main(int argc, char *argv[]){ // here the QT_program is created QApplication app(argc, argv); //Qt translations QTranslator qtTranslator; qtTranslator.load("qt_" + QLocale::system().name(), QLibraryInfo::location(QLibraryInfo::TranslationsPath)); app.installTranslator(&qtTranslator); //My translations QTranslator translator; QString trDir = "/usr/share/qshutdown/translations/"; translator.load(trDir + "qshutdown-" + QLocale::system().name()); app.installTranslator(&translator); QTextStream myOutput(stdout); if(!QProcessEnvironment().isEmpty()) shell = QProcess::systemEnvironment().filter("SHELL").first().remove("SHELL="); if(shell.isEmpty() && QFile("/bin/bash").exists()) shell = "/bin/bash"; else myOutput << "E: No shell found! Custom commands won't work!"; QString infoStr = QString(QObject::tr("qshutdown will show itself 3 times as a warning " "if there are less than 70 seconds left.

This program uses qdbus to send a " "shutdown/reboot/suspend/hibernate request to either the gnome- or " "kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the " "command 'sudo shutdown' will be used (note that when sending the shutdown request to HAL or " "ConsoleKit, or the shutdown command is used, the Session will never be saved. If the " "shutdown command is used, the program will only be able to shutdown and reboot). So " "if nothing happens when the shutdown- or reboot-time is reached, it means that one " "lacks the rights for the shutdown command. In this case one can do the following:" "

Paste the following in a terminal:
EDITOR=nano sudo -E visudo
and " "add this line:
* ALL = NOPASSWD:/sbin/shutdown
whereas * replaces the " "user name or %group name.

The maximum Number of countdown_minutes is " "1440 (24 hours).
The configuration file (and logfile) is located at " "~/.qshutdown/ (under Linux/Unix).

For admins:
If you want " "qshutdown to run with \"parental lock\" for every user, you can do " "\"sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/\" " "and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that " "qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a " "need to add the following line to the sudoers (as above):" "
* ALL = NOPASSWD:/usr/bin/qshutdown

If you should ever forget " "your set password, just remove the whole line starting with \"Password\" manually from " "the qshutdown.conf.

Hints on usage:
If you want qshutdown to stop " "\"bugging\" you, just remove the hook from " "\"warnings on?\".

Hotkeys:" "" "" "
Ctrl+I(this)" " information window
Ctrl+QQuit
Ctrl+PPreferences
Ctrl+Lwrite the run time once into the logfile (works " "only if qshutdown quits. To make it permanent set it in the preferences.)
Ctrl+Sset to shutdown
Ctrl+Rset to restart
Ctrl+Uset to suspend to RAM
Ctrl+Hset to hibernate" "
Ctrl+Estop countdown (only if the countdown has started and the admin " "didn't restrict the access)
Shift+Eto edit the configuration file (for " "this a password is necessary. If you are a user, you can set an \"empty password\" (leave the " "password field empty)).
")); QTextDocumentFragment infoDoc; infoDoc = QTextDocumentFragment::fromHtml(infoStr); QString info = infoDoc.toPlainText(); //Get the arguments passed from the terminal QStringList args = QApplication::arguments(); args.removeFirst(); //this is just the program for(int i=1; i " << (iface.isValid()? "true":"false") << "\nW: " << response.errorName() << ": " << response.errorMessage() << "\n\nYou can ignore this." << endl; QDBusInterface iface2(SERVICE_NAME, OBJECT_NAME, "local.Gui", QDBusConnection::sessionBus(), &window); QDBusMessage response2 = iface2.call("showRunningProgram"); if(response2.type() == QDBusMessage::ErrorMessage) myOutput << "QDBusInterface " << iface2.interface() << " seems to be valid... -> " << (iface2.isValid()? "true":"false") << "\nW: " << response2.errorName() << ": " << response2.errorMessage() << "\n\nPlease report this." << endl; } } #endif //Q_OS_WIN32 } shutdown-qapps-1.6.8/qshutdown/src/info.cpp0000644000175000017500000000243012157032701021126 0ustar hakaishihakaishi/* qshutdown, a program to shutdown/reboot/suspend/hibernate the system * Copyright (C) 2010-2013 Christian Metscher * 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 . */ #include "info.h" Info::Info(QWidget *parent): QTextEdit(parent){ isClosed = true; setWindowFlags(Qt::Window); setReadOnly(true); resize(500,450); setWindowTitle(tr("Info")); } Info::~Info(){ } void Info::showEvent(QShowEvent* show_Info){ isClosed = false; starting(); QWidget::showEvent(show_Info); } void Info::closeEvent(QCloseEvent* close_Info){ isClosed = true; finishing(); QWidget::closeEvent(close_Info); } bool Info::getClosed(){ return isClosed; } shutdown-qapps-1.6.8/qshutdown/src/power.h0000644000175000017500000005232212322506362021004 0ustar hakaishihakaishi/* qshutdown, a program to shutdown the shutdown/reboot/suspend/hibernate * Copyright (C) 2010-2013 Christian Metscher * 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 . */ /* INFO: For Windows hibernate has to be activated: Please note that this only works if the hardware supports it and enough RAM is available. - powercfg -a #prints aviable sleep states - powercfg -hibernate on - powercfg -hibernate off */ #ifndef POWER_H #define POWER_H #ifndef Q_OS_WIN32 #include #endif #include #include extern bool verbose; extern QString shell; namespace Power{ QTextStream oput(stdout); bool lockMyScreen; bool automatic = false; bool gnome = false; bool kde = false; bool hal_ = false; bool consolekit = false; bool sudo = false; bool upower_ = false; bool devicekit = false; bool user = false; QString myShutdown, myReboot, mySuspend, myHibernate; #ifndef Q_OS_WIN32 QDBusMessage response; #endif void shutdown(){ #ifndef Q_OS_WIN32 //variables for automatic mode bool g = false; //gnome bool k = false; //kde bool g_pwr1 = false; bool g_pwr2 = false; bool hal = false; QStringList args; args << "-c" << myShutdown; QDBusInterface gnomeSessionManager("org.gnome.SessionManager", "/org/gnome/SessionManager", "org.gnome.SessionManager", QDBusConnection::sessionBus()); QDBusInterface kdeSessionManager("org.kde.ksmserver", "/KSMServer", "org.kde.KSMServerInterface", QDBusConnection::sessionBus()); QDBusInterface freedesktopHal("org.freedesktop.Hal", "/org/freedesktop/Hal/devices/computer", "org.freedesktop.Hal.Device.SystemPowerManagement", QDBusConnection::systemBus()); QDBusInterface freedesktopConsoleKit("org.freedesktop.ConsoleKit", "/org/freedesktop/ConsoleKit/Manager", "org.freedesktop.ConsoleKit.Manager", QDBusConnection::systemBus()); #endif if(automatic){ #ifdef Q_OS_WIN32 QProcess::startDetached("shutdown -s -f -t 00"); // Windows command to shutdown immediately } #else if(QProcess::startDetached("/usr/bin/systemctl poweroff")) return; g_pwr1 = QProcess::startDetached("gnome-power-cmd.sh shutdown"); g_pwr2 = QProcess::startDetached("gnome-power-cmd shutdown"); if(verbose && !g_pwr1 && !g_pwr2) oput << "W: gnome-power-cmd, gnome-power-cmd.sh and gnome-session-quit didn't work" << endl; if(!g_pwr1 && !g_pwr2){ response = gnomeSessionManager.call("RequestShutdown"); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } else g = true; if(!g){ response = gnomeSessionManager.call("Shutdown"); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } else g = true; } } else g = true; if(!g && !g_pwr1 && !g_pwr2){ response = kdeSessionManager.call("logout", 0, 2, 2); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } else k = true; } if(!g && !g_pwr1 && !g_pwr2 && !k){ response = freedesktopHal.call("Shutdown"); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } else hal = true; } if(!g && !g_pwr1 && !g_pwr2 && !k && !hal){ response = freedesktopConsoleKit.call("Stop"); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; QProcess::startDetached("sudo shutdown -P now"); QProcess::startDetached("sudo shutdown -h -P now"); } } } if(gnome){ g_pwr1 = QProcess::startDetached("gnome-power-cmd.sh shutdown"); g_pwr2 = QProcess::startDetached("gnome-power-cmd shutdown"); if(verbose && !g_pwr1 && !g_pwr2) oput << "W: gnome-power-cmd, gnome-power-cmd.sh and gnome-session-quit didn't work" << endl; if(!g_pwr1 && !g_pwr2){ response = gnomeSessionManager.call("RequestShutdown"); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } else g = true; if(!g){ response = gnomeSessionManager.call("Shutdown"); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } } } } if(kde){ response = kdeSessionManager.call("logout", 0, 2, 2); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } } if(hal_){ response = freedesktopHal.call("Shutdown"); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } } if(consolekit){ response = freedesktopConsoleKit.call("Stop"); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } } if(sudo){ if(QProcess::startDetached("sudo /usr/bin/systemctl poweroff")) return; QProcess::startDetached("sudo shutdown -P now"); QProcess::startDetached("sudo shutdown -h -P now"); } if(user) if(!shell.isEmpty()) QProcess::startDetached(shell, args); //resetting variables automatic = false; gnome = false; kde = false; hal_ = false; consolekit = false; sudo = false; user = false; #endif } void reboot(){ #ifndef Q_OS_WIN32 bool g = false; //gnome bool k = false; //kde bool g_pwr1 = false; bool g_pwr2 = false; bool hal = false; QStringList args; args << "-c" << myReboot; QDBusInterface gnomeSessionManager("org.gnome.SessionManager", "/org/gnome/SessionManager", "org.gnome.SessionManager", QDBusConnection::sessionBus()); QDBusInterface kdeSessionManager("org.kde.ksmserver", "/KSMServer", "org.kde.KSMServerInterface", QDBusConnection::sessionBus()); QDBusInterface freedesktopHal("org.freedesktop.Hal", "/org/freedesktop/Hal/devices/computer", "org.freedesktop.Hal.Device.SystemPowerManagement", QDBusConnection::systemBus()); QDBusInterface freedesktopConsoleKit("org.freedesktop.ConsoleKit", "/org/freedesktop/ConsoleKit/Manager", "org.freedesktop.ConsoleKit.Manager", QDBusConnection::systemBus()); #endif if(automatic){ #ifdef Q_OS_WIN32 QProcess::startDetached("shutdown -r -f -t 00"); // Windows command to reboot immediately } #else if(QProcess::startDetached("/usr/bin/systemctl reboot")) return; g_pwr1 = QProcess::startDetached("gnome-power-cmd.sh reboot"); g_pwr2 = QProcess::startDetached("gnome-power-cmd reboot"); if(verbose && !g_pwr1 && !g_pwr2) oput << "W: gnome-power-cmd and gnome-power-cmd.sh didn't work" << endl; if(!g_pwr1 && !g_pwr2){ response = gnomeSessionManager.call("RequestReboot"); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } else g = true; } else g = true; if(!g && !g_pwr1 && !g_pwr2){ QDBusInterface kdeSessionManager("org.kde.ksmserver", "/KSMServer", "org.kde.KSMServerInterface", QDBusConnection::sessionBus()); response = kdeSessionManager.call("logout", 0, 2, 1); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } else k = true; } if(!g && !g_pwr1 && !g_pwr2 && !k){ response = freedesktopHal.call("Reboot"); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } else hal = true; } if(!g && !g_pwr1 && !g_pwr2 && !k && !hal){ response = freedesktopConsoleKit.call("Restart"); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; QProcess::startDetached("sudo shutdown -r now"); } } } if(gnome){ g_pwr1 = QProcess::startDetached("gnome-power-cmd.sh reboot"); g_pwr2 = QProcess::startDetached("gnome-power-cmd reboot"); if(verbose && !g_pwr1 && !g_pwr2) oput << "W: gnome-power-cmd and gnome-power-cmd.sh didn't work" << endl; if(!g_pwr1 && !g_pwr2){ response = gnomeSessionManager.call("RequestReboot"); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } } } if(kde){ response = kdeSessionManager.call("logout", 0, 2, 1); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } } if(hal_){ response = freedesktopHal.call("Reboot"); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } } if(consolekit){ response = freedesktopConsoleKit.call("Restart"); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } } if(sudo){ if(QProcess::startDetached("sudo /usr/bin/systemctl reboot")) return; QProcess::startDetached("sudo shutdown -r now"); } if(user) if(!shell.isEmpty()) QProcess::startDetached(shell, args); //resetting variables automatic = false; gnome = false; kde = false; hal_ = false; consolekit = false; sudo = false; user = false; #endif } void suspend(){ #ifndef Q_OS_WIN32 bool g_pwr1 = false; bool g_pwr2 = false; bool hal = false; bool upower = false; QStringList args; args << "-c" << mySuspend; QDBusInterface freedesktopHal("org.freedesktop.Hal", "/org/freedesktop/Hal/devices/computer", "org.freedesktop.Hal.Device.SystemPowerManagement", QDBusConnection::systemBus()); QDBusInterface freedesktopUPower("org.freedesktop.UPower", "/org/freedesktop/UPower", "org.freedesktop.UPower", QDBusConnection::systemBus()); QDBusInterface freedesktopDeviceKit("org.freedesktop.DeviceKit.Power", "/org/freedesktop/DeviceKit/Power", "org.freedesktop.DeviceKit.Power", QDBusConnection::systemBus()); if(lockMyScreen){ bool lock_works = false; QDBusInterface screenlock("org.gnome.ScreenSaver", "/org/gnome/ScreenSaver", "org.gnome.ScreenSaver", QDBusConnection::systemBus()); response = screenlock.call("Lock"); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } else lock_works = true; if(!lock_works){ if(!QProcess::startDetached("gnome-screensaver-command -l")){ if(verbose) oput << "W: gnome-screensaver-command -l didn't work" << endl; } else lock_works = true; } if(!lock_works){ if(!QProcess::startDetached("qdbus org.freedesktop.ScreenSaver /ScreenSaver Lock")){ if(verbose) oput << "W: qdbus org.freedesktop.ScreenSaver /ScreenSaver Lock didn't work" << endl; } else lock_works = true; } if(!lock_works){ if(!QProcess::startDetached("dcop kdesktop KScreensaverIface lock")){ if(verbose) oput << "W: dcop kdesktop KScreensaverIface lock didn't work" << endl; } else lock_works = true; } if(!lock_works){ if(!QProcess::startDetached("xscreensaver-command -lock")){ if(verbose) oput << "W: xscreensaver-command -lock didn't work" << endl; } else lock_works = true; } } #endif if(automatic){ #ifdef Q_OS_WIN32 QProcess::startDetached("powercfg -hibernate off"); // enable suspend QProcess::startDetached("rundll32 powrprof.dll,SetSuspendState"); } #else if(QProcess::startDetached("/usr/bin/systemctl suspend")) return; g_pwr1 = QProcess::startDetached("gnome-power-cmd.sh suspend"); g_pwr2 = QProcess::startDetached("gnome-power-cmd suspend"); if(!g_pwr1 && !g_pwr2 && verbose) oput << "W: gnome-power-cmd and gnome-power-cmd.sh didn't work" << endl; if(!g_pwr1 && !g_pwr2){ response = freedesktopHal.call("Suspend",0); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } else hal = true; } if(!hal && !g_pwr1 && !g_pwr2){ response = freedesktopUPower.call("Suspend"); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } else upower = true; } if(!upower && !hal && !g_pwr1 && !g_pwr2){ response = freedesktopDeviceKit.call("Suspend"); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } } } if(gnome){ g_pwr1 = QProcess::startDetached("gnome-power-cmd.sh suspend"); g_pwr2 = QProcess::startDetached("gnome-power-cmd suspend"); if(!g_pwr1 && !g_pwr2 && verbose) oput << "W: gnome-power-cmd and gnome-power-cmd.sh didn't work" << endl; } if(hal_){ response = freedesktopHal.call("Suspend",0); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } } if(upower_){ response = freedesktopUPower.call("Suspend"); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } } if(devicekit){ if(!upower && !hal && !g_pwr1 && !g_pwr2){ response = freedesktopDeviceKit.call("Suspend"); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } } } if(user) if(!shell.isEmpty()) QProcess::startDetached(shell, args); //resetting variables automatic = false; gnome = false; hal_ = false; upower_ = false; devicekit = false; user = false; #endif } void hibernate(){ #ifndef Q_OS_WIN32 bool g_pwr1 = false; bool g_pwr2 = false; bool hal = false; bool upower = false; QStringList args; args << "-c" << myHibernate; QDBusInterface freedesktopHal("org.freedesktop.Hal", "/org/freedesktop/Hal/devices/computer", "org.freedesktop.Hal.Device.SystemPowerManagement", QDBusConnection::systemBus()); QDBusInterface freedesktopUPower("org.freedesktop.UPower", "/org/freedesktop/UPower", "org.freedesktop.UPower", QDBusConnection::systemBus()); QDBusInterface freedesktopDeviceKit("org.freedesktop.DeviceKit.Power", "/org/freedesktop/DeviceKit/Power", "org.freedesktop.DeviceKit.Power", QDBusConnection::systemBus()); if(lockMyScreen){ bool lock_works = false; QDBusInterface screenlock("org.gnome.ScreenSaver", "/org/gnome/ScreenSaver", "org.gnome.ScreenSaver", QDBusConnection::systemBus()); response = screenlock.call("Lock"); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } else lock_works = true; if(!lock_works){ if(!QProcess::startDetached("gnome-screensaver-command -l")){ if(verbose) oput << "W: gnome-screensaver-command -l didn't work" << endl; } else lock_works = true; } if(!lock_works){ if(!QProcess::startDetached("qdbus org.freedesktop.ScreenSaver /ScreenSaver Lock")){ if(verbose) oput << "W: qdbus org.freedesktop.ScreenSaver /ScreenSaver Lock didn't work" << endl; } else lock_works = true; } if(!lock_works){ if(!QProcess::startDetached("dcop kdesktop KScreensaverIface lock")){ if(verbose) oput << "W: dcop kdesktop KScreensaverIface lock didn't work" << endl; } else lock_works = true; } if(!lock_works){ if(!QProcess::startDetached("xscreensaver-command -lock")){ if(verbose) oput << "W: xscreensaver-command -lock didn't work" << endl; } else lock_works = true; } } #endif if(automatic){ #ifdef Q_OS_WIN32 QProcess::startDetached("powercfg -hibernate on"); // enable hibernate QProcess::startDetached("rundll32 powrprof.dll,SetSuspendState"); } #else if(QProcess::startDetached("/usr/bin/systemctl hibernate")) return; g_pwr1 = QProcess::startDetached("gnome-power-cmd.sh hibernate"); g_pwr2 = QProcess::startDetached("gnome-power-cmd hibernate"); if(!g_pwr1 && !g_pwr2 && verbose) oput << "W: gnome-power-cmd and gnome-power-cmd.sh didn't work" << endl; if(!g_pwr1 && !g_pwr2){ response = freedesktopHal.call("Hibernate"); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } else hal = true; } if(!hal && !g_pwr1 && !g_pwr2){ response = freedesktopUPower.call("Hibernate"); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } else upower = true; } if(!upower && !hal && !g_pwr1 && !g_pwr2){ response = freedesktopDeviceKit.call("Hibernate"); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } } } if(gnome){ g_pwr1 = QProcess::startDetached("gnome-power-cmd.sh hibernate"); g_pwr2 = QProcess::startDetached("gnome-power-cmd hibernate"); if(!g_pwr1 && !g_pwr2 && verbose) oput << "W: gnome-power-cmd and gnome-power-cmd.sh didn't work" << endl; } if(hal_){ response = freedesktopHal.call("Hibernate"); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } } if(upower_){ response = freedesktopUPower.call("Hibernate"); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } } if(devicekit){ response = freedesktopDeviceKit.call("Hibernate"); if(response.type() == QDBusMessage::ErrorMessage){ if(verbose) oput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } } if(user) if(!shell.isEmpty()) QProcess::startDetached(shell, args); //resetting variables automatic = false; gnome = false; hal_ = false; upower_ = false; devicekit = false; user = false; #endif } } #endif //POWER_H shutdown-qapps-1.6.8/qshutdown/src/ch_passwd.cpp0000644000175000017500000000613212157032701022151 0ustar hakaishihakaishi/* qshutdown, a program to shutdown/reboot/suspend/hibernate the system * Copyright (C) 2010-2013 Christian Metscher * 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 . */ #include "ch_passwd.h" #include #include #include ChangePassword::ChangePassword(QWidget *parent): QDialog(parent){ setupUi(this); setWindowFlags(Qt::Window); //always in front #ifdef Q_OS_WIN32 file = QDesktopServices::storageLocation(QDesktopServices::DataLocation) + "/qshutdown/qshutdown.conf"; #else //!Q_OS_WIN32 file = QDir::homePath() + "/.qshutdown/qshutdown.conf"; #endif //Q_OS_WIN32 settings = new QSettings(file, QSettings::IniFormat); if(settings->contains("Password")){ oldPasswd->setEnabled(true); oldL->setEnabled(true); } msgBox1 = new QMessageBox(this); msgBox1->setWindowTitle("Error"); msgBox1->setIcon(QMessageBox::Warning); msgBox1->setWindowFlags(Qt::WindowStaysOnTopHint | Qt::Window); msgBox1->setInformativeText(tr("The current password is not correct!")); msgBox2 = new QMessageBox(this); msgBox2->setWindowTitle("Error"); msgBox2->setIcon(QMessageBox::Warning); msgBox2->setWindowFlags(Qt::WindowStaysOnTopHint | Qt::Window); msgBox2->setInformativeText(tr("The retyped password doesn't match!")); connect(buttonBox, SIGNAL(accepted()), this, SLOT(checkOldPW())); } ChangePassword::~ChangePassword(){ delete settings; } void ChangePassword::checkOldPW(){ if(settings->contains("Password")){ if(settings->value("Password").toByteArray() == QCryptographicHash::hash(oldPasswd->text().toUtf8(), QCryptographicHash::Sha1)) checkNewPW(); else msgBox1->exec(); } else checkNewPW(); } void ChangePassword::checkNewPW(){ if(newPasswd->text() == retypedNewPasswd->text()){ savePW(); accept(); } else msgBox2->exec(); } void ChangePassword::savePW(){ settings->setValue("Password", QCryptographicHash::hash(retypedNewPasswd->text().toUtf8(), QCryptographicHash::Sha1)); updatePasswordGui(); if(settings->contains("Password")){ oldPasswd->setEnabled(true); oldL->setEnabled(true); } oldPasswd->clear(); newPasswd->clear(); retypedNewPasswd->clear(); } void ChangePassword::closeEvent(QCloseEvent* close_ch_pw){ oldPasswd->clear(); newPasswd->clear(); retypedNewPasswd->clear(); QDialog::closeEvent(close_ch_pw); } shutdown-qapps-1.6.8/qshutdown/src/passwd.cpp0000644000175000017500000000571612157032701021506 0ustar hakaishihakaishi/* qshutdown, a program to shutdown/reboot/suspend/hibernate the system * Copyright (C) 2010-2013 Christian Metscher * 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 . */ #include "passwd.h" #include "ch_passwd.h" #include #include #include PassWord::PassWord(QWidget *parent): QDialog(parent){ setupUi(this); isClosed = true; setWindowFlags(Qt::Window); //always in front #ifdef Q_OS_WIN32 file = QDesktopServices::storageLocation(QDesktopServices::DataLocation) + "/qshutdown/qshutdown.conf"; #else //!Q_OS_WIN32 file = QDir::homePath() + "/.qshutdown/qshutdown.conf"; #endif //Q_OS_WIN32 settings = new QSettings(file, QSettings::IniFormat); msgBox = new QMessageBox(this); msgBox->setWindowTitle("Error"); msgBox->setIcon(QMessageBox::Warning); msgBox->setWindowFlags(Qt::WindowStaysOnTopHint | Qt::Window); msgBox->setInformativeText(tr("The password is not correct!")); chPW = new ChangePassword(this); update(); //enable password line if a password was set passwdLineEdit->setFocus(); connect(passwdLineEdit, SIGNAL(returnPressed()), this, SLOT(checkPW())); connect(buttonBox, SIGNAL(accepted()), this, SLOT(checkPW())); connect(changePasswdButton, SIGNAL(clicked(bool)), chPW, SLOT(show())); connect(chPW, SIGNAL(updatePasswordGui()), this, SLOT(update())); } PassWord::~PassWord(){ delete settings; } void PassWord::checkPW(){ if(settings->value("Password").toByteArray() == QCryptographicHash::hash(passwdLineEdit->text().toUtf8(), QCryptographicHash::Sha1)){ //check if the entered password matches the saved one success(); passwdLineEdit->clear(); close(); } else msgBox->show(); } void PassWord::update(){ if(settings->contains("Password")){ label->setEnabled(true); passwdLineEdit->setEnabled(true); passwdLineEdit->setFocus(); changePasswdButton->setText(tr("&Change password")); } } void PassWord::showEvent(QShowEvent* show_pw){ isClosed = false; starting(); QDialog::showEvent(show_pw); } void PassWord::closeEvent(QCloseEvent* close_pw){ passwdLineEdit->clear(); isClosed = true; finishing(); QDialog::closeEvent(close_pw); } bool PassWord::getClosed(){ return isClosed; } shutdown-qapps-1.6.8/qshutdown/src/pixmap/0000755000175000017500000000000012247426006020773 5ustar hakaishihakaishishutdown-qapps-1.6.8/qshutdown/src/pixmap/red_glasses.xpm0000644000175000017500000002515312157032701024015 0ustar hakaishihakaishi/* XPM */ static char * red_glasses_xpm[] = { "32 32 539 2", " c None", ". c #FBEB53", "+ c #FEF261", "@ c #FEF771", "# c #FFF777", "$ c #FFEF70", "% c #FFEE68", "& c #FFEA63", "* c #FFE34C", "= c #F6D234", "- c #E6BB1C", "; c #FDFFA8", "> c #FEFFB7", ", c #FEFEA0", "' c #FDFF8C", ") c #FDFE80", "! c #FFF577", "~ c #FFED70", "{ c #FFE967", "] c #FFE660", "^ c #FFE55B", "/ c #FFE557", "( c #FCE357", "_ c #FCDF52", ": c #ECC42A", "< c #FEFFDE", "[ c #FEFFFF", "} c #FDFFE6", "| c #FEFFC6", "1 c #FEFFAB", "2 c #FEFF95", "3 c #FDFF85", "4 c #FFF879", "5 c #FFEC71", "6 c #FFEA66", "7 c #FFE65E", "8 c #FEE558", "9 c #FEE456", "0 c #FBDF54", "a c #F8DB53", "b c #F6D953", "c c #F5D84E", "d c #DEB11B", "e c #FEFFFB", "f c #FEFFF8", "g c #FEFFD6", "h c #FEFFB8", "i c #FEFF9E", "j c #FDFF8B", "k c #FEFA7D", "l c #FFEE73", "m c #FFE966", "n c #FCE255", "o c #F9DD54", "p c #F7D952", "q c #F4D751", "r c #F2D650", "s c #EFD452", "t c #E8C230", "u c #FEFFFC", "v c #FEFFFE", "w c #FFFFFF", "x c #FDFFE7", "y c #FEFFC5", "z c #FEFFA8", "A c #FEFE92", "B c #FEFC81", "C c #FFEF75", "D c #FFE65B", "E c #FADF55", "F c #F8DA52", "G c #F5D952", "H c #F2D751", "I c #F0D450", "J c #EED24F", "K c #ECCF4F", "L c #E6C032", "M c #FEFFF5", "N c #FEFFF4", "O c #FEFFD1", "P c #FEFFB2", "Q c #FEFF99", "R c #FEFE85", "S c #FFF078", "T c #FFEB67", "U c #FDE356", "V c #F9DC54", "W c #F6D952", "X c #F1D550", "Y c #EFD350", "Z c #ECD04E", "` c #EBCC4D", " . c #E8C94D", ".. c #E1BB2E", "+. c #FDFFBA", "@. c #FFFFFE", "#. c #FEFFF9", "$. c #FEFFDA", "%. c #FEFFBA", "&. c #FEFF9F", "*. c #FEFF8A", "=. c #FFF27A", "-. c #FFEA69", ";. c #FFE65A", ">. c #FBDF56", ",. c #F4D851", "'. c #EBCE4D", "). c #E9CA4C", "!. c #E8C94B", "~. c #E6C74B", "{. c #CFA419", "]. c #FDFED9", "^. c #FEFFF0", "/. c #FEFFFA", "(. c #FEFFDD", "_. c #FEFFBF", ":. c #FEFFA3", "<. c #FDFF8D", "[. c #FFF37C", "}. c #FFE969", "|. c #FEE55A", "1. c #F9DD55", "2. c #F3D750", "3. c #ECCF4E", "4. c #EACA4C", "5. c #E8C94C", "6. c #E6C74A", "7. c #E4C54B", "8. c #E3C346", "9. c #FFFF82", "0. c #FEFFBD", "a. c #FDFFD0", "b. c #FEFFE3", "c. c #FEFFFD", "d. c #FDFFF0", "e. c #FEFFD9", "f. c #FEFFA4", "g. c #FDFF8E", "h. c #FFF37D", "i. c #FDE35A", "j. c #F8DB55", "k. c #F5D851", "l. c #EDD150", "m. c #ECCE4D", "n. c #EBCB4D", "o. c #E9C94C", "p. c #E4C64A", "q. c #E2C349", "r. c #E0C04A", "s. c #D6AD23", "t. c #0A070C", "u. c #FFFF9B", "v. c #FFFFA8", "w. c #FFFFB7", "x. c #FFFFC7", "y. c #FFFFD7", "z. c #FFFFE4", "A. c #FFFFEC", "B. c #FFFFEB", "C. c #FFFFE2", "D. c #FFFFD1", "E. c #FFFFBC", "F. c #FDFEA3", "G. c #FEFF8D", "H. c #FFF67F", "I. c #FFED69", "J. c #FEE45A", "K. c #F7DB55", "L. c #F5DA53", "M. c #F3D753", "N. c #F1D651", "O. c #F0D14F", "P. c #EECF4F", "Q. c #ECCD4E", "R. c #EACB4D", "S. c #E7C94C", "T. c #E4C64B", "U. c #E3C34B", "V. c #E1C046", "W. c #FFDF38", "X. c #AC9E4C", "Y. c #996138", "Z. c #A16C45", "`. c #AA7552", " + c #B58160", ".+ c #BD8C6D", "++ c #C49176", "@+ c #C6947A", "#+ c #C49177", "$+ c #BC8A6C", "%+ c #A9825C", "&+ c #B7A863", "*+ c #DCCD5F", "=+ c #9E875F", "-+ c #AC946B", ";+ c #A08430", ">+ c #9D8328", ",+ c #6F4D11", "'+ c #6C380E", ")+ c #6B380E", "!+ c #6A380D", "~+ c #69390D", "{+ c #693B0D", "]+ c #68390D", "^+ c #67360C", "/+ c #67340C", "(+ c #6A340D", "_+ c #6A4A17", ":+ c #B3870D", "<+ c #29120E", "[+ c #E1515E", "}+ c #EC5963", "|+ c #C12229", "1+ c #C92B35", "2+ c #D03841", "3+ c #D6434F", "4+ c #DD4C57", "5+ c #E1515C", "6+ c #DF515C", "7+ c #D74A55", "8+ c #C93D47", "9+ c #AD2B36", "0+ c #47292E", "a+ c #AC924C", "b+ c #A88C3A", "c+ c #473833", "d+ c #88252E", "e+ c #CE525F", "f+ c #8D090C", "g+ c #87080B", "h+ c #88080B", "i+ c #86070A", "j+ c #85070A", "k+ c #84070A", "l+ c #83070A", "m+ c #8B080B", "n+ c #90070A", "o+ c #2B0104", "p+ c #A48323", "q+ c #C92D35", "r+ c #D1363F", "s+ c #BA1820", "t+ c #C11E26", "u+ c #CA242C", "v+ c #D02C34", "w+ c #D4333D", "x+ c #D63944", "y+ c #D33A44", "z+ c #CE3641", "A+ c #C12D37", "B+ c #A3222B", "C+ c #87652C", "D+ c #FFED6A", "E+ c #FBE25C", "F+ c #AA8E2B", "G+ c #801924", "H+ c #B42931", "I+ c #91090C", "J+ c #91080B", "K+ c #92080B", "L+ c #8F080B", "M+ c #89080B", "N+ c #8C070A", "O+ c #93080B", "P+ c #572509", "Q+ c #FFF268", "R+ c #654313", "S+ c #69040D", "T+ c #9E1014", "U+ c #AA1419", "V+ c #B0181E", "W+ c #B61C23", "X+ c #BA2028", "Y+ c #BB2329", "Z+ c #B9242B", "`+ c #AF222A", " @ c #7F1723", ".@ c #5F381D", "+@ c #FBE259", "@@ c #FCE35D", "#@ c #F6DA56", "$@ c #F5D950", "%@ c #664A12", "&@ c #490004", "*@ c #7C060A", "=@ c #86080B", "-@ c #85080B", ";@ c #81070A", ">@ c #7D070A", ",@ c #610107", "'@ c #3A1105", ")@ c #C9AA35", "!@ c #FFED67", "~@ c #FFF165", "{@ c #CCB33F", "]@ c #83631E", "^@ c #5C250F", "/@ c #661B12", "(@ c #5D1111", "_@ c #5E0F13", ":@ c #6D2119", "<@ c #632619", "[@ c #876226", "}@ c #C5AD40", "|@ c #FFEC60", "1@ c #F6DA57", "2@ c #EED151", "3@ c #F1D14E", "4@ c #C1A333", "5@ c #745717", "6@ c #4E2107", "7@ c #4F0F06", "8@ c #460804", "9@ c #410003", "0@ c #4E0F06", "a@ c #3F0D05", "b@ c #603E0E", "c@ c #997D23", "d@ c #DBB840", "e@ c #D6B543", "f@ c #FFE961", "g@ c #FEE65E", "h@ c #FFEE55", "i@ c #FFEF52", "j@ c #FFE553", "k@ c #FFE355", "l@ c #FFEE53", "m@ c #FFED56", "n@ c #FFE85E", "o@ c #FCE25B", "p@ c #F9DE59", "q@ c #F5D955", "r@ c #F1D653", "s@ c #E7C84D", "t@ c #E8C744", "u@ c #E9C943", "v@ c #E0BE40", "w@ c #DAB841", "x@ c #E5C23D", "y@ c #E3C03C", "z@ c #DCBB48", "A@ c #D8B644", "B@ c #D5B444", "C@ c #D6B442", "D@ c #FFE85B", "E@ c #FFE558", "F@ c #FEE556", "G@ c #FCE156", "H@ c #FADF58", "I@ c #FADE57", "J@ c #F8DC57", "K@ c #F7DB56", "L@ c #F0D451", "M@ c #EDD050", "N@ c #E5C64B", "O@ c #E3C54A", "P@ c #E1C14A", "Q@ c #DFBF48", "R@ c #DDBD48", "S@ c #DCBC47", "T@ c #DBBA45", "U@ c #DAB845", "V@ c #D7B644", "W@ c #D6B445", "X@ c #D4B443", "Y@ c #D3B342", "Z@ c #FFDF45", "`@ c #FDE455", " # c #FCE155", ".# c #FAE055", "+# c #F7DA53", "@# c #F5D953", "## c #F5D852", "$# c #F2D652", "%# c #F1D551", "&# c #EED250", "*# c #EDCF4F", "=# c #E6C84B", "-# c #E3C44A", ";# c #DBBA46", "># c #D6B545", ",# c #D4B343", "'# c #D3B343", ")# c #D0AA34", "!# c #F3CD32", "~# c #FCE154", "{# c #FADF54", "]# c #EDD14F", "^# c #ECCE4E", "/# c #E7C84B", "(# c #E5C54B", "_# c #E1C04A", ":# c #DAB945", "<# c #D6B544", "[# c #D3B243", "}# c #D2AF43", "|# c #C59D25", "1# c #E1B51B", "2# c #F9DE55", "3# c #E8C942", "4# c #D8BA3B", "5# c #F2D651", "6# c #EFD351", "7# c #E1C24A", "8# c #E0BE49", "9# c #DEBD48", "0# c #DDBC47", "a# c #DCBB46", "b# c #D8B744", "c# c #D7B545", "d# c #D2B040", "e# c #AD8A25", "f# c #D2B143", "g# c #D1AE42", "h# c #B68B14", "i# c #F8DA4F", "j# c #F2D34C", "k# c #A5841B", "l# c #C4A735", "m# c #BD9F34", "n# c #BC9E34", "o# c #B99932", "p# c #BA9B34", "q# c #B99A33", "r# c #B69732", "s# c #B59430", "t# c #B08F2E", "u# c #B29130", "v# c #AD8E2E", "w# c #AC8A2C", "x# c #AB8C2D", "y# c #AA8B2D", "z# c #AB8A2D", "A# c #A98A2D", "B# c #906C14", "C# c #CCA836", "D# c #D1AE41", "E# c #CFAD3F", "F# c #E8C028", "G# c #F3D751", "H# c #F0D34D", "I# c #E8C73E", "J# c #E3BF3B", "K# c #E3C143", "L# c #E2C043", "M# c #E1BF44", "N# c #DFBD46", "O# c #DFBF51", "P# c #DEC05E", "Q# c #DDBF66", "R# c #DDBF6D", "S# c #DCBF71", "T# c #DABE70", "U# c #D8BB6A", "V# c #D6B657", "W# c #D4B352", "X# c #D1AC3F", "Y# c #CCA731", "Z# c #CCA732", "`# c #CAA532", " $ c #D0AC3A", ".$ c #CFAE43", "+$ c #C1971F", "@$ c #F2D44C", "#$ c #EBCD4D", "$$ c #E5C54A", "%$ c #E3C449", "&$ c #E1C048", "*$ c #E0BF47", "=$ c #DEBD45", "-$ c #DCBC45", ";$ c #DCBA43", ">$ c #DBB942", ",$ c #D9B844", "'$ c #D8B642", ")$ c #D2B043", "!$ c #D1AD41", "~$ c #CFAD42", "{$ c #CEAC3E", "]$ c #DBAF1A", "^$ c #ECD150", "/$ c #EBCB4C", "($ c #E2C34A", "_$ c #E0C14A", ":$ c #DFBE48", "<$ c #DCBC48", "[$ c #D9B745", "}$ c #D7B544", "|$ c #CEAC42", "1$ c #B98E15", "2$ c #E4BD2E", "3$ c #E9CA4D", "4$ c #E2C249", "5$ c #E0BF49", "6$ c #DCBB47", "7$ c #DBBB46", "8$ c #DBB945", "9$ c #D8B745", "0$ c #D5B445", "a$ c #D1B043", "b$ c #CEAE43", "c$ c #CDAC41", "d$ c #C59C27", "e$ c #E3BD31", "f$ c #E5C64A", "g$ c #DEBE48", "h$ c #DDBC48", "i$ c #D9B744", "j$ c #D1AF43", "k$ c #C8A02A", "l$ c #DDB72C", "m$ c #E2C54B", "n$ c #DFBE47", "o$ c #D2B244", "p$ c #D1AF42", "q$ c #D0AE41", "r$ c #CEAD42", "s$ c #CDA117", "t$ c #E0BF45", "u$ c #DAB946", "v$ c #D8B844", "w$ c #D0AD42", "x$ c #CEAB3D", "y$ c #B98D15", "z$ c #D1A721", "A$ c #DDBB42", "B$ c #DBBA47", "C$ c #DAB846", "D$ c #D5B544", "E$ c #C1961F", "F$ c #C09415", "G$ c #CCA326", "H$ c #D5AE34", "I$ c #D6B643", "J$ c #D5B542", "K$ c #D2B141", "L$ c #CFA832", "M$ c #C39C25", "N$ c #B68A14", " ", " . + @ # $ % & * = - ", " ; > , ' ) ! ~ { ] ^ / ( _ : ", " < [ } | 1 2 3 4 5 6 7 8 9 0 a b c d ", " e [ [ f g h i j k l m 7 / n o p q r s t ", " u v w w w x y z A B C { D 9 E F G H I J K L ", " M v w w w w N O P Q R S T D U V W q X Y Z ` ... ", " +.w @.w w w w #.$.%.&.*.=.-.;.>.a ,.r Y Z '.).!.~.{. ", " ].^.v w @.w [ /.(._.:.<.[.}.|.1.W 2.I J 3.4.5.6.7.8. ", " 9.0.a.b.N c.@.c.d.e._.f.g.h.}.i.j.k.X l.m.n.o.6.p.q.r.s. ", "t. u.v.w.x.y.z.A.B.C.D.E.F.G.H.I.J.K.L.M.N.O.P.Q.R.S.T.U.V. ", " W.X.Y.Z.`. +.+++@+#+$+%+&+*+=+-+;+>+,+'+)+!+~+{+]+^+/+(+_+:+ ", " <+[+}+|+1+2+3+4+5+6+7+8+9+0+a+b+c+d+e+f+g+h+i+j+k+l+l+m+n+o+ ", " p+q+r+s+t+u+v+w+x+y+z+A+B+C+D+E+F+G+H+I+J+K+K+J+L+m+M+N+O+P+ ", " Q+R+S+T+U+V+W+X+Y+Z+`+ @.@+@@@#@$@%@&@*@=@h+h+g+-@;@>@,@'@)@ ", " !@~@{@]@^@/@(@_@:@<@[@}@|@E+1@M.2@3@4@5@6@7@8@9@0@a@b@c@d@e@ ", " f@] g@f@h@i@j@k@l@m@n@o@p@q@r@2@Q.o.~.s@t@u@v@w@x@y@z@A@B@C@ ", " D@;.E@/ F@9 G@H@I@J@K@q@M.L@M@Q.o.~.N@O@P@Q@R@S@T@U@V@W@X@Y@ ", " Z@9 `@ #.#o a +#@###$#%#&#*#` 5.=#T.-#P@Q@R@S@;#U@A@>#,#'#)# ", " !#~#{#o a +###,.r L@&#]#^#R.5./#(#-#_#Q@R@S@T@:#A@<#>#[#}#|# ", " 1#2#F W 3#4#5#X 6#J Z ` 4.5./#T.-#7#8#9#0#a#:#b#c#d#e#f#g#h# ", " i#G q j#k#l#m#n#n#o#o#p#q#r#r#s#t#u#v#w#x#y#z#A#B#C#D#E# ", " F#G#X Y H#I#J#K#L#M#N#O#P#Q#R#S#T#U#V#W#X#Y#Z#`# $D#.$+$ ", " @$&#]#Z #$4.5.!.6.$$%$&$*$=$-$;$>$,$'$<#B@,#)$!$~${$ ", " ]$^$'./$).5.6.6.O@($_$:$9#<$;#T@[$}$W@X@,#)$D#~$|$1$ ", " 2$3$o./#6.$$O@4$5$:$R@6$7$8$9$A@0$X@[#a$D#b$c$d$ ", " e$~.f$O@($_$5$g$h$a#T@:#i$V@B@,#'#j$!$b$c$k$ ", " l$m$P@5$n$R@h$;#T@U@A@}$B@,#o$p$q$r$|$d$ ", " s$t$g$h$a#T@u$v$A@W@X@,#f#D#w$r$x$y$ ", " z$A$B$C$b#}$D$X@[#)$D#.${$E$ ", " F$G$H$I$J$Y@K$L$M$N$ ", " "}; shutdown-qapps-1.6.8/qshutdown/src/pixmap/red_glasses.png0000644000175000017500000003461712157032701024002 0ustar hakaishihakaishiPNG  IHDR>asRGBbKGD pHYs  tIME  +2 IDATxy$Uy{\yVVV]%j1H0ZՈ`Њ1a ,Ʋ b!@VH[h%U]WfVVޙ?==̬nIa} n/->=RzQkX{5':}L}1 ,6Ԧg8ZOcg[@Q==8U\uEV.2ߊhE1n%_/oMl{+ԃ񫘨1IR0>@I6I@S9е R5,/^vvKy[o>Egŕv8ػ?h+AT9 WWS[Ỳ+=xIW?D hG@SS #TdSu{!c" g. K`j'TH'יִ^ *!H]NImjkX}X>0D*WP}vl~ ah bT,皯IOkwZ~?~sN{ԵuOpB|?@*R h /jN&AuAĀM8[J{ci%Exx9QF~,+Lx !}-K><^APv|Mc*h!3U~VŸ_T/|eZ:̠lF|9 j&JP8~Hp!K*kpY !)a6anȴ# xv(ާI!?Hz̴?=SOPx#M[KƼp˽sq?^>0؟Tg𥠑S@H1 ~ zGV+fcˡ3U'10 W"cu\Cy;4n3Qyn2VN@wdJWJ&`и ;k%RI D1W"kus&|ϵ,c.mt6;Wm2OJX B}7í udY |o?}Wq2Bs CO@-\I :zBژ/5۷W8IuƑ:~S_,0cosD3j7~h 6he.>M/USvoB;"KtK;jvNeRcffsye1ŏ^hz֬=29@ J ` ,!.Dƥ>Kxūvl{:K zsRe&ԋ[pr ǯQcL`%!`tnET Y&@ uIPB<|7KAPn}6ա\6&<$3 c6<?Ecb'SG+X箜%{g,}Mc++*]2% BP^a0l $;gwg5{ps>b^Is<ԡ ȤK8ea)P|-4 $?_R%`ftu|ܿ33AH/2@a8xwU_[?pY~?⚼k^!ʞ:,Pޔo3dY>~DC =kcAb tjc*M EA&gdWL0c#1{LV|!z/Rxfn _ M,| ؗƏW*1ׄ:w>(-lV2)bBLcV׎LO0O. *CbL!c5`.H'uP0y\ʀ yDĮQBIom8+eASպ2f*Mwv9Ee|#8ShbYk;HoE*#3Hh3 lTb(lNT~ߛiH5OP0>ň 0X1XkXl?Xk sabCK 6Ms̶۶2URuΑŎ8q$&I8ƉӸL"IB6N${׃s9ސ7i54şo}=r#"I%ONuȷd5*ko 6M?&^o[y⽏13o㇙hɯ /G0k,Lٽ ; 0st`E0 ֦~>cp#vI XĜI>\suJP^*/z^lq}]af#s)F.OAKp[ĕ=lr.YZ٤*?#Q_T&㱈v,7yɹU>q[ml lGm4Z# HA!L`Lv:e55?rs(f-nlKX#yǁ9ǭWǸDya\sݵcsnv⩧y~g?uGbN.3\f\r6i s@u]3fچ*ϨjA7|q8XlVymʡ?w 7Vjd\r[n;Ω'}O}Lr1d-7#W -Z,0/C@C ͭuyF=DxZ|u! IUK`U}~>.xe *wŵ$LN81r +IM*F V(QѬ>6uYUW:; &e7`SҐ0B>FcB=5D>Zbh{eemϞb~qSg嚃ye>NpN'[A}Vs8|2AW0^ ^x[f+ҟ.TTl[:w.7fҋh4V @Q"YKSKpQmu1+>x7]81x1oDƫAFavhJ{c$ۧjPRd1qZMi\51&]uk Af LB] )^|G[ Dzv{I}Jresʼn'ܦIVpq{mTzpW"(wN]ƒG<˜vʅMX 0'a^_hDc5[g N2_eaLT?LR_$I#d4I*q ؑ$.yO=ItkgṊf I*UMN"Y]C77in&v#(3mv01#`E=z-4Ƶ~oJ*5G6[ܓin8 f|d}M}N 6"MbTåAz݂\J('A wDҘA{6}8b1#I:3S2MD˚*O{ϑM,6 $6V*#ݏ ܾ/G.o'DҾg҄PG&| Be~+wź;UB{>"I,DX1hkM`K@׵"mPiΏ p2J[c"[.tx,y ҉Ӭ/Mvoz4~\mmqV1f!(Mg'#`B4\[0|BE~WbKåV҅V+1 qCEciE|z?zE?c3STIH3AH"c$%1O{{u'C=So:[-Tc1d38b Bң}ZfNmUq Z ڣEV>` Puqh3b3XfaL+B(%",1!vQy7^$39@:L}i,lʵމxOXg9$I~-7\œ5R oUEu~)&,}Lp ~ׅގtl1c1ʘ'+ ` Dsk tBr3uq"9=+b:3{:y 4"xܳyZc9$„T/%`Pʚ*KzDج oz1*x*VV&[ @f#Z4ϭXmLMm`60Ek&DJf} -0jxY꩚I:l{)8g% |gWv[3А1͋_z5?e>w[| .W8+0BrA;Ḯ"Ѯ{y ]3|3S |,QdǨ5p}DQ_\ZG#x"_\PF =MmGh3[xeQE&*,jJ)˃/3jT}9 *}4cjN D:nVI mj-no=si < Z,f{+;_ߢմ}ՕU OZj%>yVZߥ|S^_G_Rc[% Lj>I@J1pK }& 7_צ /ea.I NЎ#$_\3j"ec!nΙ/SNe>GX$Snn+'w,Z4~J3w:o2>:Q]gYQ#KC.ťzN ޺|=G#IqU + `t"#I[q;\Us5YuKGNH. Qsn=~͗obn`G͖c,چdyΎ!yx3G :r 2Ls:O{ N_.QkiEin_frW1ڼ%uzt7ΞK}~:Q|]ώR|HiF9ݫjU;>_u;_fx{6xOWx K퍭T.NR`b/SZ/ ǐչ}[An.eks{9(7/C\f&'˜ík1C |7Ix!5)ʁGg}%G)<矗xD_|?n6iJ{Kjmj`L9x WB{$uwa Gf^Vw ^ AYx 5[͡vm@xmU2ez~8Ü珳Rk~{SҎ1ͶZ,oZb}|:+mӓe;[Z=; HZׁK%Ӑ}>H4Xa_ ^Kh>ql"N e~gy Z7  |'|F-JټaQ?" i-k?g3|b7 ~{]7\=C_r"|%n8v{^QF @gos7hVwnd&xF ,_)U׭ ?W#|+W#M~kUk)DcUp\$Z;mLTfJ5^;{PFlբ[Þ O~>10\i򎸽Bݤ6519VqVnsjimq|TZ~˴[+CEEGX*j0;]K?~>>_^Ǜ)6p/ % 6ĭgw޳|V'TC%NMš\F~A1~i|= g7X[Y߀D\'&ZUίo; ~?_Zmkٳ7 T5,Oo=*.Hhn)MgB}Y+\ƩS+DN^L~ZƢVIK}79K; &'WhP+cT+5GC>-~,q~'sFhn)GOHvow S˜^hr뵖k jm9&mcMV[DMN ,U~wyWxB$K-b;e*Lq'ϴӿXpT'J`xf1NmBRC% P^ythfH|Hs,KXJZH e珢$ _c%uZv5=~v.t֦EYq[1xL+Ux:SppCGb2pmsn}݌sၱ_HpXT¡A\2+X^YXc688[jՀuy%ahQlBҎ1BP1"#sٶoLq:"TQ+0 $XH\N$UK Az)Dqyu8IJQI\ ; >$ +6L3y{X'>\lrn~|#eI9bEZx"y+|ūwY\}B`Po:)[][bMzδW2V,I;ǑbPZَb'q`'ِ,Rl\v* /;N5){h jPE|UԴq[YݤM~yo$9j|XAv^ #L6i#Msˌ0pP{RXK%IGI>< i)O +Mwi 6:gY!ZY09*xHK1M7 \VFNDOnMM[~y xO{_?;v sfQ>:p*ťxkk5퀵ٶ*iSiǾ~RMA5MRCLa:ʙtt:AVv7\E ҨACC5fz!~+[f:Wc'[x'-DhXy*: 9*ZG c MD/w[y 0/f\ԏ*h ?]9vjY=7&]W27&Rd[&J0xHJ7Q;vQXXqL?zxiO{Us%vx%Gq0ԲVh  /|&\sC.? =️k4=֪J}ZT*uwx}ծ֗jg@bZW HbKdb-_jm^v'_E_<s]W{b ww;Tvcx.3̚Q|BܺKWU[^jw~^r#5+\ϗ֫짛NJŦt Kɧӿ~x?S͝FHPe=;AWw]^۫W r&~$.nmC?]LSZ\|llE%*5qs/U˱i ~i%[;?(WM [$E]^^m/-+vox%72?VSiӘJG (GjeRΞ|mQ~Q HthIw$W5^yƝ[Og|9<۹7MU5j녲/VKG~ς2f@vkіqJ/O/R>S/˭xi4YI7R:;j}c C:'o}TCU@@7:=ݫ߅?Hu\~P703[䱧o }\pTJ,Y4 ]2eF:{<怽o_ K˭ <̹q7ȅk-7[ L641ewp{:2w)?0;ۍ }nY&'rCnM4RE"A(HNFQZ_,C]d >i75^y/.gy/>? W؎i#Dl[1Pd{߫"Ps 'Y^\hק, dv{/s^}4>RN58,Lv;{$tv\D)3ߏ.%M|9wa5Z\ w<-W0llݴ&5ֈA0Ʀn̞Q>qvKdsk7uu-hMƳ,/.DgS|"RJ0 PU7^ONq9Ƥv g1{Z?4ۣ[Cz~^Ӯ]1Iny-'w<6oX( Y#vLĄyn==i} ĥxԵIHu\Fdu5>B_cz7*q# V:>&*!FL(mHuZ#N8enux}zG}rU8WJLOHրttW 0Q.j٬Dh&.PM6n&:g63~@3 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 . shutdown-qapps-1.6.8/qprogram-starter/NEWS0000644000175000017500000000511512322507732020665 0ustar hakaishihakaishiChanges in Release 1.6.8 ========================= added systemctl command in "automatic" and "sudo" Changes in Release 1.6.7 ========================= - fixed not beeing able to start commands after first one failed - fixed not saving text editors contents - fixed not saving states of checkboxes - fixed bug relating to environment (#716194) Changes in Release 1.6.6 ========================= - new design and new options - added welcome dialog - update on translations Changes in Release 1.6.5 ========================= - fixed bug: Settings are not saved if shutdown was set - reviewed shutdown commands - added translations for: (German), Asturian, Bosnian, Croatian, English (Australia / United Kingdom), Galician, Italian, Malay, Polish, Russian, Turkish, Ukrainian Changes in Release 1.6.4 ========================= - Commands etc. can now be linked/connected with "&&" etc. Changes in Release 1.6.2 ========================= - replaced all qDebug(), qWarning() and qCritical() Changes in Release 1.6.1 ========================= - now also compile-able for Windows Changes in Release 1.6.0 ========================= - rearranged design - new function for showing the logs Changes in Release 1.4.8 ========================= - added start & abort buttons - fixed date and time problems (timer) Changes in Release 1.4.5 ========================= - added "delete settings" in destructor - new path for .qm translation files Changes in Release 1.4.3 ========================= - corrected a spelling mistake - some minor changes Changes in Release 1.4.2 ========================= - a little modification for the file browser Changes in Release 1.4.1 ========================= - bug in time calculation fixed Changes in Release 1.4.0 ========================= - the dateTimeEdit was replaced trough a date and a time edit - the date and time are now at minimum the current date and time - there are now browse buttons to choose a program binary - one can now save the command he/she wants to - the output is now devided into four files: two output and two error output files, because there are two processes Changes in Release 1.2.0 ========================= - fixed shutdown function - replaced hints message box with a QPlainTextEdit Object Changes in Release 1.1.0 ========================= - pixmap now in .xpm format - added DeviceKit in the shutdown option Changes in Release 1.0.2 ========================= - nothing source relevant Changes in Release 1.0.1 ========================= - Initial Release shutdown-qapps-1.6.8/qprogram-starter/build/0000755000175000017500000000000012322456242021262 5ustar hakaishihakaishishutdown-qapps-1.6.8/qprogram-starter/autostart/0000755000175000017500000000000012247426006022212 5ustar hakaishihakaishishutdown-qapps-1.6.8/qprogram-starter/autostart/qprogram-starter.desktop0000644000175000017500000000024312157032701027111 0ustar hakaishihakaishi[Desktop Entry] Name=qprogram-starter Name[de_DE]=qprogram-starter Exec=qprogram-starter Terminal=false Type=Application Icon=qprogram-starter Categories=Utility; shutdown-qapps-1.6.8/qprogram-starter/src/0000755000175000017500000000000012247426006020753 5ustar hakaishihakaishishutdown-qapps-1.6.8/qprogram-starter/src/preferences.h0000644000175000017500000000254512157032701023426 0ustar hakaishihakaishi/* qprogram-starter, a program to start programs or commands, with the option to log output and errors and to shutdown the system. * Copyright (C) 2010-2013 Christian Metscher * 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 . */ #ifndef PREFERENCES_H #define PREFERENCES_H #include "ui_preferences.h" #include #include class Preferences : public QDialog, public Ui::Preferences { Q_OBJECT public: Preferences(QWidget *parent = 0); QSettings *settings; private: QMessageBox *msgBox; QMessageBox *infoBox; private slots: void setupMsgBoxes(); void loadSettings(); void saveToConfFile(); protected: virtual void showEvent(QShowEvent* show_pref); }; #endif //PREFERENCES_H shutdown-qapps-1.6.8/qprogram-starter/src/gui.h0000644000175000017500000000543512157032701021712 0ustar hakaishihakaishi/* qprogram-starter, a program to start programs or commands, with the option to log output and errors and to shutdown the system. * Copyright (C) 2010-2013 Christian Metscher * 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 . */ #ifndef GUI_H #define GUI_H #include "ui_gui.h" #include #include #include #include class Preferences; class Gui : public QMainWindow, public Ui::Gui { Q_OBJECT // important for creating own singals and slots public: Gui(); ~Gui(); void loadSettings(); private: Preferences *pref; QTimer *dateTimeTimer, *timer; QProcess *process1, *process2; QDateTime nextDate, timeInTheFuture; double secondsToTimeInTheFuture; QTextEdit *hintMsgBox, *logBox1, *logBox2; QString shell, file, errProcess1, errProcess2, outputProcess1, outputProcess2; QStringList processArgs1, processArgs2; QString program1, program2; bool process2Started; bool aborted; QTextStream *myOutput; private slots: void currentDateAndTime(); //for the current minimum date and time void check(); //checks if the time that was set is reached void getProgram1(); void getProgram2(); void run(); //runs the process void abortProcesses(); //aborts all running processes void output1(); //prints output into a file if loggingCheckBox is checked void output2(); void errorOutput1(); //prints errorOutput into a file if loggingCheckBox is checked void errorOutput2(); void message(); //shows a messageBox if the process is finished, or if errors occured void checkForProcess2(); //if textEdit2 !=0 a second process will be started void shutdown_or_message(); //either shuts down the system or shows if the process is finished void info_hint(); //shows a InfoMessageBox void saveData(); void saveSettings(); void showLogs(); signals: void finished(); protected: virtual void closeEvent(QCloseEvent* window_close); }; #endif shutdown-qapps-1.6.8/qprogram-starter/src/ui/0000755000175000017500000000000012247426006021370 5ustar hakaishihakaishishutdown-qapps-1.6.8/qprogram-starter/src/ui/gui.ui0000644000175000017500000002221112201652130022476 0ustar hakaishihakaishi Gui 0 0 554 415 qprogram-starter :/pix:/pix Start the commands to this time and date A&t date and time: Qt::Horizontal 40 15 75 true &Start true 75 true &Abort true Sho&w Logs false dddd dd.MM.yyyy true The contents will be restored on every start of qprogram-starter Save text editors &contents 0 0 Browse... false HH:mm:ss &Logging Quits qprogram-starter when the last command finished &Quit with last command Shutdown the computer after all commands finished S&hutdown 0 0 Browse... true true 0 0 554 23 &File &Settings &Help &Quit Ctrl+Q &Configure Ctrl+P &Hints Ctrl+H atDateCheckBox dateEdit timeEdit browse1 plainTextEdit browse2 plainTextEdit2 loggingCheckBox quitCheckBox shutdownCheckBox saveButton startB abortB showLogsButton shutdownCheckBox toggled(bool) quitCheckBox setDisabled(bool) 543 281 368 281 quitCheckBox toggled(bool) shutdownCheckBox setDisabled(bool) 368 281 543 281 atDateCheckBox toggled(bool) dateEdit setEnabled(bool) 81 46 247 47 atDateCheckBox toggled(bool) timeEdit setEnabled(bool) 81 46 387 47 action_Quit triggered(bool) Gui close() -1 -1 271 210 shutdown-qapps-1.6.8/qprogram-starter/src/ui/preferences.ui0000644000175000017500000000511012201652515024221 0ustar hakaishihakaishi Preferences 0 0 335 78 Preferences :/pix:/pix automatic Gnome session KDE session HAL ConsoleKit sudo shutdown -P now Shutdown Method: Qt::Horizontal QDialogButtonBox::Cancel|QDialogButtonBox::Ok buttonBox accepted() Preferences accept() 248 254 157 274 buttonBox rejected() Preferences reject() 316 260 286 274 shutdown-qapps-1.6.8/qprogram-starter/src/translations/0000755000175000017500000000000012322513715023472 5ustar hakaishihakaishishutdown-qapps-1.6.8/qprogram-starter/src/translations/qprogram-starter-pl.ts0000644000175000017500000002622712157032701027773 0ustar hakaishihakaishi Gui HH:mm:ss HH:mm:ss dddd dd.MM.yyyy dddd dd.MM.yyyy Sho&w Logs Pok&aż dziennik S&hutdown W&yłącz &Hints &Podpowiedzi Quits qprogram-starter when the last command finished Zamyka qprogram-starter po wykonaniu ostatniego polecenia &Quit with last command &Zakończ z ostatnim poleceniem &Logging &Dziennik Shutdown the computer after all commands finished Wyłącz komputer po wykonaniu wszystkich poleceń The contents will be restored on every start of qprogram-starter Zawartość zostanie odtworzona przy każdym uruchomieniu qprogram-starter &Start &Start &Abort &Przerwij Browse... Przeglądaj... Save text editors &contents Zapisz &zawartość edytora tekstu Start the commands to this time and date Wykonaj polecenie o danej godzinie danego dnia A&t date and time: &O czasie: Select a program Wybierz program The first text edit is empty! Pierwsze pole tekstowe jest puste! Information Informacja Processes aborted Procesy przerwane <b>process 1 finished!</b> <b>proces 1 zakończony!</b> <b>process 1 & 2 finished!</b> <b>procesy 1 i 2 zakończone!</b> Error Błąd <b>Failed to start!</b><br/>No such program or command. <b>Uruchomienie nie powiodło się!</b><br/>Brak takiego programu bądź polecenia. <b>process 1 crashed!</b><br/>This could be caused by invalid parameters or options. <b>proces 1 został niespodziewanie zakończony!</b><br/>Może to być spowodowane niewłaściwymi parametrami lub opcjami. <b>process 2 crashed!</b><br/>This could be caused by invalid parameters or options. <b>proces 2 został niespodziewanie zakończony!</b><br/>Może to być spowodowane niewłaściwymi parametrami lub opcjami. <b>Unknown error!</b><br/>This could be caused by invalid parameters or options. <b>Nieznany błąd!</b><br/>Może być spowodowany niewłaściwymi parametrami lub opcjami. "%1": Failed to start! No such program or command. "%1": Uruchomienie nie powiodło się! Brak takiego programu bądź polecenia. The command in the second text editor (if there is any) will be executed after the first one. The message boxes will close themselves after 10 seconds.<br/>To start a program just type i.e. "firefox" or "firefox www.google.com" and then click on Start. Commands etc. can be linked by "&&" etc. <br/><br/>If the process is "finished" although it is still running, then try the --nofork option (i.e. kopete --nofork). Note that this will also occure for some programs like gedit, firefox or gnome-terminal if they are already running.<br/><br/>When you want to start a program or command with sudo, please use for example gksu(do) or kdesu(do).<br/><br/>make examples:<br/>&nbsp;make -C /path/to/project<br/>&nbsp;make clean -C /path/to/project<br/><br/>About Errors:<br/>Because almost every program gives a different error code, it is impossible to say what happend. So just log the output and see what kind of error occured. The output files can be found at <i>~/.qprogram-starter/</i>.<br/><br/>If the shutdown won't work, it means that "sudo shutdown -P now" is used. This needs root permissions. You can do the this:<br/><br/>Post the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre> and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre> whereas * replaces the username or %groupname.<br/><br/>The configuration-file can be found at <i>~/.qprogram-starter/</i>. Polecenie z drugiego pola tekstowego (jeśli pole jest wypełnione) zostanie wykonane po pierwszym. Powiadomienia zamkną się po 10 sekundach.<br/>By uruchomić program wpisz np. "firefox" lub "firefox www.google.com" i kliknij Start. Polecenia mogą być łączone znakiem "&&".<br/><br/>Jeśli proces został "zakończony" miomo, że wciąż działa, wypróbuj opcję --nofork (np. kopete --nofork). Zauważ, że taka sytuacja będzie miała miejsce dla niektórych programów takich jak gedit, firefox, czy gnome-terminal jeśli są już uruchomione.<br/><br/>Jeśli chcesz uruchomić program z uprawnieniami administratora (sudo), używaj gksu(do) lub kdesu(do).<br/><br/>Przykład dla make:<br/>&nbsp;make -C /ścieżka/do/projektu<br/>&nbsp;make clean -C /ścieżka/do/projektu<br/><br/>O błedach:<br/>Ponieważ prawie każdy program zwraca inny kod błędu niemożliwe jest określenie co się stało. Zapisz wyjście programu i zobacz jaki rodzaj błedu się pojawił. Pliki z wyjściami można znaleźć w katalogu <i>~/.qprogram-starter/</i>.<br/><br/>Jeśli wyłączanie komputera nie działa oznacza to, że używane jest "sudo shutdown -P now". To polecenie wymaga uprawnień administratora. Można to rozwiązać w następujący sposób:<br/><br/>Wykonaj następujące polecenie w terminalu:<pre>EDITOR=nano sudo -E visudo</pre> i dodaj tą linijkę: <pre>* ALL = NOPASSWD:/sbin/shutdown</pre> gdzie * zastępuję nazwę użytkownika lub %grupy.<br/><br/>Plik konfiguracyjny można znaleźć w katalogu <i>~/.qprogram-starter/</i>. &File &Plik &Settings &Ustawienia &Help &Pomoc &Quit &Wyjdź &Configure &Konfiguruj Version Wersja Ctrl+Q Ctrl+Q Ctrl+P Ctrl+P Ctrl+H Ctrl+H Preferences Preferences Preferencje automatic automatyczna Gnome session Sesja Gnome KDE session Sesja KDE Shutdown Method: Metoda zamknięcia: The File "%1" is not writable! Maybe you just don't have the permissions to do so. Plik "%1" jest niezapisywalny! Być może nie masz po prostu uprawnień do wykonania tej akcji. Welcome to qprogram-starter! If you want qprogram-starter to automatically shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Witaj w qprogram-starter! Jeśli chcesz by qprogram-starter automatycznie zamykał system i używasz Gnome Shell, prawdopodobnie uzyskasz stąd dialog zamknięcia. Jeśli chcesz bezpośredniego zamknięcia, rozważ ustawienie metody zamknięcia w preferencjach na ConsoleKit lub coś innego. Odwiedź https://launchpad.net/~hakaishi w celu zgłoszenia błędów lub w sprawach dotyczących tłumaczeń. Error Błąd Please read this carefully! Proszę przeczytać to uważnie! shutdown-qapps-1.6.8/qprogram-starter/src/translations/qprogram-starter-it.ts0000644000175000017500000002674712157032701030003 0ustar hakaishihakaishi Gui HH:mm:ss HH:mm:ss dddd dd.MM.yyyy ddd d MMM yyyy Sho&w Logs Most&ra registri S&hutdown &Arrestare &Hints S&uggerimenti Quits qprogram-starter when the last command finished Esce da qprogram-starter al termine dell'ultimo comando &Quit with last command &Uscire dopo l'ultimo comando &Logging Re&gistrazione Shutdown the computer after all commands finished Arresta il computer al termine dell'ultimo comando The contents will be restored on every start of qprogram-starter I contenuti verranno ripristinati ad ogni avvio di qprogram-starter &Start A&vvia &Abort &Interrompi Browse... Esplora... Save text editors &contents Salva campi e contenuti Start the commands to this time and date Lancia i comandi alla data e ora stabiliti A&t date and time: Avvia in data e ora: Select a program Seleziona programma The first text edit is empty! Il primo campo è vuoto Information Informazioni Processes aborted Elaborazione interrotta <b>process 1 finished!</b> <b>Processo 1 completato.</b> <b>process 1 & 2 finished!</b> <b>Processi 1 e 2 completati.</b> Error Errore <b>Failed to start!</b><br/>No such program or command. <b>Impossibile avviare.</b><br/>Nessun programma o comando specificati. <b>process 1 crashed!</b><br/>This could be caused by invalid parameters or options. <b>Processo 1 bloccato.</b><br/>Questo può dipendere da opzioni o parametri non validi. <b>process 2 crashed!</b><br/>This could be caused by invalid parameters or options. <b>Processo 2 bloccato.</b><br/>Questo può dipendere da opzioni o parametri non validi. <b>Unknown error!</b><br/>This could be caused by invalid parameters or options. <b>Errore sconosciuto.</b><br/>Questo può dipendere da opzioni o parametri non validi. "%1": Failed to start! No such program or command. «%1»: impossibile avviare. Nessun programma o comando specificati. The command in the second text editor (if there is any) will be executed after the first one. The message boxes will close themselves after 10 seconds.<br/>To start a program just type i.e. "firefox" or "firefox www.google.com" and then click on Start. Commands etc. can be linked by "&&" etc. <br/><br/>If the process is "finished" although it is still running, then try the --nofork option (i.e. kopete --nofork). Note that this will also occure for some programs like gedit, firefox or gnome-terminal if they are already running.<br/><br/>When you want to start a program or command with sudo, please use for example gksu(do) or kdesu(do).<br/><br/>make examples:<br/>&nbsp;make -C /path/to/project<br/>&nbsp;make clean -C /path/to/project<br/><br/>About Errors:<br/>Because almost every program gives a different error code, it is impossible to say what happend. So just log the output and see what kind of error occured. The output files can be found at <i>~/.qprogram-starter/</i>.<br/><br/>If the shutdown won't work, it means that "sudo shutdown -P now" is used. This needs root permissions. You can do the this:<br/><br/>Post the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre> and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre> whereas * replaces the username or %groupname.<br/><br/>The configuration-file can be found at <i>~/.qprogram-starter/</i>. Il comando nel secondo campo (se presente) verrà eseguito dopo il primo. Le finestre dei messaggi verranno chiuse automaticamente dopo 10 secondi.<br/>Per lanciare un programma scrivere semplicemente, per esempio, «firefox» o «firefox www.google.com» e fare clic su «Avvia». I vari comandi possono essere eseguiti in sequenza usando «&&».<br/><br/>Se l'elaborazione viene indicata come conclusa nonostante sia ancora in esecuzione, provare l'opzione «--nofork» (per esempio kopete --nofork). Notare che questo potrebbe essere necessario per alcuni programmi come gedit, firefox o gnome-terminal quando sono già in esecuzione.<br/><br/>Per eseguire un programma o un comando usando «sudo», usare «gksu(do)» o «kdesu(do)».<br/><br/>Alcuni esempi:<br/>&nbsp;make -C /percorso/del/progetto/<br/>&nbsp;make clean -C /percorso/del/progetto<br/><br/>Informazioni sugli errori:<br/>A causa dei diversi codici di errore restituiti dai vari programmi, non è possibile stabilire cosa accade. Controllare quindi l'output dei comandi per vedere quale errore si è verificato. I fiel di output possono essere trovati in <i>~/.qprogram-starter/</i>.<br/><br/>Se non è possibile eseguire lo spegnimento della macchina, significa che è stato usato il comando «sudo shutdown -P now». Questa operazione richiede i privilegi di root. È possibile provare le seguenti operazioni:<br/><br/>Eseguire in un terminale il seguente comando:<pre>EDITOR=nano sudo -E visudo</pre> e aggiungere al file appena aperto la seguente riga:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre> sostituendo «*» con «username» o «%groupname». .<br/><br/>Il file di configurazione si trova in <i>~/.qprogram-starter/</i>. &File &File &Settings Impo&stazioni &Help A&iuto &Quit &Esci &Configure &Configura Version Versione Ctrl+Q Ctrl+Q Ctrl+P Ctrl+P Ctrl+H Ctrl+H Preferences Preferences Preferenze automatic automatico Gnome session Sessione GNOIME KDE session Sessione KDE Shutdown Method: Metodo di arresto: The File "%1" is not writable! Maybe you just don't have the permissions to do so. Il file «%1» non è scrivibile. Forse non si hanno i permessi per eseguire l'operazione. Welcome to qprogram-starter! If you want qprogram-starter to automatically shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Error Errore Please read this carefully! shutdown-qapps-1.6.8/qprogram-starter/src/translations/qprogram-starter-gl.ts0000644000175000017500000002741412157032701027761 0ustar hakaishihakaishi Gui HH:mm:ss HH:mm:ss dddd dd.MM.yyyy dddd dd.MM.yyyy Sho&w Logs Amosar &rexistros S&hutdown Apa&gado &Hints &Consellos Quits qprogram-starter when the last command finished Saír de qprogram-starter cando remate a última orde &Quit with last command &Saír coa última orde &Logging &Acceso Shutdown the computer after all commands finished Apagar o computador despois de que remate a última orde The contents will be restored on every start of qprogram-starter Os contidos restauranse en cada inicio de qprogram-starter &Start &Iniciar &Abort &Interromper Browse... Examinar... Save text editors &contents Gardar os &contidos dos editores de texto Start the commands to this time and date Iniciar as ordes nesta hora e data A&t date and time: &Nesta hora e data Select a program Seleccione un programa The first text edit is empty! O primeir texto de edición está baleiro! Information Información Processes aborted Proceso interrompido <b>process 1 finished!</b> <b>o proceso 1 rematou!</b> <b>process 1 & 2 finished!</b> <b>os procesos 1 e 2 remataron!</b> Error Erro <b>Failed to start!</b><br/>No such program or command. <b>Produciuse un fallo no inicio!</b><br/>Non hai tal programa ou orde. <b>process 1 crashed!</b><br/>This could be caused by invalid parameters or options. <b>o proceso 1 quebrou!</b><br/>Isto pode ser por mor de parámetros ou opcións incorrectas. <b>process 2 crashed!</b><br/>This could be caused by invalid parameters or options. <b>o proceso 2 quebrou!</b><br/>Isto pode ser por mor de parámetros ou opcións incorrectas. <b>Unknown error!</b><br/>This could be caused by invalid parameters or options. <b>Produciuse un erro descoñecido!</b><br/>Isto pode ser por mor de parámetros ou opcións incorrectas. "%1": Failed to start! No such program or command. «%1»: Produciuse un fallo ao inicialo! Non hai tal programa ou orde. The command in the second text editor (if there is any) will be executed after the first one. The message boxes will close themselves after 10 seconds.<br/>To start a program just type i.e. "firefox" or "firefox www.google.com" and then click on Start. Commands etc. can be linked by "&&" etc. <br/><br/>If the process is "finished" although it is still running, then try the --nofork option (i.e. kopete --nofork). Note that this will also occure for some programs like gedit, firefox or gnome-terminal if they are already running.<br/><br/>When you want to start a program or command with sudo, please use for example gksu(do) or kdesu(do).<br/><br/>make examples:<br/>&nbsp;make -C /path/to/project<br/>&nbsp;make clean -C /path/to/project<br/><br/>About Errors:<br/>Because almost every program gives a different error code, it is impossible to say what happend. So just log the output and see what kind of error occured. The output files can be found at <i>~/.qprogram-starter/</i>.<br/><br/>If the shutdown won't work, it means that "sudo shutdown -P now" is used. This needs root permissions. You can do the this:<br/><br/>Post the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre> and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre> whereas * replaces the username or %groupname.<br/><br/>The configuration-file can be found at <i>~/.qprogram-starter/</i>. A orde no segundo editor de texto (se hai algunha) executarase despois da primeira. As caixas de mensaxe pecharanse despois de 10 segundos.<br/>Para iniciar un programa só ten que escribir p.ex. «firefox» ou «firefox www.google.com» a de seguido premer en Inicio. As ordes, etc. pódense encadear con «&&» etc. <br/><br/>Se o proceso está «rematado», a pesares de estar aínda en execución, tente usar a opción «--nofork» (p.ex. kopete --nofork). Teña en conta que isto tamén pode ocorrer con algúns outros programas como gedit, firefox ou gnome-terminal se xa estean en execución.<br/><br/>Se quere iniciar un programa ou orde con sudo, empregue por por exemplo gksu(do) o kdesu(do).<br/><br/>exemplos con «make»:<br/>&nbsp;make -C /ruta/ao/proxecto<br/>&nbsp;make clean -C /ruta/ao/proxecto<br/><br/>Sobre os erros:<br/>Xa que case todos os programas dan un código de erro diferente, é imposíbel dicir que foi o que pasou. Só ten que ver a saída e ver que tipo de erro se produciu. Os ficheiros de saída pódense atopar en <i>~/.qprogram-starter/</i>.<br/><br/>Se o peche non funciona, é porque «sudo shutdown-P now» aínda está en uso. Isto precisa permisos de administrador (root). Neste caso pode facer o seguinte:<br/><br/>Pegue o seguinte nun terminal:<pre>EDITOR=nano sudo -E visudo</pre> e engada esta liña:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre> onde * substitúe o nome de usuario ou o nome do grupo %group.<br/><br/>O ficheiro de configuración atopase en <i>~/.qprogram-starter/</i>. &File &Ficheiro &Settings &Configuracións &Help &Axuda &Quit &Saír &Configure &Configurar Version Versión Ctrl+Q Ctrl+Q Ctrl+P Ctrl+P Ctrl+H Ctrl+H Preferences Preferences Preferencias automatic automático Gnome session Sesión de Gnome KDE session Sesión de KDE Shutdown Method: Método de apagado: The File "%1" is not writable! Maybe you just don't have the permissions to do so. O ficheiro «%1» non é escribíbel. E probábel que non teña permisos para facelo. Welcome to qprogram-starter! If you want qprogram-starter to automatically shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Benvido a qprogram-starter! Se quere que qprogram-starter apague automaticamente o sistema e emprega o Gnome Shell, entón é probábel que obteña un diálogo de apagado. Se quere dspor dun apagado directo, vaia ás preferencias e estableza o método de apagado para ConsoleKit ou outro. Non dubide en visitar https://launchpad.net/~hakaishi para informar de erros, ou calquera outra cousa sobre as traducións. Error Erro Please read this carefully! Por favor, lea isto detidamente! shutdown-qapps-1.6.8/qprogram-starter/src/translations/qprogram-starter-uk.ts0000644000175000017500000003431412157032701027773 0ustar hakaishihakaishi Gui HH:mm:ss HH:mm:ss dddd dd.MM.yyyy dddd, dd.MM.yyyy Sho&w Logs &Показати журнал S&hutdown З&авершити роботу &Hints П&ідказки Quits qprogram-starter when the last command finished Завершує роботу qprogram-starter, щойно буде виконано останню команду &Quit with last command Ви&йти після останньої команди &Logging &Журнал Shutdown the computer after all commands finished Завершити роботу комп’ютера, щойно буде виконано всі команди The contents will be restored on every start of qprogram-starter Дані відновлюватимуться після кожного запуску qprogram-starter &Start &Запустити &Abort П&ерервати Browse... Вибрати... Save text editors &contents Зберегти &дані у текстових редакторах Start the commands to this time and date Запустити команду у вказаний час вказаної дати A&t date and time: Да&та і час запуску: Select a program Виберіть програму The first text edit is empty! Перше текстове поле порожнє! Information Відомості Processes aborted Роботу процесів перервано <b>process 1 finished!</b> <b>роботу процесу 1 завершено!</b> <b>process 1 & 2 finished!</b> <b>роботу процесів 1 і 2 завершено!</b> Error Помилка <b>Failed to start!</b><br/>No such program or command. <b>Не вдалося запустити!</b><br/>Немає такої програми або команди. <b>process 1 crashed!</b><br/>This could be caused by invalid parameters or options. <b>Процес 1 аварійно завершив роботу!</b><br/>Це може бути спричинено некоректними параметрами або аргументами. <b>process 2 crashed!</b><br/>This could be caused by invalid parameters or options. <b>Процес 2 аварійно завершив роботу!</b><br/>Це може бути спричинено некоректними параметрами або аргументами. <b>Unknown error!</b><br/>This could be caused by invalid parameters or options. <b>Невідома помилка!</b><br/>Це може бути спричинено некоректними параметрами або аргументами. "%1": Failed to start! No such program or command. «%1»: не вдалося запустити команду! Немає такої програми або команди. The command in the second text editor (if there is any) will be executed after the first one. The message boxes will close themselves after 10 seconds.<br/>To start a program just type i.e. "firefox" or "firefox www.google.com" and then click on Start. Commands etc. can be linked by "&&" etc. <br/><br/>If the process is "finished" although it is still running, then try the --nofork option (i.e. kopete --nofork). Note that this will also occure for some programs like gedit, firefox or gnome-terminal if they are already running.<br/><br/>When you want to start a program or command with sudo, please use for example gksu(do) or kdesu(do).<br/><br/>make examples:<br/>&nbsp;make -C /path/to/project<br/>&nbsp;make clean -C /path/to/project<br/><br/>About Errors:<br/>Because almost every program gives a different error code, it is impossible to say what happend. So just log the output and see what kind of error occured. The output files can be found at <i>~/.qprogram-starter/</i>.<br/><br/>If the shutdown won't work, it means that "sudo shutdown -P now" is used. This needs root permissions. You can do the this:<br/><br/>Post the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre> and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre> whereas * replaces the username or %groupname.<br/><br/>The configuration-file can be found at <i>~/.qprogram-starter/</i>. Команду у другому вікні редагування тексту (якщо таке показано) буде виконано після команди у першому. Панелі повідомлень буде закрито автоматично за 10 секунд.<br/>Для запуску програми просто вкажіть, наприклад, «firefox» або «firefox www.google.com», а потім натисніть кнопку «Запустити». Команди можна об’єднувати у кортежі за допомогою «&&» тощо. <br/><br/>Якщо процес «завершує» роботу, хоча її робота все ще продовжується, спробуйте скористатися параметром --nofork (тобто kopete --nofork). Зауважте, що таке трапляється і для деяких інших програм, зокрема gedit, firefox або gnome-terminal, якщо їх вже запущено.<br/><br/>Якщо ви хочете запустити команду або програму за допомогою sudo, будь ласка, скористайтеся, наприклад, gksu(do) або kdesu(do).<br/><br/>Приклади для make:<br/>&nbsp;make -C /шлях/до/проекту<br/>&nbsp;make clean -C /шлях/до/проекту<br/><br/>Про помилки:<br/>оскільки майже всі програми повідомляють про помилки різними кодами, неможливо визначити причину помилки. Отже просто запишіть виведені дані до журналу і ознайомтеся з повідомленням про помилку. Файли виведених даних можна знайти у <i>~/.qprogram-starter/</i>.<br/><br/>Якщо вимикання комп’ютера не працює, значить використовується «sudo shutdown -P now». Для виконання цієї команди потрібні права доступу адміністратора (root). Ви можете усунути помилку так:<br/><br/>Введіть таку команду у терміналі:<pre>EDITOR=nano sudo -E visudo</pre> і додайте такий рядок:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>, де * замінює ім’я користувача або %groupname.<br/><br/>Файл налаштувань зберігається у <i>~/.qprogram-starter/</i>. &File &Файл &Settings П&араметри &Help &Довідка &Quit Ви&йти &Configure &Налаштувати Version Версія Ctrl+Q Ctrl+Q Ctrl+P Ctrl+P Ctrl+H Ctrl+H Preferences Preferences Налаштування automatic автоматичне Gnome session Сеанс GNOME KDE session Сеанс KDE Shutdown Method: Спосіб вимикання: The File "%1" is not writable! Maybe you just don't have the permissions to do so. Файл «%1» є непридатним до запису! Ймовірно, ви не маєте належних прав доступу до цього файла. Welcome to qprogram-starter! If you want qprogram-starter to automatically shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Вітаємо у qprogram-starter! Якщо ви хочете скористатися qprogram-starter для автоматичного вимикання системи і використовуєте Gnome Shell, ймовірно, діалогове вікно вимикання буде показано прямо зараз. Якщо ви хочете вимикати систему безпосередньо, будь ласка, відкрийте вікно налаштувань і встановіть у пункті способу вимикання ConsoleKit або щось інше. Щоб повідомити про ваду у програмі або перекладі, скористайтеся сторінкою https://launchpad.net/~hakaishi Error Помилка Please read this carefully! Будь ласка, ознайомтеся з цією інформацією! shutdown-qapps-1.6.8/qprogram-starter/src/translations/qprogram-starter-ro.ts0000644000175000017500000003010312157032701027764 0ustar hakaishihakaishi Gui HH:mm:ss HH:mm:ss dddd dd.MM.yyyy dddd dd.MM.yyyy Sho&w Logs Arată &jurnale S&hutdown Înc&hidere &Hints &Sugestii Quits qprogram-starter when the last command finished Închide qprogram-starter, atunci când ultima comandă s-a încheiat &Quit with last command În&chide cu ultima comandă &Logging &Jurnalizare Shutdown the computer after all commands finished Închide calculator după ce toate comenzile s-au încheiat The contents will be restored on every start of qprogram-starter Conținutul va fi restaurat la fiecare pornire a qprogram-starter &Start &Pornește &Abort &Renunță Browse... Răsfoieşte... Save text editors &contents Salvează &conținutul editoarelor text Start the commands to this time and date Începeți comenzile la această dată și oră A&t date and time: &La data și ora: Select a program Selectează un program The first text edit is empty! Prima editare de text este goală! Information Informații Processes aborted Procese întrerupte <b>process 1 finished!</b> <b>procesul1 s-a încheiat!</b> <b>process 1 & 2 finished!</b> <b>procesele 1 & 2 s-au încheiat!</b> Error Eroare <b>Failed to start!</b><br/>No such program or command. <b>nu a reușit să porneasca!</b><br/>Nu există un astfel de program sau comanda. <b>process 1 crashed!</b><br/>This could be caused by invalid parameters or options. <b>procesul 1 s-a încheiat neasteptat!</b><br/>Acest lucru ar putea fi cauzat de parametri sau opțiuni invalide. <b>process 2 crashed!</b><br/>This could be caused by invalid parameters or options. <b>procesul 2 s-a încheiat neasteptat!</b><br/>Acest lucru ar putea fi cauzat de parametri sau opțiuni invalide. <b>Unknown error!</b><br/>This could be caused by invalid parameters or options. <b>Eroare necunosctă!</b><br/>Acest lucru ar putea fi cauzat de parametri sau opțiuni invalide. "%1": Failed to start! No such program or command. "%1": Nu a reușit să înceapă! Nu există un astfel de program sau de comandă. The command in the second text editor (if there is any) will be executed after the first one. The message boxes will close themselves after 10 seconds.<br/>To start a program just type i.e. "firefox" or "firefox www.google.com" and then click on Start. Commands etc. can be linked by "&&" etc. <br/><br/>If the process is "finished" although it is still running, then try the --nofork option (i.e. kopete --nofork). Note that this will also occure for some programs like gedit, firefox or gnome-terminal if they are already running.<br/><br/>When you want to start a program or command with sudo, please use for example gksu(do) or kdesu(do).<br/><br/>make examples:<br/>&nbsp;make -C /path/to/project<br/>&nbsp;make clean -C /path/to/project<br/><br/>About Errors:<br/>Because almost every program gives a different error code, it is impossible to say what happend. So just log the output and see what kind of error occured. The output files can be found at <i>~/.qprogram-starter/</i>.<br/><br/>If the shutdown won't work, it means that "sudo shutdown -P now" is used. This needs root permissions. You can do the this:<br/><br/>Post the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre> and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre> whereas * replaces the username or %groupname.<br/><br/>The configuration-file can be found at <i>~/.qprogram-starter/</i>. Comandă în al doilea editor de text (dacă există) va fi executată dupa prima. Casete de mesaj se vor închide după 10 secunde.<br/>Pentru a porni un program, doar tastați i.e. "firefox" ori "firefox www.google.com" și apoi click pe Start. Comenzile etc. pot fi legate prin by "&&" etc. <br/><br/>Dacă procesul este "încheiat" deși acesta este încă în desfășurare, atunci încercați opțiunea --nofork (i.e. kopete --nofork). Rețineți că acest lucru va avea loc, de asemenea, pentru unele programe, cum ar fi gedit, firefox sau gnome-terminal în cazul în care acestea sunt deja în funcționare.<br/><br/>Când doriți să porniți un program sau comandă cu sudo, folosiți de exemplu gksu(do) sau kdesu(do).<br/><br/>Exemple make:<br/>&nbsp;make -C /path/to/project<br/>&nbsp;make clean -C /path/to/project<br/><br/>Despre erori:<br/>Pentru că aproape fiecare program oferă un cod de eroare diferit, este imposibil de spus ce sa intamplat. Deci, conectați doar ieșirea și a se vedea ce fel de eroare s-a produs. Fișierele de ieșire pot fi găsite la <i>~/.qprogram-starter/</i>.<br/><br/>În cazul în care închiderea nu va funcționa, înseamnă că "sudo shutdown -P now" este utilizată. Acest lucru are nevoie de permisiuni de root. Puteți să faceți asta:<br/><br/>Inserați următoarele într-un terminal:<pre>EDITOR=nano sudo -E visudo</pre> și adăugați această linie:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre> unde * înlocuiește numele de utilizator sau numele de grup.<br/><br/>Fișierul de configurare poate fi găsit la <i>~/.qprogram-starter/</i>. &File &Fișier &Settings &Setări &Help &Ajutor &Quit &Ieșire &Configure &Configurare Version Versiunea Ctrl+Q Ctrl+Q Ctrl+P Ctrl+P Ctrl+H Ctrl+H Preferences Preferences Preferințe automatic automat Gnome session Sesiune Gnome KDE session Sesiune KDE Shutdown Method: Metodă de închidere The File "%1" is not writable! Maybe you just don't have the permissions to do so. Fișierul „%1” nu poate fi scris! Poate nu aveți permisiune de scriere. Welcome to qprogram-starter! If you want qprogram-starter to automatically shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Bun venit la qprogram-starter! Dacă doriți qprogram-starter să oprească automat sistemul și utilizați Gnome Shell, atunci vă sunt susceptibile de a primi un dialog de oprire de acolo. Dacă doriți o închidere directă, atunci vă rugăm să luați în considerare de a merge în preferințele și stabilirea metodei de închidere pentru ConsoleKit sau altceva. Vă rugăm să nu ezitați să vizitați https://launchpad.net/~hakaishi pentr a raporta buguri sau pentru orice cu privire la traduceri. Error Eroare Please read this carefully! Citiți aceasta cu atenție! shutdown-qapps-1.6.8/qprogram-starter/src/translations/qprogram-starter-ms.ts0000644000175000017500000002717612157032701030003 0ustar hakaishihakaishi Gui HH:mm:ss HH:mm:ss dddd dd.MM.yyyy dddd dd.MM.yyyy Sho&w Logs Papa&r Log S&hutdown &Matikan &Hints Pem&bayang Quits qprogram-starter when the last command finished Keluar qprogram-starter bila perintah terakhir selesai &Quit with last command &Keluar dengan perintah terakhir &Logging Pen&gelogan Shutdown the computer after all commands finished Matikan komputer selepas semua perintah selesai The contents will be restored on every start of qprogram-starter Kandungan yang akan dipulih setiap kali mulakan qprogram-starter &Start &Mula &Abort Henti P&aksa Browse... Layar... Save text editors &contents Simpan kan&dungan penyunting teks Start the commands to this time and date Mula perintah pada masa dan tarikh ini A&t date and time: &Pada tarikh dan masa: Select a program Pilih satu program The first text edit is empty! Suntingan teks pertama adalah kosong! Information Maklumat Processes aborted Proses dihenti paksa <b>process 1 finished!</b> <b>proses 1 selesai!</b> <b>process 1 & 2 finished!</b> <b>proses 1 & 2 selesai!</b> Error Ralat <b>Failed to start!</b><br/>No such program or command. <b>Gagal dimulakan!</b><br/>Tiada program atau perintah sebegitu. <b>process 1 crashed!</b><br/>This could be caused by invalid parameters or options. <b>proses 1 mengalami kerosakan!</b><br/>Ia disebabkan oleh parameter atau pilihan tidak sah. <b>process 2 crashed!</b><br/>This could be caused by invalid parameters or options. <b>proses 2 mengalami kerosakan!</b><br/>Ia disebabkan oleh parameter atau pilihan tidak sah. <b>Unknown error!</b><br/>This could be caused by invalid parameters or options. <b>Ralat tidak diketahui!</b><br/>Ia disebabkan oleh parameter atau pilihan tidak sah. "%1": Failed to start! No such program or command. "%1": Gagal dimulakan! Tiada program atau perintah sebegitu. The command in the second text editor (if there is any) will be executed after the first one. The message boxes will close themselves after 10 seconds.<br/>To start a program just type i.e. "firefox" or "firefox www.google.com" and then click on Start. Commands etc. can be linked by "&&" etc. <br/><br/>If the process is "finished" although it is still running, then try the --nofork option (i.e. kopete --nofork). Note that this will also occure for some programs like gedit, firefox or gnome-terminal if they are already running.<br/><br/>When you want to start a program or command with sudo, please use for example gksu(do) or kdesu(do).<br/><br/>make examples:<br/>&nbsp;make -C /path/to/project<br/>&nbsp;make clean -C /path/to/project<br/><br/>About Errors:<br/>Because almost every program gives a different error code, it is impossible to say what happend. So just log the output and see what kind of error occured. The output files can be found at <i>~/.qprogram-starter/</i>.<br/><br/>If the shutdown won't work, it means that "sudo shutdown -P now" is used. This needs root permissions. You can do the this:<br/><br/>Post the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre> and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre> whereas * replaces the username or %groupname.<br/><br/>The configuration-file can be found at <i>~/.qprogram-starter/</i>. Perintah dalam penyunting teks kedua (jika ada) akan dilakukan selepas yang pertama. Kotak mesej akan ditutup sendiri selepas 10 saat.<br/>Untuk mulakan program hanya taip, cth. "firefox" atau "firefox www.google.com" dan kemudian klik pada Mula. Perintah dll. boleh dipaut dengan tanda "&&" dll. <br/><br/>Jika proses telah "selesai" walaupun ia masih lagi berjalan, maka cuba pilihan --nofork (cth. kopete --nofork). Pethatian ia juga berlaku pada beberapa program seperti gedit, firefox atau gnome-terminal jika ia sedang berjalan.<br/><br/>Bila anda mahu mulakan program atau perintah dengan sudo, sila guna gksu(do) atau kdesu(do).<br/><br/>contoh make:<br/>&nbsp;make -C /laluan/ke/projek<br/>&nbsp;make clean -C /laluan/ke/projek<br/><br/>Perihal Ralat:<br/>Oleh kerana setiap program menghasilkan kod ralat yang berbeza, adalah mustahil dapat menerangkan apa yang telah berlaku. Oleh itu hanya logkan output dan lihat apakah jenis ralat yang berlaku. Fail output boleh ditemui di <i>~/.qprogram-starter/</i>.<br/><br/>Jika shutdown tidak berfungsi, ia bermaksud "sudo shutdown -P now" digunakan. Ia memerlukan keizinan root. Anda boleh membuatnya:<br/><br/>Poskan yang berikut kedalam terminal:<pre>EDITOR=nano sudo -E visudo</pre> dan tambah baris ini:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre> yang mana * gantikan nama pengguna atau %groupname.<br/><br/>Fail-konfigurasi boleh ditemui di <i>~/.qprogram-starter/</i>. &File &Fail &Settings &Tetapan &Help &Bantuan &Quit &Keluar &Configure Konfi&gur Version Versi Ctrl+Q Ctrl+Q Ctrl+P Ctrl+P Ctrl+H Ctrl+H Preferences Preferences Keutamaan automatic automatik Gnome session Sesi Gnome KDE session Sesi KDE Shutdown Method: Kaedah Matikan: The File "%1" is not writable! Maybe you just don't have the permissions to do so. Fail "%1" tidak boleh ditulis! Mungkin anda tidak mempunyai keizinan membuatnya. Welcome to qprogram-starter! If you want qprogram-starter to automatically shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Selamat datang ke qprogram-starter! Jika anda mahu qprogram-starter matikan sistem secara automatik dan anda menggunakan Shell Gnome, maka anda perlu dapatkan dialog matikan disana. Jika anda mahu matikan secara terus, maka peergi ke keutamaan dan tetapkan kaedah matikan ke ConsoleKit atau yang lain. Sila lawati https://launchpad.net/~hakaishi untuk laporkan pepijat atau lain-lain berkenaan terjemahan. Error Ralat Please read this carefully! Sila baca dengan teliti! shutdown-qapps-1.6.8/qprogram-starter/src/translations/qprogram-starter-hr.ts0000644000175000017500000002655312157032701027773 0ustar hakaishihakaishi Gui HH:mm:ss SS:mm:ss dddd dd.MM.yyyy dddd dd.MM.gggg Sho&w Logs Prikaž&i Dnevnike S&hutdown I&sključi &Hints &Savjeti Quits qprogram-starter when the last command finished Prekida qprogram-starter kad završi provođenje zadnje naredbe &Quit with last command &Prekida sa zanjom naredbom &Logging &Prijavljivanje Shutdown the computer after all commands finished Isključuje računalo nakon što završi provođenje svih naredbi The contents will be restored on every start of qprogram-starter Sadržaj će biti vraćen na svakom početku programa qprogram-starter &Start &Start &Abort &Prekid Browse... Pregled... Save text editors &contents Spremi tekstualne editore i sadržaje Start the commands to this time and date Pokrenite naredbe na ovaj datum i u ovo vrijeme A&t date and time: N&a datum i vrijeme: Select a program Odaberite program The first text edit is empty! Prva izmjena teksta je prazna! Information Informacija Processes aborted Prekinuti su procesi <b>process 1 finished!</b> <b>proces 1 je dovršen!</b> <b>process 1 & 2 finished!</b> <b>proces 1 i 2 su dovršeni!</b> Error Greška <b>Failed to start!</b><br/>No such program or command. <b>Neuspjelo pokretanje!</b><br/>Nema takvog programa ili naredbe. <b>process 1 crashed!</b><br/>This could be caused by invalid parameters or options. <b>proces 1 se srušio!</b><br/>To bi moglo biti uzrokovano nevažećim parametrima ili opcijama. <b>process 2 crashed!</b><br/>This could be caused by invalid parameters or options. <b>proces 2 se srušio!</b><br/>To bi moglo biti uzrokovano nevažećim parametrima ili opcijama. <b>Unknown error!</b><br/>This could be caused by invalid parameters or options. <b>Nepoznata greška!</b><br/>To bi moglo biti uzrokovano nevažećim parametrima ili opcijama. "%1": Failed to start! No such program or command. "%1": Neuspjelo pokretanje! Nema takvog programa ili naredbe. The command in the second text editor (if there is any) will be executed after the first one. The message boxes will close themselves after 10 seconds.<br/>To start a program just type i.e. "firefox" or "firefox www.google.com" and then click on Start. Commands etc. can be linked by "&&" etc. <br/><br/>If the process is "finished" although it is still running, then try the --nofork option (i.e. kopete --nofork). Note that this will also occure for some programs like gedit, firefox or gnome-terminal if they are already running.<br/><br/>When you want to start a program or command with sudo, please use for example gksu(do) or kdesu(do).<br/><br/>make examples:<br/>&nbsp;make -C /path/to/project<br/>&nbsp;make clean -C /path/to/project<br/><br/>About Errors:<br/>Because almost every program gives a different error code, it is impossible to say what happend. So just log the output and see what kind of error occured. The output files can be found at <i>~/.qprogram-starter/</i>.<br/><br/>If the shutdown won't work, it means that "sudo shutdown -P now" is used. This needs root permissions. You can do the this:<br/><br/>Post the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre> and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre> whereas * replaces the username or %groupname.<br/><br/>The configuration-file can be found at <i>~/.qprogram-starter/</i>. Naredba u drugom uređivaču teksta (postoji li) će se izvršiti nakon izvršavanja u prvom. Okviri poruka će se zatvoriti nakon 10 sekundi.<br/>Za pokretanje programa samo upišite tj. "firefox" ili "firefox www.google.com", a zatim kliknite na Start. Naredbe i sl. mogu biti povezani s "&&" itd. <br/><br/>Ako je proces "završio", iako je još uvijek radi, onda pokušajte sa --nofork ocijom (tj. kopete --nofork). Imajte na umu da se ovo također događa sa nekim programima kao što su gedit, Firefox ili gnome-terminal, ako su već pokrenuti.<br/><br/>Kada želite pokrenuti program ili naredbu sa sudo, molimo koristite na primjer gksu(do) ili kdesu(do).<br/><br/>make examples:<br/>&nbsp;make -C /path/to/project<br/>&nbsp;make clean -C /path/to/project<br/><br/>O Greškama:<br/>Budući da gotovo svaki program daje drugačiji kod pogreške, je nemoguće reći što se je dogodilo. Dakle, samo zabilježite izlazni podatak i pogledajte o kakvoj se grešci radi. Izlazne datoteke se mogu naći u <i>~/.qprogram-starter/</i>.<br/><br/>Ako isključivanja neće raditi, to znači da se koristi "sudo shutdown-P now". Za ovo ćete trebati root ovlasti. Možete napraviti ovo:<br/><br/>U terminalu utipkajte sljedeće:<pre>EDITOR=nano sudo -E visudo</pre> i dodajte ovu liniju:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre> gdje * zamjenjuje korisničko ime ili %groupname.<br/><br/>Konfiguracijsku datoteku možete pronaći u <i>~/.qprogram-starter/</i>. &File &Datoteka &Settings &Postavke &Help &Pomoć &Quit &Prestanak &Configure &Podešavanje Version Inačica Ctrl+Q Ctrl+Q Ctrl+P Ctrl+P Ctrl+H Ctrl+H Preferences Preferences Postavke automatic automatski Gnome session Gnome sesija KDE session KDE sesija Shutdown Method: Metoda Gašenja: The File "%1" is not writable! Maybe you just don't have the permissions to do so. U Datoteku "%1" nije dopušteno pisanje! Možda naprosto nemate dopuštenja za to. Welcome to qprogram-starter! If you want qprogram-starter to automatically shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Error Greška Please read this carefully! shutdown-qapps-1.6.8/qprogram-starter/src/translations/qprogram-starter-bs.ts0000644000175000017500000002422712157032701027762 0ustar hakaishihakaishi Gui HH:mm:ss HH:mm:ss dddd dd.MM.yyyy dddd dd.MM.yyyy Sho&w Logs Pri&kaži izvještaje S&hutdown U&gasi &Hints &Savjeti Quits qprogram-starter when the last command finished Zatvara qprogram-starter nakon izvršavanja posljednje komande &Quit with last command &Zatvori nakon posljednje komande &Logging &Bilježenje Shutdown the computer after all commands finished Ugasi računar nakon što se izvrše sve komande The contents will be restored on every start of qprogram-starter Sadržaj će biti povraćen nakon svakog pokretanja qprogram-startera &Start &Pokreni &Abort &Prekini Browse... Pretraži... Save text editors &contents Sačuvaj s&adržaj uređivača teksta Start the commands to this time and date Pokreni komande u ovo vrijeme A&t date and time: Da&tum i vrijeme: Select a program Odaberite program The first text edit is empty! Prvo uređivanje teksta je prazno! Information Informacije Processes aborted Proces je prekinut <b>process 1 finished!</b> <b>proces 1 završen!</b> <b>process 1 & 2 finished!</b> <b>procesi 1 i 2 završeni!</b> Error Greška <b>Failed to start!</b><br/>No such program or command. <b>Neuspjelo pokretanje!</b><br/>Ne postoji takav program ili komanda. <b>process 1 crashed!</b><br/>This could be caused by invalid parameters or options. <b>proces 1 je krahirao!</b><br/>Moguće je da je ovo prouzrokovano netačnim parametrima ili opcijama. <b>process 2 crashed!</b><br/>This could be caused by invalid parameters or options. <b>proces 2 je krahirao!</b><br/>Moguće je da je ovo prouzrokovano netačnim parametrima ili opcijama. <b>Unknown error!</b><br/>This could be caused by invalid parameters or options. <b>Nepoznata greška!</b><br/>Moguće je da je ovo prouzrokovano netačnim parametrima ili opcijama. "%1": Failed to start! No such program or command. "%1": Nije moguće pokrenuti! Ne postoji takav program ili komanda. The command in the second text editor (if there is any) will be executed after the first one. The message boxes will close themselves after 10 seconds.<br/>To start a program just type i.e. "firefox" or "firefox www.google.com" and then click on Start. Commands etc. can be linked by "&&" etc. <br/><br/>If the process is "finished" although it is still running, then try the --nofork option (i.e. kopete --nofork). Note that this will also occure for some programs like gedit, firefox or gnome-terminal if they are already running.<br/><br/>When you want to start a program or command with sudo, please use for example gksu(do) or kdesu(do).<br/><br/>make examples:<br/>&nbsp;make -C /path/to/project<br/>&nbsp;make clean -C /path/to/project<br/><br/>About Errors:<br/>Because almost every program gives a different error code, it is impossible to say what happend. So just log the output and see what kind of error occured. The output files can be found at <i>~/.qprogram-starter/</i>.<br/><br/>If the shutdown won't work, it means that "sudo shutdown -P now" is used. This needs root permissions. You can do the this:<br/><br/>Post the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre> and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre> whereas * replaces the username or %groupname.<br/><br/>The configuration-file can be found at <i>~/.qprogram-starter/</i>. &File &Datoteka &Settings &Postavke &Help &Pomoć &Quit &Izađi &Configure &Podesi Version Verzija Ctrl+Q Ctrl+Q Ctrl+P Ctrl+P Ctrl+H Ctrl+H Preferences Preferences Postavke automatic automatski Gnome session Gnome sesija KDE session KDE sesija Shutdown Method: Metoda gašenja: The File "%1" is not writable! Maybe you just don't have the permissions to do so. U datoteku "%1" se ne može zapisivati! Možda nemate potrebnu dozvolu za zapisivanje. Welcome to qprogram-starter! If you want qprogram-starter to automatically shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Dobro došli u qprogram-starter! Ako želite da qprogram-starter vrši automatsko gašenje vašeg sistema a koristite Gnome Shell, onda je vrlo vjerovatno da će vam se tamo prikazati dijaloški okvir. Ako želite izvršiti direktno gašenje, onda vas molimo da otvorite opcije i podesite metodu gašenja na ConsoleKit ili nešto drugo. Prijave i primjedbe za greške i prijevode možete izvršiti na https://launchpad.net/~hakaishi Error Greška Please read this carefully! Molimo vas da ovo pažljivo pročitate! shutdown-qapps-1.6.8/qprogram-starter/src/translations/qprogram-starter-es.ts0000644000175000017500000002111212157032701027753 0ustar hakaishihakaishi Gui HH:mm:ss HH:mm:ss dddd dd.MM.yyyy dddd dd.MM.yyyy Sho&w Logs Mos&trar registros S&hutdown A&pagar &Hints Quits qprogram-starter when the last command finished Salir de qprogram-starter después de ejecutar la última orden &Quit with last command &Salir con la última orden &Logging &Registro Shutdown the computer after all commands finished The contents will be restored on every start of qprogram-starter El contenido será restaurado en cada inicio de qprogram-starter &Start &Iniciar &Abort &Interrumpir Browse... Examinar… Save text editors &contents Guardar el &contenido de los editores de texto Start the commands to this time and date A&t date and time: A esta hora y fecha: Select a program Seleccionar un programa The first text edit is empty! Information Información Processes aborted Procesos interrumpidos <b>process 1 finished!</b> <b>el proceso 1 ha finalizado</b> <b>process 1 & 2 finished!</b> <b>los procesos 1 y 2 han finalizado</b> Error Error <b>Failed to start!</b><br/>No such program or command. <b>process 1 crashed!</b><br/>This could be caused by invalid parameters or options. <b>process 2 crashed!</b><br/>This could be caused by invalid parameters or options. <b>Unknown error!</b><br/>This could be caused by invalid parameters or options. "%1": Failed to start! No such program or command. «%1»: Falló al iniciarse. No existe ese programa u orden. The command in the second text editor (if there is any) will be executed after the first one. The message boxes will close themselves after 10 seconds.<br/>To start a program just type i.e. "firefox" or "firefox www.google.com" and then click on Start. Commands etc. can be linked by "&&" etc. <br/><br/>If the process is "finished" although it is still running, then try the --nofork option (i.e. kopete --nofork). Note that this will also occure for some programs like gedit, firefox or gnome-terminal if they are already running.<br/><br/>When you want to start a program or command with sudo, please use for example gksu(do) or kdesu(do).<br/><br/>make examples:<br/>&nbsp;make -C /path/to/project<br/>&nbsp;make clean -C /path/to/project<br/><br/>About Errors:<br/>Because almost every program gives a different error code, it is impossible to say what happend. So just log the output and see what kind of error occured. The output files can be found at <i>~/.qprogram-starter/</i>.<br/><br/>If the shutdown won't work, it means that "sudo shutdown -P now" is used. This needs root permissions. You can do the this:<br/><br/>Post the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre> and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre> whereas * replaces the username or %groupname.<br/><br/>The configuration-file can be found at <i>~/.qprogram-starter/</i>. &File &Archivo &Settings &Configuración &Help Ay&uda &Quit &Salir &Configure &Configurar Version Versión Ctrl+Q Ctrl+Q Ctrl+P Ctrl+P Ctrl+H Ctrl+H Preferences Preferences Preferencias automatic automático Gnome session Sesión de Gnome KDE session Sesión de KDE Shutdown Method: Método de apagado: The File "%1" is not writable! Maybe you just don't have the permissions to do so. El archivo «%1» no es escribible. Quizá no tiene los permisos para hacerlo. Welcome to qprogram-starter! If you want qprogram-starter to automatically shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Error Error Please read this carefully! Lea esto cuidadosamente. shutdown-qapps-1.6.8/qprogram-starter/src/translations/qprogram-starter-en_GB.ts0000644000175000017500000002707712177127776030361 0ustar hakaishihakaishi Gui HH:mm:ss HH:mm:ss dddd dd.MM.yyyy dddd dd.MM.yyyy Sho&w Logs Sho&w Logs S&hutdown S&hutdown &Hints &Hints Quits qprogram-starter when the last command finished Quits qprogram-starter when the last command finished &Quit with last command &Quit with last command &Logging &Logging Shutdown the computer after all commands finished Shutdown the computer after all commands finished The contents will be restored on every start of qprogram-starter The contents will be restored on every start of qprogram-starter &Start &Start &Abort &Abort Browse... Browse… Save text editors &contents Save text editors &contents Start the commands to this time and date Start the commands to this time and date A&t date and time: A&t date and time: Select a program Select a program The first text edit is empty! The first text edit is empty! Information Information Processes aborted Processes aborted <b>process 1 finished!</b> <b>process 1 finished!</b> <b>process 1 & 2 finished!</b> <b>process 1 & 2 finished!</b> Error Error <b>Failed to start!</b><br/>No such program or command. <b>Failed to start!</b><br/>No such program or command. <b>process 1 crashed!</b><br/>This could be caused by invalid parameters or options. <b>process 1 crashed!</b><br/>This could be caused by invalid parameters or options. <b>process 2 crashed!</b><br/>This could be caused by invalid parameters or options. <b>process 2 crashed!</b><br/>This could be caused by invalid parameters or options. <b>Unknown error!</b><br/>This could be caused by invalid parameters or options. <b>Unknown error!</b><br/>This could be caused by invalid parameters or options. "%1": Failed to start! No such program or command. "%1": Failed to start! No such program or command. The command in the second text editor (if there is any) will be executed after the first one. The message boxes will close themselves after 10 seconds.<br/>To start a program just type i.e. "firefox" or "firefox www.google.com" and then click on Start. Commands etc. can be linked by "&&" etc. <br/><br/>If the process is "finished" although it is still running, then try the --nofork option (i.e. kopete --nofork). Note that this will also occure for some programs like gedit, firefox or gnome-terminal if they are already running.<br/><br/>When you want to start a program or command with sudo, please use for example gksu(do) or kdesu(do).<br/><br/>make examples:<br/>&nbsp;make -C /path/to/project<br/>&nbsp;make clean -C /path/to/project<br/><br/>About Errors:<br/>Because almost every program gives a different error code, it is impossible to say what happend. So just log the output and see what kind of error occured. The output files can be found at <i>~/.qprogram-starter/</i>.<br/><br/>If the shutdown won't work, it means that "sudo shutdown -P now" is used. This needs root permissions. You can do the this:<br/><br/>Post the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre> and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre> whereas * replaces the username or %groupname.<br/><br/>The configuration-file can be found at <i>~/.qprogram-starter/</i>. The command in the second text editor (if there is any) will be executed after the first one. The message boxes will close themselves after 10 seconds.<br/>To start a program just type i.e. "firefox" or "firefox www.google.com" and then click on Start. Commands etc. can be linked by "&&" etc. <br/><br/>If the process is "finished" although it is still running, then try the --nofork option (i.e. kopete --nofork). Note that this will also occur for some programs like gedit, firefox or gnome-terminal if they are already running.<br/><br/>When you want to start a program or command with sudo, please use for example gksu(do) or kdesu(do).<br/><br/>make examples:<br/>&nbsp;make -C /path/to/project<br/>&nbsp;make clean -C /path/to/project<br/><br/>About Errors:<br/>Because almost every program gives a different error code, it is impossible to say what happened. So just log the output and see what kind of error occurred. The output files can be found at <i>~/.qprogram-starter/</i>.<br/><br/>If the shutdown won't work, it means that "sudo shutdown -P now" is used. This needs root permissions. You can do this:<br/><br/>Post the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre> and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre> whereas * replaces the username or %groupname.<br/><br/>The configuration-file can be found at <i>~/.qprogram-starter/</i>. &File &File &Settings &Settings &Help &Help &Quit &Quit &Configure &Configure Version Version Ctrl+Q Ctrl+Q Ctrl+P Ctrl+P Ctrl+H Ctrl+H Preferences Preferences Preferences automatic automatic Gnome session Gnome session KDE session KDE session Shutdown Method: Shutdown Method: The File "%1" is not writable! Maybe you just don't have the permissions to do so. The File "%1" is not writable! Maybe you just don't have the permissions to do so. Welcome to qprogram-starter! If you want qprogram-starter to automatically shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Welcome to qprogram-starter! If you want qprogram-starter to automatically shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialogue from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anything concerning translations. Error Error Please read this carefully! Please read this carefully! shutdown-qapps-1.6.8/qprogram-starter/src/translations/qprogram-starter-ast.ts0000644000175000017500000002737612157032701030155 0ustar hakaishihakaishi Gui HH:mm:ss HH:mm:ss dddd dd.MM.yyyy dddd dd-MMM-yyyy Sho&w Logs Amosar re&xistros S&hutdown Apa&gar &Hints &Gabitos Quits qprogram-starter when the last command finished Colar de qprogram-starter en acabando l'últimu comandu &Quit with last command &Colar col últimu comandu &Logging &Rexistrar Shutdown the computer after all commands finished Apagar l'ordenador en acabando l'últimu comandu The contents will be restored on every start of qprogram-starter El conteníu restauraráse con cada arranque de qprogram-starter &Start &Aniciar &Abort &Encaboxar Browse... Esaminar… Save text editors &contents Guardar el &conteníu de los editores de testu Start the commands to this time and date Llanzar los comandos esta hora y data A&t date and time: A &hora y data Select a program Escoyer un programa The first text edit is empty! ¡La primera edición de testu ta balera! Information Información Processes aborted Procesos encaboxaos <b>process 1 finished!</b> <b>¡finó'l procesu 1!</b> <b>process 1 & 2 finished!</b> <b>¡finaron los procesos 1 y 2!</b> Error Error <b>Failed to start!</b><br/>No such program or command. <b>¡Nun pudo llanzase!</b><br/>Nun esiste esi programa o comandu. <b>process 1 crashed!</b><br/>This could be caused by invalid parameters or options. <b>¡el procesu 1 frañó!</b><br/>Esto pue debese a parámetros o opciones inválides. <b>process 2 crashed!</b><br/>This could be caused by invalid parameters or options. <b>¡el procesu 2 frañó!</b><br/>Esto pue debese a parámetros o opciones inválides. <b>Unknown error!</b><br/>This could be caused by invalid parameters or options. <b>¡Error desconocíu!</b><br/>Esto pue debese a parámetros o opciones inválidos. "%1": Failed to start! No such program or command. "%1": ¡Nun pudo arrancar! Nun esiste esi programa o comandu. The command in the second text editor (if there is any) will be executed after the first one. The message boxes will close themselves after 10 seconds.<br/>To start a program just type i.e. "firefox" or "firefox www.google.com" and then click on Start. Commands etc. can be linked by "&&" etc. <br/><br/>If the process is "finished" although it is still running, then try the --nofork option (i.e. kopete --nofork). Note that this will also occure for some programs like gedit, firefox or gnome-terminal if they are already running.<br/><br/>When you want to start a program or command with sudo, please use for example gksu(do) or kdesu(do).<br/><br/>make examples:<br/>&nbsp;make -C /path/to/project<br/>&nbsp;make clean -C /path/to/project<br/><br/>About Errors:<br/>Because almost every program gives a different error code, it is impossible to say what happend. So just log the output and see what kind of error occured. The output files can be found at <i>~/.qprogram-starter/</i>.<br/><br/>If the shutdown won't work, it means that "sudo shutdown -P now" is used. This needs root permissions. You can do the this:<br/><br/>Post the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre> and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre> whereas * replaces the username or %groupname.<br/><br/>The configuration-file can be found at <i>~/.qprogram-starter/</i>. El comandu del segundu editor de testu (si lu hai) executaráse dempués del primeru. Los cuadros de mensaxe zarraránse dempués de 10 segundos.<br/>P'aniciar un programa sólo tien que escribir p.ex. «firefox» o «firefox www.google.com» y, darréu, calcar Llanzar. Los comandos, etc. puen encadenase con «&&» etc. <br/><br/>Si'l procesu ta «fináu», anque inda tea executandose, pruebe la opción «--nofork» (p.ex. kopete --nofork). Tenga en cuenta qu'esto tamién asocederá con dellos programes como gedit, firefox o gnome-terminal si tá tan executandose.<br/><br/>Cuando quiera aniciar un programa o comandu con sudo, use por exemplu gksu(do) o kdesu(do).<br/><br/>Exemplos con «make»:<br/>&nbsp;make -C /camín/al/proyeutu<br/>&nbsp;make clean -C /camín/al/proyeutu<br/><br/>Tocante a los errores:<br/>Como casi cada programa devuelve un códigu d'error diferente, ye imposible dicir qué ye lo que pasó. Poro, namái tien que ver el rexistru de salida pa ver que tipu d'error asocedió. Los ficheros de salida puen alcontrase'n <i>~/.qprogram-starter/</i>.<br/><br/>Si l'apagáu nun funciona, quier dicir que ta usando «sudo shutdown-P now». Esto necesita permisu de root. Pue facer lo siguiente:<br/><br/>Apegue lo siguiente nun terminal:<pre>EDITOR=nano sudo -E visudo</pre> y amieste esta llinia:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre> onde * sustituye al nome d'usuariu o al nome de grupu.<br/><br/>El ficheru de configuración pue alcontrase'n <i>~/.qprogram-starter/</i>. &File &Ficheru &Settings Preferencie&s &Help A&yuda &Quit Co&lar &Configure &Configurar Version Versión Ctrl+Q Ctrl+L Ctrl+P Ctrl+P Ctrl+H Ctrl+Y Preferences Preferences Preferencies automatic automáticu Gnome session Sesión de Gnome KDE session Sesión de KDE Shutdown Method: Métodu d'apagáu: The File "%1" is not writable! Maybe you just don't have the permissions to do so. ¡El ficheru "%1" nun pue escribise! Seique nun tenga permisos pa facelo. Welcome to qprogram-starter! If you want qprogram-starter to automatically shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. ¡Bienveníu a qprogram-starter! Si quier que qprogram-starter apague'l sistema de mou automáticu y ta usando Gnome Shell, posiblemente recibirá un diálogu d'apagáu de la mesma. Si quier un apagáu direutu, por favor, considere entrar nes preferencies y configurar el métodu d'apagáu a ConsoleKit o daqué distinto. Visite con total llibertá https://launchpad.net/~hakaishi si quier informar de fallos o de cualquier cosa tocante a les traducciones. Error Error Please read this carefully! ¡Por favor, llea esto con atención! shutdown-qapps-1.6.8/qprogram-starter/src/translations/qprogram-starter-de.ts0000644000175000017500000002777612177127760027776 0ustar hakaishihakaishi Gui HH:mm:ss HH:mm:ss dddd dd.MM.yyyy dddd dd.MM.yyyy Sho&w Logs &zeige Protokolle S&hutdown S&hutdown &Hints &Hinweise Quits qprogram-starter when the last command finished Beendet qprogram-starter wenn der letzte Befehl fertig ist &Quit with last command Mit dem letzten &Befehl beenden &Logging &Protokollieren Shutdown the computer after all commands finished Schalte den Computer ab nachdem alle Befehle fertig sind The contents will be restored on every start of qprogram-starter Die Inhalte werden bei jedem Start von qprogram-starter wiederhergestellt &Start &Start &Abort &Abbrechen Browse... Durchsuchen... Save text editors &contents Speichere &Inhalte der Texteditoren Start the commands to this time and date Starte die Befehle zu diesem Termin A&t date and time: &Zu Datum und Uhrzeit: Select a program Wähle ein Programm The first text edit is empty! Der erste Texteditor ist leer! Information Information Processes aborted Prozesse abgebrochen <b>process 1 finished!</b> <b>Prozess 1 fertig!</br> <b>process 1 & 2 finished!</b> <b>Prozess 1 & 2 fertig!</b> Error Fehler <b>Failed to start!</b><br/>No such program or command. <b>Start fehlgeschlagen!</b><br/>Unbekannter Befehl oder unbekanntes Programm. <b>process 1 crashed!</b><br/>This could be caused by invalid parameters or options. <b>Prozess 1 abgestürzt!</b><br/>Dies könnte durch unzulässige Parameter oder Optionen verursacht worden sein. <b>process 2 crashed!</b><br/>This could be caused by invalid parameters or options. <b>Prozess 2 abgestürzt!</b><br/>Dies könnte durch unzulässige Parameter oder Optionen verursacht worden sein. <b>Unknown error!</b><br/>This could be caused by invalid parameters or options. <b>Unbekannter Fehler!</b><br/>Dies könnte durch unzulässige Parameter oder Optionen verursacht worden sein. "%1": Failed to start! No such program or command. "%1": Start fehlgeschlagen! Unbekannter Befehl oder unbekanntes Programm. The command in the second text editor (if there is any) will be executed after the first one. The message boxes will close themselves after 10 seconds.<br/>To start a program just type i.e. "firefox" or "firefox www.google.com" and then click on Start. Commands etc. can be linked by "&&" etc. <br/><br/>If the process is "finished" although it is still running, then try the --nofork option (i.e. kopete --nofork). Note that this will also occure for some programs like gedit, firefox or gnome-terminal if they are already running.<br/><br/>When you want to start a program or command with sudo, please use for example gksu(do) or kdesu(do).<br/><br/>make examples:<br/>&nbsp;make -C /path/to/project<br/>&nbsp;make clean -C /path/to/project<br/><br/>About Errors:<br/>Because almost every program gives a different error code, it is impossible to say what happend. So just log the output and see what kind of error occured. The output files can be found at <i>~/.qprogram-starter/</i>.<br/><br/>If the shutdown won't work, it means that "sudo shutdown -P now" is used. This needs root permissions. You can do the this:<br/><br/>Post the following in a terminal:<pre>EDITOR=nano sudo -E visudo</pre> and add this line:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre> whereas * replaces the username or %groupname.<br/><br/>The configuration-file can be found at <i>~/.qprogram-starter/</i>. Der Befehl im zweiten Texteditor (falls einer eingegeben wurde) wird nach dem Ersten ausgeführt. Die Hinweisfenster werden sich nach 10 Sekunden selbst beenden.<br/>Um ein Programm zu starten, gib einfach z.B. "firefox" oder "firefox www.google.de" ein und klicke dann auf Start. Befehle etc. können mit "&&" etc. verkettet werden.<br/><br/>Wenn der Prozess "beendet" ist, obwohl er noch läuft, probiere die --nofork Option (z.B. kopete --nofork). Beachte, dass dies auch bei einigen Programmen wie gedit, firefox oder gnome-terminal auftritt, wenn sie bereits laufen.<br/><br/>Wenn man ein Programm oder ein Kommando mit sudo starten möchte, benutze bitte z.B. gksu(do) oder kdesu(do).<br/><br/>make Beispiele:<br/>&nbsp;make -C /path/to/project<br/>&nbsp;make clean -C /path/to/project<br/><br/>Über die Fehler:<br/>Weil fast jedes Programm unterschiedliche Fehlerkodes ausgeben, ist es unmöglich zu sagen was passiert ist. Protokolliere also einfach die Ausgaben und sieh was für eine Art Fehler aufgetreten ist. Die Ausgabedateien kann man unter <i>~/.qprogram-starter/</i> finden.<br/><br/>Falls der Shutdown nich funktioniert, bedeutet das, dass "sudo shutdown -P now" benutzt wird. Dies benötigt Root-Rechte. Dies kann man machen:<br/><br/>Füge das Folgende in ein Terminal ein:<pre>EDITOR=nano sudo -E visudo</pre>und füge diese Zeile hinzu:<pre>* ALL = NOPASSWD:/sbin/shutdown</pre>wobei * den Benutzernamen oder %Gruppennamen ersetzt.<br/><br/>Die Konfigurations-Datei kann man unter <i>~/.qprogram-starter/</i> finden. &File &Datei &Settings &Einstellungen &Help &Hilfe &Quit &Beenden &Configure Einri&chten Version Version Ctrl+Q Strg+Q Ctrl+P Strg+P Ctrl+H Strg+H Preferences Preferences Einstellungen automatic automatisch Gnome session Gnome Sitzung KDE session KDE Sitzung Shutdown Method: Methode zum Herunterfahren: The File "%1" is not writable! Maybe you just don't have the permissions to do so. Die Datei "%1" ist nicht beschreibbar! Vielleicht haben Sie dazu einfach keine Rechte. Welcome to qprogram-starter! If you want qprogram-starter to automatically shutdown the system and you are using the Gnome Shell, then you are likely to get a shutdown dialog from there. If you want a direct shutdown, then please consider going into the preferences and setting the shutdown method to ConsoleKit or something else. Please feel free to visit https://launchpad.net/~hakaishi to report bugs or for anyting concerning translations. Willkommen bei qprogram-starter! Wenn Sie möchten, das qprogram-starter das System herunterfährt und Sie die Gnome Shell benuten, dann ist es wahrscheinlich, dass ein Shutdown-Dialog erscheint. Wenn Sie einen direkten Shutdown möchten, dann ziehen Sie bitte in Betracht in die Einstellungen zu gehen und die Shutdown-Methode auf ConsoleKit oder ähnliches zu stellen. Sie können gerne jederzeit https://launchpad.net/~hakaishi besuchen um Bugs oder alles was die Übersetzungen betrifft besuchen. Error Fehler Please read this carefully! Bitte lesen Sie dieses sorgfältig! shutdown-qapps-1.6.8/qprogram-starter/src/preferences.cpp0000644000175000017500000000777712161605404023776 0ustar hakaishihakaishi/* qprogram-starter, a program to start programs or commands, with the option to log output and errors and to shutdown the system. * Copyright (C) 2010-2013 Christian Metscher * 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 . */ #include "preferences.h" #include #include #include #include Preferences::Preferences(QWidget *parent): QDialog(parent){ setupUi(this); QString file; #ifdef Q_OS_WIN32 file = QDesktopServices::storageLocation(QDesktopServices::DataLocation) + "/qprogram-starter/qprogram-starter.conf"; #else //!Q_OS_WIN32 file = QDir::homePath() + "/.qprogram-starter/qprogram-starter.conf"; #endif settings = new QSettings(file, QSettings::IniFormat); setupMsgBoxes(); loadSettings(); connect(buttonBox, SIGNAL(accepted()), this, SLOT(saveToConfFile())); } void Preferences::setupMsgBoxes(){ msgBox = new QMessageBox(this); msgBox->setWindowTitle(tr("Error")); msgBox->setIcon(QMessageBox::Warning); msgBox->setWindowFlags(Qt::WindowStaysOnTopHint | Qt::Window); msgBox->setInformativeText(tr("The File \"%1\" is not writable!\n" "Maybe you just don't have the permissions to do so.").arg(settings->fileName())); if(settings->value("first_start", true).toBool()) { infoBox = new QMessageBox(this); infoBox->setWindowTitle(tr("Please read this carefully!")); infoBox->setIcon(QMessageBox::Information); infoBox->setInformativeText(tr("Welcome to qprogram-starter!\n" "If you want qprogram-starter to automatically shutdown the system " "and you are using the Gnome Shell, then you are likely to get a " "shutdown dialog from there. If you want a direct shutdown, then " "please consider going into the preferences and setting the shutdown " "method to ConsoleKit or something else.\n\nPlease feel free to visit " "https://launchpad.net/~hakaishi to report bugs or for anyting " "concerning translations.")); infoBox->setStandardButtons(QMessageBox::Ok); } } void Preferences::showEvent(QShowEvent* show_pref){ if(!settings->isWritable()) { QTimer::singleShot(15000, msgBox, SLOT(close())); msgBox->show(); } loadSettings(); QDialog::showEvent(show_pref); } void Preferences::loadSettings(){ if(settings->value("first_start", true).toBool()) { infoBox->show(); settings->setValue("first_start", false); } if(!settings->contains("shutdown_method")) settings->setValue("shutdown_method", 0); if(!settings->contains("CheckBoxes/atDate")) settings->setValue("CheckBoxes/atDate", false); if(!settings->contains("CheckBoxes/logging")) settings->setValue("CheckBoxes/logging", false); if(!settings->contains("CheckBoxes/shutdown")) settings->setValue("CheckBoxes/shutdown", false); if(!settings->contains("CheckBoxes/quitWithLastProcess")) settings->setValue("CheckBoxes/quitWithLastProcess", false); if(!settings->contains("Text/text1")) settings->setValue("Text/text1", QString()); if(!settings->contains("Text/text2")) settings->setValue("Text/text2", QString()); //read settings comboBox->setCurrentIndex(settings->value("shutdown_method", 0).toInt()); } void Preferences::saveToConfFile(){ settings->setValue("shutdown_method",comboBox->currentIndex()); } shutdown-qapps-1.6.8/qprogram-starter/src/gui.cpp0000644000175000017500000005163112322507065022250 0ustar hakaishihakaishi/* qprogram-starter, a program to start programs or commands, with the option to log output and errors and to shutdown the system. * Copyright (C) 2010-2013 Christian Metscher * 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 . */ #include "gui.h" #include "preferences.h" #include #include #include #ifndef Q_OS_WIN32 #include #endif Gui::Gui(){ setupUi(this); pref = new Preferences(this); myOutput = new QTextStream(stdout); if(!QProcessEnvironment().isEmpty()) shell = QProcess::systemEnvironment().filter("SHELL").first().remove("SHELL="); if(shell.isEmpty() && QFile("/bin/bash").exists()) shell = "/bin/bash"; else *myOutput << "E: No shells found! qprogram-starter might not work as expected..."; //Versioning QFile versionFile(":version"); versionFile.open(QIODevice::ReadOnly | QIODevice::Text); QTextStream in(&versionFile); statusBar()->showMessage(tr("Version ") + in.readLine(),15000); versionFile.close(); aborted = false; process2Started = false; dateEdit->setMinimumDate(QDate::currentDate()); dateTimeTimer = new QTimer(this); dateTimeTimer->start(1000); timer = new QTimer(this); process1 = new QProcess(this); process2 = new QProcess(this); logBox1 = new QTextEdit; logBox1->setReadOnly(true); logBox1->resize(520,450); logBox1->setWindowTitle("error log 1"); logBox1->setWindowModality(Qt::NonModal); logBox2 = new QTextEdit; logBox2->setReadOnly(true); logBox2->resize(520,450); logBox2->setWindowTitle("error log 2"); logBox2->setWindowModality(Qt::NonModal); hintMsgBox = new QTextEdit; hintMsgBox->setReadOnly(true); hintMsgBox->resize(520,450); hintMsgBox->setWindowTitle("Info"); hintMsgBox->setWindowModality(Qt::NonModal); hintMsgBox->setHtml(tr("The command in the second text editor (if there is any) will be executed after the first one. The message boxes will close themselves after 10 seconds.
To start a program just type i.e. \"firefox\" or \"firefox www.google.com\" and then click on Start. Commands etc. can be linked by \"&&\" etc.

If the process is \"finished\" although it is still running, then try the --nofork option (i.e. kopete --nofork). Note that this will also occure for some programs like gedit, firefox or gnome-terminal if they are already running.

When you want to start a program or command with sudo, please use for example gksu(do) or kdesu(do).

make examples:
 make -C /path/to/project
 make clean -C /path/to/project

About Errors:
Because almost every program gives a different error code, it is impossible to say what happend. So just log the output and see what kind of error occured. The output files can be found at ~/.qprogram-starter/.

If the shutdown won't work, it means that \"sudo shutdown -P now\" is used. This needs root permissions. You can do the this:

Post the following in a terminal:
EDITOR=nano sudo -E visudo
and add this line:
* ALL = NOPASSWD:/sbin/shutdown
whereas * replaces the username or %groupname.

The configuration-file can be found at ~/.qprogram-starter/.")); connect(action_Configure, SIGNAL(triggered(bool)), pref, SLOT(show())); connect(dateTimeTimer, SIGNAL(timeout()), this, SLOT(currentDateAndTime())); connect(startB, SIGNAL(clicked(bool)), this, SLOT(run())); connect(abortB, SIGNAL(clicked(bool)), this, SLOT(abortProcesses())); connect(saveButton, SIGNAL(clicked(bool)), this, SLOT(saveData())); connect(timer, SIGNAL(timeout()), this, SLOT(check())); connect(browse1, SIGNAL(clicked(bool)), this, SLOT(getProgram1())); connect(browse2, SIGNAL(clicked(bool)), this, SLOT(getProgram2())); connect(process1, SIGNAL(readyReadStandardOutput()), this, SLOT(output1())); connect(process1, SIGNAL(readyReadStandardError()), this, SLOT(errorOutput1())); connect(process1, SIGNAL(finished(int)), this, SLOT(checkForProcess2())); connect(process1, SIGNAL(error(QProcess::ProcessError)), this, SLOT(message())); connect(process2, SIGNAL(readyReadStandardOutput()), this, SLOT(output2())); connect(process2, SIGNAL(readyReadStandardError()), this, SLOT(errorOutput2())); connect(process2, SIGNAL(finished(int)), this, SLOT(shutdown_or_message())); connect(process2, SIGNAL(error(QProcess::ProcessError)), this, SLOT(message())); connect(this, SIGNAL(finished()), this, SLOT(shutdown_or_message())); connect(action_Hints, SIGNAL(triggered(bool)), this, SLOT(info_hint())); connect(showLogsButton, SIGNAL(clicked(bool)), this, SLOT(showLogs())); } Gui::~Gui(){ delete hintMsgBox; } void Gui::closeEvent(QCloseEvent* window_close){ if(!pref->settings->isWritable()) *myOutput << "W: qprogram-starter.conf is not writable!" << endl; else saveSettings(); //qApp->quit(); QMainWindow::closeEvent(window_close); } void Gui::currentDateAndTime(){ if(dateEdit->date() == QDate::currentDate()) timeEdit->setMinimumTime(QTime::currentTime()); else timeEdit->setMinimumTime(QTime(00,00)); } void Gui::info_hint(){ hintMsgBox->show(); } void Gui::check(){ //To check if start time is reached secondsToTimeInTheFuture = QDateTime::currentDateTime().secsTo(timeInTheFuture); if(secondsToTimeInTheFuture <= 0){ processArgs1 << "-c" << plainTextEdit->toPlainText(); process1->start(shell, processArgs1); timer->stop(); } } void Gui::getProgram1(){ program1 = QFileDialog::getOpenFileName(this, tr("Select a program"), "/usr/bin"); plainTextEdit->insertPlainText(program1); plainTextEdit->setFocus(); } void Gui::getProgram2(){ program2 = QFileDialog::getOpenFileName(this, tr("Select a program"), "/usr/bin"); plainTextEdit2->insertPlainText(program2); plainTextEdit2->setFocus(); } void Gui::run(){ //To start either the timer or start the process if(!plainTextEdit->toPlainText().isEmpty()){ nextDate = dateEdit->dateTime(); timeInTheFuture = nextDate.addSecs(timeEdit->time().hour()*3600 + timeEdit->time().minute()*60 + timeEdit->time().second()); plainTextEdit->setDisabled(true); atDateCheckBox->setDisabled(true); dateEdit->setDisabled(true); timeEdit->setDisabled(true); if(atDateCheckBox->isChecked()) timer->start(1000); else{ processArgs1 << "-c" << plainTextEdit->toPlainText(); process1->start(shell, processArgs1); } } else{ QMessageBox msgBox; msgBox.setWindowTitle("Error"); msgBox.setIcon(QMessageBox::Warning); msgBox.setWindowFlags(Qt::WindowStaysOnTopHint | Qt::Window); msgBox.setInformativeText(tr("The first text edit is empty!")); QTimer::singleShot(6000, &msgBox, SLOT(close())); msgBox.exec(); } outputProcess1 = ""; outputProcess2 = ""; errProcess1 = ""; errProcess2 = ""; } void Gui::abortProcesses(){ timer->stop(); aborted = true; process1->close(); process2->close(); processArgs1.clear(); processArgs2.clear(); QMessageBox msgBox; msgBox.setWindowTitle(tr("Information")); msgBox.setIcon(QMessageBox::Information); msgBox.setInformativeText(tr("Processes aborted")); msgBox.setWindowModality(Qt::NonModal); msgBox.setWindowFlags(Qt::WindowStaysOnTopHint); QTimer::singleShot(10000, &msgBox, SLOT(close())); msgBox.exec(); atDateCheckBox->setEnabled(true); if(atDateCheckBox->isChecked()){ dateEdit->setEnabled(true); timeEdit->setEnabled(true); } plainTextEdit->setEnabled(true); plainTextEdit2->setEnabled(true); aborted = false; } void Gui::checkForProcess2(){ //check if there is a second command if(process1->exitCode()==0 && process1->exitStatus()==0 && process1->error()==5 && !plainTextEdit2->toPlainText().isEmpty() && !aborted){ processArgs2 << "-c" << plainTextEdit2->toPlainText(); process2->start(shell, processArgs2); process2Started = true; plainTextEdit2->setDisabled(true); } else finished(); } void Gui::output1(){ //write output into a file if loggingCheckBox is checked QString string = QString::fromLocal8Bit(process1->readAllStandardOutput()); outputProcess1 += string; if(loggingCheckBox->isChecked()){ QFile outputLog1(QDir::homePath() + "/.qprogram-starter/outputLog1.txt"); if(!outputLog1.open(QIODevice::Append)) return; QTextStream str(&outputLog1); str << string; outputLog1.close(); } } void Gui::output2(){ //write output into a file if loggingCheckBox is checked QString string = QString::fromLocal8Bit(process2->readAllStandardOutput()); outputProcess2 += string; if(loggingCheckBox->isChecked()){ QFile outputLog2(QDir::homePath() + "/.qprogram-starter/outputLog2.txt"); if(!outputLog2.open(QIODevice::Append)) return; QTextStream str(&outputLog2); str << string; outputLog2.close(); } } void Gui::errorOutput1(){ //write error output into a file if loggingCheckBox is checked QString string = QString::fromLocal8Bit(process1->readAllStandardError()); errProcess1 += string; if(loggingCheckBox->isChecked()){ QFile errorLog1(QDir::homePath() + "/.qprogram-starter/errorLog1.txt"); if(!errorLog1.open(QIODevice::Append)) return; QTextStream str(&errorLog1); str << string; errorLog1.close(); } } void Gui::errorOutput2(){ //write error output into a file if loggingCheckBox is checked QString string = QString::fromLocal8Bit(process2->readAllStandardError()); errProcess2 += string; if(loggingCheckBox->isChecked()){ QFile errorLog2(QDir::homePath() + "/.qprogram-starter/errorLog2.txt"); if(!errorLog2.open(QIODevice::Append)) return; QTextStream str(&errorLog2); str << string; errorLog2.close(); } } void Gui::showLogs(){ if(!outputProcess1.isEmpty() || !errProcess1.isEmpty() || !outputProcess2.isEmpty() || !errProcess2.isEmpty()){ if(!outputProcess1.isEmpty()) logBox1->append(outputProcess1); if(!errProcess1.isEmpty()) logBox1->append(errProcess1); logBox1->show(); if(process1->exitCode()==0 && process1->exitStatus()==0 && process1->error()==5 && !plainTextEdit2->toPlainText().isEmpty() && !aborted){ if(!outputProcess2.isEmpty()) logBox2->append(outputProcess2); if(!errProcess2.isEmpty()) logBox2->append(errProcess2); logBox2->show(); } } } void Gui::shutdown_or_message(){ if(!shutdownCheckBox->isChecked() || aborted) { message(); return; } else { saveSettings(); #ifndef Q_OS_WIN32 bool g = false; //gnome bool k = false; //kde bool g_pwr1 = false; bool g_pwr2 = false; bool hal = false; QDBusMessage response; QDBusInterface gnomeSessionManager("org.gnome.SessionManager", "/org/gnome/SessionManager", "org.gnome.SessionManager", QDBusConnection::sessionBus()); QDBusInterface kdeSessionManager("org.kde.ksmserver", "/KSMServer", "org.kde.KSMServerInterface", QDBusConnection::sessionBus()); QDBusInterface freedesktopHal("org.freedesktop.Hal", "/org/freedesktop/Hal/devices/computer", "org.freedesktop.Hal.Device.SystemPowerManagement", QDBusConnection::systemBus()); QDBusInterface freedesktopConsoleKit("org.freedesktop.ConsoleKit", "/org/freedesktop/ConsoleKit/Manager", "org.freedesktop.ConsoleKit.Manager", QDBusConnection::systemBus()); #else QProcess::startDetached("shutdown -r -f -t 00"); // Windows command to reboot immediately } #endif if(pref->comboBox->currentIndex() == 0){ //automatic if(QProcess::startDetached("/usr/bin/systemctl poweroff")) return; g_pwr1 = QProcess::startDetached("gnome-power-cmd.sh shutdown"); g_pwr2 = QProcess::startDetached("gnome-power-cmd shutdown"); if(!g_pwr1 && !g_pwr2){ *myOutput << "W: gnome-power-cmd and gnome-power-cmd.sh didn't work" << endl; response = gnomeSessionManager.call("RequestShutdown"); if(response.type() == QDBusMessage::ErrorMessage) *myOutput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; else g = true; if(!g){ response = gnomeSessionManager.call("Shutdown"); if(response.type() == QDBusMessage::ErrorMessage) *myOutput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; else g = true; } } else g = true; if(!g){ response = kdeSessionManager.call("logout", 0, 2, 2); if(response.type() == QDBusMessage::ErrorMessage) *myOutput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; else k = true; } if(!g && !k){ response = freedesktopHal.call("Shutdown"); if(response.type() == QDBusMessage::ErrorMessage) *myOutput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; else hal = true; } if(!g && !k && !hal){ response = freedesktopConsoleKit.call("Stop"); if(response.type() == QDBusMessage::ErrorMessage){ *myOutput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; QProcess::startDetached("sudo shutdown -P now"); } } } //end of automatic if(pref->comboBox->currentIndex() == 1){ //gnome g_pwr1 = QProcess::startDetached("gnome-power-cmd.sh shutdown"); g_pwr2 = QProcess::startDetached("gnome-power-cmd shutdown"); if(!g_pwr1 && !g_pwr2){ *myOutput << "W: gnome-power-cmd and gnome-power-cmd.sh didn't work" << endl; response = gnomeSessionManager.call("RequestShutdown"); if(response.type() == QDBusMessage::ErrorMessage) *myOutput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; else g = true; if(!g){ response = gnomeSessionManager.call("Shutdown"); if(response.type() == QDBusMessage::ErrorMessage) *myOutput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } } } if(pref->comboBox->currentIndex() == 2){ //kde response = kdeSessionManager.call("logout", 0, 2, 2); if(response.type() == QDBusMessage::ErrorMessage) *myOutput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } if(pref->comboBox->currentIndex() == 3){ //hal response = freedesktopHal.call("Shutdown"); if(response.type() == QDBusMessage::ErrorMessage) *myOutput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } if(pref->comboBox->currentIndex() == 4){ //consoleKit response = freedesktopConsoleKit.call("Stop"); if(response.type() == QDBusMessage::ErrorMessage) *myOutput << "W: " << response.errorName() << ": " << response.errorMessage() << endl; } if(pref->comboBox->currentIndex() == 5){ //sudo if(QProcess::startDetached("sudo /usr/bin/systemctl poweroff")) return; QProcess::startDetached("sudo shutdown -P now"); QProcess::startDetached("sudo shutdown -h -P now"); } } processArgs1.clear(); processArgs2.clear(); qApp->quit(); //otherwise some systems might prompt to quit the program } void Gui::message(){ if(!aborted){ QMessageBox msgBox; if(process1->exitCode()==0 && process1->exitStatus()==0 && process1->error()==5){ if(plainTextEdit2->toPlainText().isEmpty()){ msgBox.setWindowTitle(tr("Information")); msgBox.setIcon(QMessageBox::Information); msgBox.setInformativeText(tr("process 1 finished!")); } } if(process2Started && process2->exitCode()==0 && process2->exitStatus()==0 && process2->error()==5){ msgBox.setWindowTitle(tr("Information")); msgBox.setIcon(QMessageBox::Information); msgBox.setInformativeText(tr("process 1 & 2 finished!")); } if((process1->exitCode()!=0 || process1->error()!=5) || (process2->exitCode()!=0 || process2->error()!=5)){ msgBox.setWindowTitle(tr("Error")); msgBox.setIcon(QMessageBox::Critical); if(process1->error()==0 || process2->error()==0){ msgBox.setInformativeText(tr("Failed to start!
" "No such program or command.")); if(loggingCheckBox->isChecked()){ if(process1->error()==0){ QFile errorLog1(QDir::homePath() + "/.qprogram-starter/errorLog1.txt"); if(!errorLog1.open(QIODevice::Append)) return; QTextStream err1(&errorLog1); err1 << tr("\"%1\": Failed to start! No such program or " "command.\n").arg(plainTextEdit->toPlainText()); errorLog1.close(); } if(process2->error()==0){ QFile errorLog2(QDir::homePath() + "/.qprogram-starter/errorLog2.txt"); if(!errorLog2.open(QIODevice::Append)) return; QTextStream err2(&errorLog2); err2 << tr("\"%1\": Failed to start! No such program or " "command.\n").arg(plainTextEdit2->toPlainText()); errorLog2.close(); } } } else if(process1->error()==1 || process1->exitCode()==1) msgBox.setInformativeText(tr("process 1 crashed!
" "This could be caused by invalid parameters or options.")); else if(process2->error()==1 || process2->exitCode()==1) msgBox.setInformativeText(tr("process 2 crashed!
" "This could be caused by invalid parameters or options.")); else msgBox.setInformativeText(tr("Unknown error!
" "This could be caused by invalid parameters or options.")); } msgBox.setWindowModality(Qt::NonModal); msgBox.setWindowFlags(Qt::WindowStaysOnTopHint); QTimer::singleShot(10000, &msgBox, SLOT(close())); msgBox.exec(); } atDateCheckBox->setEnabled(true); if(atDateCheckBox->isChecked()){ dateEdit->setEnabled(true); timeEdit->setEnabled(true); } plainTextEdit->setEnabled(true); plainTextEdit2->setEnabled(true); if(quitCheckBox->isChecked() && !aborted) close(); processArgs1.clear(); processArgs2.clear(); } void Gui::saveData(){ pref->settings->setValue("Text/text1", plainTextEdit->toPlainText()); pref->settings->setValue("Text/text2", plainTextEdit2->toPlainText()); } void Gui::saveSettings(){ pref->settings->setValue("CheckBoxes/atDate", atDateCheckBox->isChecked()); pref->settings->setValue("CheckBoxes/logging", loggingCheckBox->isChecked()); pref->settings->setValue("CheckBoxes/shutdown", shutdownCheckBox->isChecked()); pref->settings->setValue("CheckBoxes/quitWithLastProcess", quitCheckBox->isChecked()); } void Gui::loadSettings(){ atDateCheckBox->setChecked(pref->settings->value("CheckBoxes/atDate").toBool()); loggingCheckBox->setChecked(pref->settings->value("CheckBoxes/logging").toBool()); shutdownCheckBox->setChecked(pref->settings->value("CheckBoxes/shutdown").toBool()); quitCheckBox->setChecked(pref->settings->value("CheckBoxes/quitWithLastProcess").toBool()); plainTextEdit->setPlainText(pref->settings->value("Text/text1").toString()); plainTextEdit2->setPlainText(pref->settings->value("Text/text2").toString()); } shutdown-qapps-1.6.8/qprogram-starter/src/main.cpp0000644000175000017500000000302312202261776022403 0ustar hakaishihakaishi/* qprogram-starter, a program to start programs or commands, with the option to log output and errors and to shutdown the system. * Copyright (C) 2010-2013 Christian Metscher * 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 . */ #include "gui.h" #include #include #include int main (int argc, char *argv[]){ QApplication app(argc, argv); //Qt translations QTranslator qtTranslator; qtTranslator.load("qt_" + QLocale::system().name(), QLibraryInfo::location(QLibraryInfo::TranslationsPath)); app.installTranslator(&qtTranslator); //My translations QTranslator translator; QString trDir = "/usr/share/qprogram-starter/translations/"; translator.load(trDir + "qprogram-starter-" + QLocale::system().name()); app.installTranslator(&translator); Gui window; window.loadSettings(); window.show(); return app.exec(); } shutdown-qapps-1.6.8/qprogram-starter/src/pixmap/0000755000175000017500000000000012247426006022251 5ustar hakaishihakaishishutdown-qapps-1.6.8/qprogram-starter/src/pixmap/qprogram-starter.xpm0000644000175000017500000000461512157032701026312 0ustar hakaishihakaishi/* XPM */ static char * qprogram_starter_xpm[] = { "32 32 82 1", " c None", ". c #1A0000", "+ c #FF0000", "@ c #BA0000", "# c #260000", "$ c #150000", "% c #FE0000", "& c #1D0000", "* c #B30000", "= c #F80000", "- c #B90000", "; c #000000", "> c #1F0000", ", c #970000", "' c #F10000", ") c #360000", "! c #9B0000", "~ c #190000", "{ c #A20000", "] c #220000", "^ c #AA0000", "/ c #FB0000", "( c #020000", "_ c #A30000", ": c #410000", "< c #010000", "[ c #FC0000", "} c #FD0000", "| c #460000", "1 c #070000", "2 c #AD0000", "3 c #F40000", "4 c #380000", "5 c #A10000", "6 c #D10000", "7 c #6F0000", "8 c #500000", "9 c #EB0000", "0 c #230000", "a c #990000", "b c #C90000", "c c #080000", "d c #880000", "e c #FA0000", "f c #DF0000", "g c #3A0000", "h c #B50000", "i c #C10000", "j c #C60000", "k c #B80000", "l c #130000", "m c #840000", "n c #450000", "o c #820000", "p c #B40000", "q c #BD0000", "r c #C00000", "s c #C30000", "t c #140000", "u c #BE0000", "v c #890000", "w c #F50000", "x c #100000", "y c #0B0000", "z c #E60000", "A c #C20000", "B c #AC0000", "C c #0A0000", "D c #950000", "E c #CA0000", "F c #600000", "G c #390000", "H c #B10000", "I c #F30000", "J c #3F0000", "K c #750000", "L c #5B0000", "M c #A00000", "N c #160000", "O c #180000", "P c #910000", "Q c #170000", " ", " .+++++++++++++++++++++++++@# ", " $+%+++++++++++++++++++++++%%+& ", " *+%++++++++++++++++++++++++=+- ", " +++;;;;;;;;;;;;>;;;;;;;;;;;+%+ ", " +++;;;;;;;;;;;,');;;;;;;;;;+++ ", " +++;;;;;;;;;;!+%+~;;;;;;;;;+++ ", " +++;;;;;;;;;{+%%%+];;;;;;;;+++ ", " +++;;;;;;;;^++%%%/+](;;;;;;+++ ", " +++;;;;;;;_+%+++%+%/:<;;;;;+++ ", " +++;;;;;;,+[%}+%%%%%+|1;;;;+++ ", " +++;;;;;2+%++++3+}%+%+4;;;;+++ ", " +++;;;;5+%%%+67;89+}+}+0;<;+++ ", " +++;;;a+}%}+bc;;;;;;;; version.txt qprogram-starter/src/pixmap/qprogram-starter.xpm