package.xml0000664000175000017500000012315413113231033011273 0ustar janjan Horde_Alarm pear.horde.org Horde Alarm Libraries An interface to deal with reminders, alarms and notifications through a standardized API. The following notification methods are currently available: standard Horde notifications, popups, emails. Jan Schneider jan jan@horde.org yes 2017-05-30 2.2.10 1.2.0 stable stable LGPL-2.1 * [jan] Fix catching database backend exceptions. 5.3.0 8.0.0alpha1 8.0.0alpha1 1.7.0 Horde_Date pear.horde.org 2.0.0 3.0.0alpha1 3.0.0alpha1 Horde_Exception pear.horde.org 2.0.0 3.0.0alpha1 3.0.0alpha1 Horde_Translation pear.horde.org 2.2.0 3.0.0alpha1 3.0.0alpha1 Horde_Db pear.horde.org 2.2.0 3.0.0alpha1 3.0.0alpha1 Horde_Log pear.horde.org 2.0.0 3.0.0alpha1 3.0.0alpha1 Horde_Mail pear.horde.org 2.0.0 3.0.0alpha1 3.0.0alpha1 Horde_Mime pear.horde.org 2.0.0 3.0.0alpha1 3.0.0alpha1 Horde_Notification pear.horde.org 2.0.0 3.0.0alpha1 3.0.0alpha1 Horde_Perms pear.horde.org 2.0.0 3.0.0alpha1 3.0.0alpha1 Horde_Prefs pear.horde.org 2.0.0 3.0.0alpha1 3.0.0alpha1 Horde_Test pear.horde.org 2.1.0 3.0.0alpha1 3.0.0alpha1 1.0.0alpha1 1.0.0 alpha alpha 2011-03-08 LGPL-2.1 * First alpha release for Horde 4. 1.0.0beta1 1.0.0 beta beta 2011-03-16 LGPL-2.1 * First beta release for Horde 4. 1.0.0RC1 1.0.0 beta beta 2011-03-22 LGPL-2.1 * First release candidate for Horde 4. 1.0.0RC2 1.0.0 beta beta 2011-03-29 LGPL-2.1 * Second release candidate for Horde 4. * [jan] Fix fatal error in desktop notifications (Bug #9727). 1.0.0 1.0.0 stable stable 2011-04-06 LGPL-2.1 * First stable release for Horde 4. * [jan] Remove last bits of Core dependency. 1.0.1 1.0.0 stable stable 2011-05-18 LGPL-2.1 * [jan] Updated Spanish translation. 1.0.2 1.0.0 stable stable 2011-06-01 LGPL-2.1 * [jan] Updated Slovak translation. 1.0.3 1.0.0 stable stable 2011-07-05 LGPL-2.1 * [jan] Update Lithuanian translation. * [jan] Update Brazilian Portuguese translation. 1.0.4 1.0.0 stable stable 2011-07-27 LGPL-2.1 * [jan] Update Latvian translation. 1.0.5 1.0.0 stable stable 2011-11-08 LGPL-2.1 * [jan] Update Croatian translation. 1.0.6 1.0.0 stable stable 2011-11-22 LGPL-2.1 * [jan] Update Estonian translation. 1.0.7 1.0.0 stable stable 2011-12-06 LGPL-2.1 * [jan] Catch exceptions from Horde_Mime when sending alarm messages (Bug #10388). 1.0.8 1.0.0 stable stable 2011-12-06 LGPL-2.1 * [mjr] Fix issue that prevented Desktop Notifications from displaying. 2.0.0alpha1 1.0.0 alpha stable 2012-07-05 LGPL-2.1 * First alpha release for Horde 5. 2.0.0beta1 1.0.0 beta stable 2012-07-19 LGPL-2.1 * First beta release for Horde 5. 2.0.0beta2 1.0.0 beta stable 2012-08-29 LGPL-2.1 * [jan] Fix Desktop notifications (Bug #10810). 2.0.0RC1 1.0.0 beta stable 2012-10-26 LGPL-2.1 * [mjr] Fix a bug that broke Desktop Notifications. 2.0.0 1.0.0 stable stable 2012-10-30 LGPL-2.1 * First stable release for Horde 5. * [jan] Update Polish translation (Krzysztof Kozera <krzysztof113@o2.pl>). 2.0.1 1.0.0 stable stable 2012-11-06 LGPL-2.1 * [jan] Update Dutch translation (Arjen de Korte <build+horde@de-korte.org>). 2.0.2 1.0.0 stable stable 2012-11-19 LGPL-2.1 * [mms] Use new Horde_Test layout. 2.0.3 1.0.0 stable stable 2013-01-09 LGPL-2.1 * [jan] Update Basque translation (Ibon Igartua <ibon.igartua@ehu.es>). 2.0.4 1.0.0 stable stable 2013-03-05 LGPL-2.1 * [jan] Fix unit tests. 2.0.5 1.0.0 stable stable 2013-10-21 LGPL-2.1 * [mjr] Fix initializing Alarms when using PDO_Oci or PDO_PostgreSQL. 2.1.0 1.1.0 stable stable 2014-03-03 LGPL-2.1 * [jan] Add getErrors() to return errors from alarm notifications. * [jan] Catch errors from alarm notifications (Bug #12951). * [jan] Fix compatibility with Oracle. 2.2.0 1.2.0 stable stable 2014-04-03 LGPL-2.1 * [mjr] Add support for multiple instances of the same alarm, such as for a recurring event. 2.2.1 1.2.0 stable stable 2014-05-21 LGPL-2.1 * [jan] Test all available SQL backends. * [jan] Make tests work with PEAR-installed package. * [jan] Use correct schema table name when running tests. 2.2.2 1.2.0 stable stable 2014-10-23 LGPL-2.1 * [jan] Update Czech translation (Michael Grafnetter <michael.grafnetter@outlook.com>). 2.2.3 1.2.0 stable stable 2014-11-06 LGPL-2.1 * [jan] More compatibility fixes for Oracle. 2.2.4 1.2.0 stable stable 2015-02-10 LGPL-2.1 * [mms] Fix fatal errors when stored alarm data cannot be unserialized. 2.2.5 1.2.0 stable stable 2015-07-31 LGPL-2.1 * [jan] Updated DE translation. * [jan] Updated UK translation. 2.2.6 1.2.0 stable stable 2016-02-01 LGPL-2.1 * [jan] Mark PHP 7 as supported. 2.2.7 1.2.0 stable stable 2016-03-21 LGPL-2.1 * [jan] Update Greek translation (Limperis Antonis <limperis@cti.gr>). 2.2.8 1.2.0 stable stable 2016-08-31 LGPL-2.1 * [jan] Use more efficient database access in SQL backend. 2.2.9 1.2.0 stable stable 2017-05-03 LGPL-2.1 * [jan] Return the alarm ID with the getErrors() result. 2.2.10 1.2.0 stable stable 2017-05-30 LGPL-2.1 * [jan] Fix catching database backend exceptions. Horde_Alarm-2.2.10/doc/Horde/Alarm/COPYING0000664000175000017500000005765613113231033015763 0ustar janjan GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. When we speak of free software, we are referring to freedom of use, 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 this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things. To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it. For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights. We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs. When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library. We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you". A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) "Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) The modified work must itself be a software library. b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. This option is useful when you wish to copy part of the code of the Library into a program that is not a library. 4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. 5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. 6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. 10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. 11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), 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 distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 13. The Free Software Foundation may publish revised and/or new versions of the Lesser 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 Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "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 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY 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 LIBRARY (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 LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS Horde_Alarm-2.2.10/doc/Horde/Alarm/UPGRADING0000664000175000017500000000131113113231033016144 0ustar janjan======================= Upgrading Horde_Alarm ======================= :Contact: dev@lists.horde.org .. contents:: Contents .. section-numbering:: This lists the API changes between releases of the package. Upgrading to 2.2.9 ================== - Horde_Alarm - getErrors() The keys of the returned error list contains the alarm ID now, suffixed by a NUL character and some alarm method suffix. Upgrading to 2.2 ================ - Horde_Alarm - get(), set() Added the 'instanceid' member to the alarm hash. - exists() Added the $instanceid parameter. Upgrading to 2.1 ================ - Horde_Alarm - getErrors() This method has been added. Horde_Alarm-2.2.10/lib/Horde/Alarm/Handler/Desktop.php0000664000175000017500000000554413113231033020415 0ustar janjan * @category Horde * @license http://www.horde.org/licenses/lgpl21 LGPL-2.1 * @package Alarm */ /** * The Horde_Alarm_Handler_Desktop class is a Horde_Alarm handler that notifies * of active alarms by desktop notification through webkit browsers. * * @author Jan Schneider * @category Horde * @copyright 2010-2017 Horde LLC * @license http://www.horde.org/licenses/lgpl21 LGPL-2.1 * @package Alarm */ class Horde_Alarm_Handler_Desktop extends Horde_Alarm_Handler { /** * A notification callback. * * @var callback */ protected $_jsNotify; /** * An icon URL. * * @var string */ protected $_icon; /** * Constructor. * * @param array $params Any parameters that the handler might need. * Required parameter: * - js_notify: A Horde_Notification_Handler * instance. * Optional parameter: * - icon: URL of an icon to display. */ public function __construct(array $params = null) { if (!isset($params['js_notify'])) { throw new InvalidArgumentException('Parameter \'js_notify\' missing.'); } if (!is_callable($params['js_notify'])) { throw new Horde_Alarm_Exception('Parameter \'js_notify\' is not a valid callback.'); } $this->_jsNotify = $params['js_notify']; if (isset($params['icon'])) { $this->_icon = $params['icon']; } } /** * Notifies about an alarm through javascript. * * @param array $alarm An alarm hash. */ public function notify(array $alarm) { $js = sprintf('if(window.webkitNotifications)(function(){function show(){switch(window.webkitNotifications.checkPermission()){case 0:var notify=window.webkitNotifications.createNotification("%s",%s,%s);notify.show();(function(){notify.cancel()}).delay(5);break;case 1:window.webkitNotifications.requestPermission(function(){});break}}show()})()', $this->_icon, Horde_Serialize::serialize($alarm['title'], Horde_Serialize::JSON), isset($alarm['text']) ? Horde_Serialize::serialize($alarm['text'], Horde_Serialize::JSON) : "''"); call_user_func($this->_jsNotify, $js); } /** * Returns a human readable description of the handler. * * @return string */ public function getDescription() { return Horde_Alarm_Translation::t("Desktop notification (with certain browsers)"); } } Horde_Alarm-2.2.10/lib/Horde/Alarm/Handler/Mail.php0000664000175000017500000001145413113231033017663 0ustar janjan * @category Horde * @license http://www.horde.org/licenses/lgpl21 LGPL-2.1 * @package Alarm */ /** * The Horde_Alarm_Handler_Mail class is a Horde_Alarm handler that notifies * of active alarms by e-mail. * * @author Jan Schneider * @category Horde * @copyright 2010-2017 Horde LLC * @license http://www.horde.org/licenses/lgpl21 LGPL-2.1 * @package Alarm */ class Horde_Alarm_Handler_Mail extends Horde_Alarm_Handler { /** * An identity factory. * * @var Horde_Core_Factory_Identity */ protected $_identity; /** * A Horde_Mail_Transport object. * * @var Horde_Mail_Transport */ protected $_mail; /** * Constructor. * * @param array $params Any parameters that the handler might need. * Required parameter: * - identity: An identity factory that implements * create(). * - mail: A Horde_Mail_Transport instance. * * @throws Horde_Alarm_Exception */ public function __construct(array $params = null) { foreach (array('identity', 'mail') as $param) { if (!isset($params[$param])) { throw new Horde_Alarm_Exception('Parameter \'' . $param . '\' missing.'); } } if (!method_exists($params['identity'], 'create')) { throw new Horde_Alarm_Exception('Parameter \'identity\' does not have a method create().'); } if (!($params['mail'] instanceof Horde_Mail_Transport)) { throw new Horde_Alarm_Exception('Parameter \'mail\' is not a Horde_Mail_Transport object.'); } $this->_identity = $params['identity']; $this->_mail = $params['mail']; } /** * Notifies about an alarm by e-mail. * * @param array $alarm An alarm hash. * * @throws Horde_Alarm_Exception */ public function notify(array $alarm) { if (!empty($alarm['internal']['mail']['sent'])) { return; } if (empty($alarm['params']['mail']['email'])) { if (empty($alarm['user'])) { return; } $email = $this->_identity ->create($alarm['user']) ->getDefaultFromAddress(true); } else { $email = $alarm['params']['mail']['email']; } try { $mail = new Horde_Mime_Mail(array( 'Subject' => $alarm['title'], 'To' => $email, 'From' => $email, 'Auto-Submitted' => 'auto-generated', 'X-Horde-Alarm' => $alarm['title'])); if (isset($alarm['params']['mail']['mimepart'])) { $mail->setBasePart($alarm['params']['mail']['mimepart']); } elseif (empty($alarm['params']['mail']['body'])) { $mail->setBody($alarm['text']); } else { $mail->setBody($alarm['params']['mail']['body']); } $mail->send($this->_mail); } catch (Horde_Mime_Exception $e) { throw new Horde_Alarm_Exception($e); } $alarm['internal']['mail']['sent'] = true; $this->alarm->internal($alarm['id'], $alarm['user'], $alarm['internal']); } /** * Resets the internal status of the handler, so that alarm notifications * are sent again. * * @param array $alarm An alarm hash. */ public function reset(array $alarm) { $alarm['internal']['mail']['sent'] = false; $this->alarm->internal($alarm['id'], $alarm['user'], $alarm['internal']); } /** * Returns a human readable description of the handler. * * @return string */ public function getDescription() { return Horde_Alarm_Translation::t("Email"); } /** * Returns a hash of user-configurable parameters for the handler. * * The parameters are hashes with parameter names as keys and parameter * information as values. The parameter information is a hash with the * following keys: * - type: the parameter type as a preference type. * - desc: a parameter description. * - required: whether this parameter is required. * * @return array */ public function getParameters() { return array( 'email' => array( 'type' => 'text', 'desc' => Horde_Alarm_Translation::t("Email address (optional)"), 'required' => false)); } } Horde_Alarm-2.2.10/lib/Horde/Alarm/Handler/Notify.php0000664000175000017500000000646713113231033020261 0ustar janjan * @category Horde * @license http://www.horde.org/licenses/lgpl21 LGPL-2.1 * @package Alarm */ /** * The Horde_Alarm_Handler_Notification class is a Horde_Alarm handler that * notifies of active alarms over the Horde_Notification system. * * @author Jan Schneider * @category Horde * @copyright 2010-2017 Horde LLC * @license http://www.horde.org/licenses/lgpl21 LGPL-2.1 * @package Alarm */ class Horde_Alarm_Handler_Notify extends Horde_Alarm_Handler { /** * A notification handler injector. * * @var object */ protected $_notification; /** * Whether a sound already had been played during the page request. * * @var boolean */ protected $_soundPlayed = false; /** * Constructor. * * @param array $params Any parameters that the handler might need. * Required parameter: * - notification: (object) A factory that implements create() and * returns a Notification object. * * @throws Horde_Alarm_Exception */ public function __construct(array $params = null) { if (!isset($params['notification'])) { throw new Horde_Alarm_Exception('Parameter \'notification\' missing.'); } if (!method_exists($params['notification'], 'create')) { throw new Horde_Alarm_Exception('Parameter \'notification\' does not have a method create().'); } $this->_notification = $params['notification']; } /** * Notifies about an alarm through Horde_Notification. * * @param array $alarm An alarm hash. */ public function notify(array $alarm) { $notification = $this->_notification->create(); $notification->push($alarm['title'], 'horde.alarm', array('alarm' => $alarm)); if (!empty($alarm['params']['notify']['sound']) && !isset($this->_soundPlayed[$alarm['params']['notify']['sound']])) { $notification->attach('audio'); $notification->push($alarm['params']['notify']['sound'], 'audio'); $this->_soundPlayed[$alarm['params']['notify']['sound']] = true; } } /** * Returns a human readable description of the handler. * * @return string */ public function getDescription() { return Horde_Alarm_Translation::t("Inline"); } /** * Returns a hash of user-configurable parameters for the handler. * * The parameters are hashes with parameter names as keys and parameter * information as values. The parameter information is a hash with the * following keys: * - type: the parameter type as a preference type. * - desc: a parameter description. * - required: whether this parameter is required. * * @return array */ public function getParameters() { return array( 'sound' => array( 'type' => 'sound', 'desc' => Horde_Alarm_Translation::t("Play a sound?"), 'required' => false)); } } Horde_Alarm-2.2.10/lib/Horde/Alarm/Exception.php0000664000175000017500000000125113113231033017354 0ustar janjan * @category Horde * @license http://www.horde.org/licenses/lgpl21 LGPL-2.1 * @package Alarm */ /** * Exception handler for the Horde_Alarm library. * * @author Michael Slusarz * @category Horde * @copyright 2010-2017 Horde LLC * @license http://www.horde.org/licenses/lgpl21 LGPL-2.1 * @package Alarm */ class Horde_Alarm_Exception extends Horde_Exception_Wrapped { } Horde_Alarm-2.2.10/lib/Horde/Alarm/Handler.php0000664000175000017500000000357113113231033017002 0ustar janjan * @category Horde * @license http://www.horde.org/licenses/lgpl21 LGPL-2.1 * @package Alarm */ /** * The Horde_Alarm_Handler class is an interface for all Horde_Alarm handlers * that notifies of active alarms. * * @author Jan Schneider * @category Horde * @copyright 2010-2017 Horde LLC * @license http://www.horde.org/licenses/lgpl21 LGPL-2.1 * @package Alarm */ abstract class Horde_Alarm_Handler { /** * The alarm object to that this handler is attached. * * Horde_Alarm */ public $alarm; /** * Notifies about an alarm. * * @param array $alarm An alarm hash. * * @throws Horde_Alarm_Exception */ abstract public function notify(array $alarm); /** * Resets the internal status of the handler, so that alarm notifications * are sent again. * * @param array $alarm An alarm hash. */ public function reset(array $alarm) { } /** * Returns a human readable description of the handler. * * @return string */ abstract public function getDescription(); /** * Returns a hash of user-configurable parameters for the handler. * * The parameters are hashes with parameter names as keys and parameter * information as values. The parameter information is a hash with the * following keys: * - type: the parameter type as a preference type. * - desc: a parameter description. * - required: whether this parameter is required. * * @return array */ public function getParameters() { return array(); } } Horde_Alarm-2.2.10/lib/Horde/Alarm/Null.php0000664000175000017500000001212513113231033016332 0ustar janjan * @category Horde * @license http://www.horde.org/licenses/lgpl21 LGPL-2.1 * @package Alarm */ /** * Null Alarm driver. * * @author Jan Schneider * @category Horde * @copyright 2010-2017 Horde LLC * @license http://www.horde.org/licenses/lgpl21 LGPL-2.1 * @package Alarm */ class Horde_Alarm_Null extends Horde_Alarm { /** * Returns a list of alarms from the backend. * * @param Horde_Date $time The time when the alarms should be active. * @param string $user Return alarms for this user, all users if * null, or global alarms if empty. * * @return array A list of alarm hashes. * @throws Horde_Alarm_Exception */ protected function _list($user, Horde_Date $time) { return array(); } /** * Returns a list of all global alarms from the backend. * * @return array A list of alarm hashes. */ protected function _global() { return array(); } /** * Returns an alarm hash from the backend. * * @param string $id The alarm's unique id. * @param string $user The alarm's user * * @return array An alarm hash. * @throws Horde_Alarm_Exception */ protected function _get($id, $user) { throw new Horde_Alarm_Exception('Alarm not found'); } /** * Adds an alarm hash to the backend. * * @param array $alarm An alarm hash. * * @throws Horde_Alarm_Exception */ protected function _add(array $alarm) { } /** * Updates an alarm hash in the backend. * * @param array $alarm An alarm hash. * @param boolean $keepsnooze Whether to keep the snooze value unchanged. * * @throws Horde_Alarm_Exception */ protected function _update(array $alarm, $keepsnooze = false) { } /** * Updates internal alarm properties, i.e. properties not determined by * the application setting the alarm. * * @param string $id The alarm's unique id. * @param string $user The alarm's user * @param array $internal A hash with the internal data. * * @throws Horde_Alarm_Exception */ public function internal($id, $user, array $internal) { } /** * Returns whether an alarm with the given id exists already. * * @param string $id The alarm's unique id. * @param string $user The alarm's user * @param string $instanceid An optional instanceid to match. * * @return boolean True if the specified alarm exists. * @throws Horde_Alarm_Exception */ protected function _exists($id, $user, $instanceid = null) { return false; } /** * Delays (snoozes) an alarm for a certain period. * * @param string $id The alarm's unique id. * @param string $user The alarm's user * @param Horde_Date $snooze The snooze time. * * @throws Horde_Alarm_Exception */ protected function _snooze($id, $user, Horde_Date $snooze) { } /** * Returns whether an alarm is snoozed. * * @param string $id The alarm's unique id. * @param string $user The alarm's user * @param Horde_Date $time The time when the alarm may be snoozed. * * @return boolean True if the alarm is snoozed. * @throws Horde_Alarm_Exception */ protected function _isSnoozed($id, $user, Horde_Date $time) { return false; } /** * Dismisses an alarm. * * @param string $id The alarm's unique id. * @param string $user The alarm's user * * @throws Horde_Alarm_Exception */ protected function _dismiss($id, $user) { } /** * Deletes an alarm from the backend. * * @param string $id The alarm's unique id. * @param string $user The alarm's user. All users' alarms if null. * * @throws Horde_Alarm_Exception */ protected function _delete($id, $user = null) { } /** * Garbage collects old alarms in the backend. * * @throws Horde_Alarm_Exception */ protected function _gc() { } /** * Attempts to initialize the backend. * * @throws Horde_Alarm_Exception */ public function initialize() { } /** * Converts a value from the driver's charset. * * @param mixed $value Value to convert. * * @return mixed Converted value. */ protected function _fromDriver($value) { return $value; } /** * Converts a value to the driver's charset. * * @param mixed $value Value to convert. * * @return mixed Converted value. */ protected function _toDriver($value) { return $value; } } Horde_Alarm-2.2.10/lib/Horde/Alarm/Object.php0000664000175000017500000002035113113231033016626 0ustar janjan * @category Horde * @license http://www.horde.org/licenses/lgpl21 LGPL-2.1 * @package Alarm */ /** * The Horde_Alarm_Object class is a Horde_Alarm storage implementation using * an object instance. * * @author Jan Schneider * @category Horde * @copyright 2010-2017 Horde LLC * @license http://www.horde.org/licenses/lgpl21 LGPL-2.1 * @package Alarm */ class Horde_Alarm_Object extends Horde_Alarm { protected $_alarms = array(); /** * Returns a certain alarm. * * @param string $id The alarm's unique id. * @param string $user The alarm's user * @param string $instanceid An optional instanceid to match. * * * @return array An alarm hash. */ protected function &_findAlarm($id, $user, $instanceid = null) { foreach ($this->_alarms as &$alarm) { if ($alarm['id'] == $id && $alarm['user'] === $user) { if (empty($instanceid) || (!empty($instanceid) && $alarm['instanceid'] == $instanceid)) { return $alarm; } } } $result = null; return $result; } /** * Sorts a number of alarms in chronological order. */ protected function _sortAlarms($a, $b) { $cmp = $a['start']->compareDateTime($b['start']); if ($cmp) { return $cmp; } if (empty($a['end'])) { return -1; } if (empty($b['end'])) { return 1; } return $a['end']->compareDateTime($b['end']); } /** * Returns a list of alarms from the backend. * * @param Horde_Date $time The time when the alarms should be active. * @param string $user Return alarms for this user, all users if * null, or global alarms if empty. * * @return array A list of alarm hashes. * @throws Horde_Alarm_Exception */ protected function _list($user, Horde_Date $time) { $alarms = array(); foreach ($this->_alarms as $alarm) { if (empty($alarm['dismissed']) && ((empty($alarm['snooze']) && $alarm['start']->compareDateTime($time) <= 0) || $alarm['snooze']->compareDateTime($time) <= 0) && (empty($alarm['end']) || $alarm['end']->compareDateTime($time) >= 0) && (is_null($user) || empty($alarm['uid']) || $alarm['uid'] = $user)) { $alarms[] = $alarm; } } usort($alarms, array($this, '_sortAlarms')); return $alarms; } /** * Returns a list of all global alarms from the backend. * * @return array A list of alarm hashes. */ protected function _global() { return array(); } /** * Returns an alarm hash from the backend. * * @param string $id The alarm's unique id. * @param string $user The alarm's user. * * @return array An alarm hash. * @throws Horde_Alarm_Exception */ protected function _get($id, $user) { $alarm = $this->_findAlarm($id, $user); if (!$alarm) { throw new Horde_Alarm_Exception('Alarm not found'); } return $alarm; } /** * Adds an alarm hash to the backend. * * @param array $alarm An alarm hash. */ protected function _add(array $alarm) { $alarm = array_merge( array('user' => '', 'end' => null, 'text' => null, 'snooze' => null, 'internal' => null), $alarm); $this->_alarms[] = $alarm; } /** * Updates an alarm hash in the backend. * * @param array $alarm An alarm hash. * @param boolean $keepsnooze Whether to keep the snooze value unchanged. */ protected function _update(array $alarm, $keepsnooze = false) { $user = isset($alarm['user']) ? $alarm['user'] : null; $al = &$this->_findAlarm($alarm['id'], $user); foreach (array('start', 'end', 'methods', 'params', 'title', 'text') as $property) { $al[$property] = isset($alarm[$property]) ? $alarm[$property] : null; } if (!$keepsnooze) { $al['snooze'] = null; } } /** * Updates internal alarm properties, i.e. properties not determined by * the application setting the alarm. * * @param string $id The alarm's unique id. * @param string $user The alarm's user * @param array $internal A hash with the internal data. * * @throws Horde_Alarm_Exception */ public function internal($id, $user, array $internal) { $alarm = &$this->_findAlarm($id, $user); $alarm['internal'] = $internal; } /** * Returns whether an alarm with the given id exists already. * * @param string $id The alarm's unique id. * @param string $user The alarm's user * @param string $instanceid An optional instanceid to match. * * @return boolean True if the specified alarm exists. * @throws Horde_Alarm_Exception */ protected function _exists($id, $user, $instanceid = null) { return (bool)$this->_findAlarm($id, $user, $instanceid); } /** * Delays (snoozes) an alarm for a certain period. * * @param string $id The alarm's unique id. * @param string $user The alarm's user * @param Horde_Date $snooze The snooze time. * * @throws Horde_Alarm_Exception */ protected function _snooze($id, $user, Horde_Date $snooze) { $alarm = &$this->_findAlarm($id, $user); $alarm['snooze'] = $snooze; } /** * Returns whether an alarm is snoozed. * * @param string $id The alarm's unique id. * @param string $user The alarm's user * @param Horde_Date $time The time when the alarm may be snoozed. * * @return boolean True if the alarm is snoozed. * @throws Horde_Alarm_Exception */ protected function _isSnoozed($id, $user, Horde_Date $time) { $alarm = $this->_findAlarm($id, $user); return !empty($alarm['dismissed']) || (isset($alarm['snooze']) && $alarm['snooze']->compareDateTime($time) >= 0); } /** * Dismisses an alarm. * * @param string $id The alarm's unique id. * @param string $user The alarm's user * * @throws Horde_Alarm_Exception */ protected function _dismiss($id, $user) { $alarm = &$this->_findAlarm($id, $user); $alarm['dismissed'] = true; } /** * Deletes an alarm from the backend. * * @param string $id The alarm's unique id. * @param string $user The alarm's user. All users' alarms if null. * * @throws Horde_Alarm_Exception */ protected function _delete($id, $user = null) { $newAlarms = array(); foreach ($this->_alarms as &$alarm) { if ($alarm['id'] != $id || (!is_null($user) && $alarm['user'] != $user)) { $newAlarms[] = $alarm; } } $this->_alarms = $newAlarms; } /** * Garbage collects old alarms in the backend. * * @throws Horde_Alarm_Exception */ protected function _gc() { } /** * Attempts to initialize the backend. * * @throws Horde_Alarm_Exception */ public function initialize() { } /** * Converts a value from the driver's charset. * * @param mixed $value Value to convert. * * @return mixed Converted value. */ protected function _fromDriver($value) { return $value; } /** * Converts a value to the driver's charset. * * @param mixed $value Value to convert. * * @return mixed Converted value. */ protected function _toDriver($value) { return $value; } } Horde_Alarm-2.2.10/lib/Horde/Alarm/Sql.php0000664000175000017500000004274413113231033016171 0ustar janjan * @category Horde * @license http://www.horde.org/licenses/lgpl21 LGPL-2.1 * @package Alarm */ /** * The Horde_Alarm_Sql class is a Horde_Alarm storage implementation using the * Horde Db package. * * The table structure can be created by the migration script. * * @author Jan Schneider * @category Horde * @copyright 2007-2017 Horde LLC * @license http://www.horde.org/licenses/lgpl21 LGPL-2.1 * @package Alarm */ class Horde_Alarm_Sql extends Horde_Alarm { /** * Handle for the current database connection. * * @var Horde_Db_Adapter */ protected $_db; /** * Constructor. * * @param array $params Configuration parameters: *
     * 'db' - (Horde_Db_Adapter) [REQUIRED] The DB instance.
     * 'table' - (string) The name of the alarm table in 'database'.
     *           DEFAULT: 'horde_alarms'
     * 
* * @throws Horde_Alarm_Exception */ public function __construct(array $params = array()) { if (!isset($params['db'])) { throw new Horde_Alarm_Exception('Missing db parameter.'); } $this->_db = $params['db']; unset($params['db']); $params = array_merge(array( 'table' => 'horde_alarms' ), $params); parent::__construct($params); } /** * Returns a list of alarms from the backend. * * @param string $user Return alarms for this user, all users if * null, or global alarms if empty. * @param Horde_Date $time The time when the alarms should be active. * * @return array A list of alarm hashes. * @throws Horde_Alarm_Exception */ protected function _list($user, Horde_Date $time) { $query = sprintf('SELECT alarm_id, alarm_uid, alarm_start, alarm_end, alarm_methods, alarm_params, alarm_title, alarm_text, alarm_snooze, alarm_internal FROM %s WHERE alarm_dismissed = 0 AND ((alarm_snooze IS NULL AND alarm_start <= ?) OR alarm_snooze <= ?) AND (alarm_end IS NULL OR alarm_end >= ?)%s ORDER BY alarm_start, alarm_end', $this->_params['table'], is_null($user) ? '' : ' AND (alarm_uid IS NULL OR alarm_uid = ? OR alarm_uid = ?)'); $dt = $time->setTimezone('UTC')->format(Horde_Date::DATE_DEFAULT); $values = array($dt, $dt, $dt); if (!is_null($user)) { $values[] = ''; $values[] = (string)$user; } $alarms = array(); try { $result = $this->_db->select($query, $values); foreach ($result as $val) { $alarms[] = $this->_getHash($val); } } catch (Horde_Db_Exception $e) { throw new Horde_Alarm_Exception( Horde_Alarm_Translation::t("Server error when querying database.") ); } return $alarms; } /** * Returns a list of all global alarms from the backend. * * @return array A list of alarm hashes. * @throws Horde_Alarm_Exception */ protected function _global() { $query = sprintf('SELECT alarm_id, alarm_uid, alarm_start, alarm_end, alarm_methods, alarm_params, alarm_title, alarm_text, alarm_snooze, alarm_internal FROM %s WHERE alarm_uid IS NULL OR alarm_uid = \'\' ORDER BY alarm_start, alarm_end', $this->_params['table']); try { $result = $this->_db->select($query); } catch (Horde_Db_Exception $e) { throw new Horde_Alarm_Exception( Horde_Alarm_Translation::t("Server error when querying database.") ); } $alarms = array(); foreach ($result as $val) { $alarms[] = $this->_getHash($val); } return $alarms; } /** */ protected function _getHash(array $alarm) { foreach (array('params', 'text', 'internal') as $column) { if (isset($alarm['alarm_' . $column])) { $alarm['alarm_' . $column] = $this->_convertBinary( 'alarm_' . $column, $alarm['alarm_' . $column] ); } } $params = base64_decode($alarm['alarm_params']); if (!strlen($params) && strlen($alarm['alarm_params'])) { $params = $alarm['alarm_params']; } try { $params = @unserialize($params); } catch (Exception $e) { $params = array(); } $internal = null; if (!empty($alarm['alarm_internal'])) { try { $internal = @unserialize($alarm['alarm_internal']); } catch (Exception $e) {} } return array( 'id' => $alarm['alarm_id'], 'user' => $alarm['alarm_uid'], 'start' => new Horde_Date($alarm['alarm_start'], 'UTC'), 'end' => empty($alarm['alarm_end']) ? null : new Horde_Date($alarm['alarm_end'], 'UTC'), 'methods' => @unserialize($alarm['alarm_methods']), 'params' => $params, 'title' => $this->_fromDriver($alarm['alarm_title']), 'text' => $this->_fromDriver($alarm['alarm_text']), 'snooze' => empty($alarm['alarm_snooze']) ? null : new Horde_Date($alarm['alarm_snooze'], 'UTC'), 'internal' => $internal ); } /** * Returns an alarm hash from the backend. * * @param string $id The alarm's unique id. * @param string $user The alarm's user * * @return array An alarm hash. * @throws Horde_Alarm_Exception */ protected function _get($id, $user) { $query = sprintf( 'SELECT alarm_id, alarm_uid, alarm_start, alarm_end, alarm_methods, alarm_params, alarm_title, alarm_text, alarm_snooze, alarm_internal FROM %s WHERE alarm_id = ? AND %s', $this->_params['table'], !empty($user) ? 'alarm_uid = ?' : '(alarm_uid = ? OR alarm_uid IS NULL)' ); try { $alarm = $this->_db->selectOne($query, array($id, $user)); } catch (Horde_Db_Exception $e) { throw new Horde_Alarm_Exception( Horde_Alarm_Translation::t("Server error when querying database.") ); } if (empty($alarm)) { throw new Horde_Alarm_Exception('Alarm not found'); } return $this->_getHash($alarm); } /** * Adds an alarm hash to the backend. * * @param array $alarm An alarm hash. * * @throws Horde_Alarm_Exception */ protected function _add(array $alarm) { $values = array( 'alarm_id' => $alarm['id'], 'alarm_uid' => isset($alarm['user']) ? $alarm['user'] : '', 'alarm_start' => $alarm['start']->setTimezone('UTC')->format(Horde_Date::DATE_DEFAULT), 'alarm_end' => empty($alarm['end']) ? null : $alarm['end']->setTimezone('UTC')->format(Horde_Date::DATE_DEFAULT), 'alarm_methods' => serialize($alarm['methods']), 'alarm_params' => new Horde_Db_Value_Text(base64_encode(serialize($alarm['params']))), 'alarm_title' => $this->_toDriver($alarm['title']), 'alarm_text' => empty($alarm['text']) ? null : new Horde_Db_Value_Text($this->_toDriver($alarm['text'])), 'alarm_snooze' => null, 'alarm_instanceid' => empty($alarm['instanceid']) ? null : $alarm['instanceid'] ); try { $this->_db->insertBlob($this->_params['table'], $values); } catch (Horde_Db_Exception $e) { throw new Horde_Alarm_Exception( Horde_Alarm_Translation::t("Server error when querying database.") ); } } /** * Updates an alarm hash in the backend. * * @param array $alarm An alarm hash. * @param boolean $keepsnooze Whether to keep the snooze value unchanged. * * @throws Horde_Alarm_Exception */ protected function _update(array $alarm, $keepsnooze = false) { $where = array( sprintf( 'alarm_id = ? AND %s', isset($alarm['user']) ? 'alarm_uid = ?' : '(alarm_uid = ? OR alarm_uid IS NULL)' ), array( $alarm['id'], isset($alarm['user']) ? $alarm['user'] : '' ) ); $values = array( 'alarm_start' => $alarm['start']->setTimezone('UTC')->format(Horde_Date::DATE_DEFAULT), 'alarm_end' => empty($alarm['end']) ? null : $alarm['end']->setTimezone('UTC')->format(Horde_Date::DATE_DEFAULT), 'alarm_methods' => serialize($alarm['methods']), 'alarm_params' => new Horde_Db_Value_Text(base64_encode(serialize($alarm['params']))), 'alarm_title' => $this->_toDriver($alarm['title']), 'alarm_instanceid' => empty($alarm['instanceid']) ? null : $alarm['instanceid'], 'alarm_text' => empty($alarm['text']) ? null : new Horde_Db_Value_Text($this->_toDriver($alarm['text'])) ); if (!$keepsnooze) { $values['alarm_snooze'] = null; $values['alarm_dismissed'] = 0; } try { $this->_db->updateBlob($this->_params['table'], $values, $where); } catch (Horde_Db_Exception $e) { throw new Horde_Alarm_Exception( Horde_Alarm_Translation::t("Server error when querying database.") ); } } /** * Updates internal alarm properties, i.e. properties not determined by * the application setting the alarm. * * @param string $id The alarm's unique id. * @param string $user The alarm's user * @param array $internal A hash with the internal data. * * @throws Horde_Alarm_Exception */ public function internal($id, $user, array $internal) { $query = sprintf('UPDATE %s set alarm_internal = ? WHERE alarm_id = ? AND %s', $this->_params['table'], !empty($user) ? 'alarm_uid = ?' : '(alarm_uid = ? OR alarm_uid IS NULL)'); $values = array(new Horde_Db_Value_Text(serialize($internal)), $id, $user); try { $this->_db->update($query, $values); } catch (Horde_Db_Exception $e) { throw new Horde_Alarm_Exception( Horde_Alarm_Translation::t("Server error when querying database.") ); } } /** * Returns whether an alarm with the given id exists already. * * @param string $id The alarm's unique id. * @param string $user The alarm's user * @param string $instanceid An optional instanceid to match. * * @return boolean True if the specified alarm exists. * @throws Horde_Alarm_Exception */ protected function _exists($id, $user, $instanceid = null) { $query = sprintf('SELECT 1 FROM %s WHERE alarm_id = ? AND %s', $this->_params['table'], (!empty($user) ? 'alarm_uid = ?' : '(alarm_uid = ? OR alarm_uid IS NULL)') . (!empty($instanceid) ? ' AND alarm_instanceid = ?' : '')); $params = array($id, $user); if (!empty($instanceid)) { $params[] = $instanceid; } try { return ($this->_db->selectValue($query, $params) == 1); } catch (Horde_Db_Exception $e) { throw new Horde_Alarm_Exception( Horde_Alarm_Translation::t("Server error when querying database.") ); } } /** * Delays (snoozes) an alarm for a certain period. * * @param string $id The alarm's unique id. * @param string $user The alarm's user * @param Horde_Date $snooze The snooze time. * * @throws Horde_Alarm_Exception */ protected function _snooze($id, $user, Horde_Date $snooze) { $query = sprintf('UPDATE %s set alarm_snooze = ? WHERE alarm_id = ? AND %s', $this->_params['table'], !empty($user) ? 'alarm_uid = ?' : '(alarm_uid = ? OR alarm_uid IS NULL)'); $values = array($snooze->setTimezone('UTC')->format(Horde_Date::DATE_DEFAULT), $id, $user); try { $this->_db->update($query, $values); } catch (Horde_Db_Exception $e) { throw new Horde_Alarm_Exception( Horde_Alarm_Translation::t("Server error when querying database.") ); } } /** * Returns whether an alarm is snoozed. * * @param string $id The alarm's unique id. * @param string $user The alarm's user * @param Horde_Date $time The time when the alarm may be snoozed. * * @return boolean True if the alarm is snoozed. * @throws Horde_Alarm_Exception */ protected function _isSnoozed($id, $user, Horde_Date $time) { $query = sprintf('SELECT 1 FROM %s WHERE alarm_id = ? AND %s AND (alarm_dismissed = 1 OR (alarm_snooze IS NOT NULL AND alarm_snooze >= ?))', $this->_params['table'], !empty($user) ? 'alarm_uid = ?' : '(alarm_uid = ? OR alarm_uid IS NULL)'); try { return $this->_db->selectValue($query, array($id, $user, $time->setTimezone('UTC')->format(Horde_Date::DATE_DEFAULT))); } catch (Horde_Db_Exception $e) { throw new Horde_Alarm_Exception( Horde_Alarm_Translation::t("Server error when querying database.") ); } } /** * Dismisses an alarm. * * @param string $id The alarm's unique id. * @param string $user The alarm's user * * @throws Horde_Alarm_Exception */ protected function _dismiss($id, $user) { $query = sprintf('UPDATE %s set alarm_dismissed = 1 WHERE alarm_id = ? AND %s', $this->_params['table'], !empty($user) ? 'alarm_uid = ?' : '(alarm_uid = ? OR alarm_uid IS NULL)'); $values = array($id, $user); try { $this->_db->update($query, $values); } catch (Horde_Db_Exception $e) { throw new Horde_Alarm_Exception( Horde_Alarm_Translation::t("Server error when querying database.") ); } } /** * Deletes an alarm from the backend. * * @param string $id The alarm's unique id. * @param string $user The alarm's user. All users' alarms if null. * * @throws Horde_Alarm_Exception */ protected function _delete($id, $user = null) { $query = sprintf('DELETE FROM %s WHERE alarm_id = ?', $this->_params['table']); $values = array($id); if (!is_null($user)) { $query .= empty($user) ? ' AND (alarm_uid IS NULL OR alarm_uid = ?)' : ' AND alarm_uid = ?'; $values[] = $user; } try { $this->_db->delete($query, $values); } catch (Horde_Db_Exception $e) { throw new Horde_Alarm_Exception( Horde_Alarm_Translation::t("Server error when querying database.") ); } } /** * Garbage collects old alarms in the backend. */ protected function _gc() { $query = sprintf('DELETE FROM %s WHERE alarm_end IS NOT NULL AND alarm_end < ?', $this->_params['table']); $end = new Horde_Date(time()); $this->_db->delete($query, array($end->setTimezone('UTC')->format(Horde_Date::DATE_DEFAULT))); } /** * Initialization tasks. * * @throws Horde_Alarm_Exception */ public function initialize() { /* Handle any database specific initialization code to run. */ switch ($this->_db->adapterName()) { case 'PDO_Oci': $query = "ALTER SESSION SET NLS_DATE_FORMAT = 'YYYY-MM-DD HH24:MI:SS'"; $this->_db->select($query); break; case 'PDO_PostgreSQL': $query = "SET datestyle TO 'iso'"; $this->_db->select($query); break; } } /** * Converts a value from the driver's charset. * * @param mixed $value Value to convert. * * @return mixed Converted value. */ protected function _fromDriver($value) { return Horde_String::convertCharset($value, $this->_params['charset'], 'UTF-8'); } /** * Converts a value to the driver's charset. * * @param mixed $value Value to convert. * * @return mixed Converted value. */ protected function _toDriver($value) { return Horde_String::convertCharset($value, 'UTF-8', $this->_params['charset']); } /** * Converts results from TEXT columns to strings. * * @param string $column A column name. * @param mixed $value A TEXT column value. * * @return string The column value as plain string. */ protected function _convertBinary($column, $value) { try { $columns = $this->_db->columns($this->_params['table']); } catch (Horde_Db_Exception $e) { throw new Horde_Alarm_Exception( Horde_Alarm_Translation::t("Server error when querying database.") ); } return $columns[$column]->binaryToString($value); } } Horde_Alarm-2.2.10/lib/Horde/Alarm/Translation.php0000664000175000017500000000176213113231033017723 0ustar janjan * @category Horde * @license http://www.horde.org/licenses/lgpl21 LGPL-2.1 * @package Alarm */ /** * Horde_Alarm_Translation class is the translation wrapper class for * Horde_Alarm. * * @author Jan Schneider * @category Horde * @copyright 2010-2017 Horde LLC * @license http://www.horde.org/licenses/lgpl21 LGPL-2.1 * @package Alarm */ class Horde_Alarm_Translation extends Horde_Translation_Autodetect { /** * The translation domain * * @var string */ protected static $_domain = 'Horde_Alarm'; /** * The absolute PEAR path to the translations for the default gettext handler. * * @var string */ protected static $_pearDirectory = '@data_dir@'; } Horde_Alarm-2.2.10/lib/Horde/Alarm.php0000664000175000017500000004237513113231033015432 0ustar janjan * @category Horde * @license http://www.horde.org/licenses/lgpl21 LGPL-2.1 * @package Alarm */ /** * The Horde_Alarm class provides an interface to deal with reminders, alarms * and notifications through a standardized API. * * @author Jan Schneider * @category Horde * @copyright 2007-2017 Horde LLC * @license http://www.horde.org/licenses/lgpl21 LGPL-2.1 * @package Alarm */ abstract class Horde_Alarm { /** * Logger. * * @var Horde_Log_Logger */ protected $_logger; /** * Alarm loader callback. * * @var mixed */ protected $_loader; /** * Hash containing connection parameters. * * @var array */ protected $_params = array( 'ttl' => 300 ); /** * All registered notification handlers. * * @var array */ protected $_handlers = array(); /** * Whether handler classes have been dynamically loaded already. * * @var boolean */ protected $_handlersLoaded = false; /** * A list of errors, exceptions etc. that occured during notify() calls. * * @var array */ protected $_errors = array(); /** * Constructor. * * @param array $params Configuration parameters: *
     * 'logger' - (Horde_Log_Logger) A logger instance.
     * 'ttl' - (integer) Time to live value, in seconds.
     * 
