update
This commit is contained in:
@@ -356,7 +356,7 @@ const computedModalStyle = computed(() => {
|
||||
'bg-red-200 text-red-800': connectionStatus === 'error',
|
||||
'bg-gray-200 text-gray-800': connectionStatus === 'disconnected'
|
||||
}">
|
||||
{{ connectionStatus }}
|
||||
{{ t('remoteDesktopModal.status.' + connectionStatus) }}
|
||||
</span>
|
||||
<button
|
||||
@click="closeModal"
|
||||
@@ -389,7 +389,7 @@ const computedModalStyle = computed(() => {
|
||||
<div class="p-2 border-t border-border flex-shrink-0 text-xs text-text-secondary bg-header flex items-center justify-between">
|
||||
<span>{{ statusMessage }}</span>
|
||||
<div class="flex items-center space-x-2 flex-wrap gap-y-1">
|
||||
<label for="modal-width" class="text-xs ml-2">Modal W:</label> <!-- Changed label back -->
|
||||
<label for="modal-width" class="text-xs ml-2">{{ t('common.width') }}:</label>
|
||||
<input
|
||||
id="modal-width"
|
||||
type="number"
|
||||
@@ -397,7 +397,7 @@ const computedModalStyle = computed(() => {
|
||||
step="10"
|
||||
class="w-16 px-1 py-0.5 text-xs border border-border rounded bg-input text-foreground focus:outline-none focus:ring-1 focus:ring-primary"
|
||||
/>
|
||||
<label for="modal-height" class="text-xs">Modal H:</label> <!-- Changed label back -->
|
||||
<label for="modal-height" class="text-xs">{{ t('common.height') }}:</label>
|
||||
<input
|
||||
id="modal-height"
|
||||
type="number"
|
||||
|
||||
@@ -676,7 +676,9 @@
|
||||
"collapse": "Collapse",
|
||||
"search": "Search",
|
||||
"all": "All",
|
||||
"filter": "Filter"
|
||||
"filter": "Filter",
|
||||
"width": "Width",
|
||||
"height": "Height"
|
||||
},
|
||||
"layoutConfigurator": {
|
||||
"title": "Layout Configurator",
|
||||
@@ -748,6 +750,32 @@
|
||||
"searchPlaceholder": "Search name or host...",
|
||||
"noResults": "No connections found matching \"{searchTerm}\"."
|
||||
},
|
||||
"remoteDesktopModal": {
|
||||
"title": "Remote Desktop",
|
||||
"titlePlaceholder": "Remote Desktop Connection",
|
||||
"status": {
|
||||
"fetchingToken": "Fetching connection token...",
|
||||
"connectingWs": "Connecting WebSocket...",
|
||||
"idle": "Idle",
|
||||
"connectingRdp": "Connecting Remote Desktop...",
|
||||
"waiting": "Waiting for server response...",
|
||||
"connected": "Connected",
|
||||
"disconnecting": "Disconnecting...",
|
||||
"disconnected": "Disconnected",
|
||||
"unknownState": "Unknown State",
|
||||
"connecting": "Connecting...",
|
||||
"error": "Error"
|
||||
},
|
||||
"errors": {
|
||||
"missingInfo": "Connection info or display element missing.",
|
||||
"tunnelError": "Tunnel Error",
|
||||
"clientError": "Client Error",
|
||||
"connectionFailed": "Connection Failed",
|
||||
"inputError": "Error setting up input listeners.",
|
||||
"noConnection": "No connection information provided.",
|
||||
"tokenError": "Failed to retrieve token"
|
||||
}
|
||||
},
|
||||
"commandInputBar": {
|
||||
"placeholder": "Enter command and press Enter to send...",
|
||||
"searchPlaceholder": "Search in terminal...",
|
||||
|
||||
@@ -677,7 +677,9 @@
|
||||
"collapse": "折叠",
|
||||
"search": "搜索",
|
||||
"all": "全部",
|
||||
"filter": "筛选"
|
||||
"filter": "筛选",
|
||||
"width": "宽度",
|
||||
"height": "高度"
|
||||
},
|
||||
"layoutConfigurator": {
|
||||
"title": "布局管理器",
|
||||
@@ -760,6 +762,8 @@
|
||||
"idle": "空闲",
|
||||
"connectingRdp": "正在连接远程桌面...",
|
||||
"waiting": "等待服务器响应...",
|
||||
"connecting": "连接中...",
|
||||
"error": "错误",
|
||||
"connected": "已连接",
|
||||
"disconnecting": "正在断开连接...",
|
||||
"disconnected": "已断开连接",
|
||||
|
||||
Reference in New Issue
Block a user