feat(editor): add code snapshot export

This commit is contained in:
Abeautifulsnow authored and GitHub committed 2026-08-19 15:49:15 +08:00
1 parent a40dc02825
commit 30f5c34729
18 files changed
+774 -7

No files matched your search

+18
View File
@@ -1287,6 +1287,7 @@ export default {
export: "Export",
exportQueryResultTo: "Export current query result to {format}",
copySelection: "Copy selection",
screenshotSelection: "Screenshot Selected Code",
commentSelection: "Comment selection",
blockCommentSelection: "Block comment selection",
formatSelectionSql: "Format selected SQL",
@@ -8337,4 +8338,21 @@ export default {
cellRowMissing: "Row does not exist",
cellColumnMissing: "Column does not exist",
},
codeSnapshot: {
title: "Code Snapshot",
close: "Close",
copy: "Copy to Clipboard",
save: "Save PNG",
copied: "Copied",
saved: "Saved",
failed: "Failed: {message}",
take: "Snapshot Code",
theme: "Theme",
themeLight: "Light",
themeDark: "Dark",
windowControls: "Window Controls",
lineNumbers: "Line Numbers",
titleLabel: "Title (optional)",
titlePlaceholder: "e.g. Query example",
},
};
+18
View File
@@ -1265,6 +1265,7 @@ export default withEnglishFallback({
export: "Exportar",
exportQueryResultTo: "Exportar el conjunto de resultados de la consulta actual a {format}",
copySelection: "Copiar seleccion",
screenshotSelection: "Capturar código seleccionado",
commentSelection: "Comentar selección",
blockCommentSelection: "Comentario de bloque en la selección",
formatSelectionSql: "Formatear SQL seleccionado",
@@ -8117,4 +8118,21 @@ export default withEnglishFallback({
cellRowMissing: "La fila no existe",
cellColumnMissing: "La columna no existe",
},
codeSnapshot: {
title: "Captura de código",
close: "Cerrar",
copy: "Copiar al portapapeles",
save: "Guardar PNG",
copied: "Copiado",
saved: "Guardado",
failed: "Error: {message}",
take: "Capturar código",
theme: "Tema",
themeLight: "Claro",
themeDark: "Oscuro",
windowControls: "Botones de ventana",
lineNumbers: "Números de línea",
titleLabel: "Título (opcional)",
titlePlaceholder: "p. ej. Ejemplo de consulta",
},
});
+18
View File
@@ -1263,6 +1263,7 @@ export default withEnglishFallback({
export: "Esporta",
exportQueryResultTo: "Esporta il set di risultati della query corrente in {format}",
copySelection: "Copia selezione",
screenshotSelection: "Cattura codice selezionato",
commentSelection: "Commenta selezione",
blockCommentSelection: "Commenta selezione a blocco",
formatSelectionSql: "Formatta SQL selezionato",
@@ -8117,4 +8118,21 @@ export default withEnglishFallback({
cellRowMissing: "La riga non esiste",
cellColumnMissing: "La colonna non esiste",
},
codeSnapshot: {
title: "Cattura codice",
close: "Chiudi",
copy: "Copia negli appunti",
save: "Salva PNG",
copied: "Copiato",
saved: "Salvato",
failed: "Errore: {message}",
take: "Cattura codice",
theme: "Tema",
themeLight: "Chiaro",
themeDark: "Scuro",
windowControls: "Pulsanti finestra",
lineNumbers: "Numeri di riga",
titleLabel: "Titolo (facoltativo)",
titlePlaceholder: "es. Esempio di query",
},
});
+18
View File
@@ -1283,6 +1283,7 @@ export default withEnglishFallback({
export: "エクスポート",
exportQueryResultTo: "現在のクエリ結果セットを {format} にエクスポート",
copySelection: "選択範囲をコピー",
screenshotSelection: "選択したコードをスクリーンショット",
commentSelection: "選択範囲をコメント化",
blockCommentSelection: "選択範囲をブロックコメント化",
formatSelectionSql: "選択した SQL をフォーマット",
@@ -8170,4 +8171,21 @@ export default withEnglishFallback({
cellRowMissing: "行が存在しません",
cellColumnMissing: "列が存在しません",
},
codeSnapshot: {
title: "コードスナップショット",
close: "閉じる",
copy: "クリップボードにコピー",
save: "PNG を保存",
copied: "コピーしました",
saved: "保存しました",
failed: "失敗: {message}",
take: "コードをスナップショット",
theme: "テーマ",
themeLight: "ライト",
themeDark: "ダーク",
windowControls: "ウィンドウボタン",
lineNumbers: "行番号",
titleLabel: "タイトル(任意)",
titlePlaceholder: "例:クエリの例",
},
});
+18
View File
@@ -1174,6 +1174,7 @@ export default withEnglishFallback({
export: "내보내기",
exportQueryResultTo: "현재 쿼리 결과를 {format}(으)로 내보내기",
copySelection: "선택 영역 복사",
screenshotSelection: "선택한 코드 스크린샷",
commentSelection: "선택 항목 주석 처리",
blockCommentSelection: "선택 항목 블록 주석 처리",
formatSelectionSql: "선택한 SQL 서식 지정",
@@ -7588,4 +7589,21 @@ export default withEnglishFallback({
cellRowMissing: "행이 존재하지 않습니다",
cellColumnMissing: "열이 존재하지 않습니다",
},
codeSnapshot: {
title: "코드 스냅샷",
close: "닫기",
copy: "클립보드에 복사",
save: "PNG 저장",
copied: "복사됨",
saved: "저장됨",
failed: "실패: {message}",
take: "코드 스냅샷",
theme: "테마",
themeLight: "라이트",
themeDark: "다크",
windowControls: "창 컨트롤",
lineNumbers: "줄 번호",
titleLabel: "제목 (선택)",
titlePlaceholder: "예: 쿼리 예시",
},
});
+18
View File
@@ -1264,6 +1264,7 @@ export default withEnglishFallback({
export: "Exportar",
exportQueryResultTo: "Exportar conjunto de resultados da consulta atual para {format}",
copySelection: "Copiar seleção",
screenshotSelection: "Capturar código selecionado",
commentSelection: "Comentar seleção",
blockCommentSelection: "Comentário de bloco na seleção",
formatSelectionSql: "Formatar SQL selecionado",
@@ -8119,4 +8120,21 @@ export default withEnglishFallback({
cellRowMissing: "A linha não existe",
cellColumnMissing: "A coluna não existe",
},
codeSnapshot: {
title: "Captura de código",
close: "Fechar",
copy: "Copiar para a área de transferência",
save: "Salvar PNG",
copied: "Copiado",
saved: "Salvo",
failed: "Falha: {message}",
take: "Capturar código",
theme: "Tema",
themeLight: "Claro",
themeDark: "Escuro",
windowControls: "Botões da janela",
lineNumbers: "Números de linha",
titleLabel: "Título (opcional)",
titlePlaceholder: "ex.: Exemplo de consulta",
},
});
+18
View File
@@ -1211,6 +1211,7 @@ export default withEnglishFallback({
export: "导出",
exportQueryResultTo: "导出当前查询结果集到 {format}",
copySelection: "复制选中内容",
screenshotSelection: "截图选中代码",
commentSelection: "注释选中内容",
blockCommentSelection: "块注释选中内容",
formatSelectionSql: "格式化选中SQL",
@@ -8320,4 +8321,21 @@ export default withEnglishFallback({
cellRowMissing: "该行不存在",
cellColumnMissing: "该列不存在",
},
codeSnapshot: {
title: "代码截图",
close: "关闭",
copy: "复制到剪贴板",
save: "保存 PNG",
copied: "已复制",
saved: "已保存",
failed: "操作失败:{message}",
take: "截图代码",
theme: "主题",
themeLight: "浅色",
themeDark: "深色",
windowControls: "窗口按钮",
lineNumbers: "行号",
titleLabel: "标题(可选)",
titlePlaceholder: "例如:查询示例",
},
});
+18
View File
@@ -1263,6 +1263,7 @@ export default withEnglishFallback({
export: "匯出",
exportQueryResultTo: "匯出目前查詢結果集到 {format}",
copySelection: "複製選取內容",
screenshotSelection: "截圖選中程式碼",
commentSelection: "註解選取內容",
blockCommentSelection: "區塊註解選取內容",
formatSelectionSql: "格式化選取的 SQL",
@@ -8109,4 +8110,21 @@ export default withEnglishFallback({
cellRowMissing: "該列不存在",
cellColumnMissing: "該欄不存在",
},
codeSnapshot: {
title: "程式碼截圖",
close: "關閉",
copy: "複製到剪貼簿",
save: "儲存 PNG",
copied: "已複製",
saved: "已儲存",
failed: "操作失敗:{message}",
take: "截圖程式碼",
theme: "主題",
themeLight: "淺色",
themeDark: "深色",
windowControls: "視窗按鈕",
lineNumbers: "行號",
titleLabel: "標題(可選)",
titlePlaceholder: "例如:查詢範例",
},
});