diff --git a/application/admin/common.php b/application/admin/common.php index 9ecbf839..09ba0b85 100755 --- a/application/admin/common.php +++ b/application/admin/common.php @@ -130,21 +130,21 @@ if (!function_exists('build_toolbar')) { $template = str_replace('/', '_', $controller); $download = ''; if (file_exists("./template/{$template}.xlsx")) { - $download .= "
  • XLSX模版
  • "; + $download .= "\n
  • __('%s template', 'XLSX')
  • "; } if (file_exists("./template/{$template}.xls")) { - $download .= "
  • XLS模版
  • "; + $download .= "\n
  • __('%s template', 'XLSX')
  • "; } if (file_exists("./template/{$template}.csv")) { - $download .= empty($download) ? '' : "
  • "; - $download .= "
  • CSV模版
  • "; + $download .= empty($download) ? '' : "\n
  • "; + $download .= "\n
  • __('%s template', 'CSV')
  • "; } $download .= empty($download) ? '' : "\n "; if (!empty($download)) { $html[] = << - diff --git a/application/admin/lang/zh-cn.php b/application/admin/lang/zh-cn.php index 7b85612a..abf61dee 100755 --- a/application/admin/lang/zh-cn.php +++ b/application/admin/lang/zh-cn.php @@ -17,6 +17,8 @@ return [ 'Del' => '删除', 'Delete' => '删除', 'Import' => '导入', + 'Download bulk import template' => '下载批量导入模版', + '%s template' => '%s模版', 'Export' => '导出', 'All' => '全部', 'Detail' => '详情',