处理文件管理器多语言

This commit is contained in:
pushuo 2022-09-09 13:48:14 +08:00 committed by Edward Yang
parent 49e8df844b
commit a1f8238152
4 changed files with 6 additions and 1 deletions

View File

@ -4,7 +4,7 @@ export default {
layer.open({
type: 2,
title: '图片管理器',
title: lang.file_manager,
shadeClose: false,
skin: 'file-manager-box',
scrollbar: false,

View File

@ -49,6 +49,9 @@
@if (locale() != 'zh_cn')
ELEMENT.locale(ELEMENT.lang['{{ locale() }}'])
@endif
const lang = {
file_manager: '{{ __('admin/file_manager.file_manager') }}',
}
</script>
@stack('footer')
</body>

View File

@ -32,4 +32,5 @@ return [
'can_empty' => 'Can not be empty',
'finish' => 'Finish',
'uploading' => 'loading...',
'file_manager' => 'File Manager',
];

View File

@ -32,4 +32,5 @@ return [
'can_empty' => '不能为空',
'finish' => '完成',
'uploading' => '上传中',
'file_manager' => '图片管理器',
];