From 37c8a6ff8085f8e9cce5c6dc4080577ff7374630 Mon Sep 17 00:00:00 2001 From: webadderall <131426131+webadderall@users.noreply.github.com> Date: Thu, 19 Mar 2026 23:48:16 +1100 Subject: [PATCH] Polish editor copy and panel styling --- .../video-editor/AnnotationSettingsPanel.tsx | 2 +- src/i18n/locales/en/common.json | 10 ++++++- src/i18n/locales/en/editor.json | 27 +++++++++++++++++++ src/i18n/locales/en/launch.json | 4 +-- src/i18n/locales/en/settings.json | 25 +++++++++++++++-- src/i18n/locales/es/common.json | 10 ++++++- src/i18n/locales/es/editor.json | 27 +++++++++++++++++++ src/i18n/locales/es/launch.json | 2 +- src/i18n/locales/es/settings.json | 25 +++++++++++++++-- src/i18n/locales/zh-CN/common.json | 10 ++++++- src/i18n/locales/zh-CN/editor.json | 27 +++++++++++++++++++ src/i18n/locales/zh-CN/launch.json | 2 +- src/i18n/locales/zh-CN/settings.json | 25 +++++++++++++++-- src/index.css | 1 - 14 files changed, 182 insertions(+), 15 deletions(-) diff --git a/src/components/video-editor/AnnotationSettingsPanel.tsx b/src/components/video-editor/AnnotationSettingsPanel.tsx index fd8d9a82..68b7a045 100644 --- a/src/components/video-editor/AnnotationSettingsPanel.tsx +++ b/src/components/video-editor/AnnotationSettingsPanel.tsx @@ -117,7 +117,7 @@ export function AnnotationSettingsPanel({ }; return ( -
+
{t('annotations.settings')} diff --git a/src/i18n/locales/en/common.json b/src/i18n/locales/en/common.json index c661e479..98bb2c7a 100644 --- a/src/i18n/locales/en/common.json +++ b/src/i18n/locales/en/common.json @@ -2,11 +2,19 @@ "app": { "name": "Recordly", "editorTitle": "Recordly Editor", - "subtitle": "Screen recording and editing" + "subtitle": "Screen recording and editing", + "language": "Language", + "manageRecordings": "Open recordings folder" }, "actions": { "cancel": "Cancel", + "close": "Close", + "export": "Export", + "load": "Load", + "redo": "Redo", + "reset": "Reset", "save": "Save", + "undo": "Undo", "delete": "Delete", "done": "Done" }, diff --git a/src/i18n/locales/en/editor.json b/src/i18n/locales/en/editor.json index 4cb31ab3..949ea73d 100644 --- a/src/i18n/locales/en/editor.json +++ b/src/i18n/locales/en/editor.json @@ -78,8 +78,19 @@ "adjustStep": "2. Adjust", "adjustDesc": "Drag the edges of the red region to cover exactly what you want to cut out." }, + "feedback": { + "trigger": "Feedback", + "title": "Feedback & contact", + "description": "Reach out directly or open an issue if something is broken or missing.", + "emailLabel": "Email", + "xLabel": "X", + "reportIssue": "Report issue / send feedback", + "openFailed": "Failed to open link." + }, "keyboardShortcuts": { + "trigger": "Shortcuts", "title": "Keyboard Shortcuts", + "description": "Quick reference for the timeline and editor controls.", "customizeTooltip": "Customize shortcuts", "customize": "Customize", "panTimeline": "Pan Timeline", @@ -87,5 +98,21 @@ "cycleAnnotations": "Cycle Annotations", "tab": "Tab" }, + "actions": { + "saveAgain": "Save Again", + "showInFolder": "Show In Folder" + }, + "project": { + "untitled": "Untitled" + }, + "exportStatus": { + "exporting": "Exporting", + "renderingFile": "Rendering your file.", + "preparing": "Preparing export...", + "completePercent": "{{percent}}% complete", + "issue": "Export issue", + "complete": "Export complete", + "savedSuccessfully": "Your file was saved successfully." + }, "openRecordingsFolder": "Open recordings folder" } diff --git a/src/i18n/locales/en/launch.json b/src/i18n/locales/en/launch.json index 38aa236d..4a4f741f 100644 --- a/src/i18n/locales/en/launch.json +++ b/src/i18n/locales/en/launch.json @@ -14,8 +14,8 @@ "folderPath": "Path: /{{name}}/", "openVideoFile": "Open video file", "openProject": "Open project", - "hideHudFromVideo": "Hiding HUD from recording", - "showHudInVideo": "Showing HUD in recording", + "hideHudFromVideo": "Hide HUD from recording", + "showHudInVideo": "Show HUD in recording", "hideHud": "Hide HUD", "closeApp": "Close App", "screens": "Screens", diff --git a/src/i18n/locales/en/settings.json b/src/i18n/locales/en/settings.json index f0eaf679..bd8fe60c 100644 --- a/src/i18n/locales/en/settings.json +++ b/src/i18n/locales/en/settings.json @@ -14,6 +14,7 @@ }, "effects": { "title": "Video Effects", + "show": "Show", "showCursor": "Show Cursor", "loopCursor": "Loop cursor", "backgroundBlur": "Background Blur", @@ -24,6 +25,7 @@ "off": "Off", "cursorMotionBlur": "Cursor Motion Blur", "cursorClickBounce": "Cursor Click Bounce", + "cursorClickBounceDuration": "Bounce Speed", "cursorSway": "Cursor Sway", "webcam": "Webcam Overlay", "webcamFootage": "Webcam Footage", @@ -38,24 +40,40 @@ "webcamRoundness": "Webcam Roundness", "webcamShadow": "Webcam Shadow", "shadow": "Shadow", + "radius": "Radius", "roundness": "Roundness", "padding": "Padding", "removeBackground": "Remove background" }, + "sections": { + "scene": "Scene", + "cursor": "Cursor", + "webcam": "Webcam", + "frame": "Frame", + "crop": "Crop" + }, "crop": { "title": "Crop Video", - "instruction": "Drag on each side to adjust the crop area" + "instruction": "Drag on each side to adjust the crop area", + "top": "Top", + "bottom": "Bottom", + "left": "Left", + "right": "Right", + "openEditor": "Open Crop Editor" }, "background": { "title": "Background", "image": "Image", "color": "Color", "gradient": "Gradient", + "wallpaperPreview": "Wallpaper preview", "uploadCustom": "Upload Custom", "uploadSuccess": "Custom image uploaded successfully!", - "uploadError": "Please upload a JPG or JPEG image file." + "uploadError": "Please upload a JPG or JPEG image file.", + "uploadErrorDescription": "Only JPG and JPEG images are supported." }, "export": { + "title": "Export", "mp4": "MP4", "gif": "GIF", "quality": { @@ -66,6 +84,9 @@ }, "loop": "Loop", "outputDimensions": "Output: {{dimensions}}px", + "sizePresetOriginalShort": "Orig", + "sizePresetMediumShort": "Med", + "sizePresetLargeShort": "Lar", "loadProject": "Load Project", "saveProject": "Save Project", "exportVideo": "Export {{format}}", diff --git a/src/i18n/locales/es/common.json b/src/i18n/locales/es/common.json index 92020782..f74c2377 100644 --- a/src/i18n/locales/es/common.json +++ b/src/i18n/locales/es/common.json @@ -2,11 +2,19 @@ "app": { "name": "Recordly", "editorTitle": "Editor de Recordly", - "subtitle": "Grabación de pantalla y edición" + "subtitle": "Grabación de pantalla y edición", + "language": "Idioma", + "manageRecordings": "Abrir carpeta de grabaciones" }, "actions": { "cancel": "Cancelar", + "close": "Cerrar", + "export": "Exportar", + "load": "Cargar", + "redo": "Rehacer", + "reset": "Restablecer", "save": "Guardar", + "undo": "Deshacer", "delete": "Eliminar", "done": "Hecho" }, diff --git a/src/i18n/locales/es/editor.json b/src/i18n/locales/es/editor.json index 32d71924..049b9f96 100644 --- a/src/i18n/locales/es/editor.json +++ b/src/i18n/locales/es/editor.json @@ -78,8 +78,19 @@ "adjustStep": "2. Ajustar", "adjustDesc": "Arrastra los bordes de la región roja para cubrir exactamente lo que deseas eliminar." }, + "feedback": { + "trigger": "Comentarios", + "title": "Comentarios y contacto", + "description": "Contáctanos directamente o abre un issue si algo falla o falta.", + "emailLabel": "Correo", + "xLabel": "X", + "reportIssue": "Reportar problema / enviar comentarios", + "openFailed": "No se pudo abrir el enlace." + }, "keyboardShortcuts": { + "trigger": "Atajos", "title": "Atajos de teclado", + "description": "Referencia rápida para los controles de la línea de tiempo y del editor.", "customizeTooltip": "Personalizar atajos", "customize": "Personalizar", "panTimeline": "Desplazar línea de tiempo", @@ -87,5 +98,21 @@ "cycleAnnotations": "Recorrer anotaciones", "tab": "Tab" }, + "actions": { + "saveAgain": "Guardar de nuevo", + "showInFolder": "Mostrar en carpeta" + }, + "project": { + "untitled": "Sin título" + }, + "exportStatus": { + "exporting": "Exportando", + "renderingFile": "Renderizando tu archivo.", + "preparing": "Preparando exportación...", + "completePercent": "{{percent}}% completado", + "issue": "Problema de exportación", + "complete": "Exportación completada", + "savedSuccessfully": "Tu archivo se guardó correctamente." + }, "openRecordingsFolder": "Abrir carpeta de grabaciones" } diff --git a/src/i18n/locales/es/launch.json b/src/i18n/locales/es/launch.json index e4d50f3d..eb87bb5d 100644 --- a/src/i18n/locales/es/launch.json +++ b/src/i18n/locales/es/launch.json @@ -14,7 +14,7 @@ "folderPath": "Ruta: /{{name}}/", "openVideoFile": "Abrir archivo de video", "openProject": "Abrir proyecto", - "hideHudFromVideo": "Ocultar HUD en la grabación", + "hideHudFromVideo": "Ocultar HUD de la grabación", "showHudInVideo": "Mostrar HUD en la grabación", "hideHud": "Ocultar HUD", "closeApp": "Cerrar aplicación", diff --git a/src/i18n/locales/es/settings.json b/src/i18n/locales/es/settings.json index d5a6c708..d6c20046 100644 --- a/src/i18n/locales/es/settings.json +++ b/src/i18n/locales/es/settings.json @@ -14,6 +14,7 @@ }, "effects": { "title": "Efectos de video", + "show": "Mostrar", "showCursor": "Mostrar cursor", "loopCursor": "Cursor en bucle", "backgroundBlur": "Desenfoque de fondo", @@ -24,6 +25,7 @@ "off": "Desactivado", "cursorMotionBlur": "Desenfoque de movimiento del cursor", "cursorClickBounce": "Rebote de clic del cursor", + "cursorClickBounceDuration": "Velocidad del rebote", "cursorSway": "Balanceo del cursor", "webcam": "Superposición de cámara", "webcamFootage": "Metraje de cámara", @@ -38,24 +40,40 @@ "webcamRoundness": "Redondez de cámara", "webcamShadow": "Sombra de cámara", "shadow": "Sombra", + "radius": "Radio", "roundness": "Redondez", "padding": "Relleno", "removeBackground": "Quitar fondo" }, + "sections": { + "scene": "Escena", + "cursor": "Cursor", + "webcam": "Cámara", + "frame": "Marco", + "crop": "Recorte" + }, "crop": { "title": "Recortar video", - "instruction": "Arrastra cada lado para ajustar el área de recorte" + "instruction": "Arrastra cada lado para ajustar el área de recorte", + "top": "Superior", + "bottom": "Inferior", + "left": "Izquierda", + "right": "Derecha", + "openEditor": "Abrir editor de recorte" }, "background": { "title": "Fondo", "image": "Imagen", "color": "Color", "gradient": "Degradado", + "wallpaperPreview": "Vista previa del fondo", "uploadCustom": "Subir personalizado", "uploadSuccess": "¡Imagen personalizada subida exitosamente!", - "uploadError": "Por favor sube un archivo de imagen JPG o JPEG." + "uploadError": "Por favor sube un archivo de imagen JPG o JPEG.", + "uploadErrorDescription": "Solo se admiten imágenes JPG y JPEG." }, "export": { + "title": "Exportar", "mp4": "MP4", "gif": "GIF", "quality": { @@ -66,6 +84,9 @@ }, "loop": "Bucle", "outputDimensions": "Salida: {{dimensions}}px", + "sizePresetOriginalShort": "Orig", + "sizePresetMediumShort": "Med", + "sizePresetLargeShort": "Gra", "loadProject": "Cargar proyecto", "saveProject": "Guardar proyecto", "exportVideo": "Exportar {{format}}", diff --git a/src/i18n/locales/zh-CN/common.json b/src/i18n/locales/zh-CN/common.json index bee0c88b..b35ca3d8 100644 --- a/src/i18n/locales/zh-CN/common.json +++ b/src/i18n/locales/zh-CN/common.json @@ -2,11 +2,19 @@ "app": { "name": "Recordly", "editorTitle": "Recordly 编辑器", - "subtitle": "屏幕录制与编辑" + "subtitle": "屏幕录制与编辑", + "language": "语言", + "manageRecordings": "打开录制文件夹" }, "actions": { "cancel": "取消", + "close": "关闭", + "export": "导出", + "load": "加载", + "redo": "重做", + "reset": "重置", "save": "保存", + "undo": "撤销", "delete": "删除", "done": "完成" }, diff --git a/src/i18n/locales/zh-CN/editor.json b/src/i18n/locales/zh-CN/editor.json index 97358490..87dbc846 100644 --- a/src/i18n/locales/zh-CN/editor.json +++ b/src/i18n/locales/zh-CN/editor.json @@ -78,8 +78,19 @@ "adjustStep": "2. 调整", "adjustDesc": "拖动红色区域的边缘,精确覆盖要剪掉的部分。" }, + "feedback": { + "trigger": "反馈", + "title": "反馈与联系", + "description": "如果有问题或缺失功能,可以直接联系或提交 issue。", + "emailLabel": "邮箱", + "xLabel": "X", + "reportIssue": "报告问题 / 提交反馈", + "openFailed": "打开链接失败。" + }, "keyboardShortcuts": { + "trigger": "快捷键", "title": "键盘快捷键", + "description": "时间线和编辑器控制的快速参考。", "customizeTooltip": "自定义快捷键", "customize": "自定义", "panTimeline": "平移时间线", @@ -87,5 +98,21 @@ "cycleAnnotations": "循环切换注释", "tab": "Tab" }, + "actions": { + "saveAgain": "再次保存", + "showInFolder": "在文件夹中显示" + }, + "project": { + "untitled": "未命名" + }, + "exportStatus": { + "exporting": "正在导出", + "renderingFile": "正在渲染你的文件。", + "preparing": "正在准备导出...", + "completePercent": "已完成 {{percent}}%", + "issue": "导出问题", + "complete": "导出完成", + "savedSuccessfully": "文件已成功保存。" + }, "openRecordingsFolder": "打开录制文件夹" } diff --git a/src/i18n/locales/zh-CN/launch.json b/src/i18n/locales/zh-CN/launch.json index 72c9573d..29a10088 100644 --- a/src/i18n/locales/zh-CN/launch.json +++ b/src/i18n/locales/zh-CN/launch.json @@ -14,7 +14,7 @@ "folderPath": "路径:/{{name}}/", "openVideoFile": "打开视频文件", "openProject": "打开项目", - "hideHudFromVideo": "在录制中隐藏 HUD", + "hideHudFromVideo": "从录制中隐藏 HUD", "showHudInVideo": "在录制中显示 HUD", "hideHud": "隐藏 HUD", "closeApp": "关闭应用", diff --git a/src/i18n/locales/zh-CN/settings.json b/src/i18n/locales/zh-CN/settings.json index 7ed4bf4c..63bb70f3 100644 --- a/src/i18n/locales/zh-CN/settings.json +++ b/src/i18n/locales/zh-CN/settings.json @@ -14,6 +14,7 @@ }, "effects": { "title": "视频效果", + "show": "显示", "showCursor": "显示光标", "loopCursor": "循环光标", "backgroundBlur": "背景模糊", @@ -24,6 +25,7 @@ "off": "关", "cursorMotionBlur": "光标运动模糊", "cursorClickBounce": "光标点击弹跳", + "cursorClickBounceDuration": "弹跳速度", "cursorSway": "光标摆动", "webcam": "摄像头叠加", "webcamFootage": "摄像头素材", @@ -38,24 +40,40 @@ "webcamRoundness": "摄像头圆角", "webcamShadow": "摄像头阴影", "shadow": "阴影", + "radius": "圆角半径", "roundness": "圆角", "padding": "内边距", "removeBackground": "移除背景" }, + "sections": { + "scene": "场景", + "cursor": "光标", + "webcam": "摄像头", + "frame": "边框", + "crop": "裁剪" + }, "crop": { "title": "裁剪视频", - "instruction": "拖动各边以调整裁剪区域" + "instruction": "拖动各边以调整裁剪区域", + "top": "上", + "bottom": "下", + "left": "左", + "right": "右", + "openEditor": "打开裁剪编辑器" }, "background": { "title": "背景", "image": "图片", "color": "颜色", "gradient": "渐变", + "wallpaperPreview": "壁纸预览", "uploadCustom": "上传自定义", "uploadSuccess": "自定义图片上传成功!", - "uploadError": "请上传 JPG 或 JPEG 图片文件。" + "uploadError": "请上传 JPG 或 JPEG 图片文件。", + "uploadErrorDescription": "仅支持 JPG 和 JPEG 图片。" }, "export": { + "title": "导出", "mp4": "MP4", "gif": "GIF", "quality": { @@ -66,6 +84,9 @@ }, "loop": "循环", "outputDimensions": "输出:{{dimensions}}px", + "sizePresetOriginalShort": "原", + "sizePresetMediumShort": "中", + "sizePresetLargeShort": "大", "loadProject": "加载项目", "saveProject": "保存项目", "exportVideo": "导出{{format}}", diff --git a/src/index.css b/src/index.css index e4f8806d..90eb139c 100644 --- a/src/index.css +++ b/src/index.css @@ -157,4 +157,3 @@ transform: scale(1.25); } } -