fix: 分类/友链资源字段全部中文化(语言包 lang/zh_CN.json + __() 引用),支付过滤补 label,消除后台表格/表单英文

This commit is contained in:
ak
2026-08-11 23:31:50 +08:00
parent d9a6ca2959
commit 3ff766d980
16 changed files with 65 additions and 14 deletions
@@ -2,7 +2,6 @@
declare(strict_types=1);
namespace App\Filament\Resources\Links\Schemas;
use Filament\Forms\Components\TextInput;
@@ -16,17 +15,21 @@ class LinkForm
return $schema
->components([
TextInput::make('name')
->label(__('link.name'))
->required(),
TextInput::make('url')
->label(__('link.url'))
->url()
->required(),
TextInput::make('note'),
TextInput::make('note')
->label(__('link.note')),
TextInput::make('display_order')
->label(__('link.display_order'))
->required()
->numeric()
->default(0),
Toggle::make('visible')
->required(),
->label(__('link.visible')),
]);
}
}