Jiang qinghua 6 năm trước cách đây
mục cha
commit
a2c7fb1fca
3 tập tin đã thay đổi với 4 bổ sung2 xóa
  1. 2 0
      resources/lang/en/admin.php
  2. 1 1
      resources/lang/zh-CN/admin.php
  3. 1 1
      src/Form/Field/Tree.php

+ 2 - 0
resources/lang/en/admin.php

@@ -127,11 +127,13 @@ return [
     'route'                 => 'Route',
     'confirm'               => 'Confirm',
     'cancel'                => 'Cancel',
+    'selectall'             => 'Select all',
     'http'                  => [
         'method' => 'HTTP method',
         'path'   => 'HTTP path',
     ],
     'all_methods_if_empty'  => 'All methods if empty',
+    'any_character_is'      => 'Using "*" to match any character.',
     'all'                   => 'All',
     'current_page'          => 'Current page',
     'selected_rows'         => 'Selected rows',

+ 1 - 1
resources/lang/zh-CN/admin.php

@@ -130,7 +130,7 @@ return [
     'route'                 => '路由',
     'confirm'               => '确认',
     'cancel'                => '取消',
-    'checkedall'            => '全选',
+    'selectall'             => '全选',
     'http'                  => [
         'method' => 'HTTP方法',
         'path'   => 'HTTP路径',

+ 1 - 1
src/Form/Field/Tree.php

@@ -238,7 +238,7 @@ class Tree extends Field
         $checkboxes->style('primary');
         $checkboxes->inline();
         $checkboxes->options([
-            1 => trans('admin.checkedall'),
+            1 => trans('admin.selectall'),
             2 => trans('admin.expand')
         ]);
         if (!empty($this->attributes['disabled'])) {