mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
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
This commit is contained in:
@@ -85,14 +85,6 @@ $template->set_filenames( array('identification'=>'identification.tpl') );
|
|||||||
|
|
||||||
$template->assign_vars(
|
$template->assign_vars(
|
||||||
array(
|
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_REGISTER' => PHPWG_ROOT_PATH.'register.php',
|
||||||
'U_LOST_PASSWORD' => PHPWG_ROOT_PATH.'password.php',
|
'U_LOST_PASSWORD' => PHPWG_ROOT_PATH.'password.php',
|
||||||
|
|||||||
@@ -462,9 +462,6 @@ $lang['hint_customize'] = 'customize the appareance of the gallery';
|
|||||||
$lang['hint_search'] = 'search';
|
$lang['hint_search'] = 'search';
|
||||||
$lang['home'] = 'Home';
|
$lang['home'] = 'Home';
|
||||||
$lang['home_hint'] = 'Back to the home page';
|
$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['ident_title'] = 'ident_title';
|
||||||
$lang['identification'] = 'Identification';
|
$lang['identification'] = 'Identification';
|
||||||
$lang['images_available'] = 'images in this category';
|
$lang['images_available'] = 'images in this category';
|
||||||
|
|||||||
@@ -461,9 +461,6 @@ $lang['hint_customize'] = 'personnaliser l\'apparence de la galerie';
|
|||||||
$lang['hint_search'] = 'recherche';
|
$lang['hint_search'] = 'recherche';
|
||||||
$lang['home'] = 'Accueil';
|
$lang['home'] = 'Accueil';
|
||||||
$lang['home_hint'] = 'Retour à la page d\'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['ident_title'] = 'Identification (FIXME)';
|
||||||
$lang['identification'] = 'Identification';
|
$lang['identification'] = 'Identification';
|
||||||
$lang['images_available'] = 'images dans cette catégorie';
|
$lang['images_available'] = 'images dans cette catégorie';
|
||||||
|
|||||||
@@ -86,14 +86,6 @@ include(PHPWG_ROOT_PATH.'include/page_header.php');
|
|||||||
|
|
||||||
$template->set_filenames( array('register'=>'register.tpl') );
|
$template->set_filenames( array('register'=>'register.tpl') );
|
||||||
$template->assign_vars(array(
|
$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(),
|
'U_HOME' => make_index_url(),
|
||||||
|
|
||||||
'F_ACTION' => 'register.php',
|
'F_ACTION' => 'register.php',
|
||||||
|
|||||||
@@ -29,14 +29,14 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<span class="property">
|
<span class="property">
|
||||||
<label for="username">{L_USERNAME}</label>
|
<label for="username">{lang:Username}</label>
|
||||||
</span>
|
</span>
|
||||||
<input tabindex="1" class="login" type="text" name="username" id="username" size="25" maxlength="40" value="{USERNAME}" />
|
<input tabindex="1" class="login" type="text" name="username" id="username" size="25" maxlength="40" value="{USERNAME}" />
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<span class="property">
|
<span class="property">
|
||||||
<label for="password">{L_PASSWORD}</label>
|
<label for="password">{lang:password}</label>
|
||||||
</span>
|
</span>
|
||||||
<input tabindex="2" class="login" type="password" name="password" id="password" size="25" maxlength="25" />
|
<input tabindex="2" class="login" type="password" name="password" id="password" size="25" maxlength="25" />
|
||||||
</li>
|
</li>
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
<!-- BEGIN remember_me -->
|
<!-- BEGIN remember_me -->
|
||||||
<li>
|
<li>
|
||||||
<span class="property">
|
<span class="property">
|
||||||
<label for="remember_me">{L_REMEMBER_ME}</label>
|
<label for="remember_me">{lang:remember_me}</label>
|
||||||
</span>
|
</span>
|
||||||
<input tabindex="3" type="checkbox" name="remember_me" id="remember_me" value="1">
|
<input tabindex="3" type="checkbox" name="remember_me" id="remember_me" value="1">
|
||||||
</li>
|
</li>
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<p><input tabindex="4" type="submit" name="login" value="{L_LOGIN}"></p>
|
<p><input tabindex="4" type="submit" name="login" value="{lang:submit}"></p>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<script type="text/javascript"><!--
|
<script type="text/javascript"><!--
|
||||||
@@ -60,7 +60,7 @@ document.login_form.username.focus();
|
|||||||
//--></script>
|
//--></script>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a href="{U_REGISTER}"><img src="{themeconf:icon_dir}/register.png" class="button" alt=""> {L_REGISTER}</a>
|
<a href="{U_REGISTER}"><img src="{themeconf:icon_dir}/register.png" class="button" alt=""> {lang:Register}</a>
|
||||||
<a href="{U_LOST_PASSWORD}"><img src="{themeconf:icon_dir}/lost_password.png" class="button" alt=""> {lang:Forgot your password?}</a>
|
<a href="{U_LOST_PASSWORD}"><img src="{themeconf:icon_dir}/lost_password.png" class="button" alt=""> {lang:Forgot your password?}</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|||||||
@@ -73,7 +73,7 @@
|
|||||||
<!-- END hello -->
|
<!-- END hello -->
|
||||||
<ul>
|
<ul>
|
||||||
<!-- BEGIN register -->
|
<!-- BEGIN register -->
|
||||||
<li><a href="{U_REGISTER}" rel="nofollow">{lang:ident_register}</a></li>
|
<li><a href="{U_REGISTER}" rel="nofollow">{lang:Register}</a></li>
|
||||||
<!-- END register -->
|
<!-- END register -->
|
||||||
<!-- BEGIN login -->
|
<!-- BEGIN login -->
|
||||||
<li><a href="{F_IDENTIFY}" rel="nofollow">{lang:Connection}</a></li>
|
<li><a href="{F_IDENTIFY}" rel="nofollow">{lang:Connection}</a></li>
|
||||||
|
|||||||
Reference in New Issue
Block a user