From 8eab9ed4625a0ee657841fd9e894065acdf6e69c Mon Sep 17 00:00:00 2001 From: Athurg Gooth Date: Fri, 8 Jan 2010 17:23:09 -0500 Subject: Make DEFAULT_LANG mean the default language for displayed messages. Signed-off-by: Loui Chang --- web/lib/aur.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'web/lib/aur.inc') diff --git a/web/lib/aur.inc b/web/lib/aur.inc index f940192..821288d 100644 --- a/web/lib/aur.inc +++ b/web/lib/aur.inc @@ -295,6 +295,8 @@ function set_lang() { if ($LANG != DEFAULT_LANG ) { include_once("$LANG.po"); + } else { + include_once(DEFAULT_LANG.".po"); } return; -- cgit v1.2.3-54-g00ecf