mirror of
https://github.com/TermoraDev/termora.git
synced 2026-01-16 02:12:58 +08:00
feat: 改进事件系统与全局快捷键 (#62)
This commit is contained in:
@@ -88,6 +88,12 @@ termora.settings.about.issue=Issues
|
||||
termora.settings.about.third-party=Third Party
|
||||
termora.settings.about.termora=<html><b>${termora.title}</b> ({0}) is a cross-platform SSH client. </html>
|
||||
|
||||
termora.settings.keymap=Keymap
|
||||
termora.settings.keymap.shortcut=Shortcut
|
||||
termora.settings.keymap.action=Action
|
||||
termora.settings.keymap.already-exists=The shortcut [{0}] is already in use by [{1}]
|
||||
|
||||
|
||||
termora.settings.restart.title=Restart
|
||||
termora.settings.restart.message=Changes will take effect after restarting the application
|
||||
|
||||
@@ -268,9 +274,25 @@ termora.transport.jobs.table.estimated-time=Estimated time
|
||||
|
||||
termora.transport.jobs.contextmenu.delete=${termora.remove}
|
||||
termora.transport.jobs.contextmenu.delete-all=Delete All
|
||||
|
||||
# ToolBar
|
||||
termora.toolbar.customize-toolbar=Customize Toolbar...
|
||||
|
||||
|
||||
# Actions
|
||||
termora.actions.copy-from-terminal=Copy from Terminal
|
||||
termora.actions.paste-to-terminal=Paste to Terminal
|
||||
termora.actions.select-all-in-terminal=Select All in Terminal
|
||||
termora.actions.open-terminal-find=Open Terminal Find
|
||||
termora.actions.close-tab=Close Tab
|
||||
termora.actions.zoom-in-terminal=Zoom In Terminal
|
||||
termora.actions.zoom-out-terminal=Zoom Out Terminal
|
||||
termora.actions.zoom-reset-terminal=Reset Terminal Zoom
|
||||
termora.actions.open-local-terminal=Open Local Terminal
|
||||
termora.actions.open-find-everywhere=Open FindEverywhere
|
||||
termora.actions.open-new-window=Open new Window
|
||||
termora.actions.switch-tab=Switch to specific Tab [1..9]
|
||||
|
||||
# Terminal
|
||||
termora.terminal.size=Size: {0} x {1}
|
||||
termora.terminal.copied=Copied
|
||||
|
||||
@@ -92,6 +92,10 @@ termora.settings.about.issue=报告问题
|
||||
termora.settings.about.third-party=第三方依赖
|
||||
termora.settings.about.termora=<html><b>${termora.title}</b> ({0}) 是一个跨平台的 SSH 客户端。 </html>
|
||||
|
||||
termora.settings.keymap=键盘
|
||||
termora.settings.keymap.shortcut=快捷键
|
||||
termora.settings.keymap.action=操作
|
||||
termora.settings.keymap.already-exists=快捷键 [{0}] 已经被 [{1}] 占用
|
||||
|
||||
# Welcome
|
||||
termora.welcome.my-hosts=我的主机
|
||||
@@ -260,6 +264,7 @@ termora.transport.jobs.table.speed=速度
|
||||
termora.transport.jobs.table.estimated-time=剩余时间
|
||||
|
||||
termora.transport.jobs.contextmenu.delete-all=删除所有
|
||||
|
||||
# ToolBar
|
||||
termora.toolbar.customize-toolbar=自定义工具栏...
|
||||
|
||||
@@ -267,5 +272,19 @@ termora.terminal.size=大小: {0} x {1}
|
||||
termora.terminal.copied=已复制
|
||||
|
||||
|
||||
# Actions
|
||||
termora.actions.copy-from-terminal=从终端复制
|
||||
termora.actions.paste-to-terminal=粘贴到终端
|
||||
termora.actions.select-all-in-terminal=在终端中全选
|
||||
termora.actions.open-terminal-find=打开终端查找
|
||||
termora.actions.close-tab=关闭标签页
|
||||
termora.actions.zoom-in-terminal=放大终端
|
||||
termora.actions.zoom-out-terminal=缩小终端
|
||||
termora.actions.zoom-reset-terminal=重置终端缩放
|
||||
termora.actions.open-local-terminal=打开本地终端
|
||||
termora.actions.open-find-everywhere=打开全局查找
|
||||
termora.actions.open-new-window=打开新窗口
|
||||
termora.actions.switch-tab=切换到特定标签页 [1..9]
|
||||
|
||||
# zmodem
|
||||
termora.addons.zmodem.skip=跳过
|
||||
@@ -49,6 +49,12 @@ termora.setting.security.enter-password-again=請再輸入密碼
|
||||
termora.setting.security.password-is-different=兩次密碼輸入不一致
|
||||
termora.setting.security.mnemonic-note=請妥善保管助記詞,可用來忘記密碼時解鎖數據
|
||||
|
||||
termora.settings.keymap=鍵盤
|
||||
termora.settings.keymap.shortcut=快捷鍵
|
||||
termora.settings.keymap.action=操作
|
||||
termora.settings.keymap.already-exists=快捷鍵 [{0}] 已經被 [{1}] 占用
|
||||
|
||||
|
||||
# Find everywhere
|
||||
termora.find-everywhere=尋找
|
||||
termora.find-everywhere.search-for-something=搜尋點什麼 ...
|
||||
@@ -240,11 +246,27 @@ termora.transport.jobs.table.speed=速度
|
||||
termora.transport.jobs.table.estimated-time=剩餘時間
|
||||
|
||||
termora.transport.jobs.contextmenu.delete-all=刪除所有
|
||||
|
||||
# ToolBar
|
||||
termora.toolbar.customize-toolbar=自訂工具列...
|
||||
|
||||
termora.terminal.size=大小: {0} x {1}
|
||||
termora.terminal.copied=已複製
|
||||
|
||||
# Actions
|
||||
termora.actions.copy-from-terminal=從終端複製
|
||||
termora.actions.paste-to-terminal=貼上到終端
|
||||
termora.actions.select-all-in-terminal=在終端中全選
|
||||
termora.actions.open-terminal-find=開啟終端搜尋
|
||||
termora.actions.close-tab=關閉分頁
|
||||
termora.actions.zoom-in-terminal=放大終端
|
||||
termora.actions.zoom-out-terminal=縮小終端
|
||||
termora.actions.zoom-reset-terminal=重置終端縮放
|
||||
termora.actions.open-local-terminal=開啟本地終端
|
||||
termora.actions.open-find-everywhere=開啟全域搜尋
|
||||
termora.actions.open-new-window=開啟新視窗
|
||||
termora.actions.switch-tab=切換到特定分頁 [1..9]
|
||||
|
||||
|
||||
# zmodem
|
||||
termora.addons.zmodem.skip=跳過
|
||||
10
src/main/resources/icons/copy.svg
Normal file
10
src/main/resources/icons/copy.svg
Normal file
@@ -0,0 +1,10 @@
|
||||
<!-- Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="2.5" y="3.5" width="9" height="10" rx="1.5" stroke="#6C707E"/>
|
||||
<rect x="5" y="6" width="4" height="1" rx="0.5" fill="#6C707E"/>
|
||||
<rect x="5" y="8" width="4" height="1" rx="0.5" fill="#6C707E"/>
|
||||
<rect x="5" y="10" width="4" height="1" rx="0.5" fill="#6C707E"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd"
|
||||
d="M11.0017 2H11.5998C12.373 2 12.9998 2.6268 12.9998 3.4V3.91081C13.0011 3.94038 13.0017 3.97011 13.0017 4V11.5482C13.6063 11.1124 13.9998 10.4021 13.9998 9.6V3.4C13.9998 2.07452 12.9253 1 11.5998 1H6.39978C5.59677 1 4.88587 1.39437 4.4502 2H6.39978H11.0017Z"
|
||||
fill="#6C707E"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 862 B |
10
src/main/resources/icons/copy_dark.svg
Normal file
10
src/main/resources/icons/copy_dark.svg
Normal file
@@ -0,0 +1,10 @@
|
||||
<!-- Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="2.5" y="3.5" width="9" height="10" rx="1.5" stroke="#CED0D6"/>
|
||||
<rect x="5" y="6" width="4" height="1" rx="0.5" fill="#CED0D6"/>
|
||||
<rect x="5" y="8" width="4" height="1" rx="0.5" fill="#CED0D6"/>
|
||||
<rect x="5" y="10" width="4" height="1" rx="0.5" fill="#CED0D6"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd"
|
||||
d="M11.0017 2H11.5998C12.373 2 12.9998 2.6268 12.9998 3.4V3.91081C13.0011 3.94038 13.0017 3.97011 13.0017 4V11.5482C13.6063 11.1124 13.9998 10.4021 13.9998 9.6V3.4C13.9998 2.07452 12.9253 1 11.5998 1H6.39978C5.59677 1 4.88587 1.39437 4.4502 2H6.39978H11.0017Z"
|
||||
fill="#CED0D6"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 862 B |
6
src/main/resources/icons/delete.svg
Normal file
6
src/main/resources/icons/delete.svg
Normal file
@@ -0,0 +1,6 @@
|
||||
<!-- Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd"
|
||||
d="M7 2H9C9.55228 2 10 2.44772 10 3H6C6 2.44772 6.44772 2 7 2ZM5 3C5 1.89543 5.89543 1 7 1H9C10.1046 1 11 1.89543 11 3H13C13.5523 3 14 3.44772 14 4V5V6H13V13C13 14.1046 12.1046 15 11 15H5C3.89543 15 3 14.1046 3 13V6H2V5V4C2 3.44772 2.44772 3 3 3H5ZM11 4H10H6H5H3V5H4H12H13V4H11ZM4 6H12V13C12 13.5523 11.5523 14 11 14H5C4.44772 14 4 13.5523 4 13V6ZM6.5 7C6.22386 7 6 7.22386 6 7.5V11.5C6 11.7761 6.22386 12 6.5 12C6.77614 12 7 11.7761 7 11.5V7.5C7 7.22386 6.77614 7 6.5 7ZM9 7.5C9 7.22386 9.22386 7 9.5 7C9.77614 7 10 7.22386 10 7.5V11.5C10 11.7761 9.77614 12 9.5 12C9.22386 12 9 11.7761 9 11.5V7.5Z"
|
||||
fill="#6C707E"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 917 B |
6
src/main/resources/icons/delete_dark.svg
Normal file
6
src/main/resources/icons/delete_dark.svg
Normal file
@@ -0,0 +1,6 @@
|
||||
<!-- Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd"
|
||||
d="M7 2H9C9.55228 2 10 2.44772 10 3H6C6 2.44772 6.44772 2 7 2ZM5 3C5 1.89543 5.89543 1 7 1H9C10.1046 1 11 1.89543 11 3H13C13.5523 3 14 3.44772 14 4V5V6H13V13C13 14.1046 12.1046 15 11 15H5C3.89543 15 3 14.1046 3 13V6H2V5V4C2 3.44772 2.44772 3 3 3H5ZM11 4H10H6H5H3V5H4H12H13V4H11ZM4 6H12V13C12 13.5523 11.5523 14 11 14H5C4.44772 14 4 13.5523 4 13V6ZM6.5 7C6.22386 7 6 7.22386 6 7.5V11.5C6 11.7761 6.22386 12 6.5 12C6.77614 12 7 11.7761 7 11.5V7.5C7 7.22386 6.77614 7 6.5 7ZM9 7.5C9 7.22386 9.22386 7 9.5 7C9.77614 7 10 7.22386 10 7.5V11.5C10 11.7761 9.77614 12 9.5 12C9.22386 12 9 11.7761 9 11.5V7.5Z"
|
||||
fill="#CED0D6"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 917 B |
8
src/main/resources/icons/fitContent.svg
Normal file
8
src/main/resources/icons/fitContent.svg
Normal file
@@ -0,0 +1,8 @@
|
||||
<!-- Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="11" y="7" width="1" height="4" rx="0.5" fill="#6C707E"/>
|
||||
<rect x="12" y="10" width="1" height="4" rx="0.5" transform="rotate(90 12 10)" fill="#6C707E"/>
|
||||
<rect x="4" y="5" width="1" height="4" rx="0.5" fill="#6C707E"/>
|
||||
<rect x="8" y="5" width="1" height="4" rx="0.5" transform="rotate(90 8 5)" fill="#6C707E"/>
|
||||
<rect x="1.5" y="2.5" width="13" height="11" rx="1.5" stroke="#6C707E"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 642 B |
8
src/main/resources/icons/fitContent_dark.svg
Normal file
8
src/main/resources/icons/fitContent_dark.svg
Normal file
@@ -0,0 +1,8 @@
|
||||
<!-- Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="11" y="7" width="1" height="4" rx="0.5" fill="#CED0D6"/>
|
||||
<rect x="12" y="10" width="1" height="4" rx="0.5" transform="rotate(90 12 10)" fill="#CED0D6"/>
|
||||
<rect x="4" y="5" width="1" height="4" rx="0.5" fill="#CED0D6"/>
|
||||
<rect x="8" y="5" width="1" height="4" rx="0.5" transform="rotate(90 8 5)" fill="#CED0D6"/>
|
||||
<rect x="1.5" y="2.5" width="13" height="11" rx="1.5" stroke="#CED0D6"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 642 B |
Reference in New Issue
Block a user