From 2ee327634831ec36df5fd74ccc35dfcedfdbe07b Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Mon, 19 Jan 2009 16:29:45 -0500 Subject: Use new conglomerated translation files. Signed-off-by: Loui Chang --- web/html/account.php | 4 +--- web/html/addvote.php | 1 - web/html/index.php | 2 -- web/html/packages.php | 1 - web/html/pkgedit.php | 1 - web/html/pkgsubmit.php | 1 - web/html/tu.php | 1 - web/lib/acctfuncs.inc | 1 - web/lib/aur.inc | 10 ++++++---- web/lib/pkgfuncs.inc | 1 - web/lib/translator.inc | 4 +++- web/template/template.phps | 1 - 12 files changed, 10 insertions(+), 18 deletions(-) diff --git a/web/html/account.php b/web/html/account.php index d0273ddb..c07d2f99 100644 --- a/web/html/account.php +++ b/web/html/account.php @@ -4,12 +4,10 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../lib'); include('aur.inc'); # access AUR common functions include_once('acctfuncs.inc'); # access Account specific functions + set_lang(); # this sets up the visitor's language check_sid(); # see if they're still logged in -include_lang('pkgfuncs_po.inc'); # Add to handle the i18n of My Packages -include_lang('account_po.inc'); # use some form of this for i18n support - html_header(__('Accounts')); # Main page processing here diff --git a/web/html/addvote.php b/web/html/addvote.php index 5c1ff334..1f41c92e 100644 --- a/web/html/addvote.php +++ b/web/html/addvote.php @@ -3,7 +3,6 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../lib'); include("aur.inc"); -include_lang('tu_po.inc'); set_lang(); check_sid(); html_header(); diff --git a/web/html/index.php b/web/html/index.php index 5511d7e0..87158b9c 100644 --- a/web/html/index.php +++ b/web/html/index.php @@ -7,8 +7,6 @@ set_lang(); check_sid(); include('stats.inc'); -include_lang('index_po.inc'); -include_lang('pkgfuncs_po.inc'); html_header( __("Home") ); diff --git a/web/html/packages.php b/web/html/packages.php index 9805ee2b..4e52fa0c 100644 --- a/web/html/packages.php +++ b/web/html/packages.php @@ -5,7 +5,6 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../lib'); include("aur.inc"); # access AUR common functions set_lang(); # this sets up the visitor's language include('pkgfuncs.inc'); # package specific functions -include_lang('search_po.inc'); # use some form of this for i18n support check_sid(); # see if they're still logged in # Set the title to the current query if required diff --git a/web/html/pkgedit.php b/web/html/pkgedit.php index 1b490c55..e73899a7 100644 --- a/web/html/pkgedit.php +++ b/web/html/pkgedit.php @@ -4,7 +4,6 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../lib'); include("aur.inc"); # access AUR common functions include("pkgfuncs.inc"); # use some form of this for i18n support -include_lang("pkgedit_po.inc"); # i18n translations for this script set_lang(); # this sets up the visitor's language check_sid(); # see if they're still logged in html_header(); # print out the HTML header diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php index 91512532..9e74f5fa 100644 --- a/web/html/pkgsubmit.php +++ b/web/html/pkgsubmit.php @@ -9,7 +9,6 @@ require('Find.php'); include("aur.inc"); # access AUR common functions include("pkgfuncs.inc"); # package functions -include_lang('submit_po.inc'); # use some form of this for i18n support set_lang(); # this sets up the visitor's language check_sid(); # see if they're still logged in diff --git a/web/html/tu.php b/web/html/tu.php index 2d1eaf3a..67addfb8 100644 --- a/web/html/tu.php +++ b/web/html/tu.php @@ -3,7 +3,6 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../lib'); include("aur.inc"); -include_lang('tu_po.inc'); set_lang(); check_sid(); html_header(); diff --git a/web/lib/acctfuncs.inc b/web/lib/acctfuncs.inc index e8e03cd0..1c15af0c 100644 --- a/web/lib/acctfuncs.inc +++ b/web/lib/acctfuncs.inc @@ -1,5 +1,4 @@