mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Make DEFAULT_LANG mean the default language for displayed messages.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
parent
55dcf5ce87
commit
8eab9ed462
3 changed files with 13 additions and 11 deletions
|
@ -295,6 +295,8 @@ function set_lang() {
|
|||
|
||||
if ($LANG != DEFAULT_LANG ) {
|
||||
include_once("$LANG.po");
|
||||
} else {
|
||||
include_once(DEFAULT_LANG.".po");
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue