Skip to content

Commit d84809d

Browse files
author
Alexander Smishlajev
committed
add web/use_browser_language option
1 parent bb29f46 commit d84809d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

roundup/configuration.py

Lines changed: 7 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.27 2005-10-07 04:42:13 richard Exp $
3+
# $Id: configuration.py,v 1.28 2005-12-03 09:31:00 a1s Exp $
44
#
55
__docformat__ = "restructuredtext"
66

@@ -474,6 +474,12 @@ class NullableFilePathOption(NullableOption, FilePathOption):
474474
"variables supplied by your web server (in that order).\n"
475475
"Set this option to 'no' if you do not wish to use HTTP Basic\n"
476476
"Authentication in your web interface."),
477+
(BooleanOption, 'use_browser_language', "yes",
478+
"Whether to use HTTP Accept-Language, if present.\n"
479+
"Browsers send a language-region preference list.\n"
480+
"It's usually set in the client's browser or in his\n"
481+
"Operating System.\n"
482+
"Set this option to 'no' if you want to ignore it."),
477483
)),
478484
("rdbms", (
479485
(Option, 'name', 'roundup',

0 commit comments

Comments
 (0)