mirror of
https://github.com/unraid/webgui.git
synced 2026-04-20 17:02:10 -05:00
Multi-language support
This commit is contained in:
@@ -336,7 +336,7 @@ function cache_slots($off,$pool,$min,$slots) {
|
||||
$out .= "<input type='hidden' name='poolName' value='$pool'>";
|
||||
$out .= "<select class='narrow' name='poolSlots' onChange='this.form.submit()'{$off}>";
|
||||
for ($n=$min; $n<=$max; $n++) {
|
||||
$option = $n ?: 'none';
|
||||
$option = $n ?: _('none');
|
||||
$selected = ($n==$slots)? ' selected' : '';
|
||||
$out .= "<option value='$n'{$selected}>$option</option>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user