feat: vi-style command prompt in the TUI for menu shell commands (issue #26)
This commit is contained in:
@@ -81,11 +81,11 @@ msgstr "Configuración de IA"
|
||||
#: lib/bds/desktop/shell_live/overlay_manager.ex:72
|
||||
#: lib/bds/desktop/shell_live/post_editor.ex:920
|
||||
#: lib/bds/desktop/shell_live/post_editor_html/post_editor.html.heex:43
|
||||
#: lib/bds/tui.ex:224
|
||||
#: lib/bds/tui.ex:227
|
||||
#: lib/bds/tui.ex:230
|
||||
#: lib/bds/tui.ex:238
|
||||
#: lib/bds/tui.ex:575
|
||||
#: lib/bds/tui.ex:285
|
||||
#: lib/bds/tui.ex:288
|
||||
#: lib/bds/tui.ex:291
|
||||
#: lib/bds/tui.ex:299
|
||||
#: lib/bds/tui.ex:686
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "AI Suggestions"
|
||||
msgstr "Sugerencias de IA"
|
||||
@@ -572,6 +572,7 @@ msgid "Collapse unchanged diff hunks"
|
||||
msgstr "Contraer bloques de diff sin cambios"
|
||||
|
||||
#: lib/bds/desktop/shell_live/overlay_manager.ex:422
|
||||
#: lib/bds/tui.ex:779
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Command completed"
|
||||
msgstr "Comando completado"
|
||||
@@ -589,7 +590,7 @@ msgstr "Confirmar"
|
||||
#: lib/bds/desktop/shell_live/post_editor_html/post_editor.html.heex:375
|
||||
#: lib/bds/desktop/shell_live/script_editor_html/script_editor.html.heex:34
|
||||
#: lib/bds/desktop/shell_live/template_editor_html/template_editor.html.heex:32
|
||||
#: lib/bds/tui.ex:348
|
||||
#: lib/bds/tui.ex:424
|
||||
#: lib/bds/ui/sidebar.ex:764
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Content"
|
||||
@@ -1029,6 +1030,7 @@ msgid "Filename"
|
||||
msgstr "Nombre de archivo"
|
||||
|
||||
#: lib/bds/desktop/menu_bar.ex:254
|
||||
#: lib/bds/tui.ex:745
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Fill Missing Translations"
|
||||
msgstr "Completar traducciones faltantes"
|
||||
@@ -1039,6 +1041,7 @@ msgid "Find"
|
||||
msgstr "Buscar"
|
||||
|
||||
#: lib/bds/desktop/menu_bar.ex:255
|
||||
#: lib/bds/tui.ex:748
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Find Duplicate Posts"
|
||||
msgstr "Buscar entradas duplicadas"
|
||||
@@ -1065,6 +1068,7 @@ msgid "Gallery"
|
||||
msgstr "Galeria"
|
||||
|
||||
#: lib/bds/desktop/menu_bar.ex:256
|
||||
#: lib/bds/tui.ex:729
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Generate Site"
|
||||
msgstr "Generar sitio"
|
||||
@@ -1385,9 +1389,9 @@ msgstr "Máximo de publicaciones por página"
|
||||
#: lib/bds/desktop/shell_live/misc_editor.ex:762
|
||||
#: lib/bds/desktop/shell_live/sidebar_components.ex:654
|
||||
#: lib/bds/desktop/shell_live/sidebar_delete.ex:175
|
||||
#: lib/bds/tui.ex:489
|
||||
#: lib/bds/tui.ex:619
|
||||
#: lib/bds/tui.ex:622
|
||||
#: lib/bds/tui.ex:600
|
||||
#: lib/bds/tui.ex:808
|
||||
#: lib/bds/tui.ex:811
|
||||
#: lib/bds/ui/registry.ex:30
|
||||
#: lib/bds/ui/registry.ex:100
|
||||
#: lib/bds/ui/sidebar.ex:558
|
||||
@@ -1430,6 +1434,7 @@ msgstr "Metadatos"
|
||||
#: lib/bds/desktop/shell_live/misc_editor.ex:214
|
||||
#: lib/bds/desktop/shell_live/misc_editor.ex:226
|
||||
#: lib/bds/desktop/shell_live/misc_editor.ex:448
|
||||
#: lib/bds/tui.ex:726
|
||||
#: lib/bds/ui/registry.ex:111
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Metadata Diff"
|
||||
@@ -1475,7 +1480,7 @@ msgstr "Nueva página"
|
||||
|
||||
#: lib/bds/desktop/menu_bar.ex:214
|
||||
#: lib/bds/desktop/shell_live/sidebar_create.ex:41
|
||||
#: lib/bds/tui.ex:115
|
||||
#: lib/bds/tui.ex:130
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "New Post"
|
||||
msgstr "Nueva entrada"
|
||||
@@ -1764,6 +1769,7 @@ msgid "Open Settings"
|
||||
msgstr "Abrir Ajustes"
|
||||
|
||||
#: lib/bds/desktop/menu_bar.ex:217
|
||||
#: lib/bds/tui.ex:750
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Open in Browser"
|
||||
msgstr "Abrir en el navegador"
|
||||
@@ -1911,8 +1917,8 @@ msgstr "Artículo guardado"
|
||||
#: lib/bds/desktop/menu_bar.ex:233
|
||||
#: lib/bds/desktop/shell_live/misc_editor.ex:664
|
||||
#: lib/bds/desktop/shell_live/misc_editor.ex:761
|
||||
#: lib/bds/tui.ex:488
|
||||
#: lib/bds/tui.ex:499
|
||||
#: lib/bds/tui.ex:599
|
||||
#: lib/bds/tui.ex:610
|
||||
#: lib/bds/ui/registry.ex:14
|
||||
#: lib/bds/ui/sidebar.ex:271
|
||||
#, elixir-autogen, elixir-format
|
||||
@@ -2036,12 +2042,14 @@ msgid "Ready to import:"
|
||||
msgstr "Listo para importar:"
|
||||
|
||||
#: lib/bds/desktop/menu_bar.ex:248
|
||||
#: lib/bds/tui.ex:730
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Rebuild Database"
|
||||
msgstr "Reconstruir base de datos"
|
||||
|
||||
#: lib/bds/desktop/menu_bar.ex:250
|
||||
#: lib/bds/desktop/shell_live/settings_editor_html/settings_editor.html.heex:381
|
||||
#: lib/bds/tui.ex:734
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Rebuild Embedding Index"
|
||||
msgstr "Reconstruir índice de embeddings"
|
||||
@@ -2099,6 +2107,7 @@ msgid "Refresh Translation"
|
||||
msgstr "Actualizar traducción"
|
||||
|
||||
#: lib/bds/desktop/menu_bar.ex:252
|
||||
#: lib/bds/tui.ex:737
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Regenerate Calendar"
|
||||
msgstr "Regenerar calendario"
|
||||
@@ -2109,6 +2118,7 @@ msgid "Regenerate Missing Thumbnails"
|
||||
msgstr "Regenerar miniaturas faltantes"
|
||||
|
||||
#: lib/bds/desktop/menu_bar.ex:249
|
||||
#: lib/bds/tui.ex:731
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Reindex Text"
|
||||
msgstr "Reindexar texto"
|
||||
@@ -2294,7 +2304,7 @@ msgstr "Las capacidades de scripts se configuran en la capa de aplicación en la
|
||||
#: lib/bds/desktop/shell_live/script_editor.ex:216
|
||||
#: lib/bds/desktop/shell_live/script_editor.ex:219
|
||||
#: lib/bds/desktop/shell_live/script_editor.ex:234
|
||||
#: lib/bds/tui.ex:491
|
||||
#: lib/bds/tui.ex:602
|
||||
#: lib/bds/ui/registry.ex:38
|
||||
#: lib/bds/ui/sidebar.ex:63
|
||||
#: lib/bds/ui/sidebar.ex:115
|
||||
@@ -2542,7 +2552,7 @@ msgstr "Nombre de la etiqueta"
|
||||
#: lib/bds/desktop/shell_live/tags_editor.ex:222
|
||||
#: lib/bds/desktop/shell_live/tags_editor.ex:253
|
||||
#: lib/bds/desktop/shell_live/tags_editor_html/tags_editor.html.heex:11
|
||||
#: lib/bds/tui.ex:492
|
||||
#: lib/bds/tui.ex:603
|
||||
#: lib/bds/ui/registry.ex:54
|
||||
#: lib/bds/ui/registry.ex:103
|
||||
#: lib/bds/ui/sidebar.ex:289
|
||||
@@ -2554,6 +2564,7 @@ msgstr "Etiquetas"
|
||||
|
||||
#: lib/bds/desktop/shell_live.ex:786
|
||||
#: lib/bds/desktop/shell_live/panel_renderer.ex:54
|
||||
#: lib/bds/tui.ex:312
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Tasks"
|
||||
msgstr "Tareas"
|
||||
@@ -2598,7 +2609,7 @@ msgstr "La sintaxis de la plantilla es válida"
|
||||
#: lib/bds/desktop/shell_live/template_editor.ex:171
|
||||
#: lib/bds/desktop/shell_live/template_editor.ex:176
|
||||
#: lib/bds/desktop/shell_live/template_editor.ex:191
|
||||
#: lib/bds/tui.ex:490
|
||||
#: lib/bds/tui.ex:601
|
||||
#: lib/bds/ui/registry.ex:46
|
||||
#: lib/bds/ui/sidebar.ex:71
|
||||
#: lib/bds/ui/sidebar.ex:122
|
||||
@@ -2821,6 +2832,7 @@ msgid "Updated URLs"
|
||||
msgstr "URLs actualizadas"
|
||||
|
||||
#: lib/bds/desktop/menu_bar.ex:259
|
||||
#: lib/bds/tui.ex:749
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Upload Site"
|
||||
msgstr "Subir sitio"
|
||||
@@ -2848,11 +2860,13 @@ msgid "Validate"
|
||||
msgstr "Validar"
|
||||
|
||||
#: lib/bds/desktop/menu_bar.ex:258
|
||||
#: lib/bds/tui.ex:727
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Validate Site"
|
||||
msgstr "Validar sitio"
|
||||
|
||||
#: lib/bds/desktop/menu_bar.ex:253
|
||||
#: lib/bds/tui.ex:740
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Validate Translations"
|
||||
msgstr "Validar traducciones"
|
||||
@@ -3517,6 +3531,7 @@ msgid "Suggested tags"
|
||||
msgstr "Etiquetas sugeridas"
|
||||
|
||||
#: lib/bds/desktop/menu_bar.ex:257
|
||||
#: lib/bds/tui.ex:728
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Force Render Site"
|
||||
msgstr "Forzar la regeneración del sitio"
|
||||
@@ -3613,87 +3628,82 @@ msgstr "OK"
|
||||
msgid "The endpoint returned no models. You can still type a model name manually."
|
||||
msgstr "El endpoint no devolvió ningún modelo. Aún puedes escribir el nombre de un modelo manualmente."
|
||||
|
||||
#: lib/bds/tui.ex:576
|
||||
#: lib/bds/tui.ex:687
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "AI is unavailable in airplane mode without a local endpoint."
|
||||
msgstr "La IA no está disponible en modo avión sin un punto de conexión local."
|
||||
|
||||
#: lib/bds/tui.ex:622
|
||||
#: lib/bds/tui.ex:811
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Could not load this file."
|
||||
msgstr "No se pudo cargar este archivo."
|
||||
|
||||
#: lib/bds/tui.ex:123
|
||||
#: lib/bds/tui.ex:138
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Editing this item is not available in the terminal UI yet."
|
||||
msgstr "La edición de este elemento aún no está disponible en la interfaz de terminal."
|
||||
|
||||
#: lib/bds/tui.ex:227
|
||||
#: lib/bds/tui.ex:288
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "No suggestions returned."
|
||||
msgstr "No se recibieron sugerencias."
|
||||
|
||||
#: lib/bds/tui.ex:619
|
||||
#: lib/bds/tui.ex:808
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Only images can be previewed."
|
||||
msgstr "Solo se pueden previsualizar imágenes."
|
||||
|
||||
#: lib/bds/tui.ex:499
|
||||
#: lib/bds/tui.ex:610
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Post not found."
|
||||
msgstr "Entrada no encontrada."
|
||||
|
||||
#: lib/bds/tui.ex:303
|
||||
#: lib/bds/tui.ex:379
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Press enter to preview %{name}."
|
||||
msgstr "Pulsa Intro para previsualizar %{name}."
|
||||
|
||||
#: lib/bds/tui.ex:546
|
||||
#: lib/bds/tui.ex:657
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Published."
|
||||
msgstr "Publicado."
|
||||
|
||||
#: lib/bds/tui.ex:562
|
||||
#: lib/bds/tui.ex:673
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Save before switching languages."
|
||||
msgstr "Guarda antes de cambiar de idioma."
|
||||
|
||||
#: lib/bds/tui.ex:547
|
||||
#: lib/bds/tui.ex:658
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Saved."
|
||||
msgstr "Guardado."
|
||||
|
||||
#: lib/bds/tui.ex:306
|
||||
#: lib/bds/tui.ex:382
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Select an entry and press enter to open it."
|
||||
msgstr "Selecciona una entrada y pulsa Intro para abrirla."
|
||||
|
||||
#: lib/bds/tui.ex:224
|
||||
#: lib/bds/tui.ex:285
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Suggestions applied."
|
||||
msgstr "Sugerencias aplicadas."
|
||||
|
||||
#: lib/bds/tui.ex:318
|
||||
#: lib/bds/tui.ex:394
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Title (ctrl+t to edit)"
|
||||
msgstr "Título (ctrl+t para editar)"
|
||||
|
||||
#: lib/bds/tui.ex:317
|
||||
#: lib/bds/tui.ex:393
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Title (editing — enter to confirm)"
|
||||
msgstr "Título (edición — Intro para confirmar)"
|
||||
|
||||
#: lib/bds/tui.ex:365
|
||||
#: lib/bds/tui.ex:441
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Working…"
|
||||
msgstr "Procesando…"
|
||||
|
||||
#: lib/bds/tui.ex:394
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "enter open · n new post · 1-5 views · r refresh · ctrl+q quit"
|
||||
msgstr "intro abrir · n nueva entrada · 1-5 vistas · r actualizar · ctrl+q salir"
|
||||
|
||||
#: lib/bds/tui.ex:386
|
||||
#: lib/bds/tui.ex:462
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "esc to close"
|
||||
msgstr "esc para cerrar"
|
||||
@@ -3730,12 +3740,37 @@ msgstr "Dirección del servidor (user@host o user@host:port), autenticación de
|
||||
msgid "Use the form user@host or user@host:port."
|
||||
msgstr "Usa el formato user@host o user@host:port."
|
||||
|
||||
#: lib/bds/tui.ex:337
|
||||
#: lib/bds/tui.ex:413
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Preview (ctrl+e to edit)"
|
||||
msgstr "Vista previa (ctrl+e para editar)"
|
||||
|
||||
#: lib/bds/tui.ex:401
|
||||
#: lib/bds/tui.ex:512
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "ctrl+s save · ctrl+p publish · ctrl+e preview · ctrl+t title · ctrl+l language · ctrl+g AI · esc back"
|
||||
msgstr "ctrl+s guardar · ctrl+p publicar · ctrl+e vista previa · ctrl+t título · ctrl+l idioma · ctrl+g IA · esc volver"
|
||||
|
||||
#: lib/bds/tui.ex:312
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "All tasks finished."
|
||||
msgstr "Todas las tareas han terminado."
|
||||
|
||||
#: lib/bds/tui.ex:488
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Commands — esc to close"
|
||||
msgstr "Comandos — esc para cerrar"
|
||||
|
||||
#: lib/bds/tui.ex:159
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Unknown command."
|
||||
msgstr "Comando desconocido."
|
||||
|
||||
#: lib/bds/tui.ex:478
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "[report/apply in GUI]"
|
||||
msgstr "[informe/aplicación en la GUI]"
|
||||
|
||||
#: lib/bds/tui.ex:505
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "enter open · n new post · 1-5 views · : commands · ? help · r refresh · ctrl+q quit"
|
||||
msgstr "intro abrir · n nueva entrada · 1-5 vistas · : comandos · ? ayuda · r actualizar · ctrl+q salir"
|
||||
|
||||
Reference in New Issue
Block a user