[Branche2] bug:1486

git-svn-id: http://piwigo.org/svn/branches/2.0@5070 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
ddtddt 2010-03-07 13:42:33 +00:00
parent 61cf190aaf
commit d714685995
4 changed files with 12 additions and 4 deletions

View file

@ -100,7 +100,7 @@ DELETE FROM '.OLD_PERMALINKS_TABLE.'
LIMIT 1';
pwg_query($query);
if (mysql_affected_rows()==0)
array_push($page['errors'], 'Cannot delete the old permalink !');
array_push($page['errors'], l10n('Cannot delete the old permalink !'));
}

View file

@ -48,9 +48,9 @@
<td>Id {$SORT_OLD_CAT_ID}</td>
<td>{'Category'|@translate}</td>
<td>{'Permalink'|@translate} {$SORT_OLD_PERMALINK}</td>
<td>Deleted on {$SORT_OLD_DATE_DELETED}</td>
<td>Last hit {$SORT_OLD_LAST_HIT}</td>
<td style="width:20px;">Hit {$SORT_OLD_HIT}</td>
<td>{'Deleted on'|@translate} {$SORT_OLD_DATE_DELETED}</td>
<td>{'Last hit'|@translate} {$SORT_OLD_LAST_HIT}</td>
<td style="width:20px;">{'Hit'|@translate} {$SORT_OLD_HIT}</td>
<td style="width:5px;"></td>
</tr>
{foreach from=$deleted_permalinks item=permalink}

View file

@ -654,4 +654,8 @@ $lang['Subscribe %s'] = 'Subscribe %s';
$lang['Subscribe %s to Piwigo Announcements Newsletter'] = 'Subscribe %s to Piwigo Announcements Newsletter';
$lang['Purge search history'] = 'Purge search history';
$lang['Hide'] = 'Hide';
$lang['Cannot delete the old permalink !'] = 'Cannot delete the old permalink !';
$lang['Deleted on'] = 'Deleted on';
$lang['Last hit'] = 'Last hit';
$lang['Hit'] = 'Hit';
?>

View file

@ -654,4 +654,8 @@ $lang['Subscribe %s'] = 'Abonner %s';
$lang['Subscribe %s to Piwigo Announcements Newsletter'] = 'Abonner %s à la newsletter Piwigo';
$lang['Purge search history'] = 'Purger l\'historique des recherches';
$lang['Hide'] = 'Masquer';
$lang['Cannot delete the old permalink !'] = 'Impossible de supprimer cet ancien lien permanent !';
$lang['Deleted on'] = 'Supprimés sur';
$lang['Last hit'] = 'dernier score';
$lang['Hit'] = 'score';
?>