From 104b4a3b87075d648b6b8d435e594f38aa5d235a Mon Sep 17 00:00:00 2001 From: Andrew Engelbrecht Date: Wed, 22 Jul 2015 09:59:55 -0400 Subject: [PATCH] language support requires the translation files this commit adds them. --- lang/an.py | 33 +++++++++++++++++++++++++++++++++ lang/de.py | 33 +++++++++++++++++++++++++++++++++ lang/el.py | 33 +++++++++++++++++++++++++++++++++ lang/en.py | 33 +++++++++++++++++++++++++++++++++ lang/en.pyc | Bin 0 -> 2280 bytes lang/fr.py | 33 +++++++++++++++++++++++++++++++++ lang/ja.py | 33 +++++++++++++++++++++++++++++++++ lang/pt_br.py | 33 +++++++++++++++++++++++++++++++++ lang/ro.py | 33 +++++++++++++++++++++++++++++++++ lang/ru.py | 33 +++++++++++++++++++++++++++++++++ lang/tr.py | 33 +++++++++++++++++++++++++++++++++ 11 files changed, 330 insertions(+) create mode 100644 lang/an.py create mode 100644 lang/de.py create mode 100644 lang/el.py create mode 100644 lang/en.py create mode 100644 lang/en.pyc create mode 100644 lang/fr.py create mode 100644 lang/ja.py create mode 100644 lang/pt_br.py create mode 100644 lang/ro.py create mode 100644 lang/ru.py create mode 100644 lang/tr.py diff --git a/lang/an.py b/lang/an.py new file mode 100644 index 0000000..bb4743c --- /dev/null +++ b/lang/an.py @@ -0,0 +1,33 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +"""********************************************************************* +* This file is part of Edward the GPG Bot. * +* * +* Edward is free software: you can redistribute it and/or modify * +* it under the terms of the GNU Affero Public License as published by * +* the Free Software Foundation, either version 3 of the License, or * +* (at your option) any later version. * +* * +* Edward is distributed in the hope that it will be useful, * +* but WITHOUT ANY WARRANTY; without even the implied warranty of * +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * +* GNU Affero Public License for more details. * +* * +* You should have received a copy of the GNU Affero Public License * +* along with Edward. If not, see . * +* * +* Josh Drake, Copyright (c) 2014 * +* Lisa Marie Maginnis, Copyright (c) 2014 * +*********************************************************************""" + +replies = { + 'success_decrypt' : "\n\n%s", + 'public_key_received' : '', + 'failed_decrypt' : "", + 'no_public_key' : "", + 'sig_failure' : '', + 'sig_success' : '', + 'signature' : '' +} + + diff --git a/lang/de.py b/lang/de.py new file mode 100644 index 0000000..a57f61b --- /dev/null +++ b/lang/de.py @@ -0,0 +1,33 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +"""********************************************************************* +* This file is part of Edward the GPG Bot. * +* * +* Edward is free software: you can redistribute it and/or modify * +* it under the terms of the GNU Affero Public License as published by * +* the Free Software Foundation, either version 3 of the License, or * +* (at your option) any later version. * +* * +* Edward is distributed in the hope that it will be useful, * +* but WITHOUT ANY WARRANTY; without even the implied warranty of * +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * +* GNU Affero Public License for more details. * +* * +* You should have received a copy of the GNU Affero Public License * +* along with Edward. If not, see . * +* * +* Josh Drake, Copyright (c) 2014 * +* Lisa Marie Maginnis, Copyright (c) 2014 * +*********************************************************************""" + +replies = { + 'success_decrypt' : "Hallo, Ich bin Edward, der freundliche GnuPG Roboter. Ich deine E-Mail empfangen und entschlüsselt. Hier ist eine Kopie deiner Nachricht:\n\n%s", + 'public_key_received' : 'Ich habe deinen öffentlicher Schlüssel erhalten. Danke.', + 'failed_decrypt' : "Tut mir leid, ich konnte deine Nachricht nicht entschlüsseln. Bist du dir sicher, dass du sie mit meinem öffentlichen Schlüssel verschlüsselt hast?", + 'no_public_key' : "Tut mir leid, Ich konnte deinen öffentlicher Schlüssel nicht finden. Hast du daran gedacht ihn an die E-Mail anzuhängen?", + 'sig_failure' : 'Deine Signatur konnte nicht verifiziert werden.', + 'sig_success' : 'Deine Signatur wurde erfolgreich verifiziert.', + 'signature' : '- Edward, der freundliche GnuPG Roboter\nnDie Free Software Foundation hat mich erstellt. Kannst du etwas spenden, um ihre Arbeit zu unterstützung? | https://www.fsf.org/donate' +} + + diff --git a/lang/el.py b/lang/el.py new file mode 100644 index 0000000..c707725 --- /dev/null +++ b/lang/el.py @@ -0,0 +1,33 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +"""********************************************************************* +* This file is part of Edward the GPG Bot. * +* * +* Edward is free software: you can redistribute it and/or modify * +* it under the terms of the GNU Affero Public License as published by * +* the Free Software Foundation, either version 3 of the License, or * +* (at your option) any later version. * +* * +* Edward is distributed in the hope that it will be useful, * +* but WITHOUT ANY WARRANTY; without even the implied warranty of * +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * +* GNU Affero Public License for more details. * +* * +* You should have received a copy of the GNU Affero Public License * +* along with Edward. If not, see . * +* * +* Josh Drake, Copyright (c) 2014 * +* Lisa Marie Maginnis, Copyright (c) 2014 * +*********************************************************************""" + +replies = { + 'success_decrypt' : "Γειά σου, είμαι ο Edward, το φιλικό ρομπότ του GnuPG. Έλαβα το μήνυμα σου και το αποκρυπτογράφησα. Δες ένα αντίγραφο του μηνύματος σου:\n\n%sx", + 'public_key_received' : 'Έλαβα το δημόσιο κλειδί σου. Ευχαριστώ.', + 'failed_decrypt' : "Λυπάμαι, δε μπόρεσα να αποκρυπτογραφήσω το μήνυμα σου. Είσαι σίγουρος/η ότι το κρυπτογράφησες με το δημόσιο κλειδί μου;", + 'no_public_key' : "Δυστυχώς δε μπόρεσα να βρώ το δημόσιο κλειδί σου. Μήπως ξέχασες να το επισυνάψεις;", + 'sig_failure' : 'Δε μπόρεσα να επαληθεύσω την υπογραφή σου.', + 'sig_success' : 'nΕπαλήθευσα την υπογραφή σου.', + 'signature' : '- Edward, το φιλικό ρομπότ του GnuPG\n\nΜε δημιούργησε η Free Software Foundation. Μπορείς να υποστηρίξεις το έργο τους με μια δωρεά; | https://www.fsf.org/donate' +} + + diff --git a/lang/en.py b/lang/en.py new file mode 100644 index 0000000..dbd8ad0 --- /dev/null +++ b/lang/en.py @@ -0,0 +1,33 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +"""********************************************************************* +* This file is part of Edward the GPG Bot. * +* * +* Edward is free software: you can redistribute it and/or modify * +* it under the terms of the GNU Affero Public License as published by * +* the Free Software Foundation, either version 3 of the License, or * +* (at your option) any later version. * +* * +* Edward is distributed in the hope that it will be useful, * +* but WITHOUT ANY WARRANTY; without even the implied warranty of * +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * +* GNU Affero Public License for more details. * +* * +* You should have received a copy of the GNU Affero Public License * +* along with Edward. If not, see . * +* * +* Josh Drake, Copyright (c) 2014 * +* Lisa Marie Maginnis, Copyright (c) 2014 * +*********************************************************************""" + +replies = { + 'success_decrypt' : "Hello, I am Edward, the friendly GnuPG bot. I received your message and decrypted it. Here's a copy of your message:\n\n%s", + 'public_key_received' : 'I received your public key. Thanks.', + 'failed_decrypt' : "I'm sorry, I was not able to decrypt your message. Are you sure you encrypted it with my public key?", + 'no_public_key' : "I'm sorry, I was not able to find your public key. Did you remember to attach it?", + 'sig_failure' : 'Your signature could not be verified.', + 'sig_success' : 'Your signature was verified.', + 'signature' : '- Edward, the friendly GnuPG bot\nThe Free Software Foundation created me.\n\nCan you donate to support their work?\nhttps://www.fsf.org/donate' +} + + diff --git a/lang/en.pyc b/lang/en.pyc new file mode 100644 index 0000000000000000000000000000000000000000..56e1a8dbad6fd7eea7f7710f959bb7909e28fd12 GIT binary patch literal 2280 zcmb_e-EP}96jqb1Y2BqAFzjv@2N;UFfoFF==tWjEQ`7u-NFC2VDBK%^7AcE}L<%Go zPtUMN*-PvZ_AYyYeU#z#j)MKfvHgFl>JAU15E2 zw2Rg_qER9(#WEFyK4->}j_HgqnBn9SK^OfCdZS&NwzVTT+DY?{>dieYBLrC;JD?HA zRO*5vrpO2`tut~~IG}dK6z^z5ndUMsYZ%@UUKNT9Q^nzg$*hm93aU4zFph=M)GubK zjOa>6LRmo!B={Md2u?G2^Nzg9xyLfBvCz4OXXd0FS2Twa-}D1*}S87 zXM@vAScY%9SKZOXvv=Md_0EPvI=>!JNd0gy>Yk3T!U6TigZ}mK45ST_9iOHRM;HH@ zeFCY4@AbR)_()SRgs+jd`I-Ew}4`RS_AEH0p+`z(W~8dLh977#p?4Y3(+ z0H;?dmnv1mZ&Qe~0)S+TdLYy~m}MPirKjs)?NiK5yvSNPSIl|HQFZ2goDeVwwTz)ZZTAQ( zv1sanVwwHwV@uD^#|Cv;>~Apm=8mdpjJDh!6d3{e=ah+dqj8GM&C|>^a98QDMV@Qi z$&dwUXrax`NyDFQTOaP&#?|3oTDXVHfR<7BntS-^4)B;xxsImOYHWm8U)#iVuzpzl hr3i#-=cRjq(JNf0MJir@iLv$nIqvW6-#gg&{0-LNRMG$d literal 0 HcmV?d00001 diff --git a/lang/fr.py b/lang/fr.py new file mode 100644 index 0000000..68ce25a --- /dev/null +++ b/lang/fr.py @@ -0,0 +1,33 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +"""********************************************************************* +* This file is part of Edward the GPG Bot. * +* * +* Edward is free software: you can redistribute it and/or modify * +* it under the terms of the GNU Affero Public License as published by * +* the Free Software Foundation, either version 3 of the License, or * +* (at your option) any later version. * +* * +* Edward is distributed in the hope that it will be useful, * +* but WITHOUT ANY WARRANTY; without even the implied warranty of * +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * +* GNU Affero Public License for more details. * +* * +* You should have received a copy of the GNU Affero Public License * +* along with Edward. If not, see . * +* * +* Josh Drake, Copyright (c) 2014 * +* Lisa Marie Maginnis, Copyright (c) 2014 * +*********************************************************************""" + +replies = { + 'success_decrypt': " Bonjour, je suis Edward, le gentil robot de GnuPG. J'ai bien reçu votre message et l'ai déchiffré. En voici une copie: \n\n%s", + 'public_key_received' : "J'ai bien reçu votre clef publique. Merci.", + 'failed_decrypt' : "Je n'ai pas été en mesure de déchiffrer votre message, désolé. L'avez-vous bien chiffré avec ma clef publique ?", + 'no_public_key' : "Je n'ai pas pu trouver votre clef publique, désolé. Avez-vous oublié de la joindre ?", + 'sig_failure' : "Votre signature n'a pas pu être vérifiée.", + 'sig_success' : 'Votre signature a été vérifiée.', + 'signature' : "- Edward, le gentil robot de GnuPGn\nLa Free Software Foundation m'a créé. Pourriez-vous faire un don pour soutenir leur travail ? | https://www.fsf.org/donate" +} + + diff --git a/lang/ja.py b/lang/ja.py new file mode 100644 index 0000000..c65c33b --- /dev/null +++ b/lang/ja.py @@ -0,0 +1,33 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +"""********************************************************************* +* This file is part of Edward the GPG Bot. * +* * +* Edward is free software: you can redistribute it and/or modify * +* it under the terms of the GNU Affero Public License as published by * +* the Free Software Foundation, either version 3 of the License, or * +* (at your option) any later version. * +* * +* Edward is distributed in the hope that it will be useful, * +* but WITHOUT ANY WARRANTY; without even the implied warranty of * +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * +* GNU Affero Public License for more details. * +* * +* You should have received a copy of the GNU Affero Public License * +* along with Edward. If not, see . * +* * +* Josh Drake, Copyright (c) 2014 * +* Lisa Marie Maginnis, Copyright (c) 2014 * +*********************************************************************""" + +replies = { + 'success_decrypt' : "こんにちは! 私はGnuPGボットのEdwardです。あなたから送られたメールの暗号を解きました。確認のため、内容を返信します:\n\n%s", + 'public_key_received' : 'あなたの公開鍵を受けとりました。', + 'failed_decrypt' : "あなたからのメッセージを解読できなくて、すみません。そちらでは暗号化のとき、私の公開鍵を使ってくださったでしょうか?", + 'no_public_key' : "ごめんなさい、あなたの公開鍵が見つからないのです。公開鍵を添付したメールを前に送ってくださいましたか?", + 'sig_failure' : 'あなたの署名を認証できませんでした。', + 'sig_success' : ' あなたの署名を確認できました。', + 'signature' : '- GnuPGボットのEdward\n\nFree Software Foundationが私を制作しました。 Free Software Foundationに寄付しませんか。| https://www.fsf.org/donate' +} + + diff --git a/lang/pt_br.py b/lang/pt_br.py new file mode 100644 index 0000000..0dec14a --- /dev/null +++ b/lang/pt_br.py @@ -0,0 +1,33 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +"""********************************************************************* +* This file is part of Edward the GPG Bot. * +* * +* Edward is free software: you can redistribute it and/or modify * +* it under the terms of the GNU Affero Public License as published by * +* the Free Software Foundation, either version 3 of the License, or * +* (at your option) any later version. * +* * +* Edward is distributed in the hope that it will be useful, * +* but WITHOUT ANY WARRANTY; without even the implied warranty of * +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * +* GNU Affero Public License for more details. * +* * +* You should have received a copy of the GNU Affero Public License * +* along with Edward. If not, see . * +* * +* Josh Drake, Copyright (c) 2014 * +* Lisa Marie Maginnis, Copyright (c) 2014 * +*********************************************************************""" + +replies = { + 'success_decrypt' : "Olá, sou Edward, o amigo robô de GnuPG. Recebi e decifrei sua mensagem. Aqui vai uma cópia da sua mensagem:\n\n%s", + 'public_key_received' : 'Recebi sua chave pública. Muito agradecido.', + 'failed_decrypt' : "Perdão, não consegui decifrar sua mensagem. Você tem certeza que a cifrou usando minha chave pública?", + 'no_public_key' : "Perdão, não consegui encontrar sua chave pública. Você se lembrou de anexá-la?", + 'sig_failure' : 'Sua assinatura não pôde ser verificada.', + 'sig_success' : 'Sua assinatura foi verificada.', + 'signature' : '- Edward, o amigo robô de GnuPG\n\nA Free Software Foundation me criou. Você pode fazer uma doação para apoiar o trabalho dela? | https://www.fsf.org/donate' +} + + diff --git a/lang/ro.py b/lang/ro.py new file mode 100644 index 0000000..3fe8deb --- /dev/null +++ b/lang/ro.py @@ -0,0 +1,33 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +"""********************************************************************* +* This file is part of Edward the GPG Bot. * +* * +* Edward is free software: you can redistribute it and/or modify * +* it under the terms of the GNU Affero Public License as published by * +* the Free Software Foundation, either version 3 of the License, or * +* (at your option) any later version. * +* * +* Edward is distributed in the hope that it will be useful, * +* but WITHOUT ANY WARRANTY; without even the implied warranty of * +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * +* GNU Affero Public License for more details. * +* * +* You should have received a copy of the GNU Affero Public License * +* along with Edward. If not, see . * +* * +* Josh Drake, Copyright (c) 2014 * +* Lisa Marie Maginnis, Copyright (c) 2014 * +*********************************************************************""" + +replies = { + 'success_decrypt' : "Bună ziua, eu sunt Edward, robotul GnuPG cel prietenos. Am primit mesajul dumneavoastră și l-am decriptat. Iată o copie a mesajului dumneavoastră:\n\n%s", + 'public_key_received' : 'Am primit cheia dumneavoastră publică. Mulțumesc.', + 'failed_decrypt' : "Îmi pare rău, dar nu am putut decripta mesajul dumneavoastră. Sunteți sigur(ă) că l-ați criptat cu cheia mea publică?", + 'no_public_key' : "Îmi pare rău, dar nu am putut găsi cheia dumneavoastră publică. V-ați amintit să o atașați?", + 'sig_failure' : 'Semnătura dumneavoastră nu a putut fi verificată.', + 'sig_success' : 'Semnătura dumneavoastră a fost verificată.', + 'signature' : '- Edward, robotul GnuPG cel prietenos.\n\nFundația pentru Software Liber m-a creat. Puteți dona ca să le susțineți munca? | https://www.fsf.org/donate' +} + + diff --git a/lang/ru.py b/lang/ru.py new file mode 100644 index 0000000..9e52b01 --- /dev/null +++ b/lang/ru.py @@ -0,0 +1,33 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +"""********************************************************************* +* This file is part of Edward the GPG Bot. * +* * +* Edward is free software: you can redistribute it and/or modify * +* it under the terms of the GNU Affero Public License as published by * +* the Free Software Foundation, either version 3 of the License, or * +* (at your option) any later version. * +* * +* Edward is distributed in the hope that it will be useful, * +* but WITHOUT ANY WARRANTY; without even the implied warranty of * +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * +* GNU Affero Public License for more details. * +* * +* You should have received a copy of the GNU Affero Public License * +* along with Edward. If not, see . * +* * +* Josh Drake, Copyright (c) 2014 * +* Lisa Marie Maginnis, Copyright (c) 2014 * +*********************************************************************""" + +replies = { + 'success_decrypt' : "Привет, я Эдвард, дружелюбный GnuPG бот. Я получил ваше сообщение и расшифровал его. Вот копия вашего сообщения:\n\n%s", + 'public_key_received' : 'Я получил ваш открытый ключ. Спасибо.', + 'failed_decrypt' : "Прошу прощения, я не смог расшифровать ваше сообщение. Вы уверены, что зашифровали его при помощи моего открытого ключа?", + 'no_public_key' : "Прошу прощения, я не смог найти ваш открытый ключ. Вы не забыли вложить его в письмо?", + 'sig_failure' : 'Мне не удалось проверить вашу подпись.', + 'sig_success' : 'Ваша подпись была успешно проверена.', + 'signature' : '- Эдвард, дружелюбный GnuPG бот\nЯ был создан Фондом свободного программного обеспечения. Вы можете сделать пожертвование в поддержку их работы? | https://www.fsf.org/donate' +} + + diff --git a/lang/tr.py b/lang/tr.py new file mode 100644 index 0000000..4f3e920 --- /dev/null +++ b/lang/tr.py @@ -0,0 +1,33 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +"""********************************************************************* +* This file is part of Edward the GPG Bot. * +* * +* Edward is free software: you can redistribute it and/or modify * +* it under the terms of the GNU Affero Public License as published by * +* the Free Software Foundation, either version 3 of the License, or * +* (at your option) any later version. * +* * +* Edward is distributed in the hope that it will be useful, * +* but WITHOUT ANY WARRANTY; without even the implied warranty of * +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * +* GNU Affero Public License for more details. * +* * +* You should have received a copy of the GNU Affero Public License * +* along with Edward. If not, see . * +* * +* Josh Drake, Copyright (c) 2014 * +* Lisa Marie Maginnis, Copyright (c) 2014 * +*********************************************************************""" + +replies = { + 'success_decrypt' : "Merhaba, Ben Edward, arkadaş canlısı GnuPG botu. Mesajınızı aldım ve şifresini çözerek düz metine çevirdim. Mesajınızın düz metin kopyası şudur:\n\n%s", + 'public_key_received' : 'Açık anahtarınızı aldım. Teşekkürler.', + 'failed_decrypt' : "Özür dilerim, mesajınızı çözmeyi ve düz metine çevirmeyi başaramadım. Benim açık anahtarımla şifrelediğinize emin misiniz?", + 'no_public_key' : "Özür dilerim, açık anahtarınızı bulamadım. E-postaya eklemeyi unutmadınız, değil mi?", + 'sig_failure' : 'İmzanız doğrulanamadı.', + 'sig_success' : 'İmzanız doğrulandı.', + 'signature' : '- Edward, arkadaş canlısı GnuPG botu\n\nÖzgür Yazılım Vakfı tarafından yaratıldım. Çalışmalarını desteklemek için bağışta bulunur musunuz? | https://www.fsf.org/donate' +} + + -- 2.25.1