From a557904d2a1389ef05c05a38bc363227487ea834 Mon Sep 17 00:00:00 2001 From: rvelices Date: Wed, 22 Nov 2006 02:49:58 +0000 Subject: [PATCH] language cleanup (removed duplicate messages and use {lang:} instead of template->assign_var) git-svn-id: http://piwigo.org/svn/trunk@1615 68402e56-0260-453c-a942-63ccdbb3a9ee --- identification.php | 8 -------- language/en_UK.iso-8859-1/common.lang.php | 3 --- language/fr_FR.iso-8859-1/common.lang.php | 3 --- register.php | 8 -------- template/yoga/identification.tpl | 10 +++++----- template/yoga/menubar.tpl | 2 +- 6 files changed, 6 insertions(+), 28 deletions(-) diff --git a/identification.php b/identification.php index 5800e109c..7a444dd51 100644 --- a/identification.php +++ b/identification.php @@ -85,14 +85,6 @@ $template->set_filenames( array('identification'=>'identification.tpl') ); $template->assign_vars( array( - 'L_TITLE' => $lang['identification'], - 'L_USERNAME' => $lang['Username'], - 'L_PASSWORD' => $lang['password'], - 'L_LOGIN' => $lang['submit'], - 'L_GUEST' => $lang['ident_guest_visit'], - 'L_REGISTER' => $lang['ident_register'], - 'L_FORGET' => $lang['ident_forgotten_password'], - 'L_REMEMBER_ME'=>$lang['remember_me'], 'U_REGISTER' => PHPWG_ROOT_PATH.'register.php', 'U_LOST_PASSWORD' => PHPWG_ROOT_PATH.'password.php', diff --git a/language/en_UK.iso-8859-1/common.lang.php b/language/en_UK.iso-8859-1/common.lang.php index 76b565a3f..5f6430ff2 100644 --- a/language/en_UK.iso-8859-1/common.lang.php +++ b/language/en_UK.iso-8859-1/common.lang.php @@ -462,9 +462,6 @@ $lang['hint_customize'] = 'customize the appareance of the gallery'; $lang['hint_search'] = 'search'; $lang['home'] = 'Home'; $lang['home_hint'] = 'Back to the home page'; -$lang['ident_forgotten_password'] = 'Forget your password ?'; -$lang['ident_guest_visit'] = 'Go through the gallery as a visitor'; -$lang['ident_register'] = 'Register'; $lang['ident_title'] = 'ident_title'; $lang['identification'] = 'Identification'; $lang['images_available'] = 'images in this category'; diff --git a/language/fr_FR.iso-8859-1/common.lang.php b/language/fr_FR.iso-8859-1/common.lang.php index 9a6dbd467..45d9025b3 100644 --- a/language/fr_FR.iso-8859-1/common.lang.php +++ b/language/fr_FR.iso-8859-1/common.lang.php @@ -461,9 +461,6 @@ $lang['hint_customize'] = 'personnaliser l\'apparence de la galerie'; $lang['hint_search'] = 'recherche'; $lang['home'] = 'Accueil'; $lang['home_hint'] = 'Retour à la page d\'accueil'; -$lang['ident_forgotten_password'] = 'Mot de passe oublié ?'; -$lang['ident_guest_visit'] = 'Parcourir la galerie en tant que visiteur'; -$lang['ident_register'] = 'S\'enregistrer'; $lang['ident_title'] = 'Identification (FIXME)'; $lang['identification'] = 'Identification'; $lang['images_available'] = 'images dans cette catégorie'; diff --git a/register.php b/register.php index c7dc95ee9..ceca0150c 100644 --- a/register.php +++ b/register.php @@ -86,14 +86,6 @@ include(PHPWG_ROOT_PATH.'include/page_header.php'); $template->set_filenames( array('register'=>'register.tpl') ); $template->assign_vars(array( - 'L_TITLE' => $lang['register_title'], - 'L_GUEST' => $lang['ident_guest_visit'], - 'L_SUBMIT' => $lang['submit'], - 'L_USERNAME' => $lang['login'], - 'L_PASSWORD' => $lang['password'], - 'L_CONFIRM_PASSWORD' => $lang['reg_confirm'], - 'L_EMAIL' => $lang['mail_address'], - 'U_HOME' => make_index_url(), 'F_ACTION' => 'register.php', diff --git a/template/yoga/identification.tpl b/template/yoga/identification.tpl index c96427aab..1a474ad18 100644 --- a/template/yoga/identification.tpl +++ b/template/yoga/identification.tpl @@ -29,14 +29,14 @@ -

+

- {L_REGISTER} + {lang:Register} {lang:Forgot your password?}

diff --git a/template/yoga/menubar.tpl b/template/yoga/menubar.tpl index cb613ec2e..bb7bc2db2 100644 --- a/template/yoga/menubar.tpl +++ b/template/yoga/menubar.tpl @@ -73,7 +73,7 @@