fixed #1768 better label for sort order btn

This commit is contained in:
Matthieu Leproux
2022-10-25 11:23:19 +02:00
parent 9d5cba0096
commit 3881377d64
4 changed files with 4 additions and 0 deletions

View File

@@ -249,6 +249,7 @@ $(document).ready(() => {
$('.cat-move-order-popin').fadeIn();
$('.cat-move-order-popin .album-name').html(str_root);
$('.cat-move-order-popin input[name=id]').val(-1);
$('input[name=simpleAutoOrder]').attr('value', str_root_order);
});
$('.tree').on('mousedown mouseup', function mouseState(e) {

View File

@@ -38,6 +38,7 @@ const str_add_photo = '{'Add Photos'|@translate|escape:javascript}';
const str_visit_gallery = '{'Visit Gallery'|@translate|escape:javascript}';
const str_sort_order = '{'Automatic sort order'|@translate|escape:javascript}';
const str_delete_album = '{'Delete album'|@translate|escape:javascript}';
const str_root_order = '{'Apply to root albums'|@translate|escape:javascript}'
const add_album_root_title = '{'Create a new album at root'|@translate|escape:javascript}';
const add_sub_album_of = '{'Create a sub-album of "%s"'|@translate|escape:javascript}';

View File

@@ -1322,4 +1322,5 @@ $lang['Details'] = 'Details';
$lang['Always have a backup of your database and files.'] = 'Always have a backup of your database and files.';
$lang['The best is to have them made automatically on a regular basis.'] = 'The best is to have them made automatically on a regular basis.';
$lang['If anything bad happens during the update, you would be able to restore a backup.'] = 'If anything bad happens during the update, you would be able to restore a backup.';
$lang['Apply to root albums'] = 'Apply to root albums';
// Leave this line empty

View File

@@ -1322,4 +1322,5 @@ $lang['Details'] = 'Détails';
$lang['Always have a backup of your database and files.'] = 'Ayez toujours une sauvegarde de votre base de données et de vos fichiers';
$lang['The best is to have them made automatically on a regular basis.'] = 'Le mieux est de le faire automatiquement et régulièrement';
$lang['If anything bad happens during the update, you would be able to restore a backup.'] = 'Si quelque chose arrive pendant la mise à jour, il sera possible de restaurer la sauvegarde';
$lang['Apply to root albums'] = 'Appliquer aux albums racine';
// Leave this line empty