summaryrefslogtreecommitdiffstats
path: root/web/lib/aur.inc
diff options
context:
space:
mode:
authorAthurg Gooth <athurg@gooth.cn>2010-01-08 23:23:09 +0100
committerLoui Chang <louipc.ist@gmail.com>2010-01-08 23:23:09 +0100
commit8eab9ed4625a0ee657841fd9e894065acdf6e69c (patch)
tree219527b5272fa274e627d97ea67dd142033ec4fd /web/lib/aur.inc
parent55dcf5ce87f6e3e159ef35daac5eae86b624df3f (diff)
downloadaur-8eab9ed4625a0ee657841fd9e894065acdf6e69c.tar.gz
aur-8eab9ed4625a0ee657841fd9e894065acdf6e69c.tar.xz
Make DEFAULT_LANG mean the default language for displayed messages.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/lib/aur.inc')
-rw-r--r--web/lib/aur.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/lib/aur.inc b/web/lib/aur.inc
index f9401927..821288d0 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;