*/ public function __construct(array $params = array()) { if (isset($params['logger'])) { $this->_logger = $params['logger']; unset($params['logger']); } if (isset($params['loader'])) { $this->_loader = $params['loader']; unset($params['loader']); } $this->_params = array_merge($this->_params, $params); } /** * Returns a list of alarms from the backend. * * @param string $user Return alarms for this user, all users if * null, or global alarms if empty. * @param Horde_Date $time The time when the alarms should be active. * Defaults to now. * @param boolean $load Update active alarms from all applications? * @param boolean $preload Preload alarms that go off within the next * ttl time span? * * @return array A list of alarm hashes. * @throws Horde_Alarm_Exception */ public function listAlarms($user = null, Horde_Date $time = null, $load = false, $preload = true) { if (empty($time)) { $time = new Horde_Date(time()); } if ($load && is_callable($this->_loader)) { call_user_func($this->_loader, $user, $preload); } $alarms = $this->_list($user, $time); foreach (array_keys($alarms) as $alarm) { if (isset($alarms[$alarm]['mail']['body'])) { $alarms[$alarm]['mail']['body'] = $this->_fromDriver($alarms[$alarm]['mail']['body']); } } return $alarms; } /** * Returns a list of alarms from the backend. * * @param Horde_Date $time The time when the alarms should be active. * @param string $user Return alarms for this user, all users if * null, or global alarms if empty. * * @return array A list of alarm hashes. * @throws Horde_Alarm_Exception */ abstract protected function _list($user, Horde_Date $time); /** * Returns a list of all global alarms from the backend. * * @return array A list of alarm hashes. * @throws Horde_Alarm_Exception */ public function globalAlarms() { $alarms = $this->_global(); foreach (array_keys($alarms) as $alarm) { if (isset($alarms[$alarm]['mail']['body'])) { $alarms[$alarm]['mail']['body'] = $this->_fromDriver($alarms[$alarm]['mail']['body']); } } return $alarms; } /** * Returns a list of all global alarms from the backend. * * @return array A list of alarm hashes. */ abstract protected function _global(); /** * Returns an alarm hash from the backend. * * @param string $id The alarm's unique id. * @param string $user The alarm's user * * @return array An alarm hash. Contains the following: *
     * id: Unique alarm id.
     * user: The alarm's user. Empty if a global alarm.
     * start: The alarm start as a Horde_Date.
     * end: The alarm end as a Horde_Date.
     * methods: The notification methods for this alarm.
     * params: The paramters for the notification methods.
     * title: The alarm title.
     * text: An optional alarm description.
     * snooze: The snooze time (next time) of the alarm as a Horde_Date.
     * internal: Holds internally used data.
     * instanceid: Holds an instance identifier for recurring alarms.
     *             (@since 2.2.0)
     * 
* @throws Horde_Alarm_Exception */ public function get($id, $user) { $alarm = $this->_get($id, $user); if (isset($alarm['mail']['body'])) { $alarm['mail']['body'] = $this->_fromDriver($alarm['mail']['body']); } return $alarm; } /** * Returns an alarm hash from the backend. * * @param string $id The alarm's unique id. * @param string $user The alarm's user * * @return array An alarm hash. * @throws Horde_Alarm_Exception */ abstract protected function _get($id, $user); /** * Stores an alarm hash in the backend. * * The alarm will be added if it doesn't exist, and updated otherwise. * * @param array $alarm An alarm hash. See self::get() for format. * @param boolean $keep Whether to keep the snooze value and notification * status unchanged. If true, the alarm will get * "un-snoozed", and notifications (like mails) are * sent again. * * @throws Horde_Alarm_Exception */ public function set(array $alarm, $keep = false) { if (isset($alarm['mail']['body'])) { $alarm['mail']['body'] = $this->_toDriver($alarm['mail']['body']); } // If this is a recurring alarm and we have a new instanceid, // remove the previous entry regardless of the value of $keep. // Otherwise, the alarm will never be reset. @since 2.2.0 if (!empty($alarm['instanceid']) && !$this->exists($alarm['id'], isset($alarm['user']) ? $alarm['user'] : '', !empty($alarm['instanceid']) ? $alarm['instanceid'] : null)) { $this->delete($alarm['id'], isset($alarm['user']) ? $alarm['user'] : ''); } if ($this->exists($alarm['id'], isset($alarm['user']) ? $alarm['user'] : '')) { $this->_update($alarm, $keep); if (!$keep) { foreach ($this->_handlers as &$handler) { $handler->reset($alarm); } } } else { $this->_add($alarm); } } /** * Adds an alarm hash to the backend. * * @param array $alarm An alarm hash. * * @throws Horde_Alarm_Exception */ abstract protected function _add(array $alarm); /** * Updates an alarm hash in the backend. * * @param array $alarm An alarm hash. * @param boolean $keepsnooze Whether to keep the snooze value unchanged. * * @throws Horde_Alarm_Exception */ abstract protected function _update(array $alarm, $keepsnooze = false); /** * Updates internal alarm properties, i.e. properties not determined by * the application setting the alarm. * * @param string $id The alarm's unique id. * @param string $user The alarm's user * @param array $internal A hash with the internal data. * * @throws Horde_Alarm_Exception */ abstract public function internal($id, $user, array $internal); /** * Returns whether an alarm with the given id exists already. * * @param string $id The alarm's unique id. * @param string $user The alarm's user * @param string $instanceid An optional instanceid to check for. * @since 2.2.0 * * @return boolean True if the specified alarm exists. */ public function exists($id, $user, $instanceid = null) { try { return $this->_exists($id, $user, $instanceid); } catch (Horde_Alarm_Exception $e) { return false; } } /** * Returns whether an alarm with the given id exists already. * * @param string $id The alarm's unique id. * @param string $user The alarm's user * @param string $instanceid An optional instanceid to match. * * @return boolean True if the specified alarm exists. * @throws Horde_Alarm_Exception */ abstract protected function _exists($id, $user, $instanceid = null); /** * Delays (snoozes) an alarm for a certain period. * * @param string $id The alarm's unique id. * @param string $user The notified user. * @param integer $minutes The delay in minutes. A negative value * dismisses the alarm completely. * * @throws Horde_Alarm_Exception */ public function snooze($id, $user, $minutes) { if (empty($user)) { throw new Horde_Alarm_Exception('This alarm cannot be snoozed.'); } $alarm = $this->get($id, $user); if ($alarm) { if ($minutes > 0) { $alarm['snooze'] = new Horde_Date(time()); $alarm['snooze']->min += $minutes; $this->_snooze($id, $user, $alarm['snooze']); return; } $this->_dismiss($id, $user); } } /** * Delays (snoozes) an alarm for a certain period. * * @param string $id The alarm's unique id. * @param string $user The alarm's user * @param Horde_Date $snooze The snooze time. * * @throws Horde_Alarm_Exception */ abstract protected function _snooze($id, $user, Horde_Date $snooze); /** * Returns whether an alarm is snoozed. * * @param string $id The alarm's unique id. * @param string $user The alarm's user * @param Horde_Date $time The time when the alarm may be snoozed. * Defaults to now. * * @return boolean True if the alarm is snoozed. * * @throws Horde_Alarm_Exception */ public function isSnoozed($id, $user, Horde_Date $time = null) { if (is_null($time)) { $time = new Horde_Date(time()); } return (bool)$this->_isSnoozed($id, $user, $time); } /** * Returns whether an alarm is snoozed. * * @param string $id The alarm's unique id. * @param string $user The alarm's user * @param Horde_Date $time The time when the alarm may be snoozed. * * @return boolean True if the alarm is snoozed. * @throws Horde_Alarm_Exception */ abstract protected function _isSnoozed($id, $user, Horde_Date $time); /** * Dismisses an alarm. * * @param string $id The alarm's unique id. * @param string $user The alarm's user * * @throws Horde_Alarm_Exception */ abstract protected function _dismiss($id, $user); /** * Deletes an alarm from the backend. * * @param string $id The alarm's unique id. * @param string $user The alarm's user. All users' alarms if null. * * @throws Horde_Alarm_Exception */ function delete($id, $user = null) { $this->_delete($id, $user); } /** * Deletes an alarm from the backend. * * @param string $id The alarm's unique id. * @param string $user The alarm's user. All users' alarms if null. * * @throws Horde_Alarm_Exception */ abstract protected function _delete($id, $user = null); /** * Notifies the user about any active alarms. * * @param string $user Notify this user, all users if null, or guest * users if empty. * @param boolean $load Update active alarms from all applications? * @param boolean $preload Preload alarms that go off within the next * ttl time span? * @param array $exclude Don't notify with these methods. * * @throws Horde_Alarm_Exception if loading of alarms fails, but not if * notifying of individual alarms fails. */ public function notify($user = null, $load = true, $preload = true, array $exclude = array()) { try { $alarms = $this->listAlarms($user, null, $load, $preload); } catch (Horde_Alarm_Exception $e) { if ($this->_logger) { $this->_logger->log($e, 'ERR'); } throw $e; } if (empty($alarms)) { return; } $handlers = $this->handlers(); foreach ($alarms as $alarm) { foreach ($alarm['methods'] as $key => $alarm_method) { if (isset($handlers[$alarm_method]) && !in_array($alarm_method, $exclude)) { try { $handlers[$alarm_method]->notify($alarm); } catch (Horde_Alarm_Exception $e) { $this->_errors[$alarm['id'] . "\0" . $key] = $e; } } } } } /** * Registers a notification handler. * * @param string $name A handler name. * @param Horde_Alarm_Handler $handler A notification handler. */ public function addHandler($name, Horde_Alarm_Handler $handler) { $this->_handlers[$name] = $handler; $handler->alarm = $this; } /** * Returns a list of available notification handlers and parameters. * * The returned list is a hash with method names as the keys and * optionally associated parameters as values. The parameters are hashes * again with parameter names as keys and parameter information as * values. The parameter information is hash with the following keys: * 'desc' contains a parameter description; 'required' specifies whether * this parameter is required. * * @return array List of methods and parameters. */ public function handlers() { if (!$this->_handlersLoaded) { foreach (new DirectoryIterator(__DIR__ . '/Alarm/Handler') as $file) { if (!$file->isFile() || substr($file->getFilename(), -4) != '.php') { continue; } $handler = Horde_String::lower($file->getBasename('.php')); if (isset($this->_handlers[$handler])) { continue; } require_once $file->getPathname(); $class = 'Horde_Alarm_Handler_' . $file->getBasename('.php'); if (class_exists($class, false)) { $this->addHandler($handler, new $class()); } } $this->_handlerLoaded = true; } return $this->_handlers; } /** * Returns a list of errors, exceptions etc. that occured during notify() * calls. * * @since Horde_Alarm 2.1.0 * @since Horde_Alarm 2.2.9 the keys consist of the alarm id concatenated * with a NUL character and an alarm method key. * * @return array Error list. */ public function getErrors() { return $this->_errors; } /** * Garbage collects old alarms in the backend. * * @param boolean $force Force garbace collection? If false, GC happens * with a 1% chance. * * @throws Horde_Alarm_Exception */ public function gc($force = false) { /* A 1% chance we will run garbage collection during a call. */ if ($force || rand(0, 99) == 0) { $this->_gc(); } } /** * Garbage collects old alarms in the backend. * * @throws Horde_Alarm_Exception */ abstract protected function _gc(); /** * Attempts to initialize the backend. * * @throws Horde_Alarm_Exception */ abstract public function initialize(); /** * Converts a value from the driver's charset. * * @param mixed $value Value to convert. * * @return mixed Converted value. */ abstract protected function _fromDriver($value); /** * Converts a value to the driver's charset. * * @param mixed $value Value to convert. * * @return mixed Converted value. */ abstract protected function _toDriver($value); } Horde_Alarm-2.2.10/locale/ar/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000067413113231033020212 0ustar janjan,<PQBW!EmailProject-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2010-10-13 01:27+0200 PO-Revision-Date: 2010-10-13 01:27+0200 Last-Translator: Automatically generated Language-Team: i18n@lists.horde.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit البريد الإلكترونيHorde_Alarm-2.2.10/locale/ar/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000177513113231033020220 0ustar janjan# Arabic translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: lib/Horde/Alarm/Handler/Desktop.php:86 msgid "Desktop notification (with certain browsers)" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:118 msgid "Email" msgstr "البريد الإلكتروني" #: lib/Horde/Alarm/Handler/Mail.php:138 msgid "Email address (optional)" msgstr "" #: lib/Horde/Alarm/Handler/Notify.php:81 msgid "Inline" msgstr "" #: lib/Horde/Alarm/Handler/Notify.php:101 msgid "Play a sound?" msgstr "" Horde_Alarm-2.2.10/locale/bg/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000064513113231033020176 0ustar janjan,<PQBW EmailProject-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2010-10-13 01:27+0200 PO-Revision-Date: 2010-10-13 01:27+0200 Last-Translator: Automatically generated Language-Team: i18n@lists.horde.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ПисмоHorde_Alarm-2.2.10/locale/bg/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000204013113231033020170 0ustar janjan# Bulgarian translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: lib/Horde/Alarm/Handler/Desktop.php:86 msgid "Desktop notification (with certain browsers)" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:118 msgid "Email" msgstr "Писмо" #: lib/Horde/Alarm/Handler/Mail.php:138 #, fuzzy msgid "Email address (optional)" msgstr "Еmail адрес" #: lib/Horde/Alarm/Handler/Notify.php:81 #, fuzzy msgid "Inline" msgstr "Подчертани" #: lib/Horde/Alarm/Handler/Notify.php:101 msgid "Play a sound?" msgstr "" Horde_Alarm-2.2.10/locale/bs/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000057413113231033020213 0ustar janjan$,8B9Project-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2010-10-13 01:27+0200 PO-Revision-Date: 2010-10-13 01:27+0200 Last-Translator: Automatically generated Language-Team: i18n@lists.horde.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Horde_Alarm-2.2.10/locale/bs/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000177713113231033020224 0ustar janjan# Bosnian translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: lib/Horde/Alarm/Handler/Desktop.php:86 msgid "Desktop notification (with certain browsers)" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:118 msgid "Email" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:138 #, fuzzy msgid "Email address (optional)" msgstr "Email adresa" #: lib/Horde/Alarm/Handler/Notify.php:81 #, fuzzy msgid "Inline" msgstr "none" #: lib/Horde/Alarm/Handler/Notify.php:101 msgid "Play a sound?" msgstr "" Horde_Alarm-2.2.10/locale/ca/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000065513113231033020172 0ustar janjan,<PQBWEmailProject-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2010-10-13 01:27+0200 PO-Revision-Date: 2010-10-13 01:27+0200 Last-Translator: Automatically generated Language-Team: i18n@lists.horde.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Correu electrònicHorde_Alarm-2.2.10/locale/ca/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000203513113231033020167 0ustar janjan# Catalan translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: lib/Horde/Alarm/Handler/Desktop.php:86 msgid "Desktop notification (with certain browsers)" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:118 msgid "Email" msgstr "Correu electrònic" #: lib/Horde/Alarm/Handler/Mail.php:138 #, fuzzy msgid "Email address (optional)" msgstr "Adreça electrònica" #: lib/Horde/Alarm/Handler/Notify.php:81 #, fuzzy msgid "Inline" msgstr "insereix" #: lib/Horde/Alarm/Handler/Notify.php:101 msgid "Play a sound?" msgstr "" Horde_Alarm-2.2.10/locale/cs/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000152713113231033020213 0ustar janjanL |,  <8GDesktop notification (with certain browsers)EmailEmail address (optional)InlinePlay a sound?Project-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2010-10-13 01:27+0200 PO-Revision-Date: 2014-10-16 14:16+0100 Last-Translator: Michael Grafnetter Language-Team: i18n@lists.horde.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2; Language: cs X-Generator: Poedit 1.6.9 Desktopovou notifikaci (vyžaduje podporovaný prohlížeč)E-mailEmailová adresa (nepovinná)Aplikaci HordePřehrát zvuk?Horde_Alarm-2.2.10/locale/cs/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000240713113231033020214 0ustar janjan# Czech translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Michael Grafnetter , 2014 # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2014-10-16 14:16+0100\n" "Last-Translator: Michael Grafnetter \n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" "Language: cs\n" "X-Generator: Poedit 1.6.9\n" #: lib/Horde/Alarm/Handler/Desktop.php:86 msgid "Desktop notification (with certain browsers)" msgstr "Desktopovou notifikaci (vyžaduje podporovaný prohlížeč)" #: lib/Horde/Alarm/Handler/Mail.php:118 msgid "Email" msgstr "E-mail" #: lib/Horde/Alarm/Handler/Mail.php:138 msgid "Email address (optional)" msgstr "Emailová adresa (nepovinná)" #: lib/Horde/Alarm/Handler/Notify.php:81 msgid "Inline" msgstr "Aplikaci Horde" #: lib/Horde/Alarm/Handler/Notify.php:101 msgid "Play a sound?" msgstr "Přehrát zvuk?" Horde_Alarm-2.2.10/locale/da/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000136513113231033020172 0ustar janjanL |,  ,  Desktop notification (with certain browsers)EmailEmail address (optional)InlinePlay a sound?Project-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2014-03-18 15:59+0100 PO-Revision-Date: 2014-03-26 16:25+0100 Last-Translator: Erling Preben Hansen Language-Team: i18n@lists.horde.org Language: da MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); Skrivebords beskeder (Kun bestemte browsere)Emailemail adresse (valgfrit)IndlejretSpil en lyd?Horde_Alarm-2.2.10/locale/da/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000222413113231033020170 0ustar janjan# Danish translations for Horde_Alarm package. # Copyright (C) 2014 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm package # Erling Preben Hansen , 2014. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2014-03-18 15:59+0100\n" "PO-Revision-Date: 2014-03-26 16:25+0100\n" "Last-Translator: Erling Preben Hansen \n" "Language-Team: i18n@lists.horde.org\n" "Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: lib/Horde/Alarm/Handler/Desktop.php:85 msgid "Desktop notification (with certain browsers)" msgstr "Skrivebords beskeder (Kun bestemte browsere)" #: lib/Horde/Alarm/Handler/Mail.php:135 msgid "Email" msgstr "Email" #: lib/Horde/Alarm/Handler/Mail.php:155 msgid "Email address (optional)" msgstr "email adresse (valgfrit)" #: lib/Horde/Alarm/Handler/Notify.php:85 msgid "Inline" msgstr "Indlejret" #: lib/Horde/Alarm/Handler/Notify.php:105 msgid "Play a sound?" msgstr "Spil en lyd?" Horde_Alarm-2.2.10/locale/de/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000153313113231033020173 0ustar janjanT , $~?2)1Desktop notification (with certain browsers)EmailEmail address (optional)InlinePlay a sound?Server error when querying database.Project-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2015-03-24 10:40+0100 PO-Revision-Date: 2014-06-04 11:38+0200 Last-Translator: Jan Schneider Language-Team: i18n@lists.horde.org Language: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); Desktop-Benachrichtigung (mit bestimmten Browsern)E-MailE-Mail-Adresse (optional)Im TextEinen Klang abspielen?Serverfehler beim Abfragen der Datenbank.Horde_Alarm-2.2.10/locale/de/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000313313113231033020174 0ustar janjan# German translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Jan Schneider , 2010-2014. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2015-03-24 10:40+0100\n" "PO-Revision-Date: 2014-06-04 11:38+0200\n" "Last-Translator: Jan Schneider \n" "Language-Team: i18n@lists.horde.org\n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: lib/Horde/Alarm/Handler/Desktop.php:85 msgid "Desktop notification (with certain browsers)" msgstr "Desktop-Benachrichtigung (mit bestimmten Browsern)" #: lib/Horde/Alarm/Handler/Mail.php:135 msgid "Email" msgstr "E-Mail" #: lib/Horde/Alarm/Handler/Mail.php:155 msgid "Email address (optional)" msgstr "E-Mail-Adresse (optional)" #: lib/Horde/Alarm/Handler/Notify.php:85 msgid "Inline" msgstr "Im Text" #: lib/Horde/Alarm/Handler/Notify.php:105 msgid "Play a sound?" msgstr "Einen Klang abspielen?" #: lib/Horde/Alarm/Sql.php:88 lib/Horde/Alarm/Sql.php:115 #: lib/Horde/Alarm/Sql.php:192 lib/Horde/Alarm/Sql.php:229 #: lib/Horde/Alarm/Sql.php:272 lib/Horde/Alarm/Sql.php:298 #: lib/Horde/Alarm/Sql.php:328 lib/Horde/Alarm/Sql.php:353 #: lib/Horde/Alarm/Sql.php:378 lib/Horde/Alarm/Sql.php:402 #: lib/Horde/Alarm/Sql.php:430 lib/Horde/Alarm/Sql.php:504 msgid "Server error when querying database." msgstr "Serverfehler beim Abfragen der Datenbank." Horde_Alarm-2.2.10/locale/el/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000161413113231033020203 0ustar janjanL |,  S1I)bDesktop notification (with certain browsers)EmailEmail address (optional)InlinePlay a sound?Project-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2010-10-13 01:27+0200 PO-Revision-Date: 2015-10-21 15:14+0200 Last-Translator: Antonis Limperis Language-Team: i18n@lists.horde.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); Language: el X-Generator: Poedit 1.7.1 Desktop notification (με συγκεκριμένους φυλλομετρητές)ΑλληλογραφίαΔιεύθυνση Email (προαιρετικά)ενσωματωμένοΑναπαραγωγή ενός ήχου;Horde_Alarm-2.2.10/locale/el/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000244113113231033020205 0ustar janjan# Greek translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2015-10-21 15:14+0200\n" "Last-Translator: Antonis Limperis \n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "Language: el\n" "X-Generator: Poedit 1.7.1\n" #: lib/Horde/Alarm/Handler/Desktop.php:86 msgid "Desktop notification (with certain browsers)" msgstr "Desktop notification (με συγκεκριμένους φυλλομετρητές)" #: lib/Horde/Alarm/Handler/Mail.php:118 msgid "Email" msgstr "Αλληλογραφία" #: lib/Horde/Alarm/Handler/Mail.php:138 msgid "Email address (optional)" msgstr "Διεύθυνση Email (προαιρετικά)" #: lib/Horde/Alarm/Handler/Notify.php:81 msgid "Inline" msgstr "ενσωματωμένο" #: lib/Horde/Alarm/Handler/Notify.php:101 msgid "Play a sound?" msgstr "Αναπαραγωγή ενός ήχου;" Horde_Alarm-2.2.10/locale/es/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000163413113231033020214 0ustar janjanT , $?8!( HR1jDesktop notification (with certain browsers)EmailEmail address (optional)InlinePlay a sound?Server error when querying database.Project-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2014-06-04 11:28+0200 PO-Revision-Date: 2014-06-16 09:05+0100 Last-Translator: Manuel P. Ayala , Juan C. Blanco Language-Team: i18n@lists.horde.org Language: es MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); Notificación en el escritorio (con ciertos navegadores)CorreoDirección de correo (opcional)En línea¿Reproducir un sonido?Error del servidor al consultar la base de datos.Horde_Alarm-2.2.10/locale/es/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000322613113231033020216 0ustar janjan# Spanish translations for Horde_Alarm package. # Copyright (C) 2014 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm package. # Automatically generated, 2014. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2014-06-04 11:28+0200\n" "PO-Revision-Date: 2014-06-16 09:05+0100\n" "Last-Translator: Manuel P. Ayala , Juan C. Blanco " "\n" "Language-Team: i18n@lists.horde.org\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: lib/Horde/Alarm/Handler/Desktop.php:85 msgid "Desktop notification (with certain browsers)" msgstr "Notificación en el escritorio (con ciertos navegadores)" #: lib/Horde/Alarm/Handler/Mail.php:135 msgid "Email" msgstr "Correo" #: lib/Horde/Alarm/Handler/Mail.php:155 msgid "Email address (optional)" msgstr "Dirección de correo (opcional)" #: lib/Horde/Alarm/Handler/Notify.php:85 msgid "Inline" msgstr "En línea" #: lib/Horde/Alarm/Handler/Notify.php:105 msgid "Play a sound?" msgstr "¿Reproducir un sonido?" #: lib/Horde/Alarm/Sql.php:88 lib/Horde/Alarm/Sql.php:115 #: lib/Horde/Alarm/Sql.php:136 lib/Horde/Alarm/Sql.php:178 #: lib/Horde/Alarm/Sql.php:216 lib/Horde/Alarm/Sql.php:251 #: lib/Horde/Alarm/Sql.php:277 lib/Horde/Alarm/Sql.php:307 #: lib/Horde/Alarm/Sql.php:332 lib/Horde/Alarm/Sql.php:357 #: lib/Horde/Alarm/Sql.php:381 lib/Horde/Alarm/Sql.php:409 msgid "Server error when querying database." msgstr "Error del servidor al consultar la base de datos." Horde_Alarm-2.2.10/locale/et/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000135313113231033020213 0ustar janjanL |, } , Desktop notification (with certain browsers)EmailEmail address (optional)InlinePlay a sound?Project-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2011-04-05 13:52+0200 PO-Revision-Date: 2010-11-09 01:27+0200 Last-Translator: Alar Sing Language-Team: i18n@lists.horde.org Language: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); Töölaua teavitus (osade veeblehitsejatega)E-postE-posti aadress (valikuline)SeesMängi heli?Horde_Alarm-2.2.10/locale/et/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000217613113231033020222 0ustar janjan# Estonian translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2011-04-05 13:52+0200\n" "PO-Revision-Date: 2010-11-09 01:27+0200\n" "Last-Translator: Alar Sing \n" "Language-Team: i18n@lists.horde.org\n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: lib/Horde/Alarm/Handler/Desktop.php:79 msgid "Desktop notification (with certain browsers)" msgstr "Töölaua teavitus (osade veeblehitsejatega)" #: lib/Horde/Alarm/Handler/Mail.php:121 msgid "Email" msgstr "E-post" #: lib/Horde/Alarm/Handler/Mail.php:141 msgid "Email address (optional)" msgstr "E-posti aadress (valikuline)" #: lib/Horde/Alarm/Handler/Notify.php:77 msgid "Inline" msgstr "Sees" #: lib/Horde/Alarm/Handler/Notify.php:97 msgid "Play a sound?" msgstr "Mängi heli?" Horde_Alarm-2.2.10/locale/eu/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000140413113231033020211 0ustar janjanL |,  .  Desktop notification (with certain browsers)EmailEmail address (optional)InlinePlay a sound?Project-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2012-02-22 11:20+0100 PO-Revision-Date: 2013-03-13 09:17+0100 Last-Translator: Ibon Igartua Language-Team: i18n@lists.horde.org Language: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); Mahaigainean (nabigatzaile batzuekin bakarrik)Posta elektronikozHelbide elektronikoa (aukerakoa)BarneanSoinua jo?Horde_Alarm-2.2.10/locale/eu/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000222513113231033020216 0ustar janjan# Basque translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2012-02-22 11:20+0100\n" "PO-Revision-Date: 2013-03-13 09:17+0100\n" "Last-Translator: Ibon Igartua \n" "Language-Team: i18n@lists.horde.org\n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: lib/Horde/Alarm/Handler/Desktop.php:79 msgid "Desktop notification (with certain browsers)" msgstr "Mahaigainean (nabigatzaile batzuekin bakarrik)" #: lib/Horde/Alarm/Handler/Mail.php:129 msgid "Email" msgstr "Posta elektronikoz" #: lib/Horde/Alarm/Handler/Mail.php:149 msgid "Email address (optional)" msgstr "Helbide elektronikoa (aukerakoa)" #: lib/Horde/Alarm/Handler/Notify.php:79 msgid "Inline" msgstr "Barnean" #: lib/Horde/Alarm/Handler/Notify.php:99 msgid "Play a sound?" msgstr "Soinua jo?" Horde_Alarm-2.2.10/locale/fa/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000067013113231033020172 0ustar janjan,<PQBWEmailProject-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2010-10-13 01:27+0200 PO-Revision-Date: 2010-10-13 01:27+0200 Last-Translator: Automatically generated Language-Team: i18n@lists.horde.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit نامه الکترونیکیHorde_Alarm-2.2.10/locale/fa/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000207413113231033020175 0ustar janjan# Persian translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: lib/Horde/Alarm/Handler/Desktop.php:86 msgid "Desktop notification (with certain browsers)" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:118 msgid "Email" msgstr "نامه الکترونیکی" #: lib/Horde/Alarm/Handler/Mail.php:138 #, fuzzy msgid "Email address (optional)" msgstr "آدرس نامهٔ الکترونیکی" #: lib/Horde/Alarm/Handler/Notify.php:81 #, fuzzy msgid "Inline" msgstr "درخط" #: lib/Horde/Alarm/Handler/Notify.php:101 msgid "Play a sound?" msgstr "" Horde_Alarm-2.2.10/locale/fi/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000143013113231033020175 0ustar janjanL |,  2   Desktop notification (with certain browsers)EmailEmail address (optional)InlinePlay a sound?Project-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2012-02-22 11:20+0100 PO-Revision-Date: 2012-03-07 15:04:08+0200 Last-Translator: Leena Heino Language-Team: Finnish Language: fi MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); Työpöytähälytykset (vain joillakin selaimilla)SähköpostiSähköpostiosoite (valinnainen)SisällytettySoitetaanko ääni?Horde_Alarm-2.2.10/locale/fi/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000226213113231033020204 0ustar janjan# Finnish translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Leena Heino , 2010-2012. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2012-02-22 11:20+0100\n" "PO-Revision-Date: 2012-03-07 15:04:08+0200\n" "Last-Translator: Leena Heino \n" "Language-Team: Finnish \n" "Language: fi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: lib/Horde/Alarm/Handler/Desktop.php:79 msgid "Desktop notification (with certain browsers)" msgstr "Työpöytähälytykset (vain joillakin selaimilla)" #: lib/Horde/Alarm/Handler/Mail.php:129 msgid "Email" msgstr "Sähköposti" #: lib/Horde/Alarm/Handler/Mail.php:149 msgid "Email address (optional)" msgstr "Sähköpostiosoite (valinnainen)" #: lib/Horde/Alarm/Handler/Notify.php:79 msgid "Inline" msgstr "Sisällytetty" #: lib/Horde/Alarm/Handler/Notify.php:99 msgid "Play a sound?" msgstr "Soitetaanko ääni?" Horde_Alarm-2.2.10/locale/fr/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000147313113231033020215 0ustar janjanL |,  '# ! -Desktop notification (with certain browsers)EmailEmail address (optional)InlinePlay a sound?Project-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2012-02-22 11:20+0100 PO-Revision-Date: 2013-01-14 10:12+0100 Last-Translator: Paul De Vlieger Language-Team: French Language: fr MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n > 1); X-Generator: Lokalize 1.4 Notification (sur certains navigateurs)CourrielAdresse électronique (facultative)incorporéeJouer un son?Horde_Alarm-2.2.10/locale/fr/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000242513113231033020216 0ustar janjan# French translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # Paul De Vlieger , 2013 msgid "" msgstr "" "Project-Id-Version: Horde_Alarm \n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2012-02-22 11:20+0100\n" "PO-Revision-Date: 2013-01-14 10:12+0100\n" "Last-Translator: Paul De Vlieger \n" "Language-Team: French \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "X-Generator: Lokalize 1.4\n" #: lib/Horde/Alarm/Handler/Desktop.php:79 msgid "Desktop notification (with certain browsers)" msgstr "Notification (sur certains navigateurs)" #: lib/Horde/Alarm/Handler/Mail.php:129 msgid "Email" msgstr "Courriel" #: lib/Horde/Alarm/Handler/Mail.php:149 msgid "Email address (optional)" msgstr "Adresse électronique (facultative)" #: lib/Horde/Alarm/Handler/Notify.php:79 msgid "Inline" msgstr "incorporée" #: lib/Horde/Alarm/Handler/Notify.php:99 msgid "Play a sound?" msgstr "Jouer un son?" Horde_Alarm-2.2.10/locale/gl/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000065613113231033020212 0ustar janjan,<PQBWEmailProject-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2010-10-13 01:27+0200 PO-Revision-Date: 2010-10-13 01:27+0200 Last-Translator: Automatically generated Language-Team: i18n@lists.horde.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Correo electrónicoHorde_Alarm-2.2.10/locale/gl/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000176113113231033020213 0ustar janjan# Galician translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: lib/Horde/Alarm/Handler/Desktop.php:86 msgid "Desktop notification (with certain browsers)" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:118 msgid "Email" msgstr "Correo electrónico" #: lib/Horde/Alarm/Handler/Mail.php:138 msgid "Email address (optional)" msgstr "" #: lib/Horde/Alarm/Handler/Notify.php:81 msgid "Inline" msgstr "" #: lib/Horde/Alarm/Handler/Notify.php:101 msgid "Play a sound?" msgstr "" Horde_Alarm-2.2.10/locale/he/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000064713113231033020204 0ustar janjan$,8m9Project-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2010-10-13 01:27+0200 PO-Revision-Date: 2010-10-13 01:27+0200 Last-Translator: Automatically generated Language-Team: i18n@lists.horde.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); Horde_Alarm-2.2.10/locale/he/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000201313113231033020174 0ustar janjan# Hebrew translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: lib/Horde/Alarm/Handler/Desktop.php:86 msgid "Desktop notification (with certain browsers)" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:118 msgid "Email" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:138 msgid "Email address (optional)" msgstr "" #: lib/Horde/Alarm/Handler/Notify.php:81 msgid "Inline" msgstr "" #: lib/Horde/Alarm/Handler/Notify.php:101 msgid "Play a sound?" msgstr "" Horde_Alarm-2.2.10/locale/hr/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000151613113231033020215 0ustar janjanL |,  04=Desktop notification (with certain browsers)EmailEmail address (optional)InlinePlay a sound?Project-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2011-04-05 13:52+0200 PO-Revision-Date: 2011-11-08 16:49+0200 Last-Translator: Valentin Vidic Language-Team: i18n@lists.horde.org Language: hr MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2); Dekstop obavijesti (sa određenim preglednicima)E-mailE-mail adresa (opcionalno)DirektnoUključiti zvuk?Horde_Alarm-2.2.10/locale/hr/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000243013113231033020214 0ustar janjan# Croatian translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Valentin Vidic , 2011. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2011-04-05 13:52+0200\n" "PO-Revision-Date: 2011-11-08 16:49+0200\n" "Last-Translator: Valentin Vidic \n" "Language-Team: i18n@lists.horde.org\n" "Language: hr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #: lib/Horde/Alarm/Handler/Desktop.php:79 msgid "Desktop notification (with certain browsers)" msgstr "Dekstop obavijesti (sa određenim preglednicima)" # E-pošta ? #: lib/Horde/Alarm/Handler/Mail.php:121 msgid "Email" msgstr "E-mail" #: lib/Horde/Alarm/Handler/Mail.php:141 msgid "Email address (optional)" msgstr "E-mail adresa (opcionalno)" # u ravnini, unutra? #: lib/Horde/Alarm/Handler/Notify.php:77 msgid "Inline" msgstr "Direktno" #: lib/Horde/Alarm/Handler/Notify.php:97 msgid "Play a sound?" msgstr "Uključiti zvuk?" Horde_Alarm-2.2.10/locale/hu/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000155213113231033020220 0ustar janjanT , $?4 '/:Desktop notification (with certain browsers)EmailEmail address (optional)InlinePlay a sound?Server error when querying database.Project-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2014-05-28 15:10+0200 PO-Revision-Date: 2014-07-14 11:35+0200 Last-Translator: Andras Galos Language-Team: i18n@lists.horde.org Language: hu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); Asztali emlékeztető (erre alkalmas böngészővel)EmailEmailcím (opcionális):SzövegköziHang lejátszása.Hiba történt az adatbázisműveletek közben.Horde_Alarm-2.2.10/locale/hu/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000310113113231033020213 0ustar janjan# Hungarian translations for Horde_Alarm module. # Copyright 2010-2013 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm \n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2014-05-28 15:10+0200\n" "PO-Revision-Date: 2014-07-14 11:35+0200\n" "Last-Translator: Andras Galos \n" "Language-Team: i18n@lists.horde.org\n" "Language: hu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: lib/Horde/Alarm/Handler/Desktop.php:85 msgid "Desktop notification (with certain browsers)" msgstr "Asztali emlékeztető (erre alkalmas böngészővel)" #: lib/Horde/Alarm/Handler/Mail.php:135 msgid "Email" msgstr "Email" #: lib/Horde/Alarm/Handler/Mail.php:155 msgid "Email address (optional)" msgstr "Emailcím (opcionális):" #: lib/Horde/Alarm/Handler/Notify.php:85 msgid "Inline" msgstr "Szövegközi" #: lib/Horde/Alarm/Handler/Notify.php:105 msgid "Play a sound?" msgstr "Hang lejátszása." #: lib/Horde/Alarm/Sql.php:88 lib/Horde/Alarm/Sql.php:115 #: lib/Horde/Alarm/Sql.php:136 lib/Horde/Alarm/Sql.php:178 #: lib/Horde/Alarm/Sql.php:216 lib/Horde/Alarm/Sql.php:251 #: lib/Horde/Alarm/Sql.php:277 lib/Horde/Alarm/Sql.php:307 #: lib/Horde/Alarm/Sql.php:332 lib/Horde/Alarm/Sql.php:357 #: lib/Horde/Alarm/Sql.php:381 lib/Horde/Alarm/Sql.php:409 msgid "Server error when querying database." msgstr "Hiba történt az adatbázisműveletek közben." Horde_Alarm-2.2.10/locale/id/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000057413113231033020203 0ustar janjan$,8B9Project-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2010-10-13 01:27+0200 PO-Revision-Date: 2010-10-13 01:27+0200 Last-Translator: Automatically generated Language-Team: i18n@lists.horde.org MIME-Version: 1.0 Content-Type: text/plain; charset=ASCII Content-Transfer-Encoding: 8bit Horde_Alarm-2.2.10/locale/id/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000202413113231033020176 0ustar janjan# Indonesian translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: lib/Horde/Alarm/Handler/Desktop.php:86 msgid "Desktop notification (with certain browsers)" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:118 msgid "Email" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:138 #, fuzzy msgid "Email address (optional)" msgstr "Alamat Email" #: lib/Horde/Alarm/Handler/Notify.php:81 #, fuzzy msgid "Inline" msgstr "masih di dalam antrian" #: lib/Horde/Alarm/Handler/Notify.php:101 msgid "Play a sound?" msgstr "" Horde_Alarm-2.2.10/locale/is/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000057413113231033020222 0ustar janjan$,8B9Project-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2010-10-13 01:27+0200 PO-Revision-Date: 2010-10-13 01:27+0200 Last-Translator: Automatically generated Language-Team: i18n@lists.horde.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Horde_Alarm-2.2.10/locale/is/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000177613113231033020232 0ustar janjan# Icelandic translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: lib/Horde/Alarm/Handler/Desktop.php:86 msgid "Desktop notification (with certain browsers)" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:118 msgid "Email" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:138 #, fuzzy msgid "Email address (optional)" msgstr "Netfang" #: lib/Horde/Alarm/Handler/Notify.php:81 #, fuzzy msgid "Inline" msgstr "enginn" #: lib/Horde/Alarm/Handler/Notify.php:101 msgid "Play a sound?" msgstr "" Horde_Alarm-2.2.10/locale/it/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000071313113231033020216 0ustar janjan,<PQmWEmailProject-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2010-10-13 01:27+0200 PO-Revision-Date: 2010-10-13 01:27+0200 Last-Translator: Automatically generated Language-Team: i18n@lists.horde.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); PostaHorde_Alarm-2.2.10/locale/it/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000213113113231033020215 0ustar janjan# Italian translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: lib/Horde/Alarm/Handler/Desktop.php:86 msgid "Desktop notification (with certain browsers)" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:118 msgid "Email" msgstr "Posta" #: lib/Horde/Alarm/Handler/Mail.php:138 #, fuzzy msgid "Email address (optional)" msgstr "Indirizzo di Posta" #: lib/Horde/Alarm/Handler/Notify.php:81 #, fuzzy msgid "Inline" msgstr "inline" #: lib/Horde/Alarm/Handler/Notify.php:101 #, fuzzy msgid "Play a sound?" msgstr "Selezionare un Suono." Horde_Alarm-2.2.10/locale/ja/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000172413113231033020177 0ustar janjanT , $?60%VfQDesktop notification (with certain browsers)EmailEmail address (optional)InlinePlay a sound?Server error when querying database.Project-Id-Version: Horde_Alerm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2014-06-04 11:28+0200 PO-Revision-Date: 2014-06-06 22:31+0900 Last-Translator: Hiromi Kimura Language-Team: i18n@lists.horde.org Language: ja MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=1; plural=0; X-Generator: Poedit 1.6.5 デスクトップ通知(特定のブラウザで)電子メール電子メールアドレス(オプション)インライン音を鳴らしますか?データベース問い合わせ中にサーバでエラーが起きました。Horde_Alarm-2.2.10/locale/ja/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000330613113231033020200 0ustar janjan# Japanese translation for Horde. # Copyright 2004-2013 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde package. # Hiromi Kimura # msgid "" msgstr "" "Project-Id-Version: Horde_Alerm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2014-06-04 11:28+0200\n" "PO-Revision-Date: 2014-06-06 22:31+0900\n" "Last-Translator: Hiromi Kimura \n" "Language-Team: i18n@lists.horde.org\n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Poedit 1.6.5\n" #: lib/Horde/Alarm/Handler/Desktop.php:85 msgid "Desktop notification (with certain browsers)" msgstr "デスクトップ通知(特定のブラウザで)" #: lib/Horde/Alarm/Handler/Mail.php:135 msgid "Email" msgstr "電子メール" #: lib/Horde/Alarm/Handler/Mail.php:155 msgid "Email address (optional)" msgstr "電子メールアドレス(オプション)" #: lib/Horde/Alarm/Handler/Notify.php:85 msgid "Inline" msgstr "インライン" #: lib/Horde/Alarm/Handler/Notify.php:105 msgid "Play a sound?" msgstr "音を鳴らしますか?" #: lib/Horde/Alarm/Sql.php:88 lib/Horde/Alarm/Sql.php:115 #: lib/Horde/Alarm/Sql.php:136 lib/Horde/Alarm/Sql.php:178 #: lib/Horde/Alarm/Sql.php:216 lib/Horde/Alarm/Sql.php:251 #: lib/Horde/Alarm/Sql.php:277 lib/Horde/Alarm/Sql.php:307 #: lib/Horde/Alarm/Sql.php:332 lib/Horde/Alarm/Sql.php:357 #: lib/Horde/Alarm/Sql.php:381 lib/Horde/Alarm/Sql.php:409 msgid "Server error when querying database." msgstr "データベース問い合わせ中にサーバでエラーが起きました。" Horde_Alarm-2.2.10/locale/km/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000065513113231033020216 0ustar janjan,<PQBWEmailProject-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2010-10-13 01:27+0200 PO-Revision-Date: 2010-10-13 01:27+0200 Last-Translator: Automatically generated Language-Team: i18n@lists.horde.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit អ៊ីមែលHorde_Alarm-2.2.10/locale/km/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000214213113231033020212 0ustar janjan# Khmer translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: lib/Horde/Alarm/Handler/Desktop.php:86 msgid "Desktop notification (with certain browsers)" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:118 msgid "Email" msgstr "អ៊ីមែល" #: lib/Horde/Alarm/Handler/Mail.php:138 #, fuzzy msgid "Email address (optional)" msgstr "អាសយដ្ឋាន​អ៊ីមែល" #: lib/Horde/Alarm/Handler/Notify.php:81 #, fuzzy msgid "Inline" msgstr "គូស​បន្ទាត់​ក្រោម" #: lib/Horde/Alarm/Handler/Notify.php:101 msgid "Play a sound?" msgstr "" Horde_Alarm-2.2.10/locale/ko/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000106413113231033020213 0ustar janjan4L`,al( *Desktop notification (with certain browsers)EmailProject-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2014-03-17 16:44+0900 PO-Revision-Date: 2014-03-18 14:45+0100 Last-Translator: Deokgon Kim Language-Team: i18n@lists.horde.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=1; plural=0; 데스크탑 알림(일부 브라우저)이메일Horde_Alarm-2.2.10/locale/ko/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000214713113231033020221 0ustar janjan# Korean translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Deokgon Kim , 2014 msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2014-03-17 16:44+0900\n" "PO-Revision-Date: 2014-03-18 14:45+0100\n" "Last-Translator: Deokgon Kim \n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" #: lib/Horde/Alarm/Handler/Desktop.php:85 msgid "Desktop notification (with certain browsers)" msgstr "데스크탑 알림(일부 브라우저)" #: lib/Horde/Alarm/Handler/Mail.php:135 msgid "Email" msgstr "이메일" #: lib/Horde/Alarm/Handler/Mail.php:155 #, fuzzy msgid "Email address (optional)" msgstr "이메일 주소:" #: lib/Horde/Alarm/Handler/Notify.php:85 #, fuzzy msgid "Inline" msgstr "없음" #: lib/Horde/Alarm/Handler/Notify.php:105 msgid "Play a sound?" msgstr "" Horde_Alarm-2.2.10/locale/lt/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000151113113231033020216 0ustar janjanL |,  ;   ,8Desktop notification (with certain browsers)EmailEmail address (optional)InlinePlay a sound?Project-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2011-05-28 01:09+0300 PO-Revision-Date: 2011-06-27 22:21+0300 Last-Translator: Vilius Šumskas Language-Team: Lithuanian MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2); Pranešimai ant darbalaukio (su kai kuriomis naršyklėmis)El. paštuEl. pašto adresas (nebūtinas)PuslapiuosePranešti garsu?Horde_Alarm-2.2.10/locale/lt/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000234513113231033020227 0ustar janjan# Lithuanian translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Vilius Šumskas , 2011. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2011-05-28 01:09+0300\n" "PO-Revision-Date: 2011-06-27 22:21+0300\n" "Last-Translator: Vilius Šumskas \n" "Language-Team: Lithuanian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n" "%100<10 || n%100>=20) ? 1 : 2);\n" #: lib/Horde/Alarm/Handler/Desktop.php:79 msgid "Desktop notification (with certain browsers)" msgstr "Pranešimai ant darbalaukio (su kai kuriomis naršyklėmis)" #: lib/Horde/Alarm/Handler/Mail.php:121 msgid "Email" msgstr "El. paštu" #: lib/Horde/Alarm/Handler/Mail.php:141 msgid "Email address (optional)" msgstr "El. pašto adresas (nebūtinas)" #: lib/Horde/Alarm/Handler/Notify.php:77 msgid "Inline" msgstr "Puslapiuose" #: lib/Horde/Alarm/Handler/Notify.php:97 msgid "Play a sound?" msgstr "Pranešti garsu?" Horde_Alarm-2.2.10/locale/lv/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000157613113231033020233 0ustar janjanL |,  :9A `lDesktop notification (with certain browsers)EmailEmail address (optional)InlinePlay a sound?Project-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2011-04-05 13:52+0200 PO-Revision-Date: 2011-10-16 15:21+0300 Last-Translator: Jānis Eisaks Language-Team: i18n@lists.horde.org Language: lv MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2); X-Poedit-Language: Latvian X-Poedit-Country: LATVIA X-Poedit-SourceCharset: utf-8 Informēšana caur darba virsmu (atsevišķiem parlūkiem)E-pastsE-pasta adrese (nav obligāti)IekļautaisAtskaņot skaņu?Horde_Alarm-2.2.10/locale/lv/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000244113113231033020226 0ustar janjan# Latvian translations for Horde_Alarm package. # Copyright 2011-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm package. # Automatically generated, 2011. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2011-04-05 13:52+0200\n" "PO-Revision-Date: 2011-10-16 15:21+0300\n" "Last-Translator: Jānis Eisaks \n" "Language-Team: i18n@lists.horde.org\n" "Language: lv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " "2);\n" "X-Poedit-Language: Latvian\n" "X-Poedit-Country: LATVIA\n" "X-Poedit-SourceCharset: utf-8\n" #: lib/Horde/Alarm/Handler/Desktop.php:79 msgid "Desktop notification (with certain browsers)" msgstr "Informēšana caur darba virsmu (atsevišķiem parlūkiem)" #: lib/Horde/Alarm/Handler/Mail.php:121 msgid "Email" msgstr "E-pasts" #: lib/Horde/Alarm/Handler/Mail.php:141 msgid "Email address (optional)" msgstr "E-pasta adrese (nav obligāti)" #: lib/Horde/Alarm/Handler/Notify.php:77 msgid "Inline" msgstr "Iekļautais" #: lib/Horde/Alarm/Handler/Notify.php:97 msgid "Play a sound?" msgstr "Atskaņot skaņu?" Horde_Alarm-2.2.10/locale/mk/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000065013113231033020211 0ustar janjan,<PQBW EmailProject-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2010-10-13 01:27+0200 PO-Revision-Date: 2010-10-13 01:27+0200 Last-Translator: Automatically generated Language-Team: i18n@lists.horde.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit е-поштаHorde_Alarm-2.2.10/locale/mk/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000175513113231033020223 0ustar janjan# Macedonian translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: lib/Horde/Alarm/Handler/Desktop.php:86 msgid "Desktop notification (with certain browsers)" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:118 msgid "Email" msgstr "е-пошта" #: lib/Horde/Alarm/Handler/Mail.php:138 msgid "Email address (optional)" msgstr "" #: lib/Horde/Alarm/Handler/Notify.php:81 msgid "Inline" msgstr "" #: lib/Horde/Alarm/Handler/Notify.php:101 msgid "Play a sound?" msgstr "" Horde_Alarm-2.2.10/locale/nb/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000071413113231033020202 0ustar janjan,<PQmWEmailProject-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2010-10-13 01:27+0200 PO-Revision-Date: 2010-10-13 01:27+0200 Last-Translator: Automatically generated Language-Team: i18n@lists.horde.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); E-postHorde_Alarm-2.2.10/locale/nb/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000210013113231033020174 0ustar janjan# Norwegian Bokmal translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: lib/Horde/Alarm/Handler/Desktop.php:86 msgid "Desktop notification (with certain browsers)" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:118 msgid "Email" msgstr "E-post" #: lib/Horde/Alarm/Handler/Mail.php:138 #, fuzzy msgid "Email address (optional)" msgstr "E-postadresse" #: lib/Horde/Alarm/Handler/Notify.php:81 #, fuzzy msgid "Inline" msgstr "inline" #: lib/Horde/Alarm/Handler/Notify.php:101 msgid "Play a sound?" msgstr "" Horde_Alarm-2.2.10/locale/nl/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000145013113231033020212 0ustar janjanL |,  7Desktop notification (with certain browsers)EmailEmail address (optional)InlinePlay a sound?Project-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2012-02-22 11:20+0100 PO-Revision-Date: 2012-11-03 11:28+0100 Last-Translator: Arjen de Korte Language-Team: Dutch Language: nl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); X-Generator: Lokalize 1.4 Weergeven van pop-up notificatie (met sommige browsers)E-mailE-mailadres (optioneel)inlineGeluid afspelen?Horde_Alarm-2.2.10/locale/nl/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000231613113231033020217 0ustar janjan# Dutch translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # # Arjen de Korte , 2012. msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2012-02-22 11:20+0100\n" "PO-Revision-Date: 2012-11-03 11:28+0100\n" "Last-Translator: Arjen de Korte \n" "Language-Team: Dutch \n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Lokalize 1.4\n" #: lib/Horde/Alarm/Handler/Desktop.php:79 msgid "Desktop notification (with certain browsers)" msgstr "Weergeven van pop-up notificatie (met sommige browsers)" #: lib/Horde/Alarm/Handler/Mail.php:129 msgid "Email" msgstr "E-mail" #: lib/Horde/Alarm/Handler/Mail.php:149 msgid "Email address (optional)" msgstr "E-mailadres (optioneel)" #: lib/Horde/Alarm/Handler/Notify.php:79 msgid "Inline" msgstr "inline" #: lib/Horde/Alarm/Handler/Notify.php:99 msgid "Play a sound?" msgstr "Geluid afspelen?" Horde_Alarm-2.2.10/locale/nn/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000071413113231033020216 0ustar janjan,<PQmWEmailProject-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2010-10-13 01:27+0200 PO-Revision-Date: 2010-10-13 01:27+0200 Last-Translator: Automatically generated Language-Team: i18n@lists.horde.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); E-postHorde_Alarm-2.2.10/locale/nn/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000203413113231033020216 0ustar janjan# Norwegian Nynorsk translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: lib/Horde/Alarm/Handler/Desktop.php:86 msgid "Desktop notification (with certain browsers)" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:118 msgid "Email" msgstr "E-post" #: lib/Horde/Alarm/Handler/Mail.php:138 msgid "Email address (optional)" msgstr "" #: lib/Horde/Alarm/Handler/Notify.php:81 msgid "Inline" msgstr "" #: lib/Horde/Alarm/Handler/Notify.php:101 msgid "Play a sound?" msgstr "" Horde_Alarm-2.2.10/locale/pl/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000144513113231033020220 0ustar janjanL |,  % Desktop notification (with certain browsers)EmailEmail address (optional)InlinePlay a sound?Project-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2010-10-13 01:27+0200 PO-Revision-Date: 2012-10-29 21:17+0100 Last-Translator: Krzysztof Kozera Language-Team: i18n@lists.horde.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2); Na pulpicie (niektóre przeglądarki)EmailAdres email (opcjonalne)W treściOdtworzyć dźwięk?Horde_Alarm-2.2.10/locale/pl/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000230413113231033020216 0ustar janjan# Polish translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Krzysztof Kozera , 2012. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2012-10-29 21:17+0100\n" "Last-Translator: Krzysztof Kozera \n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2);\n" #: lib/Horde/Alarm/Handler/Desktop.php:86 msgid "Desktop notification (with certain browsers)" msgstr "Na pulpicie (niektóre przeglądarki)" #: lib/Horde/Alarm/Handler/Mail.php:118 msgid "Email" msgstr "Email" #: lib/Horde/Alarm/Handler/Mail.php:138 msgid "Email address (optional)" msgstr "Adres email (opcjonalne)" #: lib/Horde/Alarm/Handler/Notify.php:81 msgid "Inline" msgstr "W treści" #: lib/Horde/Alarm/Handler/Notify.php:101 msgid "Play a sound?" msgstr "Odtworzyć dźwięk?" Horde_Alarm-2.2.10/locale/pt/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000073213113231033020226 0ustar janjan,<PQmWEmailProject-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2010-10-13 01:27+0200 PO-Revision-Date: 2010-10-13 01:27+0200 Last-Translator: Automatically generated Language-Team: i18n@lists.horde.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); Correio ElectrónicoHorde_Alarm-2.2.10/locale/pt/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000213613113231033020231 0ustar janjan# Portuguese translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: lib/Horde/Alarm/Handler/Desktop.php:86 msgid "Desktop notification (with certain browsers)" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:118 msgid "Email" msgstr "Correio Electrónico" #: lib/Horde/Alarm/Handler/Mail.php:138 #, fuzzy msgid "Email address (optional)" msgstr "Endereço de Correio Electrónico" #: lib/Horde/Alarm/Handler/Notify.php:81 #, fuzzy msgid "Inline" msgstr "em linha" #: lib/Horde/Alarm/Handler/Notify.php:101 msgid "Play a sound?" msgstr "" Horde_Alarm-2.2.10/locale/pt_BR/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000155213113231033020612 0ustar janjanT , $?1% .-<Desktop notification (with certain browsers)EmailEmail address (optional)InlinePlay a sound?Server error when querying database.Project-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2014-04-25 22:27-0300 PO-Revision-Date: 2014-04-26 18:24-0300 Last-Translator: Luis Felipe Marzagao Language-Team: i18n@lists.horde.org Language: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n > 1); Notificação no Desktop (com alguns navegadores)EmailEndereço de email (opcional)Em linhaTocar um som?Erro no servidor ao consultar banco de dados.Horde_Alarm-2.2.10/locale/pt_BR/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000314313113231033020613 0ustar janjan# Portuguese translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2014-04-25 22:27-0300\n" "PO-Revision-Date: 2014-04-26 18:24-0300\n" "Last-Translator: Luis Felipe Marzagao \n" "Language-Team: i18n@lists.horde.org\n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: lib/Horde/Alarm/Handler/Desktop.php:85 msgid "Desktop notification (with certain browsers)" msgstr "Notificação no Desktop (com alguns navegadores)" #: lib/Horde/Alarm/Handler/Mail.php:135 msgid "Email" msgstr "Email" #: lib/Horde/Alarm/Handler/Mail.php:155 msgid "Email address (optional)" msgstr "Endereço de email (opcional)" #: lib/Horde/Alarm/Handler/Notify.php:85 msgid "Inline" msgstr "Em linha" #: lib/Horde/Alarm/Handler/Notify.php:105 msgid "Play a sound?" msgstr "Tocar um som?" #: lib/Horde/Alarm/Sql.php:88 lib/Horde/Alarm/Sql.php:115 #: lib/Horde/Alarm/Sql.php:136 lib/Horde/Alarm/Sql.php:178 #: lib/Horde/Alarm/Sql.php:216 lib/Horde/Alarm/Sql.php:251 #: lib/Horde/Alarm/Sql.php:277 lib/Horde/Alarm/Sql.php:307 #: lib/Horde/Alarm/Sql.php:332 lib/Horde/Alarm/Sql.php:357 #: lib/Horde/Alarm/Sql.php:381 lib/Horde/Alarm/Sql.php:409 msgid "Server error when querying database." msgstr "Erro no servidor ao consultar banco de dados." Horde_Alarm-2.2.10/locale/ro/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000077113113231033020226 0ustar janjan,<PQWEmailProject-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2010-10-13 01:27+0200 PO-Revision-Date: 2010-10-13 01:27+0200 Last-Translator: Automatically generated Language-Team: i18n@lists.horde.org MIME-Version: 1.0 Content-Type: text/plain; charset=ASCII Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2; EmailHorde_Alarm-2.2.10/locale/ro/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000210313113231033020220 0ustar janjan# Romanian translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " "20)) ? 1 : 2;\n" #: lib/Horde/Alarm/Handler/Desktop.php:86 msgid "Desktop notification (with certain browsers)" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:118 msgid "Email" msgstr "Email" #: lib/Horde/Alarm/Handler/Mail.php:138 msgid "Email address (optional)" msgstr "" #: lib/Horde/Alarm/Handler/Notify.php:81 msgid "Inline" msgstr "" #: lib/Horde/Alarm/Handler/Notify.php:101 msgid "Play a sound?" msgstr "" Horde_Alarm-2.2.10/locale/ru/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000114413113231033020227 0ustar janjan4L`ag8%>EmailEmail address (optional)Project-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2010-10-13 01:27+0200 PO-Revision-Date: 2010-10-13 01:27+0200 Last-Translator: Automatically generated Language-Team: i18n@lists.horde.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2); EmailВаш Email (опционально)Horde_Alarm-2.2.10/locale/ru/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000232413113231033020233 0ustar janjan# Russian translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #: lib/Horde/Alarm/Handler/Desktop.php:86 msgid "Desktop notification (with certain browsers)" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:118 msgid "Email" msgstr "Email" #: lib/Horde/Alarm/Handler/Mail.php:138 msgid "Email address (optional)" msgstr "Ваш Email (опционально)" # fuzzy #: lib/Horde/Alarm/Handler/Notify.php:81 #, fuzzy msgid "Inline" msgstr "в текст" # fuzzy #: lib/Horde/Alarm/Handler/Notify.php:101 #, fuzzy msgid "Play a sound?" msgstr "Укажите хранилище:" Horde_Alarm-2.2.10/locale/sk/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000145513113231033020223 0ustar janjanL |,  <Desktop notification (with certain browsers)EmailEmail address (optional)InlinePlay a sound?Project-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2011-04-05 13:52+0200 PO-Revision-Date: 2011-05-20 15:17+0100 Last-Translator: Martin Matuška Language-Team: i18n@lists.horde.org Language: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2; Upozornenie na pracovnej ploche (iba niektoré prehliadače)E-mailE-Mailová adresa (voliteľné)V prehliadačiPrehrať zvuk?Horde_Alarm-2.2.10/locale/sk/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000227613113231033020230 0ustar janjan# Slovak translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2011-04-05 13:52+0200\n" "PO-Revision-Date: 2011-05-20 15:17+0100\n" "Last-Translator: Martin Matuška \n" "Language-Team: i18n@lists.horde.org\n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #: lib/Horde/Alarm/Handler/Desktop.php:79 msgid "Desktop notification (with certain browsers)" msgstr "Upozornenie na pracovnej ploche (iba niektoré prehliadače)" #: lib/Horde/Alarm/Handler/Mail.php:121 msgid "Email" msgstr "E-mail" #: lib/Horde/Alarm/Handler/Mail.php:141 msgid "Email address (optional)" msgstr "E-Mailová adresa (voliteľné)" #: lib/Horde/Alarm/Handler/Notify.php:77 msgid "Inline" msgstr "V prehliadači" #: lib/Horde/Alarm/Handler/Notify.php:97 msgid "Play a sound?" msgstr "Prehrať zvuk?" Horde_Alarm-2.2.10/locale/sl/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000101413113231033020213 0ustar janjan,<PQWEmailProject-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2010-10-13 01:27+0200 PO-Revision-Date: 2010-10-13 01:27+0200 Last-Translator: Automatically generated Language-Team: i18n@lists.horde.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3); Elektronska poštaHorde_Alarm-2.2.10/locale/sl/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000221013113231033020215 0ustar janjan# Slovenian translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" "%100==4 ? 2 : 3);\n" #: lib/Horde/Alarm/Handler/Desktop.php:86 msgid "Desktop notification (with certain browsers)" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:118 msgid "Email" msgstr "Elektronska pošta" #: lib/Horde/Alarm/Handler/Mail.php:138 #, fuzzy msgid "Email address (optional)" msgstr "Elektronski naslov" #: lib/Horde/Alarm/Handler/Notify.php:81 #, fuzzy msgid "Inline" msgstr "med vrsticami" #: lib/Horde/Alarm/Handler/Notify.php:101 msgid "Play a sound?" msgstr "" Horde_Alarm-2.2.10/locale/sv/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000071413113231033020233 0ustar janjan,<PQmWEmailProject-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2010-10-13 01:27+0200 PO-Revision-Date: 2010-10-13 01:27+0200 Last-Translator: Automatically generated Language-Team: i18n@lists.horde.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); E-postHorde_Alarm-2.2.10/locale/sv/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000206713113231033020241 0ustar janjan# Swedish translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: lib/Horde/Alarm/Handler/Desktop.php:86 msgid "Desktop notification (with certain browsers)" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:118 msgid "Email" msgstr "E-post" #: lib/Horde/Alarm/Handler/Mail.php:138 #, fuzzy msgid "Email address (optional)" msgstr "E-post adress" #: lib/Horde/Alarm/Handler/Notify.php:81 #, fuzzy msgid "Inline" msgstr "inline" #: lib/Horde/Alarm/Handler/Notify.php:101 msgid "Play a sound?" msgstr "" Horde_Alarm-2.2.10/locale/tr/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000070513113231033020230 0ustar janjan,<PQfWEmailProject-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2010-10-13 01:27+0200 PO-Revision-Date: 2010-10-13 01:27+0200 Last-Translator: Automatically generated Language-Team: i18n@lists.horde.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=1; plural=0; EpostaHorde_Alarm-2.2.10/locale/tr/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000214513113231033020233 0ustar janjan# Turkish translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" #: lib/Horde/Alarm/Handler/Desktop.php:86 msgid "Desktop notification (with certain browsers)" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:118 msgid "Email" msgstr "Eposta" #: lib/Horde/Alarm/Handler/Mail.php:138 #, fuzzy msgid "Email address (optional)" msgstr "Elektronik Posta Adresi" #: lib/Horde/Alarm/Handler/Notify.php:81 #, fuzzy msgid "Inline" msgstr "Metne gömülü" #: lib/Horde/Alarm/Handler/Notify.php:101 #, fuzzy msgid "Play a sound?" msgstr "Lütfen bir ses seçiniz." Horde_Alarm-2.2.10/locale/uk/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000203413113231033020217 0ustar janjanT , $?^ a3oKDesktop notification (with certain browsers)EmailEmail address (optional)InlinePlay a sound?Server error when querying database.Project-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2015-03-24 10:40+0100 PO-Revision-Date: 2015-06-01 01:27+0200 Last-Translator: Automatically generated Language-Team: i18n@lists.horde.org Language: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2); Сповіщення на Робочому столі (з певними браузерами)Е-поштаАдреса е-пошти (опціонально)По текстуГрати мелодію?Помилка сервера при запиті до бази даних.Horde_Alarm-2.2.10/locale/uk/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000343013113231033020223 0ustar janjan# Ukrainian translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2015-03-24 10:40+0100\n" "PO-Revision-Date: 2015-06-01 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #: lib/Horde/Alarm/Handler/Desktop.php:85 msgid "Desktop notification (with certain browsers)" msgstr "Сповіщення на Робочому столі (з певними браузерами)" #: lib/Horde/Alarm/Handler/Mail.php:135 msgid "Email" msgstr "Е-пошта" #: lib/Horde/Alarm/Handler/Mail.php:155 msgid "Email address (optional)" msgstr "Адреса е-пошти (опціонально)" #: lib/Horde/Alarm/Handler/Notify.php:85 msgid "Inline" msgstr "По тексту" #: lib/Horde/Alarm/Handler/Notify.php:105 msgid "Play a sound?" msgstr "Грати мелодію?" #: lib/Horde/Alarm/Sql.php:88 lib/Horde/Alarm/Sql.php:115 #: lib/Horde/Alarm/Sql.php:192 lib/Horde/Alarm/Sql.php:229 #: lib/Horde/Alarm/Sql.php:272 lib/Horde/Alarm/Sql.php:298 #: lib/Horde/Alarm/Sql.php:328 lib/Horde/Alarm/Sql.php:353 #: lib/Horde/Alarm/Sql.php:378 lib/Horde/Alarm/Sql.php:402 #: lib/Horde/Alarm/Sql.php:430 lib/Horde/Alarm/Sql.php:504 msgid "Server error when querying database." msgstr "Помилка сервера при запиті до бази даних." Horde_Alarm-2.2.10/locale/zh_CN/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000064713113231033020611 0ustar janjan,<PQBW EmailProject-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2010-10-13 01:27+0200 PO-Revision-Date: 2010-10-13 01:27+0200 Last-Translator: Automatically generated Language-Team: i18n@lists.horde.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 电子邮件Horde_Alarm-2.2.10/locale/zh_CN/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000202613113231033020605 0ustar janjan# Chinese translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: lib/Horde/Alarm/Handler/Desktop.php:86 msgid "Desktop notification (with certain browsers)" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:118 msgid "Email" msgstr "电子邮件" #: lib/Horde/Alarm/Handler/Mail.php:138 #, fuzzy msgid "Email address (optional)" msgstr "电子邮件地址" #: lib/Horde/Alarm/Handler/Notify.php:81 #, fuzzy msgid "Inline" msgstr "嵌入式" #: lib/Horde/Alarm/Handler/Notify.php:101 msgid "Play a sound?" msgstr "" Horde_Alarm-2.2.10/locale/zh_TW/LC_MESSAGES/Horde_Alarm.mo0000664000175000017500000000064713113231033020643 0ustar janjan,<PQBW EmailProject-Id-Version: Horde_Alarm Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2010-10-13 01:27+0200 PO-Revision-Date: 2010-10-13 01:27+0200 Last-Translator: Automatically generated Language-Team: i18n@lists.horde.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 電子郵件Horde_Alarm-2.2.10/locale/zh_TW/LC_MESSAGES/Horde_Alarm.po0000664000175000017500000000210413113231033020634 0ustar janjan# Chinese translations for Horde_Alarm module. # Copyright 2010-2017 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: lib/Horde/Alarm/Handler/Desktop.php:86 msgid "Desktop notification (with certain browsers)" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:118 msgid "Email" msgstr "電子郵件" #: lib/Horde/Alarm/Handler/Mail.php:138 #, fuzzy msgid "Email address (optional)" msgstr "電子郵件住址" #: lib/Horde/Alarm/Handler/Notify.php:81 #, fuzzy msgid "Inline" msgstr "直接顯示於本文區" #: lib/Horde/Alarm/Handler/Notify.php:101 #, fuzzy msgid "Play a sound?" msgstr "請選擇一種鈴聲." Horde_Alarm-2.2.10/locale/Horde_Alarm.pot0000664000175000017500000000260213113231033016203 0ustar janjan# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Alarm package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Horde_Alarm\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2015-03-24 10:40+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: lib/Horde/Alarm/Handler/Desktop.php:85 msgid "Desktop notification (with certain browsers)" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:135 msgid "Email" msgstr "" #: lib/Horde/Alarm/Handler/Mail.php:155 msgid "Email address (optional)" msgstr "" #: lib/Horde/Alarm/Handler/Notify.php:85 msgid "Inline" msgstr "" #: lib/Horde/Alarm/Handler/Notify.php:105 msgid "Play a sound?" msgstr "" #: lib/Horde/Alarm/Sql.php:88 lib/Horde/Alarm/Sql.php:115 #: lib/Horde/Alarm/Sql.php:192 lib/Horde/Alarm/Sql.php:229 #: lib/Horde/Alarm/Sql.php:272 lib/Horde/Alarm/Sql.php:298 #: lib/Horde/Alarm/Sql.php:328 lib/Horde/Alarm/Sql.php:353 #: lib/Horde/Alarm/Sql.php:378 lib/Horde/Alarm/Sql.php:402 #: lib/Horde/Alarm/Sql.php:430 lib/Horde/Alarm/Sql.php:504 msgid "Server error when querying database." msgstr "" Horde_Alarm-2.2.10/migration/Horde/Alarm/1_horde_alarms_table.php0000664000175000017500000000270413113231033022674 0ustar janjantables())) { $t = $this->createTable('horde_alarms'); $t->column('alarm_id', 'string', array('limit' => 255, 'null' => false)); $t->column('alarm_uid', 'string', array('limit' => 255)); $t->column('alarm_start', 'datetime', array('null' => false)); $t->column('alarm_end', 'datetime'); $t->column('alarm_methods', 'string', array('limit' => 255)); $t->column('alarm_params', 'text'); $t->column('alarm_title', 'string', array('limit' => 255, 'null' => false)); $t->column('alarm_text', 'text'); $t->column('alarm_snooze', 'datetime'); $t->column('alarm_dismissed', 'integer', array('limit' => 1, 'null' => false, 'default' => 0)); $t->column('alarm_internal', 'text'); $t->end(); $this->addIndex('horde_alarms', array('alarm_id')); $this->addIndex('horde_alarms', array('alarm_uid')); $this->addIndex('horde_alarms', array('alarm_start')); $this->addIndex('horde_alarms', array('alarm_end')); $this->addIndex('horde_alarms', array('alarm_snooze')); $this->addIndex('horde_alarms', array('alarm_dismissed')); } } public function down() { $this->dropTable('horde_alarms'); } } Horde_Alarm-2.2.10/migration/Horde/Alarm/2_horde_alarms_add_instanceid.php0000664000175000017500000000055013113231033024534 0ustar janjanaddColumn( 'horde_alarms', 'alarm_instanceid', 'string', array('limit' => 255)); } public function down() { $this->removeColumn('horde_alarms', 'alarm_instanceid'); } } Horde_Alarm-2.2.10/test/Horde/Alarm/Storage/Sql/Pdo/MysqlTest.php0000664000175000017500000000166613113231033022473 0ustar janjan * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 * @category Horde * @package Alarm * @subpackage UnitTests */ class Horde_Alarm_Storage_Sql_Pdo_MysqlTest extends Horde_Alarm_Storage_Sql_Base { public static function setUpBeforeClass() { if (!extension_loaded('pdo') || !in_array('mysql', PDO::getAvailableDrivers())) { self::$reason = 'No pdo extension or no mysql PDO driver'; return; } $config = self::getConfig('ALARM_SQL_PDO_MYSQL_TEST_CONFIG', __DIR__ . '/../../..'); if ($config && !empty($config['alarm']['sql']['pdo_mysql'])) { self::$db = new Horde_Db_Adapter_Pdo_Mysql($config['alarm']['sql']['pdo_mysql']); parent::setUpBeforeClass(); } else { self::$reason = 'No pdo_mysql configuration'; } } } Horde_Alarm-2.2.10/test/Horde/Alarm/Storage/Sql/Pdo/PgsqlTest.php0000664000175000017500000000166613113231033022454 0ustar janjan * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 * @category Horde * @package Alarm * @subpackage UnitTests */ class Horde_Alarm_Storage_Sql_Pdo_PgsqlTest extends Horde_Alarm_Storage_Sql_Base { public static function setUpBeforeClass() { if (!extension_loaded('pdo') || !in_array('pgsql', PDO::getAvailableDrivers())) { self::$reason = 'No pdo extension or no pgsql PDO driver'; return; } $config = self::getConfig('ALARM_SQL_PDO_PGSQL_TEST_CONFIG', __DIR__ . '/../../..'); if ($config && !empty($config['alarm']['sql']['pdo_pgsql'])) { self::$db = new Horde_Db_Adapter_Pdo_Pgsql($config['alarm']['sql']['pdo_pgsql']); parent::setUpBeforeClass(); } else { self::$reason = 'No pdo_pgsql configuration'; } } } Horde_Alarm-2.2.10/test/Horde/Alarm/Storage/Sql/Pdo/SqliteTest.php0000664000175000017500000000111713113231033022616 0ustar janjan * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 * @category Horde * @package Alarm * @subpackage UnitTests */ class Horde_Alarm_Storage_Sql_Pdo_SqliteTest extends Horde_Alarm_Storage_Sql_Base { public static function setUpBeforeClass() { $factory_db = new Horde_Test_Factory_Db(); try { self::$db = $factory_db->create(); parent::setUpBeforeClass(); } catch (Horde_Test_Exception $e) { self::$reason = 'Sqlite not available.'; } } } Horde_Alarm-2.2.10/test/Horde/Alarm/Storage/Sql/Base.php0000664000175000017500000000555613113231033020660 0ustar janjan * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 * @category Horde * @package Alarm * @subpackage UnitTests */ abstract class Horde_Alarm_Storage_Sql_Base extends Horde_Alarm_Storage_Base { protected static $db; protected static $migrator; protected static $reason; public static function setUpBeforeClass() { parent::setUpBeforeClass(); $logger = new Horde_Log_Logger(new Horde_Log_Handler_Cli()); //self::$db->setLogger($logger); $dir = __DIR__ . '/../../../../../migration/Horde/Alarm'; if (!is_dir($dir)) { error_reporting(E_ALL & ~E_DEPRECATED); $dir = PEAR_Config::singleton() ->get('data_dir', null, 'pear.horde.org') . '/Horde_Alarm/migration'; error_reporting(E_ALL | E_STRICT); } self::$migrator = new Horde_Db_Migration_Migrator( self::$db, null,//$logger, array('migrationsPath' => $dir, 'schemaTableName' => 'horde_alarm_schema_info')); self::$migrator->up(); } public static function tearDownAfterClass() { if (self::$migrator) { self::$migrator->down(); } if (self::$db) { self::$db->disconnect(); } self::$db = self::$migrator = null; } public function setUp() { if (!self::$db) { $this->markTestSkipped(self::$reason); } parent::setUp(); } public function testFactory() { self::$alarm = new Horde_Alarm_Sql(array('db' => self::$db, 'charset' => 'UTF-8')); self::$alarm->initialize(); self::$alarm->gc(true); } /** * @depends testFactory */ public function testSetWithInstanceId() { $now = time(); $date = new Horde_Date($now); $end = new Horde_Date($now + 3600); $hash = array('id' => '123', 'user' => 'john', 'start' => $date, 'end' => $end, 'methods' => array(), 'params' => array(), 'title' => 'This is the first instance', 'instanceid' => '03052014'); self::$alarm->set($hash); $alarm = self::$alarm->get('123', 'john'); $this->assertEquals('123', $alarm['id']); $this->assertEquals('This is the first instance', $alarm['title']); $hash['instanceid'] = '03062014'; $hash['title'] = 'This is the second instance'; self::$alarm->set($hash); $alarm = self::$alarm->get('123', 'john'); $this->assertEquals('123', $alarm['id']); $this->assertEquals('This is the second instance', $alarm['title']); // clean self::$alarm->delete('123', 'john'); } } Horde_Alarm-2.2.10/test/Horde/Alarm/Storage/Sql/MysqliTest.php0000664000175000017500000000152213113231033022111 0ustar janjan * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 * @category Horde * @package Alarm * @subpackage UnitTests */ class Horde_Alarm_Storage_Sql_MysqliTest extends Horde_Alarm_Storage_Sql_Base { public static function setUpBeforeClass() { if (!extension_loaded('mysqli')) { self::$reason = 'No mysqli extension'; return; } $config = self::getConfig('ALARM_SQL_MYSQLI_TEST_CONFIG', __DIR__ . '/../..'); if ($config && !empty($config['alarm']['sql']['mysqli'])) { self::$db = new Horde_Db_Adapter_Mysqli($config['alarm']['sql']['mysqli']); parent::setUpBeforeClass(); } else { self::$reason = 'No mysqli configuration'; } } } Horde_Alarm-2.2.10/test/Horde/Alarm/Storage/Sql/MysqlTest.php0000664000175000017500000000151213113231033021737 0ustar janjan * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 * @category Horde * @package Alarm * @subpackage UnitTests */ class Horde_Alarm_Storage_Sql_MysqlTest extends Horde_Alarm_Storage_Sql_Base { public static function setUpBeforeClass() { if (!extension_loaded('mysql')) { self::$reason = 'No mysql extension'; return; } $config = self::getConfig('ALARM_SQL_MYSQL_TEST_CONFIG', __DIR__ . '/../..'); if ($config && !empty($config['alarm']['sql']['mysql'])) { self::$db = new Horde_Db_Adapter_Mysql($config['alarm']['sql']['mysql']); parent::setUpBeforeClass(); } else { self::$reason = 'No mysql configuration'; } } } Horde_Alarm-2.2.10/test/Horde/Alarm/Storage/Sql/Oci8Test.php0000664000175000017500000000150213113231033021433 0ustar janjan * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 * @category Horde * @package Alarm * @subpackage UnitTests */ class Horde_Alarm_Storage_Sql_Oci8Test extends Horde_Alarm_Storage_Sql_Base { public static function setUpBeforeClass() { if (!extension_loaded('oci8')) { self::$reason = 'No oci8 extension'; return; } $config = self::getConfig('ALARM_SQL_OCI8_TEST_CONFIG', __DIR__ . '/../..'); if ($config && !empty($config['alarm']['sql']['oci8'])) { self::$db = new Horde_Db_Adapter_Oci8($config['alarm']['sql']['oci8']); parent::setUpBeforeClass(); } else { self::$reason = 'No oci8 configuration'; } } } Horde_Alarm-2.2.10/test/Horde/Alarm/Storage/Base.php0000664000175000017500000001222313113231033020106 0ustar janjan * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 * @category Horde * @package Alarm * @subpackage UnitTests */ abstract class Horde_Alarm_Storage_Base extends Horde_Test_Case { protected static $alarm; protected static $date; protected static $end; public static function setUpBeforeClass() { $now = time(); self::$date = new Horde_Date($now); self::$end = new Horde_Date($now + 3600); } abstract public function testFactory(); /** * @depends testFactory */ public function testSet() { $hash = array('id' => 'personalalarm', 'user' => 'john', 'start' => self::$date, 'end' => self::$end, 'methods' => array(), 'params' => array('foo' => str_repeat('X', 5000)), 'title' => 'This is a personal alarm.'); self::$alarm->set($hash); } /** * @depends testSet */ public function testExists() { $this->assertTrue(self::$alarm->exists('personalalarm', 'john')); } /** * @depends testExists */ public function testGet() { $alarm = self::$alarm->get('personalalarm', 'john'); $this->assertInternalType('array', $alarm); $this->assertEquals('personalalarm', $alarm['id']); $this->assertEquals('john', $alarm['user']); $this->assertEquals(array(), $alarm['methods']); $this->assertEquals(str_repeat('X', 5000), $alarm['params']['foo']); $this->assertEquals('This is a personal alarm.', $alarm['title']); $this->assertNull($alarm['text']); $this->assertNull($alarm['snooze']); $this->assertNull($alarm['internal']); $this->assertThat($alarm['start'], $this->isInstanceOf('Horde_Date')); $this->assertThat($alarm['end'], $this->isInstanceOf('Horde_Date')); $this->assertEquals(0, $alarm['start']->compareDateTime(self::$date)); return $alarm; } /** * @depends testGet */ public function testUpdate($alarm) { $alarm['title'] = 'Changed alarm text'; self::$alarm->set($alarm); } /** * @depends testUpdate */ public function testListAlarms() { $date = clone self::$date; $date->min--; self::$alarm->set(array('id' => 'publicalarm', 'start' => $date, 'end' => self::$end, 'methods' => array(), 'params' => array(), 'title' => 'This is a public alarm.')); $list = self::$alarm->listAlarms('john'); $this->assertEquals(2, count($list)); $this->assertEquals('publicalarm', $list[0]['id']); $this->assertEquals('personalalarm', $list[1]['id']); } /** * @depends testListAlarms */ public function testDelete() { self::$alarm->delete('publicalarm', ''); $list = self::$alarm->listAlarms('john'); $this->assertEquals(1, count($list)); $this->assertEquals('personalalarm', $list[0]['id']); } /** * @depends testDelete * @expectedException Horde_Alarm_Exception */ public function testSnoozeException() { self::$alarm->snooze('personalalarm', 'jane', 30); } /** * @depends testDelete */ public function testSnooze() { self::$alarm->snooze('personalalarm', 'john', 30); $this->assertTrue(self::$alarm->isSnoozed('personalalarm', 'john')); $list = self::$alarm->listAlarms('john'); $this->assertEquals(0, count($list)); $list = self::$alarm->listAlarms('john', self::$end); $this->assertEquals(1, count($list)); $this->assertEquals('personalalarm', $list[0]['id']); /* Test resetting snooze after changing the alarm. */ $alarm = self::$alarm->get('personalalarm', 'john'); self::$alarm->set($alarm, true); $this->assertTrue(self::$alarm->isSnoozed('personalalarm', 'john')); self::$alarm->set($alarm); $this->assertFalse(self::$alarm->isSnoozed('personalalarm', 'john')); } /** * @depends testSnooze */ public function testAlarmWithoutEnd() { $start = clone self::$date; $start->min--; self::$alarm->set(array('id' => 'noend', 'user' => 'john', 'start' => $start, 'methods' => array('notify'), 'params' => array(), 'title' => 'This is an alarm without end.')); $list = self::$alarm->listAlarms('john', self::$end); $this->assertEquals(2, count($list)); $this->assertEquals('noend', $list[0]['id']); $this->assertEquals('personalalarm', $list[1]['id']); } /** * @depends testAlarmWithoutEnd */ public function testCleanUp() { self::$alarm->delete('noend', 'john'); self::$alarm->delete('personalalarm', 'john'); } } Horde_Alarm-2.2.10/test/Horde/Alarm/Storage/NullTest.php0000664000175000017500000000443013113231033021007 0ustar janjan * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 * @category Horde * @package Alarm * @subpackage UnitTests */ class Horde_Alarm_Storage_NullTest extends Horde_Alarm_Storage_Base { public function testFactory() { self::$alarm = new Horde_Alarm_Null(); } /** * @depends testFactory */ public function testExists() { $this->assertFalse(self::$alarm->exists('personalalarm', 'john')); } /** * @depends testFactory * @expectedException Horde_Alarm_Exception */ public function testGet() { $alarm = self::$alarm->get('personalalarm', 'john'); } /** * @depends testFactory */ public function testUpdate($alarm) { } /** * @depends testFactory */ public function testListAlarms() { self::$date->min--; self::$alarm->set(array('id' => 'publicalarm', 'start' => self::$date, 'end' => self::$end, 'methods' => array(), 'params' => array(), 'title' => 'This is a public alarm.')); $list = self::$alarm->listAlarms('john'); $this->assertEquals(0, count($list)); } /** * @depends testFactory */ public function testDelete() { self::$alarm->delete('publicalarm', ''); $list = self::$alarm->listAlarms('john'); $this->assertEquals(0, count($list)); } /** * @depends testFactory */ public function testSnooze() { $this->assertFalse(self::$alarm->isSnoozed('personalalarm', 'john')); } /** * @depends testFactory */ public function testAlarmWithoutEnd() { self::$alarm->set(array('id' => 'noend', 'user' => 'john', 'start' => self::$date, 'methods' => array('notify'), 'params' => array(), 'title' => 'This is an alarm without end.')); $list = self::$alarm->listAlarms('john', self::$end); $this->assertEquals(0, count($list)); } } Horde_Alarm-2.2.10/test/Horde/Alarm/Storage/ObjectTest.php0000664000175000017500000000054413113231033021305 0ustar janjan * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 * @category Horde * @package Alarm * @subpackage UnitTests */ class Horde_Alarm_Storage_ObjectTest extends Horde_Alarm_Storage_Base { public function testFactory() { self::$alarm = new Horde_Alarm_Object(); } } Horde_Alarm-2.2.10/test/Horde/Alarm/AllTests.php0000664000175000017500000000013213113231033017357 0ustar janjanrun(); Horde_Alarm-2.2.10/test/Horde/Alarm/bootstrap.php0000664000175000017500000000014313113231033017643 0ustar janjan * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 * @category Horde * @package Alarm * @subpackage UnitTests */ class Horde_Alarm_HandlerTest extends PHPUnit_Framework_TestCase { protected static $alarm; protected static $storage; protected static $mail; public function setUp() { if (!class_exists('Horde_Notification')) { $this->markTestSkipped('Horde_Notification not installed'); return; } if (!class_exists('Horde_Mail_Transport_Mock')) { $this->markTestSkipped('Horde_Mail not installed'); return; } self::$alarm = new Horde_Alarm_Object(); $now = time(); $hash = array('id' => 'personalalarm', 'user' => 'john', 'start' => new Horde_Date($now), 'end' => new Horde_Date($now + 3600), 'methods' => array(), 'params' => array(), 'title' => 'This is a personal alarm.', 'text' => 'Action is required.'); self::$alarm->set($hash); self::$storage = new Horde_Notification_Storage_Object(); $notification = new Horde_Alarm_HandlerTest_NotificationFactory(self::$storage); $handler = new Horde_Alarm_Handler_Notify(array('notification' => $notification)); self::$alarm->addHandler('notify', $handler); $handler = new Horde_Alarm_Handler_Desktop(array('js_notify' => array($this, 'desktopCallback'), 'icon' => 'test.png')); self::$alarm->addHandler('desktop', $handler); self::$mail = new Horde_Mail_Transport_Mock(); $factory = new Horde_Alarm_HandlerTest_IdentityFactory(); $handler = new Horde_Alarm_Handler_Mail(array('mail' => self::$mail, 'identity' => $factory, 'charset' => 'us-ascii')); self::$alarm->addHandler('mail', $handler); } public function testNotify() { $alarm = self::$alarm->get('personalalarm', 'john'); $alarm['methods'] = array('notify'); self::$alarm->set($alarm); self::$alarm->notify('john', false); $this->assertEquals(1, count(self::$storage->notifications['_unattached'])); $this->assertEquals('This is a personal alarm.', self::$storage->notifications['_unattached'][0]->message); $this->assertEquals('horde.alarm', self::$storage->notifications['_unattached'][0]->type); } public function testMail() { $header = 'Subject: This is a personal alarm. To: john@example.com From: john@example.com Auto-Submitted: auto-generated X-Horde-Alarm: This is a personal alarm. Message-ID: <%d.Horde.%s@%s> User-Agent: Horde Application Framework 5 Date: %s, %d %s %s %d:%d:%d %s%d Content-Type: text/plain; charset=%s; format=flowed; DelSp=Yes MIME-Version: 1.0'; $body = "Action is required.\n"; $alarm = self::$alarm->get('personalalarm', 'john'); $alarm['methods'] = array('mail'); self::$alarm->set($alarm); self::$alarm->notify('john', false); $last_sent = end(self::$mail->sentMessages); $this->assertStringMatchesFormat( $header, trim(str_replace("\r\n", "\n", $last_sent['header_text'])) ); $this->assertEquals($body, $last_sent['body']); self::$mail->sentMessages = array(); self::$alarm->notify('john', false); $this->assertEquals(self::$mail->sentMessages, array()); /* Test re-sending mails after changing the alarm. */ self::$alarm->set(self::$alarm->get('personalalarm', 'john')); self::$alarm->notify('john', false); $last_sent = end(self::$mail->sentMessages); $this->assertStringMatchesFormat( $header, trim(str_replace("\r\n", "\n", $last_sent['header_text'])) ); $this->assertEquals($body, $last_sent['body']); } public function testDesktop() { $alarm = self::$alarm->get('personalalarm', 'john'); $alarm['methods'] = array('desktop'); self::$alarm->set($alarm); self::$alarm->notify('john', false); } public function desktopCallback($js) { $this->assertEquals( "if(window.webkitNotifications)(function(){function show(){switch(window.webkitNotifications.checkPermission()){case 0:var notify=window.webkitNotifications.createNotification(\"test.png\",\"This is a personal alarm.\",\"Action is required.\");notify.show();(function(){notify.cancel()}).delay(5);break;case 1:window.webkitNotifications.requestPermission(function(){});break}}show()})()", $js); } } class Horde_Alarm_HandlerTest_IdentityFactory { public function create() { return new Horde_Alarm_HandlerTest_Identity(); } } class Horde_Alarm_HandlerTest_Identity { public function getDefaultFromAddress() { return 'john@example.com'; } } class Horde_Alarm_HandlerTest_NotificationFactory { private $storage; public function __construct($storage) { $this->storage = $storage; } public function create() { return new Horde_Notification_Handler($this->storage); } } Horde_Alarm-2.2.10/test/Horde/Alarm/phpunit.xml0000664000175000017500000000005613113231033017331 0ustar janjan