package.xml0000664000076500000240000010300212556566123010122 0ustar Horde_Imsp pear.horde.org Net_IMSP IMSP API Provides an API into an IMSP server for address books and options. Michael J Rubinsky mrubinsk mrubinsk@horde.org yes 2015-07-30 2.0.8 1.0.0 stable stable LGPL-2.1 * [jan] Updated UK translation. 5.3.0 6.0.0alpha1 6.0.0alpha1 1.7.0 Horde_Translation pear.horde.org 2.2.0 3.0.0alpha1 3.0.0alpha1 Horde_Util pear.horde.org 2.0.0 3.0.0alpha1 3.0.0alpha1 0.0.1 0.0.1 alpha alpha 2004-02-05 LGPL-2.1 Initial packaging and release of code 0.0.2 0.0.2 beta beta 2005-02-06 LGPL-2.1 Bug fix for addressbook names containing spaces 0.0.3 0.0.3 beta beta 2005-02-23 LGPL-2.1 Added support for authentication using mtest for Cyrus IMAP 0.0.4 0.0.4 beta beta 2005-04-12 LGPL-2.1 Support for automatically creating a user's default addressbook and functions added to the Net_IMSP_Utils class for easily adding and deleting addressbook. 0.0.5 0.0.5 beta beta 2006-01-01 LGPL-2.1 Suport for using Horde_Share added. 0.0.6 0.0.6 beta beta 2010-10-22 LGPL-2.1 Converted to package.xml 2.0 for pear.horde.org 1.0.0alpha1 1.0.0 alpha alpha 2011-03-07 LGPL-2.1 * First alpha release for Horde 4. 1.0.0alpha2 1.0.0 alpha alpha 2011-03-09 LGPL-2.1 * Fix package layout. 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. * [mjr] Refactor for Horde 4. 1.0.0RC2 1.0.0 beta beta 2011-03-29 LGPL-2.1 * Second release candidate for Horde 4. 1.0.0 1.0.0 stable stable 2011-04-06 LGPL-2.1 * First stable release for Horde 4. 1.0.1 1.0.0 stable stable 2011-06-01 LGPL-2.1 * [jan] Updated Spanish translation. 1.0.2 1.0.0 stable stable 2011-07-05 LGPL-2.1 * [jan] Update Lithuanian translation. * [jan] Update Brazilian Portuguese translation. 1.0.3 1.0.0 stable stable 2011-07-27 LGPL-2.1 * [jan] Update Latvian translation. 1.0.4 1.0.0 stable stable 2011-08-30 LGPL-2.1 * [jan] Fix file names for plaintext and imtest authentication drivers. 1.0.5 1.0.0 stable stable 2011-11-22 LGPL-2.1 * [jan] Update Estonian translation. * [jan] Update Croatian translation. 1.0.6 1.0.0 stable stable 2011-12-06 LGPL-2.1 * [jan] Update Japanese translation (Hiromi Kimura <hiromi@tac.tsukuba.ac.jp>). 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. * [jan] Fix finding locale directory if installed with PEAR. 2.0.0 1.0.0 stable stable 2012-10-30 LGPL-2.1 * First stable release for Horde 5. 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 2013-01-09 LGPL-2.1 * [jan] Update Basque translation (Ibon Igartua <ibon.igartua@ehu.es>). 2.0.3 1.0.0 stable stable 2013-01-29 LGPL-2.1 * [jan] Update French translation (Paul De Vlieger <paul.de_vlieger@moniut.univ-bpclermont.fr>). 2.0.4 1.0.0 stable stable 2013-06-12 LGPL-2.1 * [mjr] Fix some undefined constant errors. 2.0.5 1.0.0 stable stable 2013-06-12 LGPL-2.1 * [mjr] Re-release due to a broken tar archive. 2.0.6 1.0.0 stable stable 2015-01-08 LGPL-2.1 * [jan] Support loading translations from Composer-installed package. * [jan] Add Composer definition. 2.0.7 1.0.0 stable stable 2015-04-28 LGPL-2.1 * [jan] Fix issues with certain locales like Turkish. 2.0.8 1.0.0 stable stable 2015-07-31 LGPL-2.1 * [jan] Updated UK translation. Horde_Imsp-2.0.8/doc/Horde/Imsp/COPYING0000664000076500000240000005765612556566123014301 0ustar 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_Imsp-2.0.8/lib/Horde/Imsp/Auth/Base.php0000664000076500000240000000364412556566123015517 0ustar * 'username' Username to logon to IMSP server as. * 'password' Password for current user. * 'server' The hostname of the IMSP server. * 'port' The port of the IMSP server. * * Copyright 2003-2015 Horde LLC (http://www.horde.org/) * * See the enclosed file COPYING for license information (LGPL). If you * did not receive this file, see http://www.horde.org/licenses/lgpl21. * * @author Michael Rubinsky * @package Horde_Imsp */ abstract class Horde_Imsp_Auth_Base { protected $_params = array(); /** * Class variable to hold the resulting Horde_Imsp object * * @var Horde_Imsp_Client_Base */ protected $_imsp; /** * Constructor * * @param array $params */ public function __construct(array $params = array()) { $this->_params = $params; } /** * Attempts to login to IMSP server. * * @param Horde_Imsp_Client_Base $client The Imsp client connection. * @param boolean $login Remain logged in after auth? * * @return boolean */ public function authenticate(Horde_Imsp_Client_Base $client, $login = true) { $this->_imsp = $client; if(!$this->_authenticate()) { return false; } if (!$login) { $this->_imsp->logout(); } return true; } /** * Private authentication function. Provides actual authentication code. * * @return boolean */ abstract protected function _authenticate(); /** * Returns the type of this driver. * * * @return string Type of IMSP_Auth driver instance */ abstract public function getDriverType(); /** * Force a logout from the underlying IMSP stream. * */ abstract public function logout(); } Horde_Imsp-2.0.8/lib/Horde/Imsp/Auth/CramMd5.php0000664000076500000240000000534312556566123016073 0ustar * 'username' Username to logon to IMSP server as. * 'password' Password for current user. * 'server' The hostname of the IMSP server. * 'port' The port of the IMSP server. * * Copyright 2003-2015 Horde LLC (http://www.horde.org/) * * See the enclosed file COPYING for license information (LGPL). If you * did not receive this file, see http://www.horde.org/licenses/lgpl21. * * @author Michael Rubinsky * @package Horde_Imsp */ class Horde_Imsp_Auth_CramMd5 extends Horde_Imsp_Auth_Base { /** * Private authentication function. Provides actual authentication code. * * @return boolean */ protected function _authenticate() { $userId = $this->_params['username']; $credentials = $this->_params['password']; $this->_imsp->send('AUTHENTICATE CRAM-MD5'); /* Get response and decode it. */ $server_response = $this->_imsp->receive(); $server_response = base64_decode(trim(substr($server_response, 2))); /* Build and base64 encode the response to the challange. */ $response_to_send = $userId . ' ' . $this->_hmac($credentials, $server_response); $command_string = base64_encode($response_to_send); /* Send the response. */ $this->_imsp->send($command_string, false); $result = $this->_imsp->receive(); if ($result != 'OK') { $this->_imsp->_logger->err('Login to IMSP host failed.'); return false; } return true; } /** * RFC 2104 HMAC implementation. * * @access private * @param string $key The HMAC key. * @param string $data The data to hash with the key. * * @return string The MD5 HMAC. */ protected function _hmac($key, $data) { if (function_exists('hash_hmac')) { return hash_hmac('md5', $data, $key); } /* Byte length for md5. */ $b = 64; if (strlen($key) > $b) { $key = pack('H*', md5($key)); } $key = str_pad($key, $b, chr(0x00)); $ipad = str_pad('', $b, chr(0x36)); $opad = str_pad('', $b, chr(0x5c)); $k_ipad = $key ^ $ipad; $k_opad = $key ^ $opad; return md5($k_opad . pack('H*', md5($k_ipad . $data))); } /** * Force a logout command to the imsp stream. * */ public function logout() { $this->_imsp->logout(); } /** * Return the driver type * * @return string the type of this IMSP_Auth driver */ public function getDriverType() { return 'cram_md5'; } } Horde_Imsp-2.0.8/lib/Horde/Imsp/Auth/Imtest.php0000664000076500000240000000650012556566123016104 0ustar * Copyright 2003-2015 Horde LLC (http://www.horde.org/) * * See the enclosed file COPYING for license information (LGPL). If you * did not receive this file, see http://www.horde.org/licenses/lgpl21. * * @author Liam Hoekenga * @author Michael J Rubinsky * @package Horde_Imsp */ /** * IMSP authentication class for authentication through imtest. * * Required parameters:
 *   'username'        Username to logon to IMSP server as.
 *   'password'        Password for current user.
 *   'server'          The hostname of the IMSP server.
 *   'port'            The port of the IMSP server.
 *   'socket'          The named socket to use for connection
 *   'command'         Path to the imtest command on localhost
 *   'auth_mechanism'  Authentication method to use with imtest
