some language cleanup
git-svn-id: http://piwigo.org/svn/trunk@1620 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
47580bcdb9
commit
636e77b04c
8 changed files with 80 additions and 127 deletions
|
@ -457,16 +457,12 @@ $template->assign_vars(
|
|||
array(
|
||||
'L_AUTH_USER'=>$lang['permuser_only_private'],
|
||||
'L_GROUP_ADD_USER' => $lang['group_add_user'],
|
||||
'L_SUBMIT'=>$lang['submit'],
|
||||
'L_STATUS'=>$lang['user_status'],
|
||||
'L_PASSWORD' => $lang['password'],
|
||||
'L_EMAIL' => $lang['mail_address'],
|
||||
'L_ORDER_BY' => $lang['order_by'],
|
||||
'L_ACTIONS' => $lang['actions'],
|
||||
'L_PROPERTIES' => $lang['properties'],
|
||||
'L_PERMISSIONS' => $lang['permissions'],
|
||||
'L_USERS_LIST' => $lang['title_liste_users'],
|
||||
'L_LANGUAGE' => $lang['language'],
|
||||
'L_NB_IMAGE_LINE' => $lang['nb_image_per_row'],
|
||||
'L_NB_LINE_PAGE' => $lang['nb_row_per_page'],
|
||||
'L_TEMPLATE' => $lang['theme'],
|
||||
|
@ -475,10 +471,6 @@ $template->assign_vars(
|
|||
'L_SHOW_NB_COMMENTS' => $lang['show_nb_comments'],
|
||||
'L_MAXWIDTH' => $lang['maxwidth'],
|
||||
'L_MAXHEIGHT' => $lang['maxheight'],
|
||||
'L_YES' => $lang['yes'],
|
||||
'L_NO' => $lang['no'],
|
||||
'L_SUBMIT' => $lang['submit'],
|
||||
'L_RESET' => $lang['reset'],
|
||||
'L_DELETE' => $lang['user_delete'],
|
||||
'L_DELETE_HINT' => $lang['user_delete_hint'],
|
||||
|
||||
|
|
|
@ -420,14 +420,12 @@ $lang['comments'] = 'Comments';
|
|||
$lang['comments_add'] = 'Add a comment';
|
||||
$lang['comments_del'] = 'delete this comment';
|
||||
$lang['comments_title'] = 'Comments from the users of the site';
|
||||
$lang['confirm_password_hint'] = 'You only have to confirm your new password if you wish to change it.';
|
||||
$lang['created after %s (%s)'] = 'created after %s (%s)';
|
||||
$lang['created before %s (%s)'] = 'created before %s (%s)';
|
||||
$lang['created between %s (%s) and %s (%s)'] = 'created between %s (%s) and %s (%s)';
|
||||
$lang['created on %s'] = 'created on %s';
|
||||
$lang['customize'] = 'Customize';
|
||||
$lang['customize_page_title'] = 'Your Gallery Customization ';
|
||||
$lang['customize_title'] = 'Customization';
|
||||
$lang['day'][0] = 'Sunday';
|
||||
$lang['day'][1] = 'Monday';
|
||||
$lang['day'][2] = 'Tuesday';
|
||||
|
@ -501,7 +499,6 @@ $lang['nb_line_page_error'] = 'The number of rows per page must be a not null sc
|
|||
$lang['nb_row_per_page'] = 'Number of rows per page';
|
||||
$lang['nbm_unknown_identifier'] = 'Unknown identifier';
|
||||
$lang['new_password'] = 'New password';
|
||||
$lang['new_password_hint'] = 'You only have to give a password if you wish to change it.';
|
||||
$lang['new_rate'] = 'Rate this picture';
|
||||
$lang['next_page'] = 'Next';
|
||||
$lang['no'] = 'No';
|
||||
|
@ -510,8 +507,6 @@ $lang['no_rate'] = 'no rate';
|
|||
$lang['notification'] = 'notification';
|
||||
$lang['only_members'] = 'Only members can access this page';
|
||||
$lang['password updated'] = 'password updated';
|
||||
$lang['password'] = 'Password';
|
||||
$lang['password_hint'] = 'You only have to give your password if you wish to change your e-mail';
|
||||
$lang['periods_error'] = 'Recent period must be a positive integer value';
|
||||
$lang['picture'] = 'picture';
|
||||
$lang['picture_high'] = 'Click on the picture to see it in high definition';
|
||||
|
@ -529,7 +524,6 @@ $lang['recent_period'] = 'Recent period';
|
|||
$lang['recent_pics_cat'] = 'Last pictures';
|
||||
$lang['recent_pics_cat_hint'] = 'displays most recent pictures';
|
||||
$lang['redirect_msg'] = 'Redirection...';
|
||||
$lang['reg_confirm'] = 'Confirm password';
|
||||
$lang['reg_err_login1'] = 'Please, enter a login';
|
||||
$lang['reg_err_login2'] = 'login mustn\'t end with a space character';
|
||||
$lang['reg_err_login3'] = 'login mustn\'t start with a space character';
|
||||
|
|
|
@ -419,14 +419,12 @@ $lang['comments'] = 'Commentaires';
|
|||
$lang['comments_add'] = 'Ajouter un commentaire';
|
||||
$lang['comments_del'] = 'Supprimer ce commentaire';
|
||||
$lang['comments_title'] = 'Commentaires des utilisateurs';
|
||||
$lang['confirm_password_hint'] = 'Vous n\'avez à confirmer votre mot de passe que si vous désirez en changer.';
|
||||
$lang['created after %s (%s)'] = 'créée après le %s (%s)';
|
||||
$lang['created before %s (%s)'] = 'créée avant le %s (%s)';
|
||||
$lang['created between %s (%s) and %s (%s)'] = 'créée entre le %s (%s) et le %s (%s)';
|
||||
$lang['created on %s'] = 'créée le %s';
|
||||
$lang['customize'] = 'Personnaliser';
|
||||
$lang['customize_page_title'] = 'Personnalisation de votre affichage ';
|
||||
$lang['customize_title'] = 'Personnaliser';
|
||||
$lang['day'][0] = 'Dimanche';
|
||||
$lang['day'][1] = 'Lundi';
|
||||
$lang['day'][2] = 'Mardi';
|
||||
|
@ -500,7 +498,6 @@ $lang['nb_line_page_error'] = 'Le nombre de lignes par page doit
|
|||
$lang['nb_row_per_page'] = 'Nombre de lignes par page';
|
||||
$lang['nbm_unknown_identifier'] = 'Identifiants inconnus';
|
||||
$lang['new_password'] = 'Nouveau mot de passe';
|
||||
$lang['new_password_hint'] = 'Vous n\'avez à confirmer votre mot de passe que si vous désirez en changer.';
|
||||
$lang['new_rate'] = 'Votez pour cette image';
|
||||
$lang['next_page'] = 'Suivant';
|
||||
$lang['no'] = 'Non';
|
||||
|
@ -509,8 +506,6 @@ $lang['no_rate'] = 'pas de note';
|
|||
$lang['notification'] = 'notification';
|
||||
$lang['only_members'] = 'Seuls les membres enregistrés peuvent accéder à cette page';
|
||||
$lang['password updated'] = 'mot de passe mis à jour';
|
||||
$lang['password'] = 'Mot de passe';
|
||||
$lang['password_hint'] = 'Vous n\'avez à donner votre mot de passe que si vous désirez en changer.';
|
||||
$lang['periods_error'] = 'La période de nouveauté doit être un entier positif';
|
||||
$lang['picture'] = 'image';
|
||||
$lang['picture_high'] = 'Cliquer sur l\'image pour la visualiser en haute définition';
|
||||
|
@ -528,7 +523,6 @@ $lang['recent_period'] = 'P
|
|||
$lang['recent_pics_cat'] = 'Dernières images';
|
||||
$lang['recent_pics_cat_hint'] = 'afficher les images les plus récentes';
|
||||
$lang['redirect_msg'] = 'Redirection...';
|
||||
$lang['reg_confirm'] = 'Confirmer le mot de passe';
|
||||
$lang['reg_err_login1'] = 'S\'il vous plaît, entrer un nom utilisateur';
|
||||
$lang['reg_err_login2'] = 'le nom utilisateur ne doit pas se terminer par un espace';
|
||||
$lang['reg_err_login3'] = 'le nom utilisateur ne doit pas commencer par un espace';
|
||||
|
|
27
profile.php
27
profile.php
|
@ -193,33 +193,6 @@ $template->assign_vars(
|
|||
$expand=>'checked="checked"',
|
||||
$nb_comments=>'checked="checked"',
|
||||
|
||||
'L_TITLE' => $lang['customize_title'],
|
||||
'L_REGISTRATION_INFO' => $lang['register_title'],
|
||||
'L_PREFERENCES' => $lang['preferences'],
|
||||
'L_USERNAME' => $lang['Username'],
|
||||
'L_EMAIL' => $lang['mail_address'],
|
||||
'L_CURRENT_PASSWORD' => $lang['password'],
|
||||
'L_CURRENT_PASSWORD_HINT' => $lang['password_hint'],
|
||||
'L_NEW_PASSWORD' => $lang['new_password'],
|
||||
'L_NEW_PASSWORD_HINT' => $lang['new_password_hint'],
|
||||
'L_CONFIRM_PASSWORD' => $lang['reg_confirm'],
|
||||
'L_CONFIRM_PASSWORD_HINT' => $lang['confirm_password_hint'],
|
||||
'L_LANG_SELECT'=>$lang['language'],
|
||||
'L_NB_IMAGE_LINE'=>$lang['nb_image_per_row'],
|
||||
'L_NB_ROW_PAGE'=>$lang['nb_row_per_page'],
|
||||
'L_STYLE_SELECT'=>$lang['theme'],
|
||||
'L_RECENT_PERIOD'=>$lang['recent_period'],
|
||||
'L_EXPAND_TREE'=>$lang['auto_expand'],
|
||||
'L_NB_COMMENTS'=>$lang['show_nb_comments'],
|
||||
'L_MAXWIDTH'=>$lang['maxwidth'],
|
||||
'L_MAXHEIGHT'=>$lang['maxheight'],
|
||||
'L_YES'=>$lang['yes'],
|
||||
'L_NO'=>$lang['no'],
|
||||
'L_SUBMIT'=>$lang['submit'],
|
||||
'L_RESET'=>$lang['reset'],
|
||||
'L_RETURN' => $lang['home'],
|
||||
'L_RETURN_HINT' => $lang['home_hint'],
|
||||
|
||||
'U_RETURN' => make_index_url(),
|
||||
|
||||
'F_ACTION'=>$url_action,
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
<fieldset>
|
||||
<legend>{lang:Add a user}</legend>
|
||||
<label>{lang:Username} <input type="text" name="login" maxlength="50" size="20" /></label>
|
||||
<label>{L_PASSWORD} <input type="text" name="password" /></label>
|
||||
<input type="submit" name="submit_add" value="{L_SUBMIT}" {TAG_INPUT_ENABLED} />
|
||||
<label>{lang:Password} <input type="text" name="password" /></label>
|
||||
<input type="submit" name="submit_add" value="{lang:submit}" {TAG_INPUT_ENABLED} />
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
|
@ -57,7 +57,7 @@
|
|||
</select>
|
||||
</label>
|
||||
|
||||
<input type="submit" name="submit_filter" value="{L_SUBMIT}" {TAG_INPUT_ENABLED}/>
|
||||
<input type="submit" name="submit_filter" value="{lang:submit}" {TAG_INPUT_ENABLED}/>
|
||||
|
||||
</fieldset>
|
||||
|
||||
|
@ -70,7 +70,7 @@
|
|||
<th> </th>
|
||||
<th>{lang:Username}</th>
|
||||
<th>{L_STATUS}</th>
|
||||
<th>{L_EMAIL}</th>
|
||||
<th>{lang:Email address}</th>
|
||||
<th>{lang:Groups}</th>
|
||||
<th>{L_PROPERTIES}</th>
|
||||
<th>{L_ACTIONS}</th>
|
||||
|
@ -122,8 +122,8 @@
|
|||
<td>
|
||||
<label><input type="radio" name="adviser" value="leave" checked="checked" /> {lang:leave}</label>
|
||||
/ {lang:set to}
|
||||
<label><input type="radio" name="adviser" value="true" {ADVISER_YES} />{L_YES}</label>
|
||||
<label><input type="radio" name="adviser" value="false" {ADVISER_NO} />{L_NO}</label>
|
||||
<label><input type="radio" name="adviser" value="true" {ADVISER_YES} />{lang:yes}</label>
|
||||
<label><input type="radio" name="adviser" value="false" {ADVISER_NO} />{lang:no}</label>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- END adviser -->
|
||||
|
@ -174,8 +174,8 @@
|
|||
<td>
|
||||
<label><input type="radio" name="enabled_high" value="leave" checked="checked" /> {lang:leave}</label>
|
||||
/ {lang:set to}
|
||||
<label><input type="radio" name="enabled_high" value="true" {ENABLED_HIGH_YES} />{L_YES}</label>
|
||||
<label><input type="radio" name="enabled_high" value="false" {ENABLED_HIGH_NO} />{L_NO}</label>
|
||||
<label><input type="radio" name="enabled_high" value="true" {ENABLED_HIGH_YES} />{lang:yes}</label>
|
||||
<label><input type="radio" name="enabled_high" value="false" {ENABLED_HIGH_NO} />{lang:no}</label>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
@ -223,7 +223,7 @@
|
|||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{L_LANGUAGE}</td>
|
||||
<td>{lang:language}</td>
|
||||
<td>
|
||||
<label><input type="radio" name="language_action" value="leave" checked="checked" /> {lang:leave}</label>
|
||||
<label><input type="radio" name="language_action" value="set" id="language_action_set" /> {lang:set to}</label>
|
||||
|
@ -250,8 +250,8 @@
|
|||
<td>
|
||||
<label><input type="radio" name="expand" value="leave" checked="checked" /> {lang:leave}</label>
|
||||
/ {lang:set to}
|
||||
<label><input type="radio" name="expand" value="true" {EXPAND_YES} />{L_YES}</label>
|
||||
<label><input type="radio" name="expand" value="false" {EXPAND_NO} />{L_NO}</label>
|
||||
<label><input type="radio" name="expand" value="true" {EXPAND_YES} />{lang:yes}</label>
|
||||
<label><input type="radio" name="expand" value="false" {EXPAND_NO} />{lang:no}</label>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
@ -260,8 +260,8 @@
|
|||
<td>
|
||||
<label><input type="radio" name="show_nb_comments" value="leave" checked="checked" /> {lang:leave}</label>
|
||||
/ {lang:set to}
|
||||
<label><input type="radio" name="show_nb_comments" value="true" {SHOW_NB_COMMENTS_YES} />{L_YES}</label>
|
||||
<label><input type="radio" name="show_nb_comments" value="false" {SHOW_NB_COMMENTS_NO} />{L_NO}</label>
|
||||
<label><input type="radio" name="show_nb_comments" value="true" {SHOW_NB_COMMENTS_YES} />{lang:yes}</label>
|
||||
<label><input type="radio" name="show_nb_comments" value="false" {SHOW_NB_COMMENTS_NO} />{lang:no}</label>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
@ -300,8 +300,8 @@
|
|||
</p>
|
||||
|
||||
<p>
|
||||
<input type="submit" value="{L_SUBMIT}" name="pref_submit" {TAG_INPUT_ENABLED} />
|
||||
<input type="reset" value="{L_RESET}" name="pref_reset" />
|
||||
<input type="submit" value="{lang:submit}" name="pref_submit" {TAG_INPUT_ENABLED} />
|
||||
<input type="reset" value="{lang:reset}" name="pref_reset" />
|
||||
</p>
|
||||
|
||||
</form>
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="password">{lang:password}</label>
|
||||
<label for="password">{lang:Password}</label>
|
||||
</span>
|
||||
<input tabindex="2" class="login" type="password" name="password" id="password" size="25" maxlength="25" />
|
||||
</li>
|
||||
|
|
|
@ -99,7 +99,7 @@
|
|||
</label>
|
||||
|
||||
<label>
|
||||
{lang:password}
|
||||
{lang:Password}
|
||||
<input type="password" name="password" size="15">
|
||||
</label>
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<form method="post" name="profile" action="{F_ACTION}" id="profile" class="properties">
|
||||
|
||||
<fieldset>
|
||||
<legend>{L_REGISTRATION_INFO}</legend>
|
||||
<legend>{lang:register_title}</legend>
|
||||
<input type="hidden" name="userid" value="{USERID}" />
|
||||
<ul>
|
||||
<li>
|
||||
|
@ -35,19 +35,19 @@
|
|||
</li>
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="password">{L_CURRENT_PASSWORD}</label>
|
||||
<label for="password">{lang:Password}</label>
|
||||
</span>
|
||||
<input type="password" name="password" id="password" value="">
|
||||
</li>
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="use_new_pwd">{L_NEW_PASSWORD}</label>
|
||||
<label for="use_new_pwd">{lang:new_password}</label>
|
||||
</span>
|
||||
<input type="password" name="use_new_pwd" id="use_new_pwd" value="">
|
||||
</li>
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="passwordConf">{L_CONFIRM_PASSWORD}</label>
|
||||
<label for="passwordConf">{lang:Confirm Password}</label>
|
||||
</span>
|
||||
<input type="password" name="passwordConf" id="passwordConf" value="">
|
||||
</li>
|
||||
|
@ -55,24 +55,24 @@
|
|||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>{L_PREFERENCES}</legend>
|
||||
<legend>{lang:preferences}</legend>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="nb_image_line">{L_NB_IMAGE_LINE}</label>
|
||||
<label for="nb_image_line">{lang:nb_image_per_row}</label>
|
||||
</span>
|
||||
<input type="text" size="3" maxlength="2" name="nb_image_line" id="nb_image_line" value="{NB_IMAGE_LINE}">
|
||||
</li>
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="nb_line_page">{L_NB_ROW_PAGE}</label>
|
||||
<label for="nb_line_page">{lang:nb_row_per_page}</label>
|
||||
</span>
|
||||
<input type="text" size="3" maxlength="2" name="nb_line_page" id="nb_line_page" value="{NB_ROW_PAGE}" >
|
||||
</li>
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="template">{L_STYLE_SELECT}</label>
|
||||
<label for="template">{lang:theme}</label>
|
||||
</span>
|
||||
<select name="template" id="template">
|
||||
<!-- BEGIN template_option -->
|
||||
|
@ -82,7 +82,7 @@
|
|||
</li>
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="language">{L_LANG_SELECT}</label>
|
||||
<label for="language">{lang:language}</label>
|
||||
</span>
|
||||
<select name="language" id="language">
|
||||
<!-- BEGIN language_option -->
|
||||
|
@ -92,29 +92,29 @@
|
|||
</li>
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="recent_period">{L_RECENT_PERIOD}</label>
|
||||
<label for="recent_period">{lang:recent_period}</label>
|
||||
</span>
|
||||
<input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{RECENT_PERIOD}">
|
||||
</li>
|
||||
<li>
|
||||
<span class="property">{L_EXPAND_TREE}</span>
|
||||
<label><input type="radio" name="expand" value="true" {EXPAND_TREE_YES}> {L_YES}</label>
|
||||
<label><input type="radio" name="expand" value="false" {EXPAND_TREE_NO}> {L_NO}</label>
|
||||
<span class="property">{lang:auto_expand}</span>
|
||||
<label><input type="radio" name="expand" value="true" {EXPAND_TREE_YES}> {lang:yes}</label>
|
||||
<label><input type="radio" name="expand" value="false" {EXPAND_TREE_NO}> {lang:no}</label>
|
||||
</li>
|
||||
<li>
|
||||
<span class="property">{L_NB_COMMENTS}</span>
|
||||
<label><input type="radio" name="show_nb_comments" value="true" {NB_COMMENTS_YES}> {L_YES}</label>
|
||||
<label><input type="radio" name="show_nb_comments" value="false" {NB_COMMENTS_NO}> {L_NO}</label>
|
||||
<span class="property">{lang:show_nb_comments}</span>
|
||||
<label><input type="radio" name="show_nb_comments" value="true" {NB_COMMENTS_YES}> {lang:yes}</label>
|
||||
<label><input type="radio" name="show_nb_comments" value="false" {NB_COMMENTS_NO}> {lang:no}</label>
|
||||
</li>
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="maxwidth">{L_MAXWIDTH}</label>
|
||||
<label for="maxwidth">{lang:maxwidth}</label>
|
||||
</span>
|
||||
<input type="text" size="4" maxlength="4" name="maxwidth" id="maxwidth" value="{MAXWIDTH}">
|
||||
</li>
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="maxheight">{L_MAXHEIGHT}</label>
|
||||
<label for="maxheight">{lang:maxheight}</label>
|
||||
</span>
|
||||
<input type="text" size="4" maxlength="4" name="maxheight" id="maxheight" value="{MAXHEIGHT}">
|
||||
</li>
|
||||
|
@ -122,8 +122,8 @@
|
|||
</fieldset>
|
||||
|
||||
<p class="bottomButtons">
|
||||
<input type="submit" name="validate" value="{L_SUBMIT}">
|
||||
<input type="reset" name="reset" value="{L_RESET}" class="reset">
|
||||
<input type="submit" name="validate" value="{lang:submit}">
|
||||
<input type="reset" name="reset" value="{lang:reset}" class="reset">
|
||||
</p>
|
||||
|
||||
</form>
|
||||
|
|
Loading…
Reference in a new issue