Skip to content

Commit fb86ebd

Browse files
author
Alexander Smishlajev
committed
added CoreConfig options TRACKER_LANGUAGE and MAILGW_LANGUAGE
1 parent ccc11e0 commit fb86ebd

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

roundup/configuration.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Roundup Issue Tracker configuration support
22
#
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 $
44
#
55
__docformat__ = "restructuredtext"
66

@@ -460,6 +460,11 @@ class NullableFilePathOption(NullableOption, FilePathOption):
460460
"You MUST include a trailing '/' in the URL."),
461461
(MailAddressOption, "email", "issue_tracker",
462462
"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."),
463468
)),
464469
("rdbms", (
465470
(Option, 'name', 'roundup',
@@ -545,6 +550,10 @@ class NullableFilePathOption(NullableOption, FilePathOption):
545550
"if one isn't supplied in email subjects.\n"
546551
"To disable, leave the value blank.",
547552
["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."),
548557
), "Roundup Mail Gateway options"),
549558
("nosy", (
550559
(RunDetectorOption, "messages_to_author", "no",

0 commit comments

Comments
 (0)