Create polished demo videos without editing skills. Mac/Windows/Linux
feat: localize caption controls and loading states
webadderall42273dfa6c7a
diff --git a/src/i18n/locales/en/settings.json b/src/i18n/locales/en/settings.jsonindex bd8fe60c..6784c422 100644--- a/src/i18n/locales/en/settings.json+++ b/src/i18n/locales/en/settings.json@@ -17,9 +17,39 @@"show": "Show","showCursor": "Show Cursor","loopCursor": "Loop cursor",+ "cursorStyle": "Cursor Style",+ "cursorStyleOptions": {+ "tahoe": "Tahoe",+ "dot": "Dot",+ "figma": "Minimal",+ "mono": "Inverted"+ },"backgroundBlur": "Background Blur","zoomMotionBlur": "Zoom Motion Blur","connectZooms": "Connect Zooms",+ "zoomGeneralTitle": "General",+ "zoomGeneralDescription": "Global motion settings for every zoom transition.",+ "zoomInTitle": "Zoom In",+ "zoomInDescription": "Control how the camera enters a zoom region.",+ "zoomOutTitle": "Zoom Out",+ "zoomOutDescription": "Control how the camera exits a zoom region.",+ "connectedZoomTitle": "Between Zooms",+ "connectedZoomDescription": "Tune the glide between consecutive zoom regions when connection is enabled.",+ "zoomInDuration": "Zoom In Duration",+ "zoomInOverlap": "Zoom In Overlap",+ "zoomOutDuration": "Zoom Out Duration",+ "zoomInEasing": "Zoom In Curve",+ "zoomOutEasing": "Zoom Out Curve",+ "connectedZoomGap": "Connected Zoom Gap",+ "connectedZoomDuration": "Connected Zoom Duration",+ "connectedZoomEasing": "Connected Pan Curve",+ "zoomEasingOptions": {+ "recordly": "Recordly",+ "glide": "Glide",+ "smooth": "Smooth",+ "snappy": "Snappy",+ "linear": "Linear"+ },"cursorSize": "Cursor Size","cursorSmoothing": "Cursor Smoothing","off": "Off",@@ -47,11 +77,40 @@},"sections": {"scene": "Scene",+ "captions": "Captions",+ "zoom": "Zoom","cursor": "Cursor","webcam": "Webcam","frame": "Frame","crop": "Crop"},+ "captions": {+ "enabled": "Show",+ "language": "Language",+ "downloading": "Downloading...",+ "deleteModel": "Delete Model",+ "clearModel": "Clear Model",+ "downloadModel": "Download Model",+ "generating": "Generating...",+ "generateFull": "Generate Captions",+ "regenerateFull": "Regenerate Captions",+ "clearFull": "Clear Captions",+ "fontSettings": "Font Settings",+ "defaultFont": "Default",+ "fontFamily": "Font",+ "fontSize": "Font Size",+ "rowCount": "Rows",+ "animation": "Animation",+ "animationOff": "Off",+ "animationFade": "Fade",+ "animationRise": "Rise",+ "animationPop": "Pop",+ "bottomOffset": "Bottom Offset",+ "maxWidth": "Max Width",+ "boxRadius": "Box Radius",+ "backgroundOpacity": "Background Opacity",+ "textColor": "Text Color"+ },"crop": {"title": "Crop Video","instruction": "Drag on each side to adjust the crop area",diff --git a/src/i18n/locales/es/settings.json b/src/i18n/locales/es/settings.jsonindex d6c20046..19e141f3 100644--- a/src/i18n/locales/es/settings.json+++ b/src/i18n/locales/es/settings.json@@ -17,9 +17,39 @@"show": "Mostrar","showCursor": "Mostrar cursor","loopCursor": "Cursor en bucle",+ "cursorStyle": "Estilo del cursor",+ "cursorStyleOptions": {+ "tahoe": "Tahoe",+ "dot": "Punto",+ "figma": "Minimal",+ "mono": "Invertido"+ },"backgroundBlur": "Desenfoque de fondo","zoomMotionBlur": "Desenfoque de movimiento del zoom","connectZooms": "Conectar zooms",+ "zoomGeneralTitle": "General",+ "zoomGeneralDescription": "Ajustes globales de movimiento para todas las transiciones de zoom.",+ "zoomInTitle": "Entrada",+ "zoomInDescription": "Controla cómo entra la cámara en una región de zoom.",+ "zoomOutTitle": "Salida",+ "zoomOutDescription": "Controla cómo sale la cámara de una región de zoom.",+ "connectedZoomTitle": "Entre zooms",+ "connectedZoomDescription": "Ajusta el deslizamiento entre regiones de zoom consecutivas cuando la conexión está activada.",+ "zoomInDuration": "Duración de entrada",+ "zoomInOverlap": "Solapamiento de entrada",+ "zoomOutDuration": "Duración de salida",+ "zoomInEasing": "Curva de entrada",+ "zoomOutEasing": "Curva de salida",+ "connectedZoomGap": "Espacio entre zooms conectados",+ "connectedZoomDuration": "Duración entre zooms conectados",+ "connectedZoomEasing": "Curva del paneo conectado",+ "zoomEasingOptions": {+ "recordly": "Recordly",+ "glide": "Glide",+ "smooth": "Suave",+ "snappy": "Rápida",+ "linear": "Lineal"+ },"cursorSize": "Tamaño del cursor","cursorSmoothing": "Suavizado del cursor","off": "Desactivado",@@ -47,11 +77,40 @@},"sections": {"scene": "Escena",+ "captions": "Subtítulos",+ "zoom": "Zoom","cursor": "Cursor","webcam": "Cámara","frame": "Marco","crop": "Recorte"},+ "captions": {+ "enabled": "Mostrar",+ "language": "Idioma",+ "downloading": "Descargando...",+ "deleteModel": "Eliminar modelo",+ "clearModel": "Borrar modelo",+ "downloadModel": "Descargar modelo",+ "generating": "Generando...",+ "generateFull": "Generar subtítulos",+ "regenerateFull": "Regenerar subtítulos",+ "clearFull": "Borrar subtítulos",+ "fontSettings": "Tipografía",+ "defaultFont": "Predeterminado",+ "fontFamily": "Fuente",+ "fontSize": "Tamaño",+ "rowCount": "Filas",+ "animation": "Animación",+ "animationOff": "Desactivada",+ "animationFade": "Desvanecer",+ "animationRise": "Elevar",+ "animationPop": "Resaltar",+ "bottomOffset": "Desplazamiento inferior",+ "maxWidth": "Ancho máximo",+ "boxRadius": "Radio del contenedor",+ "backgroundOpacity": "Opacidad del fondo",+ "textColor": "Color del texto"+ },"crop": {"title": "Recortar video","instruction": "Arrastra cada lado para ajustar el área de recorte",diff --git a/src/i18n/locales/zh-CN/settings.json b/src/i18n/locales/zh-CN/settings.jsonindex 63bb70f3..ffde445f 100644--- a/src/i18n/locales/zh-CN/settings.json+++ b/src/i18n/locales/zh-CN/settings.json@@ -17,9 +17,39 @@"show": "显示","showCursor": "显示光标","loopCursor": "循环光标",+ "cursorStyle": "光标样式",+ "cursorStyleOptions": {+ "tahoe": "Tahoe",+ "dot": "圆点",+ "figma": "Minimal",+ "mono": "反相"+ },"backgroundBlur": "背景模糊","zoomMotionBlur": "缩放运动模糊","connectZooms": "连接缩放",+ "zoomGeneralTitle": "全局",+ "zoomGeneralDescription": "控制所有缩放过渡的整体运动设置。",+ "zoomInTitle": "进入缩放",+ "zoomInDescription": "控制镜头进入缩放区域的方式。",+ "zoomOutTitle": "退出缩放",+ "zoomOutDescription": "控制镜头离开缩放区域的方式。",+ "connectedZoomTitle": "缩放之间",+ "connectedZoomDescription": "在启用连接缩放时,调整连续缩放区域之间的滑移方式。",+ "zoomInDuration": "进入时长",+ "zoomInOverlap": "进入重叠",+ "zoomOutDuration": "退出时长",+ "zoomInEasing": "进入曲线",+ "zoomOutEasing": "退出曲线",+ "connectedZoomGap": "连接缩放间隔",+ "connectedZoomDuration": "连接缩放时长",+ "connectedZoomEasing": "连接平移曲线",+ "zoomEasingOptions": {+ "recordly": "Recordly",+ "glide": "滑行",+ "smooth": "平滑",+ "snappy": "利落",+ "linear": "线性"+ },"cursorSize": "光标大小","cursorSmoothing": "光标平滑","off": "关",@@ -47,11 +77,40 @@},"sections": {"scene": "场景",+ "captions": "字幕",+ "zoom": "缩放","cursor": "光标","webcam": "摄像头","frame": "边框","crop": "裁剪"},+ "captions": {+ "enabled": "显示",+ "language": "语言",+ "downloading": "下载中...",+ "deleteModel": "删除模型",+ "clearModel": "清除模型",+ "downloadModel": "下载模型",+ "generating": "生成中...",+ "generateFull": "生成字幕",+ "regenerateFull": "重新生成字幕",+ "clearFull": "清除字幕",+ "fontSettings": "字体设置",+ "defaultFont": "默认",+ "fontFamily": "字体",+ "fontSize": "字号",+ "rowCount": "行数",+ "animation": "动画",+ "animationOff": "关闭",+ "animationFade": "淡入淡出",+ "animationRise": "上移",+ "animationPop": "弹出",+ "bottomOffset": "底部偏移",+ "maxWidth": "最大宽度",+ "boxRadius": "字幕框圆角",+ "backgroundOpacity": "背景透明度",+ "textColor": "文字颜色"+ },"crop": {"title": "裁剪视频","instruction": "拖动各边以调整裁剪区域",diff --git a/src/index.css b/src/index.cssindex 90eb139c..80d8fc45 100644--- a/src/index.css+++ b/src/index.css@@ -94,6 +94,23 @@will-change: transform;transition: left 33ms linear, right 33ms linear;}++ .indeterminate-progress {+ position: relative;+ overflow: hidden;+ isolation: isolate;+ }++ .indeterminate-progress::before {+ content: "";+ position: absolute;+ inset: 0;+ width: 38%;+ min-width: 3.5rem;+ border-radius: inherit;+ background: linear-gradient(90deg, rgba(37, 99, 235, 0) 0%, rgba(37, 99, 235, 0.35) 18%, rgba(96, 165, 250, 0.92) 52%, rgba(37, 99, 235, 0.3) 82%, rgba(37, 99, 235, 0) 100%);+ animation: indeterminate-progress 1.15s cubic-bezier(0.4, 0, 0.2, 1) infinite;+ }/* Hidden scrollbar - still scrollable but invisible */.custom-scrollbar {@@ -157,3 +174,17 @@transform: scale(1.25);}}++@keyframes indeterminate-progress {+ 0% {+ transform: translateX(-150%);+ }++ 60% {+ transform: translateX(270%);+ }++ 100% {+ transform: translateX(270%);+ }+}