feat: add i18n support for Vietnamese and English
This commit is contained in:
@@ -17,18 +17,22 @@ class FeedbackChannelForm
|
||||
Section::make()
|
||||
->schema([
|
||||
TextInput::make('name')
|
||||
->label(__('app.name'))
|
||||
->required()
|
||||
->maxLength(255),
|
||||
TextInput::make('slug')
|
||||
->label(__('app.slug'))
|
||||
->required()
|
||||
->maxLength(255)
|
||||
->unique(ignoreRecord: true),
|
||||
TextInput::make('icon')
|
||||
->label(__('app.icon'))
|
||||
->maxLength(255)
|
||||
->hint('Heroicon name or emoji'),
|
||||
->hint(__('app.icon_hint')),
|
||||
ColorPicker::make('color')
|
||||
->label('Color'),
|
||||
->label(__('app.color')),
|
||||
Toggle::make('is_active')
|
||||
->label(__('app.status_active'))
|
||||
->default(true),
|
||||
])
|
||||
->columns(2),
|
||||
|
||||
Reference in New Issue
Block a user