Add help messages for JMC

darcs-hash:20071030181100-86b55-b57adb4d24e741ccf44098393ffbab708c23cc2a.gz
This commit is contained in:
David Rousselie
2007-10-30 19:11:00 +01:00
parent 4065cba5b3
commit e24224c873
2 changed files with 29 additions and 3 deletions

View File

@@ -3,18 +3,18 @@
## Login : David Rousselie <dax@happycoders.org> ## Login : David Rousselie <dax@happycoders.org>
## Started on Wed Jun 27 22:08:23 2007 David Rousselie ## Started on Wed Jun 27 22:08:23 2007 David Rousselie
## $Id$ ## $Id$
## ##
## Copyright (C) 2007 David Rousselie ## Copyright (C) 2007 David Rousselie
## This program is free software; you can redistribute it and/or modify ## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by ## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or ## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version. ## (at your option) any later version.
## ##
## This program is distributed in the hope that it will be useful, ## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of ## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details. ## GNU General Public License for more details.
## ##
## You should have received a copy of the GNU General Public License ## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software ## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

View File

@@ -72,6 +72,19 @@ class Lang(jcl.lang.Lang):
send_mail_ok_subject = u"Email sent" send_mail_ok_subject = u"Email sent"
send_mail_ok_body = u"Your email was sent to %s." send_mail_ok_body = u"Your email was sent to %s."
help_message_body = u"To send an email with JMC, you have the choice" \
+ " between:\n" \
+ " - Send a message to the JMC gateway: the subject of the" \
+ " email will be the subject of the Jabber message or the " \
+ " subject specified with the following syntax in the Jabber " \
+ " message body:\n" \
+ "\tSubject: Your subject\n" \
+ " To specify email receivers, you need to add a line in the " \
+ " Jabber message body with the following syntax:\n" \
+ "\tTo: to_email@test.com\n\n" \
+ " - Add a contact to your roster, with JID to_email\%test.com@jmc.test.com"\
+ ", where to_email@test.com is the receiver's email address."
class fr(jcl.lang.Lang.fr): class fr(jcl.lang.Lang.fr):
component_name = u"Jabber Mail Component" component_name = u"Jabber Mail Component"
register_title = u"Enregistrement d'une nouvelle connexion à un " \ register_title = u"Enregistrement d'une nouvelle connexion à un " \
@@ -123,6 +136,19 @@ class Lang(jcl.lang.Lang):
send_mail_ok_subject = u"Email envoyé" send_mail_ok_subject = u"Email envoyé"
send_mail_ok_body = u"Votre email a été envoyé à %s." send_mail_ok_body = u"Votre email a été envoyé à %s."
help_message_body = u"Pour envoyer un email avec JMC, vous avez le choix " \
+ "entre :\n" \
+ " - Envoyer un message à la passerelle JMC: le sujet de l'email" \
+ " sera le sujet du message Jabber ou le sujet spécifié avec la " \
+ "syntaxe suivant dans le corps du message Jabber :\n" \
+ "\tSubject: votre sujet\n" \
+ " Pour spécifier les destinataires de l'email, il faut ajouter une" \
+ " ligne au corps du message Jabber avec la syntaxe suivante:\n" \
+ "\tTo: to_email@test.com\n\n" \
+ " - Ajouter un contact à votre roster, avec comme JID " \
+ "to_email\%test.com@jmc.test.com, où to_email@test.com est " \
+ "l'adresse du destinataire."
class nl(jcl.lang.Lang.nl): class nl(jcl.lang.Lang.nl):
# TODO: when finish, delete this line and uncomment in tests/lang.py the makeSuite(Language_nl_TestCase, 'test') line # TODO: when finish, delete this line and uncomment in tests/lang.py the makeSuite(Language_nl_TestCase, 'test') line
register_title = u"Registratie van verbindingen voor Jabber Mail" register_title = u"Registratie van verbindingen voor Jabber Mail"