* * @author Liam Hoekenga * @author Michael J Rubinsky * @package Horde_Imsp */ class Horde_Imsp_Auth_Imtest extends Horde_Imsp_Auth_Base { /** * Private authentication function. Provides actual * authentication code. * * @return boolean */ protected function _authenticate() { $command = ''; $error_return = ''; if (Horde_String::lower($this->_params['auth_mechanism']) == 'gssapi' && isset($_SERVER['KRB5CCNAME'])) { $command .= 'KRB5CCNAME=' . $_SERVER['KRB5CCNAME']; } $command .= ' ' . $this->_params['command']. ' -m ' . $this->_params['auth_mechanism'] . ' -u ' . escapeshellarg($this->_params['username']) . ' -a ' . escapeshellarg($this->_params['username']) . ' -w ' . escapeshellarg($this->_params['password']). ' -p ' . $this->_params['port'] . ' -X ' . $this->_params['socket'] . ' ' . $this->_params['server']; $conn_attempts = 0; while ($conn_attempts++ < 4) { $attempts = 0; if (!file_exists($this->_params['socket'])) { exec($command . ' > /dev/null 2>&1'); sleep(1); while (!file_exists($this->_params['socket'])) { usleep(200000); if ($attempts++ > 5) { $error_return = ': No socket after 10 seconds of trying!'; continue 2; } } } $fp = @fsockopen($this->_params['socket'], 0, $error_number, $error_string, 30); $error_return = $error_string; if ($fp) break; unlink($this->_params['socket']); } //Failure? if (!empty($error_return)) { throw new Horde_Imsp_Exception('Connection to IMSP host failed.'); } //Success // @TODO: $this->_imsp->_stream = $fp; return true; } /** * Force a logout command to the imsp stream. * */ public function logout() { $this->_imsp->logout(); } /** * Returns the driver type. * * @return string The type of this IMSP_Auth driver. */ public function getDriverType() { return 'imtest'; } } Horde_Imsp-2.0.8/lib/Horde/Imsp/Auth/Plaintext.php0000664000076500000240000000410112556566123016602 0ustar * 'username' Username to logon to IMSP server as. * 'password' Password for current user. * 'server' The hostname of the IMSP server. * 'port' The port of the IMSP server. * * Copyright 2003-2015 Horde LLC (http://www.horde.org/) * * See the enclosed file COPYING for license information (LGPL). If you * did not receive this file, see http://www.horde.org/licenses/lgpl21. * * @author Michael J Rubinsky * @package Horde_Imsp */ class Horde_Imsp_Auth_Plaintext extends Horde_Imsp_Auth_Base { /** * Private authentication function. Provides actual * authentication code. * * @return boolean */ protected function _authenticate() { $userId = $this->_params['username']; $credentials = $this->_params['password']; /* Start the command. */ $this->_imsp->send('LOGIN ', true, false); /* Username as a {}? */ if (preg_match(Horde_Imsp_Client_Base::MUST_USE_LITERAL, $userId)) { $biUser = sprintf('{%d}', strlen($userId)); $result = $this->_imsp->send($biUser, false, true, true); } $this->_imsp->send($userId . ' ', false, false); /* Pass as {}? */ if (preg_match(Horde_Imsp_Client_Base::MUST_USE_LITERAL, $credentials)) { $biPass = sprintf('{%d}', strlen($credentials)); $this->_imsp->send($biPass, false, true, true); } $this->_imsp->send($credentials, false, true); $server_response = $this->_imsp->receive(); if ($server_response != 'OK') { return false; } return true; } /** * Force a logout command to the imsp stream. * */ public function logout() { $this->_imsp->logout(); } /** * Return the driver type * * @return string the type of this IMSP_Auth driver */ public function getDriverType() { return 'plaintext'; } } Horde_Imsp-2.0.8/lib/Horde/Imsp/Client/Base.php0000664000076500000240000001215412556566123016030 0ustar * @package Horde_Imsp */ abstract class Horde_Imsp_Client_Base { const OCTET_COUNT = '/({)([0-9]{1,})(\}$)/'; const MUST_USE_LITERAL = '/[\x80-\xFF\\r\\n\"\\\\]/'; const MUST_QUOTE = '/[\W]/i'; /** * String containing name/IP address of IMSP host. * * @var string */ public $host = 'localhost'; /** * String containing port for IMSP server. * * @var string */ public $port = '406'; /** * String buffer containing the last raw NO or BAD response from the * server. * * @var string */ public $lastRawError; /** * Current command prefix * * @var string */ protected $_commandPrefix = 'A'; /** * Current command count * * @var integer */ protected $_commandCount = 1; /** * Currently in-use command tag * * @var string */ protected $_tag; /** * Command tag last used. * * @var string */ protected $_lastCommandTag = 'undefined'; /** * Logger * * @var Horde_Log_Logger */ public $_logger; /** * The auth object * * @var Horde_Imsp_Auth */ protected $_authObj; /** * Constructor function. * Required parameters: *
     *  authObj    The object to handle the authentication
     *
* * Optional parameters: *
     *  server              The IMSP host
     *  port                The port the IMSP server listens on
     *  logger    The logger.
     *
* @param array $params Hash containing server parameters. */ public function __construct(array $params) { if (empty($params['authObj'])) { throw new InvalidArgumentException('Missing required AuthObj'); } $this->_authObj = $params['authObj']; if (!empty($params['server'])) { $this->host = $params['server']; } if (!empty($params['port'])) { $this->port = $params['port']; } if (!empty($params['logger'])) { $this->_logger = $params['logger']; } else { $this->_logger = new Horde_Support_Stub(); } } /** * Determines if a string needs to be quoted before sending to the server. * * @param string $string String to be tested. * * @return string Original string, quoted if needed. */ public static function quoteSpacedString($string) { if (strpos($string, ' ') !== false || preg_match(self::MUST_QUOTE, $string)) { return '"' . $string . '"'; } else { return $string; } } /** * Increments the IMSP command tag token. * * @return string Next command tag. */ protected function _getNextCommandTag() { $this->_lastCommandTag = $this->_tag ? $this->_tag : 'undefined'; return $this->_commandPrefix . sprintf('%04d', $this->_commandCount++); } /** * Close connection and logout from IMSP server. */ abstract public function logout(); /** * Returns the raw capability response from the server. * * @return string The raw capability response. * @throws Horde_Imsp_Exception */ abstract public function capability(); /** * Attempts to send a command to the server. * * @param string $commandText Text to send to the server. * @param boolean $includeTag Determines if command tag is prepended. * @param boolean $sendCRLF Determines if CRLF is appended. * @param boolean $continuation Expect a command continuation response. * * @throws Horde_Imsp_Exception */ abstract public function send($commandText, $includeTag = true, $sendCRLF = true, $continuation = false); /** * Receives a single CRLF terminated server response string * * @return mixed 'NO', 'BAD', 'OK', raw response. * @throws Horde_Imsp_Exception */ abstract public function receive(); /** * Retrieves CRLF terminated response from server and splits it into * an array delimited by a . * * @return array The exploded string */ abstract public function getServerResponseChunks(); /** * Receives fixed number of bytes from IMSP socket. Used when server returns * a string literal. * * @param integer $length Number of bytes to read from socket. * * @return string Text of string literal. */ abstract public function receiveStringLiteral($length); /** * Attempts to login to IMSP server. * * @param boolean $login Should we remain logged in after auth? * * @return boolean */ abstract public function authenticate($login = true); }Horde_Imsp-2.0.8/lib/Horde/Imsp/Client/Mock.php0000664000076500000240000000000012556566123016032 0ustar Horde_Imsp-2.0.8/lib/Horde/Imsp/Client/Socket.php0000664000076500000240000001773412556566123016417 0ustar * @package Horde_Imsp */ class Horde_Imsp_Client_Socket extends Horde_Imsp_Client_Base { /** * Stream handle * * @var resource */ protected $_stream; /** * * @var Horde_Imsp_Auth_Base */ protected $_authObj; /** * Constructor function. * Required parameters: *
     *  authObj    The object to handle the authentication
     *
* * Optional parameters: *
     *  server              The IMSP host
     *  port                The port the IMSP server listens on
     *  logger    The logger.
     *
* @param array $params Hash containing server parameters. */ public function __construct(array $params) { parent::__construct($params); $this->_imspOpen(); $this->_logger->debug('Initializing Horde_Imsp object.'); } /** * Attempts to login to IMSP server. * * @param boolean $login Should we remain logged in after auth? * * @return boolean */ public function authenticate($login = true) { if (!$this->_authObj->authenticate($this, $login)) { return false; } return true; } /** * Logs out of the server and closes the IMSP stream */ public function logout() { $this->_logger->debug('Closing IMSP Connection.'); $command_string = 'LOGOUT'; $this->send($command_string); fclose($this->_stream); } /** * Returns the raw capability response from the server. * * @return string The raw capability response. * @throws Horde_Imsp_Exception */ public function capability() { $command_string = 'CAPABILITY'; $this->send($command_string); $server_response = $this->receive(); if (preg_match("/^\* CAPABILITY/", $server_response)) { $capability = preg_replace("/^\* CAPABILITY/", '', $server_response); $server_response = $this->receive(); //OK if (!$server_response == 'OK') { $this->_logger->err('Did not receive the expected response from the server.'); throw new Horde_Imsp_Exception('Did not receive the expected response from the server.'); } else { $this->_logger->debug('CAPABILITY completed OK'); return $capability; } } } /** * Attempts to send a command to the server. * * @param string $commandText Text to send to the server. * @param boolean $includeTag Determines if command tag is prepended. * @param boolean $sendCRLF Determines if CRLF is appended. * @param boolean $continuation Expect a command continuation response. * * @throws Horde_Imsp_Exception */ public function send($commandText, $includeTag = true, $sendCRLF = true, $continuation = false) { $command_text = ''; if (!$this->_stream) { throw new Horde_Imsp_Exception('No IMSP connection in place'); } if ($includeTag) { $this->_tag = $this->_getNextCommandTag(); $command_text = "$this->_tag "; } $command_text .= $commandText; if ($sendCRLF) { $command_text .= "\r\n"; } $this->_logger->debug('C: ' . $command_text); if (!fputs($this->_stream, $command_text)) { $this->_logger->err('Connection to IMSP host failed.'); fclose($this->_stream); throw new Horde_Imsp_Exception('Connection to IMSP host failed'); } if ($continuation && !preg_match("/^\+/", $this->receive())) { $this->_logger->err('Did not receive expected command continuation response from IMSP server.'); throw new Horde_Imsp_Exception('Did not receive expected command continuation response from IMSP server.'); } } /** * Receives a single CRLF terminated server response string * * @return mixed 'NO', 'BAD', 'OK', raw response. * @throws Horde_Imsp_Exception */ public function receive() { if (!$this->_stream) { throw new Horde_Imsp_Exception('No IMSP connection in place.'); } $result = fgets($this->_stream, 512); if (!$result) { $this->_logger->err('Did not receive the expected response from the server.'); throw new Horde_Imsp_Exception('Did not receive the expected response from the server.'); } $meta = stream_get_meta_data($this->_stream); if ($meta['timed_out']) { $this->_logger->err('Connection timed out.'); throw new Horde_Imsp_Exception(Horde_Imsp_Translation::t('Connection timed out!')); } $server_response = trim($result); $this->_logger->debug('S: ' . $server_response); /* Parse out the response: * First make sure that this is not for a previous command. * If it is, it means we did not read all the server responses from * the last command...read them now, but throw an error. */ while (preg_match("/^" . $this->_lastCommandTag . "/", $server_response)) { $server_response = trim(fgets($this->_stream, 512)); throw new Horde_Imsp_Exception('Did not receive the expected response from the server: ' . $server_response); } $currentTag = $this->_tag; if (preg_match("/^" . $currentTag . " NO/", $server_response)) { $this->lastRawError = $server_response; return 'NO'; } if (preg_match("/^" . $currentTag . " BAD/", $server_response)) { $this->_logger->err('The IMSP server did not understand your request.'); $this->lastRawError = $server_response; return 'BAD'; } if (preg_match("/^" . $currentTag . " OK/", $server_response)) { return 'OK'; } /* If it was not a 'NO', 'BAD' or 'OK' response, * then it's up to the calling function to decide * what to do with it. */ return $server_response; } /** * Retrieves CRLF terminated response from server and splits it into * an array delimited by a . * * @return array The exploded string */ public function getServerResponseChunks() { $server_response = trim(fgets($this->_stream, 512)); $chunks = explode(' ', $server_response); return $chunks; } /** * Receives fixed number of bytes from IMSP socket. Used when server returns * a string literal. * * @param integer $length Number of bytes to read from socket. * * @return string Text of string literal. */ public function receiveStringLiteral($length) { $literal = ''; do { $temp = fread($this->_stream, $length); $length -= strlen($temp); $literal .= $temp; } while ($length > 0 && strlen($temp)); $this->_logger->debug('From{}: ' . $literal); return $literal; } /** * Attempts to open an IMSP socket with the server. * * @throws Horde_Imsp_Exception */ protected function _imspOpen() { $fp = @fsockopen($this->host, $this->port); if (!$fp) { $this->_logger->err('Connection to IMSP host failed.'); throw new Horde_Imsp_Exception('Connection to IMSP host failed.'); } $this->_stream = $fp; $server_response = $this->receive(); if (!preg_match("/^\* OK/", $server_response)) { fclose($fp); $this->_logger->err('Did not receive the expected response from the server.'); } } }Horde_Imsp-2.0.8/lib/Horde/Imsp/Book.php0000664000076500000240000012440412556566123014634 0ustar * @package Horde_Imsp */ class Horde_Imsp_Book { /** * Supported ACLs * */ const ACL_RIGHTS = 'lrwcda'; /** * Sort order. * * @var string */ public $sort = 'ascend'; /** * Horde_Imsp_Client object. * * @var Horde_Imsp_Client_Base */ protected $_imsp; /** * Parameter list. * * @var array */ protected $_params; /** * Constructor function. * * @param array $params Hash containing IMSP parameters. */ public function __construct(Horde_Imsp_Client_Base $client, array $params) { $this->_params = $params; $this->_imsp = $client; } /** * Returns an array containing the names of all the address books * available to the logged in user. * * @return mixed Array of address book names */ public function getAddressBookList() { $command_string = 'ADDRESSBOOK *'; $this->_imsp->send($command_string); /* Iterate through the response and populate an array of * address book names. */ $server_response = $this->_imsp->receive(); $abooks = array(); while (preg_match("/^\* ADDRESSBOOK/", $server_response)) { /* If this is an ADDRESSBOOK response, then this will explode as so: * [0] and [1] can be discarded * [2] = attributes * [3] = delimiter * [4] = address book name */ /* First, check for a {} */ if (preg_match(Horde_Imsp_Client_Socket::OCTET_COUNT, $server_response, $tempArray)) { $abooks[] = $this->_imsp->receiveStringLiteral($tempArray[2]); /* Get the CRLF at end of ADDRESSBOOK response * that the {} does not include. */ $this->_imsp->receiveStringLiteral(2); } else { $parts = explode(' ', $server_response); $numParts = count($parts); $name = $parts[4]; $firstChar = substr($name, 0, 1); if ($firstChar =="\"") { $name = ltrim($name, "\""); for ($i = 5; $i < $numParts; $i++) { $name .= ' ' . $parts[$i]; $lastChar = substr($parts[$i], strlen($parts[$i]) - 1, 1); if ($lastChar == "\"") { $name = rtrim($name, "\""); break; } } } $abooks[] = $name; } $server_response = $this->_imsp->receive(); } if ($server_response != 'OK') { $this->_imsp->_logger->err('Did not receive expected response frm server.'); throw new Horde_Imsp_Exception('Did not receive the expected response from the server.'); } $this->_imsp->_logger->debug('ADDRESSBOOK command OK.'); return $abooks; } /** * Returns an array containing the names that match $search * critera in the address book named $abook. * * @param string $abook Address book name to search. * @param mixed $search Search criteria either a string (name) or an array * in the form of 'fieldName' => 'searchTerm'. * * @return array Array of names of the entries that match. * @throws Horde_Imsp_Exception */ public function search($abook, $search) { //If no field => value pairs, assume we are searching name. $criteria = array(); if (!is_array($search)) { $criteria['name'] = $search; } else { $criteria = $search; } $this->_imsp->send('SEARCHADDRESS ', true, false); // Do we need to send the abook name as {} ? if (preg_match(Horde_Imsp_Client_Base::MUST_USE_LITERAL, $abook)) { $biBook = sprintf("{%d}", strlen($abook)); $this->_imsp->send($biBook, false, true, true); } //Start parsing the search array. $this->_imsp->send("$abook", false, false); $count = count($criteria); $current = 1; foreach ($criteria as $search_field => $search) { $this->_imsp->send(" $search_field ", false, false); // How about the search term as a {}. if (preg_match(Horde_Imsp_Client_Base::MUST_USE_LITERAL, $search)) { $biSearch = sprintf("{%d}", strlen($search)); $this->_imsp->send($biSearch, false, true, true); $this->_imsp->send($search, false, $current == $count); $current++; } else { // Only send the CrLf if this is the last field/search atom. $this->_imsp->send('"' . $search . '"', false, $current == $count); $current++; } } // Get the response. $server_response = $this->_imsp->receive(); $abookNames = Array(); while (preg_match("/^\* SEARCHADDRESS/", $server_response)) { $chopped_response = preg_replace("/^\* SEARCHADDRESS/", '', $server_response); // Remove any lingering white space in front only. $chopped_response = ltrim($chopped_response); // Get rid of any lingering quotes. $temp = preg_replace("/\"/", '', $chopped_response); if (preg_match("/({)([0-9]{1,})(\}$)/", $temp, $tempArray)) { $dataSize = $tempArray[2]; $temp = $this->_imsp->receiveStringLiteral($dataSize); /* Get the CRLF since {} does not include it. */ $this->_imsp->receiveStringLiteral(2); } $abookNames[] = $temp; // Get the next response line from the server. $server_response = $this->_imsp->receive(); } // Should check for OK or BAD here just to be certain. switch ($server_response) { case 'BAD': $this->_imsp->_logger->err('The IMSP server did not understand your request:' . $command_text); throw new Horde_Imsp_Exception('The IMSP server did not understand your request: ' . $command_text); case 'NO': $this->_imsp->_logger->err('IMSP server is unable to perform your request: ' . $this->_imsp->lastRawError); throw new Horde_Imsp_Exception('IMSP server is unable to perform your request: ' . $this->_imsp->lastRawError); } /* This allows for no results */ if (count($abookNames) < 1) { return $abookNames; } $this->_imsp->_logger->debug('SEARCHADDRESS command OK'); // Determine the sort direction and perform the sort. switch ($this->sort) { case 'ascend': sort($abookNames); break; case 'descend': rsort($abookNames); break; } return $abookNames; } /** * Returns an associative array of a single address book entry. * Note that there will always be a 'name' field. * * @param string $abook Name of the address book to search. * @param string $entryName 'name' attribute of the entry to retrieve * * @return array Array containing entry. * @throws Horde_Imsp_Exception * @throws Horde_Exception_NotFound */ public function getEntry($abook, $entryName) { $this->_imsp->send('FETCHADDRESS ', true, false); if (preg_match(Horde_Imsp_Client_Base::MUST_USE_LITERAL, $abook)) { $biBook = sprintf("{%d}", strlen($abook)); $this->_imsp->send($biBook, false, true, true); } $this->_imsp->send("$abook ", false, false); if (preg_match(Horde_Imsp_Client_Base::MUST_USE_LITERAL, $entryName)) { $biName = sprintf("{%d}", strlen($entryName)); $this->_imsp->send($biName, false, true, true); $this->_imsp->send($entryName, false, true); } else { $this->_imsp->send("\"$entryName\"", false, true); } $server_response = $this->_imsp->receive(); switch ($server_response) { case 'BAD': $this->_imsp->_logger->err('The IMSP server did not understand your request.'); throw new Horde_Imsp_Exception('The IMSP server did not understand your request'); case 'NO': throw new Horde_Exception_NotFound('No entry in this address book matches your query.'); } // Get the data in an associative array. $entry = $this->_parseFetchAddressResponse($server_response); //Get the next server response -- this *should* be the OK response. $server_response = $this->_imsp->receive(); if ($server_response != 'OK') { // Unexpected response throw error but still continue on. $this->_imsp->_logger->err('Did not receive the expected response from the server.'); } $this->_imsp->_logger->debug('FETCHADDRESS completed OK'); return $entry; } /** * Creates a new address book. * * @param string $abookName FULLY QUALIFIED name such 'jdoe.clients' etc... * * @throws Horde_Imsp_Exception */ public function createAddressBook($abookName) { $command_text = 'CREATEADDRESSBOOK '; if (preg_match(Horde_Imsp_Client_Base::MUST_USE_LITERAL, $abookName)) { $biBook = sprintf("{%d}", strlen($abookName)); $this->_imsp->send($command_text . $biBook, true, true, true); $this->_imsp->send($abookName, false, true); } else { $this->_imsp->send($command_text . $abookName, true, true); } $server_response = $this->_imsp->receive(); switch ($server_response) { case 'OK': $this->_imsp->_logger->debug('CREATEADDRESSBOOK completed OK'); break; case 'NO': // Could not create abook. $this->_imsp->_logger->err('IMSP server is unable to perform your request.'); throw new Horde_Imsp_Exception('IMSP server is unable to perform your request.'); case 'BAD': $this->_imsp->_logger->err('The IMSP server did not understand your request.'); throw new Horde_Imsp_Exception('The IMSP server did not understand your request.'); default: // Something unexpected. $this->_imsp->_logger->err('Did not receive the expected response from the server.'); throw new Horde_Imsp_Exception('Did not receive the expected response from the server.'); } } /** * Deletes an address book completely! * * @param string $abookName Name of address book to delete. * * @throws Horde_Imsp_Exception */ public function deleteAddressBook($abookName) { $command_text = 'DELETEADDRESSBOOK '; // Check need for {}. if (preg_match(Horde_Imsp_Client_Base::MUST_USE_LITERAL, $abookName)) { $biBook = sprintf("{%d}", strlen($abookName)); $this->_imsp->send($command_text . $biBook, true, true, true); $this->_imsp->send($abookName, false, true); } else { $this->_imsp->send($command_text . $abookName, true, true); } $server_response = $this->_imsp->receive(); switch ($server_response) { case 'OK': $this->_imsp->_logger->debug('DELETEADDRESSBOOK completed OK'); break; case 'NO': // Could not create abook. $this->_imsp->_logger->err('IMSP server is unable to perform your request.'); throw new Horde_Imsp_Exception('IMSP server is unable to perform your request.'); case 'BAD': $this->_imsp->_logger->err('The IMSP server did not understand your request.'); throw new Horde_Imsp_Exception('The IMSP server did not understand your request.'); default: // Something unexpected. $this->_imsp->_logger->err('Did not receive the expected response from the server.'); throw new Horde_Imsp_Exception('Did not receive the expected response from the server.'); } } /** * Renames an address book. * * @param string $abookOldName Old name. * @param string $abookNewName New address book name. * * @throws Horde_Imsp_Exception */ public function renameAddressBook($abookOldName, $abookNewName) { $this->_imsp->send('RENAMEADDRESSBOOK ', true, false); if (preg_match(Horde_Imsp_Client_Base::MUST_USE_LITERAL, $abookOldName)) { $biOldName = sprintf("{%d}", strlen($abookOldName)); $this->_imsp->send($biOldName, false, true); $this->_imsp->receive(); } $this->_imsp->send("$abookOldName ", false, false); if (preg_match(Horde_Imsp_Client_Base::MUST_USE_LITERAL, $abookNewName)) { $biNewName = sprintf("{%d}", strlen($abookNewName)); $this->_imsp->send($biNewName, false, true); $this->_imsp->receive(); } $this->_imsp->send($abookNewName, false, true); // Get server response. $server_response = $this->_imsp->receive(); switch ($server_response) { case 'NO': // Could not create abook. $this->_imsp->_logger->err('IMSP server is unable to perform your request.'); throw new Horde_Imsp_Exception('IMSP server is unable to perform your request.'); case 'BAD': $this->_imsp->_logger->err('The IMSP server did not understand your request.'); throw new Horde_Imsp_Exception('The IMSP server did not understand your request.'); case 'OK': $this->_imsp->_logger->debug("Address book $abookOldName successfully changed to $abookNewName"); break; default: // Something unexpected. $this->_imsp->_logger->err('Did not receive the expected response from the server.'); throw new Horde_Imsp_Exception('Did not receive the expected response from the server.'); } } /** * Adds an address book entry to an address book. * * @param string $abook Name of address book to add entry to. * @param array $entryInfo Address book entry information - * there MUST be a field 'name' containing the * entry name. * * @throws Horde_Imsp_Exception */ public function addEntry($abook, array $entryInfo) { $command_text = ''; // Lock the entry if it already exists. $this->lockEntry($abook, $entryInfo['name']); $this->_imsp->send('STOREADDRESS ', true, false); // Take care of the name. $entryName = $entryInfo['name']; // {} for book name? if (preg_match(Horde_Imsp_Client_Base::MUST_USE_LITERAL, $abook)) { $biBook = sprintf("{%d}", strlen($abook)); $this->_imsp->send($biBook, false, true); $this->_imsp->receive(); } $this->_imsp->send("$abook ", false, false); // Do we need {} for entry name as well? if (preg_match(Horde_Imsp_Client_Base::MUST_USE_LITERAL, $entryName)) { $biname = sprintf("{%d}", strlen($entryName)); $this->_imsp->send($biname, false, true); $this->_imsp->receive(); $this->_imsp->send($entryName, false, false); } else { $this->_imsp->send("\"$entryName\" ", false, false); } while (list($key, $value) = each($entryInfo)) { // Do not sent the key name 'name'. if ($key != 'name') { // Protect from extraneous white space $value = trim($value); // For some reason, tabs seem to break this. $value = preg_replace("/\t/", "\n\r", $value); // Check to see if we need {} if (preg_match(Horde_Imsp_Client_Base::MUST_USE_LITERAL, $value)) { $command_text .= $key . sprintf(" {%d}", strlen($value)); $this->_imsp->send($command_text, false, true); $server_response = $this->_imsp->receive(); $command_text = ''; if (!preg_match("/^\+/", $server_response)) { $this->_imsp->_logger->err('Did not receive the expected response from the server.'); throw new Horde_Imsp_Exception('Did not receive the expected response from the server.'); } $this->_imsp->send($value, false, false); } else { // If we are here, then we do not need to send a literal. $value = "\"" . $value . "\""; $command_text .= $key . ' ' . $value . ' '; } } } // Send anything that is left of the command. $this->_imsp->send($command_text, false, true); $server_response = $this->_imsp->receive(); switch ($server_response) { case 'NO': // Could not create abook. $this->_imsp->_logger->err('IMSP server is unable to perform your request.'); throw new Horde_Imsp_Exception('IMSP server is unable to perform your request.'); case 'BAD': $this->_imsp->_logger->err('The IMSP server did not understand your request.'); throw new Horde_Imsp_Exception('The IMSP server did not understand your request.'); } if ($server_response != 'OK') { // Cyrus-IMSP server sends a FETCHADDRESS Response here. // Do others? This was not in the RFC. $dummy_array = $this->_parseFetchAddressResponse($server_response); $server_response = $this->_imsp->receive(); switch ($server_response) { case 'NO': // Could not create abook. $this->_imsp->_logger->err('IMSP server is unable to perform your request.'); throw new Horde_Imsp_Exception('IMSP server is unable to perform your request.'); case 'BAD': $this->_imsp->_logger->err('The IMSP server did not understand your request.'); throw new Horde_Imsp_Exception('The IMSP server did not understand your request.'); case 'OK': $this->_imsp->_logger->debug('STOREADDRESS Completed successfully.'); //we were successful...so release the lock on the entry $this->unlockEntry($abook, $entryInfo['name']); } } } /** * Deletes an abook entry. * * @param string $abook Name of address book containing entry. * @param string $bookEntry Name of entry to delete. * * @throws Horde_Imsp_Exception */ public function deleteEntry($abook, $bookEntry) { // Start the command. $this->_imsp->send('DELETEADDRESS ', true, false); // Need {} for book name? if (preg_match(Horde_Imsp_Client_Base::MUST_USE_LITERAL, $abook)) { $biBook = sprintf("{%d}", strlen($abook)); $this->_imsp->send($biBook, false, true, true); } $this->_imsp->send("$abook ", false, false); //How bout for the entry name? if (preg_match(Horde_Imsp_Client_Base::MUST_USE_LITERAL, $bookEntry)) { $biEntry = sprintf("{%d}", strlen($bookEntry)); $this->_imsp->send($biEntry, false, true, true); } else { $bookEntry = $this->_imsp->quoteSpacedString($bookEntry); } $this->_imsp->send($bookEntry, false, true); $server_response = $this->_imsp->receive(); switch ($server_response) { case 'NO': // Could not create abook. $this->_imsp->_logger->err('IMSP server is unable to perform your request.'); throw new Horde_Imsp_Exception('IMSP server is unable to perform your request.'); case 'BAD': $this->_imsp->_logger->err('The IMSP server did not understand your request.'); throw new Horde_Imsp_Exception('The IMSP server did not understand your request.'); case 'OK': $this->_imsp->_logger->debug('DELETE Completed successfully.'); } } /** * Attempts to acquire a semaphore on the address book entry. * * @param string $abook Address book name * @param string $bookEntry Name of entry to lock * * @return mixed true or array on success (depends on server in use). */ public function lockEntry($abook, $bookEntry) { $this->_imsp->send('LOCK ADDRESSBOOK ', true, false); // Do we need a string literal? if (preg_match(Horde_Imsp_Client_Base::MUST_USE_LITERAL, $abook)) { $biBook = sprintf("{%d}", strlen($abook)); $this->_imsp->send($biBook, false, true, true); } $this->_imsp->send("$abook ", false, false); // What about the entry name? if (preg_match(Horde_Imsp_Client_Base::MUST_USE_LITERAL, $bookEntry)) { $biEntry = sprintf("{%d}", strlen($bookEntry)); $this->_imsp->send($biEntry, false, true, true); $this->_imsp->send($bookEntry, false, true); } else { $bookEntry = $this->_imsp->quoteSpacedString($bookEntry); $this->_imsp->send("$bookEntry", false, true); } $server_response = $this->_imsp->receive(); do { switch ($server_response) { case 'NO': // Could not create abook. $this->_imsp->_logger->err('IMSP server is unable to perform your request.'); throw new Horde_Imsp_Exception('IMSP server is unable to perform your request.'); case 'BAD': $this->_imsp->_logger->err('The IMSP server did not understand your request.'); throw new Horde_Imsp_Exception('The IMSP server did not understand your request.'); } //Check to see if this is a FETCHADDRESS resonse $dummy = $this->_parseFetchAddressResponse($server_response); if ($dummy) { $server_response = $this->_imsp->receive(); } } while ($server_response != 'OK'); $this->_imsp->_logger->debug("LOCK ADDRESSBOOK on $abook $bookEntry OK"); // Return either true or the FETCHADDRESS response if it exists. if (!$dummy) { return true; } else { return $dummy; } } /** * Unlocks a previously locked address book. * * @param string $abook Name of address book containing locked entry. * @param string $bookEntry Name of entry to unlock. * * @throws Horde_Imsp_Exception */ public function unlockEntry($abook, $bookEntry) { // Start sending command. $this->_imsp->send('UNLOCK ADDRESSBOOK ', true, false); // {} for book name? if (preg_match(Horde_Imsp_Client_Base::MUST_USE_LITERAL, $abook)) { $biBook = sprintf("{%d}", strlen($abook)); $this->_imsp->send($biBook, false, true, true); } $this->_imsp->send("$abook ", false, false); //How bout for entry name? if (preg_match(Horde_Imsp_Client_Base::MUST_USE_LITERAL, $bookEntry)) { $biEntry=sprintf("{%d}", strlen($bookEntry)); $this->_imsp->send($biEntry, false, true, true); $this->_imsp->send($bookEntry, false, true); } else { $bookEntry = $this->_imsp->quoteSpacedString($bookEntry); $this->_imsp->send("$bookEntry", false, true); } $response = $this->_imsp->receive(); switch ($response) { case 'NO': // Could not create abook. $this->_imsp->_logger->err('IMSP server is unable to perform your request.'); throw new Horde_Imsp_Exception('IMSP server is unable to perform your request.'); case 'BAD': $this->_imsp->_logger->err('The IMSP server did not understand your request.'); throw new Horde_Imsp_Exception('The IMSP server did not understand your request.'); case 'OK': $this->_imsp->_logger->debug("UNLOCK ADDRESSBOOK on $abook $bookEntry OK"); } } /** * Access Control List (ACL) Methods. * * The following characters are recognized ACL characters: lrwcda * l - "lookup" (see the name and existence of the address book) * r - "read" (search and retrieve addresses from address book) * w - "write" (create/edit new address book entries - not delete) * c - "create" (create new address books under the current address book) * d - "delete" (delete entries or entire book) * a - "admin" (set ACL lists for this address book - usually only * allowed for the owner of the address book) * * examples: * "lr" would be read only for that user * "lrw" would be read/write */ /** * Sets an Access Control List for an abook. * * @param string $abook Name of address book. * @param string $ident Name of user for this acl. * @param string $acl acl for this user/book. * * @return mixed True on success / PEAR_Error on failure. */ public function setACL($abook, $ident, $acl) { // Verify that $acl looks good. if (preg_match("/[^" . self::ACL_RIGHTS . "]/", $acl)) { $this->_imsp->_logger('Bad Argument'); throw new InvalidArgumentException(); } // Begin sending command. $this->_imsp->send('SETACL ADDRESSBOOK ', true, false); // {} for book name? if (preg_match(Horde_Imsp_Client_Base::MUST_USE_LITERAL, $abook)) { $biBook = sprintf("{%d}", strlen($abook)); $this->_imsp->send($biBook, false, true, true); } $this->_imsp->send("$abook ", false, false); // {} for ident? if (preg_match(Horde_Imsp_Client_Base::MUST_USE_LITERAL, $ident)) { $biIdent = sprintf("{%d}", strlen($ident)); $this->_imsp->send($biIdent, false, true, true); } $this->_imsp->send("$ident ", false, false); // Now finish up with the actual ACL. $this->_imsp->send($acl, false, true); $response = $this->_imsp->receive(); switch ($response) { case 'NO': // Could not create abook. $this->_imsp->_logger->err('IMSP server is unable to perform your request.'); throw new Horde_Imsp_Exception('IMSP server is unable to perform your request.'); case 'BAD': $this->_imsp->_logger->err('The IMSP server did not understand your request.'); throw new Horde_Imsp_Exception('The IMSP server did not understand your request.'); case 'OK': $this->_imsp->_logger->debug("ACL set for $ident on $abook"); break; default: // Do not know why we would make it down here. $this->_imsp->_logger->err('Did not receive the expected response from the server.'); throw new Horde_Imsp_Exception('Did not receive the expected response from the server.'); } } /** * Retrieves an address book's ACL. * * @param string $abook Name of address book to retrieve acl for. * * @return mixed array containing acl for every user with access to * address book or PEAR_Error on failure. */ public function getACL($abook) { $this->_imsp->send('GETACL ADDRESSBOOK ', true, false); // {} for book name? if (preg_match(Horde_Imsp_Client_Base::MUST_USE_LITERAL, $abook)) { $biName = sprintf("{%d}", strlen($abook)); $this->_imsp->send($biName, false, true, true); } $this->_imsp->send($abook, false, true); // Get results. $response = $this->_imsp->receive(); switch ($response) { case 'NO': // Could not create abook. $this->_imsp->_logger->err('IMSP server is unable to perform your request.'); throw new Horde_Imsp_Exception('IMSP server is unable to perform your request.'); case 'BAD': $this->_imsp->_logger->err('The IMSP server did not understand your request.'); throw new Horde_Imsp_Exception('The IMSP server did not understand your request.'); } // If we are here, we need to receive the * ACL Responses. do { /* Get an array of responses. * The [3] element should be the address book name * [4] and [5] will be user/group name and permissions */ //the book name might be a literal if (preg_match(Horde_Imsp_Client_Base::OCTET_COUNT, $response, $tempArray)) { $data = $this->_imsp->receiveStringLiteral($tempArray[2]); $response = $this->_imsp->receive(); } $parts = explode(' ', $response); // Push the array if book was a literal if ($data) { array_unshift($parts, ' ', ' ', ' ', ' '); } // Address book name quoted? $numParts = count($parts); $name = $parts[3]; $firstACLIdx = 4; $firstChar = substr($name, 0, 1); if ($firstChar == "\"") { for ($i = 4; $i < $numParts; $i++) { $lastChar = substr($parts[$i], strlen($parts[$i]) - 1, 1); $firstACLIdx++; if ($lastChar == "\"") { break; } } } for ($i = $firstACLIdx; $i < count($parts); $i += 2) { $results[$parts[$i]] = $parts[$i+1]; } $response = $this->_imsp->receive(); } while (preg_match("/^\* ACL ADDRESSBOOK/", $response)); // Hopefully we can receive an OK response here if ($response != 'OK') { // Some weird problem throw new Horde_Imsp_Exception('Did not receive the expected response from the server.'); } $this->_imsp->_logger->debug("GETACL on $abook completed."); return $results; } /** * Deletes an ACL entry for an address book. * * @param string $abook Name of the address book. * @param string $ident Name of entry to remove acl for. * * @throws Horde_Imsp_Exception */ function deleteACL($abook, $ident) { $this->_imsp->send('DELETEACL ADDRESSBOOK ', true, false); // Do we need literal for address book name? if (preg_match(Horde_Imsp_Client_Base::MUST_USE_LITERAL, $abook)) { $biBook = sprintf("{%d}", strlen($abook)); $this->_imsp->send($biBook, false, true, true); } $this->_imsp->send("$abook ", false, false); // Literal for ident name? if (preg_match(Horde_Imsp_Client_Base::MUST_USE_LITERAL, $ident)) { $biIdent = sprintf("{%d}", strlen($ident)); $this->_imsp->send($biIdent, false, true, true); $this->_imsp->send($ident, false, true); } else { $this->_imsp->send("\"$ident\"", false, true); } // Get results. $server_response = $this->_imsp->receive(); switch ($server_response) { case 'NO': // Could not create abook. $this->_imsp->_logger->err('IMSP server is unable to perform your request.'); throw new Horde_Imsp_Exception('IMSP server is unable to perform your request.'); case 'BAD': $this->_imsp->_logger->err('The IMSP server did not understand your request.'); throw new Horde_Imsp_Exception('The IMSP server did not understand your request.'); case 'OK': $this->_imsp->_logger->debug("DELETED ACL for $ident on $abook"); default: throw new Horde_Imsp_Exception('Did not receive the expected response from the server.'); } } /** * Returns an ACL string containing the rights for the current user * * @param string $abook Name of address book to retrieve acl. * * @return mixed acl of current user. */ public function myRights($abook) { $data = ''; $this->_imsp->send('MYRIGHTS ADDRESSBOOK ', true, false); if (preg_match(Horde_Imsp_Client_Base::MUST_USE_LITERAL, $abook)) { $biBook = sprintf("{%d}", strlen($abook)); $this->_imsp->send($biBook, false, true, true); } $this->_imsp->send($abook, false, true); $server_response = $this->_imsp->receive(); switch ($server_response) { case 'NO': // Could not create abook. $this->_imsp->_logger->err('IMSP server is unable to perform your request.'); throw new Horde_Imsp_Exception('IMSP server is unable to perform your request.'); case 'BAD': $this->_imsp->_logger->err('The IMSP server did not understand your request.'); throw new Horde_Imsp_Exception('The IMSP server did not understand your request.'); } if (!preg_match("/^\* MYRIGHTS ADDRESSBOOK/", $server_response)) { throw new Horde_Imsp_Exception('Did not receive the expected response from the server.'); } // {} for the abook name? if (preg_match(Horde_Imsp_Client_Base::OCTET_COUNT, $server_response, $tempArray)) { $data = $this->_imsp->receiveStringLiteral($tempArray[2]); $server_response = $this->_imsp->receive(); } $parts = explode(' ', $server_response); // Push the array if we had a {} if ($data) { array_unshift($parts, ' ', ' ', ' ', ' '); } // Quoted address book name? $numParts = count($parts); $name = $parts[3]; $firstACLIdx = 4; $firstChar = substr($name, 0, 1); if ($firstChar == "\"") { for ($i = 4; $i < $numParts; $i++) { $lastChar = substr($parts[$i], strlen($parts[$i]) - 1, 1); $firstACLIdx++; if ($lastChar == "\"") { break; } } } $acl = $parts[$firstACLIdx]; $server_response = $this->_imsp->receive(); if ($server_response != 'OK') { throw new Horde_Imsp_Exception('Did not receive the expected response from the server.'); } else { $this->_imsp->_logger->debug("MYRIGHTS on $abook completed."); return $acl; } } /** * Parses a IMSP fetchaddress response text string into key-value pairs * * @param string $server_response The raw fetchaddress response. * * @return array Address book entry information as key=>value pairs. */ protected function _parseFetchAddressResponse($server_response) { $abook = ''; if (!preg_match("/^\* FETCHADDRESS /", $server_response)) { $this->_imsp->_logger->err('Did not receive a FETCHADDRESS response from server.'); throw new Horde_Imsp_Exception('Did not receive the expected response from the server.'); } /* NOTES * Parse out the server response string * * After choping off the server command response tags and * explode()'ing the server_response string * the $parts array contains the chunks of the server returned data. * * The predifined 'name' field starts in $parts[1]. * The server should return any single item of data * that contains spaces within it as a double quoted string. * So we can interpret the existence of a double quote at the beginning * of a chunk to mean that the next chunk(s) are part of * the same value. A double quote at the end of a chunk signifies the * end of that value and the chunk following that can be interpreted * as a key name. * * We also need to watch for the server returning a {} response for the * value of the key as well. */ // Was the address book name a {}? if (preg_match("/(^\* FETCHADDRESS )({)([0-9]{1,})(\}$)/", $server_response, $tempArray)) { $abook = $this->_imsp->receiveStringLiteral($tempArray[3]); $chopped_response = trim($this->_imsp->receive()); } else { // Take off the stuff from the beginning of the response $chopped_response = trim(preg_replace("/^\* FETCHADDRESS /", '', $server_response)); } $parts = explode(' ', $chopped_response); /* If addres book was sent as a {} then we must 'push' a blank * value to the start of this array so the rest of the routine * will work with the correct indexes. */ if (!empty($abook)) { array_unshift($parts, ' '); } // Was the address book name quoted? $numOfParts = count($parts); $name = $parts[0]; $firstNameIdx = 1; $firstChar = substr($name, 0, 1); if ($firstChar =="\"") { for ($i = 1; $i < $numOfParts; $i++) { $lastChar = substr($parts[$i], strlen($parts[$i]) - 1, 1); $firstNameIdx++; if ($lastChar == "\"") { break; } } } // Now start working on the entry name $name = $parts[$firstNameIdx]; $firstChar = substr($name,0,1); // Check to see if the first char of the name string is a double quote // so we know if we have to extract more of the name. if ($firstChar == "\"") { $name = ltrim($name, "\""); for ($i = $firstNameIdx + 1; $i < $numOfParts; $i++) { $name .= ' ' . $parts[$i]; $lastChar = substr($parts[$i], strlen($parts[$i]) - 1,1); if ($lastChar == "\"") { $name = rtrim($name, "\""); $nextKey = $i + 1; break; } } // Check for {} } elseif (preg_match('/\{(\d+)\}/', $name, $matches)) { $name = $this->_imsp->receiveStringLiteral($matches[1]); $response=$this->_imsp->receive(); $parts = explode(' ', $response); $numOfParts = count($parts); $nextKey = 0; } else { // If only one chunk for 'name' then we just have to point // to the next chunk in the array...which will hopefully // be '2' $nextKey = $firstNameIdx + 1; } $lastChar = ''; $entry['name'] = $name; // Start parsing the rest of the response. for ($i = $nextKey; $i < $numOfParts; $i += 2) { $key = $parts[$i]; /* Check for {} */ if (@preg_match(Horde_Imsp_Client_Base::OCTET_COUNT, $parts[$i+1], $tempArray)) { $server_data = $this->_imsp->receiveStringLiteral($tempArray[2]); $entry[$key] = $server_data; /* Read any remaining data from the stream and reset * the counter variables so the loop will continue * correctly. Note we set $i to -2 because it will * be incremented by 2 before the loop will run again */ $parts = $this->_imsp->getServerResponseChunks(); $i = -2; $numOfParts = count($parts); } else { // Not a string literal response @$entry[$key] = $parts[$i + 1]; // Check to see if the value started with a double // quote. We also need to check if the last char is a // quote to make sure we REALLY have to check the next // elements for a closing quote. if ((@substr($parts[$i + 1], 0, 1) == '"') && (substr($parts[$i + 1], strlen($parts[$i + 1]) - 1, 1) != '"')) { do { $nextElement = $parts[$i+2]; // Was this element the last one? $lastChar = substr($nextElement, strlen($nextElement) - 1, 1); $entry[$key] .= ' ' . $nextElement; // NOW, we can check the lastChar. if ($lastChar == '"') { $done = true; $i++; } else { // Check to see if the next element is the // last one. If so, the do loop will terminate. $done = false; $lastChar = substr($parts[$i+3], strlen($parts[$i+3]) - 1,1); $i++; } } while ($lastChar != '"'); // Do we need to add the final element, or were // there only two total? if (!$done) { $nextElement = $parts[$i+2]; $entry[$key] .= ' ' . $nextElement; $i++; } // Remove the quotes sent back to us from the server. if (substr($entry[$key], 0, 1) == '"') { $entry[$key] = substr($entry[$key], 1, strlen($entry[$key]) - 2); } if (substr($entry[$key], strlen($entry[$key]) - 1, 1) == '"') { $entry[$key] = substr($entry[$key], 0, strlen($entry[$key]) - 2); } } elseif ((@substr($parts[$i + 1], 0, 1) == '"') && (substr($parts[$i + 1], -1, 1) == '"')) { // Remove the quotes sent back to us from the server. if (substr($entry[$key], 0, 1) == '"') { $entry[$key] = substr($entry[$key], 1, strlen($entry[$key]) - 2); } if (substr($entry[$key], -1, 1) == '"') { $entry[$key] = substr($entry[$key], 0, strlen($entry[$key]) - 2); } } } } return $entry; } } Horde_Imsp-2.0.8/lib/Horde/Imsp/Exception.php0000664000076500000240000000061112556566123015671 0ustar * @package Horde_Imsp */ class Horde_Imsp_Exception extends Horde_Exception_Wrapped { }Horde_Imsp-2.0.8/lib/Horde/Imsp/Options.php0000664000076500000240000001067312556566123015377 0ustar * @package Horde_Imsp */ class Horde_Imsp_Options { /** * Horde_Imsp object. * * @var Horde_Imsp_Client_Base */ protected $_imsp; /** * Parameter list. * * @var array */ protected $_params; /** * Constructor. * * @param Horde_Imsp_Client_base $client The client connection. * @param array $params Hash containing IMSP parameters. */ public function __construct(Horde_Imsp_Client_Base $client, array $params) { $this->_params = $params; $this->_imsp = $client; $this->_imsp->_logger->debug('Horde_Imsp_Options initialized.'); } /** * Function sends a GET command to IMSP server and retrieves values. * * @param string $option Name of option to retrieve. Accepts '*' as wild * card. * * @return array Hash containing option=>value pairs. * @throws Horde_Imsp_Exception */ public function get($option) { $options = array(); $this->_imsp->send("GET $option", true, true); $server_response = $this->_imsp->receive(); while (preg_match("/^\* OPTION/", $server_response)) { /* First, check for a {}. */ if (preg_match(Horde_Imsp_Client_Base::OCTET_COUNT, $server_response, $tempArray)) { $temp = explode(' ', $server_response); $options[$temp[2]] = $this->_imsp->receiveStringLiteral($tempArray[2]); $this->_imsp->receive(); } else { $temp = explode(' ', $server_response); $options[$temp[2]] = trim($temp[3]); $i = 3; $lastChar = ""; $nextElement = trim($temp[3]); /* Was the value quoted and spaced? */ if ((substr($nextElement, 0, 1) == '"') && (substr($nextElement, strlen($nextElement) - 1, 1) != '"')) { do { $nextElement = $temp[$i + 1]; $lastChar = substr($nextElement, strlen($nextElement) - 1, 1); $options[$temp[2]] .= ' ' . $nextElement; if ($lastChar == '"') { $done = true; } else { $done = false; $lastChar = substr($temp[$i + 2], strlen($temp[$i + 2]) - 1, 1); $i++; } } while ($lastChar != '"'); if (!$done) { $nextElement = $temp[$i + 1]; $options[$temp[2]] .= ' ' . $nextElement; } } } $server_response = $this->_imsp->receive(); } if ($server_response != 'OK') { throw new Horde_Imsp_Exception('Did not receive the expected response from the server.'); } $this->_imsp->_logger->debug('GET command OK.'); return $options; } /** * Function sets an option value on the IMSP server. * * @param string $name Name of option to set. * @param string $value Value to assign. * * @throws Horde_Imsp_Exception */ public function set($option, $value) { /* Send the beginning of the command. */ $this->_imsp->send("SET $option ", true, false); /* Send $optionValue as a literal {}? */ if (preg_match(Horde_Imsp_Client_Base::MUST_USE_LITERAL, $value)) { $biValue = sprintf("{%d}", strlen($value)); $result = $this->_imsp->send($biValue, false, true, true); } /* Now send the rest of the command. */ $result = $this->_imsp->send($value, false, true); $server_response = $this->_imsp->receive(); if ($server_response != 'OK') { throw new Horde_Imsp_Exception('The option could not be set on the IMSP server.'); } $this->_imsp->_logger->debug('SET command OK.'); } public function logout() { $this->_imsp->logout(); } } Horde_Imsp-2.0.8/lib/Horde/Imsp/Translation.php0000664000076500000240000000137312556566123016237 0ustar * @package Horde_Imsp */ class Horde_Imsp_Translation extends Horde_Translation_Autodetect { /** * The translation domain * * @var string */ protected static $_domain = 'Horde_Imsp'; /** * The absolute PEAR path to the translations for the default gettext handler. * * @var string */ protected static $_pearDirectory = '@data_dir@'; } Horde_Imsp-2.0.8/locale/ar/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000057712556566123016532 0ustar $,8E9Project-Id-Version: Horde_Net_IMSP 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_Imsp-2.0.8/locale/ar/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000151112556566123016522 0ustar # Arabic translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\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" #: IMSP/Book.php:1308 msgid "The IMSP log could not be initialized." msgstr "" #: IMSP.php:458 IMSP/Auth.php:144 #, fuzzy, php-format msgid "Unable to load the definition of %s." msgstr "لا إمكانية لقراءة مجلد vfsroot." Horde_Imsp-2.0.8/locale/bg/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000057712556566123016520 0ustar $,8E9Project-Id-Version: Horde_Net_IMSP 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_Imsp-2.0.8/locale/bg/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000151212556566123016511 0ustar # Bulgarian translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\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" #: IMSP/Book.php:1308 msgid "The IMSP log could not be initialized." msgstr "" #: IMSP.php:458 IMSP/Auth.php:144 #, fuzzy, php-format msgid "Unable to load the definition of %s." msgstr "Грешка при изтриване '%s': %s." Horde_Imsp-2.0.8/locale/bs/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000057712556566123016534 0ustar $,8E9Project-Id-Version: Horde_Net_IMSP 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_Imsp-2.0.8/locale/bs/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000142112556566123016524 0ustar # Bosnian translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\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" #: IMSP/Book.php:1308 msgid "The IMSP log could not be initialized." msgstr "" #: IMSP.php:458 IMSP/Auth.php:144 #, php-format msgid "Unable to load the definition of %s." msgstr "" Horde_Imsp-2.0.8/locale/ca/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000110612556566123016500 0ustar 4L`&a$E&+The IMSP log could not be initialized.Unable to load the definition of %s.Project-Id-Version: Horde_Net_IMSP 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 No es pot iniciar el registre de IMSP.No s'ha pogut carregar la definició de %s.Horde_Imsp-2.0.8/locale/ca/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000154212556566123016507 0ustar # Catalan translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\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" #: IMSP/Book.php:1308 msgid "The IMSP log could not be initialized." msgstr "No es pot iniciar el registre de IMSP." #: IMSP.php:458 IMSP/Auth.php:144 #, php-format msgid "Unable to load the definition of %s." msgstr "No s'ha pogut carregar la definició de %s." Horde_Imsp-2.0.8/locale/cs/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000117012556566123016523 0ustar 4L`&a$!9[The IMSP log could not be initialized.Unable to load the definition of %s.Project-Id-Version: Horde_Net_IMSP 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==1) ? 0 : (n>=2 && n<=4) ? 1 : 2; IMSP záznam nelze inicializovat.Definice %s není dostupná.Horde_Imsp-2.0.8/locale/cs/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000162612556566123016534 0ustar # Czech translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\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==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #: IMSP/Book.php:1308 msgid "The IMSP log could not be initialized." msgstr "IMSP záznam nelze inicializovat." #: IMSP.php:458 IMSP/Auth.php:144 #, php-format msgid "Unable to load the definition of %s." msgstr "Definice %s není dostupná." Horde_Imsp-2.0.8/locale/da/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000101012556566123016473 0ustar ,<PQgConnection timed out!Project-Id-Version: Horde_Imsp Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2012-01-17 12:38+0100 PO-Revision-Date: 2014-03-20 20:18+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); Forbindelsens tid udløb!Horde_Imsp-2.0.8/locale/da/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000142612556566123016511 0ustar # Danish translations for Horde_Imsp package. # Copyright (C) 2014 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Imsp package. # Erling Preben Hansen , 2013-2014. # msgid "" msgstr "" "Project-Id-Version: Horde_Imsp\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2012-01-17 12:38+0100\n" "PO-Revision-Date: 2014-03-20 20:18+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/Imsp/Client/Socket.php:161 msgid "Connection timed out!" msgstr "Forbindelsens tid udløb!" Horde_Imsp-2.0.8/locale/de/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000100712556566123016505 0ustar ,<PQ{g#Connection timed out!Project-Id-Version: Horde_Net_IMSP Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2011-04-04 10:15+0200 PO-Revision-Date: 2011-04-04 10:35+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=2; plural=(n != 1); Zeitüberschreitung der Verbindung!Horde_Imsp-2.0.8/locale/de/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000142512556566123016514 0ustar # German translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Jan Schneider , 2010-2011. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2011-04-04 10:15+0200\n" "PO-Revision-Date: 2011-04-04 10:35+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=2; plural=(n != 1);\n" #: lib/Horde/Imsp/Client/Socket.php:161 msgid "Connection timed out!" msgstr "Zeitüberschreitung der Verbindung!" Horde_Imsp-2.0.8/locale/el/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000104212556566123016514 0ustar ,<P$Qpv:Unable to load the definition of %s.Project-Id-Version: Horde_Net_IMSP 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); Αδύνατη η φόρτωση ορισμού του %s.Horde_Imsp-2.0.8/locale/el/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000171712556566123016530 0ustar # Greek translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\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" #: IMSP/Book.php:1308 #, fuzzy msgid "The IMSP log could not be initialized." msgstr "Το αρχείο που στείλατε δε μπόρεσε να σωθεί." #: IMSP.php:458 IMSP/Auth.php:144 #, php-format msgid "Unable to load the definition of %s." msgstr "Αδύνατη η φόρτωση ορισμού του %s." Horde_Imsp-2.0.8/locale/es/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000105712556566123016531 0ustar ,<PQgConnection timed out!Project-Id-Version: Horde_Imsp Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2012-01-17 12:38+0100 PO-Revision-Date: 2013-06-11 20:26+0200 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); ¡Tiempo de conexión agotado!Horde_Imsp-2.0.8/locale/es/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000145712556566123016540 0ustar # Spanish translations for Horde_Imsp package. # Copyright (C) 2013 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Imsp package. # Automatically generated, 2013. # msgid "" msgstr "" "Project-Id-Version: Horde_Imsp \n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2012-01-17 12:38+0100\n" "PO-Revision-Date: 2013-06-11 20:26+0200\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/Imsp/Client/Socket.php:161 msgid "Connection timed out!" msgstr "¡Tiempo de conexión agotado!" Horde_Imsp-2.0.8/locale/et/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000077012556566123016533 0ustar ,<PQgConnection timed out!Project-Id-Version: Horde_Net_IMSP Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2011-04-04 10:15+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); Ühendus aegus!Horde_Imsp-2.0.8/locale/et/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000137512556566123016540 0ustar # Estonian translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2011-04-04 10:15+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/Imsp/Client/Socket.php:161 msgid "Connection timed out!" msgstr "Ühendus aegus!" Horde_Imsp-2.0.8/locale/eu/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000110412556566123016524 0ustar ,<PQg# Connection timed out!Project-Id-Version: Horde_Imsp Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2012-01-17 12:38+0100 PO-Revision-Date: 2013-01-16 10:33+0100 Last-Translator: Ibon Igartua Language-Team: Euskal Herriko Unibertsitatea Language: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); X-Poedit-Language: Basque Konexioa denboraz kanpo gelditu da!Horde_Imsp-2.0.8/locale/eu/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000151312556566123016533 0ustar # Basque translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Imsp\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2012-01-17 12:38+0100\n" "PO-Revision-Date: 2013-01-16 10:33+0100\n" "Last-Translator: Ibon Igartua \n" "Language-Team: Euskal Herriko Unibertsitatea \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" "X-Poedit-Language: Basque\n" #: lib/Horde/Imsp/Client/Socket.php:161 msgid "Connection timed out!" msgstr "Konexioa denboraz kanpo gelditu da!" Horde_Imsp-2.0.8/locale/fa/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000076212556566123016512 0ustar ,<P$QEv5Unable to load the definition of %s.Project-Id-Version: Horde_Net_IMSP 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 نمی‌توان تعریف %s را بار نمودHorde_Imsp-2.0.8/locale/fa/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000161712556566123016515 0ustar # Persian translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\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" #: IMSP/Book.php:1308 #, fuzzy msgid "The IMSP log could not be initialized." msgstr "پرونده ارسال شده نمی‌تواند حفظ شود" #: IMSP.php:458 IMSP/Auth.php:144 #, php-format msgid "Unable to load the definition of %s." msgstr "نمی‌توان تعریف %s را بار نمود" Horde_Imsp-2.0.8/locale/fi/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000101512556566123016512 0ustar ,<PQgConnection timed out!Project-Id-Version: Horde_Net_IMSP Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2011-04-04 10:15+0200 PO-Revision-Date: 2012-03-07 15:06:59+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); Yhteys aikakatkaistiin!Horde_Imsp-2.0.8/locale/fi/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000143112556566123016517 0ustar # Finnish translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Leena Heino , 2010-2012. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2011-04-04 10:15+0200\n" "PO-Revision-Date: 2012-03-07 15:06:59+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/Imsp/Client/Socket.php:161 msgid "Connection timed out!" msgstr "Yhteys aikakatkaistiin!" Horde_Imsp-2.0.8/locale/fr/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000111212556566123016521 0ustar ,<PQg!(Connection timed out!Project-Id-Version: Horde_Imsp Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2012-01-17 12:38+0100 PO-Revision-Date: 2013-01-16 16:29+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 Le délai de connexion a expiré!Horde_Imsp-2.0.8/locale/fr/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000162612556566123016536 0ustar # French translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # Paul De Vlieger , 2013 msgid "" msgstr "" "Project-Id-Version: Horde_Imsp \n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2012-01-17 12:38+0100\n" "PO-Revision-Date: 2013-01-16 16:29+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/Imsp/Client/Socket.php:161 msgid "Connection timed out!" msgstr "Le délai de connexion a expiré!" Horde_Imsp-2.0.8/locale/gl/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000057712556566123016532 0ustar $,8E9Project-Id-Version: Horde_Net_IMSP 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_Imsp-2.0.8/locale/gl/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000142212556566123016523 0ustar # Galician translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\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" #: IMSP/Book.php:1308 msgid "The IMSP log could not be initialized." msgstr "" #: IMSP.php:458 IMSP/Auth.php:144 #, php-format msgid "Unable to load the definition of %s." msgstr "" Horde_Imsp-2.0.8/locale/he/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000065212556566123016516 0ustar $,8p9Project-Id-Version: Horde_Net_IMSP 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_Imsp-2.0.8/locale/he/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000147712556566123016527 0ustar # Hebrew translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\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" #: IMSP/Book.php:1308 msgid "The IMSP log could not be initialized." msgstr "" #: IMSP.php:458 IMSP/Auth.php:144 #, php-format msgid "Unable to load the definition of %s." msgstr "" Horde_Imsp-2.0.8/locale/hr/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000114012556566123016524 0ustar ,<PQgAConnection timed out!Project-Id-Version: Horde_Net_IMSP Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2011-04-04 10:15+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); Prekoračeno vrijeme čekanja!Horde_Imsp-2.0.8/locale/hr/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000157212556566123016540 0ustar # Croatian translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Valentin Vidic , 2011. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2011-04-04 10:15+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/Imsp/Client/Socket.php:161 msgid "Connection timed out!" msgstr "Prekoračeno vrijeme čekanja!" Horde_Imsp-2.0.8/locale/hu/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000101412556566123016527 0ustar ,<PQgConnection timed out!Project-Id-Version: Horde_Imsp Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2012-01-17 12:38+0100 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); A kapcsolódás nem sikerült.Horde_Imsp-2.0.8/locale/hu/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000136112556566123016537 0ustar # Hungarian translations for Horde_Net_IMSP module. # Copyright 2010-2013 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # msgid "" msgstr "" "Project-Id-Version: Horde_Imsp \n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2012-01-17 12:38+0100\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/Imsp/Client/Socket.php:161 msgid "Connection timed out!" msgstr "A kapcsolódás nem sikerült." Horde_Imsp-2.0.8/locale/id/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000057712556566123016524 0ustar $,8E9Project-Id-Version: Horde_Net_IMSP 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_Imsp-2.0.8/locale/id/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000150212556566123016514 0ustar # Indonesian translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\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" #: IMSP/Book.php:1308 msgid "The IMSP log could not be initialized." msgstr "" #: IMSP.php:458 IMSP/Auth.php:144 #, fuzzy, php-format msgid "Unable to load the definition of %s." msgstr "Tidak dapat untuk menghapus \"%s\": %s." Horde_Imsp-2.0.8/locale/is/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000057712556566123016543 0ustar $,8E9Project-Id-Version: Horde_Net_IMSP 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_Imsp-2.0.8/locale/is/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000150512556566123016536 0ustar # Icelandic translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\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" #: IMSP/Book.php:1308 #, fuzzy msgid "The IMSP log could not be initialized." msgstr "Ekki var hægt að skipta um undirskrift." #: IMSP.php:458 IMSP/Auth.php:144 #, php-format msgid "Unable to load the definition of %s." msgstr "" Horde_Imsp-2.0.8/locale/it/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000115612556566123016536 0ustar 4L`&a$p$*CThe IMSP log could not be initialized.Unable to load the definition of %s.Project-Id-Version: Horde_Net_IMSP 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); L'IMSP non può essere inizializzatoImpossibile caricare le definizioni di %s.Horde_Imsp-2.0.8/locale/it/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000161612556566123016542 0ustar # Italian translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\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" #: IMSP/Book.php:1308 msgid "The IMSP log could not be initialized." msgstr "L'IMSP non può essere inizializzato" #: IMSP.php:458 IMSP/Auth.php:144 #, php-format msgid "Unable to load the definition of %s." msgstr "Impossibile caricare le definizioni di %s." Horde_Imsp-2.0.8/locale/ja/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000106412556566123016512 0ustar ,<PQg* Connection timed out!Project-Id-Version: Horde_Net_IMSP Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2012-01-17 12:38+0100 PO-Revision-Date: 2012-10-14 11:20+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.5.4 接続がタイムアウトしました!Horde_Imsp-2.0.8/locale/ja/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000145612556566123016522 0ustar # Japanese translation for Horde. # Copyright 2004-2015 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_Net_IMSP\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2012-01-17 12:38+0100\n" "PO-Revision-Date: 2012-10-14 11:20+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.5.4\n" #: lib/Horde/Imsp/Client/Socket.php:161 msgid "Connection timed out!" msgstr "接続がタイムアウトしました!" Horde_Imsp-2.0.8/locale/km/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000057712556566123016537 0ustar $,8E9Project-Id-Version: Horde_Net_IMSP 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_Imsp-2.0.8/locale/km/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000141712556566123016534 0ustar # Khmer translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\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" #: IMSP/Book.php:1308 msgid "The IMSP log could not be initialized." msgstr "" #: IMSP.php:458 IMSP/Auth.php:144 #, php-format msgid "Unable to load the definition of %s." msgstr "" Horde_Imsp-2.0.8/locale/ko/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000100612556566123016525 0ustar ,<P$Qiv%Unable to load the definition of %s.Project-Id-Version: Horde_Net_IMSP 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; %s 정의를 읽을 수 없습니다.Horde_Imsp-2.0.8/locale/ko/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000161312556566123016534 0ustar # Korean translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\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" #: IMSP/Book.php:1308 #, fuzzy msgid "The IMSP log could not be initialized." msgstr "서명을 변경할 수 없습니다." #: IMSP.php:458 IMSP/Auth.php:144 #, php-format msgid "Unable to load the definition of %s." msgstr "%s 정의를 읽을 수 없습니다." Horde_Imsp-2.0.8/locale/lt/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000107312556566123016537 0ustar ,<PQg%Connection timed out!Project-Id-Version: Horde_Net_IMSP Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2011-05-28 01:09+0300 PO-Revision-Date: 2011-06-27 23:47+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); Prisijungti nepavyko!Horde_Imsp-2.0.8/locale/lt/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000151112556566123016537 0ustar # Lithuanian translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Vilius Šumskas , 2011. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\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 23:47+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/Imsp/Client/Socket.php:161 msgid "Connection timed out!" msgstr "Prisijungti nepavyko!" Horde_Imsp-2.0.8/locale/lv/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000116312556566123016541 0ustar ,<PQgZConnection timed out!Project-Id-Version: Horde_Imsp Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2011-04-04 10:15+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 Neizdevās pieslēgties!Horde_Imsp-2.0.8/locale/lv/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000160012556566123016540 0ustar # Latvian translations for Horde_Imsp package. # Copyright 2011-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Imsp package. # Automatically generated, 2011. # msgid "" msgstr "" "Project-Id-Version: Horde_Imsp\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2011-04-04 10:15+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/Imsp/Client/Socket.php:161 msgid "Connection timed out!" msgstr "Neizdevās pieslēgties!" Horde_Imsp-2.0.8/locale/mk/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000057712556566123016537 0ustar $,8E9Project-Id-Version: Horde_Net_IMSP 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_Imsp-2.0.8/locale/mk/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000142412556566123016532 0ustar # Macedonian translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\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" #: IMSP/Book.php:1308 msgid "The IMSP log could not be initialized." msgstr "" #: IMSP.php:458 IMSP/Auth.php:144 #, php-format msgid "Unable to load the definition of %s." msgstr "" Horde_Imsp-2.0.8/locale/nb/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000065212556566123016521 0ustar $,8p9Project-Id-Version: Horde_Net_IMSP 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_Imsp-2.0.8/locale/nb/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000156512556566123016530 0ustar # Norwegian Bokmal translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\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" #: IMSP/Book.php:1308 msgid "The IMSP log could not be initialized." msgstr "" #: IMSP.php:458 IMSP/Auth.php:144 #, fuzzy, php-format msgid "Unable to load the definition of %s." msgstr "%s har svart på invitasjonen til %s." Horde_Imsp-2.0.8/locale/nl/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000105612556566123016532 0ustar ,<PQgConnection timed out!Project-Id-Version: Horde_Net_IMSP Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2012-01-17 12:38+0100 PO-Revision-Date: 2012-11-03 11:54+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 Verbinding time-out!Horde_Imsp-2.0.8/locale/nl/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000150612556566123016535 0ustar # Dutch translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # # Arjen de Korte , 2012. msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2012-01-17 12:38+0100\n" "PO-Revision-Date: 2012-11-03 11:54+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/Imsp/Client/Socket.php:161 msgid "Connection timed out!" msgstr "Verbinding time-out!" Horde_Imsp-2.0.8/locale/nn/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000065212556566123016535 0ustar $,8p9Project-Id-Version: Horde_Net_IMSP 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_Imsp-2.0.8/locale/nn/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000155512556566123016543 0ustar # Norwegian Nynorsk translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\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" #: IMSP/Book.php:1308 msgid "The IMSP log could not be initialized." msgstr "" #: IMSP.php:458 IMSP/Auth.php:144 #, fuzzy, php-format msgid "Unable to load the definition of %s." msgstr "Kunne ikkje slette '%s': %s." Horde_Imsp-2.0.8/locale/pl/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000074412556566123016537 0ustar $,89Project-Id-Version: Horde_Net_IMSP 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==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2); Horde_Imsp-2.0.8/locale/pl/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000171712556566123016543 0ustar # Polish translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\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==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2);\n" #: IMSP/Book.php:1308 #, fuzzy msgid "The IMSP log could not be initialized." msgstr "Wgrywany plik nie mógł być zapisany." #: IMSP.php:458 IMSP/Auth.php:144 #, fuzzy, php-format msgid "Unable to load the definition of %s." msgstr "Błąd podczas zmiany do %s." Horde_Imsp-2.0.8/locale/pt/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000116712556566123016547 0ustar 4L`&a$p3$RThe IMSP log could not be initialized.Unable to load the definition of %s.Project-Id-Version: Horde_Net_IMSP 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); O registo ("log") IMSP não pôde ser inicializado.Impossível ler a definição de %s.Horde_Imsp-2.0.8/locale/pt/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000163412556566123016551 0ustar # Portuguese translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\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" #: IMSP/Book.php:1308 msgid "The IMSP log could not be initialized." msgstr "O registo (\"log\") IMSP não pôde ser inicializado." #: IMSP.php:458 IMSP/Auth.php:144 #, php-format msgid "Unable to load the definition of %s." msgstr "Impossível ler a definição de %s." Horde_Imsp-2.0.8/locale/pt_BR/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000102612556566123017124 0ustar ,<PQgConnection timed out!Project-Id-Version: Horde_Net_IMSP Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2011-04-04 10:15+0200 PO-Revision-Date: 2011-06-12 03:02-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); Esgotado tempo de conexão!Horde_Imsp-2.0.8/locale/pt_BR/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000143512556566123017133 0ustar # Portuguese translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2011-04-04 10:15+0200\n" "PO-Revision-Date: 2011-06-12 03:02-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/Imsp/Client/Socket.php:161 msgid "Connection timed out!" msgstr "Esgotado tempo de conexão!" Horde_Imsp-2.0.8/locale/ro/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000073012556566123016537 0ustar $,89Project-Id-Version: Horde_Net_IMSP 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; Horde_Imsp-2.0.8/locale/ro/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000156212556566123016546 0ustar # Romanian translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\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" #: IMSP/Book.php:1308 msgid "The IMSP log could not be initialized." msgstr "" #: IMSP.php:458 IMSP/Auth.php:144 #, php-format msgid "Unable to load the definition of %s." msgstr "" Horde_Imsp-2.0.8/locale/ru/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000116412556566123016547 0ustar ,<P$QvB1Unable to load the definition of %s.Project-Id-Version: Horde_Net_IMSP 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); Невозможно загрузить определение %s.Horde_Imsp-2.0.8/locale/ru/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000202112556566123016543 0ustar # Russian translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\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" #: IMSP/Book.php:1308 #, fuzzy msgid "The IMSP log could not be initialized." msgstr "Подпись не может быть заменена." #: IMSP.php:458 IMSP/Auth.php:144 #, php-format msgid "Unable to load the definition of %s." msgstr "Невозможно загрузить определение %s." Horde_Imsp-2.0.8/locale/sk/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000105412556566123016534 0ustar ,<PQgConnection timed out!Project-Id-Version: Horde_Net_IMSP Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2012-01-17 12:38+0100 PO-Revision-Date: 2012-12-30 17:54+0200 Last-Translator: Jozef Sudolsky 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; Čas na pripojenie vypršal!Horde_Imsp-2.0.8/locale/sk/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000154112556566123016540 0ustar # Slovak translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # Jozef Sudolský , 2012 # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2012-01-17 12:38+0100\n" "PO-Revision-Date: 2012-12-30 17:54+0200\n" "Last-Translator: Jozef Sudolsky \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/Imsp/Client/Socket.php:161 msgid "Connection timed out!" msgstr "Čas na pripojenie vypršal!" Horde_Imsp-2.0.8/locale/sl/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000122512556566123016535 0ustar 4L`&a$'RzThe IMSP log could not be initialized.Unable to load the definition of %s.Project-Id-Version: Horde_Net_IMSP 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); Posodobljen datoteke ne morem shraniti.Ne morem spremeniti na %s.Horde_Imsp-2.0.8/locale/sl/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000167212556566123016546 0ustar # Slovenian translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\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" #: IMSP/Book.php:1308 msgid "The IMSP log could not be initialized." msgstr "Posodobljen datoteke ne morem shraniti." #: IMSP.php:458 IMSP/Auth.php:144 #, php-format msgid "Unable to load the definition of %s." msgstr "Ne morem spremeniti na %s." Horde_Imsp-2.0.8/locale/sv/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000101212556566123016541 0ustar ,<P$Qpv"Unable to load the definition of %s.Project-Id-Version: Horde_Net_IMSP 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); Kan inte ladda definitionen av %s.Horde_Imsp-2.0.8/locale/sv/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000162212556566123016553 0ustar # Swedish translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\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" #: IMSP/Book.php:1308 #, fuzzy msgid "The IMSP log could not be initialized." msgstr "Den uppladdade filen kunde inte sparas." #: IMSP.php:458 IMSP/Auth.php:144 #, php-format msgid "Unable to load the definition of %s." msgstr "Kan inte ladda definitionen av %s." Horde_Imsp-2.0.8/locale/tr/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000113212556566123016541 0ustar 4L`&a$i%=The IMSP log could not be initialized.Unable to load the definition of %s.Project-Id-Version: Horde_Net_IMSP 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; IMSP günlük kaydına başlanamadı.%s in tanımı yüklenemedi.Horde_Imsp-2.0.8/locale/tr/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000157212556566123016554 0ustar # Turkish translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\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" #: IMSP/Book.php:1308 msgid "The IMSP log could not be initialized." msgstr "IMSP günlük kaydına başlanamadı." #: IMSP.php:458 IMSP/Auth.php:144 #, php-format msgid "Unable to load the definition of %s." msgstr "%s in tanımı yüklenemedi." Horde_Imsp-2.0.8/locale/uk/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000112212556566123016532 0ustar ,<PQg$-Connection timed out!Project-Id-Version: Horde_Net_IMSP Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2012-01-17 12:38+0100 PO-Revision-Date: 2015-01-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_Imsp-2.0.8/locale/uk/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000153412556566123016544 0ustar # Ukrainian translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2012-01-17 12:38+0100\n" "PO-Revision-Date: 2015-01-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/Imsp/Client/Socket.php:161 msgid "Connection timed out!" msgstr "Час з'єднання минув!" Horde_Imsp-2.0.8/locale/zh_CN/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000105412556566123017120 0ustar 4L`&a$EThe IMSP log could not be initialized.Unable to load the definition of %s.Project-Id-Version: Horde_Net_IMSP 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 无法初始化 IMSP 日志。无法加载 %s 定义。Horde_Imsp-2.0.8/locale/zh_CN/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000151012556566123017120 0ustar # Chinese translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\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" #: IMSP/Book.php:1308 msgid "The IMSP log could not be initialized." msgstr "无法初始化 IMSP 日志。" #: IMSP.php:458 IMSP/Auth.php:144 #, php-format msgid "Unable to load the definition of %s." msgstr "无法加载 %s 定义。" Horde_Imsp-2.0.8/locale/zh_TW/LC_MESSAGES/Horde_Imsp.mo0000664000076500000240000000105012556566123017146 0ustar 4L`&a$EThe IMSP log could not be initialized.Unable to load the definition of %s.Project-Id-Version: Horde_Net_IMSP 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 IMSP 紀錄無法被初始.無法載入%s的定義.Horde_Imsp-2.0.8/locale/zh_TW/LC_MESSAGES/Horde_Imsp.po0000664000076500000240000000150412556566123017155 0ustar # Chinese translations for Horde_Net_IMSP module. # Copyright 2010-2015 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Net_IMSP module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Net_IMSP\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" #: IMSP/Book.php:1308 msgid "The IMSP log could not be initialized." msgstr "IMSP 紀錄無法被初始." #: IMSP.php:458 IMSP/Auth.php:144 #, php-format msgid "Unable to load the definition of %s." msgstr "無法載入%s的定義." Horde_Imsp-2.0.8/locale/Horde_Imsp.pot0000664000076500000240000000125412556566123014523 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Imsp package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Horde_Imsp \n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2012-01-17 12:38+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/Imsp/Client/Socket.php:161 msgid "Connection timed out!" msgstr ""