mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-07 06:52:28 +00:00
fix(web): harden clipboard copy and terminal paste flows (#187)
This commit is contained in:
@@ -88,6 +88,7 @@ export default {
|
||||
'button.close': 'Close',
|
||||
'button.dismiss': 'Dismiss',
|
||||
'button.copy': 'Copy',
|
||||
'button.paste': 'Paste',
|
||||
|
||||
// New session form
|
||||
'newSession.machine': 'Machine',
|
||||
@@ -136,6 +137,9 @@ export default {
|
||||
'terminal.commandArgs': 'Command args',
|
||||
'terminal.stdout': 'Stdout',
|
||||
'terminal.stderr': 'Stderr',
|
||||
'terminal.paste.fallbackTitle': 'Paste input',
|
||||
'terminal.paste.fallbackDescription': 'Clipboard read is unavailable. Paste your text below.',
|
||||
'terminal.paste.placeholder': 'Paste terminal input here…',
|
||||
|
||||
// Code block
|
||||
'code.copy': 'Copy',
|
||||
|
||||
@@ -90,6 +90,7 @@ export default {
|
||||
'button.close': '关闭',
|
||||
'button.dismiss': '忽略',
|
||||
'button.copy': '复制',
|
||||
'button.paste': '粘贴',
|
||||
|
||||
// New session form
|
||||
'newSession.machine': '机器',
|
||||
@@ -138,6 +139,9 @@ export default {
|
||||
'terminal.commandArgs': '命令参数',
|
||||
'terminal.stdout': '标准输出',
|
||||
'terminal.stderr': '标准错误',
|
||||
'terminal.paste.fallbackTitle': '粘贴输入',
|
||||
'terminal.paste.fallbackDescription': '无法读取剪贴板,请在下方粘贴文本。',
|
||||
'terminal.paste.placeholder': '在此粘贴终端输入…',
|
||||
|
||||
// Code block
|
||||
'code.copy': '复制',
|
||||
|
||||
Reference in New Issue
Block a user