feat: SFTP file exists and prompts to overwrite (#426)

This commit is contained in:
hstyi
2025-03-29 13:41:02 +08:00
committed by GitHub
parent 614514c87e
commit 09b3655c4e
10 changed files with 252 additions and 34 deletions

View File

@@ -314,6 +314,16 @@ termora.transport.sftp.status.waiting=Waiting
termora.transport.sftp.status.done=Done
termora.transport.sftp.status.failed=Failed
termora.transport.sftp.already-exists.message1=This folder already contains an object named as below
termora.transport.sftp.already-exists.message2=Select a task to do
termora.transport.sftp.already-exists.overwrite=Overwrite
termora.transport.sftp.already-exists.skip=Skip
termora.transport.sftp.already-exists.apply-all=Apply all
termora.transport.sftp.already-exists.name=Name
termora.transport.sftp.already-exists.destination=Destination
termora.transport.sftp.already-exists.source=Source
termora.transport.sftp.already-exists.actions=Actions
# transport job
termora.transport.jobs.table.name=Name

View File

@@ -293,6 +293,19 @@ termora.transport.sftp.status.done=已完成
termora.transport.sftp.status.failed=已失败
termora.transport.sftp.already-exists.message1=此文件夹已包含一下名称的对象
termora.transport.sftp.already-exists.message2=请选择要执行的操作
termora.transport.sftp.already-exists.overwrite=覆盖
termora.transport.sftp.already-exists.skip=跳过
termora.transport.sftp.already-exists.apply-all=应用全部
termora.transport.sftp.already-exists.name=名称
termora.transport.sftp.already-exists.destination=目标文件
termora.transport.sftp.already-exists.source=源文件
termora.transport.sftp.already-exists.actions=操作
# Permission
termora.transport.permissions=更改权限
termora.transport.permissions.file-folder-permissions=文件/文件夹权限

View File

@@ -287,6 +287,16 @@ termora.transport.sftp.status.waiting=等待中
termora.transport.sftp.status.done=已完成
termora.transport.sftp.status.failed=已失敗
termora.transport.sftp.already-exists.message1=此資料夾已包含一下名稱的對象
termora.transport.sftp.already-exists.message2=請選擇要執行的操作
termora.transport.sftp.already-exists.overwrite=覆蓋
termora.transport.sftp.already-exists.skip=跳過
termora.transport.sftp.already-exists.apply-all=應用全部
termora.transport.sftp.already-exists.name=名稱
termora.transport.sftp.already-exists.destination=目標文件
termora.transport.sftp.already-exists.source=原始檔
termora.transport.sftp.already-exists.actions=操作
# transport job
termora.transport.jobs.table.name=名稱
termora.transport.jobs.table.status=狀態

View File

@@ -0,0 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<g fill="none" fill-rule="evenodd">
<rect width="11" height="13" x="2.5" y="1.5" stroke="#6C707E" rx="1.5"/>
<line x1="5.5" x2="10.5" y1="5.5" y2="5.5" stroke="#6C707E" stroke-linecap="round"/>
<line x1="5.5" x2="10.5" y1="8" y2="8" stroke="#6C707E" stroke-linecap="round"/>
<line x1="5.5" x2="10.5" y1="10.5" y2="10.5" stroke="#6C707E" stroke-linecap="round"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 497 B

View File

@@ -0,0 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<g fill="none" fill-rule="evenodd">
<rect width="11" height="13" x="2.5" y="1.5" stroke="#CED0D6" rx="1.5"/>
<line x1="5.5" x2="10.5" y1="5.5" y2="5.5" stroke="#CED0D6" stroke-linecap="round"/>
<line x1="5.5" x2="10.5" y1="8" y2="8" stroke="#CED0D6" stroke-linecap="round"/>
<line x1="5.5" x2="10.5" y1="10.5" y2="10.5" stroke="#CED0D6" stroke-linecap="round"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 497 B