Browse Source

Merge branch 'master' of https://github.com/jqhph/dcat-admin

jqh 5 năm trước cách đây
mục cha
commit
4b3e169a50

+ 123 - 5
resources/lang/zh-TW/admin.php

@@ -1,14 +1,55 @@
 <?php
 
 return [
+    'scaffold' => [
+        'header'            => '代碼生成器',
+        'choose'            => '選擇以有數據表',
+        'table'             => '表明',
+        'model'             => '模型',
+        'controller'        => '控制器',
+        'add_field'         => '添加欄位',
+        'pk'                => '主鍵',
+        'soft_delete'       => '軟刪除',
+        'create_migration'  => '創建表遷移文件',
+        'create_model'      => '創建模型',
+        'create_repository' => '創建數據倉庫',
+        'create_controller' => '創建控制器',
+        'run_migrate'       => '創建數據表',
+        'create_lang'       => '創建翻譯文件',
+        'field'             => '欄位',
+        'translation'       => '翻譯',
+        'comment'           => '註解',
+        'default'           => '預設值',
+        'field_name'        => '欄位名',
+        'type'              => '類型',
+        'nullable'          => '允許null',
+        'key'               => '索引',
+    ],
+    'client' => [
+        'delete_confirm'    => '確認刪除?',
+        'confirm'           => '確認',
+        'cancel'            => '取消',
+        'refresh_succeeded' => '刷新成功!',
+        'close'             => '關閉',
+        'selected_options'  => '已選中:num個選項',
+        'exceed_max_item'   => '已超出最大可選數量',
+
+        '500' => '系統繁忙,請稍後再試!',
+        '403' => '對不起,您無訪問權限,請聯繫管理員。',
+        '401' => '請先登入!',
+        '419' => '對不起,當前頁面已失效,請刷新瀏覽器。',
+    ],
+    'home'                  => '首頁',
     'online'                => '在線',
-    'login'                 => '登錄',
+    'login'                 => '登',
     'logout'                => '登出',
     'setting'               => '設置',
     'name'                  => '名稱',
     'username'              => '用戶名',
+    'old_password'          => '舊密碼',
     'password'              => '密碼',
     'password_confirmation' => '確認密碼',
+    'old_password_error'    => '舊密碼輸入錯誤',
     'remember_me'           => '記住我',
     'user_setting'          => '用戶設置',
     'avatar'                => '頭像',
@@ -18,9 +59,10 @@ return [
     'delete'                => '刪除',
     'remove'                => '移除',
     'edit'                  => '編輯',
-    'view'                  => '查看',
+    'quick_edit'            => '快速編輯',
     'continue_editing'      => '繼續編輯',
-    'continue_creating'     => '繼續創建',
+    'continue_creating'     => '繼續新增',
+    'view'                  => '查看',
     'detail'                => '詳細',
     'browse'                => '瀏覽',
     'reset'                 => '重置',
@@ -34,7 +76,7 @@ return [
     'filter'                => '篩選',
     'search'                => '搜索',
     'close'                 => '關閉',
-    'show'                  => '顯示',
+    'show'                  => '詳情',
     'entries'               => '條',
     'captcha'               => '驗證碼',
     'action'                => '操作',
@@ -51,7 +93,9 @@ return [
     'delete_succeeded'      => '刪除成功!',
     'delete_failed'         => '刪除失敗!',
     'update_succeeded'      => '更新成功!',
+    'update_failed'         => '更新失敗 !',
     'save_succeeded'        => '儲存成功!',
+    'save_failed'           => '儲存失敗 !',
     'refresh_succeeded'     => '成功重新整理!',
     'login_successful'      => '成功登入!',
     'choose'                => '選擇',
@@ -71,6 +115,18 @@ return [
     'uri'                   => '路徑',
     'operation_log'         => '操作記錄',
     'parent_select_error'   => '父級選擇錯誤',
+    'default'               => '預設',
+    'table'                 => '表格',
+    'no_data'               => '暫無數據',
+    'routes'                => '路由',
+    'alias'                 => '別名',
+    'route_action'          => '處理器',
+    'middleware'            => '中間件',
+    'import'                => '導入',
+    'is_not_import'         => '未導入',
+    'selected_options'      => '已選中:num個選項',
+    'method'                => '方法',
+    'user'                  => '用戶',
     'pagination'            => [
         'range' => '從 :first 到 :last ,總共 :total 條',
     ],
@@ -79,6 +135,7 @@ return [
     'route'                 => '路由',
     'confirm'               => '確認',
     'cancel'                => '取消',
+    'selectall'             => '全選',
     'http'                  => [
         'method' => 'HTTP方法',
         'path'   => 'HTTP路徑',
@@ -91,6 +148,13 @@ return [
     'new_folder'            => '新建資料夾',
     'time'                  => '時間',
     'size'                  => '大小',
+    'between_start'         => '起始',
+    'between_end'           => '結束',
+    'next_page'             => '下一頁',
+    'prev_page'             => '上一頁',
+    'next_step'             => '下一步',
+    'prev_step'             => '上一步',
+    'done'                  => '完成',
     'listbox'               => [
         'text_total'         => '總共 {0} 項',
         'text_empty'         => '空列表',
@@ -98,5 +162,59 @@ return [
         'filter_clear'       => '顯示全部',
         'filter_placeholder' => '過濾',
     ],
-    'menu_titles' => [],
+    'responsive'      => [
+        'display_all' => '顯示全部',
+        'display'     => '欄位',
+        'focus'       => '聚焦',
+    ],
+    'uploader' => [
+        'add_new_media'          => '添加檔案',
+        'drag_file'              => '或將檔案拖移到這裡',
+        'max_file_limit'         => ':attribute不能超過:max.',
+        'exceed_size'            => '檔案大小過大',
+        'interrupt'              => '暫停上傳',
+        'upload_failed'          => '上傳失敗,請再試一次',
+        'selected_files'         => '選中:num個檔案,共:size。',
+        'selected_has_failed'    => '已成功上傳:success個檔案,:fail個檔案上傳失敗,<a class="retry"  href="javascript:"";">重新上傳</a>失敗檔案或<a class="ignore" href="javascript:"";">忽略</a>',
+        'selected_success'       => '共:num个(:size),已上傳:success個。',
+        'dot'                    => ',',
+        'failed_num'             => '失敗:fail個。',
+        'pause_upload'           => '暫停上傳',
+        'go_on_upload'           => '繼續上傳',
+        'start_upload'           => '開始上傳',
+        'upload_success_message' => '已成功上傳:success個檔案',
+        'go_on_add'              => '繼續添加',
+        'Q_TYPE_DENIED'          => '對不起,無法上傳該類型檔案',
+        'Q_EXCEED_NUM_LIMIT'     => '对不起,超出上傳數量限制,最多只能上傳:num個檔案',
+        'F_EXCEED_SIZE'          => '对不起,當前選擇的檔案過大',
+        'Q_EXCEED_SIZE_LIMIT'    => '对不起,檔案大小超出限制',
+        'F_DUPLICATE'            => '檔案重複',
+        'confirm_delete_file'    => '您確定要刪除該檔案嗎?',
+    ],
+    'import_extension_confirm' => '確認導入擴展?',
+    'quick_create'             => '快速新增',
+    'grid_items_selected'      => '已選擇 {n} 項',
+    'nothing_updated'          => '沒有任何資料被更改',
+    'welcome_back'             => '歡迎回來,請登入帳號',
+    'documentation'            => '文檔',
+    'demo'                     => '範例',
+    'extensions'               => '擴展',
+    'validation'               => [
+        'match'     => '與 :attribute 不匹配。',
+        'minlength' => ':attribute 長度不能少於 :min。',
+        'maxlength' => ':attribute 長度不能超過 :max。',
+    ],
+    'menu_titles' => [
+        'index'         => '首頁',
+        'admin'         => '系統',
+        'users'         => '管理員',
+        'roles'         => '角色',
+        'permission'    => '權限',
+        'menu'          => '菜單',
+        'operation_log' => '操作日誌',
+        'helpers'       => '開發工具',
+        'extensions'    => '擴展',
+        'scaffold'      => '代碼生成器',
+        'icons'         => '圖示',
+    ],
 ];

+ 22 - 0
resources/lang/zh-TW/extension.php

@@ -0,0 +1,22 @@
+<?php
+
+return [
+    'labels' => [
+        'Extensions' => '擴展',
+    ],
+    'fields' => [
+        'alias'       => '別名',
+        'description' => '說明',
+        'authors'     => '作者',
+        'homepage'    => '首頁',
+        'require'     => '依賴',
+        'require_dev' => '開發環境依賴',
+        'name'        => '名稱',
+        'version'     => '版本',
+        'enable'      => '啟用',
+        'config'      => '設定',
+        'imported'    => '導入',
+    ],
+    'options' => [
+    ],
+];

+ 40 - 0
resources/lang/zh-TW/global.php

@@ -0,0 +1,40 @@
+<?php
+
+return [
+    'fields' => [
+        'id'                    => 'ID',
+        'name'                  => '名稱',
+        'username'              => '用戶名',
+        'email'                 => '信箱',
+        'http_path'             => 'HTTP路徑',
+        'password'              => '密碼',
+        'password_confirmation' => '確認密碼',
+        'created_at'            => '建立時間',
+        'updated_at'            => '更新時間',
+        'permissions'           => '權限',
+        'slug'                  => '標示',
+        'user'                  => '用戶',
+        'order'                 => '排序',
+        'ip'                    => 'IP',
+        'method'                => '方法',
+        'uri'                   => 'URI',
+        'roles'                 => '角色',
+        'path'                  => '路徑',
+        'input'                 => '輸入',
+    ],
+    'labels' => [
+        'list'     => '列表',
+        'edit'     => '編輯',
+        'detail'   => '詳細',
+        'create'   => '創建',
+        'root'     => 'root',
+        'scaffold' => '代碼生成器',
+    ],
+
+    'options' => [
+        'permissions' => [
+
+        ],
+    ],
+
+];

+ 11 - 0
resources/lang/zh-TW/select2.php

@@ -0,0 +1,11 @@
+<?php
+
+return [
+    'error_loading'    => '無法載入結果',
+    'input_too_long'   => '請刪除:num個字符',
+    'input_too_short'  => '請輸入至少:num個字符',
+    'loading_more'     => '載入更多結果...',
+    'maximum_selected' => '最多只能選擇:num個項目',
+    'no_results'       => '為者到結果',
+    'searching'        => '搜尋中...',
+];