OrbiSubs panel: channel list, add/edit modal, live status (phase 1, start/stop off)
This commit is contained in:
@@ -0,0 +1,168 @@
|
||||
/* i18n.js — textos en inglés del panel OrbiSubs (orbi-lang.js).
|
||||
*
|
||||
* Igual que en OrbiStream: la clave es el texto en español tal como está en
|
||||
* index.html (data-i18n) o en t('…') de app.js / url-parse.js. {x} son valores
|
||||
* que pone el código.
|
||||
*/
|
||||
OrbiLang.add({ en: {
|
||||
// ---- General ----
|
||||
'OrbiSubs — Subtítulos en vivo': 'OrbiSubs — Live subtitles',
|
||||
'Subtítulos en vivo': 'Live subtitles',
|
||||
'Sin conexión con la API — reintentando…': 'No connection to the API — retrying…',
|
||||
'Sin conexión con la API': 'No connection to the API',
|
||||
'No autenticado': 'Not authenticated',
|
||||
'Navegación principal': 'Main navigation',
|
||||
'Canales': 'Channels',
|
||||
'Eventos': 'Events',
|
||||
'⎋ Salir': '⎋ Log out',
|
||||
'Cerrar sesión': 'Log out',
|
||||
'Cerrar': 'Close',
|
||||
'Cancelar': 'Cancel',
|
||||
'Editar': 'Edit',
|
||||
'Eliminar': 'Delete',
|
||||
'Iniciar': 'Start',
|
||||
'Parar': 'Stop',
|
||||
'Ver': 'View',
|
||||
'Copiar URL': 'Copy URL',
|
||||
// ---- Login ----
|
||||
'Usuario': 'User',
|
||||
'Contraseña': 'Password',
|
||||
'Entrar': 'Sign in',
|
||||
'Clave nueva': 'New password',
|
||||
'Repetir la clave nueva': 'Repeat the new password',
|
||||
'Guardar y entrar': 'Save and sign in',
|
||||
'La cuenta <b>{u}</b> tiene la clave inicial. Elige una nueva para seguir (mínimo {n} caracteres).': 'The account <b>{u}</b> still has the initial password. Choose a new one to continue (at least {n} characters).',
|
||||
'Usuario o contraseña incorrectos': 'Wrong user or password',
|
||||
'Demasiados intentos. Prueba de nuevo en unos minutos.': 'Too many attempts. Try again in a few minutes.',
|
||||
'El pase venció: vuelve a entrar con la clave inicial': 'The pass expired: sign in again with the initial password',
|
||||
'Las dos claves no coinciden': 'The two passwords do not match',
|
||||
'La contraseña tiene que tener al menos 8 caracteres': 'The password must have at least 8 characters',
|
||||
'La clave nueva no puede ser la inicial ni el nombre de usuario': 'The new password cannot be the initial one or the user name',
|
||||
// ---- Lista ----
|
||||
'Subtítulos automáticos en vivo · actualización 5 s': 'Automatic live subtitles · refresh 5 s',
|
||||
'+ Nuevo canal': '+ New channel',
|
||||
'Estado': 'Status',
|
||||
'Nombre': 'Name',
|
||||
'Entrada': 'Input',
|
||||
'Idiomas': 'Languages',
|
||||
'Salidas': 'Outputs',
|
||||
'Retraso': 'Delay',
|
||||
'Último subtítulo': 'Last subtitle',
|
||||
'Acciones': 'Actions',
|
||||
'corriendo': 'running',
|
||||
'parado': 'stopped',
|
||||
'error': 'error',
|
||||
'arrancando': 'starting',
|
||||
'deshabilitado': 'disabled',
|
||||
'{n} seg. sostenidos': '{n} seg. held',
|
||||
'No hay canales configurados. Crea el primero con «+ Nuevo canal».': 'No channels configured. Create the first one with «+ New channel».',
|
||||
'Como máximo <b>2 canales andando a la vez</b>: el reconocimiento y la traducción corren en gpu02, que es compartido.': 'At most <b>2 channels running at the same time</b>: recognition and translation run on gpu02, which is shared.',
|
||||
'Iniciar y parar: disponible al cerrar la 078': 'Start and stop: available once task 078 is closed',
|
||||
'¿Borrar el canal «{n}»?': 'Delete channel «{n}»?',
|
||||
'El canal está andando: detenlo antes de borrarlo': 'The channel is running: stop it before deleting it',
|
||||
// ---- Modal ----
|
||||
'Nuevo canal': 'New channel',
|
||||
'Editar canal: {n}': 'Edit channel: {n}',
|
||||
'Nombre visible del canal en el panel.': 'Channel name shown in the panel.',
|
||||
'Id corto': 'Short id',
|
||||
'Minúsculas, números y guiones. Se usa en las rutas (/hls/<id>/) y en los servicios.': 'Lowercase, digits and dashes. Used in the paths (/hls/<id>/) and in the services.',
|
||||
'Canal habilitado': 'Channel enabled',
|
||||
'Pegado rápido': 'Quick paste',
|
||||
'srt://origen:10013?latency=200&streamid=… — se reparte solo en los campos de abajo': 'srt://source:10013?latency=200&streamid=… — it is split into the fields below',
|
||||
'Rellenar': 'Fill in',
|
||||
'Campos rellenados.': 'Fields filled in.',
|
||||
'RTMP no está soportado como entrada (SRT, UDP o HLS).': 'RTMP is not supported as input (SRT, UDP or HLS).',
|
||||
'Tipo': 'Type',
|
||||
'Modo': 'Mode',
|
||||
'Caller (marca al origen)': 'Caller (calls the source)',
|
||||
'Listener (espera al origen)': 'Listener (waits for the source)',
|
||||
'Puerto': 'Port',
|
||||
'(opcional)': '(optional)',
|
||||
'Lista .m3u8 de la fuente (http o https).': 'Source .m3u8 playlist (http or https).',
|
||||
'Programa': 'Program',
|
||||
'(el primero)': '(the first one)',
|
||||
'Solo si la fuente trae más de un servicio (MPTS).': 'Only if the source carries more than one service (MPTS).',
|
||||
'PID de audio': 'Audio PID',
|
||||
'Solo si hay más de un audio (por ejemplo, SAP).': 'Only if there is more than one audio (for example, SAP).',
|
||||
'Reconocimiento': 'Recognition',
|
||||
'Idioma del audio': 'Audio language',
|
||||
'Español': 'Spanish',
|
||||
'Inglés': 'English',
|
||||
'Portugués': 'Portuguese',
|
||||
'URL del motor (whisper.cpp)': 'Engine URL (whisper.cpp)',
|
||||
'gpu02 :8004 por defecto. Solo se usa POST /inference, de a un pedido.': 'gpu02 :8004 by default. Only POST /inference is used, one request at a time.',
|
||||
'Prompt fijo (opcional)': 'Fixed prompt (optional)',
|
||||
'Noticias de Chile. Nombres: Coyhaique, Boric…': 'Chilean news. Names: Coyhaique, Boric…',
|
||||
'Ayuda con nombres propios y siglas. Vacío = el prompt con puntuación de siempre.': 'Helps with proper names and acronyms. Empty = the usual punctuated prompt.',
|
||||
'Traducción': 'Translation',
|
||||
'Inglés (English)': 'English',
|
||||
'URL del LLM': 'LLM URL',
|
||||
'gpu02 :8001 por defecto (Qwen).': 'gpu02 :8001 by default (Qwen).',
|
||||
'Salida HLS': 'HLS output',
|
||||
'Habilitada': 'Enabled',
|
||||
'Largo de segmento (s)': 'Segment length (s)',
|
||||
'Segmentos en la lista': 'Segments in the playlist',
|
||||
'Master HLS': 'HLS master',
|
||||
'Player': 'Player',
|
||||
'Salida SRT': 'SRT output',
|
||||
'Salida SRT (caller a)': 'SRT output (caller to)',
|
||||
'Listener (los clientes marcan acá)': 'Listener (clients call here)',
|
||||
'Caller (marca a un destino)': 'Caller (calls a destination)',
|
||||
'Destino (host)': 'Destination (host)',
|
||||
'En listener toma también el siguiente (prueba interna).': 'As listener it also takes the next one (internal test).',
|
||||
'Retraso fijo del video (s)': 'Fixed video delay (s)',
|
||||
'Lo justo para que el subtítulo (y el inglés, que llega después) caiga a tiempo.': 'Just enough for the subtitle (and the English one, which comes later) to land on time.',
|
||||
'608 (idioma del audio / inglés)': '608 (audio language / English)',
|
||||
'708 servicio (idioma del audio / inglés)': '708 service (audio language / English)',
|
||||
'(no va)': '(none)',
|
||||
'Guardar canal': 'Save channel',
|
||||
'Falta el nombre': 'The name is missing',
|
||||
'Falta el host de la entrada SRT': 'The SRT input host is missing',
|
||||
'Falta el puerto de la entrada': 'The input port is missing',
|
||||
'Id corto: minúsculas, números y guiones, hasta 31, empezando con letra o número': 'Short id: lowercase, digits and dashes, up to 31, starting with a letter or digit',
|
||||
'Ya hay un canal con el id corto "{s}"': 'There is already a channel with the short id "{s}"',
|
||||
'El puerto {p} ya lo usa el canal "{n}"': 'Port {p} is already used by channel "{n}"',
|
||||
'Entrada HLS: la URL tiene que apuntar a una lista .m3u8': 'HLS input: the URL must point to an .m3u8 playlist',
|
||||
'Entrada UDP: tiene que ser udp://ip:puerto (o udp://@239.x.x.x:puerto)': 'UDP input: it must be udp://ip:port (or udp://@239.x.x.x:port)',
|
||||
'El canal necesita al menos una salida (HLS o SRT)': 'The channel needs at least one output (HLS or SRT)',
|
||||
'Detén el canal antes de cambiarle el id corto': 'Stop the channel before changing its short id',
|
||||
// ---- Ver canal ----
|
||||
'Subtítulos': 'Subtitles',
|
||||
'Apagados': 'Off',
|
||||
'Detrás del borde: {s} s': 'Behind the live edge: {s} s',
|
||||
'Retraso del canal': 'Channel delay',
|
||||
'Whisper (gpu02)': 'Whisper (gpu02)',
|
||||
'Traducción (gpu02)': 'Translation (gpu02)',
|
||||
'mediana de {n} pedidos · {f} fallas en 1 h': 'median of {n} requests · {f} failures in 1 h',
|
||||
'inglés {s} s detrás': 'English {s} s behind',
|
||||
'retraso fijo': 'fixed delay',
|
||||
'tarde': 'late',
|
||||
'perdidos': 'lost',
|
||||
'sin métricas': 'no metrics',
|
||||
'sin subtítulos todavía': 'no subtitles yet',
|
||||
'Spanish': 'Spanish',
|
||||
// ---- Eventos ----
|
||||
'Últimos 200 eventos del panel': 'Last 200 panel events',
|
||||
'Fecha': 'Date',
|
||||
'Nivel': 'Level',
|
||||
'Canal': 'Channel',
|
||||
'Mensaje': 'Message',
|
||||
'Sin eventos registrados.': 'No events recorded.',
|
||||
'Login fallido': 'Failed login',
|
||||
'Ingreso al panel': 'Signed in',
|
||||
'Clave inicial cambiada': 'Initial password changed',
|
||||
'Clave cambiada': 'Password changed',
|
||||
// ---- url-parse.js (copia de OrbiStream) ----
|
||||
'Pega una URL.': 'Paste a URL.',
|
||||
'Se extrajo la URL del texto pegado.': 'The URL was extracted from the pasted text.',
|
||||
'No parece una URL: falta el esquema (srt://, udp://, rtmp://, http://).': 'This does not look like a URL: the scheme is missing (srt://, udp://, rtmp://, http://).',
|
||||
'La URL no termina en .m3u8; verifica que sea realmente HLS.': 'The URL does not end in .m3u8; check that it really is HLS.',
|
||||
'Falta el puerto en "srt://{x}".': 'The port is missing in "srt://{x}".',
|
||||
'mode=rendezvous no está soportado; se dejó como SRT Caller.': 'mode=rendezvous is not supported; it was set to SRT Caller.',
|
||||
'Sin mode= en la URL: se dedujo {k} por el host.': 'No mode= in the URL: {k} was inferred from the host.',
|
||||
'Latencia ilegible ("{v}"): se ignoró.': 'Unreadable latency ("{v}"): ignored.',
|
||||
'La latencia venía en microsegundos ({n}); se convirtió a {ms} ms.': 'The latency was in microseconds ({n}); it was converted to {ms} ms.',
|
||||
'La passphrase tenía un %-escape inválido; se copió tal cual.': 'The passphrase had an invalid %-escape; it was copied as is.',
|
||||
'La passphrase tiene {n} caracteres; SRT exige entre 10 y 79.': 'The passphrase has {n} characters; SRT requires between 10 and 79.',
|
||||
'Se dejaron en la URL: {list}.': 'Left in the URL: {list}.',
|
||||
} });
|
||||
Reference in New Issue
Block a user