├── .github └── FUNDING.yml ├── .tx └── config ├── COPYING ├── Makefile ├── README.md ├── appinfo ├── app.php ├── info.xml └── routes.php ├── composer.json ├── css ├── adminSettings.css ├── personalSettings.css └── style.css ├── img └── app.svg ├── js ├── personalSettings.js └── script.js ├── l10n ├── .gitkeep ├── af.js ├── af.json ├── an.js ├── an.json ├── ar.js ├── ar.json ├── ast.js ├── ast.json ├── az.js ├── az.json ├── bg.js ├── bg.json ├── bn_BD.js ├── bn_BD.json ├── br.js ├── br.json ├── bs.js ├── bs.json ├── ca.js ├── ca.json ├── cs.js ├── cs.json ├── cy_GB.js ├── cy_GB.json ├── da.js ├── da.json ├── de.js ├── de.json ├── de_DE.js ├── de_DE.json ├── el.js ├── el.json ├── en_GB.js ├── en_GB.json ├── eo.js ├── eo.json ├── es.js ├── es.json ├── es_419.js ├── es_419.json ├── es_AR.js ├── es_AR.json ├── es_CL.js ├── es_CL.json ├── es_CO.js ├── es_CO.json ├── es_CR.js ├── es_CR.json ├── es_DO.js ├── es_DO.json ├── es_EC.js ├── es_EC.json ├── es_GT.js ├── es_GT.json ├── es_HN.js ├── es_HN.json ├── es_MX.js ├── es_MX.json ├── es_NI.js ├── es_NI.json ├── es_PA.js ├── es_PA.json ├── es_PE.js ├── es_PE.json ├── es_PR.js ├── es_PR.json ├── es_PY.js ├── es_PY.json ├── es_SV.js ├── es_SV.json ├── es_UY.js ├── es_UY.json ├── et_EE.js ├── et_EE.json ├── eu.js ├── eu.json ├── fa.js ├── fa.json ├── fi.js ├── fi.json ├── fr.js ├── fr.json ├── ga.js ├── ga.json ├── gd.js ├── gd.json ├── gl.js ├── gl.json ├── he.js ├── he.json ├── hr.js ├── hr.json ├── hu.js ├── hu.json ├── hy.js ├── hy.json ├── ia.js ├── ia.json ├── id.js ├── id.json ├── is.js ├── is.json ├── it.js ├── it.json ├── ja.js ├── ja.json ├── ka.js ├── ka.json ├── ka_GE.js ├── ka_GE.json ├── kab.js ├── kab.json ├── km.js ├── km.json ├── kn.js ├── kn.json ├── ko.js ├── ko.json ├── lb.js ├── lb.json ├── lo.js ├── lo.json ├── lt_LT.js ├── lt_LT.json ├── lv.js ├── lv.json ├── mk.js ├── mk.json ├── mn.js ├── mn.json ├── ms_MY.js ├── ms_MY.json ├── nb.js ├── nb.json ├── nl.js ├── nl.json ├── nn_NO.js ├── nn_NO.json ├── oc.js ├── oc.json ├── pl.js ├── pl.json ├── ps.js ├── ps.json ├── pt_BR.js ├── pt_BR.json ├── pt_PT.js ├── pt_PT.json ├── ro.js ├── ro.json ├── ru.js ├── ru.json ├── sc.js ├── sc.json ├── si.js ├── si.json ├── sk.js ├── sk.json ├── sl.js ├── sl.json ├── sq.js ├── sq.json ├── sr.js ├── sr.json ├── sr@latin.js ├── sr@latin.json ├── sv.js ├── sv.json ├── ta.js ├── ta.json ├── th.js ├── th.json ├── tk.js ├── tk.json ├── tr.js ├── tr.json ├── ug.js ├── ug.json ├── uk.js ├── uk.json ├── ur_PK.js ├── ur_PK.json ├── uz.js ├── uz.json ├── vi.js ├── vi.json ├── zh_CN.js ├── zh_CN.json ├── zh_HK.js ├── zh_HK.json ├── zh_TW.js └── zh_TW.json ├── lib ├── AppInfo │ └── Application.php ├── Controller │ └── KeyController.php ├── Hooks │ └── MailHooks.php ├── Migration │ └── CreateGpgServerKeys.php ├── Service │ ├── Gpg.php │ └── GpgMessageConvertService.php └── Settings │ ├── Admin.php │ └── Personal.php ├── phpunit.integration.xml ├── phpunit.xml ├── templates └── settings │ ├── admin.php │ └── personal.php └── tests ├── Integration └── AppTest.php ├── Unit └── Controller │ └── KeyControllerTest.php └── bootstrap.php /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [tacruc] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /.tx/config: -------------------------------------------------------------------------------- 1 | [main] 2 | host = https://www.transifex.com 3 | lang_map = hu_HU: hu, nb_NO: nb, sk_SK: sk, th_TH: th, ja_JP: ja, bg_BG: bg, cs_CZ: cs, fi_FI: fi 4 | 5 | [o:nextcloud:p:nextcloud:r:gpgmailer] 6 | file_filter = translationfiles//gpgmailer.po 7 | source_file = translationfiles/templates/gpgmailer.pot 8 | source_lang = en 9 | type = PO 10 | 11 | -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- 1 | GNU AFFERO GENERAL PUBLIC LICENSE 2 | Version 3, 19 November 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU Affero General Public License is a free, copyleft license for 11 | software and other kinds of works, specifically designed to ensure 12 | cooperation with the community in the case of network server software. 13 | 14 | The licenses for most software and other practical works are designed 15 | to take away your freedom to share and change the works. By contrast, 16 | our General Public Licenses are intended to guarantee your freedom to 17 | share and change all versions of a program--to make sure it remains free 18 | software for all its users. 19 | 20 | When we speak of free software, we are referring to freedom, not 21 | price. Our General Public Licenses are designed to make sure that you 22 | have the freedom to distribute copies of free software (and charge for 23 | them if you wish), that you receive source code or can get it if you 24 | want it, that you can change the software or use pieces of it in new 25 | free programs, and that you know you can do these things. 26 | 27 | Developers that use our General Public Licenses protect your rights 28 | with two steps: (1) assert copyright on the software, and (2) offer 29 | you this License which gives you legal permission to copy, distribute 30 | and/or modify the software. 31 | 32 | A secondary benefit of defending all users' freedom is that 33 | improvements made in alternate versions of the program, if they 34 | receive widespread use, become available for other developers to 35 | incorporate. Many developers of free software are heartened and 36 | encouraged by the resulting cooperation. However, in the case of 37 | software used on network servers, this result may fail to come about. 38 | The GNU General Public License permits making a modified version and 39 | letting the public access it on a server without ever releasing its 40 | source code to the public. 41 | 42 | The GNU Affero General Public License is designed specifically to 43 | ensure that, in such cases, the modified source code becomes available 44 | to the community. It requires the operator of a network server to 45 | provide the source code of the modified version running there to the 46 | users of that server. Therefore, public use of a modified version, on 47 | a publicly accessible server, gives the public access to the source 48 | code of the modified version. 49 | 50 | An older license, called the Affero General Public License and 51 | published by Affero, was designed to accomplish similar goals. This is 52 | a different license, not a version of the Affero GPL, but Affero has 53 | released a new version of the Affero GPL which permits relicensing under 54 | this license. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | TERMS AND CONDITIONS 60 | 61 | 0. Definitions. 62 | 63 | "This License" refers to version 3 of the GNU Affero General Public License. 64 | 65 | "Copyright" also means copyright-like laws that apply to other kinds of 66 | works, such as semiconductor masks. 67 | 68 | "The Program" refers to any copyrightable work licensed under this 69 | License. Each licensee is addressed as "you". "Licensees" and 70 | "recipients" may be individuals or organizations. 71 | 72 | To "modify" a work means to copy from or adapt all or part of the work 73 | in a fashion requiring copyright permission, other than the making of an 74 | exact copy. The resulting work is called a "modified version" of the 75 | earlier work or a work "based on" the earlier work. 76 | 77 | A "covered work" means either the unmodified Program or a work based 78 | on the Program. 79 | 80 | To "propagate" a work means to do anything with it that, without 81 | permission, would make you directly or secondarily liable for 82 | infringement under applicable copyright law, except executing it on a 83 | computer or modifying a private copy. Propagation includes copying, 84 | distribution (with or without modification), making available to the 85 | public, and in some countries other activities as well. 86 | 87 | To "convey" a work means any kind of propagation that enables other 88 | parties to make or receive copies. Mere interaction with a user through 89 | a computer network, with no transfer of a copy, is not conveying. 90 | 91 | An interactive user interface displays "Appropriate Legal Notices" 92 | to the extent that it includes a convenient and prominently visible 93 | feature that (1) displays an appropriate copyright notice, and (2) 94 | tells the user that there is no warranty for the work (except to the 95 | extent that warranties are provided), that licensees may convey the 96 | work under this License, and how to view a copy of this License. If 97 | the interface presents a list of user commands or options, such as a 98 | menu, a prominent item in the list meets this criterion. 99 | 100 | 1. Source Code. 101 | 102 | The "source code" for a work means the preferred form of the work 103 | for making modifications to it. "Object code" means any non-source 104 | form of a work. 105 | 106 | A "Standard Interface" means an interface that either is an official 107 | standard defined by a recognized standards body, or, in the case of 108 | interfaces specified for a particular programming language, one that 109 | is widely used among developers working in that language. 110 | 111 | The "System Libraries" of an executable work include anything, other 112 | than the work as a whole, that (a) is included in the normal form of 113 | packaging a Major Component, but which is not part of that Major 114 | Component, and (b) serves only to enable use of the work with that 115 | Major Component, or to implement a Standard Interface for which an 116 | implementation is available to the public in source code form. A 117 | "Major Component", in this context, means a major essential component 118 | (kernel, window system, and so on) of the specific operating system 119 | (if any) on which the executable work runs, or a compiler used to 120 | produce the work, or an object code interpreter used to run it. 121 | 122 | The "Corresponding Source" for a work in object code form means all 123 | the source code needed to generate, install, and (for an executable 124 | work) run the object code and to modify the work, including scripts to 125 | control those activities. However, it does not include the work's 126 | System Libraries, or general-purpose tools or generally available free 127 | programs which are used unmodified in performing those activities but 128 | which are not part of the work. For example, Corresponding Source 129 | includes interface definition files associated with source files for 130 | the work, and the source code for shared libraries and dynamically 131 | linked subprograms that the work is specifically designed to require, 132 | such as by intimate data communication or control flow between those 133 | subprograms and other parts of the work. 134 | 135 | The Corresponding Source need not include anything that users 136 | can regenerate automatically from other parts of the Corresponding 137 | Source. 138 | 139 | The Corresponding Source for a work in source code form is that 140 | same work. 141 | 142 | 2. Basic Permissions. 143 | 144 | All rights granted under this License are granted for the term of 145 | copyright on the Program, and are irrevocable provided the stated 146 | conditions are met. This License explicitly affirms your unlimited 147 | permission to run the unmodified Program. The output from running a 148 | covered work is covered by this License only if the output, given its 149 | content, constitutes a covered work. This License acknowledges your 150 | rights of fair use or other equivalent, as provided by copyright law. 151 | 152 | You may make, run and propagate covered works that you do not 153 | convey, without conditions so long as your license otherwise remains 154 | in force. You may convey covered works to others for the sole purpose 155 | of having them make modifications exclusively for you, or provide you 156 | with facilities for running those works, provided that you comply with 157 | the terms of this License in conveying all material for which you do 158 | not control copyright. Those thus making or running the covered works 159 | for you must do so exclusively on your behalf, under your direction 160 | and control, on terms that prohibit them from making any copies of 161 | your copyrighted material outside their relationship with you. 162 | 163 | Conveying under any other circumstances is permitted solely under 164 | the conditions stated below. Sublicensing is not allowed; section 10 165 | makes it unnecessary. 166 | 167 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 168 | 169 | No covered work shall be deemed part of an effective technological 170 | measure under any applicable law fulfilling obligations under article 171 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 172 | similar laws prohibiting or restricting circumvention of such 173 | measures. 174 | 175 | When you convey a covered work, you waive any legal power to forbid 176 | circumvention of technological measures to the extent such circumvention 177 | is effected by exercising rights under this License with respect to 178 | the covered work, and you disclaim any intention to limit operation or 179 | modification of the work as a means of enforcing, against the work's 180 | users, your or third parties' legal rights to forbid circumvention of 181 | technological measures. 182 | 183 | 4. Conveying Verbatim Copies. 184 | 185 | You may convey verbatim copies of the Program's source code as you 186 | receive it, in any medium, provided that you conspicuously and 187 | appropriately publish on each copy an appropriate copyright notice; 188 | keep intact all notices stating that this License and any 189 | non-permissive terms added in accord with section 7 apply to the code; 190 | keep intact all notices of the absence of any warranty; and give all 191 | recipients a copy of this License along with the Program. 192 | 193 | You may charge any price or no price for each copy that you convey, 194 | and you may offer support or warranty protection for a fee. 195 | 196 | 5. Conveying Modified Source Versions. 197 | 198 | You may convey a work based on the Program, or the modifications to 199 | produce it from the Program, in the form of source code under the 200 | terms of section 4, provided that you also meet all of these conditions: 201 | 202 | a) The work must carry prominent notices stating that you modified 203 | it, and giving a relevant date. 204 | 205 | b) The work must carry prominent notices stating that it is 206 | released under this License and any conditions added under section 207 | 7. This requirement modifies the requirement in section 4 to 208 | "keep intact all notices". 209 | 210 | c) You must license the entire work, as a whole, under this 211 | License to anyone who comes into possession of a copy. This 212 | License will therefore apply, along with any applicable section 7 213 | additional terms, to the whole of the work, and all its parts, 214 | regardless of how they are packaged. This License gives no 215 | permission to license the work in any other way, but it does not 216 | invalidate such permission if you have separately received it. 217 | 218 | d) If the work has interactive user interfaces, each must display 219 | Appropriate Legal Notices; however, if the Program has interactive 220 | interfaces that do not display Appropriate Legal Notices, your 221 | work need not make them do so. 222 | 223 | A compilation of a covered work with other separate and independent 224 | works, which are not by their nature extensions of the covered work, 225 | and which are not combined with it such as to form a larger program, 226 | in or on a volume of a storage or distribution medium, is called an 227 | "aggregate" if the compilation and its resulting copyright are not 228 | used to limit the access or legal rights of the compilation's users 229 | beyond what the individual works permit. Inclusion of a covered work 230 | in an aggregate does not cause this License to apply to the other 231 | parts of the aggregate. 232 | 233 | 6. Conveying Non-Source Forms. 234 | 235 | You may convey a covered work in object code form under the terms 236 | of sections 4 and 5, provided that you also convey the 237 | machine-readable Corresponding Source under the terms of this License, 238 | in one of these ways: 239 | 240 | a) Convey the object code in, or embodied in, a physical product 241 | (including a physical distribution medium), accompanied by the 242 | Corresponding Source fixed on a durable physical medium 243 | customarily used for software interchange. 244 | 245 | b) Convey the object code in, or embodied in, a physical product 246 | (including a physical distribution medium), accompanied by a 247 | written offer, valid for at least three years and valid for as 248 | long as you offer spare parts or customer support for that product 249 | model, to give anyone who possesses the object code either (1) a 250 | copy of the Corresponding Source for all the software in the 251 | product that is covered by this License, on a durable physical 252 | medium customarily used for software interchange, for a price no 253 | more than your reasonable cost of physically performing this 254 | conveying of source, or (2) access to copy the 255 | Corresponding Source from a network server at no charge. 256 | 257 | c) Convey individual copies of the object code with a copy of the 258 | written offer to provide the Corresponding Source. This 259 | alternative is allowed only occasionally and noncommercially, and 260 | only if you received the object code with such an offer, in accord 261 | with subsection 6b. 262 | 263 | d) Convey the object code by offering access from a designated 264 | place (gratis or for a charge), and offer equivalent access to the 265 | Corresponding Source in the same way through the same place at no 266 | further charge. You need not require recipients to copy the 267 | Corresponding Source along with the object code. If the place to 268 | copy the object code is a network server, the Corresponding Source 269 | may be on a different server (operated by you or a third party) 270 | that supports equivalent copying facilities, provided you maintain 271 | clear directions next to the object code saying where to find the 272 | Corresponding Source. Regardless of what server hosts the 273 | Corresponding Source, you remain obligated to ensure that it is 274 | available for as long as needed to satisfy these requirements. 275 | 276 | e) Convey the object code using peer-to-peer transmission, provided 277 | you inform other peers where the object code and Corresponding 278 | Source of the work are being offered to the general public at no 279 | charge under subsection 6d. 280 | 281 | A separable portion of the object code, whose source code is excluded 282 | from the Corresponding Source as a System Library, need not be 283 | included in conveying the object code work. 284 | 285 | A "User Product" is either (1) a "consumer product", which means any 286 | tangible personal property which is normally used for personal, family, 287 | or household purposes, or (2) anything designed or sold for incorporation 288 | into a dwelling. In determining whether a product is a consumer product, 289 | doubtful cases shall be resolved in favor of coverage. For a particular 290 | product received by a particular user, "normally used" refers to a 291 | typical or common use of that class of product, regardless of the status 292 | of the particular user or of the way in which the particular user 293 | actually uses, or expects or is expected to use, the product. A product 294 | is a consumer product regardless of whether the product has substantial 295 | commercial, industrial or non-consumer uses, unless such uses represent 296 | the only significant mode of use of the product. 297 | 298 | "Installation Information" for a User Product means any methods, 299 | procedures, authorization keys, or other information required to install 300 | and execute modified versions of a covered work in that User Product from 301 | a modified version of its Corresponding Source. The information must 302 | suffice to ensure that the continued functioning of the modified object 303 | code is in no case prevented or interfered with solely because 304 | modification has been made. 305 | 306 | If you convey an object code work under this section in, or with, or 307 | specifically for use in, a User Product, and the conveying occurs as 308 | part of a transaction in which the right of possession and use of the 309 | User Product is transferred to the recipient in perpetuity or for a 310 | fixed term (regardless of how the transaction is characterized), the 311 | Corresponding Source conveyed under this section must be accompanied 312 | by the Installation Information. But this requirement does not apply 313 | if neither you nor any third party retains the ability to install 314 | modified object code on the User Product (for example, the work has 315 | been installed in ROM). 316 | 317 | The requirement to provide Installation Information does not include a 318 | requirement to continue to provide support service, warranty, or updates 319 | for a work that has been modified or installed by the recipient, or for 320 | the User Product in which it has been modified or installed. Access to a 321 | network may be denied when the modification itself materially and 322 | adversely affects the operation of the network or violates the rules and 323 | protocols for communication across the network. 324 | 325 | Corresponding Source conveyed, and Installation Information provided, 326 | in accord with this section must be in a format that is publicly 327 | documented (and with an implementation available to the public in 328 | source code form), and must require no special password or key for 329 | unpacking, reading or copying. 330 | 331 | 7. Additional Terms. 332 | 333 | "Additional permissions" are terms that supplement the terms of this 334 | License by making exceptions from one or more of its conditions. 335 | Additional permissions that are applicable to the entire Program shall 336 | be treated as though they were included in this License, to the extent 337 | that they are valid under applicable law. If additional permissions 338 | apply only to part of the Program, that part may be used separately 339 | under those permissions, but the entire Program remains governed by 340 | this License without regard to the additional permissions. 341 | 342 | When you convey a copy of a covered work, you may at your option 343 | remove any additional permissions from that copy, or from any part of 344 | it. (Additional permissions may be written to require their own 345 | removal in certain cases when you modify the work.) You may place 346 | additional permissions on material, added by you to a covered work, 347 | for which you have or can give appropriate copyright permission. 348 | 349 | Notwithstanding any other provision of this License, for material you 350 | add to a covered work, you may (if authorized by the copyright holders of 351 | that material) supplement the terms of this License with terms: 352 | 353 | a) Disclaiming warranty or limiting liability differently from the 354 | terms of sections 15 and 16 of this License; or 355 | 356 | b) Requiring preservation of specified reasonable legal notices or 357 | author attributions in that material or in the Appropriate Legal 358 | Notices displayed by works containing it; or 359 | 360 | c) Prohibiting misrepresentation of the origin of that material, or 361 | requiring that modified versions of such material be marked in 362 | reasonable ways as different from the original version; or 363 | 364 | d) Limiting the use for publicity purposes of names of licensors or 365 | authors of the material; or 366 | 367 | e) Declining to grant rights under trademark law for use of some 368 | trade names, trademarks, or service marks; or 369 | 370 | f) Requiring indemnification of licensors and authors of that 371 | material by anyone who conveys the material (or modified versions of 372 | it) with contractual assumptions of liability to the recipient, for 373 | any liability that these contractual assumptions directly impose on 374 | those licensors and authors. 375 | 376 | All other non-permissive additional terms are considered "further 377 | restrictions" within the meaning of section 10. If the Program as you 378 | received it, or any part of it, contains a notice stating that it is 379 | governed by this License along with a term that is a further 380 | restriction, you may remove that term. If a license document contains 381 | a further restriction but permits relicensing or conveying under this 382 | License, you may add to a covered work material governed by the terms 383 | of that license document, provided that the further restriction does 384 | not survive such relicensing or conveying. 385 | 386 | If you add terms to a covered work in accord with this section, you 387 | must place, in the relevant source files, a statement of the 388 | additional terms that apply to those files, or a notice indicating 389 | where to find the applicable terms. 390 | 391 | Additional terms, permissive or non-permissive, may be stated in the 392 | form of a separately written license, or stated as exceptions; 393 | the above requirements apply either way. 394 | 395 | 8. Termination. 396 | 397 | You may not propagate or modify a covered work except as expressly 398 | provided under this License. Any attempt otherwise to propagate or 399 | modify it is void, and will automatically terminate your rights under 400 | this License (including any patent licenses granted under the third 401 | paragraph of section 11). 402 | 403 | However, if you cease all violation of this License, then your 404 | license from a particular copyright holder is reinstated (a) 405 | provisionally, unless and until the copyright holder explicitly and 406 | finally terminates your license, and (b) permanently, if the copyright 407 | holder fails to notify you of the violation by some reasonable means 408 | prior to 60 days after the cessation. 409 | 410 | Moreover, your license from a particular copyright holder is 411 | reinstated permanently if the copyright holder notifies you of the 412 | violation by some reasonable means, this is the first time you have 413 | received notice of violation of this License (for any work) from that 414 | copyright holder, and you cure the violation prior to 30 days after 415 | your receipt of the notice. 416 | 417 | Termination of your rights under this section does not terminate the 418 | licenses of parties who have received copies or rights from you under 419 | this License. If your rights have been terminated and not permanently 420 | reinstated, you do not qualify to receive new licenses for the same 421 | material under section 10. 422 | 423 | 9. Acceptance Not Required for Having Copies. 424 | 425 | You are not required to accept this License in order to receive or 426 | run a copy of the Program. Ancillary propagation of a covered work 427 | occurring solely as a consequence of using peer-to-peer transmission 428 | to receive a copy likewise does not require acceptance. However, 429 | nothing other than this License grants you permission to propagate or 430 | modify any covered work. These actions infringe copyright if you do 431 | not accept this License. Therefore, by modifying or propagating a 432 | covered work, you indicate your acceptance of this License to do so. 433 | 434 | 10. Automatic Licensing of Downstream Recipients. 435 | 436 | Each time you convey a covered work, the recipient automatically 437 | receives a license from the original licensors, to run, modify and 438 | propagate that work, subject to this License. You are not responsible 439 | for enforcing compliance by third parties with this License. 440 | 441 | An "entity transaction" is a transaction transferring control of an 442 | organization, or substantially all assets of one, or subdividing an 443 | organization, or merging organizations. If propagation of a covered 444 | work results from an entity transaction, each party to that 445 | transaction who receives a copy of the work also receives whatever 446 | licenses to the work the party's predecessor in interest had or could 447 | give under the previous paragraph, plus a right to possession of the 448 | Corresponding Source of the work from the predecessor in interest, if 449 | the predecessor has it or can get it with reasonable efforts. 450 | 451 | You may not impose any further restrictions on the exercise of the 452 | rights granted or affirmed under this License. For example, you may 453 | not impose a license fee, royalty, or other charge for exercise of 454 | rights granted under this License, and you may not initiate litigation 455 | (including a cross-claim or counterclaim in a lawsuit) alleging that 456 | any patent claim is infringed by making, using, selling, offering for 457 | sale, or importing the Program or any portion of it. 458 | 459 | 11. Patents. 460 | 461 | A "contributor" is a copyright holder who authorizes use under this 462 | License of the Program or a work on which the Program is based. The 463 | work thus licensed is called the contributor's "contributor version". 464 | 465 | A contributor's "essential patent claims" are all patent claims 466 | owned or controlled by the contributor, whether already acquired or 467 | hereafter acquired, that would be infringed by some manner, permitted 468 | by this License, of making, using, or selling its contributor version, 469 | but do not include claims that would be infringed only as a 470 | consequence of further modification of the contributor version. For 471 | purposes of this definition, "control" includes the right to grant 472 | patent sublicenses in a manner consistent with the requirements of 473 | this License. 474 | 475 | Each contributor grants you a non-exclusive, worldwide, royalty-free 476 | patent license under the contributor's essential patent claims, to 477 | make, use, sell, offer for sale, import and otherwise run, modify and 478 | propagate the contents of its contributor version. 479 | 480 | In the following three paragraphs, a "patent license" is any express 481 | agreement or commitment, however denominated, not to enforce a patent 482 | (such as an express permission to practice a patent or covenant not to 483 | sue for patent infringement). To "grant" such a patent license to a 484 | party means to make such an agreement or commitment not to enforce a 485 | patent against the party. 486 | 487 | If you convey a covered work, knowingly relying on a patent license, 488 | and the Corresponding Source of the work is not available for anyone 489 | to copy, free of charge and under the terms of this License, through a 490 | publicly available network server or other readily accessible means, 491 | then you must either (1) cause the Corresponding Source to be so 492 | available, or (2) arrange to deprive yourself of the benefit of the 493 | patent license for this particular work, or (3) arrange, in a manner 494 | consistent with the requirements of this License, to extend the patent 495 | license to downstream recipients. "Knowingly relying" means you have 496 | actual knowledge that, but for the patent license, your conveying the 497 | covered work in a country, or your recipient's use of the covered work 498 | in a country, would infringe one or more identifiable patents in that 499 | country that you have reason to believe are valid. 500 | 501 | If, pursuant to or in connection with a single transaction or 502 | arrangement, you convey, or propagate by procuring conveyance of, a 503 | covered work, and grant a patent license to some of the parties 504 | receiving the covered work authorizing them to use, propagate, modify 505 | or convey a specific copy of the covered work, then the patent license 506 | you grant is automatically extended to all recipients of the covered 507 | work and works based on it. 508 | 509 | A patent license is "discriminatory" if it does not include within 510 | the scope of its coverage, prohibits the exercise of, or is 511 | conditioned on the non-exercise of one or more of the rights that are 512 | specifically granted under this License. You may not convey a covered 513 | work if you are a party to an arrangement with a third party that is 514 | in the business of distributing software, under which you make payment 515 | to the third party based on the extent of your activity of conveying 516 | the work, and under which the third party grants, to any of the 517 | parties who would receive the covered work from you, a discriminatory 518 | patent license (a) in connection with copies of the covered work 519 | conveyed by you (or copies made from those copies), or (b) primarily 520 | for and in connection with specific products or compilations that 521 | contain the covered work, unless you entered into that arrangement, 522 | or that patent license was granted, prior to 28 March 2007. 523 | 524 | Nothing in this License shall be construed as excluding or limiting 525 | any implied license or other defenses to infringement that may 526 | otherwise be available to you under applicable patent law. 527 | 528 | 12. No Surrender of Others' Freedom. 529 | 530 | If conditions are imposed on you (whether by court order, agreement or 531 | otherwise) that contradict the conditions of this License, they do not 532 | excuse you from the conditions of this License. If you cannot convey a 533 | covered work so as to satisfy simultaneously your obligations under this 534 | License and any other pertinent obligations, then as a consequence you may 535 | not convey it at all. For example, if you agree to terms that obligate you 536 | to collect a royalty for further conveying from those to whom you convey 537 | the Program, the only way you could satisfy both those terms and this 538 | License would be to refrain entirely from conveying the Program. 539 | 540 | 13. Remote Network Interaction; Use with the GNU General Public License. 541 | 542 | Notwithstanding any other provision of this License, if you modify the 543 | Program, your modified version must prominently offer all users 544 | interacting with it remotely through a computer network (if your version 545 | supports such interaction) an opportunity to receive the Corresponding 546 | Source of your version by providing access to the Corresponding Source 547 | from a network server at no charge, through some standard or customary 548 | means of facilitating copying of software. This Corresponding Source 549 | shall include the Corresponding Source for any work covered by version 3 550 | of the GNU General Public License that is incorporated pursuant to the 551 | following paragraph. 552 | 553 | Notwithstanding any other provision of this License, you have 554 | permission to link or combine any covered work with a work licensed 555 | under version 3 of the GNU General Public License into a single 556 | combined work, and to convey the resulting work. The terms of this 557 | License will continue to apply to the part which is the covered work, 558 | but the work with which it is combined will remain governed by version 559 | 3 of the GNU General Public License. 560 | 561 | 14. Revised Versions of this License. 562 | 563 | The Free Software Foundation may publish revised and/or new versions of 564 | the GNU Affero General Public License from time to time. Such new versions 565 | will be similar in spirit to the present version, but may differ in detail to 566 | address new problems or concerns. 567 | 568 | Each version is given a distinguishing version number. If the 569 | Program specifies that a certain numbered version of the GNU Affero General 570 | Public License "or any later version" applies to it, you have the 571 | option of following the terms and conditions either of that numbered 572 | version or of any later version published by the Free Software 573 | Foundation. If the Program does not specify a version number of the 574 | GNU Affero General Public License, you may choose any version ever published 575 | by the Free Software Foundation. 576 | 577 | If the Program specifies that a proxy can decide which future 578 | versions of the GNU Affero General Public License can be used, that proxy's 579 | public statement of acceptance of a version permanently authorizes you 580 | to choose that version for the Program. 581 | 582 | Later license versions may give you additional or different 583 | permissions. However, no additional obligations are imposed on any 584 | author or copyright holder as a result of your choosing to follow a 585 | later version. 586 | 587 | 15. Disclaimer of Warranty. 588 | 589 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 590 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 591 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 592 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 593 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 594 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 595 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 596 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 597 | 598 | 16. Limitation of Liability. 599 | 600 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 601 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 602 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 603 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 604 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 605 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 606 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 607 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 608 | SUCH DAMAGES. 609 | 610 | 17. Interpretation of Sections 15 and 16. 611 | 612 | If the disclaimer of warranty and limitation of liability provided 613 | above cannot be given local legal effect according to their terms, 614 | reviewing courts shall apply local law that most closely approximates 615 | an absolute waiver of all civil liability in connection with the 616 | Program, unless a warranty or assumption of liability accompanies a 617 | copy of the Program in return for a fee. 618 | 619 | END OF TERMS AND CONDITIONS 620 | 621 | How to Apply These Terms to Your New Programs 622 | 623 | If you develop a new program, and you want it to be of the greatest 624 | possible use to the public, the best way to achieve this is to make it 625 | free software which everyone can redistribute and change under these terms. 626 | 627 | To do so, attach the following notices to the program. It is safest 628 | to attach them to the start of each source file to most effectively 629 | state the exclusion of warranty; and each file should have at least 630 | the "copyright" line and a pointer to where the full notice is found. 631 | 632 | 633 | Copyright (C) 634 | 635 | This program is free software: you can redistribute it and/or modify 636 | it under the terms of the GNU Affero General Public License as published by 637 | the Free Software Foundation, either version 3 of the License, or 638 | (at your option) any later version. 639 | 640 | This program is distributed in the hope that it will be useful, 641 | but WITHOUT ANY WARRANTY; without even the implied warranty of 642 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 643 | GNU Affero General Public License for more details. 644 | 645 | You should have received a copy of the GNU Affero General Public License 646 | along with this program. If not, see . 647 | 648 | Also add information on how to contact you by electronic and paper mail. 649 | 650 | If your software can interact with users remotely through a computer 651 | network, you should also make sure that it provides a way for users to 652 | get its source. For example, if your program is a web application, its 653 | interface could display a "Source" link that leads users to an archive 654 | of the code. There are many ways you could offer source, and different 655 | solutions will be better for different programs; see section 13 for the 656 | specific requirements. 657 | 658 | You should also get your employer (if you work as a programmer) or school, 659 | if any, to sign a "copyright disclaimer" for the program, if necessary. 660 | For more information on this, and how to apply and follow the GNU AGPL, see 661 | . 662 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | # This file is licensed under the Affero General Public License version 3 or 2 | # later. See the COPYING file. 3 | # @author Bernhard Posselt 4 | # @copyright Bernhard Posselt 2016 5 | 6 | # Generic Makefile for building and packaging a Nextcloud app which uses npm and 7 | # Composer. 8 | # 9 | # Dependencies: 10 | # * make 11 | # * which 12 | # * curl: used if phpunit and composer are not installed to fetch them from the web 13 | # * tar: for building the archive 14 | # * npm: for building and testing everything JS 15 | # 16 | # If no composer.json is in the app root directory, the Composer step 17 | # will be skipped. The same goes for the package.json which can be located in 18 | # the app root or the js/ directory. 19 | # 20 | # The npm command by launches the npm build script: 21 | # 22 | # npm run build 23 | # 24 | # The npm test command launches the npm test script: 25 | # 26 | # npm run test 27 | # 28 | # The idea behind this is to be completely testing and build tool agnostic. All 29 | # build tools and additional package managers should be installed locally in 30 | # your project, since this won't pollute people's global namespace. 31 | # 32 | # The following npm scripts in your package.json install and update the bower 33 | # and npm dependencies and use gulp as build system (notice how everything is 34 | # run from the node_modules folder): 35 | # 36 | # "scripts": { 37 | # "test": "node node_modules/gulp-cli/bin/gulp.js karma", 38 | # "prebuild": "npm install && node_modules/bower/bin/bower install && node_modules/bower/bin/bower update", 39 | # "build": "node node_modules/gulp-cli/bin/gulp.js" 40 | # }, 41 | 42 | app_name=$(notdir $(CURDIR)) 43 | build_tools_directory=$(CURDIR)/build/tools 44 | source_build_directory=$(CURDIR)/build/artifacts/source 45 | source_package_name=$(source_build_directory)/$(app_name) 46 | appstore_build_directory=$(CURDIR)/build/artifacts/appstore 47 | appstore_package_name=$(appstore_build_directory)/$(app_name) 48 | npm=$(shell which npm 2> /dev/null) 49 | composer=$(shell which composer 2> /dev/null) 50 | 51 | all: build 52 | 53 | # Fetches the PHP and JS dependencies and compiles the JS. If no composer.json 54 | # is present, the composer step is skipped, if no package.json or js/package.json 55 | # is present, the npm step is skipped 56 | .PHONY: build 57 | build: 58 | ifneq (,$(wildcard $(CURDIR)/composer.json)) 59 | make composer 60 | endif 61 | ifneq (,$(wildcard $(CURDIR)/package.json)) 62 | make npm 63 | endif 64 | ifneq (,$(wildcard $(CURDIR)/js/package.json)) 65 | make npm 66 | endif 67 | 68 | # Installs and updates the composer dependencies. If composer is not installed 69 | # a copy is fetched from the web 70 | .PHONY: composer 71 | composer: 72 | ifeq (, $(composer)) 73 | @echo "No composer command available, downloading a copy from the web" 74 | mkdir -p $(build_tools_directory) 75 | curl -sS https://getcomposer.org/installer | php 76 | mv composer.phar $(build_tools_directory) 77 | php $(build_tools_directory)/composer.phar install --prefer-dist 78 | php $(build_tools_directory)/composer.phar update --prefer-dist 79 | else 80 | composer install --prefer-dist 81 | composer update --prefer-dist 82 | endif 83 | 84 | # Installs npm dependencies 85 | .PHONY: npm 86 | npm: 87 | ifeq (,$(wildcard $(CURDIR)/package.json)) 88 | cd js && $(npm) run build 89 | else 90 | npm run build 91 | endif 92 | 93 | # Removes the appstore build 94 | .PHONY: clean 95 | clean: 96 | rm -rf ./build 97 | 98 | # Same as clean but also removes dependencies installed by composer, bower and 99 | # npm 100 | .PHONY: distclean 101 | distclean: clean 102 | rm -rf vendor 103 | rm -rf node_modules 104 | rm -rf js/vendor 105 | rm -rf js/node_modules 106 | 107 | # Builds the source and appstore package 108 | .PHONY: dist 109 | dist: 110 | make source 111 | make appstore 112 | 113 | # Builds the source package 114 | .PHONY: source 115 | source: 116 | rm -rf $(source_build_directory) 117 | mkdir -p $(source_build_directory) 118 | tar cvzf $(source_package_name).tar.gz ../$(app_name) \ 119 | --exclude-vcs \ 120 | --exclude="../$(app_name)/build" \ 121 | --exclude="../$(app_name)/js/node_modules" \ 122 | --exclude="../$(app_name)/node_modules" \ 123 | --exclude="../$(app_name)/*.log" \ 124 | --exclude="../$(app_name)/js/*.log" \ 125 | 126 | # Builds the source package for the app store, ignores php and js tests 127 | .PHONY: appstore 128 | appstore: 129 | rm -rf $(appstore_build_directory) 130 | mkdir -p $(appstore_build_directory) 131 | tar cvzf $(appstore_package_name).tar.gz \ 132 | --exclude-vcs \ 133 | --exclude="../$(app_name)/build" \ 134 | --exclude="../$(app_name)/tests" \ 135 | --exclude="../$(app_name)/Makefile" \ 136 | --exclude="../$(app_name)/*.log" \ 137 | --exclude="../$(app_name)/phpunit*xml" \ 138 | --exclude="../$(app_name)/composer.*" \ 139 | --exclude="../$(app_name)/js/node_modules" \ 140 | --exclude="../$(app_name)/js/tests" \ 141 | --exclude="../$(app_name)/js/test" \ 142 | --exclude="../$(app_name)/js/*.log" \ 143 | --exclude="../$(app_name)/js/package.json" \ 144 | --exclude="../$(app_name)/js/bower.json" \ 145 | --exclude="../$(app_name)/js/karma.*" \ 146 | --exclude="../$(app_name)/js/protractor.*" \ 147 | --exclude="../$(app_name)/package.json" \ 148 | --exclude="../$(app_name)/bower.json" \ 149 | --exclude="../$(app_name)/karma.*" \ 150 | --exclude="../$(app_name)/protractor\.*" \ 151 | --exclude="../$(app_name)/.*" \ 152 | --exclude="../$(app_name)/js/.*" \ 153 | ../$(app_name) \ 154 | 155 | .PHONY: test 156 | test: composer 157 | $(CURDIR)/vendor/phpunit/phpunit/phpunit -c phpunit.xml 158 | $(CURDIR)/vendor/phpunit/phpunit/phpunit -c phpunit.integration.xml 159 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Gpg Mailer 2 | Place this app in **nextcloud/apps/** 3 | 4 | ## Building the app 5 | 6 | The app can be built by using the provided Makefile by running: 7 | 8 | make 9 | 10 | This requires the following things to be present: 11 | * make 12 | * which 13 | * tar: for building the archive 14 | * curl: used if phpunit and composer are not installed to fetch them from the web 15 | * npm: for building and testing everything JS, only required if a package.json is placed inside the **js/** folder 16 | 17 | The make command will install or update Composer dependencies if a composer.json is present and also **npm run build** if a package.json is present in the **js/** folder. The npm **build** script should use local paths for build systems and package managers, so people that simply want to build the app won't need to install npm libraries globally, e.g.: 18 | 19 | **package.json**: 20 | ```json 21 | "scripts": { 22 | "test": "node node_modules/gulp-cli/bin/gulp.js karma", 23 | "prebuild": "npm install && node_modules/bower/bin/bower install && node_modules/bower/bin/bower update", 24 | "build": "node node_modules/gulp-cli/bin/gulp.js" 25 | } 26 | ``` 27 | 28 | 29 | ## Publish to App Store 30 | 31 | First get an account for the [App Store](http://apps.nextcloud.com/) then run: 32 | 33 | make && make appstore 34 | 35 | The archive is located in build/artifacts/appstore and can then be uploaded to the App Store. 36 | 37 | ## Running tests 38 | You can use the provided Makefile to run all tests by using: 39 | 40 | make test 41 | 42 | This will run the PHP unit and integration tests and if a package.json is present in the **js/** folder will execute **npm run test** 43 | 44 | Of course you can also install [PHPUnit](http://phpunit.de/getting-started.html) and use the configurations directly: 45 | 46 | phpunit -c phpunit.xml 47 | 48 | or: 49 | 50 | phpunit -c phpunit.integration.xml 51 | 52 | for integration tests 53 | -------------------------------------------------------------------------------- /appinfo/app.php: -------------------------------------------------------------------------------- 1 | . 4 | * 5 | * @license AGPL-3.0 6 | * 7 | * This code is free software: you can redistribute it and/or modify 8 | * it under the terms of the GNU Affero General Public License, version 3, 9 | * as published by the Free Software Foundation. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Affero General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Affero General Public License, version 3, 17 | * along with this program. If not, see 18 | * 19 | */ 20 | 21 | $app = new \OCA\GpgMailer\AppInfo\Application(); 22 | $app->registerHooks(); -------------------------------------------------------------------------------- /appinfo/info.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | gpgmailer 5 | GPG Mailer 6 | Send encrypted emails to registered users 7 | If user uploads public key, emails to this user will be encrypted and signed. 8 | All other emails will be signed 9 | This App depends on gnupg. 10 | 0.0.4 11 | agpl 12 | Arne Hamann 13 | GpgMailer 14 | security 15 | social 16 | tools 17 | https://github.com/tacruc/gpgmailer 18 | https://github.com/tacruc/gpgmailer/issues 19 | https://github.com/tacruc/gpgmailer 20 | 21 | 22 | gnupg 23 | 24 | 25 | 26 | OCA\GpgMailer\Migration\CreateGpgServerKeys 27 | 28 | 29 | 30 | OCA\GpgMailer\Settings\Admin 31 | OCA\GpgMailer\Settings\Personal 32 | 33 | 34 | -------------------------------------------------------------------------------- /appinfo/routes.php: -------------------------------------------------------------------------------- 1 | OCA\GpgMailer\Controller\PageController->index() 6 | * 7 | * The controller class has to be registered in the application.php file since 8 | * it's instantiated in there 9 | */ 10 | return [ 11 | 'routes' => [ 12 | ['name' => 'page#index', 'url' => '/', 'verb' => 'GET'], 13 | ['name' => 'key#downloadServerKey', 'url' => '/key/download/server', 'verb' => 'GET'], 14 | ['name' => 'key#uploadUserKey', 'url' => '/key/upload', 'verb' => 'POST'], 15 | ] 16 | ]; 17 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tacruc/gpgmailer", 3 | "description": "Send encryped emails to registered users", 4 | "type": "project", 5 | "license": "AGPL", 6 | "authors": [ 7 | { 8 | "name": "Arne Hamann" 9 | } 10 | ], 11 | "require": {}, 12 | "require-dev": { 13 | "phpunit/phpunit": "^8.0|^9.0" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /css/adminSettings.css: -------------------------------------------------------------------------------- 1 | .server_pubkey, .server_keyinfo { 2 | width: 400px; 3 | } 4 | -------------------------------------------------------------------------------- /css/personalSettings.css: -------------------------------------------------------------------------------- 1 | #keydata 2 | { 3 | width: 400px; 4 | } 5 | -------------------------------------------------------------------------------- /css/style.css: -------------------------------------------------------------------------------- 1 | #hello { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /img/app.svg: -------------------------------------------------------------------------------- 1 | 2 | 17 | 19 | 20 | 22 | image/svg+xml 23 | 25 | 26 | 27 | 28 | 30 | 50 | 56 | 57 | -------------------------------------------------------------------------------- /js/personalSettings.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | if (!OCA.GpgMailer) { 3 | OCA.GpgMailer = {}; 4 | } 5 | })(); 6 | 7 | function setPrivateKey(keydata) { 8 | var url = OC.generateUrl('/apps/gpgmailer/key/upload'); 9 | $.ajax({ 10 | type: 'POST', 11 | url: url, 12 | data: {keydata:keydata}, 13 | async: true 14 | }).done(function (response) { 15 | OC.Notification.showTemporary( 16 | t('gpgmailer', response['message']) 17 | ); 18 | 19 | }).fail(function() { 20 | OC.Notification.showTemporary( 21 | t('gpgmailer', 'Failed to save Public Key') 22 | ); 23 | }); 24 | } 25 | 26 | $(document).ready(function() { 27 | $("#keydata").on('change', function() { 28 | setPrivateKey($("#keydata").val()); 29 | }); 30 | }); 31 | -------------------------------------------------------------------------------- /js/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tacruc/gpgmailer/c51f465bd4336283d10817ab9f2231e113b8ca03/js/script.js -------------------------------------------------------------------------------- /l10n/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tacruc/gpgmailer/c51f465bd4336283d10817ab9f2231e113b8ca03/l10n/.gitkeep -------------------------------------------------------------------------------- /l10n/af.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Laai af" 5 | }, 6 | "nplurals=2; plural=(n != 1);"); 7 | -------------------------------------------------------------------------------- /l10n/af.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Laai af" 3 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 4 | } -------------------------------------------------------------------------------- /l10n/an.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Escargar" 5 | }, 6 | "nplurals=2; plural=(n != 1);"); 7 | -------------------------------------------------------------------------------- /l10n/an.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Escargar" 3 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 4 | } -------------------------------------------------------------------------------- /l10n/ar.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "فشل في حفظ المفتاح العمومي", 5 | "GPG Mailer" : "بريد GPG المُشفّر", 6 | "Send encrypted emails to registered users" : "أرسل إيميل مُشفّر للمُستخدمين المُسجّلين", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "عندما يقوم المستخدم برفع المفتاح العمومي، فإن الإيميلات المُرسلة إليه سيتم تشفيرها و توقيعها الكترونيّاً. \n كل الإيميلات الأخرى سيتم توقيعها الكترونيّاً. \nهذا التطبيق يعتمد على GNUpg. ", 8 | "Server GPG Keys" : "مفاتيح خادم GPG", 9 | "Public Key" : "مفتاح عمومي", 10 | "Download" : "تنزيل", 11 | "GPG Public Keys" : "مفاتيح GPG عمومية", 12 | "To enable encrypted emails, you must upload your public key below." : "لتمكين تشفير الإيميلات، يجب أن تقوم برفع مفاتيحك العمومية أدناه.", 13 | "Your GPG public key" : "مفاتيح GPG العمومية الخاصة بك", 14 | "Download Server Key" : "حمّل مفتاح الخادم" 15 | }, 16 | "nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;"); 17 | -------------------------------------------------------------------------------- /l10n/ar.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "فشل في حفظ المفتاح العمومي", 3 | "GPG Mailer" : "بريد GPG المُشفّر", 4 | "Send encrypted emails to registered users" : "أرسل إيميل مُشفّر للمُستخدمين المُسجّلين", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "عندما يقوم المستخدم برفع المفتاح العمومي، فإن الإيميلات المُرسلة إليه سيتم تشفيرها و توقيعها الكترونيّاً. \n كل الإيميلات الأخرى سيتم توقيعها الكترونيّاً. \nهذا التطبيق يعتمد على GNUpg. ", 6 | "Server GPG Keys" : "مفاتيح خادم GPG", 7 | "Public Key" : "مفتاح عمومي", 8 | "Download" : "تنزيل", 9 | "GPG Public Keys" : "مفاتيح GPG عمومية", 10 | "To enable encrypted emails, you must upload your public key below." : "لتمكين تشفير الإيميلات، يجب أن تقوم برفع مفاتيحك العمومية أدناه.", 11 | "Your GPG public key" : "مفاتيح GPG العمومية الخاصة بك", 12 | "Download Server Key" : "حمّل مفتاح الخادم" 13 | },"pluralForm" :"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;" 14 | } -------------------------------------------------------------------------------- /l10n/ast.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Nun se pue guardar la clave pública", 5 | "Public Key" : "Clave pública", 6 | "Download" : "Baxar" 7 | }, 8 | "nplurals=2; plural=(n != 1);"); 9 | -------------------------------------------------------------------------------- /l10n/ast.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Nun se pue guardar la clave pública", 3 | "Public Key" : "Clave pública", 4 | "Download" : "Baxar" 5 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 6 | } -------------------------------------------------------------------------------- /l10n/az.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Yüklə" 5 | }, 6 | "nplurals=2; plural=(n != 1);"); 7 | -------------------------------------------------------------------------------- /l10n/az.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Yüklə" 3 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 4 | } -------------------------------------------------------------------------------- /l10n/bg.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Неуспешно записване на Публичен ключ", 5 | "GPG Mailer" : "GPG Mailer/приложение за криптиране на имейли/", 6 | "Send encrypted emails to registered users" : "Изпращане на криптирани имейли до регистрирани потребители", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Ако потребител качи публичен ключ, имейлите до този потребител ще бъдат криптирани и подписани.\nВсички други имейли ще бъдат подписани\nТова приложение зависи от gnupg.", 8 | "Server GPG Keys" : "Сървърни GPG ключове", 9 | "Public Key" : "Публичен ключ", 10 | "Download" : "Изтегляне", 11 | "GPG Public Keys" : "GPG публични ключове", 12 | "To enable encrypted emails, you must upload your public key below." : "За активиране на криптирани имейли, трябва да качите своя публичен ключ по-долу.", 13 | "Your GPG public key" : "Вашият публичен ключ за GPG", 14 | "Download Server Key" : "Изтегляне на сървърния ключ " 15 | }, 16 | "nplurals=2; plural=(n != 1);"); 17 | -------------------------------------------------------------------------------- /l10n/bg.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Неуспешно записване на Публичен ключ", 3 | "GPG Mailer" : "GPG Mailer/приложение за криптиране на имейли/", 4 | "Send encrypted emails to registered users" : "Изпращане на криптирани имейли до регистрирани потребители", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Ако потребител качи публичен ключ, имейлите до този потребител ще бъдат криптирани и подписани.\nВсички други имейли ще бъдат подписани\nТова приложение зависи от gnupg.", 6 | "Server GPG Keys" : "Сървърни GPG ключове", 7 | "Public Key" : "Публичен ключ", 8 | "Download" : "Изтегляне", 9 | "GPG Public Keys" : "GPG публични ключове", 10 | "To enable encrypted emails, you must upload your public key below." : "За активиране на криптирани имейли, трябва да качите своя публичен ключ по-долу.", 11 | "Your GPG public key" : "Вашият публичен ключ за GPG", 12 | "Download Server Key" : "Изтегляне на сървърния ключ " 13 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 14 | } -------------------------------------------------------------------------------- /l10n/bn_BD.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "ডাউনলোড" 5 | }, 6 | "nplurals=2; plural=(n != 1);"); 7 | -------------------------------------------------------------------------------- /l10n/bn_BD.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "ডাউনলোড" 3 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 4 | } -------------------------------------------------------------------------------- /l10n/br.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Pellgargañ" 5 | }, 6 | "nplurals=5; plural=((n%10 == 1) && (n%100 != 11) && (n%100 !=71) && (n%100 !=91) ? 0 :(n%10 == 2) && (n%100 != 12) && (n%100 !=72) && (n%100 !=92) ? 1 :(n%10 ==3 || n%10==4 || n%10==9) && (n%100 < 10 || n% 100 > 19) && (n%100 < 70 || n%100 > 79) && (n%100 < 90 || n%100 > 99) ? 2 :(n != 0 && n % 1000000 == 0) ? 3 : 4);"); 7 | -------------------------------------------------------------------------------- /l10n/br.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Pellgargañ" 3 | },"pluralForm" :"nplurals=5; plural=((n%10 == 1) && (n%100 != 11) && (n%100 !=71) && (n%100 !=91) ? 0 :(n%10 == 2) && (n%100 != 12) && (n%100 !=72) && (n%100 !=92) ? 1 :(n%10 ==3 || n%10==4 || n%10==9) && (n%100 < 10 || n% 100 > 19) && (n%100 < 70 || n%100 > 79) && (n%100 < 90 || n%100 > 99) ? 2 :(n != 0 && n % 1000000 == 0) ? 3 : 4);" 4 | } -------------------------------------------------------------------------------- /l10n/bs.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Preuzmi" 5 | }, 6 | "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"); 7 | -------------------------------------------------------------------------------- /l10n/bs.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Preuzmi" 3 | },"pluralForm" :"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);" 4 | } -------------------------------------------------------------------------------- /l10n/ca.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "No s'ha pogut desar la clau pública", 5 | "GPG Mailer" : "GPG Mailer", 6 | "Send encrypted emails to registered users" : "Envia correus electrònics xifrats a usuaris registrats", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Si l'usuari penja una clau pública, els correus electrònics a aquest usuari seran xifrats i signats.\nTots els altres correus electrònics es signaran\nAquesta aplicació depèn de gnupg.", 8 | "Server GPG Keys" : "Claus de servidor GPG", 9 | "Public Key" : "Clau pública", 10 | "Download" : "Baixada", 11 | "GPG Public Keys" : "Claus GPG públiques", 12 | "To enable encrypted emails, you must upload your public key below." : "Per habilitar els correus electrònics xifrats, heu de pujar la vostra clau pública a sota.", 13 | "Your GPG public key" : "La vostra clau pública GPG", 14 | "Download Server Key" : "Baixada de la clau del servidor" 15 | }, 16 | "nplurals=2; plural=(n != 1);"); 17 | -------------------------------------------------------------------------------- /l10n/ca.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "No s'ha pogut desar la clau pública", 3 | "GPG Mailer" : "GPG Mailer", 4 | "Send encrypted emails to registered users" : "Envia correus electrònics xifrats a usuaris registrats", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Si l'usuari penja una clau pública, els correus electrònics a aquest usuari seran xifrats i signats.\nTots els altres correus electrònics es signaran\nAquesta aplicació depèn de gnupg.", 6 | "Server GPG Keys" : "Claus de servidor GPG", 7 | "Public Key" : "Clau pública", 8 | "Download" : "Baixada", 9 | "GPG Public Keys" : "Claus GPG públiques", 10 | "To enable encrypted emails, you must upload your public key below." : "Per habilitar els correus electrònics xifrats, heu de pujar la vostra clau pública a sota.", 11 | "Your GPG public key" : "La vostra clau pública GPG", 12 | "Download Server Key" : "Baixada de la clau del servidor" 13 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 14 | } -------------------------------------------------------------------------------- /l10n/cs.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Nepodařilo se uložit Veřejný klíč", 5 | "GPG Mailer" : "GPG obálka", 6 | "Send encrypted emails to registered users" : "Posílejte zašifrované e-maily registrovaným uživatelům", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Pokud uživatel nahraje veřejný klíč, e-maily tomuto uživateli budou zašifrované a podepsané\nOstatní e-maily budou podepsané\nTato aplikace je závislá na gnupg", 8 | "Server GPG Keys" : "GPG klíče serveru", 9 | "Public Key" : "Veřejný klíč", 10 | "Download" : "Stáhnout", 11 | "GPG Public Keys" : "GPG Veřejné klíče", 12 | "To enable encrypted emails, you must upload your public key below." : "Aby bylo možné e-maily šifrovat, nahrajte níže svůj veřejný klíč", 13 | "Your GPG public key" : "Váš GPG veřejný klíč", 14 | "Download Server Key" : "Stáhnout klíč serveru" 15 | }, 16 | "nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;"); 17 | -------------------------------------------------------------------------------- /l10n/cs.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Nepodařilo se uložit Veřejný klíč", 3 | "GPG Mailer" : "GPG obálka", 4 | "Send encrypted emails to registered users" : "Posílejte zašifrované e-maily registrovaným uživatelům", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Pokud uživatel nahraje veřejný klíč, e-maily tomuto uživateli budou zašifrované a podepsané\nOstatní e-maily budou podepsané\nTato aplikace je závislá na gnupg", 6 | "Server GPG Keys" : "GPG klíče serveru", 7 | "Public Key" : "Veřejný klíč", 8 | "Download" : "Stáhnout", 9 | "GPG Public Keys" : "GPG Veřejné klíče", 10 | "To enable encrypted emails, you must upload your public key below." : "Aby bylo možné e-maily šifrovat, nahrajte níže svůj veřejný klíč", 11 | "Your GPG public key" : "Váš GPG veřejný klíč", 12 | "Download Server Key" : "Stáhnout klíč serveru" 13 | },"pluralForm" :"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;" 14 | } -------------------------------------------------------------------------------- /l10n/cy_GB.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Llwytho i lawr" 5 | }, 6 | "nplurals=4; plural=(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3;"); 7 | -------------------------------------------------------------------------------- /l10n/cy_GB.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Llwytho i lawr" 3 | },"pluralForm" :"nplurals=4; plural=(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3;" 4 | } -------------------------------------------------------------------------------- /l10n/da.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Kunne ikke gemme offentlig nøgle", 5 | "GPG Mailer" : "GPG Mailer", 6 | "Send encrypted emails to registered users" : "Send krypterede e -mails til registrerede brugere", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Hvis bruger uploader offentlig nøgle, vil e -mails til denne bruger blive krypteret og signeret.\nAlle andre e -mails underskrives\nDenne app afhænger af gnupg.", 8 | "Server GPG Keys" : "Server -GPG -nøgler", 9 | "Public Key" : "Offentlig nøgle", 10 | "Download" : "Download", 11 | "GPG Public Keys" : "GPG offentlige nøgler", 12 | "To enable encrypted emails, you must upload your public key below." : "For at aktivere krypterede e -mails skal du uploade din offentlige nøgle herunder.", 13 | "Your GPG public key" : "Din offentlige GPG -nøgle", 14 | "Download Server Key" : "Download servernøgle" 15 | }, 16 | "nplurals=2; plural=(n != 1);"); 17 | -------------------------------------------------------------------------------- /l10n/da.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Kunne ikke gemme offentlig nøgle", 3 | "GPG Mailer" : "GPG Mailer", 4 | "Send encrypted emails to registered users" : "Send krypterede e -mails til registrerede brugere", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Hvis bruger uploader offentlig nøgle, vil e -mails til denne bruger blive krypteret og signeret.\nAlle andre e -mails underskrives\nDenne app afhænger af gnupg.", 6 | "Server GPG Keys" : "Server -GPG -nøgler", 7 | "Public Key" : "Offentlig nøgle", 8 | "Download" : "Download", 9 | "GPG Public Keys" : "GPG offentlige nøgler", 10 | "To enable encrypted emails, you must upload your public key below." : "For at aktivere krypterede e -mails skal du uploade din offentlige nøgle herunder.", 11 | "Your GPG public key" : "Din offentlige GPG -nøgle", 12 | "Download Server Key" : "Download servernøgle" 13 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 14 | } -------------------------------------------------------------------------------- /l10n/de.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Das Speichern des öffentlichen Schlüssels ist fehlgeschlagen", 5 | "GPG Mailer" : "Gpg-Mailer", 6 | "Send encrypted emails to registered users" : "Sende verschlüsselte E-Mails an die registrierten Benutzer", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Wenn ein Benutzer einen öffentlichen Schlüssel hochlädt, dann werden E-Mails an den Benutzer verschlüsselt und signiert.\nAlle anderen E-Mails werden signiert.\nDiese App ist von gnupg abhängig.", 8 | "Server GPG Keys" : "Server GPG-Schlüssel", 9 | "Public Key" : "Öffentlicher Schlüssel", 10 | "Download" : "Herunterladen", 11 | "GPG Public Keys" : "Öffentliche GPG-Schlüssel", 12 | "To enable encrypted emails, you must upload your public key below." : "Lade unten deinen öffentlichen Schlüssel hoch, um verschlüsselte E-Mails zu aktivieren.", 13 | "Your GPG public key" : "Dein öffentlicher GPG-Schlüssel", 14 | "Download Server Key" : "Server Schlüssel herunterladen" 15 | }, 16 | "nplurals=2; plural=(n != 1);"); 17 | -------------------------------------------------------------------------------- /l10n/de.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Das Speichern des öffentlichen Schlüssels ist fehlgeschlagen", 3 | "GPG Mailer" : "Gpg-Mailer", 4 | "Send encrypted emails to registered users" : "Sende verschlüsselte E-Mails an die registrierten Benutzer", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Wenn ein Benutzer einen öffentlichen Schlüssel hochlädt, dann werden E-Mails an den Benutzer verschlüsselt und signiert.\nAlle anderen E-Mails werden signiert.\nDiese App ist von gnupg abhängig.", 6 | "Server GPG Keys" : "Server GPG-Schlüssel", 7 | "Public Key" : "Öffentlicher Schlüssel", 8 | "Download" : "Herunterladen", 9 | "GPG Public Keys" : "Öffentliche GPG-Schlüssel", 10 | "To enable encrypted emails, you must upload your public key below." : "Lade unten deinen öffentlichen Schlüssel hoch, um verschlüsselte E-Mails zu aktivieren.", 11 | "Your GPG public key" : "Dein öffentlicher GPG-Schlüssel", 12 | "Download Server Key" : "Server Schlüssel herunterladen" 13 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 14 | } -------------------------------------------------------------------------------- /l10n/de_DE.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Öffentlicher Schlüssel konnte nicht gespeichert werden", 5 | "GPG Mailer" : "GPG-Mailer", 6 | "Send encrypted emails to registered users" : "Verschlüsselte E-Mails an registrierte Benutzer versenden", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Wenn ein Benutzer einen öffentlichen Schlüssel hochlädt, werden E-Mails an diesen Benutzer verschlüsselt und signiert.\nAlle anderen E-Mails werden signiert.\nDiese App benötigt gnupg.", 8 | "Server GPG Keys" : "Server GPG-Schlüssel", 9 | "Public Key" : "Öffentlicher Schlüssel", 10 | "Download" : "Herunterladen", 11 | "GPG Public Keys" : "Öffentliche GPG-Schlüssel", 12 | "To enable encrypted emails, you must upload your public key below." : "Um verschlüsselte E-Mails zu aktivieren, müssen Sie unten einen öffentlichen Schlüssel hochladen.", 13 | "Your GPG public key" : "Ihr öffentlicher GPG-Schlüssel", 14 | "Download Server Key" : "Serverschlüssel herunterladen" 15 | }, 16 | "nplurals=2; plural=(n != 1);"); 17 | -------------------------------------------------------------------------------- /l10n/de_DE.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Öffentlicher Schlüssel konnte nicht gespeichert werden", 3 | "GPG Mailer" : "GPG-Mailer", 4 | "Send encrypted emails to registered users" : "Verschlüsselte E-Mails an registrierte Benutzer versenden", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Wenn ein Benutzer einen öffentlichen Schlüssel hochlädt, werden E-Mails an diesen Benutzer verschlüsselt und signiert.\nAlle anderen E-Mails werden signiert.\nDiese App benötigt gnupg.", 6 | "Server GPG Keys" : "Server GPG-Schlüssel", 7 | "Public Key" : "Öffentlicher Schlüssel", 8 | "Download" : "Herunterladen", 9 | "GPG Public Keys" : "Öffentliche GPG-Schlüssel", 10 | "To enable encrypted emails, you must upload your public key below." : "Um verschlüsselte E-Mails zu aktivieren, müssen Sie unten einen öffentlichen Schlüssel hochladen.", 11 | "Your GPG public key" : "Ihr öffentlicher GPG-Schlüssel", 12 | "Download Server Key" : "Serverschlüssel herunterladen" 13 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 14 | } -------------------------------------------------------------------------------- /l10n/el.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Αποτυχία αποθήκευσης δημόσιου κλειδιού", 5 | "GPG Mailer" : "Αλληλογραφία GPG", 6 | "Send encrypted emails to registered users" : "Αποστολή κρυπτογραφημένων μηνυμάτων ηλεκτρονικού ταχυδρομείου σε εγγεγραμμένους χρήστες", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Εάν ο χρήστης μεταφορτώσει το δημόσιο κλειδί, τα μηνύματα ηλεκτρονικού ταχυδρομείου σε αυτόν τον χρήστη θα κρυπτογραφηθούν και θα υπογραφούν.\nΌλα τα άλλα μηνύματα ηλεκτρονικού ταχυδρομείου θα υπογράφονται\nΑυτή η εφαρμογή εξαρτάται από το gnupg.", 8 | "Server GPG Keys" : "Κλειδιά διακομιστή GPG", 9 | "Public Key" : "Δημόσιο κλειδί", 10 | "Download" : "Λήψη", 11 | "GPG Public Keys" : "Δημόσια κλειδιά GPG", 12 | "To enable encrypted emails, you must upload your public key below." : "Για να ενεργοποιήσετε τα κρυπτογραφημένα μηνύματα ηλεκτρονικού ταχυδρομείου, θα πρέπει να μεταφορτώσετε παρακάτω το δημόσιο κλειδί σας.", 13 | "Your GPG public key" : "Το δημόσιο GPG κλειδί σας", 14 | "Download Server Key" : "Λήψη κλειδιού διακομιστή" 15 | }, 16 | "nplurals=2; plural=(n != 1);"); 17 | -------------------------------------------------------------------------------- /l10n/el.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Αποτυχία αποθήκευσης δημόσιου κλειδιού", 3 | "GPG Mailer" : "Αλληλογραφία GPG", 4 | "Send encrypted emails to registered users" : "Αποστολή κρυπτογραφημένων μηνυμάτων ηλεκτρονικού ταχυδρομείου σε εγγεγραμμένους χρήστες", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Εάν ο χρήστης μεταφορτώσει το δημόσιο κλειδί, τα μηνύματα ηλεκτρονικού ταχυδρομείου σε αυτόν τον χρήστη θα κρυπτογραφηθούν και θα υπογραφούν.\nΌλα τα άλλα μηνύματα ηλεκτρονικού ταχυδρομείου θα υπογράφονται\nΑυτή η εφαρμογή εξαρτάται από το gnupg.", 6 | "Server GPG Keys" : "Κλειδιά διακομιστή GPG", 7 | "Public Key" : "Δημόσιο κλειδί", 8 | "Download" : "Λήψη", 9 | "GPG Public Keys" : "Δημόσια κλειδιά GPG", 10 | "To enable encrypted emails, you must upload your public key below." : "Για να ενεργοποιήσετε τα κρυπτογραφημένα μηνύματα ηλεκτρονικού ταχυδρομείου, θα πρέπει να μεταφορτώσετε παρακάτω το δημόσιο κλειδί σας.", 11 | "Your GPG public key" : "Το δημόσιο GPG κλειδί σας", 12 | "Download Server Key" : "Λήψη κλειδιού διακομιστή" 13 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 14 | } -------------------------------------------------------------------------------- /l10n/en_GB.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Failed to save Public Key", 5 | "GPG Mailer" : "GPG Mailer", 6 | "Send encrypted emails to registered users" : "Send encrypted emails to registered users", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg.", 8 | "Server GPG Keys" : "Server GPG Keys", 9 | "Public Key" : "Public Key", 10 | "Download" : "Download", 11 | "GPG Public Keys" : "GPG Public Keys", 12 | "To enable encrypted emails, you must upload your public key below." : "To enable encrypted emails, you must upload your public key below.", 13 | "Your GPG public key" : "Your GPG public key", 14 | "Download Server Key" : "Download Server Key" 15 | }, 16 | "nplurals=2; plural=(n != 1);"); 17 | -------------------------------------------------------------------------------- /l10n/en_GB.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Failed to save Public Key", 3 | "GPG Mailer" : "GPG Mailer", 4 | "Send encrypted emails to registered users" : "Send encrypted emails to registered users", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg.", 6 | "Server GPG Keys" : "Server GPG Keys", 7 | "Public Key" : "Public Key", 8 | "Download" : "Download", 9 | "GPG Public Keys" : "GPG Public Keys", 10 | "To enable encrypted emails, you must upload your public key below." : "To enable encrypted emails, you must upload your public key below.", 11 | "Your GPG public key" : "Your GPG public key", 12 | "Download Server Key" : "Download Server Key" 13 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 14 | } -------------------------------------------------------------------------------- /l10n/eo.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Elŝuti" 5 | }, 6 | "nplurals=2; plural=(n != 1);"); 7 | -------------------------------------------------------------------------------- /l10n/eo.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Elŝuti" 3 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 4 | } -------------------------------------------------------------------------------- /l10n/es.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Fallo al guardar la Clave Pública", 5 | "GPG Mailer" : "GPG Mailer", 6 | "Send encrypted emails to registered users" : "Envía correos electrónicos cifrados a los usuarios registrados", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Si el usuario sube una clave pública, los correos electrónicos enviados a ese usuario serán cifrados y firmados.\nTodos los demás correos electrónicos serán firmados\nEsta aplicación depende de gnupg.", 8 | "Server GPG Keys" : "Claves GPG del servidor", 9 | "Public Key" : "Clave pública", 10 | "Download" : "Descargar", 11 | "GPG Public Keys" : "Claves públicas GPG", 12 | "To enable encrypted emails, you must upload your public key below." : "Para habilitar los correos electrónicos cifrados, debes subir tu clave pública abajo.", 13 | "Your GPG public key" : "Su clave pública GPG", 14 | "Download Server Key" : "Descargar clave del servidor" 15 | }, 16 | "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 17 | -------------------------------------------------------------------------------- /l10n/es.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Fallo al guardar la Clave Pública", 3 | "GPG Mailer" : "GPG Mailer", 4 | "Send encrypted emails to registered users" : "Envía correos electrónicos cifrados a los usuarios registrados", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Si el usuario sube una clave pública, los correos electrónicos enviados a ese usuario serán cifrados y firmados.\nTodos los demás correos electrónicos serán firmados\nEsta aplicación depende de gnupg.", 6 | "Server GPG Keys" : "Claves GPG del servidor", 7 | "Public Key" : "Clave pública", 8 | "Download" : "Descargar", 9 | "GPG Public Keys" : "Claves públicas GPG", 10 | "To enable encrypted emails, you must upload your public key below." : "Para habilitar los correos electrónicos cifrados, debes subir tu clave pública abajo.", 11 | "Your GPG public key" : "Su clave pública GPG", 12 | "Download Server Key" : "Descargar clave del servidor" 13 | },"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 14 | } -------------------------------------------------------------------------------- /l10n/es_419.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Descargar" 5 | }, 6 | "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 7 | -------------------------------------------------------------------------------- /l10n/es_419.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Descargar" 3 | },"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 4 | } -------------------------------------------------------------------------------- /l10n/es_AR.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Descargar" 5 | }, 6 | "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 7 | -------------------------------------------------------------------------------- /l10n/es_AR.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Descargar" 3 | },"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 4 | } -------------------------------------------------------------------------------- /l10n/es_CL.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Descargar" 5 | }, 6 | "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 7 | -------------------------------------------------------------------------------- /l10n/es_CL.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Descargar" 3 | },"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 4 | } -------------------------------------------------------------------------------- /l10n/es_CO.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Descargar" 5 | }, 6 | "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 7 | -------------------------------------------------------------------------------- /l10n/es_CO.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Descargar" 3 | },"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 4 | } -------------------------------------------------------------------------------- /l10n/es_CR.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Descargar" 5 | }, 6 | "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 7 | -------------------------------------------------------------------------------- /l10n/es_CR.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Descargar" 3 | },"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 4 | } -------------------------------------------------------------------------------- /l10n/es_DO.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Descargar" 5 | }, 6 | "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 7 | -------------------------------------------------------------------------------- /l10n/es_DO.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Descargar" 3 | },"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 4 | } -------------------------------------------------------------------------------- /l10n/es_EC.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Error al guardar la clave pública", 5 | "GPG Mailer" : "GPG Mailer", 6 | "Send encrypted emails to registered users" : "Enviar correos electrónicos cifrados a usuarios registrados", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Si el usuario carga una clave pública, los correos electrónicos a este usuario serán cifrados y firmados.\n Todos los demás correos electrónicos serán firmados.\n Esta aplicación depende de gnupg.", 8 | "Server GPG Keys" : "Claves públicas del servidor", 9 | "Public Key" : "Clave pública", 10 | "Download" : "Descargar", 11 | "GPG Public Keys" : "Claves públicas de GPG", 12 | "To enable encrypted emails, you must upload your public key below." : "Para habilitar correos electrónicos cifrados, debes cargar tu clave pública a continuación.", 13 | "Your GPG public key" : "Tu clave pública GPG", 14 | "Download Server Key" : "Descargar clave del servidor" 15 | }, 16 | "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 17 | -------------------------------------------------------------------------------- /l10n/es_EC.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Error al guardar la clave pública", 3 | "GPG Mailer" : "GPG Mailer", 4 | "Send encrypted emails to registered users" : "Enviar correos electrónicos cifrados a usuarios registrados", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Si el usuario carga una clave pública, los correos electrónicos a este usuario serán cifrados y firmados.\n Todos los demás correos electrónicos serán firmados.\n Esta aplicación depende de gnupg.", 6 | "Server GPG Keys" : "Claves públicas del servidor", 7 | "Public Key" : "Clave pública", 8 | "Download" : "Descargar", 9 | "GPG Public Keys" : "Claves públicas de GPG", 10 | "To enable encrypted emails, you must upload your public key below." : "Para habilitar correos electrónicos cifrados, debes cargar tu clave pública a continuación.", 11 | "Your GPG public key" : "Tu clave pública GPG", 12 | "Download Server Key" : "Descargar clave del servidor" 13 | },"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 14 | } -------------------------------------------------------------------------------- /l10n/es_GT.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Descargar" 5 | }, 6 | "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 7 | -------------------------------------------------------------------------------- /l10n/es_GT.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Descargar" 3 | },"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 4 | } -------------------------------------------------------------------------------- /l10n/es_HN.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Descargar" 5 | }, 6 | "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 7 | -------------------------------------------------------------------------------- /l10n/es_HN.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Descargar" 3 | },"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 4 | } -------------------------------------------------------------------------------- /l10n/es_MX.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Descargar" 5 | }, 6 | "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 7 | -------------------------------------------------------------------------------- /l10n/es_MX.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Descargar" 3 | },"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 4 | } -------------------------------------------------------------------------------- /l10n/es_NI.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Descargar" 5 | }, 6 | "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 7 | -------------------------------------------------------------------------------- /l10n/es_NI.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Descargar" 3 | },"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 4 | } -------------------------------------------------------------------------------- /l10n/es_PA.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Descargar" 5 | }, 6 | "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 7 | -------------------------------------------------------------------------------- /l10n/es_PA.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Descargar" 3 | },"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 4 | } -------------------------------------------------------------------------------- /l10n/es_PE.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Descargar" 5 | }, 6 | "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 7 | -------------------------------------------------------------------------------- /l10n/es_PE.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Descargar" 3 | },"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 4 | } -------------------------------------------------------------------------------- /l10n/es_PR.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Descargar" 5 | }, 6 | "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 7 | -------------------------------------------------------------------------------- /l10n/es_PR.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Descargar" 3 | },"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 4 | } -------------------------------------------------------------------------------- /l10n/es_PY.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Descargar" 5 | }, 6 | "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 7 | -------------------------------------------------------------------------------- /l10n/es_PY.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Descargar" 3 | },"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 4 | } -------------------------------------------------------------------------------- /l10n/es_SV.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Descargar" 5 | }, 6 | "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 7 | -------------------------------------------------------------------------------- /l10n/es_SV.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Descargar" 3 | },"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 4 | } -------------------------------------------------------------------------------- /l10n/es_UY.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Descargar" 5 | }, 6 | "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 7 | -------------------------------------------------------------------------------- /l10n/es_UY.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Descargar" 3 | },"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 4 | } -------------------------------------------------------------------------------- /l10n/et_EE.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Avaliku võtme salvestamine ei õnnestunud", 5 | "GPG Mailer" : "GPG-põhine postitaja", 6 | "Send encrypted emails to registered users" : "Saada registreeritud kasutajatele krüptitud e-kirju", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Kui kasutaja laadib üles oma avaliku võtme, siis sellele kasutajale saadetavad saavad olema krüptitud ja allkirjastatud.\nKõik muud e-kirjad saavad olema vaid allkirjastatud\nSee rakendus eeldab gnupg teekide olemasolu.", 8 | "Server GPG Keys" : "Serveri GPG-võtmed", 9 | "Public Key" : "Avalik võti", 10 | "Download" : "Laadi alla", 11 | "GPG Public Keys" : "Avalikud GPG-võtmed", 12 | "To enable encrypted emails, you must upload your public key below." : "Krüptitud e-kirjade saatmiseks laadi alljärgnevalt üles oma avalik võti.", 13 | "Your GPG public key" : "Sinu avalik GPG-võti", 14 | "Download Server Key" : "Laadi alla serveri võti" 15 | }, 16 | "nplurals=2; plural=(n != 1);"); 17 | -------------------------------------------------------------------------------- /l10n/et_EE.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Avaliku võtme salvestamine ei õnnestunud", 3 | "GPG Mailer" : "GPG-põhine postitaja", 4 | "Send encrypted emails to registered users" : "Saada registreeritud kasutajatele krüptitud e-kirju", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Kui kasutaja laadib üles oma avaliku võtme, siis sellele kasutajale saadetavad saavad olema krüptitud ja allkirjastatud.\nKõik muud e-kirjad saavad olema vaid allkirjastatud\nSee rakendus eeldab gnupg teekide olemasolu.", 6 | "Server GPG Keys" : "Serveri GPG-võtmed", 7 | "Public Key" : "Avalik võti", 8 | "Download" : "Laadi alla", 9 | "GPG Public Keys" : "Avalikud GPG-võtmed", 10 | "To enable encrypted emails, you must upload your public key below." : "Krüptitud e-kirjade saatmiseks laadi alljärgnevalt üles oma avalik võti.", 11 | "Your GPG public key" : "Sinu avalik GPG-võti", 12 | "Download Server Key" : "Laadi alla serveri võti" 13 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 14 | } -------------------------------------------------------------------------------- /l10n/eu.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Ezin izan da gorde Public Key", 5 | "GPG Mailer" : "GPG Posta-bidaltzailea", 6 | "Send encrypted emails to registered users" : "Bidali mezu elektroniko enkriptatuak erregistratutako erabiltzaileei", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Erabiltzaileak gako publikoa igotzen badu, erabiltzaile honentzako mezu elektronikoak enkriptatu eta sinatuko dira.\nBeste mezu elektroniko guztiak sinatuko dira\nAplikazio hau gnupg-en araberakoa da.", 8 | "Server GPG Keys" : "Zerbitzariaren GPG gakoak", 9 | "Public Key" : "Gako publikoa", 10 | "Download" : "Deskargatu", 11 | "GPG Public Keys" : "GPG gako publikoak", 12 | "To enable encrypted emails, you must upload your public key below." : "Enkriptatutako mezu elektronikoak gaitzeko, behean zure gako publikoa igo behar duzu.", 13 | "Your GPG public key" : "Zure GPG gako publikoa", 14 | "Download Server Key" : "Deskargatu zerbitzariaren gakoa" 15 | }, 16 | "nplurals=2; plural=(n != 1);"); 17 | -------------------------------------------------------------------------------- /l10n/eu.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Ezin izan da gorde Public Key", 3 | "GPG Mailer" : "GPG Posta-bidaltzailea", 4 | "Send encrypted emails to registered users" : "Bidali mezu elektroniko enkriptatuak erregistratutako erabiltzaileei", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Erabiltzaileak gako publikoa igotzen badu, erabiltzaile honentzako mezu elektronikoak enkriptatu eta sinatuko dira.\nBeste mezu elektroniko guztiak sinatuko dira\nAplikazio hau gnupg-en araberakoa da.", 6 | "Server GPG Keys" : "Zerbitzariaren GPG gakoak", 7 | "Public Key" : "Gako publikoa", 8 | "Download" : "Deskargatu", 9 | "GPG Public Keys" : "GPG gako publikoak", 10 | "To enable encrypted emails, you must upload your public key below." : "Enkriptatutako mezu elektronikoak gaitzeko, behean zure gako publikoa igo behar duzu.", 11 | "Your GPG public key" : "Zure GPG gako publikoa", 12 | "Download Server Key" : "Deskargatu zerbitzariaren gakoa" 13 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 14 | } -------------------------------------------------------------------------------- /l10n/fa.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "کلید عمومی ذخیره نشد", 5 | "GPG Mailer" : "میلر GPG", 6 | "Send encrypted emails to registered users" : "ایمیل های رمزگذاری شده را برای کاربران ثبت نام شده ارسال کنید", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "اگر کاربر کلید عمومی را آپلود کند، ایمیل های این کاربر رمزگذاری شده و امضا می شود.\nهمه ایمیل های دیگر امضا خواهند شد\nاین برنامه به gnupg بستگی دارد.", 8 | "Server GPG Keys" : "کلیدهای GPG سرور", 9 | "Public Key" : "کلید عمومی", 10 | "Download" : "بارگیری", 11 | "GPG Public Keys" : "کلیدهای عمومی GPG", 12 | "To enable encrypted emails, you must upload your public key below." : "برای فعال کردن ایمیل های رمزگذاری شده، باید کلید عمومی خود را در زیر آپلود کنید.", 13 | "Your GPG public key" : "کلید عمومی GPG شما", 14 | "Download Server Key" : "دانلود کلید سرور" 15 | }, 16 | "nplurals=2; plural=(n > 1);"); 17 | -------------------------------------------------------------------------------- /l10n/fa.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "کلید عمومی ذخیره نشد", 3 | "GPG Mailer" : "میلر GPG", 4 | "Send encrypted emails to registered users" : "ایمیل های رمزگذاری شده را برای کاربران ثبت نام شده ارسال کنید", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "اگر کاربر کلید عمومی را آپلود کند، ایمیل های این کاربر رمزگذاری شده و امضا می شود.\nهمه ایمیل های دیگر امضا خواهند شد\nاین برنامه به gnupg بستگی دارد.", 6 | "Server GPG Keys" : "کلیدهای GPG سرور", 7 | "Public Key" : "کلید عمومی", 8 | "Download" : "بارگیری", 9 | "GPG Public Keys" : "کلیدهای عمومی GPG", 10 | "To enable encrypted emails, you must upload your public key below." : "برای فعال کردن ایمیل های رمزگذاری شده، باید کلید عمومی خود را در زیر آپلود کنید.", 11 | "Your GPG public key" : "کلید عمومی GPG شما", 12 | "Download Server Key" : "دانلود کلید سرور" 13 | },"pluralForm" :"nplurals=2; plural=(n > 1);" 14 | } -------------------------------------------------------------------------------- /l10n/fi.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Julkisen avaimen tallennus epäonnistui", 5 | "GPG Mailer" : "GPG-viestittäjä", 6 | "Send encrypted emails to registered users" : "Lähetä salattuja sähköposteja rekisteröidyille käyttäjille", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Jos käyttäjä lataa julkisen avaimen, sähköpostit kyseiselle käyttäjälle salataan. Sovellus vaatii gnupg.", 8 | "Server GPG Keys" : "Palvelimen GPG-avaimet", 9 | "Public Key" : "Julkinen avain", 10 | "Download" : "Lataa", 11 | "GPG Public Keys" : "Julkiset GPG-avaimet", 12 | "To enable encrypted emails, you must upload your public key below." : "Ottaaksesi salatut sähköpostiviestit käyttöön, sinun pitää ladata julkinen avain alhaalta.", 13 | "Your GPG public key" : "Sinun julkinen GPG-avain", 14 | "Download Server Key" : "Lataa palvelinavain" 15 | }, 16 | "nplurals=2; plural=(n != 1);"); 17 | -------------------------------------------------------------------------------- /l10n/fi.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Julkisen avaimen tallennus epäonnistui", 3 | "GPG Mailer" : "GPG-viestittäjä", 4 | "Send encrypted emails to registered users" : "Lähetä salattuja sähköposteja rekisteröidyille käyttäjille", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Jos käyttäjä lataa julkisen avaimen, sähköpostit kyseiselle käyttäjälle salataan. Sovellus vaatii gnupg.", 6 | "Server GPG Keys" : "Palvelimen GPG-avaimet", 7 | "Public Key" : "Julkinen avain", 8 | "Download" : "Lataa", 9 | "GPG Public Keys" : "Julkiset GPG-avaimet", 10 | "To enable encrypted emails, you must upload your public key below." : "Ottaaksesi salatut sähköpostiviestit käyttöön, sinun pitää ladata julkinen avain alhaalta.", 11 | "Your GPG public key" : "Sinun julkinen GPG-avain", 12 | "Download Server Key" : "Lataa palvelinavain" 13 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 14 | } -------------------------------------------------------------------------------- /l10n/fr.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Impossible de sauvegarder la clé publique", 5 | "GPG Mailer" : "Mailer GPG", 6 | "Send encrypted emails to registered users" : "Envoyer des e-mails cryptés aux utilisateurs enregistrés", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Si l'utilisateur envoi sa clé publique, les e-mails seront encryptés et signés.\nTous les autres e-mails seront signés\nCette application dépend de gnupg.", 8 | "Server GPG Keys" : "Serveur de clés GPG", 9 | "Public Key" : "Clé publique", 10 | "Download" : "Télécharger", 11 | "GPG Public Keys" : "Clés GPG publiques", 12 | "To enable encrypted emails, you must upload your public key below." : "Pour activer les e-mails cryptés, vous devez téléverser votre clé publique ci-dessous.", 13 | "Your GPG public key" : "Votre clé GPG publique", 14 | "Download Server Key" : "Télécharger la clé serveur" 15 | }, 16 | "nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 17 | -------------------------------------------------------------------------------- /l10n/fr.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Impossible de sauvegarder la clé publique", 3 | "GPG Mailer" : "Mailer GPG", 4 | "Send encrypted emails to registered users" : "Envoyer des e-mails cryptés aux utilisateurs enregistrés", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Si l'utilisateur envoi sa clé publique, les e-mails seront encryptés et signés.\nTous les autres e-mails seront signés\nCette application dépend de gnupg.", 6 | "Server GPG Keys" : "Serveur de clés GPG", 7 | "Public Key" : "Clé publique", 8 | "Download" : "Télécharger", 9 | "GPG Public Keys" : "Clés GPG publiques", 10 | "To enable encrypted emails, you must upload your public key below." : "Pour activer les e-mails cryptés, vous devez téléverser votre clé publique ci-dessous.", 11 | "Your GPG public key" : "Votre clé GPG publique", 12 | "Download Server Key" : "Télécharger la clé serveur" 13 | },"pluralForm" :"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 14 | } -------------------------------------------------------------------------------- /l10n/ga.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Theip ar shábháil Eochair Phoiblí", 5 | "GPG Mailer" : "Seoltóir GPG", 6 | "Send encrypted emails to registered users" : "Seol ríomhphoist criptithe chuig úsáideoirí cláraithe", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Má uaslódálann úsáideoir eochair phoiblí, déanfar ríomhphoist chuig an úsáideoir seo a chriptiú agus a shíniú.\nDéanfar gach ríomhphost eile a shíniú\nBraitheann an aip seo ar gnupg.", 8 | "Server GPG Keys" : "Eochracha GPG freastalaí", 9 | "Public Key" : "Eochair Phoiblí", 10 | "Download" : "Íoslódáil", 11 | "GPG Public Keys" : "Eochracha Poiblí GPG", 12 | "To enable encrypted emails, you must upload your public key below." : "Chun ríomhphoist criptithe a chumasú, ní mór duit d'eochair phoiblí a uaslódáil thíos.", 13 | "Your GPG public key" : "D'eochair phoiblí GPG", 14 | "Download Server Key" : "Íosluchtaigh eochair do freastalaithe" 15 | }, 16 | "nplurals=5; plural=(n==1 ? 0 : n==2 ? 1 : n<7 ? 2 : n<11 ? 3 : 4);"); 17 | -------------------------------------------------------------------------------- /l10n/ga.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Theip ar shábháil Eochair Phoiblí", 3 | "GPG Mailer" : "Seoltóir GPG", 4 | "Send encrypted emails to registered users" : "Seol ríomhphoist criptithe chuig úsáideoirí cláraithe", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Má uaslódálann úsáideoir eochair phoiblí, déanfar ríomhphoist chuig an úsáideoir seo a chriptiú agus a shíniú.\nDéanfar gach ríomhphost eile a shíniú\nBraitheann an aip seo ar gnupg.", 6 | "Server GPG Keys" : "Eochracha GPG freastalaí", 7 | "Public Key" : "Eochair Phoiblí", 8 | "Download" : "Íoslódáil", 9 | "GPG Public Keys" : "Eochracha Poiblí GPG", 10 | "To enable encrypted emails, you must upload your public key below." : "Chun ríomhphoist criptithe a chumasú, ní mór duit d'eochair phoiblí a uaslódáil thíos.", 11 | "Your GPG public key" : "D'eochair phoiblí GPG", 12 | "Download Server Key" : "Íosluchtaigh eochair do freastalaithe" 13 | },"pluralForm" :"nplurals=5; plural=(n==1 ? 0 : n==2 ? 1 : n<7 ? 2 : n<11 ? 3 : 4);" 14 | } -------------------------------------------------------------------------------- /l10n/gd.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Luchdaich a-nuas" 5 | }, 6 | "nplurals=4; plural=(n==1 || n==11) ? 0 : (n==2 || n==12) ? 1 : (n > 2 && n < 20) ? 2 : 3;"); 7 | -------------------------------------------------------------------------------- /l10n/gd.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Luchdaich a-nuas" 3 | },"pluralForm" :"nplurals=4; plural=(n==1 || n==11) ? 0 : (n==2 || n==12) ? 1 : (n > 2 && n < 20) ? 2 : 3;" 4 | } -------------------------------------------------------------------------------- /l10n/gl.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Produciuse un fallo ao gardar a chave pública", 5 | "GPG Mailer" : "GPG Mailer", 6 | "Send encrypted emails to registered users" : "Envía correos cifrados aos usuarios rexistrados", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Se un usuario envía unha chave pública, os correos a este usuario cifraranse e asinaranse.\nOs demais correos electrónicos só se asinarán\nEsta aplicación depende de gnupg.", 8 | "Server GPG Keys" : "Chaves GPG do servidor", 9 | "Public Key" : "Chave pública", 10 | "Download" : "Descargar", 11 | "GPG Public Keys" : "Chaves GPG públicas", 12 | "To enable encrypted emails, you must upload your public key below." : "Para activar os correos cifrados, envíe a súa chave pública a seguir.", 13 | "Your GPG public key" : "A súa chave GPG pública", 14 | "Download Server Key" : "Descargar a chave do servidor" 15 | }, 16 | "nplurals=2; plural=(n != 1);"); 17 | -------------------------------------------------------------------------------- /l10n/gl.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Produciuse un fallo ao gardar a chave pública", 3 | "GPG Mailer" : "GPG Mailer", 4 | "Send encrypted emails to registered users" : "Envía correos cifrados aos usuarios rexistrados", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Se un usuario envía unha chave pública, os correos a este usuario cifraranse e asinaranse.\nOs demais correos electrónicos só se asinarán\nEsta aplicación depende de gnupg.", 6 | "Server GPG Keys" : "Chaves GPG do servidor", 7 | "Public Key" : "Chave pública", 8 | "Download" : "Descargar", 9 | "GPG Public Keys" : "Chaves GPG públicas", 10 | "To enable encrypted emails, you must upload your public key below." : "Para activar os correos cifrados, envíe a súa chave pública a seguir.", 11 | "Your GPG public key" : "A súa chave GPG pública", 12 | "Download Server Key" : "Descargar a chave do servidor" 13 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 14 | } -------------------------------------------------------------------------------- /l10n/he.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "שמירת המפתח הציבורי נכשלה", 5 | "GPG Mailer" : "מיילים עם GPG (אבטחה)", 6 | "Send encrypted emails to registered users" : "שליחת הודעות דוא״ל מוצפנות למשתמשים רשומים", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "אם משתמש בחר להעלות מפתח ציבורי, הדוא״ל למשתמש הזה יהיה מוצפן וחתום.\nכל שאר ההודעות תהיינה חתומות\nיישומון זה מסתמך על gnupg.", 8 | "Server GPG Keys" : "מפתחות GPG של השרת", 9 | "Public Key" : "מפתח ציבורי", 10 | "Download" : "הורדה", 11 | "GPG Public Keys" : "מפתחות GPG ציבוריים", 12 | "To enable encrypted emails, you must upload your public key below." : "כדי להפעיל דוא״ל מוצפן, עליך להעלות את המפתח הציבורי שלך להלן.", 13 | "Your GPG public key" : "מפתח ה־GPG הציבורי שלך", 14 | "Download Server Key" : "הורדת מפתח השרת" 15 | }, 16 | "nplurals=3; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: 2;"); 17 | -------------------------------------------------------------------------------- /l10n/he.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "שמירת המפתח הציבורי נכשלה", 3 | "GPG Mailer" : "מיילים עם GPG (אבטחה)", 4 | "Send encrypted emails to registered users" : "שליחת הודעות דוא״ל מוצפנות למשתמשים רשומים", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "אם משתמש בחר להעלות מפתח ציבורי, הדוא״ל למשתמש הזה יהיה מוצפן וחתום.\nכל שאר ההודעות תהיינה חתומות\nיישומון זה מסתמך על gnupg.", 6 | "Server GPG Keys" : "מפתחות GPG של השרת", 7 | "Public Key" : "מפתח ציבורי", 8 | "Download" : "הורדה", 9 | "GPG Public Keys" : "מפתחות GPG ציבוריים", 10 | "To enable encrypted emails, you must upload your public key below." : "כדי להפעיל דוא״ל מוצפן, עליך להעלות את המפתח הציבורי שלך להלן.", 11 | "Your GPG public key" : "מפתח ה־GPG הציבורי שלך", 12 | "Download Server Key" : "הורדת מפתח השרת" 13 | },"pluralForm" :"nplurals=3; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: 2;" 14 | } -------------------------------------------------------------------------------- /l10n/hr.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Spremanje javnog ključa nije uspjelo", 5 | "GPG Mailer" : "GPG Mailer", 6 | "Send encrypted emails to registered users" : "Šaljite šifrirane poruke e-pošte registriranim korisnicima", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Ako korisnik otpremi javni ključ, poruke e-pošte koje se šalju tom korisniku bit će šifrirane i potpisane.\nSve ostale poruke e-pošte bit će potpisane\nOva aplikacija ovisi o gnupg-u.", 8 | "Server GPG Keys" : "Poslužiteljski GPG ključevi", 9 | "Public Key" : "Javni ključ", 10 | "Download" : "Preuzmi", 11 | "GPG Public Keys" : "Javni GPG ključevi", 12 | "To enable encrypted emails, you must upload your public key below." : "Kako biste omogućili šifrirane poruke e-pošte otpremite svoj javni ključ ispod.", 13 | "Your GPG public key" : "Vaš javni GPG ključ", 14 | "Download Server Key" : "Preuzmi ključ poslužitelja" 15 | }, 16 | "nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;"); 17 | -------------------------------------------------------------------------------- /l10n/hr.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Spremanje javnog ključa nije uspjelo", 3 | "GPG Mailer" : "GPG Mailer", 4 | "Send encrypted emails to registered users" : "Šaljite šifrirane poruke e-pošte registriranim korisnicima", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Ako korisnik otpremi javni ključ, poruke e-pošte koje se šalju tom korisniku bit će šifrirane i potpisane.\nSve ostale poruke e-pošte bit će potpisane\nOva aplikacija ovisi o gnupg-u.", 6 | "Server GPG Keys" : "Poslužiteljski GPG ključevi", 7 | "Public Key" : "Javni ključ", 8 | "Download" : "Preuzmi", 9 | "GPG Public Keys" : "Javni GPG ključevi", 10 | "To enable encrypted emails, you must upload your public key below." : "Kako biste omogućili šifrirane poruke e-pošte otpremite svoj javni ključ ispod.", 11 | "Your GPG public key" : "Vaš javni GPG ključ", 12 | "Download Server Key" : "Preuzmi ključ poslužitelja" 13 | },"pluralForm" :"nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;" 14 | } -------------------------------------------------------------------------------- /l10n/hu.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "A nyilvános kulcs mentése sikertelen", 5 | "GPG Mailer" : "GPG levelező", 6 | "Send encrypted emails to registered users" : "Titkosított e-mail küldése regisztrált felhasználóknak", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Amennyiben a felhasználó feltöltött egy nyilvános kulcsot, az ennek a felhasználónak küldött e-mailek titkosítva és aláírva kerülnek elküldésre.\nAz összes többi e-mail csak alá lesz írva.\nAz alkalmazás a gnupg-re épül.", 8 | "Server GPG Keys" : "A kiszolgáló GPG kulcsai", 9 | "Public Key" : "Nyilvános kulcs", 10 | "Download" : "Letöltés", 11 | "GPG Public Keys" : "GPG nyilvános kulcsok", 12 | "To enable encrypted emails, you must upload your public key below." : "A titkosított e-mailek engedélyezéséhez először fel kell tölteni egy nyilvános kulcsot.", 13 | "Your GPG public key" : "Az Ön nyilvános GPG kulcsa", 14 | "Download Server Key" : "A kiszolgáló nyilvános kulcsának letöltése" 15 | }, 16 | "nplurals=2; plural=(n != 1);"); 17 | -------------------------------------------------------------------------------- /l10n/hu.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "A nyilvános kulcs mentése sikertelen", 3 | "GPG Mailer" : "GPG levelező", 4 | "Send encrypted emails to registered users" : "Titkosított e-mail küldése regisztrált felhasználóknak", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Amennyiben a felhasználó feltöltött egy nyilvános kulcsot, az ennek a felhasználónak küldött e-mailek titkosítva és aláírva kerülnek elküldésre.\nAz összes többi e-mail csak alá lesz írva.\nAz alkalmazás a gnupg-re épül.", 6 | "Server GPG Keys" : "A kiszolgáló GPG kulcsai", 7 | "Public Key" : "Nyilvános kulcs", 8 | "Download" : "Letöltés", 9 | "GPG Public Keys" : "GPG nyilvános kulcsok", 10 | "To enable encrypted emails, you must upload your public key below." : "A titkosított e-mailek engedélyezéséhez először fel kell tölteni egy nyilvános kulcsot.", 11 | "Your GPG public key" : "Az Ön nyilvános GPG kulcsa", 12 | "Download Server Key" : "A kiszolgáló nyilvános kulcsának letöltése" 13 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 14 | } -------------------------------------------------------------------------------- /l10n/hy.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Ներբեռնել" 5 | }, 6 | "nplurals=2; plural=(n != 1);"); 7 | -------------------------------------------------------------------------------- /l10n/hy.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Ներբեռնել" 3 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 4 | } -------------------------------------------------------------------------------- /l10n/ia.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Discargar" 5 | }, 6 | "nplurals=2; plural=(n != 1);"); 7 | -------------------------------------------------------------------------------- /l10n/ia.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Discargar" 3 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 4 | } -------------------------------------------------------------------------------- /l10n/id.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Unduh" 5 | }, 6 | "nplurals=1; plural=0;"); 7 | -------------------------------------------------------------------------------- /l10n/id.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Unduh" 3 | },"pluralForm" :"nplurals=1; plural=0;" 4 | } -------------------------------------------------------------------------------- /l10n/is.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Sækja" 5 | }, 6 | "nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);"); 7 | -------------------------------------------------------------------------------- /l10n/is.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Sækja" 3 | },"pluralForm" :"nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);" 4 | } -------------------------------------------------------------------------------- /l10n/it.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Salvataggio della chiave pubblica non riuscito", 5 | "GPG Mailer" : "GPG Mailer", 6 | "Send encrypted emails to registered users" : "Invia email cifrate agli utenti registrati", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Se un utente carica una chiave pubblica, le email a questo utente saranno cifrate e firmate.\nTutte le altre email saranno firmate\nQuesta applicazione dipende da gnupg.", 8 | "Server GPG Keys" : "Chiavi GPG del server", 9 | "Public Key" : "Chiave pubblica", 10 | "Download" : "Scarica", 11 | "GPG Public Keys" : "Chiavi pubbliche GPG", 12 | "To enable encrypted emails, you must upload your public key below." : "Per abilitare le email cifrate, devi caricare la tua chiave pubblica di seguito.", 13 | "Your GPG public key" : "La tua chiave pubblica GPG", 14 | "Download Server Key" : "Scarica la chiave del server" 15 | }, 16 | "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 17 | -------------------------------------------------------------------------------- /l10n/it.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Salvataggio della chiave pubblica non riuscito", 3 | "GPG Mailer" : "GPG Mailer", 4 | "Send encrypted emails to registered users" : "Invia email cifrate agli utenti registrati", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Se un utente carica una chiave pubblica, le email a questo utente saranno cifrate e firmate.\nTutte le altre email saranno firmate\nQuesta applicazione dipende da gnupg.", 6 | "Server GPG Keys" : "Chiavi GPG del server", 7 | "Public Key" : "Chiave pubblica", 8 | "Download" : "Scarica", 9 | "GPG Public Keys" : "Chiavi pubbliche GPG", 10 | "To enable encrypted emails, you must upload your public key below." : "Per abilitare le email cifrate, devi caricare la tua chiave pubblica di seguito.", 11 | "Your GPG public key" : "La tua chiave pubblica GPG", 12 | "Download Server Key" : "Scarica la chiave del server" 13 | },"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 14 | } -------------------------------------------------------------------------------- /l10n/ja.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "公開鍵の保存に失敗しました", 5 | "Server GPG Keys" : "サーバーGPG鍵", 6 | "Public Key" : "公開鍵", 7 | "Download" : "ダウンロード", 8 | "GPG Public Keys" : "GPG公開鍵", 9 | "Your GPG public key" : "あなたのGPG公開鍵", 10 | "Download Server Key" : "サーバーの鍵をダウンロード" 11 | }, 12 | "nplurals=1; plural=0;"); 13 | -------------------------------------------------------------------------------- /l10n/ja.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "公開鍵の保存に失敗しました", 3 | "Server GPG Keys" : "サーバーGPG鍵", 4 | "Public Key" : "公開鍵", 5 | "Download" : "ダウンロード", 6 | "GPG Public Keys" : "GPG公開鍵", 7 | "Your GPG public key" : "あなたのGPG公開鍵", 8 | "Download Server Key" : "サーバーの鍵をダウンロード" 9 | },"pluralForm" :"nplurals=1; plural=0;" 10 | } -------------------------------------------------------------------------------- /l10n/ka.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Download" 5 | }, 6 | "nplurals=2; plural=(n!=1);"); 7 | -------------------------------------------------------------------------------- /l10n/ka.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Download" 3 | },"pluralForm" :"nplurals=2; plural=(n!=1);" 4 | } -------------------------------------------------------------------------------- /l10n/ka_GE.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "ჩამოტვირთვა" 5 | }, 6 | "nplurals=2; plural=(n!=1);"); 7 | -------------------------------------------------------------------------------- /l10n/ka_GE.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "ჩამოტვირთვა" 3 | },"pluralForm" :"nplurals=2; plural=(n!=1);" 4 | } -------------------------------------------------------------------------------- /l10n/kab.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Sider" 5 | }, 6 | "nplurals=2; plural=(n != 1);"); 7 | -------------------------------------------------------------------------------- /l10n/kab.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Sider" 3 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 4 | } -------------------------------------------------------------------------------- /l10n/km.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "ទាញយក" 5 | }, 6 | "nplurals=1; plural=0;"); 7 | -------------------------------------------------------------------------------- /l10n/km.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "ទាញយក" 3 | },"pluralForm" :"nplurals=1; plural=0;" 4 | } -------------------------------------------------------------------------------- /l10n/kn.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "ಪ್ರತಿಯನ್ನು ಸ್ಥಳೀಯವಾಗಿ ಉಳಿಸಿಕೊಳ್ಳಿ" 5 | }, 6 | "nplurals=2; plural=(n > 1);"); 7 | -------------------------------------------------------------------------------- /l10n/kn.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "ಪ್ರತಿಯನ್ನು ಸ್ಥಳೀಯವಾಗಿ ಉಳಿಸಿಕೊಳ್ಳಿ" 3 | },"pluralForm" :"nplurals=2; plural=(n > 1);" 4 | } -------------------------------------------------------------------------------- /l10n/ko.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "다운로드", 5 | "Download Server Key" : "서버 키 다운로드" 6 | }, 7 | "nplurals=1; plural=0;"); 8 | -------------------------------------------------------------------------------- /l10n/ko.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "다운로드", 3 | "Download Server Key" : "서버 키 다운로드" 4 | },"pluralForm" :"nplurals=1; plural=0;" 5 | } -------------------------------------------------------------------------------- /l10n/lb.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Eroflueden" 5 | }, 6 | "nplurals=2; plural=(n != 1);"); 7 | -------------------------------------------------------------------------------- /l10n/lb.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Eroflueden" 3 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 4 | } -------------------------------------------------------------------------------- /l10n/lo.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "ດາວໂຫລດ" 5 | }, 6 | "nplurals=1; plural=0;"); 7 | -------------------------------------------------------------------------------- /l10n/lo.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "ດາວໂຫລດ" 3 | },"pluralForm" :"nplurals=1; plural=0;" 4 | } -------------------------------------------------------------------------------- /l10n/lt_LT.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Nepavyko įrašyti viešojo rakto", 5 | "GPG Mailer" : "GPG pašto programa", 6 | "Send encrypted emails to registered users" : "Siųsti šifruotus el. laiškus registruotiems naudotojams", 7 | "Server GPG Keys" : "Serverio GPG raktai", 8 | "Public Key" : "Viešasis raktas", 9 | "Download" : "Atsisiųsti", 10 | "GPG Public Keys" : "GPG viešieji raktai", 11 | "To enable encrypted emails, you must upload your public key below." : "Norėdami įgalinti šifruotus el. laiškus, žemiau privalote įkelti savo viešąjį raktą.", 12 | "Your GPG public key" : "Jūsų GPG viešasis raktas", 13 | "Download Server Key" : "Atsisiųsti serverio raktą" 14 | }, 15 | "nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);"); 16 | -------------------------------------------------------------------------------- /l10n/lt_LT.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Nepavyko įrašyti viešojo rakto", 3 | "GPG Mailer" : "GPG pašto programa", 4 | "Send encrypted emails to registered users" : "Siųsti šifruotus el. laiškus registruotiems naudotojams", 5 | "Server GPG Keys" : "Serverio GPG raktai", 6 | "Public Key" : "Viešasis raktas", 7 | "Download" : "Atsisiųsti", 8 | "GPG Public Keys" : "GPG viešieji raktai", 9 | "To enable encrypted emails, you must upload your public key below." : "Norėdami įgalinti šifruotus el. laiškus, žemiau privalote įkelti savo viešąjį raktą.", 10 | "Your GPG public key" : "Jūsų GPG viešasis raktas", 11 | "Download Server Key" : "Atsisiųsti serverio raktą" 12 | },"pluralForm" :"nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);" 13 | } -------------------------------------------------------------------------------- /l10n/lv.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Lejupielādēt" 5 | }, 6 | "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);"); 7 | -------------------------------------------------------------------------------- /l10n/lv.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Lejupielādēt" 3 | },"pluralForm" :"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);" 4 | } -------------------------------------------------------------------------------- /l10n/mk.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Преземи" 5 | }, 6 | "nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;"); 7 | -------------------------------------------------------------------------------- /l10n/mk.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Преземи" 3 | },"pluralForm" :"nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;" 4 | } -------------------------------------------------------------------------------- /l10n/mn.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Татах" 5 | }, 6 | "nplurals=2; plural=(n != 1);"); 7 | -------------------------------------------------------------------------------- /l10n/mn.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Татах" 3 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 4 | } -------------------------------------------------------------------------------- /l10n/ms_MY.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Muat turun" 5 | }, 6 | "nplurals=1; plural=0;"); 7 | -------------------------------------------------------------------------------- /l10n/ms_MY.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Muat turun" 3 | },"pluralForm" :"nplurals=1; plural=0;" 4 | } -------------------------------------------------------------------------------- /l10n/nb.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Kunne ikke lagre offentlig nøkkel", 5 | "GPG Mailer" : "GPG Mailer", 6 | "Send encrypted emails to registered users" : "Send krypterte e-poster til registrerte brukere", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Hvis brukeren laster opp offentlig nøkkel, vil e-poster til denne brukeren bli kryptert og signert.\nAlle andre e-poster vil bli signert\nDenne appen avhenger av gnupg.", 8 | "Server GPG Keys" : "Server GPG-nøkler", 9 | "Public Key" : "Offentlig nøkkel", 10 | "Download" : "Last ned", 11 | "GPG Public Keys" : "GPG offentlige nøkler", 12 | "To enable encrypted emails, you must upload your public key below." : "For å aktivere krypterte e-poster må du laste opp din offentlige nøkkel nedenfor.", 13 | "Your GPG public key" : "Din offentlige GPG-nøkkel", 14 | "Download Server Key" : "Last ned servernøkkel" 15 | }, 16 | "nplurals=2; plural=(n != 1);"); 17 | -------------------------------------------------------------------------------- /l10n/nb.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Kunne ikke lagre offentlig nøkkel", 3 | "GPG Mailer" : "GPG Mailer", 4 | "Send encrypted emails to registered users" : "Send krypterte e-poster til registrerte brukere", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Hvis brukeren laster opp offentlig nøkkel, vil e-poster til denne brukeren bli kryptert og signert.\nAlle andre e-poster vil bli signert\nDenne appen avhenger av gnupg.", 6 | "Server GPG Keys" : "Server GPG-nøkler", 7 | "Public Key" : "Offentlig nøkkel", 8 | "Download" : "Last ned", 9 | "GPG Public Keys" : "GPG offentlige nøkler", 10 | "To enable encrypted emails, you must upload your public key below." : "For å aktivere krypterte e-poster må du laste opp din offentlige nøkkel nedenfor.", 11 | "Your GPG public key" : "Din offentlige GPG-nøkkel", 12 | "Download Server Key" : "Last ned servernøkkel" 13 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 14 | } -------------------------------------------------------------------------------- /l10n/nl.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Kon de publieke sleutel niet opslaan", 5 | "GPG Mailer" : "GPG Mailer", 6 | "Send encrypted emails to registered users" : "Verstuur versleutelde e-mails naar geregistreerde gebruikers", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Als de gebruiker een openbare sleutel uploadt, worden e-mails naar deze gebruiker versleuteld en ondertekend.\nAlle andere e-mails worden ondertekend\nDeze app is afhankelijk van gnupg.", 8 | "Server GPG Keys" : "Server GPG Keys", 9 | "Public Key" : "Public Key", 10 | "Download" : "Download", 11 | "GPG Public Keys" : "GPG Public Keys", 12 | "To enable encrypted emails, you must upload your public key below." : "Om versleutelde e-mails in te schakelen, moet je jouw openbare sleutel hieronder uploaden.", 13 | "Your GPG public key" : "Je GPG publieke sleutel", 14 | "Download Server Key" : "Downloaden Server Key" 15 | }, 16 | "nplurals=2; plural=(n != 1);"); 17 | -------------------------------------------------------------------------------- /l10n/nl.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Kon de publieke sleutel niet opslaan", 3 | "GPG Mailer" : "GPG Mailer", 4 | "Send encrypted emails to registered users" : "Verstuur versleutelde e-mails naar geregistreerde gebruikers", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Als de gebruiker een openbare sleutel uploadt, worden e-mails naar deze gebruiker versleuteld en ondertekend.\nAlle andere e-mails worden ondertekend\nDeze app is afhankelijk van gnupg.", 6 | "Server GPG Keys" : "Server GPG Keys", 7 | "Public Key" : "Public Key", 8 | "Download" : "Download", 9 | "GPG Public Keys" : "GPG Public Keys", 10 | "To enable encrypted emails, you must upload your public key below." : "Om versleutelde e-mails in te schakelen, moet je jouw openbare sleutel hieronder uploaden.", 11 | "Your GPG public key" : "Je GPG publieke sleutel", 12 | "Download Server Key" : "Downloaden Server Key" 13 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 14 | } -------------------------------------------------------------------------------- /l10n/nn_NO.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Last ned" 5 | }, 6 | "nplurals=2; plural=(n != 1);"); 7 | -------------------------------------------------------------------------------- /l10n/nn_NO.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Last ned" 3 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 4 | } -------------------------------------------------------------------------------- /l10n/oc.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "GPG Mailer" : "GPG Mailer", 5 | "Public Key" : "Clau publica", 6 | "Download" : "Telecargar", 7 | "GPG Public Keys" : "Claus publics GPG", 8 | "Your GPG public key" : "Vòstra clau publica GPG" 9 | }, 10 | "nplurals=2; plural=(n > 1);"); 11 | -------------------------------------------------------------------------------- /l10n/oc.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "GPG Mailer" : "GPG Mailer", 3 | "Public Key" : "Clau publica", 4 | "Download" : "Telecargar", 5 | "GPG Public Keys" : "Claus publics GPG", 6 | "Your GPG public key" : "Vòstra clau publica GPG" 7 | },"pluralForm" :"nplurals=2; plural=(n > 1);" 8 | } -------------------------------------------------------------------------------- /l10n/pl.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Nie udało się zapisać klucza publicznego", 5 | "GPG Mailer" : "GPG Mailer", 6 | "Send encrypted emails to registered users" : "Wyślij zaszyfrowane e-maile do zarejestrowanych użytkowników", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Jeśli użytkownik prześle klucz publiczny, to e-maile do Tego użytkownika zostaną zaszyfrowane i podpisane.\nWszystkie inne e-maile zostaną podpisane\nAplikacja zależy od gnupg.", 8 | "Server GPG Keys" : "Klucze GPG serwera", 9 | "Public Key" : "Klucz publiczny", 10 | "Download" : "Pobierz", 11 | "GPG Public Keys" : "Klucze publiczne GPG", 12 | "To enable encrypted emails, you must upload your public key below." : "Aby włączyć szyfrowane wiadomości e-mail, musisz poniżej wysłać swój klucz publiczny.", 13 | "Your GPG public key" : "Twój klucz publiczny GPG", 14 | "Download Server Key" : "Pobierz klucz serwera" 15 | }, 16 | "nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);"); 17 | -------------------------------------------------------------------------------- /l10n/pl.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Nie udało się zapisać klucza publicznego", 3 | "GPG Mailer" : "GPG Mailer", 4 | "Send encrypted emails to registered users" : "Wyślij zaszyfrowane e-maile do zarejestrowanych użytkowników", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Jeśli użytkownik prześle klucz publiczny, to e-maile do Tego użytkownika zostaną zaszyfrowane i podpisane.\nWszystkie inne e-maile zostaną podpisane\nAplikacja zależy od gnupg.", 6 | "Server GPG Keys" : "Klucze GPG serwera", 7 | "Public Key" : "Klucz publiczny", 8 | "Download" : "Pobierz", 9 | "GPG Public Keys" : "Klucze publiczne GPG", 10 | "To enable encrypted emails, you must upload your public key below." : "Aby włączyć szyfrowane wiadomości e-mail, musisz poniżej wysłać swój klucz publiczny.", 11 | "Your GPG public key" : "Twój klucz publiczny GPG", 12 | "Download Server Key" : "Pobierz klucz serwera" 13 | },"pluralForm" :"nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);" 14 | } -------------------------------------------------------------------------------- /l10n/ps.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "ښکته کول" 5 | }, 6 | "nplurals=2; plural=(n != 1);"); 7 | -------------------------------------------------------------------------------- /l10n/ps.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "ښکته کول" 3 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 4 | } -------------------------------------------------------------------------------- /l10n/pt_BR.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Falha ao salvar a chave pública", 5 | "GPG Mailer" : "GPG Mailer", 6 | "Send encrypted emails to registered users" : "Envie e-mails criptografados para usuários registrados", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Se o usuário envia a chave pública, os e-mails para esse usuário serão criptografados e assinados.\nTodos os outros e-mails serão assinados\nEste aplicativo depende do gnupg.", 8 | "Server GPG Keys" : "Chaves GPG do servidor", 9 | "Public Key" : "Chave pública", 10 | "Download" : "Baixar", 11 | "GPG Public Keys" : "Chaves públicas GPG", 12 | "To enable encrypted emails, you must upload your public key below." : "Para habilitar e-mails criptografados, você deve enviar sua chave pública abaixo.", 13 | "Your GPG public key" : "Sua chave pública GPG", 14 | "Download Server Key" : "Baixar chave do servidor" 15 | }, 16 | "nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 17 | -------------------------------------------------------------------------------- /l10n/pt_BR.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Falha ao salvar a chave pública", 3 | "GPG Mailer" : "GPG Mailer", 4 | "Send encrypted emails to registered users" : "Envie e-mails criptografados para usuários registrados", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Se o usuário envia a chave pública, os e-mails para esse usuário serão criptografados e assinados.\nTodos os outros e-mails serão assinados\nEste aplicativo depende do gnupg.", 6 | "Server GPG Keys" : "Chaves GPG do servidor", 7 | "Public Key" : "Chave pública", 8 | "Download" : "Baixar", 9 | "GPG Public Keys" : "Chaves públicas GPG", 10 | "To enable encrypted emails, you must upload your public key below." : "Para habilitar e-mails criptografados, você deve enviar sua chave pública abaixo.", 11 | "Your GPG public key" : "Sua chave pública GPG", 12 | "Download Server Key" : "Baixar chave do servidor" 13 | },"pluralForm" :"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 14 | } -------------------------------------------------------------------------------- /l10n/pt_PT.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Public Key" : "Chave pública", 5 | "Download" : "Transferir" 6 | }, 7 | "nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 8 | -------------------------------------------------------------------------------- /l10n/pt_PT.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Public Key" : "Chave pública", 3 | "Download" : "Transferir" 4 | },"pluralForm" :"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 5 | } -------------------------------------------------------------------------------- /l10n/ro.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Descărcare" 5 | }, 6 | "nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));"); 7 | -------------------------------------------------------------------------------- /l10n/ro.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Descărcare" 3 | },"pluralForm" :"nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));" 4 | } -------------------------------------------------------------------------------- /l10n/ru.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Не удалось сохранить открытый ключ", 5 | "GPG Mailer" : "GPG Mailer", 6 | "Send encrypted emails to registered users" : "Отправляйте зашифрованные электронные письма зарегистрированным пользователям", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "При публикации пользователями своих открытых ключе, сообщения электронной почты, адресованные таким пользователям, будут зашифрованы и подписаны.\nЭлектронные письма для получателей, не опубликовавших свои открытые ключи, будут только подписаны.\nЭто приложение использует для работы программу gnupg.", 8 | "Server GPG Keys" : "GPG-ключи сервера", 9 | "Public Key" : "Открытый ключ", 10 | "Download" : "Скачать", 11 | "GPG Public Keys" : "Открытые ключи GPG", 12 | "To enable encrypted emails, you must upload your public key below." : "Для использования шифрования электронной почты, загрузите свой открытый ключ, используя элементы управления, расположенные ниже.", 13 | "Your GPG public key" : "Ваш открытый ключ GPG", 14 | "Download Server Key" : "Скачать ключ сервера" 15 | }, 16 | "nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);"); 17 | -------------------------------------------------------------------------------- /l10n/ru.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Не удалось сохранить открытый ключ", 3 | "GPG Mailer" : "GPG Mailer", 4 | "Send encrypted emails to registered users" : "Отправляйте зашифрованные электронные письма зарегистрированным пользователям", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "При публикации пользователями своих открытых ключе, сообщения электронной почты, адресованные таким пользователям, будут зашифрованы и подписаны.\nЭлектронные письма для получателей, не опубликовавших свои открытые ключи, будут только подписаны.\nЭто приложение использует для работы программу gnupg.", 6 | "Server GPG Keys" : "GPG-ключи сервера", 7 | "Public Key" : "Открытый ключ", 8 | "Download" : "Скачать", 9 | "GPG Public Keys" : "Открытые ключи GPG", 10 | "To enable encrypted emails, you must upload your public key below." : "Для использования шифрования электронной почты, загрузите свой открытый ключ, используя элементы управления, расположенные ниже.", 11 | "Your GPG public key" : "Ваш открытый ключ GPG", 12 | "Download Server Key" : "Скачать ключ сервера" 13 | },"pluralForm" :"nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);" 14 | } -------------------------------------------------------------------------------- /l10n/sc.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "No at fatu a sarvare sa crae pùblica", 5 | "GPG Mailer" : "GPG Mailer", 6 | "Send encrypted emails to registered users" : "Imbia posta eletrònica tzifrada a utèntzias registradas", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Si un'utente càrrigat una crae pùblica, sa posta eletrònica pro s'utente at a èssere tzifrada e firmada.\nTotu s'àtera posta eletrònica at a èssere firmada\nCusta aplicatzione dipendet dae gnupg.", 8 | "Server GPG Keys" : "Craes GPG de su serbidore", 9 | "Public Key" : "Crae pùblica", 10 | "Download" : "Iscàrriga", 11 | "GPG Public Keys" : "Craes pùblicas GPG", 12 | "To enable encrypted emails, you must upload your public key below." : "Pro ativare sa posta eletrònica tzifrada, depes carrigare sa crae pùblica tua in fatu.", 13 | "Your GPG public key" : "Sa crae pùblica GPG tua", 14 | "Download Server Key" : "Iscàrriga sa crae de su serbidore" 15 | }, 16 | "nplurals=2; plural=(n != 1);"); 17 | -------------------------------------------------------------------------------- /l10n/sc.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "No at fatu a sarvare sa crae pùblica", 3 | "GPG Mailer" : "GPG Mailer", 4 | "Send encrypted emails to registered users" : "Imbia posta eletrònica tzifrada a utèntzias registradas", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Si un'utente càrrigat una crae pùblica, sa posta eletrònica pro s'utente at a èssere tzifrada e firmada.\nTotu s'àtera posta eletrònica at a èssere firmada\nCusta aplicatzione dipendet dae gnupg.", 6 | "Server GPG Keys" : "Craes GPG de su serbidore", 7 | "Public Key" : "Crae pùblica", 8 | "Download" : "Iscàrriga", 9 | "GPG Public Keys" : "Craes pùblicas GPG", 10 | "To enable encrypted emails, you must upload your public key below." : "Pro ativare sa posta eletrònica tzifrada, depes carrigare sa crae pùblica tua in fatu.", 11 | "Your GPG public key" : "Sa crae pùblica GPG tua", 12 | "Download Server Key" : "Iscàrriga sa crae de su serbidore" 13 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 14 | } -------------------------------------------------------------------------------- /l10n/si.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "බාගන්න" 5 | }, 6 | "nplurals=2; plural=(n != 1);"); 7 | -------------------------------------------------------------------------------- /l10n/si.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "බාගන්න" 3 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 4 | } -------------------------------------------------------------------------------- /l10n/sk.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Nepodarilo sa uložiť Verejný Kľúč", 5 | "GPG Mailer" : "GPG Mailer", 6 | "Send encrypted emails to registered users" : "Posielať zašifrované e-maily registrovaným užívateľom", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Ak užívateľ nahrá verejný kľúč, e-maily poslané tomuto užívateľovi budú zašifrované a podpísané.\nVšetky ostatné správy budú podpísané\nTáto aplikácia je závislá na gnupg.", 8 | "Server GPG Keys" : "GPG kľúče servera", 9 | "Public Key" : "Verejný kľúč", 10 | "Download" : "Stiahnuť", 11 | "GPG Public Keys" : "GPG Verejné kľúče", 12 | "To enable encrypted emails, you must upload your public key below." : "Pre zapnutie šifrovania emailov, musíte nahrať svoj verejný kľúč.", 13 | "Your GPG public key" : "Váš verejný GPG kľúč", 14 | "Download Server Key" : "Stiahnuť Kľúč Servera" 15 | }, 16 | "nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);"); 17 | -------------------------------------------------------------------------------- /l10n/sk.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Nepodarilo sa uložiť Verejný Kľúč", 3 | "GPG Mailer" : "GPG Mailer", 4 | "Send encrypted emails to registered users" : "Posielať zašifrované e-maily registrovaným užívateľom", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Ak užívateľ nahrá verejný kľúč, e-maily poslané tomuto užívateľovi budú zašifrované a podpísané.\nVšetky ostatné správy budú podpísané\nTáto aplikácia je závislá na gnupg.", 6 | "Server GPG Keys" : "GPG kľúče servera", 7 | "Public Key" : "Verejný kľúč", 8 | "Download" : "Stiahnuť", 9 | "GPG Public Keys" : "GPG Verejné kľúče", 10 | "To enable encrypted emails, you must upload your public key below." : "Pre zapnutie šifrovania emailov, musíte nahrať svoj verejný kľúč.", 11 | "Your GPG public key" : "Váš verejný GPG kľúč", 12 | "Download Server Key" : "Stiahnuť Kľúč Servera" 13 | },"pluralForm" :"nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);" 14 | } -------------------------------------------------------------------------------- /l10n/sl.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Shranjevanje javnega ključa je spodletelo", 5 | "GPG Mailer" : "Poštna sporočila GPG", 6 | "Send encrypted emails to registered users" : "Pošiljanje šifriranih sporočil uporabnikom", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Če uporabnik pošlje javni ključ, bodo sporočila za tega uporabnika šifrirana in digitalno podpisana.\nVsa ostala sporočila bodo podpisana.\nProgram zahteva namestitev gnupg.", 8 | "Server GPG Keys" : "Strežniški ključi GPG", 9 | "Public Key" : "Javni ključ", 10 | "Download" : "Prejmi", 11 | "GPG Public Keys" : "Javni ključi GPG", 12 | "To enable encrypted emails, you must upload your public key below." : "Za omogočanje šifriranih sporočil, je treba najprej poslati osebni javni ključ.", 13 | "Your GPG public key" : "Vaš javni ključ GPG", 14 | "Download Server Key" : "Prejmi strežniški ključ" 15 | }, 16 | "nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);"); 17 | -------------------------------------------------------------------------------- /l10n/sl.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Shranjevanje javnega ključa je spodletelo", 3 | "GPG Mailer" : "Poštna sporočila GPG", 4 | "Send encrypted emails to registered users" : "Pošiljanje šifriranih sporočil uporabnikom", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Če uporabnik pošlje javni ključ, bodo sporočila za tega uporabnika šifrirana in digitalno podpisana.\nVsa ostala sporočila bodo podpisana.\nProgram zahteva namestitev gnupg.", 6 | "Server GPG Keys" : "Strežniški ključi GPG", 7 | "Public Key" : "Javni ključ", 8 | "Download" : "Prejmi", 9 | "GPG Public Keys" : "Javni ključi GPG", 10 | "To enable encrypted emails, you must upload your public key below." : "Za omogočanje šifriranih sporočil, je treba najprej poslati osebni javni ključ.", 11 | "Your GPG public key" : "Vaš javni ključ GPG", 12 | "Download Server Key" : "Prejmi strežniški ključ" 13 | },"pluralForm" :"nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);" 14 | } -------------------------------------------------------------------------------- /l10n/sq.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Shkarko" 5 | }, 6 | "nplurals=2; plural=(n != 1);"); 7 | -------------------------------------------------------------------------------- /l10n/sq.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Shkarko" 3 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 4 | } -------------------------------------------------------------------------------- /l10n/sr.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Није успело чување јавног кључа", 5 | "GPG Mailer" : "GPG мејлер", 6 | "Send encrypted emails to registered users" : "Шаљите шифроване и-мејлове регистрованим корисницима", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Ако корисник отпреми јавни кључ, и-мелјови који се шаљу овом кориснику ће бити шифровани и потписани.\nСви остали и-мејлови ће бити потписани\nОва апликација зависи од gnupg.", 8 | "Server GPG Keys" : "Сервер GPG кључева", 9 | "Public Key" : "Јавни кључ", 10 | "Download" : "Преузми", 11 | "GPG Public Keys" : "GPG јавни кључеви", 12 | "To enable encrypted emails, you must upload your public key below." : "Да бисте омогућили шифроване и-мејлове, морате испод да отпремите свој јавни кључ.", 13 | "Your GPG public key" : "Ваш GPG јавни кључ", 14 | "Download Server Key" : "Преузми кључ сервера" 15 | }, 16 | "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"); 17 | -------------------------------------------------------------------------------- /l10n/sr.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Није успело чување јавног кључа", 3 | "GPG Mailer" : "GPG мејлер", 4 | "Send encrypted emails to registered users" : "Шаљите шифроване и-мејлове регистрованим корисницима", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Ако корисник отпреми јавни кључ, и-мелјови који се шаљу овом кориснику ће бити шифровани и потписани.\nСви остали и-мејлови ће бити потписани\nОва апликација зависи од gnupg.", 6 | "Server GPG Keys" : "Сервер GPG кључева", 7 | "Public Key" : "Јавни кључ", 8 | "Download" : "Преузми", 9 | "GPG Public Keys" : "GPG јавни кључеви", 10 | "To enable encrypted emails, you must upload your public key below." : "Да бисте омогућили шифроване и-мејлове, морате испод да отпремите свој јавни кључ.", 11 | "Your GPG public key" : "Ваш GPG јавни кључ", 12 | "Download Server Key" : "Преузми кључ сервера" 13 | },"pluralForm" :"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);" 14 | } -------------------------------------------------------------------------------- /l10n/sr@latin.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Preuzmi" 5 | }, 6 | "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"); 7 | -------------------------------------------------------------------------------- /l10n/sr@latin.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Preuzmi" 3 | },"pluralForm" :"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);" 4 | } -------------------------------------------------------------------------------- /l10n/sv.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Public Key" : "Offentlig nyckel", 5 | "Download" : "Ladda ner" 6 | }, 7 | "nplurals=2; plural=(n != 1);"); 8 | -------------------------------------------------------------------------------- /l10n/sv.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Public Key" : "Offentlig nyckel", 3 | "Download" : "Ladda ner" 4 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 5 | } -------------------------------------------------------------------------------- /l10n/ta.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "பதிவிறக்குக" 5 | }, 6 | "nplurals=2; plural=(n != 1);"); 7 | -------------------------------------------------------------------------------- /l10n/ta.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "பதிவிறக்குக" 3 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 4 | } -------------------------------------------------------------------------------- /l10n/th.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "ดาวน์โหลด" 5 | }, 6 | "nplurals=1; plural=0;"); 7 | -------------------------------------------------------------------------------- /l10n/th.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "ดาวน์โหลด" 3 | },"pluralForm" :"nplurals=1; plural=0;" 4 | } -------------------------------------------------------------------------------- /l10n/tk.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "12" 5 | }, 6 | "nplurals=2; plural=(n != 1);"); 7 | -------------------------------------------------------------------------------- /l10n/tk.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "12" 3 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 4 | } -------------------------------------------------------------------------------- /l10n/tr.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Herkese açık anahtar kaydedilemedi", 5 | "GPG Mailer" : "GPG Mailer", 6 | "Send encrypted emails to registered users" : "Hesabı olan kullanıcılara şifrelenmiş e-postalar gönderin", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Bir kullanıcı herkese açık anahtarlarını yüklerse, bu kullanıcıya gönderilen e-postalar şifrelenir ve imzalanır.\nTüm diğer e-postalar imzalanır\nBu uygulama gnupg kullanır.", 8 | "Server GPG Keys" : "Sunucu GPG anahtarları", 9 | "Public Key" : "Herkese açık anahtar", 10 | "Download" : "İndir", 11 | "GPG Public Keys" : "Herkese açık GPG anahtarları", 12 | "To enable encrypted emails, you must upload your public key below." : "Şifrelenmiş e-postaları kullanabilmek için herkese açık anahtarınızı aşağıya yükleyin.", 13 | "Your GPG public key" : "Herkese açık GPG anahtarınız", 14 | "Download Server Key" : "Sunucu anahtarını indir" 15 | }, 16 | "nplurals=2; plural=(n > 1);"); 17 | -------------------------------------------------------------------------------- /l10n/tr.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Herkese açık anahtar kaydedilemedi", 3 | "GPG Mailer" : "GPG Mailer", 4 | "Send encrypted emails to registered users" : "Hesabı olan kullanıcılara şifrelenmiş e-postalar gönderin", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Bir kullanıcı herkese açık anahtarlarını yüklerse, bu kullanıcıya gönderilen e-postalar şifrelenir ve imzalanır.\nTüm diğer e-postalar imzalanır\nBu uygulama gnupg kullanır.", 6 | "Server GPG Keys" : "Sunucu GPG anahtarları", 7 | "Public Key" : "Herkese açık anahtar", 8 | "Download" : "İndir", 9 | "GPG Public Keys" : "Herkese açık GPG anahtarları", 10 | "To enable encrypted emails, you must upload your public key below." : "Şifrelenmiş e-postaları kullanabilmek için herkese açık anahtarınızı aşağıya yükleyin.", 11 | "Your GPG public key" : "Herkese açık GPG anahtarınız", 12 | "Download Server Key" : "Sunucu anahtarını indir" 13 | },"pluralForm" :"nplurals=2; plural=(n > 1);" 14 | } -------------------------------------------------------------------------------- /l10n/ug.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "ئاممىۋى ئاچقۇچنى ساقلىيالمىدى", 5 | "GPG Mailer" : "GPG Mailer", 6 | "Send encrypted emails to registered users" : "شىفىرلانغان ئېلېكترونلۇق خەتلەرنى تىزىملاتقان ئىشلەتكۈچىلەرگە ئەۋەتىڭ", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "ئەگەر ئىشلەتكۈچى ئاممىۋى ئاچقۇچنى يۈكلىسە ، بۇ ئىشلەتكۈچىگە ئېلېكترونلۇق خەت شىفىرلىنىدۇ ۋە ئىمزالىنىدۇ.\nباشقا بارلىق ئېلېكترونلۇق خەتلەر ئىمزالىنىدۇ\nبۇ ئەپ gnupg غا باغلىق.", 8 | "Server GPG Keys" : "مۇلازىمېتىر GPG كۇنۇپكىسى", 9 | "Public Key" : "ئاممىۋى ئاچقۇچ", 10 | "Download" : "چۈشۈر", 11 | "GPG Public Keys" : "GPG ئاممىۋى ئاچقۇچ", 12 | "To enable encrypted emails, you must upload your public key below." : "شىفىرلانغان ئېلېكترونلۇق خەتلەرنى قوزغىتىش ئۈچۈن ، تۆۋەندىكى ئاممىۋى ئاچقۇچنى يۈكلىشىڭىز كېرەك.", 13 | "Your GPG public key" : "سىزنىڭ GPG ئاممىۋى ئاچقۇچىڭىز", 14 | "Download Server Key" : "مۇلازىمېتىر ئاچقۇچىنى چۈشۈرۈڭ" 15 | }, 16 | "nplurals=2; plural=(n != 1);"); 17 | -------------------------------------------------------------------------------- /l10n/ug.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "ئاممىۋى ئاچقۇچنى ساقلىيالمىدى", 3 | "GPG Mailer" : "GPG Mailer", 4 | "Send encrypted emails to registered users" : "شىفىرلانغان ئېلېكترونلۇق خەتلەرنى تىزىملاتقان ئىشلەتكۈچىلەرگە ئەۋەتىڭ", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "ئەگەر ئىشلەتكۈچى ئاممىۋى ئاچقۇچنى يۈكلىسە ، بۇ ئىشلەتكۈچىگە ئېلېكترونلۇق خەت شىفىرلىنىدۇ ۋە ئىمزالىنىدۇ.\nباشقا بارلىق ئېلېكترونلۇق خەتلەر ئىمزالىنىدۇ\nبۇ ئەپ gnupg غا باغلىق.", 6 | "Server GPG Keys" : "مۇلازىمېتىر GPG كۇنۇپكىسى", 7 | "Public Key" : "ئاممىۋى ئاچقۇچ", 8 | "Download" : "چۈشۈر", 9 | "GPG Public Keys" : "GPG ئاممىۋى ئاچقۇچ", 10 | "To enable encrypted emails, you must upload your public key below." : "شىفىرلانغان ئېلېكترونلۇق خەتلەرنى قوزغىتىش ئۈچۈن ، تۆۋەندىكى ئاممىۋى ئاچقۇچنى يۈكلىشىڭىز كېرەك.", 11 | "Your GPG public key" : "سىزنىڭ GPG ئاممىۋى ئاچقۇچىڭىز", 12 | "Download Server Key" : "مۇلازىمېتىر ئاچقۇچىنى چۈشۈرۈڭ" 13 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 14 | } -------------------------------------------------------------------------------- /l10n/uk.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "Не вдалося зберегти відкритий ключ", 5 | "GPG Mailer" : "GPG Mailer", 6 | "Send encrypted emails to registered users" : "Надсилайте зашифровані електронні листи зареєстрованим користувачам", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Якщо користувач завантажує відкритий ключ, електронні листи для цього користувача будуть зашифровані та підписані. \nУсі інші листи будуть підписані \nЦей застосунок залежить від gnupg.", 8 | "Server GPG Keys" : "Серверні ключі GPG", 9 | "Public Key" : "Відкритий ключ", 10 | "Download" : "Звантажити", 11 | "GPG Public Keys" : "Відкриті ключі GPG", 12 | "To enable encrypted emails, you must upload your public key below." : "Щоб увімкнути зашифровані електронні листи, ви повинні завантажити відкритий ключ нижче.", 13 | "Your GPG public key" : "Ваш відкритий ключ GPG", 14 | "Download Server Key" : "Звантажити ключ сервера" 15 | }, 16 | "nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);"); 17 | -------------------------------------------------------------------------------- /l10n/uk.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "Не вдалося зберегти відкритий ключ", 3 | "GPG Mailer" : "GPG Mailer", 4 | "Send encrypted emails to registered users" : "Надсилайте зашифровані електронні листи зареєстрованим користувачам", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "Якщо користувач завантажує відкритий ключ, електронні листи для цього користувача будуть зашифровані та підписані. \nУсі інші листи будуть підписані \nЦей застосунок залежить від gnupg.", 6 | "Server GPG Keys" : "Серверні ключі GPG", 7 | "Public Key" : "Відкритий ключ", 8 | "Download" : "Звантажити", 9 | "GPG Public Keys" : "Відкриті ключі GPG", 10 | "To enable encrypted emails, you must upload your public key below." : "Щоб увімкнути зашифровані електронні листи, ви повинні завантажити відкритий ключ нижче.", 11 | "Your GPG public key" : "Ваш відкритий ключ GPG", 12 | "Download Server Key" : "Звантажити ключ сервера" 13 | },"pluralForm" :"nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);" 14 | } -------------------------------------------------------------------------------- /l10n/ur_PK.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "ڈاؤن لوڈ" 5 | }, 6 | "nplurals=2; plural=(n != 1);"); 7 | -------------------------------------------------------------------------------- /l10n/ur_PK.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "ڈاؤن لوڈ" 3 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 4 | } -------------------------------------------------------------------------------- /l10n/uz.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Download" 5 | }, 6 | "nplurals=1; plural=0;"); 7 | -------------------------------------------------------------------------------- /l10n/uz.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Download" 3 | },"pluralForm" :"nplurals=1; plural=0;" 4 | } -------------------------------------------------------------------------------- /l10n/vi.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Download" : "Tải xuống" 5 | }, 6 | "nplurals=1; plural=0;"); 7 | -------------------------------------------------------------------------------- /l10n/vi.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Download" : "Tải xuống" 3 | },"pluralForm" :"nplurals=1; plural=0;" 4 | } -------------------------------------------------------------------------------- /l10n/zh_CN.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "保存公共密钥失败", 5 | "GPG Mailer" : "GPG Mailer ", 6 | "Send encrypted emails to registered users" : "给注册用户发送加密电子邮件", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "如果用户上传了公钥,则发送给该用户的电子邮件将被加密和签名。所有其他电子邮件都将被签名。\n此应用依赖于 gnupg。", 8 | "Server GPG Keys" : "服务器 GPG 密钥", 9 | "Public Key" : "公钥", 10 | "Download" : "下载", 11 | "GPG Public Keys" : "GPG 公钥", 12 | "To enable encrypted emails, you must upload your public key below." : "要启用加密电子邮件,您必须在下面上传您的公钥。", 13 | "Your GPG public key" : "你的 GPG 公钥", 14 | "Download Server Key" : "下载服务器密钥" 15 | }, 16 | "nplurals=1; plural=0;"); 17 | -------------------------------------------------------------------------------- /l10n/zh_CN.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "保存公共密钥失败", 3 | "GPG Mailer" : "GPG Mailer ", 4 | "Send encrypted emails to registered users" : "给注册用户发送加密电子邮件", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "如果用户上传了公钥,则发送给该用户的电子邮件将被加密和签名。所有其他电子邮件都将被签名。\n此应用依赖于 gnupg。", 6 | "Server GPG Keys" : "服务器 GPG 密钥", 7 | "Public Key" : "公钥", 8 | "Download" : "下载", 9 | "GPG Public Keys" : "GPG 公钥", 10 | "To enable encrypted emails, you must upload your public key below." : "要启用加密电子邮件,您必须在下面上传您的公钥。", 11 | "Your GPG public key" : "你的 GPG 公钥", 12 | "Download Server Key" : "下载服务器密钥" 13 | },"pluralForm" :"nplurals=1; plural=0;" 14 | } -------------------------------------------------------------------------------- /l10n/zh_HK.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "儲存公鑰失敗", 5 | "GPG Mailer" : "GPG Mailer", 6 | "Send encrypted emails to registered users" : "傳送加密電子郵件給註冊用戶", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "如果用戶已上載公鑰,則發給該用戶的所有電子郵件都將被加密並簽署。\n其它電子郵件都均會被簽署\n本應用程式以 gnupg 為基礎。", 8 | "Server GPG Keys" : "伺服器 GPG 密鑰", 9 | "Public Key" : "公鑰", 10 | "Download" : "下載", 11 | "GPG Public Keys" : "GPG 公鑰", 12 | "To enable encrypted emails, you must upload your public key below." : "要啟用電子郵件加密,您必須在下方上傳你的公鑰。", 13 | "Your GPG public key" : "您的 GPG 公鑰", 14 | "Download Server Key" : "下載伺服器密鑰" 15 | }, 16 | "nplurals=1; plural=0;"); 17 | -------------------------------------------------------------------------------- /l10n/zh_HK.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "儲存公鑰失敗", 3 | "GPG Mailer" : "GPG Mailer", 4 | "Send encrypted emails to registered users" : "傳送加密電子郵件給註冊用戶", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "如果用戶已上載公鑰,則發給該用戶的所有電子郵件都將被加密並簽署。\n其它電子郵件都均會被簽署\n本應用程式以 gnupg 為基礎。", 6 | "Server GPG Keys" : "伺服器 GPG 密鑰", 7 | "Public Key" : "公鑰", 8 | "Download" : "下載", 9 | "GPG Public Keys" : "GPG 公鑰", 10 | "To enable encrypted emails, you must upload your public key below." : "要啟用電子郵件加密,您必須在下方上傳你的公鑰。", 11 | "Your GPG public key" : "您的 GPG 公鑰", 12 | "Download Server Key" : "下載伺服器密鑰" 13 | },"pluralForm" :"nplurals=1; plural=0;" 14 | } -------------------------------------------------------------------------------- /l10n/zh_TW.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "gpgmailer", 3 | { 4 | "Failed to save Public Key" : "儲存公開金鑰失敗", 5 | "GPG Mailer" : "GPG Mailer", 6 | "Send encrypted emails to registered users" : "傳送加密電子郵件給註冊戶", 7 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "如果用戶上傳公鑰,寄給這個用戶的郵件將加密並簽署。\n其它郵件均會簽署\n本應用程式以 gnupg 為基礎。", 8 | "Server GPG Keys" : " 伺服器 GPG 金鑰", 9 | "Public Key" : "公鑰", 10 | "Download" : "下載", 11 | "GPG Public Keys" : "GPG 公鑰", 12 | "To enable encrypted emails, you must upload your public key below." : "要啟用電子郵件加密,您必須在下方上傳你的公鑰。", 13 | "Your GPG public key" : "您的 GPG 公開金鑰", 14 | "Download Server Key" : "下載伺服器金鑰" 15 | }, 16 | "nplurals=1; plural=0;"); 17 | -------------------------------------------------------------------------------- /l10n/zh_TW.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Failed to save Public Key" : "儲存公開金鑰失敗", 3 | "GPG Mailer" : "GPG Mailer", 4 | "Send encrypted emails to registered users" : "傳送加密電子郵件給註冊戶", 5 | "If user uploads public key, emails to this user will be encrypted and signed.\nAll other emails will be signed\nThis App depends on gnupg." : "如果用戶上傳公鑰,寄給這個用戶的郵件將加密並簽署。\n其它郵件均會簽署\n本應用程式以 gnupg 為基礎。", 6 | "Server GPG Keys" : " 伺服器 GPG 金鑰", 7 | "Public Key" : "公鑰", 8 | "Download" : "下載", 9 | "GPG Public Keys" : "GPG 公鑰", 10 | "To enable encrypted emails, you must upload your public key below." : "要啟用電子郵件加密,您必須在下方上傳你的公鑰。", 11 | "Your GPG public key" : "您的 GPG 公開金鑰", 12 | "Download Server Key" : "下載伺服器金鑰" 13 | },"pluralForm" :"nplurals=1; plural=0;" 14 | } -------------------------------------------------------------------------------- /lib/AppInfo/Application.php: -------------------------------------------------------------------------------- 1 | . 4 | * 5 | * @license AGPL-3.0 6 | * 7 | * This code is free software: you can redistribute it and/or modify 8 | * it under the terms of the GNU Affero General Public License, version 3, 9 | * as published by the Free Software Foundation. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Affero General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Affero General Public License, version 3, 17 | * along with this program. If not, see 18 | * 19 | */ 20 | namespace OCA\GpgMailer\AppInfo; 21 | 22 | 23 | 24 | use OCP\AppFramework\App; 25 | 26 | use OCA\GpgMailer\Hooks\MailHooks; 27 | use OCA\GpgMailer\Service\Gpg; 28 | use OCA\GpgMailer\Service\GpgMessageConvertService; 29 | #use OCP\App as OCPApp; 30 | 31 | class Application extends App { 32 | 33 | public function __construct(array $urlParams=array()){ 34 | parent::__construct('gpgmailer', $urlParams); 35 | 36 | $container = $this->getContainer(); 37 | 38 | /** 39 | * Controllers 40 | */ 41 | $container->registerService('Config', function($c) { 42 | return $c->query('ServerContainer')->getConfig(); 43 | }); 44 | 45 | $container->registerService('Mailer', function($c) { 46 | return $c->query('ServerContainer')->getMailer(); 47 | }); 48 | 49 | $container->registerService('Gpg', function($c) { 50 | return new Gpg( 51 | $c->query('Config'), 52 | $c->query('OCP\Defaults'), 53 | $c->query('OC\Log'), 54 | $c->query('OC\User\Manager'), 55 | $c->query('AppName') 56 | ); 57 | }); 58 | 59 | $container->registerService('GpgMessageConvert', function($c) { 60 | return new GpgMessageConvertService( 61 | $c->query('Config'), 62 | $c->query('Gpg'), 63 | $c->query('OC\Log'), 64 | $c->query('Mailer'), 65 | $c->query('AppName') 66 | ); 67 | }); 68 | 69 | $container->registerService('MailHooks', function($c) { 70 | return new MailHooks( 71 | $c->query('Config'), 72 | $c->query('OC\Log'), 73 | $c->query('OCP\EventDispatcher\IEventDispatcher'), 74 | $c->query('GpgMessageConvert'), 75 | $c->query('AppName') 76 | ); 77 | }); 78 | } 79 | 80 | 81 | 82 | public function registerHooks() { 83 | $this->getContainer()->query('MailHooks')->register(); 84 | } 85 | 86 | } -------------------------------------------------------------------------------- /lib/Controller/KeyController.php: -------------------------------------------------------------------------------- 1 | userId = $UserId; 23 | $this->userManager = $userManager; 24 | $this->gpg = $gpg; 25 | $this->config = $config; 26 | $this->logger = $logger; 27 | } 28 | 29 | /** 30 | * CAUTION: the @Stuff turns off security checks; for this page no admin is 31 | * required and no CSRF check. If you don't know what CSRF is, read 32 | * it up in the docs or you might create a security hole. This is 33 | * basically the only required method to add this exemption, don't 34 | * add it to any other method if you don't exactly know what it does 35 | * 36 | * 37 | * @NoAdminRequired 38 | * @PublicPage: 39 | * @NoCSRFRequired: 40 | */ 41 | 42 | public function downloadServerKey() { 43 | $fingerprint = $this->config->getAppValue($this->appName, 'GpgServerKey', ''); 44 | if ($fingerprint !== '') { 45 | $server_pubkey = $this->gpg->export($fingerprint); 46 | return new DataDownloadResponse($server_pubkey, 'public.asc', 'application/pgp-keys'); 47 | } else { 48 | return new NotFoundResponse(); 49 | } 50 | 51 | } 52 | 53 | /** 54 | * @NoAdminRequired 55 | */ 56 | public function uploadUserKey($keydata) { 57 | $this->logger->debug("User Key uploaded",["app"=> $this->appName]); 58 | $email = $this->userManager->get($this->userId)->getEMailAddress(); 59 | if (strlen($keydata) === 0){ 60 | return $this->deleteUserKey(); 61 | } 62 | $fingerprint = $this->gpg->import($keydata, $this->userId); 63 | if ($fingerprint) { 64 | $fingerprint = $fingerprint['fingerprint']; 65 | $this->logger->debug("Imported Key with fingerprint: ".$fingerprint." into the user keyring", ["app"=> $this->appName]); 66 | $keyinfo = $this->gpg->keyinfo($fingerprint, $this->userId); 67 | $key_for_email = false; 68 | foreach ($keyinfo[0]['uids'] as $uid) { 69 | if (strtolower($uid['email']) === strtolower($email)) { 70 | $key_for_email = true; 71 | break; 72 | } 73 | } 74 | 75 | if ($key_for_email) { 76 | $this->logger->debug("Imported Key with fingerprint: ".$fingerprint." into the system keyring", ["app"=> $this->appName]); 77 | $this->gpg->import($keydata); 78 | return new DataResponse(['message'=>"Imported public key"]); 79 | } else { 80 | return new DataResponse(['message'=>"Key is not for your email"]); 81 | } 82 | } 83 | return new DataResponse(['message'=>"Key import Failed"]); 84 | } 85 | 86 | private function deleteUserKey(){ 87 | $email = $this->userManager->get($this->userId)->getEMailAddress(); 88 | $fingerprint = $this->gpg->getPublicKeyFromEmail($email); 89 | 90 | if ($this->gpg->deletekey($fingerprint)){ 91 | $this->logger->debug("Deleted Key with fingerprint: ".$fingerprint." from the system keyring", ["app"=> $this->appName]); 92 | }; 93 | 94 | if ($this->gpg->deletekey($fingerprint, $this->userId)){ 95 | $this->logger->debug("Deleted Key with fingerprint: ".$fingerprint." from the user keyring", ["app"=> $this->appName]); 96 | } 97 | return new DataResponse(['message'=>"Deleted Public Key"]); 98 | } 99 | 100 | } 101 | -------------------------------------------------------------------------------- /lib/Hooks/MailHooks.php: -------------------------------------------------------------------------------- 1 | . 4 | * 5 | * @author Arne Hamann 6 | * @license AGPL-3.0 7 | * 8 | * This code is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU Affero General Public License, version 3, 10 | * as published by the Free Software Foundation. 11 | * 12 | * This program is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | * GNU Affero General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Affero General Public License, version 3, 18 | * along with this program. If not, see 19 | * 20 | */ 21 | namespace OCA\GpgMailer\Hooks; 22 | 23 | use OCP\EventDispatcher\IEventDispatcher; 24 | use OCP\Mail\Events\BeforeMessageSent; 25 | use OCP\IConfig; 26 | use OCP\ILogger; 27 | use OCA\GpgMailer\Service\GpgMessageConvertService; 28 | 29 | 30 | class MailHooks { 31 | 32 | private $config; 33 | private $gpgMessageConvertService; 34 | private $logger; 35 | private $appName; 36 | 37 | public function __construct(IConfig $config, ILogger $logger, IEventDispatcher $dispatcher, GpgMessageConvertService $gpgMessageConvertService, $appName){ 38 | $this->config = $config; 39 | $this->gpgMessageConvertService = $gpgMessageConvertService; 40 | $this->logger = $logger; 41 | $this->appName = $appName; 42 | $this->dispatcher = $dispatcher; 43 | } 44 | 45 | public function register() { 46 | $callback = function (BeforeMessageSent $event) { 47 | $message = $event->getMessage(); 48 | $this->gpgMessageConvertService->convertGpgMessage($message); 49 | }; 50 | $this->dispatcher->addListener(BeforeMessageSent::class, $callback); 51 | } 52 | 53 | 54 | } -------------------------------------------------------------------------------- /lib/Migration/CreateGpgServerKeys.php: -------------------------------------------------------------------------------- 1 | 4 | * 5 | * @author Arne Hamann 6 | * 7 | * @license GNU AGPL version 3 or any later version 8 | * 9 | * This program is free software: you can redistribute it and/or modify 10 | * it under the terms of the GNU Affero General Public License as 11 | * published by the Free Software Foundation, either version 3 of the 12 | * License, or (at your option) any later version. 13 | * 14 | * This program is distributed in the hope that it will be useful, 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | * GNU Affero General Public License for more details. 18 | * 19 | * You should have received a copy of the GNU Affero General Public License 20 | * along with this program. If not, see . 21 | * 22 | */ 23 | 24 | namespace OCA\GpgMailer\Migration; 25 | 26 | use OCA\GpgMailer\Service\Gpg; 27 | use OCP\IUserManager; 28 | use OCP\Migration\IOutput; 29 | use OCP\Migration\IRepairStep; 30 | use OCP\ILogger; 31 | use OCP\IConfig; 32 | 33 | 34 | class CreateGpgServerKeys implements IRepairStep { 35 | private $appName; 36 | /** @var IConfig */ 37 | private $config; 38 | /** @var ILogger */ 39 | private $logger; 40 | /** @var Gpg */ 41 | private $gpg; 42 | /** 43 | * @param IConfig $config 44 | * @param Defaults $defaults 45 | * @param ILogger $logger 46 | * @param IUserManager $userManager 47 | */ 48 | public function __construct() { 49 | $this->appName = "gpgmailer"; 50 | $this->logger = \OC::$server->getLogger(); 51 | $this->config = \OC::$server->getConfig(); 52 | $this->gpg = new Gpg($this->config, \OC::$server->query('Defaults'), $this->logger, \OC::$server->query('UserManager'), $this->appName); 53 | 54 | } 55 | /** 56 | * {@inheritdoc} 57 | */ 58 | public function getName() { 59 | return 'Create server GPG key pair'; 60 | } 61 | /** 62 | * {@inheritdoc} 63 | */ 64 | public function run(IOutput $output) { 65 | $fingerprint = $this->config->getAppValue($this->appName,'GpgServerKey',''); 66 | if($fingerprint === ''){ 67 | $fingerprint = $this->gpg->generateKey(); 68 | $this->logger->info("Created server GPG key pair ".$fingerprint, ['app' => $this->appName]); 69 | } else { 70 | $keys = $this->gpg->keyinfo($fingerprint); 71 | if ($keys === FALSE || $keys === []) { 72 | $fingerprint = $this->gpg->generateKey(); 73 | $this->logger->info("Created server GPG key pair ".$fingerprint, ['app' => $this->appName]); 74 | } 75 | } 76 | $keys = $this->gpg->keyinfo($fingerprint); 77 | if ($keys === FALSE || $keys === []) { 78 | $this->logger->error("Creating server GPG key pair failed. Emails are not going to be signed, expect keys are server keys imported manually", ['app' => $this->appName]); 79 | } 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /lib/Service/Gpg.php: -------------------------------------------------------------------------------- 1 | 4 | * 5 | * @author Arne Hamann 6 | * 7 | * @license GNU AGPL version 3 or any later version 8 | * 9 | * This program is free software: you can redistribute it and/or modify 10 | * it under the terms of the GNU Affero General Public License as 11 | * published by the Free Software Foundation, either version 3 of the 12 | * License, or (at your option) any later version. 13 | * 14 | * This program is distributed in the hope that it will be useful, 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | * GNU Affero General Public License for more details. 18 | * 19 | * You should have received a copy of the GNU Affero General Public License 20 | * along with this program. If not, see . 21 | * 22 | */ 23 | 24 | namespace OCA\GpgMailer\Service; 25 | 26 | use OCP\Defaults; 27 | use OCP\IConfig; 28 | use OCP\ILogger; 29 | use OCP\IUserManager; 30 | use gnupg; 31 | 32 | class Gpg { 33 | /** @var IConfig */ 34 | private $config; 35 | /** @var ILogger */ 36 | private $logger; 37 | /** @var Defaults */ 38 | private $defaults; 39 | private $appName; 40 | 41 | /** 42 | * Gpg constructor. 43 | * 44 | * @param IConfig $config 45 | * @param ILogger $logger 46 | * @param Defaults $defaults 47 | * @param IUserManager $userManager 48 | */ 49 | public function __construct(IConfig $config, 50 | Defaults $defaults, 51 | ILogger $logger, 52 | IUserManager $userManager, 53 | $appName) { 54 | $this->config = $config; 55 | $this->logger = $logger; 56 | $this->defaults = $defaults; 57 | $this->userManager = $userManager; 58 | $this->appName = $appName; 59 | $this->loadUser(null); 60 | $this->gpg = new gnupg(); 61 | $this->gpg -> setarmor(1); 62 | $this->gpg -> setsignmode(gnupg::SIG_MODE_DETACH); 63 | $debugMode = $this->config->getSystemValue('debug', false); 64 | if ($debugMode) { 65 | $this->gpg ->seterrormode(gnupg::ERROR_WARNING); 66 | } 67 | } 68 | /** 69 | * Combination of gnupg_addencryptkey and gnupg_encrypt 70 | * 71 | * @param string $plaintext 72 | * @param array $fingerprints fingerprints of the encryption keys 73 | * @param string $uid = null 74 | * @return string 75 | */ 76 | public function encrypt(array $fingerprints, $plaintext, $uid = null ) { 77 | $this->loadUser($uid); 78 | $gpg = $this->gpg; 79 | $debugMode = $this->config->getSystemValue('debug', false); 80 | foreach ($fingerprints as $fingerprint){ 81 | $gpg->addencryptkey($fingerprint); 82 | } 83 | $gpg_text = $gpg->encrypt($plaintext); 84 | $gpg->clearencryptkeys(); 85 | if($debugMode) { 86 | $encrypt_fingerprints_text = ''; 87 | foreach ($fingerprints as $encrypt_fingerprint) { 88 | $encrypt_fingerprints_text = $encrypt_fingerprints_text . "," . $encrypt_fingerprint; 89 | } 90 | $this->logger->debug("GPG encrypted plain message: with encrypt keys:" . $encrypt_fingerprints_text . " to gpg text", ['app'=>$this->appName]); 91 | } 92 | return $gpg_text; 93 | } 94 | /** 95 | * Combination of gnupg_addsignkey gnupg_addencryptkey and gnupg_encryptsign 96 | * 97 | * @param string $plaintext 98 | * @param array $encrypt_fingerprints fingerprints of the encryption keys 99 | * @param array $sign_fingerprints fingerprints of the sign keys 100 | * @param $uid = null 101 | * @return string 102 | */ 103 | public function encryptsign(array $encrypt_fingerprints, array $sign_fingerprints, $plaintext, $uid = null ) { 104 | $this->loadUser($uid); 105 | $gpg = $this->gpg; 106 | $debugMode = $this->config->getSystemValue('debug', false); 107 | foreach ($encrypt_fingerprints as $fingerprint){ 108 | $gpg->addencryptkey($fingerprint); 109 | } 110 | foreach ($sign_fingerprints as $key => $fingerprint){ 111 | if (is_numeric($key)){ 112 | $gpg->addsignkey($fingerprint); 113 | } else { 114 | $gpg->addsignkey($key, $fingerprint); 115 | } 116 | } 117 | $gpg_text = $gpg->encryptsign($plaintext); 118 | $gpg->clearencryptkeys(); 119 | $gpg->clearsignkeys(); 120 | if($debugMode) { 121 | $sign_fingerprints_text = ''; 122 | foreach ($sign_fingerprints as $key => $sign_fingerprint) { 123 | if (is_numeric($key)){ 124 | $sign_fingerprints_text = $sign_fingerprints_text . "," . $sign_fingerprint; 125 | } else { 126 | $sign_fingerprints_text = $sign_fingerprints_text . "," . $key; 127 | } 128 | } 129 | $encrypt_fingerprints_text = ''; 130 | foreach ($encrypt_fingerprints as $encrypt_fingerprint) { 131 | $encrypt_fingerprints_text = $encrypt_fingerprints_text . "," . $encrypt_fingerprint; 132 | } 133 | $this->logger->debug("GPG encryptsigned plain message: with encrypt keys:" . $encrypt_fingerprints_text . " with sign Keys:" . $sign_fingerprints_text . " to gpg text", ['app'=>$this->appName]); 134 | } 135 | return $gpg_text; 136 | } 137 | /** 138 | * Combination of gnupg_addsignkey and gnupg_sign 139 | * 140 | * @param string $plaintext 141 | * @param array $fingerprints fingerprints of the sign keys 142 | * @param $uid = null 143 | * @return string 144 | */ 145 | public function sign(array $fingerprints, $plaintext, $uid = null ) { 146 | $this->loadUser($uid); 147 | $gpg = $this->gpg; 148 | $debugMode = $this->config->getSystemValue('debug', false); 149 | foreach ($fingerprints as $key => $fingerprint){ 150 | if (is_numeric($key)){ 151 | $gpg->addsignkey($fingerprint); 152 | } else { 153 | $gpg->addsignkey($key, $fingerprint); 154 | } 155 | } 156 | $gpg_text = $gpg->sign($plaintext); 157 | $gpg->clearsignkeys(); 158 | $sign_fingerprints_text = ''; 159 | if ($debugMode) { 160 | foreach ($fingerprints as $key => $sign_fingerprint) { 161 | if (is_numeric($key)){ 162 | $sign_fingerprints_text = $sign_fingerprints_text . "," . $sign_fingerprint; 163 | } else { 164 | $sign_fingerprints_text = $sign_fingerprints_text . "," . $key; 165 | } 166 | } 167 | $this->logger->debug("GPG signed plain message: with sign keys:" . $sign_fingerprints_text, ['app'=>$this->appName]); 168 | } 169 | return $gpg_text; 170 | } 171 | /** 172 | * Mapper for gnupg_import, 173 | * with expect that only one key per email can be added. 174 | * 175 | * @param string $keydata 176 | * @return array 177 | */ 178 | public function import($keydata, $uid = null ) { 179 | $this->loadUser($uid); 180 | $gpg = $this->gpg; 181 | return $gpg->import($keydata); 182 | } 183 | /** 184 | * Mapper for gnupg_export, 185 | * exports the public key for finterprint. 186 | * 187 | * @param string $fingerprint 188 | * @return string 189 | */ 190 | public function export($fingerprint, $uid = null ) { 191 | $this->loadUser($uid); 192 | $gpg = $this->gpg; 193 | return $gpg->export($fingerprint); 194 | } 195 | /** 196 | * Mapper for gnupg_keyinfo 197 | * 198 | * @param string $pattern 199 | * @return array 200 | */ 201 | public function keyinfo($pattern, $uid = null ) { 202 | $this->loadUser($uid); 203 | $gpg = $this->gpg; 204 | return $gpg->keyinfo($pattern); 205 | } 206 | /** 207 | * Mapper for gnupg_deletekey 208 | * 209 | * Deletes the key from the keyring. If allowsecret is not set or FALSE it will fail on deleting secret keys. 210 | * @param string $fingerprint of the key 211 | * @param string|null $uid 212 | * @param bool $allowsecret 213 | * @return bool 214 | */ 215 | public function deletekey($fingerprint, $uid = null, $allowsecret = FALSE ) { 216 | $this->loadUser($uid); 217 | $gpg = $this->gpg; 218 | return $gpg->deletekey($fingerprint,$allowsecret); 219 | } 220 | /** 221 | * Returns the fingerprint of the first public key matching the email. 222 | * 223 | * @param string $email 224 | * @return string 225 | */ 226 | public function getPublicKeyFromEmail($email, $uid = null ) { 227 | $this->loadUser($uid); 228 | $gpg = $this->gpg; 229 | $fingerprint = ''; 230 | $keys = $gpg->keyinfo($email); 231 | if(sizeof($keys)> 0) { 232 | foreach($keys as $key){ 233 | if (!$key['disabled'] && !$key['expired'] && !$key['revoked']) { 234 | return $key['subkeys'][0]['fingerprint']; 235 | } 236 | } 237 | } 238 | return $fingerprint; 239 | } 240 | /** 241 | * Returns the fingerprint of the first privat key matching the email. 242 | * 243 | * @param string $email 244 | * @return string 245 | */ 246 | public function getPrivatKeyFromEmail($email, $uid = null ) { 247 | $this->loadUser($uid); 248 | $gpg = $this->gpg; 249 | $fingerprint = ''; 250 | $keys = $gpg->keyinfo($email); 251 | if(sizeof($keys)> 0) { 252 | foreach($keys as $key){ 253 | if (!$key['disabled'] && !$key['expired'] && !$key['revoked'] && $key['is_secret']) { 254 | return $key['subkeys'][0]['fingerprint']; 255 | } 256 | } 257 | } 258 | return $fingerprint; 259 | } 260 | /** 261 | * generate a new Key Pair, if no parameter given the key is for the server is generated 262 | * 263 | * @param string $email = '' 264 | * @param string $name = '' 265 | * @param string $commend = '' 266 | * @return string $fingerprint 267 | */ 268 | public function generateKey($email = '', $name = '', $commend = '', $uid = null ) { 269 | $this->loadUser($uid); 270 | $gpg = $this->gpg; 271 | $debugMode = $this->config->getSystemValue('debug', false); 272 | if ($email === '' || $name === '') { 273 | /* otherwise setUser(X); generateKey(); Would generate a server key for User X); */ 274 | if ($uid === '' || $uid === null) { 275 | $email = \OCP\Util::getDefaultEmailAddress($this->defaults->getName()); 276 | $name = $this->defaults->getName(); 277 | $commend = $this->defaults->getSlogan(); 278 | } else { 279 | $this->logger->info("Creating Key without email or name is not possible", ['app'=>$this->appName]); 280 | return ""; 281 | } 282 | } 283 | if ($uid !== null && $uid !=='' ) { 284 | $home = $this->userManager->get($uid)->getHome(); 285 | } else { 286 | $home = $this->config->getSystemValue("datadirectory"); 287 | } 288 | $home = rtrim($home,DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR; 289 | if ($debugMode) { 290 | $this->logger->debug("Generate server key for email:".$email, ['app'=>$this->appName]); 291 | } 292 | //generate Keys 293 | $cwd = getcwd(); 294 | chdir($home); 295 | putenv('GNUPGHOME='.$home.'.gnupg'); 296 | $email = escapeshellcmd($email); 297 | $name = escapeshellcmd($name); 298 | $commend = escapeshellcmd($commend); 299 | $foo = system( 300 | <<foo <&1",$out2); 313 | $timestamp_after = time(); 314 | if ($debugMode) { 315 | $this->logger->debug("gpg --batch --gen-key foo:\n" . print_r($out2,TRUE)."\n This took ".($timestamp_after-$timestamp_before)."seconds.", ['app'=>$this->appName]); 316 | } 317 | $foo = system("rm foo",$out); 318 | chdir($cwd); 319 | $keys = $gpg->keyinfo($email); 320 | $fingerprint = ""; 321 | foreach ($keys as $key) { 322 | if ($key["subkeys"][0]["timestamp"] >= $timestamp_before && $key["subkeys"][0]["timestamp"] <= $timestamp_after) { 323 | if ($debugMode){ 324 | $this->logger->debug("Found new server key:" .$key["subkeys"][0]["fingerprint"], ['app'=>$this->appName]); 325 | } 326 | $fingerprint = $key['subkeys'][0]['fingerprint']; 327 | $timestamp_before = $key["subkeys"][0]["timestamp"]; 328 | } 329 | } 330 | if ($fingerprint === "") { 331 | $this->logger->warning("No server GPG key found so no signed emails are possible", ['app'=>$this->appName]); 332 | } 333 | if ($debugMode){ 334 | $this->logger->debug("Saved server key fingerprint:".$fingerprint." to system config", ['app'=>$this->appName]); 335 | } 336 | if ($uid === null || $uid ==='' ) { 337 | $this->config->setAppValue($this->appName,"GpgServerKey",$fingerprint); 338 | } 339 | return $fingerprint; 340 | } 341 | /** 342 | * Change the GPG home from nextcloud-data/.gnupg to user-home/.gnugp 343 | * Takes an empty string to reset it to nextcloud-data 344 | * 345 | * @param $uid 346 | * @return $this 347 | */ 348 | private function loadUser($uid) { 349 | if ($uid === null) { 350 | $home = $this->config->getSystemValue("datadirectory"); 351 | } else { 352 | $home = $this->userManager->get($uid)->getHome(); 353 | } 354 | $home = rtrim($home,DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR; 355 | putenv('GNUPGHOME='.$home.'.gnupg'); 356 | if(!is_dir($home.'.gnupg')){ 357 | mkdir($home.'.gnupg'); 358 | chmod($home.'.gnupg',0700); 359 | } 360 | if(!file_exists($home.'.gnupg/gpg-agent.conf')){ 361 | file_put_contents($home.'.gnupg/gpg-agent.conf', "allow-loopback-pinentry"); 362 | chmod($home.'.gnupg/gpg-agent.conf',0600); 363 | } 364 | if(!file_exists($home.'.gnupg/gpg.conf')){ 365 | file_put_contents($home.'.gnupg/gpg.conf', "pinentry-mode loopback"); 366 | chmod($home.'.gnupg/gpg.conf',0600); 367 | } 368 | return $this; 369 | } 370 | } -------------------------------------------------------------------------------- /lib/Service/GpgMessageConvertService.php: -------------------------------------------------------------------------------- 1 | config = $config; 32 | $this->gpg = $gpg; 33 | $this->logger = $logger; 34 | $this->mailer = $mailer; 35 | $this->appName = $appName; 36 | } 37 | 38 | public function convertGpgMessage(IMessage $message) { 39 | $debugMode = $this->config->getSystemValue('debug', false); 40 | $encrypt_fingerprints = []; 41 | foreach ($message->getTo() as $email => $name) { 42 | $encrypt_fingerprints[] = $this->gpg->getPublicKeyFromEmail($email); 43 | } 44 | foreach ($message->getCc() as $email => $name) { 45 | $encrypt_fingerprints[] = $this->gpg->getPublicKeyFromEmail($email); 46 | } 47 | foreach ($message->getBcc() as $email => $name) { 48 | $encrypt_fingerprints[] = $this->gpg->getPublicKeyFromEmail($email); 49 | } 50 | 51 | $sign_fingerprints = [$this->config->getAppValue($this->appName, 'GpgServerKey','')]; 52 | if ($this->countValidFingerprint($encrypt_fingerprints) === sizeof($message->getTo()) + sizeof($message->getCc()) + sizeof($message->getBcc())){ 53 | if($this->countValidFingerprint($sign_fingerprints) > 0) { 54 | if($debugMode) { 55 | $sign_fingerprints_text = ''; 56 | foreach ($sign_fingerprints as $sign_fingerprint) { 57 | $sign_fingerprints_text = $sign_fingerprints_text.",".$sign_fingerprint; 58 | } 59 | $encrypt_fingerprints_text = ''; 60 | foreach ($encrypt_fingerprints as $encrypt_fingerprint) { 61 | $encrypt_fingerprints_text = $encrypt_fingerprints_text . "," . $encrypt_fingerprint; 62 | } 63 | $this->logger->debug("GPG Mail encrypt and sign Message with encrypt Keys:".$encrypt_fingerprints_text." and sign Keys:".$sign_fingerprints_text,['app'=>$this->appName]); 64 | } 65 | $this->encryptSignMessage($encrypt_fingerprints, $sign_fingerprints, $message); 66 | } else { 67 | if($debugMode) { 68 | $encrypt_fingerprints_text = ''; 69 | foreach ($encrypt_fingerprints as $encrypt_fingerprint) { 70 | $encrypt_fingerprints_text = $encrypt_fingerprints_text . "," . $encrypt_fingerprint; 71 | } 72 | $this->logger->debug("GPG Mail encrypt Message with encrypt Keys:".$encrypt_fingerprints_text, ['app'=>$this->appName]); 73 | } 74 | $this->encryptMessage($encrypt_fingerprints, $message); 75 | } 76 | } else { 77 | if($this->countValidFingerprint($sign_fingerprints) > 0) { 78 | $sign_fingerprints_text = ''; 79 | foreach ($sign_fingerprints as $sign_fingerprint) { 80 | $sign_fingerprints_text = $sign_fingerprints_text.",".$sign_fingerprint; 81 | } 82 | $this->signMessage($sign_fingerprints, $message); 83 | $this->logger->debug("GPG Mail sign Message with sign Keys:".$sign_fingerprints_text, ['app'=>$this->appName]); 84 | } else { 85 | if($debugMode) { 86 | $this->logger->debug("GPG Mail no encryption and sign keys avalible keeping plain message:\"".$message->getPlainBody()."\"", ['app'=>$this->appName]); 87 | } 88 | } 89 | } 90 | return $message; 91 | } 92 | 93 | private function messageContentToString(IMessage $message) { 94 | $originalMessage = clone $message->getSwiftMessage(); 95 | $originalMessage->getHeaders()->remove('Message-ID'); 96 | $originalMessage->getHeaders()->remove('Date'); 97 | $originalMessage->getHeaders()->remove('Subject'); 98 | $originalMessage->getHeaders()->remove('MIME-Version'); 99 | $originalMessage->getHeaders()->remove('To'); 100 | $originalMessage->getHeaders()->remove('From'); 101 | $originalMessage->getHeaders()->remove('CC'); 102 | $originalMessage->getHeaders()->remove('Bcc'); 103 | $messageString = $originalMessage->toString(); 104 | $lines = preg_split('/(\r\n|\r|\n)/',trim($messageString)); 105 | $lines_count = count($lines); 106 | for ($i=0; $i < $lines_count; $i++) { 107 | $lines[$i] = rtrim($lines[$i])."\r\n"; 108 | } 109 | // Remove excess trailing newlines (RFC3156 section 5.4) 110 | return rtrim(implode('',$lines))."\r\n"; 111 | } 112 | 113 | private function countValidFingerprint(array $fingerprints) { 114 | $int = 0; 115 | foreach ($fingerprints as $f) { 116 | if ($this->validFingerprint($f)) { 117 | $int++; 118 | } 119 | } 120 | return $int; 121 | } 122 | private function validFingerprint(string $fingerprint) { 123 | return $fingerprint !== ''; 124 | } 125 | 126 | private function signMessage(Array $sign_fingerprints, IMessage $message) { 127 | #Append public Key and Autocrypt 128 | if(empty($sign_fingerprints)) { 129 | return; 130 | } 131 | $sign_fingerprint = array_shift($sign_fingerprints); 132 | $keydataRaw = $this->gpg->export($sign_fingerprint); 133 | $keydata = str_replace('-----END PGP PUBLIC KEY BLOCK-----','',str_replace('-----BEGIN PGP PUBLIC KEY BLOCK-----', '', $keydataRaw)); 134 | $keydata = trim($keydata); 135 | $swiftmessage = $message->getSwiftMessage(); 136 | $from = $message->getFrom(); 137 | if (empty($from)) { 138 | return; 139 | } 140 | $from = array_shift($from); 141 | $swiftmessage->getHeaders()->addParameterizedHeader('Autocrypt', '' ,['addr' => $from, 'prefer-encrypt' => 'mutual', 'keydata' => $keydata] ); 142 | $keyattach = $this->mailer->createAttachment($keydataRaw,"public.asc"); 143 | $message->setSwiftMessage($swiftmessage); 144 | $message->attach($keyattach); 145 | $swiftmessage = $message->getSwiftMessage(); 146 | 147 | #Sign Message 148 | $signedBody = $this->messageContentToString($message); 149 | $signature = $this->gpg->sign($sign_fingerprints, $signedBody); 150 | $swiftmessage->setEncoder(new \Swift_Mime_ContentEncoder_RawContentEncoder); 151 | $swiftmessage->setChildren(array()); 152 | $swiftmessage->setBoundary('_=_swift_v4_'.time().'_'.md5(getmypid().mt_rand().uniqid('', true)).'_=_'); 153 | $swiftmessage->getHeaders()->get('Content-Type')->setValue('multipart/signed'); 154 | $swiftmessage->getHeaders()->get('Content-Type')->setParameters(array( 155 | 'micalg' => "pgp-sha256", 156 | 'protocol' => 'application/pgp-signature', 157 | 'boundary' => $swiftmessage->getBoundary(), 158 | )); 159 | #Becarefull with newlines Spaces and other invisible signs in here 160 | $body = <<getBoundary()} 165 | $signedBody 166 | --{$swiftmessage->getBoundary()} 167 | Content-Type: application/pgp-signature; name="signature.asc" 168 | Content-Description: OpenPGP digital signature 169 | Content-Disposition: attachment; filename="signature.asc" 170 | 171 | $signature 172 | 173 | --{$swiftmessage->getBoundary()}-- 174 | EOT; 175 | $swiftmessage->setBody($body); 176 | $swiftmessage->getHeaders()->removeAll('Content-Transfer-Encoding'); 177 | $message->setSwiftMessage($swiftmessage); 178 | } 179 | 180 | private function encryptMessage(Array $encrypt_fingerprints, IMessage $message) { 181 | $encryptedBody = $this->messageContentToString($message); 182 | $encryptedBody = $this->gpg->encrypt($encrypt_fingerprints,$encryptedBody); 183 | $swiftmessage=$message->getSwiftMessage(); 184 | $swiftmessage->setChildren(array()); 185 | $swiftmessage->setBoundary('_=_swift_v4_'.time().'_'.md5(getmypid().mt_rand().uniqid('', true)).'_=_'); 186 | $swiftmessage->setEncoder(new \Swift_Mime_ContentEncoder_RawContentEncoder); 187 | $swiftmessage->getHeaders()->get('Content-Type')->setValue('multipart/encrypted'); 188 | $swiftmessage->getHeaders()->get('Content-Type')->setParameters(array( 189 | 'protocol' => 'application/pgp-encrypted', 190 | 'boundary' => $swiftmessage->getBoundary(), 191 | )); 192 | #Becarefull with newlines Spaces and other invisible signs in here 193 | $body = <<getBoundary()} 196 | Content-Type: application/pgp-encrypted 197 | Content-Description: PGP/MIME version identification 198 | 199 | Version: 1 200 | 201 | --{$swiftmessage->getBoundary()} 202 | Content-Type: application/octet-stream; name="encrypted.asc" 203 | Content-Description: OpenPGP encrypted message 204 | Content-ID: <0> 205 | Content-Disposition: inline; filename="encrypted.asc" 206 | 207 | $encryptedBody 208 | 209 | --{$swiftmessage->getBoundary()}-- 210 | EOT; 211 | $swiftmessage->setBody($body); 212 | $swiftmessage->getHeaders()->removeAll('Content-Transfer-Encoding'); 213 | $message->setSwiftMessage($swiftmessage); 214 | } 215 | 216 | private function encryptSignMessage(Array $encrypt_fingerprints, Array $sign_fingerprints, IMessage $message) { 217 | 218 | $signedBody = $this->messageContentToString($message); 219 | $signature = $this->gpg->sign($sign_fingerprints,$signedBody); 220 | 221 | $swiftMessage = $message->getSwiftMessage(); 222 | $swiftMessage->setEncoder(new \Swift_Mime_ContentEncoder_RawContentEncoder); 223 | $swiftMessage->setChildren(array()); 224 | $swiftMessage->setBoundary('_=_swift_v4_'.time().'_'.md5(getmypid().mt_rand().uniqid('', true)).'_=_'); 225 | $swiftMessage->getHeaders()->get('Content-Type')->setValue('multipart/signed'); 226 | $swiftMessage->getHeaders()->get('Content-Type')->setParameters(array( 227 | 'micalg' => "pgp-sha256", 228 | 'protocol' => 'application/pgp-signature', 229 | 'boundary' => $swiftMessage->getBoundary(), 230 | )); 231 | 232 | 233 | 234 | //Swiftmailer is automatically changing content type and this is the hack to prevent it 235 | #Becarefull with newlines Spaces and other invisible signs in here 236 | $body = <<getBoundary()} 240 | $signedBody 241 | --{$swiftMessage->getBoundary()} 242 | Content-Type: application/pgp-signature; name="signature.asc" 243 | Content-Description: OpenPGP digital signature 244 | Content-Disposition: attachment; filename="signature.asc" 245 | 246 | $signature 247 | 248 | --{$swiftMessage->getBoundary()}-- 249 | EOT; 250 | 251 | 252 | $swiftMessage->getHeaders()->removeAll('Content-Transfer-Encoding'); 253 | 254 | $signed = sprintf("%s%s",$swiftMessage->getHeaders()->get('Content-Type')->toString(),$body); 255 | $encryptedBody = $this->gpg->encrypt($encrypt_fingerprints,$signed); 256 | 257 | $swiftMessage->getHeaders()->get('Content-Type')->setValue('multipart/encrypted'); 258 | $swiftMessage->getHeaders()->get('Content-Type')->setParameters(array( 259 | 'protocol' => 'application/pgp-encrypted', 260 | 'boundary' => $swiftMessage->getBoundary() 261 | )); 262 | 263 | #Becarefull with newlines Spaces and other invisible signs in here 264 | $body = <<getBoundary()} 267 | Content-Type: application/pgp-encrypted 268 | Content-Description: PGP/MIME version identification 269 | 270 | Version: 1 271 | 272 | --{$swiftMessage->getBoundary()} 273 | Content-Type: application/octet-stream; name="encrypted.asc" 274 | Content-Description: OpenPGP encrypted message 275 | Content-ID: <0> 276 | Content-Disposition: inline; filename="encrypted.asc" 277 | 278 | $encryptedBody 279 | 280 | --{$swiftMessage->getBoundary()}-- 281 | EOT; 282 | $swiftMessage->setBody($body); 283 | $swiftMessage->getHeaders()->removeAll('Content-Transfer-Encoding'); 284 | $message->setSwiftMessage($swiftMessage); 285 | } 286 | 287 | } -------------------------------------------------------------------------------- /lib/Settings/Admin.php: -------------------------------------------------------------------------------- 1 | . 4 | * 5 | * @author Arne Hamann 6 | * @license AGPL-3.0 7 | * 8 | * This code is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU Affero General Public License, version 3, 10 | * as published by the Free Software Foundation. 11 | * 12 | * This program is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | * GNU Affero General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Affero General Public License, version 3, 18 | * along with this program. If not, see 19 | * 20 | */ 21 | 22 | namespace OCA\GpgMailer\Settings; 23 | 24 | use OCA\GpgMailer\Service\Gpg; 25 | use OCP\AppFramework\Http\TemplateResponse; 26 | use OCP\BackgroundJob\IJobList; 27 | use OCP\IConfig; 28 | use OCP\IDateTimeFormatter; 29 | use OCP\IL10N; 30 | use OCP\Settings\ISettings; 31 | use OCP\IURLGenerator; 32 | 33 | class Admin implements ISettings { 34 | 35 | /** @var IConfig */ 36 | private $config; 37 | 38 | 39 | /** @var Gpg */ 40 | private $gpg; 41 | 42 | /** @var string */ 43 | private $appName; 44 | 45 | /** @var IURLGenerator */ 46 | private $url; 47 | 48 | /** 49 | * Admin constructor. 50 | * 51 | * @param IConfig $config 52 | * @param Gpg $gpg 53 | * @param $appName 54 | * @param IURLGenerator $url 55 | */ 56 | public function __construct(IConfig $config, 57 | Gpg $gpg, 58 | $appName, 59 | IURLGenerator $url 60 | ) { 61 | $this->config = $config; 62 | $this->gpg = $gpg; 63 | $this->appName = $appName; 64 | $this->url = $url; 65 | } 66 | 67 | /** 68 | * @return TemplateResponse 69 | */ 70 | public function getForm() { 71 | 72 | $fingerprint = $this->config->getAppValue($this->appName, 'GpgServerKey', ''); 73 | $parameters = []; 74 | if ($fingerprint !== '') { 75 | $server_keyinfo = print_r($this->gpg->keyinfo($fingerprint),true); 76 | $server_pubkey = $this->gpg->export($fingerprint); 77 | $parameters += [ 78 | 'pubkey' => $server_pubkey, 79 | 'keyinfo' => $server_keyinfo, 80 | 'server_pubkey_url' => $this->url->linkToRouteAbsolute("gpgmailer.key.downloadServerKey") 81 | ]; 82 | } 83 | 84 | 85 | 86 | return new TemplateResponse($this->appName, 'settings/admin', $parameters); 87 | } 88 | 89 | /** 90 | * @return string the section ID, e.g. 'sharing' 91 | */ 92 | public function getSection() { 93 | return 'security'; 94 | } 95 | 96 | /** 97 | * @return int whether the form should be rather on the top or bottom of 98 | * the admin section. The forms are arranged in ascending order of the 99 | * priority values. It is required to return a value between 0 and 100. 100 | */ 101 | public function getPriority() { 102 | return 50; 103 | } 104 | 105 | } 106 | -------------------------------------------------------------------------------- /lib/Settings/Personal.php: -------------------------------------------------------------------------------- 1 | . 4 | * 5 | * @author Arne Hamann 6 | * @license AGPL-3.0 7 | * 8 | * This code is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU Affero General Public License, version 3, 10 | * as published by the Free Software Foundation. 11 | * 12 | * This program is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | * GNU Affero General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Affero General Public License, version 3, 18 | * along with this program. If not, see 19 | * 20 | */ 21 | 22 | namespace OCA\GpgMailer\Settings; 23 | 24 | use OCA\GpgMailer\Service\Gpg; 25 | use OCP\AppFramework\Http\TemplateResponse; 26 | use OCP\IConfig; 27 | use OCP\IDateTimeFormatter; 28 | use OCP\IL10N; 29 | use OCP\IURLGenerator; 30 | use OCP\IUserManager; 31 | use OCP\Settings\ISettings; 32 | 33 | class Personal implements ISettings { 34 | 35 | /** @var IConfig */ 36 | private $config; 37 | 38 | 39 | /** @var Gpg */ 40 | private $gpg; 41 | 42 | /** @var string */ 43 | private $appName; 44 | 45 | /** @var IUserManager */ 46 | private $userManager; 47 | 48 | /** @var string */ 49 | private $userId; 50 | 51 | /** @var IURLGenerator */ 52 | private $url; 53 | 54 | /** 55 | * Personal constructor. 56 | * 57 | * @param IConfig $config 58 | * @param IUserManager $userManager 59 | * @param Gpg $gpg 60 | * @param $userId; 61 | * @param $appName 62 | * @param IURLGenerator $url 63 | */ 64 | public function __construct(IConfig $config, 65 | Gpg $gpg, 66 | IUserManager $userManager, 67 | $userId, 68 | $appName, 69 | IURLGenerator $url 70 | ) { 71 | $this->config = $config; 72 | $this->gpg = $gpg; 73 | $this->userId = $userId; 74 | $this->userManager = $userManager; 75 | $this->appName = $appName; 76 | $this->url = $url; 77 | } 78 | 79 | /** 80 | * @return TemplateResponse 81 | */ 82 | public function getForm() { 83 | $user = $this->userManager->get($this->userId); 84 | $fingerprint = $this->gpg->getPublicKeyFromEmail($user->getEMailAddress()); 85 | $parameters = [ 86 | 'server_pubkey_url' => $this->url->linkToRouteAbsolute("gpgmailer.key.downloadServerKey"), 87 | 'post_url' => $this->url->linkToRouteAbsolute("gpgmailer.key.uploadUserKey") 88 | ]; 89 | if ($fingerprint !== '') { 90 | $server_keyinfo = print_r($this->gpg->keyinfo($fingerprint),true); 91 | $server_pubkey = $this->gpg->export($fingerprint); 92 | $parameters += [ 93 | 'pubkey' => $server_pubkey, 94 | 'keyinfo' => $server_keyinfo 95 | ]; 96 | } else { 97 | $parameters += [ 98 | 'pubkey' => '', 99 | 'keyinfo' => '' 100 | ]; 101 | } 102 | 103 | return new TemplateResponse($this->appName, 'settings/personal', $parameters); 104 | } 105 | 106 | /** 107 | * @return string the section ID, e.g. 'sharing' 108 | */ 109 | public function getSection() { 110 | return 'security'; 111 | } 112 | 113 | /** 114 | * @return int whether the form should be rather on the top or bottom of 115 | * the admin section. The forms are arranged in ascending order of the 116 | * priority values. It is required to return a value between 0 and 100. 117 | */ 118 | public function getPriority() { 119 | return 50; 120 | } 121 | 122 | } -------------------------------------------------------------------------------- /phpunit.integration.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ./tests/Integration 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ./tests/Unit 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /templates/settings/admin.php: -------------------------------------------------------------------------------- 1 | 8 | 9 |
10 |

