Translate Inspector option titles
This commit is contained in:
parent
1089d8e763
commit
c04b7faecc
|
|
@ -1,5 +1,6 @@
|
|||
<?php namespace Backend\Traits;
|
||||
|
||||
use Lang;
|
||||
use Request;
|
||||
use ApplicationException;
|
||||
|
||||
|
|
@ -62,7 +63,7 @@ trait InspectableContainer
|
|||
*/
|
||||
$optionsArray = [];
|
||||
foreach ((array) $options as $value => $title) {
|
||||
$optionsArray[] = ['value' => $value, 'title' => $title];
|
||||
$optionsArray[] = ['value' => $value, 'title' => Lang::get($title)];
|
||||
}
|
||||
|
||||
return [
|
||||
|
|
|
|||
Loading…
Reference in New Issue