package.xml0000664000175000017500000013320112653675402011311 0ustar janjan Horde_Data pear.horde.org Horde Data API A data import and export API, with backends for: * CSV * TSV * iCalendar * vCard * vNote * vTodo Jan Schneider jan jan@horde.org yes Chuck Hagenbuch chuck chuck@horde.org yes 2016-02-01 2.1.4 2.1.0 stable stable LGPL-2.1 * [jan] Mark PHP 7 as supported. 5.3.0 8.0.0alpha1 8.0.0alpha1 1.7.0 Horde_Browser pear.horde.org 2.0.0 3.0.0alpha1 3.0.0alpha1 Horde_Exception pear.horde.org 2.0.0 3.0.0alpha1 3.0.0alpha1 Horde_Icalendar pear.horde.org 2.0.0 3.0.0alpha1 3.0.0alpha1 Horde_Mail pear.horde.org 2.0.0 3.0.0alpha1 3.0.0alpha1 Horde_Mime pear.horde.org 2.0.0 3.0.0alpha1 3.0.0alpha1 Horde_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 Horde_Test pear.horde.org 2.1.0 3.0.0alpha1 3.0.0alpha1 0.0.1 0.0.1 alpha alpha 2003-07-03 LGPL-2.1 Initial release as a PEAR package 0.0.2 0.0.2 beta beta 2004-04-21 LGPL-2.1 Bugfixes, much better vCard support 2006-05-08 0.0.3 0.0.3 beta beta LGPL-2.1 Converted to package.xml 2.0 for pear.horde.org 1.0.0alpha1 1.0.0 alpha alpha 2011-03-08 LGPL-2.1 * First alpha release for Horde 4. 1.0.0beta1 1.0.0 beta beta 2011-03-16 LGPL-2.1 * First beta release for Horde 4. 1.0.0RC1 1.0.0 beta beta 2011-03-22 LGPL-2.1 * First release candidate for Horde 4. 1.0.0RC2 1.0.0 beta beta 2011-03-29 LGPL-2.1 * Second release candidate for Horde 4. 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-14 LGPL-2.1 * [jan] Escape quotes when exporting CSV data (Bug #10116). 1.0.2 1.0.0 stable stable 2011-07-05 LGPL-2.1 * [jan] Try to detect number of fields again when importing CSV data (Bug #9397). 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-12-06 LGPL-2.1 * [mjr] Allow applications to extend Horde_Data_Base objects. 1.0.5 1.0.0 stable stable 2012-01-31 LGPL-2.1 * [mms] Translate all user-directed exception messages. 1.0.6 1.0.0 stable stable 2012-03-20 LGPL-2.1 * [jan] Update Finnish translation (Leena Heino <liinu@uta.fi>). * [jan] Update German translation. 1.0.7 1.0.0 stable stable 2012-04-10 LGPL-2.1 * [jan] Update Brazilian Portuguese translation (Luis Felipe Marzagao <duli@easylifeproject.org>). 2012-07-05 2.0.0alpha1 2.0.0alpha1 alpha alpha LGPL-2.1 * First alpha release for Horde 5. * [mms] Implement new 2.0 API. See UPGRADING for full details of changes. 2.0.0beta1 2.0.0beta1 beta beta 2012-07-19 LGPL-2.1 * First beta release for Horde 5. 2.0.0beta2 2.0.0beta1 beta beta 2012-10-12 LGPL-2.1 * [jan] Update Japanese translation. 2.0.0 2.0.0 stable stable 2012-10-30 LGPL-2.1 * First stable release for Horde 5. 2.0.1 2.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 2.0.0 stable stable 2013-01-09 LGPL-2.1 * [jan] Update Basque translation (Ibon Igartua <ibon.igartua@ehu.es>). 2.0.3 2.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 2.0.0 stable stable 2013-05-28 LGPL-2.1 * [jan] Update Ukrainian translation (Andriy Kopystyansky <anri@polynet.lviv.ua>). * [jan] Update Basque translation (Ibon Igartua <ibon.igartua@ehu.es>). 2.0.5 2.0.0 stable stable 2014-05-21 LGPL-2.1 * [jan] Update Hungarian translation (Andras Galos <galosa@netinform.hu>). * [jan] Update Danish translation (Erling Preben Hansen <erling@eph.dk>). * [mms] Store CSV and TSV data in storage object, instead of temporary file, to ensure import can work across a PHP cluster. 2.1.0 2.1.0 stable stable 2014-07-01 LGPL-2.1 * [jan] Add importing of IMC (iCalendar/vCard) data from a URL. 2.1.1 2.1.0 stable stable 2015-01-08 LGPL-2.1 * [jan] Support loading translations from Composer-installed package. 2.1.2 2.1.0 stable stable 2015-04-28 LGPL-2.1 * [jan] Fix issues with certain locales like Turkish. 2.1.3 2.1.0 stable stable 2015-07-31 LGPL-2.1 * [jan] Fix Composer file. * [jan] Updated UK translation. 2.1.4 2.1.0 stable stable 2016-02-01 LGPL-2.1 * [jan] Mark PHP 7 as supported. Horde_Data-2.1.4/doc/Horde/Data/examples/Eudora.txt0000664000175000017500000000067612653675401020113 0ustar janjanalias firman firman@php.net note firman It's a notes. Horde_Data-2.1.4/doc/Horde/Data/examples/Gmail.csv0000664000175000017500000000071712653675401017675 0ustar janjanName,E-mail,Notes,Section 1 - Description,Section 1 - Email,Section 1 - IM,Section 1 - Phone,Section 1 - Mobile,Section 1 - Pager,Section 1 - Fax,Section 1 - Company,Section 1 - Title,Section 1 - Other,Section 1 - Address John Doe,john@example.com,,,john.doe@example.com,,9999999,9999999,9999999,9999999,"Example, Corp.",Mr,,Foo Street Jeniffer Doe,jeniffer@example.com,,,jeniffer.doe@example.com,,9999999,9999999,9999999,9999999,"Example, Corp.",Mrs,,Foo Street Horde_Data-2.1.4/doc/Horde/Data/examples/KMail.csv0000664000175000017500000000203312653675401017632 0ustar janjan"Formatted Name","Family Name","Given Name","Additional Names","Honorific Prefixes","Honorific Suffixes","Nick Name","Birthday","Home Address Street","Home Address Locality","Home Address Region","Home Address Postal Code","Home Address Country","Home Address Label","Business Address Street","Business Address Locality","Business Address Region","Business Address Postal Code","Business Address Country","Business Address Label","Home Phone","Business Phone","Mobile Phone","Home Fax","Business Fax","Car Phone","ISDN","Pager","Email Address","Mail Client","Title","Role","Organization","Note","URL","Department","Profession","Assistant's Name","Manager's Name","Spouse's Name","Office","IM Address","Anniversary" "Firman","","Firman Wandayandi","Wandayandi","","","firman","","Foo Street","","","99999","Indonesia","","Foo Street","","","99999","Indonesia","","99999999","99999999","999999999","99999999","99999999","","","99999999","firman@php.net","","","Web Developer","Foo","It's a notes.","http://php.hm/~firman","Foo Net","","","","","","","" Horde_Data-2.1.4/doc/Horde/Data/examples/Outlook.csv0000664000175000017500000000275712653675401020306 0ustar janjanTitle,First Name,Middle Name,Last Name,Suffix,Company,Department,Job Title,Business Street,Business Street 2,Business Street 3,Business City,Business State,Business Postal Code,Business Country,Home Street,Home Street 2,Home Street 3,Home City,Home State,Home Postal Code,Home Country,Other Street,Other Street 2,Other Street 3,Other City,Other State,Other Postal Code,Other Country,Assistant's Phone,Business Fax,Business Phone,Business Phone 2,Callback,Car Phone,Company Main Phone,Home Fax,Home Phone,Home Phone 2,ISDN,Mobile Phone,Other Fax,Other Phone,Pager,Primary Phone,Radio Phone,TTY/TDD Phone,Telex,Account,Anniversary,Assistant's Name,Billing Information,Birthday,Business Address PO Box,Categories,Children,Directory Server,E-mail Address,E-mail Type,E-mail Display Name,E-mail 2 Address,E-mail 2 Type,E-mail 2 Display Name,E-mail 3 Address,E-mail 3 Type,E-mail 3 Display Name,Gender,Government ID Number,Hobby,Home Address PO Box,Initials,Internet Free Busy,Keywords,Language,Location,Manager's Name,Mileage,Notes,Office Location,Organizational ID Number,Other Address PO Box,Priority,Private,Profession,Referred By,Sensitivity,Spouse,User 1,User 2,User 3,User 4,Web Page ,Firman,,Wandayandi,,Foo,Foo Net,Web Developer,Foo Street,,,Bandung,West Java,99999,Indonesia,Foo Street,,,Bandung,West Java,99999,Indonesia,,,,,,,,,99999999,,,,,99999999,99999999,99999999,,,999999999,,,99999999,,,,,,,,,,,,,,firman@php.net,,Firman Wandayandi,,,,,,,,,,,,,,,,,,"It's multiline memo.",,,,,,,,,,,,,,http://php.hm/~firman Horde_Data-2.1.4/doc/Horde/Data/examples/Palm.csv0000664000175000017500000000060712653675401017533 0ustar janjan"Shumway1","Gordon","President","Alf Ltd","408-555-1254","408-555-1255","408-555-1256","408-555-1257","Gordon!@usa.com","123 Anywhere Street","San Jose","CA","95128","USA","","","","","","0","Family" "Shumway2","Gordon","VP","Alf Ltd","405-555-1234","408-555-1235","408-555-1236","408-555-1237","Gordon2@usa.com","12345 Lost Street","San Jose","CA","95129","USA","","","","","","1","Family" Horde_Data-2.1.4/doc/Horde/Data/examples/Thunderbird.csv0000664000175000017500000000040312653675401021106 0ustar janjanFirman,Wandayandi,Firman Wandayandi,firman,firman@php.net,,99999999,99999999,99999999,99999999,999999999,Foo Street,,Bandung,West Java,99999,,Foo Street,,Bandung,West Java,99999,Indonesia,Web Developer,Foo Net,Foo,,http://php.hm/~firman,,,,,,,,It's a notes., Horde_Data-2.1.4/doc/Horde/Data/examples/WAB-selectable.csv0000664000175000017500000000116312653675401021352 0ustar janjanFirst Name,Last Name,Name,Nickname,E-mail Address,Home Street,Home City,Home Postal Code,Home State,Home Country/Region,Home Phone,Home Fax,Mobile Phone,Personal Web Page,Business Street,Business City,Business Postal Code,Business State,Business Country/Region,Business Web Page,Business Phone,Business Fax,Pager,Company,Job Title,Department,Office Location,Notes foo,bar,foo,foo,foo@bar.com,"Foo Street 8, 20 Building",foo,9999999,foo,Afghanistan,Foo Street 8,99999999,999999999,http://foo.bar.com,Foo Street 8,Foo,99999,Foo,Foo/Foo,,Foo Street 8,99999999,99999999,foo,Web Developer,Foo Net,Foo Building,"I'm multiline memo." Horde_Data-2.1.4/doc/Horde/Data/examples/WAB.csv0000664000175000017500000000121512653675401017247 0ustar janjanFirst Name,Last Name,Middle Name,Name,Nickname,E-mail Address,Home Street,Home City,Home Postal Code,Home State,Home Country/Region,Home Phone,Home Fax,Mobile Phone,Personal Web Page,Business Street,Business City,Business Postal Code,Business State,Business Country/Region,Business Web Page,Business Phone,Business Fax,Pager,Company,Job Title,Department,Office Location,Notes Firman,Wandayandi,,Firman Wandayandi,firman,firman@php.net,Foo Street,Bandung,99999,West Java,Indonesia,99999999,99999999,999999999,http://php.hm/~firman,Foo Street,Bandung,99999,West Java,Indonesia,,99999999,99999999,99999999,Foo,Web Developer,Foo Net,,"It's multiline memo." Horde_Data-2.1.4/doc/Horde/Data/examples/Yahoo.csv0000664000175000017500000000142012653675401017713 0ustar janjan"First","Middle","Last","Nickname","Email","Category","Distribution Lists","Yahoo! ID","Home","Work","Pager","Fax","Mobile","Other","Yahoo! Phone","Primary","Alternate Email 1","Alternate Email 2","Personal Website","Business Website","Title","Company","Work Address","Work City","Work County","Work Post Code","Work Country","Home Address","Home Town","Home County","Home Post Code","Home Country","Birthday","Anniversary","Custom 1","Custom 2","Custom 3","Custom 4","Comments" "Firman","","Wandayandi","firman","firman@php.net","","","","","tarzillamax","99999999","","999999999","","","","","","http://php.hm/~firman","","","Foo","Foo Street","Bandung","West Java","99999","Indonesia","Foo Street","Bandung","West Java","99999","Indonesia","","","","","","","It's multiline memo." Horde_Data-2.1.4/doc/Horde/Data/COPYING0000664000175000017500000005765612653675401015362 0ustar janjan GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things. To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it. For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights. We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs. When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library. We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you". A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) "Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) The modified work must itself be a software library. b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. This option is useful when you wish to copy part of the code of the Library into a program that is not a library. 4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. 5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. 6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. 10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. 11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS Horde_Data-2.1.4/doc/Horde/Data/UPGRADING0000664000175000017500000000161012653675401015545 0ustar janjan====================== Upgrading Horde_Data ====================== :Contact: dev@lists.horde.org .. contents:: Contents .. section-numbering:: This lists the API changes between releases of the package. Upgrading to 2.0 ================ - Horde_Data The factory method has been removed. Directly instantiate a transport driver instead. - Horde_Data_Base The constructor now requires a Horde_Data_Storage object to be passed in as the first argument. - Horde_Data_Csv The static helper method getCsv() was added. Removed the default charset member variable. The output charset is now always UTF-8. nextStep() now supports the 'check_charset' parameter, which throws a Horde_Data_Exception_Charset exception if the charset does not match up with the data. - Horde_Data_Storage Temporary data storage has been abstracted out to this class. Horde_Data-2.1.4/lib/Horde/Data/Exception/Charset.php0000664000175000017500000000121612653675401020345 0ustar janjan * @category Horde * @license http://www.horde.org/licenses/lgpl21 LGPL * @package Data */ class Horde_Data_Exception_Charset extends Horde_Data_Exception { /** * Bad charset provided. * * @var string */ public $badCharset = null; } Horde_Data-2.1.4/lib/Horde/Data/Storage/Mock.php0000664000175000017500000000214212653675401017312 0ustar janjan * @category Horde * @license http://www.horde.org/licenses/lgpl21 LGPL-2.1 * @package Data */ class Horde_Data_Storage_Mock implements Horde_Data_Storage { /** * Data storage. * * @var array */ protected $_data = array(); /** */ public function get($key) { return $this->_data[$key]; } /** */ public function set($key, $value = null) { if (is_null($value)) { unset($this->_data[$key]); } else { $this->_data[$key] = $value; } } /** */ public function exists($key) { return isset($this->_data[$key]); } /** */ public function clear() { $this->_data = array(); } } Horde_Data-2.1.4/lib/Horde/Data/Base.php0000664000175000017500000003235412653675401015677 0ustar janjan * @author Chuck Hagenbuch * @category Horde * @package Data */ /** * Abstract class that Data drivers extend. * * @author Jan Schneider * @author Chuck Hagenbuch * @category Horde * @package Data */ abstract class Horde_Data_Base { /** * Storage object. * * @var Horde_Data_Storage */ public $storage; /** * Browser object. * * @var Horde_Browser */ protected $_browser; /** * HTTP client object. * * @var Horde_Http_Client */ protected $_http; /** * Cleanup callback function. * * @var callback */ protected $_cleanupCallback; /** * MIME content type. * * @var string */ protected $_contentType = 'text/plain'; /** * File extension. * * @var string */ protected $_extension = ''; /** * Variables object. * * @var Horde_Variables */ protected $_vars; /** * A list of warnings raised during the last operation. * * @var array */ protected $_warnings = array(); /** * Constructor. * * @param Horde_Data_Storage A storage object. * @param array $params Optional parameters: * - browser: (Horde_Browser) A browser object. * - http: (Horde_Http_Client) A HTTP client object. * - cleanup: (callback) A callback to call at cleanup time. * - vars: (Horde_Variables) Form data. */ public function __construct(Horde_Data_Storage $storage, array $params = array()) { $this->storage = $storage; if (isset($params['browser'])) { $this->_browser = $params['browser']; } if (isset($params['http'])) { $this->_http = $params['http']; } if (isset($params['cleanup']) && is_callable($params['cleanup'])) { $this->_cleanupCallback = $params['cleanup']; } $this->_vars = isset($params['vars']) ? $params['vars'] : Horde_Variables::getDefaultVariables(); } /** * Stub to import passed data. */ public function importData($text) { } /** * Stub to return exported data. */ abstract public function exportData($data, $method = 'REQUEST'); /** * Imports a file. */ public function importFile($filename, $header = false) { $data = file_get_contents($filename); return $this->importData($data, $header); } /** * Imports a URL. * * @since 2.1.0 */ public function importUrl($url, $header = false) { if (!isset($this->_http)) { throw new LogicException('Missing http parameter.'); } try { $response = $this->_http->get($url); if ($response->code != 200) { throw new Horde_Data_Exception(sprintf( Horde_Data_Translation::t("URL %s not found"), $url )); } $data = $response->getBody(); } catch (Horde_Http_Exception $e) { throw new Horde_Data_Exception($e); } return $this->importData($data, $header); } /** * Stub to export data to a file. */ abstract public function exportFile($filename, $data); /** * Tries to determine the expected newline character based on the * platform information passed by the browser's agent header. * * @return string The guessed expected newline characters, either \n, \r * or \r\n. */ public function getNewline() { if (!isset($this->_browser)) { throw new LogicException('Missing browser parameter.'); } switch ($this->_browser->getPlatform()) { case 'win': return "\r\n"; case 'mac': return "\r"; case 'unix': default: return "\n"; } } /** * Returns the full filename including the basename and extension. * * @param string $basename Basename for the file. * * @return string The file name. */ public function getFilename($basename) { return $basename . '.' . $this->_extension; } /** * Returns the content type. * * @return string The content type. */ public function getContentType() { return $this->_contentType; } /** * Returns a list of warnings that have been raised during the last * operation. * * @return array A (possibly empty) list of warnings. */ public function warnings() { return $this->_warnings; } /** * Maps a date/time string to an associative array. * * @param string $date The date. * @param string $type One of 'date', 'time' or 'datetime'. * @param array $params Two-dimensional array with additional information * about the formatting. Possible keys are: * - delimiter: The character that seperates the different date/time * parts. * - format: If 'ampm' and $date contains a time we assume that it is in * AM/PM format. * - order: If $type is 'datetime' the order of the day and time parts: * -1 (timestamp), 0 (day/time), 1 (time/day). * @param integer $key The key to use for $params. * * @return string The date or time in ISO format. */ protected function _mapDate($date, $type, $params, $key) { switch ($type) { case 'date': case 'monthday': case 'monthdayyear': $dates = explode($params['delimiter'][$key], $date); if (count($dates) != 3) { return $date; } $index = array_flip(explode('/', $params['format'][$key])); return $dates[$index['year']] . '-' . $dates[$index['month']] . '-' . $dates[$index['mday']]; case 'time': $dates = explode($params['delimiter'][$key], $date); if (count($dates) < 2 || count($dates) > 3) { return $date; } if ($params['format'][$key] == 'ampm') { if (strpos(Horde_String::lower($dates[count($dates)-1]), 'pm') !== false) { if ($dates[0] !== '12') { $dates[0] += 12; } } elseif ($dates[0] == '12') { $dates[0] = '0'; } $dates[count($dates) - 1] = sprintf('%02d', $dates[count($dates)-1]); } return $dates[0] . ':' . $dates[1] . (count($dates) == 3 ? (':' . $dates[2]) : ':00'); case 'datetime': switch ($params['order'][$key]) { case -1: return (string)(int)$date == $date ? date('Y-m-d H:i:s', $date) : $date; case 0: list($day, $time) = explode(' ', $date, 2); break; case 1: list($time, $day) = explode(' ', $date, 2); break; } $date = $this->_mapDate($day, 'date', array( 'delimiter' => $params['day_delimiter'], 'format' => $params['day_format'] ), $key); $time = $this->_mapDate($time, 'time', array( 'delimiter' => $params['time_delimiter'], 'format' => $params['time_format'] ), $key); return $date . ' ' . $time; } } /** * Takes all necessary actions for the given import step, parameters and * form values and returns the next necessary step. * * @param integer $action The current step. One of the IMPORT_* constants. * @param array $param An associative array containing needed * parameters for the current step. * * @return mixed Either the next step as an integer constant or imported * data set after the final step. * @throws Horde_Data_Exception */ public function nextStep($action, array $param = array()) { /* First step. */ if (is_null($action)) { return Horde_Data::IMPORT_FILE; } switch ($action) { case Horde_Data::IMPORT_FILE: if (!isset($this->_browser)) { throw new LogicException('Missing browser parameter.'); } /* Sanitize uploaded file. */ try { $this->_browser->wasFileUploaded('import_file', $param['file_types'][$this->_vars->import_format]); } catch (Horde_Exception $e) { throw new Horde_Data_Exception($e); } if ($_FILES['import_file']['size'] <= 0) { throw new Horde_Data_Exception(Horde_Data_Translation::t("The file contained no data.")); } $this->storage->set('format', $this->_vars->import_format); break; case Horde_Data::IMPORT_MAPPED: if (!$this->_vars->dataKeys || !$this->_vars->appKeys) { throw new Horde_Data_Exception(Horde_Data_Translation::t("You didn\'t map any fields from the imported file to the corresponding fields.")); } $dataKeys = explode("\t", $this->_vars->dataKeys); $appKeys = explode("\t", $this->_vars->appKeys); $dates = $map = array(); if (!$import_data = $this->storage->get('data')) { $import_data = array(); } foreach ($appKeys as $key => $app) { $map[$dataKeys[$key]] = $app; if (isset($param['time_fields']) && isset($param['time_fields'][$app])) { $dates[$dataKeys[$key]]['type'] = $param['time_fields'][$app]; $dates[$dataKeys[$key]]['values'] = array(); $i = 0; /* Build an example array of up to 10 date/time fields. */ while ($i < count($import_data) && count($dates[$dataKeys[$key]]['values']) < 10) { if (!empty($import_data[$i][$dataKeys[$key]])) { $dates[$dataKeys[$key]]['values'][] = $import_data[$i][$dataKeys[$key]]; } ++$i; } } } $this->storage->set('map', $map); if (count($dates) > 0) { foreach ($dates as $key => $data) { if (count($data['values'])) { $this->storage->set('dates', $dates); return Horde_Data::IMPORT_DATETIME; } } } return $this->nextStep(Horde_Data::IMPORT_DATA, $param); case Horde_Data::IMPORT_DATETIME: case Horde_Data::IMPORT_DATA: if ($action == Horde_Data::IMPORT_DATETIME) { $params = array( 'delimiter' => $this->_vars->delimiter, 'format' => $this->_vars->format, 'order' => $this->_vars->order, 'day_delimiter' => $this->_vars->day_delimiter, 'day_format' => $this->_vars->day_format, 'time_delimiter' => $this->_vars->time_delimiter, 'time_format' => $this->_vars->time_format ); } if (!$this->storage->exists('data')) { throw new Horde_Data_Exception(Horde_Data_Translation::t("The uploaded data was lost since the previous step.")); } /* Build the result data set as an associative array. */ $data = array(); $data_map = $this->storage->get('map'); foreach ($this->storage->get('data') as $row) { $data_row = array(); foreach ($row as $key => $val) { if (isset($data_map[$key])) { $mapped_key = $data_map[$key]; if ($action == Horde_Data::IMPORT_DATETIME && !empty($val) && isset($param['time_fields']) && isset($param['time_fields'][$mapped_key])) { $val = $this->_mapDate($val, $param['time_fields'][$mapped_key], $params, $key); } $data_row[$mapped_key] = $val; } } $data[] = $data_row; } return $data; } } /** * Removes any uploaded and moved files. * * @return mixed If callback called, the return value of this call. * This should be the value of the first import step. */ public function cleanup() { $this->storage->clear(); if ($this->_cleanupCallback) { return call_user_func($this->_cleanupCallback); } } } Horde_Data-2.1.4/lib/Horde/Data/Csv.php0000664000175000017500000003040312653675401015551 0ustar janjan * @author Chuck Hagenbuch * @category Horde * @package Data */ class Horde_Data_Csv extends Horde_Data_Base { /** * MIME content type. * * @var string */ protected $_contentType = 'application/csv'; /** * File extension. * * @var string */ protected $_extension = 'csv'; /** * Imports and parses a CSV file. * * @param string $filename The name of the file to parse. * @param boolean $header Does the first line contain the field/column * names? * @param string $sep The field/column separator. * @param string $quote The quoting character. * @param integer $fields The number or fields/columns. * @param string $charset The file's charset. * @param string $crlf The file's linefeed characters. * * @return array A two-dimensional array of all imported data rows. If * $header was true the rows are associative arrays with the * field/column names as the keys. * @throws Horde_Data_Exception */ public function importFile($filename, $header = false, $sep = ',', $quote = '', $fields = null, $import_mapping = array(), $charset = null, $crlf = null) { if (empty($fields)) { return array(); } $conf = array( 'length' => $fields, 'quote' => $quote, 'separator' => $sep ); $fp = @fopen($filename, 'r'); if (!$fp) { throw new Horde_Data_Exception(Horde_Data_Translation::t("Cannot open file.")); } /* Strip and keep the first line if it contains the field names. */ if ($header) { $head = self::getCsv($fp, $conf); if (!$head) { return array(); } if (!empty($charset)) { $head = Horde_String::convertCharset($head, $charset, 'UTF-8'); } } $data = array(); while ($line = self::getCsv($fp, $conf)) { if (!empty($charset)) { $line = Horde_String::convertCharset($line, $charset, 'UTF-8'); } if (!isset($head)) { $data[] = $line; } else { $newline = array(); for ($i = 0; $i < count($head); $i++) { if (isset($import_mapping[$head[$i]])) { $head[$i] = $import_mapping[$head[$i]]; } $cell = $line[$i]; $cell = preg_replace("/\"\"/", "\"", $cell); $newline[$head[$i]] = empty($cell) ? '' : $cell; } $data[] = $newline; } } return $data; } /** * Builds a CSV file from a given data structure and returns it as a * string. * * @param array $data A two-dimensional array containing the data set. * @param boolean $header If true, the rows of $data are associative * arrays with field names as their keys. * * @return string The CSV data. */ public function exportData($data, $header = false, $export_mapping = array()) { if (!is_array($data) || count($data) == 0) { return ''; } $export = ''; $eol = "\n"; $head = array_keys(current($data)); if ($header) { foreach ($head as $key) { if (!empty($key)) { if (isset($export_mapping[$key])) { $key = $export_mapping[$key]; } $export .= '"' . str_replace('"', '\\"', $key) . '"'; } $export .= ','; } $export = substr($export, 0, -1) . $eol; } foreach ($data as $row) { foreach ($head as $key) { $cell = $row[$key]; if (!empty($cell) || $cell === 0) { $export .= '"' . str_replace('"', '\\"', $cell) . '"'; } $export .= ','; } $export = substr($export, 0, -1) . $eol; } return $export; } /** * Builds a CSV file from a given data structure and triggers its * download. It DOES NOT exit the current script but only outputs the * correct headers and data. * * @param string $filename The name of the file to be downloaded. * @param array $data A two-dimensional array containing the data * set. * @param boolean $header If true, the rows of $data are associative * arrays with field names as their keys. */ public function exportFile($filename, $data, $header = false, $export_mapping = array()) { if (!isset($this->_browser)) { throw new LogicException('Missing browser parameter.'); } $export = $this->exportData($data, $header, $export_mapping); $this->_browser->downloadHeaders($filename, 'application/csv', false, strlen($export)); echo $export; } /** * Takes all necessary actions for the given import step, parameters and * form values and returns the next necessary step. * * @param integer $action The current step. One of the IMPORT_* constants. * @param array $param An associative array containing needed * parameters for the current step. Keys for this * driver: * - check_charset: (boolean) Do some checks to see if the correct * charset has been provided. Throws charset exception * on error. * - import_mapping: TODO * * @return mixed Either the next step as an integer constant or imported * data set after the final step. * @throws Horde_Data_Exception * @throws Horde_Data_Exception_Charset */ public function nextStep($action, array $param = array()) { switch ($action) { case Horde_Data::IMPORT_FILE: parent::nextStep($action, $param); /* Move uploaded file so that we can read it again in the next step after the user gave some format details. */ $file_name = $_FILES['import_file']['tmp_name']; if (($file_data = file_get_contents($file_name)) === false) { throw new Horde_Data_Exception(Horde_Data_Translation::t("The uploaded file could not be saved.")); } /* Do charset checking now, if requested. */ if (isset($param['check_charset'])) { $charset = isset($this->_vars->charset) ? Horde_String::lower($this->_vars->charset) : 'utf-8'; switch ($charset) { case 'utf-8': $error = !Horde_String::validUtf8($file_data); break; default: $error = ($file_data != Horde_String::convertCharset(Horde_String::convertCharset($file_data, $charset, 'UTF-8'), 'UTF-8', $charset)); break; } if ($error) { $e = new Horde_Data_Exception_Charset(Horde_Data_Translation::t("Incorrect charset given for the data.")); $e->badCharset = $charset; throw $e; } } $this->storage->set('charset', $this->_vars->charset); $this->storage->set('file_data', $file_data); /* Read the file's first two lines to show them to the user. */ $first_lines = ''; if ($fp = @fopen($file_name, 'r')) { for ($line_no = 1, $line = fgets($fp); $line_no <= 3 && $line; $line_no++, $line = fgets($fp)) { $line = Horde_String::convertCharset($line, $this->_vars->charset, 'UTF-8'); $first_lines .= Horde_String::truncate($line); if (Horde_String::length($line) > 100) { $first_lines .= "\n"; } } } $this->storage->set('first_lines', $first_lines); /* Import the first line to guess the number of fields. */ if ($first_lines) { rewind($fp); $line = self::getCsv($fp); if ($line) { $this->storage->set('fields', count($line)); } } return Horde_Data::IMPORT_CSV; case Horde_Data::IMPORT_CSV: $this->storage->set('header', $this->_vars->header); $import_mapping = array(); if (isset($param['import_mapping'])) { $import_mapping = $param['import_mapping']; } $file_name = Horde_Util::getTempFile('import'); file_put_contents($file_name, $this->storage->get('file_data')); $this->storage->set('data', $this->importFile( $file_name, $this->_vars->header, $this->_vars->sep, $this->_vars->quote, $this->_vars->fields, $import_mapping, $this->storage->get('charset'), $this->storage->get('crlf') )); $this->storage->set('map'); return Horde_Data::IMPORT_MAPPED; default: return parent::nextStep($action, $param); } } /* Static utility method. */ /** * Wrapper around fgetcsv(). * * Empty lines will be skipped. If the 'length' parameter is provided, all * rows are filled up with empty strings up to this length, or stripped * down to this length. * * @param resource $file A file pointer. * @param array $params Optional parameters. Possible values: * - escape: The escape character. * - length: The expected number of fields. * - quote: The quote character. * - separator: The field delimiter. * * @return array|boolean A row from the CSV file or false on error or end * of file. */ public static function getCsv($file, array $params = array()) { $params += array( 'escape' => '\\', 'quote' => '"', 'separator' => ',' ); // fgetcsv() throws a warning if the quote character is empty. if (!strlen($params['quote']) && ($params['escape'] != '\\')) { $params['quote'] = '"'; } // Detect Mac line endings. $old = ini_get('auto_detect_line_endings'); ini_set('auto_detect_line_endings', 1); do { $row = strlen($params['quote']) ? fgetcsv($file, 0, $params['separator'], $params['quote'], $params['escape']) : fgetcsv($file, 0, $params['separator']); } while ($row && is_null($row[0])); ini_set('auto_detect_line_endings', $old); if ($row) { $row = (strlen($params['quote']) && strlen($params['escape'])) ? array_map(create_function('$a', 'return str_replace(\'' . str_replace('\'', '\\\'', $params['escape'] . $params['quote']) . '\', \'' . str_replace('\'', '\\\'', $params['quote']) . '\', $a);'), $row) : array_map('trim', $row); if (!empty($params['length'])) { $length = count($row); if ($length < $params['length']) { $row += array_fill($length, $params['length'] - $length, ''); } elseif ($length > $params['length']) { array_splice($row, $params['length']); } } } return $row; } } Horde_Data-2.1.4/lib/Horde/Data/Exception.php0000664000175000017500000000064612653675401016762 0ustar janjan * @category Horde * @package Data */ class Horde_Data_Exception extends Horde_Exception_Wrapped { } Horde_Data-2.1.4/lib/Horde/Data/Icalendar.php0000664000175000017500000000067612653675401016711 0ustar janjan * @author Karsten Fourmont * @category Horde * @package Data */ class Horde_Data_Icalendar extends Horde_Data_Imc {} Horde_Data-2.1.4/lib/Horde/Data/Imc.php0000664000175000017500000000657612653675401015544 0ustar janjan * @category Horde * @package Data */ class Horde_Data_Imc extends Horde_Data_Base { /** * @var */ protected $_iCal = false; /** * * @throws Horde_Data_Exception */ public function importData($text) { $this->_iCal = new Horde_Icalendar(); if (!$this->_iCal->parsevCalendar($text)) { throw new Horde_Data_Exception(Horde_Data_Translation::t("There was an error importing the iCalendar data.")); } return $this->_iCal->getComponents(); } /** * Builds an iCalendar file from a given data structure and * returns it as a string. * * @param array $data An array containing Horde_Icalendar_Vevent * objects * @param string $method The iTip method to use. * * @return string The iCalendar data. */ public function exportData($data, $method = 'REQUEST') { $this->_iCal = new Horde_Icalendar(); $this->_iCal->setAttribute('METHOD', $method); foreach ($data as $event) { $this->_iCal->addComponent($event); } return $this->_iCal->exportvCalendar(); } /** * Builds an iCalendar file from a given data structure and * triggers its download. It DOES NOT exit the current script but * only outputs the correct headers and data. * * @param string $filename The name of the file to be downloaded. * @param array $data An array containing Horde_Icalendar_Vevents */ public function exportFile($filename, $data) { if (!isset($this->_browser)) { throw new LogicException('Missing browser parameter.'); } $export = $this->exportData($data); $this->_browser->downloadHeaders($filename, 'text/calendar', false, strlen($export)); echo $export; } /** * Takes all necessary actions for the given import step, * parameters and form values and returns the next necessary step. * * @param integer $action The current step. One of the IMPORT_* constants. * @param array $param An associative array containing needed * parameters for the current step. * * @return mixed Either the next step as an integer constant or imported * data set after the final step. * @throws Horde_Data_Exception */ public function nextStep($action, array $param = array()) { switch ($action) { case Horde_Data::IMPORT_FILE: parent::nextStep($action, $param); $this->importFile($_FILES['import_file']['tmp_name']); return $this->_iCal->getComponents(); case Horde_Data::IMPORT_URL: parent::nextStep($action, $param); $this->importUrl($this->_vars->import_url); return $this->_iCal->getComponents(); } return parent::nextStep($action, $param); } } Horde_Data-2.1.4/lib/Horde/Data/Outlookcsv.php0000664000175000017500000000402112653675401017163 0ustar janjan * @author Chuck Hagenbuch * @category Horde * @package Data */ class Horde_Data_Outlookcsv extends Horde_Data_Csv { /** * Builds a CSV file from a given data structure and returns it as a * string. * * @param array $data A two-dimensional array containing the data * set. * @param boolean $header If true, the rows of $data are associative * arrays with field names as their keys. * @param array $export_mapping TODO * * @return string The CSV data. */ public function exportData($data, $header = false, $export_mapping = array()) { if (!is_array($data) || (count($data) == 0)) { return ''; } $export = ''; $eol = "\r\n"; $head = array_keys(current($data)); if ($header) { foreach ($head as $key) { if (!empty($key)) { if (isset($export_mapping[$key])) { $key = $export_mapping[$key]; } $export .= '"' . $key . '"'; } $export .= ','; } $export = substr($export, 0, -1) . $eol; } foreach ($data as $row) { foreach ($head as $key) { $cell = $row[$key]; if (!empty($cell) || $cell === 0) { $cell = preg_replace("/\"/", "\"\"", $cell); $export .= '"' . $cell . '"'; } $export .= ','; } $export = substr($export, 0, -1) . $eol; } return $export; } } Horde_Data-2.1.4/lib/Horde/Data/Storage.php0000664000175000017500000000206312653675401016423 0ustar janjan * @category Horde * @license http://www.horde.org/licenses/lgpl21 LGPL-2.1 * @package Data */ interface Horde_Data_Storage { /** * Retrieve the data for a key. * * @param string $key Key. * * @return mixed Data value. */ public function get($key); /** * Set the data for a key. * * @param string $key Key. * @param mixed $value Value. If null, clears the key value. */ public function set($key, $value = null); /** * Does the key exist? * * @param string $key Key. * * @return boolean Does the key exist? */ public function exists($key); /** * Clear all stored data. */ public function clear(); } Horde_Data-2.1.4/lib/Horde/Data/Translation.php0000664000175000017500000000135712653675401017322 0ustar janjan * @package Data */ class Horde_Data_Translation extends Horde_Translation_Autodetect { /** * The translation domain * * @var string */ protected static $_domain = 'Horde_Data'; /** * The absolute PEAR path to the translations for the default gettext handler. * * @var string */ protected static $_pearDirectory = '@data_dir@'; } Horde_Data-2.1.4/lib/Horde/Data/Tsv.php0000664000175000017500000002177112653675401015602 0ustar janjan * @author Chuck Hagenbuch * @category Horde * @package Data */ class Horde_Data_Tsv extends Horde_Data_Base { /** * File extension. * * @var string */ protected $_extension = 'tsv'; /** * MIME content type. * * @var string */ protected $_contentType = 'text/tab-separated-values'; /** * Convert data file contents to list of data records. * * @param string $contents Data file contents. * @param boolean $header True if a header row is present. * @param string $delimiter Field delimiter. * * @return array List of data records. */ public function importData($contents, $header = false, $delimiter = "\t") { if ($this->storage->get('format') == 'pine') { $contents = preg_replace('/\n +/', '', $contents); } $contents = explode("\n", $contents); $data = array(); if ($header) { $head = explode($delimiter, array_shift($contents)); } foreach ($contents as $line) { if (trim($line) == '') { continue; } $line = explode($delimiter, $line); if (!isset($head)) { $data[] = $line; } else { $newline = array(); for ($i = 0; $i < count($head); $i++) { $newline[$head[$i]] = empty($line[$i]) ? '' : $line[$i]; } $data[] = $newline; } } return $data; } /** * Builds a TSV file from a given data structure and returns it as a * string. * * @param array $data A two-dimensional array containing the data set. * @param boolean $header If true, the rows of $data are associative * arrays with field names as their keys. * * @return string The TSV data. */ public function exportData($data, $header = false) { if (!is_array($data) || count($data) == 0) { return ''; } $export = ''; $head = array_keys(current($data)); if ($header) { $export = implode("\t", $head) . "\n"; } foreach ($data as $row) { foreach ($head as $key) { $cell = $row[$key]; if (!empty($cell) || $cell === 0) { $export .= $cell; } $export .= "\t"; } $export = substr($export, 0, -1) . "\n"; } return $export; } /** * Builds a TSV file from a given data structure and triggers its download. * It DOES NOT exit the current script but only outputs the correct headers * and data. * * @param string $filename The name of the file to be downloaded. * @param array $data A two-dimensional array containing the data * set. * @param boolean $header If true, the rows of $data are associative * arrays with field names as their keys. */ public function exportFile($filename, $data, $header = false) { if (!isset($this->_browser)) { throw new LogicException('Missing browser parameter.'); } $export = $this->exportData($data, $header); $this->_browser->downloadHeaders($filename, 'text/tab-separated-values', false, strlen($export)); echo $export; } /** * Takes all necessary actions for the given import step, parameters and * form values and returns the next necessary step. * * @param integer $action The current step. One of the IMPORT_* constants. * @param array $param An associative array containing needed * parameters for the current step. * * @return mixed Either the next step as an integer constant or imported * data set after the final step. * @throws Horde_Data_Exception */ public function nextStep($action, array $param = array()) { switch ($action) { case Horde_Data::IMPORT_FILE: parent::nextStep($action, $param); $format = $this->storage->get('format'); if (in_array($format, array('mulberry', 'pine'))) { $filedata = $this->importFile($_FILES['import_file']['tmp_name']); switch ($format) { case 'mulberry': $appKeys = array('alias', 'name', 'email', 'company', 'workAddress', 'workPhone', 'homePhone', 'fax', 'notes'); $dataKeys = array(0, 1, 2, 3, 4, 5, 6, 7, 9); break; case 'pine': $appKeys = array('alias', 'name', 'email', 'notes'); $dataKeys = array(0, 1, 2, 4); break; } foreach ($appKeys as $key => $app) { $map[$dataKeys[$key]] = $app; } $data = array(); foreach ($filedata as $row) { $hash = array(); switch ($format) { case 'mulberry': if (preg_match("/^Grp:/", $row[0]) || empty($row[1])) { continue; } $row[1] = preg_replace('/^([^,"]+),\s*(.*)$/', '$2 $1', $row[1]); foreach ($dataKeys as $key) { if (array_key_exists($key, $row)) { $hash[$key] = stripslashes(preg_replace('/\\\\r/', "\n", $row[$key])); } } break; case 'pine': if (count($row) < 3 || preg_match("/^#DELETED/", $row[0]) || preg_match("/[()]/", $row[2])) { continue; } $row[1] = preg_replace('/^([^,"]+),\s*(.*)$/', '$2 $1', $row[1]); /* Address can be a full RFC822 address */ $addr_ob = new Horde_Mail_Rfc822_Address($row[2]); if (!$addr_ob->valid) { continue; } $row[2] = $addr_ob->bare_address; if (empty($row[1]) && !is_null($addr_ob->personal)) { $row[1] = $addr_ob->personal; } foreach ($dataKeys as $key) { if (array_key_exists($key, $row)) { $hash[$key] = $row[$key]; } } break; } $data[] = $hash; } $this->storage->set('data', $data); $this->storage->set('map', $map); return $this->nextStep(Horde_Data::IMPORT_DATA, $param); } /* Store uploaded file data so that we can read it again in the * next step after the user gives some format details. */ try { $this->_browser->wasFileUploaded('import_file', Horde_Data_Translation::t("TSV file")); } catch (Horde_Browser_Exception $e) { throw new Horde_Data_Exception($e); } $file_name = $_FILES['import_file']['tmp_name']; if (($file_data = file_get_contents($file_name)) === false) { throw new Horde_Data_Exception(Horde_Data_Translation::t("The uploaded file could not be saved.")); } $this->storage->set('file_data', $file_data); /* Read the file's first two lines to show them to the user. */ $first_lines = ''; if ($fp = @fopen($file_name, 'r')) { $line_no = 1; while (($line_no < 3) && ($line = fgets($fp))) { $newline = Horde_String::length($line) > 100 ? "\n" : ''; $first_lines .= substr($line, 0, 100) . $newline; ++$line_no; } } $this->storage->set('first_lines', $first_lines); return Horde_Data::IMPORT_TSV; case Horde_Data::IMPORT_TSV: $file_name = Horde_Util::getTempFile('import'); file_put_contents($file_name, $this->storage->get('file_data')); $this->storage->set('header', $this->_vars->header); $this->storage->set('data', $this->importFile($file_name, $this->storage->get('header'))); $this->storage->set('map'); return Horde_Data::IMPORT_MAPPED; } return parent::nextStep($action, $param); } } Horde_Data-2.1.4/lib/Horde/Data/Vcard.php0000664000175000017500000000167712653675401016070 0ustar janjan * @category Horde * @package Data */ class Horde_Data_Vcard extends Horde_Data_Imc { /** * Exports vcalendar data as a string. Unlike vEvent, vCard data * is not enclosed in BEGIN|END:vCalendar. * * @param array $data An array containing Horde_Icalendar_Vcard * objects. * @param string $method The iTip method to use. * * @return string The iCalendar data. */ public function exportData($data, $method = 'REQUEST') { $s = ''; foreach ($data as $vcard) { $s.= $vcard->exportvCalendar(); } return $s; } } Horde_Data-2.1.4/lib/Horde/Data/Vnote.php0000664000175000017500000000212312653675401016107 0ustar janjan * @author Chuck Hagenbuch * @category Horde * @package Data */ class Horde_Data_Vnote extends Horde_Data_Imc { /** * Exports vcalendar data as a string. Unlike vEvent, vNote data * is not enclosed in BEGIN|END:vCalendar. * * @param array $data An array containing Horde_Icalendar_Vnote * objects. * @param string $method The iTip method to use. * * @return string The iCalendar data. */ public function exportData($data, $method = 'REQUEST') { $this->_iCal = new Horde_Icalendar(); $this->_iCal->setAttribute('METHOD', $method); $s = ''; foreach ($data as $event) { $s .= $event->exportvCalendar(); } return $s; } } Horde_Data-2.1.4/lib/Horde/Data/Vtodo.php0000664000175000017500000000070212653675401016110 0ustar janjan * @author Chuck Hagenbuch * @category Horde * @package Data */ class Horde_Data_Vtodo extends Horde_Data_Imc {} Horde_Data-2.1.4/lib/Horde/Data.php0000664000175000017500000000350212653675401015016 0ustar janjan * @author Chuck Hagenbuch * @category Horde * @package Data */ class Horde_Data { /** * Import already mapped csv data. */ const IMPORT_MAPPED = 1; /** * Map date and time entries of csv data. */ const IMPORT_DATETIME = 2; /** * Import generic CSV data. */ const IMPORT_CSV = 3; /** * Import MS Outlook data. */ const IMPORT_OUTLOOK = 4; /** * Import vCalendar/iCalendar data. */ const IMPORT_ICALENDAR = 5; /** * Import vCards. */ const IMPORT_VCARD = 6; /** * Import generic tsv data. */ const IMPORT_TSV = 7; /** * Import Mulberry address book data. */ const IMPORT_MULBERRY = 8; /** * Import Pine address book data. */ const IMPORT_PINE = 9; /** * Import file. */ const IMPORT_FILE = 11; /** * Import data. */ const IMPORT_DATA = 12; /** * Import URL. * * @since Horde_Data 2.1.0 */ const IMPORT_URL = 13; /** * Export generic CSV data. */ const EXPORT_CSV = 100; /** * Export iCalendar data. */ const EXPORT_ICALENDAR = 101; /** * Export vCards. */ const EXPORT_VCARD = 102; /** * Export TSV data. */ const EXPORT_TSV = 103; /** * Export Outlook CSV data. */ const EXPORT_OUTLOOKCSV = 104; } Horde_Data-2.1.4/locale/ar/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000057312653675401017607 0ustar janjan$,8A9Project-Id-Version: Horde_Data 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_Data-2.1.4/locale/ar/LC_MESSAGES/Horde_Data.po0000664000175000017500000000132412653675401017605 0ustar janjan# Arabic translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: lib/Horde/Data/Tsv.php:203 msgid "TSV file" msgstr "" #: lib/Horde/Data/Base.php:286 msgid "The file contained no data." msgstr "" Horde_Data-2.1.4/locale/bg/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000057312653675401017575 0ustar janjan$,8A9Project-Id-Version: Horde_Data 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_Data-2.1.4/locale/bg/LC_MESSAGES/Horde_Data.po0000664000175000017500000000145512653675401017600 0ustar janjan# Bulgarian translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: lib/Horde/Data/Tsv.php:203 msgid "TSV file" msgstr "" #: lib/Horde/Data/Base.php:286 #, fuzzy msgid "The file contained no data." msgstr "MS-TNEF прикрепеният файл не съдържаше данни." Horde_Data-2.1.4/locale/bs/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000057312653675401017611 0ustar janjan$,8A9Project-Id-Version: Horde_Data 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_Data-2.1.4/locale/bs/LC_MESSAGES/Horde_Data.po0000664000175000017500000000132512653675401017610 0ustar janjan# Bosnian translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: lib/Horde/Data/Tsv.php:203 msgid "TSV file" msgstr "" #: lib/Horde/Data/Base.php:286 msgid "The file contained no data." msgstr "" Horde_Data-2.1.4/locale/ca/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000075512653675401017572 0ustar janjan4L`ajA TSV fileThe file contained no data.Project-Id-Version: Horde_Data 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 Arxiu TSVL'arxiu no contenia dades.Horde_Data-2.1.4/locale/ca/LC_MESSAGES/Horde_Data.po0000664000175000017500000000137012653675401017567 0ustar janjan# Catalan translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: lib/Horde/Data/Tsv.php:203 msgid "TSV file" msgstr "Arxiu TSV" #: lib/Horde/Data/Base.php:286 msgid "The file contained no data." msgstr "L'arxiu no contenia dades." Horde_Data-2.1.4/locale/cs/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000107212653675401017605 0ustar janjan4L`aj  TSV fileThe file contained no data.Project-Id-Version: Horde_Data 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; TSV souborSoubor neobsahuje žádná data.Horde_Data-2.1.4/locale/cs/LC_MESSAGES/Horde_Data.po0000664000175000017500000000150712653675402017614 0ustar janjan# Czech translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\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" #: lib/Horde/Data/Tsv.php:203 msgid "TSV file" msgstr "TSV soubor" #: lib/Horde/Data/Base.php:286 msgid "The file contained no data." msgstr "Soubor neobsahuje žádná data." Horde_Data-2.1.4/locale/da/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000233312653675402017566 0ustar janjan d %"3>%r0N"3!14SR Cannot open file.Incorrect charset given for the data.TSV fileThe file contained no data.The uploaded data was lost since the previous step.The uploaded file could not be saved.There was an error importing the iCalendar data.You didn\'t map any fields from the imported file to the corresponding fields.Project-Id-Version: Horde_Data Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2012-07-19 18:34+0200 PO-Revision-Date: 2014-03-19 23:15+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); kan ikke åbne filen.Forkert angivet tegnsæt for data.TSV filFilen indeholder ingen data.Siden det forrige trin, har vi tabt de sendte data.Den sendte fil kunne ikke gemmes.Der opstod en fejl under importen af iCalendar data.Du parrede ikke nogen felter fra den importerede fil til nogen tilsvarende felter.Horde_Data-2.1.4/locale/da/LC_MESSAGES/Horde_Data.po0000664000175000017500000000331012653675402017565 0ustar janjan# Danish translations for Horde_Data package. # Copyright (C) 2014 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data package. # Erling Preben Hansen , 2013-2014. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2012-07-19 18:34+0200\n" "PO-Revision-Date: 2014-03-19 23:15+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/Data/Csv.php:70 msgid "Cannot open file." msgstr "kan ikke åbne filen." #: lib/Horde/Data/Csv.php:227 msgid "Incorrect charset given for the data." msgstr "Forkert angivet tegnsæt for data." #: lib/Horde/Data/Tsv.php:216 msgid "TSV file" msgstr "TSV fil" #: lib/Horde/Data/Base.php:282 msgid "The file contained no data." msgstr "Filen indeholder ingen data." #: lib/Horde/Data/Base.php:343 msgid "The uploaded data was lost since the previous step." msgstr "Siden det forrige trin, har vi tabt de sendte data." #: lib/Horde/Data/Csv.php:206 lib/Horde/Data/Tsv.php:222 msgid "The uploaded file could not be saved." msgstr "Den sendte fil kunne ikke gemmes." #: lib/Horde/Data/Imc.php:32 msgid "There was an error importing the iCalendar data." msgstr "Der opstod en fejl under importen af iCalendar data." #: lib/Horde/Data/Base.php:289 msgid "" "You didn\\'t map any fields from the imported file to the corresponding " "fields." msgstr "" "Du parrede ikke nogen felter fra den importerede fil til nogen tilsvarende " "felter." Horde_Data-2.1.4/locale/de/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000254212653675402017574 0ustar janjan l %)23N%0Nw9&. H17z@X   Cannot open file.Incorrect charset given for the data.TSV fileThe file contained no data.The uploaded data was lost since the previous step.The uploaded file could not be saved.There was an error importing the iCalendar data.URL %s not foundYou didn\'t map any fields from the imported file to the corresponding fields.Project-Id-Version: Horde_Data Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2015-12-28 17:25+0100 PO-Revision-Date: 2014-11-14 12:19+0100 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); Die Datei kann nicht geöffnet werden.Falscher Zeichensatz für die Daten angegeben.TSV-DateiDie Datei enthielt keine Daten.Die hochgeladenen Daten sind nach dem letzten Schritt verloren gegangen.Die hochgeladene Datei konnte nicht gespeichert werden.Beim Importieren der iCalendar Daten ist ein Fehler aufgetreten.URL %s nicht gefundenSie haben keine Felder aus den importierten Daten den entsprechenden Feldern zugeordnet.Horde_Data-2.1.4/locale/de/LC_MESSAGES/Horde_Data.po0000664000175000017500000000357112653675402017602 0ustar janjan# German translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Jan Schneider , 2010-2014. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2015-12-28 17:25+0100\n" "PO-Revision-Date: 2014-11-14 12:19+0100\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/Data/Csv.php:70 msgid "Cannot open file." msgstr "Die Datei kann nicht geöffnet werden." #: lib/Horde/Data/Csv.php:226 msgid "Incorrect charset given for the data." msgstr "Falscher Zeichensatz für die Daten angegeben." #: lib/Horde/Data/Tsv.php:216 msgid "TSV file" msgstr "TSV-Datei" #: lib/Horde/Data/Base.php:324 msgid "The file contained no data." msgstr "Die Datei enthielt keine Daten." #: lib/Horde/Data/Base.php:385 msgid "The uploaded data was lost since the previous step." msgstr "" "Die hochgeladenen Daten sind nach dem letzten Schritt verloren gegangen." #: lib/Horde/Data/Csv.php:206 lib/Horde/Data/Tsv.php:223 msgid "The uploaded file could not be saved." msgstr "Die hochgeladene Datei konnte nicht gespeichert werden." #: lib/Horde/Data/Imc.php:32 msgid "There was an error importing the iCalendar data." msgstr "Beim Importieren der iCalendar Daten ist ein Fehler aufgetreten." #: lib/Horde/Data/Base.php:144 #, php-format msgid "URL %s not found" msgstr "URL %s nicht gefunden" #: lib/Horde/Data/Base.php:331 msgid "" "You didn\\'t map any fields from the imported file to the corresponding " "fields." msgstr "" "Sie haben keine Felder aus den importierten Daten den entsprechenden Feldern " "zugeordnet." Horde_Data-2.1.4/locale/el/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000102612653675402017600 0ustar janjan,<PQlm;The file contained no data.Project-Id-Version: Horde_Data 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_Data-2.1.4/locale/el/LC_MESSAGES/Horde_Data.po0000664000175000017500000000147512653675402017613 0ustar janjan# Greek translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: lib/Horde/Data/Tsv.php:203 msgid "TSV file" msgstr "" #: lib/Horde/Data/Base.php:286 msgid "The file contained no data." msgstr "Το αρχείο δεν περιέχει δεδομένα." Horde_Data-2.1.4/locale/es/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000246212653675402017614 0ustar janjan d %"3>%r0ND $07L%4R Cannot open file.Incorrect charset given for the data.TSV fileThe file contained no data.The uploaded data was lost since the previous step.The uploaded file could not be saved.There was an error importing the iCalendar data.You didn\'t map any fields from the imported file to the corresponding fields.Project-Id-Version: Horde_Data Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2012-07-19 18:34+0200 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); No se puede abrir el archivo.Se ha suministrado un juego de caracteres incorrecto para los datos.Archivo TSVEl archivo no tenía datos.Se perdieron los datos cargados desde el paso anterior.No se pudo guardar el archivo cargadoSe produjo un error al importar los datos iCalendar.No ha mapeado ningún campo del archivo importado con sus campos correspondientes.Horde_Data-2.1.4/locale/es/LC_MESSAGES/Horde_Data.po0000664000175000017500000000342112653675402017613 0ustar janjan# Spanish translations for Horde_Data package. # Copyright (C) 2013 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data package. # Automatically generated, 2013. # msgid "" msgstr "" "Project-Id-Version: Horde_Data \n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2012-07-19 18:34+0200\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/Data/Csv.php:70 msgid "Cannot open file." msgstr "No se puede abrir el archivo." #: lib/Horde/Data/Csv.php:227 msgid "Incorrect charset given for the data." msgstr "Se ha suministrado un juego de caracteres incorrecto para los datos." #: lib/Horde/Data/Tsv.php:216 msgid "TSV file" msgstr "Archivo TSV" #: lib/Horde/Data/Base.php:282 msgid "The file contained no data." msgstr "El archivo no tenía datos." #: lib/Horde/Data/Base.php:343 msgid "The uploaded data was lost since the previous step." msgstr "Se perdieron los datos cargados desde el paso anterior." #: lib/Horde/Data/Csv.php:206 lib/Horde/Data/Tsv.php:222 msgid "The uploaded file could not be saved." msgstr "No se pudo guardar el archivo cargado" #: lib/Horde/Data/Imc.php:32 msgid "There was an error importing the iCalendar data." msgstr "Se produjo un error al importar los datos iCalendar." #: lib/Horde/Data/Base.php:289 msgid "" "You didn\\'t map any fields from the imported file to the corresponding " "fields." msgstr "" "No ha mapeado ningún campo del archivo importado con sus campos " "correspondientes." Horde_Data-2.1.4/locale/et/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000103012653675402017603 0ustar janjan4L`ajlTSV fileThe file contained no data.Project-Id-Version: Horde_Data 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); TSV failFail ei sisaldanud andmeid.Horde_Data-2.1.4/locale/et/LC_MESSAGES/Horde_Data.po0000664000175000017500000000145012653675402017614 0ustar janjan# Estonian translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: lib/Horde/Data/Tsv.php:203 msgid "TSV file" msgstr "TSV fail" #: lib/Horde/Data/Base.php:286 msgid "The file contained no data." msgstr "Fail ei sisaldanud andmeid." Horde_Data-2.1.4/locale/eu/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000235612653675402017620 0ustar janjan d %"3>%r0N3=%Y1< Cannot open file.Incorrect charset given for the data.TSV fileThe file contained no data.The uploaded data was lost since the previous step.The uploaded file could not be saved.There was an error importing the iCalendar data.You didn\'t map any fields from the imported file to the corresponding fields.Project-Id-Version: Horde_Data Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2012-07-19 18:34+0200 PO-Revision-Date: 2013-01-16 10:08+0100 Last-Translator: Ibon Igartua Language-Team: i18n@lists.horde.org Language: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); Ezin izan da fitxategia ireki.Datuak ez dute charset (karaktere kodeketa) zuzena.TSV fitxategiaFitxategiak ez dauka daturik.Kargatutako datuak galdu egin dira aurreko hurratsatik hona..Kargatutako fitxategia ezin da ireki.Errorea gertatu da iCalendar datuak inportatzean.Inportatutako fitxategitik ez duzu inolako eremurik mapeatu.Horde_Data-2.1.4/locale/eu/LC_MESSAGES/Horde_Data.po0000664000175000017500000000330212653675402017613 0ustar janjan# Basque translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2012-07-19 18:34+0200\n" "PO-Revision-Date: 2013-01-16 10:08+0100\n" "Last-Translator: Ibon Igartua \n" "Language-Team: i18n@lists.horde.org\n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: lib/Horde/Data/Csv.php:70 msgid "Cannot open file." msgstr "Ezin izan da fitxategia ireki." #: lib/Horde/Data/Csv.php:227 msgid "Incorrect charset given for the data." msgstr "Datuak ez dute charset (karaktere kodeketa) zuzena." #: lib/Horde/Data/Tsv.php:216 msgid "TSV file" msgstr "TSV fitxategia" #: lib/Horde/Data/Base.php:282 msgid "The file contained no data." msgstr "Fitxategiak ez dauka daturik." #: lib/Horde/Data/Base.php:343 msgid "The uploaded data was lost since the previous step." msgstr "Kargatutako datuak galdu egin dira aurreko hurratsatik hona.." #: lib/Horde/Data/Csv.php:206 lib/Horde/Data/Tsv.php:222 msgid "The uploaded file could not be saved." msgstr "Kargatutako fitxategia ezin da ireki." #: lib/Horde/Data/Imc.php:32 msgid "There was an error importing the iCalendar data." msgstr "Errorea gertatu da iCalendar datuak inportatzean." #: lib/Horde/Data/Base.php:289 msgid "" "You didn\\'t map any fields from the imported file to the corresponding " "fields." msgstr "Inportatutako fitxategitik ez duzu inolako eremurik mapeatu." Horde_Data-2.1.4/locale/fa/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000101612653675402017565 0ustar janjan4L`ajA4TSV fileThe file contained no data.Project-Id-Version: Horde_Data 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 پرونده TSVپرونده حاوی داده‌ا‌یی نیست Horde_Data-2.1.4/locale/fa/LC_MESSAGES/Horde_Data.po0000664000175000017500000000143112653675402017571 0ustar janjan# Persian translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: lib/Horde/Data/Tsv.php:203 msgid "TSV file" msgstr "پرونده TSV" #: lib/Horde/Data/Base.php:286 msgid "The file contained no data." msgstr "پرونده حاوی داده‌ا‌یی نیست " Horde_Data-2.1.4/locale/fi/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000230612653675402017600 0ustar janjan d %"3>%r0N  1$2+WB Cannot open file.Incorrect charset given for the data.TSV fileThe file contained no data.The uploaded data was lost since the previous step.The uploaded file could not be saved.There was an error importing the iCalendar data.You didn\'t map any fields from the imported file to the corresponding fields.Project-Id-Version: Horde_Data Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2012-07-19 18:34+0200 PO-Revision-Date: 2012-10-28 20:43: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); Tiedostoa ei voi aukaista.Tiedoilla on väärä merkistö.TSV-tiedostoTiedosto oli tyhjä.Tuotu tiedosto oli tyhjä edellisen kohdan takia.Tuotua tiedostoa ei voitu tallentaa.Tapahtui virhe tuotaessa iCalendar tietoja.Et ollut muodostanut liitospareja tuodun tuotujen kenttien kesken.Horde_Data-2.1.4/locale/fi/LC_MESSAGES/Horde_Data.po0000664000175000017500000000324312653675402017604 0ustar janjan# Finnish translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Leena Heino , 2010-2012. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2012-07-19 18:34+0200\n" "PO-Revision-Date: 2012-10-28 20:43: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/Data/Csv.php:70 msgid "Cannot open file." msgstr "Tiedostoa ei voi aukaista." #: lib/Horde/Data/Csv.php:227 msgid "Incorrect charset given for the data." msgstr "Tiedoilla on väärä merkistö." #: lib/Horde/Data/Tsv.php:216 msgid "TSV file" msgstr "TSV-tiedosto" #: lib/Horde/Data/Base.php:282 msgid "The file contained no data." msgstr "Tiedosto oli tyhjä." #: lib/Horde/Data/Base.php:343 msgid "The uploaded data was lost since the previous step." msgstr "Tuotu tiedosto oli tyhjä edellisen kohdan takia." #: lib/Horde/Data/Csv.php:206 lib/Horde/Data/Tsv.php:222 msgid "The uploaded file could not be saved." msgstr "Tuotua tiedostoa ei voitu tallentaa." #: lib/Horde/Data/Imc.php:32 msgid "There was an error importing the iCalendar data." msgstr "Tapahtui virhe tuotaessa iCalendar tietoja." #: lib/Horde/Data/Base.php:289 msgid "" "You didn\\'t map any fields from the imported file to the corresponding " "fields." msgstr "Et ollut muodostanut liitospareja tuodun tuotujen kenttien kesken." Horde_Data-2.1.4/locale/fr/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000250512653675402017612 0ustar janjan d %"3>%r0N '#7K1EI Cannot open file.Incorrect charset given for the data.TSV fileThe file contained no data.The uploaded data was lost since the previous step.The uploaded file could not be saved.There was an error importing the iCalendar data.You didn\'t map any fields from the imported file to the corresponding fields.Project-Id-Version: Horde_Data Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2012-07-19 18:34+0200 PO-Revision-Date: 2013-01-14 11:51+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 Impossible d'ouvrir le fichier.Jeu de caractères incorrect.Fichier TSVLe fichier ne contenait aucune donnée.Les données ont été perdues à l'étape précédenteLe fichier envoyé ne peut pas être enregistré.Une erreur est survenue lors de l'importation des données iCalendar.Vous n'avez fait aucune correspondance de champ avec le fichier importé.Horde_Data-2.1.4/locale/fr/LC_MESSAGES/Horde_Data.po0000664000175000017500000000354712653675402017624 0ustar janjan# French translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # # Paul De Vlieger , 2013 msgid "" msgstr "" "Project-Id-Version: Horde_Data \n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2012-07-19 18:34+0200\n" "PO-Revision-Date: 2013-01-14 11:51+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/Data/Csv.php:70 msgid "Cannot open file." msgstr "Impossible d'ouvrir le fichier." #: lib/Horde/Data/Csv.php:227 msgid "Incorrect charset given for the data." msgstr "Jeu de caractères incorrect." #: lib/Horde/Data/Tsv.php:216 msgid "TSV file" msgstr "Fichier TSV" #: lib/Horde/Data/Base.php:282 msgid "The file contained no data." msgstr "Le fichier ne contenait aucune donnée." #: lib/Horde/Data/Base.php:343 msgid "The uploaded data was lost since the previous step." msgstr "Les données ont été perdues à l'étape précédente" #: lib/Horde/Data/Csv.php:206 lib/Horde/Data/Tsv.php:222 msgid "The uploaded file could not be saved." msgstr "Le fichier envoyé ne peut pas être enregistré." #: lib/Horde/Data/Imc.php:32 msgid "There was an error importing the iCalendar data." msgstr "Une erreur est survenue lors de l'importation des données iCalendar." #: lib/Horde/Data/Base.php:289 msgid "" "You didn\\'t map any fields from the imported file to the corresponding " "fields." msgstr "" "Vous n'avez fait aucune correspondance de champ avec le fichier importé." Horde_Data-2.1.4/locale/gl/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000057312653675402017610 0ustar janjan$,8A9Project-Id-Version: Horde_Data 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_Data-2.1.4/locale/gl/LC_MESSAGES/Horde_Data.po0000664000175000017500000000132612653675402017610 0ustar janjan# Galician translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: lib/Horde/Data/Tsv.php:203 msgid "TSV file" msgstr "" #: lib/Horde/Data/Base.php:286 msgid "The file contained no data." msgstr "" Horde_Data-2.1.4/locale/he/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000064612653675402017603 0ustar janjan$,8l9Project-Id-Version: Horde_Data 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_Data-2.1.4/locale/he/LC_MESSAGES/Horde_Data.po0000664000175000017500000000140312653675402017576 0ustar janjan# Hebrew translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: lib/Horde/Data/Tsv.php:203 msgid "TSV file" msgstr "" #: lib/Horde/Data/Base.php:286 msgid "The file contained no data." msgstr "" Horde_Data-2.1.4/locale/hr/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000121412653675402017610 0ustar janjan4L`aj \"iTSV fileThe file contained no data.Project-Id-Version: Horde_Data Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2011-02-02 16:17+0100 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); TSV datotekaDatoteka nije sadržavala podatke.Horde_Data-2.1.4/locale/hr/LC_MESSAGES/Horde_Data.po0000664000175000017500000000166512653675402017625 0ustar janjan# Croatian translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Valentin Vidic , 2011. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2011-02-02 16:17+0100\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/Data/Tsv.php:222 msgid "TSV file" msgstr "TSV datoteka" #: lib/Horde/Data/Base.php:281 msgid "The file contained no data." msgstr "Datoteka nije sadržavala podatke." Horde_Data-2.1.4/locale/hu/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000246312653675402017622 0ustar janjan l %)23N%0N9;68E,~0=  Cannot open file.Incorrect charset given for the data.TSV fileThe file contained no data.The uploaded data was lost since the previous step.The uploaded file could not be saved.There was an error importing the iCalendar data.URL %s not foundYou didn\'t map any fields from the imported file to the corresponding fields.Project-Id-Version: Horde_Data Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2014-06-22 13:09+0200 PO-Revision-Date: 2014-07-14 11:35+0200 Last-Translator: Andras Galos Language-Team: i18n@lists.horde.org Language: hu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); A fájl nem nyitható meg.Érvénytelen karakterkódolásTSV (TAB-bal elválasztott adatokat tartalmazó) állományA fájl üres.A feltöltött adatok az előző lépés óta elvesztek.A feltöltött fájl mentése nem sikerült.Az iCalendar adatok importálása nem sikerült.A %s URL nem találhatóNem adott meg párosításokat az importált fájl mezőihez.Horde_Data-2.1.4/locale/hu/LC_MESSAGES/Horde_Data.po0000664000175000017500000000343012653675402017620 0ustar janjan# Hungarian translations for Horde_Data module. # Copyright 2010-2013 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # msgid "" msgstr "" "Project-Id-Version: Horde_Data \n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2014-06-22 13:09+0200\n" "PO-Revision-Date: 2014-07-14 11:35+0200\n" "Last-Translator: Andras Galos \n" "Language-Team: i18n@lists.horde.org\n" "Language: hu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: lib/Horde/Data/Csv.php:70 msgid "Cannot open file." msgstr "A fájl nem nyitható meg." #: lib/Horde/Data/Csv.php:226 msgid "Incorrect charset given for the data." msgstr "Érvénytelen karakterkódolás" #: lib/Horde/Data/Tsv.php:216 msgid "TSV file" msgstr "TSV (TAB-bal elválasztott adatokat tartalmazó) állomány" #: lib/Horde/Data/Base.php:317 msgid "The file contained no data." msgstr "A fájl üres." #: lib/Horde/Data/Base.php:378 msgid "The uploaded data was lost since the previous step." msgstr "A feltöltött adatok az előző lépés óta elvesztek." #: lib/Horde/Data/Tsv.php:223 lib/Horde/Data/Csv.php:206 msgid "The uploaded file could not be saved." msgstr "A feltöltött fájl mentése nem sikerült." #: lib/Horde/Data/Imc.php:32 msgid "There was an error importing the iCalendar data." msgstr "Az iCalendar adatok importálása nem sikerült." #: lib/Horde/Data/Base.php:137 #, php-format msgid "URL %s not found" msgstr "A %s URL nem található" #: lib/Horde/Data/Base.php:324 msgid "" "You didn\\'t map any fields from the imported file to the corresponding " "fields." msgstr "Nem adott meg párosításokat az importált fájl mezőihez." Horde_Data-2.1.4/locale/id/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000057312653675402017602 0ustar janjan$,8A9Project-Id-Version: Horde_Data 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_Data-2.1.4/locale/id/LC_MESSAGES/Horde_Data.po0000664000175000017500000000133012653675402017575 0ustar janjan# Indonesian translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: lib/Horde/Data/Tsv.php:203 msgid "TSV file" msgstr "" #: lib/Horde/Data/Base.php:286 msgid "The file contained no data." msgstr "" Horde_Data-2.1.4/locale/is/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000057312653675402017621 0ustar janjan$,8A9Project-Id-Version: Horde_Data 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_Data-2.1.4/locale/is/LC_MESSAGES/Horde_Data.po0000664000175000017500000000132712653675402017622 0ustar janjan# Icelandic translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: lib/Horde/Data/Tsv.php:203 msgid "TSV file" msgstr "" #: lib/Horde/Data/Base.php:286 msgid "The file contained no data." msgstr "" Horde_Data-2.1.4/locale/it/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000102612653675402017614 0ustar janjan4L`ajlTSV fileThe file contained no data.Project-Id-Version: Horde_Data 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); FILE TSVIl file non contiene datiHorde_Data-2.1.4/locale/it/LC_MESSAGES/Horde_Data.po0000664000175000017500000000144512653675402017624 0ustar janjan# Italian translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: lib/Horde/Data/Tsv.php:203 msgid "TSV file" msgstr "FILE TSV" #: lib/Horde/Data/Base.php:286 msgid "The file contained no data." msgstr "Il file non contiene dati" Horde_Data-2.1.4/locale/ja/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000267212653675402017602 0ustar janjan d %"3>%r0N!H!31WeKL cV Cannot open file.Incorrect charset given for the data.TSV fileThe file contained no data.The uploaded data was lost since the previous step.The uploaded file could not be saved.There was an error importing the iCalendar data.You didn\'t map any fields from the imported file to the corresponding fields.Project-Id-Version: Horde_Data Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2012-07-19 18:34+0200 PO-Revision-Date: 2014-05-10 12:20+0900 Last-Translator: Hiromi Kimura 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; X-Generator: Poedit 1.6.4 Language: ja ファイルが開けません。データに対して無効な文字セットが与えられました。TSVファイルファイルにデータが入っていません。直前の操作によってアップロードされたデータは失われました。アップロードされたファイルを保存できませんでした。iCalendar データをインポート中にエラーが発生しました。あなたはインポートするファイルの項目を一つも対応付けしていません。Horde_Data-2.1.4/locale/ja/LC_MESSAGES/Horde_Data.po0000664000175000017500000000361512653675402017603 0ustar janjan# Japanese translation for Horde. # Copyright 2004-2013 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde package. # Hiromi Kimura # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2012-07-19 18:34+0200\n" "PO-Revision-Date: 2014-05-10 12:20+0900\n" "Last-Translator: Hiromi Kimura \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" "X-Generator: Poedit 1.6.4\n" "Language: ja\n" #: lib/Horde/Data/Csv.php:70 msgid "Cannot open file." msgstr "ファイルが開けません。" #: lib/Horde/Data/Csv.php:227 msgid "Incorrect charset given for the data." msgstr "データに対して無効な文字セットが与えられました。" #: lib/Horde/Data/Tsv.php:216 msgid "TSV file" msgstr "TSVファイル" #: lib/Horde/Data/Base.php:282 msgid "The file contained no data." msgstr "ファイルにデータが入っていません。" #: lib/Horde/Data/Base.php:343 msgid "The uploaded data was lost since the previous step." msgstr "直前の操作によってアップロードされたデータは失われました。" #: lib/Horde/Data/Csv.php:206 lib/Horde/Data/Tsv.php:222 msgid "The uploaded file could not be saved." msgstr "アップロードされたファイルを保存できませんでした。" #: lib/Horde/Data/Imc.php:32 msgid "There was an error importing the iCalendar data." msgstr "iCalendar データをインポート中にエラーが発生しました。" #: lib/Horde/Data/Base.php:289 msgid "" "You didn\\'t map any fields from the imported file to the corresponding " "fields." msgstr "あなたはインポートするファイルの項目を一つも対応付けしていません。" Horde_Data-2.1.4/locale/km/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000057312653675402017615 0ustar janjan$,8A9Project-Id-Version: Horde_Data 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_Data-2.1.4/locale/km/LC_MESSAGES/Horde_Data.po0000664000175000017500000000132312653675402017612 0ustar janjan# Khmer translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: lib/Horde/Data/Tsv.php:203 msgid "TSV file" msgstr "" #: lib/Horde/Data/Base.php:286 msgid "The file contained no data." msgstr "" Horde_Data-2.1.4/locale/ko/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000077712653675402017625 0ustar janjan,<PQem+The file contained no data.Project-Id-Version: Horde_Data 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; 파일에 아무런 자료가 없습니다.Horde_Data-2.1.4/locale/ko/LC_MESSAGES/Horde_Data.po0000664000175000017500000000146612653675402017624 0ustar janjan# Korean translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" #: lib/Horde/Data/Tsv.php:203 #, fuzzy msgid "TSV file" msgstr "제목" #: lib/Horde/Data/Base.php:286 msgid "The file contained no data." msgstr "파일에 아무런 자료가 없습니다." Horde_Data-2.1.4/locale/lt/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000114112653675402017615 0ustar janjan4L`aj @KTSV fileThe file contained no data.Project-Id-Version: Horde_Data Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2011-05-28 01:09+0300 PO-Revision-Date: 2011-06-27 22:58+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); TSV failasFaile nėra duomenų.Horde_Data-2.1.4/locale/lt/LC_MESSAGES/Horde_Data.po0000664000175000017500000000157612653675402017634 0ustar janjan# Lithuanian translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Vilius Šumskas , 2011. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2011-05-28 01:09+0300\n" "PO-Revision-Date: 2011-06-27 22:58+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/Data/Tsv.php:222 msgid "TSV file" msgstr "TSV failas" #: lib/Horde/Data/Base.php:281 msgid "The file contained no data." msgstr "Faile nėra duomenų." Horde_Data-2.1.4/locale/lv/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000122412653675402017621 0ustar janjan4L`aj yTSV fileThe file contained no data.Project-Id-Version: Horde_Data Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2011-02-02 16:17+0100 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 TSV failsFailā nav datu.Horde_Data-2.1.4/locale/lv/LC_MESSAGES/Horde_Data.po0000664000175000017500000000167012653675402017631 0ustar janjan# Latvian translations for Horde_Data package. # Copyright 2011-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data package. # Automatically generated, 2011. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2011-02-02 16:17+0100\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/Data/Tsv.php:222 msgid "TSV file" msgstr "TSV fails" #: lib/Horde/Data/Base.php:281 msgid "The file contained no data." msgstr "Failā nav datu." Horde_Data-2.1.4/locale/mk/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000057312653675402017615 0ustar janjan$,8A9Project-Id-Version: Horde_Data 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_Data-2.1.4/locale/mk/LC_MESSAGES/Horde_Data.po0000664000175000017500000000133012653675402017610 0ustar janjan# Macedonian translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: lib/Horde/Data/Tsv.php:203 msgid "TSV file" msgstr "" #: lib/Horde/Data/Base.php:286 msgid "The file contained no data." msgstr "" Horde_Data-2.1.4/locale/nb/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000071712653675402017605 0ustar janjan,<PQlZTSV fileProject-Id-Version: Horde_Data 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); TSV-filHorde_Data-2.1.4/locale/nb/LC_MESSAGES/Horde_Data.po0000664000175000017500000000150412653675402017603 0ustar janjan# Norwegian Bokmal translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: lib/Horde/Data/Tsv.php:203 msgid "TSV file" msgstr "TSV-fil" #: lib/Horde/Data/Base.php:286 #, fuzzy msgid "The file contained no data." msgstr "MS-TNEF-vedlegget inneholdt ingen data." Horde_Data-2.1.4/locale/nl/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000253612653675402017620 0ustar janjan d %"3>%r0N1 "E@2G\ Cannot open file.Incorrect charset given for the data.TSV fileThe file contained no data.The uploaded data was lost since the previous step.The uploaded file could not be saved.There was an error importing the iCalendar data.You didn\'t map any fields from the imported file to the corresponding fields.Project-Id-Version: Horde_Data Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2012-07-19 18:34+0200 PO-Revision-Date: 2012-11-03 12:05+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 Kan bestand niet openen.Ongeldige karakterset opgegeven voor de gegevens.TSV bestandHet bestand bevatte geen gegevens.De geüploade gegevens zijn verloren gegaan sinds de voorgaande stap.Het geüploade bestand kan niet worden opgeslagen.Er is een fout opgetreden bij het importeren van de iCalendar gegevens.U heeft geen velden van het geïmporteerde bestand aan de corresponderende velden gekoppeld.Horde_Data-2.1.4/locale/nl/LC_MESSAGES/Horde_Data.po0000664000175000017500000000352012653675402017615 0ustar janjan# Dutch translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # # Arjen de Korte , 2012. msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2012-07-19 18:34+0200\n" "PO-Revision-Date: 2012-11-03 12:05+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/Data/Csv.php:70 msgid "Cannot open file." msgstr "Kan bestand niet openen." #: lib/Horde/Data/Csv.php:227 msgid "Incorrect charset given for the data." msgstr "Ongeldige karakterset opgegeven voor de gegevens." #: lib/Horde/Data/Tsv.php:216 msgid "TSV file" msgstr "TSV bestand" #: lib/Horde/Data/Base.php:282 msgid "The file contained no data." msgstr "Het bestand bevatte geen gegevens." #: lib/Horde/Data/Base.php:343 msgid "The uploaded data was lost since the previous step." msgstr "De geüploade gegevens zijn verloren gegaan sinds de voorgaande stap." #: lib/Horde/Data/Csv.php:206 lib/Horde/Data/Tsv.php:222 msgid "The uploaded file could not be saved." msgstr "Het geüploade bestand kan niet worden opgeslagen." #: lib/Horde/Data/Imc.php:32 msgid "There was an error importing the iCalendar data." msgstr "" "Er is een fout opgetreden bij het importeren van de iCalendar gegevens." #: lib/Horde/Data/Base.php:289 msgid "" "You didn\\'t map any fields from the imported file to the corresponding " "fields." msgstr "" "U heeft geen velden van het geïmporteerde bestand aan de corresponderende " "velden gekoppeld." Horde_Data-2.1.4/locale/nn/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000064612653675402017622 0ustar janjan$,8l9Project-Id-Version: Horde_Data 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_Data-2.1.4/locale/nn/LC_MESSAGES/Horde_Data.po0000664000175000017500000000147412653675402017625 0ustar janjan# Norwegian Nynorsk translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: lib/Horde/Data/Tsv.php:203 msgid "TSV file" msgstr "" #: lib/Horde/Data/Base.php:286 #, fuzzy msgid "The file contained no data." msgstr "MS-TNEF-vedlegg inneheldt ingen data." Horde_Data-2.1.4/locale/pl/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000105512653675402017615 0ustar janjan,<PQmThe file contained no data.Project-Id-Version: Horde_Data 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); Plik nie zawiera danych.Horde_Data-2.1.4/locale/pl/LC_MESSAGES/Horde_Data.po0000664000175000017500000000154512653675402017624 0ustar janjan# Polish translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\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" #: lib/Horde/Data/Tsv.php:203 #, fuzzy msgid "TSV file" msgstr "plik" #: lib/Horde/Data/Base.php:286 msgid "The file contained no data." msgstr "Plik nie zawiera danych." Horde_Data-2.1.4/locale/pt/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000103612653675402017624 0ustar janjan4L`ajl TSV fileThe file contained no data.Project-Id-Version: Horde_Data 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); Arquivo TSVO ficheiro não contém dados.Horde_Data-2.1.4/locale/pt/LC_MESSAGES/Horde_Data.po0000664000175000017500000000146012653675402017630 0ustar janjan# Portuguese translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: lib/Horde/Data/Tsv.php:203 msgid "TSV file" msgstr "Arquivo TSV" #: lib/Horde/Data/Base.php:286 msgid "The file contained no data." msgstr "O ficheiro não contém dados." Horde_Data-2.1.4/locale/pt_BR/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000252112653675402020207 0ustar janjan l %)23N%0N9A %18O,0S  Cannot open file.Incorrect charset given for the data.TSV fileThe file contained no data.The uploaded data was lost since the previous step.The uploaded file could not be saved.There was an error importing the iCalendar data.URL %s not foundYou didn\'t map any fields from the imported file to the corresponding fields.Project-Id-Version: Horde_Data Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2014-07-10 21:28-0300 PO-Revision-Date: 2014-07-10 21:29-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); Impossível abrir arquivo.Conjunto de caracteres incorretos fornecidos para a informação.Arquivo TSVO arquivo não contém dados.Os dados enviados foram perdidos desde a etapa anterior.Não foi possível gravar o arquivo enviado.Houve um erro ao importar os dados do iCalendar.URL %s não encontradoVocê não mapeou nenhum campo do arquivo importado para os campos correspondentes.Horde_Data-2.1.4/locale/pt_BR/LC_MESSAGES/Horde_Data.po0000664000175000017500000000353612653675402020221 0ustar janjan# Portuguese translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2014-07-10 21:28-0300\n" "PO-Revision-Date: 2014-07-10 21:29-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/Data/Csv.php:70 msgid "Cannot open file." msgstr "Impossível abrir arquivo." #: lib/Horde/Data/Csv.php:226 msgid "Incorrect charset given for the data." msgstr "Conjunto de caracteres incorretos fornecidos para a informação." #: lib/Horde/Data/Tsv.php:216 msgid "TSV file" msgstr "Arquivo TSV" #: lib/Horde/Data/Base.php:317 msgid "The file contained no data." msgstr "O arquivo não contém dados." #: lib/Horde/Data/Base.php:378 msgid "The uploaded data was lost since the previous step." msgstr "Os dados enviados foram perdidos desde a etapa anterior." #: lib/Horde/Data/Csv.php:206 lib/Horde/Data/Tsv.php:223 msgid "The uploaded file could not be saved." msgstr "Não foi possível gravar o arquivo enviado." #: lib/Horde/Data/Imc.php:32 msgid "There was an error importing the iCalendar data." msgstr "Houve um erro ao importar os dados do iCalendar." #: lib/Horde/Data/Base.php:137 #, php-format msgid "URL %s not found" msgstr "URL %s não encontrado" #: lib/Horde/Data/Base.php:324 msgid "" "You didn\\'t map any fields from the imported file to the corresponding " "fields." msgstr "" "Você não mapeou nenhum campo do arquivo importado para os campos " "correspondentes." Horde_Data-2.1.4/locale/ro/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000072412653675402017624 0ustar janjan$,89Project-Id-Version: Horde_Data 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_Data-2.1.4/locale/ro/LC_MESSAGES/Horde_Data.po0000664000175000017500000000146612653675402017633 0ustar janjan# Romanian translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " "20)) ? 1 : 2;\n" #: lib/Horde/Data/Tsv.php:203 msgid "TSV file" msgstr "" #: lib/Horde/Data/Base.php:286 msgid "The file contained no data." msgstr "" Horde_Data-2.1.4/locale/ru/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000112112653675402017622 0ustar janjan,<PQm,$The file contained no data.Project-Id-Version: Horde_Data 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); Файл не содержит данных.Horde_Data-2.1.4/locale/ru/LC_MESSAGES/Horde_Data.po0000664000175000017500000000163012653675402017632 0ustar janjan# Russian translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #: lib/Horde/Data/Tsv.php:203 #, fuzzy msgid "TSV file" msgstr "Заголовок" #: lib/Horde/Data/Base.php:286 msgid "The file contained no data." msgstr "Файл не содержит данных." Horde_Data-2.1.4/locale/sk/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000243212653675402017617 0ustar janjan d %"3>%r0N* "74(l1R Cannot open file.Incorrect charset given for the data.TSV fileThe file contained no data.The uploaded data was lost since the previous step.The uploaded file could not be saved.There was an error importing the iCalendar data.You didn\'t map any fields from the imported file to the corresponding fields.Project-Id-Version: Horde_Data Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2012-07-19 18:34+0200 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; Nepodarilo sa otvoriť súbor.Pre dáta bola zadaná zlá znaková sada.TSV súborSúbor neobsahoval žiadne údaje.Nahrané dáta sa od predchádzajúceho kroku stratili.Nahraný súbor nie je možné uložiť.Nastala chyba pri importovaní iCalendar údajov.Žiadne polia z naimportovaného súboru neboli namapované na príslušné polia.Horde_Data-2.1.4/locale/sk/LC_MESSAGES/Horde_Data.po0000664000175000017500000000352012653675402017621 0ustar janjan# Slovak translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # Martin Matuška , 2008 # Jozef Sudolský , 2012 # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2012-07-19 18:34+0200\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/Data/Csv.php:70 msgid "Cannot open file." msgstr "Nepodarilo sa otvoriť súbor." #: lib/Horde/Data/Csv.php:227 msgid "Incorrect charset given for the data." msgstr "Pre dáta bola zadaná zlá znaková sada." #: lib/Horde/Data/Tsv.php:216 msgid "TSV file" msgstr "TSV súbor" #: lib/Horde/Data/Base.php:282 msgid "The file contained no data." msgstr "Súbor neobsahoval žiadne údaje." #: lib/Horde/Data/Base.php:343 msgid "The uploaded data was lost since the previous step." msgstr "Nahrané dáta sa od predchádzajúceho kroku stratili." #: lib/Horde/Data/Csv.php:206 lib/Horde/Data/Tsv.php:222 msgid "The uploaded file could not be saved." msgstr "Nahraný súbor nie je možné uložiť." #: lib/Horde/Data/Imc.php:32 msgid "There was an error importing the iCalendar data." msgstr "Nastala chyba pri importovaní iCalendar údajov." #: lib/Horde/Data/Base.php:289 msgid "" "You didn\\'t map any fields from the imported file to the corresponding " "fields." msgstr "" "Žiadne polia z naimportovaného súboru neboli namapované na príslušné polia." Horde_Data-2.1.4/locale/sl/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000113212653675402017614 0ustar janjan4L`aj '%4TSV fileThe file contained no data.Project-Id-Version: Horde_Data 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); TSV datotekaDatoteka ne vsebuje nobenih podatkov.Horde_Data-2.1.4/locale/sl/LC_MESSAGES/Horde_Data.po0000664000175000017500000000155612653675402017631 0ustar janjan# Slovenian translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" "%100==4 ? 2 : 3);\n" #: lib/Horde/Data/Tsv.php:203 msgid "TSV file" msgstr "TSV datoteka" #: lib/Horde/Data/Base.php:286 msgid "The file contained no data." msgstr "Datoteka ne vsebuje nobenih podatkov." Horde_Data-2.1.4/locale/sv/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000103612653675402017631 0ustar janjan4L`ajl"TSV fileThe file contained no data.Project-Id-Version: Horde_Data 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); TSV-filFilen innehöll ingen information.Horde_Data-2.1.4/locale/sv/LC_MESSAGES/Horde_Data.po0000664000175000017500000000145512653675402017641 0ustar janjan# Swedish translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: lib/Horde/Data/Tsv.php:203 msgid "TSV file" msgstr "TSV-fil" #: lib/Horde/Data/Base.php:286 msgid "The file contained no data." msgstr "Filen innehöll ingen information." Horde_Data-2.1.4/locale/tr/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000102012653675402017617 0ustar janjan4L`aje TSV fileThe file contained no data.Project-Id-Version: Horde_Data 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; TSV dosyasıDosya veri içermiyor.Horde_Data-2.1.4/locale/tr/LC_MESSAGES/Horde_Data.po0000664000175000017500000000143712653675402017636 0ustar janjan# Turkish translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" #: lib/Horde/Data/Tsv.php:203 msgid "TSV file" msgstr "TSV dosyası" #: lib/Horde/Data/Base.php:286 msgid "The file contained no data." msgstr "Dosya veri içermiyor." Horde_Data-2.1.4/locale/uk/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000313712653675402017624 0ustar janjan l %)23N%0N9(I7 (jN"Iq  Cannot open file.Incorrect charset given for the data.TSV fileThe file contained no data.The uploaded data was lost since the previous step.The uploaded file could not be saved.There was an error importing the iCalendar data.URL %s not foundYou didn\'t map any fields from the imported file to the corresponding fields.Project-Id-Version: Horde_Data Report-Msgid-Bugs-To: dev@lists.horde.org POT-Creation-Date: 2015-05-28 17:03+0300 PO-Revision-Date: 2015-06-01 01:27+0200 Last-Translator: Andriy Kopystyansky 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); Не можу відкрити файл.Вказане некоректне кодування для даних.TSV файлФайл не містить даних.Завантажені дані були втрачені з часу попереднього кроку.Завантажений файл не може бути збережений.Трапилась помилка імпорту даних з iCalendar.URL %s не знайденоВи не прив'язали жодного поля з імпортованого файлу до відповідних полів.Horde_Data-2.1.4/locale/uk/LC_MESSAGES/Horde_Data.po0000664000175000017500000000411312653675402017622 0ustar janjan# Ukrainian translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2015-05-28 17:03+0300\n" "PO-Revision-Date: 2015-06-01 01:27+0200\n" "Last-Translator: Andriy Kopystyansky \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/Data/Csv.php:70 msgid "Cannot open file." msgstr "Не можу відкрити файл." #: lib/Horde/Data/Csv.php:226 msgid "Incorrect charset given for the data." msgstr "Вказане некоректне кодування для даних." #: lib/Horde/Data/Tsv.php:216 msgid "TSV file" msgstr "TSV файл" #: lib/Horde/Data/Base.php:324 msgid "The file contained no data." msgstr "Файл не містить даних." #: lib/Horde/Data/Base.php:385 msgid "The uploaded data was lost since the previous step." msgstr "Завантажені дані були втрачені з часу попереднього кроку." #: lib/Horde/Data/Csv.php:206 lib/Horde/Data/Tsv.php:223 msgid "The uploaded file could not be saved." msgstr "Завантажений файл не може бути збережений." #: lib/Horde/Data/Imc.php:32 msgid "There was an error importing the iCalendar data." msgstr "Трапилась помилка імпорту даних з iCalendar." #: lib/Horde/Data/Base.php:144 #, php-format msgid "URL %s not found" msgstr "URL %s не знайдено" #: lib/Horde/Data/Base.php:331 msgid "" "You didn\\'t map any fields from the imported file to the corresponding " "fields." msgstr "" "Ви не прив'язали жодного поля з імпортованого файлу до відповідних полів." Horde_Data-2.1.4/locale/zh_CN/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000075712653675402020213 0ustar janjan4L`ajA TSV fileThe file contained no data.Project-Id-Version: Horde_Data 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 TSV 文件此文件不包含数据。Horde_Data-2.1.4/locale/zh_CN/LC_MESSAGES/Horde_Data.po0000664000175000017500000000137212653675402020210 0ustar janjan# Chinese translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: lib/Horde/Data/Tsv.php:203 msgid "TSV file" msgstr "TSV 文件" #: lib/Horde/Data/Base.php:286 msgid "The file contained no data." msgstr "此文件不包含数据。" Horde_Data-2.1.4/locale/zh_TW/LC_MESSAGES/Horde_Data.mo0000664000175000017500000000077712653675402020247 0ustar janjan4L`ajATSV fileThe file contained no data.Project-Id-Version: Horde_Data 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 TAB 分隔格式檔案(.tsv)此檔案中沒有資料.Horde_Data-2.1.4/locale/zh_TW/LC_MESSAGES/Horde_Data.po0000664000175000017500000000141212653675402020235 0ustar janjan# Chinese translations for Horde_Data module. # Copyright 2010-2016 Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data module. # Automatically generated, 2010. # msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2010-10-13 01:27+0200\n" "PO-Revision-Date: 2010-10-13 01:27+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: i18n@lists.horde.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: lib/Horde/Data/Tsv.php:203 msgid "TSV file" msgstr "TAB 分隔格式檔案(.tsv)" #: lib/Horde/Data/Base.php:286 msgid "The file contained no data." msgstr "此檔案中沒有資料." Horde_Data-2.1.4/locale/Horde_Data.pot0000664000175000017500000000261512653675402015607 0ustar janjan# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Horde LLC (http://www.horde.org/) # This file is distributed under the same license as the Horde_Data package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Horde_Data\n" "Report-Msgid-Bugs-To: dev@lists.horde.org\n" "POT-Creation-Date: 2015-12-28 17:25+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/Data/Csv.php:70 msgid "Cannot open file." msgstr "" #: lib/Horde/Data/Csv.php:226 msgid "Incorrect charset given for the data." msgstr "" #: lib/Horde/Data/Tsv.php:216 msgid "TSV file" msgstr "" #: lib/Horde/Data/Base.php:324 msgid "The file contained no data." msgstr "" #: lib/Horde/Data/Base.php:385 msgid "The uploaded data was lost since the previous step." msgstr "" #: lib/Horde/Data/Csv.php:206 lib/Horde/Data/Tsv.php:223 msgid "The uploaded file could not be saved." msgstr "" #: lib/Horde/Data/Imc.php:32 msgid "There was an error importing the iCalendar data." msgstr "" #: lib/Horde/Data/Base.php:144 #, php-format msgid "URL %s not found" msgstr "" #: lib/Horde/Data/Base.php:331 msgid "" "You didn\\'t map any fields from the imported file to the corresponding " "fields." msgstr "" Horde_Data-2.1.4/test/Horde/Data/fixtures/getcsv/001.csv0000664000175000017500000000017612653675402020704 0ustar janjan"Field 1-1", "Field 1-2", "Field 1-3", "Field 1-4" "Field 2-1", "Field 2-2", "Field 2-3" "Field 3-1", "Field 3-2" "Field 4-1" Horde_Data-2.1.4/test/Horde/Data/fixtures/getcsv/002.csv0000664000175000017500000000023212653675402020676 0ustar janjan"Field 1-1", "Field 1-2", "Field 1-3", "Field 1-4" "Field 2-1", "Field 2-2", "Field 2-3", "Field 2-4", "Extra Field" "Field 3-1", "Field 3-2" "Field 4-1" Horde_Data-2.1.4/test/Horde/Data/fixtures/getcsv/003.csv0000664000175000017500000000021612653675402020701 0ustar janjan"Field 1-1","Field 1-2","Field 1-3","Field 1-4" "Field 2-1","Field 2-2","Field 2-3","I'm multiline Field" "Field 3-1","Field 3-2","Field 3-3" Horde_Data-2.1.4/test/Horde/Data/fixtures/getcsv/004.csv0000664000175000017500000000021612653675402020702 0ustar janjan"Field 1-1","Field 1-2","Field 1-3","Field 1-4" "Field 2-1","Field 2-2","Field 2-3","I'm multiline Field" "Field 3-1","Field 3-2","Field 3-3" Horde_Data-2.1.4/test/Horde/Data/fixtures/getcsv/005.csv0000664000175000017500000000021512653675402020702 0ustar janjan"Field 1-1","Field 1-2","Field 1-3","Field 1-4" "Field 2-1","Field 2-2","Field 2-3","I'm multiline Field" "Field 3-1","Field 3-2","Field 3-3"Horde_Data-2.1.4/test/Horde/Data/fixtures/getcsv/bug_3839.csv0000664000175000017500000000257112653675402021650 0ustar janjanSubject~Start Date~Start Time~End Date~End Time~All day event~Reminder on/off~Reminder Date~Reminder Time~Category~Description~Priority "Inservice on new resource: ""CPNP Toolkit"""~2004-11-08~10:30 AM~2004-11-08~11:30 AM~FALSE~FALSE~~~Training~"CPN Program ... Inservice on new resource: ""CPNP Toolkit"" Registration Deadline: October 27, 2004, noon Session Evaluation - Eligibility for Prize! Dial In Numbers for Sites Registered Poster and Registration Form Facilitator: Manager preblurb preblurb preblurb preblurb preblurb preblurb preblurb preblurb preblurb ""CPNP Toolkit"". postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb . postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb Come check out the new resource!"~Normal Horde_Data-2.1.4/test/Horde/Data/fixtures/getcsv/bug_4025.csv0000664000175000017500000000110612653675402021625 0ustar janjan"Betreff","Beginnt am","Beginnt um","Endet am","Endet um","Ganztägiges Ereignis","Erinnerung Ein/Aus","Erinnerung am","Erinnerung um","Besprechungsplanung","Erforderliche Teilnehmer","Optionale Teilnehmer","Besprechungsressourcen","Abrechnungsinformationen","Beschreibung","Kategorien","Ort","Priorität","Privat","Reisekilometer","Vertraulichkeit","Zeitspanne zeigen als" "Burger Download Session","2.5.2006","11:50:00","2.5.2006","13:00:00","Aus","Ein","2.5.2006","11:35:00","Haas, Jörg","Kuhl, Oliver",,,," ",,"Burger Upload Station (Burger King)","Normal","Aus",,"Normal","1" Horde_Data-2.1.4/test/Horde/Data/fixtures/getcsv/bug_6311.csv0000664000175000017500000000342412653675402021632 0ustar janjan"Title","First Name","Middle Name","Last Name","Suffix","Company","Department","Job Title","Business Street","Business Street 2","Business Street 3","Business City","Business State","Business Postal Code","Business Country/Region","Home Street","Home Street 2","Home Street 3","Home City","Home State","Home Postal Code","Home Country/Region","Other Street","Other Street 2","Other Street 3","Other City","Other State","Other Postal Code","Other Country/Region","Assistant's Phone","Business Fax","Business Phone","Business Phone 2","Callback","Car Phone","Company Main Phone","Home Fax","Home Phone","Home Phone 2","ISDN","Mobile Phone","Other Fax","Other Phone","Pager","Primary Phone","Radio Phone","TTY/TDD Phone","Telex","Account","Anniversary","Assistant's Name","Billing Information","Birthday","Business Address PO Box","Categories","Children","Directory Server","E-mail Address","E-mail Type","E-mail Display Name","E-mail 2 Address","E-mail 2 Type","E-mail 2 Display Name","E-mail 3 Address","E-mail 3 Type","E-mail 3 Display Name","Gender","Government ID Number","Hobby","Home Address PO Box","Initials","Internet Free Busy","Keywords","Language","Location","Manager's Name","Mileage","Notes","Office Location","Organizational ID Number","Other Address PO Box","Priority","Private","Profession","Referred By","Sensitivity","Spouse","User 1","User 2","User 3","User 4","Web Page" "","John","","Smith","","International Inc","","","",,,"","","","","",,,"","","","","",,,"","","","","","(123) 555-1111","(123) 555-2222","","","","","","","","","(123) 555-3333","","","","","","","","","0/0/00","",,"0/0/00",,"Programming",,,"john@example.com","SMTP","John Smith (john@example.com)",,,,,,,"Unspecified","",,,"J.S.","","","","","",,"PHP Perl Python ","","",,"Normal","False","",,"Normal","","","","","","" Horde_Data-2.1.4/test/Horde/Data/fixtures/getcsv/bug_6370.csv0000664000175000017500000000324312653675402021636 0ustar janjan"Title","First Name","Middle Name","Last Name","Suffix","Company","Department","Job Title","Business Street","Business Street 2","Business Street 3","Business City","Business State","Business Postal Code","Business Country/Region","Home Street","Home Street 2","Home Street 3","Home City","Home State","Home Postal Code","Home Country/Region","Other Street","Other Street 2","Other Street 3","Other City","Other State","Other Postal Code","Other Country/Region","Assistant's Phone","Business Fax","Business Phone","Business Phone 2","Callback","Car Phone","Company Main Phone","Home Fax","Home Phone","Home Phone 2","ISDN","Mobile Phone","Other Fax","Other Phone","Pager","Primary Phone","Radio Phone","TTY/TDD Phone","Telex","Account","Anniversary","Assistant's Name","Billing Information","Birthday","Business Address PO Box","Categories","Children","Directory Server","E-mail Address","E-mail Type","E-mail Display Name","E-mail 2 Address","E-mail 2 Type","E-mail 2 Display Name","E-mail 3 Address","E-mail 3 Type","E-mail 3 Display Name","Gender","Government ID Number","Hobby","Home Address PO Box","Initials","Internet Free Busy","Keywords","Language","Location","Manager's Name","Mileage","Notes","Office Location","Organizational ID Number","Other Address PO Box","Priority","Private","Profession","Referred By","Sensitivity","Spouse","User 1","User 2","User 3","User 4","Web Page" "","","","","","","","","Big Tower'"", 1"" Floor 123 Main Street",,,"","","","","",,,"","","","","",,,"","","","","","","","","","","","","","","","","","","","","","","","","0/0/00","",,"0/0/00",,,,,"","","",,,,,,,"Unspecified","",,,"","","","","","",,,"","",,"Normal","False","",,"Normal","","","","","","" Horde_Data-2.1.4/test/Horde/Data/fixtures/getcsv/bug_6372.csv0000664000175000017500000000324312653675402021640 0ustar janjan"Title","First Name","Middle Name","Last Name","Suffix","Company","Department","Job Title","Business Street","Business Street 2","Business Street 3","Business City","Business State","Business Postal Code","Business Country/Region","Home Street","Home Street 2","Home Street 3","Home City","Home State","Home Postal Code","Home Country/Region","Other Street","Other Street 2","Other Street 3","Other City","Other State","Other Postal Code","Other Country/Region","Assistant's Phone","Business Fax","Business Phone","Business Phone 2","Callback","Car Phone","Company Main Phone","Home Fax","Home Phone","Home Phone 2","ISDN","Mobile Phone","Other Fax","Other Phone","Pager","Primary Phone","Radio Phone","TTY/TDD Phone","Telex","Account","Anniversary","Assistant's Name","Billing Information","Birthday","Business Address PO Box","Categories","Children","Directory Server","E-mail Address","E-mail Type","E-mail Display Name","E-mail 2 Address","E-mail 2 Type","E-mail 2 Display Name","E-mail 3 Address","E-mail 3 Type","E-mail 3 Display Name","Gender","Government ID Number","Hobby","Home Address PO Box","Initials","Internet Free Busy","Keywords","Language","Location","Manager's Name","Mileage","Notes","Office Location","Organizational ID Number","Other Address PO Box","Priority","Private","Profession","Referred By","Sensitivity","Spouse","User 1","User 2","User 3","User 4","Web Page" "","","","","","","","","123, 12th Floor, Main Street",,,"","","","","",,,"","","","","",,,"","","","","","","","","","","","","","","","","","","","","","","","","0/0/00","",,"0/0/00",,"",,,"","","","","","",,,,"Unspecified","",,,"","","","","","",," ","","",,"Normal","False","",,"Normal","","","","","","" Horde_Data-2.1.4/test/Horde/Data/fixtures/getcsv/columns1.csv0000664000175000017500000000007712653675402022145 0ustar janjanone,two,three four,five six,seven,eight nine,ten,eleven,twelve Horde_Data-2.1.4/test/Horde/Data/fixtures/getcsv/columns2.csv0000664000175000017500000000012712653675402022142 0ustar janjan"one","two","three" "four","five" "six","seven","eight" "nine","ten","eleven","twelve" Horde_Data-2.1.4/test/Horde/Data/fixtures/getcsv/multiline1.csv0000664000175000017500000000015312653675402022462 0ustar janjan"one","two","three four" "five","six seven","eight" "nine","ten","eleven twelve" "one","two","three four" Horde_Data-2.1.4/test/Horde/Data/fixtures/getcsv/notrailing_crlf.csv0000664000175000017500000000003412653675402023551 0ustar janjanone,two,three four,five,six Horde_Data-2.1.4/test/Horde/Data/fixtures/getcsv/notrailing_lf.csv0000664000175000017500000000003412653675402023224 0ustar janjanone,two,three four,five,six Horde_Data-2.1.4/test/Horde/Data/fixtures/getcsv/quote1.csv0000664000175000017500000000005012653675402021611 0ustar janjan"one",two,"three" four,"five six",seven Horde_Data-2.1.4/test/Horde/Data/fixtures/getcsv/quote2.csv0000664000175000017500000000005012653675402021612 0ustar janjan"one",two,"three" four,"five six",seven Horde_Data-2.1.4/test/Horde/Data/fixtures/getcsv/quote3.csv0000664000175000017500000000006012653675402021614 0ustar janjan"one two","three, four",five six,"seven ",eight Horde_Data-2.1.4/test/Horde/Data/fixtures/getcsv/quote4.csv0000664000175000017500000000006012653675402021615 0ustar janjan"one two","three, four",five six,"seven ",eight Horde_Data-2.1.4/test/Horde/Data/fixtures/getcsv/quote5.csv0000664000175000017500000000006612653675402021624 0ustar janjan"one two","three, four","five" "six","seven ","eight" Horde_Data-2.1.4/test/Horde/Data/fixtures/getcsv/quote6.csv0000664000175000017500000000007112653675402021621 0ustar janjan"one","two","three" "four","five\"six","seven \"eight\"" Horde_Data-2.1.4/test/Horde/Data/fixtures/getcsv/quote7.csv0000664000175000017500000000007112653675402021622 0ustar janjan"one","two","three" "four","five""six","seven ""eight""" Horde_Data-2.1.4/test/Horde/Data/fixtures/getcsv/simple_cr.csv0000664000175000017500000000003312653675402022351 0ustar janjanone,two,three four,five,sixHorde_Data-2.1.4/test/Horde/Data/fixtures/getcsv/simple_crlf.csv0000664000175000017500000000003412653675402022674 0ustar janjanone,two,three four,five,six Horde_Data-2.1.4/test/Horde/Data/fixtures/getcsv/simple_lf.csv0000664000175000017500000000003412653675402022347 0ustar janjanone,two,three four,five,six Horde_Data-2.1.4/test/Horde/Data/fixtures/quotes1.csv0000664000175000017500000000007112653675402020504 0ustar janjan"one","two","three" "four","five""six","seven ""eight""" Horde_Data-2.1.4/test/Horde/Data/fixtures/quotes2.csv0000664000175000017500000000007112653675402020505 0ustar janjan"one","two","three" "four","five\"six","seven \"eight\"" Horde_Data-2.1.4/test/Horde/Data/fixtures/simple_dos.csv0000664000175000017500000000006212653675402021241 0ustar janjanone,two,three four,five six,seven,eight nine, ten Horde_Data-2.1.4/test/Horde/Data/fixtures/simple_unix.csv0000664000175000017500000000006212653675402021437 0ustar janjanone,two,three four,five six,seven,eight nine, ten Horde_Data-2.1.4/test/Horde/Data/AllTests.php0000664000175000017500000000013212653675402016757 0ustar janjanrun(); Horde_Data-2.1.4/test/Horde/Data/bootstrap.php0000664000175000017500000000014312653675402017243 0ustar janjan * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 * @category Horde * @package Data * @subpackage UnitTests */ class Horde_Data_CsvTest extends PHPUnit_Framework_TestCase { public function testImportFile() { $data = new Horde_Data_Csv(new Horde_Data_Storage_Mock()); $expected = array(array(0 => 'one', 1 => 'two', 2 => 'three four', 3 => 'five'), array(0 => 'six', 1 => 'seven', 2 => 'eight nine', 3 => 'ten')); $this->assertEquals($expected, $data->importFile(__DIR__ . '/fixtures/simple_dos.csv', false, ',', '', 4)); $this->assertEquals($expected, $data->importFile(__DIR__ . '/fixtures/simple_unix.csv', false, ',', '', 4)); $expected = array(array('one' => 'six', 'two' => 'seven', 'three four' => 'eight nine', 'five' => 'ten')); $this->assertEquals($expected, $data->importFile(__DIR__ . '/fixtures/simple_dos.csv', true, ',', '', 4)); $this->assertEquals($expected, $data->importFile(__DIR__ . '/fixtures/simple_unix.csv', true, ',', '', 4)); $expected = array(array('one' => 'four', 'two' => 'five"six', 'three' => 'seven "eight"',''=>'')); $this->assertEquals($expected, $data->importFile(__DIR__ . '/fixtures/quotes1.csv', true, ',', '"', 4)); $this->assertEquals($expected, $data->importFile(__DIR__ . '/fixtures/quotes2.csv', true, ',', '"', 4)); } } Horde_Data-2.1.4/test/Horde/Data/GetCsvTest.php0000664000175000017500000007117412653675402017275 0ustar janjan * @category Horde * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 * @package Data * @subpackage UnitTests */ class Horde_Data_GetCsvTest extends PHPUnit_Framework_TestCase { protected function readCsv($file, $conf = array()) { $fp = fopen(__DIR__ . '/fixtures/getcsv/' . $file, 'r'); $data = array(); while ($res = Horde_Data_Csv::getCsv($fp, $conf)) { $data[] = $res; } return $data; } public function test001() { $this->assertEquals(array ( 0 => array ( 0 => 'Field 1-1', 1 => 'Field 1-2', 2 => 'Field 1-3', 3 => 'Field 1-4', ), 1 => array ( 0 => 'Field 2-1', 1 => 'Field 2-2', 2 => 'Field 2-3', 3 => '', ), 2 => array ( 0 => 'Field 3-1', 1 => 'Field 3-2', 2 => '', 3 => '', ), 3 => array ( 0 => 'Field 4-1', 1 => '', 2 => '', 3 => '', ), ), $this->readCsv('001.csv', array('length' => 4))); } public function test002() { $this->assertEquals(array ( 0 => array ( 0 => 'Field 1-1', 1 => 'Field 1-2', 2 => 'Field 1-3', 3 => 'Field 1-4', ), 1 => array ( 0 => 'Field 2-1', 1 => 'Field 2-2', 2 => 'Field 2-3', 3 => 'Field 2-4', ), 2 => array ( 0 => 'Field 3-1', 1 => 'Field 3-2', 2 => '', 3 => '', ), 3 => array ( 0 => 'Field 4-1', 1 => '', 2 => '', 3 => '', ), ), $this->readCsv('002.csv', array('length' => 4))); } public function test003() { $this->assertEquals(array ( 0 => array ( 0 => 'Field 1-1', 1 => 'Field 1-2', 2 => 'Field 1-3', 3 => 'Field 1-4', ), 1 => array ( 0 => 'Field 2-1', 1 => 'Field 2-2', 2 => 'Field 2-3', 3 => 'I\'m multiline Field', ), 2 => array ( 0 => 'Field 3-1', 1 => 'Field 3-2', 2 => 'Field 3-3', 3 => '', ), ), $this->readCsv('003.csv', array('length' => 4))); } public function test004() { $this->assertEquals(array ( 0 => array ( 0 => 'Field 1-1', 1 => 'Field 1-2', 2 => 'Field 1-3', 3 => 'Field 1-4', ), 1 => array ( 0 => 'Field 2-1', 1 => 'Field 2-2', 2 => 'Field 2-3', 3 => 'I\'m multiline Field', ), 2 => array ( 0 => 'Field 3-1', 1 => 'Field 3-2', 2 => 'Field 3-3', 3 => '', ), ), $this->readCsv('004.csv', array('length' => 4))); } public function testBug3839() { $this->assertEquals(array ( 0 => array ( 0 => 'Subject', 1 => 'Start Date', 2 => 'Start Time', 3 => 'End Date', 4 => 'End Time', 5 => 'All day event', 6 => 'Reminder on/off', 7 => 'Reminder Date', 8 => 'Reminder Time', 9 => 'Category', 10 => 'Description', 11 => 'Priority', ), 1 => array ( 0 => 'Inservice on new resource: "CPNP Toolkit"', 1 => '2004-11-08', 2 => '10:30 AM', 3 => '2004-11-08', 4 => '11:30 AM', 5 => 'FALSE', 6 => 'FALSE', 7 => '', 8 => '', 9 => 'Training', 10 => 'CPN Program ... Inservice on new resource: "CPNP Toolkit" Registration Deadline: October 27, 2004, noon Session Evaluation - Eligibility for Prize! Dial In Numbers for Sites Registered Poster and Registration Form Facilitator: Manager preblurb preblurb preblurb preblurb preblurb preblurb preblurb preblurb preblurb "CPNP Toolkit". postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb . postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb postblurb Come check out the new resource!', 11 => 'Normal', ), ), $this->readCsv('bug_3839.csv', array('length' => 12, 'separator' => '~'))); } public function testBug4025() { $this->assertEquals(array ( 0 => array ( 0 => 'Betreff', 1 => 'Beginnt am', 2 => 'Beginnt um', 3 => 'Endet am', 4 => 'Endet um', 5 => 'Ganztägiges Ereignis', 6 => 'Erinnerung Ein/Aus', 7 => 'Erinnerung am', 8 => 'Erinnerung um', 9 => 'Besprechungsplanung', 10 => 'Erforderliche Teilnehmer', 11 => 'Optionale Teilnehmer', 12 => 'Besprechungsressourcen', 13 => 'Abrechnungsinformationen', 14 => 'Beschreibung', 15 => 'Kategorien', 16 => 'Ort', 17 => 'Priorität', 18 => 'Privat', 19 => 'Reisekilometer', 20 => 'Vertraulichkeit', 21 => 'Zeitspanne zeigen als', ), 1 => array ( 0 => 'Burger Download Session', 1 => '2.5.2006', 2 => '11:50:00', 3 => '2.5.2006', 4 => '13:00:00', 5 => 'Aus', 6 => 'Ein', 7 => '2.5.2006', 8 => '11:35:00', 9 => 'Haas, Jörg', 10 => 'Kuhl, Oliver', 11 => '', 12 => '', 13 => '', 14 => ' ', 15 => '', 16 => 'Burger Upload Station (Burger King)', 17 => 'Normal', 18 => 'Aus', 19 => '', 20 => 'Normal', 21 => '1', ), ), $this->readCsv('bug_4025.csv', array('length' => 22))); } public function testBug6311() { $this->assertEquals(array ( 0 => array ( 0 => 'Title', 1 => 'First Name', 2 => 'Middle Name', 3 => 'Last Name', 4 => 'Suffix', 5 => 'Company', 6 => 'Department', 7 => 'Job Title', 8 => 'Business Street', 9 => 'Business Street 2', 10 => 'Business Street 3', 11 => 'Business City', 12 => 'Business State', 13 => 'Business Postal Code', 14 => 'Business Country/Region', 15 => 'Home Street', 16 => 'Home Street 2', 17 => 'Home Street 3', 18 => 'Home City', 19 => 'Home State', 20 => 'Home Postal Code', 21 => 'Home Country/Region', 22 => 'Other Street', 23 => 'Other Street 2', 24 => 'Other Street 3', 25 => 'Other City', 26 => 'Other State', 27 => 'Other Postal Code', 28 => 'Other Country/Region', 29 => 'Assistant\'s Phone', 30 => 'Business Fax', 31 => 'Business Phone', 32 => 'Business Phone 2', 33 => 'Callback', 34 => 'Car Phone', 35 => 'Company Main Phone', 36 => 'Home Fax', 37 => 'Home Phone', 38 => 'Home Phone 2', 39 => 'ISDN', 40 => 'Mobile Phone', 41 => 'Other Fax', 42 => 'Other Phone', 43 => 'Pager', 44 => 'Primary Phone', 45 => 'Radio Phone', 46 => 'TTY/TDD Phone', 47 => 'Telex', 48 => 'Account', 49 => 'Anniversary', 50 => 'Assistant\'s Name', 51 => 'Billing Information', 52 => 'Birthday', 53 => 'Business Address PO Box', 54 => 'Categories', 55 => 'Children', 56 => 'Directory Server', 57 => 'E-mail Address', 58 => 'E-mail Type', 59 => 'E-mail Display Name', 60 => 'E-mail 2 Address', 61 => 'E-mail 2 Type', 62 => 'E-mail 2 Display Name', 63 => 'E-mail 3 Address', 64 => 'E-mail 3 Type', 65 => 'E-mail 3 Display Name', 66 => 'Gender', 67 => 'Government ID Number', 68 => 'Hobby', 69 => 'Home Address PO Box', 70 => 'Initials', 71 => 'Internet Free Busy', 72 => 'Keywords', 73 => 'Language', 74 => 'Location', 75 => 'Manager\'s Name', 76 => 'Mileage', 77 => 'Notes', 78 => 'Office Location', 79 => 'Organizational ID Number', 80 => 'Other Address PO Box', 81 => 'Priority', 82 => 'Private', 83 => 'Profession', 84 => 'Referred By', 85 => 'Sensitivity', 86 => 'Spouse', 87 => 'User 1', 88 => 'User 2', 89 => 'User 3', 90 => 'User 4', 91 => 'Web Page', ), 1 => array ( 0 => '', 1 => 'John', 2 => '', 3 => 'Smith', 4 => '', 5 => 'International Inc', 6 => '', 7 => '', 8 => '', 9 => '', 10 => '', 11 => '', 12 => '', 13 => '', 14 => '', 15 => '', 16 => '', 17 => '', 18 => '', 19 => '', 20 => '', 21 => '', 22 => '', 23 => '', 24 => '', 25 => '', 26 => '', 27 => '', 28 => '', 29 => '', 30 => '(123) 555-1111', 31 => '(123) 555-2222', 32 => '', 33 => '', 34 => '', 35 => '', 36 => '', 37 => '', 38 => '', 39 => '', 40 => '(123) 555-3333', 41 => '', 42 => '', 43 => '', 44 => '', 45 => '', 46 => '', 47 => '', 48 => '', 49 => '0/0/00', 50 => '', 51 => '', 52 => '0/0/00', 53 => '', 54 => 'Programming', 55 => '', 56 => '', 57 => 'john@example.com', 58 => 'SMTP', 59 => 'John Smith (john@example.com)', 60 => '', 61 => '', 62 => '', 63 => '', 64 => '', 65 => '', 66 => 'Unspecified', 67 => '', 68 => '', 69 => '', 70 => 'J.S.', 71 => '', 72 => '', 73 => '', 74 => '', 75 => '', 76 => '', 77 => 'PHP Perl Python ', 78 => '', 79 => '', 80 => '', 81 => 'Normal', 82 => 'False', 83 => '', 84 => '', 85 => 'Normal', 86 => '', 87 => '', 88 => '', 89 => '', 90 => '', 91 => '', ), ), $this->readCsv('bug_6311.csv', array('length' => 92))); } public function testBug6370() { $this->assertEquals(array ( 0 => array ( 0 => 'Title', 1 => 'First Name', 2 => 'Middle Name', 3 => 'Last Name', 4 => 'Suffix', 5 => 'Company', 6 => 'Department', 7 => 'Job Title', 8 => 'Business Street', 9 => 'Business Street 2', 10 => 'Business Street 3', 11 => 'Business City', 12 => 'Business State', 13 => 'Business Postal Code', 14 => 'Business Country/Region', 15 => 'Home Street', 16 => 'Home Street 2', 17 => 'Home Street 3', 18 => 'Home City', 19 => 'Home State', 20 => 'Home Postal Code', 21 => 'Home Country/Region', 22 => 'Other Street', 23 => 'Other Street 2', 24 => 'Other Street 3', 25 => 'Other City', 26 => 'Other State', 27 => 'Other Postal Code', 28 => 'Other Country/Region', 29 => 'Assistant\'s Phone', 30 => 'Business Fax', 31 => 'Business Phone', 32 => 'Business Phone 2', 33 => 'Callback', 34 => 'Car Phone', 35 => 'Company Main Phone', 36 => 'Home Fax', 37 => 'Home Phone', 38 => 'Home Phone 2', 39 => 'ISDN', 40 => 'Mobile Phone', 41 => 'Other Fax', 42 => 'Other Phone', 43 => 'Pager', 44 => 'Primary Phone', 45 => 'Radio Phone', 46 => 'TTY/TDD Phone', 47 => 'Telex', 48 => 'Account', 49 => 'Anniversary', 50 => 'Assistant\'s Name', 51 => 'Billing Information', 52 => 'Birthday', 53 => 'Business Address PO Box', 54 => 'Categories', 55 => 'Children', 56 => 'Directory Server', 57 => 'E-mail Address', 58 => 'E-mail Type', 59 => 'E-mail Display Name', 60 => 'E-mail 2 Address', 61 => 'E-mail 2 Type', 62 => 'E-mail 2 Display Name', 63 => 'E-mail 3 Address', 64 => 'E-mail 3 Type', 65 => 'E-mail 3 Display Name', 66 => 'Gender', 67 => 'Government ID Number', 68 => 'Hobby', 69 => 'Home Address PO Box', 70 => 'Initials', 71 => 'Internet Free Busy', 72 => 'Keywords', 73 => 'Language', 74 => 'Location', 75 => 'Manager\'s Name', 76 => 'Mileage', 77 => 'Notes', 78 => 'Office Location', 79 => 'Organizational ID Number', 80 => 'Other Address PO Box', 81 => 'Priority', 82 => 'Private', 83 => 'Profession', 84 => 'Referred By', 85 => 'Sensitivity', 86 => 'Spouse', 87 => 'User 1', 88 => 'User 2', 89 => 'User 3', 90 => 'User 4', 91 => 'Web Page', ), 1 => array ( 0 => '', 1 => '', 2 => '', 3 => '', 4 => '', 5 => '', 6 => '', 7 => '', 8 => 'Big Tower\'", 1" Floor 123 Main Street', 9 => '', 10 => '', 11 => '', 12 => '', 13 => '', 14 => '', 15 => '', 16 => '', 17 => '', 18 => '', 19 => '', 20 => '', 21 => '', 22 => '', 23 => '', 24 => '', 25 => '', 26 => '', 27 => '', 28 => '', 29 => '', 30 => '', 31 => '', 32 => '', 33 => '', 34 => '', 35 => '', 36 => '', 37 => '', 38 => '', 39 => '', 40 => '', 41 => '', 42 => '', 43 => '', 44 => '', 45 => '', 46 => '', 47 => '', 48 => '', 49 => '0/0/00', 50 => '', 51 => '', 52 => '0/0/00', 53 => '', 54 => '', 55 => '', 56 => '', 57 => '', 58 => '', 59 => '', 60 => '', 61 => '', 62 => '', 63 => '', 64 => '', 65 => '', 66 => 'Unspecified', 67 => '', 68 => '', 69 => '', 70 => '', 71 => '', 72 => '', 73 => '', 74 => '', 75 => '', 76 => '', 77 => '', 78 => '', 79 => '', 80 => '', 81 => 'Normal', 82 => 'False', 83 => '', 84 => '', 85 => 'Normal', 86 => '', 87 => '', 88 => '', 89 => '', 90 => '', 91 => '', ), ), $this->readCsv('bug_6370.csv', array('length' => 92))); } public function testBug6372() { $this->assertEquals(array ( 0 => array ( 0 => 'Title', 1 => 'First Name', 2 => 'Middle Name', 3 => 'Last Name', 4 => 'Suffix', 5 => 'Company', 6 => 'Department', 7 => 'Job Title', 8 => 'Business Street', 9 => 'Business Street 2', 10 => 'Business Street 3', 11 => 'Business City', 12 => 'Business State', 13 => 'Business Postal Code', 14 => 'Business Country/Region', 15 => 'Home Street', 16 => 'Home Street 2', 17 => 'Home Street 3', 18 => 'Home City', 19 => 'Home State', 20 => 'Home Postal Code', 21 => 'Home Country/Region', 22 => 'Other Street', 23 => 'Other Street 2', 24 => 'Other Street 3', 25 => 'Other City', 26 => 'Other State', 27 => 'Other Postal Code', 28 => 'Other Country/Region', 29 => 'Assistant\'s Phone', 30 => 'Business Fax', 31 => 'Business Phone', 32 => 'Business Phone 2', 33 => 'Callback', 34 => 'Car Phone', 35 => 'Company Main Phone', 36 => 'Home Fax', 37 => 'Home Phone', 38 => 'Home Phone 2', 39 => 'ISDN', 40 => 'Mobile Phone', 41 => 'Other Fax', 42 => 'Other Phone', 43 => 'Pager', 44 => 'Primary Phone', 45 => 'Radio Phone', 46 => 'TTY/TDD Phone', 47 => 'Telex', 48 => 'Account', 49 => 'Anniversary', 50 => 'Assistant\'s Name', 51 => 'Billing Information', 52 => 'Birthday', 53 => 'Business Address PO Box', 54 => 'Categories', 55 => 'Children', 56 => 'Directory Server', 57 => 'E-mail Address', 58 => 'E-mail Type', 59 => 'E-mail Display Name', 60 => 'E-mail 2 Address', 61 => 'E-mail 2 Type', 62 => 'E-mail 2 Display Name', 63 => 'E-mail 3 Address', 64 => 'E-mail 3 Type', 65 => 'E-mail 3 Display Name', 66 => 'Gender', 67 => 'Government ID Number', 68 => 'Hobby', 69 => 'Home Address PO Box', 70 => 'Initials', 71 => 'Internet Free Busy', 72 => 'Keywords', 73 => 'Language', 74 => 'Location', 75 => 'Manager\'s Name', 76 => 'Mileage', 77 => 'Notes', 78 => 'Office Location', 79 => 'Organizational ID Number', 80 => 'Other Address PO Box', 81 => 'Priority', 82 => 'Private', 83 => 'Profession', 84 => 'Referred By', 85 => 'Sensitivity', 86 => 'Spouse', 87 => 'User 1', 88 => 'User 2', 89 => 'User 3', 90 => 'User 4', 91 => 'Web Page', ), 1 => array ( 0 => '', 1 => '', 2 => '', 3 => '', 4 => '', 5 => '', 6 => '', 7 => '', 8 => '123, 12th Floor, Main Street', 9 => '', 10 => '', 11 => '', 12 => '', 13 => '', 14 => '', 15 => '', 16 => '', 17 => '', 18 => '', 19 => '', 20 => '', 21 => '', 22 => '', 23 => '', 24 => '', 25 => '', 26 => '', 27 => '', 28 => '', 29 => '', 30 => '', 31 => '', 32 => '', 33 => '', 34 => '', 35 => '', 36 => '', 37 => '', 38 => '', 39 => '', 40 => '', 41 => '', 42 => '', 43 => '', 44 => '', 45 => '', 46 => '', 47 => '', 48 => '', 49 => '0/0/00', 50 => '', 51 => '', 52 => '0/0/00', 53 => '', 54 => '', 55 => '', 56 => '', 57 => '', 58 => '', 59 => '', 60 => '', 61 => '', 62 => '', 63 => '', 64 => '', 65 => '', 66 => 'Unspecified', 67 => '', 68 => '', 69 => '', 70 => '', 71 => '', 72 => '', 73 => '', 74 => '', 75 => '', 76 => '', 77 => ' ', 78 => '', 79 => '', 80 => '', 81 => 'Normal', 82 => 'False', 83 => '', 84 => '', 85 => 'Normal', 86 => '', 87 => '', 88 => '', 89 => '', 90 => '', 91 => '', ), ), $this->readCsv('bug_6372.csv', array('length' => 92))); } public function testLineEndings() { foreach (array('simple_lf', 'simple_crlf', 'notrailing_lf', 'notrailing_crlf') as $test) { $this->assertEquals(array ( 0 => array ( 0 => 'one', 1 => 'two', 2 => 'three', ), 1 => array ( 0 => 'four', 1 => 'five', 2 => 'six', ), ), $this->readCsv($test . '.csv')); } } public function testMultiLine() { $this->assertEquals(array ( 0 => array ( 0 => 'one', 1 => 'two', 2 => 'three four', ), 1 => array ( 0 => 'five', 1 => 'six seven', 2 => 'eight', ), 2 => array ( 0 => 'nine', 1 => 'ten', 2 => 'eleven twelve', ), 3 => array ( 0 => 'one', 1 => 'two', 2 => 'three four', ), ), $this->readCsv('multiline1.csv')); } public function testQuotes() { for ($i = 1; $i <= 2; $i++) { $this->assertEquals(array ( 0 => array ( 0 => 'one', 1 => 'two', 2 => 'three', ), 1 => array ( 0 => 'four', 1 => 'five six', 2 => 'seven', ), ), $this->readCsv('quote' . $i . '.csv')); } for ($i = 3; $i <= 5; $i++) { $this->assertEquals(array ( 0 => array ( 0 => 'one two', 1 => 'three, four', 2 => 'five', ), 1 => array ( 0 => 'six', 1 => 'seven ', 2 => 'eight', ), ), $this->readCsv('quote' . $i . '.csv')); } for ($i = 6; $i <= 7; $i++) { $this->assertEquals(array ( 0 => array ( 0 => 'one', 1 => 'two', 2 => 'three', ), 1 => array ( 0 => 'four', 1 => 'five"six', 2 => 'seven "eight"', ), ), $this->readCsv('quote' . $i . '.csv')); } } } Horde_Data-2.1.4/test/Horde/Data/phpunit.xml0000664000175000017500000000005612653675402016731 0ustar janjan