From adc90e72b681d2c63d86f23161fabac456ba983a Mon Sep 17 00:00:00 2001 From: rvelices Date: Wed, 30 Nov 2011 20:51:20 +0000 Subject: [PATCH] bug 2515: a few icons are not in CSS sprite (comment actions use text links now) git-svn-id: http://piwigo.org/svn/trunk@12676 68402e56-0260-453c-a942-63ccdbb3a9ee --- language/en_UK/admin.lang.php | 1 - language/en_UK/common.lang.php | 1 + language/fr_FR/admin.lang.php | 1 - language/fr_FR/common.lang.php | 1 + themes/default/template/comment_list.tpl | 22 +++++++++++----------- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/language/en_UK/admin.lang.php b/language/en_UK/admin.lang.php index defe121f4..dff57c220 100644 --- a/language/en_UK/admin.lang.php +++ b/language/en_UK/admin.lang.php @@ -277,7 +277,6 @@ $lang['Edit photo information'] = "Edit photo information"; $lang['Edit ranks'] = "Edit ranks"; $lang['Edit selected tags'] = "Edit selected tags"; $lang['Edit tags'] = "Edit tags"; -$lang['Edit'] = 'Edit'; $lang['Element type'] = "Element type"; $lang['Element'] = "Element"; $lang['Email administrators when a comment is deleted'] = "Email administrators when a comment is deleted"; diff --git a/language/en_UK/common.lang.php b/language/en_UK/common.lang.php index d86f0a6dd..0ffab7bde 100644 --- a/language/en_UK/common.lang.php +++ b/language/en_UK/common.lang.php @@ -160,6 +160,7 @@ $lang['Each listed rule must be satisfied.'] = "Each listed criterion must be sa $lang['Edit a comment'] = "Edit a comment"; $lang['edit this comment'] = "edit this comment"; $lang['edit'] = "edit"; +$lang['Edit'] = 'Edit'; $lang['Email address is missing. Please specify an email address.'] = "Email address is missing. Please specify an email address."; $lang['Email address'] = "Email address"; $lang['Email: %s'] = "Email: %s"; diff --git a/language/fr_FR/admin.lang.php b/language/fr_FR/admin.lang.php index feb724a02..3c6bd0f11 100644 --- a/language/fr_FR/admin.lang.php +++ b/language/fr_FR/admin.lang.php @@ -860,6 +860,5 @@ $lang['Predefined filter'] = 'Filtre prédéfini'; $lang['Add tags'] = "Ajouter les tags"; $lang['Synchronize metadata'] = "Synchroniser les méta-données"; $lang['Add to caddie'] = 'Ajouter au panier'; -$lang['Edit'] = 'Editer'; $lang['Zoom'] = 'Zoom'; ?> \ No newline at end of file diff --git a/language/fr_FR/common.lang.php b/language/fr_FR/common.lang.php index 96f5327b2..d0206d7ef 100644 --- a/language/fr_FR/common.lang.php +++ b/language/fr_FR/common.lang.php @@ -160,6 +160,7 @@ $lang['Each listed rule must be satisfied.'] = 'Chaque critère doit être satis $lang['Edit a comment'] = "Éditer un commentaire"; $lang['edit this comment'] = "éditer ce commentaire"; $lang['edit'] = 'éditer'; +$lang['Edit'] = 'Editer'; $lang['Email address is missing. Please specify an email address.'] = "L'adresse email manque. Veuillez spécifier une adresse email."; $lang['Email address'] = 'Adresse e-mail'; $lang['Email: %s'] = 'Email : %s'; diff --git a/themes/default/template/comment_list.tpl b/themes/default/template/comment_list.tpl index 852153897..2ff4d03e8 100644 --- a/themes/default/template/comment_list.tpl +++ b/themes/default/template/comment_list.tpl @@ -11,23 +11,23 @@ {/if}
- {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) or isset($comment.U_EDIT) } -
+ {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) or isset($comment.U_EDIT)} +
{if isset($comment.U_DELETE)} - - [delete] - + + {'Delete'|@translate} + {if isset($comment.U_VALIDATE) or isset($comment.U_EDIT)} | {/if} {/if} {if isset($comment.U_EDIT) and !isset($comment.IN_EDIT)} - - [edit] - + + {'Edit'|@translate} + {if isset($comment.U_VALIDATE)} | {/if} {/if} {if isset($comment.U_VALIDATE)} - - [validate] + + {'Validate'|@translate} - {/if} + {/if} 
{/if}