comparison roundup/configuration.py @ 2922:9d2c5d7c6f85

added CoreConfig options TRACKER_LANGUAGE and MAILGW_LANGUAGE
author Alexander Smishlajev <a1s@users.sourceforge.net>
date Thu, 18 Nov 2004 14:02:25 +0000
parents a8808157f892
children 519b92df37dc 406862712b7d
comparison
equal deleted inserted replaced
2921:ad4fb8a14a97 2922:9d2c5d7c6f85
1 # Roundup Issue Tracker configuration support 1 # Roundup Issue Tracker configuration support
2 # 2 #
3 # $Id: configuration.py,v 1.22 2004-11-12 04:07:03 richard Exp $ 3 # $Id: configuration.py,v 1.23 2004-11-18 14:02:25 a1s Exp $
4 # 4 #
5 __docformat__ = "restructuredtext" 5 __docformat__ = "restructuredtext"
6 6
7 import getopt 7 import getopt
8 import imp 8 import imp
458 "The URL MUST include the cgi-bin part or anything else\n" 458 "The URL MUST include the cgi-bin part or anything else\n"
459 "that is required to get to the home page of the tracker.\n" 459 "that is required to get to the home page of the tracker.\n"
460 "You MUST include a trailing '/' in the URL."), 460 "You MUST include a trailing '/' in the URL."),
461 (MailAddressOption, "email", "issue_tracker", 461 (MailAddressOption, "email", "issue_tracker",
462 "Email address that mail to roundup should go to."), 462 "Email address that mail to roundup should go to."),
463 (NullableOption, "language", "",
464 "Default locale name for this tracker.\n"
465 "If this option is not set, the language is determined\n"
466 "by OS environment variable LANGUAGE, LC_ALL, LC_MESSAGES,\n"
467 "or LANG, in that order of preference."),
463 )), 468 )),
464 ("rdbms", ( 469 ("rdbms", (
465 (Option, 'name', 'roundup', 470 (Option, 'name', 'roundup',
466 "Name of the database to use.", 471 "Name of the database to use.",
467 ['MYSQL_DBNAME']), 472 ['MYSQL_DBNAME']),
543 (Option, "default_class", "issue", 548 (Option, "default_class", "issue",
544 "Default class to use in the mailgw\n" 549 "Default class to use in the mailgw\n"
545 "if one isn't supplied in email subjects.\n" 550 "if one isn't supplied in email subjects.\n"
546 "To disable, leave the value blank.", 551 "To disable, leave the value blank.",
547 ["MAIL_DEFAULT_CLASS"]), 552 ["MAIL_DEFAULT_CLASS"]),
553 (NullableOption, "language", "",
554 "Default locale name for the tracker mail gateway.\n"
555 "If this option is not set, mail gateway will use\n"
556 "the language of the tracker instance."),
548 ), "Roundup Mail Gateway options"), 557 ), "Roundup Mail Gateway options"),
549 ("nosy", ( 558 ("nosy", (
550 (RunDetectorOption, "messages_to_author", "no", 559 (RunDetectorOption, "messages_to_author", "no",
551 "Send nosy messages to the author of the message.", 560 "Send nosy messages to the author of the message.",
552 ["MESSAGES_TO_AUTHOR"]), 561 ["MESSAGES_TO_AUTHOR"]),

Roundup Issue Tracker: http://roundup-tracker.org/