Fixes #1377 Associate / Move album's selectize in batch manager

Selectize for choosing album when associating or moving  has now a place holder and no default value.

Also added translation line for placeholder
This commit is contained in:
Matthieu Leproux
2021-05-07 15:33:32 +02:00
parent 4060183b2d
commit 451cbdbbc9
3 changed files with 12 additions and 3 deletions

View File

@@ -684,7 +684,7 @@ UL.thumbnails SPAN.wrap2 {ldelim}
<!-- associate -->{* also used for "move" action *}
<div id="action_associate" class="bulkAction">
<select data-selectize="categories" data-default="first" name="associate" style="width:600px"></select>
<select data-selectize="categories" data-default="" name="associate" style="width:600px" placeholder="{'Select an album... or type it!'|@translate}"></select>
<a href="#" data-add-album="associate" title="{'create a new album'|@translate}" class="icon-plus"></a>
</div>
@@ -801,3 +801,10 @@ UL.thumbnails SPAN.wrap2 {ldelim}
</form>
</div> <!-- #batchManagerGlobal -->
<style>
#action_associate .selectize-input {
min-width: 500px;
height: 44px;
}
</style>

View File

@@ -1167,4 +1167,5 @@ $lang['Apply an automatic order'] = 'Apply an automatic order';
$lang['Root'] = 'Root';
$lang['Apply to direct sub-albums'] = 'Apply to direct sub-albums';
$lang['Apply to the whole hierarchy'] = 'Apply to the whole hierarchy';
$lang['<b>%d+</b> albums found, try to refine the search'] = '<b>%d+</b> albums found, try to refine the search';
$lang['<b>%d+</b> albums found, try to refine the search'] = '<b>%d+</b> albums found, try to refine the search';
$lang['Select an album... or type it!'] = 'Select an album... or type it!';

View File

@@ -1169,4 +1169,5 @@ $lang['Apply an automatic order'] = 'Appliquer un ordre automatique';
$lang['Root'] = 'Racine';
$lang['Apply to direct sub-albums'] = 'Appliquer aux sous-albums';
$lang['Apply to the whole hierarchy'] = 'Appliquer à toute l\'arborescence';
$lang['<b>%d+</b> albums found, try to refine the search'] = '<b>%d+</b> albums trouvé, essayez d affiner la recherche';
$lang['<b>%d+</b> albums found, try to refine the search'] = '<b>%d+</b> albums trouvé, essayez d affiner la recherche';
$lang['Select an album... or type it!'] = 'Selectionnez un album... ou tapez-le !';