From 14e57b782caf6cd31dfa22be8762c768c9478042 Mon Sep 17 00:00:00 2001 From: Robin Dong Date: Wed, 30 Aug 2023 16:58:06 +0800 Subject: [PATCH] Add: Chinese (Simplified) language file. --- resources/lang/zh_CN/filament-shield.php | 80 ++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 resources/lang/zh_CN/filament-shield.php diff --git a/resources/lang/zh_CN/filament-shield.php b/resources/lang/zh_CN/filament-shield.php new file mode 100644 index 00000000..2a40504c --- /dev/null +++ b/resources/lang/zh_CN/filament-shield.php @@ -0,0 +1,80 @@ + '角色名', + 'column.guard_name' => '守卫', + 'column.roles' => '角色', + 'column.permissions' => '权限', + 'column.updated_at' => '更新时间', + + /* + |-------------------------------------------------------------------------- + | Form Fields + |-------------------------------------------------------------------------- + */ + + 'field.name' => '角色名', + 'field.guard_name' => '守卫', + 'field.permissions' => '权限', + 'field.select_all.name' => '全选', + 'field.select_all.message' => '启用当前为该角色 启用的 所有权限', + + /* + |-------------------------------------------------------------------------- + | Navigation & Resource + |-------------------------------------------------------------------------- + */ + + 'nav.group' => 'Filament Shield', + 'nav.role.label' => '角色', + 'nav.role.icon' => 'heroicon-o-shield-check', + 'resource.label.role' => '角色', + 'resource.label.roles' => '角色', + + /* + |-------------------------------------------------------------------------- + | Section & Tabs + |-------------------------------------------------------------------------- + */ + + 'section' => '实体', + 'resources' => '资源', + 'widgets' => '小组件', + 'pages' => '页面', + 'custom' => '自定义', + + /* + |-------------------------------------------------------------------------- + | Messages + |-------------------------------------------------------------------------- + */ + + 'forbidden' => '无权访问', + + /* + |-------------------------------------------------------------------------- + | Resource Permissions' Labels + |-------------------------------------------------------------------------- + */ + + 'resource_permission_prefixes_labels' => [ + 'view' => '详情', + 'view_any' => '列表', + 'create' => '创建', + 'update' => '编辑', + 'delete' => '删除', + 'delete_any' => '批量删除', + 'force_delete' => '永久删除', + 'force_delete_any' => '批量永久删除', + 'restore' => '恢复', + 'reorder' => '重新排序', + 'restore_any' => '批量恢复', + 'replicate' => '复制', + ], +];