diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..c247c73 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,14 @@ +project(ktp-approver) + +set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules) + +find_package(KDE4 REQUIRED) +find_package(TelepathyQt4 0.8.9 REQUIRED) + +include_directories(${KDE4_INCLUDES} ${TELEPATHY_QT4_INCLUDE_DIR}) +add_definitions(${KDE4_DEFINITIONS}) + +add_subdirectory(src) +find_package(Msgfmt REQUIRED) +find_package(Gettext REQUIRED) +add_subdirectory( po ) diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..4362b49 --- /dev/null +++ b/COPYING @@ -0,0 +1,502 @@ + 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 + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! diff --git a/cmake/modules/COPYING-CMAKE-SCRIPTS b/cmake/modules/COPYING-CMAKE-SCRIPTS new file mode 100644 index 0000000..4b41776 --- /dev/null +++ b/cmake/modules/COPYING-CMAKE-SCRIPTS @@ -0,0 +1,22 @@ +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/doc-translations/CMakeLists.txt b/doc-translations/CMakeLists.txt new file mode 100644 index 0000000..e69de29 diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt new file mode 100644 index 0000000..4f28c14 --- /dev/null +++ b/po/CMakeLists.txt @@ -0,0 +1,30 @@ +add_subdirectory( ca ) +add_subdirectory( cs ) +add_subdirectory( da ) +add_subdirectory( de ) +add_subdirectory( el ) +add_subdirectory( es ) +add_subdirectory( et ) +add_subdirectory( fi ) +add_subdirectory( fr ) +add_subdirectory( ga ) +add_subdirectory( gl ) +add_subdirectory( hu ) +add_subdirectory( it ) +add_subdirectory( ja ) +add_subdirectory( lt ) +add_subdirectory( nb ) +add_subdirectory( nds ) +add_subdirectory( nl ) +add_subdirectory( pl ) +add_subdirectory( pt ) +add_subdirectory( pt_BR ) +add_subdirectory( sk ) +add_subdirectory( sr ) +add_subdirectory( sr@ijekavian ) +add_subdirectory( sr@ijekavianlatin ) +add_subdirectory( sr@latin ) +add_subdirectory( sv ) +add_subdirectory( uk ) +add_subdirectory( zh_CN ) +add_subdirectory( zh_TW ) diff --git a/po/ca/CMakeLists.txt b/po/ca/CMakeLists.txt new file mode 100644 index 0000000..53c898a --- /dev/null +++ b/po/ca/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( ca ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/ca/kded_ktp_approver.po b/po/ca/kded_ktp_approver.po new file mode 100644 index 0000000..3c29e23 --- /dev/null +++ b/po/ca/kded_ktp_approver.po @@ -0,0 +1,82 @@ +# Translation of kded_ktp_approver.po to Catalan +# Copyright (C) 2012 This_file_is_part_of_KDE +# This file is distributed under the license LGPL version 2.1 or +# version 3 or later versions approved by the membership of KDE e.V. +# +# Josep Ma. Ferrer , 2012. +msgid "" +msgstr "" +"Project-Id-Version: kded_ktp_approver\n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2012-04-28 17:39+0200\n" +"Last-Translator: Josep Ma. Ferrer \n" +"Language-Team: Catalan \n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 1.0\n" +"X-Accelerator-Marker: &\n" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "Transferència de fitxer entrant" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" +"

%1 us està enviant un fitxer. Accepteu la transferència del fitxer?

Nom del fitxer: %2

" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "Accepta" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "Rebutja" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "Transferència de fitxer entrant de %1" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "Missatge entrant" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "Respon" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "Teniu 1 conversa entrant" +msgstr[1] "Teniu %1 converses entrants" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "(C) 2010, Collabora Ltd." + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "George Kiagiadakis" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "Josep Ma. Ferrer" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "txemaq@gmail.com" diff --git a/po/cs/CMakeLists.txt b/po/cs/CMakeLists.txt new file mode 100644 index 0000000..4512e66 --- /dev/null +++ b/po/cs/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( cs ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/cs/kded_ktp_approver.po b/po/cs/kded_ktp_approver.po new file mode 100644 index 0000000..d9e252b --- /dev/null +++ b/po/cs/kded_ktp_approver.po @@ -0,0 +1,80 @@ +# Copyright (C) YEAR This_file_is_part_of_KDE +# This file is distributed under the same license as the PACKAGE package. +# Vít Pelčák , 2011, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2012-01-09 14:49+0100\n" +"Last-Translator: Vít Pelčák \n" +"Language-Team: Czech \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" +"X-Generator: Lokalize 1.2\n" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "Příchozí přenos souboru" + +#: filetransferchannelapprover.cpp:43 +#, fuzzy, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" +"

%1 vám posílá soubor. Přijímáte tento přenos?

Název souboru: " +"%2

" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "Přijmout" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "Odmítnout" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "Příchozí přenos souboru od %1" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "Příchozí zpráva" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "Odpovědět" + +#: textchannelapprover.cpp:116 +#, fuzzy, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "Máte 1 příchozí konverzaci" +msgstr[1] "Máte %1 příchozí konverzace" +msgstr[2] "Máte %1 příchozích konverzací" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "(C) 2010, Collabora Ltd." + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "George Kiagiadakis" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "Vít Pelčák" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "vit@pelcak.org" diff --git a/po/da/CMakeLists.txt b/po/da/CMakeLists.txt new file mode 100644 index 0000000..d1793c4 --- /dev/null +++ b/po/da/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( da ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/da/kded_ktp_approver.po b/po/da/kded_ktp_approver.po new file mode 100644 index 0000000..f91c236 --- /dev/null +++ b/po/da/kded_ktp_approver.po @@ -0,0 +1,79 @@ +# Copyright (C) YEAR This_file_is_part_of_KDE +# This file is distributed under the same license as the PACKAGE package. +# +# Martin Schlander , 2011. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2011-12-26 11:47+0100\n" +"Last-Translator: Martin Schlander \n" +"Language-Team: Danish \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 1.2\n" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "Indkommende filoverførsel" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" +"

%1 sender en fil til dig. Vil du acceptere filoverførslen?

Filnavn: %2

" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "Acceptér" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "Afvis" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "Indkommende filoverførsel fra %1" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "Indkommende besked" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "Svar" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "Du har 1 indkommende samtale" +msgstr[1] "Du har %1 indkommende samtaler" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "(C) 2010, Collabora Ltd." + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "George Kiagiadakis" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "Martin Schlander" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "mschlander@opensuse.org" diff --git a/po/de/CMakeLists.txt b/po/de/CMakeLists.txt new file mode 100644 index 0000000..2346309 --- /dev/null +++ b/po/de/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( de ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/de/kded_ktp_approver.po b/po/de/kded_ktp_approver.po new file mode 100644 index 0000000..a8f63f8 --- /dev/null +++ b/po/de/kded_ktp_approver.po @@ -0,0 +1,77 @@ +# Frederik Schwarzer , 2011. +# Burkhard Lück , 2012. +msgid "" +msgstr "" +"Project-Id-Version: kded_ktp_approver\n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2012-02-07 22:28+0100\n" +"Last-Translator: Burkhard Lück \n" +"Language-Team: German \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 1.2\n" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "Eingehende Dateiübertragung" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" +"

%1 sendet Ihnen eine Datei. Möchten Sie die Datei annehmen?

Dateiname: %2

" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "Annehmen" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "Ablehnen" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "Eingehende Dateiübertragung von %1" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "Eingehende Nachricht" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "Antworten" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "Sie haben 1 eingehende Unterhaltung" +msgstr[1] "Sie haben %1 eingehende Unterhaltungen" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "© 2010, Collabora Ltd." + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "George Kiagiadakis" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "Frederik Schwarzer" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "schwarzer@kde.org" diff --git a/po/el/CMakeLists.txt b/po/el/CMakeLists.txt new file mode 100644 index 0000000..dd59b1a --- /dev/null +++ b/po/el/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( el ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/el/kded_ktp_approver.po b/po/el/kded_ktp_approver.po new file mode 100644 index 0000000..16672f3 --- /dev/null +++ b/po/el/kded_ktp_approver.po @@ -0,0 +1,79 @@ +# kded_ktp_approver.po translation [el] +# Copyright (C) YEAR This_file_is_part_of_KDE +# This file is distributed under the same license as the PACKAGE package. +# +# Stelios , 2012. +msgid "" +msgstr "" +"Project-Id-Version: kded_ktp_approver\n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2012-01-29 16:00+0200\n" +"Last-Translator: Stelios \n" +"Language-Team: Greek \n" +"Language: el\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "Μεταφορά εισερχόμενου αρχείου" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" +"

%1 σας στέλνει ένα αρχείο. Αποδέχεστε τη μεταφορά του αρχείου;

Όνομα αρχείου: %2

" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "Αποδοχή" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "Απόρριψη" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "Μεταφορά εισερχόμενου αρχείου από %1" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "Εισερχόμενο μήνυμα" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "Απάντηση" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "Έχετε 1 εισερχόμενη συνομιλία" +msgstr[1] "Έχετε %1 εισερχόμενες συνομιλίες" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "(C) 2010, Collabora Ltd." + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "George Kiagiadakis" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "Stelios" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "sstavra@gmail.com" diff --git a/po/es/CMakeLists.txt b/po/es/CMakeLists.txt new file mode 100644 index 0000000..6e120d6 --- /dev/null +++ b/po/es/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( es ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/es/kded_ktp_approver.po b/po/es/kded_ktp_approver.po new file mode 100644 index 0000000..e91eb29 --- /dev/null +++ b/po/es/kded_ktp_approver.po @@ -0,0 +1,79 @@ +# Copyright (C) YEAR This_file_is_part_of_KDE +# This file is distributed under the same license as the PACKAGE package. +# +# Kira J. Fernández , 2011. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2011-12-30 15:26+0100\n" +"Last-Translator: Kira J. Fernández \n" +"Language-Team: Spanish \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 1.2\n" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "Transferencia de archivo entrante" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" +"

%1 le está enviando un archivo. ¿Acepta la transferencia?

Nombre " +"de archivo: %2

" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "Acepta" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "Rechazar" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "Transferencia de archivo entrante de %1" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "Mensaje entrante" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "Responder" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "Tiene 1 conversación entrante" +msgstr[1] "Tiene %1 conversaciones entrantes" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "(C) 2010, Collabora Ltd." + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "George Kiagiadakis" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "Kira J. Fernández" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "kirajfdez@gmail.com" diff --git a/po/et/CMakeLists.txt b/po/et/CMakeLists.txt new file mode 100644 index 0000000..3bd0392 --- /dev/null +++ b/po/et/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( et ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/et/kded_ktp_approver.po b/po/et/kded_ktp_approver.po new file mode 100644 index 0000000..186b44a --- /dev/null +++ b/po/et/kded_ktp_approver.po @@ -0,0 +1,79 @@ +# Copyright (C) YEAR This_file_is_part_of_KDE +# This file is distributed under the same license as the PACKAGE package. +# +# Marek Laane , 2012. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2012-01-10 02:22+0200\n" +"Last-Translator: Marek Laane \n" +"Language-Team: Estonian \n" +"Language: et\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" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "Sisenev failiülekanne" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" +"

%1 saadab sulle faili. Kas võtad failiülekande vastu?

Failinimi:" +" %2

" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "Nõustu" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "Keeldu" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "Sisenev failiülekanne kasutajalt %1" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "Sisenev sõnum" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "Vasta" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "Sul on 1 sisenev vestlus" +msgstr[1] "Sul on %1 sisenevat vestlust" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "(C) 2010: Collabora Ltd." + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "George Kiagiadakis" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "Marek Laane" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "bald@smail.ee" diff --git a/po/fi/CMakeLists.txt b/po/fi/CMakeLists.txt new file mode 100644 index 0000000..f5e43fe --- /dev/null +++ b/po/fi/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( fi ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/fi/kded_ktp_approver.po b/po/fi/kded_ktp_approver.po new file mode 100644 index 0000000..e93f72c --- /dev/null +++ b/po/fi/kded_ktp_approver.po @@ -0,0 +1,78 @@ +# Copyright © 2012 This_file_is_part_of_KDE +# This file is distributed under the same license as the ktp-approver package. +# +# Tommi Nieminen , 2012. +msgid "" +msgstr "" +"Project-Id-Version: kded_ktp_approver\n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2012-04-15 22:41+0300\n" +"Last-Translator: Tommi Nieminen \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" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "Saapuva tiedostonsiirto" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" +"

%1 lähettää sinulle tiedoston. Haluatko hyväksyä tiedostonsiirron?

Tiedostonimi: %2

" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "Hyväksy" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "Torju" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "Saapuva tiedostonsiirto osoitteesta %1" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "Saapuva viesti" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "Vastaa" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "Sinulle on 1 tuleva keskustelu" +msgstr[1] "Sinulle on %1 tulevaa keskustelua" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "(C) 2010, Collabora Ltd." + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "George Kiagiadakis" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "Tommi Nieminen" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "translator@legisign.org" diff --git a/po/fr/CMakeLists.txt b/po/fr/CMakeLists.txt new file mode 100644 index 0000000..423b4ca --- /dev/null +++ b/po/fr/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( fr ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/fr/kded_ktp_approver.po b/po/fr/kded_ktp_approver.po new file mode 100644 index 0000000..b89e4ef --- /dev/null +++ b/po/fr/kded_ktp_approver.po @@ -0,0 +1,80 @@ +# translation of kded_ktp_approver.po to Français +# Copyright (C) YEAR This_file_is_part_of_KDE +# This file is distributed under the same license as the PACKAGE package. +# +# Joëlle Cornavin , 2012. +msgid "" +msgstr "" +"Project-Id-Version: kded_ktp_approver\n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2012-04-15 19:44+0200\n" +"Last-Translator: Joëlle Cornavin \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" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "Transfert de fichiers entrants" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" +"

%1 vous envoie en ce moment un fichier. Acceptez-vous le transfert du " +"fichier ?

Nom de fichier : %2

" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "Accepter" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "Rejeter" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "Transfert de fichiers entrants depuis %1" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "Message entrant" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "Répondre" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "Vous avez une conversation entrante" +msgstr[1] "Vous avez %1 conversations entrantes" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "(C) 2010, Collabora Ltd." + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "George Kiagiadakis" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "Joëlle Cornavin" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "jcorn@free.fr" diff --git a/po/ga/CMakeLists.txt b/po/ga/CMakeLists.txt new file mode 100644 index 0000000..92e492d --- /dev/null +++ b/po/ga/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( ga ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/ga/kded_ktp_approver.po b/po/ga/kded_ktp_approver.po new file mode 100644 index 0000000..37e2790 --- /dev/null +++ b/po/ga/kded_ktp_approver.po @@ -0,0 +1,77 @@ +# Irish translation of kded_ktp_approver +# Copyright (C) 2011 This_file_is_part_of_KDE +# This file is distributed under the same license as the kded_ktp_approver package. +# Kevin Scannell , 2011. +msgid "" +msgstr "" +"Project-Id-Version: kded_ktp_approver\n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2011-12-28 12:28-0500\n" +"Last-Translator: Kevin Scannell \n" +"Language-Team: Irish \n" +"Language: ga\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=5; plural=n==1 ? 0 : n==2 ? 1 : n<7 ? 2 : n < 11 ? " +"3 : 4\n" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "Glac Leis" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "Diúltaigh" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "" +msgstr[1] "" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "" + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "George Kiagiadakis" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "Kevin Scannell" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "kscanne@gmail.com" diff --git a/po/gl/CMakeLists.txt b/po/gl/CMakeLists.txt new file mode 100644 index 0000000..327956c --- /dev/null +++ b/po/gl/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( gl ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/gl/kded_ktp_approver.po b/po/gl/kded_ktp_approver.po new file mode 100644 index 0000000..7ba2f85 --- /dev/null +++ b/po/gl/kded_ktp_approver.po @@ -0,0 +1,82 @@ +# Copyright (C) YEAR This_file_is_part_of_KDE +# This file is distributed under the same license as the PACKAGE package. +# +# Xosé , 2012. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2012-01-28 00:41+0100\n" +"Last-Translator: Xosé \n" +"Language-Team: Galician \n" +"Language: gl\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.2\n" +"X-Environment: kde\n" +"X-Accelerator-Marker: &\n" +"X-Text-Markup: kde4\n" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "Transferencia de ficheiros entrante" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" +"

%1 está a enviarlle un ficheiro. Acepta a transferencia deste ficheiro?

Nome do ficheiro: %2

" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "Aceptar" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "Rexeitar" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "Transferencia de ficheiros entrante de %1" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "Mensaxe entrante" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "Respostar" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "Ten unha conversa entrante" +msgstr[1] "Ten %1 conversas entrantes" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "(C) 2010, Collabora Ltd." + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "George Kiagiadakis" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "Xosé Calvo" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "xosecalvo@gmail.com" diff --git a/po/hu/CMakeLists.txt b/po/hu/CMakeLists.txt new file mode 100644 index 0000000..15c9205 --- /dev/null +++ b/po/hu/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( hu ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/hu/kded_ktp_approver.po b/po/hu/kded_ktp_approver.po new file mode 100644 index 0000000..9def07e --- /dev/null +++ b/po/hu/kded_ktp_approver.po @@ -0,0 +1,79 @@ +# Copyright (C) YEAR This_file_is_part_of_KDE +# This file is distributed under the same license as the PACKAGE package. +# +# Kristóf Kiszel , 2012. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2012-01-17 12:39+0100\n" +"Last-Translator: Kristóf Kiszel \n" +"Language-Team: Hungarian \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 1.2\n" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "Bejövő fájlátvitel" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" +"

%1 egy fájlt küld Önnek. Elfogadja az átvitelt?

Fájlnév: %2" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "Elfogadás" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "Visszautasítás" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "Bejövő fájlátvitel %1 partnertől" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "Bejövő üzenet" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "Válasz" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "1 bejövő társalgás" +msgstr[1] "%1 bejövő társalgás" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "© Collabora Ltd., 2010." + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "George Kiagiadakis" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "Kiszel Kristóf" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "ulysses@kubuntu.org" diff --git a/po/it/CMakeLists.txt b/po/it/CMakeLists.txt new file mode 100644 index 0000000..e4837ce --- /dev/null +++ b/po/it/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( it ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/it/kded_ktp_approver.po b/po/it/kded_ktp_approver.po new file mode 100644 index 0000000..1f4d782 --- /dev/null +++ b/po/it/kded_ktp_approver.po @@ -0,0 +1,80 @@ +# translation of telepathy-kde-approver.po to Italian +# Copyright (C) YEAR This_file_is_part_of_KDE +# This file is distributed under the same license as the PACKAGE package. +# +# Pino Toscano , 2011. +msgid "" +msgstr "" +"Project-Id-Version: telepathy-kde-approver\n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2011-12-21 11:04+0100\n" +"Last-Translator: Pino Toscano \n" +"Language-Team: Italian \n" +"Language: it\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: KBabel 1.11.4\n" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "Transferimento di file in arrivo" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" +"

%1 ti sta inviando un file. Vuoi accettare il trasferimento di file?

Nome del file: %2

" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "Accetta" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "Rifiuta" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "Transferimento di file in arrivo da %1" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "Messaggio in arrivo" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "Rispondi" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "Hai una conversazione in arrivo" +msgstr[1] "Hai %1 conversazioni in arrivo" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "(C) 2010, Collabora Ltd." + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "George Kiagiadakis" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "Pino Toscano" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "toscano.pino@tiscali.it" diff --git a/po/ja/CMakeLists.txt b/po/ja/CMakeLists.txt new file mode 100644 index 0000000..cf3d814 --- /dev/null +++ b/po/ja/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( ja ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/ja/kded_ktp_approver.po b/po/ja/kded_ktp_approver.po new file mode 100644 index 0000000..affa239 --- /dev/null +++ b/po/ja/kded_ktp_approver.po @@ -0,0 +1,74 @@ +msgid "" +msgstr "" +"Project-Id-Version: telepathy-kde-approver\n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2011-10-25 22:58-0700\n" +"Last-Translator: Japanese KDE translation team \n" +"Language-Team: Japanese \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Accelerator-Marker: &\n" +"X-Text-Markup: kde4\n" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "" +msgstr[1] "" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "" + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "" diff --git a/po/lt/CMakeLists.txt b/po/lt/CMakeLists.txt new file mode 100644 index 0000000..5995d97 --- /dev/null +++ b/po/lt/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( lt ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/lt/kded_ktp_approver.po b/po/lt/kded_ktp_approver.po new file mode 100644 index 0000000..d440eec --- /dev/null +++ b/po/lt/kded_ktp_approver.po @@ -0,0 +1,79 @@ +# Lithuanian translations for l package. +# Copyright (C) 2012 This_file_is_part_of_KDE +# This file is distributed under the same license as the l package. +# Automatically generated, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: l 10n\n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2012-01-02 14:29+0300\n" +"Last-Translator: Andrius Štikonas \n" +"Language-Team: none\n" +"Language: \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==1 ? 0 : n%10>=2 && (n%100<10 || n" +"%100>=20) ? 1 : n%10==0 || (n%100>10 && n%100<20) ? 2 : 3);\n" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "Priimti" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "Atmesti" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "Įeinanti žinutė" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "Atsiliepti" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "(C) 2010, Collabora Ltd." + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "George Kiagiadakis" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "" diff --git a/po/nb/CMakeLists.txt b/po/nb/CMakeLists.txt new file mode 100644 index 0000000..6086150 --- /dev/null +++ b/po/nb/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( nb ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/nb/kded_ktp_approver.po b/po/nb/kded_ktp_approver.po new file mode 100644 index 0000000..4ba70ee --- /dev/null +++ b/po/nb/kded_ktp_approver.po @@ -0,0 +1,81 @@ +# Translation of kded_ktp_approver to Norwegian Bokmål +# +# Bjørn Steensrud , 2012. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-03-30 04:41+0200\n" +"PO-Revision-Date: 2012-02-07 13:10+0100\n" +"Last-Translator: Bjørn Steensrud \n" +"Language-Team: Norwegian Bokmål \n" +"Language: nb\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.2\n" +"X-Environment: kde\n" +"X-Accelerator-Marker: &\n" +"X-Text-Markup: kde4\n" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "Innkommende filoverføring" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" +"

%1 sender deg en fil. Godtar du filoverføringen?

Filnavn: " +"%2

" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "Godta" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "Avvis" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "Innkommende filoverføring fra %1" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "© 2010 Collabora Ltd." + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "George Kiagiadakis" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "Innkommende melding" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "Svar" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "Du har 1 innkommende samtale" +msgstr[1] "Du har %1 innkommende samtaler" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "Bjørn Steensrud" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "bjornst@skogkatt.homelinux.org" diff --git a/po/nds/CMakeLists.txt b/po/nds/CMakeLists.txt new file mode 100644 index 0000000..dafa907 --- /dev/null +++ b/po/nds/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( nds ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/nds/kded_ktp_approver.po b/po/nds/kded_ktp_approver.po new file mode 100644 index 0000000..d78b7d9 --- /dev/null +++ b/po/nds/kded_ktp_approver.po @@ -0,0 +1,80 @@ +# translation of telepathy-kde-approver.po to Low Saxon +# Copyright (C) YEAR This_file_is_part_of_KDE +# This file is distributed under the same license as the PACKAGE package. +# Manfred Wiese , 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: telepathy-kde-approver\n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2011-10-25 19:22+0200\n" +"Last-Translator: Manfred Wiese \n" +"Language-Team: Low Saxon \n" +"Language: nds\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.0\n" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "Ankamen Dateiöverdregen" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "Annehmen" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "Afwiesen" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "Ankamen Naricht" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "" +msgstr[1] "" + +#: ktpapprovermodule.cpp:74 +#, fuzzy +#| msgid "(C) 2010, Collabora Ltd." +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "© 2010, Collabora Ltd." + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "George Kiagiadakis" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "Manfred Wiese" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "m.j.wiese@web.de" diff --git a/po/nl/CMakeLists.txt b/po/nl/CMakeLists.txt new file mode 100644 index 0000000..b312828 --- /dev/null +++ b/po/nl/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( nl ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/nl/kded_ktp_approver.po b/po/nl/kded_ktp_approver.po new file mode 100644 index 0000000..79a381b --- /dev/null +++ b/po/nl/kded_ktp_approver.po @@ -0,0 +1,79 @@ +# Copyright (C) YEAR This_file_is_part_of_KDE +# This file is distributed under the same license as the PACKAGE package. +# +# Freek de Kruijf , 2012. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2012-01-17 13:59+0100\n" +"Last-Translator: Freek de Kruijf \n" +"Language-Team: Dutch \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 1.2\n" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "Inkomende bestandsoverdracht" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" +"

%1 is bezig een bestand te verzenden. Accepteert u de bestandsoverdracht?" +"

Bestandsnaam: %2

" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "Accepteren" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "Weigeren" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "Inkomende bestandsoverdracht van %1" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "Inkomend bericht" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "Antwoord" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "U hebt 1 inkomende conversatie" +msgstr[1] "U hebt %1 inkomende conversaties" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "(C) 2010, Collabora Ltd." + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "George Kiagiadakis" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "Freek de Kruijf" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "freekdekruijf@kde.nl" diff --git a/po/pl/CMakeLists.txt b/po/pl/CMakeLists.txt new file mode 100644 index 0000000..64107bd --- /dev/null +++ b/po/pl/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( pl ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/pl/kded_ktp_approver.po b/po/pl/kded_ktp_approver.po new file mode 100644 index 0000000..347e79b --- /dev/null +++ b/po/pl/kded_ktp_approver.po @@ -0,0 +1,81 @@ +# Copyright (C) YEAR This_file_is_part_of_KDE +# This file is distributed under the same license as the PACKAGE package. +# +# Łukasz Wojniłowicz , 2012. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2012-01-06 08:36+0100\n" +"Last-Translator: Łukasz Wojniłowicz \n" +"Language-Team: Polish \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%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" +"X-Generator: Lokalize 1.2\n" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "Przychodzące przesyłanie pliku" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" +"

%1 przesyła tobie plik. Czy akceptujesz przesyłanie pliku?

Nazwa " +"pliku: %2

" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "Akceptuj" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "Odrzuć" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "Przychodzącego przesyłania pliku od %1" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "Wiadomość przychodząca" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "Odpowiedz" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "Masz 1 przychodzącą konwersację" +msgstr[1] "Masz %1 przychodzące konwersacje" +msgstr[2] "Masz %1 przychodzących konwersacji" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "(C) 2010, Collabora Ltd." + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "George Kiagiadakis" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "Łukasz Wojniłowicz" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "lukasz.wojnilowicz@gmail.com" diff --git a/po/pt/CMakeLists.txt b/po/pt/CMakeLists.txt new file mode 100644 index 0000000..6916d85 --- /dev/null +++ b/po/pt/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( pt ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/pt/kded_ktp_approver.po b/po/pt/kded_ktp_approver.po new file mode 100644 index 0000000..509844e --- /dev/null +++ b/po/pt/kded_ktp_approver.po @@ -0,0 +1,75 @@ +msgid "" +msgstr "" +"Project-Id-Version: kded_ktp_approver\n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2011-12-24 10:38+0000\n" +"Last-Translator: José Nuno Coelho Pires \n" +"Language-Team: Portuguese \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-POFile-SpellExtra: Collabora Kiagiadakis Ltd\n" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "Recepção de ficheiro" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" +"

O %1 está a enviar um ficheiro para si. Deseja aceitar a transferência do " +"ficheiro?

Nome: %2

" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "Aceitar" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "Rejeitar" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "Recepção de ficheiro de %1" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "Mensagem de recepção" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "Responder" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "Recebeu uma conversa" +msgstr[1] "Recebeu %1 conversas" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "(C) 2010, Collabora Ltd." + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "George Kiagiadakis" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "José Nuno Pires" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "zepires@gmail.com" diff --git a/po/pt_BR/CMakeLists.txt b/po/pt_BR/CMakeLists.txt new file mode 100644 index 0000000..27b7a7a --- /dev/null +++ b/po/pt_BR/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( pt_BR ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/pt_BR/kded_ktp_approver.po b/po/pt_BR/kded_ktp_approver.po new file mode 100644 index 0000000..8667676 --- /dev/null +++ b/po/pt_BR/kded_ktp_approver.po @@ -0,0 +1,79 @@ +# Copyright (C) YEAR This_file_is_part_of_KDE +# This file is distributed under the same license as the PACKAGE package. +# +# André Marcelo Alvarenga , 2011. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2011-12-24 10:41-0200\n" +"Last-Translator: André Marcelo Alvarenga \n" +"Language-Team: Brazilian Portuguese \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Lokalize 1.0\n" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "Transferência de arquivo recebida" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" +"

O %1 está a enviando um arquivo para você. Deseja aceitar a transferência " +"do arquivo?

Nome do arquivo: %2

" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "Aceitar" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "Rejeitar" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "Recepção de arquivo de %1" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "Mensagem recebida" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "Responder" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "Você recebeu uma conversa" +msgstr[1] "Você recebeu %1 conversas" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "(C) 2010, Collabora Ltd." + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "George Kiagiadakis" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "André Marcelo Alvarenga" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "alvarenga@kde.org" diff --git a/po/sk/CMakeLists.txt b/po/sk/CMakeLists.txt new file mode 100644 index 0000000..9b6d1b3 --- /dev/null +++ b/po/sk/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( sk ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/sk/kded_ktp_approver.po b/po/sk/kded_ktp_approver.po new file mode 100644 index 0000000..9ce3e16 --- /dev/null +++ b/po/sk/kded_ktp_approver.po @@ -0,0 +1,76 @@ +# translation of kded_ktp_approver.po to Slovak +# Richard Frič , 2012. +msgid "" +msgstr "" +"Project-Id-Version: kded_ktp_approver\n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2012-02-13 21:46+0100\n" +"Last-Translator: Richard Frič \n" +"Language-Team: Slovak \n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Lokalize 1.2\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "(C) 2010, Collabora Ltd." + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "George Kiagiadakis" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "" diff --git a/po/sr/CMakeLists.txt b/po/sr/CMakeLists.txt new file mode 100644 index 0000000..e9ad1fa --- /dev/null +++ b/po/sr/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( sr ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/sr/kded_ktp_approver.po b/po/sr/kded_ktp_approver.po new file mode 100644 index 0000000..018d423 --- /dev/null +++ b/po/sr/kded_ktp_approver.po @@ -0,0 +1,83 @@ +# Translation of kded_ktp_approver.po into Serbian. +# Mladen Pejakovic , 2012. +# Chusslove Illich , 2012. +msgid "" +msgstr "" +"Project-Id-Version: kded_ktp_approver\n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2012-03-19 01:08+0100\n" +"Last-Translator: Chusslove Illich \n" +"Language-Team: Serbian \n" +"Language: sr\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==1 ? 3 : n%10==1 && n%100!=11 ? 0 : n" +"%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"X-Accelerator-Marker: &\n" +"X-Text-Markup: kde4\n" +"X-Environment: kde\n" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "Долазни пренос фајла" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" +"

%1 вам шаље фајл. Прихватате ли пренос овог фајла?

Име фајла: %2

" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "Прихвати" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "Одбиј" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "Долазни фајл од %1" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "Долазна порука" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "Одговори" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "Имате %1 долазни разговор" +msgstr[1] "Имате %1 долазна разговора" +msgstr[2] "Имате %1 долазних разговора" +msgstr[3] "Имате долазни разговор" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "© 2010, Колабора" + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "Георгиос Кјајадакис" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "Младен Пејаковић" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "pejakm@gmail.com" diff --git a/po/sr@ijekavian/CMakeLists.txt b/po/sr@ijekavian/CMakeLists.txt new file mode 100644 index 0000000..2921006 --- /dev/null +++ b/po/sr@ijekavian/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( sr@ijekavian ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/sr@ijekavian/kded_ktp_approver.po b/po/sr@ijekavian/kded_ktp_approver.po new file mode 100644 index 0000000..e1c1b3e --- /dev/null +++ b/po/sr@ijekavian/kded_ktp_approver.po @@ -0,0 +1,83 @@ +# Translation of kded_ktp_approver.po into Serbian. +# Mladen Pejakovic , 2012. +# Chusslove Illich , 2012. +msgid "" +msgstr "" +"Project-Id-Version: kded_ktp_approver\n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2012-03-19 01:08+0100\n" +"Last-Translator: Chusslove Illich \n" +"Language-Team: Serbian \n" +"Language: sr@ijekavian\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==1 ? 3 : n%10==1 && n%100!=11 ? 0 : n" +"%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"X-Accelerator-Marker: &\n" +"X-Text-Markup: kde4\n" +"X-Environment: kde\n" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "Долазни пренос фајла" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" +"

%1 вам шаље фајл. Прихватате ли пренос овог фајла?

Име фајла: %2

" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "Прихвати" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "Одбиј" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "Долазни фајл од %1" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "Долазна порука" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "Одговори" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "Имате %1 долазни разговор" +msgstr[1] "Имате %1 долазна разговора" +msgstr[2] "Имате %1 долазних разговора" +msgstr[3] "Имате долазни разговор" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "© 2010, Колабора" + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "Георгиос Кјајадакис" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "Младен Пејаковић" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "pejakm@gmail.com" diff --git a/po/sr@ijekavianlatin/CMakeLists.txt b/po/sr@ijekavianlatin/CMakeLists.txt new file mode 100644 index 0000000..6871339 --- /dev/null +++ b/po/sr@ijekavianlatin/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( sr@ijekavianlatin ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/sr@ijekavianlatin/kded_ktp_approver.po b/po/sr@ijekavianlatin/kded_ktp_approver.po new file mode 100644 index 0000000..1fd6bcf --- /dev/null +++ b/po/sr@ijekavianlatin/kded_ktp_approver.po @@ -0,0 +1,83 @@ +# Translation of kded_ktp_approver.po into Serbian. +# Mladen Pejakovic , 2012. +# Chusslove Illich , 2012. +msgid "" +msgstr "" +"Project-Id-Version: kded_ktp_approver\n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2012-03-19 01:08+0100\n" +"Last-Translator: Chusslove Illich \n" +"Language-Team: Serbian \n" +"Language: sr@ijekavianlatin\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==1 ? 3 : n%10==1 && n%100!=11 ? 0 : n" +"%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"X-Accelerator-Marker: &\n" +"X-Text-Markup: kde4\n" +"X-Environment: kde\n" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "Dolazni prenos fajla" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" +"

%1 vam šalje fajl. Prihvatate li prenos ovog fajla?

Ime fajla: %2

" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "Prihvati" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "Odbij" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "Dolazni fajl od %1" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "Dolazna poruka" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "Odgovori" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "Imate %1 dolazni razgovor" +msgstr[1] "Imate %1 dolazna razgovora" +msgstr[2] "Imate %1 dolaznih razgovora" +msgstr[3] "Imate dolazni razgovor" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "© 2010, Collabora" + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "Georgios Kjajadakis" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "Mladen Pejaković" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "pejakm@gmail.com" diff --git a/po/sr@latin/CMakeLists.txt b/po/sr@latin/CMakeLists.txt new file mode 100644 index 0000000..af0ad4b --- /dev/null +++ b/po/sr@latin/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( sr@latin ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/sr@latin/kded_ktp_approver.po b/po/sr@latin/kded_ktp_approver.po new file mode 100644 index 0000000..cb20619 --- /dev/null +++ b/po/sr@latin/kded_ktp_approver.po @@ -0,0 +1,83 @@ +# Translation of kded_ktp_approver.po into Serbian. +# Mladen Pejakovic , 2012. +# Chusslove Illich , 2012. +msgid "" +msgstr "" +"Project-Id-Version: kded_ktp_approver\n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2012-03-19 01:08+0100\n" +"Last-Translator: Chusslove Illich \n" +"Language-Team: Serbian \n" +"Language: sr@latin\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==1 ? 3 : n%10==1 && n%100!=11 ? 0 : n" +"%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"X-Accelerator-Marker: &\n" +"X-Text-Markup: kde4\n" +"X-Environment: kde\n" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "Dolazni prenos fajla" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" +"

%1 vam šalje fajl. Prihvatate li prenos ovog fajla?

Ime fajla: %2

" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "Prihvati" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "Odbij" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "Dolazni fajl od %1" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "Dolazna poruka" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "Odgovori" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "Imate %1 dolazni razgovor" +msgstr[1] "Imate %1 dolazna razgovora" +msgstr[2] "Imate %1 dolaznih razgovora" +msgstr[3] "Imate dolazni razgovor" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "© 2010, Collabora" + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "Georgios Kjajadakis" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "Mladen Pejaković" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "pejakm@gmail.com" diff --git a/po/sv/CMakeLists.txt b/po/sv/CMakeLists.txt new file mode 100644 index 0000000..852709c --- /dev/null +++ b/po/sv/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( sv ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/sv/kded_ktp_approver.po b/po/sv/kded_ktp_approver.po new file mode 100644 index 0000000..e8be735 --- /dev/null +++ b/po/sv/kded_ktp_approver.po @@ -0,0 +1,79 @@ +# Copyright (C) YEAR This_file_is_part_of_KDE +# This file is distributed under the same license as the PACKAGE package. +# +# Stefan Asserhall , 2011. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2011-12-20 17:15+0100\n" +"Last-Translator: Stefan Asserhall \n" +"Language-Team: Swedish \n" +"Language: sv\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" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "Inkommande filöverföring" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" +"

%1 skickar en fil till dig. Accepterar du filöverföringen?

Filnamn: %2

" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "Acceptera" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "Avslå" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "Inkommande filöverföring från %1" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "Inkommande meddelande" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "Svara" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "Du har en inkommande konversation" +msgstr[1] "Du har en %1 inkommande konversationer" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "© 2010, Collabora Ltd." + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "George Kiagiadakis" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "Stefan Asserhäll" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "stefan.asserhall@comhem.se" diff --git a/po/uk/CMakeLists.txt b/po/uk/CMakeLists.txt new file mode 100644 index 0000000..451208b --- /dev/null +++ b/po/uk/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( uk ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/uk/kded_ktp_approver.po b/po/uk/kded_ktp_approver.po new file mode 100644 index 0000000..f30acd9 --- /dev/null +++ b/po/uk/kded_ktp_approver.po @@ -0,0 +1,82 @@ +# Copyright (C) YEAR This_file_is_part_of_KDE +# This file is distributed under the same license as the PACKAGE package. +# +# Yuri Chornoivan , 2011. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2011-12-20 18:40+0200\n" +"Last-Translator: Yuri Chornoivan \n" +"Language-Team: Ukrainian \n" +"Language: \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==1 ? 3 : n%10==1 && n%100!=11 ? 0 : n" +"%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"X-Generator: Lokalize 1.2\n" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "Вхідне перенесення файла" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" +"

Отримано повідомлення щодо надсилання файла від %1. Ви згодні прийняти " +"цей файл?

Назва файла: %2

" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "Прийняти" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "Відмовити" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "Вхідне передавання файла від %1" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "Вхідне повідомлення" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "Відповісти" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "Надійшов %1 вхідний запит щодо спілкування" +msgstr[1] "Надійшло %1 вхідних запити щодо спілкування" +msgstr[2] "Надійшло %1 вхідних запитів щодо спілкування" +msgstr[3] "Надійшов вхідний запит щодо спілкування" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "© Collabora Ltd., 2010" + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "George Kiagiadakis" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "Юрій Чорноіван" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "yurchor@ukr.net" diff --git a/po/zh_CN/CMakeLists.txt b/po/zh_CN/CMakeLists.txt new file mode 100644 index 0000000..64885b9 --- /dev/null +++ b/po/zh_CN/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( zh_CN ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/zh_CN/kded_ktp_approver.po b/po/zh_CN/kded_ktp_approver.po new file mode 100644 index 0000000..f146435 --- /dev/null +++ b/po/zh_CN/kded_ktp_approver.po @@ -0,0 +1,78 @@ +# Copyright (C) YEAR This_file_is_part_of_KDE +# This file is distributed under the same license as the PACKAGE package. +# +# Ni Hui , 2012. +# Weng Xuetian , 2012. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2012-04-20 02:04+0800\n" +"Last-Translator: Weng Xuetian \n" +"Language-Team: Chinese Simplified \n" +"Language: zh_CN\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: Lokalize 1.4\n" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "收到文件传输" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" +"

%1 向您发送文件。您是否接受此次文件传输?

文件名: %2

" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "接受" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "拒绝" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "收到 %1 的文件传输" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "收到消息" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "响应" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "您有 %1 个会话" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "(C) 2010,Collabora Ltd." + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "George Kiagiadakis" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "KDE 中国" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "kde-china@kde.org" diff --git a/po/zh_TW/CMakeLists.txt b/po/zh_TW/CMakeLists.txt new file mode 100644 index 0000000..4934573 --- /dev/null +++ b/po/zh_TW/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB _po_files *.po) +GETTEXT_PROCESS_PO_FILES( zh_TW ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} ) diff --git a/po/zh_TW/kded_ktp_approver.po b/po/zh_TW/kded_ktp_approver.po new file mode 100644 index 0000000..c821311 --- /dev/null +++ b/po/zh_TW/kded_ktp_approver.po @@ -0,0 +1,77 @@ +# Copyright (C) YEAR This_file_is_part_of_KDE +# This file is distributed under the same license as the PACKAGE package. +# +# Franklin Weng , 2012. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2012-06-02 03:25+0200\n" +"PO-Revision-Date: 2012-01-04 08:17+0800\n" +"Last-Translator: Franklin Weng \n" +"Language-Team: Chinese Traditional \n" +"Language: \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: Lokalize 1.2\n" + +#: filetransferchannelapprover.cpp:40 filetransferchannelapprover.cpp:67 +msgid "Incoming file transfer" +msgstr "進來的檔案傳輸" + +#: filetransferchannelapprover.cpp:43 +#, kde-format +msgid "" +"

%1 is sending you a file. Do you accept the file transfer?

Filename: %2

" +msgstr "" +"

%1 正在傳送檔案給您。您要接受此檔案傳輸嗎?

檔名:%2

" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:71 +msgid "Accept" +msgstr "接受" + +#: filetransferchannelapprover.cpp:54 filetransferchannelapprover.cpp:72 +msgid "Reject" +msgstr "拒絕" + +#: filetransferchannelapprover.cpp:69 +#, kde-format +msgid "Incoming file transfer from %1" +msgstr "從 %1 來的檔案傳輸" + +#: textchannelapprover.cpp:70 +msgid "Incoming message" +msgstr "進來的訊息" + +#: textchannelapprover.cpp:73 +msgid "Respond" +msgstr "回應" + +#: textchannelapprover.cpp:116 +#, kde-format +msgid "You have 1 incoming conversation" +msgid_plural "You have %1 incoming conversations" +msgstr[0] "您有 %1 個進來的對話" + +#: ktpapprovermodule.cpp:74 +msgctxt "@info:credit" +msgid "(C) 2010, Collabora Ltd." +msgstr "(C) 2010, Collabora Ltd." + +#: ktpapprovermodule.cpp:75 +msgctxt "@info:credit" +msgid "George Kiagiadakis" +msgstr "George Kiagiadakis" + +#: rc.cpp:1 +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "Frank Weng (a.k.a. Franklin)" + +#: rc.cpp:2 +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "franklin at goodhorse dot idv dot tw" diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..1d6f697 --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,25 @@ +set(ktp_approver_SRCS + ktpapprovermodule.cpp + approverdaemon.cpp + dispatchoperation.cpp + handlewithcaller.cpp + channelapprover.cpp + textchannelapprover.cpp + filetransferchannelapprover.cpp +) + +include_directories(${CMAKE_CURRENT_BINARY_DIR}) + +kde4_add_plugin(kded_ktp_approver ${ktp_approver_SRCS}) +target_link_libraries(kded_ktp_approver ${KDE4_KDEUI_LIBS} + ${TELEPATHY_QT4_LIBRARIES}) + +install(TARGETS kded_ktp_approver DESTINATION ${PLUGIN_INSTALL_DIR}) +install(FILES ktp_approver.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded) +install(FILES ktp_approverrc DESTINATION ${CONFIG_INSTALL_DIR}) + +find_file(DBUS_SEND_PATH dbus-send HINTS /usr/bin) +configure_file(org.freedesktop.Telepathy.Client.KTp.Approver.service.in + ${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.Telepathy.Client.KTp.Approver.service) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.Telepathy.Client.KTp.Approver.service + DESTINATION ${DBUS_SERVICES_INSTALL_DIR}) diff --git a/src/Messages.sh b/src/Messages.sh new file mode 100644 index 0000000..92a5739 --- /dev/null +++ b/src/Messages.sh @@ -0,0 +1,4 @@ +#! /usr/bin/env bash +#$EXTRACTRC `find . -name "*.ui"` >> rc.cpp || exit 11 +$XGETTEXT `find . -name "*.cpp"` -o $podir/kded_ktp_approver.pot +#rm -f rc.cpp diff --git a/src/approverdaemon.cpp b/src/approverdaemon.cpp new file mode 100644 index 0000000..d8239b7 --- /dev/null +++ b/src/approverdaemon.cpp @@ -0,0 +1,45 @@ +/* + Copyright (C) 2010 Collabora Ltd. + @author George Kiagiadakis + + This library is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ +#include "approverdaemon.h" +#include "dispatchoperation.h" +#include +#include + +static inline Tp::ChannelClassSpecList channelClassSpecList() +{ + return Tp::ChannelClassSpecList() + << Tp::ChannelClassSpec::textChat() + << Tp::ChannelClassSpec::unnamedTextChat() + << Tp::ChannelClassSpec::textChatroom() + << Tp::ChannelClassSpec::incomingFileTransfer() + ; +} + +ApproverDaemon::ApproverDaemon(QObject *parent) + : QObject(parent), AbstractClientApprover(channelClassSpecList()) +{ +} + +void ApproverDaemon::addDispatchOperation(const Tp::MethodInvocationContextPtr<> & context, + const Tp::ChannelDispatchOperationPtr & dispatchOperation) +{ + new DispatchOperation(dispatchOperation, this); + context->setFinished(); +} + +#include "approverdaemon.moc" diff --git a/src/approverdaemon.h b/src/approverdaemon.h new file mode 100644 index 0000000..4d41414 --- /dev/null +++ b/src/approverdaemon.h @@ -0,0 +1,34 @@ +/* + Copyright (C) 2010 Collabora Ltd. + @author George Kiagiadakis + + This library is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ +#ifndef APPROVERDAEMON_H +#define APPROVERDAEMON_H + +#include + +class ApproverDaemon : public QObject, public Tp::AbstractClientApprover +{ + Q_OBJECT +public: + ApproverDaemon(QObject *parent = 0); + +protected: + virtual void addDispatchOperation(const Tp::MethodInvocationContextPtr<> & context, + const Tp::ChannelDispatchOperationPtr & dispatchOperation); +}; + +#endif // APPROVERDAEMON_H diff --git a/src/channelapprover.cpp b/src/channelapprover.cpp new file mode 100644 index 0000000..4130a86 --- /dev/null +++ b/src/channelapprover.cpp @@ -0,0 +1,38 @@ +/* + Copyright (C) 2010 Collabora Ltd. + @author George Kiagiadakis + + This library is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ +#include "channelapprover.h" +#include "textchannelapprover.h" +#include "filetransferchannelapprover.h" + +ChannelApprover *ChannelApprover::create(const Tp::ChannelPtr & channel, QObject *parent) +{ + if (channel->channelType() == TP_QT_IFACE_CHANNEL_TYPE_TEXT) { + return new TextChannelApprover(Tp::TextChannelPtr::dynamicCast(channel), parent); + } + + if (channel->channelType() == TP_QT_IFACE_CHANNEL_TYPE_FILE_TRANSFER) { + return new FileTransferChannelApprover( + Tp::FileTransferChannelPtr::dynamicCast(channel), + parent); + } + + Q_ASSERT(false); + return NULL; +} + +#include "channelapprover.moc" diff --git a/src/channelapprover.h b/src/channelapprover.h new file mode 100644 index 0000000..5846249 --- /dev/null +++ b/src/channelapprover.h @@ -0,0 +1,40 @@ +/* + Copyright (C) 2010 Collabora Ltd. + @author George Kiagiadakis + + This library is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ +#ifndef CHANNELAPPROVER_H +#define CHANNELAPPROVER_H + +#include +#include + +class ChannelApprover : public QObject +{ + Q_OBJECT +public: + static ChannelApprover *create(const Tp::ChannelPtr & channel, QObject *parent); + + virtual ~ChannelApprover() {} + +Q_SIGNALS: + void channelAccepted(); + void channelRejected(); + +protected: + inline ChannelApprover(QObject *parent) : QObject(parent) {} +}; + +#endif // CHANNELAPPROVER_H diff --git a/src/dispatchoperation.cpp b/src/dispatchoperation.cpp new file mode 100644 index 0000000..a1a3327 --- /dev/null +++ b/src/dispatchoperation.cpp @@ -0,0 +1,97 @@ +/* + Copyright (C) 2010 Collabora Ltd. + @author George Kiagiadakis + + This library is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ +#include "dispatchoperation.h" +#include "channelapprover.h" +#include "handlewithcaller.h" +#include +#include + +DispatchOperation::DispatchOperation(const Tp::ChannelDispatchOperationPtr & dispatchOperation, + QObject *parent) + : QObject(parent), m_dispatchOperation(dispatchOperation) +{ + connect(m_dispatchOperation.data(), SIGNAL(channelLost(Tp::ChannelPtr,QString,QString)), + SLOT(onChannelLost(Tp::ChannelPtr,QString,QString))); + connect(m_dispatchOperation.data(), SIGNAL(invalidated(Tp::DBusProxy*,QString,QString)), + SLOT(onDispatchOperationInvalidated(Tp::DBusProxy*,QString,QString))); + + Q_FOREACH(const Tp::ChannelPtr & channel, dispatchOperation->channels()) { + ChannelApprover *approver = ChannelApprover::create(channel, this); + Q_ASSERT(approver); + + m_channelApprovers.insert(channel, approver); + + connect(approver, SIGNAL(channelAccepted()), SLOT(onChannelAccepted())); + connect(approver, SIGNAL(channelRejected()), SLOT(onChannelRejected())); + } + + Q_ASSERT(!m_channelApprovers.isEmpty()); +} + +DispatchOperation::~DispatchOperation() +{ + kDebug(); +} + +void DispatchOperation::onChannelLost(const Tp::ChannelPtr & channel, + const QString & errorName, + const QString & errorMessage) +{ + kDebug() << "Channel lost:" << errorName << errorMessage; + + ChannelApprover *approver = m_channelApprovers.take(channel); + Q_ASSERT(approver); + approver->deleteLater(); +} + +void DispatchOperation::onDispatchOperationInvalidated(Tp::DBusProxy *proxy, + const QString & errorName, + const QString & errorMessage) +{ + Q_UNUSED(proxy); + kDebug() << "Dispatch operation invalidated" << errorName << errorMessage; + deleteLater(); +} + +void DispatchOperation::onChannelAccepted() +{ + new HandleWithCaller(m_dispatchOperation, this); +} + +void DispatchOperation::onChannelRejected() +{ + Tp::PendingOperation *operation = m_dispatchOperation->claim(); + connect(operation, SIGNAL(finished(Tp::PendingOperation*)), + SLOT(onClaimFinished(Tp::PendingOperation*))); +} + +void DispatchOperation::onClaimFinished(Tp::PendingOperation *operation) +{ + if (operation->isError()) { + kDebug() << "Claim error:" << operation->errorName() << operation->errorMessage(); + return; + } + + QHashIterator it(m_channelApprovers); + while(it.hasNext()) { + it.next(); + it.key()->requestClose(); + } +} + +#include "dispatchoperation.moc" diff --git a/src/dispatchoperation.h b/src/dispatchoperation.h new file mode 100644 index 0000000..8808d42 --- /dev/null +++ b/src/dispatchoperation.h @@ -0,0 +1,50 @@ +/* + Copyright (C) 2010 Collabora Ltd. + @author George Kiagiadakis + + This library is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ +#ifndef DISPATCHOPERATION_H +#define DISPATCHOPERATION_H + +#include +#include + +class ChannelApprover; + +class DispatchOperation : public QObject +{ + Q_OBJECT +public: + DispatchOperation(const Tp::ChannelDispatchOperationPtr & dispatchOperation, QObject *parent); + virtual ~DispatchOperation(); + + +private Q_SLOTS: + void onChannelLost(const Tp::ChannelPtr & channel, + const QString & errorName, + const QString & errorMessage); + void onDispatchOperationInvalidated(Tp::DBusProxy *proxy, + const QString & errorName, + const QString & errorMessage); + void onChannelAccepted(); + void onChannelRejected(); + void onClaimFinished(Tp::PendingOperation *operation); + +private: + Tp::ChannelDispatchOperationPtr m_dispatchOperation; + QHash m_channelApprovers; +}; + +#endif // DISPATCHOPERATION_H diff --git a/src/filetransferchannelapprover.cpp b/src/filetransferchannelapprover.cpp new file mode 100644 index 0000000..f4ddc40 --- /dev/null +++ b/src/filetransferchannelapprover.cpp @@ -0,0 +1,89 @@ +/* + Copyright (C) 2010-2011 Collabora Ltd. + @author George Kiagiadakis + + This library is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ +#include "filetransferchannelapprover.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include + +FileTransferChannelApprover::FileTransferChannelApprover( + const Tp::FileTransferChannelPtr & channel, + QObject *parent) + : ChannelApprover(parent) +{ + kDebug(); + + //notification + m_notification = new KNotification("incoming_file_transfer"); + KAboutData aboutData("ktelepathy",0,KLocalizedString(),0); + m_notification.data()->setComponentData(KComponentData(aboutData)); + m_notification.data()->setTitle(i18n("Incoming file transfer")); + + Tp::ContactPtr sender = channel->initiatorContact(); + m_notification.data()->setText(i18n("

%1 is sending you a file. " + "Do you accept the file transfer?

" + "

Filename: %2

", + sender->alias(), + channel->fileName())); + + QPixmap pixmap; + if (pixmap.load(sender->avatarData().fileName)) { + m_notification.data()->setPixmap(pixmap); + } + + m_notification.data()->setActions(QStringList() << i18n("Accept") << i18n("Reject")); + connect(m_notification.data(), SIGNAL(action1Activated()), SIGNAL(channelAccepted())); + connect(m_notification.data(), SIGNAL(action2Activated()), SIGNAL(channelRejected())); + + m_notification.data()->sendEvent(); + + //tray icon + m_notifierItem = new KStatusNotifierItem; + m_notifierItem->setCategory(KStatusNotifierItem::Communications); + m_notifierItem->setStatus(KStatusNotifierItem::NeedsAttention); + m_notifierItem->setIconByName(QLatin1String("document-save")); + m_notifierItem->setAttentionIconByName(QLatin1String("mail-unread-new")); + m_notifierItem->setStandardActionsEnabled(false); + m_notifierItem->setTitle(i18n("Incoming file transfer")); + m_notifierItem->setToolTip(QLatin1String("document-save"), + i18n("Incoming file transfer from %1", sender->alias()), + QString()); + m_notifierItem->contextMenu()->addAction(i18n("Accept"), this, SIGNAL(channelAccepted())); + m_notifierItem->contextMenu()->addAction(i18n("Reject"), this, SIGNAL(channelRejected())); + connect(m_notifierItem, SIGNAL(activateRequested(bool,QPoint)), SIGNAL(channelAccepted())); +} + +FileTransferChannelApprover::~FileTransferChannelApprover() +{ + kDebug(); + + //destroy the notification + if (m_notification) { + m_notification.data()->close(); + } + + //destroy the tray icon + delete m_notifierItem; +} + +#include "filetransferchannelapprover.moc" diff --git a/src/filetransferchannelapprover.h b/src/filetransferchannelapprover.h new file mode 100644 index 0000000..8b5a1d4 --- /dev/null +++ b/src/filetransferchannelapprover.h @@ -0,0 +1,40 @@ +/* + Copyright (C) 2010-2011 Collabora Ltd. + @author George Kiagiadakis + + This library is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ +#ifndef FILETRANSFERCHANNELAPPROVER_H +#define FILETRANSFERCHANNELAPPROVER_H + +#include "channelapprover.h" +#include +#include + +class KStatusNotifierItem; +class KNotification; + +class FileTransferChannelApprover : public ChannelApprover +{ + Q_OBJECT +public: + FileTransferChannelApprover(const Tp::FileTransferChannelPtr & channel, QObject *parent); + virtual ~FileTransferChannelApprover(); + +private: + QWeakPointer m_notification; + KStatusNotifierItem *m_notifierItem; +}; + +#endif //FILETRANSFERCHANNELAPPROVER_H diff --git a/src/handlewithcaller.cpp b/src/handlewithcaller.cpp new file mode 100644 index 0000000..6e35c49 --- /dev/null +++ b/src/handlewithcaller.cpp @@ -0,0 +1,102 @@ +/* + Copyright (C) 2010 Collabora Ltd. + @author George Kiagiadakis + + This library is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ +#include "handlewithcaller.h" +#include "ktpapproverfactory.h" +#include +#include +#include +#include +#include + +HandleWithCaller::HandleWithCaller(const Tp::ChannelDispatchOperationPtr & dispatchOperation, + QObject *parent) + : QObject(parent) +{ + m_dispatchOperation = dispatchOperation; + + findHandlers(); + Q_ASSERT(!m_possibleHandlers.isEmpty()); + + callHandleWith(); +} + +void HandleWithCaller::findHandlers() +{ + KConfig config(KTpApproverFactory::componentData()); + KConfigGroup group(&config, "HandlerPreferences"); + + //realistically, dispatch operations only have one channel + //FIXME if there ever exists a case where a dispatch operation has more + //than one channels, fix this code to do something more appropriate + QString channelType = m_dispatchOperation->channels()[0]->channelType(); + + QStringList preferredHandlers = group.readEntry(channelType, QStringList()); + QStringList possibleHandlers = m_dispatchOperation->possibleHandlers(); + + kDebug() << "Preferred:" << preferredHandlers; + kDebug() << "Possible:" << possibleHandlers; + + //intersect the two lists, while respecting the order + //of preference that was read from the config file + QStringList::iterator it = preferredHandlers.begin(); + while(it != preferredHandlers.end()) { + int index = possibleHandlers.indexOf(*it); + if (index != -1) { + possibleHandlers.removeAt(index); + ++it; + } else { + it = preferredHandlers.erase(it); + } + } + + //preferredHandlers now contains the intersection. Because the intersection + //can lead to an empty list, we append the rest of the possible handlers + //to make sure it is not going to be empty. + preferredHandlers.append(possibleHandlers); + + m_possibleHandlers = preferredHandlers; + kDebug() << "Final:" << m_possibleHandlers; +} + +void HandleWithCaller::callHandleWith() +{ + Tp::PendingOperation *op = m_dispatchOperation->handleWith(m_possibleHandlers.first()); + connect(op, SIGNAL(finished(Tp::PendingOperation*)), + SLOT(onHandleWithFinished(Tp::PendingOperation*))); +} + +void HandleWithCaller::onHandleWithFinished(Tp::PendingOperation* operation) +{ + if (operation->isError()) { + if (operation->errorName() == TP_QT_ERROR_INVALID_ARGUMENT || + operation->errorName() == TP_QT_ERROR_NOT_AVAILABLE || + operation->errorName() == TP_QT_ERROR_NOT_IMPLEMENTED) + { + //remove the handler that we just tried and try the next one + m_possibleHandlers.removeFirst(); + if (!m_possibleHandlers.isEmpty()) { + callHandleWith(); + return; + } + } + } + + deleteLater(); +} + +#include "handlewithcaller.moc" diff --git a/src/handlewithcaller.h b/src/handlewithcaller.h new file mode 100644 index 0000000..6e2325f --- /dev/null +++ b/src/handlewithcaller.h @@ -0,0 +1,41 @@ +/* + Copyright (C) 2010 Collabora Ltd. + @author George Kiagiadakis + + This library is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ +#ifndef HANDLEWITHCALLER_H +#define HANDLEWITHCALLER_H + +#include +#include + +class HandleWithCaller : public QObject +{ + Q_OBJECT +public: + HandleWithCaller(const Tp::ChannelDispatchOperationPtr & dispatchOperation, QObject *parent); + +private Q_SLOTS: + void onHandleWithFinished(Tp::PendingOperation *operation); + +private: + void findHandlers(); + void callHandleWith(); + + Tp::ChannelDispatchOperationPtr m_dispatchOperation; + QStringList m_possibleHandlers; +}; + +#endif //HANDLEWITHCALLER_H diff --git a/src/ktp_approver.desktop b/src/ktp_approver.desktop new file mode 100644 index 0000000..abcdf7f --- /dev/null +++ b/src/ktp_approver.desktop @@ -0,0 +1,61 @@ +[Desktop Entry] +Name=Instant Messaging Approver +Name[ca]=Aprovador de missatgeria instantània +Name[da]=Godkender til instant messaging +Name[de]=Instant-Messenger-Zustimmung +Name[el]=Πρόγραμμα έγκρισης στιγμιαίων μηνυμάτων +Name[es]=Aprobador de mensajes instantáneos +Name[et]=Kiirsuhtluse märguandja +Name[fi]=Pikaviestinten hyväksyntä +Name[fr]=Approbateur de messagerie instantanée +Name[gl]=Aprovador de mensaxaría instantánea +Name[hu]=Azonnali üzenetküldési fogadó +Name[it]=Approvatore di messaggistica istantanea +Name[nb]=Godkjenner for lynmelding +Name[nl]=Goedkeuringgever van Instant Messaging +Name[pl]=Program zatwierdzający dla komunikatorów internetowych +Name[pt]=Aprovação das Mensagens Instantâneas +Name[pt_BR]=Aprovação das mensagens instantâneas +Name[sk]=Schvaľovateľ instant messagingu +Name[sr]=Брзогласнички одобравач +Name[sr@ijekavian]=Брзогласнички одобравач +Name[sr@ijekavianlatin]=Brzoglasnički odobravač +Name[sr@latin]=Brzoglasnički odobravač +Name[sv]=Godkännande av direktmeddelanden +Name[uk]=Підтверджувач обміну повідомленнями +Name[x-test]=xxInstant Messaging Approverxx +Name[zh_CN]=即时通讯接收 +Name[zh_TW]=即時訊息確認器 +Comment=Shows notifications for incoming IM/Call requests and allows you to open a handler to answer +Comment[ca]=Mostra les notificacions de les peticions de MI/trucades entrants i us permet obrir un gestor per contestar +Comment[cs]=Zobrazuje upozornění pro příchozí IM/Hovory a umožňuje vám otevřít správce pro odpověď +Comment[da]=Viser bekendtgørelser for indkommende IM- og opkaldsanmodninger og lader dig åbne en håndtering til at svare med +Comment[de]=Zeigt Benachrichtigungen über eingehende Nachrichten/Anrufe und erlaubt, diese zu beantworten +Comment[el]=Εμφανίζει ειδοποιήσεις για αιτήσεις εισερχόμενων στιγμιαίων μηνυμάτων / κλήσεων και σας επιτρέπει να ανοίξετε ένα χειριστή για να απαντήσετε +Comment[es]=Muestra notificaciones de solicitudes de mensajes y llamadas y le permite abrir un manipulador para responder. +Comment[et]=Sisenevate kiirsuhtlus- ja kõnesoovide märguannete näitamine ning neile vastamiseks käitleja avamine +Comment[fi]=Näyttää ilmoituksia saapuvista pikaviesti- tai puhelupyynnöistä ja antaa sinun valita vastauskäsittelijän +Comment[fr]=Affiche des notifications des requêtes de MI / d'appels entrants et permet d'ouvrir un gestionnaire de réponse +Comment[gl]=Mostra notificacións de solicitudes entrantes de mensaxaría instantánea e e de voz e permite abrir un xestor que responda +Comment[hu]=Értesítéseket jelenít meg bejövő azonnali üzeneteknél és hívásoknál, és lehetővé teszi egy kezelő megnyitását válaszoláshoz +Comment[it]=Mostra le notifiche per messaggi in arrivo e richieste di chiamata e ti permette di aprire un gestore per rispondere +Comment[nb]=Viser varslinger om innkommende lynmelding/lydanrop så du kan åpne en behandler for å svare +Comment[nl]=Toont meldingen van binnenkomende IM/telefoonoproep en maakt het mogelijk dat u een antwoorder opent +Comment[pl]=Pokazuje powiadomienia komunikatorów internetowych/żądań rozmowy telefonicznej i pozwala na otwieranie programu obsługującego, aby umożliwić odpowiedź +Comment[pt]=Mostra as notificações dos pedidos de MI/chamadas recebidos e permite-lhe abrir um módulo de resposta +Comment[pt_BR]=Mostra as notificações dos pedidos de MI/chamadas recebidos e permite-lhe abrir um módulo de resposta +Comment[sr]=Приказује обавештења за долазне ИМ/позивне захтеве и омогућава вам да отворите руковаоца за одговор +Comment[sr@ijekavian]=Приказује обавјештења за долазне ИМ/позивне захтјеве и омогућава вам да отворите руковаоца за одговор +Comment[sr@ijekavianlatin]=Prikazuje obavještenja za dolazne IM/pozivne zahtjeve i omogućava vam da otvorite rukovaoca za odgovor +Comment[sr@latin]=Prikazuje obaveštenja za dolazne IM/pozivne zahteve i omogućava vam da otvorite rukovaoca za odgovor +Comment[sv]=Visar underrättelser för inkommande direktmeddelanden eller samtal och låter dig öppna ett hanteringsverktyg för att svara +Comment[uk]=Показує сповіщення щодо вхідних запитів щодо обміну повідомленнями або розмов і надає вам змогу відкрити панель відповіді +Comment[x-test]=xxShows notifications for incoming IM/Call requests and allows you to open a handler to answerxx +Comment[zh_CN]=为收到的即时通讯/呼叫请求显示通知并让您打开处理器回应 +Comment[zh_TW]=顯示進來的即時訊息與呼叫要求通知,並允許您開啟相關的處理器來回答。 +Type=Service +X-KDE-ServiceTypes=KDEDModule +X-KDE-Library=ktp_approver +X-KDE-DBus-ModuleName=ktp_approver +X-KDE-Kded-autoload=false +X-KDE-Kded-load-on-demand=true diff --git a/src/ktp_approverrc b/src/ktp_approverrc new file mode 100644 index 0000000..4b85abd --- /dev/null +++ b/src/ktp_approverrc @@ -0,0 +1,3 @@ +[HandlerPreferences] +org.freedesktop.Telepathy.Channel.Type.Text=org.freedesktop.Telepathy.Client.KTp.TextUi +org.freedesktop.Telepathy.Channel.Type.FileTransfer=org.freedesktop.Telepathy.Client.KTp.FileTransferHandler diff --git a/src/ktpapproverfactory.h b/src/ktpapproverfactory.h new file mode 100644 index 0000000..84cc258 --- /dev/null +++ b/src/ktpapproverfactory.h @@ -0,0 +1,25 @@ +/* + Copyright (C) 2011 Collabora Ltd. + @author George Kiagiadakis + + This library is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ +#ifndef KTPAPPROVERFACTORY_H +#define KTPAPPROVERFACTORY_H + +#include + +K_PLUGIN_FACTORY_DECLARATION(KTpApproverFactory) + +#endif //KTPAPPROVERFACTORY_H diff --git a/src/ktpapprovermodule.cpp b/src/ktpapprovermodule.cpp new file mode 100644 index 0000000..307b13e --- /dev/null +++ b/src/ktpapprovermodule.cpp @@ -0,0 +1,85 @@ +/* + Copyright (C) 2010 Collabora Ltd. + @author George Kiagiadakis + + This library is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ +#include "approverdaemon.h" +#include "ktpapproverfactory.h" + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include + +class KTpApproverModule : public KDEDModule +{ +public: + KTpApproverModule(QObject *parent, const QVariantList & args) + : KDEDModule(parent) + { + Q_UNUSED(args); + + Tp::registerTypes(); + Tp::enableDebug(true); + Tp::enableWarnings(true); + + Tp::AccountFactoryPtr accountFactory = + Tp::AccountFactory::create(QDBusConnection::sessionBus()); + Tp::ConnectionFactoryPtr connectionFactory = + Tp::ConnectionFactory::create(QDBusConnection::sessionBus()); + + Tp::ChannelFactoryPtr channelFactory = + Tp::ChannelFactory::create(QDBusConnection::sessionBus()); + channelFactory->addCommonFeatures(Tp::Channel::FeatureCore); + channelFactory->addFeaturesForTextChats(Tp::Features() + << Tp::TextChannel::FeatureCore + << Tp::TextChannel::FeatureMessageQueue); + channelFactory->addFeaturesForIncomingFileTransfers( + Tp::IncomingFileTransferChannel::FeatureCore); + + Tp::ContactFactoryPtr contactFactory = + Tp::ContactFactory::create(Tp::Features() + << Tp::Contact::FeatureAlias + << Tp::Contact::FeatureAvatarData); + + m_registrar = Tp::ClientRegistrar::create(accountFactory, connectionFactory, + channelFactory, contactFactory); + m_registrar->registerClient(Tp::SharedPtr(new ApproverDaemon()), + "KTp.Approver"); + } + + static inline KAboutData aboutData() + { + KAboutData aboutData("ktp-approver", "kded_ktp_approver", KLocalizedString(), "0.4", + KLocalizedString(), KAboutData::License_LGPL, + ki18nc("@info:credit", "(C) 2010, Collabora Ltd.")); + aboutData.addAuthor(ki18nc("@info:credit", "George Kiagiadakis"), + KLocalizedString(), "george.kiagiadakis@collabora.co.uk"); + return aboutData; + } + +private: + Tp::ClientRegistrarPtr m_registrar; +}; + +K_PLUGIN_FACTORY_DEFINITION(KTpApproverFactory, registerPlugin();) +K_EXPORT_PLUGIN(KTpApproverFactory(KTpApproverModule::aboutData())) diff --git a/src/org.freedesktop.Telepathy.Client.KTp.Approver.service.in b/src/org.freedesktop.Telepathy.Client.KTp.Approver.service.in new file mode 100644 index 0000000..02e92e2 --- /dev/null +++ b/src/org.freedesktop.Telepathy.Client.KTp.Approver.service.in @@ -0,0 +1,3 @@ +[D-BUS Service] +Name=org.freedesktop.Telepathy.Client.KTp.Approver +Exec=@DBUS_SEND_PATH@ --session --type=method_call --dest=org.kde.kded /kded org.kde.kded.loadModule string:"ktp_approver" diff --git a/src/textchannelapprover.cpp b/src/textchannelapprover.cpp new file mode 100644 index 0000000..0e06a01 --- /dev/null +++ b/src/textchannelapprover.cpp @@ -0,0 +1,122 @@ +/* + Copyright (C) 2010 Collabora Ltd. + @author George Kiagiadakis + + This library is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ +#include "textchannelapprover.h" +#include "ktpapproverfactory.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +TextChannelApprover::TextChannelApprover(const Tp::TextChannelPtr & channel, QObject *parent) + : ChannelApprover(parent), m_notifierItem(getNotifierItem()) +{ + Q_FOREACH(const Tp::ReceivedMessage & msg, channel->messageQueue()) { + onMessageReceived(msg); + } + + connect(channel.data(), SIGNAL(messageReceived(Tp::ReceivedMessage)), + SLOT(onMessageReceived(Tp::ReceivedMessage))); + connect(m_notifierItem.data(), SIGNAL(activateRequested(bool,QPoint)), + SIGNAL(channelAccepted())); + + updateNotifierItemTooltip(); +} + +TextChannelApprover::~TextChannelApprover() +{ + //destroy the notification + if (m_notification) { + m_notification.data()->close(); + } +} + +void TextChannelApprover::onMessageReceived(const Tp::ReceivedMessage & msg) +{ + if (!m_notification) { + m_notification = new KNotification("new_text_message"); + KAboutData aboutData("ktelepathy",0,KLocalizedString(),0); + m_notification.data()->setComponentData(KComponentData(aboutData)); + + Tp::ContactPtr sender = msg.sender(); + if (sender) { + m_notification.data()->setTitle(sender->alias()); + + QPixmap pixmap; + if (pixmap.load(sender->avatarData().fileName)) { + m_notification.data()->setPixmap(pixmap); + } + } else { + m_notification.data()->setTitle(i18n("Incoming message")); + } + + m_notification.data()->setActions(QStringList() << i18n("Respond")); + connect(m_notification.data(), SIGNAL(action1Activated()), SIGNAL(channelAccepted())); + } + + // Remove empty lines from message + QString notifyText = msg.text().simplified(); + if (notifyText.length() > 170) { + //search for the closest space in text + QString truncatedMsg = notifyText.left(notifyText.indexOf(QLatin1Char(' '), 150)).append(QLatin1String("...")); + m_notification.data()->setText(truncatedMsg); + } else { + m_notification.data()->setText(notifyText); + } + m_notification.data()->sendEvent(); +} + +K_GLOBAL_STATIC(QWeakPointer, s_notifierItem) + +//static +QSharedPointer TextChannelApprover::getNotifierItem() +{ + QSharedPointer notifierItem = s_notifierItem->toStrongRef(); + if (!notifierItem) { + notifierItem = QSharedPointer(new KStatusNotifierItem); + notifierItem->setCategory(KStatusNotifierItem::Communications); + notifierItem->setStatus(KStatusNotifierItem::NeedsAttention); + notifierItem->setIconByName(QLatin1String("mail-unread")); + notifierItem->setAttentionIconByName(QLatin1String("mail-unread-new")); + notifierItem->setStandardActionsEnabled(false); + notifierItem->setProperty("approver_new_channels_count", 0U); + *s_notifierItem = notifierItem; + } + + return notifierItem; +} + +void TextChannelApprover::updateNotifierItemTooltip() +{ + QVariant channelsCount = m_notifierItem->property("approver_new_channels_count"); + channelsCount = QVariant(channelsCount.toUInt() + 1); + m_notifierItem->setProperty("approver_new_channels_count", channelsCount); + + m_notifierItem->setToolTip(QLatin1String("mail-unread-new"), + i18np("You have 1 incoming conversation", + "You have %1 incoming conversations", + channelsCount.toUInt()), + QString()); +} + +#include "textchannelapprover.moc" diff --git a/src/textchannelapprover.h b/src/textchannelapprover.h new file mode 100644 index 0000000..b69e876 --- /dev/null +++ b/src/textchannelapprover.h @@ -0,0 +1,48 @@ +/* + Copyright (C) 2010 Collabora Ltd. + @author George Kiagiadakis + + This library is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ +#ifndef TEXTCHANNELAPPROVER_H +#define TEXTCHANNELAPPROVER_H + +#include "channelapprover.h" +#include +#include +#include +#include + +class KStatusNotifierItem; +class KNotification; + +class TextChannelApprover : public ChannelApprover +{ + Q_OBJECT +public: + TextChannelApprover(const Tp::TextChannelPtr & channel, QObject *parent); + virtual ~TextChannelApprover(); + +private Q_SLOTS: + void onMessageReceived(const Tp::ReceivedMessage & msg); + +private: + static QSharedPointer getNotifierItem(); + void updateNotifierItemTooltip(); + + QWeakPointer m_notification; + QSharedPointer m_notifierItem; +}; + +#endif //TEXTCHANNELAPPROVER_H