diff options
author | Loui Chang <louipc.ist@gmail.com> | 2008-12-21 08:23:43 +0100 |
---|---|---|
committer | Callan Barrett <wizzomafizzo@gmail.com> | 2008-12-21 10:03:27 +0100 |
commit | 78c2b5c67faec190985c3fb9509e942add4dc54c (patch) | |
tree | 8de400422c50db32e530883bc954919c66b4c05c /web/lib/pkgfuncs.inc | |
parent | cfeb080dcd7f593cf70a7d12ef873c95c95ae40f (diff) | |
download | aur-78c2b5c67faec190985c3fb9509e942add4dc54c.tar.gz aur-78c2b5c67faec190985c3fb9509e942add4dc54c.tar.xz |
Introduce function include_lang for translations.
This includes only the requested language for each page and
makes top level language include files obsolete.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/lib/pkgfuncs.inc')
-rw-r--r-- | web/lib/pkgfuncs.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index ca054dbc..dfda0e88 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkgfuncs.inc @@ -1,5 +1,5 @@ <?php -include_once("pkgfuncs_po.inc"); +include_lang('pkgfuncs_po.inc'); include_once("config.inc"); # define variables used during pkgsearch |