fix: ai preferences crashed and deleted stuff in preferences

This commit is contained in:
2026-07-07 22:43:05 +02:00
parent 4a03fc0ba2
commit dc35518bad
21 changed files with 1883 additions and 261 deletions

View File

@@ -70,9 +70,9 @@ msgstr "IA"
msgid "AI Assistant"
msgstr "Asistente de IA"
#: lib/bds/desktop/shell_live/settings_editor/ai_settings.ex:87
#: lib/bds/desktop/shell_live/settings_editor/ai_settings.ex:152
#: lib/bds/desktop/shell_live/settings_editor/ai_settings.ex:167
#: lib/bds/desktop/shell_live/settings_editor/ai_settings.ex:93
#: lib/bds/desktop/shell_live/settings_editor/ai_settings.ex:190
#: lib/bds/desktop/shell_live/settings_editor/ai_settings.ex:208
#, elixir-autogen, elixir-format
msgid "AI Settings"
msgstr "Configuración de IA"
@@ -336,7 +336,7 @@ msgstr "Autor"
msgid "Auto"
msgstr "Automático"
#: lib/bds/desktop/shell_live.ex:442
#: lib/bds/desktop/shell_live.ex:448
#: lib/bds/desktop/shell_live/chat_editor.ex:234
#: lib/bds/desktop/shell_live/media_editor.ex:171
#: lib/bds/desktop/shell_live/media_editor.ex:364
@@ -418,7 +418,7 @@ msgstr "Categoría de blogmark"
msgid "Bookmarklet copy support is wired through the desktop runtime and project public URL."
msgstr "La copia del bookmarklet está conectada mediante el entorno de escritorio y la URL pública del proyecto."
#: lib/bds/desktop/shell_live/git_run.ex:126
#: lib/bds/desktop/shell_live/git_run.ex:128
#: lib/bds/desktop/shell_live/import_editor.ex:1366
#: lib/bds/desktop/shell_live/media_editor_html/media_editor.html.heex:298
#: lib/bds/desktop/shell_live/menu_editor.ex:335
@@ -431,8 +431,8 @@ msgstr "La copia del bookmarklet está conectada mediante el entorno de escritor
#: lib/bds/desktop/shell_live/overlay_html/shell_overlay.html.heex:165
#: lib/bds/desktop/shell_live/overlay_html/shell_overlay.html.heex:173
#: lib/bds/desktop/shell_live/overlay_html/shell_overlay.html.heex:183
#: lib/bds/desktop/shell_live/overlay_html/shell_overlay.html.heex:191
#: lib/bds/desktop/shell_live/overlay_html/shell_overlay.html.heex:208
#: lib/bds/desktop/shell_live/overlay_html/shell_overlay.html.heex:225
#, elixir-autogen, elixir-format
msgid "Cancel"
msgstr "Cancelar"
@@ -486,7 +486,7 @@ msgstr "Valores predeterminados de categoría, opciones de renderizado y conexi
msgid "Category name is required"
msgstr "El nombre de la categoría es obligatorio"
#: lib/bds/desktop/shell_live.ex:748
#: lib/bds/desktop/shell_live.ex:771
#: lib/bds/desktop/shell_live/chat_editor.ex:87
#: lib/bds/desktop/shell_live/chat_editor.ex:233
#: lib/bds/desktop/shell_live/chat_editor.ex:323
@@ -1052,7 +1052,7 @@ msgstr "Buscar duplicados"
msgid "Force Reload"
msgstr "Recarga forzada"
#: lib/bds/desktop/shell_live/overlay_html/shell_overlay.html.heex:194
#: lib/bds/desktop/shell_live/overlay_html/shell_overlay.html.heex:211
#: lib/bds/desktop/shell_live/post_editor_html/post_editor.html.heex:432
#, elixir-autogen, elixir-format
msgid "Gallery"
@@ -1063,7 +1063,7 @@ msgstr "Galeria"
msgid "Generate Site"
msgstr "Generar sitio"
#: lib/bds/desktop/shell_live.ex:749
#: lib/bds/desktop/shell_live.ex:772
#: lib/bds/desktop/shell_live/socket_state.ex:109
#: lib/bds/ui/sidebar.ex:789
#, elixir-autogen, elixir-format
@@ -1077,7 +1077,7 @@ msgid "Git Diff"
msgstr "Diff de Git"
#: lib/bds/desktop/shell_data.ex:226
#: lib/bds/desktop/shell_live.ex:745
#: lib/bds/desktop/shell_live.ex:768
#: lib/bds/desktop/shell_live/panel_renderer.ex:171
#, elixir-autogen, elixir-format
msgid "Git Log"
@@ -1200,9 +1200,9 @@ msgstr "Definiciones de importación"
msgid "Import failed: %{error}"
msgstr "La importación falló: %{error}"
#: lib/bds/desktop/shell_live.ex:592
#: lib/bds/desktop/shell_live.ex:861
#: lib/bds/desktop/shell_live.ex:867
#: lib/bds/desktop/shell_live.ex:598
#: lib/bds/desktop/shell_live.ex:884
#: lib/bds/desktop/shell_live.ex:890
#: lib/bds/desktop/shell_live/sidebar_create.ex:47
#, elixir-autogen, elixir-format
msgid "Import media"
@@ -1784,7 +1784,7 @@ msgstr "Otros"
msgid "Other (%{count})"
msgstr "Otros (%{count})"
#: lib/bds/desktop/shell_live.ex:744
#: lib/bds/desktop/shell_live.ex:767
#: lib/bds/desktop/shell_live/panel_renderer.ex:83
#, elixir-autogen, elixir-format
msgid "Output"
@@ -2538,7 +2538,7 @@ msgstr "Nombre de la etiqueta"
msgid "Tags"
msgstr "Etiquetas"
#: lib/bds/desktop/shell_live.ex:743
#: lib/bds/desktop/shell_live.ex:766
#: lib/bds/desktop/shell_live/panel_renderer.ex:54
#, elixir-autogen, elixir-format
msgid "Tasks"
@@ -3218,12 +3218,12 @@ msgstr "Bienvenido al asistente de IA"
msgid "Comparing database and filesystem metadata"
msgstr "Comparando metadatos de la base de datos y del sistema de archivos"
#: lib/bds/desktop/shell_live.ex:668
#: lib/bds/desktop/shell_live.ex:674
#, elixir-autogen, elixir-format
msgid "Added %{count} images to post"
msgstr "%{count} imágenes añadidas a la publicación"
#: lib/bds/desktop/shell_live.ex:636
#: lib/bds/desktop/shell_live.ex:642
#, elixir-autogen, elixir-format
msgid "Added %{title}"
msgstr "%{title} añadido"
@@ -3243,18 +3243,18 @@ msgstr "Guía del usuario para flujos editoriales, medios, plantillas, traducci
msgid "Image Import Concurrency"
msgstr "Importación simultánea de imágenes"
#: lib/bds/desktop/shell_live.ex:441
#: lib/bds/desktop/shell_live.ex:454
#: lib/bds/desktop/shell_live.ex:635
#: lib/bds/desktop/shell_live.ex:667
#: lib/bds/desktop/shell_live.ex:678
#: lib/bds/desktop/shell_live.ex:689
#: lib/bds/desktop/shell_live.ex:447
#: lib/bds/desktop/shell_live.ex:460
#: lib/bds/desktop/shell_live.ex:641
#: lib/bds/desktop/shell_live.ex:673
#: lib/bds/desktop/shell_live.ex:684
#: lib/bds/desktop/shell_live.ex:695
#: lib/bds/desktop/shell_live/post_editor_html/post_editor.html.heex:420
#, elixir-autogen, elixir-format
msgid "Add Gallery Images"
msgstr "Añadir imágenes a la galería"
#: lib/bds/desktop/shell_live.ex:690
#: lib/bds/desktop/shell_live.ex:696
#, elixir-autogen, elixir-format
msgid "Failed to process %{path}: %{reason}"
msgstr "No se pudo procesar %{path}: %{reason}"
@@ -3353,7 +3353,7 @@ msgid "Local only"
msgstr "Solo local"
#: lib/bds/desktop/shell_live/git_handler.ex:113
#: lib/bds/desktop/shell_live/git_run.ex:82
#: lib/bds/desktop/shell_live/git_run.ex:83
#, elixir-autogen, elixir-format
msgid "No active project"
msgstr "Sin proyecto activo"
@@ -3445,12 +3445,12 @@ msgstr "renombrado"
msgid "untracked"
msgstr "sin seguimiento"
#: lib/bds/desktop/shell_live.ex:769
#: lib/bds/desktop/shell_live.ex:792
#, elixir-autogen, elixir-format
msgid "Blogmark"
msgstr "Blogmark"
#: lib/bds/desktop/shell_live.ex:812
#: lib/bds/desktop/shell_live.ex:835
#, elixir-autogen, elixir-format
msgid "Open a project before importing a blogmark."
msgstr "Abre un proyecto antes de importar un blogmark."
@@ -3491,7 +3491,7 @@ msgstr "Eliminar"
msgid "Failed to copy bookmarklet to clipboard"
msgstr "Error al copiar el bookmarklet al portapapeles"
#: lib/bds/desktop/shell_live.ex:781
#: lib/bds/desktop/shell_live.ex:804
#, elixir-autogen, elixir-format
msgid "The project this blogmark targets does not exist here."
msgstr "El proyecto al que apunta este blogmark no existe aquí."
@@ -3537,12 +3537,13 @@ msgid "Zoom"
msgstr "Ampliar/reducir"
#: lib/bds/desktop/shell_live/git_run.ex:91
#: lib/bds/desktop/shell_live/git_run.ex:127
#: lib/bds/desktop/shell_live/git_run.ex:129
#: lib/bds/desktop/shell_live/overlay_html/shell_overlay.html.heex:191
#, elixir-autogen, elixir-format
msgid "Close"
msgstr "Cerrar"
#: lib/bds/desktop/shell_live/git_run.ex:124
#: lib/bds/desktop/shell_live/git_run.ex:126
#, elixir-autogen, elixir-format
msgid "Failed (exit %{status})"
msgstr "Error (salida %{status})"
@@ -3566,3 +3567,33 @@ msgstr "git pull"
#, elixir-autogen, elixir-format
msgid "git push"
msgstr "git push"
#: lib/bds/desktop/shell_live/settings_editor/ai_settings.ex:159
#, elixir-autogen, elixir-format
msgid "AI settings saved."
msgstr "Configuración de IA guardada."
#: lib/bds/desktop/shell_live/settings_editor/ai_settings.ex:90
#, elixir-autogen, elixir-format
msgid "Could not load models"
msgstr "No se pudieron cargar los modelos"
#: lib/bds/desktop/shell_live/settings_editor/ai_settings.ex:187
#, elixir-autogen, elixir-format
msgid "Could not save AI settings"
msgstr "No se pudo guardar la configuración de IA"
#: lib/bds/desktop/shell_live/settings_editor/ai_settings.ex:182
#, elixir-autogen, elixir-format
msgid "Loaded %{count} models."
msgstr "%{count} modelos cargados."
#: lib/bds/desktop/shell_live/overlay_html/shell_overlay.html.heex:201
#, elixir-autogen, elixir-format
msgid "OK"
msgstr "OK"
#: lib/bds/desktop/shell_live/settings_editor/ai_settings.ex:173
#, elixir-autogen, elixir-format
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."