summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2018-07-22 10:41:57 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2018-08-06 06:03:52 +0200
commita7865ef5aa0309976b5dd2642210632babe106d9 (patch)
tree457e0841021b4a8ca129de02674f86de1bfc50af /conf
parentc8d99bac8ef96ac94bccdf3c754e7d43b3f1703c (diff)
downloadaur-a7865ef5aa0309976b5dd2642210632babe106d9.tar.gz
aur-a7865ef5aa0309976b5dd2642210632babe106d9.tar.xz
Make the locale directory configurable
Add a new configuration option to specify the locale directory to use. This allows the Python scripts to find the translations, even when not being run from the source code checkout. At the same time, multiple parallel aurweb setups can still use different sets of translations. Fixes FS#59278. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'conf')
-rw-r--r--conf/config.defaults1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/config.defaults b/conf/config.defaults
index be37f430..c8bc3a7e 100644
--- a/conf/config.defaults
+++ b/conf/config.defaults
@@ -35,6 +35,7 @@ snapshot_uri = /cgit/aur.git/snapshot/%s.tar.gz
enable-maintenance = 1
maintenance-exceptions = 127.0.0.1
render-comment-cmd = /usr/local/bin/aurweb-rendercomment
+localedir = /srv/http/aurweb/aur.git/web/locale/
# memcache or apc
cache = none
memcache_servers = 127.0.0.1:11211