t('Server GPG Keys')); ?>

11 | 12 | 13 | 14 | 15 |

16 |

17 | 18 | 19 | 20 | 21 | 22 |
23 | -------------------------------------------------------------------------------- /templates/settings/personal.php: -------------------------------------------------------------------------------- 1 | 8 | 9 |
10 |

t('GPG Public Keys')); ?>

11 |

t('To enable encrypted emails, you must upload your public key below.')) ?>

12 |
13 |
14 | 15 |
16 | -------------------------------------------------------------------------------- /tests/Integration/AppTest.php: -------------------------------------------------------------------------------- 1 | container = $app->getContainer(); 22 | } 23 | 24 | public function testAppInstalled() { 25 | $appManager = $this->container->query('OCP\App\IAppManager'); 26 | $this->assertTrue($appManager->isInstalled('gpgmailer')); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /tests/Unit/Controller/KeyControllerTest.php: -------------------------------------------------------------------------------- 1 | getMockBuilder('OCP\IRequest')->getMock(); 19 | $userManager = $this->getMockBuilder('OCP\IUserManager')->getMock(); 20 | $gpg = $this->getMockBuilder('OCA\GpgMailer\Service\Gpg')->getMock(); 21 | $config = $this->getMockBuilder('OCP\IConfig')->getMock(); 22 | $this->controller = new KeyController("gpgmailer",$request, $gpg, $config, $userManager, $this->userId); 23 | } 24 | 25 | public function testDownloadServerKey() { 26 | $result = $this->controller->downloadServerKey(); 27 | 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- 1 | addValidRoot(OC::$SERVERROOT . '/tests'); 11 | 12 | // Fix for "Autoload path not allowed: .../gpgmailer/tests/testcase.php" 13 | \OC_App::loadApp('gpgmailer'); 14 | 15 | if(!class_exists('PHPUnit_Framework_TestCase')) { 16 | require_once('PHPUnit/Autoload.php'); 17 | } 18 | 19 | OC_Hook::clear(); 20 | --------------------------------------------------------------------------------