diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index 74390646a..a54cc1e4a 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -1462,6 +1462,7 @@ const message = { existFileSize: 'File size (new -> old)', existFileDirHelper: 'The selected file/folder has a duplicate name. Please proceed with caution!', noSuchFile: 'The file or directory was not found. Please check and try again.', + setting: 'Setting', }, ssh: { autoStart: 'Auto Start', diff --git a/frontend/src/lang/modules/ja.ts b/frontend/src/lang/modules/ja.ts index 8ed6a3462..810a3040c 100644 --- a/frontend/src/lang/modules/ja.ts +++ b/frontend/src/lang/modules/ja.ts @@ -1403,9 +1403,9 @@ const message = { existFileSize: 'ファイルサイズ(新しい -> 古い)', existFileDirHelper: '選択したファイル/フォルダーには同じ名前のものが既に存在します。慎重に操作してください!', noSuchFile: 'ファイルまたはディレクトリが見つかりませんでした。確認して再試行してください。', + setting: '設定', }, ssh: { - setting: '設定', autoStart: 'オートスタート', enable: 'AutoStartを有効にします', disable: 'AutoStartを無効にします', diff --git a/frontend/src/lang/modules/ko.ts b/frontend/src/lang/modules/ko.ts index abab45452..925ed9f3b 100644 --- a/frontend/src/lang/modules/ko.ts +++ b/frontend/src/lang/modules/ko.ts @@ -1389,9 +1389,9 @@ const message = { existFileSize: '파일 크기 (새로운 -> 오래된)', existFileDirHelper: '선택한 파일/폴더에 동일한 이름이 이미 존재합니다. 신중하게 작업하세요!', noSuchFile: '파일 또는 디렉터리를 찾을 수 없습니다. 확인 후 다시 시도하세요.', + setting: '설정', }, ssh: { - setting: '설정', autoStart: '자동 시작', enable: '자동 시작 활성화', disable: '자동 시작 비활성화', diff --git a/frontend/src/lang/modules/ms.ts b/frontend/src/lang/modules/ms.ts index 7c78afd14..7e2771b29 100644 --- a/frontend/src/lang/modules/ms.ts +++ b/frontend/src/lang/modules/ms.ts @@ -1446,9 +1446,9 @@ const message = { existFileSize: 'Saiz fail (baru -> lama)', existFileDirHelper: 'Fail/folder yang dipilih mempunyai nama yang sama. Sila berhati-hati!', noSuchFile: 'Fail atau direktori tidak ditemui. Sila periksa dan cuba lagi.', + setting: 'tetapan', }, ssh: { - setting: 'tetapan', autoStart: 'Mula automatik', enable: 'Aktifkan Mula Automatik', disable: 'Nyahaktif Mula Automatik', diff --git a/frontend/src/lang/modules/pt-br.ts b/frontend/src/lang/modules/pt-br.ts index e87e6d236..568634606 100644 --- a/frontend/src/lang/modules/pt-br.ts +++ b/frontend/src/lang/modules/pt-br.ts @@ -1432,9 +1432,9 @@ const message = { existFileSize: 'Tamanho do arquivo (novo -> antigo)', existFileDirHelper: 'O arquivo/pasta selecionado tem um nome duplicado. Por favor, prossiga com cautela!', noSuchFile: 'O arquivo ou diretório não foi encontrado. Por favor, verifique e tente novamente.', + setting: 'configuração', }, ssh: { - setting: 'configuração', autoStart: 'Início automático', enable: 'Habilitar início automático', disable: 'Desabilitar início automático', diff --git a/frontend/src/lang/modules/ru.ts b/frontend/src/lang/modules/ru.ts index 758fd09d1..e36baa654 100644 --- a/frontend/src/lang/modules/ru.ts +++ b/frontend/src/lang/modules/ru.ts @@ -1433,9 +1433,9 @@ const message = { existFileSize: 'Размер файла (новый -> старый)', existFileDirHelper: 'Выбранный файл/папка имеет дублирующееся имя. Пожалуйста, действуйте осторожно!', noSuchFile: 'Файл или каталог не найдены. Пожалуйста, проверьте и повторите попытку.', + setting: 'настройка', }, ssh: { - setting: 'настройка', autoStart: 'Автозапуск', enable: 'Включить автозапуск', disable: 'Отключить автозапуск', diff --git a/frontend/src/lang/modules/zh-Hant.ts b/frontend/src/lang/modules/zh-Hant.ts index f0a38edbd..22f8f9e96 100644 --- a/frontend/src/lang/modules/zh-Hant.ts +++ b/frontend/src/lang/modules/zh-Hant.ts @@ -1388,6 +1388,7 @@ const message = { existFileSize: '文件大小(新->舊)', existFileDirHelper: '選擇的檔案/資料夾存在同名,請謹慎操作!', noSuchFile: '找不到該檔案或目錄,請檢查後重試。', + setting: '设置', }, ssh: { autoStart: '開機自啟', diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index c6086463c..2ee2899ac 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -1384,6 +1384,7 @@ const message = { existFileSize: '文件大小 (新 -> 旧)', existFileDirHelper: '选择的文件/文件夹存在同名,请谨慎操作!', noSuchFile: '未能找到该文件或目录,请检查后重试', + setting: '设置', }, ssh: { autoStart: '开机自启', diff --git a/frontend/src/styles/common.scss b/frontend/src/styles/common.scss index f06e63a83..8ec4019fe 100644 --- a/frontend/src/styles/common.scss +++ b/frontend/src/styles/common.scss @@ -345,3 +345,9 @@ html { overflow: hidden; text-overflow: ellipsis; } + +.code-dialog { + .el-dialog__header { + --el-dialog-padding-primary: 0px !important; + } +} diff --git a/frontend/src/views/host/file-management/code-editor/index.vue b/frontend/src/views/host/file-management/code-editor/index.vue index 6575215de..64741ed81 100644 --- a/frontend/src/views/host/file-management/code-editor/index.vue +++ b/frontend/src/views/host/file-management/code-editor/index.vue @@ -1,8 +1,15 @@